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/13175
Vanessa92cbdc198793
diff --git a/app/src/menus/tab.ts b/app/src/menus/tab.tsindex 39e089ceec..58e63aea46 100644--- a/app/src/menus/tab.ts+++ b/app/src/menus/tab.ts@@ -12,6 +12,7 @@ import {Wnd} from "../layout/Wnd";import {getAllWnds} from "../layout/getAll";import {Asset} from "../asset";import {writeText} from "../protyle/util/compatibility";+import {getAssetName, pathPosix} from "../util/pathName";const closeMenu = (tab: Tab) => {const unmodifiedTabs: Tab[] = [];@@ -213,7 +214,7 @@ export const initTabMenu = (app: App, tab: Tab) => {label: window.siyuan.languages.copy,icon: "iconCopy",click() {- writeText(`[${model.parent.title}](${model.path})`);+ writeText(`[${getAssetName(model.parent.title)}${pathPosix().extname(model.path)}](${model.path})`);}}).element);}