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/14052
Vanessaeada8ca593f2
diff --git a/app/src/editor/openLink.ts b/app/src/editor/openLink.tsindex 327f1a4aad..29eee6a529 100644--- a/app/src/editor/openLink.ts+++ b/app/src/editor/openLink.ts@@ -26,8 +26,10 @@ export const openLink = (protyle: IProtyle, aLink: string, event?: MouseEvent, c/// #elseif (isLocalPath(linkAddress)) {if (Constants.SIYUAN_ASSETS_EXTS.includes(pathPosix().extname(linkAddress)) &&- (!linkAddress.endsWith(".pdf") ||- (linkAddress.endsWith(".pdf") && !linkAddress.startsWith("file://")))+ (+ !linkAddress.endsWith(".pdf") ||+ (linkAddress.endsWith(".pdf") && linkAddress.startsWith("assets/"))+ )) {if (event && event.altKey) {openAsset(protyle.app, linkAddress, pdfParams);