jumbo-cli 3.2.1 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- 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/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/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/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/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/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/TuiSubprocessManager.d.ts.map +1 -1
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessManager.js +84 -42
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessManager.js.map +1 -1
- 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/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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InvariantUpdatedEvent.d.ts","sourceRoot":"","sources":["../../../../src/domain/invariants/update/InvariantUpdatedEvent.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"InvariantUpdatedEvent.d.ts","sourceRoot":"","sources":["../../../../src/domain/invariants/update/InvariantUpdatedEvent.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,WAAW,qBAAsB,SAAQ,SAAS;IACtD,QAAQ,CAAC,IAAI,EAAE,OAAO,kBAAkB,CAAC,OAAO,CAAC;IACjD,QAAQ,CAAC,OAAO,EAAE;QAChB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QACxB,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;QAC9B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KACpC,CAAC;CACH"}
|
|
@@ -7,6 +7,13 @@ export declare const ProjectEventType: {
|
|
|
7
7
|
readonly UPDATED: "ProjectUpdatedEvent";
|
|
8
8
|
};
|
|
9
9
|
export type ProjectEventTypeValue = (typeof ProjectEventType)[keyof typeof ProjectEventType];
|
|
10
|
+
export declare const ProjectLifecycle: {
|
|
11
|
+
readonly UNINITIALIZED: "uninitialized";
|
|
12
|
+
readonly UNPRIMED: "unprimed";
|
|
13
|
+
readonly PRIMED_EMPTY: "primed-empty";
|
|
14
|
+
readonly PRIMED: "primed";
|
|
15
|
+
};
|
|
16
|
+
export type ProjectLifecycleValue = (typeof ProjectLifecycle)[keyof typeof ProjectLifecycle];
|
|
10
17
|
export declare const ProjectErrorMessages: {
|
|
11
18
|
readonly ALREADY_INITIALIZED: "Project is already initialized";
|
|
12
19
|
readonly NOT_INITIALIZED: "Project must be initialized before updating. Run: jumbo project init";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Constants.d.ts","sourceRoot":"","sources":["../../../src/domain/project/Constants.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,eAAO,MAAM,gBAAgB;;;CAGnB,CAAC;AAEX,MAAM,MAAM,qBAAqB,GAC/B,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAG3D,eAAO,MAAM,oBAAoB;;;;;;;CAOvB,CAAC;AAGX,eAAO,MAAM,aAAa;;;CAGhB,CAAC;AAEX;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,GAC5C,MAAM,CAKR"}
|
|
1
|
+
{"version":3,"file":"Constants.d.ts","sourceRoot":"","sources":["../../../src/domain/project/Constants.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,eAAO,MAAM,gBAAgB;;;CAGnB,CAAC;AAEX,MAAM,MAAM,qBAAqB,GAC/B,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAG3D,eAAO,MAAM,gBAAgB;;;;;CAKnB,CAAC;AAEX,MAAM,MAAM,qBAAqB,GAC/B,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAG3D,eAAO,MAAM,oBAAoB;;;;;;;CAOvB,CAAC;AAGX,eAAO,MAAM,aAAa;;;CAGhB,CAAC;AAEX;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,GAC5C,MAAM,CAKR"}
|
|
@@ -7,6 +7,13 @@ export const ProjectEventType = {
|
|
|
7
7
|
INITIALIZED: "ProjectInitializedEvent",
|
|
8
8
|
UPDATED: "ProjectUpdatedEvent",
|
|
9
9
|
};
|
|
10
|
+
// Project lifecycle states
|
|
11
|
+
export const ProjectLifecycle = {
|
|
12
|
+
UNINITIALIZED: "uninitialized",
|
|
13
|
+
UNPRIMED: "unprimed",
|
|
14
|
+
PRIMED_EMPTY: "primed-empty",
|
|
15
|
+
PRIMED: "primed",
|
|
16
|
+
};
|
|
10
17
|
// Error messages
|
|
11
18
|
export const ProjectErrorMessages = {
|
|
12
19
|
ALREADY_INITIALIZED: "Project is already initialized",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Constants.js","sourceRoot":"","sources":["../../../src/domain/project/Constants.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,sBAAsB;AACtB,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,WAAW,EAAE,yBAAyB;IACtC,OAAO,EAAE,qBAAqB;CACtB,CAAC;AAKX,iBAAiB;AACjB,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,mBAAmB,EAAE,gCAAgC;IACrD,eAAe,EAAE,sEAAsE;IACvF,mBAAmB,EAAE,4DAA4D;IACjF,aAAa,EAAE,+BAA+B;IAC9C,aAAa,EAAE,iDAAiD;IAChE,gBAAgB,EAAE,4CAA4C;CACtD,CAAC;AAEX,iBAAiB;AACjB,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,eAAe,EAAE,GAAG;IACpB,kBAAkB,EAAE,IAAI;CAChB,CAAC;AAEX;;;;;;;GAOG;AACH,MAAM,UAAU,kBAAkB,CAChC,QAAgB,EAChB,YAA6C;IAE7C,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,MAAM,CACxC,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,GAAG,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,EAC7D,QAAQ,CACT,CAAC;AACJ,CAAC"}
|
|
1
|
+
{"version":3,"file":"Constants.js","sourceRoot":"","sources":["../../../src/domain/project/Constants.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,sBAAsB;AACtB,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,WAAW,EAAE,yBAAyB;IACtC,OAAO,EAAE,qBAAqB;CACtB,CAAC;AAKX,2BAA2B;AAC3B,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,aAAa,EAAE,eAAe;IAC9B,QAAQ,EAAE,UAAU;IACpB,YAAY,EAAE,cAAc;IAC5B,MAAM,EAAE,QAAQ;CACR,CAAC;AAKX,iBAAiB;AACjB,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,mBAAmB,EAAE,gCAAgC;IACrD,eAAe,EAAE,sEAAsE;IACvF,mBAAmB,EAAE,4DAA4D;IACjF,aAAa,EAAE,+BAA+B;IAC9C,aAAa,EAAE,iDAAiD;IAChE,gBAAgB,EAAE,4CAA4C;CACtD,CAAC;AAEX,iBAAiB;AACjB,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,eAAe,EAAE,GAAG;IACpB,kBAAkB,EAAE,IAAI;CAChB,CAAC;AAEX;;;;;;;GAOG;AACH,MAAM,UAAU,kBAAkB,CAChC,QAAgB,EAChB,YAA6C;IAE7C,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,MAAM,CACxC,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,GAAG,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,EAC7D,QAAQ,CACT,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProjectLifecyle.d.ts","sourceRoot":"","sources":["../../../src/domain/project/ProjectLifecyle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB;;;;;CAKnB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ProjectLifecycle as ProjectLifecycleValues } from "./Constants.js";
|
|
2
|
+
export const ProjectLifecycle = {
|
|
3
|
+
Uninitialized: ProjectLifecycleValues.UNINITIALIZED,
|
|
4
|
+
Unprimed: ProjectLifecycleValues.UNPRIMED,
|
|
5
|
+
PrimedEmpty: ProjectLifecycleValues.PRIMED_EMPTY,
|
|
6
|
+
Primed: ProjectLifecycleValues.PRIMED,
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=ProjectLifecyle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProjectLifecyle.js","sourceRoot":"","sources":["../../../src/domain/project/ProjectLifecyle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,IAAI,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAE5E,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,aAAa,EAAE,sBAAsB,CAAC,aAAa;IACnD,QAAQ,EAAE,sBAAsB,CAAC,QAAQ;IACzC,WAAW,EAAE,sBAAsB,CAAC,YAAY;IAChD,MAAM,EAAE,sBAAsB,CAAC,MAAM;CAC7B,CAAC"}
|
|
@@ -20,6 +20,12 @@ export declare const RelationStrength: {
|
|
|
20
20
|
readonly WEAK: "weak";
|
|
21
21
|
};
|
|
22
22
|
export type RelationStrengthValue = typeof RelationStrength[keyof typeof RelationStrength];
|
|
23
|
+
export declare const RelationStatus: {
|
|
24
|
+
readonly ACTIVE: "active";
|
|
25
|
+
readonly DEACTIVATED: "deactivated";
|
|
26
|
+
readonly REMOVED: "removed";
|
|
27
|
+
};
|
|
28
|
+
export type RelationStatusValue = typeof RelationStatus[keyof typeof RelationStatus];
|
|
23
29
|
export declare const RelationEventType: {
|
|
24
30
|
readonly ADDED: "RelationAddedEvent";
|
|
25
31
|
readonly REMOVED: "RelationRemovedEvent";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Constants.d.ts","sourceRoot":"","sources":["../../../src/domain/relations/Constants.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;CAcb,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,OAAO,UAAU,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAGzE,eAAO,MAAM,gBAAgB;;;;CAInB,CAAC;AAEX,MAAM,MAAM,qBAAqB,GAAG,OAAO,gBAAgB,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAG3F,eAAO,MAAM,iBAAiB;;;;;CAKpB,CAAC;AAEX,MAAM,MAAM,sBAAsB,GAAG,OAAO,iBAAiB,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAC;AAG9F,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;CAoBxB,CAAC;AAGX,eAAO,MAAM,cAAc;;;CAGjB,CAAC;AAGX,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,GAC5C,MAAM,CAKR"}
|
|
1
|
+
{"version":3,"file":"Constants.d.ts","sourceRoot":"","sources":["../../../src/domain/relations/Constants.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;CAcb,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,OAAO,UAAU,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAGzE,eAAO,MAAM,gBAAgB;;;;CAInB,CAAC;AAEX,MAAM,MAAM,qBAAqB,GAAG,OAAO,gBAAgB,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAG3F,eAAO,MAAM,cAAc;;;;CAIjB,CAAC;AAEX,MAAM,MAAM,mBAAmB,GAAG,OAAO,cAAc,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;AAGrF,eAAO,MAAM,iBAAiB;;;;;CAKpB,CAAC;AAEX,MAAM,MAAM,sBAAsB,GAAG,OAAO,iBAAiB,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAC;AAG9F,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;CAoBxB,CAAC;AAGX,eAAO,MAAM,cAAc;;;CAGjB,CAAC;AAGX,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,GAC5C,MAAM,CAKR"}
|
|
@@ -20,6 +20,12 @@ export const RelationStrength = {
|
|
|
20
20
|
MEDIUM: 'medium',
|
|
21
21
|
WEAK: 'weak'
|
|
22
22
|
};
|
|
23
|
+
// Relation status values
|
|
24
|
+
export const RelationStatus = {
|
|
25
|
+
ACTIVE: 'active',
|
|
26
|
+
DEACTIVATED: 'deactivated',
|
|
27
|
+
REMOVED: 'removed'
|
|
28
|
+
};
|
|
23
29
|
// Relation event types
|
|
24
30
|
export const RelationEventType = {
|
|
25
31
|
ADDED: 'RelationAddedEvent',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Constants.js","sourceRoot":"","sources":["../../../src/domain/relations/Constants.ts"],"names":[],"mappings":"AAAA,2DAA2D;AAC3D,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,UAAU;IACpB,YAAY,EAAE,cAAc;IAC5B,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;CACZ,CAAC;AAIX,oBAAoB;AACpB,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;CAC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AE,gCAAgC;IACxD,qBAAqB,EAAE,0CAA0C;IACjE,gBAAgB,EAAE,+CAA+C;IACjE,oBAAoB,EAAE,8BAA8B;IACpD,oBAAoB,EAAE,gDAAgD;IACtE,cAAc,EAAE,8CAA8C;IAC9D,oBAAoB,EAAE,8BAA8B;IACpD,kBAAkB,EAAE,sCAAsC;IAC1D,wBAAwB,EAAE,gDAAgD;IAC1E,mBAAmB,EAAE,qCAAqC;IAC1D,wBAAwB,EAAE,0CAA0C;CAC5D,CAAC;AAEX,iBAAiB;AACjB,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,sBAAsB,EAAE,GAAG;IAC3B,wBAAwB,EAAE,EAAE;CACpB,CAAC;AAEX,kBAAkB;AAClB,MAAM,UAAU,kBAAkB,CAChC,QAAgB,EAChB,YAA6C;IAE7C,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,MAAM,CACxC,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,GAAG,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,EAC7D,QAAQ,CACT,CAAC;AACJ,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { RelationAddedEvent } from "./add/RelationAddedEvent.js";
|
|
|
4
4
|
import { RelationDeactivatedEvent } from "./deactivate/RelationDeactivatedEvent.js";
|
|
5
5
|
import { RelationReactivatedEvent } from "./reactivate/RelationReactivatedEvent.js";
|
|
6
6
|
import { RelationRemovedEvent } from "./remove/RelationRemovedEvent.js";
|
|
7
|
-
import { EntityTypeValue, RelationStrengthValue } from "./Constants.js";
|
|
7
|
+
import { EntityTypeValue, RelationStrengthValue, RelationStatusValue } from "./Constants.js";
|
|
8
8
|
export type RelationEvent = RelationAddedEvent | RelationDeactivatedEvent | RelationReactivatedEvent | RelationRemovedEvent;
|
|
9
9
|
export interface RelationState extends AggregateState {
|
|
10
10
|
id: UUID;
|
|
@@ -15,7 +15,7 @@ export interface RelationState extends AggregateState {
|
|
|
15
15
|
relationType: string;
|
|
16
16
|
strength: RelationStrengthValue | null;
|
|
17
17
|
description: string;
|
|
18
|
-
status:
|
|
18
|
+
status: RelationStatusValue;
|
|
19
19
|
version: number;
|
|
20
20
|
}
|
|
21
21
|
export declare class Relation extends BaseAggregate<RelationState, RelationEvent> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Relation.d.ts","sourceRoot":"","sources":["../../../src/domain/relations/Relation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAC;AACpF,OAAO,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAC;AACpF,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAqB,eAAe,EAAE,qBAAqB,EAA6C,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"Relation.d.ts","sourceRoot":"","sources":["../../../src/domain/relations/Relation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAC;AACpF,OAAO,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAC;AACpF,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAqB,eAAe,EAAE,qBAAqB,EAAkB,mBAAmB,EAA6C,MAAM,gBAAgB,CAAC;AA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BaseAggregate.js";
|
|
2
2
|
import { ValidationRuleSet } from "../validation/ValidationRule.js";
|
|
3
|
-
import { RelationEventType, RelationErrorMessages, formatErrorMessage } from "./Constants.js";
|
|
3
|
+
import { RelationEventType, RelationStatus, RelationErrorMessages, formatErrorMessage } from "./Constants.js";
|
|
4
4
|
import { ENTITY_TYPE_RULES, ENTITY_ID_RULES } from "./rules/EntityTypeRules.js";
|
|
5
5
|
import { RELATION_TYPE_RULES } from "./rules/RelationTypeRules.js";
|
|
6
6
|
import { DESCRIPTION_RULES } from "./rules/DescriptionRules.js";
|
|
@@ -23,22 +23,22 @@ export class Relation extends BaseAggregate {
|
|
|
23
23
|
state.relationType = e.payload.relationType;
|
|
24
24
|
state.strength = e.payload.strength;
|
|
25
25
|
state.description = e.payload.description;
|
|
26
|
-
state.status =
|
|
26
|
+
state.status = RelationStatus.ACTIVE;
|
|
27
27
|
state.version = e.version;
|
|
28
28
|
break;
|
|
29
29
|
}
|
|
30
30
|
case RelationEventType.REMOVED: {
|
|
31
|
-
state.status =
|
|
31
|
+
state.status = RelationStatus.REMOVED;
|
|
32
32
|
state.version = event.version;
|
|
33
33
|
break;
|
|
34
34
|
}
|
|
35
35
|
case RelationEventType.DEACTIVATED: {
|
|
36
|
-
state.status =
|
|
36
|
+
state.status = RelationStatus.DEACTIVATED;
|
|
37
37
|
state.version = event.version;
|
|
38
38
|
break;
|
|
39
39
|
}
|
|
40
40
|
case RelationEventType.REACTIVATED: {
|
|
41
|
-
state.status =
|
|
41
|
+
state.status = RelationStatus.ACTIVE;
|
|
42
42
|
state.version = event.version;
|
|
43
43
|
break;
|
|
44
44
|
}
|
|
@@ -54,7 +54,7 @@ export class Relation extends BaseAggregate {
|
|
|
54
54
|
relationType: '',
|
|
55
55
|
strength: null,
|
|
56
56
|
description: '',
|
|
57
|
-
status:
|
|
57
|
+
status: RelationStatus.ACTIVE,
|
|
58
58
|
version: 0,
|
|
59
59
|
};
|
|
60
60
|
return new Relation(state);
|
|
@@ -73,7 +73,7 @@ export class Relation extends BaseAggregate {
|
|
|
73
73
|
relationType: '',
|
|
74
74
|
strength: null,
|
|
75
75
|
description: '',
|
|
76
|
-
status:
|
|
76
|
+
status: RelationStatus.ACTIVE,
|
|
77
77
|
version: 0,
|
|
78
78
|
};
|
|
79
79
|
for (const event of history) {
|
|
@@ -106,7 +106,7 @@ export class Relation extends BaseAggregate {
|
|
|
106
106
|
}
|
|
107
107
|
remove(reason) {
|
|
108
108
|
// State validation - ensure relation hasn't already been removed
|
|
109
|
-
if (this.state.status ===
|
|
109
|
+
if (this.state.status === RelationStatus.REMOVED) {
|
|
110
110
|
throw new Error(formatErrorMessage(RelationErrorMessages.RELATION_ALREADY_REMOVED, {
|
|
111
111
|
relationId: this.state.id
|
|
112
112
|
}));
|
|
@@ -122,7 +122,7 @@ export class Relation extends BaseAggregate {
|
|
|
122
122
|
}, Relation.apply);
|
|
123
123
|
}
|
|
124
124
|
deactivate(reason) {
|
|
125
|
-
if (this.state.status !==
|
|
125
|
+
if (this.state.status !== RelationStatus.ACTIVE) {
|
|
126
126
|
throw new Error(formatErrorMessage(RelationErrorMessages.RELATION_NOT_ACTIVE, {
|
|
127
127
|
relationId: this.state.id
|
|
128
128
|
}));
|
|
@@ -133,7 +133,7 @@ export class Relation extends BaseAggregate {
|
|
|
133
133
|
}, Relation.apply);
|
|
134
134
|
}
|
|
135
135
|
reactivate(reason) {
|
|
136
|
-
if (this.state.status !==
|
|
136
|
+
if (this.state.status !== RelationStatus.DEACTIVATED) {
|
|
137
137
|
throw new Error(formatErrorMessage(RelationErrorMessages.RELATION_NOT_DEACTIVATED, {
|
|
138
138
|
relationId: this.state.id
|
|
139
139
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Relation.js","sourceRoot":"","sources":["../../../src/domain/relations/Relation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAkB,MAAM,qBAAqB,CAAC;AAEpE,OAAO,EAAE,iBAAiB,EAAE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YACE,MAAM;YACN,aAAa,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;SACxC,EACD,QAAQ,CAAC,KAAK,CACf,CAAC;IACJ,CAAC;IAED,UAAU,CAAC,MAAc;QACvB,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,KAAK,cAAc,CAAC,WAAW,EAAE,CAAC;YACrD,MAAM,IAAI,KAAK,CACb,kBAAkB,CAAC,qBAAqB,CAAC,wBAAwB,EAAE;gBACjE,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE;aAC1B,CAAC,CACH,CAAC;QACJ,CAAC;QAED,OAAO,IAAI,CAAC,SAAS,CACnB,iBAAiB,CAAC,WAAW,EAC7B;YACE,MAAM;YACN,aAAa,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;SACxC,EACD,QAAQ,CAAC,KAAK,CACf,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -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"],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}
|
|
@@ -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"}
|