@xmoon76/dsh-pi-tui 0.5.4 → 0.5.6

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 (50) hide show
  1. package/README.en.md +46 -42
  2. package/README.md +46 -27
  3. package/cordis.patch.yml +77 -7
  4. package/dist/bootstrap-DQ4YPL-7.mjs +113583 -0
  5. package/dist/builtins.mjs +3 -9
  6. package/dist/{runtime-vc4mdr-R.mjs → client-bootstrap-Cr1JCaF5.mjs} +3670 -2277
  7. package/dist/disposal-BYBbEpVY.mjs +54 -0
  8. package/dist/dist-CIsR7cz4.mjs +15717 -0
  9. package/dist/{entry-control-DvSrndWd.mjs → entry-control-DnduyDiw.mjs} +12 -31
  10. package/dist/{extensions-CcuMY4n2.mjs → extensions-Bp0L37lP.mjs} +1239 -271
  11. package/dist/extensions.mjs +1 -1
  12. package/dist/host-bootstrap-DilsvA6f.mjs +281 -0
  13. package/dist/host-foundation-probe--5jtvHVe.mjs +413 -0
  14. package/dist/host-runtime.d.mts +30 -0
  15. package/dist/host-runtime.mjs +1317 -0
  16. package/dist/index.d.mts +19 -18
  17. package/dist/index.mjs +18410 -8836
  18. package/dist/local-client.mjs +2027 -187
  19. package/dist/local-discovery-C9VMjc0K.mjs +759 -0
  20. package/dist/local-discovery-CDaQHA_R.mjs +2 -0
  21. package/dist/local-host.mjs +1088 -87
  22. package/dist/local-transport-BVwFYq_Y.mjs +513 -0
  23. package/dist/{context-summary-DAisTA_7.mjs → pasted-path-range-CMnxuGPx.mjs} +7613 -216
  24. package/dist/pasted-path-range-r6qzV_tC.mjs +17510 -0
  25. package/dist/performance-host.d.mts +2 -2
  26. package/dist/performance-host.mjs +258 -1
  27. package/dist/pi-tui-remote-contribution-B0EQsP0N.mjs +85 -0
  28. package/dist/pi-tui-terminal-progress-contract-CdBH9j78.mjs +70 -0
  29. package/dist/pi-tui-terminal-progress-contract-MLXZ-i3t.mjs +905 -0
  30. package/dist/pi-tui-web-access-contract-BN8Cc_Ho.mjs +118 -0
  31. package/dist/{runtime-status-0lp9CM0V.mjs → runtime-status-Cj1nFOdS.mjs} +72 -214
  32. package/dist/session-BKGXyh80.mjs +15794 -0
  33. package/dist/{session-tdJHLnJR.mjs → session-CPt_U8_f.mjs} +10707 -3657
  34. package/dist/{startup-JaVZoTIl.mjs → startup-7BYWuvBU.mjs} +124 -8
  35. package/dist/startup.d.mts +1 -1
  36. package/dist/startup.mjs +1 -1
  37. package/dist/{client-bootstrap-F5DHFI9t.mjs → terminal-progress-source-DrqQhtT8.mjs} +3653 -2969
  38. package/dist/visual-tools.d.mts +2 -2
  39. package/dist/visual-tools.mjs +26 -31
  40. package/dist/web-preferences.d.mts +29 -0
  41. package/dist/web-preferences.mjs +15 -0
  42. package/dist/web-roster-CjqnUXNk.mjs +285 -0
  43. package/generated/dsh-presets/cordis.patch.yml +5 -3
  44. package/generated/dsh-presets/ptc.patch.yml +7 -7
  45. package/generated/dsh-presets/standard.patch.yml +6 -4
  46. package/package.json +195 -172
  47. package/dist/host-bootstrap-DAgKknbY.mjs +0 -119
  48. package/dist/performance-host-CcDJjjVA.mjs +0 -266
  49. package/dist/rolldown-runtime-8H4AJuhK.mjs +0 -14
  50. package/dist/terminal-progress-source-xor3vakJ.mjs +0 -2256
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmoon76/dsh-pi-tui",
3
- "version": "0.5.4",
3
+ "version": "0.5.6",
4
4
  "description": "The dsh-pi-tui bundle: a TUI surface for DeepSeek Harness profiles (dsh --profile pi-tui)",
5
5
  "license": "MIT",
6
6
  "author": "XMoon <xmoonox@gmail.com>",
@@ -52,10 +52,18 @@
52
52
  "types": "./dist/performance-host.d.mts",
53
53
  "default": "./dist/performance-host.mjs"
54
54
  },
55
+ "./host-runtime": {
56
+ "types": "./dist/host-runtime.d.mts",
57
+ "default": "./dist/host-runtime.mjs"
58
+ },
55
59
  "./visual-tools": {
56
60
  "types": "./dist/visual-tools.d.mts",
57
61
  "default": "./dist/visual-tools.mjs"
58
62
  },
63
+ "./web-preferences": {
64
+ "types": "./dist/web-preferences.d.mts",
65
+ "default": "./dist/web-preferences.mjs"
66
+ },
59
67
  "./cordis.patch.yml": "./cordis.patch.yml",
60
68
  "./package.json": "./package.json"
61
69
  },
@@ -83,182 +91,195 @@
83
91
  },
84
92
  "dependencies": {
85
93
  "@resvg/resvg-js": "2.6.2",
86
- "@stencil-hq/tern": "0.1.0",
94
+ "@stencil-hq/tern": "0.2.0",
87
95
  "chalk": "^5.4.1",
88
96
  "commander": "^15.0.0",
89
97
  "diff": "^9.0.0",
90
98
  "get-east-asian-width": "1.6.0",
91
99
  "marked": "18.0.5",
100
+ "marked-cjk-friendly": "0.1.2",
92
101
  "saxes": "6.0.0",
93
102
  "sharp": "0.35.5",
103
+ "sixel": "0.16.0",
104
+ "ws": "8.21.3",
94
105
  "yaml": "^2.8.1",
95
106
  "zod": "4.6.7"
96
107
  },
