An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:lipstick: https://github.com/siyuan-note/siyuan/issues/12842
Vanessa4a0600bea77c
diff --git a/app/src/search/util.ts b/app/src/search/util.tsindex 18d1b842c6..2d496037bf 100644--- a/app/src/search/util.ts+++ b/app/src/search/util.ts@@ -1395,7 +1395,6 @@ const onSearch = (data: IBlock[], edit: Protyle, element: Element, config: Confilet resultHTML = "";data.forEach((item, index) => {const title = getNotebookName(item.box) + getDisplayName(item.hPath, false);- const tags = item.tag ? `<span class="b3-list-item__meta b3-list-item__meta--ellipsis">${item.tag.split("# #").map(tag => `${tag.replace("#", "")}`).join(" ").replace("#", "")}</span>` : "";if (item.children) {resultHTML += `<div class="b3-list-item"><span class="b3-list-item__toggle b3-list-item__toggle--hl">@@ -1410,6 +1409,7 @@ ${unicode2Emoji(getNotebookIcon(item.box) || Constants.SIYUAN_IMAGE_NOTE, "b3-li${unicode2Emoji(childItem.ial.icon, "b3-list-item__graphic", true)}<span class="b3-list-item__text">${childItem.content}</span>${getAttr(childItem)}+${childItem.tag ? `<span class="b3-list-item__meta b3-list-item__meta--ellipsis">${childItem.tag.split("# #").map(tag => `${tag.replace("#", "")}`).join(" ").replace("#", "")}</span>` : ""}</div>`;});resultHTML += "</div>";@@ -1419,7 +1419,7 @@ ${getAttr(childItem)}${unicode2Emoji(item.ial.icon, "b3-list-item__graphic", true)}<span class="b3-list-item__text">${item.content}</span>${getAttr(item)}-${tags}+${item.tag ? `<span class="b3-list-item__meta b3-list-item__meta--ellipsis">${item.tag.split("# #").map(tag => `${tag.replace("#", "")}`).join(" ").replace("#", "")}</span>` : ""}<span class="b3-list-item__meta b3-list-item__meta--ellipsis ariaLabel" aria-label="${escapeAriaLabel(title)}">${escapeGreat(title)}</span></div>`;}