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/16660
Danielbd82eefbf343
diff --git a/kernel/model/mount.go b/kernel/model/mount.goindex 6955b58dc0..6ac4df43a1 100644--- a/kernel/model/mount.go+++ b/kernel/model/mount.go@@ -256,10 +256,11 @@ func Mount(boxID string) (alreadyMount bool, err error) {boxConf.Closed = falsebox.SaveConf(boxConf)- box.Index()// 缓存根一级的文档树展开- ListDocTree(box.ID, "/", util.SortModeUnassigned, false, false, Conf.FileTree.MaxListCount)- util.ClearPushProgress(100)+ files, _, _ := ListDocTree(box.ID, "/", util.SortModeUnassigned, false, false, Conf.FileTree.MaxListCount)+ if 0 < len(files) {+ box.Index()+ }if reMountGuide {return true, nil