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/insider/issues/1043
Liang Dingd793b9ccf849
diff --git a/kernel/go.mod b/kernel/go.modindex d2d248b79b..d866da58f0 100644--- a/kernel/go.mod+++ b/kernel/go.mod@@ -41,7 +41,7 @@ require (github.com/qiniu/go-sdk/v7 v7.13.0github.com/radovskyb/watcher v1.0.7github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06- github.com/siyuan-note/dejavu v0.0.0-20220707133820-6e8292d6d3e5+ github.com/siyuan-note/dejavu v0.0.0-20220707164542-13640068715egithub.com/siyuan-note/encryption v0.0.0-20220612074546-f1dd94fe8676github.com/siyuan-note/eventbus v0.0.0-20220624162334-ca7c06dc771fgithub.com/siyuan-note/filelock v0.0.0-20220704090116-54dfb035283fdiff --git a/kernel/go.sum b/kernel/go.sumindex 459adf86fb..6289e48ba7 100644--- a/kernel/go.sum+++ b/kernel/go.sum@@ -424,10 +424,8 @@ github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749/go.mod h1:ZY1cvUeJgithub.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546/go.mod h1:TrYk7fJVaAttu97ZZKrO9UbRa8izdowaMIZcxYMbVaw=github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=-github.com/siyuan-note/dejavu v0.0.0-20220706152612-01484c9d21c7 h1:zmn9x7bGlXxt9KB7+3r2QVEcI1bAaanXG1t8BQwL4MI=-github.com/siyuan-note/dejavu v0.0.0-20220706152612-01484c9d21c7/go.mod h1:ral+X0pNW6nSQVvIcxllUXSczCaY4UOCT2iGlO4YNg0=-github.com/siyuan-note/dejavu v0.0.0-20220707133820-6e8292d6d3e5 h1:rGr2cYzD+DCc3flnvsDamaHag66xWVZ7OjHXDACf3CI=-github.com/siyuan-note/dejavu v0.0.0-20220707133820-6e8292d6d3e5/go.mod h1:ral+X0pNW6nSQVvIcxllUXSczCaY4UOCT2iGlO4YNg0=+github.com/siyuan-note/dejavu v0.0.0-20220707164542-13640068715e h1:byd5iI5dHsebxRgsYNiEap8IXU192IBkzx1yazBZN9Q=+github.com/siyuan-note/dejavu v0.0.0-20220707164542-13640068715e/go.mod h1:ral+X0pNW6nSQVvIcxllUXSczCaY4UOCT2iGlO4YNg0=github.com/siyuan-note/encryption v0.0.0-20220612074546-f1dd94fe8676 h1:QB9TjJQFhXhZ6dAtPpY02DlzHAQm1C+WqZq6OadG8mI=github.com/siyuan-note/encryption v0.0.0-20220612074546-f1dd94fe8676/go.mod h1:H8fyqqAbp9XreANjeSbc72zEdFfKTXYN34tc1TjZwtw=github.com/siyuan-note/eventbus v0.0.0-20220624162334-ca7c06dc771f h1:JMobMNZ7AqaKKyEK+WeWFhix/2TDQXgPZDajU00IybU=diff --git a/kernel/model/repository.go b/kernel/model/repository.goindex fb87cf5d58..de6329f05a 100644--- a/kernel/model/repository.go+++ b/kernel/model/repository.go@@ -592,14 +592,12 @@ func subscribeEvents() {msg := "Downloading data repo file [" + id + "]"util.SetBootDetails(msg)contextPushMsg(context, msg)- //util.LogInfof("%s", msg)})eventbus.Subscribe(dejavu.EvtCloudBeforeDownloadChunk, func(context map[string]interface{}, id string) {msg := "Downloading data repo chunk [" + id + "]"util.SetBootDetails(msg)contextPushMsg(context, msg)- //util.LogInfof("%s", msg)})eventbus.Subscribe(dejavu.EvtCloudBeforeDownloadRef, func(context map[string]interface{}, ref string) {@@ -618,14 +616,12 @@ func subscribeEvents() {msg := "Uploading data repo file [" + id + "]"util.SetBootDetails(msg)contextPushMsg(context, msg)- //util.LogInfof("%s", msg)})eventbus.Subscribe(dejavu.EvtCloudBeforeUploadChunk, func(context map[string]interface{}, id string) {msg := "Uploading data repo chunk [" + id + "]"util.SetBootDetails(msg)contextPushMsg(context, msg)- //util.LogInfof("%s", msg)})eventbus.Subscribe(dejavu.EvtCloudBeforeUploadRef, func(context map[string]interface{}, ref string) {