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/12912
Vanessab65d4f6742b0
diff --git a/app/src/menus/navigation.ts b/app/src/menus/navigation.tsindex 0dd95a2f9a..be57997449 100644--- a/app/src/menus/navigation.ts+++ b/app/src/menus/navigation.ts@@ -127,6 +127,26 @@ const initMultiMenu = (selectItemElements: NodeListOf<Element>, app: App) => {window.siyuan.menus.menu.append(new MenuItem({id: "separator_2", type: "separator"}).element);}openEditorTab(app, blockIDs);+ window.siyuan.menus.menu.append(new MenuItem({+ id: "export",+ label: window.siyuan.languages.export,+ type: "submenu",+ icon: "iconUpload",+ submenu: [{+ id: "exportMarkdown",+ label: "Markdown",+ icon: "iconMarkdown",+ click: () => {+ const msgId = showMessage(window.siyuan.languages.exporting, -1);+ fetchPost(" /api/export/exportMds", {+ ids: blockIDs,+ }, response => {+ hideMessage(msgId);+ openByMobile(response.data.zip);+ });+ }+ }]+ }).element);if (app.plugins) {emitOpenMenu({plugins: app.plugins,