dsh-plugin-wsl-env 0.3.0 → 0.5.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 +175 -0
- package/README.md +40 -17
- package/agent/wsl-agent.sh +63 -19
- package/cordis.patch.yml +6 -4
- package/docs/ARCHITECTURE.md +7 -3
- package/docs/CONFIGURATION.md +1 -0
- package/docs/LIMITATIONS.md +17 -1
- package/docs/PARITY.md +5 -4
- package/docs/README.zh.md +32 -10
- package/docs/UPSTREAM-TERMINAL-TITLE.md +81 -0
- package/lib/agent-confined.js +9 -3
- package/lib/agent.js +69 -4
- package/lib/bwrap.js +18 -1
- package/lib/fs-decisions.js +132 -0
- package/lib/fsio-agent.js +2 -2
- package/lib/index.js +36 -24
- package/lib/paths.js +14 -0
- package/lib/shell-env.js +6 -1
- package/locale/auto-preset/en.json +6 -0
- package/locale/auto-preset/zh.json +6 -0
- package/locale/en.json +6 -0
- package/locale/picker/en.json +6 -0
- package/locale/picker/zh.json +6 -0
- package/locale/shell-env/en.json +6 -0
- package/locale/shell-env/zh.json +6 -0
- package/locale/subprocess/en.json +6 -0
- package/locale/subprocess/zh.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +16 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-plugin-wsl-env",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "让 DeepSeek Harness 以 WSL 子系统作为会话的执行环境:shell、文件读写与命令执行均在子系统内完成,目录选择器与 GUI 终端同样定位到子系统路径,并通过子系统内的 bubblewrap 对命令进行沙箱隔离",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"deepseek-harness",
|
|
@@ -23,7 +23,17 @@
|
|
|
23
23
|
"./wsl": "./lib/wsl.js",
|
|
24
24
|
"./paths": "./lib/paths.js",
|
|
25
25
|
"./agent": "./lib/agent.js",
|
|
26
|
-
"./package.json": "./package.json"
|
|
26
|
+
"./package.json": "./package.json",
|
|
27
|
+
"./locale/en.json": "./locale/en.json",
|
|
28
|
+
"./locale/zh.json": "./locale/zh.json",
|
|
29
|
+
"./subprocess/locale/en.json": "./locale/subprocess/en.json",
|
|
30
|
+
"./subprocess/locale/zh.json": "./locale/subprocess/zh.json",
|
|
31
|
+
"./picker/locale/en.json": "./locale/picker/en.json",
|
|
32
|
+
"./picker/locale/zh.json": "./locale/picker/zh.json",
|
|
33
|
+
"./shell-env/locale/en.json": "./locale/shell-env/en.json",
|
|
34
|
+
"./shell-env/locale/zh.json": "./locale/shell-env/zh.json",
|
|
35
|
+
"./auto-preset/locale/en.json": "./locale/auto-preset/en.json",
|
|
36
|
+
"./auto-preset/locale/zh.json": "./locale/auto-preset/zh.json"
|
|
27
37
|
},
|
|
28
38
|
"dsh": {
|
|
29
39
|
"bundle": {
|
|
@@ -33,6 +43,7 @@
|
|
|
33
43
|
"files": [
|
|
34
44
|
"lib/**/*.js",
|
|
35
45
|
"agent/*.sh",
|
|
46
|
+
"locale/**/*.json",
|
|
36
47
|
"cordis.patch.yml",
|
|
37
48
|
"examples/**/*.yml",
|
|
38
49
|
"README.md",
|
|
@@ -42,6 +53,7 @@
|
|
|
42
53
|
"docs/PARITY.md",
|
|
43
54
|
"docs/PEER-PARITY.md",
|
|
44
55
|
"docs/UPSTREAM-FSIO-EXPORT.md",
|
|
56
|
+
"docs/UPSTREAM-TERMINAL-TITLE.md",
|
|
45
57
|
"docs/ARCHITECTURE.md",
|
|
46
58
|
"CHANGELOG.md",
|
|
47
59
|
"CONTRIBUTING.md",
|
|
@@ -51,9 +63,9 @@
|
|
|
51
63
|
],
|
|
52
64
|
"scripts": {
|
|
53
65
|
"test": "npm run lint:style && npm run test:syntax && npm run test:unit",
|
|
54
|
-
"test:coverage": "node --test --experimental-test-coverage --test-coverage-lines=85 --test-coverage-branches=85 --test-coverage-functions=70 test/
|
|
66
|
+
"test:coverage": "node --test --experimental-test-coverage --test-coverage-lines=85 --test-coverage-branches=85 --test-coverage-functions=70 test/agent-exec.test.mjs test/agent-fs-script.test.mjs test/agent-protocol.test.mjs test/agent.test.mjs test/fs-publish.test.mjs test/fs-substrate.test.mjs test/fsio-agent.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/sandbox.test.mjs test/shell.test.mjs test/terminal.test.mjs test/watcher.test.mjs test/fs-decisions.test.mjs",
|
|
55
67
|
"test:syntax": "node test/syntax.mjs",
|
|
56
|
-
"test:unit": "node --test test/paths.test.mjs test/listing.test.mjs test/shell.test.mjs test/terminal.test.mjs test/probe-cache.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/fs-publish.test.mjs test/agent-exec.test.mjs test/ports.test.mjs test/watcher.test.mjs",
|
|
68
|
+
"test:unit": "node --test test/paths.test.mjs test/listing.test.mjs test/shell.test.mjs test/terminal.test.mjs test/probe-cache.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/fs-publish.test.mjs test/agent-exec.test.mjs test/ports.test.mjs test/watcher.test.mjs test/fs-decisions.test.mjs",
|
|
57
69
|
"lint:style": "node test/style.mjs",
|
|
58
70
|
"prepublishOnly": "npm test",
|
|
59
71
|
"probe": "bash test/probe/run.sh",
|