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

Vanessa904735a2eb2d
diff --git a/app/src/plugin/API.ts b/app/src/plugin/API.ts
index 5141dd0227..dff75e0d92 100644
--- a/app/src/plugin/API.ts
+++ b/app/src/plugin/API.ts
@@ -14,6 +14,7 @@ import {Constants} from "../constants";
import {Model} from "../layout/Model";
import {Setting} from "./Setting";
import {Menu} from "./Menu";
+import { Protyle } from "../protyle";
let openTab;
/// #if MOBILE
@@ -148,6 +149,7 @@ export const API = {
getFrontend,
getBackend,
openTab,
+ Protyle,
Plugin,
Dialog,
Menu,