@wrongstack/tui 0.8.4 → 0.8.5
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 +6 -0
- package/dist/index.js +384 -56
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -204,6 +204,12 @@ interface RunTuiOptions {
|
|
|
204
204
|
* Returns displayable status messages.
|
|
205
205
|
*/
|
|
206
206
|
onSDDOutput?: (output: string) => Promise<string[]>;
|
|
207
|
+
/**
|
|
208
|
+
* Subscribe to AutoPhase phase/graph events from the PhaseOrchestrator.
|
|
209
|
+
* Returns an unsubscribe function. The TUI uses this to drive the
|
|
210
|
+
* PhaseMonitor and PhasePanel live views via dispatch actions.
|
|
211
|
+
*/
|
|
212
|
+
subscribeAutoPhase?: (handler: (event: string, payload: unknown) => void) => () => void;
|
|
207
213
|
}
|
|
208
214
|
declare function runTui(opts: RunTuiOptions): Promise<number>;
|
|
209
215
|
|