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/2985
Liang Ding33b7f6f6312f
diff --git a/kernel/model/search.go b/kernel/model/search.goindex 61cf6bb4e5..2ea6ebc05b 100644--- a/kernel/model/search.go+++ b/kernel/model/search.go@@ -39,8 +39,8 @@ import ()type EmbedBlock struct {- Block *Block `json:"block"`- BlockPath []*BlockPath `json:"blockPath"`+ Block *Block `json:"block"`+ BlockPaths []*BlockPath `json:"blockPaths"`}func SearchEmbedBlock(stmt string, excludeIDs []string, headingMode int) (ret []*EmbedBlock) {@@ -81,8 +81,8 @@ func searchEmbedBlock(stmt string, excludeIDs []string, headingMode int) (ret []continue}ret = append(ret, &EmbedBlock{- Block: block,- BlockPath: blockPaths,+ Block: block,+ BlockPaths: blockPaths,})}