@dsh-electron/dsh-plugin-multi-root-workspace 0.1.3 → 0.1.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.en.md +10 -1
- package/CHANGELOG.md +10 -1
- package/README.en.md +7 -5
- package/README.md +7 -5
- package/lib/client.js.map +1 -1
- package/lib/{compat-DKjbLSi-.js → compat-PNEKXGa6.js} +2 -1
- package/lib/compat.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/compat/client-icons.d.ts +1 -1
- package/lib/types/compat/client-session.d.ts +1 -1
- package/lib/types/compat/dsh-version.d.ts +1 -1
- package/lib/types/compat/tool-result.d.ts +2 -2
- package/package.json +15 -15
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.4] - 2026-09-25
|
|
14
|
+
|
|
15
|
+
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).
|
|
16
|
+
|
|
17
|
+
### Added
|
|
18
|
+
|
|
19
|
+
- **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`.
|
|
20
|
+
|
|
13
21
|
## [0.1.3] - 2026-09-24
|
|
14
22
|
|
|
15
23
|
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).
|
|
@@ -91,7 +99,8 @@ The first release: the three MVP milestones (M1–M3).
|
|
|
91
99
|
|
|
92
100
|
- 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
101
|
|
|
94
|
-
[Unreleased]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.
|
|
102
|
+
[Unreleased]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.4...HEAD
|
|
103
|
+
[0.1.4]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.3...v0.1.4
|
|
95
104
|
[0.1.3]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.2...v0.1.3
|
|
96
105
|
[0.1.2]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.1...v0.1.2
|
|
97
106
|
[0.1.1]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.0...v0.1.1
|
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.4] - 2026-09-25
|
|
14
|
+
|
|
15
|
+
在 `v0.1.3` 的精确 allowlist 契约不变的前提下,把受支持的上游运行时扩展到 `0.1.7-rc.2`;设计取舍仍见 [ADR-0009](./docs/decisions/ADR-0009-dsh-compat-contract.md)。
|
|
16
|
+
|
|
17
|
+
### Added
|
|
18
|
+
|
|
19
|
+
- **支持上游运行时 `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`。
|
|
20
|
+
|
|
13
21
|
## [0.1.3] - 2026-09-24
|
|
14
22
|
|
|
15
23
|
在 `v0.1.2` 的精确 allowlist 契约不变的前提下,把受支持的上游运行时扩展到 `0.1.7-alpha.2` 与 `0.1.7-rc.1`;设计取舍仍见 [ADR-0009](./docs/decisions/ADR-0009-dsh-compat-contract.md)。
|
|
@@ -91,7 +99,8 @@ English: [CHANGELOG.en.md](./CHANGELOG.en.md)
|
|
|
91
99
|
|
|
92
100
|
- 发布前外部评审提出的 8 项发现(其中 3 项发布阻断)全部修复,每项各带一个回归测试:登记目录被替换为符号链接后授权转移(引入 `recordedPath`,**重新解析路径不等于重新授权**)、并发修改注册表丢写或复活已撤销的授权(每个主根的变更串行)、刷新不重新检查目录、手输路径被目录选择器覆盖、`reveal` 的应答契约与失败码、重复 id 未校验、主根未纳入嵌套校验、CI 先测后构建。
|
|
93
101
|
|
|
94
|
-
[Unreleased]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.
|
|
102
|
+
[Unreleased]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.4...HEAD
|
|
103
|
+
[0.1.4]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.3...v0.1.4
|
|
95
104
|
[0.1.3]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.2...v0.1.3
|
|
96
105
|
[0.1.2]: https://github.com/cherrchen/dsh-plugin-multi-root-workspace/compare/v0.1.1...v0.1.2
|
|
97
106
|
[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,8 @@ 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
|
+
|
|
25
27
|
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
28
|
|
|
27
29
|
## Quick Start
|
|
@@ -43,7 +45,7 @@ The agent can now read, write, and run bash in that directory, with the same rig
|
|
|
43
45
|
|
|
44
46
|
## Requirements
|
|
45
47
|
|
|
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.
|
|
48
|
+
- **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`, `0.1.7-rc.1`, and `0.1.7-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
49
|
- **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
50
|
- **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)
|
|
49
51
|
- **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))
|
|
@@ -84,8 +86,8 @@ This installs pre-built artifacts (the plugin itself is never compiled), but the
|
|
|
84
86
|
```sh
|
|
85
87
|
pnpm pack @dsh-electron/dsh-plugin-multi-root-workspace
|
|
86
88
|
# 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.
|
|
88
|
-
dsh plugin --profile web add ./dsh-electron-dsh-plugin-multi-root-workspace-0.1.
|
|
89
|
+
# https://github.com/cherrchen/dsh-plugin-multi-root-workspace/releases/download/v0.1.4/dsh-electron-dsh-plugin-multi-root-workspace-0.1.4.tgz
|
|
90
|
+
dsh plugin --profile web add ./dsh-electron-dsh-plugin-multi-root-workspace-0.1.4.tgz
|
|
89
91
|
```
|
|
90
92
|
|
|
91
93
|
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 +106,10 @@ allowBuilds:
|
|
|
104
106
|
koffi: true
|
|
105
107
|
```
|
|
106
108
|
|
|
107
|
-
Then run `add` again. Pinning a tag (e.g. `#v0.1.
|
|
109
|
+
Then run `add` again. Pinning a tag (e.g. `#v0.1.4`) is recommended so a later push cannot silently change what actually runs:
|
|
108
110
|
|
|
109
111
|
```sh
|
|
110
|
-
dsh plugin --profile web add github:cherrchen/dsh-plugin-multi-root-workspace#v0.1.
|
|
112
|
+
dsh plugin --profile web add github:cherrchen/dsh-plugin-multi-root-workspace#v0.1.4
|
|
111
113
|
```
|
|
112
114
|
|
|
113
115
|
### Install from a local clone (development & debugging)
|
package/README.md
CHANGED
|
@@ -22,6 +22,8 @@ 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
|
+
|
|
25
27
|
进度、编号与发布状态的唯一真源是[路线图 §进度总账](./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
28
|
|
|
27
29
|
## 快速开始
|
|
@@ -45,7 +47,7 @@ dsh --profile web
|
|
|
45
47
|
|
|
46
48
|
## 环境要求
|
|
47
49
|
|
|
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.
|
|
50
|
+
- **使用已发布的插件**:需要一个受支持的 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`**,别的版本装不上也不会跑(见下)。`dsh plugin` 会把包装进对应 profile,无需本地 Node 工具链
|
|
49
51
|
- **从源码构建 / 参与**:**Node.js** `^22.19.0 || >=24`(仓库 `engines` 钉住)、**Git**、**pnpm 11**(`packageManager` 钉 `pnpm@11.25.0`,建议经 corepack 启用)
|
|
50
52
|
- **DSH 运行时**:开发依赖精确 pin 在 `0.1.5-rc.2`(受支持版本里的基线);升级流程见[开发工作流](./docs/development/plugin-development-workflow.md)
|
|
51
53
|
- **平台支持**:macOS(Seatbelt)与 Linux(bwrap 或 Landlock)内核级多根全量;Windows 仅 `fs` 写路径覆盖附加根(受限 bash/PTY 不含,见[已知限制](#已知限制第一期))
|
|
@@ -86,8 +88,8 @@ dsh plugin --profile web add @dsh-electron/dsh-plugin-multi-root-workspace
|
|
|
86
88
|
```sh
|
|
87
89
|
pnpm pack @dsh-electron/dsh-plugin-multi-root-workspace
|
|
88
90
|
# 或从 GitHub Release 资产下载,例如:
|
|
89
|
-
# https://github.com/cherrchen/dsh-plugin-multi-root-workspace/releases/download/v0.1.
|
|
90
|
-
dsh plugin --profile web add ./dsh-electron-dsh-plugin-multi-root-workspace-0.1.
|
|
91
|
+
# https://github.com/cherrchen/dsh-plugin-multi-root-workspace/releases/download/v0.1.4/dsh-electron-dsh-plugin-multi-root-workspace-0.1.4.tgz
|
|
92
|
+
dsh plugin --profile web add ./dsh-electron-dsh-plugin-multi-root-workspace-0.1.4.tgz
|
|
91
93
|
```
|
|
92
94
|
|
|
93
95
|
同样是预构建产物(不需要编译本插件本身),适合内网或离线环境交付;首次 `add` 同样要回答那一次 `allowBuilds`。
|
|
@@ -106,10 +108,10 @@ allowBuilds:
|
|
|
106
108
|
koffi: true
|
|
107
109
|
```
|
|
108
110
|
|
|
109
|
-
然后重新执行 `add` 即可。建议锁定 tag(如 `#v0.1.
|
|
111
|
+
然后重新执行 `add` 即可。建议锁定 tag(如 `#v0.1.4`),让后续推送无法悄悄改变实际运行的内容:
|
|
110
112
|
|
|
111
113
|
```sh
|
|
112
|
-
dsh plugin --profile web add github:cherrchen/dsh-plugin-multi-root-workspace#v0.1.
|
|
114
|
+
dsh plugin --profile web add github:cherrchen/dsh-plugin-multi-root-workspace#v0.1.4
|
|
113
115
|
```
|
|
114
116
|
|
|
115
117
|
### 从本地源码安装(开发调试)
|