@wrongstack/tui 0.273.1 → 0.275.0
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/dist/index.d.ts +31 -0
- package/dist/index.js +6440 -4300
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -66,6 +66,14 @@ type HistoryEntry = {
|
|
|
66
66
|
* numbered prefixes, shell/grep/logs count newlines. Undefined for
|
|
67
67
|
* tools without a line notion (json, fetch, …). */
|
|
68
68
|
outputLines?: number | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* Per-tool on-screen result render mode. `simple` hides the body
|
|
71
|
+
* preview and shows only meta (line count, byte size); `extend`
|
|
72
|
+
* shows the full preview. Mirrors the CLI's `setResultRenderMode`
|
|
73
|
+
* state. The frontend TUI reads this off the same
|
|
74
|
+
* `tools.resultRenderMode[name]` config the CLI uses.
|
|
75
|
+
*/
|
|
76
|
+
resultRenderMode?: 'simple' | 'extend' | undefined;
|
|
69
77
|
} | {
|
|
70
78
|
id: number;
|
|
71
79
|
kind: 'info';
|
|
@@ -177,6 +185,16 @@ type Settings = {
|
|
|
177
185
|
logLevel: 'error' | 'warn' | 'info' | 'debug' | 'trace';
|
|
178
186
|
auditLevel: 'minimal' | 'standard' | 'full';
|
|
179
187
|
indexOnStart: boolean;
|
|
188
|
+
/** Multi-file diff summary footer cutoff. 0 = off; positive = min file count. */
|
|
189
|
+
multiDiffSummaryThreshold: number;
|
|
190
|
+
/**
|
|
191
|
+
* Settings-picker row the user last navigated to. Carried in the
|
|
192
|
+
* canonical Settings shape so reopening the picker after a session
|
|
193
|
+
* restart lands on the same row they were last tweaking, rather than
|
|
194
|
+
* always resetting to 0. Updated on every `settingsFieldMove` /
|
|
195
|
+
* `settingsFieldSet`; consumed by the `settingsOpen` action.
|
|
196
|
+
*/
|
|
197
|
+
lastSettingsField: number;
|
|
180
198
|
maxIterations: number;
|
|
181
199
|
/** Maximum auto-proceed iterations (0 = unlimited). */
|
|
182
200
|
autoProceedMaxIterations: number;
|
|
@@ -186,6 +204,12 @@ type Settings = {
|
|
|
186
204
|
enhanceEnabled: boolean;
|
|
187
205
|
/** Default language for refinement: original or english. */
|
|
188
206
|
enhanceLanguage: 'original' | 'english';
|
|
207
|
+
/**
|
|
208
|
+
* When true (default), submitting a plain message while the agent is busy
|
|
209
|
+
* pops the send-mode picker (queue / by-the-way / steer). Toggled via
|
|
210
|
+
* `/queue picker on|off`; persisted to `autonomy.midRunSendPicker`.
|
|
211
|
+
*/
|
|
212
|
+
midRunSendPicker?: boolean | undefined;
|
|
189
213
|
/** Raw SSE stream debugging — hex-dump every byte received from providers. */
|
|
190
214
|
debugStream: boolean;
|
|
191
215
|
/** Statusline density mode. Defaults to detailed. */
|
|
@@ -254,6 +278,13 @@ interface RunTuiOptions {
|
|
|
254
278
|
* SIGINT handler uses it to stop a running `/sdd parallel` on the first Ctrl+C.
|
|
255
279
|
*/
|
|
256
280
|
getSddRun?: (() => _wrongstack_core.SddRunControl | null) | undefined;
|
|
281
|
+
/**
|
|
282
|
+
* Apply a post-run SDD lifecycle op (clean / rollback / destroy) from the host.
|
|
283
|
+
* Drives the board overlay keys c / z / x so they work after the run ends.
|
|
284
|
+
*/
|
|
285
|
+
onSddLifecycle?: ((op: 'cleanup_worktrees' | 'rollback' | 'destroy', opts?: {
|
|
286
|
+
revertMerged?: boolean;
|
|
287
|
+
}) => Promise<_wrongstack_core.SddLifecycleResult>) | undefined;
|
|
257
288
|
/**
|
|
258
289
|
* Subscribe to live per-iteration events from the eternal engine.
|
|
259
290
|
* Returns an unsubscribe function. TUI uses this to render each
|