dsh-plugin-wsl-env 0.23.0 → 0.24.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 +174 -0
- package/README.md +5 -4
- package/client.js +974 -165
- package/cordis.patch.yml +24 -3
- package/docs/API.md +2 -1
- package/docs/ARCHITECTURE.md +8 -4
- package/docs/COMPATIBILITY.md +5 -0
- package/docs/CONFIGURATION.md +37 -9
- package/docs/CONFIGURATION.zh.md +28 -8
- package/docs/DIAGNOSTICS.md +44 -18
- package/docs/DIAGNOSTICS.zh.md +33 -13
- package/docs/LIMITATIONS.md +19 -5
- package/docs/LIMITATIONS.zh.md +15 -4
- package/docs/QUICKSTART.md +30 -7
- package/docs/QUICKSTART.zh.md +22 -7
- package/docs/README.zh.md +5 -4
- package/docs/REQUIREMENTS.zh.md +2 -2
- package/docs/root-fs-routing.md +3 -2
- package/lib/auto-preset.d.ts +27 -0
- package/lib/auto-preset.js +40 -3
- package/lib/client-host.d.ts +2 -2
- package/lib/client-host.js +2 -2
- package/lib/fs-routing.d.ts +6 -5
- package/lib/fs-routing.js +7 -6
- package/lib/listing.d.ts +21 -9
- package/lib/listing.js +25 -21
- package/lib/picker.d.ts +50 -16
- package/lib/picker.js +103 -23
- package/lib/preset-choice.d.ts +22 -3
- package/lib/preset-choice.js +36 -3
- package/lib/status.d.ts +261 -0
- package/lib/status.js +425 -0
- package/lib/wsl-doctor-tool.d.ts +8 -0
- package/lib/wsl-doctor-tool.js +16 -18
- package/lib/wsl.d.ts +12 -0
- package/lib/wsl.js +15 -0
- package/locale/doctor/en.json +3 -2
- package/locale/doctor/zh.json +3 -2
- package/package.json +11 -4
- package/scripts/doctor.mjs +435 -225
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-plugin-wsl-env",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"description": "在 WSL 的 Linux 实例中打开项目工作区,在对应 Linux 空间中进行命令执行、运行 shell 脚本和文件访问,以获得全套 Linux Shell 工具链收益,并通过 bubblewrap 对命令进行沙箱隔离",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"deepseek-harness",
|
|
@@ -83,6 +83,10 @@
|
|
|
83
83
|
"types": "./lib/shell-env.d.ts",
|
|
84
84
|
"default": "./lib/shell-env.js"
|
|
85
85
|
},
|
|
86
|
+
"./status": {
|
|
87
|
+
"types": "./lib/status.d.ts",
|
|
88
|
+
"default": "./lib/status.js"
|
|
89
|
+
},
|
|
86
90
|
"./shell-env/locale/en.json": "./locale/shell-env/en.json",
|
|
87
91
|
"./shell-env/locale/zh.json": "./locale/shell-env/zh.json",
|
|
88
92
|
"./subprocess": {
|
|
@@ -116,8 +120,11 @@
|
|
|
116
120
|
"platform": "web",
|
|
117
121
|
"immediately": true,
|
|
118
122
|
"inject": [
|
|
123
|
+
"@deepseek-ai/dsh-api-remotes",
|
|
119
124
|
"@deepseek-ai/dsh-client-ui-slots",
|
|
120
|
-
"@deepseek-ai/dsh-client-ui-
|
|
125
|
+
"@deepseek-ai/dsh-client-ui-layout",
|
|
126
|
+
"@deepseek-ai/dsh-client-ui-sidebar",
|
|
127
|
+
"@deepseek-ai/dsh-client-ui-workspace"
|
|
121
128
|
]
|
|
122
129
|
}
|
|
123
130
|
},
|
|
@@ -181,9 +188,9 @@
|
|
|
181
188
|
"lint:types": "tsc --noEmit",
|
|
182
189
|
"build": "node scripts/build.mjs",
|
|
183
190
|
"lint:build": "node test/build-freshness.mjs",
|
|
184
|
-
"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/provider.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/probe-cache.test.mjs test/preflight.test.mjs test/sandbox.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/doctor.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/client-host.test.mjs test/messages.test.mjs",
|
|
191
|
+
"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/provider.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/probe-cache.test.mjs test/preflight.test.mjs test/sandbox.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/doctor.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",
|
|
185
192
|
"test:syntax": "node test/syntax.mjs",
|
|
186
|
-
"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/provider.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/preflight.test.mjs test/preset-choice.test.mjs test/sandbox.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/doctor.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/client-host.test.mjs test/messages.test.mjs",
|
|
193
|
+
"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/provider.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/preflight.test.mjs test/preset-choice.test.mjs test/sandbox.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/doctor.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",
|
|
187
194
|
"lint:style": "node test/style.mjs",
|
|
188
195
|
"lint:links": "node scripts/check-links.mjs",
|
|
189
196
|
"lint:requirements": "node scripts/check-requirements.mjs",
|