@dsh-electron/dsh-plugin-multi-root-workspace 0.1.3 → 0.1.5

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.en.md CHANGED
@@ -8,7 +8,19 @@ This file records the user-visible changes of every **released** version.
8
8
  - For installation sources, the supported upstream runtimes, and known limitations, see the [README](./README.en.md).
9
9
  - The evidence, numbering, and release state of each version live in the [roadmap progress ledger](./docs/plans/active/2026-09-12-multi-root-workspace.md#进度总账). The body of each GitHub Release is generated from the commit history by `scripts/release-notes.mjs` and is the complete raw list behind this file.
10
10
 
11
- ## [Unreleased]
11
+ ## [0.1.5] - 2026-09-30
12
+
13
+ ### Added
14
+
15
+ - Exact-version support for DSH `0.2.0-rc.1` and `0.2.0-rc.2`, while retaining every previously supported release. CI verifies every release in the compatibility contract across the enabled operating systems.
16
+
17
+ ## [0.1.4] - 2026-09-25
18
+
19
+ With the exact allowlist contract from `v0.1.3` unchanged, the supported upstream runtimes grow to `0.1.7-rc.2`; the reasoning is still [ADR-0009](./docs/decisions/ADR-0009-dsh-compat-contract.md).
20
+
21
+ ### Added
22
+
23
+ - **Support for the upstream runtime `0.1.7-rc.2`**. Relative to `0.1.7-rc.1`, `confine`, instruction rendering, session format 4, the tool-failure bit, panel icons, the current-session catalog, in-process boot, and bash execution keep their shapes, so the adapter layer has no new branch. cordis stays at `~4.0.4`. The install-time peer gate added in `rc.1` still requires this exact release in `peerDependencies`. The development pin remains `0.1.5-rc.2`.
12
24
 
13
25
  ## [0.1.3] - 2026-09-24
14
26
 
@@ -91,7 +103,9 @@ The first release: the three MVP milestones (M1–M3).
91
103
 
92
104
  - All eight findings of the pre-release external review (three of them release-blocking) are fixed, each with a regression test: a registered directory replaced by a symlink transplanting its authority (which introduced `recordedPath` — **re-resolving a path is not re-authorizing it**), concurrent registry mutations losing a write or reviving a revoked grant (per-primary-root mutations are serialized), a refresh not re-checking directories, a typed path being overwritten by the directory picker, the `reveal` response contract and failure code, duplicate ids not validated, the primary root missing from nesting validation, and CI testing before building.
93
105
 
94
- [Unreleased]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.3...HEAD
106
+ [Unreleased]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.5...HEAD
107
+ [0.1.5]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.4...v0.1.5
108
+ [0.1.4]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.3...v0.1.4
95
109
  [0.1.3]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.2...v0.1.3
96
110
  [0.1.2]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.1...v0.1.2
97
111
  [0.1.1]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.0...v0.1.1
package/CHANGELOG.md CHANGED
@@ -8,7 +8,19 @@ English: [CHANGELOG.en.md](./CHANGELOG.en.md)
8
8
  - 安装方式、受支持的上游运行时与已知限制见 [README](./README.md)。
9
9
  - 每个版本的实施证据、编号口径与发布状态见[路线图 §进度总账](./docs/plans/active/2026-09-12-multi-root-workspace.md#进度总账);GitHub Release 的正文由 `scripts/release-notes.mjs` 从 commit 历史生成,是本文件之外的完整原始清单。
10
10
 
11
- ## [Unreleased]
11
+ ## [0.1.5] - 2026-09-30
12
+
13
+ ### Added
14
+
15
+ - 精确支持 DSH `0.2.0-rc.1` 与 `0.2.0-rc.2`,保留此前全部支持版本。CI 会在所有启用的操作系统上验证兼容合同中的每个版本。
16
+
17
+ ## [0.1.4] - 2026-09-25
18
+
19
+ 在 `v0.1.3` 的精确 allowlist 契约不变的前提下,把受支持的上游运行时扩展到 `0.1.7-rc.2`;设计取舍仍见 [ADR-0009](./docs/decisions/ADR-0009-dsh-compat-contract.md)。
20
+
21
+ ### Added
22
+
23
+ - **支持上游运行时 `0.1.7-rc.2`**。相对 `0.1.7-rc.1`,`confine`、指令渲染、session format 4、工具失败位、面板图标、当前会话目录、进程内启动和 bash 执行的形状都没变,适配层没有新分支。cordis 仍是 `~4.0.4`。`rc.1` 起的安装期 peer 门禁仍然要求这个精确版本出现在 `peerDependencies` 里。开发 pin 仍是 `0.1.5-rc.2`。
12
24
 
13
25
  ## [0.1.3] - 2026-09-24
14
26
 
@@ -91,7 +103,9 @@ English: [CHANGELOG.en.md](./CHANGELOG.en.md)
91
103
 
92
104
  - 发布前外部评审提出的 8 项发现(其中 3 项发布阻断)全部修复,每项各带一个回归测试:登记目录被替换为符号链接后授权转移(引入 `recordedPath`,**重新解析路径不等于重新授权**)、并发修改注册表丢写或复活已撤销的授权(每个主根的变更串行)、刷新不重新检查目录、手输路径被目录选择器覆盖、`reveal` 的应答契约与失败码、重复 id 未校验、主根未纳入嵌套校验、CI 先测后构建。
93
105
 
94
- [Unreleased]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.3...HEAD
106
+ [Unreleased]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.5...HEAD
107
+ [0.1.5]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.4...v0.1.5
108
+ [0.1.4]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.3...v0.1.4
95
109
  [0.1.3]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.2...v0.1.3
96
110
  [0.1.2]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.1...v0.1.2
97
111
  [0.1.1]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.0...v0.1.1
package/README.en.md CHANGED
@@ -22,6 +22,10 @@ Three things make this plugin worth looking at:
22
22
 
23
23
  **Done and released: `v0.1.3`** — with the `v0.1.2` contract unchanged, the supported upstream runtimes grow to `0.1.7-alpha.2` and `0.1.7-rc.1` (same shapes as `0.1.7-alpha.1`, no new adapter branch; from `rc.1`, install time enforces an exact `peerDependencies` match against the host runtime). See the [CHANGELOG](./CHANGELOG.en.md).
24
24
 
25
+ **Done and released: `v0.1.4`** — with the `v0.1.3` contract unchanged, the supported upstream runtimes grow to `0.1.7-rc.2` (same shapes as `0.1.7-rc.1`, no new adapter branch; cordis stays at `~4.0.4`). See the [CHANGELOG](./CHANGELOG.en.md).
26
+
27
+ **The `v0.1.5` release preparation is complete; the tag is pending**: support now includes DSH `0.2.0-rc.1` and `0.2.0-rc.2`, with a cross-operating-system CI matrix for every supported release. Risk analysis and verification evidence live in the [roadmap compatibility record](./docs/plans/active/2026-09-12-multi-root-workspace.md#dsh-02-兼容提升2026-09-30).
28
+
25
29
  The single source of truth for progress, numbering, and release state is the [roadmap progress ledger](./docs/plans/active/2026-09-12-multi-root-workspace.md#进度总账) (M1–M4 are the MVP milestone numbers, H1–H4 are the `v0.1.1` batch numbers, and H1 is M4); per-item evidence lives in the [completed plans](./docs/plans/README.md), and the user-visible changes of each version are in the [CHANGELOG](./CHANGELOG.en.md).
26
30
 
27
31
  ## Quick Start
@@ -43,9 +47,9 @@ The agent can now read, write, and run bash in that directory, with the same rig
43
47
 
44
48
  ## Requirements
45
49
 
46
- - **Using the published plugin**: you need a *supported* DSH runtime — currently **`0.1.5-rc.2`, `0.1.6-alpha.1`, `0.1.6-alpha.2`, `0.1.7-alpha.1`, `0.1.7-alpha.2`, and `0.1.7-rc.1`**, and nothing else will install or run (see below). `dsh plugin` installs the package into the matching profile, and no local Node toolchain is required
50
+ - **Using a plugin built from this checkout**: you need a *supported* DSH runtime — currently **`0.1.5-rc.2`, `0.1.6-alpha.1`, `0.1.6-alpha.2`, `0.1.7-alpha.1`, `0.1.7-alpha.2`, `0.1.7-rc.1`, `0.1.7-rc.2`, `0.2.0-rc.1`, and `0.2.0-rc.2`**, and nothing else will install or run (see below). `dsh plugin` installs the package into the matching profile, and no local Node toolchain is required
47
51
  - **Building from source / contributing**: **Node.js** `^22.19.0 || >=24` (pinned by the repository's `engines`), **Git**, and **pnpm 11** (`packageManager` pins `pnpm@11.25.0`; corepack recommended)
48
- - **DSH runtime**: the dev pin is exactly `0.1.5-rc.2`, the baseline among the supported releases; the upgrade procedure lives in the [development workflow](./docs/development/plugin-development-workflow.md)
52
+ - **DSH runtime**: the dev pin is exactly `0.2.0-rc.2`, the baseline among the supported releases; the upgrade procedure lives in the [development workflow](./docs/development/plugin-development-workflow.md)
49
53
  - **Platforms**: kernel-level multi-root is complete on macOS (Seatbelt) and Linux (bwrap or Landlock); on Windows only the `fs` write path covers additional roots (confined bash/PTY does not — see [known limitations](#known-limitations))
50
54
  - Running the smoke tests needs **no model credentials**: the e2e model turns are served by an inline scripted model endpoint
51
55
 
@@ -84,8 +88,8 @@ This installs pre-built artifacts (the plugin itself is never compiled), but the
84
88
  ```sh
85
89
  pnpm pack @dsh-electron/dsh-plugin-multi-root-workspace
86
90
  # or download the tgz from the GitHub Release assets, e.g.:
87
- # https://github.com/cherrchen/dsh-plugin-multi-root-workspace/releases/download/v0.1.3/dsh-electron-dsh-plugin-multi-root-workspace-0.1.3.tgz
88
- dsh plugin --profile web add ./dsh-electron-dsh-plugin-multi-root-workspace-0.1.3.tgz
91
+ # https://github.com/cherrchen/dsh-plugin-multi-root-workspace/releases/download/v0.1.5/dsh-electron-dsh-plugin-multi-root-workspace-0.1.5.tgz
92
+ dsh plugin --profile web add ./dsh-electron-dsh-plugin-multi-root-workspace-0.1.5.tgz
89
93
  ```
90
94
 
91
95
  Also pre-built (the plugin itself is never compiled here), handy for air-gapped or offline delivery — and the first `add` needs the same `allowBuilds` answer.
@@ -104,10 +108,10 @@ allowBuilds:
104
108
  koffi: true
105
109
  ```
106
110
 
107
- Then run `add` again. Pinning a tag (e.g. `#v0.1.3`) is recommended so a later push cannot silently change what actually runs:
111
+ Then run `add` again. Pinning a tag (e.g. `#v0.1.5`) is recommended so a later push cannot silently change what actually runs:
108
112
 
109
113
  ```sh
110
- dsh plugin --profile web add github:cherrchen/dsh-plugin-multi-root-workspace#v0.1.3
114
+ dsh plugin --profile web add github:cherrchen/dsh-plugin-multi-root-workspace#v0.1.5
111
115
  ```
112
116
 
113
117
  ### Install from a local clone (development & debugging)
package/README.md CHANGED
@@ -22,6 +22,10 @@ DSH(DeepSeek Harness)的外部插件 bundle:把 Workspace 的可写范围
22
22
 
23
23
  **已完成并发布:`v0.1.3`**——在 `v0.1.2` 契约不变的前提下,受支持的上游运行时进一步扩展到 `0.1.7-alpha.2` 与 `0.1.7-rc.1`(形状与 `0.1.7-alpha.1` 相同,适配层无新分支;`rc.1` 起安装期按 `peerDependencies` 精确匹配宿主运行时)。详见 [CHANGELOG](./CHANGELOG.md)。
24
24
 
25
+ **已完成并发布:`v0.1.4`**——在 `v0.1.3` 契约不变的前提下,受支持的上游运行时扩展到 `0.1.7-rc.2`(形状与 `0.1.7-rc.1` 相同,适配层无新分支;cordis 仍是 `~4.0.4`)。详见 [CHANGELOG](./CHANGELOG.md)。
26
+
27
+ **`v0.1.5` 发版准备已完成,待打 tag**:支持矩阵延伸到 DSH `0.2.0-rc.1` 与 `0.2.0-rc.2`,并为全部支持版本建立跨操作系统 CI 矩阵;完整风险与验证证据见[路线图兼容提升记录](./docs/plans/active/2026-09-12-multi-root-workspace.md#dsh-02-兼容提升2026-09-30)。
28
+
25
29
  进度、编号与发布状态的唯一真源是[路线图 §进度总账](./docs/plans/active/2026-09-12-multi-root-workspace.md#进度总账)(M1–M4 是 MVP 里程碑编号,H1–H4 是 `v0.1.1` 批次编号,其中 H1 即 M4);逐项证据见各[已完成计划](./docs/plans/README.md),每个版本的用户可见变更见 [CHANGELOG](./CHANGELOG.md)。
26
30
 
27
31
  ## 快速开始
@@ -45,9 +49,9 @@ dsh --profile web
45
49
 
46
50
  ## 环境要求
47
51
 
48
- - **使用已发布的插件**:需要一个受支持的 DSH 运行时 —— 当前是 **`0.1.5-rc.2`、`0.1.6-alpha.1`、`0.1.6-alpha.2`、`0.1.7-alpha.1`、`0.1.7-alpha.2` 与 `0.1.7-rc.1`**,别的版本装不上也不会跑(见下)。`dsh plugin` 会把包装进对应 profile,无需本地 Node 工具链
52
+ - **使用本源码构建的插件**:需要一个受支持的 DSH 运行时 —— 当前是 **`0.1.5-rc.2`、`0.1.6-alpha.1`、`0.1.6-alpha.2`、`0.1.7-alpha.1`、`0.1.7-alpha.2`、`0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1` 与 `0.2.0-rc.2`**,别的版本装不上也不会跑(见下)。`dsh plugin` 会把包装进对应 profile,无需本地 Node 工具链
49
53
  - **从源码构建 / 参与**:**Node.js** `^22.19.0 || >=24`(仓库 `engines` 钉住)、**Git**、**pnpm 11**(`packageManager` 钉 `pnpm@11.25.0`,建议经 corepack 启用)
50
- - **DSH 运行时**:开发依赖精确 pin 在 `0.1.5-rc.2`(受支持版本里的基线);升级流程见[开发工作流](./docs/development/plugin-development-workflow.md)
54
+ - **DSH 运行时**:开发依赖精确 pin 在 `0.2.0-rc.2`(受支持版本里的基线);升级流程见[开发工作流](./docs/development/plugin-development-workflow.md)
51
55
  - **平台支持**:macOS(Seatbelt)与 Linux(bwrap 或 Landlock)内核级多根全量;Windows 仅 `fs` 写路径覆盖附加根(受限 bash/PTY 不含,见[已知限制](#已知限制第一期))
52
56
  - 运行冒烟测试**不需要模型凭据**:e2e 的模型轮次由内联的脚本化模型端点提供
53
57
 
@@ -86,8 +90,8 @@ dsh plugin --profile web add @dsh-electron/dsh-plugin-multi-root-workspace
86
90
  ```sh
87
91
  pnpm pack @dsh-electron/dsh-plugin-multi-root-workspace
88
92
  # 或从 GitHub Release 资产下载,例如:
89
- # https://github.com/cherrchen/dsh-plugin-multi-root-workspace/releases/download/v0.1.3/dsh-electron-dsh-plugin-multi-root-workspace-0.1.3.tgz
90
- dsh plugin --profile web add ./dsh-electron-dsh-plugin-multi-root-workspace-0.1.3.tgz
93
+ # https://github.com/cherrchen/dsh-plugin-multi-root-workspace/releases/download/v0.1.5/dsh-electron-dsh-plugin-multi-root-workspace-0.1.5.tgz
94
+ dsh plugin --profile web add ./dsh-electron-dsh-plugin-multi-root-workspace-0.1.5.tgz
91
95
  ```
92
96
 
93
97
  同样是预构建产物(不需要编译本插件本身),适合内网或离线环境交付;首次 `add` 同样要回答那一次 `allowBuilds`。
@@ -106,10 +110,10 @@ allowBuilds:
106
110
  koffi: true
107
111
  ```
108
112
 
109
- 然后重新执行 `add` 即可。建议锁定 tag(如 `#v0.1.3`),让后续推送无法悄悄改变实际运行的内容:
113
+ 然后重新执行 `add` 即可。建议锁定 tag(如 `#v0.1.5`),让后续推送无法悄悄改变实际运行的内容:
110
114
 
111
115
  ```sh
112
- dsh plugin --profile web add github:cherrchen/dsh-plugin-multi-root-workspace#v0.1.3
116
+ dsh plugin --profile web add github:cherrchen/dsh-plugin-multi-root-workspace#v0.1.5
113
117
  ```
114
118
 
115
119
  ### 从本地源码安装(开发调试)