@xmoon76/dsh-pi-tui 0.4.6 → 0.4.7-alpha.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmoon76/dsh-pi-tui",
3
- "version": "0.4.6",
3
+ "version": "0.4.7-alpha.2",
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>",
@@ -69,114 +69,133 @@
69
69
  "dependencies": {
70
70
  "chalk": "^5.4.1",
71
71
  "commander": "^15.0.0",
72
+ "diff": "^9.0.0",
72
73
  "get-east-asian-width": "1.6.0",
73
74
  "marked": "18.0.5"
74
75
  },
75
76
  "peerDependencies": {
76
77
  "@deepseek-ai/cordis": "^4.0.2",
77
78
  "@deepseek-ai/cordis-plugin-loader": "^1.0.2",
78
- "@deepseek-ai/dsh-agent": ">=0.1.5-rc.1",
79
- "@deepseek-ai/dsh-agent-default-model": ">=0.1.5-rc.1",
80
- "@deepseek-ai/dsh-agent-presets": ">=0.1.5-rc.1",
81
- "@deepseek-ai/dsh-authorization": ">=0.1.5-rc.1",
82
- "@deepseek-ai/dsh-cmdline": ">=0.1.5-rc.1",
83
- "@deepseek-ai/dsh-commands": ">=0.1.5-rc.1",
84
- "@deepseek-ai/dsh-credentials": ">=0.1.5-rc.1",
85
- "@deepseek-ai/dsh-goal": ">=0.1.5-rc.1",
86
- "@deepseek-ai/dsh-jobs": ">=0.1.5-rc.1",
87
- "@deepseek-ai/dsh-llm": ">=0.1.5-rc.1",
88
- "@deepseek-ai/dsh-llm-retry": ">=0.1.5-rc.1",
89
- "@deepseek-ai/dsh-permission-presets": ">=0.1.5-rc.1",
90
- "@deepseek-ai/dsh-plan-mode": ">=0.1.5-rc.1",
91
- "@deepseek-ai/dsh-sandbox-policy": ">=0.1.5-rc.1",
92
- "@deepseek-ai/dsh-session": ">=0.1.5-rc.1",
93
- "@deepseek-ai/dsh-session-log-export": ">=0.1.5-rc.1",
94
- "@deepseek-ai/dsh-session-persistence": ">=0.1.5-rc.1",
95
- "@deepseek-ai/dsh-session-title": ">=0.1.5-rc.1",
96
- "@deepseek-ai/dsh-settings": ">=0.1.5-rc.1",
97
- "@deepseek-ai/dsh-shell": ">=0.1.5-rc.1",
98
- "@deepseek-ai/dsh-skill": ">=0.1.5-rc.1",
99
- "@deepseek-ai/dsh-subagent": ">=0.1.5-rc.1",
100
- "@deepseek-ai/dsh-token-meter": ">=0.1.5-rc.1",
101
- "@deepseek-ai/dsh-tool-todo": ">=0.1.5-rc.1",
102
- "@deepseek-ai/dsh-tool-workflow": ">=0.1.5-rc.1",
103
- "@deepseek-ai/dsh-tools": ">=0.1.5-rc.1",
104
- "@deepseek-ai/dsh-user-approval": ">=0.1.5-rc.1",
105
- "@deepseek-ai/dsh-user-questions": ">=0.1.5-rc.1",
79
+ "@deepseek-ai/dsh-agent": ">=0.1.6-alpha.2",
80
+ "@deepseek-ai/dsh-agent-default-model": ">=0.1.6-alpha.2",
81
+ "@deepseek-ai/dsh-agent-presets": ">=0.1.6-alpha.2",
82
+ "@deepseek-ai/dsh-api-session-controller": ">=0.1.6-alpha.2",
83
+ "@deepseek-ai/dsh-authorization": ">=0.1.6-alpha.2",
84
+ "@deepseek-ai/dsh-cmdline": ">=0.1.6-alpha.2",
85
+ "@deepseek-ai/dsh-commands": ">=0.1.6-alpha.2",
86
+ "@deepseek-ai/dsh-credentials": ">=0.1.6-alpha.2",
87
+ "@deepseek-ai/dsh-goal": ">=0.1.6-alpha.2",
88
+ "@deepseek-ai/dsh-jobs": ">=0.1.6-alpha.2",
89
+ "@deepseek-ai/dsh-llm": ">=0.1.6-alpha.2",
90
+ "@deepseek-ai/dsh-llm-retry": ">=0.1.6-alpha.2",
91
+ "@deepseek-ai/dsh-permission-presets": ">=0.1.6-alpha.2",
92
+ "@deepseek-ai/dsh-plan-mode": ">=0.1.6-alpha.2",
93
+ "@deepseek-ai/dsh-sandbox-policy": ">=0.1.6-alpha.2",
94
+ "@deepseek-ai/dsh-session": ">=0.1.6-alpha.2",
95
+ "@deepseek-ai/dsh-session-log-export": ">=0.1.6-alpha.2",
96
+ "@deepseek-ai/dsh-session-persistence": ">=0.1.6-alpha.2",
97
+ "@deepseek-ai/dsh-session-title": ">=0.1.6-alpha.2",
98
+ "@deepseek-ai/dsh-settings": ">=0.1.6-alpha.2",
99
+ "@deepseek-ai/dsh-shell": ">=0.1.6-alpha.2",
100
+ "@deepseek-ai/dsh-skill": ">=0.1.6-alpha.2",
101
+ "@deepseek-ai/dsh-subagent": ">=0.1.6-alpha.2",
102
+ "@deepseek-ai/dsh-token-meter": ">=0.1.6-alpha.2",
103
+ "@deepseek-ai/dsh-tool-todo": ">=0.1.6-alpha.2",
104
+ "@deepseek-ai/dsh-tool-workflow": ">=0.1.6-alpha.2",
105
+ "@deepseek-ai/dsh-tools": ">=0.1.6-alpha.2",
106
+ "@deepseek-ai/dsh-user-approval": ">=0.1.6-alpha.2",
107
+ "@deepseek-ai/dsh-user-questions": ">=0.1.6-alpha.2",
106
108
  "@deepseek-ai/schemastery": "^3.18.1"
107
109
  },
