An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:recycle: 重构数据仓库同步 Fix https://github.com/siyuan-note/siyuan/issues/6427
Liang Dingea89f6a78ad8
diff --git a/kernel/go.mod b/kernel/go.modindex ef6ca5eb11..c605a9b0df 100644--- a/kernel/go.mod+++ b/kernel/go.mod@@ -36,7 +36,7 @@ require (github.com/panjf2000/ants/v2 v2.6.0github.com/patrickmn/go-cache v2.1.0+incompatiblegithub.com/radovskyb/watcher v1.0.7- github.com/siyuan-note/dejavu v0.0.0-20221031145103-cabf164a3427+ github.com/siyuan-note/dejavu v0.0.0-20221031154617-cd9466fb0785github.com/siyuan-note/encryption v0.0.0-20220713091850-5ecd92177b75github.com/siyuan-note/eventbus v0.0.0-20220916025349-3ac6e75522dagithub.com/siyuan-note/filelock v0.0.0-20221007163134-7e64809023efdiff --git a/kernel/go.sum b/kernel/go.sumindex 1f993dccea..21566afb1d 100644--- a/kernel/go.sum+++ b/kernel/go.sum@@ -353,8 +353,8 @@ github.com/shurcooL/reactions v0.0.0-20181006231557-f2e0b4ca5b82/go.mod h1:TCR1lgithub.com/shurcooL/sanitized_anchor_name v0.0.0-20170918181015-86672fcb3f95/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=github.com/shurcooL/users v0.0.0-20180125191416-49c67e49c537/go.mod h1:QJTqeLYEDaXHZDBsXlPCDqdhQuJkuw4NOtaxYe3xii4=github.com/shurcooL/webdavfs v0.0.0-20170829043945-18c3829fa133/go.mod h1:hKmq5kWdCj2z2KEozexVbfEZIWiTjhE0+UjmZgPqehw=-github.com/siyuan-note/dejavu v0.0.0-20221031145103-cabf164a3427 h1:xLo2tlKDM1sZgTOzMWGALujU9qM0OTNVqXBMKAKVt80=-github.com/siyuan-note/dejavu v0.0.0-20221031145103-cabf164a3427/go.mod h1:+U86jfsvpacZBThE3Ouf/ZQ4EsB4jGPJsMO2iuRv0LQ=+github.com/siyuan-note/dejavu v0.0.0-20221031154617-cd9466fb0785 h1:ZvlTJvaYf7AsME4cR+qMZVxvRff23KRlkqtiHc/W4wI=+github.com/siyuan-note/dejavu v0.0.0-20221031154617-cd9466fb0785/go.mod h1:+U86jfsvpacZBThE3Ouf/ZQ4EsB4jGPJsMO2iuRv0LQ=github.com/siyuan-note/encryption v0.0.0-20220713091850-5ecd92177b75 h1:Bi7/7f29LW+Fm0cHc0J1NO1cZqyJwljSWVmfOqVZgaE=github.com/siyuan-note/encryption v0.0.0-20220713091850-5ecd92177b75/go.mod h1:H8fyqqAbp9XreANjeSbc72zEdFfKTXYN34tc1TjZwtw=github.com/siyuan-note/eventbus v0.0.0-20220916025349-3ac6e75522da h1:/jNhl7LC+9BhkWvNxuJDdsNfA/2wvfuj9mqWx4CbV90=diff --git a/kernel/model/sync.go b/kernel/model/sync.goindex 85343a8e34..9321cc35de 100644--- a/kernel/model/sync.go+++ b/kernel/model/sync.go@@ -29,7 +29,7 @@ import ("github.com/88250/gulu""github.com/dustin/go-humanize"- "github.com/siyuan-note/dejavu"+ "github.com/siyuan-note/dejavu/transport""github.com/siyuan-note/logging""github.com/siyuan-note/siyuan/kernel/sql""github.com/siyuan-note/siyuan/kernel/treenode"@@ -378,7 +378,7 @@ func ListCloudSyncDir() (syncDirs []*Sync, hSize string, err error) {}func formatErrorMsg(err error) string {- if errors.Is(err, dejavu.ErrCloudAuthFailed) {+ if errors.Is(err, transport.ErrCloudAuthFailed) {return Conf.Language(31) + " v" + util.Ver}