jumbo-cli 3.5.0 → 3.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (302) hide show
  1. package/assets/agent-files/json/claude-settings.fragment.json +41 -0
  2. package/assets/agent-files/json/codex-hooks.fragment.json +36 -0
  3. package/assets/agent-files/json/copilot-hooks.fragment.json +14 -0
  4. package/assets/agent-files/json/cursor-hooks.fragment.json +11 -0
  5. package/assets/agent-files/json/gemini-settings.fragment.json +41 -0
  6. package/assets/agent-files/markdown/AGENTS.md +6 -0
  7. package/assets/agent-files/markdown/CLAUDE.md +6 -0
  8. package/assets/agent-files/markdown/GEMINI.md +6 -0
  9. package/assets/agent-files/markdown/JUMBO.md +7 -0
  10. package/assets/agent-files/markdown/copilot-instructions.md +6 -0
  11. package/assets/agent-files/markdown/cursor-rules.mdc +10 -0
  12. package/assets/skills/jumbo-bootstrap-session/SKILL.md +11 -0
  13. package/assets/skills/jumbo-command-discovery/SKILL.md +11 -0
  14. package/assets/skills/jumbo-context-maintenance/SKILL.md +11 -0
  15. package/assets/skills/jumbo-correction-capture/SKILL.md +11 -0
  16. package/dist/application/context/architecture/get/GetArchitectureRequest.d.ts +1 -2
  17. package/dist/application/context/architecture/get/GetArchitectureRequest.d.ts.map +1 -1
  18. package/dist/application/context/audience-pains/list/GetAudiencePainsRequest.d.ts +1 -2
  19. package/dist/application/context/audience-pains/list/GetAudiencePainsRequest.d.ts.map +1 -1
  20. package/dist/application/context/audiences/list/ListAudiencesRequest.d.ts +1 -2
  21. package/dist/application/context/audiences/list/ListAudiencesRequest.d.ts.map +1 -1
  22. package/dist/application/context/host/workers/view/ViewWorkerRequest.d.ts +1 -2
  23. package/dist/application/context/host/workers/view/ViewWorkerRequest.d.ts.map +1 -1
  24. package/dist/application/context/invariants/get/GetAllInvariantsRequest.d.ts +1 -2
  25. package/dist/application/context/invariants/get/GetAllInvariantsRequest.d.ts.map +1 -1
  26. package/dist/application/context/search/SearchIndexRebuildRequest.d.ts +1 -2
  27. package/dist/application/context/search/SearchIndexRebuildRequest.d.ts.map +1 -1
  28. package/dist/application/context/sessions/start/SessionStartRequest.d.ts +1 -2
  29. package/dist/application/context/sessions/start/SessionStartRequest.d.ts.map +1 -1
  30. package/dist/application/context/sessions/start/StartSessionCommand.d.ts +1 -2
  31. package/dist/application/context/sessions/start/StartSessionCommand.d.ts.map +1 -1
  32. package/dist/application/context/telemetry/get/GetTelemetryStatusRequest.d.ts +1 -2
  33. package/dist/application/context/telemetry/get/GetTelemetryStatusRequest.d.ts.map +1 -1
  34. package/dist/application/context/value-propositions/get/GetValuePropositionsRequest.d.ts +1 -2
  35. package/dist/application/context/value-propositions/get/GetValuePropositionsRequest.d.ts.map +1 -1
  36. package/dist/application/context/work/pause/PauseWorkCommand.d.ts +1 -2
  37. package/dist/application/context/work/pause/PauseWorkCommand.d.ts.map +1 -1
  38. package/dist/application/context/work/pause/PauseWorkRequest.d.ts +1 -2
  39. package/dist/application/context/work/pause/PauseWorkRequest.d.ts.map +1 -1
  40. package/dist/application/context/work/resume/ResumeWorkRequest.d.ts +1 -2
  41. package/dist/application/context/work/resume/ResumeWorkRequest.d.ts.map +1 -1
  42. package/dist/domain/project/AgentFileAssetContent.d.ts +7 -0
  43. package/dist/domain/project/AgentFileAssetContent.d.ts.map +1 -0
  44. package/dist/domain/project/AgentFileAssetContent.js +25 -0
  45. package/dist/domain/project/AgentFileAssetContent.js.map +1 -0
  46. package/dist/domain/project/AgentFileReferenceContent.d.ts +1 -6
  47. package/dist/domain/project/AgentFileReferenceContent.d.ts.map +1 -1
  48. package/dist/domain/project/AgentFileReferenceContent.js +3 -12
  49. package/dist/domain/project/AgentFileReferenceContent.js.map +1 -1
  50. package/dist/domain/project/AgentsMdContent.d.ts +1 -7
  51. package/dist/domain/project/AgentsMdContent.d.ts.map +1 -1
  52. package/dist/domain/project/AgentsMdContent.js +4 -14
  53. package/dist/domain/project/AgentsMdContent.js.map +1 -1
  54. package/dist/domain/project/CopilotInstructionsContent.d.ts +5 -6
  55. package/dist/domain/project/CopilotInstructionsContent.d.ts.map +1 -1
  56. package/dist/domain/project/CopilotInstructionsContent.js +10 -17
  57. package/dist/domain/project/CopilotInstructionsContent.js.map +1 -1
  58. package/dist/domain/project/CursorRulesContent.d.ts +1 -7
  59. package/dist/domain/project/CursorRulesContent.d.ts.map +1 -1
  60. package/dist/domain/project/CursorRulesContent.js +4 -23
  61. package/dist/domain/project/CursorRulesContent.js.map +1 -1
  62. package/dist/domain/project/JumboMdContent.d.ts +1 -10
  63. package/dist/domain/project/JumboMdContent.d.ts.map +1 -1
  64. package/dist/domain/project/JumboMdContent.js +4 -117
  65. package/dist/domain/project/JumboMdContent.js.map +1 -1
  66. package/dist/infrastructure/context/project/init/ClaudeConfigurer.d.ts.map +1 -1
  67. package/dist/infrastructure/context/project/init/ClaudeConfigurer.js +2 -40
  68. package/dist/infrastructure/context/project/init/ClaudeConfigurer.js.map +1 -1
  69. package/dist/infrastructure/context/project/init/CodexConfigurer.d.ts.map +1 -1
  70. package/dist/infrastructure/context/project/init/CodexConfigurer.js +2 -35
  71. package/dist/infrastructure/context/project/init/CodexConfigurer.js.map +1 -1
  72. package/dist/infrastructure/context/project/init/CopilotConfigurer.d.ts.map +1 -1
  73. package/dist/infrastructure/context/project/init/CopilotConfigurer.js +4 -26
  74. package/dist/infrastructure/context/project/init/CopilotConfigurer.js.map +1 -1
  75. package/dist/infrastructure/context/project/init/CursorConfigurer.d.ts.map +1 -1
  76. package/dist/infrastructure/context/project/init/CursorConfigurer.js +2 -10
  77. package/dist/infrastructure/context/project/init/CursorConfigurer.js.map +1 -1
  78. package/dist/infrastructure/context/project/init/GeminiConfigurer.d.ts.map +1 -1
  79. package/dist/infrastructure/context/project/init/GeminiConfigurer.js +2 -40
  80. package/dist/infrastructure/context/project/init/GeminiConfigurer.js.map +1 -1
  81. package/dist/infrastructure/messaging/ProjectionBusFactory.d.ts +0 -4
  82. package/dist/infrastructure/messaging/ProjectionBusFactory.d.ts.map +1 -1
  83. package/dist/infrastructure/messaging/ProjectionBusFactory.js +89 -68
  84. package/dist/infrastructure/messaging/ProjectionBusFactory.js.map +1 -1
  85. package/dist/presentation/cli/commands/index/rebuild/index.rebuild.d.ts +1 -2
  86. package/dist/presentation/cli/commands/index/rebuild/index.rebuild.d.ts.map +1 -1
  87. package/dist/presentation/cli/rendering/StyleConfig.d.ts.map +1 -1
  88. package/dist/presentation/cli/rendering/StyleConfig.js +1 -0
  89. package/dist/presentation/cli/rendering/StyleConfig.js.map +1 -1
  90. package/dist/presentation/tui/cockpit/AnimatedBanner.d.ts +0 -1
  91. package/dist/presentation/tui/cockpit/AnimatedBanner.d.ts.map +1 -1
  92. package/dist/presentation/tui/cockpit/AnimatedBanner.js +24 -121
  93. package/dist/presentation/tui/cockpit/AnimatedBanner.js.map +1 -1
  94. package/dist/presentation/tui/cockpit/AnimatedBannerColorGradient.d.ts +2 -0
  95. package/dist/presentation/tui/cockpit/AnimatedBannerColorGradient.d.ts.map +1 -0
  96. package/dist/presentation/tui/cockpit/AnimatedBannerColorGradient.js +31 -0
  97. package/dist/presentation/tui/cockpit/AnimatedBannerColorGradient.js.map +1 -0
  98. package/dist/presentation/tui/cockpit/AnimatedBannerLineColorSegments.d.ts +7 -0
  99. package/dist/presentation/tui/cockpit/AnimatedBannerLineColorSegments.d.ts.map +1 -0
  100. package/dist/presentation/tui/cockpit/AnimatedBannerLineColorSegments.js +69 -0
  101. package/dist/presentation/tui/cockpit/AnimatedBannerLineColorSegments.js.map +1 -0
  102. package/dist/presentation/tui/cockpit/AnimatedBannerTiming.d.ts +9 -0
  103. package/dist/presentation/tui/cockpit/AnimatedBannerTiming.d.ts.map +1 -0
  104. package/dist/presentation/tui/cockpit/AnimatedBannerTiming.js +11 -0
  105. package/dist/presentation/tui/cockpit/AnimatedBannerTiming.js.map +1 -0
  106. package/dist/presentation/tui/cockpit/CenteredPrompt.d.ts +1 -2
  107. package/dist/presentation/tui/cockpit/CenteredPrompt.d.ts.map +1 -1
  108. package/dist/presentation/tui/cockpit/CockpitDaemonAgentConfigCycler.d.ts +3 -0
  109. package/dist/presentation/tui/cockpit/CockpitDaemonAgentConfigCycler.d.ts.map +1 -0
  110. package/dist/presentation/tui/cockpit/CockpitDaemonAgentConfigCycler.js +9 -0
  111. package/dist/presentation/tui/cockpit/CockpitDaemonAgentConfigCycler.js.map +1 -0
  112. package/dist/presentation/tui/cockpit/CockpitDaemonConfigsUpdater.d.ts +3 -0
  113. package/dist/presentation/tui/cockpit/CockpitDaemonConfigsUpdater.d.ts.map +1 -0
  114. package/dist/presentation/tui/cockpit/CockpitDaemonConfigsUpdater.js +7 -0
  115. package/dist/presentation/tui/cockpit/CockpitDaemonConfigsUpdater.js.map +1 -0
  116. package/dist/presentation/tui/cockpit/CockpitDaemonEventSnapshot.d.ts +5 -0
  117. package/dist/presentation/tui/cockpit/CockpitDaemonEventSnapshot.d.ts.map +1 -0
  118. package/dist/presentation/tui/cockpit/CockpitDaemonEventSnapshot.js +2 -0
  119. package/dist/presentation/tui/cockpit/CockpitDaemonEventSnapshot.js.map +1 -0
  120. package/dist/presentation/tui/cockpit/CockpitDaemonEvents.d.ts +6 -13
  121. package/dist/presentation/tui/cockpit/CockpitDaemonEvents.d.ts.map +1 -1
  122. package/dist/presentation/tui/cockpit/CockpitDaemonEvents.js +9 -153
  123. package/dist/presentation/tui/cockpit/CockpitDaemonEvents.js.map +1 -1
  124. package/dist/presentation/tui/cockpit/CockpitDaemonFocusOrder.d.ts +3 -0
  125. package/dist/presentation/tui/cockpit/CockpitDaemonFocusOrder.d.ts.map +1 -0
  126. package/dist/presentation/tui/cockpit/CockpitDaemonFocusOrder.js +8 -0
  127. package/dist/presentation/tui/cockpit/CockpitDaemonFocusOrder.js.map +1 -0
  128. package/dist/presentation/tui/cockpit/CockpitDaemonFrames.d.ts +30 -36
  129. package/dist/presentation/tui/cockpit/CockpitDaemonFrames.d.ts.map +1 -1
  130. package/dist/presentation/tui/cockpit/CockpitDaemonFrames.js +37 -174
  131. package/dist/presentation/tui/cockpit/CockpitDaemonFrames.js.map +1 -1
  132. package/dist/presentation/tui/cockpit/CockpitDaemonPanel.d.ts +0 -3
  133. package/dist/presentation/tui/cockpit/CockpitDaemonPanel.d.ts.map +1 -1
  134. package/dist/presentation/tui/cockpit/CockpitDaemonPanel.js +3 -42
  135. package/dist/presentation/tui/cockpit/CockpitDaemonPanel.js.map +1 -1
  136. package/dist/presentation/tui/cockpit/CockpitDaemonPollConfigCycler.d.ts +3 -0
  137. package/dist/presentation/tui/cockpit/CockpitDaemonPollConfigCycler.d.ts.map +1 -0
  138. package/dist/presentation/tui/cockpit/CockpitDaemonPollConfigCycler.js +9 -0
  139. package/dist/presentation/tui/cockpit/CockpitDaemonPollConfigCycler.js.map +1 -0
  140. package/dist/presentation/tui/cockpit/CockpitDaemonRetryConfigCycler.d.ts +3 -0
  141. package/dist/presentation/tui/cockpit/CockpitDaemonRetryConfigCycler.d.ts.map +1 -0
  142. package/dist/presentation/tui/cockpit/CockpitDaemonRetryConfigCycler.js +9 -0
  143. package/dist/presentation/tui/cockpit/CockpitDaemonRetryConfigCycler.js.map +1 -0
  144. package/dist/presentation/tui/cockpit/CockpitDaemonSnapshot.d.ts +1 -4
  145. package/dist/presentation/tui/cockpit/CockpitDaemonSnapshot.d.ts.map +1 -1
  146. package/dist/presentation/tui/cockpit/CockpitLaunchAnimationSize.d.ts +6 -0
  147. package/dist/presentation/tui/cockpit/CockpitLaunchAnimationSize.d.ts.map +1 -0
  148. package/dist/presentation/tui/cockpit/CockpitLaunchAnimationSize.js +7 -0
  149. package/dist/presentation/tui/cockpit/CockpitLaunchAnimationSize.js.map +1 -0
  150. package/dist/presentation/tui/cockpit/CockpitLaunchpadDaemonDefinitions.d.ts +45 -0
  151. package/dist/presentation/tui/cockpit/CockpitLaunchpadDaemonDefinitions.d.ts.map +1 -0
  152. package/dist/presentation/tui/cockpit/CockpitLaunchpadDaemonDefinitions.js +25 -0
  153. package/dist/presentation/tui/cockpit/CockpitLaunchpadDaemonDefinitions.js.map +1 -0
  154. package/dist/presentation/tui/cockpit/CockpitLaunchpadDaemonPanels.d.ts +17 -0
  155. package/dist/presentation/tui/cockpit/CockpitLaunchpadDaemonPanels.d.ts.map +1 -0
  156. package/dist/presentation/tui/cockpit/CockpitLaunchpadDaemonPanels.js +17 -0
  157. package/dist/presentation/tui/cockpit/CockpitLaunchpadDaemonPanels.js.map +1 -0
  158. package/dist/presentation/tui/cockpit/CockpitLaunchpadEventLog.d.ts +8 -0
  159. package/dist/presentation/tui/cockpit/CockpitLaunchpadEventLog.d.ts.map +1 -0
  160. package/dist/presentation/tui/cockpit/CockpitLaunchpadEventLog.js +11 -0
  161. package/dist/presentation/tui/cockpit/CockpitLaunchpadEventLog.js.map +1 -0
  162. package/dist/presentation/tui/cockpit/CockpitLaunchpadView.d.ts +3 -3
  163. package/dist/presentation/tui/cockpit/CockpitLaunchpadView.d.ts.map +1 -1
  164. package/dist/presentation/tui/cockpit/CockpitLaunchpadView.js +30 -144
  165. package/dist/presentation/tui/cockpit/CockpitLaunchpadView.js.map +1 -1
  166. package/dist/presentation/tui/cockpit/CockpitScreen.d.ts +1 -2
  167. package/dist/presentation/tui/cockpit/CockpitScreen.d.ts.map +1 -1
  168. package/dist/presentation/tui/cockpit/CockpitScreen.js +8 -38
  169. package/dist/presentation/tui/cockpit/CockpitScreen.js.map +1 -1
  170. package/dist/presentation/tui/cockpit/CockpitScreenBanner.d.ts +12 -0
  171. package/dist/presentation/tui/cockpit/CockpitScreenBanner.d.ts.map +1 -0
  172. package/dist/presentation/tui/cockpit/CockpitScreenBanner.js +14 -0
  173. package/dist/presentation/tui/cockpit/CockpitScreenBanner.js.map +1 -0
  174. package/dist/presentation/tui/cockpit/CockpitScreenContent.d.ts +17 -0
  175. package/dist/presentation/tui/cockpit/CockpitScreenContent.d.ts.map +1 -0
  176. package/dist/presentation/tui/cockpit/CockpitScreenContent.js +18 -0
  177. package/dist/presentation/tui/cockpit/CockpitScreenContent.js.map +1 -0
  178. package/dist/presentation/tui/cockpit/CockpitScreenInfoBoxLines.d.ts +3 -0
  179. package/dist/presentation/tui/cockpit/CockpitScreenInfoBoxLines.d.ts.map +1 -0
  180. package/dist/presentation/tui/cockpit/CockpitScreenInfoBoxLines.js +31 -0
  181. package/dist/presentation/tui/cockpit/CockpitScreenInfoBoxLines.js.map +1 -0
  182. package/dist/presentation/tui/cockpit/CockpitState.d.ts +4 -0
  183. package/dist/presentation/tui/cockpit/CockpitState.d.ts.map +1 -0
  184. package/dist/presentation/tui/cockpit/CockpitState.js +3 -0
  185. package/dist/presentation/tui/cockpit/CockpitState.js.map +1 -0
  186. package/dist/presentation/tui/cockpit/CodifierFrameFactory.d.ts +9 -0
  187. package/dist/presentation/tui/cockpit/CodifierFrameFactory.d.ts.map +1 -0
  188. package/dist/presentation/tui/cockpit/CodifierFrameFactory.js +45 -0
  189. package/dist/presentation/tui/cockpit/CodifierFrameFactory.js.map +1 -0
  190. package/dist/presentation/tui/cockpit/CodifierGlyphDaemonFrame.d.ts +11 -0
  191. package/dist/presentation/tui/cockpit/CodifierGlyphDaemonFrame.d.ts.map +1 -0
  192. package/dist/presentation/tui/cockpit/CodifierGlyphDaemonFrame.js +11 -0
  193. package/dist/presentation/tui/cockpit/CodifierGlyphDaemonFrame.js.map +1 -0
  194. package/dist/presentation/tui/cockpit/DaemonActionLine.d.ts +8 -0
  195. package/dist/presentation/tui/cockpit/DaemonActionLine.d.ts.map +1 -0
  196. package/dist/presentation/tui/cockpit/DaemonActionLine.js +21 -0
  197. package/dist/presentation/tui/cockpit/DaemonActionLine.js.map +1 -0
  198. package/dist/presentation/tui/cockpit/DaemonConfigWizard.d.ts +8 -0
  199. package/dist/presentation/tui/cockpit/DaemonConfigWizard.d.ts.map +1 -0
  200. package/dist/presentation/tui/cockpit/DaemonConfigWizard.js +24 -0
  201. package/dist/presentation/tui/cockpit/DaemonConfigWizard.js.map +1 -0
  202. package/dist/presentation/tui/cockpit/DaemonEventRow.d.ts +9 -0
  203. package/dist/presentation/tui/cockpit/DaemonEventRow.d.ts.map +1 -0
  204. package/dist/presentation/tui/cockpit/DaemonEventRow.js +2 -0
  205. package/dist/presentation/tui/cockpit/DaemonEventRow.js.map +1 -0
  206. package/dist/presentation/tui/cockpit/DaemonEventRowFormatter.d.ts +7 -0
  207. package/dist/presentation/tui/cockpit/DaemonEventRowFormatter.d.ts.map +1 -0
  208. package/dist/presentation/tui/cockpit/DaemonEventRowFormatter.js +17 -0
  209. package/dist/presentation/tui/cockpit/DaemonEventRowFormatter.js.map +1 -0
  210. package/dist/presentation/tui/cockpit/DaemonEventRowMessageFormatter.d.ts +7 -0
  211. package/dist/presentation/tui/cockpit/DaemonEventRowMessageFormatter.d.ts.map +1 -0
  212. package/dist/presentation/tui/cockpit/DaemonEventRowMessageFormatter.js +35 -0
  213. package/dist/presentation/tui/cockpit/DaemonEventRowMessageFormatter.js.map +1 -0
  214. package/dist/presentation/tui/cockpit/DaemonEventRowNormalizer.d.ts +8 -0
  215. package/dist/presentation/tui/cockpit/DaemonEventRowNormalizer.d.ts.map +1 -0
  216. package/dist/presentation/tui/cockpit/DaemonEventRowNormalizer.js +95 -0
  217. package/dist/presentation/tui/cockpit/DaemonEventRowNormalizer.js.map +1 -0
  218. package/dist/presentation/tui/cockpit/DaemonEventRows.d.ts +10 -0
  219. package/dist/presentation/tui/cockpit/DaemonEventRows.d.ts.map +1 -0
  220. package/dist/presentation/tui/cockpit/DaemonEventRows.js +22 -0
  221. package/dist/presentation/tui/cockpit/DaemonEventRows.js.map +1 -0
  222. package/dist/presentation/tui/cockpit/DaemonFrameDimensions.d.ts +13 -0
  223. package/dist/presentation/tui/cockpit/DaemonFrameDimensions.d.ts.map +1 -0
  224. package/dist/presentation/tui/cockpit/DaemonFrameDimensions.js +13 -0
  225. package/dist/presentation/tui/cockpit/DaemonFrameDimensions.js.map +1 -0
  226. package/dist/presentation/tui/cockpit/DaemonFrameGlyphTypes.d.ts +11 -0
  227. package/dist/presentation/tui/cockpit/DaemonFrameGlyphTypes.d.ts.map +1 -0
  228. package/dist/presentation/tui/cockpit/DaemonFrameGlyphTypes.js +2 -0
  229. package/dist/presentation/tui/cockpit/DaemonFrameGlyphTypes.js.map +1 -0
  230. package/dist/presentation/tui/cockpit/DaemonFrameStatusColor.d.ts +2 -0
  231. package/dist/presentation/tui/cockpit/DaemonFrameStatusColor.d.ts.map +1 -0
  232. package/dist/presentation/tui/cockpit/DaemonFrameStatusColor.js +3 -0
  233. package/dist/presentation/tui/cockpit/DaemonFrameStatusColor.js.map +1 -0
  234. package/dist/presentation/tui/cockpit/DaemonFrameStatusOverlay.d.ts +15 -0
  235. package/dist/presentation/tui/cockpit/DaemonFrameStatusOverlay.d.ts.map +1 -0
  236. package/dist/presentation/tui/cockpit/DaemonFrameStatusOverlay.js +42 -0
  237. package/dist/presentation/tui/cockpit/DaemonFrameStatusOverlay.js.map +1 -0
  238. package/dist/presentation/tui/cockpit/DaemonInfoOverlay.d.ts +6 -0
  239. package/dist/presentation/tui/cockpit/DaemonInfoOverlay.d.ts.map +1 -0
  240. package/dist/presentation/tui/cockpit/DaemonInfoOverlay.js +12 -0
  241. package/dist/presentation/tui/cockpit/DaemonInfoOverlay.js.map +1 -0
  242. package/dist/presentation/tui/cockpit/DaemonShortcutBadgeColor.d.ts +2 -0
  243. package/dist/presentation/tui/cockpit/DaemonShortcutBadgeColor.d.ts.map +1 -0
  244. package/dist/presentation/tui/cockpit/DaemonShortcutBadgeColor.js +5 -0
  245. package/dist/presentation/tui/cockpit/DaemonShortcutBadgeColor.js.map +1 -0
  246. package/dist/presentation/tui/cockpit/DaemonStatusFinder.d.ts +7 -0
  247. package/dist/presentation/tui/cockpit/DaemonStatusFinder.d.ts.map +1 -0
  248. package/dist/presentation/tui/cockpit/DaemonStatusFinder.js +16 -0
  249. package/dist/presentation/tui/cockpit/DaemonStatusFinder.js.map +1 -0
  250. package/dist/presentation/tui/cockpit/GlyphCellDaemonFrame.d.ts +10 -0
  251. package/dist/presentation/tui/cockpit/GlyphCellDaemonFrame.d.ts.map +1 -0
  252. package/dist/presentation/tui/cockpit/GlyphCellDaemonFrame.js +11 -0
  253. package/dist/presentation/tui/cockpit/GlyphCellDaemonFrame.js.map +1 -0
  254. package/dist/presentation/tui/cockpit/GlyphCellSegments.d.ts +7 -0
  255. package/dist/presentation/tui/cockpit/GlyphCellSegments.d.ts.map +1 -0
  256. package/dist/presentation/tui/cockpit/GlyphCellSegments.js +21 -0
  257. package/dist/presentation/tui/cockpit/GlyphCellSegments.js.map +1 -0
  258. package/dist/presentation/tui/cockpit/RandomGlyphFrameFactory.d.ts +11 -0
  259. package/dist/presentation/tui/cockpit/RandomGlyphFrameFactory.d.ts.map +1 -0
  260. package/dist/presentation/tui/cockpit/RandomGlyphFrameFactory.js +67 -0
  261. package/dist/presentation/tui/cockpit/RandomGlyphFrameFactory.js.map +1 -0
  262. package/dist/presentation/tui/cockpit/RenderedDaemonFrame.d.ts +9 -0
  263. package/dist/presentation/tui/cockpit/RenderedDaemonFrame.d.ts.map +1 -0
  264. package/dist/presentation/tui/cockpit/RenderedDaemonFrame.js +13 -0
  265. package/dist/presentation/tui/cockpit/RenderedDaemonFrame.js.map +1 -0
  266. package/dist/presentation/tui/cockpit/StyledGlyphSegments.d.ts +6 -0
  267. package/dist/presentation/tui/cockpit/StyledGlyphSegments.d.ts.map +1 -0
  268. package/dist/presentation/tui/cockpit/StyledGlyphSegments.js +41 -0
  269. package/dist/presentation/tui/cockpit/StyledGlyphSegments.js.map +1 -0
  270. package/dist/presentation/tui/cockpit/daemons/CodifierDaemonFrame.js +2 -2
  271. package/dist/presentation/tui/cockpit/daemons/CodifierDaemonFrame.js.map +1 -1
  272. package/dist/presentation/tui/cockpit/daemons/IDaemonFrame.d.ts +4 -4
  273. package/dist/presentation/tui/cockpit/daemons/IDaemonFrame.d.ts.map +1 -1
  274. package/dist/presentation/tui/cockpit/daemons/RefinerDaemonFrame.js +1 -1
  275. package/dist/presentation/tui/cockpit/daemons/RefinerDaemonFrame.js.map +1 -1
  276. package/dist/presentation/tui/cockpit/daemons/ReviewerDaemonFrame.js +1 -1
  277. package/dist/presentation/tui/cockpit/daemons/ReviewerDaemonFrame.js.map +1 -1
  278. package/dist/presentation/tui/cockpit/toggleCockpitDaemon.d.ts +4 -0
  279. package/dist/presentation/tui/cockpit/toggleCockpitDaemon.d.ts.map +1 -0
  280. package/dist/presentation/tui/cockpit/toggleCockpitDaemon.js +15 -0
  281. package/dist/presentation/tui/cockpit/toggleCockpitDaemon.js.map +1 -0
  282. package/dist/presentation/tui/cockpit/useCockpitLaunchpadWelcomeVisibility.d.ts +6 -0
  283. package/dist/presentation/tui/cockpit/useCockpitLaunchpadWelcomeVisibility.d.ts.map +1 -0
  284. package/dist/presentation/tui/cockpit/useCockpitLaunchpadWelcomeVisibility.js +50 -0
  285. package/dist/presentation/tui/cockpit/useCockpitLaunchpadWelcomeVisibility.js.map +1 -0
  286. package/dist/presentation/tui/cockpit/useDaemonAnimationFrames.d.ts +14 -0
  287. package/dist/presentation/tui/cockpit/useDaemonAnimationFrames.d.ts.map +1 -0
  288. package/dist/presentation/tui/cockpit/useDaemonAnimationFrames.js +29 -0
  289. package/dist/presentation/tui/cockpit/useDaemonAnimationFrames.js.map +1 -0
  290. package/dist/presentation/tui/cockpit/useDaemonStatusPolling.d.ts +10 -0
  291. package/dist/presentation/tui/cockpit/useDaemonStatusPolling.d.ts.map +1 -0
  292. package/dist/presentation/tui/cockpit/useDaemonStatusPolling.js +21 -0
  293. package/dist/presentation/tui/cockpit/useDaemonStatusPolling.js.map +1 -0
  294. package/package.json +1 -1
  295. package/dist/presentation/tui/cockpit/CockpitDaemonConfiguration.d.ts +0 -7
  296. package/dist/presentation/tui/cockpit/CockpitDaemonConfiguration.d.ts.map +0 -1
  297. package/dist/presentation/tui/cockpit/CockpitDaemonConfiguration.js +0 -32
  298. package/dist/presentation/tui/cockpit/CockpitDaemonConfiguration.js.map +0 -1
  299. package/dist/presentation/tui/cockpit/DaemonFrameViews.d.ts +0 -17
  300. package/dist/presentation/tui/cockpit/DaemonFrameViews.d.ts.map +0 -1
  301. package/dist/presentation/tui/cockpit/DaemonFrameViews.js +0 -20
  302. package/dist/presentation/tui/cockpit/DaemonFrameViews.js.map +0 -1
