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/9497
Vanessad76eddc875d7
diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.tsindex 92e4d6de4c..fa0f1c9eed 100644--- a/app/src/protyle/export/index.ts+++ b/app/src/protyle/export/index.ts@@ -69,7 +69,7 @@ export const saveExport = (option: IExportOptions) => {};/// #if !BROWSER-const renderPDF = (id: string, fileType:string) => {+const renderPDF = (id: string, fileType: string) => {const localData = window.siyuan.storage[Constants.LOCAL_EXPORTPDF];const servePath = window.location.protocol + "//" + window.location.host;const isDefault = (window.siyuan.config.appearance.mode === 1 && window.siyuan.config.appearance.themeDark === "midnight") || (window.siyuan.config.appearance.mode === 0 && window.siyuan.config.appearance.themeLight === "daylight");@@ -579,7 +579,7 @@ const getExportPath = (option: IExportOptions, removeAssets?: boolean, mergeSubd});};-const onExport = (data: IWebSocketData, filePath: string, exportOption:IExportOptions, removeAssets?: boolean, msgId?: string) => {+const onExport = (data: IWebSocketData, filePath: string, exportOption: IExportOptions, removeAssets?: boolean, msgId?: string) => {let themeName = window.siyuan.config.appearance.themeLight;let mode = 0;if (["html", "htmlmd"].includes(exportOption.type) && window.siyuan.config.appearance.mode === 1) {