An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/issues/14036
Vanessae76d0084ed61
diff --git a/app/src/plugin/index.ts b/app/src/plugin/index.tsindex e0e2f3e9c4..68d0ead5b1 100644--- a/app/src/plugin/index.ts+++ b/app/src/plugin/index.ts@@ -28,7 +28,7 @@ export class Plugin {filter: string[],html: string,id: string,- callback: (protyle: import("../protyle").Protyle) => void+ callback: (protyle: import("../protyle").Protyle, nodeElement: HTMLElement) => void}[] = [];// TODOpublic customBlockRenders: {diff --git a/app/src/protyle/hint/index.ts b/app/src/protyle/hint/index.tsindex 3f65068306..72adbf4cf3 100644--- a/app/src/protyle/hint/index.ts+++ b/app/src/protyle/hint/index.ts@@ -715,7 +715,7 @@ ${genHintItemHTML(item)}if (ids[1] === plugin.name) {plugin.protyleSlash.find((slash) => {if (slash.id === ids[2]) {- slash.callback(protyle.getInstance());+ slash.callback(protyle.getInstance(), nodeElement);return true;}});