dsh-plugin-wsl-env 0.1.9 → 0.1.10

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
@@ -12,6 +12,24 @@ reference below points at that record's numbering.
12
12
 
13
13
  ## [Unreleased]
14
14
 
15
+ ## [0.1.10] - 2026-10-02
16
+
17
+ Metadata and one documentation addition. No behaviour change.
18
+
19
+ ### Changed
20
+
21
+ - The package description now covers all four capabilities — commands, the file tools,
22
+ the folder picker, the GUI terminal — and the confinement, instead of naming only two
23
+ of them. It is the line npm shows under the package name in search results.
24
+
25
+ ### Documentation
26
+
27
+ - The error table in `docs/ARCHITECTURE.md` states exactly what the model sees on a
28
+ filesystem denial: the denial marker and the escalation hint, line for line. It also
29
+ records why that makes `FS_OUTSIDE_DISTRO` worth its own code — a code the tool layer
30
+ does not decorate with those lines.
31
+
32
+
15
33
  ## [0.1.9] - 2026-10-02
16
34
 
17
35
  The last test gap from the closure review: the documented opt-out. No runtime change.
@@ -189,6 +189,14 @@ to be invisible:
189
189
  | the distro is missing, stopped or unregistered | a `Wsl/Service/WSL_E_*` code on **stdout**, UTF-16 on some builds, with an empty stderr and exit 255 | `WslShellExecutor` reads the code with the NULs stripped and fails with the distro name and the remedy. Deliberately not a sandbox code: a wider permission cannot create a distro |
190
190
  | the working directory cannot be entered | a relay line on stderr, exit **0**, and the command runs in `/` | `WslShellExecutor` fails with the directory and the fallback, instead of reporting a success that acted on the wrong tree |
191
191
 
192
+
193
+ What the model actually sees on a filesystem denial is two lines the tool layer
194
+ prepends: `[sandbox: file access denied under <mode> mode]`, then
195
+ `[sandbox: escalation available — retry this exact operation once with
196
+ sandbox_permissions (the narrowest wider mode that suffices) + justification; the
197
+ approval prompt asks the user]`. A code that is not `FS_SANDBOX_DENIED` gets neither
198
+ line — which is the reason `FS_OUTSIDE_DISTRO` has its own code.
199
+
192
200
  ## The runtime mirror
193
201
 
194
202
  The checkout lives inside the distro. A DSH profile can only link a Windows path,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-plugin-wsl-env",
3
- "version": "0.1.9",
4
- "description": "Run a DeepSeek Harness session against a WSL distro: a ctx.shell executor that runs commands inside the distro and a ctx.fs backend over its UNC share",
3
+ "version": "0.1.10",
4
+ "description": "Run a DeepSeek Harness session against a WSL distro: commands and the model's file tools run inside it, the folder picker and the GUI terminal open there, and commands are confined by bubblewrap inside the distro",
5
5
  "keywords": [
6
6
  "deepseek-harness",
7
7
  "dsh",