Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/14499

Vanessa8324957783fa
diff --git a/app/src/plugin/API.ts b/app/src/plugin/API.ts
index 98d0d66968..20da0f8eda 100644
--- a/app/src/plugin/API.ts
+++ b/app/src/plugin/API.ts
@@ -26,6 +26,7 @@ import {getAllModels} from "../layout/getAll";
import {getAllEditor} from "../layout/getAll";
import {openSetting} from "../config";
import {openAttr, openFileAttr} from "../menus/commonMenuItem";
+import {globalCommand} from "../boot/globalEvent/command/global";
let openTab;
let openWindow;
@@ -222,4 +223,5 @@ export const API = {
platformUtils,
openSetting,
openAttributePanel,
+ globalCommand,
};