An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:recycle: https://github.com/siyuan-note/siyuan/pull/7089/files
Vanessaba41c7db056c
diff --git a/app/src/layout/util.ts b/app/src/layout/util.tsindex 27b68f0f87..1ee0cc7177 100644--- a/app/src/layout/util.ts+++ b/app/src/layout/util.ts@@ -300,7 +300,7 @@ export const JSONToLayout = (isStart: boolean) => {}// https://github.com/siyuan-note/siyuan/pull/7086const openId = getSearch("id");- if (openId !== null) {+ if (openId) {openFileById({id: openId,action: [Constants.CB_GET_FOCUS, Constants.CB_GET_CONTEXT],diff --git a/app/src/mobile/util/initFramework.ts b/app/src/mobile/util/initFramework.tsindex 3b589e105a..fb42cce9b0 100644--- a/app/src/mobile/util/initFramework.ts+++ b/app/src/mobile/util/initFramework.ts@@ -129,7 +129,7 @@ export const initFramework = () => {initEditorName();if (getOpenNotebookCount() > 0) {const openId = getSearch("id");- if (openId !== null) {+ if (openId) {openMobileFileById(openId,getSearch("focus") === "1" ? [Constants.CB_GET_ALL, Constants.CB_GET_FOCUS] : [Constants.CB_GET_FOCUS, Constants.CB_GET_CONTEXT]);} else {