dsh-plugin-wsl-env 0.27.0 → 0.29.0
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 +75 -0
- package/CONTRIBUTING.md +48 -23
- package/CONTRIBUTING.zh.md +23 -7
- package/client.js +91 -55
- package/docs/API.md +1 -1
- package/docs/API.zh.md +1 -1
- package/docs/ARCHITECTURE.md +10 -6
- package/docs/ARCHITECTURE.zh.md +7 -5
- package/docs/CONFIGURATION.md +9 -8
- package/docs/CONFIGURATION.zh.md +7 -6
- package/docs/DIAGNOSTICS.md +14 -14
- package/docs/DIAGNOSTICS.zh.md +11 -10
- package/docs/LIMITATIONS.md +5 -4
- package/docs/LIMITATIONS.zh.md +2 -2
- package/docs/MIGRATION.md +1 -1
- package/docs/MIGRATION.zh.md +1 -1
- package/docs/QUICKSTART.md +20 -14
- package/docs/QUICKSTART.zh.md +12 -10
- package/docs/RELEASING.md +87 -26
- package/docs/RELEASING.zh.md +35 -0
- package/docs/REQUIREMENTS.zh.md +0 -1
- package/docs/ROADMAP-1.0.md +7 -7
- package/docs/VALUE.md +6 -3
- package/docs/VALUE.zh.md +6 -3
- package/docs/root-fs-routing.md +2 -2
- package/lib/status.d.ts +7 -4
- package/lib/status.js +22 -15
- package/package.json +7 -5
package/docs/ROADMAP-1.0.md
CHANGED
|
@@ -43,7 +43,7 @@ North-star metrics:
|
|
|
43
43
|
|---|---|
|
|
44
44
|
| Tier 1 first-run success | >= 95% |
|
|
45
45
|
| Time to first successful WSL command | p50 <= 5 min, p90 <= 15 min |
|
|
46
|
-
| Real-machine probe suite | 100% on Tier 1 before release (
|
|
46
|
+
| Real-machine probe suite | 100% on Tier 1 before release (local and hosted closed-app suite) |
|
|
47
47
|
| Known documentation drift | 0 |
|
|
48
48
|
|
|
49
49
|
## 2. The 0.15.0 baseline
|
|
@@ -170,7 +170,7 @@ may move if the compatibility matrix exposes a higher-severity failure.
|
|
|
170
170
|
|---|---|---|---|
|
|
171
171
|
| Time to first command | Not systematically measured | p50 <= 5 min, p90 <= 15 min | Ten clean-machine runs |
|
|
172
172
|
| Tier 1 first-run success | Not measured | >= 95% | Compatibility matrix |
|
|
173
|
-
| Real-machine probes | Full `--include-fs` suite
|
|
173
|
+
| Real-machine probes | Full `--include-fs` suite is configured in `.github/workflows/cloud-wsl-gate.yml` on GitHub-hosted `windows-latest` after the app closes; the suite can also run locally. Hosted status requires real artifacts, not a YAML-regex pass | 100% green before release | Hosted Cloud WSL Gate artifacts; local closed-app suite output |
|
|
174
174
|
| FS single-op p95 | ~22ms host round trip | <= 30ms | `fs-queue.mjs` |
|
|
175
175
|
| 16 concurrent reads p95 | 2.4-8.2ms | <= 20ms | `fs-queue.mjs` |
|
|
176
176
|
| GUI preview p95 | Backend 63.5 ms/MiB (service round trips on top) | <= 1s/MiB | `probe:gui-preview` |
|
|
@@ -189,7 +189,7 @@ probe reports.
|
|
|
189
189
|
| Upstream never lands a seam | Keep the plugin independent; promotion work is packaging and proof, not a dependency |
|
|
190
190
|
| Multi-distro refactor destabilizes routing | Introduce `distro: auto` behind tests; keep explicit pins; run two-distro probes before release |
|
|
191
191
|
| `sessionSandbox: auto` hides a semantic change | Still use bwrap; report the scope mode in the result; explicit `true` keeps the strict behavior |
|
|
192
|
-
|
|
|
192
|
+
| Hosted probe evidence is stale or incomplete | Fail the Gate on FAIL, SKIP, or NOT RUN; upload logs and reports even on failure; rerun locally when diagnosing runner-specific drift |
|
|
193
193
|
| Solo maintenance and bus factor | Freeze scope for 1.0; document every seam; keep the issue templates and probes current |
|
|
194
194
|
| Security overclaim | Keep `enforcement: partial`; the strict preset narrows, never closes, the interop hole |
|
|
195
195
|
| GUI regression repeats | Never replace the shipped `workspace-files` row again; only route and optimize |
|
|
@@ -467,10 +467,10 @@ but never executed.
|
|
|
467
467
|
evidence (COMPATIBILITY.md). Physical aarch64 and Windows 10 are
|
|
468
468
|
documented as out of scope rather than untested claims.
|
|
469
469
|
|
|
470
|
-
**Tests/probes:** container matrix, qemu spike, COMPATIBILITY.md; the
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
closed-app
|
|
470
|
+
**Tests/probes:** container matrix, qemu spike, COMPATIBILITY.md; the
|
|
471
|
+
Cloud WSL Gate is GitHub-hosted `windows-latest` and provisions Ubuntu plus
|
|
472
|
+
a second probe distro, then runs the 19-entry closed-app suite after Desktop
|
|
473
|
+
exits. Local closed-app output remains available for diagnosis.
|
|
474
474
|
|
|
475
475
|
**Depends on:** WSL-201 for non-systemd; WSL-203 for packaging.
|
|
476
476
|
|
package/docs/VALUE.md
CHANGED
|
@@ -138,12 +138,15 @@ These are not a "will be fixed later" list but design boundaries: each one state
|
|
|
138
138
|
|---|---|
|
|
139
139
|
| Every commit | `pnpm test`: style, relative links, requirement references, documentation consistency, syntax, byte-for-byte build consistency, `tsc --noEmit`, all unit tests pass |
|
|
140
140
|
| Coverage | `pnpm run test:coverage`, thresholds 85/84/70 (lines/branches/functions) |
|
|
141
|
-
| Real machine |
|
|
142
|
-
| CI | Node 22 / 24 × Linux / Windows run `pnpm test`; coverage on Node 24 |
|
|
141
|
+
| Real machine | Local or GitHub-hosted probe suite (`test/probe/run-all-when-closed.sh --include-fs`), including sandbox boundaries, agent/one-shot parity, the filesystem substrate, Terminal, Picker, multiple distros, and session runtime |
|
|
142
|
+
| CI | Node 22 / 24 × Linux / Windows run `pnpm test`; coverage on Node 24; Cloud WSL Gate runs the 19-entry closed-app suite on hosted `windows-latest` |
|
|
143
143
|
| Upstream seams | peer pins compared byte for byte, [PEER-PARITY.md](PEER-PARITY.md), [upstream/promotion-map.md](https://github.com/Big-Dao/dsh-plugin-wsl-env/blob/main/docs/upstream/promotion-map.md) |
|
|
144
144
|
| Behavior commitments | 28 registered requirements (R1–R28) and the traceability matrix in [REQUIREMENTS.zh.md](REQUIREMENTS.zh.md) |
|
|
145
145
|
|
|
146
|
-
The
|
|
146
|
+
The GitHub-hosted `windows-latest` gate implements the closed-suite entry in
|
|
147
|
+
`.github/workflows/cloud-wsl-gate.yml`. A hosted run has real-machine evidence only
|
|
148
|
+
after it uploads the complete log and results, every entry is PASS, and no entry is
|
|
149
|
+
SKIP or NOT RUN.
|
|
147
150
|
|
|
148
151
|
## 6. Decision rules
|
|
149
152
|
|
package/docs/VALUE.zh.md
CHANGED
|
@@ -138,12 +138,15 @@ Remote-SSH 也能在 Windows 上连 WSL 发行版(VS Code 连本机 WSL 更常
|
|
|
138
138
|
|---|---|
|
|
139
139
|
| 每次提交 | `pnpm test`:风格、相对链接、需求引用、文档一致性、语法、构建逐字节一致、`tsc --noEmit`、单测全过 |
|
|
140
140
|
| 覆盖率 | `pnpm run test:coverage`,门限 85/84/70(行/分支/函数) |
|
|
141
|
-
| 真机 |
|
|
142
|
-
| CI | Node 22 / 24 × Linux / Windows
|
|
141
|
+
| 真机 | 本机或 GitHub 托管的闭合探针套件(`test/probe/run-all-when-closed.sh --include-fs`),含沙箱边界、agent/one-shot 对拍、文件基座、Terminal、Picker、多发行版和 session runtime |
|
|
142
|
+
| CI | Node 22 / 24 × Linux / Windows跑 `pnpm test`;覆盖率在 Node 24;Cloud WSL Gate 在托管 `windows-latest` 上运行 19 项闭合套件 |
|
|
143
143
|
| 上游接缝 | peer 钉版逐字节比对,[PEER-PARITY.md](PEER-PARITY.md)、[upstream/promotion-map.md](https://github.com/Big-Dao/dsh-plugin-wsl-env/blob/main/docs/upstream/promotion-map.md) |
|
|
144
144
|
| 行为承诺 | [REQUIREMENTS.zh.md](REQUIREMENTS.zh.md) 的 28 条登记(R1–R28)与追溯矩阵 |
|
|
145
145
|
|
|
146
|
-
|
|
146
|
+
托管 GitHub `windows-latest` 门禁已实现
|
|
147
|
+
`.github/workflows/cloud-wsl-gate.yml` 的闭合套件入口;只有一个后续运行实际
|
|
148
|
+
上传完整日志与结果、每项均为 PASS 且没有 SKIP 或 NOT RUN 时,托管运行才算
|
|
149
|
+
已有真机证据。
|
|
147
150
|
|
|
148
151
|
## 6. 决策规则
|
|
149
152
|
|
package/docs/root-fs-routing.md
CHANGED
|
@@ -164,8 +164,8 @@ export `./fs-routing`)。config 承载两侧旋钮:宿主侧 `cwd`/`diffBasi
|
|
|
164
164
|
`distroContains`/`inputIsDistro`/`linuxJoin`);类本体改由上一项的组合测试经
|
|
165
165
|
服务代理覆盖。该文件自 2026-10-19 起已在 `test:unit` 与 `test:coverage`
|
|
166
166
|
清单里(`docs/REQUIREMENTS.zh.md` 的 OI-7,已解决)。
|
|
167
|
-
- 真机探针全套(`test/probe/run-all-when-closed.sh --include-fs
|
|
168
|
-
|
|
167
|
+
- 真机探针全套(`test/probe/run-all-when-closed.sh --include-fs`,含
|
|
168
|
+
`run.sh` 共 19 项)覆盖 agent、watch、substrate 等底座,并包含本路由的
|
|
169
169
|
`test/probe/fs-routing.sh`:临时 profile 以本路由为根 `fs`,经 UNC 坐标读
|
|
170
170
|
distro 内 ext4 文件、经盘符路径读 Windows 文件,并拒绝另一 distro 的 UNC。
|
|
171
171
|
|
package/lib/status.d.ts
CHANGED
|
@@ -14,12 +14,13 @@
|
|
|
14
14
|
* restored from the store below;
|
|
15
15
|
* - `GET /api/wsl-env/status?distro=<name>` — one distro's quick doctor
|
|
16
16
|
* report, digested to the same shape the `/wsl-doctor` command renders;
|
|
17
|
-
* - `
|
|
17
|
+
* - `GET /api/wsl-env/status?distro=<name>&full=1` — one distro's full,
|
|
18
|
+
* read-only doctor report;
|
|
19
|
+
* - `POST /api/wsl-env/status?distro=<name>` — the explicit repair action:
|
|
18
20
|
* a full doctor run with `--fix-owned`, which sweeps stale session scopes
|
|
19
21
|
* and purges a broken agent cache, then re-verifies both and answers with
|
|
20
22
|
* the same digest plus the `fix.*` rows. Nothing outside the plugin's own
|
|
21
|
-
* state is touched (no packages, no Windows git config)
|
|
22
|
-
* stays a diagnostic surface that can heal its own residue;
|
|
23
|
+
* state is touched (no packages, no Windows git config);
|
|
23
24
|
* - `DELETE /api/wsl-env/status[?distro=<name>]` — the panel's clear action:
|
|
24
25
|
* drops one distro's stored verdict, or every stored verdict when no distro
|
|
25
26
|
* is named, and answers `{ cleared: <count> }`. Clearing is host-local on
|
|
@@ -125,7 +126,9 @@ export interface DistroStatusView {
|
|
|
125
126
|
distro: string;
|
|
126
127
|
/** `ready` and `blocked` come from the report; `error` means the run failed. */
|
|
127
128
|
verdict: "ready" | "blocked" | "error";
|
|
128
|
-
/** Whether this answer came from
|
|
129
|
+
/** Whether this answer came from a full doctor run rather than the quick scope. */
|
|
130
|
+
full: boolean;
|
|
131
|
+
/** Whether this answer came from the explicit full `--fix-owned` repair action. */
|
|
129
132
|
repaired: boolean;
|
|
130
133
|
/** The doctor's fix rows: what the repair did and whether it verified. */
|
|
131
134
|
repairs: StatusRepair[];
|
package/lib/status.js
CHANGED
|
@@ -14,12 +14,13 @@
|
|
|
14
14
|
* restored from the store below;
|
|
15
15
|
* - `GET /api/wsl-env/status?distro=<name>` — one distro's quick doctor
|
|
16
16
|
* report, digested to the same shape the `/wsl-doctor` command renders;
|
|
17
|
-
* - `
|
|
17
|
+
* - `GET /api/wsl-env/status?distro=<name>&full=1` — one distro's full,
|
|
18
|
+
* read-only doctor report;
|
|
19
|
+
* - `POST /api/wsl-env/status?distro=<name>` — the explicit repair action:
|
|
18
20
|
* a full doctor run with `--fix-owned`, which sweeps stale session scopes
|
|
19
21
|
* and purges a broken agent cache, then re-verifies both and answers with
|
|
20
22
|
* the same digest plus the `fix.*` rows. Nothing outside the plugin's own
|
|
21
|
-
* state is touched (no packages, no Windows git config)
|
|
22
|
-
* stays a diagnostic surface that can heal its own residue;
|
|
23
|
+
* state is touched (no packages, no Windows git config);
|
|
23
24
|
* - `DELETE /api/wsl-env/status[?distro=<name>]` — the panel's clear action:
|
|
24
25
|
* drops one distro's stored verdict, or every stored verdict when no distro
|
|
25
26
|
* is named, and answers `{ cleared: <count> }`. Clearing is host-local on
|
|
@@ -169,11 +170,12 @@ function countsOf(findings) {
|
|
|
169
170
|
* @param digest - the shared digest the command and the tool render.
|
|
170
171
|
* @param distro - the distro the report answers for.
|
|
171
172
|
* @param now - the run's timestamp.
|
|
172
|
-
* @param
|
|
173
|
+
* @param full - whether the run covered the full doctor scope.
|
|
174
|
+
* @param repaired - whether the run was the `--fix-owned` repair action.
|
|
173
175
|
* @param source - who started the run.
|
|
174
176
|
* @returns the panel view.
|
|
175
177
|
*/
|
|
176
|
-
function viewOf(digest, distro, now, repaired, source) {
|
|
178
|
+
function viewOf(digest, distro, now, full, repaired, source) {
|
|
177
179
|
// The fix rows are the repair's own narration, not findings about the
|
|
178
180
|
// environment: keep them out of the failure/warning lists so a repair does
|
|
179
181
|
// not double-list its work, and surface them separately.
|
|
@@ -211,6 +213,7 @@ function viewOf(digest, distro, now, repaired, source) {
|
|
|
211
213
|
return {
|
|
212
214
|
distro,
|
|
213
215
|
verdict: digest.verdict === "ready" ? "ready" : "blocked",
|
|
216
|
+
full,
|
|
214
217
|
repaired,
|
|
215
218
|
repairs: repaired
|
|
216
219
|
? fixes.map((item) => ({
|
|
@@ -269,6 +272,7 @@ export function createStatusHandler(options) {
|
|
|
269
272
|
at: view.checkedAt,
|
|
270
273
|
view: {
|
|
271
274
|
...view,
|
|
275
|
+
full: view.full === true,
|
|
272
276
|
repairs: Array.isArray(view.repairs) ? view.repairs : [],
|
|
273
277
|
repairable: Array.isArray(view.repairable) ? view.repairable : [],
|
|
274
278
|
failures: Array.isArray(view.failures) ? view.failures : [],
|
|
@@ -299,7 +303,7 @@ export function createStatusHandler(options) {
|
|
|
299
303
|
list = { at: now(), names };
|
|
300
304
|
return names;
|
|
301
305
|
};
|
|
302
|
-
const check = async (distro, refresh,
|
|
306
|
+
const check = async (distro, refresh, mode = "quick", source = "user") => {
|
|
303
307
|
const cached = verdicts.get(distro);
|
|
304
308
|
// A failure is a fact of this moment: it is kept for the list and the
|
|
305
309
|
// store, but a plain GET re-runs instead of serving it as fresh.
|
|
@@ -308,22 +312,23 @@ export function createStatusHandler(options) {
|
|
|
308
312
|
const at = now();
|
|
309
313
|
let view;
|
|
310
314
|
try {
|
|
311
|
-
//
|
|
312
|
-
//
|
|
313
|
-
|
|
314
|
-
// never installs packages or rewrites Windows-owned configuration.
|
|
315
|
-
const argv = repair
|
|
315
|
+
// Repairs require the full scope so every changed condition is re-probed.
|
|
316
|
+
// The separate full mode is read-only and never passes a fix flag.
|
|
317
|
+
const argv = mode === "repair"
|
|
316
318
|
? ["--json", "--fix", "--fix-owned", "--distro", distro]
|
|
317
|
-
:
|
|
319
|
+
: mode === "full"
|
|
320
|
+
? ["--json", "--distro", distro]
|
|
321
|
+
: ["--json", "--quick", "--distro", distro];
|
|
318
322
|
const raw = await options.runCli(argv, undefined, options.timeoutMs);
|
|
319
323
|
const report = JSON.parse(raw);
|
|
320
324
|
const live = mergeTakeoverReport(mergeAutoPresetSeam(report), options.providers?.() ?? []);
|
|
321
|
-
view = viewOf(digestReport(live, distro), distro, at, repair, source);
|
|
325
|
+
view = viewOf(digestReport(live, distro), distro, at, mode !== "quick", mode === "repair", source);
|
|
322
326
|
}
|
|
323
327
|
catch (error) {
|
|
324
328
|
view = {
|
|
325
329
|
distro,
|
|
326
330
|
verdict: "error",
|
|
331
|
+
full: mode !== "quick",
|
|
327
332
|
repaired: false,
|
|
328
333
|
repairs: [],
|
|
329
334
|
repairable: [],
|
|
@@ -409,8 +414,10 @@ export function createStatusHandler(options) {
|
|
|
409
414
|
}
|
|
410
415
|
if (!names.includes(requested))
|
|
411
416
|
return json({ error: t("statusUnknownDistro", { distro: requested }) }, 400);
|
|
412
|
-
const
|
|
413
|
-
|
|
417
|
+
const full = !repair && url.searchParams.get("full") === "1";
|
|
418
|
+
const background = !repair && !full && url.searchParams.get("background") === "1";
|
|
419
|
+
const mode = repair ? "repair" : full ? "full" : "quick";
|
|
420
|
+
return json(await check(requested, refresh || full || repair, mode, background ? "background" : "user"));
|
|
414
421
|
};
|
|
415
422
|
}
|
|
416
423
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-plugin-wsl-env",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
4
4
|
"description": "在 WSL 的 Linux 实例中打开项目工作区,在对应 Linux 空间中进行命令执行、运行 shell 脚本和文件访问,以获得全套 Linux Shell 工具链收益,并通过 bubblewrap 对命令进行沙箱隔离",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"deepseek-harness",
|
|
@@ -169,6 +169,7 @@
|
|
|
169
169
|
"docs/REQUIREMENTS.zh.md",
|
|
170
170
|
"docs/LIMITATIONS.md",
|
|
171
171
|
"docs/RELEASING.md",
|
|
172
|
+
"docs/RELEASING.zh.md",
|
|
172
173
|
"docs/root-fs-routing.md",
|
|
173
174
|
"docs/VALUE.zh.md",
|
|
174
175
|
"docs/UPSTREAM-OPEN-IN-APP.md",
|
|
@@ -219,9 +220,9 @@
|
|
|
219
220
|
"build": "node scripts/build.mjs",
|
|
220
221
|
"lint:build": "node test/build-freshness.mjs",
|
|
221
222
|
"test:browser": "node --test --test-timeout=120000 test/browser/e2e.test.mjs",
|
|
222
|
-
"test:coverage": "node scripts/coverage-gate.mjs -- node --test --test-timeout=60000 --experimental-test-coverage --test-coverage-lines=85 --test-coverage-branches=84 --test-coverage-functions=70 --test-coverage-exclude='scripts/**' --test-coverage-exclude='test/**' test/agent-exec.test.mjs test/agent-fs-script.test.mjs test/agent-protocol.test.mjs test/agent.test.mjs test/fs-substrate.test.mjs test/fs.boot.test.mjs test/composition.test.mjs test/bundle-mount.test.mjs test/hot-swap.test.mjs test/takeover-report.test.mjs test/provider.test.mjs test/provider-takeover.test.mjs test/file-reference-wsl.test.mjs test/fsio-agent.test.mjs test/fsio-text.test.mjs test/git-exec.test.mjs test/git-route.test.mjs test/listing.test.mjs test/paths.test.mjs test/ports.test.mjs test/preset-choice.test.mjs test/auto-preset.test.mjs test/probe-cache.test.mjs test/writable-roots.test.mjs test/preflight.test.mjs test/sandbox.test.mjs test/socket-isolation.test.mjs test/search-exec.test.mjs test/search-route.test.mjs test/shell.test.mjs test/shell-env.test.mjs test/terminal-activity.test.mjs test/terminal.test.mjs test/watcher.test.mjs test/wsl.test.mjs test/fs-decisions.test.mjs test/session-scope.test.mjs test/session-runtime.test.mjs test/native-agent.test.mjs test/peers.test.mjs test/agent-shared.test.mjs test/distro-route.test.mjs test/fs-routing.test.mjs test/update-check.test.mjs test/plugin-update.test.mjs test/doctor.test.mjs test/doctor-collector.test.mjs test/release-scripts.test.mjs test/profile-preset.test.mjs test/packaging.test.mjs test/peer-canary.test.mjs test/probe-runner.test.mjs test/cwd-prompt.test.mjs test/cwd-prompt-tool.test.mjs test/wsl-doctor-tool.test.mjs test/wsl-doctor-command.test.mjs test/status.test.mjs test/client-host.test.mjs test/messages.test.mjs test/locales-examples.test.mjs test/client.test.mjs test/open-in-app.test.mjs",
|
|
223
|
+
"test:coverage": "node scripts/coverage-gate.mjs -- node --test --test-timeout=60000 --experimental-test-coverage --test-coverage-lines=85 --test-coverage-branches=84 --test-coverage-functions=70 --test-coverage-exclude='scripts/**' --test-coverage-exclude='test/**' test/agent-exec.test.mjs test/agent-fs-script.test.mjs test/agent-protocol.test.mjs test/agent.test.mjs test/fs-substrate.test.mjs test/fs.boot.test.mjs test/composition.test.mjs test/bundle-mount.test.mjs test/hot-swap.test.mjs test/takeover-report.test.mjs test/provider.test.mjs test/provider-takeover.test.mjs test/file-reference-wsl.test.mjs test/fsio-agent.test.mjs test/fsio-text.test.mjs test/git-exec.test.mjs test/git-route.test.mjs test/listing.test.mjs test/paths.test.mjs test/ports.test.mjs test/preset-choice.test.mjs test/auto-preset.test.mjs test/probe-cache.test.mjs test/writable-roots.test.mjs test/preflight.test.mjs test/sandbox.test.mjs test/socket-isolation.test.mjs test/search-exec.test.mjs test/search-route.test.mjs test/shell.test.mjs test/shell-env.test.mjs test/terminal-activity.test.mjs test/terminal.test.mjs test/watcher.test.mjs test/wsl.test.mjs test/fs-decisions.test.mjs test/session-scope.test.mjs test/session-runtime.test.mjs test/native-agent.test.mjs test/peers.test.mjs test/agent-shared.test.mjs test/distro-route.test.mjs test/fs-routing.test.mjs test/update-check.test.mjs test/plugin-update.test.mjs test/doctor.test.mjs test/doctor-collector.test.mjs test/release-scripts.test.mjs test/profile-preset.test.mjs test/packaging.test.mjs test/peer-canary.test.mjs test/probe-runner.test.mjs test/cwd-prompt.test.mjs test/cwd-prompt-tool.test.mjs test/wsl-doctor-tool.test.mjs test/wsl-doctor-command.test.mjs test/status.test.mjs test/client-host.test.mjs test/messages.test.mjs test/locales-examples.test.mjs test/client.test.mjs test/open-in-app.test.mjs test/cloud-wsl-gate.test.mjs test/official-harness-smoke.test.mjs",
|
|
223
224
|
"test:syntax": "node test/syntax.mjs",
|
|
224
|
-
"test:unit": "node scripts/test-watchdog.mjs -- node --test --test-timeout=60000 test/fs.boot.test.mjs test/fsio-text.test.mjs test/composition.test.mjs test/bundle-mount.test.mjs test/hot-swap.test.mjs test/takeover-report.test.mjs test/provider.test.mjs test/provider-takeover.test.mjs test/file-reference-wsl.test.mjs test/paths.test.mjs test/listing.test.mjs test/shell.test.mjs test/shell-env.test.mjs test/terminal.test.mjs test/probe-cache.test.mjs test/writable-roots.test.mjs test/preflight.test.mjs test/preset-choice.test.mjs test/auto-preset.test.mjs test/sandbox.test.mjs test/socket-isolation.test.mjs test/agent-protocol.test.mjs test/agent.test.mjs test/agent-fs-script.test.mjs test/fsio-agent.test.mjs test/fs-substrate.test.mjs test/agent-exec.test.mjs test/ports.test.mjs test/watcher.test.mjs test/wsl.test.mjs test/fs-decisions.test.mjs test/git-exec.test.mjs test/git-route.test.mjs test/search-route.test.mjs test/search-exec.test.mjs test/terminal-activity.test.mjs test/session-scope.test.mjs test/session-runtime.test.mjs test/native-agent.test.mjs test/peers.test.mjs test/agent-shared.test.mjs test/distro-route.test.mjs test/fs-routing.test.mjs test/update-check.test.mjs test/plugin-update.test.mjs test/doctor.test.mjs test/doctor-collector.test.mjs test/release-scripts.test.mjs test/profile-preset.test.mjs test/packaging.test.mjs test/peer-canary.test.mjs test/probe-runner.test.mjs test/cwd-prompt.test.mjs test/cwd-prompt-tool.test.mjs test/wsl-doctor-tool.test.mjs test/wsl-doctor-command.test.mjs test/status.test.mjs test/client-host.test.mjs test/messages.test.mjs test/locales-examples.test.mjs test/client.test.mjs test/open-in-app.test.mjs",
|
|
225
|
+
"test:unit": "node scripts/test-watchdog.mjs -- node --test --test-timeout=60000 test/fs.boot.test.mjs test/fsio-text.test.mjs test/composition.test.mjs test/bundle-mount.test.mjs test/hot-swap.test.mjs test/takeover-report.test.mjs test/provider.test.mjs test/provider-takeover.test.mjs test/file-reference-wsl.test.mjs test/paths.test.mjs test/listing.test.mjs test/shell.test.mjs test/shell-env.test.mjs test/terminal.test.mjs test/probe-cache.test.mjs test/writable-roots.test.mjs test/preflight.test.mjs test/preset-choice.test.mjs test/auto-preset.test.mjs test/sandbox.test.mjs test/socket-isolation.test.mjs test/agent-protocol.test.mjs test/agent.test.mjs test/agent-fs-script.test.mjs test/fsio-agent.test.mjs test/fs-substrate.test.mjs test/agent-exec.test.mjs test/ports.test.mjs test/watcher.test.mjs test/wsl.test.mjs test/fs-decisions.test.mjs test/git-exec.test.mjs test/git-route.test.mjs test/search-route.test.mjs test/search-exec.test.mjs test/terminal-activity.test.mjs test/session-scope.test.mjs test/session-runtime.test.mjs test/native-agent.test.mjs test/peers.test.mjs test/agent-shared.test.mjs test/distro-route.test.mjs test/fs-routing.test.mjs test/update-check.test.mjs test/plugin-update.test.mjs test/doctor.test.mjs test/doctor-collector.test.mjs test/release-scripts.test.mjs test/profile-preset.test.mjs test/packaging.test.mjs test/peer-canary.test.mjs test/probe-runner.test.mjs test/cwd-prompt.test.mjs test/cwd-prompt-tool.test.mjs test/wsl-doctor-tool.test.mjs test/wsl-doctor-command.test.mjs test/status.test.mjs test/client-host.test.mjs test/messages.test.mjs test/locales-examples.test.mjs test/client.test.mjs test/open-in-app.test.mjs test/cloud-wsl-gate.test.mjs test/official-harness-smoke.test.mjs",
|
|
225
226
|
"lint:style": "node test/style.mjs",
|
|
226
227
|
"lint:links": "node scripts/check-links.mjs",
|
|
227
228
|
"lint:requirements": "node scripts/check-requirements.mjs",
|
|
@@ -229,7 +230,7 @@
|
|
|
229
230
|
"prepublishOnly": "pnpm test",
|
|
230
231
|
"probe": "bash test/probe/run.sh",
|
|
231
232
|
"probe:clean": "rm -rf test/probe/.scratch && mkdir -p test/probe/.scratch",
|
|
232
|
-
"probe:all-closed": "bash test/probe/run-all-when-closed.sh",
|
|
233
|
+
"probe:all-closed": "bash test/probe/run-all-when-closed.sh --include-fs",
|
|
233
234
|
"probe:missing-wsl": "bash test/probe/missing-wsl.sh",
|
|
234
235
|
"probe:mode": "bash test/probe/mode.sh",
|
|
235
236
|
"probe:picker": "bash test/probe/picker.sh",
|
|
@@ -255,7 +256,8 @@
|
|
|
255
256
|
"e2e:install": "bash test/e2e/install.sh",
|
|
256
257
|
"canary:peers": "node scripts/peer-canary.mjs",
|
|
257
258
|
"probe:auto-preset": "bash test/probe/auto-preset.sh",
|
|
258
|
-
"probe:session-sandbox": "bash test/probe/session-sandbox.sh"
|
|
259
|
+
"probe:session-sandbox": "bash test/probe/session-sandbox.sh",
|
|
260
|
+
"smoke:official-harness": "node scripts/official-harness-smoke.mjs"
|
|
259
261
|
},
|
|
260
262
|
"packageManager": "pnpm@11.7.0+sha512.19cc852c120c7125760f2443ee6be0ca5b40f9f50598de1a09a1f177503e010e57c23c77646e01e761de59bf874fb22a3398c33ab9691fc13eb946b6f0f4d620",
|
|
261
263
|
"engines": {
|