@@ -1,113 +1,11 @@
1
1
  import React, { useState, useEffect, useCallback, useRef } from "react";
2
2
  import { Box, Text } from "ink";
3
- import { getAnimationFrame, getFrameCount, } from "../../cli/banner/AnimationFrames.js";
4
- import { SemanticColors } from "../../shared/DesignTokens.js";
5
- const TOTAL_FRAMES = getFrameCount();
6
- const MID_POINT = Math.floor(TOTAL_FRAMES / 2);
7
- const FRAME_DURATION_MS = 9;
8
- const TICK_MS = 4;
9
- const HOLD_DELAY_MS = 1120;
10
- const ERASE_INTERVAL_MS = 15;
11
- const ANCHOR_COLORS = [
12
- [102, 180, 244],
13
- [170, 0, 212],
14
- [255, 42, 42],
15
- [255, 131, 7],
16
- [255, 204, 0],
17
- [68, 170, 0],
18
- ];
19
- const ANCHOR_COLORS_HEX = [
20
- "#66b4f4",
21
- "#aa00d4",
22
- "#ff2a2a",
23
- "#ff8307",
24
- "#ffcc00",
25
- "#44aa00",
26
- ];
27
- function lerpRgb(a, b, t) {
28
- return [
29
- Math.round(a[0] + (b[0] - a[0]) * t),
30
- Math.round(a[1] + (b[1] - a[1]) * t),
31
- Math.round(a[2] + (b[2] - a[2]) * t),
32
- ];
33
- }
34
- function rgbToHex(r, g, b) {
35
- return ("#" +
36
- r.toString(16).padStart(2, "0") +
37
- g.toString(16).padStart(2, "0") +
38
- b.toString(16).padStart(2, "0"));
39
- }
40
- export function getGradientHex(progress) {
41
- const clamped = Math.max(0, Math.min(1, progress));
42
- const segments = ANCHOR_COLORS.length - 1;
43
- const segmentLength = 1 / segments;
44
- const segmentIndex = Math.min(Math.floor(clamped / segmentLength), segments - 1);
45
- const segmentProgress = (clamped - segmentIndex * segmentLength) / segmentLength;
46
- const [r, g, b] = lerpRgb(ANCHOR_COLORS[segmentIndex], ANCHOR_COLORS[segmentIndex + 1], segmentProgress);
47
- return rgbToHex(r, g, b);
48
- }
49
- function colorizeLineToSegments(line, elephantHex) {
50
- const segments = [];
51
- let i = 0;
52
- while (i < line.length) {
53
- const char = line[i];
54
- if (char === "▓" || char === "▒") {
55
- let elephantSegment = "";
56
- while (i < line.length &&
57
- (line[i] === "▓" || line[i] === "▒" || line[i] === "█")) {
58
- const nearbyContext = line.slice(Math.max(0, i - 3), Math.min(line.length, i + 4));
59
- const hasShading = nearbyContext.includes("▓") || nearbyContext.includes("▒");
60
- if (line[i] === "█" && !hasShading)
61
- break;
62
- elephantSegment += line[i];
63
- i++;
64
- }
65
- const vibrant = elephantSegment.replace(/▓/g, "░").replace(/[▒█]/g, " ");
66
- segments.push({ text: vibrant, color: elephantHex, inverse: true });
67
- }
68
- else if (char === "█" || char === "░") {
69
- let textSegment = "";
70
- while (i < line.length && (line[i] === "█" || line[i] === "░")) {
71
- textSegment += line[i];
72
- i++;
73
- }
74
- segments.push({ text: textSegment, color: "#c8c8c8" });
75
- }
76
- else if ("╭╮╰╯│─".includes(char)) {
77
- let boxSegment = "";
78
- while (i < line.length && "╭╮╰╯│─".includes(line[i])) {
79
- boxSegment += line[i];
80
- i++;
81
- }
82
- segments.push({ text: boxSegment, color: SemanticColors.keyBadge });
83
- }
84
- else if (char === "A" &&
85
- line.slice(i).startsWith("Agent Context Orchestration")) {
86
- const tagline = "Agent Context Orchestration";
87
- segments.push({ text: tagline, color: "#808080" });
88
- i += tagline.length;
89
- }
90
- else {
91
- let plainSegment = "";
92
- while (i < line.length &&
93
- line[i] !== "▓" &&
94
- line[i] !== "▒" &&
95
- line[i] !== "█" &&
96
- line[i] !== "░" &&
97
- !"╭╮╰╯│─".includes(line[i]) &&
98
- !(line[i] === "A" && line.slice(i).startsWith("Agent Context Orchestration"))) {
99
- plainSegment += line[i];
100
- i++;
101
- }
102
- if (plainSegment.length > 0) {
103
- segments.push({ text: plainSegment });
104
- }
105
- }
106
- }
107
- return segments;
108
- }
3
+ import { getAnimationFrame } from "../../cli/banner/AnimationFrames.js";
4
+ import { getAnimatedBannerColorGradientHex } from "./AnimatedBannerColorGradient.js";
5
+ import { getAnimatedBannerLineColorSegments } from "./AnimatedBannerLineColorSegments.js";
6
+ import { AnimatedBannerTiming } from "./AnimatedBannerTiming.js";
109
7
  export function AnimatedBanner({ onComplete, version = "", projectName = null, persist = false, infoBoxLines, animated = true, }) {
110
- const [frame, setFrame] = useState(animated ? 0 : TOTAL_FRAMES - 1);
8
+ const [frame, setFrame] = useState(animated ? 0 : AnimatedBannerTiming.totalFrames - 1);
111
9
  const [phase, setPhase] = useState(animated ? "walking" : persist ? "persisted" : "complete");
112
10
  const [visibleLines, setVisibleLines] = useState(null);
113
11
  const startTimeRef = useRef(performance.now());
@@ -118,7 +16,7 @@ export function AnimatedBanner({ onComplete, version = "", projectName = null, p
118
16
  if (animated) {
119
17
  return;
120
18
  }
121
- setFrame(TOTAL_FRAMES - 1);
19
+ setFrame(AnimatedBannerTiming.totalFrames - 1);
122
20
  setPhase(persist ? "persisted" : "complete");
123
21
  setVisibleLines(null);
124
22
  }, [animated, persist]);
@@ -127,15 +25,15 @@ export function AnimatedBanner({ onComplete, version = "", projectName = null, p
127
25
  return;
128
26
  const timer = setInterval(() => {
129
27
  const elapsed = performance.now() - startTimeRef.current;
130
- const targetFrame = Math.min(Math.floor(elapsed / FRAME_DURATION_MS), TOTAL_FRAMES - 1);
28
+ const targetFrame = Math.min(Math.floor(elapsed / AnimatedBannerTiming.frameDurationMs), AnimatedBannerTiming.totalFrames - 1);
131
29
  setFrame((prev) => {
132
- if (targetFrame >= TOTAL_FRAMES - 1) {
30
+ if (targetFrame >= AnimatedBannerTiming.totalFrames - 1) {
133
31
  setPhase("holding");
134
- return TOTAL_FRAMES - 1;
32
+ return AnimatedBannerTiming.totalFrames - 1;
135
33
  }
136
34
  return targetFrame > prev ? targetFrame : prev;
137
35
  });
138
- }, TICK_MS);
36
+ }, AnimatedBannerTiming.tickMs);
139
37
  return () => clearInterval(timer);
140
38
  }, [phase]);
