An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:rotating_light:
Vanessabde581c8adaa
diff --git a/app/src/editor/util.ts b/app/src/editor/util.tsindex c7efc1a918..f740e5dd51 100644--- a/app/src/editor/util.ts+++ b/app/src/editor/util.ts@@ -27,7 +27,6 @@ import {import {getPreviousHeading} from "../protyle/wysiwyg/getBlock";import {lockFile, setTitle} from "../dialog/processSystem";import {zoomOut} from "../menus/protyle";-import {confirmDialog} from "../dialog/confirmDialog";export const openFileById = (options: {id: string,diff --git a/app/src/protyle/ui/hideElements.ts b/app/src/protyle/ui/hideElements.tsindex ea7a492605..f7c7c52158 100644--- a/app/src/protyle/ui/hideElements.ts+++ b/app/src/protyle/ui/hideElements.ts@@ -3,7 +3,7 @@ export const hideElements = (panels: string[], protyle?: IProtyle) => {if (!protyle) {if (panels.includes("dialog")) {for (let i = 0; i < window.siyuan.dialogs.length; i++) {- window.siyuan.dialogs[i].destroy()+ window.siyuan.dialogs[i].destroy();i--;}}diff --git a/app/src/util/globalShortcut.ts b/app/src/util/globalShortcut.tsindex 9343b7a73b..d8da23090d 100644--- a/app/src/util/globalShortcut.ts+++ b/app/src/util/globalShortcut.ts@@ -74,7 +74,7 @@ const switchDialogEvent = (event: MouseEvent, switchDialog: Dialog) => {}target = target.parentElement;}-}+};export const globalShortcut = () => {window.addEventListener("mousemove", (event) => {@@ -323,11 +323,11 @@ export const globalShortcut = () => {});if (isMac()) {switchDialog.element.addEventListener("contextmenu", (event) => {- switchDialogEvent(event, switchDialog)+ switchDialogEvent(event, switchDialog);});}switchDialog.element.addEventListener("click", (event) => {- switchDialogEvent(event, switchDialog)+ switchDialogEvent(event, switchDialog);});return;}