@wrongstack/tui 0.284.1 → 0.285.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.
Files changed (239) hide show
  1. package/dist/app-initial-state.d.ts +26 -0
  2. package/dist/app-initial-state.d.ts.map +1 -0
  3. package/dist/app-reducer.d.ts +5 -0
  4. package/dist/app-reducer.d.ts.map +1 -0
  5. package/dist/app-state.d.ts +1801 -0
  6. package/dist/app-state.d.ts.map +1 -0
  7. package/dist/app.d.ts +579 -0
  8. package/dist/app.d.ts.map +1 -0
  9. package/dist/clipboard.d.ts +2 -0
  10. package/dist/clipboard.d.ts.map +1 -0
  11. package/dist/components/agents-monitor.d.ts +49 -0
  12. package/dist/components/agents-monitor.d.ts.map +1 -0
  13. package/dist/components/animation-style.d.ts +51 -0
  14. package/dist/components/animation-style.d.ts.map +1 -0
  15. package/dist/components/audit-panel.d.ts +9 -0
  16. package/dist/components/audit-panel.d.ts.map +1 -0
  17. package/dist/components/auth-panel-model.d.ts +150 -0
  18. package/dist/components/auth-panel-model.d.ts.map +1 -0
  19. package/dist/components/auth-panel.d.ts +8 -0
  20. package/dist/components/auth-panel.d.ts.map +1 -0
  21. package/dist/components/autonomy-picker.d.ts +15 -0
  22. package/dist/components/autonomy-picker.d.ts.map +1 -0
  23. package/dist/components/brain-decision-prompt.d.ts +28 -0
  24. package/dist/components/brain-decision-prompt.d.ts.map +1 -0
  25. package/dist/components/brain-panel.d.ts +16 -0
  26. package/dist/components/brain-panel.d.ts.map +1 -0
  27. package/dist/components/checkpoint-timeline.d.ts +19 -0
  28. package/dist/components/checkpoint-timeline.d.ts.map +1 -0
  29. package/dist/components/confirm-prompt.d.ts +26 -0
  30. package/dist/components/confirm-prompt.d.ts.map +1 -0
  31. package/dist/components/continue-confirm-panel.d.ts +47 -0
  32. package/dist/components/continue-confirm-panel.d.ts.map +1 -0
  33. package/dist/components/coordinator-panel.d.ts +11 -0
  34. package/dist/components/coordinator-panel.d.ts.map +1 -0
  35. package/dist/components/design-picker.d.ts +14 -0
  36. package/dist/components/design-picker.d.ts.map +1 -0
  37. package/dist/components/enhance-panel.d.ts +36 -0
  38. package/dist/components/enhance-panel.d.ts.map +1 -0
  39. package/dist/components/esc-confirm-prompt.d.ts +17 -0
  40. package/dist/components/esc-confirm-prompt.d.ts.map +1 -0
  41. package/dist/components/f-key-picker.d.ts +13 -0
  42. package/dist/components/f-key-picker.d.ts.map +1 -0
  43. package/dist/components/file-picker.d.ts +8 -0
  44. package/dist/components/file-picker.d.ts.map +1 -0
  45. package/dist/components/fleet-monitor.d.ts +60 -0
  46. package/dist/components/fleet-monitor.d.ts.map +1 -0
  47. package/dist/components/fleet-panel.d.ts +69 -0
  48. package/dist/components/fleet-panel.d.ts.map +1 -0
  49. package/dist/components/goal-panel.d.ts +17 -0
  50. package/dist/components/goal-panel.d.ts.map +1 -0
  51. package/dist/components/help-overlay.d.ts +27 -0
  52. package/dist/components/help-overlay.d.ts.map +1 -0
  53. package/dist/components/help-panel.d.ts +16 -0
  54. package/dist/components/help-panel.d.ts.map +1 -0
  55. package/dist/components/history/assistant.d.ts +61 -0
  56. package/dist/components/history/assistant.d.ts.map +1 -0
  57. package/dist/components/history/banner.d.ts +13 -0
  58. package/dist/components/history/banner.d.ts.map +1 -0
  59. package/dist/components/history/code-block.d.ts +217 -0
  60. package/dist/components/history/code-block.d.ts.map +1 -0
  61. package/dist/components/history/entry.d.ts +19 -0
  62. package/dist/components/history/entry.d.ts.map +1 -0
  63. package/dist/components/history/index.d.ts +21 -0
  64. package/dist/components/history/index.d.ts.map +1 -0
  65. package/dist/components/history/replay.d.ts +44 -0
  66. package/dist/components/history/replay.d.ts.map +1 -0
  67. package/dist/components/history/types.d.ts +146 -0
  68. package/dist/components/history/types.d.ts.map +1 -0
  69. package/dist/components/history/utils.d.ts +65 -0
  70. package/dist/components/history/utils.d.ts.map +1 -0
  71. package/dist/components/history.d.ts +2 -0
  72. package/dist/components/history.d.ts.map +1 -0
  73. package/dist/components/input.d.ts +57 -0
  74. package/dist/components/input.d.ts.map +1 -0
  75. package/dist/components/kanban-panel.d.ts +7 -0
  76. package/dist/components/kanban-panel.d.ts.map +1 -0
  77. package/dist/components/key-hint-bar.d.ts +31 -0
  78. package/dist/components/key-hint-bar.d.ts.map +1 -0
  79. package/dist/components/live-activity-strip.d.ts +39 -0
  80. package/dist/components/live-activity-strip.d.ts.map +1 -0
  81. package/dist/components/mailbox-panel.d.ts +40 -0
  82. package/dist/components/mailbox-panel.d.ts.map +1 -0
  83. package/dist/components/mcp-picker.d.ts +18 -0
  84. package/dist/components/mcp-picker.d.ts.map +1 -0
  85. package/dist/components/mode-picker.d.ts +17 -0
  86. package/dist/components/mode-picker.d.ts.map +1 -0
  87. package/dist/components/model-picker.d.ts +32 -0
  88. package/dist/components/model-picker.d.ts.map +1 -0
  89. package/dist/components/phase-monitor.d.ts +33 -0
  90. package/dist/components/phase-monitor.d.ts.map +1 -0
  91. package/dist/components/phase-panel.d.ts +22 -0
  92. package/dist/components/phase-panel.d.ts.map +1 -0
  93. package/dist/components/plan-panel.d.ts +17 -0
  94. package/dist/components/plan-panel.d.ts.map +1 -0
  95. package/dist/components/plugin-picker.d.ts +22 -0
  96. package/dist/components/plugin-picker.d.ts.map +1 -0
  97. package/dist/components/process-list.d.ts +14 -0
  98. package/dist/components/process-list.d.ts.map +1 -0
  99. package/dist/components/project-picker.d.ts +21 -0
  100. package/dist/components/project-picker.d.ts.map +1 -0
  101. package/dist/components/prompt-picker.d.ts +31 -0
  102. package/dist/components/prompt-picker.d.ts.map +1 -0
  103. package/dist/components/provider-colors.d.ts +40 -0
  104. package/dist/components/provider-colors.d.ts.map +1 -0
  105. package/dist/components/queue-panel.d.ts +16 -0
  106. package/dist/components/queue-panel.d.ts.map +1 -0
  107. package/dist/components/resume-picker.d.ts +16 -0
  108. package/dist/components/resume-picker.d.ts.map +1 -0
  109. package/dist/components/scrollable-history.d.ts +60 -0
  110. package/dist/components/scrollable-history.d.ts.map +1 -0
  111. package/dist/components/sdd-board-overlay.d.ts +15 -0
  112. package/dist/components/sdd-board-overlay.d.ts.map +1 -0
  113. package/dist/components/send-mode-picker.d.ts +64 -0
  114. package/dist/components/send-mode-picker.d.ts.map +1 -0
  115. package/dist/components/sessions-panel.d.ts +46 -0
  116. package/dist/components/sessions-panel.d.ts.map +1 -0
  117. package/dist/components/settings-picker.d.ts +371 -0
  118. package/dist/components/settings-picker.d.ts.map +1 -0
  119. package/dist/components/shadow-panel.d.ts +13 -0
  120. package/dist/components/shadow-panel.d.ts.map +1 -0
  121. package/dist/components/shell-command-warning.d.ts +9 -0
  122. package/dist/components/shell-command-warning.d.ts.map +1 -0
  123. package/dist/components/slash-menu.d.ts +9 -0
  124. package/dist/components/slash-menu.d.ts.map +1 -0
  125. package/dist/components/status-bar.d.ts +378 -0
  126. package/dist/components/status-bar.d.ts.map +1 -0
  127. package/dist/components/statusline-picker.d.ts +55 -0
  128. package/dist/components/statusline-picker.d.ts.map +1 -0
  129. package/dist/components/suggestions.d.ts +9 -0
  130. package/dist/components/suggestions.d.ts.map +1 -0
  131. package/dist/components/todos-monitor.d.ts +13 -0
  132. package/dist/components/todos-monitor.d.ts.map +1 -0
  133. package/dist/components/tools-picker.d.ts +20 -0
  134. package/dist/components/tools-picker.d.ts.map +1 -0
  135. package/dist/components/worktree-monitor.d.ts +23 -0
  136. package/dist/components/worktree-monitor.d.ts.map +1 -0
  137. package/dist/components/worktree-panel.d.ts +21 -0
  138. package/dist/components/worktree-panel.d.ts.map +1 -0
  139. package/dist/f-key-panels.d.ts +46 -0
  140. package/dist/f-key-panels.d.ts.map +1 -0
  141. package/dist/file-search.d.ts +3 -0
  142. package/dist/file-search.d.ts.map +1 -0
  143. package/dist/fn-keys.d.ts +20 -0
  144. package/dist/fn-keys.d.ts.map +1 -0
  145. package/dist/git-info.d.ts +20 -0
  146. package/dist/git-info.d.ts.map +1 -0
  147. package/dist/heap-watchdog.d.ts +41 -0
  148. package/dist/heap-watchdog.d.ts.map +1 -0
  149. package/dist/highlight.d.ts +30 -0
  150. package/dist/highlight.d.ts.map +1 -0
  151. package/dist/hit-test.d.ts +75 -0
  152. package/dist/hit-test.d.ts.map +1 -0
  153. package/dist/hooks/use-auth-panel.d.ts +38 -0
  154. package/dist/hooks/use-auth-panel.d.ts.map +1 -0
  155. package/dist/hooks/use-autonomous-coordinator.d.ts +21 -0
  156. package/dist/hooks/use-autonomous-coordinator.d.ts.map +1 -0
  157. package/dist/hooks/use-brain-events.d.ts +7 -0
  158. package/dist/hooks/use-brain-events.d.ts.map +1 -0
  159. package/dist/hooks/use-director-fleet-bridge.d.ts +17 -0
  160. package/dist/hooks/use-director-fleet-bridge.d.ts.map +1 -0
  161. package/dist/hooks/use-file-search.d.ts +42 -0
  162. package/dist/hooks/use-file-search.d.ts.map +1 -0
  163. package/dist/hooks/use-input-history-persistence.d.ts +14 -0
  164. package/dist/hooks/use-input-history-persistence.d.ts.map +1 -0
  165. package/dist/hooks/use-mode-picker.d.ts +15 -0
  166. package/dist/hooks/use-mode-picker.d.ts.map +1 -0
  167. package/dist/hooks/use-paste-handling.d.ts +30 -0
  168. package/dist/hooks/use-paste-handling.d.ts.map +1 -0
  169. package/dist/hooks/use-picker-keys.d.ts +58 -0
  170. package/dist/hooks/use-picker-keys.d.ts.map +1 -0
  171. package/dist/hooks/use-prompt-picker.d.ts +28 -0
  172. package/dist/hooks/use-prompt-picker.d.ts.map +1 -0
  173. package/dist/hooks/use-queue-manager.d.ts +26 -0
  174. package/dist/hooks/use-queue-manager.d.ts.map +1 -0
  175. package/dist/hooks/use-statusline-hidden-sync.d.ts +14 -0
  176. package/dist/hooks/use-statusline-hidden-sync.d.ts.map +1 -0
  177. package/dist/hooks/use-statusline-state.d.ts +44 -0
  178. package/dist/hooks/use-statusline-state.d.ts.map +1 -0
  179. package/dist/hooks/use-stream-chip-expiration.d.ts +25 -0
  180. package/dist/hooks/use-stream-chip-expiration.d.ts.map +1 -0
  181. package/dist/hooks/use-subagent-events.d.ts +8 -0
  182. package/dist/hooks/use-subagent-events.d.ts.map +1 -0
  183. package/dist/hooks/use-token-counter-refresh.d.ts +30 -0
  184. package/dist/hooks/use-token-counter-refresh.d.ts.map +1 -0
  185. package/dist/hooks/use-tui-controllers.d.ts +31 -0
  186. package/dist/hooks/use-tui-controllers.d.ts.map +1 -0
  187. package/dist/hooks/use-tui-event-bridge.d.ts +29 -0
  188. package/dist/hooks/use-tui-event-bridge.d.ts.map +1 -0
  189. package/dist/hooks/use-working-dir-chip.d.ts +8 -0
  190. package/dist/hooks/use-working-dir-chip.d.ts.map +1 -0
  191. package/dist/index.d.ts +11 -910
  192. package/dist/index.d.ts.map +1 -0
  193. package/dist/index.js +2633 -2188
  194. package/dist/index.js.map +7 -1
  195. package/dist/ink.d.ts +20 -0
  196. package/dist/ink.d.ts.map +1 -0
  197. package/dist/input-editing.d.ts +76 -0
  198. package/dist/input-editing.d.ts.map +1 -0
  199. package/dist/input-tokens.d.ts +65 -0
  200. package/dist/input-tokens.d.ts.map +1 -0
  201. package/dist/kill-slash.d.ts +3 -0
  202. package/dist/kill-slash.d.ts.map +1 -0
  203. package/dist/markdown-table.d.ts +45 -0
  204. package/dist/markdown-table.d.ts.map +1 -0
  205. package/dist/markdown.d.ts +47 -0
  206. package/dist/markdown.d.ts.map +1 -0
  207. package/dist/mouse.d.ts +73 -0
  208. package/dist/mouse.d.ts.map +1 -0
  209. package/dist/on-panel-open.d.ts +62 -0
  210. package/dist/on-panel-open.d.ts.map +1 -0
  211. package/dist/paste-accumulator.d.ts +19 -0
  212. package/dist/paste-accumulator.d.ts.map +1 -0
  213. package/dist/ps-slash.d.ts +7 -0
  214. package/dist/ps-slash.d.ts.map +1 -0
  215. package/dist/queue-slash.d.ts +24 -0
  216. package/dist/queue-slash.d.ts.map +1 -0
  217. package/dist/reducers/fleet.d.ts +16 -0
  218. package/dist/reducers/fleet.d.ts.map +1 -0
  219. package/dist/reducers/helpers.d.ts +38 -0
  220. package/dist/reducers/helpers.d.ts.map +1 -0
  221. package/dist/rehydrate-history.d.ts +40 -0
  222. package/dist/rehydrate-history.d.ts.map +1 -0
  223. package/dist/run-tui.d.ts +507 -0
  224. package/dist/run-tui.d.ts.map +1 -0
  225. package/dist/slash-command-search.d.ts +10 -0
  226. package/dist/slash-command-search.d.ts.map +1 -0
  227. package/dist/steering-preamble.d.ts +25 -0
  228. package/dist/steering-preamble.d.ts.map +1 -0
  229. package/dist/submit-history.d.ts +17 -0
  230. package/dist/submit-history.d.ts.map +1 -0
  231. package/dist/terminal-title.d.ts +12 -0
  232. package/dist/terminal-title.d.ts.map +1 -0
  233. package/dist/theme.d.ts +91 -0
  234. package/dist/theme.d.ts.map +1 -0
  235. package/dist/thinking-word.d.ts +26 -0
  236. package/dist/thinking-word.d.ts.map +1 -0
  237. package/dist/tool-glyph.d.ts +18 -0
  238. package/dist/tool-glyph.d.ts.map +1 -0
  239. package/package.json +8 -9
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../src/app.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,KAAK,EACL,eAAe,EAEf,gBAAgB,EAChB,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,UAAU,EACV,oBAAoB,EACpB,YAAY,EACZ,eAAe,EAChB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,KAAK,aAAa,EA4BnB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACtF,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEzE,OAAO,KAQN,MAAM,OAAO,CAAC;AAEf,OAAO,EAEL,KAAK,kBAAkB,EAEvB,KAAK,QAAQ,EACb,KAAK,iBAAiB,EAEvB,MAAM,kBAAkB,CAAC;AAI1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAqBtE,OAAO,EAAW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B,yBAAyB,EACzB,uBAAuB,EACvB,WAAW,EACX,UAAU,EACV,WAAW,EACX,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,2BAA2B,EAC3B,0BAA0B,EAC1B,iBAAiB,EACjB,qBAAqB,EACrB,eAAe,EACf,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,wBAAwB,EACxB,WAAW,EACX,0BAA0B,EAC1B,kBAAkB,EAClB,iBAAiB,EAEjB,kBAAkB,EAAE,mBAAmB,EACvC,kBAAkB,EAAE,mBAAmB,EACvC,kBAA0B,EAC1B,QAAQ,GACT,EAAE,QAAQ,GAAG,KAAK,CAAC,YAAY,CAu6M/B;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,WAAW,CAAC,MAAM,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC,GAChE,MAAM,CAUR"}
@@ -0,0 +1,2 @@
1
+ export { readClipboardImage, readClipboardText, type ClipboardImage, } from '@wrongstack/runtime/clipboard';
2
+ //# sourceMappingURL=clipboard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clipboard.d.ts","sourceRoot":"","sources":["../src/clipboard.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,KAAK,cAAc,GACpB,MAAM,+BAA+B,CAAC"}
@@ -0,0 +1,49 @@
1
+ import type React from 'react';
2
+ import type { FleetEntry } from '../app.js';
3
+ export interface AgentsMonitorProps {
4
+ entries: Record<string, FleetEntry>;
5
+ /** Fleet (subagents) accumulated cost — excludes the leader/main session. */
6
+ totalCost: number;
7
+ /**
8
+ * Leader (main session) cost — the same figure the statusline shows. Added
9
+ * to `totalCost` for a trustworthy grand total. Optional for callers that
10
+ * don't track it (defaults to 0).
11
+ */
12
+ leaderCost?: number | undefined;
13
+ /** Fleet-wide token totals, when available. */
14
+ totalTokens?: {
15
+ input: number;
16
+ output: number;
17
+ };
18
+ /** 1s clock tick so elapsed times + sparklines stay live. */
19
+ nowTick: number;
20
+ /** Called when there are no active/detail-worthy agents left to show. */
21
+ onClose?: (() => void) | undefined;
22
+ }
23
+ /** Retained for callers/tests that tune the empty-state grace window. */
24
+ export declare const IDLE_HIDE_MS = 60000;
25
+ export declare const EMPTY_AGENTS_CLOSE_DELAY_MS = 7500;
26
+ /**
27
+ * Select the agents the live monitor should render. Only actively-running
28
+ * subagents are detail-worthy; idle workers are retained by the coordinator for
29
+ * reuse but should not keep the TUI crowded after their task closes. LEADER
30
+ * stays visible while a subagent is running (or while LEADER itself is running)
31
+ * so F3 always has a detail card fallback.
32
+ */
33
+ export declare function selectLiveAgents(all: FleetEntry[], _now: number, _idleHideMs?: number): FleetEntry[];
34
+ export declare function fmtExactTokens(n: number): string;
35
+ export declare function formatContextRunway(tokens?: number, maxTokens?: number): string;
36
+ export declare function formatRecentToolChip(tool: FleetEntry['recentTools'][number]): string;
37
+ export declare function formatAgentDetailHeader(entry: FleetEntry): string;
38
+ export declare function agentRisk(entry: FleetEntry): 'calm' | 'busy' | 'hot' | 'critical';
39
+ export declare function selectAgentDetail(live: FleetEntry[], selectedId?: string): FleetEntry | undefined;
40
+ export declare function nextEmptyAgentsCloseStartedAt(liveCount: number, now: number, currentStartedAt?: number): number | undefined;
41
+ export declare function shouldCloseEmptyAgentsMonitor(liveCount: number, now: number, emptyStartedAt: number | undefined, delayMs?: number): boolean;
42
+ /**
43
+ * Live per-agent monitor (Ctrl+G / F3). Hybrid compact view:
44
+ * - All agents, including LEADER, are available via ↑↓ navigation.
45
+ * - Non-selected agents render as single-line rows.
46
+ * - The selected agent expands in place into a titled detail rectangle.
47
+ */
48
+ export declare function AgentsMonitor({ entries, totalCost, leaderCost, totalTokens, nowTick, onClose, }: AgentsMonitorProps): React.ReactElement;
49
+ //# sourceMappingURL=agents-monitor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agents-monitor.d.ts","sourceRoot":"","sources":["../../src/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jF;AAyBD,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,UAAU,EAAE,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS,CAEjG;AAED,wBAAgB,6BAA6B,CAC3C,SAAS,EAAE,MAAM,EACjB,GAAG,EAAE,MAAM,EACX,gBAAgB,CAAC,EAAE,MAAM,GACxB,MAAM,GAAG,SAAS,CAGpB;AAED,wBAAgB,6BAA6B,CAC3C,SAAS,EAAE,MAAM,EACjB,GAAG,EAAE,MAAM,EACX,cAAc,EAAE,MAAM,GAAG,SAAS,EAClC,OAAO,SAA8B,GACpC,OAAO,CAET;AA2QD;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,SAAS,EACT,UAAc,EACd,WAAW,EACX,OAAO,EACP,OAAO,GACR,EAAE,kBAAkB,GAAG,KAAK,CAAC,YAAY,CAuIzC"}
@@ -0,0 +1,51 @@
1
+ export declare const HUE_WHEEL: string[];
2
+ export declare const BREATHE_FRAMES: string[];
3
+ export declare const DOTS_FRAMES: string[];
4
+ export declare const ANIMATION_STYLES: readonly ['rainbow', 'wave', 'pulse', 'dots', 'breathe'];
5
+ export type AnimationStyle = (typeof ANIMATION_STYLES)[number];
6
+ export declare const DEFAULT_ANIMATION_STYLE: AnimationStyle;
7
+ export declare const ANIMATION_STYLE_DESCS: Record<AnimationStyle, string>;
8
+ /**
9
+ * Seconds the user must be idle on the same style before `cycle` advances
10
+ * to the next one. Picked to feel like a "shuffle" rather than a flicker.
11
+ */
12
+ export declare const CYCLE_INTERVAL_SECONDS = 12;
13
+ /**
14
+ * Milliseconds between each cycle tick. Picked so the cycle timer doesn't
15
+ * drive unnecessary re-renders for idle sessions (the StatusBar pauses the
16
+ * timer when state is idle/aborting).
17
+ */
18
+ export declare const CYCLE_TICK_INTERVAL_MS = 1000;
19
+ /**
20
+ * Cycle through every other `AnimationStyle` in order, returning to the
21
+ * start once the list is exhausted. `rainbow` is excluded from the cycle
22
+ * (it's the default/canonical look); cycle goes through the four variant
23
+ * styles only.
24
+ */
25
+ export declare const CYCLE_ORDER: readonly AnimationStyle[];
26
+ /**
27
+ * Map a coarse `tick` (seconds elapsed since the cycle started) onto the
28
+ * currently-active style. Returns the style at the cycle index derived from
29
+ * `floor(tick / CYCLE_INTERVAL_SECONDS)`.
30
+ *
31
+ * Pure + exported for testing.
32
+ */
33
+ export declare function styleForCycleTick(tick: number): AnimationStyle;
34
+ /** Mix two `#rrggbb` colors by `t ∈ [0,1]`. Pure. */
35
+ export declare function mixHex(a: string, b: string, t: number): string;
36
+ /**
37
+ * Pick a colour for the given glyph index + phase under the `wave` style —
38
+ * interpolates from `DIM` to `ACCENT` along a sinusoidal band so the bright
39
+ * spot glides smoothly across the text. Pure for testing.
40
+ */
41
+ export declare function waveColor(charIndex: number, phase: number, length: number): string;
42
+ /**
43
+ * Pick a colour for the whole text under the `pulse` style — single color
44
+ * modulated by an oscillator so the whole chip dims/brightens together.
45
+ * Pure for testing.
46
+ */
47
+ export declare function pulseColor(phase: number): string;
48
+ /** Strip trailing `.`, `…`, etc. so the `dots` style doesn't double up on
49
+ * the user-supplied label. */
50
+ export declare function stripTrailingDots(text: string): string;
51
+ //# sourceMappingURL=animation-style.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"animation-style.d.ts","sourceRoot":"","sources":["../../src/components/animation-style.tsx"],"names":[],"mappings":"AAwBA,eAAO,MAAM,SAAS,UAarB,CAAC;AAWF,eAAO,MAAM,cAAc,UAAqD,CAAC;AAOjF,eAAO,MAAM,WAAW,UAAoC,CAAC;AAE7D,eAAO,MAAM,gBAAgB,YAAI,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,CAAU,CAAC;AACzF,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE/D,eAAO,MAAM,uBAAuB,EAAE,cAA0B,CAAC;AAEjE,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAMhE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,KAAK,CAAC;AAEzC;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,OAAO,CAAC;AAE3C;;;;;GAKG;AACH,eAAO,MAAM,WAAW,EAAE,SAAS,cAAc,EAAyC,CAAC;AAE3F;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,CAI9D;AAED,qDAAqD;AACrD,wBAAgB,MAAM,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAS9D;AAWD;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAIlF;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAIhD;AAED;+BAC+B;AAC/B,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAWtD"}
@@ -0,0 +1,9 @@
1
+ import type { SideEffect } from '@wrongstack/core';
2
+ interface AuditPanelProps {
3
+ /** Side effects from ctx.sideEffects, passed from the host. */
4
+ sideEffects: SideEffect[];
5
+ onClose: () => void;
6
+ }
7
+ export declare function AuditPanel({ sideEffects, onClose: _onClose }: AuditPanelProps): import("react").JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=audit-panel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"audit-panel.d.ts","sourceRoot":"","sources":["../../src/components/audit-panel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,UAAU,eAAe;IACvB,+DAA+D;IAC/D,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAwBD,wBAAgB,UAAU,CAAC,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,eAAe,+BA6C7E"}
@@ -0,0 +1,150 @@
1
+ /** One saved API key / OAuth token, with the secret already masked. */
2
+ export interface AuthKeyRow {
3
+ label: string;
4
+ /** Pre-masked display form ("sk-a…f3k2" / "••••••") — never the secret. */
5
+ masked: string;
6
+ createdAt: string;
7
+ active: boolean;
8
+ authMethod?: 'api_key' | 'oauth' | 'session_token' | undefined;
9
+ expiresAt?: string | undefined;
10
+ }
11
+ /** One saved provider from ~/.wrongstack/config.json. */
12
+ export interface AuthProviderRow {
13
+ id: string;
14
+ type?: string | undefined;
15
+ family?: string | undefined;
16
+ baseUrl?: string | undefined;
17
+ models: string[];
18
+ envVars: string[];
19
+ keys: AuthKeyRow[];
20
+ }
21
+ /** One models.dev catalog entry offered by "Add provider (catalog)". */
22
+ export interface AuthCatalogRow {
23
+ id: string;
24
+ name: string;
25
+ family: string;
26
+ apiBase?: string | undefined;
27
+ envVars: string[];
28
+ /** Already present in the saved config (shown as ◉). */
29
+ saved: boolean;
30
+ }
31
+ /** One local-LLM preset (OmniRoute / Ollama / vLLM / LM Studio). */
32
+ export interface AuthLocalPresetRow {
33
+ id: string;
34
+ label: string;
35
+ defaultBaseUrl: string;
36
+ noAuth: boolean;
37
+ hint: string;
38
+ }
39
+ export type AuthOAuthKind = 'chatgpt' | 'claude' | 'copilot';
40
+ /**
41
+ * Bridge the CLI flows use to talk to the panel while a flow runs.
42
+ * `prompt` REJECTS when the user cancels (Esc) — flows treat a thrown
43
+ * prompt as user-cancel, which aborts before anything is saved.
44
+ */
45
+ export interface AuthFlowIo {
46
+ onLog(line: string): void;
47
+ prompt(question: string, opts: {
48
+ secret: boolean;
49
+ }): Promise<string>;
50
+ signal: AbortSignal;
51
+ }
52
+ export interface AuthFlowResult {
53
+ ok: boolean;
54
+ message?: string | undefined;
55
+ }
56
+ /**
57
+ * Host callbacks the CLI provides. Simple mutations return an error
58
+ * string (or null on success); multi-step interactions run as "flows"
59
+ * that log and prompt through {@link AuthFlowIo}.
60
+ */
61
+ export interface AuthPanelHost {
62
+ listProviders(): Promise<AuthProviderRow[]>;
63
+ listCatalog(): Promise<AuthCatalogRow[]>;
64
+ localPresets(): AuthLocalPresetRow[];
65
+ setActiveKey(providerId: string, label: string): Promise<string | null>;
66
+ deleteKey(providerId: string, label: string): Promise<string | null>;
67
+ removeProvider(providerId: string): Promise<string | null>;
68
+ addKey(providerId: string, io: AuthFlowIo): Promise<AuthFlowResult>;
69
+ updateKey(providerId: string, label: string, io: AuthFlowIo): Promise<AuthFlowResult>;
70
+ editField(providerId: string, field: 'family' | 'baseUrl' | 'models', io: AuthFlowIo): Promise<AuthFlowResult>;
71
+ addCatalogProvider(catalogId: string, io: AuthFlowIo): Promise<AuthFlowResult>;
72
+ addCustomProvider(io: AuthFlowIo): Promise<AuthFlowResult>;
73
+ addLocal(presetId: string, io: AuthFlowIo): Promise<AuthFlowResult>;
74
+ oauthLogin(kind: AuthOAuthKind, io: AuthFlowIo): Promise<AuthFlowResult>;
75
+ }
76
+ export type AuthPanelView = 'list' | 'provider' | 'catalog' | 'local' | 'oauth' | 'flow';
77
+ export type AuthConfirmAction = {
78
+ kind: 'delete-key';
79
+ providerId: string;
80
+ label: string;
81
+ } | {
82
+ kind: 'remove-provider';
83
+ providerId: string;
84
+ };
85
+ export interface AuthPanelState {
86
+ open: boolean;
87
+ view: AuthPanelView;
88
+ busy: boolean;
89
+ hint?: string | undefined;
90
+ providers: AuthProviderRow[];
91
+ presets: AuthLocalPresetRow[];
92
+ catalog: AuthCatalogRow[];
93
+ /** Cursor index into `authPanelRows(state)` for the current view. */
94
+ selected: number;
95
+ /** Provider shown in the 'provider' detail view. */
96
+ providerId?: string | undefined;
97
+ /** Type-to-filter query for the catalog view. */
98
+ filter: string;
99
+ /** Running/last flow (OAuth, catalog add, local add, key edit, …). */
100
+ flowTitle: string;
101
+ log: string[];
102
+ flowDone: boolean;
103
+ flowOk?: boolean | undefined;
104
+ /** Modal one-line prompt raised by a flow (masked for secrets). */
105
+ input?: {
106
+ label: string;
107
+ masked: boolean;
108
+ draft: string;
109
+ } | undefined;
110
+ /** Modal y/N confirmation for destructive actions. */
111
+ confirm?: {
112
+ question: string;
113
+ action: AuthConfirmAction;
114
+ } | undefined;
115
+ }
116
+ export declare const AUTH_PANEL_INITIAL: AuthPanelState;
117
+ export type AuthPanelRow = {
118
+ kind: 'provider';
119
+ provider: AuthProviderRow;
120
+ } | {
121
+ kind: 'list-action';
122
+ action: 'catalog' | 'local' | 'custom' | 'oauth';
123
+ } | {
124
+ kind: 'key';
125
+ keyRow: AuthKeyRow;
126
+ } | {
127
+ kind: 'provider-action';
128
+ action: 'add-key' | 'edit-family' | 'edit-base-url' | 'edit-models' | 'remove';
129
+ } | {
130
+ kind: 'catalog-entry';
131
+ entry: AuthCatalogRow;
132
+ } | {
133
+ kind: 'local-preset';
134
+ preset: AuthLocalPresetRow;
135
+ } | {
136
+ kind: 'oauth-option';
137
+ oauth: AuthOAuthKind;
138
+ };
139
+ /** Case-insensitive substring filter over id + name + family. */
140
+ export declare function filterAuthCatalog(catalog: AuthCatalogRow[], filter: string): AuthCatalogRow[];
141
+ export declare function authSelectedProvider(state: AuthPanelState): AuthProviderRow | undefined;
142
+ /**
143
+ * Selectable rows for the current view, in render order. The component
144
+ * renders exactly this list; the reducer clamps `selected` to its length;
145
+ * the Enter handler dispatches on `rows[selected]`.
146
+ */
147
+ export declare function authPanelRows(state: AuthPanelState): AuthPanelRow[];
148
+ /** Wrap-around cursor move over the current view's rows. */
149
+ export declare function authMoveSelected(state: AuthPanelState, delta: number): number;
150
+ //# sourceMappingURL=auth-panel-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth-panel-model.d.ts","sourceRoot":"","sources":["../../src/components/auth-panel-model.ts"],"names":[],"mappings":"AAaA,uEAAuE;AACvE,MAAM,WAAW,UAAU;IACzB,K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MAAM,CAI7E"}
@@ -0,0 +1,8 @@
1
+ import type React from 'react';
2
+ import { type AuthPanelState } from './auth-panel-model.js';
3
+ export interface AuthPanelProps {
4
+ panel: AuthPanelState;
5
+ }
6
+ export declare function isAuthFlowUrlLine(line: string): boolean;
7
+ export declare function AuthPanel({ panel }: AuthPanelProps): React.ReactElement;
8
+ //# sourceMappingURL=auth-panel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth-panel.d.ts","sourceRoot":"","sources":["../../src/components/auth-panel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAGL,KAAK,cAAc,EAGpB,MAAM,uBAAuB,CAAC;AAS/B,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,cAAc,CAAC;CACvB;AA8ID,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAEvD;AAsCD,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,EAAE,cAAc,GAAG,KAAK,CAAC,YAAY,CA8HvE"}
@@ -0,0 +1,15 @@
1
+ import type React from 'react';
2
+ export interface AutonomyOption {
3
+ mode: 'off' | 'suggest' | 'auto' | 'eternal' | 'eternal-parallel';
4
+ label: string;
5
+ description: string;
6
+ color: string;
7
+ }
8
+ export interface AutonomyPickerProps {
9
+ options: AutonomyOption[];
10
+ selected: number;
11
+ hint?: string | undefined;
12
+ }
13
+ export declare const AUTONOMY_OPTIONS: AutonomyOption[];
14
+ export declare function AutonomyPicker({ options, selected, hint, }: AutonomyPickerProps): React.ReactElement;
15
+ //# sourceMappingURL=autonomy-picker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"autonomy-picker.d.ts","sourceRoot":"","sources":["../../src/components/autonomy-picker.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,KAAK,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,kBAAkB,CAAC;IAClE,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,cAAc,EAAE,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,gBAAgB,EAAE,cAAc,EA+B5C,CAAC;AAEF,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,QAAQ,EACR,IAAI,GACL,EAAE,mBAAmB,GAAG,KAAK,CAAC,YAAY,CAqB1C"}
@@ -0,0 +1,28 @@
1
+ import type React from 'react';
2
+ export interface BrainDecisionPromptOption {
3
+ id: string;
4
+ label: string;
5
+ risk?: 'low' | 'medium' | 'high' | 'critical' | string | undefined;
6
+ consequence?: string | undefined;
7
+ recommended?: boolean | undefined;
8
+ }
9
+ export interface BrainDecisionPromptProps {
10
+ requestId: string;
11
+ source: string;
12
+ risk: 'low' | 'medium' | 'high' | 'critical' | string;
13
+ question: string;
14
+ context?: string | undefined;
15
+ options?: BrainDecisionPromptOption[] | undefined;
16
+ onAnswer?: (answer: {
17
+ id: string;
18
+ optionId?: string | undefined;
19
+ deny?: boolean | undefined;
20
+ text?: string | undefined;
21
+ }) => void;
22
+ }
23
+ /**
24
+ * Brain escalation panel. It renders the options and, when `onAnswer` is wired,
25
+ * maps A/B/C (or 1/2/3) to the matching option and Esc/D to a safe denial.
26
+ */
27
+ export declare function BrainDecisionPrompt({ requestId, source, risk, question, context, options, onAnswer, }: BrainDecisionPromptProps): React.ReactElement;
28
+ //# sourceMappingURL=brain-decision-prompt.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"brain-decision-prompt.d.ts","sourceRoot":"","sources":["../../src/components/brain-decision-prompt.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,GAAG,SAAS,CAAC;IACnE,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACnC;AAED,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,CAAC;IACtD,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,yBAAyB,EAAE,GAAG,SAAS,CAAC;IAClD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAAC,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,KAAK,IAAI,CAAC;CACnI;AA0BD;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,SAAS,EACT,MAAM,EACN,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,OAAY,EACZ,QAAQ,GACT,EAAE,wBAAwB,GAAG,KAAK,CAAC,YAAY,CAiE/C"}
@@ -0,0 +1,16 @@
1
+ import type React from 'react';
2
+ export type BrainRiskLevel = 'off' | 'low' | 'medium' | 'high' | 'all';
3
+ export interface BrainLogEntry {
4
+ kind: string;
5
+ question: string;
6
+ outcome: string;
7
+ age: string;
8
+ }
9
+ export interface BrainPanelProps {
10
+ riskLevel: BrainRiskLevel;
11
+ log: BrainLogEntry[];
12
+ selected: number;
13
+ hint?: string | undefined;
14
+ }
15
+ export declare function BrainPanel({ riskLevel, log, selected, hint, }: BrainPanelProps): React.ReactElement;
16
+ //# sourceMappingURL=brain-panel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"brain-panel.d.ts","sourceRoot":"","sources":["../../src/components/brain-panel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,KAAK,CAAC;AAEvE,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,cAAc,CAAC;IAC1B,GAAG,EAAE,aAAa,EAAE,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B;AAoBD,wBAAgB,UAAU,CAAC,EACzB,SAAS,EACT,GAAG,EACH,QAAQ,EACR,IAAI,GACL,EAAE,eAAe,GAAG,KAAK,CAAC,YAAY,CAyEtC"}
@@ -0,0 +1,19 @@
1
+ import type React from 'react';
2
+ export interface CheckpointTimelineProps {
3
+ checkpoints: Array<{
4
+ promptIndex: number;
5
+ promptPreview: string;
6
+ ts: string;
7
+ fileCount: number;
8
+ }>;
9
+ selected: number;
10
+ onSelect: (index: number) => void;
11
+ onConfirm: (index: number) => void;
12
+ onClose: () => void;
13
+ }
14
+ /**
15
+ * Full-screen checkpoint timeline overlay for the /rewind command.
16
+ * Arrow keys to navigate, Enter to rewind to selected, Esc to close.
17
+ */
18
+ export declare function CheckpointTimeline({ checkpoints, selected, onSelect, onConfirm, onClose, }: CheckpointTimelineProps): React.ReactElement;
19
+ //# sourceMappingURL=checkpoint-timeline.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkpoint-timeline.d.ts","sourceRoot":"","sources":["../../src/components/checkpoint-timeline.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,uBAAuB;IACtC,WAAW,EAAE,KAAK,CAAC;QACjB,WAAW,EAAE,MAAM,CAAC;QACpB,aAAa,EAAE,MAAM,CAAC;QACtB,EAAE,EAAE,MAAM,CAAC;QACX,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC,CAAC;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,OAAO,GACR,EAAE,uBAAuB,GAAG,KAAK,CAAC,YAAY,CAgD9C"}
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ export type ConfirmDecision = 'yes' | 'no' | 'always' | 'deny';
3
+ export interface ConfirmPromptProps {
4
+ toolName: string;
5
+ input: unknown;
6
+ suggestedPattern: string;
7
+ onDecision: (decision: ConfirmDecision) => void;
8
+ /** Enable YOLO mode (capital Y). Approves the current call. */
9
+ onEnableYolo: () => void;
10
+ /** Whether this call was classified destructive. */
11
+ destructive?: boolean;
12
+ }
13
+ /**
14
+ * 0-based column spans of each button WITHIN the dialog's content area (i.e.
15
+ * relative to the first printable column inside the border + paddingX). Used
16
+ * by the TUI mouse handler to map a click on the button row to a decision.
17
+ * Derived from the same `buttonLabels` the component renders, so the offsets
18
+ * always match what's on screen.
19
+ */
20
+ export declare function confirmButtonSegments(suggestedPattern: string): Array<{
21
+ decision: ConfirmDecision;
22
+ start: number;
23
+ len: number;
24
+ }>;
25
+ export declare function ConfirmPrompt({ toolName, input, suggestedPattern, onDecision, onEnableYolo, destructive, }: ConfirmPromptProps): React.ReactElement;
26
+ //# sourceMappingURL=confirm-prompt.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"confirm-prompt.d.ts","sourceRoot":"","sources":["../../src/components/confirm-prompt.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,MAAM,eAAe,GAAG,KAAK,GAAG,IAAI,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE/D,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,CAAC,QAAQ,EAAE,eAAe,KAAK,IAAI,CAAC;IAChD,+DAA+D;IAC/D,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,oDAAoD;IACpD,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AA6BD;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACnC,gBAAgB,EAAE,MAAM,GACvB,KAAK,CAAC;IAAE,QAAQ,EAAE,eAAe,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC,CASlE;AA8ED,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,KAAK,EACL,gBAAgB,EAChB,UAAU,EACV,YAAY,EACZ,WAAW,GACZ,EAAE,kBAAkB,GAAG,KAAK,CAAC,YAAY,CA8EzC"}
@@ -0,0 +1,47 @@
1
+ import React from 'react';
2
+ export type ContinueDecision = 'proceed' | 'edit' | 'cancel';
3
+ /**
4
+ * Return the visible auto-proceed countdown in seconds, or null when the user
5
+ * must make an explicit choice. Keeping this as a tiny pure helper gives tests
6
+ * a stable contract without driving Ink timers.
7
+ */
8
+ export declare function continueAutoProceedSeconds(grounded: boolean, delayMs: number): number | null;
9
+ export interface ContinueConfirmPanelProps {
10
+ /** One-line summary of what "continue" resolved to. */
11
+ label: string;
12
+ /** The full instruction that will be sent in place of the bare "continue". */
13
+ instruction: string;
14
+ /** Resolution origin — drives the copy and the drift warning. */
15
+ source: 'todo' | 'suggestion' | 'open';
16
+ /**
17
+ * True for todo/suggestion resolutions (an explicit anchor, low drift): the
18
+ * panel auto-proceeds after `delayMs`. False for the `open` guess: no
19
+ * countdown, an explicit keypress is required.
20
+ */
21
+ grounded: boolean;
22
+ /** Auto-proceed countdown (ms) for grounded resolutions. Ignored when !grounded. */
23
+ delayMs: number;
24
+ /** Called once with the chosen action (keypress or, when grounded, countdown expiry). */
25
+ onDecision: (decision: ContinueDecision) => void;
26
+ }
27
+ /**
28
+ * Bare-"continue" confirmation ("you said continue — here's what that means").
29
+ *
30
+ * The whole point is to make the resolution *and its drift risk* visible
31
+ * instead of silently guessing:
32
+ *
33
+ * - **grounded** (todo / suggestion) — a concrete anchor exists, so we show
34
+ * it and auto-proceed after a short countdown. Enter sends now, Esc cancels,
35
+ * e loads it into the input to tweak.
36
+ * - **open** (no queued task) — "continue" is genuinely ambiguous here, so we
37
+ * do NOT auto-send. We show a ⚠ drift notice ("no pending task — I'll pick
38
+ * the next step from context") and wait for the user: Enter to trust the
39
+ * guess, e to type what to continue, Esc to cancel.
40
+ *
41
+ * Self-contained like EnhancePanel/ConfirmPrompt: owns its keys via `useInput`
42
+ * and (when grounded) its timer via a ref so the countdown never triggers a
43
+ * per-second re-render that would bleed blank rows into inline scrollback.
44
+ * `onDecision` is guarded by the caller so only the first decision wins.
45
+ */
46
+ export declare function ContinueConfirmPanel({ label, instruction, source, grounded, delayMs, onDecision, }: ContinueConfirmPanelProps): React.ReactElement;
47
+ //# sourceMappingURL=continue-confirm-panel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"continue-confirm-panel.d.ts","sourceRoot":"","sources":["../../src/components/continue-confirm-panel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAC;AAE7D;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAE5F;AAED,MAAM,WAAW,yBAAyB;IACxC,uDAAuD;IACvD,KAAK,EAAE,MAAM,CAAC;IACd,8EAA8E;IAC9E,WAAW,EAAE,MAAM,CAAC;IACpB,iEAAiE;IACjE,MAAM,EAAE,MAAM,GAAG,YAAY,GAAG,MAAM,CAAC;IACvC;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB,oFAAoF;IACpF,OAAO,EAAE,MAAM,CAAC;IAChB,yFAAyF;IACzF,UAAU,EAAE,CAAC,QAAQ,EAAE,gBAAgB,KAAK,IAAI,CAAC;CAClD;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,KAAK,EACL,WAAW,EACX,MAAM,EACN,QAAQ,EACR,OAAO,EACP,UAAU,GACX,EAAE,yBAAyB,GAAG,KAAK,CAAC,YAAY,CAsFhD"}
@@ -0,0 +1,11 @@
1
+ import type React from 'react';
2
+ import type { State } from '../app.js';
3
+ export interface CoordinatorPanelProps {
4
+ coordinator: State['coordinator'];
5
+ /** 1s clock tick so elapsed times stay live. */
6
+ nowTick: number;
7
+ /** Called when the user presses Esc or q to close the panel. */
8
+ onClose: () => void;
9
+ }
10
+ export declare function CoordinatorPanel({ coordinator, nowTick, onClose, }: CoordinatorPanelProps): React.ReactElement;
11
+ //# sourceMappingURL=coordinator-panel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"coordinator-panel.d.ts","sourceRoot":"","sources":["../../src/components/coordinator-panel.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAEvC,MAAM,WAAW,qBAAqB;IACpC,WAAW,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IAClC,gDAAgD;IAChD,OAAO,EAAE,MAAM,CAAC;IAChB,gEAAgE;IAChE,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAsED,wBAAgB,gBAAgB,CAAC,EAC/B,WAAW,EACX,OAAO,EACP,OAAO,GACR,EAAE,qBAAqB,GAAG,KAAK,CAAC,YAAY,CAyE5C"}
@@ -0,0 +1,14 @@
1
+ import type { DesignKitEntry } from '@wrongstack/core';
2
+ import type React from 'react';
3
+ export interface DesignPickerProps {
4
+ kits: DesignKitEntry[];
5
+ selected: number;
6
+ stack: string;
7
+ }
8
+ /**
9
+ * Design Studio kit picker overlay (opened by `/design`). Presentational only —
10
+ * navigation/selection state lives in the reducer; Enter runs `/design <id>
11
+ * <stack>` through the normal submit path, which pins the kit + loads its spec.
12
+ */
13
+ export declare function DesignPicker({ kits, selected, stack }: DesignPickerProps): React.ReactElement;
14
+ //# sourceMappingURL=design-picker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"design-picker.d.ts","sourceRoot":"","sources":["../../src/components/design-picker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,cAAc,EAAE,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,iBAAiB,GAAG,KAAK,CAAC,YAAY,CAsB7F"}
@@ -0,0 +1,36 @@
1
+ import React from 'react';
2
+ export type EnhanceDecision = 'refined' | 'english' | 'original' | 'edit';
3
+ export interface EnhancePanelProps {
4
+ /** The user's original message. */
5
+ original: string;
6
+ /** Refined in the user's original language. */
7
+ refined: string;
8
+ /** Refined in English. */
9
+ english: string;
10
+ /** Auto-send countdown in milliseconds. */
11
+ delayMs: number;
12
+ /** Called once with the chosen action (by key press or countdown expiry). */
13
+ onDecision: (decision: EnhanceDecision) => void;
14
+ /**
15
+ * Called every second with the remaining seconds. Lets the statusline
16
+ * render the countdown without the panel's re-renders bleeding into the
17
+ * chat scrollback as blank entries.
18
+ */
19
+ onTick?: ((remaining: number) => void) | undefined;
20
+ }
21
+ /**
22
+ * Prompt-refinement preview ("did you mean this?"). Shows the refined request
23
+ * in both the user's language and English with a live countdown; auto-sends
24
+ * the original-language refined version when the countdown expires unless the
25
+ * user intervenes:
26
+ * Enter → send original-lang refined now
27
+ * e → send English refined
28
+ * Esc → use original
29
+ * t → edit the original-lang refined version
30
+ *
31
+ * Self-contained like ConfirmPrompt: owns its keys via `useInput` and its
32
+ * timer via `useEffect`. `onDecision` is guarded by the caller so only the
33
+ * first decision wins.
34
+ */
35
+ export declare function EnhancePanel({ original, refined, english, delayMs, onDecision, onTick, }: EnhancePanelProps): React.ReactElement;
36
+ //# sourceMappingURL=enhance-panel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enhance-panel.d.ts","sourceRoot":"","sources":["../../src/components/enhance-panel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,CAAC;AAE1E,MAAM,WAAW,iBAAiB;IAChC,mCAAmC;IACnC,QAAQ,EAAE,MAAM,CAAC;IACjB,+CAA+C;IAC/C,OAAO,EAAE,MAAM,CAAC;IAChB,0BAA0B;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,2CAA2C;IAC3C,OAAO,EAAE,MAAM,CAAC;IAChB,6EAA6E;IAC7E,UAAU,EAAE,CAAC,QAAQ,EAAE,eAAe,KAAK,IAAI,CAAC;IAChD;;;;OAIG;IACH,MAAM,CAAC,EAAE,CAAC,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;CACpD;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,OAAO,EACP,OAAO,EACP,OAAO,EACP,UAAU,EACV,MAAM,GACP,EAAE,iBAAiB,GAAG,KAAK,CAAC,YAAY,CAiFxC"}
@@ -0,0 +1,17 @@
1
+ import type React from 'react';
2
+ export interface EscConfirmPromptProps {
3
+ runningTools: string[];
4
+ subagentCount: number;
5
+ onConfirm: () => void;
6
+ onCancel: () => void;
7
+ }
8
+ /**
9
+ * Confirmation dialog shown when the user presses Esc mid-iteration and
10
+ * `confirmExit` is enabled. Prevents accidental interruption of a running
11
+ * agent — the agent keeps working until the user explicitly says yes.
12
+ *
13
+ * - y / Enter → confirm the interrupt
14
+ * - n / Esc → cancel, let the agent continue
15
+ */
16
+ export declare function EscConfirmPrompt({ runningTools, subagentCount, onConfirm, onCancel, }: EscConfirmPromptProps): React.ReactElement;
17
+ //# sourceMappingURL=esc-confirm-prompt.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"esc-confirm-prompt.d.ts","sourceRoot":"","sources":["../../src/components/esc-confirm-prompt.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,qBAAqB;IACpC,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,YAAY,EACZ,aAAa,EACb,SAAS,EACT,QAAQ,GACT,EAAE,qBAAqB,GAAG,KAAK,CAAC,YAAY,CAmD5C"}