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/12258
Vanessaf8fc8ff9b1c3
diff --git a/app/src/search/util.ts b/app/src/search/util.tsindex 8534f8e161..2a33e39361 100644--- a/app/src/search/util.ts+++ b/app/src/search/util.ts@@ -561,6 +561,22 @@ export const genSearch = (app: App, config: Config.IUILayoutTabSearchConfig, elereturn true;}});+ if (target.parentElement.classList.contains('b3-chip--current')) {+ updateConfig(element, {+ removed: true,+ sort: 0,+ group: 0,+ hasReplace: false,+ method: 0,+ hPath: "",+ idPath: [],+ k: "",+ r: "",+ page: 1,+ types: getDefaultType(),+ replaceTypes: Object.assign({}, Constants.SIYUAN_DEFAULT_REPLACETYPES),+ }, config, edit, true);+ }target.parentElement.remove();event.stopPropagation();event.preventDefault();@@ -1073,7 +1089,7 @@ export const getQueryTip = (method: number) => {};export const updateConfig = (element: Element, item: Config.IUILayoutTabSearchConfig, config: Config.IUILayoutTabSearchConfig,- edit: Protyle, clear = false) => {+ edit: Protyle, clear = false) => {const dialogElement = hasClosestByClassName(element, "b3-dialog--open");if (dialogElement && dialogElement.getAttribute("data-key") === Constants.DIALOG_SEARCH) {// https://github.com/siyuan-note/siyuan/issues/6828