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 tree id https://github.com/siyuan-note/siyuan/issues/14363
Danielb3dbcec3ccb7
diff --git a/kernel/filesys/tree.go b/kernel/filesys/tree.goindex 0e293a3ebc..346e98f272 100644--- a/kernel/filesys/tree.go+++ b/kernel/filesys/tree.go@@ -281,10 +281,10 @@ func parseJSON2Tree(boxID, p string, jsonData []byte, luteEngine *lute.Lute) (reif pathID := util.GetTreeID(p); pathID != ret.Root.ID {needFix = true+ logging.LogInfof("reset tree id from [%s] to [%s]", ret.Root.ID, pathID)ret.Root.ID = pathIDret.ID = pathIDret.Root.SetIALAttr("id", ret.ID)- logging.LogInfof("reset tree id from [%s] to [%s]", ret.Root.ID, pathID)}if needFix {