97
108
  "peerDependencies": {
98
- "@deepseek-ai/cordis": "~4.0.5",
99
- "@deepseek-ai/cordis-plugin-loader": "~1.0.6",
100
- "@deepseek-ai/dsh-agent": ">=0.2.1-rc.2",
101
- "@deepseek-ai/dsh-agent-default-model": ">=0.2.1-rc.2",
102
- "@deepseek-ai/dsh-agent-preset-registry": ">=0.2.1-rc.2",
103
- "@deepseek-ai/dsh-api-gateway": ">=0.2.1-rc.2",
104
- "@deepseek-ai/dsh-api-job-controller": ">=0.2.1-rc.2",
105
- "@deepseek-ai/dsh-api-remotes": ">=0.2.1-rc.2",
106
- "@deepseek-ai/dsh-api-session-controller": ">=0.2.1-rc.2",
107
- "@deepseek-ai/dsh-api-settings-controller": ">=0.2.1-rc.2",
108
- "@deepseek-ai/dsh-api-workspace-files": ">=0.2.1-rc.2",
109
- "@deepseek-ai/dsh-authorization": ">=0.2.1-rc.2",
110
- "@deepseek-ai/dsh-client-connection": ">=0.2.1-rc.2",
111
- "@deepseek-ai/dsh-client-file-upload": ">=0.2.1-rc.2",
112
- "@deepseek-ai/dsh-cmdline": ">=0.2.1-rc.2",
113
- "@deepseek-ai/dsh-commands": ">=0.2.1-rc.2",
114
- "@deepseek-ai/dsh-credentials": ">=0.2.1-rc.2",
115
- "@deepseek-ai/dsh-file-reference": ">=0.2.1-rc.2",
116
- "@deepseek-ai/dsh-goal": ">=0.2.1-rc.2",
117
- "@deepseek-ai/dsh-jobs": ">=0.2.1-rc.2",
118
- "@deepseek-ai/dsh-llm": ">=0.2.1-rc.2",
119
- "@deepseek-ai/dsh-llm-retry": ">=0.2.1-rc.2",
120
- "@deepseek-ai/dsh-permission-presets": ">=0.2.1-rc.2",
121
- "@deepseek-ai/dsh-plan-mode": ">=0.2.1-rc.2",
122
- "@deepseek-ai/dsh-plugin-manager": ">=0.2.1-rc.2",
123
- "@deepseek-ai/dsh-sandbox-policy": ">=0.2.1-rc.2",
124
- "@deepseek-ai/dsh-session": ">=0.2.1-rc.2",
125
- "@deepseek-ai/dsh-session-log-export": ">=0.2.1-rc.2",
126
- "@deepseek-ai/dsh-session-persistence": ">=0.2.1-rc.2",
127
- "@deepseek-ai/dsh-session-projection": ">=0.2.1-rc.2",
128
- "@deepseek-ai/dsh-session-stats": ">=0.2.1-rc.2",
129
- "@deepseek-ai/dsh-session-title": ">=0.2.1-rc.2",
130
- "@deepseek-ai/dsh-session-turn-outline": ">=0.2.1-rc.2",
131
- "@deepseek-ai/dsh-settings": ">=0.2.1-rc.2",
132
- "@deepseek-ai/dsh-shell": ">=0.2.1-rc.2",
133
- "@deepseek-ai/dsh-skill": ">=0.2.1-rc.2",
134
- "@deepseek-ai/dsh-subagent": ">=0.2.1-rc.2",
135
- "@deepseek-ai/dsh-token-meter": ">=0.2.1-rc.2",
136
- "@deepseek-ai/dsh-tool-todo": ">=0.2.1-rc.2",
137
- "@deepseek-ai/dsh-tool-workflow": ">=0.2.1-rc.2",
138
- "@deepseek-ai/dsh-tools": ">=0.2.1-rc.2",
139
- "@deepseek-ai/dsh-typert-protocol": ">=0.2.1-rc.2",
140
- "@deepseek-ai/dsh-typert-registry": ">=0.2.1-rc.2",
141
- "@deepseek-ai/dsh-user-approval": ">=0.2.1-rc.2",
142
- "@deepseek-ai/dsh-user-questions": ">=0.2.1-rc.2",
143
- "@deepseek-ai/schemastery": "~3.18.5"
109
+ "@deepseek-ai/cordis": "~4.1.0",
110
+ "@deepseek-ai/cordis-plugin-loader": "~1.1.0",
111
+ "@deepseek-ai/dsh-agent": ">=0.2.2-rc.1",
112
+ "@deepseek-ai/dsh-agent-default-model": ">=0.2.2-rc.1",
113
+ "@deepseek-ai/dsh-agent-preset-registry": ">=0.2.2-rc.1",
114
+ "@deepseek-ai/dsh-api-gateway": ">=0.2.2-rc.1",
115
+ "@deepseek-ai/dsh-api-job-controller": ">=0.2.2-rc.1",
116
+ "@deepseek-ai/dsh-api-session-controller": ">=0.2.2-rc.1",
117
+ "@deepseek-ai/dsh-api-settings-controller": ">=0.2.2-rc.1",
118
+ "@deepseek-ai/dsh-api-workspace-controller": ">=0.2.2-rc.1",
119
+ "@deepseek-ai/dsh-api-workspace-files": ">=0.2.2-rc.1",
120
+ "@deepseek-ai/dsh-attachment": ">=0.2.2-rc.1",
121
+ "@deepseek-ai/dsh-authorization": ">=0.2.2-rc.1",
122
+ "@deepseek-ai/dsh-client-connection": ">=0.2.2-rc.1",
123
+ "@deepseek-ai/dsh-client-file-upload": ">=0.2.2-rc.1",
124
+ "@deepseek-ai/dsh-client-store": ">=0.2.2-rc.1",
125
+ "@deepseek-ai/dsh-cmdline": ">=0.2.2-rc.1",
126
+ "@deepseek-ai/dsh-commands": ">=0.2.2-rc.1",
127
+ "@deepseek-ai/dsh-credentials": ">=0.2.2-rc.1",
128
+ "@deepseek-ai/dsh-file-reference": ">=0.2.2-rc.1",
129
+ "@deepseek-ai/dsh-goal": ">=0.2.2-rc.1",
130
+ "@deepseek-ai/dsh-jobs": ">=0.2.2-rc.1",
131
+ "@deepseek-ai/dsh-llm": ">=0.2.2-rc.1",
132
+ "@deepseek-ai/dsh-llm-retry": ">=0.2.2-rc.1",
133
+ "@deepseek-ai/dsh-official-bundles": ">=0.2.2-rc.1",
134
+ "@deepseek-ai/dsh-permission-presets": ">=0.2.2-rc.1",
135
+ "@deepseek-ai/dsh-plan-mode": ">=0.2.2-rc.1",
136
+ "@deepseek-ai/dsh-plugin-manager": ">=0.2.2-rc.1",
137
+ "@deepseek-ai/dsh-sandbox-policy": ">=0.2.2-rc.1",
138
+ "@deepseek-ai/dsh-schedule": ">=0.2.2-rc.1",
139
+ "@deepseek-ai/dsh-session": ">=0.2.2-rc.1",
140
+ "@deepseek-ai/dsh-session-log-export": ">=0.2.2-rc.1",
141
+ "@deepseek-ai/dsh-session-persistence": ">=0.2.2-rc.1",
142
+ "@deepseek-ai/dsh-session-projection": ">=0.2.2-rc.1",
143
+ "@deepseek-ai/dsh-session-title": ">=0.2.2-rc.1",
144
+ "@deepseek-ai/dsh-settings": ">=0.2.2-rc.1",
145
+ "@deepseek-ai/dsh-shell": ">=0.2.2-rc.1",
146
+ "@deepseek-ai/dsh-skill": ">=0.2.2-rc.1",
147
+ "@deepseek-ai/dsh-subagent": ">=0.2.2-rc.1",
148
+ "@deepseek-ai/dsh-token-meter": ">=0.2.2-rc.1",
149
+ "@deepseek-ai/dsh-tool-executor-ptc": ">=0.2.2-rc.1",
150
+ "@deepseek-ai/dsh-tool-todo": ">=0.2.2-rc.1",
151
+ "@deepseek-ai/dsh-tool-workflow": ">=0.2.2-rc.1",
152
+ "@deepseek-ai/dsh-tools": ">=0.2.2-rc.1",
153
+ "@deepseek-ai/dsh-typert-protocol": ">=0.2.2-rc.1",
154
+ "@deepseek-ai/dsh-typert-registry": ">=0.2.2-rc.1",
155
+ "@deepseek-ai/dsh-user-approval": ">=0.2.2-rc.1",
156
+ "@deepseek-ai/dsh-user-questions": ">=0.2.2-rc.1",
157
+ "@deepseek-ai/schemastery": "~3.19.0"
144
158
  },
