dsh-plugin-wsl-env 0.25.0 → 0.26.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 +84 -0
- package/CODE_OF_CONDUCT.md +85 -0
- package/CODE_OF_CONDUCT.zh.md +85 -0
- package/CONTRIBUTING.md +19 -3
- package/CONTRIBUTING.zh.md +200 -0
- package/README.md +12 -3
- package/SECURITY.md +2 -0
- package/SECURITY.zh.md +108 -0
- package/SUPPORT.md +2 -0
- package/SUPPORT.zh.md +99 -0
- package/client.js +409 -8
- package/cordis.patch.yml +13 -0
- package/docs/AGENT-PROTOCOL-V7.md +2 -2
- package/docs/API.md +2 -0
- package/docs/API.zh.md +38 -0
- package/docs/ARCHITECTURE.md +2 -0
- package/docs/ARCHITECTURE.zh.md +511 -0
- package/docs/COMPATIBILITY.md +2 -0
- package/docs/COMPATIBILITY.zh.md +117 -0
- package/docs/CONFIGURATION.md +2 -2
- package/docs/CONFIGURATION.zh.md +3 -3
- package/docs/DIAGNOSTICS.md +8 -0
- package/docs/DIAGNOSTICS.zh.md +2 -0
- package/docs/LIMITATIONS.md +43 -5
- package/docs/LIMITATIONS.zh.md +34 -6
- package/docs/MIGRATION.md +6 -3
- package/docs/MIGRATION.zh.md +91 -0
- package/docs/PEER-PARITY.md +59 -47
- package/docs/PERFORMANCE.md +2 -0
- package/docs/PERFORMANCE.zh.md +59 -0
- package/docs/QUICKSTART.md +9 -1
- package/docs/QUICKSTART.zh.md +8 -2
- package/docs/README.zh.md +22 -16
- package/docs/RELEASING.md +2 -1
- package/docs/REQUIREMENTS.zh.md +3 -1
- package/docs/ROADMAP-1.0.md +1 -1
- package/docs/UPSTREAM-FILE-REFERENCE-SEAM.md +1 -1
- package/docs/UPSTREAM-OPEN-IN-APP.md +33 -11
- package/docs/UPSTREAM-SESSION-NOTICE.md +7 -0
- package/docs/VALUE.md +146 -0
- package/docs/VALUE.zh.md +15 -13
- package/lib/auto-preset-seam.d.ts +45 -0
- package/lib/auto-preset-seam.js +47 -0
- package/lib/auto-preset.d.ts +33 -10
- package/lib/auto-preset.js +148 -44
- package/lib/doctor-live.d.ts +30 -0
- package/lib/doctor-live.js +37 -0
- package/lib/doctor-report.js +2 -2
- package/lib/messages.d.ts +19 -0
- package/lib/messages.js +28 -0
- package/lib/open-in-app.d.ts +206 -0
- package/lib/open-in-app.js +300 -0
- package/lib/preset-choice.d.ts +13 -0
- package/lib/preset-choice.js +18 -1
- package/lib/status.js +2 -1
- package/lib/wsl-doctor-command.js +2 -1
- package/package.json +47 -24
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-plugin-wsl-env",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.0",
|
|
4
4
|
"description": "在 WSL 的 Linux 实例中打开项目工作区,在对应 Linux 空间中进行命令执行、运行 shell 脚本和文件访问,以获得全套 Linux Shell 工具链收益,并通过 bubblewrap 对命令进行沙箱隔离",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"deepseek-harness",
|
|
@@ -56,6 +56,10 @@
|
|
|
56
56
|
"types": "./lib/index.d.ts",
|
|
57
57
|
"default": "./lib/index.js"
|
|
58
58
|
},
|
|
59
|
+
"./open-in-app": {
|
|
60
|
+
"types": "./lib/open-in-app.d.ts",
|
|
61
|
+
"default": "./lib/open-in-app.js"
|
|
62
|
+
},
|
|
59
63
|
"./locale/en.json": "./locale/en.json",
|
|
60
64
|
"./locale/zh.json": "./locale/zh.json",
|
|
61
65
|
"./package.json": "./package.json",
|
|
@@ -124,7 +128,10 @@
|
|
|
124
128
|
"@deepseek-ai/dsh-client-ui-slots",
|
|
125
129
|
"@deepseek-ai/dsh-client-ui-layout",
|
|
126
130
|
"@deepseek-ai/dsh-client-ui-sidebar",
|
|
127
|
-
"@deepseek-ai/dsh-client-ui-workspace"
|
|
131
|
+
"@deepseek-ai/dsh-client-ui-workspace",
|
|
132
|
+
"@deepseek-ai/dsh-client-ui-conversation",
|
|
133
|
+
"@deepseek-ai/dsh-client-ui-context-menu",
|
|
134
|
+
"@deepseek-ai/dsh-client-ui-session"
|
|
128
135
|
]
|
|
129
136
|
}
|
|
130
137
|
},
|
|
@@ -182,16 +189,28 @@
|
|
|
182
189
|
"scripts/diagnose.sh",
|
|
183
190
|
"scripts/doctor.mjs",
|
|
184
191
|
"scripts/open-wsl-vscode.ps1",
|
|
185
|
-
"scripts/profile-preset.mjs"
|
|
192
|
+
"scripts/profile-preset.mjs",
|
|
193
|
+
"docs/ARCHITECTURE.zh.md",
|
|
194
|
+
"docs/API.zh.md",
|
|
195
|
+
"docs/COMPATIBILITY.zh.md",
|
|
196
|
+
"docs/MIGRATION.zh.md",
|
|
197
|
+
"docs/PERFORMANCE.zh.md",
|
|
198
|
+
"docs/VALUE.md",
|
|
199
|
+
"CONTRIBUTING.zh.md",
|
|
200
|
+
"SECURITY.zh.md",
|
|
201
|
+
"SUPPORT.zh.md",
|
|
202
|
+
"CODE_OF_CONDUCT.md",
|
|
203
|
+
"CODE_OF_CONDUCT.zh.md"
|
|
186
204
|
],
|
|
187
205
|
"scripts": {
|
|
188
206
|
"test": "pnpm run lint:style && pnpm run lint:links && pnpm run lint:requirements && pnpm run lint:docs && pnpm run test:syntax && pnpm run lint:build && pnpm run lint:types && pnpm run test:unit",
|
|
189
207
|
"lint:types": "tsc --noEmit",
|
|
190
208
|
"build": "node scripts/build.mjs",
|
|
191
209
|
"lint:build": "node test/build-freshness.mjs",
|
|
192
|
-
"test:
|
|
210
|
+
"test:browser": "node --test --test-timeout=120000 test/browser/e2e.test.mjs",
|
|
211
|
+
"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/auto-preset.test.mjs test/probe-cache.test.mjs test/writable-roots.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 test/client.test.mjs test/open-in-app.test.mjs",
|
|
193
212
|
"test:syntax": "node test/syntax.mjs",
|
|
194
|
-
"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/writable-roots.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",
|
|
213
|
+
"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/writable-roots.test.mjs test/preflight.test.mjs test/preset-choice.test.mjs test/auto-preset.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 test/client.test.mjs test/open-in-app.test.mjs",
|
|
195
214
|
"lint:style": "node test/style.mjs",
|
|
196
215
|
"lint:links": "node scripts/check-links.mjs",
|
|
197
216
|
"lint:requirements": "node scripts/check-requirements.mjs",
|
|
@@ -249,33 +268,37 @@
|
|
|
249
268
|
"@deepseek-ai/cordis": "4.1.0",
|
|
250
269
|
"@deepseek-ai/cordis-plugin-include": "1.1.0",
|
|
251
270
|
"@deepseek-ai/cordis-plugin-loader": "1.1.0",
|
|
252
|
-
"@deepseek-ai/dsh-bash-local": "0.2.2-rc.
|
|
253
|
-
"@deepseek-ai/dsh-fs": "0.2.2-rc.
|
|
254
|
-
"@deepseek-ai/dsh-fs-local": "0.2.2-rc.
|
|
255
|
-
"@deepseek-ai/dsh-fs-patch": "0.2.2-rc.
|
|
256
|
-
"@deepseek-ai/dsh-host-directory-picker": "0.2.2-rc.
|
|
257
|
-
"@deepseek-ai/dsh-sandbox": "0.2.2-rc.
|
|
258
|
-
"@deepseek-ai/dsh-sandbox-policy": "0.2.2-rc.
|
|
259
|
-
"@deepseek-ai/dsh-subprocess": "0.2.2-rc.
|
|
260
|
-
"@deepseek-ai/dsh-subprocess-local": "0.2.2-rc.
|
|
261
|
-
"@deepseek-ai/dsh-tools": "0.2.2-rc.
|
|
271
|
+
"@deepseek-ai/dsh-bash-local": "0.2.2-rc.2",
|
|
272
|
+
"@deepseek-ai/dsh-fs": "0.2.2-rc.2",
|
|
273
|
+
"@deepseek-ai/dsh-fs-local": "0.2.2-rc.2",
|
|
274
|
+
"@deepseek-ai/dsh-fs-patch": "0.2.2-rc.2",
|
|
275
|
+
"@deepseek-ai/dsh-host-directory-picker": "0.2.2-rc.2",
|
|
276
|
+
"@deepseek-ai/dsh-sandbox": "0.2.2-rc.2",
|
|
277
|
+
"@deepseek-ai/dsh-sandbox-policy": "0.2.2-rc.2",
|
|
278
|
+
"@deepseek-ai/dsh-subprocess": "0.2.2-rc.2",
|
|
279
|
+
"@deepseek-ai/dsh-subprocess-local": "0.2.2-rc.2",
|
|
280
|
+
"@deepseek-ai/dsh-tools": "0.2.2-rc.2",
|
|
262
281
|
"@deepseek-ai/schemastery": "3.19.0",
|
|
263
282
|
"@types/js-yaml": "^4.0.9",
|
|
264
283
|
"@types/node": "~22.20.5",
|
|
284
|
+
"esbuild": "0.25.8",
|
|
265
285
|
"js-yaml": "4.3.2",
|
|
286
|
+
"playwright": "1.65.0",
|
|
287
|
+
"react": "19.1.1",
|
|
288
|
+
"react-dom": "19.1.1",
|
|
266
289
|
"typescript": "~6.0.3"
|
|
267
290
|
},
|
|
268
291
|
"peerDependencies": {
|
|
269
292
|
"@deepseek-ai/cordis": "^4.1.0",
|
|
270
|
-
"@deepseek-ai/dsh-bash-local": ">=0.2.2-rc.
|
|
271
|
-
"@deepseek-ai/dsh-fs": ">=0.2.2-rc.
|
|
272
|
-
"@deepseek-ai/dsh-fs-local": ">=0.2.2-rc.
|
|
273
|
-
"@deepseek-ai/dsh-fs-patch": ">=0.2.2-rc.
|
|
274
|
-
"@deepseek-ai/dsh-host-directory-picker": ">=0.2.2-rc.
|
|
275
|
-
"@deepseek-ai/dsh-sandbox": ">=0.2.2-rc.
|
|
276
|
-
"@deepseek-ai/dsh-subprocess": ">=0.2.2-rc.
|
|
277
|
-
"@deepseek-ai/dsh-tools": ">=0.2.2-rc.
|
|
278
|
-
"@deepseek-ai/dsh-subprocess-local": ">=0.2.2-rc.
|
|
293
|
+
"@deepseek-ai/dsh-bash-local": ">=0.2.2-rc.2",
|
|
294
|
+
"@deepseek-ai/dsh-fs": ">=0.2.2-rc.2",
|
|
295
|
+
"@deepseek-ai/dsh-fs-local": ">=0.2.2-rc.2",
|
|
296
|
+
"@deepseek-ai/dsh-fs-patch": ">=0.2.2-rc.2",
|
|
297
|
+
"@deepseek-ai/dsh-host-directory-picker": ">=0.2.2-rc.2",
|
|
298
|
+
"@deepseek-ai/dsh-sandbox": ">=0.2.2-rc.2",
|
|
299
|
+
"@deepseek-ai/dsh-subprocess": ">=0.2.2-rc.2",
|
|
300
|
+
"@deepseek-ai/dsh-tools": ">=0.2.2-rc.2",
|
|
301
|
+
"@deepseek-ai/dsh-subprocess-local": ">=0.2.2-rc.2",
|
|
279
302
|
"@deepseek-ai/schemastery": "^3.19.0"
|
|
280
303
|
},
|
|
281
304
|
"peerDependenciesMeta": {
|