108
110
  "devDependencies": {
109
111
  "@deepseek-ai/cordis-plugin-loader": "^1.0.2",
110
- "@deepseek-ai/dsh-agent": "0.1.5-rc.1",
111
- "@deepseek-ai/dsh-agent-default-model": "0.1.5-rc.1",
112
- "@deepseek-ai/dsh-agent-loop": "0.1.5-rc.1",
113
- "@deepseek-ai/dsh-agent-presets": "0.1.5-rc.1",
114
- "@deepseek-ai/dsh-attachment": "0.1.5-rc.1",
115
- "@deepseek-ai/dsh-authorization": "0.1.5-rc.1",
116
- "@deepseek-ai/dsh-brand": "0.1.5-rc.1",
117
- "@deepseek-ai/dsh-cmdline": "0.1.5-rc.1",
118
- "@deepseek-ai/dsh-commands": "0.1.5-rc.1",
119
- "@deepseek-ai/dsh-credentials": "0.1.5-rc.1",
120
- "@deepseek-ai/dsh-goal": "0.1.5-rc.1",
121
- "@deepseek-ai/dsh-invariants": "0.1.5-rc.1",
122
- "@deepseek-ai/dsh-jobs": "0.1.5-rc.1",
123
- "@deepseek-ai/dsh-llm": "0.1.5-rc.1",
124
- "@deepseek-ai/dsh-llm-retry": "0.1.5-rc.1",
125
- "@deepseek-ai/dsh-permission-presets": "0.1.5-rc.1",
126
- "@deepseek-ai/dsh-plan-mode": "0.1.5-rc.1",
127
- "@deepseek-ai/dsh-sandbox-policy": "0.1.5-rc.1",
128
- "@deepseek-ai/dsh-scope": "0.1.5-rc.1",
129
- "@deepseek-ai/dsh-session": "0.1.5-rc.1",
130
- "@deepseek-ai/dsh-session-log-export": "0.1.5-rc.1",
131
- "@deepseek-ai/dsh-session-persistence": "0.1.5-rc.1",
132
- "@deepseek-ai/dsh-session-title": "0.1.5-rc.1",
133
- "@deepseek-ai/dsh-settings": "0.1.5-rc.1",
134
- "@deepseek-ai/dsh-shell": "0.1.5-rc.1",
135
- "@deepseek-ai/dsh-skill": "0.1.5-rc.1",
136
- "@deepseek-ai/dsh-subagent": "0.1.5-rc.1",
137
- "@deepseek-ai/dsh-system-prompt": "0.1.5-rc.1",
138
- "@deepseek-ai/dsh-timeout": "0.1.5-rc.1",
139
- "@deepseek-ai/dsh-token-meter": "0.1.5-rc.1",
140
- "@deepseek-ai/dsh-tool-todo": "0.1.5-rc.1",
141
- "@deepseek-ai/dsh-tool-workflow": "0.1.5-rc.1",
142
- "@deepseek-ai/dsh-tools": "0.1.5-rc.1",
143
- "@deepseek-ai/dsh-user-approval": "0.1.5-rc.1",
144
- "@deepseek-ai/dsh-user-questions": "0.1.5-rc.1",
112
+ "@deepseek-ai/dsh-agent": "0.1.6-alpha.2",
113
+ "@deepseek-ai/dsh-agent-default-model": "0.1.6-alpha.2",
114
+ "@deepseek-ai/dsh-agent-instructions": "0.1.6-alpha.2",
115
+ "@deepseek-ai/dsh-agent-loop": "0.1.6-alpha.2",
116
+ "@deepseek-ai/dsh-agent-loop-testkit": "0.1.6-alpha.2",
117
+ "@deepseek-ai/dsh-agent-presets": "0.1.6-alpha.2",
118
+ "@deepseek-ai/dsh-agent-tool-presentation": "0.1.6-alpha.2",
119
+ "@deepseek-ai/dsh-api-gateway": "0.1.6-alpha.2",
120
+ "@deepseek-ai/dsh-api-remotes": "0.1.6-alpha.2",
121
+ "@deepseek-ai/dsh-api-session-controller": "0.1.6-alpha.2",
122
+ "@deepseek-ai/dsh-attachment": "0.1.6-alpha.2",
123
+ "@deepseek-ai/dsh-authorization": "0.1.6-alpha.2",
124
+ "@deepseek-ai/dsh-brand": "0.1.6-alpha.2",
125
+ "@deepseek-ai/dsh-client-connection": "0.1.6-alpha.2",
126
+ "@deepseek-ai/dsh-client-store": "0.1.6-alpha.2",
127
+ "@deepseek-ai/dsh-cmdline": "0.1.6-alpha.2",
128
+ "@deepseek-ai/dsh-command-compact": "0.1.6-alpha.2",
129
+ "@deepseek-ai/dsh-command-goal": "0.1.6-alpha.2",
130
+ "@deepseek-ai/dsh-commands": "0.1.6-alpha.2",
131
+ "@deepseek-ai/dsh-compaction-basic": "0.1.6-alpha.2",
132
+ "@deepseek-ai/dsh-compaction-tool-result-pruner": "0.1.6-alpha.2",
133
+ "@deepseek-ai/dsh-credentials": "0.1.6-alpha.2",
134
+ "@deepseek-ai/dsh-fs-local": "0.1.6-alpha.2",
135
+ "@deepseek-ai/dsh-goal": "0.1.6-alpha.2",
136
+ "@deepseek-ai/dsh-invariants": "0.1.6-alpha.2",
137
+ "@deepseek-ai/dsh-jobs": "0.1.6-alpha.2",
138
+ "@deepseek-ai/dsh-jobs-local": "0.1.6-alpha.2",
139
+ "@deepseek-ai/dsh-llm": "0.1.6-alpha.2",
140
+ "@deepseek-ai/dsh-llm-retry": "0.1.6-alpha.2",
141
+ "@deepseek-ai/dsh-permission-presets": "0.1.6-alpha.2",
142
+ "@deepseek-ai/dsh-persona": "0.1.6-alpha.2",
143
+ "@deepseek-ai/dsh-plan-mode": "0.1.6-alpha.2",
144
+ "@deepseek-ai/dsh-remote-mock": "0.1.6-alpha.2",
145
+ "@deepseek-ai/dsh-sandbox-policy": "0.1.6-alpha.2",
146
+ "@deepseek-ai/dsh-scope": "0.1.6-alpha.2",
147
+ "@deepseek-ai/dsh-session": "0.1.6-alpha.2",
148
+ "@deepseek-ai/dsh-session-log-export": "0.1.6-alpha.2",
149
+ "@deepseek-ai/dsh-session-persistence": "0.1.6-alpha.2",
150
+ "@deepseek-ai/dsh-session-persistence-jsonl": "0.1.6-alpha.2",
151
+ "@deepseek-ai/dsh-session-projection": "0.1.6-alpha.2",
152
+ "@deepseek-ai/dsh-session-query": "0.1.6-alpha.2",
153
+ "@deepseek-ai/dsh-session-query-sqlite": "0.1.6-alpha.2",
154
+ "@deepseek-ai/dsh-session-title": "0.1.6-alpha.2",
155
+ "@deepseek-ai/dsh-settings": "0.1.6-alpha.2",
156
+ "@deepseek-ai/dsh-shell": "0.1.6-alpha.2",
157
+ "@deepseek-ai/dsh-skill": "0.1.6-alpha.2",
158
+ "@deepseek-ai/dsh-skill-filesystem": "0.1.6-alpha.2",
159
+ "@deepseek-ai/dsh-storage": "0.1.6-alpha.2",
160
+ "@deepseek-ai/dsh-storage-domain": "0.1.6-alpha.2",
161
+ "@deepseek-ai/dsh-storage-json": "0.1.6-alpha.2",
162
+ "@deepseek-ai/dsh-subagent": "0.1.6-alpha.2",
163
+ "@deepseek-ai/dsh-subagent-spawn-in-process": "0.1.6-alpha.2",
164
+ "@deepseek-ai/dsh-system-prompt": "0.1.6-alpha.2",
165
+ "@deepseek-ai/dsh-terminal": "0.1.6-alpha.2",
166
+ "@deepseek-ai/dsh-timeout": "0.1.6-alpha.2",
167
+ "@deepseek-ai/dsh-token-meter": "0.1.6-alpha.2",
168
+ "@deepseek-ai/dsh-tool-ask-user": "0.1.6-alpha.2",
169
+ "@deepseek-ai/dsh-tool-cordis": "0.1.6-alpha.2",
170
+ "@deepseek-ai/dsh-tool-fs": "0.1.6-alpha.2",
171
+ "@deepseek-ai/dsh-tool-fs-search": "0.1.6-alpha.2",
172
+ "@deepseek-ai/dsh-tool-goal": "0.1.6-alpha.2",
173
+ "@deepseek-ai/dsh-tool-jobs": "0.1.6-alpha.2",
174
+ "@deepseek-ai/dsh-tool-ralph": "0.1.6-alpha.2",
175
+ "@deepseek-ai/dsh-tool-skill": "0.1.6-alpha.2",
176
+ "@deepseek-ai/dsh-tool-str-replace-editor": "0.1.6-alpha.2",
177
+ "@deepseek-ai/dsh-tool-subagent": "0.1.6-alpha.2",
178
+ "@deepseek-ai/dsh-tool-subagent-control": "0.1.6-alpha.2",
179
+ "@deepseek-ai/dsh-tool-todo": "0.1.6-alpha.2",
180
+ "@deepseek-ai/dsh-tool-web": "0.1.6-alpha.2",
181
+ "@deepseek-ai/dsh-tool-workflow": "0.1.6-alpha.2",
182
+ "@deepseek-ai/dsh-tools": "0.1.6-alpha.2",
183
+ "@deepseek-ai/dsh-typert-protocol": "0.1.6-alpha.2",
184
+ "@deepseek-ai/dsh-typert-registry": "0.1.6-alpha.2",
185
+ "@deepseek-ai/dsh-user-approval": "0.1.6-alpha.2",
186
+ "@deepseek-ai/dsh-user-questions": "0.1.6-alpha.2",
187
+ "@deepseek-ai/dsh-workspace": "0.1.6-alpha.2",
145
188
  "@deepseek-ai/schemastery": "^3.18.1",
146
189
  "@types/node": "^22.0.0",
147
190
  "@xmoon76/pi-tui": "^0.84.4",
148
191
  "@xterm/headless": "5.5.0",
149
192
  "husky": "^9.1.7",
193
+ "immer": "^10.1.1",
150
194
  "semver": "7.8.5",
151
195
  "tsdown": "0.22.0",
152
196
  "tsx": "^4.23.12",
153
197
  "typescript": "^5.9.0",
154
- "@deepseek-ai/dsh-session-projection": "0.1.5-rc.1",
155
- "@deepseek-ai/dsh-persona": "0.1.5-rc.1",
156
- "@deepseek-ai/dsh-agent-instructions": "0.1.5-rc.1",
157
- "@deepseek-ai/dsh-tool-fs": "0.1.5-rc.1",
158
- "@deepseek-ai/dsh-tool-fs-search": "0.1.5-rc.1",
159
- "@deepseek-ai/dsh-tool-jobs": "0.1.5-rc.1",
160
- "@deepseek-ai/dsh-skill-filesystem": "0.1.5-rc.1",
161
- "@deepseek-ai/dsh-tool-skill": "0.1.5-rc.1",
162
- "@deepseek-ai/dsh-command-goal": "0.1.5-rc.1",
163
- "@deepseek-ai/dsh-tool-goal": "0.1.5-rc.1",
164
- "@deepseek-ai/dsh-compaction-basic": "0.1.5-rc.1",
165
- "@deepseek-ai/dsh-command-compact": "0.1.5-rc.1",
166
- "@deepseek-ai/dsh-compaction-tool-result-pruner": "0.1.5-rc.1",
167
- "@deepseek-ai/dsh-tool-subagent-control": "0.1.5-rc.1",
168
- "@deepseek-ai/dsh-tool-subagent": "0.1.5-rc.1",
169
- "@deepseek-ai/dsh-workflow-worker-thread": "0.1.5-rc.1",
170
- "@deepseek-ai/dsh-tool-ralph": "0.1.5-rc.1",
171
- "@deepseek-ai/dsh-tool-ask-user": "0.1.5-rc.1",
172
- "@deepseek-ai/dsh-tool-web": "0.1.5-rc.1",
173
- "@deepseek-ai/dsh-agent-tool-presentation": "0.1.5-rc.1",
174
- "@deepseek-ai/dsh-terminal": "0.1.5-rc.1",
175
- "@deepseek-ai/dsh-fs-local": "0.1.5-rc.1",
176
- "@deepseek-ai/dsh-tool-str-replace-editor": "0.1.5-rc.1",
177
- "@deepseek-ai/dsh-tool-cordis": "0.1.5-rc.1",
178
- "@deepseek-ai/dsh-agent-loop-testkit": "0.1.5-rc.1",
179
- "@deepseek-ai/dsh-subagent-spawn-in-process": "0.1.5-rc.1"
198
+ "zustand": "~4.4.7"
180
199
  },