145
159
  "devDependencies": {
146
- "@deepseek-ai/cordis": "~4.0.5",
147
- "@deepseek-ai/cordis-plugin-loader": "~1.0.6",
148
- "@deepseek-ai/dsh-agent": "0.2.1-rc.4",
149
- "@deepseek-ai/dsh-agent-default-model": "0.2.1-rc.4",
150
- "@deepseek-ai/dsh-agent-instructions": "0.2.1-rc.4",
151
- "@deepseek-ai/dsh-agent-loop": "0.2.1-rc.4",
152
- "@deepseek-ai/dsh-agent-loop-testkit": "0.2.1-rc.4",
153
- "@deepseek-ai/dsh-agent-preset": "0.2.1-rc.4",
154
- "@deepseek-ai/dsh-agent-preset-registry": "0.2.1-rc.4",
155
- "@deepseek-ai/dsh-agent-tool-presentation": "0.2.1-rc.4",
156
- "@deepseek-ai/dsh-api-gateway": "0.2.1-rc.4",
157
- "@deepseek-ai/dsh-api-job-controller": "0.2.1-rc.4",
158
- "@deepseek-ai/dsh-api-remote-access": "0.2.1-rc.4",
159
- "@deepseek-ai/dsh-api-remotes": "0.2.1-rc.4",
160
- "@deepseek-ai/dsh-api-session-controller": "0.2.1-rc.4",
161
- "@deepseek-ai/dsh-api-settings-controller": "0.2.1-rc.4",
162
- "@deepseek-ai/dsh-api-workspace-files": "0.2.1-rc.4",
163
- "@deepseek-ai/dsh-app-boot": "0.2.1-rc.4",
164
- "@deepseek-ai/dsh-attachment": "0.2.1-rc.4",
165
- "@deepseek-ai/dsh-base": "0.2.1-rc.4",
166
- "@deepseek-ai/dsh-attachment-local": "0.2.1-rc.4",
167
- "@deepseek-ai/dsh-authorization": "0.2.1-rc.4",
168
- "@deepseek-ai/dsh-brand": "0.2.1-rc.4",
169
- "@deepseek-ai/dsh-client-connection": "0.2.1-rc.4",
170
- "@deepseek-ai/dsh-client-file-upload": "0.2.1-rc.4",
171
- "@deepseek-ai/dsh-client-store": "0.2.1-rc.4",
172
- "@deepseek-ai/dsh-cmdline": "0.2.1-rc.4",
173
- "@deepseek-ai/dsh-command-compact": "0.2.1-rc.4",
174
- "@deepseek-ai/dsh-command-goal": "0.2.1-rc.4",
175
- "@deepseek-ai/dsh-commands": "0.2.1-rc.4",
176
- "@deepseek-ai/dsh-compaction-basic": "0.2.1-rc.4",
177
- "@deepseek-ai/dsh-compaction-tool-result-pruner": "0.2.1-rc.4",
178
- "@deepseek-ai/dsh-config-editor": "0.2.1-rc.4",
179
- "@deepseek-ai/dsh-credentials": "0.2.1-rc.4",
180
- "@deepseek-ai/dsh-credentials-local": "0.2.1-rc.4",
181
- "@deepseek-ai/dsh-deepseek-account": "0.2.1-rc.4",
182
- "@deepseek-ai/dsh-deepseek-account-platform": "0.2.1-rc.4",
183
- "@deepseek-ai/dsh-file-reference": "0.2.1-rc.4",
184
- "@deepseek-ai/dsh-file-reference-local": "0.2.1-rc.4",
185
- "@deepseek-ai/dsh-fs-local": "0.2.1-rc.4",
186
- "@deepseek-ai/dsh-goal": "0.2.1-rc.4",
187
- "@deepseek-ai/dsh-host-webserver": "0.2.1-rc.4",
188
- "@deepseek-ai/dsh-jobs": "0.2.1-rc.4",
189
- "@deepseek-ai/dsh-jobs-local": "0.2.1-rc.4",
190
- "@deepseek-ai/dsh-launch-environment": "0.2.1-rc.4",
191
- "@deepseek-ai/dsh-llm": "0.2.1-rc.4",
192
- "@deepseek-ai/dsh-llm-deepseek-account": "0.2.1-rc.4",
193
- "@deepseek-ai/dsh-llm-retry": "0.2.1-rc.4",
194
- "@deepseek-ai/dsh-permission-presets": "0.2.1-rc.4",
195
- "@deepseek-ai/dsh-persona": "0.2.1-rc.4",
196
- "@deepseek-ai/dsh-plan-mode": "0.2.1-rc.4",
197
- "@deepseek-ai/dsh-plugin-manager": "0.2.1-rc.4",
198
- "@deepseek-ai/dsh-remote-mock": "0.2.1-rc.4",
199
- "@deepseek-ai/dsh-sandbox-policy": "0.2.1-rc.4",
200
- "@deepseek-ai/dsh-scope": "0.2.1-rc.4",
201
- "@deepseek-ai/dsh-session": "0.2.1-rc.4",
202
- "@deepseek-ai/dsh-session-format": "0.2.1-rc.4",
203
- "@deepseek-ai/dsh-session-format-v2-to-v3": "0.2.1-rc.4",
204
- "@deepseek-ai/dsh-session-format-v3-to-v4": "0.2.1-rc.4",
205
- "@deepseek-ai/dsh-session-log-export": "0.2.1-rc.4",
206
- "@deepseek-ai/dsh-session-persistence": "0.2.1-rc.4",
207
- "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.1-rc.4",
208
- "@deepseek-ai/dsh-session-projection": "0.2.1-rc.4",
209
- "@deepseek-ai/dsh-session-query": "0.2.1-rc.4",
210
- "@deepseek-ai/dsh-session-query-sqlite": "0.2.1-rc.4",
211
- "@deepseek-ai/dsh-session-stats": "0.2.1-rc.4",
212
- "@deepseek-ai/dsh-session-title": "0.2.1-rc.4",
213
- "@deepseek-ai/dsh-session-turn-outline": "0.2.1-rc.4",
214
- "@deepseek-ai/dsh-settings": "0.2.1-rc.4",
215
- "@deepseek-ai/dsh-shell": "0.2.1-rc.4",
216
- "@deepseek-ai/dsh-shell-env": "0.2.1-rc.4",
217
- "@deepseek-ai/dsh-skill": "0.2.1-rc.4",
218
- "@deepseek-ai/dsh-skill-filesystem": "0.2.1-rc.4",
219
- "@deepseek-ai/dsh-storage": "0.2.1-rc.4",
220
- "@deepseek-ai/dsh-storage-domain": "0.2.1-rc.4",
221
- "@deepseek-ai/dsh-storage-json": "0.2.1-rc.4",
222
- "@deepseek-ai/dsh-subagent": "0.2.1-rc.4",
223
- "@deepseek-ai/dsh-subagent-spawn-in-process": "0.2.1-rc.4",
224
- "@deepseek-ai/dsh-system-prompt": "0.2.1-rc.4",
225
- "@deepseek-ai/dsh-terminal": "0.2.1-rc.4",
226
- "@deepseek-ai/dsh-time-context": "0.2.1-rc.4",
227
- "@deepseek-ai/dsh-timeout": "0.2.1-rc.4",
228
- "@deepseek-ai/dsh-token-meter": "0.2.1-rc.4",
229
- "@deepseek-ai/dsh-tool-ask-user": "0.2.1-rc.4",
230
- "@deepseek-ai/dsh-tool-bash": "0.2.1-rc.4",
231
- "@deepseek-ai/dsh-tool-cordis": "0.2.1-rc.4",
232
- "@deepseek-ai/dsh-tool-fs": "0.2.1-rc.4",
233
- "@deepseek-ai/dsh-tool-fs-search": "0.2.1-rc.4",
234
- "@deepseek-ai/dsh-tool-goal": "0.2.1-rc.4",
235
- "@deepseek-ai/dsh-tool-jobs": "0.2.1-rc.4",
236
- "@deepseek-ai/dsh-tool-pwsh": "0.2.1-rc.4",
237
- "@deepseek-ai/dsh-tool-skill": "0.2.1-rc.4",
238
- "@deepseek-ai/dsh-tool-str-replace-editor": "0.2.1-rc.4",
239
- "@deepseek-ai/dsh-tool-subagent": "0.2.1-rc.4",
240
- "@deepseek-ai/dsh-tool-subagent-control": "0.2.1-rc.4",
241
- "@deepseek-ai/dsh-tool-todo": "0.2.1-rc.4",
242
- "@deepseek-ai/dsh-tool-web": "0.2.1-rc.4",
243
- "@deepseek-ai/dsh-tool-workflow": "0.2.1-rc.4",
244
- "@deepseek-ai/dsh-tool-working-directory": "0.2.1-rc.4",
245
- "@deepseek-ai/dsh-tools": "0.2.1-rc.4",
246
- "@deepseek-ai/dsh-typert-protocol": "0.2.1-rc.4",
247
- "@deepseek-ai/dsh-typert-registry": "0.2.1-rc.4",
248
- "@deepseek-ai/dsh-user-approval": "0.2.1-rc.4",
249
- "@deepseek-ai/dsh-user-questions": "0.2.1-rc.4",
250
- "@deepseek-ai/dsh-web": "0.2.1-rc.4",
251
- "@deepseek-ai/dsh-web-app": "0.2.1-rc.4",
252
- "@deepseek-ai/dsh-web-deepseek-api": "0.2.1-rc.4",
253
- "@deepseek-ai/dsh-web-fetch-http": "0.2.1-rc.4",
254
- "@deepseek-ai/dsh-web-search-deepseek": "0.2.1-rc.4",
255
- "@deepseek-ai/dsh-working-directory": "0.2.1-rc.4",
256
- "@deepseek-ai/dsh-workspace": "0.2.1-rc.4",
257
- "@deepseek-ai/schemastery": "~3.18.5",
160
+ "@deepseek-ai/cordis": "4.1.0",
161
+ "@deepseek-ai/cordis-plugin-loader": "1.1.0",
162
+ "@deepseek-ai/dsh-agent": "0.2.2-rc.1",
163
+ "@deepseek-ai/dsh-agent-default-model": "0.2.2-rc.1",
164
+ "@deepseek-ai/dsh-agent-instructions": "0.2.2-rc.1",
165
+ "@deepseek-ai/dsh-agent-loop": "0.2.2-rc.1",
166
+ "@deepseek-ai/dsh-agent-loop-testkit": "0.2.2-rc.1",
167
+ "@deepseek-ai/dsh-agent-preset": "0.2.2-rc.1",
168
+ "@deepseek-ai/dsh-agent-preset-registry": "0.2.2-rc.1",
169
+ "@deepseek-ai/dsh-agent-tool-presentation": "0.2.2-rc.1",
170
+ "@deepseek-ai/dsh-api-gateway": "0.2.2-rc.1",
171
+ "@deepseek-ai/dsh-api-job-controller": "0.2.2-rc.1",
172
+ "@deepseek-ai/dsh-api-remote-access": "0.2.2-rc.1",
173
+ "@deepseek-ai/dsh-api-remotes": "0.2.2-rc.1",
174
+ "@deepseek-ai/dsh-api-session-controller": "0.2.2-rc.1",
175
+ "@deepseek-ai/dsh-api-settings-controller": "0.2.2-rc.1",
176
+ "@deepseek-ai/dsh-api-workspace-controller": "0.2.2-rc.1",
177
+ "@deepseek-ai/dsh-api-workspace-files": "0.2.2-rc.1",
178
+ "@deepseek-ai/dsh-app-boot": "0.2.2-rc.1",
179
+ "@deepseek-ai/dsh-attachment": "0.2.2-rc.1",
180
+ "@deepseek-ai/dsh-base": "0.2.2-rc.1",
181
+ "@deepseek-ai/dsh-attachment-local": "0.2.2-rc.1",
182
+ "@deepseek-ai/dsh-authorization": "0.2.2-rc.1",
183
+ "@deepseek-ai/dsh-brand": "0.2.2-rc.1",
184
+ "@deepseek-ai/dsh-client-connection": "0.2.2-rc.1",
185
+ "@deepseek-ai/dsh-client-file-upload": "0.2.2-rc.1",
186
+ "@deepseek-ai/dsh-client-store": "0.2.2-rc.1",
187
+ "@deepseek-ai/dsh-cmdline": "0.2.2-rc.1",
188
+ "@deepseek-ai/dsh-command-compact": "0.2.2-rc.1",
189
+ "@deepseek-ai/dsh-command-goal": "0.2.2-rc.1",
190
+ "@deepseek-ai/dsh-commands": "0.2.2-rc.1",
191
+ "@deepseek-ai/dsh-compaction-basic": "0.2.2-rc.1",
192
+ "@deepseek-ai/dsh-compaction-tool-result-pruner": "0.2.2-rc.1",
193
+ "@deepseek-ai/dsh-config-editor": "0.2.2-rc.1",
194
+ "@deepseek-ai/dsh-credentials": "0.2.2-rc.1",
195
+ "@deepseek-ai/dsh-credentials-local": "0.2.2-rc.1",
196
+ "@deepseek-ai/dsh-deepseek-account": "0.2.2-rc.1",
197
+ "@deepseek-ai/dsh-deepseek-account-platform": "0.2.2-rc.1",
198
+ "@deepseek-ai/dsh-file-reference": "0.2.2-rc.1",
199
+ "@deepseek-ai/dsh-file-reference-local": "0.2.2-rc.1",
200
+ "@deepseek-ai/dsh-fs-local": "0.2.2-rc.1",
201
+ "@deepseek-ai/dsh-goal": "0.2.2-rc.1",
202
+ "@deepseek-ai/dsh-host-webserver": "0.2.2-rc.1",
203
+ "@deepseek-ai/dsh-jobs": "0.2.2-rc.1",
204
+ "@deepseek-ai/dsh-jobs-local": "0.2.2-rc.1",
205
+ "@deepseek-ai/dsh-launch-environment": "0.2.2-rc.1",
206
+ "@deepseek-ai/dsh-llm": "0.2.2-rc.1",
207
+ "@deepseek-ai/dsh-llm-deepseek-account": "0.2.2-rc.1",
208
+ "@deepseek-ai/dsh-llm-retry": "0.2.2-rc.1",
209
+ "@deepseek-ai/dsh-official-bundles": "0.2.2-rc.1",
210
+ "@deepseek-ai/dsh-permission-presets": "0.2.2-rc.1",
211
+ "@deepseek-ai/dsh-persona": "0.2.2-rc.1",
212
+ "@deepseek-ai/dsh-plan-mode": "0.2.2-rc.1",
213
+ "@deepseek-ai/dsh-plugin-manager": "0.2.2-rc.1",
214
+ "@deepseek-ai/dsh-remote-mock": "0.2.2-rc.1",
215
+ "@deepseek-ai/dsh-sandbox-policy": "0.2.2-rc.1",
216
+ "@deepseek-ai/dsh-schedule": "0.2.2-rc.1",
217
+ "@deepseek-ai/dsh-scope": "0.2.2-rc.1",
218
+ "@deepseek-ai/dsh-session": "0.2.2-rc.1",
219
+ "@deepseek-ai/dsh-session-format": "0.2.2-rc.1",
220
+ "@deepseek-ai/dsh-session-format-v2-to-v3": "0.2.2-rc.1",
221
+ "@deepseek-ai/dsh-session-format-v3-to-v4": "0.2.2-rc.1",
222
+ "@deepseek-ai/dsh-session-log-export": "0.2.2-rc.1",
223
+ "@deepseek-ai/dsh-session-persistence": "0.2.2-rc.1",
224
+ "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.2-rc.1",
225
+ "@deepseek-ai/dsh-session-projection": "0.2.2-rc.1",
226
+ "@deepseek-ai/dsh-session-query": "0.2.2-rc.1",
227
+ "@deepseek-ai/dsh-session-query-sqlite": "0.2.2-rc.1",
228
+ "@deepseek-ai/dsh-session-stats": "0.2.2-rc.1",
229
+ "@deepseek-ai/dsh-session-title": "0.2.2-rc.1",
230
+ "@deepseek-ai/dsh-session-turn-outline": "0.2.2-rc.1",
231
+ "@deepseek-ai/dsh-settings": "0.2.2-rc.1",
232
+ "@deepseek-ai/dsh-shell": "0.2.2-rc.1",
233
+ "@deepseek-ai/dsh-shell-env": "0.2.2-rc.1",
234
+ "@deepseek-ai/dsh-skill": "0.2.2-rc.1",
235
+ "@deepseek-ai/dsh-skill-filesystem": "0.2.2-rc.1",
236
+ "@deepseek-ai/dsh-storage": "0.2.2-rc.1",
237
+ "@deepseek-ai/dsh-storage-domain": "0.2.2-rc.1",
238
+ "@deepseek-ai/dsh-storage-json": "0.2.2-rc.1",
239
+ "@deepseek-ai/dsh-subagent": "0.2.2-rc.1",
240
+ "@deepseek-ai/dsh-subagent-spawn-in-process": "0.2.2-rc.1",
241
+ "@deepseek-ai/dsh-system-prompt": "0.2.2-rc.1",
242
+ "@deepseek-ai/dsh-terminal": "0.2.2-rc.1",
243
+ "@deepseek-ai/dsh-time-context": "0.2.2-rc.1",
244
+ "@deepseek-ai/dsh-timeout": "0.2.2-rc.1",
245
+ "@deepseek-ai/dsh-token-meter": "0.2.2-rc.1",
246
+ "@deepseek-ai/dsh-tool-ask-user": "0.2.2-rc.1",
247
+ "@deepseek-ai/dsh-tool-bash": "0.2.2-rc.1",
248
+ "@deepseek-ai/dsh-tool-cordis": "0.2.2-rc.1",
249
+ "@deepseek-ai/dsh-tool-executor-native": "0.2.2-rc.1",
250
+ "@deepseek-ai/dsh-tool-executor-ptc": "0.2.2-rc.1",
251
+ "@deepseek-ai/dsh-tool-fs": "0.2.2-rc.1",
252
+ "@deepseek-ai/dsh-tool-fs-search": "0.2.2-rc.1",
253
+ "@deepseek-ai/dsh-tool-goal": "0.2.2-rc.1",
254
+ "@deepseek-ai/dsh-tool-jobs": "0.2.2-rc.1",
255
+ "@deepseek-ai/dsh-tool-pwsh": "0.2.2-rc.1",
256
+ "@deepseek-ai/dsh-tool-skill": "0.2.2-rc.1",
257
+ "@deepseek-ai/dsh-tool-str-replace-editor": "0.2.2-rc.1",
258
+ "@deepseek-ai/dsh-tool-subagent": "0.2.2-rc.1",
259
+ "@deepseek-ai/dsh-tool-subagent-control": "0.2.2-rc.1",
260
+ "@deepseek-ai/dsh-tool-testkit": "0.2.2-rc.1",
261
+ "@deepseek-ai/dsh-tool-todo": "0.2.2-rc.1",
262
+ "@deepseek-ai/dsh-tool-web": "0.2.2-rc.1",
263
+ "@deepseek-ai/dsh-tool-workflow": "0.2.2-rc.1",
264
+ "@deepseek-ai/dsh-tool-working-directory": "0.2.2-rc.1",
265
+ "@deepseek-ai/dsh-tools": "0.2.2-rc.1",
266
+ "@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.1",
267
+ "@deepseek-ai/dsh-typert-registry": "0.2.2-rc.1",
268
+ "@deepseek-ai/dsh-util-time": "0.2.2-rc.1",
269
+ "@deepseek-ai/dsh-user-approval": "0.2.2-rc.1",
270
+ "@deepseek-ai/dsh-user-questions": "0.2.2-rc.1",
271
+ "@deepseek-ai/dsh-web": "0.2.2-rc.1",
272
+ "@deepseek-ai/dsh-web-app": "0.2.2-rc.1",
273
+ "@deepseek-ai/dsh-web-deepseek-api": "0.2.2-rc.1",
274
+ "@deepseek-ai/dsh-web-fetch-http": "0.2.2-rc.1",
275
+ "@deepseek-ai/dsh-web-search-deepseek": "0.2.2-rc.1",
276
+ "@deepseek-ai/dsh-working-directory": "0.2.2-rc.1",
277
+ "@deepseek-ai/dsh-workspace": "0.2.2-rc.1",
278
+ "@deepseek-ai/schemastery": "3.19.0",
258
279
  "@types/node": "^22.0.0",
280
+ "@types/ws": "8.18.1",
259
281
  "@xmoon76/pi-tui": "^1.1.0",
260
282
  "@xterm/headless": "5.5.0",
261
- "husky": "^9.1.7",
262
283
  "immer": "^10.1.1",
263
284
  "semver": "7.8.5",
264
285
  "tsdown": "0.22.0",
@@ -267,8 +288,8 @@
267
288
  "zustand": "~4.4.7"
268
289
  },
