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/12930

Vanessa739d1b624934
diff --git a/app/src/plugin/API.ts b/app/src/plugin/API.ts
index 952567d842..ea73d57182 100644
--- a/app/src/plugin/API.ts
+++ b/app/src/plugin/API.ts
@@ -10,6 +10,7 @@ import {openNewWindow, openNewWindowById} from "../window/openNewWindow";
import {Tab} from "../layout/Tab";
/// #endif
import {updateHotkeyTip} from "../protyle/util/compatibility";
+import * as platformUtils from "../protyle/util/compatibility";
import {App} from "../index";
import {Constants} from "../constants";
import {Setting} from "./Setting";
@@ -197,4 +198,5 @@ export const API = {
Menu,
Setting,
getAllEditor,
+ platformUtils
};