dsh-plugin-wsl-env 0.26.3-rc.0 → 0.26.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.md CHANGED
@@ -16,6 +16,14 @@ were part of the record.
16
16
 
17
17
  ## [Unreleased]
18
18
 
19
+ ## [0.26.3] - 2026-11-17
20
+
21
+ Promotes 0.26.3-rc.0 after the HMR gate passed: a 0.26.1 profile with a live
22
+ session upgraded through the plugin manager returned `application: applied`
23
+ with no rollback, and after a restart the three takeover services were this
24
+ plugin's classes. No code changes since the release candidate; its notes
25
+ follow.
26
+
19
27
  ## [0.26.3-rc.0] - 2026-11-17
20
28
 
21
29
  First release candidate for 0.26.3: a live enable or HMR upgrade no longer
package/docs/MIGRATION.md CHANGED
@@ -81,7 +81,7 @@ shows the composed value.
81
81
  | `pnpm run test:browser` | the plugin web bundle in headless Chromium (layout, clicks, badge timing); install Chromium once | CI (`browser` job, Ubuntu) and the release `Gates` |
82
82
  | Peer line tested | floor `>=0.2.2-rc.2`; the `peer-canary` workflow resolves `next` and runs the scratch upgrade | CI schedule/manual |
83
83
  | Packed install/upgrade/uninstall + boot | `pnpm run e2e:install` (temp `DSH_HOME`, 0.17.1 → current over the peer raise, marker; newest published stable → current, then a boot-time probe asserts all three takeovers are this plugin's classes; **host-stopped path, not the HMR update**) | manual, this machine (13/13 on 2026-11-17 with the boot leg; the origin moved 0.11.0 → 0.17.1 because dsh 0.2.2-rc.1 rightly rejects the exact-pin era) |
84
- | HMR update path (running profile) | install the previous published version in a temp `DSH_HOME`, start the desktop app with a live session, upgrade to the candidate through the plugin manager; assert `application: applied` and no rollback, and after a restart that `subprocess`/`fs`/`directoryPicker` are served by this plugin's classes (the update itself may land deferred, with `providers.takeover` a warn) | manual, this machine (**not run yet**; the path #39/#12510 escaped through) |
84
+ | HMR update path (running profile) | install the previous published version in a temp `DSH_HOME`, start the host with a live session, upgrade to the candidate through the plugin manager; assert `application: applied` and no rollback, and after a restart that `subprocess`/`fs`/`directoryPicker` are served by this plugin's classes (the update itself may land deferred, with `providers.takeover` a warn) | **passed on 2026-11-17** with a throwaway `DSH_HOME` (web template; HMR and plugin-manager rows present), 0.26.1 from the registry, a live `standard` session, and `updateBundle` to `0.26.3-rc.0`: `application: applied`, `changed: true`, `restore: null`, and after a restart all three services were this plugin's classes. The run used the headless web composition, not the desktop GUI. The same harness with a Git-pinned dependency lost the bundle from `dsh.profile.bundles` (a separate Git-install finding, not the registry path). Record: docs/superpowers/probe-runs/2026-11-17-hmr-gate.md |
85
85
  | Session-scoped sandbox (ADR 0001) | `pnpm run probe:session-sandbox` from a real WSL terminal (systemd user manager; not inside DSH, not in the closed-app suite) | manual; **11 passed / 0 failed / 0 skipped on 2026-11-17** — run in a fresh WSL session (`wsl.exe -d ubuntu --exec`), which sees systemd as PID 1; the probe asserts manager reachability, linger, transient-scope lifetime, `/tmp` sharing and `--unshare-pid` |
86
86
  | Real-machine probe suite | `test/probe/run-all-when-closed.sh --include-fs` (needs the app closed) | manual; 15/15 on 2026-10-31 and again 2026-11-05 (docs/superpowers/probe-runs/); the suite grew to 17 on 2026-11-06 — the first 17-probe run on the same day passed 16 and failed the new `two-distro.sh` on a wrong assertion vehicle (session-scoped `DSH_WSL_DISTRO` is absent on a direct `ctx.shell` seam); after the probe was reworked to per-distro `/tmp` markers it passed alone, giving all 17 probes a pass on this machine (2026-11-06-probe-suite.md); 17/17 again on 2026-11-12 against the rc.2 host; `auto-preset.sh` joined the suite on 2026-11-17 (17 fast probes plus `run.sh`, 18 with `--include-fs`). The first closed-app run was **17/18**: `auto-preset.sh` failed because the `wslfs` probe profile does not compose the plugin bundle, and after that fix it still called `createSession` before auto-preset's `ctx.inject` wrapper had installed. Both causes were probe-side: the probe now layers the package patch, disables the profile's root `wsl-fs`, waits for the auto-preset fiber and the method's identity change, and reports seam/preset diagnostics. The full suite was rerun the same day (2026-11-17 20:16): **18/18, FULL PASS** (docs/superpowers/probe-runs/2026-11-17-partial-probes.md) |
87
87
  | Clean Win11 + Ubuntu first run ≤ 5 min | a clean machine, a stopwatch | **not run** (the project's machine is already configured) |
@@ -69,7 +69,7 @@
69
69
  | `pnpm run test:browser` | 无头 Chromium 中的插件 web bundle(布局、点击、badge 时序);安装一次 Chromium | CI(`browser` job,Ubuntu)与发布的 `Gates` |
70
70
  | peer 版本线受测 | 下限 `>=0.2.2-rc.2`;`peer-canary` 工作流解析 `next` 并运行临时升级 | CI 定时/手动 |
71
71
  | 打包安装/升级/卸载 + 启动 | `pnpm run e2e:install`(临时 `DSH_HOME`,0.17.1 → 当前版本,跨 peer 下限抬升,marker;最新已发布版 → 当前版本后用探针启动,断言三个接管都是本插件的类;**宿主关闭路径,不含 HMR 更新**) | 手动,本机(2026-11-17 含启动 leg 为 13/13;起点从 0.11.0 移至 0.17.1,因为 dsh 0.2.2-rc.1 正确拒绝了精确钉版时期) |
72
- | HMR 更新路径(运行中 profile) | 临时 `DSH_HOME` 安装上一个已发布版本 → 启动桌面应用并保留活动会话 → 经插件管理升级到候选版本;断言 `application: applied`、无回滚,重启后 `subprocess`/`fs`/`directoryPicker` 由本插件的类提供(升级当时可能处于延迟接管,`providers.takeover` 为 warn) | 手动,本机(**尚未运行**;#39/#12510 漏测的正是这条路径) |
72
+ | HMR 更新路径(运行中 profile) | 临时 `DSH_HOME` 安装上一个已发布版本 → 启动 host 并保留活动会话 → 经插件管理升级到候选版本;断言 `application: applied`、无回滚,重启后 `subprocess`/`fs`/`directoryPicker` 由本插件的类提供(升级当时可能处于延迟接管,`providers.takeover` 为 warn) | **2026-11-17 通过**:临时 `DSH_HOME`(web 模板,含 HMR 与 plugin-manager 行)、registry 安装 0.26.1、活动 `standard` 会话,`updateBundle` 到 `0.26.3-rc.0` 得到 `application: applied`、`changed: true`、`restore: null`,重启后三个服务均为本插件的类。本次用 headless web composition,不是桌面 GUI 点击。同一套 harness 换成 Git 固定 commit 依赖后,`dsh.profile.bundles` 丢失 bundle(Git 安装路径的独立问题,不影响 registry 路径)。记录:docs/superpowers/probe-runs/2026-11-17-hmr-gate.md |
73
73
  | 会话级沙箱(ADR 0001) | 在真实 WSL 终端运行 `pnpm run probe:session-sandbox`(systemd user manager;不在 DSH 内,也不在关闭应用套件里) | 手动;**2026-11-17 为 11 passed / 0 failed / 0 skipped**——在全新 WSL 会话(`wsl.exe -d ubuntu --exec`)中运行,systemd 是 PID 1;探针断言 manager 可达性、linger、transient scope 生命周期、`/tmp` 共享与 `--unshare-pid` |
74
74
  | 真机探针套件 | `test/probe/run-all-when-closed.sh --include-fs`(需要应用关闭) | 手动;2026-10-31 与 2026-11-05 均为 15/15(docs/superpowers/probe-runs/);套件在 2026-11-06 增至 17 项——同日首次 17 项运行通过 16 项,新的 `two-distro.sh` 因断言载体错误而失败(会话作用域的 `DSH_WSL_DISTRO` 在直接 `ctx.shell` 接缝上不存在);将探针改为按发行版的 `/tmp` 标记后单独通过,使本机 17 项探针全部通过(2026-11-06-probe-suite.md);2026-11-12 针对 rc.2 宿主再次 17/17;`auto-preset.sh` 于 2026-11-17 加入套件(17 项快速探针,`--include-fs` 时加 `run.sh`,共 18 项)。首次关闭应用的全套结果为 **17/18**:`auto-preset.sh` 失败,原因是 `wslfs` 探针 profile 不组合插件 bundle;修好组合后又发现探针在 auto-preset 的 `ctx.inject` 包装器安装前就调用了 `createSession`。两处都是探针侧问题:探针现在追加包自身的 patch、禁用 profile 的根 `wsl-fs`、等待 auto-preset 行的 fiber 与方法身份变化,并输出 seam/preset 诊断。同日 20:16 重跑整套:**18/18,FULL PASS**(docs/superpowers/probe-runs/2026-11-17-partial-probes.md) |
75
75
  | 干净 Win11 + Ubuntu 首次运行 ≤ 5 分钟 | 干净机器、秒表 | **未运行**(项目机器已配置) |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-plugin-wsl-env",
3
- "version": "0.26.3-rc.0",
3
+ "version": "0.26.3",
4
4
  "description": "在 WSL 的 Linux 实例中打开项目工作区,在对应 Linux 空间中进行命令执行、运行 shell 脚本和文件访问,以获得全套 Linux Shell 工具链收益,并通过 bubblewrap 对命令进行沙箱隔离",
5
5
  "keywords": [
6
6
  "deepseek-harness",