Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: ai

Vanessab55bdb2214ed
diff --git a/app/src/protyle/hint/extend.ts b/app/src/protyle/hint/extend.ts
index 295a96789b..eee593a2cb 100644
--- a/app/src/protyle/hint/extend.ts
+++ b/app/src/protyle/hint/extend.ts
@@ -36,17 +36,17 @@ export const hintSlash = (key: string, protyle: IProtyle) => {
filter: ["嵌入块", "qianrukuai", "qrk", "embed block"],
value: "{{",
html: `<div class="b3-list-item__first"><svg class="b3-list-item__graphic"><use xlink:href="#iconSQL"></use></svg><span class="b3-list-item__text">${window.siyuan.languages.blockEmbed}</span><span class="b3-list-item__meta">{{</span></div>`,
+ }, {
+ 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: ["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: ["属性试图", "shuxingshitu", "sxst", "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.attributeView}</span></div>`,
// },
{
- filter: ["属性试图", "shuxingshitu", "sxst", "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.attributeView}</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>`,