jumbo-cli 3.2.1 → 3.4.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 (488) hide show
  1. package/README.md +3 -3
  2. package/dist/application/context/goals/codify/CodifierProcessManager.d.ts.map +1 -1
  3. package/dist/application/context/goals/codify/CodifierProcessManager.js +9 -3
  4. package/dist/application/context/goals/codify/CodifierProcessManager.js.map +1 -1
  5. package/dist/application/context/goals/query/GoalBacklogPreviewItem.d.ts +8 -0
  6. package/dist/application/context/goals/query/GoalBacklogPreviewItem.d.ts.map +1 -0
  7. package/dist/application/context/goals/query/GoalBacklogPreviewItem.js +2 -0
  8. package/dist/application/context/goals/query/GoalBacklogPreviewItem.js.map +1 -0
  9. package/dist/application/context/goals/query/GoalBacklogPreviewQueryHandler.d.ts +9 -0
  10. package/dist/application/context/goals/query/GoalBacklogPreviewQueryHandler.d.ts.map +1 -0
  11. package/dist/application/context/goals/query/GoalBacklogPreviewQueryHandler.js +42 -0
  12. package/dist/application/context/goals/query/GoalBacklogPreviewQueryHandler.js.map +1 -0
  13. package/dist/application/context/goals/refine/RefinerProcessManager.d.ts.map +1 -1
  14. package/dist/application/context/goals/refine/RefinerProcessManager.js +19 -3
  15. package/dist/application/context/goals/refine/RefinerProcessManager.js.map +1 -1
  16. package/dist/application/context/goals/review/ReviewerProcessManager.d.ts.map +1 -1
  17. package/dist/application/context/goals/review/ReviewerProcessManager.js +16 -3
  18. package/dist/application/context/goals/review/ReviewerProcessManager.js.map +1 -1
  19. package/dist/application/context/sessions/start/LocalStartSessionGateway.d.ts +5 -1
  20. package/dist/application/context/sessions/start/LocalStartSessionGateway.d.ts.map +1 -1
  21. package/dist/application/context/sessions/start/LocalStartSessionGateway.js +11 -2
  22. package/dist/application/context/sessions/start/LocalStartSessionGateway.js.map +1 -1
  23. package/dist/application/context/sessions/start/SessionStartResponse.d.ts +2 -0
  24. package/dist/application/context/sessions/start/SessionStartResponse.d.ts.map +1 -1
  25. package/dist/application/host/IApplicationContainer.d.ts +2 -0
  26. package/dist/application/host/IApplicationContainer.d.ts.map +1 -1
  27. package/dist/application/settings/Settings.d.ts +15 -0
  28. package/dist/application/settings/Settings.d.ts.map +1 -1
  29. package/dist/application/settings/Settings.js +4 -0
  30. package/dist/application/settings/Settings.js.map +1 -1
  31. package/dist/domain/architecture/define/ArchitectureDefinedEvent.d.ts +2 -1
  32. package/dist/domain/architecture/define/ArchitectureDefinedEvent.d.ts.map +1 -1
  33. package/dist/domain/architecture/update/ArchitectureUpdatedEvent.d.ts +2 -1
  34. package/dist/domain/architecture/update/ArchitectureUpdatedEvent.d.ts.map +1 -1
  35. package/dist/domain/audience-pains/add/AudiencePainAddedEvent.d.ts +2 -1
  36. package/dist/domain/audience-pains/add/AudiencePainAddedEvent.d.ts.map +1 -1
  37. package/dist/domain/audience-pains/update/AudiencePainUpdatedEvent.d.ts +2 -1
  38. package/dist/domain/audience-pains/update/AudiencePainUpdatedEvent.d.ts.map +1 -1
  39. package/dist/domain/audiences/add/AudienceAddedEvent.d.ts +2 -2
  40. package/dist/domain/audiences/add/AudienceAddedEvent.d.ts.map +1 -1
  41. package/dist/domain/audiences/remove/AudienceRemovedEvent.d.ts +2 -1
  42. package/dist/domain/audiences/remove/AudienceRemovedEvent.d.ts.map +1 -1
  43. package/dist/domain/audiences/update/AudienceUpdatedEvent.d.ts +2 -2
  44. package/dist/domain/audiences/update/AudienceUpdatedEvent.d.ts.map +1 -1
  45. package/dist/domain/components/add/ComponentAddedEvent.d.ts +2 -2
  46. package/dist/domain/components/add/ComponentAddedEvent.d.ts.map +1 -1
  47. package/dist/domain/components/deprecate/ComponentDeprecatedEvent.d.ts +2 -2
  48. package/dist/domain/components/deprecate/ComponentDeprecatedEvent.d.ts.map +1 -1
  49. package/dist/domain/components/remove/ComponentRemovedEvent.d.ts +2 -2
  50. package/dist/domain/components/remove/ComponentRemovedEvent.d.ts.map +1 -1
  51. package/dist/domain/components/update/ComponentUpdatedEvent.d.ts +2 -2
  52. package/dist/domain/components/update/ComponentUpdatedEvent.d.ts.map +1 -1
  53. package/dist/domain/goals/unblock/GoalUnblockedEvent.d.ts +2 -2
  54. package/dist/domain/goals/unblock/GoalUnblockedEvent.d.ts.map +1 -1
  55. package/dist/domain/guidelines/add/GuidelineAddedEvent.d.ts +2 -2
  56. package/dist/domain/guidelines/add/GuidelineAddedEvent.d.ts.map +1 -1
  57. package/dist/domain/guidelines/remove/GuidelineRemovedEvent.d.ts +2 -1
  58. package/dist/domain/guidelines/remove/GuidelineRemovedEvent.d.ts.map +1 -1
  59. package/dist/domain/guidelines/update/GuidelineUpdatedEvent.d.ts +2 -2
  60. package/dist/domain/guidelines/update/GuidelineUpdatedEvent.d.ts.map +1 -1
  61. package/dist/domain/invariants/add/InvariantAddedEvent.d.ts +2 -1
  62. package/dist/domain/invariants/add/InvariantAddedEvent.d.ts.map +1 -1
  63. package/dist/domain/invariants/remove/InvariantRemovedEvent.d.ts +2 -1
  64. package/dist/domain/invariants/remove/InvariantRemovedEvent.d.ts.map +1 -1
  65. package/dist/domain/invariants/update/InvariantUpdatedEvent.d.ts +2 -1
  66. package/dist/domain/invariants/update/InvariantUpdatedEvent.d.ts.map +1 -1
  67. package/dist/domain/project/Constants.d.ts +7 -0
  68. package/dist/domain/project/Constants.d.ts.map +1 -1
  69. package/dist/domain/project/Constants.js +7 -0
  70. package/dist/domain/project/Constants.js.map +1 -1
  71. package/dist/domain/project/ProjectLifecyle.d.ts +7 -0
  72. package/dist/domain/project/ProjectLifecyle.d.ts.map +1 -0
  73. package/dist/domain/project/ProjectLifecyle.js +8 -0
  74. package/dist/domain/project/ProjectLifecyle.js.map +1 -0
  75. package/dist/domain/relations/Constants.d.ts +6 -0
  76. package/dist/domain/relations/Constants.d.ts.map +1 -1
  77. package/dist/domain/relations/Constants.js +6 -0
  78. package/dist/domain/relations/Constants.js.map +1 -1
  79. package/dist/domain/relations/Relation.d.ts +2 -2
  80. package/dist/domain/relations/Relation.d.ts.map +1 -1
  81. package/dist/domain/relations/Relation.js +10 -10
  82. package/dist/domain/relations/Relation.js.map +1 -1
  83. package/dist/domain/relations/add/RelationAddedEvent.d.ts +2 -2
  84. package/dist/domain/relations/add/RelationAddedEvent.d.ts.map +1 -1
  85. package/dist/domain/relations/remove/RelationRemovedEvent.d.ts +2 -2
  86. package/dist/domain/relations/remove/RelationRemovedEvent.d.ts.map +1 -1
  87. package/dist/domain/value-propositions/add/ValuePropositionAddedEvent.d.ts +2 -1
  88. package/dist/domain/value-propositions/add/ValuePropositionAddedEvent.d.ts.map +1 -1
  89. package/dist/domain/value-propositions/remove/ValuePropositionRemovedEvent.d.ts +2 -1
  90. package/dist/domain/value-propositions/remove/ValuePropositionRemovedEvent.d.ts.map +1 -1
  91. package/dist/domain/value-propositions/update/ValuePropositionUpdatedEvent.d.ts +2 -1
  92. package/dist/domain/value-propositions/update/ValuePropositionUpdatedEvent.d.ts.map +1 -1
  93. package/dist/infrastructure/agents/AgentCliGateway.d.ts.map +1 -1
  94. package/dist/infrastructure/agents/AgentCliGateway.js +30 -10
  95. package/dist/infrastructure/agents/AgentCliGateway.js.map +1 -1
  96. package/dist/infrastructure/context/project/init/CodexConfigurer.d.ts +19 -6
  97. package/dist/infrastructure/context/project/init/CodexConfigurer.d.ts.map +1 -1
  98. package/dist/infrastructure/context/project/init/CodexConfigurer.js +177 -9
  99. package/dist/infrastructure/context/project/init/CodexConfigurer.js.map +1 -1
  100. package/dist/infrastructure/host/HostBuilder.d.ts.map +1 -1
  101. package/dist/infrastructure/host/HostBuilder.js +4 -1
  102. package/dist/infrastructure/host/HostBuilder.js.map +1 -1
  103. package/dist/infrastructure/settings/DefaultSettings.d.ts.map +1 -1
  104. package/dist/infrastructure/settings/DefaultSettings.js +4 -1
  105. package/dist/infrastructure/settings/DefaultSettings.js.map +1 -1
  106. package/dist/infrastructure/settings/FsSettingsInitializer.d.ts.map +1 -1
  107. package/dist/infrastructure/settings/FsSettingsInitializer.js +6 -0
  108. package/dist/infrastructure/settings/FsSettingsInitializer.js.map +1 -1
  109. package/dist/infrastructure/settings/FsSettingsReader.d.ts.map +1 -1
  110. package/dist/infrastructure/settings/FsSettingsReader.js +10 -0
  111. package/dist/infrastructure/settings/FsSettingsReader.js.map +1 -1
  112. package/dist/presentation/cli/commands/sessions/start/SessionStartOutputBuilder.d.ts +2 -0
  113. package/dist/presentation/cli/commands/sessions/start/SessionStartOutputBuilder.d.ts.map +1 -1
  114. package/dist/presentation/cli/commands/sessions/start/SessionStartOutputBuilder.js +9 -1
  115. package/dist/presentation/cli/commands/sessions/start/SessionStartOutputBuilder.js.map +1 -1
  116. package/dist/presentation/tui/Constants.d.ts +18 -0
  117. package/dist/presentation/tui/Constants.d.ts.map +1 -0
  118. package/dist/presentation/tui/Constants.js +28 -0
  119. package/dist/presentation/tui/Constants.js.map +1 -0
  120. package/dist/presentation/tui/action-dispatch/TuiActionDispatcher.d.ts +4 -10
  121. package/dist/presentation/tui/action-dispatch/TuiActionDispatcher.d.ts.map +1 -1
  122. package/dist/presentation/tui/action-dispatch/TuiActionDispatcher.js +17 -20
  123. package/dist/presentation/tui/action-dispatch/TuiActionDispatcher.js.map +1 -1
  124. package/dist/presentation/tui/action-dispatch/TuiActionErrorNormalizer.d.ts +4 -0
  125. package/dist/presentation/tui/action-dispatch/TuiActionErrorNormalizer.d.ts.map +1 -0
  126. package/dist/presentation/tui/action-dispatch/TuiActionErrorNormalizer.js +9 -0
  127. package/dist/presentation/tui/action-dispatch/TuiActionErrorNormalizer.js.map +1 -0
  128. package/dist/presentation/tui/action-dispatch/TuiActionResult.d.ts +8 -0
  129. package/dist/presentation/tui/action-dispatch/TuiActionResult.d.ts.map +1 -0
  130. package/dist/presentation/tui/action-dispatch/TuiActionResult.js +2 -0
  131. package/dist/presentation/tui/action-dispatch/TuiActionResult.js.map +1 -0
  132. package/dist/presentation/tui/action-dispatch/TuiRequestController.d.ts +4 -0
  133. package/dist/presentation/tui/action-dispatch/TuiRequestController.d.ts.map +1 -0
  134. package/dist/presentation/tui/action-dispatch/TuiRequestController.js +2 -0
  135. package/dist/presentation/tui/action-dispatch/TuiRequestController.js.map +1 -0
  136. package/dist/presentation/tui/application-shell/Footer.d.ts +2 -6
  137. package/dist/presentation/tui/application-shell/Footer.d.ts.map +1 -1
  138. package/dist/presentation/tui/application-shell/Footer.js +16 -12
  139. package/dist/presentation/tui/application-shell/Footer.js.map +1 -1
  140. package/dist/presentation/tui/application-shell/FooterShortcutDescriptor.d.ts +16 -0
  141. package/dist/presentation/tui/application-shell/FooterShortcutDescriptor.d.ts.map +1 -0
  142. package/dist/presentation/tui/application-shell/FooterShortcutDescriptor.js +10 -0
  143. package/dist/presentation/tui/application-shell/FooterShortcutDescriptor.js.map +1 -0
  144. package/dist/presentation/tui/application-shell/FooterUnreadNotificationCounter.d.ts +3 -0
  145. package/dist/presentation/tui/application-shell/FooterUnreadNotificationCounter.d.ts.map +1 -0
  146. package/dist/presentation/tui/application-shell/FooterUnreadNotificationCounter.js +4 -0
  147. package/dist/presentation/tui/application-shell/FooterUnreadNotificationCounter.js.map +1 -0
  148. package/dist/presentation/tui/application-shell/Header.d.ts.map +1 -1
  149. package/dist/presentation/tui/application-shell/Header.js +4 -3
  150. package/dist/presentation/tui/application-shell/Header.js.map +1 -1
  151. package/dist/presentation/tui/application-shell/HeaderConstants.d.ts +6 -0
  152. package/dist/presentation/tui/application-shell/HeaderConstants.d.ts.map +1 -0
  153. package/dist/presentation/tui/application-shell/HeaderConstants.js +6 -0
  154. package/dist/presentation/tui/application-shell/HeaderConstants.js.map +1 -0
  155. package/dist/presentation/tui/application-shell/TuiApp.d.ts +1 -1
  156. package/dist/presentation/tui/application-shell/TuiApp.d.ts.map +1 -1
  157. package/dist/presentation/tui/application-shell/TuiApp.js +26 -23
  158. package/dist/presentation/tui/application-shell/TuiApp.js.map +1 -1
  159. package/dist/presentation/tui/application-shell/TuiAppConstants.d.ts +18 -0
  160. package/dist/presentation/tui/application-shell/TuiAppConstants.d.ts.map +1 -0
  161. package/dist/presentation/tui/application-shell/TuiAppConstants.js +18 -0
  162. package/dist/presentation/tui/application-shell/TuiAppConstants.js.map +1 -0
  163. package/dist/presentation/tui/application-shell/useFooterNotificationDismissal.d.ts +6 -0
  164. package/dist/presentation/tui/application-shell/useFooterNotificationDismissal.d.ts.map +1 -0
  165. package/dist/presentation/tui/application-shell/useFooterNotificationDismissal.js +9 -0
  166. package/dist/presentation/tui/application-shell/useFooterNotificationDismissal.js.map +1 -0
  167. package/dist/presentation/tui/billboard/AnimatedBillboard.d.ts.map +1 -1
  168. package/dist/presentation/tui/billboard/AnimatedBillboard.js +26 -100
  169. package/dist/presentation/tui/billboard/AnimatedBillboard.js.map +1 -1
  170. package/dist/presentation/tui/billboard/AnimatedBillboardPalette.d.ts +31 -0
  171. package/dist/presentation/tui/billboard/AnimatedBillboardPalette.d.ts.map +1 -0
  172. package/dist/presentation/tui/billboard/AnimatedBillboardPalette.js +54 -0
  173. package/dist/presentation/tui/billboard/AnimatedBillboardPalette.js.map +1 -0
  174. package/dist/presentation/tui/billboard/AnimatedBillboardPhase.d.ts +8 -0
  175. package/dist/presentation/tui/billboard/AnimatedBillboardPhase.d.ts.map +1 -0
  176. package/dist/presentation/tui/billboard/AnimatedBillboardPhase.js +7 -0
  177. package/dist/presentation/tui/billboard/AnimatedBillboardPhase.js.map +1 -0
  178. package/dist/presentation/tui/billboard/AnimatedBillboardStickerArt.d.ts +2 -0
  179. package/dist/presentation/tui/billboard/AnimatedBillboardStickerArt.d.ts.map +1 -0
  180. package/dist/presentation/tui/billboard/AnimatedBillboardStickerArt.js +17 -0
  181. package/dist/presentation/tui/billboard/AnimatedBillboardStickerArt.js.map +1 -0
  182. package/dist/presentation/tui/billboard/AnimatedBillboardWordmarkArt.d.ts +2 -0
  183. package/dist/presentation/tui/billboard/AnimatedBillboardWordmarkArt.d.ts.map +1 -0
  184. package/dist/presentation/tui/billboard/AnimatedBillboardWordmarkArt.js +10 -0
  185. package/dist/presentation/tui/billboard/AnimatedBillboardWordmarkArt.js.map +1 -0
  186. package/dist/presentation/tui/cockpit/CockpitDaemonConfiguration.d.ts +1 -2
  187. package/dist/presentation/tui/cockpit/CockpitDaemonConfiguration.d.ts.map +1 -1
  188. package/dist/presentation/tui/cockpit/CockpitDaemonConfiguration.js +4 -5
  189. package/dist/presentation/tui/cockpit/CockpitDaemonConfiguration.js.map +1 -1
  190. package/dist/presentation/tui/cockpit/CockpitDaemonEvents.d.ts.map +1 -1
  191. package/dist/presentation/tui/cockpit/CockpitDaemonEvents.js +23 -15
  192. package/dist/presentation/tui/cockpit/CockpitDaemonEvents.js.map +1 -1
  193. package/dist/presentation/tui/cockpit/CockpitDaemonFrames.d.ts +4 -4
  194. package/dist/presentation/tui/cockpit/CockpitDaemonFrames.d.ts.map +1 -1
  195. package/dist/presentation/tui/cockpit/CockpitDaemonFrames.js +5 -2
  196. package/dist/presentation/tui/cockpit/CockpitDaemonFrames.js.map +1 -1
  197. package/dist/presentation/tui/cockpit/CockpitDaemonPanel.d.ts +6 -17
  198. package/dist/presentation/tui/cockpit/CockpitDaemonPanel.d.ts.map +1 -1
  199. package/dist/presentation/tui/cockpit/CockpitDaemonPanel.js +20 -75
  200. package/dist/presentation/tui/cockpit/CockpitDaemonPanel.js.map +1 -1
  201. package/dist/presentation/tui/cockpit/CockpitDaemonPanelCopy.d.ts +12 -0
  202. package/dist/presentation/tui/cockpit/CockpitDaemonPanelCopy.d.ts.map +1 -0
  203. package/dist/presentation/tui/cockpit/CockpitDaemonPanelCopy.js +12 -0
  204. package/dist/presentation/tui/cockpit/CockpitDaemonPanelCopy.js.map +1 -0
  205. package/dist/presentation/tui/cockpit/CockpitDaemonSnapshot.d.ts +10 -0
  206. package/dist/presentation/tui/cockpit/CockpitDaemonSnapshot.d.ts.map +1 -0
  207. package/dist/presentation/tui/cockpit/CockpitDaemonSnapshot.js +2 -0
  208. package/dist/presentation/tui/cockpit/CockpitDaemonSnapshot.js.map +1 -0
  209. package/dist/presentation/tui/cockpit/CockpitGreeterCopy.d.ts +10 -0
  210. package/dist/presentation/tui/cockpit/CockpitGreeterCopy.d.ts.map +1 -0
  211. package/dist/presentation/tui/cockpit/CockpitGreeterCopy.js +14 -0
  212. package/dist/presentation/tui/cockpit/CockpitGreeterCopy.js.map +1 -0
  213. package/dist/presentation/tui/cockpit/CockpitGreeterView.d.ts.map +1 -1
  214. package/dist/presentation/tui/cockpit/CockpitGreeterView.js +3 -2
  215. package/dist/presentation/tui/cockpit/CockpitGreeterView.js.map +1 -1
  216. package/dist/presentation/tui/cockpit/CockpitLaunchpadCopy.d.ts +4 -0
  217. package/dist/presentation/tui/cockpit/CockpitLaunchpadCopy.d.ts.map +1 -0
  218. package/dist/presentation/tui/cockpit/CockpitLaunchpadCopy.js +4 -0
  219. package/dist/presentation/tui/cockpit/CockpitLaunchpadCopy.js.map +1 -0
  220. package/dist/presentation/tui/cockpit/CockpitLaunchpadView.d.ts.map +1 -1
  221. package/dist/presentation/tui/cockpit/CockpitLaunchpadView.js +45 -31
  222. package/dist/presentation/tui/cockpit/CockpitLaunchpadView.js.map +1 -1
  223. package/dist/presentation/tui/cockpit/CockpitLaunchpadWelcome.d.ts.map +1 -1
  224. package/dist/presentation/tui/cockpit/CockpitLaunchpadWelcome.js +5 -4
  225. package/dist/presentation/tui/cockpit/CockpitLaunchpadWelcome.js.map +1 -1
  226. package/dist/presentation/tui/cockpit/CockpitLaunchpadWelcomeCopy.d.ts +9 -0
  227. package/dist/presentation/tui/cockpit/CockpitLaunchpadWelcomeCopy.d.ts.map +1 -0
  228. package/dist/presentation/tui/cockpit/CockpitLaunchpadWelcomeCopy.js +12 -0
  229. package/dist/presentation/tui/cockpit/CockpitLaunchpadWelcomeCopy.js.map +1 -0
  230. package/dist/presentation/tui/cockpit/CockpitPrimedEmptyCopy.d.ts +12 -0
  231. package/dist/presentation/tui/cockpit/CockpitPrimedEmptyCopy.d.ts.map +1 -0
  232. package/dist/presentation/tui/cockpit/CockpitPrimedEmptyCopy.js +16 -0
  233. package/dist/presentation/tui/cockpit/CockpitPrimedEmptyCopy.js.map +1 -0
  234. package/dist/presentation/tui/cockpit/CockpitPrimedEmptyView.d.ts.map +1 -1
  235. package/dist/presentation/tui/cockpit/CockpitPrimedEmptyView.js +7 -6
  236. package/dist/presentation/tui/cockpit/CockpitPrimedEmptyView.js.map +1 -1
  237. package/dist/presentation/tui/cockpit/CockpitScreen.d.ts +2 -1
  238. package/dist/presentation/tui/cockpit/CockpitScreen.d.ts.map +1 -1
  239. package/dist/presentation/tui/cockpit/CockpitScreen.js +23 -19
  240. package/dist/presentation/tui/cockpit/CockpitScreen.js.map +1 -1
  241. package/dist/presentation/tui/cockpit/CockpitScreenCopy.d.ts +7 -0
  242. package/dist/presentation/tui/cockpit/CockpitScreenCopy.d.ts.map +1 -0
  243. package/dist/presentation/tui/cockpit/CockpitScreenCopy.js +7 -0
  244. package/dist/presentation/tui/cockpit/CockpitScreenCopy.js.map +1 -0
  245. package/dist/presentation/tui/cockpit/CockpitScreenDefaults.d.ts +6 -0
  246. package/dist/presentation/tui/cockpit/CockpitScreenDefaults.d.ts.map +1 -0
  247. package/dist/presentation/tui/cockpit/CockpitScreenDefaults.js +6 -0
  248. package/dist/presentation/tui/cockpit/CockpitScreenDefaults.js.map +1 -0
  249. package/dist/presentation/tui/cockpit/CockpitUnprimedCopy.d.ts +12 -0
  250. package/dist/presentation/tui/cockpit/CockpitUnprimedCopy.d.ts.map +1 -0
  251. package/dist/presentation/tui/cockpit/CockpitUnprimedCopy.js +16 -0
  252. package/dist/presentation/tui/cockpit/CockpitUnprimedCopy.js.map +1 -0
  253. package/dist/presentation/tui/cockpit/CockpitUnprimedView.d.ts.map +1 -1
  254. package/dist/presentation/tui/cockpit/CockpitUnprimedView.js +8 -7
  255. package/dist/presentation/tui/cockpit/CockpitUnprimedView.js.map +1 -1
  256. package/dist/presentation/tui/cockpit/DaemonFrameViews.d.ts +17 -0
  257. package/dist/presentation/tui/cockpit/DaemonFrameViews.d.ts.map +1 -0
  258. package/dist/presentation/tui/cockpit/DaemonFrameViews.js +20 -0
  259. package/dist/presentation/tui/cockpit/DaemonFrameViews.js.map +1 -0
  260. package/dist/presentation/tui/cockpit/DaemonPanelStatusLabel.d.ts +4 -0
  261. package/dist/presentation/tui/cockpit/DaemonPanelStatusLabel.d.ts.map +1 -0
  262. package/dist/presentation/tui/cockpit/DaemonPanelStatusLabel.js +14 -0
  263. package/dist/presentation/tui/cockpit/DaemonPanelStatusLabel.js.map +1 -0
  264. package/dist/presentation/tui/cockpit/daemons/CodifierDaemonConstants.d.ts +11 -0
  265. package/dist/presentation/tui/cockpit/daemons/CodifierDaemonConstants.d.ts.map +1 -0
  266. package/dist/presentation/tui/cockpit/daemons/CodifierDaemonConstants.js +15 -0
  267. package/dist/presentation/tui/cockpit/daemons/CodifierDaemonConstants.js.map +1 -0
  268. package/dist/presentation/tui/cockpit/daemons/CodifierDaemonFrame.d.ts +4 -0
  269. package/dist/presentation/tui/cockpit/daemons/CodifierDaemonFrame.d.ts.map +1 -0
  270. package/dist/presentation/tui/cockpit/daemons/CodifierDaemonFrame.js +7 -0
  271. package/dist/presentation/tui/cockpit/daemons/CodifierDaemonFrame.js.map +1 -0
  272. package/dist/presentation/tui/cockpit/daemons/IDaemonConstants.d.ts +11 -0
  273. package/dist/presentation/tui/cockpit/daemons/IDaemonConstants.d.ts.map +1 -0
  274. package/dist/presentation/tui/cockpit/daemons/IDaemonConstants.js +2 -0
  275. package/dist/presentation/tui/cockpit/daemons/IDaemonConstants.js.map +1 -0
  276. package/dist/presentation/tui/cockpit/daemons/IDaemonFrame.d.ts +11 -0
  277. package/dist/presentation/tui/cockpit/daemons/IDaemonFrame.d.ts.map +1 -0
  278. package/dist/presentation/tui/cockpit/daemons/IDaemonFrame.js +2 -0
  279. package/dist/presentation/tui/cockpit/daemons/IDaemonFrame.js.map +1 -0
  280. package/dist/presentation/tui/cockpit/daemons/IDaemonUiDefinition.d.ts +7 -0
  281. package/dist/presentation/tui/cockpit/daemons/IDaemonUiDefinition.d.ts.map +1 -0
  282. package/dist/presentation/tui/cockpit/daemons/IDaemonUiDefinition.js +2 -0
  283. package/dist/presentation/tui/cockpit/daemons/IDaemonUiDefinition.js.map +1 -0
  284. package/dist/presentation/tui/cockpit/daemons/RefinerDaemonConstants.d.ts +11 -0
  285. package/dist/presentation/tui/cockpit/daemons/RefinerDaemonConstants.d.ts.map +1 -0
  286. package/dist/presentation/tui/cockpit/daemons/RefinerDaemonConstants.js +15 -0
  287. package/dist/presentation/tui/cockpit/daemons/RefinerDaemonConstants.js.map +1 -0
  288. package/dist/presentation/tui/cockpit/daemons/RefinerDaemonFrame.d.ts +4 -0
  289. package/dist/presentation/tui/cockpit/daemons/RefinerDaemonFrame.d.ts.map +1 -0
  290. package/dist/presentation/tui/cockpit/daemons/RefinerDaemonFrame.js +7 -0
  291. package/dist/presentation/tui/cockpit/daemons/RefinerDaemonFrame.js.map +1 -0
  292. package/dist/presentation/tui/cockpit/daemons/ReviewerDaemonConstants.d.ts +11 -0
  293. package/dist/presentation/tui/cockpit/daemons/ReviewerDaemonConstants.d.ts.map +1 -0
  294. package/dist/presentation/tui/cockpit/daemons/ReviewerDaemonConstants.js +16 -0
  295. package/dist/presentation/tui/cockpit/daemons/ReviewerDaemonConstants.js.map +1 -0
  296. package/dist/presentation/tui/cockpit/daemons/ReviewerDaemonFrame.d.ts +4 -0
  297. package/dist/presentation/tui/cockpit/daemons/ReviewerDaemonFrame.d.ts.map +1 -0
  298. package/dist/presentation/tui/cockpit/daemons/ReviewerDaemonFrame.js +7 -0
  299. package/dist/presentation/tui/cockpit/daemons/ReviewerDaemonFrame.js.map +1 -0
  300. package/dist/presentation/tui/daemon-subprocesses/ISubprocessManager.d.ts +10 -34
  301. package/dist/presentation/tui/daemon-subprocesses/ISubprocessManager.d.ts.map +1 -1
  302. package/dist/presentation/tui/daemon-subprocesses/ManagedSubprocess.d.ts +18 -0
  303. package/dist/presentation/tui/daemon-subprocesses/ManagedSubprocess.d.ts.map +1 -0
  304. package/dist/presentation/tui/daemon-subprocesses/ManagedSubprocess.js +2 -0
  305. package/dist/presentation/tui/daemon-subprocesses/ManagedSubprocess.js.map +1 -0
  306. package/dist/presentation/tui/daemon-subprocesses/NoOpSubprocessManager.d.ts.map +1 -1
  307. package/dist/presentation/tui/daemon-subprocesses/NoOpSubprocessManager.js +2 -1
  308. package/dist/presentation/tui/daemon-subprocesses/NoOpSubprocessManager.js.map +1 -1
  309. package/dist/presentation/tui/daemon-subprocesses/SubprocessManagerContext.d.ts +2 -7
  310. package/dist/presentation/tui/daemon-subprocesses/SubprocessManagerContext.d.ts.map +1 -1
  311. package/dist/presentation/tui/daemon-subprocesses/SubprocessManagerContext.js +2 -8
  312. package/dist/presentation/tui/daemon-subprocesses/SubprocessManagerContext.js.map +1 -1
  313. package/dist/presentation/tui/daemon-subprocesses/SubprocessManagerProvider.d.ts +8 -0
  314. package/dist/presentation/tui/daemon-subprocesses/SubprocessManagerProvider.d.ts.map +1 -0
  315. package/dist/presentation/tui/daemon-subprocesses/SubprocessManagerProvider.js +6 -0
  316. package/dist/presentation/tui/daemon-subprocesses/SubprocessManagerProvider.js.map +1 -0
  317. package/dist/presentation/tui/daemon-subprocesses/TuiDaemonConfig.d.ts +2 -0
  318. package/dist/presentation/tui/daemon-subprocesses/TuiDaemonConfig.d.ts.map +1 -0
  319. package/dist/presentation/tui/daemon-subprocesses/TuiDaemonConfig.js +2 -0
  320. package/dist/presentation/tui/daemon-subprocesses/TuiDaemonConfig.js.map +1 -0
  321. package/dist/presentation/tui/daemon-subprocesses/TuiDaemonCounts.d.ts +6 -0
  322. package/dist/presentation/tui/daemon-subprocesses/TuiDaemonCounts.d.ts.map +1 -0
  323. package/dist/presentation/tui/daemon-subprocesses/TuiDaemonCounts.js +2 -0
  324. package/dist/presentation/tui/daemon-subprocesses/TuiDaemonCounts.js.map +1 -0
  325. package/dist/presentation/tui/daemon-subprocesses/TuiDaemonEventCategory.d.ts +7 -0
  326. package/dist/presentation/tui/daemon-subprocesses/TuiDaemonEventCategory.d.ts.map +1 -0
  327. package/dist/presentation/tui/daemon-subprocesses/TuiDaemonEventCategory.js +8 -0
  328. package/dist/presentation/tui/daemon-subprocesses/TuiDaemonEventCategory.js.map +1 -0
  329. package/dist/presentation/tui/daemon-subprocesses/TuiDaemonEventSnapshot.d.ts +15 -0
  330. package/dist/presentation/tui/daemon-subprocesses/TuiDaemonEventSnapshot.d.ts.map +1 -0
  331. package/dist/presentation/tui/daemon-subprocesses/TuiDaemonEventSnapshot.js +2 -0
  332. package/dist/presentation/tui/daemon-subprocesses/TuiDaemonEventSnapshot.js.map +1 -0
  333. package/dist/presentation/tui/daemon-subprocesses/TuiDaemonEventStatus.d.ts +14 -0
  334. package/dist/presentation/tui/daemon-subprocesses/TuiDaemonEventStatus.d.ts.map +1 -0
  335. package/dist/presentation/tui/daemon-subprocesses/TuiDaemonEventStatus.js +13 -0
  336. package/dist/presentation/tui/daemon-subprocesses/TuiDaemonEventStatus.js.map +1 -0
  337. package/dist/presentation/tui/daemon-subprocesses/TuiDaemonName.d.ts +2 -0
  338. package/dist/presentation/tui/daemon-subprocesses/TuiDaemonName.d.ts.map +1 -0
  339. package/dist/presentation/tui/daemon-subprocesses/TuiDaemonName.js +2 -0
  340. package/dist/presentation/tui/daemon-subprocesses/TuiDaemonName.js.map +1 -0
  341. package/dist/presentation/tui/daemon-subprocesses/TuiDaemonOutputEventParser.d.ts +11 -0
  342. package/dist/presentation/tui/daemon-subprocesses/TuiDaemonOutputEventParser.d.ts.map +1 -0
  343. package/dist/presentation/tui/daemon-subprocesses/TuiDaemonOutputEventParser.js +58 -0
  344. package/dist/presentation/tui/daemon-subprocesses/TuiDaemonOutputEventParser.js.map +1 -0
  345. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessConfigResolver.d.ts +5 -0
  346. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessConfigResolver.d.ts.map +1 -0
  347. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessConfigResolver.js +11 -0
  348. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessConfigResolver.js.map +1 -0
  349. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessCopy.d.ts +16 -0
  350. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessCopy.d.ts.map +1 -0
  351. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessCopy.js +16 -0
  352. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessCopy.js.map +1 -0
  353. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessLifecycleEventRecorder.d.ts +17 -0
  354. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessLifecycleEventRecorder.d.ts.map +1 -0
  355. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessLifecycleEventRecorder.js +86 -0
  356. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessLifecycleEventRecorder.js.map +1 -0
  357. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessManager.d.ts +9 -7
  358. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessManager.d.ts.map +1 -1
  359. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessManager.js +55 -164
  360. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessManager.js.map +1 -1
  361. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessNoOpLogger.d.ts +3 -0
  362. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessNoOpLogger.d.ts.map +1 -0
  363. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessNoOpLogger.js +7 -0
  364. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessNoOpLogger.js.map +1 -0
  365. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessOutputRingBuffer.d.ts +7 -0
  366. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessOutputRingBuffer.d.ts.map +1 -0
  367. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessOutputRingBuffer.js +25 -0
  368. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessOutputRingBuffer.js.map +1 -0
  369. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessSnapshot.d.ts +17 -0
  370. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessSnapshot.d.ts.map +1 -0
  371. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessSnapshot.js +2 -0
  372. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessSnapshot.js.map +1 -0
  373. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessSnapshotMapper.d.ts +8 -0
  374. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessSnapshotMapper.d.ts.map +1 -0
  375. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessSnapshotMapper.js +29 -0
  376. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessSnapshotMapper.js.map +1 -0
  377. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessStatus.d.ts +7 -0
  378. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessStatus.d.ts.map +1 -0
  379. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessStatus.js +6 -0
  380. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessStatus.js.map +1 -0
  381. package/dist/presentation/tui/daemon-subprocesses/useSubprocessManager.d.ts +3 -0
  382. package/dist/presentation/tui/daemon-subprocesses/useSubprocessManager.d.ts.map +1 -0
  383. package/dist/presentation/tui/daemon-subprocesses/useSubprocessManager.js +6 -0
  384. package/dist/presentation/tui/daemon-subprocesses/useSubprocessManager.js.map +1 -0
  385. package/dist/presentation/tui/goals/Constants.d.ts +2 -0
  386. package/dist/presentation/tui/goals/Constants.d.ts.map +1 -0
  387. package/dist/presentation/tui/goals/Constants.js +2 -0
  388. package/dist/presentation/tui/goals/Constants.js.map +1 -0
  389. package/dist/presentation/tui/goals/GoalAuthoringFlow.d.ts.map +1 -1
  390. package/dist/presentation/tui/goals/GoalAuthoringFlow.js +80 -88
  391. package/dist/presentation/tui/goals/GoalAuthoringFlow.js.map +1 -1
  392. package/dist/presentation/tui/goals/GoalAuthoringFlowConstants.d.ts +79 -0
  393. package/dist/presentation/tui/goals/GoalAuthoringFlowConstants.d.ts.map +1 -0
  394. package/dist/presentation/tui/goals/GoalAuthoringFlowConstants.js +84 -0
  395. package/dist/presentation/tui/goals/GoalAuthoringFlowConstants.js.map +1 -0
  396. package/dist/presentation/tui/goals/GoalsScreen.d.ts.map +1 -1
  397. package/dist/presentation/tui/goals/GoalsScreen.js +49 -57
  398. package/dist/presentation/tui/goals/GoalsScreen.js.map +1 -1
  399. package/dist/presentation/tui/goals/GoalsScreenConstants.d.ts +33 -0
  400. package/dist/presentation/tui/goals/GoalsScreenConstants.d.ts.map +1 -0
  401. package/dist/presentation/tui/goals/GoalsScreenConstants.js +41 -0
  402. package/dist/presentation/tui/goals/GoalsScreenConstants.js.map +1 -0
  403. package/dist/presentation/tui/index.d.ts +4 -2
  404. package/dist/presentation/tui/index.d.ts.map +1 -1
  405. package/dist/presentation/tui/index.js +2 -1
  406. package/dist/presentation/tui/index.js.map +1 -1
  407. package/dist/presentation/tui/memory/MemoryScreen.d.ts.map +1 -1
  408. package/dist/presentation/tui/memory/MemoryScreen.js +10 -4
  409. package/dist/presentation/tui/memory/MemoryScreen.js.map +1 -1
  410. package/dist/presentation/tui/memory/components/ComponentsScreen.d.ts.map +1 -1
  411. package/dist/presentation/tui/memory/components/ComponentsScreen.js +5 -1
  412. package/dist/presentation/tui/memory/components/ComponentsScreen.js.map +1 -1
  413. package/dist/presentation/tui/memory/decisions/DecisionsScreen.d.ts.map +1 -1
  414. package/dist/presentation/tui/memory/decisions/DecisionsScreen.js +5 -1
  415. package/dist/presentation/tui/memory/decisions/DecisionsScreen.js.map +1 -1
  416. package/dist/presentation/tui/memory/dependencies/DependenciesScreen.d.ts.map +1 -1
  417. package/dist/presentation/tui/memory/dependencies/DependenciesScreen.js +5 -1
  418. package/dist/presentation/tui/memory/dependencies/DependenciesScreen.js.map +1 -1
  419. package/dist/presentation/tui/memory/entity-browser/EntityColumn.d.ts.map +1 -1
  420. package/dist/presentation/tui/memory/entity-browser/EntityColumn.js +4 -1
  421. package/dist/presentation/tui/memory/entity-browser/EntityColumn.js.map +1 -1
  422. package/dist/presentation/tui/memory/entity-browser/EntityDetailView.d.ts.map +1 -1
  423. package/dist/presentation/tui/memory/entity-browser/EntityDetailView.js +96 -40
  424. package/dist/presentation/tui/memory/entity-browser/EntityDetailView.js.map +1 -1
  425. package/dist/presentation/tui/memory/entity-browser/MemoryEntityScreen.d.ts.map +1 -1
  426. package/dist/presentation/tui/memory/entity-browser/MemoryEntityScreen.js +39 -12
  427. package/dist/presentation/tui/memory/entity-browser/MemoryEntityScreen.js.map +1 -1
  428. package/dist/presentation/tui/memory/guidelines/GuidelinesScreen.d.ts.map +1 -1
  429. package/dist/presentation/tui/memory/guidelines/GuidelinesScreen.js +5 -1
  430. package/dist/presentation/tui/memory/guidelines/GuidelinesScreen.js.map +1 -1
  431. package/dist/presentation/tui/memory/invariants/InvariantsScreen.d.ts.map +1 -1
  432. package/dist/presentation/tui/memory/invariants/InvariantsScreen.js +5 -1
  433. package/dist/presentation/tui/memory/invariants/InvariantsScreen.js.map +1 -1
  434. package/dist/presentation/tui/navigation/MegaMenu.d.ts.map +1 -1
  435. package/dist/presentation/tui/navigation/MegaMenu.js +19 -4
  436. package/dist/presentation/tui/navigation/MegaMenu.js.map +1 -1
  437. package/dist/presentation/tui/navigation/MegaMenuDefinitions.d.ts.map +1 -1
  438. package/dist/presentation/tui/navigation/MegaMenuDefinitions.js +101 -56
  439. package/dist/presentation/tui/navigation/MegaMenuDefinitions.js.map +1 -1
  440. package/dist/presentation/tui/navigation/ScreenRouter.d.ts.map +1 -1
  441. package/dist/presentation/tui/navigation/ScreenRouter.js +3 -2
  442. package/dist/presentation/tui/navigation/ScreenRouter.js.map +1 -1
  443. package/dist/presentation/tui/project-initialization/Constants.d.ts +140 -0
  444. package/dist/presentation/tui/project-initialization/Constants.d.ts.map +1 -0
  445. package/dist/presentation/tui/project-initialization/Constants.js +140 -0
  446. package/dist/presentation/tui/project-initialization/Constants.js.map +1 -0
  447. package/dist/presentation/tui/project-initialization/InitFlow.d.ts +1 -1
  448. package/dist/presentation/tui/project-initialization/InitFlow.d.ts.map +1 -1
  449. package/dist/presentation/tui/project-initialization/InitFlow.js +212 -191
  450. package/dist/presentation/tui/project-initialization/InitFlow.js.map +1 -1
  451. package/dist/presentation/tui/sessions/SessionScreen.d.ts.map +1 -1
  452. package/dist/presentation/tui/sessions/SessionScreen.js +53 -12
  453. package/dist/presentation/tui/sessions/SessionScreen.js.map +1 -1
  454. package/dist/presentation/tui/state-reading/TuiStateReader.d.ts.map +1 -1
  455. package/dist/presentation/tui/state-reading/TuiStateReader.js +4 -2
  456. package/dist/presentation/tui/state-reading/TuiStateReader.js.map +1 -1
  457. package/dist/presentation/tui/ui-primitives/ListPanel.d.ts.map +1 -1
  458. package/dist/presentation/tui/ui-primitives/ListPanel.js +2 -1
  459. package/dist/presentation/tui/ui-primitives/ListPanel.js.map +1 -1
  460. package/dist/presentation/tui/ui-primitives/ListPanelConstants.d.ts +4 -0
  461. package/dist/presentation/tui/ui-primitives/ListPanelConstants.d.ts.map +1 -0
  462. package/dist/presentation/tui/ui-primitives/ListPanelConstants.js +4 -0
  463. package/dist/presentation/tui/ui-primitives/ListPanelConstants.js.map +1 -0
  464. package/dist/presentation/tui/ui-primitives/Tumbler.d.ts.map +1 -1
  465. package/dist/presentation/tui/ui-primitives/Tumbler.js +2 -1
  466. package/dist/presentation/tui/ui-primitives/Tumbler.js.map +1 -1
  467. package/dist/presentation/tui/ui-primitives/TumblerConstants.d.ts +4 -0
  468. package/dist/presentation/tui/ui-primitives/TumblerConstants.d.ts.map +1 -0
  469. package/dist/presentation/tui/ui-primitives/TumblerConstants.js +4 -0
  470. package/dist/presentation/tui/ui-primitives/TumblerConstants.js.map +1 -0
  471. package/dist/presentation/tui/wizard/Wizard.d.ts +2 -1
  472. package/dist/presentation/tui/wizard/Wizard.d.ts.map +1 -1
  473. package/dist/presentation/tui/wizard/Wizard.js +47 -20
  474. package/dist/presentation/tui/wizard/Wizard.js.map +1 -1
  475. package/dist/presentation/tui/wizard/WizardConstants.d.ts +27 -0
  476. package/dist/presentation/tui/wizard/WizardConstants.d.ts.map +1 -0
  477. package/dist/presentation/tui/wizard/WizardConstants.js +26 -0
  478. package/dist/presentation/tui/wizard/WizardConstants.js.map +1 -0
  479. package/dist/presentation/work/codifier.daemon.d.ts.map +1 -1
  480. package/dist/presentation/work/codifier.daemon.js +20 -1
  481. package/dist/presentation/work/codifier.daemon.js.map +1 -1
  482. package/dist/presentation/work/refiner.daemon.d.ts.map +1 -1
  483. package/dist/presentation/work/refiner.daemon.js +20 -1
  484. package/dist/presentation/work/refiner.daemon.js.map +1 -1
  485. package/dist/presentation/work/reviewer.daemon.d.ts.map +1 -1
  486. package/dist/presentation/work/reviewer.daemon.js +20 -1
  487. package/dist/presentation/work/reviewer.daemon.js.map +1 -1
  488. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
