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/17533 02
Danield43aa6b4c2fe
diff --git a/kernel/model/push_reload.go b/kernel/model/push_reload.goindex 35e48e57d2..65ac5f81ac 100644--- a/kernel/model/push_reload.go+++ b/kernel/model/push_reload.go@@ -135,13 +135,19 @@ func refreshDocInfo0(tree *parse.Tree, size uint64) {}subFileCount := 0- subFiles, err := os.ReadDir(filepath.Join(util.DataDir, tree.Box, strings.TrimSuffix(tree.Path, ".sy")))+ subDir := filepath.Join(util.DataDir, tree.Box, strings.TrimSuffix(tree.Path, ".sy"))+ subFiles, err := os.ReadDir(subDir)if err == nil {for _, subFile := range subFiles {if "true" == tree.Root.IALAttr("custom-hidden") {continue}+ subDocIAL := filesys.DocIAL(filepath.Join(subDir, subFile.Name()))+ if "true" == subDocIAL["custom-hidden"] {+ continue+ }+if strings.HasSuffix(subFile.Name(), ".sy") {subFileCount++}