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 synchronization perception https://github.com/siyuan-note/siyuan/issues/13000
Danielfc50b864ad47
diff --git a/kernel/go.mod b/kernel/go.modindex 89529fa686..b7286bf088 100644--- a/kernel/go.mod+++ b/kernel/go.mod@@ -54,7 +54,7 @@ require (github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06github.com/sashabaranov/go-openai v1.29.1github.com/shirou/gopsutil/v3 v3.24.5- github.com/siyuan-note/dejavu v0.0.0-20241101165922-5c8aefd88ca8+ github.com/siyuan-note/dejavu v0.0.0-20241102040801-b415ddf75154github.com/siyuan-note/encryption v0.0.0-20231219001248-1e028a4d13b4github.com/siyuan-note/eventbus v0.0.0-20240627125516-396fdb0f0f97github.com/siyuan-note/filelock v0.0.0-20240724034355-d1ed7bf21d04diff --git a/kernel/go.sum b/kernel/go.sumindex 18547898d3..057e951eef 100644--- a/kernel/go.sum+++ b/kernel/go.sum@@ -332,8 +332,8 @@ github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+Dgithub.com/shurcooL/gofontwoff v0.0.0-20181114050219-180f79e6909d h1:lvCTyBbr36+tqMccdGMwuEU+hjux/zL6xSmf5S9ITaA=github.com/shurcooL/gofontwoff v0.0.0-20181114050219-180f79e6909d/go.mod h1:05UtEgK5zq39gLST6uB0cf3NEHjETfB4Fgr3Gx5R9Vw=github.com/simplereach/timeutils v1.2.0/go.mod h1:VVbQDfN/FHRZa1LSqcwo4kNZ62OOyqLLGQKYB3pB0Q8=-github.com/siyuan-note/dejavu v0.0.0-20241101165922-5c8aefd88ca8 h1:l5L5yJiJ8cIgzGSe4v5fBjzkhm4H/S69FA8n20liu/M=-github.com/siyuan-note/dejavu v0.0.0-20241101165922-5c8aefd88ca8/go.mod h1:PfTyVdHF4Ba0Sl9MblG9Ht0od/lWmUnIcBHqEeC/g88=+github.com/siyuan-note/dejavu v0.0.0-20241102040801-b415ddf75154 h1:CTexAFB8DAPt4R1cLNGZ9WvkPzmY9L3lF44M1j8FNUs=+github.com/siyuan-note/dejavu v0.0.0-20241102040801-b415ddf75154/go.mod h1:PfTyVdHF4Ba0Sl9MblG9Ht0od/lWmUnIcBHqEeC/g88=github.com/siyuan-note/encryption v0.0.0-20231219001248-1e028a4d13b4 h1:kJaw5L/evyW6LcB9IQT8PR4ppx8JVqOFP9Ix3rfwSrc=github.com/siyuan-note/encryption v0.0.0-20231219001248-1e028a4d13b4/go.mod h1:UYcCCY+0wh+GmUoDOaO63j1sV5lgy7laLAk1XhEiUis=github.com/siyuan-note/eventbus v0.0.0-20240627125516-396fdb0f0f97 h1:lM5v8BfNtbOL5jYwhCdMYBcYtr06IYBKjjSLAPMKTM8=diff --git a/kernel/model/sync.go b/kernel/model/sync.goindex 03cb1129e5..740bdd9b49 100644--- a/kernel/model/sync.go+++ b/kernel/model/sync.go@@ -805,7 +805,8 @@ func connectSyncWebSocket() {data := result.Data.(map[string]interface{})switch data["cmd"].(string) {case "synced":- syncData(false, false)+ // Improve data synchronization perception https://github.com/siyuan-note/siyuan/issues/13000+ SyncDataDownload()case "kernels":onlineKernelsLock.Lock()