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: Align remote kernel connection with startup actions
Danielf714a954e0e2
diff --git a/app/electron/connectionEntry.js b/app/electron/connectionEntry.jsindex 808ee7fee6..4f1a3d3f61 100644--- a/app/electron/connectionEntry.js+++ b/app/electron/connectionEntry.js@@ -23,9 +23,16 @@"utf8")).connectRemoteKernel;}};- button.style.cssText = "position:fixed;bottom:16px;right:16px;z-index:1000;-webkit-app-region:no-drag;width:auto";button.addEventListener("click", () => ipcRenderer.send("siyuan-manage-connections", {lang: language()}));langSelect?.addEventListener("change", update);update();- document.body.append(button);+ const crashActions = new URLSearchParams(location.search).get("crash") === "1" ?+ document.querySelector(".crash-actions") : null;+ if (crashActions) {+ button.classList.add("b3-button--outline");+ crashActions.append(button);+ } else {+ button.style.cssText = "position:fixed;bottom:16px;right:16px;z-index:1000;-webkit-app-region:no-drag;width:auto";+ document.body.append(button);+ }})();