@wrongstack/tui 0.295.0 → 0.296.2

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 (288) hide show
  1. package/dist/app-action-type.d.ts +987 -0
  2. package/dist/app-action-type.d.ts.map +1 -0
  3. package/dist/app-initial-state.d.ts +4 -2
  4. package/dist/app-initial-state.d.ts.map +1 -1
  5. package/dist/app-key-handler.d.ts +12 -4
  6. package/dist/app-key-handler.d.ts.map +1 -1
  7. package/dist/app-props.d.ts +4 -2
  8. package/dist/app-props.d.ts.map +1 -1
  9. package/dist/app-reducer.d.ts +4 -2
  10. package/dist/app-reducer.d.ts.map +1 -1
  11. package/dist/app-settings-type.d.ts +73 -0
  12. package/dist/app-settings-type.d.ts.map +1 -0
  13. package/dist/app-state-core-types.d.ts +52 -0
  14. package/dist/app-state-core-types.d.ts.map +1 -0
  15. package/dist/app-state-fleet.d.ts +44 -0
  16. package/dist/app-state-fleet.d.ts.map +1 -0
  17. package/dist/app-state.d.ts +46 -1179
  18. package/dist/app-state.d.ts.map +1 -1
  19. package/dist/app-status-region.d.ts +1 -1
  20. package/dist/app-status-region.d.ts.map +1 -1
  21. package/dist/app-ui-state.d.ts +5 -0
  22. package/dist/app-ui-state.d.ts.map +1 -0
  23. package/dist/app-view-contract.d.ts +8 -1
  24. package/dist/app-view-contract.d.ts.map +1 -1
  25. package/dist/app-view.d.ts.map +1 -1
  26. package/dist/app.d.ts.map +1 -1
  27. package/dist/brain-panel-model.d.ts +8 -0
  28. package/dist/brain-panel-model.d.ts.map +1 -1
  29. package/dist/clipboard.d.ts +1 -1
  30. package/dist/clipboard.d.ts.map +1 -1
  31. package/dist/components/agents-monitor-constants.d.ts +12 -0
  32. package/dist/components/agents-monitor-constants.d.ts.map +1 -0
  33. package/dist/components/agents-monitor.d.ts +1 -7
  34. package/dist/components/agents-monitor.d.ts.map +1 -1
  35. package/dist/components/auth-panel.d.ts +2 -0
  36. package/dist/components/auth-panel.d.ts.map +1 -1
  37. package/dist/components/brain-panel.d.ts.map +1 -1
  38. package/dist/components/connections-panel.d.ts +7 -0
  39. package/dist/components/connections-panel.d.ts.map +1 -0
  40. package/dist/components/entry-error-boundary.d.ts +37 -0
  41. package/dist/components/entry-error-boundary.d.ts.map +1 -0
  42. package/dist/components/f-key-picker.d.ts.map +1 -1
  43. package/dist/components/history/banner.d.ts +1 -1
  44. package/dist/components/history/banner.d.ts.map +1 -1
  45. package/dist/components/history/basic-format.d.ts +19 -0
  46. package/dist/components/history/basic-format.d.ts.map +1 -0
  47. package/dist/components/history/code-block-diff-helpers.d.ts +28 -0
  48. package/dist/components/history/code-block-diff-helpers.d.ts.map +1 -0
  49. package/dist/components/history/code-block.d.ts +1 -1
  50. package/dist/components/history/code-block.d.ts.map +1 -1
  51. package/dist/components/history/copy-icon.d.ts +25 -0
  52. package/dist/components/history/copy-icon.d.ts.map +1 -0
  53. package/dist/components/history/entry.d.ts +1 -1
  54. package/dist/components/history/entry.d.ts.map +1 -1
  55. package/dist/components/history/index.d.ts +5 -6
  56. package/dist/components/history/index.d.ts.map +1 -1
  57. package/dist/components/history/replay.d.ts +12 -0
  58. package/dist/components/history/replay.d.ts.map +1 -1
  59. package/dist/components/history/sage-output-format.d.ts +20 -0
  60. package/dist/components/history/sage-output-format.d.ts.map +1 -0
  61. package/dist/components/history/stream-box.d.ts +23 -0
  62. package/dist/components/history/stream-box.d.ts.map +1 -0
  63. package/dist/components/history/tool-arg-format.d.ts +5 -0
  64. package/dist/components/history/tool-arg-format.d.ts.map +1 -0
  65. package/dist/components/history/tool-group.d.ts.map +1 -1
  66. package/dist/components/history/tool-output-summary.d.ts +4 -0
  67. package/dist/components/history/tool-output-summary.d.ts.map +1 -0
  68. package/dist/components/history/tool-visual-command.d.ts +3 -0
  69. package/dist/components/history/tool-visual-command.d.ts.map +1 -0
  70. package/dist/components/history/tool-visual-domain.d.ts +8 -0
  71. package/dist/components/history/tool-visual-domain.d.ts.map +1 -0
  72. package/dist/components/history/tool-visual-format.d.ts +13 -0
  73. package/dist/components/history/tool-visual-format.d.ts.map +1 -0
  74. package/dist/components/history/tool-visual-lsp.d.ts +4 -0
  75. package/dist/components/history/tool-visual-lsp.d.ts.map +1 -0
  76. package/dist/components/history/tool-visual-misc.d.ts +7 -0
  77. package/dist/components/history/tool-visual-misc.d.ts.map +1 -0
  78. package/dist/components/history/tool-visual-mode-workdir.d.ts +4 -0
  79. package/dist/components/history/tool-visual-mode-workdir.d.ts.map +1 -0
  80. package/dist/components/history/tool-visual-types.d.ts +9 -0
  81. package/dist/components/history/tool-visual-types.d.ts.map +1 -0
  82. package/dist/components/history/utils.d.ts +14 -54
  83. package/dist/components/history/utils.d.ts.map +1 -1
  84. package/dist/components/history/visual-lines.d.ts +7 -0
  85. package/dist/components/history/visual-lines.d.ts.map +1 -0
  86. package/dist/components/history/visual-memory-logs.d.ts +4 -0
  87. package/dist/components/history/visual-memory-logs.d.ts.map +1 -0
  88. package/dist/components/input.d.ts.map +1 -1
  89. package/dist/components/kanban-panel.d.ts.map +1 -1
  90. package/dist/components/key-hint-bar.d.ts +11 -0
  91. package/dist/components/key-hint-bar.d.ts.map +1 -1
  92. package/dist/components/powerline-rail.d.ts +11 -4
  93. package/dist/components/powerline-rail.d.ts.map +1 -1
  94. package/dist/components/provider-colors.d.ts.map +1 -1
  95. package/dist/components/refine-countdown-panel.d.ts +25 -0
  96. package/dist/components/refine-countdown-panel.d.ts.map +1 -0
  97. package/dist/components/refine-failure-panel.d.ts +1 -0
  98. package/dist/components/refine-failure-panel.d.ts.map +1 -1
  99. package/dist/components/resume-picker.d.ts.map +1 -1
  100. package/dist/components/scrollable-history.d.ts +96 -17
  101. package/dist/components/scrollable-history.d.ts.map +1 -1
  102. package/dist/components/settings-picker-filter.d.ts +20 -0
  103. package/dist/components/settings-picker-filter.d.ts.map +1 -0
  104. package/dist/components/settings-picker-jumps.d.ts +16 -0
  105. package/dist/components/settings-picker-jumps.d.ts.map +1 -0
  106. package/dist/components/settings-picker-model.d.ts +270 -0
  107. package/dist/components/settings-picker-model.d.ts.map +1 -0
  108. package/dist/components/settings-picker-row-list.d.ts +21 -0
  109. package/dist/components/settings-picker-row-list.d.ts.map +1 -0
  110. package/dist/components/settings-picker.d.ts +6 -313
  111. package/dist/components/settings-picker.d.ts.map +1 -1
  112. package/dist/components/status-bar-format.d.ts +65 -0
  113. package/dist/components/status-bar-format.d.ts.map +1 -0
  114. package/dist/components/status-bar-helpers.d.ts +19 -0
  115. package/dist/components/status-bar-helpers.d.ts.map +1 -0
  116. package/dist/components/status-bar-types.d.ts +350 -0
  117. package/dist/components/status-bar-types.d.ts.map +1 -0
  118. package/dist/components/status-bar.d.ts +4 -444
  119. package/dist/components/status-bar.d.ts.map +1 -1
  120. package/dist/components/statusline-detail-panel.d.ts.map +1 -1
  121. package/dist/components/statusline-picker.d.ts +5 -3
  122. package/dist/components/statusline-picker.d.ts.map +1 -1
  123. package/dist/components/tools-picker.d.ts.map +1 -1
  124. package/dist/connections-health.d.ts +39 -0
  125. package/dist/connections-health.d.ts.map +1 -0
  126. package/dist/connections-slash.d.ts +12 -0
  127. package/dist/connections-slash.d.ts.map +1 -0
  128. package/dist/esc-close-panels.d.ts.map +1 -1
  129. package/dist/f-key-panels.d.ts +4 -2
  130. package/dist/f-key-panels.d.ts.map +1 -1
  131. package/dist/heap-watchdog.d.ts.map +1 -1
  132. package/dist/height-cache.d.ts.map +1 -1
  133. package/dist/history-archive.d.ts +69 -0
  134. package/dist/history-archive.d.ts.map +1 -0
  135. package/dist/history-entry.d.ts +2 -0
  136. package/dist/history-entry.d.ts.map +1 -1
  137. package/dist/hit-test.d.ts +3 -4
  138. package/dist/hit-test.d.ts.map +1 -1
  139. package/dist/hooks/use-app-picker-keys.d.ts +3 -2
  140. package/dist/hooks/use-app-picker-keys.d.ts.map +1 -1
  141. package/dist/hooks/use-app-runtime-refs.d.ts +38 -0
  142. package/dist/hooks/use-app-runtime-refs.d.ts.map +1 -0
  143. package/dist/hooks/use-app-session-state.d.ts +28 -0
  144. package/dist/hooks/use-app-session-state.d.ts.map +1 -0
  145. package/dist/hooks/use-autonomy-drivers.d.ts +1 -1
  146. package/dist/hooks/use-autonomy-drivers.d.ts.map +1 -1
  147. package/dist/hooks/use-brain-panel.d.ts +1 -1
  148. package/dist/hooks/use-brain-panel.d.ts.map +1 -1
  149. package/dist/hooks/use-brain-risk-sync.d.ts +11 -0
  150. package/dist/hooks/use-brain-risk-sync.d.ts.map +1 -0
  151. package/dist/hooks/use-client-telemetry.d.ts +1 -1
  152. package/dist/hooks/use-client-telemetry.d.ts.map +1 -1
  153. package/dist/hooks/use-core-tui-commands.d.ts +2 -1
  154. package/dist/hooks/use-core-tui-commands.d.ts.map +1 -1
  155. package/dist/hooks/use-director-fleet-bridge.d.ts.map +1 -1
  156. package/dist/hooks/use-enhance-runtime-state.d.ts +23 -0
  157. package/dist/hooks/use-enhance-runtime-state.d.ts.map +1 -0
  158. package/dist/hooks/use-help-panel.d.ts +6 -0
  159. package/dist/hooks/use-help-panel.d.ts.map +1 -0
  160. package/dist/hooks/use-history-copy-notice.d.ts +4 -0
  161. package/dist/hooks/use-history-copy-notice.d.ts.map +1 -0
  162. package/dist/hooks/use-history-viewport-sync.d.ts +13 -0
  163. package/dist/hooks/use-history-viewport-sync.d.ts.map +1 -0
  164. package/dist/hooks/use-initial-prompt.d.ts +1 -1
  165. package/dist/hooks/use-initial-prompt.d.ts.map +1 -1
  166. package/dist/hooks/use-interrupt-ladder.d.ts +2 -1
  167. package/dist/hooks/use-interrupt-ladder.d.ts.map +1 -1
  168. package/dist/hooks/use-kanban-board-focus.d.ts +8 -0
  169. package/dist/hooks/use-kanban-board-focus.d.ts.map +1 -0
  170. package/dist/hooks/use-live-settings-state.d.ts +20 -0
  171. package/dist/hooks/use-live-settings-state.d.ts.map +1 -0
  172. package/dist/hooks/use-mailbox-view-model.d.ts.map +1 -1
  173. package/dist/hooks/use-model-pick.d.ts +1 -1
  174. package/dist/hooks/use-model-pick.d.ts.map +1 -1
  175. package/dist/hooks/use-mouse-tracking.d.ts +15 -0
  176. package/dist/hooks/use-mouse-tracking.d.ts.map +1 -0
  177. package/dist/hooks/use-next-steps-auto-submit.d.ts +2 -1
  178. package/dist/hooks/use-next-steps-auto-submit.d.ts.map +1 -1
  179. package/dist/hooks/use-panel-controllers.d.ts +2 -1
  180. package/dist/hooks/use-panel-controllers.d.ts.map +1 -1
  181. package/dist/hooks/use-picker-keys-types.d.ts +56 -0
  182. package/dist/hooks/use-picker-keys-types.d.ts.map +1 -0
  183. package/dist/hooks/use-picker-keys.d.ts +2 -64
  184. package/dist/hooks/use-picker-keys.d.ts.map +1 -1
  185. package/dist/hooks/use-provider-event-bridge.d.ts +1 -1
  186. package/dist/hooks/use-provider-event-bridge.d.ts.map +1 -1
  187. package/dist/hooks/use-session-interrupt-controller.d.ts +6 -1
  188. package/dist/hooks/use-session-interrupt-controller.d.ts.map +1 -1
  189. package/dist/hooks/use-settings-auto-save.d.ts +2 -1
  190. package/dist/hooks/use-settings-auto-save.d.ts.map +1 -1
  191. package/dist/hooks/use-shadow-panel.d.ts +17 -0
  192. package/dist/hooks/use-shadow-panel.d.ts.map +1 -0
  193. package/dist/hooks/use-slash-picker.d.ts +2 -1
  194. package/dist/hooks/use-slash-picker.d.ts.map +1 -1
  195. package/dist/hooks/use-stable-key-handler.d.ts +5 -0
  196. package/dist/hooks/use-stable-key-handler.d.ts.map +1 -0
  197. package/dist/hooks/use-subagent-events.d.ts.map +1 -1
  198. package/dist/hooks/use-terminal-render-lifecycle.d.ts.map +1 -1
  199. package/dist/hooks/use-todos-auto-clear.d.ts +3 -0
  200. package/dist/hooks/use-todos-auto-clear.d.ts.map +1 -0
  201. package/dist/hooks/use-tui-activity.d.ts +7 -1
  202. package/dist/hooks/use-tui-activity.d.ts.map +1 -1
  203. package/dist/hooks/use-tui-environment-state.d.ts +1 -0
  204. package/dist/hooks/use-tui-environment-state.d.ts.map +1 -1
  205. package/dist/hooks/use-tui-slash-commands.d.ts +2 -1
  206. package/dist/hooks/use-tui-slash-commands.d.ts.map +1 -1
  207. package/dist/index.d.ts +1 -1
  208. package/dist/index.d.ts.map +1 -1
  209. package/dist/index.js +19532 -17672
  210. package/dist/index.js.map +4 -4
  211. package/dist/input-validation/action-helpers.d.ts +12 -0
  212. package/dist/input-validation/action-helpers.d.ts.map +1 -0
  213. package/dist/input-validation/action-types.d.ts +4 -0
  214. package/dist/input-validation/action-types.d.ts.map +1 -0
  215. package/dist/input-validation/allow-lists.d.ts +29 -0
  216. package/dist/input-validation/allow-lists.d.ts.map +1 -0
  217. package/dist/input-validation/limits.d.ts +27 -0
  218. package/dist/input-validation/limits.d.ts.map +1 -0
  219. package/dist/input-validation/result.d.ts +10 -0
  220. package/dist/input-validation/result.d.ts.map +1 -0
  221. package/dist/input-validation/state-entries.d.ts +22 -0
  222. package/dist/input-validation/state-entries.d.ts.map +1 -0
  223. package/dist/input-validation/terminal.d.ts +69 -0
  224. package/dist/input-validation/terminal.d.ts.map +1 -0
  225. package/dist/input-validation.d.ts +10 -179
  226. package/dist/input-validation.d.ts.map +1 -1
  227. package/dist/layout-engine.d.ts +1 -1
  228. package/dist/layout-engine.d.ts.map +1 -1
  229. package/dist/layout-store.d.ts +8 -1
  230. package/dist/layout-store.d.ts.map +1 -1
  231. package/dist/mailbox-view-model-types.d.ts +19 -0
  232. package/dist/mailbox-view-model-types.d.ts.map +1 -0
  233. package/dist/memory-context-monitor.d.ts.map +1 -1
  234. package/dist/memory-slash-format.d.ts +10 -0
  235. package/dist/memory-slash-format.d.ts.map +1 -0
  236. package/dist/memory-slash.d.ts.map +1 -1
  237. package/dist/mouse.d.ts +11 -4
  238. package/dist/mouse.d.ts.map +1 -1
  239. package/dist/on-panel-open.d.ts +1 -1
  240. package/dist/on-panel-open.d.ts.map +1 -1
  241. package/dist/overlay-key-router.d.ts.map +1 -1
  242. package/dist/reducers/activity.d.ts +2 -1
  243. package/dist/reducers/activity.d.ts.map +1 -1
  244. package/dist/reducers/composer.d.ts +2 -1
  245. package/dist/reducers/composer.d.ts.map +1 -1
  246. package/dist/reducers/conversation.d.ts +3 -2
  247. package/dist/reducers/conversation.d.ts.map +1 -1
  248. package/dist/reducers/dialogs.d.ts +3 -2
  249. package/dist/reducers/dialogs.d.ts.map +1 -1
  250. package/dist/reducers/fleet.d.ts +2 -1
  251. package/dist/reducers/fleet.d.ts.map +1 -1
  252. package/dist/reducers/helpers.d.ts +1 -1
  253. package/dist/reducers/helpers.d.ts.map +1 -1
  254. package/dist/reducers/panel-pickers.d.ts +2 -1
  255. package/dist/reducers/panel-pickers.d.ts.map +1 -1
  256. package/dist/reducers/settings-panel.d.ts +2 -1
  257. package/dist/reducers/settings-panel.d.ts.map +1 -1
  258. package/dist/reducers/settings-values.d.ts +2 -1
  259. package/dist/reducers/settings-values.d.ts.map +1 -1
  260. package/dist/reducers/workspace-panels.d.ts +3 -2
  261. package/dist/reducers/workspace-panels.d.ts.map +1 -1
  262. package/dist/run-tui-client-registration.d.ts +18 -0
  263. package/dist/run-tui-client-registration.d.ts.map +1 -0
  264. package/dist/run-tui-options.d.ts +569 -0
  265. package/dist/run-tui-options.d.ts.map +1 -0
  266. package/dist/run-tui-title-controller.d.ts +16 -0
  267. package/dist/run-tui-title-controller.d.ts.map +1 -0
  268. package/dist/run-tui.d.ts +5 -572
  269. package/dist/run-tui.d.ts.map +1 -1
  270. package/dist/scroll-anchor.d.ts +10 -14
  271. package/dist/scroll-anchor.d.ts.map +1 -1
  272. package/dist/settings-contracts.d.ts +1 -1
  273. package/dist/settings-contracts.d.ts.map +1 -1
  274. package/dist/submit-controller.d.ts +4 -0
  275. package/dist/submit-controller.d.ts.map +1 -1
  276. package/dist/submit-prompt-refinement.d.ts +2 -0
  277. package/dist/submit-prompt-refinement.d.ts.map +1 -1
  278. package/dist/terminal-modes.d.ts +3 -0
  279. package/dist/terminal-modes.d.ts.map +1 -0
  280. package/dist/terminal-silence.d.ts +3 -0
  281. package/dist/terminal-silence.d.ts.map +1 -0
  282. package/dist/terminal-title.d.ts +7 -1
  283. package/dist/terminal-title.d.ts.map +1 -1
  284. package/dist/tui-host-capabilities.d.ts +1 -1
  285. package/dist/tui-host-capabilities.d.ts.map +1 -1
  286. package/dist/ui-contracts.d.ts +2 -1
  287. package/dist/ui-contracts.d.ts.map +1 -1
  288. package/package.json +11 -12
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/history/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAI/C,YAAY,EAAE,mBAAmB,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAClF,YAAY,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EACL,SAAS,EACT,SAAS,EACT,aAAa,EACb,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,oBAAoB,EACpB,mBAAmB,EACnB,4BAA4B,EAC5B,kBAAkB,EAClB,qBAAqB,EACrB,mBAAmB,EACnB,eAAe,EACf,sBAAsB,EACtB,gBAAgB,EAChB,uBAAuB,GACxB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,aAAa,EAAE,aAAa,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAChO,OAAO,EACL,WAAW,EACX,WAAW,EACX,aAAa,EACb,MAAM,EACN,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,iBAAiB,EACjB,UAAU,EACV,aAAa,EACb,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,sBAAsB,EACtB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,eAAe,EACf,aAAa,EACb,aAAa,EACb,mBAAmB,EACnB,wBAAwB,EACxB,cAAc,GACf,MAAM,YAAY,CAAC;AAIpB;;;;;;;;;GASG;AACH,eAAO,MAAM,OAAO,sJAAkJ,YAAY,KAAG,KAAK,CAAC,YAAY,CA0HrM,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/history/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAI/C,OAAO,EACL,qBAAqB,EACrB,aAAa,EACb,aAAa,EACb,qBAAqB,EACrB,iBAAiB,EACjB,0BAA0B,EAC1B,0BAA0B,EAC1B,oBAAoB,EACpB,iBAAiB,GAClB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EACL,SAAS,EACT,SAAS,EACT,aAAa,EACb,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,kBAAkB,EAClB,qBAAqB,EACrB,mBAAmB,EACnB,eAAe,EACf,sBAAsB,EACtB,oBAAoB,EACpB,mBAAmB,EACnB,4BAA4B,EAC5B,KAAK,gBAAgB,EACrB,gBAAgB,EAChB,uBAAuB,GACxB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,YAAY,EAAE,mBAAmB,EAAE,WAAW,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/F,OAAO,EACL,UAAU,EACV,aAAa,EACb,QAAQ,EACR,WAAW,EACX,MAAM,EACN,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,sBAAsB,EACtB,wBAAwB,EACxB,KAAK,EACL,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,QAAQ,EACR,eAAe,EACf,aAAa,EACb,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,cAAc,EACd,mBAAmB,EACnB,QAAQ,EACR,YAAY,GACb,MAAM,YAAY,CAAC;AAIpB;;;;;;;;;GASG;AACH,eAAO,MAAM,OAAO,uJASjB,YAAY,KAAG,KAAK,CAAC,YAAY,CAmIlC,CAAC"}
@@ -16,5 +16,17 @@ import type { HistoryEntry } from './types.js';
16
16
  * meta-only tool-chip variants.
