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/17208
Vanessa2d18bda95f26
diff --git a/app/src/plugin/uninstall.ts b/app/src/plugin/uninstall.tsindex 1bb2b37901..ed033d0b2f 100644--- a/app/src/plugin/uninstall.ts+++ b/app/src/plugin/uninstall.ts@@ -61,6 +61,13 @@ export const uninstall = (app: App, name: string, isReload: boolean) => {window.siyuan.storage[Constants.LOCAL_PLUGIN_DOCKS][plugin.name][key]) {dockIconElement = document.querySelector(`.dock__item[data-type="${key}"]`);if (dockIconElement) {+ let index = 0;+ let previousElement = dockIconElement;+ while (previousElement.previousElementSibling) {+ index++;+ previousElement = previousElement.previousElementSibling;+ }+ window.siyuan.storage[Constants.LOCAL_PLUGIN_DOCKS][plugin.name][key].index = index;window.siyuan.storage[Constants.LOCAL_PLUGIN_DOCKS][plugin.name][key].show = dockIconElement.classList.contains("dock__item--active");window.siyuan.storage[Constants.LOCAL_PLUGIN_DOCKS][plugin.name][key].size = {height: parseInt(dockIconElement.getAttribute("data-height")) || null,