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

Vanessa2ebc2659961e
diff --git a/app/src/plugin/index.ts b/app/src/plugin/index.ts
index c8ae962e7b..0b13e72fe0 100644
--- a/app/src/plugin/index.ts
+++ b/app/src/plugin/index.ts
@@ -1,10 +1,17 @@
-export class Plugin {
+import {App} from "../index";
- constructor() {
+export class Plugin {
+ public i18n: IObject;
+ constructor(options: {
+ app: App,
+ id: string,
+ i18n: IObject
+ }) {
+ this.i18n = options.i18n;
}
- public getData () {
+ public getData() {
}