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

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
@@ -10,6 +10,14 @@ This file records the user-visible changes of every **released** version.
10
10
 
11
11
  ## [Unreleased]
12
12
 
13
+ ## [0.1.3] - 2026-09-24
14
+
15
+ With the exact allowlist contract from `v0.1.2` unchanged, the supported upstream runtimes grow to `0.1.7-alpha.2` and `0.1.7-rc.1`; the reasoning is still [ADR-0009](./docs/decisions/ADR-0009-dsh-compat-contract.md).
16
+
17
+ ### Added
18
+
19
+ - **Support for the upstream runtimes `0.1.7-alpha.2` and `0.1.7-rc.1`**. Relative to `0.1.7-alpha.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. From `0.1.7-rc.1`, `dsh plugin add` refuses a plugin whose `peerDependencies` do not satisfy the running runtime, which is why both releases have to be on the exact allowlist. The development pin remains `0.1.5-rc.2`.
20
+
13
21
  ## [0.1.2] - 2026-09-22
14
22
 
15
23
  With the exact allowlist contract from `v0.1.1` unchanged, the supported upstream runtimes grow to `0.1.6-alpha.2` and `0.1.7-alpha.1`; the reasoning is still [ADR-0009](./docs/decisions/ADR-0009-dsh-compat-contract.md).
@@ -83,7 +91,8 @@ The first release: the three MVP milestones (M1–M3).
83
91
 
84
92
  - 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.
85
93
 
86
- [Unreleased]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.2...HEAD
94
+ [Unreleased]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.3...HEAD
95
+ [0.1.3]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.2...v0.1.3
87
96
  [0.1.2]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.1...v0.1.2
88
97
  [0.1.1]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.0...v0.1.1
89
98
  [0.1.0]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/releases/tag/v0.1.0
package/CHANGELOG.md CHANGED
@@ -10,6 +10,14 @@ English: [CHANGELOG.en.md](./CHANGELOG.en.md)
10
10
 
11
11
  ## [Unreleased]
12
12
 
13
+ ## [0.1.3] - 2026-09-24
14
+
15
+ 在 `v0.1.2` 的精确 allowlist 契约不变的前提下,把受支持的上游运行时扩展到 `0.1.7-alpha.2` 与 `0.1.7-rc.1`;设计取舍仍见 [ADR-0009](./docs/decisions/ADR-0009-dsh-compat-contract.md)。
16
+
17
+ ### Added
18
+
19
+ - **支持上游运行时 `0.1.7-alpha.2` 与 `0.1.7-rc.1`**。相对 `0.1.7-alpha.1`,`confine`、指令渲染、session format 4、工具失败位、面板图标、当前会话目录、进程内启动和 bash 执行的形状都没变,适配层没有新分支。`0.1.7-rc.1` 起,`dsh plugin add` 会按 `peerDependencies` 拒绝不满足当前运行时的插件,所以这两项必须出现在精确 allowlist 里。开发 pin 仍是 `0.1.5-rc.2`。
20
+
13
21
  ## [0.1.2] - 2026-09-22
14
22
 
15
23
  在 `v0.1.1` 的精确 allowlist 契约不变的前提下,把受支持的上游运行时扩展到 `0.1.6-alpha.2` 与 `0.1.7-alpha.1`;设计取舍仍见 [ADR-0009](./docs/decisions/ADR-0009-dsh-compat-contract.md)。
@@ -83,7 +91,8 @@ English: [CHANGELOG.en.md](./CHANGELOG.en.md)
83
91
 
84
92
  - 发布前外部评审提出的 8 项发现(其中 3 项发布阻断)全部修复,每项各带一个回归测试:登记目录被替换为符号链接后授权转移(引入 `recordedPath`,**重新解析路径不等于重新授权**)、并发修改注册表丢写或复活已撤销的授权(每个主根的变更串行)、刷新不重新检查目录、手输路径被目录选择器覆盖、`reveal` 的应答契约与失败码、重复 id 未校验、主根未纳入嵌套校验、CI 先测后构建。
85
93
 
86
- [Unreleased]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.2...HEAD
94
+ [Unreleased]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.3...HEAD
95
+ [0.1.3]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.2...v0.1.3
87
96
  [0.1.2]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.1...v0.1.2
88
97
  [0.1.1]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.0...v0.1.1
89
98
  [0.1.0]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/releases/tag/v0.1.0
package/README.en.md CHANGED
@@ -20,6 +20,8 @@ Three things make this plugin worth looking at:
20
20
 
21
21
  **Done and released: `v0.1.2`** — with the `v0.1.1` contract unchanged, the supported upstream runtimes grow to `0.1.6-alpha.2` and `0.1.7-alpha.1` (the latter needs adapters for session format 4, in-process `PluginPackages`, bash `execute().result()`, and more); it also fixes the Workspace Folders panel on `0.1.6-alpha.2`, where dropping `current` from the Session catalog wrongly showed "No active session". See the [CHANGELOG](./CHANGELOG.en.md).
22
22
 
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
+
23
25
  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).
24
26
 
25
27
  ## Quick Start
@@ -41,7 +43,7 @@ The agent can now read, write, and run bash in that directory, with the same rig
41
43
 
42
44
  ## Requirements
43
45
 
44
- - **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`, and `0.1.7-alpha.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
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
45
47
  - **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)
46
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)
47
49
  - **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))
@@ -82,8 +84,8 @@ This installs pre-built artifacts (the plugin itself is never compiled), but the
82
84
  ```sh
