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/11323
Vanessa4128a8cab259
diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.tsindex 93b412657b..b827cefb40 100644--- a/app/src/menus/protyle.ts+++ b/app/src/menus/protyle.ts@@ -363,7 +363,7 @@ export const refMenu = (protyle: IProtyle, element: HTMLElement) => {window.siyuan.menus.menu.append(new MenuItem({label: window.siyuan.languages.openBy,icon: "iconOpen",- accelerator: window.siyuan.config.keymap.editor.general.openBy.custom + "/Click",+ accelerator: window.siyuan.config.keymap.editor.general.openBy.custom + "/" + window.siyuan.languages.click,click() {checkFold(refBlockId, (zoomIn, action) => {openFileById({@@ -378,7 +378,7 @@ export const refMenu = (protyle: IProtyle, element: HTMLElement) => {window.siyuan.menus.menu.append(new MenuItem({label: window.siyuan.languages.refTab,icon: "iconEyeoff",- accelerator: window.siyuan.config.keymap.editor.general.refTab.custom + "/⌘Click",+ accelerator: window.siyuan.config.keymap.editor.general.refTab.custom + "/⌘" + window.siyuan.languages.click,click() {checkFold(refBlockId, (zoomIn) => {openFileById({@@ -394,7 +394,7 @@ export const refMenu = (protyle: IProtyle, element: HTMLElement) => {window.siyuan.menus.menu.append(new MenuItem({label: window.siyuan.languages.insertRight,icon: "iconLayoutRight",- accelerator: window.siyuan.config.keymap.editor.general.insertRight.custom + "/⌥Click",+ accelerator: window.siyuan.config.keymap.editor.general.insertRight.custom + "/⌥" + window.siyuan.languages.click,click() {checkFold(refBlockId, (zoomIn, action) => {openFileById({@@ -410,7 +410,7 @@ export const refMenu = (protyle: IProtyle, element: HTMLElement) => {window.siyuan.menus.menu.append(new MenuItem({label: window.siyuan.languages.insertBottom,icon: "iconLayoutBottom",- accelerator: window.siyuan.config.keymap.editor.general.insertBottom.custom + (window.siyuan.config.keymap.editor.general.insertBottom.custom ? "/" : "") + "⇧Click",+ accelerator: window.siyuan.config.keymap.editor.general.insertBottom.custom + (window.siyuan.config.keymap.editor.general.insertBottom.custom ? "/" : "") + "⇧" + window.siyuan.languages.click,click() {checkFold(refBlockId, (zoomIn, action) => {openFileById({@@ -1392,7 +1392,7 @@ export const tagMenu = (protyle: IProtyle, tagElement: HTMLElement) => {/// #if !MOBILEwindow.siyuan.menus.menu.append(new MenuItem({label: window.siyuan.languages.search,- accelerator: "Click",+ accelerator: window.siyuan.languages.click,icon: "iconSearch",click() {openGlobalSearch(protyle.app, `#${tagElement.textContent}#`, false);diff --git a/app/src/menus/util.ts b/app/src/menus/util.tsindex aaad5ec200..31ac54e7f8 100644--- a/app/src/menus/util.ts+++ b/app/src/menus/util.ts@@ -37,7 +37,7 @@ export const openEditorTab = (app: App, ids: string[], notebookId?: string, pathconst openSubmenus: IMenu[] = [{icon: "iconLayoutRight",label: window.siyuan.languages.insertRight,- accelerator: ids.length === 1 ? `${updateHotkeyTip(window.siyuan.config.keymap.editor.general.insertRight.custom)}/${updateHotkeyTip("⌥Click")}` : undefined,+ accelerator: ids.length === 1 ? `${updateHotkeyTip(window.siyuan.config.keymap.editor.general.insertRight.custom)}/${updateHotkeyTip("⌥" + window.siyuan.languages.click)}` : undefined,click: () => {if (notebookId) {openFileById({@@ -63,7 +63,7 @@ export const openEditorTab = (app: App, ids: string[], notebookId?: string, path}, {icon: "iconLayoutBottom",label: window.siyuan.languages.insertBottom,- accelerator: ids.length === 1 ? "⇧Click" : "",+ accelerator: ids.length === 1 ? "⇧" + window.siyuan.languages.click : "",click: () => {if (notebookId) {openFileById({@@ -90,7 +90,7 @@ export const openEditorTab = (app: App, ids: string[], notebookId?: string, pathif (window.siyuan.config.fileTree.openFilesUseCurrentTab) {openSubmenus.push({label: window.siyuan.languages.openInNewTab,- accelerator: ids.length === 1 ? "⌥⌘Click" : undefined,+ accelerator: ids.length === 1 ? "⌥⌘" + window.siyuan.languages.click : undefined,click: () => {if (notebookId) {openFileById({