17
17
  */
18
18
  export declare function replaySessionMessages(messages: readonly Message[], events: readonly SessionEvent[], startId: number): HistoryEntry[];
19
+ /**
20
+ * Raw-event replay: renders the JSONL stream directly, without the
21
+ * reconstructed message backbone.
22
+ *
23
+ * @deprecated Not the resume renderer. Use {@link replaySessionMessages} —
24
+ * it is the canonical one, and the only one both the boot `--resume` path and
25
+ * the in-session resume picker use. This variant cannot reconstruct sessions
26
+ * written through the exact message journal (`message_appended`/`_updated`/
27
+ * `_replaced`), because those events carry the conversation and this function
28
+ * ignores them. Kept for the legacy event-only tests and any embedder holding
29
+ * a bare event array; deliberately absent from the package barrel.
30
+ */
19
31
  export declare function replaySessionEvents(events: SessionEvent[], startId: number): HistoryEntry[];
20
32
  //# sourceMappingURL=replay.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"replay.d.ts","sourceRoot":"","sources":["../../../src/components/history/replay.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAoB,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAsE/C;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE,SAAS,OAAO,EAAE,EAC5B,MAAM,EAAE,SAAS,YAAY,EAAE,EAC/B,OAAO,EAAE,MAAM,GACd,YAAY,EAAE,CAyHhB;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,YAAY,EAAE,EAAE,OAAO,EAAE,MAAM,GAAG,YAAY,EAAE,CAoC3F"}
