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/15782
Vanessa006da6bc900a
diff --git a/app/src/layout/dock/Files.ts b/app/src/layout/dock/Files.tsindex c827f27220..d37abff109 100644--- a/app/src/layout/dock/Files.ts+++ b/app/src/layout/dock/Files.ts@@ -1153,6 +1153,13 @@ data-type="navigation-root" data-path="/">path: liElement.getAttribute("data-path"),}, response => {if (response.data.path === "/" && response.data.files.length === 0) {+ newFile({+ app: this.app,+ notebookId,+ currentPath: "/",+ useSavePath: false,+ listDocTree: true,+ });showMessage(window.siyuan.languages.emptyContent);return;}diff --git a/app/src/mobile/dock/MobileFiles.ts b/app/src/mobile/dock/MobileFiles.tsindex ebc05ec5f3..e2fd42e262 100644--- a/app/src/mobile/dock/MobileFiles.ts+++ b/app/src/mobile/dock/MobileFiles.ts@@ -650,6 +650,13 @@ export class MobileFiles extends Model {}, response => {if (response.data.path === "/" && response.data.files.length === 0) {showMessage(window.siyuan.languages.emptyContent);+ newFile({+ app: this.app,+ notebookId,+ currentPath: "/",+ useSavePath: false,+ listDocTree: true,+ });return;}this.onLsHTML(response.data);