@wrongstack/tui 0.274.0 → 0.275.1
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 +21 -0
- package/dist/index.js +6454 -5592
- 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';
|
|
@@ -196,6 +204,12 @@ type Settings = {
|
|
|
196
204
|
enhanceEnabled: boolean;
|
|
197
205
|
/** Default language for refinement: original or english. */
|
|
198
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;
|
|
199
213
|
/** Raw SSE stream debugging — hex-dump every byte received from providers. */
|
|
200
214
|
debugStream: boolean;
|
|
201
215
|
/** Statusline density mode. Defaults to detailed. */
|
|
@@ -264,6 +278,13 @@ interface RunTuiOptions {
|
|
|
264
278
|
* SIGINT handler uses it to stop a running `/sdd parallel` on the first Ctrl+C.
|
|
265
279
|
*/
|
|
266
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;
|
|
267
288
|
/**
|
|
268
289
|
* Subscribe to live per-iteration events from the eternal engine.
|
|
269
290
|
* Returns an unsubscribe function. TUI uses this to render each
|