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:
Vanessab7ee623b1d5b
diff --git a/app/src/protyle/index.ts b/app/src/protyle/index.tsindex 2e06a4249f..26dadab2c9 100644--- a/app/src/protyle/index.ts+++ b/app/src/protyle/index.ts@@ -235,7 +235,7 @@ export class Protyle {setEmpty(app);/// #elseif (this.protyle.model) {- this.protyle.model.parent.parent.removeTab(this.protyle.model.parent.id, false);+ this.protyle.model.parent.parent.removeTab(this.protyle.model.parent.id);}/// #endif}@@ -246,7 +246,7 @@ export class Protyle {setEmpty(app);/// #elseif (this.protyle.model) {- this.protyle.model.parent.parent.removeTab(this.protyle.model.parent.id, false);+ this.protyle.model.parent.parent.removeTab(this.protyle.model.parent.id);}/// #endifdelete window.siyuan.storage[Constants.LOCAL_FILEPOSITION][this.protyle.block.rootID];diff --git a/app/src/protyle/util/onGet.ts b/app/src/protyle/util/onGet.tsindex 76016fce62..fd411e3a79 100644--- a/app/src/protyle/util/onGet.ts+++ b/app/src/protyle/util/onGet.ts@@ -38,7 +38,7 @@ export const onGet = (options: {// 其他报错if (!options.action.includes(Constants.CB_GET_APPEND)) { // 向下加载时块可能还没有创建 https://github.com/siyuan-note/siyuan/issues/10851if (options.protyle.model) {- options.protyle.model.parent.parent.removeTab(options.protyle.model.parent.id, false);+ options.protyle.model.parent.parent.removeTab(options.protyle.model.parent.id);} else {options.protyle.element.innerHTML = `<div class="ft__smaller ft__secondary b3-form__space--small" contenteditable="false">${window.siyuan.languages.refExpired}</div>`;}