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/12537
Vanessa97a7e275f94b
diff --git a/app/src/block/Panel.ts b/app/src/block/Panel.tsindex 49f996ae63..ec10d0f327 100644--- a/app/src/block/Panel.ts+++ b/app/src/block/Panel.ts@@ -124,7 +124,7 @@ export class BlockPanel {openFileById({app: options.app,id: this.nodeIds[0],- action: this.editors[0].protyle.block.rootID !== this.nodeIds[0] ? [Constants.CB_GET_ALL] : [Constants.CB_GET_CONTEXT],+ action: this.editors[0].protyle.block.rootID !== this.nodeIds[0] ? [Constants.CB_GET_ALL, Constants.CB_GET_FOCUS] : [Constants.CB_GET_CONTEXT],});/// #endif}@@ -237,7 +237,7 @@ export class BlockPanel {let openHTML = "";/// #if !BROWSERif (this.nodeIds.length === 1) {- openHTML = `<span data-type="stickTab" class="block__icon block__icon--show b3-tooltips b3-tooltips__sw" aria-label="${window.siyuan.languages.openInNewTab}"><svg><use xlink:href="#iconLayoutRight"></use></svg></span>+ openHTML = `<span data-type="stickTab" class="block__icon block__icon--show b3-tooltips b3-tooltips__sw" aria-label="${window.siyuan.languages.openBy}"><svg><use xlink:href="#iconOpen"></use></svg></span><span class="fn__space"></span><span data-type="open" class="block__icon block__icon--show b3-tooltips b3-tooltips__sw" aria-label="${window.siyuan.languages.openByNewWindow}"><svg><use xlink:href="#iconOpenWindow"></use></svg></span><span class="fn__space"></span>`;diff --git a/app/src/protyle/header/openTitleMenu.ts b/app/src/protyle/header/openTitleMenu.tsindex 267b283950..fa47f9ab31 100644--- a/app/src/protyle/header/openTitleMenu.ts+++ b/app/src/protyle/header/openTitleMenu.ts@@ -200,13 +200,13 @@ export const openTitleMenu = (protyle: IProtyle, position: IPosition) => {/// #if !MOBILEif (!protyle.model) {window.siyuan.menus.menu.append(new MenuItem({- label: window.siyuan.languages.openInNewTab,- icon: "iconLayoutRight",+ label: window.siyuan.languages.openBy,+ icon: "iconOpen",click() {openFileById({app: protyle.app,id: protyle.block.id,- action: protyle.block.rootID !== protyle.block.id ? [Constants.CB_GET_ALL] : [Constants.CB_GET_CONTEXT],+ action: protyle.block.rootID !== protyle.block.id ? [Constants.CB_GET_ALL, Constants.CB_GET_FOCUS] : [Constants.CB_GET_CONTEXT],});}}).element);