269
290
  "engines": {
270
- "node": "^22.19.0 || >=24",
271
- "dsh": ">=0.2.1-rc.2"
291
+ "node": ">=24.9.0",
292
+ "dsh": ">=0.2.2-rc.1"
272
293
  },
273
294
  "scripts": {
274
295
  "clean": "rm -rf dist",
@@ -299,13 +320,13 @@
299
320
  "smoke:remote-surface-authority-parity": "node --import tsx/esm scripts/dsh-remote-surface-authority-parity-smoke.mjs",
300
321
  "smoke:remote-task-read-parity": "node --import tsx/esm scripts/dsh-remote-task-read-parity-smoke.mjs",
301
322
  "smoke:remote-presentation-parity": "node --import tsx/esm scripts/dsh-remote-presentation-parity-smoke.mjs",
302
- "smoke:remote-d1-closure": "node --import tsx/esm scripts/dsh-remote-d1-closure-smoke.mjs",
303
- "smoke:remote-d2-fork": "node scripts/dsh-remote-d2.4-fork-parity-smoke.mjs",
304
- "smoke:remote-d2-closure": "node scripts/dsh-remote-d2-closure-smoke.mjs",
323
+ "smoke:remote-read-capability-closure": "node --import tsx/esm scripts/dsh-remote-read-capability-closure-smoke.mjs",
324
+ "smoke:remote-fork-rewind-parity": "node scripts/dsh-remote-fork-rewind-parity-smoke.mjs",
325
+ "smoke:remote-fork-rewind-closure": "node scripts/dsh-remote-fork-rewind-closure-smoke.mjs",
305
326
  "smoke:remote-session-lifecycle-parity": "node scripts/dsh-remote-session-lifecycle-parity-smoke.mjs",
306
327
  "smoke:boundary": "node scripts/dsh-runtime-boundary-smoke.mjs",
307
328
  "smoke:split-process": "node scripts/split-process-smoke.mjs",
308
- "smoke:pi-tui-file-reference-built": "node --import tsx/esm scripts/pi-tui-file-reference-built-smoke.mjs",
329
+ "smoke:split-upgrade": "node scripts/split-process-upgrade-smoke.mjs",
309
330
  "smoke:startup-strictness": "node scripts/startup-strictness-smoke.mjs",
310
331
  "dsh:source:pack": "node scripts/dsh-source-pack.mjs",
311
332
  "compat:dsh:source": "node scripts/dsh-source-verify.mjs",
@@ -322,15 +343,12 @@
322
343
  "smoke:vim": "node scripts/vim-plugin-smoke.mjs",
323
344
  "gate:pi-surface-compat": "node --test test/extension/pi-component-compat.test.ts",
324
345
  "smoke:examples": "node scripts/examples-plugin-smoke.mjs",
325
- "pack:release": "rm -f xmoon76-dsh-pi-tui-*.tgz && pnpm pack --pack-destination .",
326
346
  "release:context": "node scripts/release-context.mjs",
327
347
  "release:notes": "node scripts/release-notes.mjs",
328
348
  "smoke:pack": "node scripts/tarball-smoke.mjs",
329
349
  "dev:doctor": "node scripts/dev-doctor.mjs",
330
350
  "dev:bootstrap": "node scripts/dev-bootstrap.mjs",
331
351
  "dev:shell": "node scripts/dev-shell.mjs",
332
- "verify:prepush": "pnpm typecheck:fork && pnpm typecheck:bench && pnpm test:fork && pnpm test:tmux && pnpm test:tooling && pnpm gate:installation-doc && pnpm gate:pi-divergence-ledger && pnpm gate:pi-vendor-diff --strict && node scripts/naming-gate.mjs && node scripts/check-no-session-events.mjs && pnpm gate:boundary && pnpm gate:architecture && pnpm gate:production-reads && pnpm gate:keybindings && pnpm audit --prod --audit-level high && pnpm pack:release",
333
- "verify:prepush:nofork": "pnpm typecheck:bench && pnpm test:tmux && pnpm test:tooling && pnpm gate:installation-doc && pnpm gate:pi-divergence-ledger && pnpm gate:pi-vendor-diff --strict && node scripts/naming-gate.mjs && node scripts/check-no-session-events.mjs && pnpm gate:boundary && pnpm gate:architecture && pnpm gate:production-reads && pnpm gate:keybindings && pnpm audit --prod --audit-level high && pnpm pack:release",
334
352
  "gate:boundary": "node scripts/client-boundary-gate.mjs",
335
353
  "gate:architecture": "node scripts/application-architecture-gate.mjs",
336
354
  "gate:production-reads": "node scripts/check-production-reads.mjs",
@@ -343,7 +361,12 @@
343
361
  "test:product": "node scripts/run-test-lane.mjs product",
344
362
  "gen:dsh-presets": "node scripts/generate-dsh-presets.mjs",
345
363
  "gate:dsh-preset-parity": "node scripts/generate-dsh-presets.mjs --check",
346
- "smoke:p1-profile": "node scripts/dsh-p1-profile-smoke.mjs",
347
- "smoke:s4-d2-bundles": "node scripts/dsh-s4-d2-bundles-smoke.mjs"
364
+ "smoke:job-controller-profile": "node scripts/dsh-job-controller-profile-smoke.mjs",
365
+ "smoke:optional-bundles": "node scripts/dsh-optional-bundles-smoke.mjs",
366
+ "smoke:direct-empty-retirement": "node scripts/direct-empty-session-retirement-smoke.mjs",
367
+ "pack:artifact": "rm -f xmoon76-dsh-pi-tui-*.tgz && pnpm pack --config.ignore-scripts=true --pack-destination .",
368
+ "smoke:release": "node scripts/qualify-tarball.mjs",
369
+ "pack:release": "pnpm clean && pnpm clean:fork && pnpm build && pnpm typecheck:bundle && pnpm test:product && pnpm pack:artifact && pnpm smoke:release",
370
+ "verify:release": "pnpm typecheck:fork && pnpm typecheck:bench && pnpm test:fork && pnpm test:tmux && pnpm test:tooling && pnpm gate:installation-doc && pnpm gate:pi-divergence-ledger && pnpm gate:pi-vendor-diff --strict && node scripts/naming-gate.mjs && node scripts/check-no-session-events.mjs && pnpm gate:boundary && pnpm gate:architecture && pnpm gate:production-reads && pnpm gate:keybindings && pnpm audit --prod --audit-level high && pnpm pack:release"
348
371
  }
