dsh-workspace-mover 2.4.0 → 2.4.1
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 +6 -0
- package/README.md +13 -6
- package/README_EN.md +12 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# dsh-workspace-mover
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
当前版本:2.4.
|
|
4
|
+
当前版本:2.4.1。[Desktop 验收记录](docs/compatibility/issue-5-desktop-acceptance-2026-10-22.md)。
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
v2.4.0 会将运行中或仍驻留内存的会话加入持久化等待队列。DSH 暂无安全的写入句柄重绑定接口,因此需等会话卸载或重启后才会迁移,单纯变为空闲不足以释放句柄。迁移会把会话当前工作目录同步到目标工作区,保留已有目录变更历史,并在需要时追加目标目录记录。详见[Desktop 验收记录](docs/compatibility/issue-5-desktop-acceptance-2026-10-22.md)和[验证记录与检验方法](docs/compatibility/dsh-0.2.1-rc.2-2026-10-18.md)。
|
|
7
7
|
> [!IMPORTANT]
|
|
8
8
|
> 非官方项目,由社区成员独立开发和维护。
|
|
9
9
|
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
<p style="font-size: 0; line-height: 1;">
|
|
14
14
|
<a href="https://github.com/PianoPrince/dsh-workspace-mover/actions/workflows/test.yml"><img alt="CI" src="https://github.com/PianoPrince/dsh-workspace-mover/actions/workflows/test.yml/badge.svg" style="height:20px; margin:0 2px;" /></a>
|
|
15
15
|
<a href="https://www.npmjs.com/package/dsh-workspace-mover"><img alt="npm version" src="https://img.shields.io/npm/v/dsh-workspace-mover" style="height:20px; margin:0 2px;" /></a>
|
|
16
|
-
<a href="https://www.npmjs.com/package/dsh-workspace-mover"><img alt="npm
|
|
17
|
-
<img alt="plugin version" src="https://img.shields.io/badge/dsh--plugin-2.
|
|
18
|
-
<img alt="DSH tested 0.2.
|
|
16
|
+
<a href="https://www.npmjs.com/package/dsh-workspace-mover"><img alt="npm 最近 30 天下载量" src="https://img.shields.io/npm/dm/dsh-workspace-mover" style="height:20px; margin:0 2px;" /></a>
|
|
17
|
+
<img alt="plugin version" src="https://img.shields.io/badge/dsh--plugin-2.4.1-4d6bfe" style="height:20px; margin:0 2px;" />
|
|
18
|
+
<img alt="DSH tested 0.2.1-rc.2" src="https://img.shields.io/badge/DSH_tested-0.2.1--rc.2-4c8dff" style="height:20px; margin:0 2px;" />
|
|
19
19
|
<img alt="Node" src="https://img.shields.io/badge/Node-%E2%89%A522-339933" style="height:20px; margin:0 2px;" />
|
|
20
20
|
</p>
|
|
21
21
|
<p style="font-size: 0; line-height: 1;">
|
|
@@ -244,7 +244,7 @@ dsh plugin --profile web add "link:C:/path/to/dsh-workspace-mover"
|
|
|
244
244
|
|
|
245
245
|
### 会话档案格式验证
|
|
246
246
|
|
|
247
|
-
以下“本地通过”指仓库沙盒 fixture,不代表官方 DSH runtime
|
|
247
|
+
以下“本地通过”指仓库沙盒 fixture,不代表官方 DSH runtime 逐格式实测。2.4.0 已在 Desktop 0.2.1-rc.2 完成排队、重启迁移、继续发送和工作区工具审批验收;下表逐格式的官方 runtime 状态仍待单独验收。自动滚动通过自动 DOM 检查,人工验收已豁免。详见[Desktop 验收记录](docs/compatibility/issue-5-desktop-acceptance-2026-10-22.md)和[格式兼容报告](docs/compatibility/dsh-0.2.0-rc.2-2026-10-13.md)。
|
|
248
248
|
|
|
249
249
|
| 档案布局 | 本地沙盒 | 官方 DSH runtime |
|
|
250
250
|
| --- | --- | --- |
|
|
@@ -313,6 +313,13 @@ dsh plugin --profile web add "link:C:/path/to/dsh-workspace-mover"
|
|
|
313
313
|
|
|
314
314
|
## 🆕 最近版本
|
|
315
315
|
|
|
316
|
+
### v2.4.0 · 2026-10-22
|
|
317
|
+
|
|
318
|
+
- **Issue #5 安全迁移**:运行中或仍驻留内存的会话进入持久化队列;等会话卸载或 DSH 重启、写入句柄关闭后再迁移,并保留工作目录变更历史。
|
|
319
|
+
- **工作区工具**:`mover_create_workspace` 登记已有目录;`mover_rename_workspace` 只修改显示名称,并按宿主权限请求审批。
|
|
320
|
+
- **故障处理与界面清理**:缺失存储根目录视为空列表,权限和 I/O 错误继续明确报告;指针离开侧栏或到达边界、拖动结束或取消、插件卸载时都会停止自动滚动。
|
|
321
|
+
- **验收**:DSH Desktop `0.2.1-rc.2` 的排队、继续发送、两次重启、目标工作目录及工作区工具审批通过;自动滚动仅完成人工豁免后的自动 DOM 检查。详见[Desktop 验收记录](docs/compatibility/issue-5-desktop-acceptance-2026-10-22.md)和[CHANGELOG](CHANGELOG.md)。
|
|
322
|
+
|
|
316
323
|
### v2.3.0 · 2026-10-13
|
|
317
324
|
|
|
318
325
|
- **恢复快照复用**:会话内容相同时复用已有快照,忽略迁移产生的 `cwd` 变化;内容发生变化才新增备份。每次迁移仍记录来源、目标及快照引用,默认保留最多 20 个物理快照,兼容旧备份。
|
package/README_EN.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# dsh-workspace-mover
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
Current version: 2.4.1. In v2.4.0, running or resident sessions wait in the durable queue. Idle alone does not release a backend writer; unload the session or restart DSH before migration. Migration sets the current working directory to the target workspace, preserving existing directory-change events and appending a final change when needed. See the [Desktop acceptance record](docs/compatibility/issue-5-desktop-acceptance-2026-10-22.md) and [validation record](docs/compatibility/dsh-0.2.1-rc.2-2026-10-18.md).
|
|
5
5
|
> [!IMPORTANT]
|
|
6
6
|
> Unofficial project, independently developed and maintained by community members.
|
|
7
7
|
|
|
@@ -12,9 +12,9 @@ Running or resident sessions wait in the durable queue. Idle alone does not rele
|
|
|
12
12
|
<p style="font-size: 0; line-height: 1;">
|
|
13
13
|
<a href="https://github.com/PianoPrince/dsh-workspace-mover/actions/workflows/test.yml"><img alt="CI" src="https://github.com/PianoPrince/dsh-workspace-mover/actions/workflows/test.yml/badge.svg" style="height:20px; margin:0 2px;" /></a>
|
|
14
14
|
<a href="https://www.npmjs.com/package/dsh-workspace-mover"><img alt="npm version" src="https://img.shields.io/npm/v/dsh-workspace-mover" style="height:20px; margin:0 2px;" /></a>
|
|
15
|
-
<a href="https://www.npmjs.com/package/dsh-workspace-mover"><img alt="npm
|
|
16
|
-
<img alt="plugin version" src="https://img.shields.io/badge/dsh--plugin-2.
|
|
17
|
-
<img alt="DSH tested 0.2.
|
|
15
|
+
<a href="https://www.npmjs.com/package/dsh-workspace-mover"><img alt="npm downloads in the last 30 days" src="https://img.shields.io/npm/dm/dsh-workspace-mover" style="height:20px; margin:0 2px;" /></a>
|
|
16
|
+
<img alt="plugin version" src="https://img.shields.io/badge/dsh--plugin-2.4.1-4d6bfe" style="height:20px; margin:0 2px;" />
|
|
17
|
+
<img alt="DSH tested 0.2.1-rc.2" src="https://img.shields.io/badge/DSH_tested-0.2.1--rc.2-4c8dff" style="height:20px; margin:0 2px;" />
|
|
18
18
|
<img alt="Node" src="https://img.shields.io/badge/Node-%E2%89%A522-339933" style="height:20px; margin:0 2px;" />
|
|
19
19
|
</p>
|
|
20
20
|
<p style="font-size: 0; line-height: 1;">
|
|
@@ -245,7 +245,7 @@ Recovery snapshots are separate from primary archives. A reused snapshot retains
|
|
|
245
245
|
|
|
246
246
|
### Session archive format validation
|
|
247
247
|
|
|
248
|
-
“Local pass” below means repository sandbox fixtures, not an official DSH runtime test. Desktop
|
|
248
|
+
“Local pass” below means repository sandbox fixtures, not an official DSH runtime test for each archive format. The v2.4.0 Desktop 0.2.1-rc.2 acceptance passed for queueing, restart migration, continued replies and workspace-tool approvals; the per-format Official DSH runtime cells below remain pending. Autoscroll has automated DOM coverage only; manual acceptance was waived. See the [Desktop acceptance record](docs/compatibility/issue-5-desktop-acceptance-2026-10-22.md) and [format compatibility report](docs/compatibility/dsh-0.2.0-rc.2-2026-10-13.md).
|
|
249
249
|
|
|
250
250
|
| Archive layout | Local sandbox | Official DSH runtime |
|
|
251
251
|
| --- | --- | --- |
|
|
@@ -299,6 +299,13 @@ Every migration runs through the same safety-bounded pipeline: **byte-level back
|
|
|
299
299
|
|
|
300
300
|
## 🆕 Recent version
|
|
301
301
|
|
|
302
|
+
### v2.4.0 · 2026-10-22
|
|
303
|
+
|
|
304
|
+
- **Issue #5 safe migration**: running or resident sessions enter a durable queue; migration waits for unload or restart and writer release, preserving working-directory history.
|
|
305
|
+
- **Workspace tools**: `mover_create_workspace` registers an existing folder; `mover_rename_workspace` changes only its display name and follows host approval rules.
|
|
306
|
+
- **Failure handling and UI cleanup**: a missing storage root is treated as an empty list while permission and I/O errors remain visible; sidebar autoscroll stops when the pointer leaves the sidebar or reaches a scroll boundary, on drag end/cancel, and on unload.
|
|
307
|
+
- **Acceptance**: DSH Desktop `0.2.1-rc.2` passed queueing, continued replies, two restarts, destination working directory and workspace-tool approval checks. Autoscroll received automated DOM checks only; manual acceptance was waived. See the [Desktop acceptance record](docs/compatibility/issue-5-desktop-acceptance-2026-10-22.md) and [CHANGELOG](CHANGELOG.md).
|
|
308
|
+
|
|
302
309
|
### v2.3.0 · 2026-10-13
|
|
303
310
|
|
|
304
311
|
- **Reusable recovery snapshots**: identical content reuses an existing snapshot, ignoring migration-only `cwd` changes. Changed content creates a new backup. Every move retains its source, target, and snapshot reference in history; up to 20 physical snapshots are retained by default, with legacy backups supported.
|