@forsion/extend 0.10.2 → 0.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +25 -0
- package/SIGNATURE +6 -6
- package/dist/desktop.mjs +51 -50
- package/manifest.json +1 -1
- package/package.json +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# 更新日志
|
|
2
2
|
|
|
3
|
+
## 0.10.4 — 2026-11-11
|
|
4
|
+
|
|
5
|
+
- 云端文件下载等待本机写入期间,如果同步目录的磁盘挂载或目录本身发生变化,会暂停这一轮并保留原文件与同步记录,避免写入错误目录或随后误删云端文件。
|
|
6
|
+
- 快速切换账号或登出后重新登录时,迟到的旧同步任务不会再切走当前目录或干扰新会话;已有笔记和各账号的同步记录继续保留。
|
|
7
|
+
|
|
8
|
+
- If a sync folder's mount or directory changes while a cloud download is waiting for a local write, that round now pauses and retains the original files and sync records, preventing writes to the wrong folder or later cloud deletions.
|
|
9
|
+
- After switching accounts or signing out and back in, an older sync task finishing late no longer switches away from the current folder or interferes with the new session. Existing notes and each account's sync records are retained.
|
|
10
|
+
|
|
11
|
+
## 0.10.3 — 2026-11-11
|
|
12
|
+
|
|
13
|
+
- 修复 macOS 重启或磁盘重新挂载后,同一个同步目录被误判为已替换而停止同步的问题。恢复同步时保留原有文件和同步记录,离线期间的文件改名也能继续沿用原来的同步身份。
|
|
14
|
+
- 目录确实被替换、丢失或无法确认身份时,会继续停下等待核对,避免把目录变化当成文件删除。
|
|
15
|
+
|
|
16
|
+
- Fixed sync stopping after a macOS restart or volume remount because the same folder was mistaken for a replacement. Existing files and sync records are retained, and files renamed while offline keep their sync identity.
|
|
17
|
+
- A replaced, missing or unverified folder still pauses sync for review, preventing folder changes from being treated as file deletions.
|
|
18
|
+
|
|
3
19
|
## 0.10.2 — 2026-11-09
|
|
4
20
|
|
|
5
21
|
- 网页版和手机 App 现在也能提交反馈:网页版点左侧栏下方的「反馈」,手机点右上角「⋯」里的「反馈」;也可以在命令面板里搜「反馈」,或在输入框里输入 /feedback(后面可以直接跟上要说的话)。写下遇到的问题或建议,可以选择附带诊断信息,提交后会给出反馈编号。需要 Forsion 2.14.0 之后的版本,网页版和手机 App 更新后才会出现;旧版本上没有变化。
|
package/README.md
CHANGED
|
@@ -111,3 +111,28 @@ Amadeus downloads and merges commit through `CoreHost.compareAndReplace`. The de
|
|
|
111
111
|
REST requests and SSE reconnects read current credentials for the same account. An old-token 401 can retry once after its complete body arrives if credentials have refreshed; account changes and sign-out reject the old session. Pending node identities are journaled before creation. Cancellation applies only to this device's unpopulated nodes; content uploaded before a lost response is downloaded and preserved.
|
|
112
112
|
|
|
113
113
|
验证 / Validation: `npx vitest run test/vitest/engine.localCas.test.ts test/vitest/tokenRefresh.test.ts test/vitest/contentSync.test.ts`; `npm run typecheck`; `npm run check:core`. These tests use real temporary files and controlled local/fixture transports, without production accounts or storage.
|
|
114
|
+
|
|
115
|
+
### macOS sync root identity after a reboot
|
|
116
|
+
|
|
117
|
+
Local APFS roots retain their volume UUID, inode and available birth time across
|
|
118
|
+
restarts; in-process writes still check the current mount device and inode.
|
|
119
|
+
Legacy shadows whose device number already changed cannot be silently rebound.
|
|
120
|
+
Do not delete their files, cursor, pending deletion or move baselines.
|
|
121
|
+
|
|
122
|
+
`npm run sync:root:inspect -- /absolute/path/to/amadeus-sync-ACCOUNT.json` is a
|
|
123
|
+
read-only inspection. If the owner confirms this is the intended original
|
|
124
|
+
directory, quit Forsion completely and repeat with `--confirm INSPECTION_TOKEN`.
|
|
125
|
+
The offline command checks the current root and exact shadow again, creates an
|
|
126
|
+
exact backup, then changes only root identity. Install the fixed Extend build
|
|
127
|
+
before restarting; older builds still compare device numbers after future reboots.
|
|
128
|
+
Unknown/network filesystems without a durable volume ID keep the strict mount
|
|
129
|
+
check. Regression: `npx vitest run test/vitest/directoryIdentity.test.ts
|
|
130
|
+
test/vitest/amadeusLifecycle.saturation.test.ts test/vitest/contentSync.test.ts
|
|
131
|
+
test/vitest/rebindSyncRoot.test.ts`.
|
|
132
|
+
|
|
133
|
+
Local reboot/remount/account regressions: `npm run test:sync-lifecycle` runs with
|
|
134
|
+
an isolated temporary home and a loopback-only network guard. It includes fresh
|
|
135
|
+
Node processes, abrupt child termination after a synthetic cloud commit, changed
|
|
136
|
+
mount identities, delayed writes and account transitions. All notes, accounts,
|
|
137
|
+
shadows and cloud responses are fixtures; no production account, user vault,
|
|
138
|
+
installed Electron window or real disk unmount is used.
|
package/SIGNATURE
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"alg": "ed25519",
|
|
3
3
|
"files": {
|
|
4
|
-
"CHANGELOG.md": "
|
|
4
|
+
"CHANGELOG.md": "e1950ef4473f498f45a9ec6752c519a5b7336e7b7e495af467e8bfeda285b259",
|
|
5
5
|
"LICENSE": "5594544ee08011ed5785ee26410f1f2ef005f66e9283833e8d435e34c10de1ed",
|
|
6
|
-
"README.md": "
|
|
6
|
+
"README.md": "238c9d0cec68557b4f4109154d8946d87ff3f980ff3711fcdd1380ed605ab7b8",
|
|
7
7
|
"dist/THIRD_PARTY_NOTICES.md": "0af426bcae1e6cd82d3f6255768ac232eea116c7079706ae237d2f1f494531b4",
|
|
8
|
-
"dist/desktop.mjs": "
|
|
8
|
+
"dist/desktop.mjs": "d5869bd2978ece723bb796f8bc6482bb443a92a87f3c2cdf86d4fc7ec397031b",
|
|
9
9
|
"dist/main.js": "a89e4bdd44477dbd5e36559616dbd1d39f8c1d8f8c42eb251a95f0e6b2229481",
|
|
10
|
-
"manifest.json": "
|
|
11
|
-
"package.json": "
|
|
10
|
+
"manifest.json": "f7aed68ef3d81924cf4a530900bc1a0b689159e4108615870c424048e573099e",
|
|
11
|
+
"package.json": "5ea6279c2822ad4045ffc0faf69fb5a7881efdaab855cc14188a4ed0ac2e90ba",
|
|
12
12
|
"spaces/guide/space.json": "7da9fb9373278e9e1f75c65f697a21f25b0b45792def0ce94ed5e7f6473979b1",
|
|
13
13
|
"spaces/penzor/icon.svg": "3c212d9f121ae54a0a84042c19ff5573e22cb236718ae4de11fc3c19f0c3b634",
|
|
14
14
|
"spaces/penzor/space.json": "a3b6c4d86c54dca38b24d3efe352fed860ce7accc934f9f160600ff65ed4f0e6",
|
|
@@ -16,5 +16,5 @@
|
|
|
16
16
|
"tangu-plugins/store-update/tangu-plugin.json": "a99e71329e705793eec46d9e8d4b790017136c328f670161cd4d57e49ee4dd0a",
|
|
17
17
|
"widgets/sync/manifest.json": "98c3165cb6c523223565283ba35d1069536181adc0a29f764a932ef543df677e"
|
|
18
18
|
},
|
|
19
|
-
"sig": "+
|
|
19
|
+
"sig": "OPVVXUns6C3+MTTxTgMwAIAY4iC33q+cP75HPAcIXI27CuhT4xTkET59ncd9jjY2KRYZUkBFb8EQmE/TRZyyDA=="
|
|
20
20
|
}
|