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.
- package/README.md +3 -3
- package/dist/application/context/goals/codify/CodifierProcessManager.d.ts.map +1 -1
- package/dist/application/context/goals/codify/CodifierProcessManager.js +9 -3
- package/dist/application/context/goals/codify/CodifierProcessManager.js.map +1 -1
- package/dist/application/context/goals/query/GoalBacklogPreviewItem.d.ts +8 -0
- package/dist/application/context/goals/query/GoalBacklogPreviewItem.d.ts.map +1 -0
- package/dist/application/context/goals/query/GoalBacklogPreviewItem.js +2 -0
- package/dist/application/context/goals/query/GoalBacklogPreviewItem.js.map +1 -0
- package/dist/application/context/goals/query/GoalBacklogPreviewQueryHandler.d.ts +9 -0
- package/dist/application/context/goals/query/GoalBacklogPreviewQueryHandler.d.ts.map +1 -0
- package/dist/application/context/goals/query/GoalBacklogPreviewQueryHandler.js +42 -0
- package/dist/application/context/goals/query/GoalBacklogPreviewQueryHandler.js.map +1 -0
- package/dist/application/context/goals/refine/RefinerProcessManager.d.ts.map +1 -1
- package/dist/application/context/goals/refine/RefinerProcessManager.js +19 -3
- package/dist/application/context/goals/refine/RefinerProcessManager.js.map +1 -1
- package/dist/application/context/goals/review/ReviewerProcessManager.d.ts.map +1 -1
- package/dist/application/context/goals/review/ReviewerProcessManager.js +16 -3
- package/dist/application/context/goals/review/ReviewerProcessManager.js.map +1 -1
- package/dist/application/context/sessions/start/LocalStartSessionGateway.d.ts +5 -1
- package/dist/application/context/sessions/start/LocalStartSessionGateway.d.ts.map +1 -1
- package/dist/application/context/sessions/start/LocalStartSessionGateway.js +11 -2
- package/dist/application/context/sessions/start/LocalStartSessionGateway.js.map +1 -1
- package/dist/application/context/sessions/start/SessionStartResponse.d.ts +2 -0
- package/dist/application/context/sessions/start/SessionStartResponse.d.ts.map +1 -1
- package/dist/application/host/IApplicationContainer.d.ts +2 -0
- package/dist/application/host/IApplicationContainer.d.ts.map +1 -1
- package/dist/application/settings/Settings.d.ts +15 -0
- package/dist/application/settings/Settings.d.ts.map +1 -1
- package/dist/application/settings/Settings.js +4 -0
- package/dist/application/settings/Settings.js.map +1 -1
- package/dist/domain/architecture/define/ArchitectureDefinedEvent.d.ts +2 -1
- package/dist/domain/architecture/define/ArchitectureDefinedEvent.d.ts.map +1 -1
- package/dist/domain/architecture/update/ArchitectureUpdatedEvent.d.ts +2 -1
- package/dist/domain/architecture/update/ArchitectureUpdatedEvent.d.ts.map +1 -1
- package/dist/domain/audience-pains/add/AudiencePainAddedEvent.d.ts +2 -1
- package/dist/domain/audience-pains/add/AudiencePainAddedEvent.d.ts.map +1 -1
- package/dist/domain/audience-pains/update/AudiencePainUpdatedEvent.d.ts +2 -1
- package/dist/domain/audience-pains/update/AudiencePainUpdatedEvent.d.ts.map +1 -1
- package/dist/domain/audiences/add/AudienceAddedEvent.d.ts +2 -2
- package/dist/domain/audiences/add/AudienceAddedEvent.d.ts.map +1 -1
- package/dist/domain/audiences/remove/AudienceRemovedEvent.d.ts +2 -1
- package/dist/domain/audiences/remove/AudienceRemovedEvent.d.ts.map +1 -1
- package/dist/domain/audiences/update/AudienceUpdatedEvent.d.ts +2 -2
- package/dist/domain/audiences/update/AudienceUpdatedEvent.d.ts.map +1 -1
- package/dist/domain/components/add/ComponentAddedEvent.d.ts +2 -2
- package/dist/domain/components/add/ComponentAddedEvent.d.ts.map +1 -1
- package/dist/domain/components/deprecate/ComponentDeprecatedEvent.d.ts +2 -2
- package/dist/domain/components/deprecate/ComponentDeprecatedEvent.d.ts.map +1 -1
- package/dist/domain/components/remove/ComponentRemovedEvent.d.ts +2 -2
- package/dist/domain/components/remove/ComponentRemovedEvent.d.ts.map +1 -1
- package/dist/domain/components/update/ComponentUpdatedEvent.d.ts +2 -2
- package/dist/domain/components/update/ComponentUpdatedEvent.d.ts.map +1 -1
- package/dist/domain/goals/unblock/GoalUnblockedEvent.d.ts +2 -2
- package/dist/domain/goals/unblock/GoalUnblockedEvent.d.ts.map +1 -1
- package/dist/domain/guidelines/add/GuidelineAddedEvent.d.ts +2 -2
- package/dist/domain/guidelines/add/GuidelineAddedEvent.d.ts.map +1 -1
- package/dist/domain/guidelines/remove/GuidelineRemovedEvent.d.ts +2 -1
- package/dist/domain/guidelines/remove/GuidelineRemovedEvent.d.ts.map +1 -1
- package/dist/domain/guidelines/update/GuidelineUpdatedEvent.d.ts +2 -2
- package/dist/domain/guidelines/update/GuidelineUpdatedEvent.d.ts.map +1 -1
- package/dist/domain/invariants/add/InvariantAddedEvent.d.ts +2 -1
- package/dist/domain/invariants/add/InvariantAddedEvent.d.ts.map +1 -1
- package/dist/domain/invariants/remove/InvariantRemovedEvent.d.ts +2 -1
- package/dist/domain/invariants/remove/InvariantRemovedEvent.d.ts.map +1 -1
- package/dist/domain/invariants/update/InvariantUpdatedEvent.d.ts +2 -1
- package/dist/domain/invariants/update/InvariantUpdatedEvent.d.ts.map +1 -1
- package/dist/domain/project/Constants.d.ts +7 -0
- package/dist/domain/project/Constants.d.ts.map +1 -1
- package/dist/domain/project/Constants.js +7 -0
- package/dist/domain/project/Constants.js.map +1 -1
- package/dist/domain/project/ProjectLifecyle.d.ts +7 -0
- package/dist/domain/project/ProjectLifecyle.d.ts.map +1 -0
- package/dist/domain/project/ProjectLifecyle.js +8 -0
- package/dist/domain/project/ProjectLifecyle.js.map +1 -0
- package/dist/domain/relations/Constants.d.ts +6 -0
- package/dist/domain/relations/Constants.d.ts.map +1 -1
- package/dist/domain/relations/Constants.js +6 -0
- package/dist/domain/relations/Constants.js.map +1 -1
- package/dist/domain/relations/Relation.d.ts +2 -2
- package/dist/domain/relations/Relation.d.ts.map +1 -1
- package/dist/domain/relations/Relation.js +10 -10
- package/dist/domain/relations/Relation.js.map +1 -1
- package/dist/domain/relations/add/RelationAddedEvent.d.ts +2 -2
- package/dist/domain/relations/add/RelationAddedEvent.d.ts.map +1 -1
- package/dist/domain/relations/remove/RelationRemovedEvent.d.ts +2 -2
- package/dist/domain/relations/remove/RelationRemovedEvent.d.ts.map +1 -1
- package/dist/domain/value-propositions/add/ValuePropositionAddedEvent.d.ts +2 -1
- package/dist/domain/value-propositions/add/ValuePropositionAddedEvent.d.ts.map +1 -1
- package/dist/domain/value-propositions/remove/ValuePropositionRemovedEvent.d.ts +2 -1
- package/dist/domain/value-propositions/remove/ValuePropositionRemovedEvent.d.ts.map +1 -1
- package/dist/domain/value-propositions/update/ValuePropositionUpdatedEvent.d.ts +2 -1
- package/dist/domain/value-propositions/update/ValuePropositionUpdatedEvent.d.ts.map +1 -1
- package/dist/infrastructure/agents/AgentCliGateway.d.ts.map +1 -1
- package/dist/infrastructure/agents/AgentCliGateway.js +30 -10
- package/dist/infrastructure/agents/AgentCliGateway.js.map +1 -1
- package/dist/infrastructure/context/project/init/CodexConfigurer.d.ts +19 -6
- package/dist/infrastructure/context/project/init/CodexConfigurer.d.ts.map +1 -1
- package/dist/infrastructure/context/project/init/CodexConfigurer.js +177 -9
- package/dist/infrastructure/context/project/init/CodexConfigurer.js.map +1 -1
- package/dist/infrastructure/host/HostBuilder.d.ts.map +1 -1
- package/dist/infrastructure/host/HostBuilder.js +4 -1
- package/dist/infrastructure/host/HostBuilder.js.map +1 -1
- package/dist/infrastructure/settings/DefaultSettings.d.ts.map +1 -1
- package/dist/infrastructure/settings/DefaultSettings.js +4 -1
- package/dist/infrastructure/settings/DefaultSettings.js.map +1 -1
- package/dist/infrastructure/settings/FsSettingsInitializer.d.ts.map +1 -1
- package/dist/infrastructure/settings/FsSettingsInitializer.js +6 -0
- package/dist/infrastructure/settings/FsSettingsInitializer.js.map +1 -1
- package/dist/infrastructure/settings/FsSettingsReader.d.ts.map +1 -1
- package/dist/infrastructure/settings/FsSettingsReader.js +10 -0
- package/dist/infrastructure/settings/FsSettingsReader.js.map +1 -1
- package/dist/presentation/cli/commands/sessions/start/SessionStartOutputBuilder.d.ts +2 -0
- package/dist/presentation/cli/commands/sessions/start/SessionStartOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/sessions/start/SessionStartOutputBuilder.js +9 -1
- package/dist/presentation/cli/commands/sessions/start/SessionStartOutputBuilder.js.map +1 -1
- package/dist/presentation/tui/Constants.d.ts +18 -0
- package/dist/presentation/tui/Constants.d.ts.map +1 -0
- package/dist/presentation/tui/Constants.js +28 -0
- package/dist/presentation/tui/Constants.js.map +1 -0
- package/dist/presentation/tui/action-dispatch/TuiActionDispatcher.d.ts +4 -10
- package/dist/presentation/tui/action-dispatch/TuiActionDispatcher.d.ts.map +1 -1
- package/dist/presentation/tui/action-dispatch/TuiActionDispatcher.js +17 -20
- package/dist/presentation/tui/action-dispatch/TuiActionDispatcher.js.map +1 -1
- package/dist/presentation/tui/action-dispatch/TuiActionErrorNormalizer.d.ts +4 -0
- package/dist/presentation/tui/action-dispatch/TuiActionErrorNormalizer.d.ts.map +1 -0
- package/dist/presentation/tui/action-dispatch/TuiActionErrorNormalizer.js +9 -0
- package/dist/presentation/tui/action-dispatch/TuiActionErrorNormalizer.js.map +1 -0
- package/dist/presentation/tui/action-dispatch/TuiActionResult.d.ts +8 -0
- package/dist/presentation/tui/action-dispatch/TuiActionResult.d.ts.map +1 -0
- package/dist/presentation/tui/action-dispatch/TuiActionResult.js +2 -0
- package/dist/presentation/tui/action-dispatch/TuiActionResult.js.map +1 -0
- package/dist/presentation/tui/action-dispatch/TuiRequestController.d.ts +4 -0
- package/dist/presentation/tui/action-dispatch/TuiRequestController.d.ts.map +1 -0
- package/dist/presentation/tui/action-dispatch/TuiRequestController.js +2 -0
- package/dist/presentation/tui/action-dispatch/TuiRequestController.js.map +1 -0
- package/dist/presentation/tui/application-shell/Footer.d.ts +2 -6
- package/dist/presentation/tui/application-shell/Footer.d.ts.map +1 -1
- package/dist/presentation/tui/application-shell/Footer.js +16 -12
- package/dist/presentation/tui/application-shell/Footer.js.map +1 -1
- package/dist/presentation/tui/application-shell/FooterShortcutDescriptor.d.ts +16 -0
- package/dist/presentation/tui/application-shell/FooterShortcutDescriptor.d.ts.map +1 -0
- package/dist/presentation/tui/application-shell/FooterShortcutDescriptor.js +10 -0
- package/dist/presentation/tui/application-shell/FooterShortcutDescriptor.js.map +1 -0
- package/dist/presentation/tui/application-shell/FooterUnreadNotificationCounter.d.ts +3 -0
- package/dist/presentation/tui/application-shell/FooterUnreadNotificationCounter.d.ts.map +1 -0
- package/dist/presentation/tui/application-shell/FooterUnreadNotificationCounter.js +4 -0
- package/dist/presentation/tui/application-shell/FooterUnreadNotificationCounter.js.map +1 -0
- package/dist/presentation/tui/application-shell/Header.d.ts.map +1 -1
- package/dist/presentation/tui/application-shell/Header.js +4 -3
- package/dist/presentation/tui/application-shell/Header.js.map +1 -1
- package/dist/presentation/tui/application-shell/HeaderConstants.d.ts +6 -0
- package/dist/presentation/tui/application-shell/HeaderConstants.d.ts.map +1 -0
- package/dist/presentation/tui/application-shell/HeaderConstants.js +6 -0
- package/dist/presentation/tui/application-shell/HeaderConstants.js.map +1 -0
- package/dist/presentation/tui/application-shell/TuiApp.d.ts +1 -1
- package/dist/presentation/tui/application-shell/TuiApp.d.ts.map +1 -1
- package/dist/presentation/tui/application-shell/TuiApp.js +26 -23
- package/dist/presentation/tui/application-shell/TuiApp.js.map +1 -1
- package/dist/presentation/tui/application-shell/TuiAppConstants.d.ts +18 -0
- package/dist/presentation/tui/application-shell/TuiAppConstants.d.ts.map +1 -0
- package/dist/presentation/tui/application-shell/TuiAppConstants.js +18 -0
- package/dist/presentation/tui/application-shell/TuiAppConstants.js.map +1 -0
- package/dist/presentation/tui/application-shell/useFooterNotificationDismissal.d.ts +6 -0
- package/dist/presentation/tui/application-shell/useFooterNotificationDismissal.d.ts.map +1 -0
- package/dist/presentation/tui/application-shell/useFooterNotificationDismissal.js +9 -0
- package/dist/presentation/tui/application-shell/useFooterNotificationDismissal.js.map +1 -0
- package/dist/presentation/tui/billboard/AnimatedBillboard.d.ts.map +1 -1
- package/dist/presentation/tui/billboard/AnimatedBillboard.js +26 -100
- package/dist/presentation/tui/billboard/AnimatedBillboard.js.map +1 -1
- package/dist/presentation/tui/billboard/AnimatedBillboardPalette.d.ts +31 -0
- package/dist/presentation/tui/billboard/AnimatedBillboardPalette.d.ts.map +1 -0
- package/dist/presentation/tui/billboard/AnimatedBillboardPalette.js +54 -0
- package/dist/presentation/tui/billboard/AnimatedBillboardPalette.js.map +1 -0
- package/dist/presentation/tui/billboard/AnimatedBillboardPhase.d.ts +8 -0
- package/dist/presentation/tui/billboard/AnimatedBillboardPhase.d.ts.map +1 -0
- package/dist/presentation/tui/billboard/AnimatedBillboardPhase.js +7 -0
- package/dist/presentation/tui/billboard/AnimatedBillboardPhase.js.map +1 -0
- package/dist/presentation/tui/billboard/AnimatedBillboardStickerArt.d.ts +2 -0
- package/dist/presentation/tui/billboard/AnimatedBillboardStickerArt.d.ts.map +1 -0
- package/dist/presentation/tui/billboard/AnimatedBillboardStickerArt.js +17 -0
- package/dist/presentation/tui/billboard/AnimatedBillboardStickerArt.js.map +1 -0
- package/dist/presentation/tui/billboard/AnimatedBillboardWordmarkArt.d.ts +2 -0
- package/dist/presentation/tui/billboard/AnimatedBillboardWordmarkArt.d.ts.map +1 -0
- package/dist/presentation/tui/billboard/AnimatedBillboardWordmarkArt.js +10 -0
- package/dist/presentation/tui/billboard/AnimatedBillboardWordmarkArt.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonConfiguration.d.ts +1 -2
- package/dist/presentation/tui/cockpit/CockpitDaemonConfiguration.d.ts.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitDaemonConfiguration.js +4 -5
- package/dist/presentation/tui/cockpit/CockpitDaemonConfiguration.js.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitDaemonEvents.d.ts.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitDaemonEvents.js +23 -15
- package/dist/presentation/tui/cockpit/CockpitDaemonEvents.js.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitDaemonFrames.d.ts +4 -4
- package/dist/presentation/tui/cockpit/CockpitDaemonFrames.d.ts.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitDaemonFrames.js +5 -2
- package/dist/presentation/tui/cockpit/CockpitDaemonFrames.js.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitDaemonPanel.d.ts +6 -17
- package/dist/presentation/tui/cockpit/CockpitDaemonPanel.d.ts.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitDaemonPanel.js +20 -75
- package/dist/presentation/tui/cockpit/CockpitDaemonPanel.js.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitDaemonPanelCopy.d.ts +12 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonPanelCopy.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonPanelCopy.js +12 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonPanelCopy.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonSnapshot.d.ts +10 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonSnapshot.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonSnapshot.js +2 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonSnapshot.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitGreeterCopy.d.ts +10 -0
- package/dist/presentation/tui/cockpit/CockpitGreeterCopy.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitGreeterCopy.js +14 -0
- package/dist/presentation/tui/cockpit/CockpitGreeterCopy.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitGreeterView.d.ts.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitGreeterView.js +3 -2
- package/dist/presentation/tui/cockpit/CockpitGreeterView.js.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitLaunchpadCopy.d.ts +4 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchpadCopy.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchpadCopy.js +4 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchpadCopy.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchpadView.d.ts.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitLaunchpadView.js +45 -31
- package/dist/presentation/tui/cockpit/CockpitLaunchpadView.js.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitLaunchpadWelcome.d.ts.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitLaunchpadWelcome.js +5 -4
- package/dist/presentation/tui/cockpit/CockpitLaunchpadWelcome.js.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitLaunchpadWelcomeCopy.d.ts +9 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchpadWelcomeCopy.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchpadWelcomeCopy.js +12 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchpadWelcomeCopy.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitPrimedEmptyCopy.d.ts +12 -0
- package/dist/presentation/tui/cockpit/CockpitPrimedEmptyCopy.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitPrimedEmptyCopy.js +16 -0
- package/dist/presentation/tui/cockpit/CockpitPrimedEmptyCopy.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitPrimedEmptyView.d.ts.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitPrimedEmptyView.js +7 -6
- package/dist/presentation/tui/cockpit/CockpitPrimedEmptyView.js.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitScreen.d.ts +2 -1
- package/dist/presentation/tui/cockpit/CockpitScreen.d.ts.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitScreen.js +23 -19
- package/dist/presentation/tui/cockpit/CockpitScreen.js.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitScreenCopy.d.ts +7 -0
- package/dist/presentation/tui/cockpit/CockpitScreenCopy.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitScreenCopy.js +7 -0
- package/dist/presentation/tui/cockpit/CockpitScreenCopy.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitScreenDefaults.d.ts +6 -0
- package/dist/presentation/tui/cockpit/CockpitScreenDefaults.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitScreenDefaults.js +6 -0
- package/dist/presentation/tui/cockpit/CockpitScreenDefaults.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitUnprimedCopy.d.ts +12 -0
- package/dist/presentation/tui/cockpit/CockpitUnprimedCopy.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitUnprimedCopy.js +16 -0
- package/dist/presentation/tui/cockpit/CockpitUnprimedCopy.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitUnprimedView.d.ts.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitUnprimedView.js +8 -7
- package/dist/presentation/tui/cockpit/CockpitUnprimedView.js.map +1 -1
- package/dist/presentation/tui/cockpit/DaemonFrameViews.d.ts +17 -0
- package/dist/presentation/tui/cockpit/DaemonFrameViews.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonFrameViews.js +20 -0
- package/dist/presentation/tui/cockpit/DaemonFrameViews.js.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonPanelStatusLabel.d.ts +4 -0
- package/dist/presentation/tui/cockpit/DaemonPanelStatusLabel.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonPanelStatusLabel.js +14 -0
- package/dist/presentation/tui/cockpit/DaemonPanelStatusLabel.js.map +1 -0
- package/dist/presentation/tui/cockpit/daemons/CodifierDaemonConstants.d.ts +11 -0
- package/dist/presentation/tui/cockpit/daemons/CodifierDaemonConstants.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/daemons/CodifierDaemonConstants.js +15 -0
- package/dist/presentation/tui/cockpit/daemons/CodifierDaemonConstants.js.map +1 -0
- package/dist/presentation/tui/cockpit/daemons/CodifierDaemonFrame.d.ts +4 -0
- package/dist/presentation/tui/cockpit/daemons/CodifierDaemonFrame.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/daemons/CodifierDaemonFrame.js +7 -0
- package/dist/presentation/tui/cockpit/daemons/CodifierDaemonFrame.js.map +1 -0
- package/dist/presentation/tui/cockpit/daemons/IDaemonConstants.d.ts +11 -0
- package/dist/presentation/tui/cockpit/daemons/IDaemonConstants.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/daemons/IDaemonConstants.js +2 -0
- package/dist/presentation/tui/cockpit/daemons/IDaemonConstants.js.map +1 -0
- package/dist/presentation/tui/cockpit/daemons/IDaemonFrame.d.ts +11 -0
- package/dist/presentation/tui/cockpit/daemons/IDaemonFrame.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/daemons/IDaemonFrame.js +2 -0
- package/dist/presentation/tui/cockpit/daemons/IDaemonFrame.js.map +1 -0
- package/dist/presentation/tui/cockpit/daemons/IDaemonUiDefinition.d.ts +7 -0
- package/dist/presentation/tui/cockpit/daemons/IDaemonUiDefinition.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/daemons/IDaemonUiDefinition.js +2 -0
- package/dist/presentation/tui/cockpit/daemons/IDaemonUiDefinition.js.map +1 -0
- package/dist/presentation/tui/cockpit/daemons/RefinerDaemonConstants.d.ts +11 -0
- package/dist/presentation/tui/cockpit/daemons/RefinerDaemonConstants.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/daemons/RefinerDaemonConstants.js +15 -0
- package/dist/presentation/tui/cockpit/daemons/RefinerDaemonConstants.js.map +1 -0
- package/dist/presentation/tui/cockpit/daemons/RefinerDaemonFrame.d.ts +4 -0
- package/dist/presentation/tui/cockpit/daemons/RefinerDaemonFrame.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/daemons/RefinerDaemonFrame.js +7 -0
- package/dist/presentation/tui/cockpit/daemons/RefinerDaemonFrame.js.map +1 -0
- package/dist/presentation/tui/cockpit/daemons/ReviewerDaemonConstants.d.ts +11 -0
- package/dist/presentation/tui/cockpit/daemons/ReviewerDaemonConstants.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/daemons/ReviewerDaemonConstants.js +16 -0
- package/dist/presentation/tui/cockpit/daemons/ReviewerDaemonConstants.js.map +1 -0
- package/dist/presentation/tui/cockpit/daemons/ReviewerDaemonFrame.d.ts +4 -0
- package/dist/presentation/tui/cockpit/daemons/ReviewerDaemonFrame.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/daemons/ReviewerDaemonFrame.js +7 -0
- package/dist/presentation/tui/cockpit/daemons/ReviewerDaemonFrame.js.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/ISubprocessManager.d.ts +10 -34
- package/dist/presentation/tui/daemon-subprocesses/ISubprocessManager.d.ts.map +1 -1
- package/dist/presentation/tui/daemon-subprocesses/ManagedSubprocess.d.ts +18 -0
- package/dist/presentation/tui/daemon-subprocesses/ManagedSubprocess.d.ts.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/ManagedSubprocess.js +2 -0
- package/dist/presentation/tui/daemon-subprocesses/ManagedSubprocess.js.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/NoOpSubprocessManager.d.ts.map +1 -1
- package/dist/presentation/tui/daemon-subprocesses/NoOpSubprocessManager.js +2 -1
- package/dist/presentation/tui/daemon-subprocesses/NoOpSubprocessManager.js.map +1 -1
- package/dist/presentation/tui/daemon-subprocesses/SubprocessManagerContext.d.ts +2 -7
- package/dist/presentation/tui/daemon-subprocesses/SubprocessManagerContext.d.ts.map +1 -1
- package/dist/presentation/tui/daemon-subprocesses/SubprocessManagerContext.js +2 -8
- package/dist/presentation/tui/daemon-subprocesses/SubprocessManagerContext.js.map +1 -1
- package/dist/presentation/tui/daemon-subprocesses/SubprocessManagerProvider.d.ts +8 -0
- package/dist/presentation/tui/daemon-subprocesses/SubprocessManagerProvider.d.ts.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/SubprocessManagerProvider.js +6 -0
- package/dist/presentation/tui/daemon-subprocesses/SubprocessManagerProvider.js.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiDaemonConfig.d.ts +2 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiDaemonConfig.d.ts.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiDaemonConfig.js +2 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiDaemonConfig.js.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiDaemonCounts.d.ts +6 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiDaemonCounts.d.ts.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiDaemonCounts.js +2 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiDaemonCounts.js.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiDaemonEventCategory.d.ts +7 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiDaemonEventCategory.d.ts.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiDaemonEventCategory.js +8 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiDaemonEventCategory.js.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiDaemonEventSnapshot.d.ts +15 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiDaemonEventSnapshot.d.ts.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiDaemonEventSnapshot.js +2 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiDaemonEventSnapshot.js.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiDaemonEventStatus.d.ts +14 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiDaemonEventStatus.d.ts.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiDaemonEventStatus.js +13 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiDaemonEventStatus.js.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiDaemonName.d.ts +2 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiDaemonName.d.ts.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiDaemonName.js +2 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiDaemonName.js.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiDaemonOutputEventParser.d.ts +11 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiDaemonOutputEventParser.d.ts.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiDaemonOutputEventParser.js +58 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiDaemonOutputEventParser.js.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessConfigResolver.d.ts +5 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessConfigResolver.d.ts.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessConfigResolver.js +11 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessConfigResolver.js.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessCopy.d.ts +16 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessCopy.d.ts.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessCopy.js +16 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessCopy.js.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessLifecycleEventRecorder.d.ts +17 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessLifecycleEventRecorder.d.ts.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessLifecycleEventRecorder.js +86 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessLifecycleEventRecorder.js.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessManager.d.ts +9 -7
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessManager.d.ts.map +1 -1
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessManager.js +55 -164
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessManager.js.map +1 -1
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessNoOpLogger.d.ts +3 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessNoOpLogger.d.ts.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessNoOpLogger.js +7 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessNoOpLogger.js.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessOutputRingBuffer.d.ts +7 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessOutputRingBuffer.d.ts.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessOutputRingBuffer.js +25 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessOutputRingBuffer.js.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessSnapshot.d.ts +17 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessSnapshot.d.ts.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessSnapshot.js +2 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessSnapshot.js.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessSnapshotMapper.d.ts +8 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessSnapshotMapper.d.ts.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessSnapshotMapper.js +29 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessSnapshotMapper.js.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessStatus.d.ts +7 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessStatus.d.ts.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessStatus.js +6 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessStatus.js.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/useSubprocessManager.d.ts +3 -0
- package/dist/presentation/tui/daemon-subprocesses/useSubprocessManager.d.ts.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/useSubprocessManager.js +6 -0
- package/dist/presentation/tui/daemon-subprocesses/useSubprocessManager.js.map +1 -0
- package/dist/presentation/tui/goals/Constants.d.ts +2 -0
- package/dist/presentation/tui/goals/Constants.d.ts.map +1 -0
- package/dist/presentation/tui/goals/Constants.js +2 -0
- package/dist/presentation/tui/goals/Constants.js.map +1 -0
- package/dist/presentation/tui/goals/GoalAuthoringFlow.d.ts.map +1 -1
- package/dist/presentation/tui/goals/GoalAuthoringFlow.js +80 -88
- package/dist/presentation/tui/goals/GoalAuthoringFlow.js.map +1 -1
- package/dist/presentation/tui/goals/GoalAuthoringFlowConstants.d.ts +79 -0
- package/dist/presentation/tui/goals/GoalAuthoringFlowConstants.d.ts.map +1 -0
- package/dist/presentation/tui/goals/GoalAuthoringFlowConstants.js +84 -0
- package/dist/presentation/tui/goals/GoalAuthoringFlowConstants.js.map +1 -0
- package/dist/presentation/tui/goals/GoalsScreen.d.ts.map +1 -1
- package/dist/presentation/tui/goals/GoalsScreen.js +49 -57
- package/dist/presentation/tui/goals/GoalsScreen.js.map +1 -1
- package/dist/presentation/tui/goals/GoalsScreenConstants.d.ts +33 -0
- package/dist/presentation/tui/goals/GoalsScreenConstants.d.ts.map +1 -0
- package/dist/presentation/tui/goals/GoalsScreenConstants.js +41 -0
- package/dist/presentation/tui/goals/GoalsScreenConstants.js.map +1 -0
- package/dist/presentation/tui/index.d.ts +4 -2
- package/dist/presentation/tui/index.d.ts.map +1 -1
- package/dist/presentation/tui/index.js +2 -1
- package/dist/presentation/tui/index.js.map +1 -1
- package/dist/presentation/tui/memory/MemoryScreen.d.ts.map +1 -1
- package/dist/presentation/tui/memory/MemoryScreen.js +10 -4
- package/dist/presentation/tui/memory/MemoryScreen.js.map +1 -1
- package/dist/presentation/tui/memory/components/ComponentsScreen.d.ts.map +1 -1
- package/dist/presentation/tui/memory/components/ComponentsScreen.js +5 -1
- package/dist/presentation/tui/memory/components/ComponentsScreen.js.map +1 -1
- package/dist/presentation/tui/memory/decisions/DecisionsScreen.d.ts.map +1 -1
- package/dist/presentation/tui/memory/decisions/DecisionsScreen.js +5 -1
- package/dist/presentation/tui/memory/decisions/DecisionsScreen.js.map +1 -1
- package/dist/presentation/tui/memory/dependencies/DependenciesScreen.d.ts.map +1 -1
- package/dist/presentation/tui/memory/dependencies/DependenciesScreen.js +5 -1
- package/dist/presentation/tui/memory/dependencies/DependenciesScreen.js.map +1 -1
- package/dist/presentation/tui/memory/entity-browser/EntityColumn.d.ts.map +1 -1
- package/dist/presentation/tui/memory/entity-browser/EntityColumn.js +4 -1
- package/dist/presentation/tui/memory/entity-browser/EntityColumn.js.map +1 -1
- package/dist/presentation/tui/memory/entity-browser/EntityDetailView.d.ts.map +1 -1
- package/dist/presentation/tui/memory/entity-browser/EntityDetailView.js +96 -40
- package/dist/presentation/tui/memory/entity-browser/EntityDetailView.js.map +1 -1
- package/dist/presentation/tui/memory/entity-browser/MemoryEntityScreen.d.ts.map +1 -1
- package/dist/presentation/tui/memory/entity-browser/MemoryEntityScreen.js +39 -12
- package/dist/presentation/tui/memory/entity-browser/MemoryEntityScreen.js.map +1 -1
- package/dist/presentation/tui/memory/guidelines/GuidelinesScreen.d.ts.map +1 -1
- package/dist/presentation/tui/memory/guidelines/GuidelinesScreen.js +5 -1
- package/dist/presentation/tui/memory/guidelines/GuidelinesScreen.js.map +1 -1
- package/dist/presentation/tui/memory/invariants/InvariantsScreen.d.ts.map +1 -1
- package/dist/presentation/tui/memory/invariants/InvariantsScreen.js +5 -1
- package/dist/presentation/tui/memory/invariants/InvariantsScreen.js.map +1 -1
- package/dist/presentation/tui/navigation/MegaMenu.d.ts.map +1 -1
- package/dist/presentation/tui/navigation/MegaMenu.js +19 -4
- package/dist/presentation/tui/navigation/MegaMenu.js.map +1 -1
- package/dist/presentation/tui/navigation/MegaMenuDefinitions.d.ts.map +1 -1
- package/dist/presentation/tui/navigation/MegaMenuDefinitions.js +101 -56
- package/dist/presentation/tui/navigation/MegaMenuDefinitions.js.map +1 -1
- package/dist/presentation/tui/navigation/ScreenRouter.d.ts.map +1 -1
- package/dist/presentation/tui/navigation/ScreenRouter.js +3 -2
- package/dist/presentation/tui/navigation/ScreenRouter.js.map +1 -1
- package/dist/presentation/tui/project-initialization/Constants.d.ts +140 -0
- package/dist/presentation/tui/project-initialization/Constants.d.ts.map +1 -0
- package/dist/presentation/tui/project-initialization/Constants.js +140 -0
- package/dist/presentation/tui/project-initialization/Constants.js.map +1 -0
- package/dist/presentation/tui/project-initialization/InitFlow.d.ts +1 -1
- package/dist/presentation/tui/project-initialization/InitFlow.d.ts.map +1 -1
- package/dist/presentation/tui/project-initialization/InitFlow.js +212 -191
- package/dist/presentation/tui/project-initialization/InitFlow.js.map +1 -1
- package/dist/presentation/tui/sessions/SessionScreen.d.ts.map +1 -1
- package/dist/presentation/tui/sessions/SessionScreen.js +53 -12
- package/dist/presentation/tui/sessions/SessionScreen.js.map +1 -1
- package/dist/presentation/tui/state-reading/TuiStateReader.d.ts.map +1 -1
- package/dist/presentation/tui/state-reading/TuiStateReader.js +4 -2
- package/dist/presentation/tui/state-reading/TuiStateReader.js.map +1 -1
- package/dist/presentation/tui/ui-primitives/ListPanel.d.ts.map +1 -1
- package/dist/presentation/tui/ui-primitives/ListPanel.js +2 -1
- package/dist/presentation/tui/ui-primitives/ListPanel.js.map +1 -1
- package/dist/presentation/tui/ui-primitives/ListPanelConstants.d.ts +4 -0
- package/dist/presentation/tui/ui-primitives/ListPanelConstants.d.ts.map +1 -0
- package/dist/presentation/tui/ui-primitives/ListPanelConstants.js +4 -0
- package/dist/presentation/tui/ui-primitives/ListPanelConstants.js.map +1 -0
- package/dist/presentation/tui/ui-primitives/Tumbler.d.ts.map +1 -1
- package/dist/presentation/tui/ui-primitives/Tumbler.js +2 -1
- package/dist/presentation/tui/ui-primitives/Tumbler.js.map +1 -1
- package/dist/presentation/tui/ui-primitives/TumblerConstants.d.ts +4 -0
- package/dist/presentation/tui/ui-primitives/TumblerConstants.d.ts.map +1 -0
- package/dist/presentation/tui/ui-primitives/TumblerConstants.js +4 -0
- package/dist/presentation/tui/ui-primitives/TumblerConstants.js.map +1 -0
- package/dist/presentation/tui/wizard/Wizard.d.ts +2 -1
- package/dist/presentation/tui/wizard/Wizard.d.ts.map +1 -1
- package/dist/presentation/tui/wizard/Wizard.js +47 -20
- package/dist/presentation/tui/wizard/Wizard.js.map +1 -1
- package/dist/presentation/tui/wizard/WizardConstants.d.ts +27 -0
- package/dist/presentation/tui/wizard/WizardConstants.d.ts.map +1 -0
- package/dist/presentation/tui/wizard/WizardConstants.js +26 -0
- package/dist/presentation/tui/wizard/WizardConstants.js.map +1 -0
- package/dist/presentation/work/codifier.daemon.d.ts.map +1 -1
- package/dist/presentation/work/codifier.daemon.js +20 -1
- package/dist/presentation/work/codifier.daemon.js.map +1 -1
- package/dist/presentation/work/refiner.daemon.d.ts.map +1 -1
- package/dist/presentation/work/refiner.daemon.js +20 -1
- package/dist/presentation/work/refiner.daemon.js.map +1 -1
- package/dist/presentation/work/reviewer.daemon.d.ts.map +1 -1
- package/dist/presentation/work/reviewer.daemon.js +20 -1
- package/dist/presentation/work/reviewer.daemon.js.map +1 -1
- 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:
|
|
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,
|
|
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,EACL,eAAe,EACf,iBAAiB,EACjB,qBAAqB,EACtB,MAAM,iBAAiB,CAAC;AAEzB;;;GAGG;AACH,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,QAAQ,CAAC,IAAI,EAAE,OAAO,iBAAiB,CAAC,KAAK,CAAC;IAC9C,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,QAAQ,EAAE,qBAAqB,GAAG,IAAI,CAAC;QAChD,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;KAC9B,CAAC;CACH"}
|
|
@@ -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:
|
|
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;
|
|
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:
|
|
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;
|
|
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:
|
|
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;
|
|
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:
|
|
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;
|
|
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;
|
|
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
|
-
|
|
22
|
-
|
|
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
|
-
|
|
29
|
-
stdout += text;
|
|
30
|
-
process.stderr.write(text);
|
|
29
|
+
stdout.append(chunk.toString());
|
|
31
30
|
});
|
|
32
31
|
child.stderr?.on("data", (chunk) => {
|
|
33
|
-
|
|
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({
|
|
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":"AgentCliGateway.js","sourceRoot":"","sources":["../../../src/infrastructure/agents/AgentCliGateway.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAK3C,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,CAAU,CAAC;AASvG,MAAM,+BAA+B,GAAG,CAAC,MAAM,EAAE,uBAAuB,CAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"AgentCliGateway.js","sourceRoot":"","sources":["../../../src/infrastructure/agents/AgentCliGateway.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAK3C,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,CAAU,CAAC;AASvG,MAAM,+BAA+B,GAAG,CAAC,MAAM,EAAE,uBAAuB,CAAU,CAAC;AACnF,MAAM,4BAA4B,GAAG,KAAM,CAAC;AAE5C,MAAM,cAAc,GAA2C;IAC7D,MAAM,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE;IAClD,MAAM,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE;IAClD,OAAO,EAAE,EAAE,UAAU,EAAE,YAAY,EAAE,UAAU,EAAE,IAAI,EAAE;IACvD,KAAK,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,EAAE,+BAA+B,EAAE;IACrE,MAAM,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE;IAClD,IAAI,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,IA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AAO,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;AACpE,CAAC"}
|
|
@@ -2,11 +2,12 @@
|
|
|
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
|
|
9
|
-
*
|
|
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
|
|
24
|
-
*
|
|
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(
|
|
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(
|
|
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
|
|
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
|
|
9
|
-
*
|
|
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
|
|
24
|
-
*
|
|
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(
|
|
29
|
-
|
|
30
|
-
|
|
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(
|
|
36
|
-
|
|
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
|
|
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;QAEF,mBAAc,GAAG,CAAC,eAAe,CAAU,CAAC;IA2NvD,CAAC;IAzNC;;;;;;OAMG;IACH,KAAK,CAAC,SAAS,CAAC,WAAmB;QACjC,MAAM,IAAI,CAAC,gBAAgB,CA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;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;
|
|
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,
|