@xmoon76/dsh-pi-tui 0.4.0-alpha.1 → 0.4.0-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.
@@ -26,7 +26,7 @@ interface HarnessCompatEntry {
26
26
  max?: string;
27
27
  /** The bundle release line that first required this constraint. */
28
28
  since: string;
29
- /** Human-readable requirement, e.g. `DeepSeek Harness 0.1.2-alpha.2 or later`. */
29
+ /** Human-readable requirement, e.g. `DeepSeek Harness 0.1.2-alpha.4 or later`. */
30
30
  requires: string;
31
31
  /** The target DSH version to install when the current runtime is too old. */
32
32
  upgradeDsh?: string;
package/dist/startup.mjs CHANGED
@@ -68,10 +68,17 @@ const name = "tui-startup";
68
68
  const inject = ["cmdlineArgs"];
69
69
  /** The compatibility table. */
70
70
  const HARNESS_COMPAT = [{
71
+ min: "0.1.2-alpha.2",
72
+ max: "0.1.2-alpha.4",
73
+ since: "0.4.0-alpha.2",
74
+ requires: "DeepSeek Harness 0.1.2-alpha.4 or later",
75
+ upgradeDsh: "0.1.2-alpha.5",
76
+ fallbackTui: "0.4.0-alpha.1"
77
+ }, {
71
78
  max: "0.1.2-alpha.2",
72
79
  since: "0.4.0-alpha.1",
73
80
  requires: "DeepSeek Harness 0.1.2-alpha.2 or later",
74
- upgradeDsh: "0.1.2-alpha.2",
81
+ upgradeDsh: "0.1.2-alpha.5",
75
82
  fallbackTui: "0.3"
76
83
  }];
77
84
  /** The compat entry covering the installed dsh version, or undefined when
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmoon76/dsh-pi-tui",
3
- "version": "0.4.0-alpha.1",
3
+ "version": "0.4.0-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>",
@@ -77,102 +77,106 @@
77
77
  "peerDependencies": {
78
78
  "@deepseek-ai/cordis": "^4.0.2",
79
79
  "@deepseek-ai/cordis-plugin-loader": "^1.0.2",
80
- "@deepseek-ai/dsh-agent": ">=0.1.2-alpha.2",
81
- "@deepseek-ai/dsh-agent-default-model": ">=0.1.2-alpha.2",
82
- "@deepseek-ai/dsh-agent-presets": ">=0.1.2-alpha.2",
83
- "@deepseek-ai/dsh-authorization": ">=0.1.2-alpha.2",
84
- "@deepseek-ai/dsh-cmdline": ">=0.1.2-alpha.2",
85
- "@deepseek-ai/dsh-commands": ">=0.1.2-alpha.2",
86
- "@deepseek-ai/dsh-credentials": ">=0.1.2-alpha.2",
87
- "@deepseek-ai/dsh-goal": ">=0.1.2-alpha.2",
88
- "@deepseek-ai/dsh-jobs": ">=0.1.2-alpha.2",
89
- "@deepseek-ai/dsh-llm": ">=0.1.2-alpha.2",
90
- "@deepseek-ai/dsh-llm-retry": ">=0.1.2-alpha.2",
91
- "@deepseek-ai/dsh-permission-presets": ">=0.1.2-alpha.2",
92
- "@deepseek-ai/dsh-plan-mode": ">=0.1.2-alpha.2",
93
- "@deepseek-ai/dsh-sandbox-policy": ">=0.1.2-alpha.2",
94
- "@deepseek-ai/dsh-session": ">=0.1.2-alpha.2",
95
- "@deepseek-ai/dsh-session-persistence": ">=0.1.2-alpha.2",
96
- "@deepseek-ai/dsh-session-title": ">=0.1.2-alpha.2",
97
- "@deepseek-ai/dsh-settings": ">=0.1.2-alpha.2",
98
- "@deepseek-ai/dsh-shell": ">=0.1.2-alpha.2",
99
- "@deepseek-ai/dsh-skill": ">=0.1.2-alpha.2",
100
- "@deepseek-ai/dsh-subagent": ">=0.1.2-alpha.2",
101
- "@deepseek-ai/dsh-token-meter": ">=0.1.2-alpha.2",
102
- "@deepseek-ai/dsh-tool-todo": ">=0.1.2-alpha.2",
103
- "@deepseek-ai/dsh-tool-workflow": ">=0.1.2-alpha.2",
104
- "@deepseek-ai/dsh-tools": ">=0.1.2-alpha.2",
105
- "@deepseek-ai/dsh-user-approval": ">=0.1.2-alpha.2",
106
- "@deepseek-ai/dsh-user-questions": ">=0.1.2-alpha.2",
80
+ "@deepseek-ai/dsh-agent": ">=0.1.2-alpha.4",
81
+ "@deepseek-ai/dsh-agent-default-model": ">=0.1.2-alpha.4",
82
+ "@deepseek-ai/dsh-agent-presets": ">=0.1.2-alpha.4",
83
+ "@deepseek-ai/dsh-authorization": ">=0.1.2-alpha.4",
84
+ "@deepseek-ai/dsh-cmdline": ">=0.1.2-alpha.4",
85
+ "@deepseek-ai/dsh-commands": ">=0.1.2-alpha.4",
86
+ "@deepseek-ai/dsh-credentials": ">=0.1.2-alpha.4",
87
+ "@deepseek-ai/dsh-goal": ">=0.1.2-alpha.4",
88
+ "@deepseek-ai/dsh-jobs": ">=0.1.2-alpha.4",
89
+ "@deepseek-ai/dsh-llm": ">=0.1.2-alpha.4",
90
+ "@deepseek-ai/dsh-llm-retry": ">=0.1.2-alpha.4",
91
+ "@deepseek-ai/dsh-permission-presets": ">=0.1.2-alpha.4",
92
+ "@deepseek-ai/dsh-plan-mode": ">=0.1.2-alpha.4",
93
+ "@deepseek-ai/dsh-sandbox-policy": ">=0.1.2-alpha.4",
94
+ "@deepseek-ai/dsh-session": ">=0.1.2-alpha.4",
95
+ "@deepseek-ai/dsh-session-persistence": ">=0.1.2-alpha.4",
96
+ "@deepseek-ai/dsh-session-title": ">=0.1.2-alpha.4",
97
+ "@deepseek-ai/dsh-settings": ">=0.1.2-alpha.4",
98
+ "@deepseek-ai/dsh-shell": ">=0.1.2-alpha.4",
99
+ "@deepseek-ai/dsh-skill": ">=0.1.2-alpha.4",
100
+ "@deepseek-ai/dsh-subagent": ">=0.1.2-alpha.4",
101
+ "@deepseek-ai/dsh-token-meter": ">=0.1.2-alpha.4",
102
+ "@deepseek-ai/dsh-tool-todo": ">=0.1.2-alpha.4",
103
+ "@deepseek-ai/dsh-tool-workflow": ">=0.1.2-alpha.4",
104
+ "@deepseek-ai/dsh-tools": ">=0.1.2-alpha.4",
105
+ "@deepseek-ai/dsh-user-approval": ">=0.1.2-alpha.4",
106
+ "@deepseek-ai/dsh-user-questions": ">=0.1.2-alpha.4",
107
107
  "@deepseek-ai/schemastery": "^3.18.1"
108
108
  },
109
109
  "devDependencies": {
110
110
  "@deepseek-ai/cordis-plugin-loader": "^1.0.2",
111
- "@deepseek-ai/dsh-agent": "0.1.2-alpha.3",
112
- "@deepseek-ai/dsh-agent-default-model": "0.1.2-alpha.3",
113
- "@deepseek-ai/dsh-agent-loop": "0.1.2-alpha.3",
114
- "@deepseek-ai/dsh-agent-presets": "0.1.2-alpha.3",
115
- "@deepseek-ai/dsh-attachment": "0.1.2-alpha.3",
116
- "@deepseek-ai/dsh-authorization": "0.1.2-alpha.3",
117
- "@deepseek-ai/dsh-brand": "0.1.2-alpha.3",
118
- "@deepseek-ai/dsh-commands": "0.1.2-alpha.3",
119
- "@deepseek-ai/dsh-credentials": "0.1.2-alpha.3",
120
- "@deepseek-ai/dsh-goal": "0.1.2-alpha.3",
121
- "@deepseek-ai/dsh-invariants": "0.1.2-alpha.3",
122
- "@deepseek-ai/dsh-jobs": "0.1.2-alpha.3",
123
- "@deepseek-ai/dsh-llm": "0.1.2-alpha.3",
124
- "@deepseek-ai/dsh-llm-retry": "0.1.2-alpha.3",
125
- "@deepseek-ai/dsh-permission-presets": "0.1.2-alpha.3",
126
- "@deepseek-ai/dsh-plan-mode": "0.1.2-alpha.3",
127
- "@deepseek-ai/dsh-scope": "0.1.2-alpha.3",
128
- "@deepseek-ai/dsh-session": "0.1.2-alpha.3",
129
- "@deepseek-ai/dsh-session-persistence": "0.1.2-alpha.3",
130
- "@deepseek-ai/dsh-session-title": "0.1.2-alpha.3",
131
- "@deepseek-ai/dsh-settings": "0.1.2-alpha.3",
132
- "@deepseek-ai/dsh-shell": "0.1.2-alpha.3",
133
- "@deepseek-ai/dsh-skill": "0.1.2-alpha.3",
134
- "@deepseek-ai/dsh-subagent": "0.1.2-alpha.3",
135
- "@deepseek-ai/dsh-system-prompt": "0.1.2-alpha.3",
136
- "@deepseek-ai/dsh-timeout": "0.1.2-alpha.3",
137
- "@deepseek-ai/dsh-token-meter": "0.1.2-alpha.3",
138
- "@deepseek-ai/dsh-tool-todo": "0.1.2-alpha.3",
139
- "@deepseek-ai/dsh-tool-workflow": "0.1.2-alpha.3",
140
- "@deepseek-ai/dsh-tools": "0.1.2-alpha.3",
141
- "@deepseek-ai/dsh-user-approval": "0.1.2-alpha.3",
142
- "@deepseek-ai/dsh-user-questions": "0.1.2-alpha.3",
111
+ "@deepseek-ai/dsh-agent": "0.1.2-alpha.5",
112
+ "@deepseek-ai/dsh-agent-default-model": "0.1.2-alpha.5",
113
+ "@deepseek-ai/dsh-agent-loop": "0.1.2-alpha.5",
114
+ "@deepseek-ai/dsh-agent-presets": "0.1.2-alpha.5",
115
+ "@deepseek-ai/dsh-attachment": "0.1.2-alpha.5",
116
+ "@deepseek-ai/dsh-authorization": "0.1.2-alpha.5",
117
+ "@deepseek-ai/dsh-brand": "0.1.2-alpha.5",
118
+ "@deepseek-ai/dsh-cmdline": "0.1.2-alpha.5",
119
+ "@deepseek-ai/dsh-commands": "0.1.2-alpha.5",
120
+ "@deepseek-ai/dsh-credentials": "0.1.2-alpha.5",
121
+ "@deepseek-ai/dsh-goal": "0.1.2-alpha.5",
122
+ "@deepseek-ai/dsh-invariants": "0.1.2-alpha.5",
123
+ "@deepseek-ai/dsh-jobs": "0.1.2-alpha.5",
124
+ "@deepseek-ai/dsh-llm": "0.1.2-alpha.5",
125
+ "@deepseek-ai/dsh-llm-retry": "0.1.2-alpha.5",
126
+ "@deepseek-ai/dsh-permission-presets": "0.1.2-alpha.5",
127
+ "@deepseek-ai/dsh-plan-mode": "0.1.2-alpha.5",
128
+ "@deepseek-ai/dsh-sandbox-policy": "0.1.2-alpha.5",
129
+ "@deepseek-ai/dsh-scope": "0.1.2-alpha.5",
130
+ "@deepseek-ai/dsh-session": "0.1.2-alpha.5",
131
+ "@deepseek-ai/dsh-session-persistence": "0.1.2-alpha.5",
132
+ "@deepseek-ai/dsh-session-title": "0.1.2-alpha.5",
133
+ "@deepseek-ai/dsh-settings": "0.1.2-alpha.5",
134
+ "@deepseek-ai/dsh-shell": "0.1.2-alpha.5",
135
+ "@deepseek-ai/dsh-skill": "0.1.2-alpha.5",
136
+ "@deepseek-ai/dsh-subagent": "0.1.2-alpha.5",
137
+ "@deepseek-ai/dsh-system-prompt": "0.1.2-alpha.5",
138
+ "@deepseek-ai/dsh-timeout": "0.1.2-alpha.5",
139
+ "@deepseek-ai/dsh-token-meter": "0.1.2-alpha.5",
140
+ "@deepseek-ai/dsh-tool-todo": "0.1.2-alpha.5",
141
+ "@deepseek-ai/dsh-tool-workflow": "0.1.2-alpha.5",
142
+ "@deepseek-ai/dsh-tools": "0.1.2-alpha.5",
143
+ "@deepseek-ai/dsh-user-approval": "0.1.2-alpha.5",
144
+ "@deepseek-ai/dsh-user-questions": "0.1.2-alpha.5",
143
145
  "@deepseek-ai/schemastery": "^3.18.1",
144
146
  "@types/node": "^22.0.0",
145
- "@xmoon76/pi-tui": "^0.84.3",
147
+ "@xmoon76/pi-tui": "^0.84.4",
146
148
  "@xterm/headless": "5.5.0",
147
149
  "husky": "^9.1.7",
148
150
  "semver": "7.8.5",
149
151
  "tsdown": "0.22.0",
150
152
  "tsx": "^4.23.12",
151
153
  "typescript": "^5.9.0",
152
- "@deepseek-ai/dsh-session-projection": "0.1.2-alpha.3",
153
- "@deepseek-ai/dsh-persona": "0.1.2-alpha.3",
154
- "@deepseek-ai/dsh-agent-instructions": "0.1.2-alpha.3",
155
- "@deepseek-ai/dsh-tool-fs": "0.1.2-alpha.3",
156
- "@deepseek-ai/dsh-tool-fs-search": "0.1.2-alpha.3",
157
- "@deepseek-ai/dsh-tool-jobs": "0.1.2-alpha.3",
158
- "@deepseek-ai/dsh-skill-filesystem": "0.1.2-alpha.3",
159
- "@deepseek-ai/dsh-tool-skill": "0.1.2-alpha.3",
160
- "@deepseek-ai/dsh-command-goal": "0.1.2-alpha.3",
161
- "@deepseek-ai/dsh-tool-goal": "0.1.2-alpha.3",
162
- "@deepseek-ai/dsh-compaction-basic": "0.1.2-alpha.3",
163
- "@deepseek-ai/dsh-command-compact": "0.1.2-alpha.3",
164
- "@deepseek-ai/dsh-compaction-tool-result-pruner": "0.1.2-alpha.3",
165
- "@deepseek-ai/dsh-tool-subagent-control": "0.1.2-alpha.3",
166
- "@deepseek-ai/dsh-tool-subagent": "0.1.2-alpha.3",
167
- "@deepseek-ai/dsh-workflow-worker-thread": "0.1.2-alpha.3",
168
- "@deepseek-ai/dsh-tool-ralph": "0.1.2-alpha.3",
169
- "@deepseek-ai/dsh-tool-ask-user": "0.1.2-alpha.3",
170
- "@deepseek-ai/dsh-tool-web": "0.1.2-alpha.3",
171
- "@deepseek-ai/dsh-agent-tool-presentation": "0.1.2-alpha.3",
172
- "@deepseek-ai/dsh-terminal": "0.1.2-alpha.3",
173
- "@deepseek-ai/dsh-fs-local": "0.1.2-alpha.3",
174
- "@deepseek-ai/dsh-tool-str-replace-editor": "0.1.2-alpha.3",
175
- "@deepseek-ai/dsh-tool-cordis": "0.1.2-alpha.3"
154
+ "@deepseek-ai/dsh-session-projection": "0.1.2-alpha.5",
155
+ "@deepseek-ai/dsh-persona": "0.1.2-alpha.5",
156
+ "@deepseek-ai/dsh-agent-instructions": "0.1.2-alpha.5",
157
+ "@deepseek-ai/dsh-tool-fs": "0.1.2-alpha.5",
158
+ "@deepseek-ai/dsh-tool-fs-search": "0.1.2-alpha.5",
159
+ "@deepseek-ai/dsh-tool-jobs": "0.1.2-alpha.5",
160
+ "@deepseek-ai/dsh-skill-filesystem": "0.1.2-alpha.5",
161
+ "@deepseek-ai/dsh-tool-skill": "0.1.2-alpha.5",
162
+ "@deepseek-ai/dsh-command-goal": "0.1.2-alpha.5",
163
+ "@deepseek-ai/dsh-tool-goal": "0.1.2-alpha.5",
164
+ "@deepseek-ai/dsh-compaction-basic": "0.1.2-alpha.5",
165
+ "@deepseek-ai/dsh-command-compact": "0.1.2-alpha.5",
166
+ "@deepseek-ai/dsh-compaction-tool-result-pruner": "0.1.2-alpha.5",
167
+ "@deepseek-ai/dsh-tool-subagent-control": "0.1.2-alpha.5",
168
+ "@deepseek-ai/dsh-tool-subagent": "0.1.2-alpha.5",
169
+ "@deepseek-ai/dsh-workflow-worker-thread": "0.1.2-alpha.5",
170
+ "@deepseek-ai/dsh-tool-ralph": "0.1.2-alpha.5",
171
+ "@deepseek-ai/dsh-tool-ask-user": "0.1.2-alpha.5",
172
+ "@deepseek-ai/dsh-tool-web": "0.1.2-alpha.5",
173
+ "@deepseek-ai/dsh-agent-tool-presentation": "0.1.2-alpha.5",
174
+ "@deepseek-ai/dsh-terminal": "0.1.2-alpha.5",
175
+ "@deepseek-ai/dsh-fs-local": "0.1.2-alpha.5",
176
+ "@deepseek-ai/dsh-tool-str-replace-editor": "0.1.2-alpha.5",
177
+ "@deepseek-ai/dsh-tool-cordis": "0.1.2-alpha.5",
178
+ "@deepseek-ai/dsh-agent-loop-testkit": "0.1.2-alpha.5",
179
+ "@deepseek-ai/dsh-subagent-spawn-in-process": "0.1.2-alpha.5"
176
180
  },
177
181
  "engines": {
178
182
  "node": "^22.19.0 || >=24"
@@ -186,9 +190,9 @@
186
190
  "typecheck:fork": "pnpm --dir packages/pi-tui typecheck",
187
191
  "typecheck:bundle": "tsc -p tsconfig.json --noEmit",
188
192
  "typecheck": "pnpm typecheck:fork && pnpm typecheck:bundle",
189
- "test:fork": "pnpm --dir packages/pi-tui test",
193
+ "test:fork": "node scripts/run-with-temp-root.mjs pnpm --dir packages/pi-tui test",
190
194
  "test:bundle": "pnpm test:product && pnpm test:tooling",
191
- "test:docs": "node --test docs/tmux/*.test.mjs",
195
+ "test:docs": "node scripts/run-with-temp-root.mjs node --test docs/tmux/*.test.mjs",
192
196
  "test": "pnpm test:fork && pnpm test:product && pnpm test:tooling && pnpm test:docs",
193
197
  "smoke": "node scripts/tarball-smoke.mjs",
194
198
  "smoke:fixture": "node scripts/extension-fixture-smoke.mjs",
@@ -203,6 +207,8 @@
203
207
  "compat:dsh:npm": "node scripts/dsh-npm-verify.mjs",
204
208
  "prepare:dsh:test": "node scripts/prepare-dsh-test-environment.mjs",
205
209
  "gate:source-leak": "node scripts/dsh-source-leak-gate.mjs",
210
+ "gate:temp-hygiene": "node scripts/temp-hygiene-gate.mjs",
211
+ "gate:pi-vendor-diff": "node scripts/pi-vendor-diff-gate.mjs",
206
212
  "smoke:vim": "node scripts/vim-plugin-smoke.mjs",
207
213
  "gate:pi-surface-compat": "node --test test/pi-component-compat.test.ts",
208
214
  "smoke:examples": "node scripts/examples-plugin-smoke.mjs",
@@ -213,11 +219,11 @@
213
219
  "dev:doctor": "node scripts/dev-doctor.mjs",
214
220
  "dev:bootstrap": "node scripts/dev-bootstrap.mjs",
215
221
  "dev:shell": "node scripts/dev-shell.mjs",
216
- "verify:prepush": "pnpm typecheck:fork && pnpm test:fork && pnpm test:docs && pnpm test:tooling && node scripts/naming-gate.mjs && pnpm gate:boundary && pnpm gate:keybindings && pnpm audit --prod --audit-level high && pnpm pack:release",
217
- "verify:prepush:nofork": "pnpm test:docs && pnpm test:tooling && node scripts/naming-gate.mjs && pnpm gate:boundary && pnpm gate:keybindings && pnpm audit --prod --audit-level high && pnpm pack:release",
222
+ "verify:prepush": "pnpm typecheck:fork && pnpm test:fork && pnpm test:docs && pnpm test:tooling && node scripts/naming-gate.mjs && pnpm gate:temp-hygiene && node scripts/check-no-session-events.mjs && pnpm gate:boundary && pnpm gate:keybindings && pnpm audit --prod --audit-level high && pnpm pack:release",
223
+ "verify:prepush:nofork": "pnpm test:docs && pnpm test:tooling && node scripts/naming-gate.mjs && pnpm gate:temp-hygiene && node scripts/check-no-session-events.mjs && pnpm gate:boundary && pnpm gate:keybindings && pnpm audit --prod --audit-level high && pnpm pack:release",
218
224
  "gate:boundary": "node scripts/client-boundary-gate.mjs",
219
225
  "gate:keybindings": "node --import tsx/esm scripts/check-host-keybindings.mts",
220
- "test:tooling": "node --test test/dev-environment.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",
221
- "test:product": "node --test test/*.test.ts test/repair.test.mjs test/tarball-smoke.test.mjs"
226
+ "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/run-with-temp-root.test.mjs",
227
+ "test:product": "node scripts/run-with-temp-root.mjs node --test test/*.test.ts test/repair.test.mjs test/tarball-smoke.test.mjs"
222
228
  }
223
229
  }