@shuind/dsh-codex-harness 0.2.21 → 0.2.32-dsh-v0.2.2-rc.1

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.
Files changed (128) hide show
  1. package/CHANGELOG.md +121 -0
  2. package/README.md +48 -38
  3. package/RELEASE.md +61 -0
  4. package/assets/codex.svg +5 -0
  5. package/cordis.patch.yml +150 -6
  6. package/docs/preset-library.md +39 -23
  7. package/docs/tool-policy-benchmark.json +310 -0
  8. package/docs/tool-policy.md +144 -0
  9. package/lib/client.js +1639 -111
  10. package/lib/compaction.js +17 -2
  11. package/lib/index.js +799 -188
  12. package/lib/installer.js +50 -6
  13. package/lib/preferences.js +111 -0
  14. package/lib/tool-policy.js +2235 -0
  15. package/lib/typert.js +57 -10
  16. package/lib/types/activity.d.ts +1 -1
  17. package/lib/types/activity.js +50 -14
  18. package/lib/types/client/activity.d.ts +33 -9
  19. package/lib/types/client/desktop.d.ts +43 -0
  20. package/lib/types/client/desktop.js +121 -0
  21. package/lib/types/client/entry.d.ts +10 -0
  22. package/lib/types/client/entry.js +12 -0
  23. package/lib/types/client/index.d.ts +109 -19
  24. package/lib/types/client/index.js +21 -40
  25. package/lib/types/client/policy-drafts.d.ts +25 -0
  26. package/lib/types/client/policy-drafts.js +47 -0
  27. package/lib/types/client/preset-copy.d.ts +1 -0
  28. package/lib/types/client/preset-copy.js +2 -0
  29. package/lib/types/client/preset-manager.d.ts +12 -2
  30. package/lib/types/client/preset-manager.js +70 -25
  31. package/lib/types/client/preset-requests.d.ts +12 -0
  32. package/lib/types/client/preset-requests.js +101 -0
  33. package/lib/types/client/session.d.ts +6 -0
  34. package/lib/types/client/session.js +9 -0
  35. package/lib/types/client/tool-policy.d.ts +120 -0
  36. package/lib/types/client/tool-policy.js +394 -0
  37. package/lib/types/compaction.d.ts +3 -3
  38. package/lib/types/compaction.js +6 -2
  39. package/lib/types/desktop-preset.d.ts +20 -0
  40. package/lib/types/desktop-preset.js +39 -0
  41. package/lib/types/exec.d.ts +4 -0
  42. package/lib/types/exec.js +192 -66
  43. package/lib/types/host-settings.d.ts +4 -0
  44. package/lib/types/host-settings.js +13 -0
  45. package/lib/types/index.d.ts +20 -2
  46. package/lib/types/index.js +181 -68
  47. package/lib/types/installer.js +11 -2
  48. package/lib/types/preferences.d.ts +11 -0
  49. package/lib/types/preferences.js +16 -0
  50. package/lib/types/preset-editor-remote.d.ts +2 -0
  51. package/lib/types/preset-editor-remote.js +6 -2
  52. package/lib/types/preset-editor.d.ts +12 -7
  53. package/lib/types/preset-editor.js +43 -13
  54. package/lib/types/preset-prompt-catalog-schema.d.ts +16 -0
  55. package/lib/types/preset-prompt-catalog-schema.js +11 -0
  56. package/lib/types/preset-prompt-catalog.d.ts +21 -0
  57. package/lib/types/preset-prompt-catalog.js +192 -0
  58. package/lib/types/preset-prompt-contract.d.ts +22 -0
  59. package/lib/types/preset-prompt-contract.js +3 -0
  60. package/lib/types/preset-tool-catalog-schema.d.ts +38 -0
  61. package/lib/types/preset-tool-catalog-schema.js +28 -0
  62. package/lib/types/preset-tool-catalog.d.ts +5 -0
  63. package/lib/types/preset-tool-catalog.js +51 -0
  64. package/lib/types/prompt-sections.d.ts +1 -1
  65. package/lib/types/prompt-sections.js +9 -3
  66. package/lib/types/prompt.js +4 -2
  67. package/lib/types/remote.js +23 -8
  68. package/lib/types/settings.d.ts +3 -3
  69. package/lib/types/settings.js +3 -3
  70. package/lib/types/tool-capabilities.d.ts +32 -0
  71. package/lib/types/tool-capabilities.js +42 -0
  72. package/lib/types/tool-policy-contract.d.ts +60 -0
  73. package/lib/types/tool-policy-contract.js +26 -0
  74. package/lib/types/tool-policy.d.ts +171 -0
  75. package/lib/types/tool-policy.js +367 -0
  76. package/lib/types/typert.host.d.ts +2 -2
  77. package/lib/types/typert.host.js +12 -2
  78. package/locale/en.json +6 -0
  79. package/locale/tool-policy/en.json +6 -0
  80. package/locale/tool-policy/zh.json +6 -0
  81. package/locale/zh.json +6 -0
  82. package/package.json +375 -299
  83. package/scripts/benchmark-tool-policy.mjs +186 -0
  84. package/scripts/build-preset.mjs +19 -0
  85. package/scripts/clean-build.mjs +11 -0
  86. package/src/activity-types.ts +7 -0
  87. package/src/activity.ts +158 -0
  88. package/src/client/activity.ts +82 -0
  89. package/src/client/desktop.tsx +162 -0
  90. package/src/client/entry.tsx +16 -0
  91. package/src/client/index.tsx +972 -0
  92. package/src/client/policy-drafts.ts +56 -0
  93. package/src/client/preset-copy.ts +83 -0
  94. package/src/client/preset-manager.tsx +281 -0
  95. package/src/client/preset-requests.ts +113 -0
  96. package/src/client/session.ts +11 -0
  97. package/src/client/tool-policy.tsx +380 -0
  98. package/src/compact-command.ts +112 -0
  99. package/src/compaction.ts +190 -0
  100. package/src/context.ts +15 -0
  101. package/src/desktop-preset.ts +55 -0
  102. package/src/exec.ts +570 -0
  103. package/src/host-settings.ts +17 -0
  104. package/src/index.ts +1097 -0
  105. package/src/installer.ts +172 -0
  106. package/src/invariant.ts +34 -0
  107. package/src/patch.ts +258 -0
  108. package/src/preferences.ts +17 -0
  109. package/src/preset-contract.ts +85 -0
  110. package/src/preset-editor-remote.ts +41 -0
  111. package/src/preset-editor.ts +502 -0
  112. package/src/preset-prompt-catalog-schema.ts +10 -0
  113. package/src/preset-prompt-catalog.ts +191 -0
  114. package/src/preset-prompt-contract.ts +21 -0
  115. package/src/preset-tool-catalog-schema.ts +28 -0
  116. package/src/preset-tool-catalog.ts +51 -0
  117. package/src/prompt-sections.ts +33 -0
  118. package/src/prompt.ts +62 -0
  119. package/src/remote.ts +748 -0
  120. package/src/settings.ts +79 -0
  121. package/src/tool-capabilities.ts +76 -0
  122. package/src/tool-policy-contract.ts +76 -0
  123. package/src/tool-policy.ts +388 -0
  124. package/src/typert.host.ts +119 -0
  125. package/tsconfig.json +29 -0
  126. package/tsdown.config.ts +110 -0
  127. package/lib/types/preset-templates.d.ts +0 -36
  128. package/lib/types/preset-templates.js +0 -12
