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: 改进提及和虚拟引用搜索分词 Fix https://github.com/siyuan-note/siyuan/issues/6165
Liang Ding4a336e7430e8
diff --git a/kernel/model/file.go b/kernel/model/file.goindex f9191c5cae..305500e4ca 100644--- a/kernel/model/file.go+++ b/kernel/model/file.go@@ -693,7 +693,7 @@ func GetDoc(startID, endID, id string, index int, keyword string, mode int, sizeblockKeys = append(blockKeys, alias)}if 0 < len(blockKeys) {- keys := gulu.Str.SubstringsBetween(newContent, "<span data-type=\"virtual-block-ref\">", "</span>")+ keys := gulu.Str.SubstringsBetween(newContent, virtualBlockRefSpanStart, virtualBlockRefSpanEnd)for _, k := range keys {if gulu.Str.Contains(k, blockKeys) {return ast.WalkContinue