1
  import { BaseEvent } from "../../BaseEvent.js";
2
- import { EntityTypeValue, RelationStrengthValue } from "../Constants.js";
2
+ import { EntityTypeValue, RelationEventType, RelationStrengthValue } from "../Constants.js";
3
3
  /**
4
4
  * Emitted when a relation between two entities is added to the knowledge graph.
5
5
  * This is the first (and only lifecycle) event for the Relation aggregate.
6
6
  */
7
7
  export interface RelationAddedEvent extends BaseEvent {
8
- readonly type: "RelationAddedEvent";
8
+ readonly type: typeof RelationEventType.ADDED;
9
9
  readonly payload: {
10
10
  readonly fromEntityType: EntityTypeValue;
11
11
  readonly fromEntityId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"RelationAddedEvent.d.ts","sourceRoot":"","sources":["../../../../src/domain/relations/add/RelationAddedEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,eAAe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"}
@@ -1,11 +1,11 @@
1
1
  import { BaseEvent } from "../../BaseEvent.js";
2
- import { EntityTypeValue } from "../Constants.js";
2
+ import { EntityTypeValue, RelationEventType } from "../Constants.js";
3
3
  /**
4
4
  * Emitted when a relation between two entities is removed from the knowledge graph.
5
5
  * Part of Task-41 (relation.remove flow)
6
6
  */
7
7
  export interface RelationRemovedEvent extends BaseEvent {
8
- readonly type: "RelationRemovedEvent";
8
+ readonly type: typeof RelationEventType.REMOVED;
9
9
  readonly payload: {
10
10
  readonly fromEntityType: EntityTypeValue;
11
11
  readonly fromEntityId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"RelationRemovedEvent.d.ts","sourceRoot":"","sources":["../../../../src/domain/relations/remove/RelationRemovedEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD;;;GAGG;AACH,MAAM,WAAW,oBAAqB,SAAQ,SAAS;IACrD,QAAQ,CAAC,IAAI,EAAE,sBAAsB,CAAC;IACtC,QAAQ,CAAC,OAAO,EAAE;QAChB,QAAQ,CAAC,cAAc,EAAE,eAAe,CAAC;QACzC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;QAC9B,QAAQ,CAAC,YAAY,EAAE,eAAe,CAAC;QACvC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;QAC5B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;QAC9B,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;KAC1B,CAAC;CACH"}
1
+ {"version":3,"file":"RelationRemovedEvent.d.ts","sourceRoot":"","sources":["../../../../src/domain/relations/remove/RelationRemovedEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAErE;;;GAGG;AACH,MAAM,WAAW,oBAAqB,SAAQ,SAAS;IACrD,QAAQ,CAAC,IAAI,EAAE,OAAO,iBAAiB,CAAC,OAAO,CAAC;IAChD,QAAQ,CAAC,OAAO,EAAE;QAChB,QAAQ,CAAC,cAAc,EAAE,eAAe,CAAC;QACzC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;QAC9B,QAAQ,CAAC,YAAY,EAAE,eAAe,CAAC;QACvC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;QAC5B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;QAC9B,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;KAC1B,CAAC;CACH"}
@@ -1,9 +1,10 @@
1
1
  import { BaseEvent } from "../../BaseEvent.js";
2
+ import { ValuePropositionEventType } from "../Constants.js";
2
3
  /**
3
4
  * Emitted when a new value proposition is added to the project.
4
5
  */
5
6
  export interface ValuePropositionAddedEvent extends BaseEvent {
6
- readonly type: "ValuePropositionAddedEvent";
7
+ readonly type: typeof ValuePropositionEventType.ADDED;
7
8
  readonly payload: {
8
9
  readonly title: string;
9
10
  readonly description: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ValuePropositionAddedEvent.d.ts","sourceRoot":"","sources":["../../../../src/domain/value-propositions/add/ValuePropositionAddedEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,SAAS;IAC3D,QAAQ,CAAC,IAAI,EAAE,4BAA4B,CAAC;IAC5C,QAAQ,CAAC,OAAO,EAAE;QAChB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;QACzB,QAAQ,CAAC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;KAC3C,CAAC;CACH"}
1
+ {"version":3,"file":"ValuePropositionAddedEvent.d.ts","sourceRoot":"","sources":["../../../../src/domain/value-propositions/add/ValuePropositionAddedEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAE5D;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,SAAS;IAC3D,QAAQ,CAAC,IAAI,EAAE,OAAO,yBAAyB,CAAC,KAAK,CAAC;IACtD,QAAQ,CAAC,OAAO,EAAE;QAChB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;QACzB,QAAQ,CAAC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;KAC3C,CAAC;CACH"}
@@ -1,9 +1,10 @@
1
1
  import { BaseEvent } from "../../BaseEvent.js";
2
+ import { ValuePropositionEventType } from "../Constants.js";
2
3
  /**
3
4
  * Emitted when a value proposition is removed from the project.
4
5
  */
5
6
  export interface ValuePropositionRemovedEvent extends BaseEvent {
6
- readonly type: "ValuePropositionRemovedEvent";
7
+ readonly type: typeof ValuePropositionEventType.REMOVED;
7
8
  readonly payload: Record<string, never>;
8
9
  }
9
10
  //# sourceMappingURL=ValuePropositionRemovedEvent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ValuePropositionRemovedEvent.d.ts","sourceRoot":"","sources":["../../../../src/domain/value-propositions/remove/ValuePropositionRemovedEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,SAAS;IAC7D,QAAQ,CAAC,IAAI,EAAE,8BAA8B,CAAC;IAC9C,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;CACzC"}
1
+ {"version":3,"file":"ValuePropositionRemovedEvent.d.ts","sourceRoot":"","sources":["../../../../src/domain/value-propositions/remove/ValuePropositionRemovedEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAE5D;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,SAAS;IAC7D,QAAQ,CAAC,IAAI,EAAE,OAAO,yBAAyB,CAAC,OAAO,CAAC;IACxD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;CACzC"}
@@ -1,9 +1,10 @@
1
1
  import { BaseEvent } from "../../BaseEvent.js";
2
+ import { ValuePropositionEventType } from "../Constants.js";
2
3
  /**
3
4
  * Emitted when a value proposition is updated.
4
5
  */
5
6
  export interface ValuePropositionUpdatedEvent extends BaseEvent {
6
- readonly type: "ValuePropositionUpdatedEvent";
7
+ readonly type: typeof ValuePropositionEventType.UPDATED;
7
8
  readonly payload: {
8
9
  readonly title?: string;
9
10
  readonly description?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ValuePropositionUpdatedEvent.d.ts","sourceRoot":"","sources":["../../../../src/domain/value-propositions/update/ValuePropositionUpdatedEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,SAAS;IAC7D,QAAQ,CAAC,IAAI,EAAE,8BAA8B,CAAC;IAC9C,QAAQ,CAAC,OAAO,EAAE;QAChB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QACxB,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;QAC9B,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QAC1B,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAC5C,CAAC;CACH"}
1
+ {"version":3,"file":"ValuePropositionUpdatedEvent.d.ts","sourceRoot":"","sources":["../../../../src/domain/value-propositions/update/ValuePropositionUpdatedEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAE5D;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,SAAS;IAC7D,QAAQ,CAAC,IAAI,EAAE,OAAO,yBAAyB,CAAC,OAAO,CAAC;IACxD,QAAQ,CAAC,OAAO,EAAE;QAChB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QACxB,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;QAC9B,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QAC1B,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAC5C,CAAC;CACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"AgentCliGateway.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/agents/AgentCliGateway.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACrG,OAAO,EAAE,gBAAgB,EAAE,MAAM,iDAAiD,CAAC;AAEnF,eAAO,MAAM,mBAAmB,qEAAsE,CAAC;AACvG,MAAM,MAAM,gBAAgB,GAAG,OAAO,mBAAmB,CAAC,MAAM,CAAC,CAAC;AAmBlE,qBAAa,eAAgB,YAAW,aAAa;IACvC,OAAO,CAAC,QAAQ,CAAC,eAAe;gBAAf,eAAe,EAAE,gBAAgB;IAExD,MAAM,CAAC,UAAU,EAAE,eAAe,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAsCzE,OAAO,CAAC,cAAc;IAQtB,OAAO,CAAC,gBAAgB;IAUxB,OAAO,CAAC,gBAAgB;IAIxB,OAAO,CAAC,eAAe;CAoBxB"}
1
+ {"version":3,"file":"AgentCliGateway.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/agents/AgentCliGateway.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACrG,OAAO,EAAE,gBAAgB,EAAE,MAAM,iDAAiD,CAAC;AAEnF,eAAO,MAAM,mBAAmB,qEAAsE,CAAC;AACvG,MAAM,MAAM,gBAAgB,GAAG,OAAO,mBAAmB,CAAC,MAAM,CAAC,CAAC;AAoBlE,qBAAa,eAAgB,YAAW,aAAa;IACvC,OAAO,CAAC,QAAQ,CAAC,eAAe;gBAAf,eAAe,EAAE,gBAAgB;IAExD,MAAM,CAAC,UAAU,EAAE,eAAe,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAsCzE,OAAO,CAAC,cAAc;IAQtB,OAAO,CAAC,gBAAgB;IAUxB,OAAO,CAAC,gBAAgB;IAIxB,OAAO,CAAC,eAAe;CAoBxB"}
@@ -1,6 +1,7 @@
1
1
  import { spawn } from "node:child_process";
2
2
  export const SUPPORTED_AGENT_IDS = ["claude", "gemini", "copilot", "codex", "cursor", "vibe"];
3
3
  const CODEX_NON_INTERACTIVE_EXEC_ARGS = ["exec", "--skip-git-repo-check"];
4
+ const AGENT_OUTPUT_TAIL_MAX_LENGTH = 16384;
4
5
  const AGENT_COMMANDS = {
5
6
  claude: { executable: "claude", promptFlag: "-p" },
6
7
  gemini: { executable: "gemini", promptFlag: "-p" },
@@ -18,30 +19,30 @@ export class AgentCliGateway {
18
19
  const command = this.resolveCommand(invocation.agentId);
19
20
  const commandLine = this.buildCommandLine(command, invocation.prompt);
20
21
  return new Promise((resolve) => {
21
- let stdout = "";
22
- let stderr = "";
22
+ const stdout = new BoundedTextTail(AGENT_OUTPUT_TAIL_MAX_LENGTH);
23
+ const stderr = new BoundedTextTail(AGENT_OUTPUT_TAIL_MAX_LENGTH);
23
24
  const child = spawn(commandLine, [], {
24
25
  stdio: ["ignore", "pipe", "pipe"],
25
26
  shell: true,
26
27
  });
27
28
  child.stdout?.on("data", (chunk) => {
28
- const text = chunk.toString();
29
- stdout += text;
30
- process.stderr.write(text);
29
+ stdout.append(chunk.toString());
31
30
  });
32
31
  child.stderr?.on("data", (chunk) => {
33
- const text = chunk.toString();
34
- stderr += text;
35
- process.stderr.write(text);
32
+ stderr.append(chunk.toString());
36
33
  });
37
34
  child.on("close", (code) => {
38
35
  const exitCode = code ?? 1;
39
36
  this.trackInvocation(invocation.agentId, exitCode, startedAt);
40
- resolve({ exitCode, stdout, stderr });
37
+ resolve({ exitCode, stdout: stdout.toString(), stderr: stderr.toString() });
41
38
  });
42
39
  child.on("error", (error) => {
43
40
  this.trackInvocation(invocation.agentId, 1, startedAt, error);
44
- resolve({ exitCode: 1, stdout, stderr: stderr || error.message });
41
+ resolve({
42
+ exitCode: 1,
43
+ stdout: stdout.toString(),
44
+ stderr: stderr.toString() || limitTextTail(error.message, AGENT_OUTPUT_TAIL_MAX_LENGTH),
45
+ });
45
46
  });
46
47
  });
47
48
  }
@@ -79,4 +80,23 @@ export class AgentCliGateway {
79
80
  });
80
81
  }
81
82
  }
83
+ class BoundedTextTail {
84
+ constructor(maxLength) {
85
+ this.maxLength = maxLength;
86
+ this.value = "";
87
+ }
88
+ append(nextValue) {
89
+ if (nextValue.length >= this.maxLength) {
90
+ this.value = limitTextTail(nextValue, this.maxLength);
91
+ return;
92
+ }
93
+ this.value = limitTextTail(`${this.value}${nextValue}`, this.maxLength);
94
+ }
95
+ toString() {
96
+ return this.value;
97
+ }
98
+ }
99
+ function limitTextTail(value, maxLength) {
100
+ return value.length > maxLength ? value.slice(-maxLength) : value;
101
+ }
82
102
  //# sourceMappingURL=AgentCliGateway.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"A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enAI Codex configuration:
5
+ * - .codex/hooks.json with Codex lifecycle hooks
5
6
  * - Skills distributed to .codex/skills
6
7
  *
7
8
  * Codex reads AGENTS.md natively, so no instruction file is needed.
8
- * Codex does not support lifecycle hooks, so configuration is
9
- * limited to skill distribution.
9
+ * Codex hooks parse JSON stdout as hook-control envelopes, so Jumbo
10
+ * lifecycle commands use text output to avoid parser conflicts.
10
11
  *
11
12
  * Operations are idempotent and gracefully handle errors.
12
13
  */
@@ -20,15 +21,27 @@ export declare class CodexConfigurer implements IConfigurer {
20
21
  readonly skillPlatforms: readonly [".codex/skills"];
21
22
  /**
22
23
  * Configure all OpenAI Codex requirements for Jumbo.
23
- * Codex reads AGENTS.md natively and has no hook system,
24
- * so no additional configuration files are needed.
24
+ * Codex reads AGENTS.md natively; lifecycle hooks are configured
25
+ * separately in .codex/hooks.json.
25
26
  *
26
27
  * @param projectRoot Absolute path to project root directory
27
28
  */
28
- configure(_projectRoot: string): Promise<void>;
29
+ configure(projectRoot: string): Promise<void>;
30
+ /**
31
+ * Repair Codex configuration by replacing stale Jumbo hook commands.
32
+ */
33
+ repair(projectRoot: string): Promise<void>;
34
+ private ensureCodexHooks;
35
+ private getJumboHooks;
36
+ private mergeHooks;
37
+ private mergeMatcherGroups;
38
+ private mergeHookArray;
39
+ private removeStaleJumboHooks;
40
+ private removeStaleJumboHooksFromMatcher;
41
+ private isJumboLifecycleHook;
29
42
  /**
30
43
  * Return what changes this configurer will make without executing.
31
44
  */
32
- getPlannedFileChanges(_projectRoot: string): Promise<PlannedFileChange[]>;
45
+ getPlannedFileChanges(projectRoot: string): Promise<PlannedFileChange[]>;
33
46
  }
34
47
  //# sourceMappingURL=CodexConfigurer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CodexConfigurer.d.ts","sourceRoot":"","sources":["../../../../../src/infrastructure/context/project/init/CodexConfigurer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,mEAAmE,CAAC;AAEtG,qBAAa,eAAgB,YAAW,WAAW;IACjD,QAAQ,CAAC,KAAK;;;MAGH;IAEX,QAAQ,CAAC,cAAc,6BAA8B;IAErD;;;;;;OAMG;IACG,SAAS,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAKpD;;OAEG;IACG,qBAAqB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;CAGhF"}
1
+ {"version":3,"file":"CodexConfigurer.d.ts","sourceRoot":"","sources":["../../../../../src/infrastructure/context/project/init/CodexConfigurer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAIH,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,mEAAmE,CAAC;AAEtG,qBAAa,eAAgB,YAAW,WAAW;IACjD,QAAQ,CAAC,KAAK;;;MAGH;IAEX,QAAQ,CAAC,cAAc,6BAA8B;IAErD;;;;;;OAMG;IACG,SAAS,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAInD;;OAEG;IACG,MAAM,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;YAIlC,gBAAgB;IAiC9B,OAAO,CAAC,aAAa;IAsCrB,OAAO,CAAC,UAAU;IAYlB,OAAO,CAAC,kBAAkB;IAsB1B,OAAO,CAAC,cAAc;IAetB,OAAO,CAAC,qBAAqB;IA8B7B,OAAO,CAAC,gCAAgC;IAmBxC,OAAO,CAAC,oBAAoB;IAgB5B;;OAEG;IACG,qBAAqB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;CAW/E"}
@@ -2,14 +2,17 @@
2
2
  * Infrastructure: OpenAI Codex Configurer
3
3
  *
4
4
  * Encapsulates all knowledge about OpenAI Codex configuration:
5
+ * - .codex/hooks.json with Codex lifecycle hooks
5
6
  * - Skills distributed to .codex/skills
6
7
  *
7
8
  * Codex reads AGENTS.md natively, so no instruction file is needed.
8
- * Codex does not support lifecycle hooks, so configuration is
9
- * limited to skill distribution.
9
+ * Codex hooks parse JSON stdout as hook-control envelopes, so Jumbo
10
+ * lifecycle commands use text output to avoid parser conflicts.
10
11
  *
11
12
  * Operations are idempotent and gracefully handle errors.
12
13
  */
14
+ import path from "path";
15
+ import fs from "fs-extra";
13
16
  export class CodexConfigurer {
14
17
  constructor() {
15
18
  this.agent = {
@@ -20,20 +23,185 @@ export class CodexConfigurer {
20
23
  }
21
24
  /**
22
25
  * Configure all OpenAI Codex requirements for Jumbo.
23
- * Codex reads AGENTS.md natively and has no hook system,
24
- * so no additional configuration files are needed.
26
+ * Codex reads AGENTS.md natively; lifecycle hooks are configured
27
+ * separately in .codex/hooks.json.
25
28
  *
26
29
  * @param projectRoot Absolute path to project root directory
27
30
  */
28
- async configure(_projectRoot) {
29
- // Codex reads AGENTS.md natively - no additional files needed.
30
- // Skills are installed by AgentFileProtocol via skillPlatforms.
31
+ async configure(projectRoot) {
32
+ await this.ensureCodexHooks(projectRoot);
33
+ }
34
+ /**
35
+ * Repair Codex configuration by replacing stale Jumbo hook commands.
36
+ */
37
+ async repair(projectRoot) {
38
+ await this.ensureCodexHooks(projectRoot);
39
+ }
40
+ async ensureCodexHooks(projectRoot) {
41
+ try {
42
+ const hooksPath = path.join(projectRoot, ".codex", "hooks.json");
43
+ await fs.ensureDir(path.join(projectRoot, ".codex"));
44
+ const exists = await fs.pathExists(hooksPath);
45
+ if (!exists) {
46
+ await fs.writeFile(hooksPath, JSON.stringify(this.getJumboHooks(), null, 2) + "\n", "utf-8");
47
+ return;
48
+ }
49
+ const existingContent = await fs.readFile(hooksPath, "utf-8");
50
+ let existingHooks = {};
51
+ if (existingContent.trim()) {
52
+ try {
53
+ existingHooks = JSON.parse(existingContent);
54
+ }
55
+ catch {
56
+ await fs.writeFile(hooksPath, JSON.stringify(this.getJumboHooks(), null, 2) + "\n", "utf-8");
57
+ return;
58
+ }
59
+ }
60
+ const normalizedExistingHooks = this.removeStaleJumboHooks(existingHooks);
61
+ const mergedHooks = this.mergeHooks(normalizedExistingHooks, this.getJumboHooks());
62
+ await fs.writeFile(hooksPath, JSON.stringify(mergedHooks, null, 2) + "\n", "utf-8");
63
+ }
64
+ catch (error) {
65
+ console.warn(`Warning: Failed to configure Codex hooks: ${error instanceof Error ? error.message : String(error)}`);
66
+ }
67
+ }
68
+ getJumboHooks() {
69
+ return {
70
+ hooks: {
71
+ PreCompact: [
72
+ {
73
+ matcher: "auto",
74
+ hooks: [
75
+ {
76
+ type: "command",
77
+ command: "jumbo work pause --format text",
78
+ },
79
+ ],
80
+ },
81
+ ],
82
+ SessionStart: [
83
+ {
84
+ matcher: "startup",
85
+ hooks: [
86
+ {
87
+ type: "command",
88
+ command: "jumbo session start --format text",
89
+ },
90
+ ],
91
+ },
92
+ {
93
+ matcher: "compact",
94
+ hooks: [
95
+ {
96
+ type: "command",
97
+ command: "jumbo work resume --format text",
98
+ },
99
+ ],
100
+ },
101
+ ],
102
+ },
103
+ };
104
+ }
105
+ mergeHooks(existing, jumbo) {
106
+ const result = { ...existing };
107
+ result.hooks = result.hooks ?? {};
108
+ for (const [eventName, matcherGroups] of Object.entries(jumbo.hooks ?? {})) {
109
+ const existingGroups = Array.isArray(result.hooks[eventName]) ? result.hooks[eventName] : [];
110
+ result.hooks[eventName] = this.mergeMatcherGroups(existingGroups, matcherGroups);
111
+ }
112
+ return result;
113
+ }
114
+ mergeMatcherGroups(existing, additions) {
115
+ const merged = [...existing];
116
+ for (const addition of additions) {
117
+ const existingIndex = merged.findIndex((entry) => entry?.matcher === addition.matcher);
118
+ if (existingIndex >= 0) {
119
+ merged[existingIndex] = {
120
+ ...merged[existingIndex],
121
+ hooks: this.mergeHookArray(Array.isArray(merged[existingIndex].hooks) ? merged[existingIndex].hooks : [], addition.hooks),
122
+ };
123
+ }
124
+ else {
125
+ merged.push(addition);
126
+ }
127
+ }
128
+ return merged;
129
+ }
130
+ mergeHookArray(existing, additions) {
131
+ const merged = [...existing];
132
+ const existingKeys = new Set(existing.map((hook) => JSON.stringify(hook)));
133
+ for (const addition of additions) {
134
+ const additionKey = JSON.stringify(addition);
135
+ if (!existingKeys.has(additionKey)) {
136
+ merged.push(addition);
137
+ existingKeys.add(additionKey);
138
+ }
139
+ }
140
+ return merged;
141
+ }
142
+ removeStaleJumboHooks(existing) {
143
+ if (!existing || typeof existing !== "object") {
144
+ return {};
145
+ }
146
+ const result = { ...existing };
147
+ const rawHooks = existing.hooks;
148
+ if (!rawHooks || typeof rawHooks !== "object") {
149
+ return result;
150
+ }
151
+ const normalizedHooks = {};
152
+ for (const [eventName, matcherGroups] of Object.entries(rawHooks)) {
153
+ if (!Array.isArray(matcherGroups)) {
154
+ continue;
155
+ }
156
+ const normalizedGroups = matcherGroups
157
+ .map((matcherGroup) => this.removeStaleJumboHooksFromMatcher(matcherGroup))
158
+ .filter((matcherGroup) => matcherGroup !== null);
159
+ if (normalizedGroups.length > 0) {
160
+ normalizedHooks[eventName] = normalizedGroups;
161
+ }
162
+ }
163
+ result.hooks = normalizedHooks;
164
+ return result;
165
+ }
166
+ removeStaleJumboHooksFromMatcher(matcherGroup) {
167
+ if (!matcherGroup || typeof matcherGroup !== "object") {
168
+ return null;
169
+ }
170
+ const candidate = matcherGroup;
171
+ const hooks = Array.isArray(candidate.hooks) ? candidate.hooks : [];
172
+ const nonJumboHooks = hooks.filter((hook) => !this.isJumboLifecycleHook(hook));
173
+ if (nonJumboHooks.length === 0) {
174
+ return null;
175
+ }
176
+ return {
177
+ ...candidate,
178
+ hooks: nonJumboHooks,
179
+ };
180
+ }
181
+ isJumboLifecycleHook(hook) {
182
+ if (!hook || typeof hook !== "object") {
183
+ return false;
184
+ }
185
+ const command = hook.command;
186
+ return (command === "jumbo session start" ||
187
+ command === "jumbo session start --format text" ||
188
+ command === "jumbo work resume" ||
189
+ command === "jumbo work resume --format text" ||
190
+ command === "jumbo work pause" ||
191
+ command === "jumbo work pause --format text");
31
192
  }
32
193
  /**
33
194
  * Return what changes this configurer will make without executing.
34
195
  */
35
- async getPlannedFileChanges(_projectRoot) {
36
- return [];
196
+ async getPlannedFileChanges(projectRoot) {
197
+ const hooksPath = path.join(projectRoot, ".codex", "hooks.json");
198
+ return [
199
+ {
200
+ path: ".codex/hooks.json",
201
+ action: (await fs.pathExists(hooksPath)) ? "modify" : "create",
202
+ description: "Add Codex lifecycle hooks using text-mode Jumbo output",
203
+ },
204
+ ];
37
205
  }
38
206
  }
39
207
  //# sourceMappingURL=CodexConfigurer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CodexConfigurer.js","sourceRoot":"","sources":["../../../../../src/infrastructure/context/project/init/CodexConfigurer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAKH,MAAM,OAAO,eAAe;IAA5B;QACW,UAAK,GAAG;YACf,EAAE,EAAE,OAAO;YACX,IAAI,EAAE,OAAO;SACL,CAAC;QAEF,mBAAc,GAAG,CAAC,eAAe,CAAU,CAAC;IAoBvD,CAAC;IAlBC;;;;;;OAMG;IACH,KAAK,CAAC,SAAS,CAAC,YAAoB;QAClC,+DAA+D;QAC/D,gEAAgE;IAClE,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,qBAAqB,CAAC,YAAoB;QAC9C,OAAO,EAAE,CAAC;IACZ,CAAC;CACF"}
1
+ {"version":3,"file":"CodexConfigurer.js","sourceRoot":"","sources":["../../../../../src/infrastructure/context/project/init/CodexConfigurer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,MAAM,UAAU,CAAC;AAI1B,MAAM,OAAO,eAAe;IAA5B;QACW,UAAK,GAAG;YACf,EAAE,EAAE,OAAO;YACX,IAAI,EAAE,OAAO;SACL,CAAC;QA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AmC;YAC/C,OAAO,KAAK,mBAAmB;YAC/B,OAAO,KAAK,iCAAiC;YAC7C,OAAO,KAAK,kBAAkB;YAC9B,OAAO,KAAK,gCAAgC,CAC7C,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,qBAAqB,CAAC,WAAmB;QAC7C,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC;QAEjE,OAAO;YACL;gBACE,IAAI,EAAE,mBAAmB;gBACzB,MAAM,EAAE,CAAC,MAAM,EAAE,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ;gBAC9D,WAAW,EAAE,wDAAwD;aACtE;SACF,CAAC;IACJ,CAAC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"HostBuilder.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/host/HostBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,qBAAqB,EAAE,MAAM,iDAAiD,CAAC;AASxF,OAAO,EAAE,gBAAgB,EAAE,MAAM,iDAAiD,CAAC;AAsiBnF,qBAAa,WAAW;IACtB,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAS;IACjC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAoB;IACvC,OAAO,CAAC,QAAQ,CAAC,uBAAuB,CAE1B;gBAGZ,OAAO,EAAE,MAAM,EACf,EAAE,EAAE,QAAQ,CAAC,QAAQ,EACrB,uBAAuB,CAAC,EAAE,CAAC,eAAe,EAAE,gBAAgB,KAAK,IAAI;IAOvE;;;;;;;OAOG;IACG,KAAK,IAAI,OAAO,CAAC,qBAAqB,CAAC;CAmpD9C"}
1
+ {"version":3,"file":"HostBuilder.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/host/HostBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,qBAAqB,EAAE,MAAM,iDAAiD,CAAC;AASxF,OAAO,EAAE,gBAAgB,EAAE,MAAM,iDAAiD,CAAC;AAuiBnF,qBAAa,WAAW;IACtB,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAS;IACjC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAoB;IACvC,OAAO,CAAC,QAAQ,CAAC,uBAAuB,CAE1B;gBAGZ,OAAO,EAAE,MAAM,EACf,EAAE,EAAE,QAAQ,CAAC,QAAQ,EACrB,uBAAuB,CAAC,EAAE,CAAC,eAAe,EAAE,gBAAgB,KAAK,IAAI;IAOvE;;;;;;;OAOG;IACG,KAAK,IAAI,OAAO,CAAC,qBAAqB,CAAC;CAypD9C"}
@@ -384,6 +384,7 @@ import { GetRelationsController } from "../../application/context/relations/get/
384
384
  import { LocalGetRelationsGateway } from "../../application/context/relations/get/LocalGetRelationsGateway.js";
385
385
  // Context
386
386
  import { GoalContextQueryHandler } from "../../application/context/goals/get/GoalContextQueryHandler.js";
387
+ import { GoalBacklogPreviewQueryHandler } from "../../application/context/goals/query/GoalBacklogPreviewQueryHandler.js";
387
388
  // Goal Controllers
388
389
  import { AddGoalCommandHandler } from "../../application/context/goals/add/AddGoalCommandHandler.js";
389
390
  import { LocalAddGoalGateway } from "../../application/context/goals/add/LocalAddGoalGateway.js";
@@ -814,6 +815,7 @@ export class HostBuilder {
814
815
  relationRemovedProjector, // Also implements IRelationReader
815
816
  componentViewReader, dependencyViewReader, decisionViewReader, invariantViewReader, guidelineViewReader);
816
817
  const goalContextQueryHandler = new GoalContextQueryHandler(goalContextAssembler);
818
+ const goalBacklogPreviewQueryHandler = new GoalBacklogPreviewQueryHandler(goalStatusReader);
817
819
  // Project Controllers
818
820
  const updateProjectCommandHandler = new UpdateProjectCommandHandler(projectUpdatedEventStore, eventBus, projectUpdatedProjector);
819
821
  const updateProjectGateway = new LocalUpdateProjectGateway(updateProjectCommandHandler, projectUpdatedProjector);
@@ -823,7 +825,7 @@ export class HostBuilder {
823
825
  // Session Controllers
824
826
  const sessionContextQueryHandler = new SessionContextQueryHandler(sessionViewReader, goalStatusReader, decisionViewReader, projectContextReader);
825
827
  const startSessionCommandHandler = new StartSessionCommandHandler(sessionStartedEventStore, eventBus);
826
- const startSessionGateway = new LocalStartSessionGateway(startSessionCommandHandler, brownfieldStatusReader);
828
+ const startSessionGateway = new LocalStartSessionGateway(startSessionCommandHandler, brownfieldStatusReader, settingsReader, goalBacklogPreviewQueryHandler);
827
829
  const sessionStartController = new SessionStartController(startSessionGateway);
828
830
  const getTelemetryStatusGateway = new LocalGetTelemetryStatusGateway(settingsReader, telemetryEnvironmentReader, telemetryConsentStatusResolver);
829
831
  const getTelemetryStatusController = new GetTelemetryStatusController(getTelemetryStatusGateway);
@@ -1287,6 +1289,7 @@ export class HostBuilder {
1287
1289
  goalContextReader: goalStartedProjector,
1288
1290
  goalContextAssembler,
1289
1291
  goalContextQueryHandler,
1292
+ goalBacklogPreviewQueryHandler,
1290
1293
  goalStatusReader,
1291
1294
  // Session Controllers
1292
1295
  sessionStartController,