An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: 云端同步下载文件时断点续传失效 Fix https://github.com/siyuan-note/siyuan/issues/5123
Liang Dinge3e3546eeaf0
diff --git a/kernel/model/sync.go b/kernel/model/sync.goindex 892e0efab1..475b6c9305 100644--- a/kernel/model/sync.go+++ b/kernel/model/sync.go@@ -340,9 +340,8 @@ func SyncData(boot, exit, byHand bool) {Conf.Sync.Stat = msgutil.PushErrMsg(msg, 7000)- metaPath := filepath.Join(Conf.Sync.GetSaveDir(), pathJSON)indexPath := filepath.Join(util.TempDir, "sync", "index.json")- _, err = syncDirUpsertWorkspaceData(metaPath, indexPath, downloadedFiles)+ _, err = syncDirUpsertWorkspaceData(tmpPathJSON, indexPath, downloadedFiles)if nil != err {util.LogErrorf("upsert partially downloaded files to workspace data failed: %s", err)}