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/8234
Vanessa68c1fc89283a
diff --git a/app/src/dialog/processSystem.ts b/app/src/dialog/processSystem.tsindex e8c860f0ff..58d94d95ef 100644--- a/app/src/dialog/processSystem.ts+++ b/app/src/dialog/processSystem.ts@@ -172,6 +172,8 @@ export const setDefRefCount = (data: {if (data.rootID === data.blockID && item.protyle.block.rootID === data.rootID) {const attrElement = item.protyle.title.element.querySelector(".protyle-attr")const countElement = attrElement.querySelector('.popover__block')+ // TODO+ data.refIds = ["1", "2"]if (countElement) {if (data.refCount === 0) {countElement.remove()@@ -206,9 +208,12 @@ export const setDefRefCount = (data: {});})+ let liElement;/// #if MOBILE+ liElement = window.siyuan.mobile.files.element.querySelector(`li[data-node-id="${data.rootID}"]`)/// #else- const liElement = (getDockByType("file").data.file as Files).element.querySelector(`li[data-node-id="${data.rootID}"]`)+ liElement = (getDockByType("file").data.file as Files).element.querySelector(`li[data-node-id="${data.rootID}"]`)+ /// #endifif (liElement) {const counterElement = liElement.querySelector(".counter")if (counterElement) {@@ -221,7 +226,6 @@ export const setDefRefCount = (data: {liElement.insertAdjacentHTML("beforeend", `<span class="popover__block counter b3-tooltips b3-tooltips__nw" aria-label="${window.siyuan.languages.ref}">${data.rootRefCount}</span>`)}}- /// #endif}export const lockScreen = (app: App) => {