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

Vanessad53f3aa5a054
diff --git a/app/src/plugin/API.ts b/app/src/plugin/API.ts
index c506f84b36..121ff0e4ff 100644
--- a/app/src/plugin/API.ts
+++ b/app/src/plugin/API.ts
@@ -16,6 +16,7 @@ import {Constants} from "../constants";
import {Setting} from "./Setting";
import {Menu} from "./Menu";
import {Protyle} from "../protyle";
+import ProtyleMethod from "../protyle/method";
import {openMobileFileById} from "../mobile/editor";
import {lockScreen, exitSiYuan} from "../dialog/processSystem";
import {Model} from "../layout/Model";
@@ -320,6 +321,7 @@ export const API = {
lockScreen,
exitSiYuan,
Protyle,
+ ProtyleMethod,
Plugin,
Dialog,
Menu,
diff --git a/app/src/protyle/method.ts b/app/src/protyle/method.ts
index d9dcd8a70f..e9804fa053 100644
--- a/app/src/protyle/method.ts
+++ b/app/src/protyle/method.ts
@@ -12,7 +12,6 @@ import { avRender } from "./render/av/render";
import "../assets/scss/export.scss";
class Protyle {
-
/** 对 graphviz 进行渲染 */
public static graphvizRender = graphvizRender;
/** 为 element 中的代码块进行高亮渲染 */