An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:sparkles: Support for searching asset content https://github.com/siyuan-note/siyuan/issues/8874
Daniel29678939f3be
diff --git a/kernel/model/asset_content.go b/kernel/model/asset_content.goindex 7df4d91e13..be4559edb0 100644--- a/kernel/model/asset_content.go+++ b/kernel/model/asset_content.go@@ -282,6 +282,8 @@ func buildAssetContentOrderBy(orderBy int) string {var assetContentSearcher = NewAssetsSearcher()func IndexAssetContent(absPath string) {+ defer logging.Recover()+assetsDir := util.GetDataAssetsAbsPath()ext := strings.ToLower(filepath.Ext(absPath))@@ -353,6 +355,8 @@ type AssetsSearcher struct {}func (searcher *AssetsSearcher) FullIndex() {+ defer logging.Recover()+assetsDir := util.GetDataAssetsAbsPath()if !gulu.File.IsDir(assetsDir) {return