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: Improve data sync to avoid conflicts caused by folding block https://github.com/siyuan-note/siyuan/issues/15329#issuecomment-3152964043
Daniel56900813329c
diff --git a/kernel/model/repository.go b/kernel/model/repository.goindex bbb6b8f7b5..f0147f1901 100644--- a/kernel/model/repository.go+++ b/kernel/model/repository.go@@ -1526,8 +1526,13 @@ func processSyncMergeResult(exit, byHand bool, mergeResult *dejavu.MergeResult,tree.Box = boxIDtree.Path = strings.TrimPrefix(file.Path, "/"+boxID)+ previousPath := tree.PathresetTree(tree, "Conflicted", true)createTreeTx(tree)+ box := Conf.Box(boxID)+ if nil != box {+ box.addSort(previousPath, tree.ID)+ }}needReloadFiletree = true