181
200
  "engines": {
182
201
  "node": "^22.19.0 || >=24"
@@ -201,10 +220,22 @@
201
220
  "smoke:unstable": "node scripts/unstable-plugin-smoke.mjs",
202
221
  "smoke:pi2dsh": "node scripts/pi2dsh-compat-smoke.mjs",
203
222
  "smoke:official-presets": "node scripts/official-presets-smoke.mjs",
223
+ "smoke:remote-session-read": "node --import tsx/esm scripts/dsh-remote-session-read-smoke.mjs",
224
+ "smoke:remote-session-read-parity": "node --import tsx/esm scripts/dsh-remote-session-read-parity-smoke.mjs",
225
+ "smoke:remote-surface-authority-parity": "node --import tsx/esm scripts/dsh-remote-surface-authority-parity-smoke.mjs",
226
+ "smoke:remote-task-read-parity": "node --import tsx/esm scripts/dsh-remote-task-read-parity-smoke.mjs",
227
+ "smoke:remote-presentation-parity": "node --import tsx/esm scripts/dsh-remote-presentation-parity-smoke.mjs",
228
+ "smoke:remote-d1-closure": "node --import tsx/esm scripts/dsh-remote-d1-closure-smoke.mjs",
229
+ "smoke:remote-d2-write": "node --import tsx/esm scripts/dsh-remote-d2-write-smoke.mjs",
230
+ "smoke:remote-d2-lifecycle": "node scripts/dsh-remote-d2.3-parity-smoke.mjs",
231
+ "smoke:remote-d2-fork": "node scripts/dsh-remote-d2.4-fork-parity-smoke.mjs",
232
+ "smoke:remote-d2-closure": "node scripts/dsh-remote-d2-closure-smoke.mjs",
204
233
  "smoke:boundary": "node scripts/dsh-runtime-boundary-smoke.mjs",
234
+ "smoke:startup-strictness": "node scripts/startup-strictness-smoke.mjs",
205
235
  "dsh:source:pack": "node scripts/dsh-source-pack.mjs",
206
236
  "compat:dsh:source": "node scripts/dsh-source-verify.mjs",
207
237
  "compat:dsh:npm": "node scripts/dsh-npm-verify.mjs",
238
+ "compat:dsh:client-family": "node scripts/dsh-client-family-compat.mjs",
208
239
  "prepare:dsh:test": "node scripts/prepare-dsh-test-environment.mjs",
209
240
  "gate:source-leak": "node scripts/dsh-source-leak-gate.mjs",
210
241
  "gate:installation-doc": "node scripts/installation-doc-gate.mjs",
@@ -227,7 +258,7 @@
227
258
  "verify:prepush:nofork": "pnpm test:docs && 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:keybindings && pnpm audit --prod --audit-level high && pnpm pack:release",
228
259
  "gate:boundary": "node scripts/client-boundary-gate.mjs",
229
260
  "gate:keybindings": "node --import tsx/esm scripts/check-host-keybindings.mts",
230
- "test:tooling": "node scripts/run-with-temp-root.mjs node --test test/dev-environment.test.mjs test/dev-bootstrap-ephemeral.test.mjs test/pre-push-hook.test.mjs test/pre-push-stages.test.mjs test/dsh-ci-context.test.mjs test/dsh-distribution.test.mjs test/dsh-npm-verify.test.mjs test/dsh-peer-window.test.mjs test/dsh-process.test.mjs test/dsh-runtime-boundary.test.mjs test/dsh-source-identity.test.mjs test/dsh-source-leak.test.mjs test/release-context.test.mjs test/release-notes.test.mjs test/source-mode-rules.test.mjs test/client-boundary-gate.test.mjs test/tarball-source-install.test.mjs test/pi2dsh-compat-smoke.test.mjs test/temp-hygiene-gate.test.mjs test/pi-vendor-diff-gate.test.mjs test/pi-divergence-ledger-gate.test.mjs test/run-with-temp-root.test.mjs test/raw-persistence-coupling-gate.test.mjs",
261
+ "test:tooling": "node scripts/run-with-temp-root.mjs node --test test/dev-environment.test.mjs test/dev-bootstrap-ephemeral.test.mjs test/client-server-migration.test.mjs test/pre-push-hook.test.mjs test/pre-push-stages.test.mjs test/dsh-ci-context.test.mjs test/dsh-distribution.test.mjs test/dsh-npm-verify.test.mjs test/dsh-peer-window.test.mjs test/dsh-process.test.mjs test/dsh-runtime-boundary.test.mjs test/dsh-source-identity.test.mjs test/dsh-source-leak.test.mjs test/release-context.test.mjs test/release-notes.test.mjs test/source-mode-rules.test.mjs test/client-boundary-gate.test.mjs test/tarball-source-install.test.mjs test/pi2dsh-compat-smoke.test.mjs test/temp-hygiene-gate.test.mjs test/pi-vendor-diff-gate.test.mjs test/pi-divergence-ledger-gate.test.mjs test/run-with-temp-root.test.mjs test/raw-persistence-coupling-gate.test.mjs",
231
262
  "test:product": "node scripts/run-with-temp-root.mjs node --test test/*.test.ts test/tarball-smoke.test.mjs"
232
263
  }
233
264
  }