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/11782
Vanessac856c8725b79
diff --git a/app/src/mobile/util/initFramework.ts b/app/src/mobile/util/initFramework.tsindex 152003abe7..e90a3733ef 100644--- a/app/src/mobile/util/initFramework.ts+++ b/app/src/mobile/util/initFramework.ts@@ -46,6 +46,7 @@ const openDockMenu = (app: App) => {}}custom = plugin.docks[dockId].mobileModel(document.querySelector('#sidebar [data-type="sidebar-plugin"]'));+ window.siyuan.mobile.docks[dockId] = custom}}});@@ -135,7 +136,7 @@ export const initFramework = (app: App, isStart: boolean) => {}});});- window.siyuan.mobile.docks.files = new MobileFiles(app);+ window.siyuan.mobile.docks.file = new MobileFiles(app);document.getElementById("toolbarFile").addEventListener("click", () => {hideKeyboardToolbar();activeBlur();diff --git a/app/src/plugin/API.ts b/app/src/plugin/API.tsindex 1c7529178b..8073b47020 100644--- a/app/src/plugin/API.ts+++ b/app/src/plugin/API.ts@@ -172,7 +172,7 @@ const getModelByDockType = (type: TDock | string) => {/// #elsereturn getDockByType(type).data[type];/// #endif-}+};export const API = {adaptHotkey: updateHotkeyTip,diff --git a/app/src/types/index.d.ts b/app/src/types/index.d.tsindex e00f29a2e4..044b10a3e0 100644--- a/app/src/types/index.d.ts+++ b/app/src/types/index.d.ts@@ -383,7 +383,7 @@ interface ISiyuan {tag: import("../mobile/dock/MobileTags").MobileTags | null,backlink: import("../mobile/dock/MobileBacklinks").MobileBacklinks | null,inbox: import("../layout/dock/Inbox").Inbox | null,- } & { [key: string]: import("../layout/Model").Model | boolean };+ } & { [key: string]: import("../layout/Model").Model | any };},user?: {userId: string