141
39
  useEffect(() => {
@@ -143,7 +41,7 @@ export function AnimatedBanner({ onComplete, version = "", projectName = null, p
143
41
  return;
144
42
  const timer = setTimeout(() => {
145
43
  setPhase(persist ? "persisted" : "erasing");
146
- }, HOLD_DELAY_MS);
44
+ }, AnimatedBannerTiming.holdDelayMs);
147
45
  return () => clearTimeout(timer);
148
46
  }, [phase, persist]);
149
47
  useEffect(() => {
@@ -154,7 +52,7 @@ export function AnimatedBanner({ onComplete, version = "", projectName = null, p
154
52
  useEffect(() => {
155
53
  if (phase !== "erasing")
156
54
  return;
157
- const finalFrame = getAnimationFrame(TOTAL_FRAMES - 1, version, projectName, infoBoxLines);
55
+ const finalFrame = getAnimationFrame(AnimatedBannerTiming.totalFrames - 1, version, projectName, infoBoxLines);
158
56
  const totalLines = finalFrame.length;
159
57
  setVisibleLines(totalLines);
160
58
  const timer = setInterval(() => {
@@ -167,7 +65,7 @@ export function AnimatedBanner({ onComplete, version = "", projectName = null, p
167
65
  }
168
66
  return prev - 1;
169
67
  });
170
- }, ERASE_INTERVAL_MS);
68
+ }, AnimatedBannerTiming.eraseIntervalMs);
171
69
  return () => clearInterval(timer);
172
70
  }, [phase, version, projectName, infoBoxLines]);
173
71
  useEffect(() => {
@@ -177,17 +75,22 @@ export function AnimatedBanner({ onComplete, version = "", projectName = null, p
177
75
  if (phase === "complete")
178
76
  return null;
179
77
  let colorProgress;
180
- if (frame <= MID_POINT) {
181
- colorProgress = frame / MID_POINT;
78
+ if (frame <= AnimatedBannerTiming.midpointFrame) {
79
+ colorProgress = frame / AnimatedBannerTiming.midpointFrame;
182
80
  }
183
81
  else {
184
- colorProgress = 1 - (frame - MID_POINT) / (TOTAL_FRAMES - MID_POINT - 1);
82
+ colorProgress =
83
+ 1 -
84
+ (frame - AnimatedBannerTiming.midpointFrame) /
85
+ (AnimatedBannerTiming.totalFrames -
86
+ AnimatedBannerTiming.midpointFrame -
87
+ 1);
185
88
  }
186
- const elephantHex = getGradientHex(colorProgress);
89
+ const elephantHex = getAnimatedBannerColorGradientHex(colorProgress);
187
90
  const currentFrame = phase === "walking"
188
91
  ? getAnimationFrame(frame, version, projectName, infoBoxLines)
189
- : getAnimationFrame(TOTAL_FRAMES - 1, version, projectName, infoBoxLines);
92
+ : getAnimationFrame(AnimatedBannerTiming.totalFrames - 1, version, projectName, infoBoxLines);
190
93
  const linesToRender = visibleLines !== null ? currentFrame.slice(0, visibleLines) : currentFrame;
191
- return (React.createElement(Box, { flexDirection: "column" }, linesToRender.map((line, lineIndex) => (React.createElement(Text, { key: lineIndex }, colorizeLineToSegments(line, elephantHex).map((segment, segIndex) => segment.color ? (React.createElement(Text, { key: segIndex, color: segment.color, inverse: segment.inverse }, segment.text)) : (React.createElement(Text, { key: segIndex }, segment.text))))))));
94
+ return (React.createElement(Box, { flexDirection: "column" }, linesToRender.map((line, lineIndex) => (React.createElement(Text, { key: lineIndex }, getAnimatedBannerLineColorSegments(line, elephantHex).map((segment, segIndex) => segment.color ? (React.createElement(Text, { key: segIndex, color: segment.color, inverse: segment.inverse }, segment.text)) : (React.createElement(Text, { key: segIndex }, segment.text))))))));
192
95
  }
193
96
  //# sourceMappingURL=AnimatedBanner.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AnimatedBanner.js","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/AnimatedBanner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACxE,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EACL,iBAAiB,EACjB,aAAa,GACd,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAW9D,MAAM,YAAY,GAAG,aAAa,EA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Y,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC;IAE7E,OAAO,CACL,oBAAC,GAAG,IAAC,aAAa,EAAC,QAAQ,IACxB,aAAa,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE,CAAC,CACtC,oBAAC,IAAI,IAAC,GAAG,EAAE,SAAS,IACjB,kCAAkC,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC,GAAG,CACxD,CAAC,OAAO,EAAE,QAAQ,EAAE,EAAE,CACpB,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,oBAAC,IAAI,IACH,GAAG,EAAE,QAAQ,EACb,KAAK,EAAE,OAAO,CAAC,KAAK,EACpB,OAAO,EAAE,OAAO,CAAC,OAAO,IAEvB,OAAO,CAAC,IAAI,CACR,CACR,CAAC,CAAC,CAAC,CACF,oBAAC,IAAI,IAAC,GAAG,EAAE,QAAQ,IAAG,OAAO,CAAC,IAAI,CAAQ,CAC3C,CACJ,CACI,CACR,CAAC,CACE,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare function getAnimatedBannerColorGradientHex(progress: number): string;
2
+ //# sourceMappingURL=AnimatedBannerColorGradient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnimatedBannerColorGradient.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/AnimatedBannerColorGradient.ts"],"names":[],"mappings":"AAoCA,wBAAgB,iCAAiC,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAiB1E"}
@@ -0,0 +1,31 @@
1
+ const ANIMATED_BANNER_COLOR_GRADIENT_ANCHORS = [
2
+ [102, 180, 244],
3
+ [170, 0, 212],
4
+ [255, 42, 42],
5
+ [255, 131, 7],
6
+ [255, 204, 0],
7
+ [68, 170, 0],
8
+ ];
9
+ function interpolateAnimatedBannerRgbColor(startColor, endColor, progress) {
10
+ return [
11
+ Math.round(startColor[0] + (endColor[0] - startColor[0]) * progress),
12
+ Math.round(startColor[1] + (endColor[1] - startColor[1]) * progress),
13
+ Math.round(startColor[2] + (endColor[2] - startColor[2]) * progress),
14
+ ];
15
+ }
16
+ function formatAnimatedBannerRgbColorAsHex(red, green, blue) {
17
+ return ("#" +
18
+ red.toString(16).padStart(2, "0") +
19
+ green.toString(16).padStart(2, "0") +
20
+ blue.toString(16).padStart(2, "0"));
21
+ }
22
+ export function getAnimatedBannerColorGradientHex(progress) {
23
+ const clampedProgress = Math.max(0, Math.min(1, progress));
24
+ const segmentCount = ANIMATED_BANNER_COLOR_GRADIENT_ANCHORS.length - 1;
25
+ const segmentLength = 1 / segmentCount;
26
+ const segmentIndex = Math.min(Math.floor(clampedProgress / segmentLength), segmentCount - 1);
27
+ const segmentProgress = (clampedProgress - segmentIndex * segmentLength) / segmentLength;
28
+ const [red, green, blue] = interpolateAnimatedBannerRgbColor(ANIMATED_BANNER_COLOR_GRADIENT_ANCHORS[segmentIndex], ANIMATED_BANNER_COLOR_GRADIENT_ANCHORS[segmentIndex + 1], segmentProgress);
29
+ return formatAnimatedBannerRgbColorAsHex(red, green, blue);
30
+ }
31
+ //# sourceMappingURL=AnimatedBannerColorGradient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnimatedBannerColorGradient.js","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/AnimatedBannerColorGradient.ts"],"names":[],"mappings":"AAEA,MAAM,sCAAsC,GAA6B;IACvE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;IACf,CAAC,GAAG,EAAE,CAAC,EAAE,GAAG,CAAC;IACb,CAAC,GAAG,EAAE,EAAE,EAAE,EAAE,CAAC;IACb,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC;IACb,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC;IACb,CAAC,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;CACb,CAAC;AAEF,SAAS,iCAAiC,CACxC,UAAkC,EAClC,QAAgC,EAChC,QAAgB;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ACjB,CAAC;IACF,MAAM,eAAe,GACnB,CAAC,eAAe,GAAG,YAAY,GAAG,aAAa,CAAC,GAAG,aAAa,CAAC;IACnE,MAAM,CAAC,GAAG,EAAE,KAAK,EAAE,IAAI,CAAC,GAAG,iCAAiC,CAC1D,sCAAsC,CAAC,YAAY,CAAC,EACpD,sCAAsC,CAAC,YAAY,GAAG,CAAC,CAAC,EACxD,eAAe,CAChB,CAAC;IAEF,OAAO,iCAAiC,CAAC,GAAG,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC;AAC7D,CAAC"}
@@ -0,0 +1,7 @@
1
+ export interface AnimatedBannerLineColorSegment {
2
+ text: string;
3
+ color?: string;
4
+ inverse?: boolean;
5
+ }
6
+ export declare function getAnimatedBannerLineColorSegments(line: string, elephantHex: string): AnimatedBannerLineColorSegment[];
7
+ //# sourceMappingURL=AnimatedBannerLineColorSegments.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnimatedBannerLineColorSegments.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/AnimatedBannerLineColorSegments.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,8BAA8B;IAC7C,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,wBAAgB,kCAAkC,CAChD,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,MAAM,GAClB,8BAA8B,EAAE,CAgFlC"}
@@ -0,0 +1,69 @@
1
+ import { SemanticColors } from "../../shared/DesignTokens.js";
2
+ export function getAnimatedBannerLineColorSegments(line, elephantHex) {
3
+ const segments = [];
4
+ let index = 0;
5
+ while (index < line.length) {
6
+ const character = line[index];
7
+ if (character === "▓" || character === "▒") {
8
+ let elephantSegment = "";
9
+ while (index < line.length &&
10
+ (line[index] === "▓" || line[index] === "▒" || line[index] === "█")) {
11
+ const nearbyContext = line.slice(Math.max(0, index - 3), Math.min(line.length, index + 4));
12
+ const hasShading = nearbyContext.includes("▓") || nearbyContext.includes("▒");
13
+ if (line[index] === "█" && !hasShading)
14
+ break;
15
+ elephantSegment += line[index];
16
+ index++;
17
+ }
18
+ const vibrantSegment = elephantSegment
19
+ .replace(/▓/g, "░")
20
+ .replace(/[▒█]/g, " ");
21
+ segments.push({
22
+ text: vibrantSegment,
23
+ color: elephantHex,
24
+ inverse: true,
25
+ });
26
+ }
27
+ else if (character === "█" || character === "░") {
28
+ let textSegment = "";
29
+ while (index < line.length && (line[index] === "█" || line[index] === "░")) {
30
+ textSegment += line[index];
31
+ index++;
32
+ }
33
+ segments.push({ text: textSegment, color: "#c8c8c8" });
34
+ }
35
+ else if ("╭╮╰╯│─".includes(character)) {
36
+ let boxSegment = "";
37
+ while (index < line.length && "╭╮╰╯│─".includes(line[index])) {
38
+ boxSegment += line[index];
39
+ index++;
40
+ }
41
+ segments.push({ text: boxSegment, color: SemanticColors.keyBadge });
42
+ }
43
+ else if (character === "A" &&
44
+ line.slice(index).startsWith("Agent Context Orchestration")) {
45
+ const tagline = "Agent Context Orchestration";
46
+ segments.push({ text: tagline, color: "#808080" });
47
+ index += tagline.length;
48
+ }
49
+ else {
50
+ let plainSegment = "";
51
+ while (index < line.length &&
52
+ line[index] !== "▓" &&
53
+ line[index] !== "▒" &&
54
+ line[index] !== "█" &&
55
+ line[index] !== "░" &&
56
+ !"╭╮╰╯│─".includes(line[index]) &&
57
+ !(line[index] === "A" &&
58
+ line.slice(index).startsWith("Agent Context Orchestration"))) {
59
+ plainSegment += line[index];
60
+ index++;
61
+ }
62
+ if (plainSegment.length > 0) {
63
+ segments.push({ text: plainSegment });
64
+ }
65
+ }
66
+ }
67
+ return segments;
68
+ }
69
+ //# sourceMappingURL=AnimatedBannerLineColorSegments.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnimatedBannerLineColorSegments.js","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/AnimatedBannerLineColorSegments.ts"],"names":[],"mappings":"A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,OAAO,CAAC,MAAM,CAAC;QAC1B,CAAC;aAAM,CAAC;YACN,IAAI,YAAY,GAAG,EAAE,CAAC;YACtB,OACE,KAAK,GAAG,IAAI,CAAC,MAAM;gBACnB,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG;gBACnB,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG;gBACnB,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG;gBACnB,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG;gBACnB,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBAC/B,CAAC,CACC,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG;oBACnB,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,UAAU,CAAC,6BAA6B,CAAC,CAC5D,EACD,CAAC;gBACD,YAAY,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC;gBAC5B,KAAK,EAAE,CAAC;YACV,CAAC;YAED,IAAI,YAAY,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBAC5B,QAAQ,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,CAAC;YACxC,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC"}
@@ -0,0 +1,9 @@
1
+ export declare const AnimatedBannerTiming: {
2
+ readonly totalFrames: number;
3
+ readonly midpointFrame: number;
4
+ readonly frameDurationMs: 9;
5
+ readonly tickMs: 4;
6
+ readonly holdDelayMs: 1120;
7
+ readonly eraseIntervalMs: 15;
8
+ };
9
+ //# sourceMappingURL=AnimatedBannerTiming.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnimatedBannerTiming.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/AnimatedBannerTiming.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,oBAAoB;;;;;;;CAOvB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { getFrameCount } from "../../cli/banner/AnimationFrames.js";
2
+ const totalFrames = getFrameCount();
3
+ export const AnimatedBannerTiming = {
4
+ totalFrames,
5
+ midpointFrame: Math.floor(totalFrames / 2),
6
+ frameDurationMs: 9,
7
+ tickMs: 4,
8
+ holdDelayMs: 1120,
9
+ eraseIntervalMs: 15,
10
+ };
11
+ //# sourceMappingURL=AnimatedBannerTiming.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnimatedBannerTiming.js","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/AnimatedBannerTiming.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,MAAM,WAAW,GAAG,aAAa,EAAE,CAAC;AAEpC,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,WAAW;IACX,aAAa,EAAE,IAAI,CAAC,KAAK,CAAC,WAAW,GAAG,CAAC,CAAC;IAC1C,eAAe,EAAE,CAAC;IAClB,MAAM,EAAE,CAAC;IACT,WAAW,EAAE,IAAI;IACjB,eAAe,EAAE,EAAE;CACX,CAAC"}
@@ -1,10 +1,9 @@
1
1
  import React from "react";
2
- interface CenteredPromptProps {
2
+ export interface CenteredPromptProps {
3
3
  keyChar: string;
4
4
  prefix: string;
5
5
  suffix: string;
6
6
  secondary?: string;
7
7
  }
8
8
  export declare function CenteredPrompt({ keyChar, prefix, suffix, secondary, }: CenteredPromptProps): React.ReactElement;
9
- export {};
10
9
  //# sourceMappingURL=CenteredPrompt.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CenteredPrompt.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CenteredPrompt.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,mBAAmB;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,MAAM,EACN,MAAM,EACN,SAAS,GACV,EAAE,mBAAmB,GAAG,KAAK,CAAC,YAAY,CAe1C"}
1
+ {"version":3,"file":"CenteredPrompt.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CenteredPrompt.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,MAAM,EACN,MAAM,EACN,SAAS,GACV,EAAE,mBAAmB,GAAG,KAAK,CAAC,YAAY,CAe1C"}
@@ -0,0 +1,3 @@
1
+ import type { TuiDaemonConfig } from "../daemon-subprocesses/ISubprocessManager.js";
2
+ export declare function getNextCockpitDaemonAgentConfig(config: TuiDaemonConfig): TuiDaemonConfig;
3
+ //# sourceMappingURL=CockpitDaemonAgentConfigCycler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CockpitDaemonAgentConfigCycler.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonAgentConfigCycler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAIpF,wBAAgB,+BAA+B,CAAC,MAAM,EAAE,eAAe,GAAG,eAAe,CASxF"}
@@ -0,0 +1,9 @@
1
+ const COCKPIT_DAEMON_AGENT_OPTIONS = ["codex", "claude", "gemini", "copilot", "cursor", "vibe"];
2
+ export function getNextCockpitDaemonAgentConfig(config) {
3
+ const currentIndex = COCKPIT_DAEMON_AGENT_OPTIONS.indexOf(config.agentId);
4
+ const nextIndex = currentIndex === -1
5
+ ? 0
6
+ : (currentIndex + 1) % COCKPIT_DAEMON_AGENT_OPTIONS.length;
7
+ return { ...config, agentId: COCKPIT_DAEMON_AGENT_OPTIONS[nextIndex] };
8
+ }
9
+ //# sourceMappingURL=CockpitDaemonAgentConfigCycler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CockpitDaemonAgentConfigCycler.js","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonAgentConfigCycler.ts"],"names":[],"mappings":"AAEA,MAAM,4BAA4B,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,CAAU,CAAC;AAEzG,MAAM,UAAU,+BAA+B,CAAC,MAAuB;IACrE,MAAM,YAAY,GAAG,4BAA4B,CAAC,OAAO,CACvD,MAAM,CAAC,OAAsD,CAC9D,CAAC;IACF,MAAM,SAAS,GAAG,YAAY,KAAK,CAAC,CAAC;QACnC,CAAC,CAAC,CAAC;QACH,CAAC,CAAC,CAAC,YAAY,GAAG,CAAC,CAAC,GAAG,4BAA4B,CAAC,MAAM,CAAC;IAE7D,OAAO,EAAE,GAAG,MAAM,EAAE,OAAO,EAAE,4BAA4B,CAAC,SAAS,CAAC,EAAE,CAAC;AACzE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { TuiDaemonConfig, TuiDaemonConfigs, TuiDaemonName } from "../daemon-subprocesses/ISubprocessManager.js";
2
+ export declare function updateSelectedCockpitDaemonConfig(configs: TuiDaemonConfigs, selectedDaemon: TuiDaemonName, nextConfig: (config: TuiDaemonConfig) => TuiDaemonConfig): TuiDaemonConfigs;
3
+ //# sourceMappingURL=CockpitDaemonConfigsUpdater.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CockpitDaemonConfigsUpdater.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonConfigsUpdater.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,gBAAgB,EAChB,aAAa,EACd,MAAM,8CAA8C,CAAC;AAEtD,wBAAgB,iCAAiC,CAC/C,OAAO,EAAE,gBAAgB,EACzB,cAAc,EAAE,aAAa,EAC7B,UAAU,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,eAAe,GACvD,gBAAgB,CAKlB"}
@@ -0,0 +1,7 @@
1
+ export function updateSelectedCockpitDaemonConfig(configs, selectedDaemon, nextConfig) {
2
+ return {
3
+ ...configs,
4
+ [selectedDaemon]: nextConfig(configs[selectedDaemon]),
5
+ };
6
+ }
7
+ //# sourceMappingURL=CockpitDaemonConfigsUpdater.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CockpitDaemonConfigsUpdater.js","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonConfigsUpdater.ts"],"names":[],"mappings":"AAMA,MAAM,UAAU,iCAAiC,CAC/C,OAAyB,EACzB,cAA6B,EAC7B,UAAwD;IAExD,OAAO;QACL,GAAG,OAAO;QACV,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;KACtD,CAAC;AACJ,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { TuiDaemonEventStatusValue } from "../daemon-subprocesses/TuiDaemonEventStatus.js";
2
+ export interface CockpitDaemonEventSnapshot {
3
+ readonly status: TuiDaemonEventStatusValue | (string & {});
4
+ }
5
+ //# sourceMappingURL=CockpitDaemonEventSnapshot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CockpitDaemonEventSnapshot.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonEventSnapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,yBAAyB,EAC1B,MAAM,gDAAgD,CAAC;AAExD,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,MAAM,EAAE,yBAAyB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;CAC5D"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=CockpitDaemonEventSnapshot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CockpitDaemonEventSnapshot.js","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonEventSnapshot.ts"],"names":[],"mappings":""}
@@ -1,14 +1,7 @@
1
- import type { TuiDaemonName, TuiSubprocessSnapshot } from "../daemon-subprocesses/ISubprocessManager.js";
2
- export interface DaemonEventRow {
3
- readonly key: string;
4
- readonly source: string;
5
- readonly category: string;
6
- readonly timestampMs: number;
7
- readonly message: string;
8
- readonly color: string;
9
- }
10
- export declare function findDaemonStatus(statuses: readonly TuiSubprocessSnapshot[], name: TuiDaemonName): TuiSubprocessSnapshot;
11
- export declare function getDaemonEventRows(snapshots: readonly TuiSubprocessSnapshot[], observedAtMs: number): readonly DaemonEventRow[];
12
- export declare function appendDaemonEventRows(currentRows: readonly DaemonEventRow[], nextRows: readonly DaemonEventRow[]): readonly DaemonEventRow[];
13
- export declare function formatDaemonEventRow(row: DaemonEventRow): string;
1
+ export declare const CockpitDaemonEvents: {
2
+ readonly appendRows: (currentRows: readonly import("./DaemonEventRow.js").DaemonEventRow[], nextRows: readonly import("./DaemonEventRow.js").DaemonEventRow[]) => readonly import("./DaemonEventRow.js").DaemonEventRow[];
3
+ readonly findStatus: (statuses: readonly import("../daemon-subprocesses/TuiSubprocessSnapshot.js").TuiSubprocessSnapshot[], name: import("../daemon-subprocesses/TuiDaemonName.js").TuiDaemonName) => import("../daemon-subprocesses/TuiSubprocessSnapshot.js").TuiSubprocessSnapshot;
4
+ readonly formatRow: (row: import("./DaemonEventRow.js").DaemonEventRow) => string;
5
+ readonly getRows: (snapshots: readonly import("../daemon-subprocesses/TuiSubprocessSnapshot.js").TuiSubprocessSnapshot[], observedAtMs: number) => readonly import("./DaemonEventRow.js").DaemonEventRow[];
6
+ };
14
7
  //# sourceMappingURL=CockpitDaemonEvents.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CockpitDaemonEvents.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonEvents.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAGV,aAAa,EACb,qBAAqB,EACtB,MAAM,8CAA8C,CAAC;AAWtD,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,SAAS,qBAAqB,EAAE,EAC1C,IAAI,EAAE,aAAa,GAClB,qBAAqB,CASvB;AAED,wBAAgB,kBAAkB,CAChC,SAAS,EAAE,SAAS,qBAAqB,EAAE,EAC3C,YAAY,EAAE,MAAM,GACnB,SAAS,cAAc,EAAE,CAM3B;AAED,wBAAgB,qBAAqB,CACnC,WAAW,EAAE,SAAS,cAAc,EAAE,EACtC,QAAQ,EAAE,SAAS,cAAc,EAAE,GAClC,SAAS,cAAc,EAAE,CAW3B;AAED,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,cAAc,GAAG,MAAM,CAIhE"}
1
+ {"version":3,"file":"CockpitDaemonEvents.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonEvents.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB;;;;;CAKtB,CAAC"}