Skip to content

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

:art: fix https://github.com/siyuan-note/siyuan/issues/10063

Vanessaf8a5ca0aa6e3
diff --git a/app/src/plugin/API.ts b/app/src/plugin/API.ts
index 90d6c87cd5..1be7d9d564 100644
--- a/app/src/plugin/API.ts
+++ b/app/src/plugin/API.ts
@@ -16,6 +16,7 @@ import {Setting} from "./Setting";
import {Menu} from "./Menu";
import {Protyle} from "../protyle";
import {openMobileFileById} from "../mobile/editor";
+import {lockScreen} from "../dialog/processSystem";
let openTab;
let openWindow;
@@ -172,6 +173,8 @@ export const API = {
fetchGet,
getFrontend,
getBackend,
+ lockScreen,
+ openMobileFileById,
openTab,
openWindow,
Protyle,
@@ -180,5 +183,4 @@ export const API = {
Menu,
Setting,
Constants,
- openMobileFileById
};