@xmoon76/dsh-pi-tui 0.5.4 → 0.5.5

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 (46) hide show
  1. package/README.en.md +28 -7
  2. package/README.md +25 -6
  3. package/dist/application-runtime-CbBO4bY-.mjs +6860 -0
  4. package/dist/bootstrap-DLOydLLj.mjs +108410 -0
  5. package/dist/builtins.mjs +2 -3
  6. package/dist/client-bootstrap-DwSFzcTW.mjs +872 -0
  7. package/dist/context-summary-Bz0AGXa1.mjs +12027 -0
  8. package/dist/{context-summary-DAisTA_7.mjs → context-summary-D9mhxPXL.mjs} +1468 -10
  9. package/dist/custom-items-CKrOBCox.mjs +655 -0
  10. package/dist/disposal-BYBbEpVY.mjs +54 -0
  11. package/dist/dispose-cause-BzcXo4hu.mjs +123 -0
  12. package/dist/dist-C7QMk0ws.mjs +15431 -0
  13. package/dist/{entry-control-DvSrndWd.mjs → entry-control-DnduyDiw.mjs} +12 -31
  14. package/dist/{extensions-CcuMY4n2.mjs → extensions-pcFiH7Qe.mjs} +758 -68
  15. package/dist/extensions.mjs +1 -1
  16. package/dist/host-bootstrap-CKdfLkNS.mjs +188 -0
  17. package/dist/host-foundation-probe-CYHsbAw6.mjs +143 -0
  18. package/dist/host-prerequisites-9JBTtVNu.mjs +36 -0
  19. package/dist/host-runtime.d.mts +26 -0
  20. package/dist/host-runtime.mjs +450 -0
  21. package/dist/index.d.mts +8 -1
  22. package/dist/index.mjs +5192 -2118
  23. package/dist/local-client.mjs +1681 -188
  24. package/dist/local-discovery-CXnLT4GF.mjs +755 -0
  25. package/dist/local-discovery-DVFFpfBG.mjs +2 -0
  26. package/dist/local-host.mjs +927 -78
  27. package/dist/local-transport-C9aonplC.mjs +513 -0
  28. package/dist/performance-host.d.mts +2 -2
  29. package/dist/performance-host.mjs +258 -1
  30. package/dist/pi-tui-remote-contribution-DRk6Tl3J.mjs +78 -0
  31. package/dist/pi-tui-terminal-progress-contract-CdBH9j78.mjs +70 -0
  32. package/dist/pi-tui-terminal-progress-contract-XTQKj-WW.mjs +905 -0
  33. package/dist/{runtime-vc4mdr-R.mjs → runtime-Bh5OsftD.mjs} +655 -675
  34. package/dist/runtime-C5ROZqFj.mjs +2 -0
  35. package/dist/{session-tdJHLnJR.mjs → session-4keoXjk0.mjs} +2341 -217
  36. package/dist/session-B2zqv4wr.mjs +10869 -0
  37. package/dist/{startup-JaVZoTIl.mjs → startup-Ct2UUjUL.mjs} +7 -6
  38. package/dist/startup.d.mts +1 -1
  39. package/dist/startup.mjs +1 -1
  40. package/dist/{client-bootstrap-F5DHFI9t.mjs → terminal-progress-source-BhufrZ74.mjs} +3431 -3007
  41. package/dist/terminal-progress-source-CsBinCJ_.mjs +965 -0
  42. package/package.json +125 -116
  43. package/dist/host-bootstrap-DAgKknbY.mjs +0 -119
  44. package/dist/performance-host-CcDJjjVA.mjs +0 -266
  45. package/dist/rolldown-runtime-8H4AJuhK.mjs +0 -14
  46. 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.5",
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,6 +52,10 @@
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"
@@ -83,7 +87,7 @@
83
87
  },
84
88
  "dependencies": {
85
89
  "@resvg/resvg-js": "2.6.2",
86
- "@stencil-hq/tern": "0.1.0",
90
+ "@stencil-hq/tern": "0.2.0",
87
91
  "chalk": "^5.4.1",
88
92
  "commander": "^15.0.0",
89
93
  "diff": "^9.0.0",
@@ -91,6 +95,8 @@
91
95
  "marked": "18.0.5",
92
96
  "saxes": "6.0.0",
93
97
  "sharp": "0.35.5",
98
+ "sixel": "0.16.0",
99
+ "ws": "8.21.3",
94
100
  "yaml": "^2.8.1",
95
101
  "zod": "4.6.7"
96
102
  },
@@ -109,6 +115,7 @@
109
115
  "@deepseek-ai/dsh-authorization": ">=0.2.1-rc.2",
110
116
  "@deepseek-ai/dsh-client-connection": ">=0.2.1-rc.2",
