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/12932
Vanessac86910e5d635
diff --git a/app/src/util/pathName.ts b/app/src/util/pathName.tsindex debe280eac..2565d3740f 100644--- a/app/src/util/pathName.ts+++ b/app/src/util/pathName.ts@@ -80,7 +80,7 @@ export const getDisplayName = (filePath: string, basename = true, removeSY = fal};export const getAssetName = (assetPath: string) => {- return assetPath.replace(/-\d{14}-\w{7}/, "").replace(pathPosix().extname(assetPath), "").replace("assets/", "");+ return pathPosix().basename(assetPath, pathPosix().extname(assetPath)).replace(/-\d{14}-\w{7}/, "");};export const isLocalPath = (link: string) => {