1
+ {"version":3,"file":"replay.d.ts","sourceRoot":"","sources":["../../../src/components/history/replay.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAoB,OAAO,EAAE,YAAY,EAAiB,MAAM,wBAAwB,CAAC;AAErG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAuF/C;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE,SAAS,OAAO,EAAE,EAC5B,MAAM,EAAE,SAAS,YAAY,EAAE,EAC/B,OAAO,EAAE,MAAM,GACd,YAAY,EAAE,CAyHhB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,YAAY,EAAE,EAAE,OAAO,EAAE,MAAM,GAAG,YAAY,EAAE,CAoC3F"}
@@ -0,0 +1,20 @@
1
+ export interface SageSplit {
2
+ /** Tool result text with the SAGE block removed. */
3
+ cleanOutput: string;
4
+ /** Extracted SAGE block lines (including the `--- SAGE:` header), or empty. */
5
+ sageLines: string[];
6
+ }
7
+ export declare function extractSageBlock(output: string): SageSplit;
8
+ export declare function formatToolOutputSageWith(input: {
9
+ toolName: string;
10
+ output: string | undefined;
11
+ ok: boolean;
12
+ outputBytes?: number | undefined;
13
+ outputLines?: number | undefined;
14
+ formatToolOutput(toolName: string, output: string | undefined, ok: boolean, outputBytes?: number | undefined, outputLines?: number | undefined): string[];
15
+ }): {
16
+ cleanOutput: string;
17
+ outLines: string[];
18
+ sageLines: string[];
19
+ };
20
+ //# sourceMappingURL=sage-output-format.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sage-output-format.d.ts","sourceRoot":"","sources":["../../../src/components/history/sage-output-format.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACxB,oDAAoD;IACpD,WAAW,EAAE,MAAM,CAAC;IACpB,+EAA+E;IAC/E,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB;AASD,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAuB1D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,EAAE;IAC9C,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,EAAE,EAAE,OAAO,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,gBAAgB,CACd,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,EAAE,EAAE,OAAO,EACX,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,EAChC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,GAC/B,MAAM,EAAE,CAAC;CACb,GAAG;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,EAAE,CAAC;IAAC,SAAS,EAAE,MAAM,EAAE,CAAA;CAAE,CAgBnE"}
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ export declare const MAX_STREAM_DISPLAY_CHARS = 480;
3
+ /** Fixed layout height of the live tool-stream tail for scroll-range math. */
4
+ export declare function toolStreamBoxHeight(name: string): number;
5
+ /**
6
+ * Build the CONSTANT-height content block for the live tool-stream box: always
7
+ * exactly `maxLines` rows, newest-pinned-to-bottom, every line truncated to
8
+ * `contentWidth` so nothing wraps. Holding the row count fixed is what stops the
9
+ * live region from growing (and thus scrolling the terminal + leaking the header
10
+ * into scrollback) as output streams in. Pure + exported for testing.
11
+ */
12
+ export declare function streamBoxRows(text: string, maxLines: number, contentWidth: number): Array<{
13
+ text: string;
14
+ italic?: boolean | undefined;
15
+ }>;
16
+ export declare const ToolStreamBox: React.MemoExoticComponent<({ name, text, startedAt, termWidth, }: {
17
+ name: string;
18
+ text: string;
19
+ startedAt: number;
20
+ termWidth: number;
21
+ }) => React.ReactElement>;
22
+ export declare function tailForDisplay(text: string, maxChars: number): string;
23
+ //# sourceMappingURL=stream-box.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stream-box.d.ts","sourceRoot":"","sources":["../../../src/components/history/stream-box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,wBAAwB,MAAM,CAAC;AAM5C,8EAA8E;AAC9E,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAGxD;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,GACnB,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAAE,CAAC,CAevD;AAED,eAAO,MAAM,aAAa,oEAKvB;IACD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB,KAAG,KAAK,CAAC,YAAY,CAoDpB,CAAC;AAEH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAQrE"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Render the most useful single-line description of a tool call's arguments.
3
+ */
4
+ export declare function formatToolArgs(toolName: string, input: unknown): string;
5
+ //# sourceMappingURL=tool-arg-format.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool-arg-format.d.ts","sourceRoot":"","sources":["../../../src/components/history/tool-arg-format.ts"],"names":[],"mappings":"AAqBA;;GAEG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EA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sCrB"}
1
+ {"version":3,"file":"tool-group.d.ts","sourceRoot":"","sources":["../../../src/components/history/tool-group.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAM/C,MAAM,WAAW,aAAa;IAC5B,sDAAsD;IACtD,IAAI,EAAE,MAAM,CAAC;IACb,mDAAmD;IACnD,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,2CAA2C;IAC3C,eAAe,EAAE,MAAM,CAAC;IACxB,iCAAiC;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,6BAA6B;IAC7B,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,MAAM,WAAW,GACnB;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,KAAK,EAAE,YAAY,CAAA;CAAE,GACvC;IAAE,IAAI,EAAE,YAAY,CAAC;IAAC,IAAI,EAAE,aAAa,CAAA;CAAE,CAAC;AAIhD;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,KAAK,CAAC;AAczC,4EAA4E;AAC5E,wBAAgB,aAAa,CAAC,KAAK,EAAE,WAAW,GAAG,MAAM,CAExD;AAuBD,0EAA0E;AAC1E,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM,CA6DxF;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,SAAS,YAAY,EAAE,GAAG,WAAW,EAAE,CAiD5E;AAmDD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,SAAS,GACV,EAAE;IACD,IAAI,EAAE,aAAa,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;CACnB,GAAG,KAAK,CAAC,YAAY,CAsCrB"}
@@ -0,0 +1,4 @@
1
+ export declare const OUT_BUDGET = 80;
2
+ export declare const GENERIC_BUDGET = 240;
3
+ export declare function summarizeJsonObject(obj: Record<string, unknown>): string | null;
4
+ //# sourceMappingURL=tool-output-summary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool-output-summary.d.ts","sourceRoot":"","sources":["../../../src/components/history/tool-output-summary.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,KAAK,CAAC;AAC7B,eAAO,MAAM,cAAc,MAAM,CAAC;AAElC,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,GAAG,IAAI,CA4C/E"}
@@ -0,0 +1,3 @@
1
+ import type { ToolVisualLine } from './tool-visual-types.js';
2
+ export declare function visualCommand(toolName: string, text: string, ok: boolean): ToolVisualLine[] | undefined;
3
+ //# sourceMappingURL=tool-visual-command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool-visual-command.d.ts","sourceRoot":"","sources":["../../../src/components/history/tool-visual-command.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,cAAc,EAAsB,MAAM,wBAAwB,CAAC;AAIjF,wBAAgB,aAAa,CAC3B,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,EACZ,EAAE,EAAE,OAAO,GACV,cAAc,EAAE,GAAG,SAAS,CAyB9B"}
@@ -0,0 +1,8 @@
1
+ import type { ToolVisualLine } from './tool-visual-types.js';
2
+ export declare function visualTodo(text: string, input?: unknown): ToolVisualLine[] | undefined;
3
+ export declare function visualWorkBoard(toolName: string, text: string, ok: boolean): ToolVisualLine[] | undefined;
4
+ export declare function visualDocument(text: string): ToolVisualLine[] | undefined;
5
+ export declare function visualToolCatalog(toolName: string, text: string): ToolVisualLine[] | undefined;
6
+ export declare function visualMetaExecution(toolName: string, text: string, ok: boolean): ToolVisualLine[] | undefined;
7
+ export declare function visualCodebase(toolName: string, text: string, ok: boolean): ToolVisualLine[] | undefined;
8
+ //# sourceMappingURL=tool-visual-domain.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool-visual-domain.d.ts","sourceRoot":"","sources":["../../../src/components/history/tool-visual-domain.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAK7D,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,GAAG,cAAc,EAAE,GAAG,SAAS,CAyCtF;AAED,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,EACZ,EAAE,EAAE,OAAO,GACV,cAAc,EAAE,GAAG,SAAS,CA6B9B;AA2CD,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,EAAE,GAAG,SAAS,CAqBzE;AAoBD,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,cAAc,EAAE,GAAG,SAAS,CA4B9F;AAED,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,EACZ,EAAE,EAAE,OAAO,GACV,cAAc,EAAE,GAAG,SAAS,CA2C9B;AAED,wBAAgB,cAAc,CAC5B,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,EACZ,EAAE,EAAE,OAAO,GACV,cAAc,EAAE,GAAG,SAAS,CA2D9B"}
@@ -0,0 +1,13 @@
1
+ import type { ToolVisualLine } from './tool-visual-types.js';
2
+ export declare function recordToStringFields(obj: Record<string, unknown>): Record<string, string>;
3
+ export declare function appendOutputPreview(rows: ToolVisualLine[], output: string | undefined, kind: 'stdout' | 'stderr'): void;
4
+ export declare function bodyLines(text: string): string[];
5
+ export declare function parseHeaderLine(text: string): {
6
+ label: string;
7
+ fields: Record<string, string>;
8
+ };
9
+ export declare function parseInlineFields(raw: string): Record<string, string>;
10
+ export declare function parseNamedSections(text: string): Map<string, string>;
11
+ export declare function parseKeyValueLines(text: string): Record<string, string>;
12
+ export declare function numberFromParsedField(fields: Record<string, string>, key: string): number | undefined;
13
+ //# sourceMappingURL=tool-visual-format.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool-visual-format.d.ts","sourceRoot":"","sources":["../../../src/components/history/tool-visual-format.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE7D,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CASzF;AAED,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,cAAc,EAAE,EACtB,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,IAAI,EAAE,QAAQ,GAAG,QAAQ,GACxB,IAAI,CAMN;AAED,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAMhD;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,CAM/F;AAED,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAMrE;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAoBpE;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAOvE;AAED,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAC9B,GAAG,EAAE,MAAM,GACV,MAAM,GAAG,SAAS,CAKpB"}
@@ -0,0 +1,4 @@
1
+ import type { ToolVisualLine } from './tool-visual-types.js';
2
+ /** Turn the compact text emitted by plug-lsp into navigable, severity-aware rows. */
3
+ export declare function visualLsp(toolName: string, text: string, ok: boolean): ToolVisualLine[];
4
+ //# sourceMappingURL=tool-visual-lsp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool-visual-lsp.d.ts","sourceRoot":"","sources":["../../../src/components/history/tool-visual-lsp.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAI7D,qFAAqF;AACrF,wBAAgB,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,GAAG,cAAc,EAAE,CAmGvF"}
@@ -0,0 +1,7 @@
1
+ import type { ToolVisualLine } from './tool-visual-types.js';
2
+ export declare function visualFetch(text: string): ToolVisualLine[] | undefined;
3
+ export declare function visualJson(text: string): ToolVisualLine[] | undefined;
4
+ export declare function visualOutdated(text: string): ToolVisualLine[] | undefined;
5
+ export declare function visualAudit(text: string): ToolVisualLine[] | undefined;
6
+ export declare function visualScaffold(text: string): ToolVisualLine[] | undefined;
7
+ //# sourceMappingURL=tool-visual-misc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool-visual-misc.d.ts","sourceRoot":"","sources":["../../../src/components/history/tool-visual-misc.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAsB,MAAM,wBAAwB,CAAC;AAIjF,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,EAAE,GAAG,SAAS,CAetE;AA6BD,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,EAAE,GAAG,SAAS,CAiBrE;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,EAAE,GAAG,SAAS,CAMzE;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,EAAE,GAAG,SAAS,CAkBtE;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,EAAE,GAAG,SAAS,CAazE"}
@@ -0,0 +1,4 @@
1
+ import type { ToolVisualLine } from './tool-visual-types.js';
2
+ export declare function visualWorkingDir(text: string, ok: boolean): ToolVisualLine[] | undefined;
3
+ export declare function visualMode(text: string, ok: boolean): ToolVisualLine[] | undefined;
4
+ //# sourceMappingURL=tool-visual-mode-workdir.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool-visual-mode-workdir.d.ts","sourceRoot":"","sources":["../../../src/components/history/tool-visual-mode-workdir.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE7D,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,GAAG,cAAc,EAAE,GAAG,SAAS,CAgBxF;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,GAAG,cAAc,EAAE,GAAG,SAAS,CAuClF"}
@@ -0,0 +1,9 @@
1
+ export type ToolVisualLineKind = 'ok' | 'warn' | 'error' | 'meta' | 'path' | 'match' | 'code' | 'stdout' | 'stderr';
2
+ export interface ToolVisualLine {
3
+ kind: ToolVisualLineKind;
4
+ text: string;
5
+ marker?: string | undefined;
6
+ lineNo?: string | undefined;
7
+ path?: string | undefined;
8
+ }
9
+ //# sourceMappingURL=tool-visual-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool-visual-types.d.ts","sourceRoot":"","sources":["../../../src/components/history/tool-visual-types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAC1B,IAAI,GACJ,MAAM,GACN,OAAO,GACP,MAAM,GACN,MAAM,GACN,OAAO,GACP,MAAM,GACN,QAAQ,GACR,QAAQ,CAAC;AAEb,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,kBAAkB,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B"}
@@ -1,67 +1,27 @@
1
- import React from 'react';
2
- export declare function shortenPath(p: string, max: number): string;
3
- export declare function previewArgs(input: unknown): string;
4
- export declare function previewOutput(output: string): string;
5
- export declare function fmtTok(n: number): string;
6
- export declare function fmtDuration(ms: number): string;
7
- export declare function fmtBytes(n: number): string;
8
- export declare function truncMid(s: string, max: number): string;
9
- export declare function stringOf(v: unknown): string | undefined;
10
- export declare function numOf(v: unknown): number | undefined;
11
- export declare function tryParseJson(s: string): unknown;
12
- export declare function scanNumberedRange(text: string): {
13
- first?: number | undefined;
14
- last?: number | undefined;
15
- count: number;
16
- };
17
- export declare function countLines(text: string): number;
18
- export declare function firstNonEmpty(text: string): string | undefined;
19
- export declare function formatMatchHit(hit: unknown): string | undefined;
1
+ export { countLines, firstNonEmpty, fmtBytes, fmtDuration, fmtTok, formatMatchHit, numOf, previewArgs, previewOutput, scanNumberedRange, shortenPath, stringOf, truncMid, tryParseJson, } from './basic-format.js';
2
+ export { MAX_STREAM_DISPLAY_CHARS, streamBoxRows, ToolStreamBox, tailForDisplay, toolStreamBoxHeight, } from './stream-box.js';
3
+ export { ToolOutputLines } from './visual-lines.js';
4
+ export type { ToolVisualLine, ToolVisualLineKind } from './tool-visual-types.js';
5
+ import type { ToolVisualLine } from './tool-visual-types.js';
6
+ export { formatToolArgs } from './tool-arg-format.js';
7
+ export { extractSageBlock, type SageSplit } from './sage-output-format.js';
20
8
  /**
21
- * Render the most useful single-line description of a tool call's arguments.
9
+ * Like `formatToolOutput` but strips SAGE-injected memory lines first.
10
+ * Returns the tool output lines and any SAGE block lines separately.
22
11
  */
23
- export declare function formatToolArgs(toolName: string, input: unknown): string;
12
+ export declare function formatToolOutputSage(toolName: string, output: string | undefined, ok: boolean, outputBytes?: number | undefined, outputLines?: number | undefined): {
13
+ cleanOutput: string;
14
+ outLines: string[];
15
+ sageLines: string[];
16
+ };
24
17
  /**
25
18
  * Distil a tool's result text into 0–N digest lines the renderer can stack.
26
19
  */
27
20
  export declare function formatToolOutput(toolName: string, output: string | undefined, ok: boolean, _outputBytes?: number | undefined, outputLines?: number | undefined): string[];
28
- export type ToolVisualLineKind = 'ok' | 'warn' | 'error' | 'meta' | 'path' | 'match' | 'code' | 'stdout' | 'stderr';
29
- export interface ToolVisualLine {
30
- kind: ToolVisualLineKind;
31
- text: string;
32
- marker?: string | undefined;
33
- lineNo?: string | undefined;
34
- path?: string | undefined;
35
- }
36
21
  /**
37
22
  * Build richer terminal-native rows for common tool outputs. This handles both
38
23
  * raw JSON-shaped results used by unit tests and the compact serializer text
39
24
  * emitted in real sessions.
40
25
  */
41
26
  export declare function formatToolVisualOutput(toolName: string, output: string | undefined, ok: boolean, input?: unknown | undefined): ToolVisualLine[] | undefined;
42
- export declare function ToolOutputLines({ lines, hasFollowingBlock, }: {
43
- lines: ToolVisualLine[];
44
- hasFollowingBlock?: boolean | undefined;
45
- }): React.ReactElement;
46
- export declare const MAX_STREAM_DISPLAY_CHARS = 480;
47
- /** Fixed layout height of the live tool-stream tail for scroll-range math. */
48
- export declare function toolStreamBoxHeight(name: string): number;
49
- /**
50
- * Build the CONSTANT-height content block for the live tool-stream box: always
51
- * exactly `maxLines` rows, newest-pinned-to-bottom, every line truncated to
52
- * `contentWidth` so nothing wraps. Holding the row count fixed is what stops the
53
- * live region from growing (and thus scrolling the terminal + leaking the header
54
- * into scrollback) as output streams in. Pure + exported for testing.
55
- */
56
- export declare function streamBoxRows(text: string, maxLines: number, contentWidth: number): Array<{
57
- text: string;
58
- italic?: boolean | undefined;
59
- }>;
60
- export declare const ToolStreamBox: React.MemoExoticComponent<({ name, text, startedAt, termWidth, }: {
61
- name: string;
62
- text: string;
63
- startedAt: number;
64
- termWidth: number;
65
- }) => React.ReactElement>;
66
- export declare function tailForDisplay(text: string, maxChars: number): string;
67
27
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/history/utils.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,wBAAgB,WAAW,CAAC,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAG1D;AAID,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAQlD;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAEpD;AAOD,wBAAgB,MAAM,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAKxC;AAED,wBAAgB,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,CAK9C;AAED,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAI1C;AAED,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAGvD;AAED,wBAAgB,QAAQ,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAEvD;AAED,wBAAgB,KAAK,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAEpD;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAQ/C;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG;IAC/C,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;CACf,CAgBA;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAG/C;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAI9D;AAED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M,yBAAyB,CAAC;AAE3E;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,EAAE,EAAE,OAAO,EACX,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,EAChC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,GAC/B;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,EAAE,CAAC;IAAC,SAAS,EAAE,MAAM,EAAE,CAAA;CAAE,CASlE;AAMD;;GAEG;AACH,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,EAAE,EAAE,OAAO,EACX,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,EACjC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,GAC/B,MAAM,EAAE,CAucV;AAOD;;;;GAIG;AACH,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,EAAE,EAAE,OAAO,EACX,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,GAC1B,cAAc,EAAE,GAAG,SAAS,CA6E9B"}
@@ -0,0 +1,7 @@
1
+ import type React from 'react';
2
+ import type { ToolVisualLine } from './tool-visual-types.js';
3
+ export declare function ToolOutputLines({ lines, hasFollowingBlock, }: {
4
+ lines: ToolVisualLine[];
5
+ hasFollowingBlock?: boolean | undefined;
6
+ }): React.ReactElement;
7
+ //# sourceMappingURL=visual-lines.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"visual-lines.d.ts","sourceRoot":"","sources":["../../../src/components/history/visual-lines.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,cAAc,EAAsB,MAAM,wBAAwB,CAAC;AAIjF,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,iBAAiB,GAClB,EAAE;IACD,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACzC,GAAG,KAAK,CAAC,YAAY,CAkCrB"}
@@ -0,0 +1,4 @@
1
+ import type { ToolVisualLine } from './tool-visual-types.js';
2
+ export declare function visualMemory(toolName: string, text: string, ok: boolean): ToolVisualLine[] | undefined;
3
+ export declare function visualLogs(text: string): ToolVisualLine[] | undefined;
4
+ //# sourceMappingURL=visual-memory-logs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"visual-memory-logs.d.ts","sourceRoot":"","sources":["../../../src/components/history/visual-memory-logs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAsB,MAAM,wBAAwB,CAAC;AAIjF,wBAAgB,YAAY,CAC1B,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,EACZ,EAAE,EAAE,OAAO,GACV,cAAc,EAAE,GAAG,SAAS,CAsC9B;AAsDD,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,EAAE,GAAG,SAAS,CAuBrE"}
@@ -1 +1 @@
1
- {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../src/components/input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAsB,KAAK,cAAc,EAAoB,MAAM,aAAa,CAAC;AAIxF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAEL,KAAK,cAAc,EAGpB,MAAM,2BAA2B,CAAC;AAGnC,eAAO,MAAM,oBAAoB,QAAsB,CAAC;AA4ExD,4EAA4E;AAC5E,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAE7D;AAED,MAAM,WAAW,UAAU;IACzB,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5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wB,CACtC,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,GACpB;IAAE,kBAAkB,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAkBvE;AAsED;;;;;GAKG;AACH,wBAAgB,cAAc,CAC5B,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,WAAW,CAAC,EACrC,QAAQ,EAAE,MAAM,GACf,oBAAoB,GAAG,IAAI,CAK7B;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,oBAAoB,GAAG;IAC7D,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAaA;AA8DD;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,UAAU,GAAG,MAAM,GAAG,IAAI,CAKxE;AASD;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,UAAU,GAAG,MAAM,GAAG,IAAI,CAepE;AA8CD;;;;;;;;GAQG;AACH,wBAAgB,UAAU,CAAC,EACzB,OAAO,EACP,IAAQ,GACT,EAAE;IACD,OAAO,EAAE,kBAAkB,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,GAAG,KAAK,CAAC,YAAY,GAAG,IAAI,CAuC5B"}
@@ -18,12 +18,23 @@ export interface Hint {
18
18
  /** When true, render in a distinct color to highlight panel discovery. */
19
19
  discovery?: boolean | undefined;
20
20
  }
21
+ /**
22
+ * Messages cycled in the idle status line (no active confirm/picker/monitor).
23
+ * The first entry is the canonical brand link — tests depend on it being
24
+ * index 0, so keep it there.
25
+ */
26
+ export declare const IDLE_MESSAGES: readonly Hint[];
27
+ /** Returns true when no interactive context is active (idle / chat). */
28
+ export declare function isIdleContext(ctx: KeyHintContext): boolean;
21
29
  export declare function hintsFor(ctx: KeyHintContext): Hint[];
22
30
  /**
23
31
  * Persistent one-line keybinding hint bar shown at the very bottom of the TUI,
24
32
  * like a status-line cheat sheet. Context-aware: surfaces the keys that matter
25
33
  * for whatever is on screen (confirm prompt → y/n/a/d, picker → ↑↓/↵, etc.).
26
34
  * Discovery hints (next panel) are rendered in a distinct color to encourage exploration.
35
+ *
36
+ * When idle (no active context), the bar rotates through {@link IDLE_MESSAGES}
37
+ * on an interval so the status line serves different purposes over time.
27
38
  */
28
39
  export declare function KeyHintBar({ context }: {
29
40
  context: KeyHintContext;
@@ -1 +1 @@
1
- {"version":3,"file":"key-hint-bar.d.ts","sourceRoot":"","sources":["../../src/components/key-hint-bar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B;uEACuE;AACvE,MAAM,WAAW,cAAc;IAC7B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,sFAAsF;IACtF,aAAa,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;CAC5D;AAED,MAAM,WAAW,IAAI;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,0EAA0E;IAC1E,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACjC;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,cAAc,GAAG,IAAI,EAAE,CAgCpD;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,cAAc,CAAA;CAAE,GAAG,KAAK,CAAC,YAAY,CAYvF"}
1
+ {"version":3,"file":"key-hint-bar.d.ts","sourceRoot":"","sources":["../../src/components/key-hint-bar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B;uEACuE;AACvE,MAAM,WAAW,cAAc;IAC7B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,sFAAsF;IACtF,aAAa,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;CAC5D;AAED,MAAM,WAAW,IAAI;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,0EAA0E;IAC1E,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACjC;AAED;;;;GAIG;AACH,eAAO,MAAM,aAAa,EAAE,SAAS,IAAI,EAM/B,CAAC;AAEX,wEAAwE;AACxE,wBAAgB,aAAa,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAE1D;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,cAAc,GAAG,IAAI,EAAE,CAsCpD;AAED;;;;;;;;GAQG;AACH,wBAAgB,UAAU,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,cAAc,CAAA;CAAE,GAAG,KAAK,CAAC,YAAY,CAyBvF"}
@@ -6,11 +6,18 @@ export interface PowerlineRailProps {
6
6
  monochrome?: boolean | undefined;
7
7
  /** Override the filler background for per-line tonal layering. */
8
8
  fillBg?: string | undefined;
9
+ /**
10
+ * Optional right-anchored segment. When provided, the rail reserves
11
+ * space for this segment at the right edge of the budget so its
12
+ * position is independent of how wide the left segments are —
13
+ * preventing visual jitter when the left side updates frequently.
14
+ */
15
+ rightAnchor?: React.ReactElement | null | undefined;
9
16
  }
10
17
  /**
11
- * Full-cell status segments with Powerline-style transitions. The default
12
- * Unicode profile uses font-safe half-circles/triangles; Nerd Font mode swaps
13
- * in the canonical Powerline private-use glyphs.
18
+ * Full-width status segments with a single uniform background.
19
+ * No per-chip backgrounds, no transition glyphs, no segment caps —
20
+ * just clean chips separated by a single space.
14
21
  */
15
- export declare function PowerlineRail({ segments, budget, monochrome, fillBg, }: PowerlineRailProps): React.ReactElement;
22
+ export declare function PowerlineRail({ segments, budget, monochrome, fillBg, rightAnchor, }: PowerlineRailProps): React.ReactElement;
16
23
  //# sourceMappingURL=powerline-rail.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"powerline-rail.d.ts","sourceRoot":"","sources":["../../src/components/powerline-rail.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,wBAAgB,eAAe,CAAC,IAAI,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAW7D;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,KAAK,CAAC,YAAY,EAAE,CAAC;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACjC,kEAAkE;IAClE,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,MAAM,EACN,UAAkB,EAClB,MAAM,GACP,EAAE,kBAAkB,GAAG,KAAK,CAAC,YAAY,CAoFzC"}
1
+ {"version":3,"file":"powerline-rail.d.ts","sourceRoot":"","sources":["../../src/components/powerline-rail.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,wBAAgB,eAAe,CAAC,IAAI,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAW7D;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,KAAK,CAAC,YAAY,EAAE,CAAC;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CA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sB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA8CzD,CAAC"}
1
+ {"version":3,"file":"provider-colors.d.ts","sourceRoot":"","sources":["../../src/components/provider-colors.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,6EAA6E;AAC7E,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAEjE;AAED,sEAAsE;AACtE,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAEpE;AA4CD,gEAAgE;AAChE,wBAAgB,YAAY,CAC1B,IAAI,EAAE,OAAO,GAAG,SAAS,GAAG,eAAe,GAAG,SAAS,GACtD;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAS9C;AAED,gEAAgE;AAChE,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAIpD,CAAC;AAEF,0DAA0D;AAC1D,eAAO,MAAM,SAAS;aACpB,OAAO,EAAE,SAAS;aAClB,MAAM,EAAE,SAAS;aACjB,QAAQ,EAAE,SAAS;aACnB,OAAO,EAAE,SAAS;aAClB,KAAK,EAAE,SAAS;aAChB,IAAI,EAAE,SAAS;aACf,MAAM,EAAE,SAAS;aACjB,KAAK,EAAE,SAAS;aAChB,aAAa,EAAE,SAAS;aACxB,MAAM,EAAe,MAAM,GAAG,SAAS;CAC/B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA6CzD,CAAC"}
@@ -0,0 +1,25 @@
1
+ import type React from 'react';
2
+ export type RefineCountdownDecision = 'proceed' | 'skip' | 'cancel';
3
+ export interface RefineCountdownPanelProps {
4
+ /** The user's just-submitted message. */
5
+ original: string;
6
+ /** Grace period, in seconds, before the refiner call starts. */
7
+ seconds: number;
8
+ /** Called once with the chosen action (keypress or countdown expiry). */
9
+ onDecision: (decision: RefineCountdownDecision) => void;
10
+ /** Provider id of the model that will run the refinement (e.g. "openai"). */
11
+ providerId?: string | undefined;
12
+ /** Model name that will run the refinement (e.g. "gpt-4o"). */
13
+ model?: string | undefined;
14
+ }
15
+ /**
16
+ * Pre-refine grace countdown ("about to refine — last chance to bail").
17
+ *
18
+ * Shown for the window between submit and the refiner's first LLM call:
19
+ * Enter starts refining immediately, any other key sends the message
20
+ * unchanged (skip), Esc cancels back to the composer, and expiry
21
+ * proceeds into the normal refine flow. Mirrors the
22
+ * WebUI/SimpleUI RefinePanel's 'countdown' face.
23
+ */
24
+ export declare function RefineCountdownPanel({ original, seconds, onDecision, providerId, model, }: RefineCountdownPanelProps): React.ReactElement;
25
+ //# sourceMappingURL=refine-countdown-panel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"refine-countdown-panel.d.ts","sourceRoot":"","sources":["../../src/components/refine-countdown-panel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,MAAM,MAAM,uBAAuB,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAC;AAEpE,MAAM,WAAW,yBAAyB;IACxC,yCAAyC;IACzC,QAAQ,EAAE,MAAM,CAAC;IACjB,gEAAgE;IAChE,OAAO,EAAE,MAAM,CAAC;IAChB,yEAAyE;IACzE,UAAU,EAAE,CAAC,QAAQ,EAAE,uBAAuB,KAAK,IAAI,CAAC;IACxD,6EAA6E;IAC7E,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,+DAA+D;IAC/D,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B;AAED;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,QAAQ,EACR,OAAO,EACP,UAAU,EACV,UAAU,EACV,KAAK,GACN,EAAE,yBAAyB,GAAG,KAAK,CAAC,YAAY,CAqEhD"}
@@ -24,6 +24,7 @@ export interface RefineFailureModel {
24
24
  model: string;
25
25
  label?: string | undefined;
26
26
  }
27
+ export declare function filterRefineModels<T extends RefineFailureModel>(models: readonly T[], query: string): readonly T[];
27
28
  export interface RefineFailurePanelProps {
28
29
  /** The user's original message (sent as-is if they decline recovery). */
29
30
  original: string;
@@ -1 +1 @@
1
- {"version":3,"file":"refine-failure-panel.d.ts","sourceRoot":"","sources":["../../src/components/refine-failure-panel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B;;;;;;GAMG;AACH,MAAM,MAAM,qBAAqB,GAC7B;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,GACjB;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,GACpB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GACnD;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,GACpB;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAErB,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B;AAED,MAAM,WAAW,uBAAuB;IACtC,yEAAyE;IACzE,QAAQ,EAAE,MAAM,CAAC;IACjB,gFAAgF;IAChF,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,+CAA+C;IAC/C,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,8EAA8E;IAC9E,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,0EAA0E;IAC1E,MAAM,EAAE,kBAAkB,EAAE,CAAC;IAC7B,UAAU,EAAE,CAAC,QAAQ,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACvD;AASD;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,KAAK,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AACH,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,KAAK,EACL,SAAa,EACb,WAAW,EACX,MAAM,EACN,UAAU,GACX,EAAE,uBAAuB,GAAG,KAAK,CAAC,YAAY,CAuL9C"}
@@ -1 +1 @@
1
- {"version":3,"file":"resume-picker.d.ts","sourceRoot":"","sources":["../../src/components/resume-picker.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,kBAAkB,EAAE,CAAC;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,QAAQ,EACR,IAAI,EACJ,KAAK,EACL,IAAI,GACL,EAAE,iBAAiB,GAAG,KAAK,CAAC,YAAY,CAqExC"}
1
+ {"version":3,"file":"resume-picker.d.ts","sourceRoot":"","sources":["../../src/components/resume-picker.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,kBAAkB,EAAE,CAAC;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,QAAQ,EACR,IAAI,EACJ,KAAK,EACL,IAAI,GACL,EAAE,iBAAiB,GAAG,KAAK,CAAC,YAAY,CA0ExC"}