@wrongstack/tui 0.272.2 → 0.273.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 +11 -3
- package/dist/index.js +2101 -511
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -135,6 +135,9 @@ type ReasoningEffort = (typeof REASONING_EFFORTS)[number];
|
|
|
135
135
|
declare const CACHE_TTLS: readonly ["default", "5m", "1h"];
|
|
136
136
|
type CacheTtl = (typeof CACHE_TTLS)[number];
|
|
137
137
|
|
|
138
|
+
/** All possible statusline chip keys. */
|
|
139
|
+
type StatuslineItem = 'version' | 'state' | 'model' | 'tokens' | 'cache' | 'queue' | 'processes' | 'hint' | 'index' | 'breaker' | 'todos' | 'plan' | 'tasks' | 'fleet' | 'fleet_agents' | 'git' | 'elapsed' | 'context' | 'cost' | 'working_dir' | 'project' | 'yolo' | 'autonomy' | 'eternal_stage' | 'goal' | 'mode' | 'auto_proceed' | 'sessions' | 'tools' | 'token_saving' | 'brain' | 'mailbox' | 'enhance' | 'debug_stream' | 'next_steps';
|
|
140
|
+
|
|
138
141
|
/** Thin view over a SessionSummary for the resume picker. */
|
|
139
142
|
interface ResumeSessionEntry {
|
|
140
143
|
id: string;
|
|
@@ -246,6 +249,11 @@ interface RunTuiOptions {
|
|
|
246
249
|
* hook so the engine and TUI never race for the shared Context.
|
|
247
250
|
*/
|
|
248
251
|
getParallelEngine?: (() => _wrongstack_core.ParallelEternalEngine | null) | undefined;
|
|
252
|
+
/**
|
|
253
|
+
* Access the active SDD parallel run's control surface (or null). The TUI's
|
|
254
|
+
* SIGINT handler uses it to stop a running `/sdd parallel` on the first Ctrl+C.
|
|
255
|
+
*/
|
|
256
|
+
getSddRun?: (() => _wrongstack_core.SddRunControl | null) | undefined;
|
|
249
257
|
/**
|
|
250
258
|
* Subscribe to live per-iteration events from the eternal engine.
|
|
251
259
|
* Returns an unsubscribe function. TUI uses this to render each
|
|
@@ -387,14 +395,14 @@ interface RunTuiOptions {
|
|
|
387
395
|
* visible bar without a round-trip. The initial value is loaded from
|
|
388
396
|
* the config file before App mounts.
|
|
389
397
|
*/
|
|
390
|
-
statuslineHiddenItems:
|
|
391
|
-
setStatuslineHiddenItems: (items:
|
|
398
|
+
statuslineHiddenItems: StatuslineItem[];
|
|
399
|
+
setStatuslineHiddenItems: (items: StatuslineItem[]) => void;
|
|
392
400
|
/**
|
|
393
401
|
* Atomically updates in-memory state AND persists to
|
|
394
402
|
* ~/.wrongstack/statusline.json. Used by the statusline picker to
|
|
395
403
|
* make each toggle immediately durable.
|
|
396
404
|
*/
|
|
397
|
-
saveStatuslineHiddenItems: (items:
|
|
405
|
+
saveStatuslineHiddenItems: (items: StatuslineItem[]) => Promise<void>;
|
|
398
406
|
/**
|
|
399
407
|
* Controller for the agents monitor overlay. App installs a dispatch-backed
|
|
400
408
|
* setter on mount so the `/agents on|off` slash command can toggle the
|