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/9091
Vanessa30b4837f5d2e
diff --git a/app/src/protyle/hint/extend.ts b/app/src/protyle/hint/extend.tsindex b0a56e4953..0e840c5aa8 100644--- a/app/src/protyle/hint/extend.ts+++ b/app/src/protyle/hint/extend.ts@@ -46,11 +46,11 @@ export const hintSlash = (key: string, protyle: IProtyle) => {filter: ["ai chat"],value: Constants.ZWSP + 5,html: '<div class="b3-list-item__first"><svg class="b3-list-item__graphic"><use xlink:href="#iconSparkles"></use></svg><span class="b3-list-item__text">AI Chat</span></div>',- },/* {+ }, {filter: ["数据库", "属性视图", "shujuku", "shuxingshitu", "sjk", "sxst", "database", "attribute view"],value: '<div data-type="NodeAttributeView" data-av-type="table"></div>',html: `<div class="b3-list-item__first"><svg class="b3-list-item__graphic"><use xlink:href="#iconDatabase"></use></svg><span class="b3-list-item__text">${window.siyuan.languages.database}</span></div>`,- },*/ {+ }, {filter: ["文档", "子文档", "wendang", "wd", "ziwendang", "zwd", "xjwd"],value: Constants.ZWSP + 4,html: `<div class="b3-list-item__first"><svg class="b3-list-item__graphic"><use xlink:href="#iconFile"></use></svg><span class="b3-list-item__text">${window.siyuan.languages.newFile}</span><span class="b3-menu__accelerator">${updateHotkeyTip(window.siyuan.config.keymap.general.newFile.custom)}</span></div>`,diff --git a/app/src/protyle/hint/index.ts b/app/src/protyle/hint/index.tsindex 7e5089e272..03e648301c 100644--- a/app/src/protyle/hint/index.ts+++ b/app/src/protyle/hint/index.ts@@ -423,6 +423,7 @@ ${genHintItemHTML(item)}const realFileName = fileNames.length === 1 ? fileNames[0] : fileNames[1];getSavePath(protyle.path, protyle.notebookId, (pathString) => {fetchPost("/api/filetree/createDocWithMd", {+ showInDocTree: true,notebook: protyle.notebookId,path: pathPosix().join(pathString, realFileName),parentID: protyle.block.rootID,