package/package.json CHANGED
@@ -1,299 +1,375 @@
1
- {
2
- "name": "@shuind/dsh-codex-harness",
3
- "version": "0.2.21",
4
- "packageManager": "pnpm@9.15.9",
5
- "description": "Codex coding preset with customizable prompts and tools for DSH.",
6
- "type": "module",
7
- "main": "lib/index.js",
8
- "types": "lib/types/index.d.ts",
9
- "exports": {
10
- ".": {
11
- "types": "./lib/types/index.d.ts",
12
- "default": "./lib/index.js"
13
- },
14
- "./invariant": {
15
- "types": "./lib/types/invariant.d.ts",
16
- "default": "./lib/invariant.js"
17
- },
18
- "./installer": {
19
- "types": "./lib/types/installer.d.ts",
20
- "default": "./lib/installer.js"
21
- },
22
- "./compaction": {
23
- "types": "./lib/types/compaction.d.ts",
24
- "default": "./lib/compaction.js"
25
- },
26
- "./compact-command": {
27
- "types": "./lib/types/compact-command.d.ts",
28
- "default": "./lib/types/compact-command.js"
29
- },
30
- "./prompt-sections": {
31
- "types": "./lib/types/prompt-sections.d.ts",
32
- "default": "./lib/types/prompt-sections.js"
33
- },
34
- "./typert": {
35
- "types": "./lib/types/typert.host.d.ts",
36
- "default": "./lib/typert.js"
37
- },
38
- "./client": {
39
- "types": "./lib/types/client/index.d.ts",
40
- "default": "./lib/client.js"
41
- },
42
- "./cordis.patch.yml": "./cordis.patch.yml",
43
- "./src/*": "./src/*",
44
- "./package.json": "./package.json"
45
- },
46
- "files": [
47
- "docs/preset-library.md",
48
- "lib/index.js",
49
- "lib/invariant.js",
50
- "lib/installer.js",
51
- "lib/compaction.js",
52
- "lib/typert.js",
53
- "lib/types/**/*.js",
54
- "lib/types/**/*.d.ts",
55
- "lib/client.js",
56
- "cordis.patch.yml",
57
- "presets/codex-collaboration",
58
- "README.md",
59
- "README.zh.md",
60
- "LICENSE"
61
- ],
62
- "scripts": {
63
- "build": "tsc --noCheck -p tsconfig.json && tsdown",
64
- "check": "tsc -p tsconfig.json --noEmit",
65
- "test": "vitest run",
66
- "pack:check": "npm pack --dry-run",
67
- "prepare": "npm run build"
68
- },
69
- "repository": {
70
- "type": "git",
71
- "url": "git+https://github.com/shuind/dsh-codex-harness.git"
72
- },
73
- "keywords": [
74
- "dsh-plugin",
75
- "deepseek-harness",
76
- "codex",
77
- "agent"
78
- ],
79
- "publishConfig": {
80
- "access": "public"
81
- },
82
- "license": "MIT",
83
- "dsh": {
84
- "engines": {
85
- "dsh": "0.1.5-rc.2"
86
- },
87
- "bundle": {
88
- "patch": "./cordis.patch.yml"
89
- },
90
- "client": {
91
- "inject": [
92
- "@deepseek-ai/dsh-client-locale",
93
- "@deepseek-ai/dsh-client-runtime",
94
- "@deepseek-ai/dsh-api-remotes",
95
- "@deepseek-ai/dsh-client-ui-conversation",
96
- "@deepseek-ai/dsh-client-ui-commands",
97
- "@deepseek-ai/dsh-client-ui-settings",
98
- "@deepseek-ai/dsh-client-ui-settings-plugins"
99
- ],
100
- "platform": "web"
101
- }
102
- },
103
- "dependencies": {
104
- "@deepseek-ai/schemastery": "^3.18.1",
105
- "yaml": "2.8.1",
106
- "zod": "^4.4.3"
107
- },
108
- "peerDependencies": {
109
- "@deepseek-ai/cordis": ">=4.0.1",
110
- "@deepseek-ai/dsh-agent": ">=0.1.0-rc.6",
111
- "@deepseek-ai/dsh-agent-presets": ">=0.1.5-rc.2",
112
- "@deepseek-ai/dsh-api-remotes": ">=0.1.5-rc.2",
113
- "@deepseek-ai/dsh-atomic-write": ">=0.1.5-rc.2",
114
- "@deepseek-ai/dsh-client-locale": ">=0.1.0-rc.8",
115
- "@deepseek-ai/dsh-client-runtime": ">=0.1.0-rc.8",
116
- "@deepseek-ai/dsh-client-ui-commands": ">=0.1.0-rc.8",
117
- "@deepseek-ai/dsh-client-ui-conversation": ">=0.1.0-rc.8",
118
- "@deepseek-ai/dsh-client-ui-settings": ">=0.1.0-rc.8",
119
- "@deepseek-ai/dsh-client-ui-settings-plugins": ">=0.1.0-rc.8",
120
- "@deepseek-ai/dsh-client-ui-slots": ">=0.1.0-rc.8",
121
- "@deepseek-ai/dsh-commands": ">=0.1.0-rc.8",
122
- "@deepseek-ai/dsh-compaction": ">=0.1.0-rc.8",
123
- "@deepseek-ai/dsh-compaction-basic": ">=0.1.0-rc.8",
124
- "@deepseek-ai/dsh-compaction-tool-result-pruner": ">=0.1.0-rc.8",
125
- "@deepseek-ai/dsh-credentials": ">=0.1.0-rc.8",
126
- "@deepseek-ai/dsh-fs": ">=0.0.1-rc.1",
127
- "@deepseek-ai/dsh-invariants": ">=0.0.1-rc.1",
128
- "@deepseek-ai/dsh-jobs": ">=0.1.0-rc.8",
129
- "@deepseek-ai/dsh-llm": ">=0.1.0-rc.8",
130
- "@deepseek-ai/dsh-persona": ">=0.1.3-alpha.2",
131
- "@deepseek-ai/dsh-sandbox": ">=0.0.1-rc.1",
132
- "@deepseek-ai/dsh-sandbox-policy": ">=0.0.1-rc.1",
133
- "@deepseek-ai/dsh-session": ">=0.1.0-rc.8",
134
- "@deepseek-ai/dsh-settings": ">=0.1.0-rc.8",
135
- "@deepseek-ai/dsh-shell": ">=0.0.1-rc.5",
136
- "@deepseek-ai/dsh-shell-env": ">=0.0.1-rc.3",
137
- "@deepseek-ai/dsh-system-prompt": ">=0.0.1-rc.1",
138
- "@deepseek-ai/dsh-terminal": ">=0.0.1-rc.3",
139
- "@deepseek-ai/dsh-token-meter": ">=0.1.0-rc.8",
140
- "@deepseek-ai/dsh-tool-jobs": ">=0.1.0-rc.8",
141
- "@deepseek-ai/dsh-tool-todo": ">=0.0.1-rc.1",
142
- "@deepseek-ai/dsh-tool-web": ">=0.1.0-rc.8",
143
- "@deepseek-ai/dsh-tools": ">=0.0.1-rc.1",
144
- "@deepseek-ai/dsh-typert-protocol": ">=0.1.5-rc.2"
145
- },
146
- "peerDependenciesMeta": {
147
- "@deepseek-ai/cordis": {
148
- "optional": true
149
- },
150
- "@deepseek-ai/dsh-agent": {
151
- "optional": true
152
- },
153
- "@deepseek-ai/dsh-agent-presets": {
154
- "optional": true
155
- },
156
- "@deepseek-ai/dsh-api-remotes": {
157
- "optional": true
158
- },
159
- "@deepseek-ai/dsh-atomic-write": {
160
- "optional": true
161
- },
162
- "@deepseek-ai/dsh-client-locale": {
163
- "optional": true
164
- },
165
- "@deepseek-ai/dsh-client-runtime": {
166
- "optional": true
167
- },
168
- "@deepseek-ai/dsh-client-ui-conversation": {
169
- "optional": true
170
- },
171
- "@deepseek-ai/dsh-client-ui-commands": {
172
- "optional": true
173
- },
174
- "@deepseek-ai/dsh-commands": {
175
- "optional": true
176
- },
177
- "@deepseek-ai/dsh-client-ui-settings": {
178
- "optional": true
179
- },
180
- "@deepseek-ai/dsh-client-ui-settings-plugins": {
181
- "optional": true
182
- },
183
- "@deepseek-ai/dsh-client-ui-slots": {
184
- "optional": true
185
- },
186
- "@deepseek-ai/dsh-compaction": {
187
- "optional": true
188
- },
189
- "@deepseek-ai/dsh-compaction-basic": {
190
- "optional": true
191
- },
192
- "@deepseek-ai/dsh-compaction-tool-result-pruner": {
193
- "optional": true
194
- },
195
- "@deepseek-ai/dsh-credentials": {
196
- "optional": true
197
- },
198
- "@deepseek-ai/dsh-fs": {
199
- "optional": true
200
- },
201
- "@deepseek-ai/dsh-invariants": {
202
- "optional": true
203
- },
204
- "@deepseek-ai/dsh-jobs": {
205
- "optional": true
206
- },
207
- "@deepseek-ai/dsh-llm": {
208
- "optional": true
209
- },
210
- "@deepseek-ai/dsh-persona": {
211
- "optional": true
212
- },
213
- "@deepseek-ai/dsh-settings": {
214
- "optional": true
215
- },
216
- "@deepseek-ai/dsh-sandbox": {
217
- "optional": true
218
- },
219
- "@deepseek-ai/dsh-sandbox-policy": {
220
- "optional": true
221
- },
222
- "@deepseek-ai/dsh-session": {
223
- "optional": true
224
- },
225
- "@deepseek-ai/dsh-shell": {
226
- "optional": true
227
- },
228
- "@deepseek-ai/dsh-shell-env": {
229
- "optional": true
230
- },
231
- "@deepseek-ai/dsh-system-prompt": {
232
- "optional": true
233
- },
234
- "@deepseek-ai/dsh-tool-web": {
235
- "optional": true
236
- },
237
- "@deepseek-ai/dsh-tool-todo": {
238
- "optional": true
239
- },
240
- "@deepseek-ai/dsh-terminal": {
241
- "optional": true
242
- },
243
- "@deepseek-ai/dsh-tool-jobs": {
244
- "optional": true
245
- },
246
- "@deepseek-ai/dsh-token-meter": {
247
- "optional": true
248
- },
249
- "@deepseek-ai/dsh-tools": {
250
- "optional": true
251
- },
252
- "@deepseek-ai/dsh-typert-protocol": {
253
- "optional": true
254
- }
255
- },
256
- "devDependencies": {
257
- "@deepseek-ai/cordis": "4.0.1",
258
- "@deepseek-ai/cordis-plugin-include": "1.0.6",
259
- "@deepseek-ai/cordis-plugin-loader": "1.0.2",
260
- "@deepseek-ai/dsh-agent": "0.1.0-rc.6",
261
- "@deepseek-ai/dsh-atomic-write": "0.1.5-rc.2",
262
- "@deepseek-ai/dsh-client-locale": "0.1.0-rc.8",
263
- "@deepseek-ai/dsh-client-runtime": "0.1.0-rc.8",
264
- "@deepseek-ai/dsh-client-ui-conversation": "0.1.0-rc.8",
265
- "@deepseek-ai/dsh-client-ui-settings": "0.1.0-rc.8",
266
- "@deepseek-ai/dsh-client-ui-slots": "0.1.0-rc.8",
267
- "@deepseek-ai/dsh-compaction": "0.1.1-rc.2",
268
- "@deepseek-ai/dsh-compaction-basic": "0.1.1-rc.2",
269
- "@deepseek-ai/dsh-compaction-tool-result-pruner": "0.1.1-rc.2",
270
- "@deepseek-ai/dsh-credentials": "0.1.0-rc.8",
271
- "@deepseek-ai/dsh-fs": "0.1.0-rc.6",
272
- "@deepseek-ai/dsh-invariants": "0.1.0-rc.6",
273
- "@deepseek-ai/dsh-jobs": "0.1.0-rc.8",
274
- "@deepseek-ai/dsh-llm": "0.1.0-rc.8",
275
- "@deepseek-ai/dsh-sandbox": "0.1.0-rc.6",
276
- "@deepseek-ai/dsh-sandbox-policy": "0.1.0-rc.6",
277
- "@deepseek-ai/dsh-session": "0.1.1-rc.2",
278
- "@deepseek-ai/dsh-settings": "0.1.0-rc.8",
279
- "@deepseek-ai/dsh-shell": "0.1.0-rc.6",
280
- "@deepseek-ai/dsh-shell-env": "0.1.0-rc.6",
281
- "@deepseek-ai/dsh-system-prompt": "0.1.0-rc.6",
282
- "@deepseek-ai/dsh-terminal": "0.1.0-rc.6",
283
- "@deepseek-ai/dsh-token-meter": "0.1.1-rc.2",
284
- "@deepseek-ai/dsh-tool-jobs": "0.1.0-rc.8",
285
- "@deepseek-ai/dsh-tool-todo": "0.1.0-rc.6",
286
- "@deepseek-ai/dsh-tool-web": "0.1.0-rc.8",
287
- "@deepseek-ai/dsh-tools": "0.1.0-rc.6",
288
- "@deepseek-ai/dsh-typert-protocol": "0.1.5-rc.2",
289
- "@types/node": "^22.20.0",
290
- "@types/react": "~18.3.1",
291
- "@types/react-dom": "~18.3.0",
292
- "react": "^18.3.1",
293
- "react-dom": "^18.3.1",
294
- "tsdown": "^0.22.2",
295
- "typescript": "^6.0.3",
296
- "unrun": "^0.3.1",
297
- "vitest": "^4.1.8"
298
- }
299
- }
1
+ {
2
+ "name": "@shuind/dsh-codex-harness",
3
+ "version": "0.2.32-dsh-v0.2.2-rc.1",
4
+ "description": "Customizable Codex coding preset, tools and Responses enhancements for DeepSeek Harness.",
5
+ "type": "module",
6
+ "main": "lib/index.js",
7
+ "types": "lib/types/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./lib/types/index.d.ts",
11
+ "default": "./lib/index.js"
12
+ },
13
+ "./invariant": {
14
+ "types": "./lib/types/invariant.d.ts",
15
+ "default": "./lib/invariant.js"
16
+ },
17
+ "./installer": {
18
+ "types": "./lib/types/installer.d.ts",
19
+ "default": "./lib/installer.js"
20
+ },
21
+ "./preferences": {
22
+ "types": "./lib/types/preferences.d.ts",
23
+ "default": "./lib/preferences.js"
24
+ },
25
+ "./compaction": {
26
+ "types": "./lib/types/compaction.d.ts",
27
+ "default": "./lib/compaction.js"
28
+ },
29
+ "./tool-policy": {
30
+ "types": "./lib/types/tool-policy.d.ts",
31
+ "default": "./lib/tool-policy.js"
32
+ },
33
+ "./tool-policy/locale/*.json": "./locale/tool-policy/*.json",
34
+ "./tool-policy/icon": "./assets/codex.svg",
35
+ "./compact-command": {
36
+ "types": "./lib/types/compact-command.d.ts",
37
+ "default": "./lib/types/compact-command.js"
38
+ },
39
+ "./prompt-sections": {
40
+ "types": "./lib/types/prompt-sections.d.ts",
41
+ "default": "./lib/types/prompt-sections.js"
42
+ },
43
+ "./typert": {
44
+ "types": "./lib/types/typert.host.d.ts",
45
+ "default": "./lib/typert.js"
46
+ },
47
+ "./client": {
48
+ "types": "./lib/types/client/entry.d.ts",
49
+ "default": "./lib/client.js"
50
+ },
51
+ "./locale/*.json": "./locale/*.json",
52
+ "./icon": "./assets/codex.svg",
53
+ "./preferences/locale/*.json": "./locale/*.json",
54
+ "./preferences/icon": "./assets/codex.svg",
55
+ "./installer/locale/*.json": "./locale/*.json",
56
+ "./installer/icon": "./assets/codex.svg",
57
+ "./cordis.patch.yml": "./cordis.patch.yml",
58
+ "./src/*": "./src/*",
59
+ "./package.json": "./package.json"
60
+ },
61
+ "files": [
62
+ "docs/preset-library.md",
63
+ "docs/tool-policy.md",
64
+ "docs/tool-policy-benchmark.json",
65
+ "lib/index.js",
66
+ "lib/invariant.js",
67
+ "lib/installer.js",
68
+ "lib/preferences.js",
69
+ "lib/compaction.js",
70
+ "lib/tool-policy.js",
71
+ "lib/typert.js",
72
+ "lib/types/**/*.js",
73
+ "lib/types/**/*.d.ts",
74
+ "lib/client.js",
75
+ "src",
76
+ "scripts/build-preset.mjs",
77
+ "scripts/clean-build.mjs",
78
+ "scripts/benchmark-tool-policy.mjs",
79
+ "tsconfig.json",
80
+ "tsdown.config.ts",
81
+ "cordis.patch.yml",
82
+ "presets/codex-collaboration",
83
+ "locale/*.json",
84
+ "locale/tool-policy/*.json",
85
+ "assets/codex.svg",
86
+ "README.md",
87
+ "README.zh.md",
88
+ "CHANGELOG.md",
89
+ "RELEASE.md",
90
+ "LICENSE"
91
+ ],
92
+ "repository": {
93
+ "type": "git",
94
+ "url": "git+https://github.com/shuind/dsh-codex-harness.git"
95
+ },
96
+ "keywords": [
97
+ "dsh-plugin",
98
+ "deepseek-harness",
99
+ "codex",
100
+ "agent"
101
+ ],
102
+ "publishConfig": {
103
+ "access": "public"
104
+ },
105
+ "license": "MIT",
106
+ "dsh": {
107
+ "engines": {
108
+ "dsh": "0.2.2-rc.1"
109
+ },
110
+ "bundle": {
111
+ "patch": "./cordis.patch.yml"
112
+ },
113
+ "client": {
114
+ "inject": [
115
+ "@deepseek-ai/dsh-client-locale",
116
+ "@deepseek-ai/dsh-api-remotes",
117
+ "@deepseek-ai/dsh-client-ui-conversation",
118
+ "@deepseek-ai/dsh-client-ui-commands",
119
+ "@deepseek-ai/dsh-client-ui-settings",
120
+ "@deepseek-ai/dsh-client-ui-plugin-manager"
121
+ ],
122
+ "platform": "web"
123
+ }
124
+ },
125
+ "dependencies": {
126
+ "@deepseek-ai/schemastery": "~3.19.0",
127
+ "yaml": "2.8.1",
128
+ "zod": "4.4.3"
129
+ },
130
+ "peerDependencies": {
131
+ "@deepseek-ai/cordis": "~4.1.0",
132
+ "@deepseek-ai/dsh-agent": "0.2.2-rc.1",
133
+ "@deepseek-ai/dsh-agent-preset": "0.2.2-rc.1",
134
+ "@deepseek-ai/dsh-agent-preset-registry": "0.2.2-rc.1",
135
+ "@deepseek-ai/dsh-api-remotes": "0.2.2-rc.1",
136
+ "@deepseek-ai/dsh-atomic-write": "0.2.2-rc.1",
137
+ "@deepseek-ai/dsh-client-locale": "0.2.2-rc.1",
138
+ "@deepseek-ai/dsh-client-ui-commands": "0.2.2-rc.1",
139
+ "@deepseek-ai/dsh-client-ui-conversation": "0.2.2-rc.1",
140
+ "@deepseek-ai/dsh-client-ui-plugin-manager": "0.2.2-rc.1",
141
+ "@deepseek-ai/dsh-client-ui-settings": "0.2.2-rc.1",
142
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.1",
143
+ "@deepseek-ai/dsh-commands": "0.2.2-rc.1",
144
+ "@deepseek-ai/dsh-compaction": "0.2.2-rc.1",
145
+ "@deepseek-ai/dsh-compaction-basic": "0.2.2-rc.1",
146
+ "@deepseek-ai/dsh-compaction-tool-result-pruner": "0.2.2-rc.1",
147
+ "@deepseek-ai/dsh-credentials": "0.2.2-rc.1",
148
+ "@deepseek-ai/dsh-fs": "0.2.2-rc.1",
149
+ "@deepseek-ai/dsh-jobs": "0.2.2-rc.1",
150
+ "@deepseek-ai/dsh-llm": "0.2.2-rc.1",
151
+ "@deepseek-ai/dsh-persona": "0.2.2-rc.1",
152
+ "@deepseek-ai/dsh-sandbox": "0.2.2-rc.1",
153
+ "@deepseek-ai/dsh-sandbox-policy": "0.2.2-rc.1",
154
+ "@deepseek-ai/dsh-scope": "0.2.2-rc.1",
155
+ "@deepseek-ai/dsh-session": "0.2.2-rc.1",
156
+ "@deepseek-ai/dsh-session-projection": "0.2.2-rc.1",
157
+ "@deepseek-ai/dsh-settings": "0.2.2-rc.1",
158
+ "@deepseek-ai/dsh-shell": "0.2.2-rc.1",
159
+ "@deepseek-ai/dsh-shell-env": "0.2.2-rc.1",
160
+ "@deepseek-ai/dsh-system-prompt": "0.2.2-rc.1",
161
+ "@deepseek-ai/dsh-terminal": "0.2.2-rc.1",
162
+ "@deepseek-ai/dsh-token-meter": "0.2.2-rc.1",
163
+ "@deepseek-ai/dsh-tool-jobs": "0.2.2-rc.1",
164
+ "@deepseek-ai/dsh-tool-todo": "0.2.2-rc.1",
165
+ "@deepseek-ai/dsh-tool-web": "0.2.2-rc.1",
166
+ "@deepseek-ai/dsh-tools": "0.2.2-rc.1",
167
+ "@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.1"
168
+ },
169
+ "peerDependenciesMeta": {
170
+ "@deepseek-ai/cordis": {
171
+ "optional": true
172
+ },
173
+ "@deepseek-ai/dsh-agent": {
174
+ "optional": true
175
+ },
176
+ "@deepseek-ai/dsh-agent-preset": {
177
+ "optional": true
178
+ },
179
+ "@deepseek-ai/dsh-agent-preset-registry": {
180
+ "optional": true
181
+ },
182
+ "@deepseek-ai/dsh-api-remotes": {
183
+ "optional": true
184
+ },
185
+ "@deepseek-ai/dsh-atomic-write": {
186
+ "optional": true
187
+ },
188
+ "@deepseek-ai/dsh-client-locale": {
189
+ "optional": true
190
+ },
191
+ "@deepseek-ai/dsh-client-ui-commands": {
192
+ "optional": true
193
+ },
194
+ "@deepseek-ai/dsh-client-ui-conversation": {
195
+ "optional": true
196
+ },
197
+ "@deepseek-ai/dsh-client-ui-plugin-manager": {
198
+ "optional": true
199
+ },
200
+ "@deepseek-ai/dsh-client-ui-settings": {
201
+ "optional": true
202
+ },
203
+ "@deepseek-ai/dsh-client-ui-slots": {
204
+ "optional": true
205
+ },
206
+ "@deepseek-ai/dsh-commands": {
207
+ "optional": true
208
+ },
209
+ "@deepseek-ai/dsh-compaction": {
210
+ "optional": true
211
+ },
212
+ "@deepseek-ai/dsh-compaction-basic": {
213
+ "optional": true
214
+ },
215
+ "@deepseek-ai/dsh-compaction-tool-result-pruner": {
216
+ "optional": true
217
+ },
218
+ "@deepseek-ai/dsh-credentials": {
219
+ "optional": true
220
+ },
221
+ "@deepseek-ai/dsh-fs": {
222
+ "optional": true
223
+ },
224
+ "@deepseek-ai/dsh-jobs": {
225
+ "optional": true
226
+ },
227
+ "@deepseek-ai/dsh-llm": {
228
+ "optional": true
229
+ },
230
+ "@deepseek-ai/dsh-persona": {
231
+ "optional": true
232
+ },
233
+ "@deepseek-ai/dsh-sandbox": {
234
+ "optional": true
235
+ },
236
+ "@deepseek-ai/dsh-sandbox-policy": {
237
+ "optional": true
238
+ },
239
+ "@deepseek-ai/dsh-scope": {
240
+ "optional": true
241
+ },
242
+ "@deepseek-ai/dsh-session": {
243
+ "optional": true
244
+ },
245
+ "@deepseek-ai/dsh-session-projection": {
246
+ "optional": true
247
+ },
248
+ "@deepseek-ai/dsh-settings": {
249
+ "optional": true
250
+ },
251
+ "@deepseek-ai/dsh-shell": {
252
+ "optional": true
253
+ },
254
+ "@deepseek-ai/dsh-shell-env": {
255
+ "optional": true
256
+ },
257
+ "@deepseek-ai/dsh-system-prompt": {
258
+ "optional": true
259
+ },
260
+ "@deepseek-ai/dsh-terminal": {
261
+ "optional": true
262
+ },
263
+ "@deepseek-ai/dsh-token-meter": {
264
+ "optional": true
265
+ },
266
+ "@deepseek-ai/dsh-tool-jobs": {
267
+ "optional": true
268
+ },
269
+ "@deepseek-ai/dsh-tool-todo": {
270
+ "optional": true
271
+ },
272
+ "@deepseek-ai/dsh-tool-web": {
273
+ "optional": true
274
+ },
275
+ "@deepseek-ai/dsh-tools": {
276
+ "optional": true
277
+ },
278
+ "@deepseek-ai/dsh-typert-protocol": {
279
+ "optional": true
280
+ }
281
+ },
282
+ "devDependencies": {
283
+ "@deepseek-ai/cordis": "4.1.0",
284
+ "@deepseek-ai/cordis-plugin-group": "1.1.0",
285
+ "@deepseek-ai/cordis-plugin-include": "1.1.0",
286
+ "@deepseek-ai/cordis-plugin-loader": "1.1.0",
287
+ "@deepseek-ai/dsh-api-session-controller": "0.2.2-rc.1",
288
+ "@deepseek-ai/dsh-tool-fs": "0.2.2-rc.1",
289
+ "@deepseek-ai/dsh-tool-fs-search": "0.2.2-rc.1",
290
+ "@deepseek-ai/dsh-tool-pwsh": "0.2.2-rc.1",
291
+ "js-tiktoken": "^1.0.21",
292
+ "@deepseek-ai/dsh-fs-local": "0.2.2-rc.1",
293
+ "@deepseek-ai/dsh-llm-pi-ai": "0.2.2-rc.1",
294
+ "@deepseek-ai/dsh-subprocess-local": "0.2.2-rc.1",
295
+ "@deepseek-ai/dsh-pwsh-local": "0.2.2-rc.1",
296
+ "@deepseek-ai/dsh-client-store": "0.2.2-rc.1",
297
+ "@deepseek-ai/dsh-client-ui-session": "0.2.2-rc.1",
298
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.2-rc.1",
299
+ "@deepseek-ai/dsh-agent-instructions": "0.2.2-rc.1",
300
+ "@deepseek-ai/dsh-terminal-bash": "0.2.2-rc.1",
301
+ "@deepseek-ai/dsh-skill-filesystem": "0.2.2-rc.1",
302
+ "@deepseek-ai/dsh-tool-skill": "0.2.2-rc.1",
303
+ "@deepseek-ai/dsh-tool-goal": "0.2.2-rc.1",
304
+ "@deepseek-ai/dsh-plan-mode": "0.2.2-rc.1",
305
+ "@deepseek-ai/dsh-tool-executor-native": "0.2.2-rc.1",
306
+ "@deepseek-ai/dsh-tool-subagent-control": "0.2.2-rc.1",
307
+ "@deepseek-ai/dsh-tool-subagent": "0.2.2-rc.1",
308
+ "@deepseek-ai/dsh-workflow-ptc": "0.2.2-rc.1",
309
+ "@deepseek-ai/dsh-tool-workflow": "0.2.2-rc.1",
310
+ "@deepseek-ai/dsh-tool-ralph": "0.2.2-rc.1",
311
+ "@deepseek-ai/dsh-tool-ask-user": "0.2.2-rc.1",
312
+ "@deepseek-ai/dsh-agent": "0.2.2-rc.1",
313
+ "@deepseek-ai/dsh-agent-preset": "0.2.2-rc.1",
314
+ "@deepseek-ai/dsh-agent-preset-registry": "0.2.2-rc.1",
315
+ "@deepseek-ai/dsh-api-remotes": "0.2.2-rc.1",
316
+ "@deepseek-ai/dsh-atomic-write": "0.2.2-rc.1",
317
+ "@deepseek-ai/dsh-brand": "0.2.2-rc.1",
318
+ "@deepseek-ai/dsh-attachment": "0.2.2-rc.1",
319
+ "@deepseek-ai/dsh-home-paths": "0.2.2-rc.1",
320
+ "@deepseek-ai/dsh-llm-retry": "0.2.2-rc.1",
321
+ "@deepseek-ai/dsh-subprocess": "0.2.2-rc.1",
322
+ "@deepseek-ai/dsh-timeout": "0.2.2-rc.1",
323
+ "@deepseek-ai/dsh-user-approval": "0.2.2-rc.1",
324
+ "@deepseek-ai/dsh-web": "0.2.2-rc.1",
325
+ "@deepseek-ai/dsh-client-locale": "0.2.2-rc.1",
326
+ "@deepseek-ai/dsh-client-ui-commands": "0.2.2-rc.1",
327
+ "@deepseek-ai/dsh-client-ui-conversation": "0.2.2-rc.1",
328
+ "@deepseek-ai/dsh-client-ui-plugin-manager": "0.2.2-rc.1",
329
+ "@deepseek-ai/dsh-client-ui-settings": "0.2.2-rc.1",
330
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.1",
331
+ "@deepseek-ai/dsh-commands": "0.2.2-rc.1",
332
+ "@deepseek-ai/dsh-compaction": "0.2.2-rc.1",
333
+ "@deepseek-ai/dsh-compaction-basic": "0.2.2-rc.1",
334
+ "@deepseek-ai/dsh-compaction-tool-result-pruner": "0.2.2-rc.1",
335
+ "@deepseek-ai/dsh-credentials": "0.2.2-rc.1",
336
+ "@deepseek-ai/dsh-fs": "0.2.2-rc.1",
337
+ "@deepseek-ai/dsh-jobs": "0.2.2-rc.1",
338
+ "@deepseek-ai/dsh-llm": "0.2.2-rc.1",
339
+ "@deepseek-ai/dsh-persona": "0.2.2-rc.1",
340
+ "@deepseek-ai/dsh-sandbox": "0.2.2-rc.1",
341
+ "@deepseek-ai/dsh-sandbox-policy": "0.2.2-rc.1",
342
+ "@deepseek-ai/dsh-scope": "0.2.2-rc.1",
343
+ "@deepseek-ai/dsh-session": "0.2.2-rc.1",
344
+ "@deepseek-ai/dsh-session-projection": "0.2.2-rc.1",
345
+ "@deepseek-ai/dsh-settings": "0.2.2-rc.1",
346
+ "@deepseek-ai/dsh-shell": "0.2.2-rc.1",
347
+ "@deepseek-ai/dsh-shell-env": "0.2.2-rc.1",
348
+ "@deepseek-ai/dsh-system-prompt": "0.2.2-rc.1",
349
+ "@deepseek-ai/dsh-terminal": "0.2.2-rc.1",
350
+ "@deepseek-ai/dsh-token-meter": "0.2.2-rc.1",
351
+ "@deepseek-ai/dsh-tool-jobs": "0.2.2-rc.1",
352
+ "@deepseek-ai/dsh-tool-todo": "0.2.2-rc.1",
353
+ "@deepseek-ai/dsh-tool-web": "0.2.2-rc.1",
354
+ "@deepseek-ai/dsh-tools": "0.2.2-rc.1",
355
+ "@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.1",
356
+ "@types/node": "^22.20.0",
357
+ "@types/react": "~18.3.1",
358
+ "@types/react-dom": "~18.3.0",
359
+ "react": "^18.3.1",
360
+ "react-dom": "^18.3.1",
361
+ "zustand": "~4.5.7",
362
+ "immer": "^10.1.1",
363
+ "tsdown": "^0.22.2",
364
+ "typescript": "^6.0.3",
365
+ "unrun": "^0.3.1",
366
+ "vitest": "^4.1.8"
367
+ },
368
+ "scripts": {
369
+ "build": "node scripts/clean-build.mjs && tsc --noCheck -p tsconfig.json && node scripts/build-preset.mjs && tsdown",
370
+ "check": "tsc -p tsconfig.json --noEmit",
371
+ "test": "vitest run --pool=threads",
372
+ "bench:tools": "node scripts/benchmark-tool-policy.mjs",
373
+ "pack:check": "npm pack --dry-run"
374
+ }
375
+ }