111
117
  "@deepseek-ai/dsh-client-file-upload": ">=0.2.1-rc.2",
118
+ "@deepseek-ai/dsh-client-store": ">=0.2.1-rc.2",
112
119
  "@deepseek-ai/dsh-cmdline": ">=0.2.1-rc.2",
113
120
  "@deepseek-ai/dsh-commands": ">=0.2.1-rc.2",
114
121
  "@deepseek-ai/dsh-credentials": ">=0.2.1-rc.2",
@@ -145,120 +152,120 @@
145
152
  "devDependencies": {
146
153
  "@deepseek-ai/cordis": "~4.0.5",
147
154
  "@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",
155
+ "@deepseek-ai/dsh-agent": "0.2.1-rc.5",
156
+ "@deepseek-ai/dsh-agent-default-model": "0.2.1-rc.5",
157
+ "@deepseek-ai/dsh-agent-instructions": "0.2.1-rc.5",
158
+ "@deepseek-ai/dsh-agent-loop": "0.2.1-rc.5",
159
+ "@deepseek-ai/dsh-agent-loop-testkit": "0.2.1-rc.5",
160
+ "@deepseek-ai/dsh-agent-preset": "0.2.1-rc.5",
161
+ "@deepseek-ai/dsh-agent-preset-registry": "0.2.1-rc.5",
162
+ "@deepseek-ai/dsh-agent-tool-presentation": "0.2.1-rc.5",
163
+ "@deepseek-ai/dsh-api-gateway": "0.2.1-rc.5",
164
+ "@deepseek-ai/dsh-api-job-controller": "0.2.1-rc.5",
165
+ "@deepseek-ai/dsh-api-remote-access": "0.2.1-rc.5",
166
+ "@deepseek-ai/dsh-api-remotes": "0.2.1-rc.5",
167
+ "@deepseek-ai/dsh-api-session-controller": "0.2.1-rc.5",
168
+ "@deepseek-ai/dsh-api-settings-controller": "0.2.1-rc.5",
169
+ "@deepseek-ai/dsh-api-workspace-files": "0.2.1-rc.5",
170
+ "@deepseek-ai/dsh-app-boot": "0.2.1-rc.5",
171
+ "@deepseek-ai/dsh-attachment": "0.2.1-rc.5",
172
+ "@deepseek-ai/dsh-base": "0.2.1-rc.5",
173
+ "@deepseek-ai/dsh-attachment-local": "0.2.1-rc.5",
174
+ "@deepseek-ai/dsh-authorization": "0.2.1-rc.5",
175
+ "@deepseek-ai/dsh-brand": "0.2.1-rc.5",
176
+ "@deepseek-ai/dsh-client-connection": "0.2.1-rc.5",
177
+ "@deepseek-ai/dsh-client-file-upload": "0.2.1-rc.5",
178
+ "@deepseek-ai/dsh-client-store": "0.2.1-rc.5",
179
+ "@deepseek-ai/dsh-cmdline": "0.2.1-rc.5",
180
+ "@deepseek-ai/dsh-command-compact": "0.2.1-rc.5",
181
+ "@deepseek-ai/dsh-command-goal": "0.2.1-rc.5",
182
+ "@deepseek-ai/dsh-commands": "0.2.1-rc.5",
183
+ "@deepseek-ai/dsh-compaction-basic": "0.2.1-rc.5",
184
+ "@deepseek-ai/dsh-compaction-tool-result-pruner": "0.2.1-rc.5",
185
+ "@deepseek-ai/dsh-config-editor": "0.2.1-rc.5",
186
+ "@deepseek-ai/dsh-credentials": "0.2.1-rc.5",
187
+ "@deepseek-ai/dsh-credentials-local": "0.2.1-rc.5",
188
+ "@deepseek-ai/dsh-deepseek-account": "0.2.1-rc.5",
189
+ "@deepseek-ai/dsh-deepseek-account-platform": "0.2.1-rc.5",
190
+ "@deepseek-ai/dsh-file-reference": "0.2.1-rc.5",
191
+ "@deepseek-ai/dsh-file-reference-local": "0.2.1-rc.5",
192
+ "@deepseek-ai/dsh-fs-local": "0.2.1-rc.5",
193
+ "@deepseek-ai/dsh-goal": "0.2.1-rc.5",
194
+ "@deepseek-ai/dsh-host-webserver": "0.2.1-rc.5",
195
+ "@deepseek-ai/dsh-jobs": "0.2.1-rc.5",
196
+ "@deepseek-ai/dsh-jobs-local": "0.2.1-rc.5",
197
+ "@deepseek-ai/dsh-launch-environment": "0.2.1-rc.5",
198
+ "@deepseek-ai/dsh-llm": "0.2.1-rc.5",
199
+ "@deepseek-ai/dsh-llm-deepseek-account": "0.2.1-rc.5",
200
+ "@deepseek-ai/dsh-llm-retry": "0.2.1-rc.5",
201
+ "@deepseek-ai/dsh-permission-presets": "0.2.1-rc.5",
202
+ "@deepseek-ai/dsh-persona": "0.2.1-rc.5",
203
+ "@deepseek-ai/dsh-plan-mode": "0.2.1-rc.5",
204
+ "@deepseek-ai/dsh-plugin-manager": "0.2.1-rc.5",
205
+ "@deepseek-ai/dsh-remote-mock": "0.2.1-rc.5",
206
+ "@deepseek-ai/dsh-sandbox-policy": "0.2.1-rc.5",
207
+ "@deepseek-ai/dsh-scope": "0.2.1-rc.5",
208
+ "@deepseek-ai/dsh-session": "0.2.1-rc.5",
209
+ "@deepseek-ai/dsh-session-format": "0.2.1-rc.5",
210
+ "@deepseek-ai/dsh-session-format-v2-to-v3": "0.2.1-rc.5",
211
+ "@deepseek-ai/dsh-session-format-v3-to-v4": "0.2.1-rc.5",
212
+ "@deepseek-ai/dsh-session-log-export": "0.2.1-rc.5",
213
+ "@deepseek-ai/dsh-session-persistence": "0.2.1-rc.5",
214
+ "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.1-rc.5",
215
+ "@deepseek-ai/dsh-session-projection": "0.2.1-rc.5",
216
+ "@deepseek-ai/dsh-session-query": "0.2.1-rc.5",
217
+ "@deepseek-ai/dsh-session-query-sqlite": "0.2.1-rc.5",
218
+ "@deepseek-ai/dsh-session-stats": "0.2.1-rc.5",
219
+ "@deepseek-ai/dsh-session-title": "0.2.1-rc.5",
220
+ "@deepseek-ai/dsh-session-turn-outline": "0.2.1-rc.5",
221
+ "@deepseek-ai/dsh-settings": "0.2.1-rc.5",
222
+ "@deepseek-ai/dsh-shell": "0.2.1-rc.5",
223
+ "@deepseek-ai/dsh-shell-env": "0.2.1-rc.5",
224
+ "@deepseek-ai/dsh-skill": "0.2.1-rc.5",
225
+ "@deepseek-ai/dsh-skill-filesystem": "0.2.1-rc.5",
226
+ "@deepseek-ai/dsh-storage": "0.2.1-rc.5",
227
+ "@deepseek-ai/dsh-storage-domain": "0.2.1-rc.5",
228
+ "@deepseek-ai/dsh-storage-json": "0.2.1-rc.5",
229
+ "@deepseek-ai/dsh-subagent": "0.2.1-rc.5",
230
+ "@deepseek-ai/dsh-subagent-spawn-in-process": "0.2.1-rc.5",
231
+ "@deepseek-ai/dsh-system-prompt": "0.2.1-rc.5",
232
+ "@deepseek-ai/dsh-terminal": "0.2.1-rc.5",
233
+ "@deepseek-ai/dsh-time-context": "0.2.1-rc.5",
234
+ "@deepseek-ai/dsh-timeout": "0.2.1-rc.5",
235
+ "@deepseek-ai/dsh-token-meter": "0.2.1-rc.5",
236
+ "@deepseek-ai/dsh-tool-ask-user": "0.2.1-rc.5",
237
+ "@deepseek-ai/dsh-tool-bash": "0.2.1-rc.5",
238
+ "@deepseek-ai/dsh-tool-cordis": "0.2.1-rc.5",
239
+ "@deepseek-ai/dsh-tool-fs": "0.2.1-rc.5",
240
+ "@deepseek-ai/dsh-tool-fs-search": "0.2.1-rc.5",
241
+ "@deepseek-ai/dsh-tool-goal": "0.2.1-rc.5",
242
+ "@deepseek-ai/dsh-tool-jobs": "0.2.1-rc.5",
243
+ "@deepseek-ai/dsh-tool-pwsh": "0.2.1-rc.5",
244
+ "@deepseek-ai/dsh-tool-skill": "0.2.1-rc.5",
245
+ "@deepseek-ai/dsh-tool-str-replace-editor": "0.2.1-rc.5",
246
+ "@deepseek-ai/dsh-tool-subagent": "0.2.1-rc.5",
247
+ "@deepseek-ai/dsh-tool-subagent-control": "0.2.1-rc.5",
248
+ "@deepseek-ai/dsh-tool-todo": "0.2.1-rc.5",
249
+ "@deepseek-ai/dsh-tool-web": "0.2.1-rc.5",
250
+ "@deepseek-ai/dsh-tool-workflow": "0.2.1-rc.5",
251
+ "@deepseek-ai/dsh-tool-working-directory": "0.2.1-rc.5",
252
+ "@deepseek-ai/dsh-tools": "0.2.1-rc.5",
253
+ "@deepseek-ai/dsh-typert-protocol": "0.2.1-rc.5",
254
+ "@deepseek-ai/dsh-typert-registry": "0.2.1-rc.5",
255
+ "@deepseek-ai/dsh-user-approval": "0.2.1-rc.5",
256
+ "@deepseek-ai/dsh-user-questions": "0.2.1-rc.5",
257
+ "@deepseek-ai/dsh-web": "0.2.1-rc.5",
258
+ "@deepseek-ai/dsh-web-app": "0.2.1-rc.5",
259
+ "@deepseek-ai/dsh-web-deepseek-api": "0.2.1-rc.5",
260
+ "@deepseek-ai/dsh-web-fetch-http": "0.2.1-rc.5",
261
+ "@deepseek-ai/dsh-web-search-deepseek": "0.2.1-rc.5",
262
+ "@deepseek-ai/dsh-working-directory": "0.2.1-rc.5",
263
+ "@deepseek-ai/dsh-workspace": "0.2.1-rc.5",
257
264
  "@deepseek-ai/schemastery": "~3.18.5",
258
265
  "@types/node": "^22.0.0",
266
+ "@types/ws": "8.18.1",
259
267
  "@xmoon76/pi-tui": "^1.1.0",
260
268
  "@xterm/headless": "5.5.0",
261
- "husky": "^9.1.7",
262
269
  "immer": "^10.1.1",
263
270
  "semver": "7.8.5",
264
271
  "tsdown": "0.22.0",
@@ -305,6 +312,7 @@
305
312
  "smoke:remote-session-lifecycle-parity": "node scripts/dsh-remote-session-lifecycle-parity-smoke.mjs",
306
313
  "smoke:boundary": "node scripts/dsh-runtime-boundary-smoke.mjs",
307
314
  "smoke:split-process": "node scripts/split-process-smoke.mjs",
315
+ "smoke:split-upgrade": "node scripts/split-process-upgrade-smoke.mjs",
308
316
  "smoke:pi-tui-file-reference-built": "node --import tsx/esm scripts/pi-tui-file-reference-built-smoke.mjs",
309
317
  "smoke:startup-strictness": "node scripts/startup-strictness-smoke.mjs",
310
318
  "dsh:source:pack": "node scripts/dsh-source-pack.mjs",
@@ -322,15 +330,12 @@
322
330
  "smoke:vim": "node scripts/vim-plugin-smoke.mjs",
323
331
  "gate:pi-surface-compat": "node --test test/extension/pi-component-compat.test.ts",
324
332
  "smoke:examples": "node scripts/examples-plugin-smoke.mjs",
325
- "pack:release": "rm -f xmoon76-dsh-pi-tui-*.tgz && pnpm pack --pack-destination .",
326
333
  "release:context": "node scripts/release-context.mjs",
327
334
  "release:notes": "node scripts/release-notes.mjs",
328
335
  "smoke:pack": "node scripts/tarball-smoke.mjs",
329
336
  "dev:doctor": "node scripts/dev-doctor.mjs",
330
337
  "dev:bootstrap": "node scripts/dev-bootstrap.mjs",
331
338
  "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
339
  "gate:boundary": "node scripts/client-boundary-gate.mjs",
335
340
  "gate:architecture": "node scripts/application-architecture-gate.mjs",
336
341
  "gate:production-reads": "node scripts/check-production-reads.mjs",
@@ -344,6 +349,10 @@
344
349
  "gen:dsh-presets": "node scripts/generate-dsh-presets.mjs",
345
350
  "gate:dsh-preset-parity": "node scripts/generate-dsh-presets.mjs --check",
346
351
  "smoke:p1-profile": "node scripts/dsh-p1-profile-smoke.mjs",
347
- "smoke:s4-d2-bundles": "node scripts/dsh-s4-d2-bundles-smoke.mjs"
352
+ "smoke:s4-d2-bundles": "node scripts/dsh-s4-d2-bundles-smoke.mjs",
353
+ "pack:artifact": "rm -f xmoon76-dsh-pi-tui-*.tgz && pnpm pack --config.ignore-scripts=true --pack-destination .",
354
+ "smoke:release": "node scripts/qualify-tarball.mjs",
355
+ "pack:release": "pnpm clean && pnpm clean:fork && pnpm build && pnpm typecheck:bundle && pnpm test:product && pnpm pack:artifact && pnpm smoke:release",
356
+ "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
357
  }
349
358
  }
@@ -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 };