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/11517
Vanessa1be46ef5fdc4
diff --git a/app/src/dialog/processSystem.ts b/app/src/dialog/processSystem.tsindex 626e6dfba6..511c484b95 100644--- a/app/src/dialog/processSystem.ts+++ b/app/src/dialog/processSystem.ts@@ -67,8 +67,13 @@ export const reloadSync = (app: App, data: { upsertRootIDs: string[], removeRootconst allModels = getAllModels();allModels.editor.forEach(item => {if (data.upsertRootIDs.includes(item.editor.protyle.block.rootID)) {- reloadProtyle(item.editor.protyle, false);- updateTitle(item.editor.protyle.block.rootID, item.parent, item.editor.protyle);+ fetchPost("/api/block/getDocInfo", {+ id: item.editor.protyle.block.rootID,+ }, (response) => {+ item.editor.protyle.wysiwyg.renderCustom(response.data.ial);+ reloadProtyle(item.editor.protyle, false);+ updateTitle(item.editor.protyle.block.rootID, item.parent, item.editor.protyle);+ });} else if (data.removeRootIDs.includes(item.editor.protyle.block.rootID)) {item.parent.parent.removeTab(item.parent.id, false, false);delete window.siyuan.storage[Constants.LOCAL_FILEPOSITION][item.editor.protyle.block.rootID];