An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/issues/12109
Vanessa2fc5fcb65129
diff --git a/app/src/layout/dock/Files.ts b/app/src/layout/dock/Files.tsindex 72274c8c95..6c8efeda30 100644--- a/app/src/layout/dock/Files.ts+++ b/app/src/layout/dock/Files.ts@@ -315,7 +315,7 @@ export class Files extends Model {notebookId,currentPath: pathString,useSavePath: false,- pushCreateEvt: true,+ listDocTree: true,});} else if (type === "more-root") {initNavigationMenu(options.app, target.parentElement).popup({diff --git a/app/src/menus/navigation.ts b/app/src/menus/navigation.tsindex 95ecd2d6ce..bc57463df7 100644--- a/app/src/menus/navigation.ts+++ b/app/src/menus/navigation.ts@@ -459,7 +459,7 @@ export const initFileMenu = (app: App, notebookId: string, pathString: string, lcurrentPath: pathPosix().dirname(pathString),paths,useSavePath: false,- pushCreateEvt: true,+ listDocTree: true,});}}).element);@@ -483,7 +483,7 @@ export const initFileMenu = (app: App, notebookId: string, pathString: string, lcurrentPath: pathPosix().dirname(pathString),paths,useSavePath: false,- pushCreateEvt: true,+ listDocTree: true,});}}).element);diff --git a/app/src/mobile/dock/MobileFiles.ts b/app/src/mobile/dock/MobileFiles.tsindex b71f291dcd..fefb5d3761 100644--- a/app/src/mobile/dock/MobileFiles.ts+++ b/app/src/mobile/dock/MobileFiles.ts@@ -212,7 +212,7 @@ export class MobileFiles extends Model {notebookId,currentPath: pathString,useSavePath: false,- pushCreateEvt: true,+ listDocTree: true,});} else if (type === "more-root") {initNavigationMenu(app, target.parentElement);diff --git a/app/src/util/newFile.ts b/app/src/util/newFile.tsindex 1738fd8248..6ee5d02e57 100644--- a/app/src/util/newFile.ts+++ b/app/src/util/newFile.ts@@ -81,7 +81,7 @@ export const newFile = (optios: {useSavePath: boolean,name?: string,afterCB?: (id: string, title: string) => void- pushCreateEvt?: boolean+ listDocTree?: boolean}) => {if (getOpenNotebookCount() === 0) {showMessage(window.siyuan.languages.newFileTip);@@ -104,7 +104,7 @@ export const newFile = (optios: {path: createPath,// 根目录时无法确定 parentIDmarkdown: "",- pushCreateEvt: optios.pushCreateEvt+ listDocTree: optios.listDocTree}, response => {if (optios.afterCB) {optios.afterCB(response.data, pathPosix().basename(createPath));@@ -130,7 +130,7 @@ export const newFile = (optios: {path: createPath,parentID: getDisplayName(optios.currentPath, true, true),markdown: "",- pushCreateEvt: optios.pushCreateEvt+ listDocTree: optios.listDocTree}, response => {if (optios.afterCB) {optios.afterCB(response.data, pathPosix().basename(createPath));@@ -158,7 +158,7 @@ export const newFile = (optios: {notebook: data.data.box,path: createPath,markdown: "",- pushCreateEvt: optios.pushCreateEvt+ listDocTree: optios.listDocTree}, response => {if (optios.afterCB) {optios.afterCB(response.data, pathPosix().basename(createPath));@@ -187,7 +187,7 @@ export const newFile = (optios: {title,md: "",sorts: optios.paths,- pushCreateEvt: optios.pushCreateEvt+ listDocTree: optios.listDocTree}, () => {if (optios.afterCB) {optios.afterCB(id, title);