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: Automatic synchronization mode prevents old cloud data from overwriting new local data Fix https://github.com/siyuan-note/siyuan/issues/9601
Daniel7a64e71b922e
diff --git a/app/changelogs/v2.10.14/v2.10.14.md b/app/changelogs/v2.10.14/v2.10.14.mdindex 26e13dc934..76f8231466 100644--- a/app/changelogs/v2.10.14/v2.10.14.md+++ b/app/changelogs/v2.10.14/v2.10.14.md@@ -23,6 +23,7 @@ Below are the detailed changes in this version.* [Improve hiding of floating window](https://github.com/siyuan-note/siyuan/issues/9584)* [Set the maximum width of floating windows](https://github.com/siyuan-note/siyuan/issues/9587)* [Improve the effect of image title settings on image size](https://github.com/siyuan-note/siyuan/issues/9596)+* [Automatic synchronization mode prevents old cloud data from overwriting new local data](https://github.com/siyuan-note/siyuan/issues/9601)### Bugfixdiff --git a/app/changelogs/v2.10.14/v2.10.14_zh_CHT.md b/app/changelogs/v2.10.14/v2.10.14_zh_CHT.mdindex 073c905a8c..9c7f9936c7 100644--- a/app/changelogs/v2.10.14/v2.10.14_zh_CHT.md+++ b/app/changelogs/v2.10.14/v2.10.14_zh_CHT.md@@ -23,6 +23,7 @@* [改進浮窗自動關閉](https://github.com/siyuan-note/siyuan/issues/9584)* [改良浮窗最大寬度](https://github.com/siyuan-note/siyuan/issues/9587)* [改進圖片標題設定對圖片大小的影響](https://github.com/siyuan-note/siyuan/issues/9596)+* [自動同步模式下避免舊的雲端資料覆蓋新的本地資料](https://github.com/siyuan-note/siyuan/issues/9601)### 修復缺陷diff --git a/app/changelogs/v2.10.14/v2.10.14_zh_CN.md b/app/changelogs/v2.10.14/v2.10.14_zh_CN.mdindex 30803fda3d..a942bf7709 100644--- a/app/changelogs/v2.10.14/v2.10.14_zh_CN.md+++ b/app/changelogs/v2.10.14/v2.10.14_zh_CN.md@@ -23,6 +23,7 @@* [改进浮窗自动关闭](https://github.com/siyuan-note/siyuan/issues/9584)* [改进浮窗最大宽度](https://github.com/siyuan-note/siyuan/issues/9587)* [改进图片标题设置对图片大小的影响](https://github.com/siyuan-note/siyuan/issues/9596)+* [自动同步模式下避免旧的云端数据覆盖新的本地数据](https://github.com/siyuan-note/siyuan/issues/9601)### 修复缺陷diff --git a/kernel/go.mod b/kernel/go.modindex f88c0a81a8..d41aaca760 100644--- a/kernel/go.mod+++ b/kernel/go.mod@@ -49,7 +49,7 @@ require (github.com/radovskyb/watcher v1.0.7github.com/sashabaranov/go-openai v1.16.1github.com/shirou/gopsutil/v3 v3.23.10- github.com/siyuan-note/dejavu v0.0.0-20231107132749-e901db17fbc0+ github.com/siyuan-note/dejavu v0.0.0-20231108025940-1adebb159e56github.com/siyuan-note/encryption v0.0.0-20220713091850-5ecd92177b75github.com/siyuan-note/eventbus v0.0.0-20230804030110-cf250f838c80github.com/siyuan-note/filelock v0.0.0-20231107122348-6ed75b0b525a@@ -77,7 +77,7 @@ require (github.com/andybalholm/brotli v1.0.6 // indirectgithub.com/andybalholm/cascadia v1.3.2 // indirectgithub.com/asaskevich/EventBus v0.0.0-20200907212545-49d423059eef // indirect- github.com/aws/aws-sdk-go v1.47.4 // indirect+ github.com/aws/aws-sdk-go v1.47.5 // indirectgithub.com/bytedance/sonic v1.10.2 // indirectgithub.com/cespare/xxhash/v2 v2.2.0 // indirectgithub.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirectdiff --git a/kernel/go.sum b/kernel/go.sumindex 5607b536d9..9c6315567f 100644--- a/kernel/go.sum+++ b/kernel/go.sum@@ -49,8 +49,8 @@ github.com/araddon/dateparse v0.0.0-20210429162001-6b43995a97de h1:FxWPpzIjnTlhPgithub.com/araddon/dateparse v0.0.0-20210429162001-6b43995a97de/go.mod h1:DCaWoUhZrYW9p1lxo/cm8EmUOOzAPSEZNGF2DK1dJgw=github.com/asaskevich/EventBus v0.0.0-20200907212545-49d423059eef h1:2JGTg6JapxP9/R33ZaagQtAM4EkkSYnIAlOG5EI8gkM=github.com/asaskevich/EventBus v0.0.0-20200907212545-49d423059eef/go.mod h1:JS7hed4L1fj0hXcyEejnW57/7LCetXggd+vwrRnYeII=-github.com/aws/aws-sdk-go v1.47.4 h1:IyhNbmPt+5ldi5HNzv7ZnXiqSglDMaJiZlzj4Yq3qnk=-github.com/aws/aws-sdk-go v1.47.4/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk=+github.com/aws/aws-sdk-go v1.47.5 h1:U2JlfPmrUoz5p+2X/XwKxmaJFo2oV+LbJqx8jyEvyAY=+github.com/aws/aws-sdk-go v1.47.5/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk=github.com/bytedance/sonic v1.5.0/go.mod h1:ED5hyg4y6t3/9Ku1R6dU/4KyJ48DZ4jPhfY1O2AihPM=github.com/bytedance/sonic v1.10.0-rc/go.mod h1:ElCzW+ufi8qKqNW0FY314xriJhyJhuoJ3gFZdAHF7NM=github.com/bytedance/sonic v1.10.2 h1:GQebETVBxYB7JGWJtLBi07OVzWwt+8dWA00gEVW2ZFE=@@ -352,8 +352,8 @@ github.com/shopspring/decimal v1.3.1/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRgithub.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-20231107132749-e901db17fbc0 h1:09aC2bgHksiFQSYNmknHKA8rVY5AzBtc3w+nC5B97gA=-github.com/siyuan-note/dejavu v0.0.0-20231107132749-e901db17fbc0/go.mod h1:QJg/fY8KE4eeEOa0Mu2Mp8aBWpshm0qgLaHxNBCc/OM=+github.com/siyuan-note/dejavu v0.0.0-20231108025940-1adebb159e56 h1:/PAQWUdK2WO0GFJQb6GpT7He8ueelNrMYngb4Y0aIv4=+github.com/siyuan-note/dejavu v0.0.0-20231108025940-1adebb159e56/go.mod h1:QJg/fY8KE4eeEOa0Mu2Mp8aBWpshm0qgLaHxNBCc/OM=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-20230804030110-cf250f838c80 h1:XghjHKJd+SiL0DkGYFVC+UGUDFtnR4v9gkAbPeh9Eq8=