codingbuddy 4.1.0 → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (362) hide show
  1. package/dist/src/agent/agent-summary.utils.d.ts +2 -1
  2. package/dist/src/analyzer/conventions.schemas.d.ts +0 -4
  3. package/dist/src/analyzer/conventions.schemas.js.map +1 -1
  4. package/dist/src/analyzer/conventions.types.d.ts +5 -7
  5. package/dist/src/analyzer/conventions.types.js.map +1 -1
  6. package/dist/src/analyzer/directory.analyzer.d.ts +1 -1
  7. package/dist/src/checklist/checklist.schema.d.ts +2 -1
  8. package/dist/src/cli/cli.d.ts +2 -3
  9. package/dist/src/cli/cli.js +4 -3
  10. package/dist/src/cli/cli.js.map +1 -1
  11. package/dist/src/cli/cli.types.d.ts +3 -0
  12. package/dist/src/cli/init/claude-settings.utils.d.ts +2 -1
  13. package/dist/src/cli/init/config.generator.d.ts +0 -2
  14. package/dist/src/cli/init/config.generator.js +0 -2
  15. package/dist/src/cli/init/config.generator.js.map +1 -1
  16. package/dist/src/cli/init/config.writer.d.ts +0 -1
  17. package/dist/src/cli/init/config.writer.js +0 -1
  18. package/dist/src/cli/init/config.writer.js.map +1 -1
  19. package/dist/src/cli/init/init.constants.js +1 -0
  20. package/dist/src/cli/init/init.constants.js.map +1 -1
  21. package/dist/src/cli/init/init.wizard.d.ts +2 -1
  22. package/dist/src/cli/init/prompts/agent-prompt.d.ts +1 -1
  23. package/dist/src/cli/restart-tui.d.ts +9 -0
  24. package/dist/src/cli/restart-tui.js +30 -0
  25. package/dist/src/cli/restart-tui.js.map +1 -0
  26. package/dist/src/cli/run-tui.d.ts +3 -3
  27. package/dist/src/cli/run-tui.js +32 -58
  28. package/dist/src/cli/run-tui.js.map +1 -1
  29. package/dist/src/config/config.loader.d.ts +0 -2
  30. package/dist/src/config/config.loader.js +0 -2
  31. package/dist/src/config/config.loader.js.map +1 -1
  32. package/dist/src/config/config.schema.d.ts +0 -16
  33. package/dist/src/config/config.schema.js +7 -7
  34. package/dist/src/config/config.schema.js.map +1 -1
  35. package/dist/src/context/context-document.types.d.ts +0 -8
  36. package/dist/src/context/context-document.types.js +9 -9
  37. package/dist/src/context/context-document.types.js.map +1 -1
  38. package/dist/src/context/context-parser.utils.d.ts +1 -9
  39. package/dist/src/context/context-parser.utils.js +0 -36
  40. package/dist/src/context/context-parser.utils.js.map +1 -1
  41. package/dist/src/keyword/keyword.service.js +5 -1
  42. package/dist/src/keyword/keyword.service.js.map +1 -1
  43. package/dist/src/keyword/keyword.types.d.ts +3 -7
  44. package/dist/src/keyword/keyword.types.js +31 -1
  45. package/dist/src/keyword/keyword.types.js.map +1 -1
  46. package/dist/src/keyword/patterns/backend.patterns.js +10 -0
  47. package/dist/src/keyword/patterns/backend.patterns.js.map +1 -1
  48. package/dist/src/keyword/patterns/context.patterns.js +1 -1
  49. package/dist/src/keyword/patterns/data-science.patterns.d.ts +2 -0
  50. package/dist/src/keyword/patterns/data-science.patterns.js +71 -0
  51. package/dist/src/keyword/patterns/data-science.patterns.js.map +1 -0
  52. package/dist/src/keyword/patterns/index.d.ts +3 -0
  53. package/dist/src/keyword/patterns/index.js +7 -1
  54. package/dist/src/keyword/patterns/index.js.map +1 -1
  55. package/dist/src/keyword/patterns/intent-pattern-checks.js +24 -0
  56. package/dist/src/keyword/patterns/intent-pattern-checks.js.map +1 -1
  57. package/dist/src/keyword/patterns/security.patterns.d.ts +2 -0
  58. package/dist/src/keyword/patterns/security.patterns.js +106 -0
  59. package/dist/src/keyword/patterns/security.patterns.js.map +1 -0
  60. package/dist/src/keyword/patterns/systems.patterns.d.ts +2 -0
  61. package/dist/src/keyword/patterns/systems.patterns.js +101 -0
  62. package/dist/src/keyword/patterns/systems.patterns.js.map +1 -0
  63. package/dist/src/keyword/patterns/test.patterns.d.ts +2 -0
  64. package/dist/src/keyword/patterns/test.patterns.js +71 -0
  65. package/dist/src/keyword/patterns/test.patterns.js.map +1 -0
  66. package/dist/src/keyword/srp-template.d.ts +0 -2
  67. package/dist/src/keyword/srp-template.js +0 -2
  68. package/dist/src/keyword/srp-template.js.map +1 -1
  69. package/dist/src/keyword/strategies/__tests__/strategy-test.utils.d.ts +1 -1
  70. package/dist/src/keyword/strategies/__tests__/strategy-test.utils.js +4 -0
  71. package/dist/src/keyword/strategies/__tests__/strategy-test.utils.js.map +1 -1
  72. package/dist/src/keyword/strategies/act-agent.strategy.js +2 -2
  73. package/dist/src/keyword/strategies/act-agent.strategy.js.map +1 -1
  74. package/dist/src/main.js +30 -9
  75. package/dist/src/main.js.map +1 -1
  76. package/dist/src/mcp/handlers/index.d.ts +1 -0
  77. package/dist/src/mcp/handlers/index.js +3 -1
  78. package/dist/src/mcp/handlers/index.js.map +1 -1
  79. package/dist/src/mcp/handlers/mode.handler.js +15 -1
  80. package/dist/src/mcp/handlers/mode.handler.js.map +1 -1
  81. package/dist/src/mcp/handlers/tui.handler.d.ts +8 -0
  82. package/dist/src/mcp/handlers/tui.handler.js +50 -0
  83. package/dist/src/mcp/handlers/tui.handler.js.map +1 -0
  84. package/dist/src/mcp/mcp.module.js +1 -0
  85. package/dist/src/mcp/mcp.module.js.map +1 -1
  86. package/dist/src/rules/rules.types.d.ts +3 -2
  87. package/dist/src/rules/skill.schema.d.ts +0 -5
  88. package/dist/src/rules/skill.schema.js +3 -3
  89. package/dist/src/rules/skill.schema.js.map +1 -1
  90. package/dist/src/shared/async.utils.d.ts +3 -2
  91. package/dist/src/shared/file.utils.d.ts +3 -2
  92. package/dist/src/shared/filesystem.interface.d.ts +0 -10
  93. package/dist/src/shared/filesystem.interface.js +1 -10
  94. package/dist/src/shared/filesystem.interface.js.map +1 -1
  95. package/dist/src/shared/keyword-core.d.ts +2 -1
  96. package/dist/src/shared/keyword-core.js +3 -1
  97. package/dist/src/shared/keyword-core.js.map +1 -1
  98. package/dist/src/shared/language.types.d.ts +2 -1
  99. package/dist/src/shared/lru-cache.d.ts +2 -6
  100. package/dist/src/shared/path.utils.d.ts +0 -1
  101. package/dist/src/shared/path.utils.js +0 -1
  102. package/dist/src/shared/path.utils.js.map +1 -1
  103. package/dist/src/shared/pattern-matcher.d.ts +2 -1
  104. package/dist/src/shared/rules-core.d.ts +3 -2
  105. package/dist/src/shared/security.utils.d.ts +4 -3
  106. package/dist/src/shared/validation.constants.d.ts +2 -3
  107. package/dist/src/shared/validation.constants.js +3 -3
  108. package/dist/src/shared/validation.constants.js.map +1 -1
  109. package/dist/src/shared/verbosity.types.d.ts +2 -1
  110. package/dist/src/shared/version.d.ts +1 -0
  111. package/dist/src/shared/version.js +5 -0
  112. package/dist/src/shared/version.js.map +1 -0
  113. package/dist/src/shared/version.utils.js +2 -14
  114. package/dist/src/shared/version.utils.js.map +1 -1
  115. package/dist/src/skill/skill-content.utils.d.ts +0 -1
  116. package/dist/src/skill/skill-content.utils.js +4 -4
  117. package/dist/src/skill/skill-content.utils.js.map +1 -1
  118. package/dist/src/tui/__perf__/memory-stability.spec.js +8 -8
  119. package/dist/src/tui/__perf__/memory-stability.spec.js.map +1 -1
  120. package/dist/src/tui/__perf__/rendering-performance.spec.js +13 -13
  121. package/dist/src/tui/__perf__/rendering-performance.spec.js.map +1 -1
  122. package/dist/src/tui/components/ActivityVisualizer.d.ts +14 -0
  123. package/dist/src/tui/components/ActivityVisualizer.js +21 -0
  124. package/dist/src/tui/components/ActivityVisualizer.js.map +1 -0
  125. package/dist/src/tui/components/ActivityVisualizer.spec.js +91 -0
  126. package/dist/src/tui/components/ActivityVisualizer.spec.js.map +1 -0
  127. package/dist/src/tui/components/ChecklistPanel.d.ts +10 -0
  128. package/dist/src/tui/components/ChecklistPanel.js +19 -0
  129. package/dist/src/tui/components/ChecklistPanel.js.map +1 -0
  130. package/dist/src/tui/components/ChecklistPanel.spec.js +45 -0
  131. package/dist/src/tui/components/ChecklistPanel.spec.js.map +1 -0
  132. package/dist/src/tui/components/ContextSection.d.ts +7 -0
  133. package/dist/src/tui/components/ContextSection.js +24 -0
  134. package/dist/src/tui/components/ContextSection.js.map +1 -0
  135. package/dist/src/tui/components/FlowMap.d.ts +12 -0
  136. package/dist/src/tui/components/FlowMap.js +55 -0
  137. package/dist/src/tui/components/FlowMap.js.map +1 -0
  138. package/dist/src/tui/components/FlowMap.spec.js +59 -0
  139. package/dist/src/tui/components/FlowMap.spec.js.map +1 -0
  140. package/dist/src/tui/components/FocusedAgentPanel.d.ts +13 -0
  141. package/dist/src/tui/components/FocusedAgentPanel.js +61 -0
  142. package/dist/src/tui/components/FocusedAgentPanel.js.map +1 -0
  143. package/dist/src/tui/components/FocusedAgentPanel.spec.js +109 -0
  144. package/dist/src/tui/components/FocusedAgentPanel.spec.js.map +1 -0
  145. package/dist/src/tui/components/HeaderBar.d.ts +11 -0
  146. package/dist/src/tui/components/HeaderBar.js +51 -0
  147. package/dist/src/tui/components/HeaderBar.js.map +1 -0
  148. package/dist/src/tui/components/HeaderBar.spec.js +78 -0
  149. package/dist/src/tui/components/HeaderBar.spec.js.map +1 -0
  150. package/dist/src/tui/components/SessionTabBar.d.ts +9 -0
  151. package/dist/src/tui/components/SessionTabBar.js +15 -0
  152. package/dist/src/tui/components/SessionTabBar.js.map +1 -0
  153. package/dist/src/tui/components/SessionTabBar.spec.js +59 -0
  154. package/dist/src/tui/components/SessionTabBar.spec.js.map +1 -0
  155. package/dist/src/tui/components/StageHealthBar.d.ts +12 -0
  156. package/dist/src/tui/components/StageHealthBar.js +69 -0
  157. package/dist/src/tui/components/StageHealthBar.js.map +1 -0
  158. package/dist/src/tui/components/StageHealthBar.spec.js +77 -0
  159. package/dist/src/tui/components/StageHealthBar.spec.js.map +1 -0
  160. package/dist/src/tui/components/activity-visualizer.pure.d.ts +4 -0
  161. package/dist/src/tui/components/activity-visualizer.pure.js +133 -0
  162. package/dist/src/tui/components/activity-visualizer.pure.js.map +1 -0
  163. package/dist/src/tui/components/checklist-panel.pure.d.ts +2 -0
  164. package/dist/src/tui/components/checklist-panel.pure.js +18 -0
  165. package/dist/src/tui/components/checklist-panel.pure.js.map +1 -0
  166. package/dist/src/tui/components/context-section.pure.d.ts +3 -0
  167. package/dist/src/tui/components/context-section.pure.js +38 -0
  168. package/dist/src/tui/components/context-section.pure.js.map +1 -0
  169. package/dist/src/tui/components/flow-map.pure.d.ts +26 -0
  170. package/dist/src/tui/components/flow-map.pure.js +354 -0
  171. package/dist/src/tui/components/flow-map.pure.js.map +1 -0
  172. package/dist/src/tui/components/focused-agent.pure.d.ts +9 -0
  173. package/dist/src/tui/components/focused-agent.pure.js +42 -0
  174. package/dist/src/tui/components/focused-agent.pure.js.map +1 -0
  175. package/dist/src/tui/components/grid-layout.pure.d.ts +2 -0
  176. package/dist/src/tui/components/grid-layout.pure.js +72 -0
  177. package/dist/src/tui/components/grid-layout.pure.js.map +1 -0
  178. package/dist/src/tui/components/header-bar.pure.d.ts +1 -0
  179. package/dist/src/tui/components/{header.pure.js → header-bar.pure.js} +1 -7
  180. package/dist/src/tui/components/header-bar.pure.js.map +1 -0
  181. package/dist/src/tui/components/index.d.ts +14 -15
  182. package/dist/src/tui/components/index.js +35 -49
  183. package/dist/src/tui/components/index.js.map +1 -1
  184. package/dist/src/tui/components/session-tab-bar.pure.d.ts +9 -0
  185. package/dist/src/tui/components/session-tab-bar.pure.js +45 -0
  186. package/dist/src/tui/components/session-tab-bar.pure.js.map +1 -0
  187. package/dist/src/tui/components/stage-health.pure.d.ts +5 -0
  188. package/dist/src/tui/components/stage-health.pure.js +63 -0
  189. package/dist/src/tui/components/stage-health.pure.js.map +1 -0
  190. package/dist/src/tui/dashboard-app.d.ts +9 -0
  191. package/dist/src/tui/dashboard-app.js +40 -0
  192. package/dist/src/tui/dashboard-app.js.map +1 -0
  193. package/dist/src/tui/dashboard-app.spec.js +144 -0
  194. package/dist/src/tui/dashboard-app.spec.js.map +1 -0
  195. package/dist/src/tui/dashboard-types.d.ts +94 -0
  196. package/dist/src/tui/dashboard-types.js +33 -0
  197. package/dist/src/tui/dashboard-types.js.map +1 -0
  198. package/dist/src/tui/eventbus-ui.integration.spec.js +133 -167
  199. package/dist/src/tui/eventbus-ui.integration.spec.js.map +1 -1
  200. package/dist/src/tui/events/event-bus.js +1 -1
  201. package/dist/src/tui/events/event-bus.js.map +1 -1
  202. package/dist/src/tui/events/index.d.ts +1 -1
  203. package/dist/src/tui/events/index.js.map +1 -1
  204. package/dist/src/tui/events/parse-agent.js +1 -26
  205. package/dist/src/tui/events/parse-agent.js.map +1 -1
  206. package/dist/src/tui/events/response-event-extractor.d.ts +16 -1
  207. package/dist/src/tui/events/response-event-extractor.js +181 -2
  208. package/dist/src/tui/events/response-event-extractor.js.map +1 -1
  209. package/dist/src/tui/events/tui-interceptor.d.ts +3 -0
  210. package/dist/src/tui/events/tui-interceptor.js +67 -7
  211. package/dist/src/tui/events/tui-interceptor.js.map +1 -1
  212. package/dist/src/tui/events/types.d.ts +46 -2
  213. package/dist/src/tui/events/types.js +6 -0
  214. package/dist/src/tui/events/types.js.map +1 -1
  215. package/dist/src/tui/hooks/index.d.ts +7 -4
  216. package/dist/src/tui/hooks/index.js +12 -7
  217. package/dist/src/tui/hooks/index.js.map +1 -1
  218. package/dist/src/tui/hooks/use-clock.js +3 -3
  219. package/dist/src/tui/hooks/use-clock.js.map +1 -1
  220. package/dist/src/tui/hooks/use-dashboard-state.d.ts +52 -0
  221. package/dist/src/tui/hooks/use-dashboard-state.js +299 -0
  222. package/dist/src/tui/hooks/use-dashboard-state.js.map +1 -0
  223. package/dist/src/tui/hooks/use-focus-agent.d.ts +2 -0
  224. package/dist/src/tui/hooks/use-focus-agent.js +26 -0
  225. package/dist/src/tui/hooks/use-focus-agent.js.map +1 -0
  226. package/dist/src/tui/hooks/use-multi-session-state.d.ts +16 -0
  227. package/dist/src/tui/hooks/use-multi-session-state.js +163 -0
  228. package/dist/src/tui/hooks/use-multi-session-state.js.map +1 -0
  229. package/dist/src/tui/hooks/use-terminal-size.d.ts +9 -0
  230. package/dist/src/tui/hooks/use-terminal-size.js +31 -0
  231. package/dist/src/tui/hooks/use-terminal-size.js.map +1 -0
  232. package/dist/src/tui/index.d.ts +12 -4
  233. package/dist/src/tui/index.js +18 -7
  234. package/dist/src/tui/index.js.map +1 -1
  235. package/dist/src/tui/ipc/index.d.ts +5 -2
  236. package/dist/src/tui/ipc/index.js +5 -5
  237. package/dist/src/tui/ipc/index.js.map +1 -1
  238. package/dist/src/tui/ipc/ipc-state-cache.d.ts +1 -0
  239. package/dist/src/tui/ipc/ipc-state-cache.js +7 -0
  240. package/dist/src/tui/ipc/ipc-state-cache.js.map +1 -1
  241. package/dist/src/tui/ipc/multi-session-manager.d.ts +39 -0
  242. package/dist/src/tui/ipc/multi-session-manager.js +143 -0
  243. package/dist/src/tui/ipc/multi-session-manager.js.map +1 -0
  244. package/dist/src/tui/ipc/tui-auto-launcher.d.ts +22 -0
  245. package/dist/src/tui/ipc/tui-auto-launcher.js +113 -0
  246. package/dist/src/tui/ipc/tui-auto-launcher.js.map +1 -0
  247. package/dist/src/tui/multi-session-app.d.ts +6 -0
  248. package/dist/src/tui/multi-session-app.js +60 -0
  249. package/dist/src/tui/multi-session-app.js.map +1 -0
  250. package/dist/src/tui/multi-session-app.spec.js +95 -0
  251. package/dist/src/tui/multi-session-app.spec.js.map +1 -0
  252. package/dist/src/tui/transport-tui.integration.spec.js +15 -15
  253. package/dist/src/tui/transport-tui.integration.spec.js.map +1 -1
  254. package/dist/src/tui/tui-config.d.ts +3 -2
  255. package/dist/src/tui/types.d.ts +1 -1
  256. package/dist/src/tui/types.js +3 -0
  257. package/dist/src/tui/types.js.map +1 -1
  258. package/dist/src/tui/utils/color-buffer.d.ts +31 -0
  259. package/dist/src/tui/utils/color-buffer.js +86 -0
  260. package/dist/src/tui/utils/color-buffer.js.map +1 -0
  261. package/dist/src/tui/utils/colors.js.map +1 -1
  262. package/dist/src/tui/utils/edge-router.d.ts +9 -0
  263. package/dist/src/tui/utils/edge-router.js +65 -0
  264. package/dist/src/tui/utils/edge-router.js.map +1 -0
  265. package/dist/src/tui/utils/index.d.ts +3 -1
  266. package/dist/src/tui/utils/index.js +21 -4
  267. package/dist/src/tui/utils/index.js.map +1 -1
  268. package/dist/src/tui/utils/theme.d.ts +50 -0
  269. package/dist/src/tui/utils/theme.js +128 -0
  270. package/dist/src/tui/utils/theme.js.map +1 -0
  271. package/dist/src/tui-bundle.mjs +6037 -0
  272. package/dist/tsconfig.build.tsbuildinfo +1 -1
  273. package/package.json +10 -10
  274. package/dist/src/shared/token-counter.d.ts +0 -13
  275. package/dist/src/shared/token-counter.js +0 -41
  276. package/dist/src/shared/token-counter.js.map +0 -1
  277. package/dist/src/tui/app.d.ts +0 -6
  278. package/dist/src/tui/app.js +0 -20
  279. package/dist/src/tui/app.js.map +0 -1
  280. package/dist/src/tui/app.spec.js +0 -226
  281. package/dist/src/tui/app.spec.js.map +0 -1
  282. package/dist/src/tui/components/AgentCard.d.ts +0 -6
  283. package/dist/src/tui/components/AgentCard.js +0 -18
  284. package/dist/src/tui/components/AgentCard.js.map +0 -1
  285. package/dist/src/tui/components/AgentCard.spec.js +0 -118
  286. package/dist/src/tui/components/AgentCard.spec.js.map +0 -1
  287. package/dist/src/tui/components/AgentGrid.d.ts +0 -7
  288. package/dist/src/tui/components/AgentGrid.js +0 -20
  289. package/dist/src/tui/components/AgentGrid.js.map +0 -1
  290. package/dist/src/tui/components/AgentGrid.spec.js +0 -52
  291. package/dist/src/tui/components/AgentGrid.spec.js.map +0 -1
  292. package/dist/src/tui/components/AgentTree.d.ts +0 -7
  293. package/dist/src/tui/components/AgentTree.js +0 -24
  294. package/dist/src/tui/components/AgentTree.js.map +0 -1
  295. package/dist/src/tui/components/AgentTree.spec.js +0 -146
  296. package/dist/src/tui/components/AgentTree.spec.js.map +0 -1
  297. package/dist/src/tui/components/CategoryRow.d.ts +0 -9
  298. package/dist/src/tui/components/CategoryRow.js +0 -15
  299. package/dist/src/tui/components/CategoryRow.js.map +0 -1
  300. package/dist/src/tui/components/CategoryRow.spec.js +0 -58
  301. package/dist/src/tui/components/CategoryRow.spec.js.map +0 -1
  302. package/dist/src/tui/components/Header.d.ts +0 -6
  303. package/dist/src/tui/components/Header.js +0 -18
  304. package/dist/src/tui/components/Header.js.map +0 -1
  305. package/dist/src/tui/components/Header.spec.js +0 -38
  306. package/dist/src/tui/components/Header.spec.js.map +0 -1
  307. package/dist/src/tui/components/ProgressBar.d.ts +0 -7
  308. package/dist/src/tui/components/ProgressBar.js +0 -12
  309. package/dist/src/tui/components/ProgressBar.js.map +0 -1
  310. package/dist/src/tui/components/ProgressBar.spec.js +0 -37
  311. package/dist/src/tui/components/ProgressBar.spec.js.map +0 -1
  312. package/dist/src/tui/components/StatusBar.d.ts +0 -8
  313. package/dist/src/tui/components/StatusBar.js +0 -29
  314. package/dist/src/tui/components/StatusBar.js.map +0 -1
  315. package/dist/src/tui/components/StatusBar.spec.js +0 -93
  316. package/dist/src/tui/components/StatusBar.spec.js.map +0 -1
  317. package/dist/src/tui/components/agent-card.pure.d.ts +0 -7
  318. package/dist/src/tui/components/agent-card.pure.js +0 -65
  319. package/dist/src/tui/components/agent-card.pure.js.map +0 -1
  320. package/dist/src/tui/components/agent-grid.pure.d.ts +0 -3
  321. package/dist/src/tui/components/agent-grid.pure.js +0 -35
  322. package/dist/src/tui/components/agent-grid.pure.js.map +0 -1
  323. package/dist/src/tui/components/agent-mini-card.pure.d.ts +0 -2
  324. package/dist/src/tui/components/agent-mini-card.pure.js +0 -17
  325. package/dist/src/tui/components/agent-mini-card.pure.js.map +0 -1
  326. package/dist/src/tui/components/agent-tree.pure.d.ts +0 -18
  327. package/dist/src/tui/components/agent-tree.pure.js +0 -41
  328. package/dist/src/tui/components/agent-tree.pure.js.map +0 -1
  329. package/dist/src/tui/components/category-row.pure.d.ts +0 -3
  330. package/dist/src/tui/components/category-row.pure.js +0 -26
  331. package/dist/src/tui/components/category-row.pure.js.map +0 -1
  332. package/dist/src/tui/components/header.pure.d.ts +0 -4
  333. package/dist/src/tui/components/header.pure.js.map +0 -1
  334. package/dist/src/tui/components/progress-bar.pure.d.ts +0 -2
  335. package/dist/src/tui/components/progress-bar.pure.js +0 -21
  336. package/dist/src/tui/components/progress-bar.pure.js.map +0 -1
  337. package/dist/src/tui/components/status-bar.pure.d.ts +0 -15
  338. package/dist/src/tui/components/status-bar.pure.js +0 -83
  339. package/dist/src/tui/components/status-bar.pure.js.map +0 -1
  340. package/dist/src/tui/hooks/use-agent-state.d.ts +0 -7
  341. package/dist/src/tui/hooks/use-agent-state.js +0 -13
  342. package/dist/src/tui/hooks/use-agent-state.js.map +0 -1
  343. package/dist/src/tui/hooks/use-agent-state.spec.js +0 -167
  344. package/dist/src/tui/hooks/use-agent-state.spec.js.map +0 -1
  345. package/dist/src/tui/hooks/use-event-bus.d.ts +0 -34
  346. package/dist/src/tui/hooks/use-event-bus.js +0 -91
  347. package/dist/src/tui/hooks/use-event-bus.js.map +0 -1
  348. package/dist/src/tui/hooks/use-event-bus.spec.d.ts +0 -1
  349. package/dist/src/tui/hooks/use-event-bus.spec.js +0 -362
  350. package/dist/src/tui/hooks/use-event-bus.spec.js.map +0 -1
  351. package/dist/src/tui/utils/constants.d.ts +0 -3
  352. package/dist/src/tui/utils/constants.js +0 -15
  353. package/dist/src/tui/utils/constants.js.map +0 -1
  354. /package/dist/src/tui/{app.spec.d.ts → components/ActivityVisualizer.spec.d.ts} +0 -0
  355. /package/dist/src/tui/components/{AgentCard.spec.d.ts → ChecklistPanel.spec.d.ts} +0 -0
  356. /package/dist/src/tui/components/{AgentGrid.spec.d.ts → FlowMap.spec.d.ts} +0 -0
  357. /package/dist/src/tui/components/{AgentTree.spec.d.ts → FocusedAgentPanel.spec.d.ts} +0 -0
  358. /package/dist/src/tui/components/{CategoryRow.spec.d.ts → HeaderBar.spec.d.ts} +0 -0
  359. /package/dist/src/tui/components/{Header.spec.d.ts → SessionTabBar.spec.d.ts} +0 -0
  360. /package/dist/src/tui/components/{ProgressBar.spec.d.ts → StageHealthBar.spec.d.ts} +0 -0
  361. /package/dist/src/tui/{components/StatusBar.spec.d.ts → dashboard-app.spec.d.ts} +0 -0
  362. /package/dist/src/tui/{hooks/use-agent-state.spec.d.ts → multi-session-app.spec.d.ts} +0 -0