349
372
  }
@@ -1,119 +0,0 @@
1
- //#region src/app/remote/host-prerequisites.ts
2
- /**
3
- * Host services the ordinary Host Context must already expose before any
4
- * Remote Host row mounts. The check fails fast with the missing service named
5
- * instead of parking the runtime.
6
- */
7
- const REMOTE_HOST_PREREQUISITE_SERVICES = [
8
- "credentials",
9
- "userQuestions",
10
- "typert",
11
- "typertGateway",
12
- "agents",
13
- "agentDefaultModel",
14
- "attachments",
15
- "commands",
16
- "fileReferences",
17
- "fs",
18
- "workingDirectory",
19
- "llm",
20
- "sessions",
21
- "sessionProjections",
22
- "sessionQuery",
23
- "workspaceRegistry",
24
- "jobController",
25
- "workspaceFiles"
26
- ];
27
- /**
28
- * Fail fast when the ordinary Host lacks one of the required base services.
29
- * Reads via the reflect store so the diagnostic can name the missing key
30
- * without depending on any one service's shape.
31
- */
32
- function assertRemoteHostPrerequisites(hostContext) {
33
- for (const service of REMOTE_HOST_PREREQUISITE_SERVICES) if (hostContext.reflect.get(service) === void 0) throw new Error(`remote host runtime: the Host Context is missing the required "${service}" service`);
34
- }
35
- //#endregion
36
- //#region src/app/remote-process/host-bootstrap.ts
37
- /** Cordis `FiberState.ACTIVE` (the enum is a const enum with no runtime value). */
38
- const FIBER_ACTIVE = 2;
39
- /** Loader rows that must never be active in the Host-only process. */
40
- const FORBIDDEN_HOST_ENTRY_IDS = [
41
- "tui-app",
42
- "pi-tui-extension-host",
43
- "pi-tui-builtins"
44
- ];
45
- function loaderOf(context) {
46
- const loader = context.loader;
47
- if (loader === void 0) throw new Error("local host entry: the booted profile has no Loader service");
48
- return loader;
49
- }
50
- /** A stable label for one fiber state, or `absent` for a disabled/never-started row. */
51
- function fiberStateLabel(entry) {
52
- const state = entry.fiber?.state;
53
- if (state === void 0) return "absent";
54
- if (state === FIBER_ACTIVE) return "active";
55
- return `state-${String(state)}`;
56
- }
57
- /** Assert the disabled TUI rows did not activate despite the profile patch. */
58
- function assertHostOnlyComposition(context) {
59
- const activeForbidden = [...loaderOf(context).entries()].filter((entry) => FORBIDDEN_HOST_ENTRY_IDS.includes(entry.options.id)).filter((entry) => entry.fiber?.state === FIBER_ACTIVE).map((entry) => entry.options.id);
60
- if (activeForbidden.length > 0) throw new Error(`local host entry: forbidden TUI/Client-UI rows are active: ${activeForbidden.join(", ")}`);
61
- }
62
- /** Wait for every Loader entry to settle after the profile boot returned. */
63
- async function settleHostEntries(context) {
64
- await loaderOf(context).await();
65
- }
66
- /**
67
- * Prove the production Host prerequisite set is live and collect the readiness
68
- * facts. Must run after {@link settleHostEntries}; a missing prerequisite is a
69
- * hard failure, never a degraded ready.
70
- */
71
- function collectHostEntryStatus(context, identity) {
72
- assertRemoteHostPrerequisites(context);
73
- assertHostOnlyComposition(context);
74
- const entries = [...loaderOf(context).entries()];
75
- const services = {};
76
- for (const service of REMOTE_HOST_PREREQUISITE_SERVICES) services[service] = context.reflect.get(service) !== void 0;
77
- /** Only ACTIVE rows own a service; a disabled/absent row proves nothing. */
78
- const activeIds = (id) => entries.filter((entry) => entry.options.id === id && entry.fiber?.state === FIBER_ACTIVE).map((entry) => entry.options.id);
79
- const ownerEntries = {
80
- agents: activeIds("agent"),
81
- sessions: activeIds("session"),
82
- jobController: activeIds("job-controller"),
83
- connection: activeIds("connection")
84
- };
85
- for (const [owner, ids] of Object.entries(ownerEntries)) {
86
- if (owner === "connection") {
87
- if (ids.length !== 0) throw new Error(`local host entry: the A0 Host must not mount a Connection owner (found ${ids.join(", ")})`);
88
- continue;
89
- }
90
- if (ids.length !== 1) throw new Error(`local host entry: expected exactly one active ${owner} owner row, found ${String(ids.length)}`);
91
- }
92
- const rootFiber = context.fiber;
93
- const webServer = context.reflect.get("webServer");
94
- return {
95
- processRole: "host",
96
- pid: process.pid,
97
- ...identity.processStartIdentity === void 0 ? {} : { processStartIdentity: identity.processStartIdentity },
98
- phase: "ready",
99
- fiberOwner: "dsh-profile-root",
100
- ...rootFiber?.uid == null ? {} : { rootFiberUid: rootFiber.uid },
101
- transport: "not-connected",
102
- sessionOpen: false,
103
- profile: identity.profile,
104
- services,
105
- ownerEntries,
106
- entries: entries.map((entry) => ({
107
- id: entry.options.id,
108
- name: entry.options.name,
109
- state: fiberStateLabel(entry)
110
- })),
111
- forbiddenActive: [],
112
- ...webServer?.host === void 0 || webServer.port === void 0 ? {} : { webServer: {
113
- host: webServer.host,
114
- port: webServer.port
115
- } }
116
- };
117
- }
118
- //#endregion
119
- export { collectHostEntryStatus, settleHostEntries };