83
85
  pnpm pack @dsh-electron/dsh-plugin-multi-root-workspace
84
86
  # or download the tgz from the GitHub Release assets, e.g.:
85
- # https://github.com/cherrchen/dsh-plugin-multi-root-workspace/releases/download/v0.1.2/dsh-electron-dsh-plugin-multi-root-workspace-0.1.2.tgz
86
- dsh plugin --profile web add ./dsh-electron-dsh-plugin-multi-root-workspace-0.1.2.tgz
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
87
89
  ```
88
90
 
89
91
  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.
@@ -102,10 +104,10 @@ allowBuilds:
102
104
  koffi: true
103
105
  ```
104
106
 
105
- Then run `add` again. Pinning a tag (e.g. `#v0.1.2`) is recommended so a later push cannot silently change what actually runs:
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:
106
108
 
107
109
  ```sh
108
- dsh plugin --profile web add github:cherrchen/dsh-plugin-multi-root-workspace#v0.1.2
110
+ dsh plugin --profile web add github:cherrchen/dsh-plugin-multi-root-workspace#v0.1.3
109
111
  ```
110
112
 
111
113
  ### Install from a local clone (development & debugging)
package/README.md CHANGED
@@ -20,6 +20,8 @@ DSH(DeepSeek Harness)的外部插件 bundle:把 Workspace 的可写范围
20
20
 
21
21
  **已完成并发布:`v0.1.2`**——在 `v0.1.1` 契约不变的前提下,受支持的上游运行时扩展到 `0.1.6-alpha.2` 与 `0.1.7-alpha.1`(后者含 session format 4、进程内 `PluginPackages`、bash `execute().result()` 等适配);并修复 `0.1.6-alpha.2` 上 Workspace Folders 面板因 Session 目录删掉 `current` 而误显示「没有活动会话」的问题。详见 [CHANGELOG](./CHANGELOG.md)。
22
22
 
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
+
23
25
  进度、编号与发布状态的唯一真源是[路线图 §进度总账](./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)。
24
26
 
25
27
  ## 快速开始
@@ -43,7 +45,7 @@ dsh --profile web
43
45
 
44
46
  ## 环境要求
45
47
 
46
- - **使用已发布的插件**:需要一个受支持的 DSH 运行时 —— 当前是 **`0.1.5-rc.2`、`0.1.6-alpha.1`、`0.1.6-alpha.2` 与 `0.1.7-alpha.1`**,别的版本装不上也不会跑(见下)。`dsh plugin` 会把包装进对应 profile,无需本地 Node 工具链
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 工具链
47
49
  - **从源码构建 / 参与**:**Node.js** `^22.19.0 || >=24`(仓库 `engines` 钉住)、**Git**、**pnpm 11**(`packageManager` 钉 `pnpm@11.25.0`,建议经 corepack 启用)
48
50
  - **DSH 运行时**:开发依赖精确 pin 在 `0.1.5-rc.2`(受支持版本里的基线);升级流程见[开发工作流](./docs/development/plugin-development-workflow.md)
49
51
  - **平台支持**:macOS(Seatbelt)与 Linux(bwrap 或 Landlock)内核级多根全量;Windows 仅 `fs` 写路径覆盖附加根(受限 bash/PTY 不含,见[已知限制](#已知限制第一期))
@@ -84,8 +86,8 @@ dsh plugin --profile web add @dsh-electron/dsh-plugin-multi-root-workspace
84
86
  ```sh
85
87
  pnpm pack @dsh-electron/dsh-plugin-multi-root-workspace
86
88
  # 或从 GitHub Release 资产下载,例如:
87
- # https://github.com/cherrchen/dsh-plugin-multi-root-workspace/releases/download/v0.1.2/dsh-electron-dsh-plugin-multi-root-workspace-0.1.2.tgz
88
- dsh plugin --profile web add ./dsh-electron-dsh-plugin-multi-root-workspace-0.1.2.tgz
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
89
91
  ```
90
92
 
91
93
  同样是预构建产物(不需要编译本插件本身),适合内网或离线环境交付;首次 `add` 同样要回答那一次 `allowBuilds`。
@@ -104,10 +106,10 @@ allowBuilds:
104
106
  koffi: true
105
107
  ```
106
108
 
107
- 然后重新执行 `add` 即可。建议锁定 tag(如 `#v0.1.2`),让后续推送无法悄悄改变实际运行的内容:
109
+ 然后重新执行 `add` 即可。建议锁定 tag(如 `#v0.1.3`),让后续推送无法悄悄改变实际运行的内容:
108
110
 
109
111
  ```sh
110
- dsh plugin --profile web add github:cherrchen/dsh-plugin-multi-root-workspace#v0.1.2
112
+ dsh plugin --profile web add github:cherrchen/dsh-plugin-multi-root-workspace#v0.1.3
111
113
  ```
112
114
 
113
115
  ### 从本地源码安装(开发调试)