@@ -1,362 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const react_1 = require("react");
4
- const vitest_1 = require("vitest");
5
- const ink_testing_library_1 = require("ink-testing-library");
6
- const ink_1 = require("ink");
7
- const events_1 = require("../events");
8
- const use_event_bus_1 = require("./use-event-bus");
9
- (0, vitest_1.describe)('eventBusReducer', () => {
10
- (0, vitest_1.describe)('AGENT_ACTIVATED', () => {
11
- (0, vitest_1.it)('should add agent with running status', () => {
12
- const action = {
13
- type: 'AGENT_ACTIVATED',
14
- payload: {
15
- agentId: 'a1',
16
- name: 'security',
17
- role: 'specialist',
18
- isPrimary: true,
19
- },
20
- };
21
- const state = (0, use_event_bus_1.eventBusReducer)(use_event_bus_1.initialState, action);
22
- (0, vitest_1.expect)(state.agents).toHaveLength(1);
23
- (0, vitest_1.expect)(state.agents[0]).toEqual({
24
- id: 'a1',
25
- name: 'security',
26
- role: 'specialist',
27
- status: 'running',
28
- progress: 0,
29
- isPrimary: true,
30
- });
31
- });
32
- (0, vitest_1.it)('should update existing agent to running on re-activation', () => {
33
- const prev = {
34
- ...use_event_bus_1.initialState,
35
- agents: [
36
- {
37
- id: 'a1',
38
- name: 'security',
39
- role: 'specialist',
40
- status: 'completed',
41
- progress: 100,
42
- isPrimary: false,
43
- },
44
- ],
45
- };
46
- const action = {
47
- type: 'AGENT_ACTIVATED',
48
- payload: {
49
- agentId: 'a1',
50
- name: 'security',
51
- role: 'specialist',
52
- isPrimary: true,
53
- },
54
- };
55
- const state = (0, use_event_bus_1.eventBusReducer)(prev, action);
56
- (0, vitest_1.expect)(state.agents).toHaveLength(1);
57
- (0, vitest_1.expect)(state.agents[0].status).toBe('running');
58
- (0, vitest_1.expect)(state.agents[0].isPrimary).toBe(true);
59
- });
60
- (0, vitest_1.it)('should not mutate previous state', () => {
61
- const action = {
62
- type: 'AGENT_ACTIVATED',
63
- payload: {
64
- agentId: 'a1',
65
- name: 'security',
66
- role: 'specialist',
67
- isPrimary: false,
68
- },
69
- };
70
- const prev = { ...use_event_bus_1.initialState };
71
- (0, use_event_bus_1.eventBusReducer)(prev, action);
72
- (0, vitest_1.expect)(prev.agents).toHaveLength(0);
73
- });
74
- });
75
- (0, vitest_1.describe)('AGENT_DEACTIVATED', () => {
76
- (0, vitest_1.it)('should set agent status to completed', () => {
77
- const prev = {
78
- ...use_event_bus_1.initialState,
79
- agents: [
80
- {
81
- id: 'a1',
82
- name: 'security',
83
- role: 'specialist',
84
- status: 'running',
85
- progress: 0,
86
- isPrimary: true,
87
- },
88
- ],
89
- };
90
- const action = {
91
- type: 'AGENT_DEACTIVATED',
92
- payload: { agentId: 'a1', reason: 'completed', durationMs: 500 },
93
- };
94
- const state = (0, use_event_bus_1.eventBusReducer)(prev, action);
95
- (0, vitest_1.expect)(state.agents[0].status).toBe('completed');
96
- });
97
- (0, vitest_1.it)('should set agent status to failed on error reason', () => {
98
- const prev = {
99
- ...use_event_bus_1.initialState,
100
- agents: [
101
- {
102
- id: 'a1',
103
- name: 'security',
104
- role: 'specialist',
105
- status: 'running',
106
- progress: 0,
107
- isPrimary: true,
108
- },
109
- ],
110
- };
111
- const action = {
112
- type: 'AGENT_DEACTIVATED',
113
- payload: { agentId: 'a1', reason: 'error', durationMs: 100 },
114
- };
115
- const state = (0, use_event_bus_1.eventBusReducer)(prev, action);
116
- (0, vitest_1.expect)(state.agents[0].status).toBe('failed');
117
- });
118
- (0, vitest_1.it)('should return same state for unknown agent', () => {
119
- const action = {
120
- type: 'AGENT_DEACTIVATED',
121
- payload: { agentId: 'unknown', reason: 'completed', durationMs: 0 },
122
- };
123
- const state = (0, use_event_bus_1.eventBusReducer)(use_event_bus_1.initialState, action);
124
- (0, vitest_1.expect)(state).toBe(use_event_bus_1.initialState);
125
- });
126
- });
127
- (0, vitest_1.describe)('MODE_CHANGED', () => {
128
- (0, vitest_1.it)('should update mode', () => {
129
- const action = {
130
- type: 'MODE_CHANGED',
131
- payload: { from: null, to: 'PLAN' },
132
- };
133
- const state = (0, use_event_bus_1.eventBusReducer)(use_event_bus_1.initialState, action);
134
- (0, vitest_1.expect)(state.mode).toBe('PLAN');
135
- });
136
- (0, vitest_1.it)('should update mode from previous value', () => {
137
- const prev = { ...use_event_bus_1.initialState, mode: 'PLAN' };
138
- const action = {
139
- type: 'MODE_CHANGED',
140
- payload: { from: 'PLAN', to: 'ACT' },
141
- };
142
- const state = (0, use_event_bus_1.eventBusReducer)(prev, action);
143
- (0, vitest_1.expect)(state.mode).toBe('ACT');
144
- });
145
- });
146
- (0, vitest_1.describe)('SKILL_RECOMMENDED', () => {
147
- (0, vitest_1.it)('should append skill to list', () => {
148
- const action = {
149
- type: 'SKILL_RECOMMENDED',
150
- payload: { skillName: 'brainstorming', reason: 'creative task' },
151
- };
152
- const state = (0, use_event_bus_1.eventBusReducer)(use_event_bus_1.initialState, action);
153
- (0, vitest_1.expect)(state.skills).toHaveLength(1);
154
- (0, vitest_1.expect)(state.skills[0]).toEqual({
155
- skillName: 'brainstorming',
156
- reason: 'creative task',
157
- });
158
- });
159
- (0, vitest_1.it)('should not replace existing skills', () => {
160
- const prev = {
161
- ...use_event_bus_1.initialState,
162
- skills: [{ skillName: 'tdd', reason: 'testing' }],
163
- };
164
- const action = {
165
- type: 'SKILL_RECOMMENDED',
166
- payload: { skillName: 'brainstorming', reason: 'creative task' },
167
- };
168
- const state = (0, use_event_bus_1.eventBusReducer)(prev, action);
169
- (0, vitest_1.expect)(state.skills).toHaveLength(2);
170
- });
171
- });
172
- (0, vitest_1.describe)('PARALLEL_STARTED', () => {
173
- (0, vitest_1.it)('should return state unchanged', () => {
174
- const action = {
175
- type: 'PARALLEL_STARTED',
176
- payload: { specialists: ['security', 'perf'], mode: 'EVAL' },
177
- };
178
- const state = (0, use_event_bus_1.eventBusReducer)(use_event_bus_1.initialState, action);
179
- (0, vitest_1.expect)(state).toBe(use_event_bus_1.initialState);
180
- });
181
- });
182
- (0, vitest_1.describe)('PARALLEL_COMPLETED', () => {
183
- (0, vitest_1.it)('should return state unchanged', () => {
184
- const action = {
185
- type: 'PARALLEL_COMPLETED',
186
- payload: {
187
- specialists: ['security'],
188
- results: { security: 'done' },
189
- },
190
- };
191
- const state = (0, use_event_bus_1.eventBusReducer)(use_event_bus_1.initialState, action);
192
- (0, vitest_1.expect)(state).toBe(use_event_bus_1.initialState);
193
- });
194
- });
195
- (0, vitest_1.describe)('AGENTS_LOADED', () => {
196
- (0, vitest_1.it)('should store all agent metadata', () => {
197
- const agents = [
198
- {
199
- id: 'frontend-developer',
200
- name: 'Frontend Developer',
201
- description: 'desc',
202
- category: 'Frontend',
203
- icon: '🎨',
204
- expertise: ['React'],
205
- },
206
- {
207
- id: 'security-specialist',
208
- name: 'Security Specialist',
209
- description: 'desc',
210
- category: 'Security',
211
- icon: '🔒',
212
- expertise: ['OWASP'],
213
- },
214
- ];
215
- const action = {
216
- type: 'AGENTS_LOADED',
217
- payload: { agents },
218
- };
219
- const state = (0, use_event_bus_1.eventBusReducer)(use_event_bus_1.initialState, action);
220
- (0, vitest_1.expect)(state.allAgents).toHaveLength(2);
221
- (0, vitest_1.expect)(state.allAgents[0].id).toBe('frontend-developer');
222
- });
223
- });
224
- });
225
- function TestComponent({ eventBus }) {
226
- const { agents, mode, skills, allAgents } = (0, use_event_bus_1.useEventBus)(eventBus);
227
- return (react_1.default.createElement(ink_1.Text, null, JSON.stringify({
228
- agentCount: agents.length,
229
- mode,
230
- skillCount: skills.length,
231
- agentNames: agents.map(a => a.name),
232
- allAgentCount: allAgents.length,
233
- })));
234
- }
235
- const tick = () => new Promise(resolve => setTimeout(resolve, 0));
236
- (0, vitest_1.describe)('useEventBus', () => {
237
- let eventBus;
238
- (0, vitest_1.beforeEach)(() => {
239
- eventBus = new events_1.TuiEventBus();
240
- });
241
- (0, vitest_1.it)('should return initial state', () => {
242
- const { lastFrame } = (0, ink_testing_library_1.render)(react_1.default.createElement(TestComponent, { eventBus: eventBus }));
243
- (0, vitest_1.expect)(lastFrame()).toContain('"agentCount":0');
244
- (0, vitest_1.expect)(lastFrame()).toContain('"mode":null');
245
- (0, vitest_1.expect)(lastFrame()).toContain('"skillCount":0');
246
- });
247
- (0, vitest_1.it)('should update agents on AGENT_ACTIVATED event', async () => {
248
- const { lastFrame } = (0, ink_testing_library_1.render)(react_1.default.createElement(TestComponent, { eventBus: eventBus }));
249
- eventBus.emit(events_1.TUI_EVENTS.AGENT_ACTIVATED, {
250
- agentId: 'a1',
251
- name: 'security',
252
- role: 'specialist',
253
- isPrimary: true,
254
- });
255
- await tick();
256
- (0, vitest_1.expect)(lastFrame()).toContain('"agentCount":1');
257
- (0, vitest_1.expect)(lastFrame()).toContain('security');
258
- });
259
- (0, vitest_1.it)('should update mode on MODE_CHANGED event', async () => {
260
- const { lastFrame } = (0, ink_testing_library_1.render)(react_1.default.createElement(TestComponent, { eventBus: eventBus }));
261
- eventBus.emit(events_1.TUI_EVENTS.MODE_CHANGED, { from: null, to: 'PLAN' });
262
- await tick();
263
- (0, vitest_1.expect)(lastFrame()).toContain('"mode":"PLAN"');
264
- });
265
- (0, vitest_1.it)('should update skills on SKILL_RECOMMENDED event', async () => {
266
- const { lastFrame } = (0, ink_testing_library_1.render)(react_1.default.createElement(TestComponent, { eventBus: eventBus }));
267
- eventBus.emit(events_1.TUI_EVENTS.SKILL_RECOMMENDED, {
268
- skillName: 'tdd',
269
- reason: 'testing',
270
- });
271
- await tick();
272
- (0, vitest_1.expect)(lastFrame()).toContain('"skillCount":1');
273
- });
274
- (0, vitest_1.it)('should handle agent lifecycle (activate then deactivate)', async () => {
275
- const { lastFrame } = (0, ink_testing_library_1.render)(react_1.default.createElement(TestComponent, { eventBus: eventBus }));
276
- eventBus.emit(events_1.TUI_EVENTS.AGENT_ACTIVATED, {
277
- agentId: 'a1',
278
- name: 'security',
279
- role: 'specialist',
280
- isPrimary: true,
281
- });
282
- await tick();
283
- (0, vitest_1.expect)(lastFrame()).toContain('"agentCount":1');
284
- eventBus.emit(events_1.TUI_EVENTS.AGENT_DEACTIVATED, {
285
- agentId: 'a1',
286
- reason: 'completed',
287
- durationMs: 300,
288
- });
289
- await tick();
290
- (0, vitest_1.expect)(lastFrame()).toContain('"agentCount":1');
291
- });
292
- (0, vitest_1.it)('should cleanup listeners on unmount', () => {
293
- const { unmount } = (0, ink_testing_library_1.render)(react_1.default.createElement(TestComponent, { eventBus: eventBus }));
294
- (0, vitest_1.expect)(eventBus.listenerCount(events_1.TUI_EVENTS.AGENT_ACTIVATED)).toBeGreaterThan(0);
295
- (0, vitest_1.expect)(eventBus.listenerCount(events_1.TUI_EVENTS.MODE_CHANGED)).toBeGreaterThan(0);
296
- unmount();
297
- (0, vitest_1.expect)(eventBus.listenerCount(events_1.TUI_EVENTS.AGENT_ACTIVATED)).toBe(0);
298
- (0, vitest_1.expect)(eventBus.listenerCount(events_1.TUI_EVENTS.AGENT_DEACTIVATED)).toBe(0);
299
- (0, vitest_1.expect)(eventBus.listenerCount(events_1.TUI_EVENTS.MODE_CHANGED)).toBe(0);
300
- (0, vitest_1.expect)(eventBus.listenerCount(events_1.TUI_EVENTS.SKILL_RECOMMENDED)).toBe(0);
301
- (0, vitest_1.expect)(eventBus.listenerCount(events_1.TUI_EVENTS.PARALLEL_STARTED)).toBe(0);
302
- (0, vitest_1.expect)(eventBus.listenerCount(events_1.TUI_EVENTS.PARALLEL_COMPLETED)).toBe(0);
303
- (0, vitest_1.expect)(eventBus.listenerCount(events_1.TUI_EVENTS.AGENTS_LOADED)).toBe(0);
304
- });
305
- (0, vitest_1.it)('should handle PARALLEL_STARTED event without error', async () => {
306
- const { lastFrame } = (0, ink_testing_library_1.render)(react_1.default.createElement(TestComponent, { eventBus: eventBus }));
307
- eventBus.emit(events_1.TUI_EVENTS.PARALLEL_STARTED, {
308
- specialists: ['security', 'perf'],
309
- mode: 'EVAL',
310
- });
311
- await tick();
312
- (0, vitest_1.expect)(lastFrame()).toContain('"agentCount":0');
313
- (0, vitest_1.expect)(lastFrame()).toContain('"mode":null');
314
- });
315
- (0, vitest_1.it)('should handle PARALLEL_COMPLETED event without error', async () => {
316
- const { lastFrame } = (0, ink_testing_library_1.render)(react_1.default.createElement(TestComponent, { eventBus: eventBus }));
317
- eventBus.emit(events_1.TUI_EVENTS.PARALLEL_COMPLETED, {
318
- specialists: ['security'],
319
- results: { security: 'done' },
320
- });
321
- await tick();
322
- (0, vitest_1.expect)(lastFrame()).toContain('"agentCount":0');
323
- });
324
- (0, vitest_1.it)('should update allAgents on AGENTS_LOADED event', async () => {
325
- const { lastFrame } = (0, ink_testing_library_1.render)(react_1.default.createElement(TestComponent, { eventBus: eventBus }));
326
- eventBus.emit(events_1.TUI_EVENTS.AGENTS_LOADED, {
327
- agents: [
328
- {
329
- id: 'fe',
330
- name: 'FE',
331
- description: 'd',
332
- category: 'Frontend',
333
- icon: '🎨',
334
- expertise: [],
335
- },
336
- ],
337
- });
338
- await tick();
339
- (0, vitest_1.expect)(lastFrame()).toContain('"allAgentCount":1');
340
- });
341
- });
342
- function UndefinedTestComponent() {
343
- const { agents, mode, skills } = (0, use_event_bus_1.useEventBus)(undefined);
344
- return (react_1.default.createElement(ink_1.Text, null, JSON.stringify({
345
- agentCount: agents.length,
346
- mode,
347
- skillCount: skills.length,
348
- })));
349
- }
350
- (0, vitest_1.describe)('useEventBus with undefined eventBus', () => {
351
- (0, vitest_1.it)('should return initial state when eventBus is undefined', () => {
352
- const { lastFrame } = (0, ink_testing_library_1.render)(react_1.default.createElement(UndefinedTestComponent, null));
353
- (0, vitest_1.expect)(lastFrame()).toContain('"agentCount":0');
354
- (0, vitest_1.expect)(lastFrame()).toContain('"mode":null');
355
- (0, vitest_1.expect)(lastFrame()).toContain('"skillCount":0');
356
- });
357
- (0, vitest_1.it)('should not register any listeners', () => {
358
- const { unmount } = (0, ink_testing_library_1.render)(react_1.default.createElement(UndefinedTestComponent, null));
359
- unmount();
360
- });
361
- });
362
- //# sourceMappingURL=use-event-bus.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-event-bus.spec.js","sourceRoot":"","sources":["../../../../src/tui/hooks/use-event-bus.spec.tsx"],"names":[],"mappings":";;AAAA,iCAA0B;AAC1B,mCAA0D;AAC1D,6DAA6C;AAC7C,6BAA2B;AAC3B,sCAAwE;AACxE,mDAMyB;AAEzB,IAAA,iBAAQ,EAAC,iBAAiB,EAAE,GAAG,EAAE;IAC/B,IAAA,iBAAQ,EAAC,iBAAiB,EAAE,GAAG,EAAE;QAC/B,IAAA,WAAE,EAAC,sCAAsC,EAAE,GAAG,EAAE;YAC9C,MAAM,MAAM,GAAmB;gBAC7B,IAAI,EAAE,iBAAiB;gBACvB,OAAO,EAAE;oBACP,OAAO,EAAE,IAAI;oBACb,IAAI,EAAE,UAAU;oBAChB,IAAI,EAAE,YAAY;oBAClB,SAAS,EAAE,IAAI;iBAChB;aACF,CAAC;YACF,MAAM,KAAK,GAAG,IAAA,+BAAe,EAAC,4BAAY,EAAE,MAAM,CAAC,CAAC;YAEpD,IAAA,eAAM,EAAC,KAAK,CAAC,MAAM,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;YACrC,IAAA,eAAM,EAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;gBAC9B,EAAE,EAAE,IAAI;gBACR,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,YAAY;gBAClB,MAAM,EAAE,SAAS;gBACjB,QAAQ,EAAE,CAAC;gBACX,SAAS,EAAE,IAAI;aAChB,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;QAEH,IAAA,WAAE,EAAC,0DAA0D,EAAE,GAAG,EAAE;YAClE,MAAM,IAAI,GAAkB;gBAC1B,GAAG,4BAAY;gBACf,MAAM,EAAE;oBACN;wBACE,EAAE,EAAE,IAAI;wBACR,IAAI,EAAE,UAAU;wBAChB,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AE,SAAS,EAAE,GAAG,IAAA,4BAAM,EAAC,8BAAC,sBAAsB,OAAG,CAAC,CAAC;QAEzD,IAAA,eAAM,EAAC,SAAS,EAAE,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;QAChD,IAAA,eAAM,EAAC,SAAS,EAAE,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;QAC7C,IAAA,eAAM,EAAC,SAAS,EAAE,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAClD,CAAC,CAAC,CAAC;IAEH,IAAA,WAAE,EAAC,mCAAmC,EAAE,GAAG,EAAE;QAC3C,MAAM,EAAE,OAAO,EAAE,GAAG,IAAA,4BAAM,EAAC,8BAAC,sBAAsB,OAAG,CAAC,CAAC;QAEvD,OAAO,EAAE,CAAC;IACZ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { Mode } from '../types';
2
- export declare const MODE_COLORS: Readonly<Record<Mode, string>>;
3
- export declare function getModeColor(mode: string): string;
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MODE_COLORS = void 0;
4
- exports.getModeColor = getModeColor;
5
- exports.MODE_COLORS = Object.freeze({
6
- PLAN: 'blue',
7
- ACT: 'green',
8
- EVAL: 'yellow',
9
- AUTO: 'magenta',
10
- });
11
- const DEFAULT_MODE_COLOR = 'blue';
12
- function getModeColor(mode) {
13
- return exports.MODE_COLORS[mode] ?? DEFAULT_MODE_COLOR;
14
- }
15
- //# sourceMappingURL=constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/tui/utils/constants.ts"],"names":[],"mappings":";;;AAWA,oCAEC;AAXY,QAAA,WAAW,GAAmC,MAAM,CAAC,MAAM,CAAC;IACvE,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,OAAO;IACZ,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,SAAS;CAChB,CAAC,CAAC;AAEH,MAAM,kBAAkB,GAAG,MAAM,CAAC;AAElC,SAAgB,YAAY,CAAC,IAAY;IACvC,OAAO,mBAAW,CAAC,IAAY,CAAC,IAAI,kBAAkB,CAAC;AACzD,CAAC"}