@dsh-electron/dsh-plugin-multi-root-workspace 0.1.0 → 0.1.2
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.en.md +89 -0
- package/CHANGELOG.md +89 -0
- package/README.en.md +96 -20
- package/README.md +97 -19
- package/cordis.patch.yml +22 -1
- package/lib/client.js +234 -71
- package/lib/client.js.map +1 -1
- package/lib/{command-BSkrYOAf.js → command-DyOWujPo.js} +24 -61
- package/lib/command.js +2 -2
- package/lib/compat-CRdv0vPw.js +272 -0
- package/lib/compat.js +2 -0
- package/lib/{fs-D7UoCb7T.js → fs-D_Sw3o5z.js} +7 -3
- package/lib/fs.js +1 -1
- package/lib/index.js +8 -6
- package/lib/instructions-Cn1Jj5Xi.js +703 -0
- package/lib/instructions.js +2 -0
- package/lib/registry-DySMbjgW.js +793 -0
- package/lib/registry-lease-win32-dy8TQMD9.js +93 -0
- package/lib/registry.js +2 -466
- package/lib/{sandbox-BhuMTDgH.js → sandbox-D8Fw95FM.js} +51 -4
- package/lib/sandbox.js +1 -1
- package/lib/scope.js +1 -1
- package/lib/types/client/locales.d.ts +6 -0
- package/lib/types/client/panel-client.d.ts +0 -2
- package/lib/types/command.d.ts +17 -0
- package/lib/types/compat/agent-instructions.d.ts +138 -0
- package/lib/types/compat/client-icons.d.ts +40 -0
- package/lib/types/compat/client-session.d.ts +32 -0
- package/lib/types/compat/dsh-version.d.ts +119 -0
- package/lib/types/compat/llm-message.d.ts +72 -0
- package/lib/types/compat/sandbox-confine.d.ts +58 -0
- package/lib/types/compat/tool-result.d.ts +29 -0
- package/lib/types/compat.d.ts +85 -0
- package/lib/types/contract.d.ts +6 -8
- package/lib/types/index.d.ts +19 -5
- package/lib/types/instructions.d.ts +125 -0
- package/lib/types/registry-lease-win32.d.ts +29 -0
- package/lib/types/registry-lease.d.ts +62 -0
- package/lib/types/registry.d.ts +130 -19
- package/lib/types/roots.d.ts +1 -1
- package/lib/types/sandbox.d.ts +22 -2
- package/package.json +60 -13
- package/lib/{roots-DyT2jgEP.js → roots-DasWEBJk.js} +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dsh-electron/dsh-plugin-multi-root-workspace",
|
|
3
3
|
"description": "Multi-root Workspace for DeepSeek Harness: adds N additional roots to the workspace sandbox scope as an out-of-tree bundle",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "lib/types/index.d.ts",
|
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
"types": "./lib/types/index.d.ts",
|
|
11
11
|
"default": "./lib/index.js"
|
|
12
12
|
},
|
|
13
|
+
"./compat": {
|
|
14
|
+
"types": "./lib/types/compat.d.ts",
|
|
15
|
+
"default": "./lib/compat.js"
|
|
16
|
+
},
|
|
13
17
|
"./fs": {
|
|
14
18
|
"types": "./lib/types/fs.d.ts",
|
|
15
19
|
"default": "./lib/fs.js"
|
|
@@ -26,6 +30,10 @@
|
|
|
26
30
|
"types": "./lib/types/registry.d.ts",
|
|
27
31
|
"default": "./lib/registry.js"
|
|
28
32
|
},
|
|
33
|
+
"./instructions": {
|
|
34
|
+
"types": "./lib/types/instructions.d.ts",
|
|
35
|
+
"default": "./lib/instructions.js"
|
|
36
|
+
},
|
|
29
37
|
"./command": {
|
|
30
38
|
"types": "./lib/types/command.d.ts",
|
|
31
39
|
"default": "./lib/command.js"
|
|
@@ -43,6 +51,8 @@
|
|
|
43
51
|
"cordis.patch.yml",
|
|
44
52
|
"README.md",
|
|
45
53
|
"README.en.md",
|
|
54
|
+
"CHANGELOG.md",
|
|
55
|
+
"CHANGELOG.en.md",
|
|
46
56
|
"LICENSE"
|
|
47
57
|
],
|
|
48
58
|
"publishConfig": {
|
|
@@ -58,20 +68,52 @@
|
|
|
58
68
|
"license": "MIT",
|
|
59
69
|
"peerDependencies": {
|
|
60
70
|
"@deepseek-ai/cordis": ">=4.0.1 <5.0.0",
|
|
61
|
-
"@deepseek-ai/dsh-
|
|
62
|
-
"@deepseek-ai/dsh-
|
|
63
|
-
"@deepseek-ai/dsh-
|
|
64
|
-
"@deepseek-ai/dsh-
|
|
65
|
-
"@deepseek-ai/dsh-
|
|
66
|
-
"@deepseek-ai/dsh-
|
|
67
|
-
"@deepseek-ai/dsh-
|
|
68
|
-
"@deepseek-ai/dsh-
|
|
69
|
-
"@deepseek-ai/dsh-
|
|
71
|
+
"@deepseek-ai/dsh-agent": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1",
|
|
72
|
+
"@deepseek-ai/dsh-agent-instructions": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1",
|
|
73
|
+
"@deepseek-ai/dsh-client-connection": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1",
|
|
74
|
+
"@deepseek-ai/dsh-commands": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1",
|
|
75
|
+
"@deepseek-ai/dsh-fs": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1",
|
|
76
|
+
"@deepseek-ai/dsh-fs-local": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1",
|
|
77
|
+
"@deepseek-ai/dsh-llm": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1",
|
|
78
|
+
"@deepseek-ai/dsh-sandbox": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1",
|
|
79
|
+
"@deepseek-ai/dsh-sandbox-local": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1",
|
|
80
|
+
"@deepseek-ai/dsh-sandbox-policy": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1",
|
|
81
|
+
"@deepseek-ai/dsh-session": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1",
|
|
82
|
+
"@deepseek-ai/dsh-storage-domain": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1",
|
|
83
|
+
"@deepseek-ai/dsh-subprocess": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1",
|
|
84
|
+
"@deepseek-ai/dsh-system-prompt": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1"
|
|
85
|
+
},
|
|
86
|
+
"peerDependenciesMeta": {
|
|
87
|
+
"@deepseek-ai/dsh-agent": {
|
|
88
|
+
"optional": true
|
|
89
|
+
},
|
|
90
|
+
"@deepseek-ai/dsh-agent-instructions": {
|
|
91
|
+
"optional": true
|
|
92
|
+
},
|
|
93
|
+
"@deepseek-ai/dsh-client-connection": {
|
|
94
|
+
"optional": true
|
|
95
|
+
},
|
|
96
|
+
"@deepseek-ai/dsh-commands": {
|
|
97
|
+
"optional": true
|
|
98
|
+
},
|
|
99
|
+
"@deepseek-ai/dsh-llm": {
|
|
100
|
+
"optional": true
|
|
101
|
+
},
|
|
102
|
+
"@deepseek-ai/dsh-session": {
|
|
103
|
+
"optional": true
|
|
104
|
+
},
|
|
105
|
+
"@deepseek-ai/dsh-subprocess": {
|
|
106
|
+
"optional": true
|
|
107
|
+
},
|
|
108
|
+
"@deepseek-ai/dsh-system-prompt": {
|
|
109
|
+
"optional": true
|
|
110
|
+
}
|
|
70
111
|
},
|
|
71
112
|
"devDependencies": {
|
|
72
113
|
"@deepseek-ai/cordis": "4.0.2",
|
|
73
114
|
"@deepseek-ai/dsh": "0.1.5-rc.2",
|
|
74
115
|
"@deepseek-ai/dsh-agent": "0.1.5-rc.2",
|
|
116
|
+
"@deepseek-ai/dsh-agent-instructions": "0.1.5-rc.2",
|
|
75
117
|
"@deepseek-ai/dsh-app-boot": "0.1.5-rc.2",
|
|
76
118
|
"@deepseek-ai/dsh-base": "0.1.5-rc.2",
|
|
77
119
|
"@deepseek-ai/dsh-client-connection": "0.1.5-rc.2",
|
|
@@ -85,6 +127,7 @@
|
|
|
85
127
|
"@deepseek-ai/dsh-fs": "0.1.5-rc.2",
|
|
86
128
|
"@deepseek-ai/dsh-fs-local": "0.1.5-rc.2",
|
|
87
129
|
"@deepseek-ai/dsh-fs-sandbox": "0.1.5-rc.2",
|
|
130
|
+
"@deepseek-ai/dsh-llm": "0.1.5-rc.2",
|
|
88
131
|
"@deepseek-ai/dsh-sandbox": "0.1.5-rc.2",
|
|
89
132
|
"@deepseek-ai/dsh-sandbox-local": "0.1.5-rc.2",
|
|
90
133
|
"@deepseek-ai/dsh-sandbox-policy": "0.1.5-rc.2",
|
|
@@ -124,12 +167,15 @@
|
|
|
124
167
|
}
|
|
125
168
|
},
|
|
126
169
|
"dependencies": {
|
|
127
|
-
"zod": "^4.6.2"
|
|
170
|
+
"zod": "^4.6.2",
|
|
171
|
+
"@deepseek-ai/node-addon-system": "^0.1.2",
|
|
172
|
+
"koffi": "^3.1.0"
|
|
128
173
|
},
|
|
129
174
|
"scripts": {
|
|
130
175
|
"build": "pnpm run build:types && pnpm run bundle",
|
|
131
176
|
"build:types": "tsc -p tsconfig.host.json && tsc -p tsconfig.client.json",
|
|
132
|
-
"bundle": "tsdown",
|
|
177
|
+
"bundle": "node scripts/clean-lib.mjs && tsdown",
|
|
178
|
+
"compat:check": "node scripts/check-dsh-compat.mjs",
|
|
133
179
|
"docs:check": "node scripts/check-docs.mjs",
|
|
134
180
|
"kernel:probe": "node scripts/check-kernel-runner.mjs",
|
|
135
181
|
"lint": "oxlint",
|
|
@@ -140,6 +186,7 @@
|
|
|
140
186
|
"smoke:journey": "node scripts/smoke-journey.mjs",
|
|
141
187
|
"test": "vitest run",
|
|
142
188
|
"test:watch": "vitest",
|
|
143
|
-
"typecheck": "tsc -p tsconfig.host.json --noEmit && tsc -p tsconfig.client.json --noEmit"
|
|
189
|
+
"typecheck": "tsc -p tsconfig.host.json --noEmit && tsc -p tsconfig.client.json --noEmit",
|
|
190
|
+
"verify:all": "pnpm lint && pnpm typecheck && pnpm build && pnpm kernel:probe && pnpm test && pnpm smoke"
|
|
144
191
|
}
|
|
145
192
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { canonicalPath } from "@deepseek-ai/dsh-sandbox";
|
|
2
1
|
import { isAbsolute, join, sep } from "node:path";
|
|
2
|
+
import { canonicalPath } from "@deepseek-ai/dsh-sandbox";
|
|
3
3
|
import { statSync } from "node:fs";
|
|
4
4
|
import { homedir } from "node:os";
|
|
5
5
|
//#region src/roots.ts
|