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/6743
Vanessa32fb7e1882c8
diff --git a/app/src/search/util.ts b/app/src/search/util.tsindex ce91001867..e1811ee16d 100644--- a/app/src/search/util.ts+++ b/app/src/search/util.ts@@ -212,17 +212,17 @@ export const genSearch = (config: ISearchOption, element: Element, closeCB?: ()break;} else if (target.id === "searchPath") {movePathTo((toPath, toNotebook) => {- config.idPath = []- const hPathList: string[] = []- toPath.forEach((item, index) => {- if (item === "/") {- config.idPath.push(toNotebook[index])- hPathList.push(escapeHtml(getNotebookName(toNotebook[index])))- } else {- config.idPath.push(pathPosix().join(toNotebook[index], item));- }- })fetchPost("/api/filetree/getHPathsByPaths", {paths: toPath}, (response) => {+ config.idPath = []+ const hPathList: string[] = []+ toPath.forEach((item, index) => {+ if (item === "/") {+ config.idPath.push(toNotebook[index])+ hPathList.push(escapeHtml(getNotebookName(toNotebook[index])))+ } else {+ config.idPath.push(pathPosix().join(toNotebook[index], item));+ }+ })if (response.data) {hPathList.push(...response.data);}