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
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
const AnimatedBillboardBaseColors = {
|
|
2
|
+
Blue: "#66b4f4",
|
|
3
|
+
BlueBorder: "#236ca8",
|
|
4
|
+
Purple: "#aa00d4",
|
|
5
|
+
PurpleBorder: "#6d0089",
|
|
6
|
+
Red: "#ff2a2a",
|
|
7
|
+
RedBorder: "#b11226",
|
|
8
|
+
Orange: "#ff8307",
|
|
9
|
+
OrangeBorder: "#b65300",
|
|
10
|
+
Yellow: "#ffcc00",
|
|
11
|
+
YellowBorder: "#a67c00",
|
|
12
|
+
Green: "#44aa00",
|
|
13
|
+
GreenBorder: "#2a6f00",
|
|
14
|
+
Magenta: "#ff00aa",
|
|
15
|
+
MagentaBorder: "#a80071",
|
|
16
|
+
};
|
|
17
|
+
export const AnimatedBillboardPalette = [
|
|
18
|
+
{
|
|
19
|
+
name: "Blue",
|
|
20
|
+
fill: AnimatedBillboardBaseColors.Blue,
|
|
21
|
+
border: AnimatedBillboardBaseColors.BlueBorder,
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
name: "Purple",
|
|
25
|
+
fill: AnimatedBillboardBaseColors.Purple,
|
|
26
|
+
border: AnimatedBillboardBaseColors.PurpleBorder,
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: "Red",
|
|
30
|
+
fill: AnimatedBillboardBaseColors.Red,
|
|
31
|
+
border: AnimatedBillboardBaseColors.RedBorder,
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: "Orange",
|
|
35
|
+
fill: AnimatedBillboardBaseColors.Orange,
|
|
36
|
+
border: AnimatedBillboardBaseColors.OrangeBorder,
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: "Yellow",
|
|
40
|
+
fill: AnimatedBillboardBaseColors.Yellow,
|
|
41
|
+
border: AnimatedBillboardBaseColors.YellowBorder,
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
name: "Green",
|
|
45
|
+
fill: AnimatedBillboardBaseColors.Green,
|
|
46
|
+
border: AnimatedBillboardBaseColors.GreenBorder,
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
name: "Magenta",
|
|
50
|
+
fill: AnimatedBillboardBaseColors.Magenta,
|
|
51
|
+
border: AnimatedBillboardBaseColors.MagentaBorder,
|
|
52
|
+
},
|
|
53
|
+
];
|
|
54
|
+
//# sourceMappingURL=AnimatedBillboardPalette.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnimatedBillboardPalette.js","sourceRoot":"","sources":["../../../../src/presentation/tui/billboard/AnimatedBillboardPalette.ts"],"names":[],"mappings":"AAAA,MAAM,2BAA2B,GAAG;IAClC,IAAI,EAAE,SAAS;IACf,UAAU,EAAE,SAAS;IACrB,MAAM,EAAE,SAAS;IACjB,YAAY,EAAE,SAAS;IACvB,GAAG,EAAE,SAAS;IACd,SAAS,EAAE,SAAS;IACpB,MAAM,EAAE,SAAS;IACjB,YAAY,EAAE,SAAS;IACvB,MAAM,EAAE,SAAS;IACjB,YAAY,EAAE,SAAS;IACvB,KAAK,EAAE,SAAS;IAChB,WAAW,EAAE,SAAS;IACtB,OAAO,EAAE,SAAS;IAClB,aAAa,EAAE,SAAS;CAChB,CAAC;AAEX,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC;QACE,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,2BAA2B,CAAC,IAAI;QACtC,MAAM,EAAE,2BAA2B,CAAC,UAAU;KAC/C;IACD;QACE,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,2BAA2B,CAAC,MAAM;QACxC,MAAM,EAAE,2BAA2B,CAAC,YAAY;KACjD;IACD;QACE,IAAI,EAAE,KAAK;QACX,IAAI,EAAE,2BAA2B,CAAC,GAAG;QACrC,MAAM,EAAE,2BAA2B,CAAC,SAAS;KAC9C;IACD;QACE,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,2BAA2B,CAAC,MAAM;QACxC,MAAM,EAAE,2BAA2B,CAAC,YAAY;KACjD;IACD;QACE,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,2BAA2B,CAAC,MAAM;QACxC,MAAM,EAAE,2BAA2B,CAAC,YAAY;KACjD;IACD;QACE,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,2BAA2B,CAAC,KAAK;QACvC,MAAM,EAAE,2BAA2B,CAAC,WAAW;KAChD;IACD;QACE,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,2BAA2B,CAAC,OAAO;QACzC,MAAM,EAAE,2BAA2B,CAAC,aAAa;KAClD;CACO,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const AnimatedBillboardPhase: {
|
|
2
|
+
readonly stickers: "stickers";
|
|
3
|
+
readonly finalPause: "finalPause";
|
|
4
|
+
readonly erasing: "erasing";
|
|
5
|
+
readonly done: "done";
|
|
6
|
+
};
|
|
7
|
+
export type AnimatedBillboardPhase = (typeof AnimatedBillboardPhase)[keyof typeof AnimatedBillboardPhase];
|
|
8
|
+
//# sourceMappingURL=AnimatedBillboardPhase.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnimatedBillboardPhase.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/billboard/AnimatedBillboardPhase.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB;;;;;CAKzB,CAAC;AAEX,MAAM,MAAM,sBAAsB,GAChC,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnimatedBillboardPhase.js","sourceRoot":"","sources":["../../../../src/presentation/tui/billboard/AnimatedBillboardPhase.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;CACJ,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const AnimatedBillboardStickerArt: readonly [" ▓▒▒▒▒▒▒▒▒▒▓ ", " ▓▒▒▒▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▒▒▒▒▓ ", "▓▒▒▒▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▒▒▒▒▓", "▓▒▒▒▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▒▒▒▓", "▓▒▒▒▓▓▒▒▒█▒▒▒▒▒▒▒▒█▒▒▒▓▓▒▒▒▓", " ▓▒▒▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▒▒▓ ", " ▓▓▒▒▓▓▒▓▒▒▒▒▒▒▓▒▓▓▒▒▓▓ ", " ▓▒▒▒▒▒▒▓▓▒▒▒▒▓▓▒▒▒▒▒▒▓ ", " ▓▒▒▒▒▒▒▒▒▓▒▒▒▒▓▓▓▒▒▒▒▒▒▓ ", " ▓▒▒▒▒▒▒▒▒▒▓▓▒▒▒▒▒▓▒▒▒▒▒▓ ", " ▓▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▒▒▒▒▒▒▓ ", " ▓▒▒▒▒▒▒▒▓ ▓▒▒▒▒▒▒▒▓ ", " ▓▒▒▒▒▒▓ ▓▒▒▒▒▒▓ ", " "];
|
|
2
|
+
//# sourceMappingURL=AnimatedBillboardStickerArt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnimatedBillboardStickerArt.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/billboard/AnimatedBillboardStickerArt.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2BAA2B,2cAe9B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export const AnimatedBillboardStickerArt = [
|
|
2
|
+
" ▓▒▒▒▒▒▒▒▒▒▓ ",
|
|
3
|
+
" ▓▒▒▒▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▒▒▒▒▓ ",
|
|
4
|
+
"▓▒▒▒▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▒▒▒▒▓",
|
|
5
|
+
"▓▒▒▒▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▒▒▒▓",
|
|
6
|
+
"▓▒▒▒▓▓▒▒▒█▒▒▒▒▒▒▒▒█▒▒▒▓▓▒▒▒▓",
|
|
7
|
+
" ▓▒▒▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▒▒▓ ",
|
|
8
|
+
" ▓▓▒▒▓▓▒▓▒▒▒▒▒▒▓▒▓▓▒▒▓▓ ",
|
|
9
|
+
" ▓▒▒▒▒▒▒▓▓▒▒▒▒▓▓▒▒▒▒▒▒▓ ",
|
|
10
|
+
" ▓▒▒▒▒▒▒▒▒▓▒▒▒▒▓▓▓▒▒▒▒▒▒▓ ",
|
|
11
|
+
" ▓▒▒▒▒▒▒▒▒▒▓▓▒▒▒▒▒▓▒▒▒▒▒▓ ",
|
|
12
|
+
" ▓▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▒▒▒▒▒▒▓ ",
|
|
13
|
+
" ▓▒▒▒▒▒▒▒▓ ▓▒▒▒▒▒▒▒▓ ",
|
|
14
|
+
" ▓▒▒▒▒▒▓ ▓▒▒▒▒▒▓ ",
|
|
15
|
+
" ",
|
|
16
|
+
];
|
|
17
|
+
//# sourceMappingURL=AnimatedBillboardStickerArt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnimatedBillboardStickerArt.js","sourceRoot":"","sources":["../../../../src/presentation/tui/billboard/AnimatedBillboardStickerArt.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,8BAA8B;IAC9B,8BAA8B;IAC9B,8BAA8B;IAC9B,8BAA8B;IAC9B,8BAA8B;IAC9B,8BAA8B;IAC9B,8BAA8B;IAC9B,8BAA8B;IAC9B,8BAA8B;IAC9B,8BAA8B;IAC9B,8BAA8B;IAC9B,8BAA8B;IAC9B,8BAA8B;IAC9B,8BAA8B;CACtB,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const AnimatedBillboardWordmarkArt: readonly [" ███ ███ ███ ████ ████ ████████ █████████ ", " ███░███░ ███░█████ █████░███░░░███ ███░░░░░███ ", " ███░███░ ███░███░██ ██░███░████████░░███░ ███░", "███ ███░███░ ███░███░ ████░░███░███░░░███ ███░ ███░", " ██████░░ ████████░░███░ ██░░ ███░████████░░ █████████░░", " ░░░░░░ ░░░░░░░░ ░░░ ░░ ░░░ ░░░░░░░░ ░░░░░░░░░ ", " Agent Context Orchestration"];
|
|
2
|
+
//# sourceMappingURL=AnimatedBillboardWordmarkArt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnimatedBillboardWordmarkArt.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/billboard/AnimatedBillboardWordmarkArt.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,sbAQ/B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export const AnimatedBillboardWordmarkArt = [
|
|
2
|
+
" ███ ███ ███ ████ ████ ████████ █████████ ",
|
|
3
|
+
" ███░███░ ███░█████ █████░███░░░███ ███░░░░░███ ",
|
|
4
|
+
" ███░███░ ███░███░██ ██░███░████████░░███░ ███░",
|
|
5
|
+
"███ ███░███░ ███░███░ ████░░███░███░░░███ ███░ ███░",
|
|
6
|
+
" ██████░░ ████████░░███░ ██░░ ███░████████░░ █████████░░",
|
|
7
|
+
" ░░░░░░ ░░░░░░░░ ░░░ ░░ ░░░ ░░░░░░░░ ░░░░░░░░░ ",
|
|
8
|
+
" Agent Context Orchestration",
|
|
9
|
+
];
|
|
10
|
+
//# sourceMappingURL=AnimatedBillboardWordmarkArt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnimatedBillboardWordmarkArt.js","sourceRoot":"","sources":["../../../../src/presentation/tui/billboard/AnimatedBillboardWordmarkArt.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,2DAA2D;IAC3D,2DAA2D;IAC3D,2DAA2D;IAC3D,2DAA2D;IAC3D,2DAA2D;IAC3D,2DAA2D;IAC3D,2DAA2D;CACnD,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { TuiDaemonConfig, TuiDaemonConfigs, TuiDaemonName } from "../daemon-subprocesses/ISubprocessManager.js";
|
|
2
|
-
export declare
|
|
3
|
-
export declare function getNextFocusedDaemon(currentDaemon: TuiDaemonName): TuiDaemonName;
|
|
2
|
+
export declare function getNextFocusedDaemon(currentDaemon: TuiDaemonName, focusOrder: readonly TuiDaemonName[]): TuiDaemonName;
|
|
4
3
|
export declare function nextAgentConfig(config: TuiDaemonConfig): TuiDaemonConfig;
|
|
5
4
|
export declare function nextPollConfig(config: TuiDaemonConfig): TuiDaemonConfig;
|
|
6
5
|
export declare function nextRetryConfig(config: TuiDaemonConfig): TuiDaemonConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CockpitDaemonConfiguration.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonConfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;
|
|
1
|
+
{"version":3,"file":"CockpitDaemonConfiguration.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonConfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAMrH,wBAAgB,oBAAoB,CAClC,aAAa,EAAE,aAAa,EAC5B,UAAU,EAAE,SAAS,aAAa,EAAE,GACnC,aAAa,CAOf;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,eAAe,GAAG,eAAe,CAIxE;AAED,wBAAgB,cAAc,CAAC,MAAM,EAAE,eAAe,GAAG,eAAe,CAIvE;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,eAAe,GAAG,eAAe,CAIxE;AAED,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,gBAAgB,EACzB,cAAc,EAAE,aAAa,EAC7B,UAAU,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,eAAe,GACvD,gBAAgB,CAKlB"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
export const COCKPIT_DAEMON_FOCUS_ORDER = ["refiner", "reviewer", "codifier"];
|
|
2
1
|
const AGENT_OPTIONS = ["codex", "claude", "gemini", "copilot", "cursor", "vibe"];
|
|
3
2
|
const POLL_INTERVAL_OPTIONS_MS = [10000, 30000, 60000, 120000];
|
|
4
3
|
const RETRY_OPTIONS = [1, 2, 3, 5];
|
|
5
|
-
export function getNextFocusedDaemon(currentDaemon) {
|
|
6
|
-
const currentIndex =
|
|
4
|
+
export function getNextFocusedDaemon(currentDaemon, focusOrder) {
|
|
5
|
+
const currentIndex = focusOrder.indexOf(currentDaemon);
|
|
7
6
|
const nextIndex = currentIndex === -1
|
|
8
7
|
? 0
|
|
9
|
-
: (currentIndex + 1) %
|
|
10
|
-
return
|
|
8
|
+
: (currentIndex + 1) % focusOrder.length;
|
|
9
|
+
return focusOrder[nextIndex];
|
|
11
10
|
}
|
|
12
11
|
export function nextAgentConfig(config) {
|
|
13
12
|
const currentIndex = AGENT_OPTIONS.indexOf(config.agentId);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CockpitDaemonConfiguration.js","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonConfiguration.ts"],"names":[],"mappings":"AAEA,MAAM,
|
|
1
|
+
{"version":3,"file":"CockpitDaemonConfiguration.js","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDa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CAAC,CAAC,GAAG,wBAAwB,CAAC,MAAM,CAAC;IACjG,OAAO,EAAE,GAAG,MAAM,EAAE,cAAc,EAAE,wBAAwB,CAAC,SAAS,CAAC,EAAE,CAAC;AAC5E,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,MAAuB;IACrD,MAAM,YAAY,GAAG,aAAa,CAAC,OAAO,CAAC,MAAM,CAAC,UAA0C,CAAC,CAAC;IAC9F,MAAM,SAAS,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,YAAY,GAAG,CAAC,CAAC,GAAG,aAAa,CAAC,MAAM,CAAC;IACtF,OAAO,EAAE,GAAG,MAAM,EAAE,UAAU,EAAE,aAAa,CAAC,SAAS,CAAC,EAAE,CAAC;AAC7D,CAAC;AAED,MAAM,UAAU,iBAAiB,CAC/B,OAAyB,EACzB,cAA6B,EAC7B,UAAwD;IAExD,OAAO;QACL,GAAG,OAAO;QACV,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;KACtD,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CockpitDaemonEvents.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonEvents.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAGV,aAAa,EACb,qBAAqB,EACtB,MAAM,8CAA8C,CAAC;
|
|
1
|
+
{"version":3,"file":"CockpitDaemonEvents.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonEvents.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAGV,aAAa,EACb,qBAAqB,EACtB,MAAM,8CAA8C,CAAC;AAWtD,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,SAAS,qBAAqB,EAAE,EAC1C,IAAI,EAAE,aAAa,GAClB,qBAAqB,CASvB;AAED,wBAAgB,kBAAkB,CAChC,SAAS,EAAE,SAAS,qBAAqB,EAAE,EAC3C,YAAY,EAAE,MAAM,GACnB,SAAS,cAAc,EAAE,CAM3B;AAED,wBAAgB,qBAAqB,CACnC,WAAW,EAAE,SAAS,cAAc,EAAE,EACtC,QAAQ,EAAE,SAAS,cAAc,EAAE,GAClC,SAAS,cAAc,EAAE,CAW3B;AAED,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,cAAc,GAAG,MAAM,CAIhE"}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { BaseColors } from "../../shared/DesignTokens.js";
|
|
2
2
|
import { DEFAULT_WORKER_DAEMON_CONFIG } from "../../../application/daemons/WorkerDaemonCatalog.js";
|
|
3
|
+
import { TuiDaemonEventStatus as TuiDaemonEventStatusValues, } from "../daemon-subprocesses/TuiDaemonEventStatus.js";
|
|
4
|
+
import { TuiSubprocessStatus } from "../daemon-subprocesses/TuiSubprocessStatus.js";
|
|
3
5
|
const RENDERED_DAEMON_EVENT_LIMIT = 10;
|
|
4
6
|
const DAEMON_EVENT_SOURCE_WIDTH = 8;
|
|
5
7
|
const DAEMON_EVENT_CATEGORY_WIDTH = 12;
|
|
6
8
|
export function findDaemonStatus(statuses, name) {
|
|
7
9
|
return statuses.find((status) => status.name === name) ?? {
|
|
8
10
|
name,
|
|
9
|
-
status:
|
|
11
|
+
status: TuiSubprocessStatus.STOPPED,
|
|
10
12
|
config: DEFAULT_WORKER_DAEMON_CONFIG,
|
|
11
13
|
stdout: [],
|
|
12
14
|
stderr: [],
|
|
@@ -43,18 +45,20 @@ function getSnapshotEventRows(snapshot, observedAtMs) {
|
|
|
43
45
|
return [...eventRows, lifecycleRow];
|
|
44
46
|
}
|
|
45
47
|
function getLifecycleEventRow(snapshot, eventIndex, observedAtMs) {
|
|
46
|
-
if (snapshot.status ===
|
|
47
|
-
|
|
48
|
+
if (snapshot.status === TuiSubprocessStatus.RUNNING &&
|
|
49
|
+
snapshot.stopRequested === true) {
|
|
50
|
+
return createDaemonEventRow(snapshot, TuiDaemonEventStatusValues.STOPPING, eventIndex, observedAtMs);
|
|
48
51
|
}
|
|
49
|
-
if (snapshot.status ===
|
|
50
|
-
|
|
52
|
+
if (snapshot.status === TuiSubprocessStatus.RUNNING &&
|
|
53
|
+
snapshot.events.length === 0) {
|
|
54
|
+
return createDaemonEventRow(snapshot, TuiDaemonEventStatusValues.STARTING, eventIndex, observedAtMs);
|
|
51
55
|
}
|
|
52
|
-
if (snapshot.status ===
|
|
53
|
-
return createDaemonEventRow(snapshot,
|
|
56
|
+
if (snapshot.status === TuiSubprocessStatus.FAILED) {
|
|
57
|
+
return createDaemonEventRow(snapshot, TuiDaemonEventStatusValues.FAILED, eventIndex, observedAtMs);
|
|
54
58
|
}
|
|
55
|
-
if (snapshot.status ===
|
|
59
|
+
if (snapshot.status === TuiSubprocessStatus.STOPPED
|
|
56
60
|
&& (snapshot.stopRequested === true || snapshot.exitCode !== undefined || snapshot.exitSignal !== undefined)) {
|
|
57
|
-
return createDaemonEventRow(snapshot,
|
|
61
|
+
return createDaemonEventRow(snapshot, TuiDaemonEventStatusValues.STOPPED, eventIndex, observedAtMs);
|
|
58
62
|
}
|
|
59
63
|
return undefined;
|
|
60
64
|
}
|
|
@@ -82,10 +86,10 @@ function toDaemonEventRow(snapshot, event, eventIndex, observedAtMs) {
|
|
|
82
86
|
};
|
|
83
87
|
}
|
|
84
88
|
function normalizeDaemonEventStatus(status) {
|
|
85
|
-
if (status
|
|
89
|
+
if (Object.values(TuiDaemonEventStatusValues).includes(status)) {
|
|
86
90
|
return status;
|
|
87
91
|
}
|
|
88
|
-
return
|
|
92
|
+
return TuiDaemonEventStatusValues.PROCESSING;
|
|
89
93
|
}
|
|
90
94
|
function formatEventTimestamp(timestampMs) {
|
|
91
95
|
const date = new Date(timestampMs);
|
|
@@ -120,16 +124,20 @@ function formatExitDetails(event) {
|
|
|
120
124
|
return event.exitCode === undefined ? undefined : `exit ${event.exitCode}`;
|
|
121
125
|
}
|
|
122
126
|
function getDaemonEventColor(status) {
|
|
123
|
-
if (status ===
|
|
127
|
+
if (status === TuiDaemonEventStatusValues.FAILED) {
|
|
124
128
|
return BaseColors.brandRed;
|
|
125
129
|
}
|
|
126
|
-
if (status ===
|
|
130
|
+
if (status === TuiDaemonEventStatusValues.COMPLETED) {
|
|
127
131
|
return BaseColors.brandGreen;
|
|
128
132
|
}
|
|
129
|
-
if (status ===
|
|
133
|
+
if (status === TuiDaemonEventStatusValues.SKIPPED ||
|
|
134
|
+
status === TuiDaemonEventStatusValues.EXHAUSTED) {
|
|
130
135
|
return BaseColors.brandYellow;
|
|
131
136
|
}
|
|
132
|
-
if (status ===
|
|
137
|
+
if (status === TuiDaemonEventStatusValues.PROCESSING ||
|
|
138
|
+
status === TuiDaemonEventStatusValues.CODIFYING ||
|
|
139
|
+
status === TuiDaemonEventStatusValues.STARTING ||
|
|
140
|
+
status === TuiDaemonEventStatusValues.STOPPING) {
|
|
133
141
|
return BaseColors.brandBlue;
|
|
134
142
|
}
|
|
135
143
|
return BaseColors.shade4;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CockpitDaemonEvents.js","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonEvents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAO1D,OAAO,EAAE,4BAA4B,EAAE,MAAM,qDAAqD,CAAC;
|
|
1
|
+
{"version":3,"file":"CockpitDaemonEvents.js","sourceRoot":"","sources":["../../../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C,SAAS,EAC/C,CAAC;QACD,OAAO,UAAU,CAAC,WAAW,CAAC;IAChC,CAAC;IACD,IACE,MAAM,KAAK,0BAA0B,CAAC,UAAU;QAChD,MAAM,KAAK,0BAA0B,CAAC,SAAS;QAC/C,MAAM,KAAK,0BAA0B,CAAC,QAAQ;QAC9C,MAAM,KAAK,0BAA0B,CAAC,QAAQ,EAC9C,CAAC;QACD,OAAO,UAAU,CAAC,SAAS,CAAC;IAC9B,CAAC;IAED,OAAO,UAAU,CAAC,MAAM,CAAC;AAC3B,CAAC;AAED,SAAS,WAAW,CAAC,MAA0B;IAC7C,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;QACzB,OAAO,GAAG,CAAC;IACb,CAAC;IACD,OAAO,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;AACzD,CAAC;AAED,SAAS,YAAY,CAAC,IAAY,EAAE,GAAW;IAC7C,OAAO,IAAI,CAAC,MAAM,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,GAAG,CAAC,CAAC,GAAG,KAAK,CAAC;AACpE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CockpitDaemonSnapshot } from "./CockpitDaemonSnapshot.js";
|
|
2
2
|
export interface GlyphStyle {
|
|
3
3
|
readonly color: string;
|
|
4
4
|
readonly dimColor?: boolean;
|
|
@@ -20,7 +20,7 @@ export declare const DEFAULT_CODIFIER_FRAME_DURATION_MS = 200;
|
|
|
20
20
|
export declare const DEFAULT_RANDOM_GLYPH_COLORS: readonly ["#f5f3ee", "#d5d3cf", "#b6b4b1", "#b6b4b1", "#7b7a77", "#5f5e5c", "#444442", "#2b2b2a"];
|
|
21
21
|
export declare const DEFAULT_CODIFIER_GLYPH_COLORS: GlyphColorMap;
|
|
22
22
|
export declare function getRenderedDaemonFrame<T>(frame: readonly T[]): readonly T[];
|
|
23
|
-
export declare function getRenderedFrameIndex(snapshot:
|
|
23
|
+
export declare function getRenderedFrameIndex(snapshot: CockpitDaemonSnapshot, animatedFrameIndex: number): number;
|
|
24
24
|
export declare function isDaemonStatusLine(lineIndex: number): boolean;
|
|
25
25
|
export declare function getGlyphCellLinePrefix(line: readonly GlyphCell[], statusLabel: string, lineIndex: number): readonly GlyphCell[];
|
|
26
26
|
export declare function getGlyphCellLineSuffix(line: readonly GlyphCell[], statusLabel: string, lineIndex: number): readonly GlyphCell[];
|
|
@@ -29,11 +29,11 @@ export declare function getGlyphLineSuffix(line: string, statusLabel: string, li
|
|
|
29
29
|
export declare function getCodifierFrame(index: number): string[];
|
|
30
30
|
export declare function getReviewerFrame(index: number, glyphPalette: GlyphPalette): GlyphCell[][];
|
|
31
31
|
export declare function getRefinerFrame(index: number, glyphPalette: GlyphPalette): GlyphCell[][];
|
|
32
|
-
export declare function getGlyphCellSegments(line: readonly GlyphCell[], snapshot:
|
|
32
|
+
export declare function getGlyphCellSegments(line: readonly GlyphCell[], snapshot: CockpitDaemonSnapshot): Array<{
|
|
33
33
|
text: string;
|
|
34
34
|
color: string;
|
|
35
35
|
}>;
|
|
36
|
-
export declare function getStyledGlyphSegments(line: string, glyphColors: GlyphColorMap, snapshot:
|
|
36
|
+
export declare function getStyledGlyphSegments(line: string, glyphColors: GlyphColorMap, snapshot: CockpitDaemonSnapshot): Array<GlyphStyle & {
|
|
37
37
|
text: string;
|
|
38
38
|
}>;
|
|
39
39
|
//# sourceMappingURL=CockpitDaemonFrames.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CockpitDaemonFrames.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonFrames.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CockpitDaemonFrames.d.ts","sourceRo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C1B,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,MAAM,GAChB,SAAS,SAAS,EAAE,CAMtB;AAED,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,SAAS,SAAS,EAAE,EAC1B,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,MAAM,GAChB,SAAS,SAAS,EAAE,CAMtB;AAED,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,MAAM,GAChB,MAAM,CAMR;AAED,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,MAAM,GAChB,MAAM,CAMR;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAuBxD;AAED,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,MAAM,EACb,YAAY,EAAE,YAAY,GACzB,SAAS,EAAE,EAAE,CAEf;AAED,wBAAgB,eAAe,CAC7B,KAAK,EAAE,MAAM,EACb,YAAY,EAAE,YAAY,GACzB,SAAS,EAAE,EAAE,CAEf;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,SAAS,SAAS,EAAE,EAC1B,QAAQ,EAAE,qBAAqB,GAC9B,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CAgBxC;AAED,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,aAAa,EAC1B,QAAQ,EAAE,qBAAqB,GAC9B,KAAK,CAAC,UAAU,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,CAwBtC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BaseColors } from "../../shared/DesignTokens.js";
|
|
2
|
+
import { TuiSubprocessStatus } from "../daemon-subprocesses/TuiSubprocessStatus.js";
|
|
2
3
|
export const RENDERED_DAEMON_FRAME_HEIGHT = 5;
|
|
3
4
|
export const DAEMON_PANEL_CONTENT_WIDTH = 35;
|
|
4
5
|
export const REFINER_FRAME_COUNT = 9;
|
|
@@ -50,7 +51,7 @@ export function getRenderedDaemonFrame(frame) {
|
|
|
50
51
|
return frame.slice(0, RENDERED_DAEMON_FRAME_HEIGHT);
|
|
51
52
|
}
|
|
52
53
|
export function getRenderedFrameIndex(snapshot, animatedFrameIndex) {
|
|
53
|
-
return snapshot.status ===
|
|
54
|
+
return snapshot.status === TuiSubprocessStatus.RUNNING ? animatedFrameIndex : 0;
|
|
54
55
|
}
|
|
55
56
|
export function isDaemonStatusLine(lineIndex) {
|
|
56
57
|
return lineIndex === Math.floor(RENDERED_DAEMON_FRAME_HEIGHT / 2);
|
|
@@ -157,7 +158,9 @@ function getGlyphStyle(character, glyphColors, snapshot) {
|
|
|
157
158
|
return { color: getDaemonGlyphColor(snapshot, color) };
|
|
158
159
|
}
|
|
159
160
|
function getDaemonGlyphColor(snapshot, animatedColor) {
|
|
160
|
-
return snapshot.status ===
|
|
161
|
+
return snapshot.status === TuiSubprocessStatus.RUNNING
|
|
162
|
+
? animatedColor
|
|
163
|
+
: BaseColors.shade6;
|
|
161
164
|
}
|
|
162
165
|
function createRandomGlyphGrid(frameIndex, glyphPalette, config) {
|
|
163
166
|
const gridSize = config.gridWidth * config.gridHeight;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CockpitDaemonFrames.js","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonFrames.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"CockpitDaemonFrames.js","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonFrames.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAA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E,QAAQ,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;QAC7C,KAAK,EAAE,eAAe,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;QAC7C,KAAK,EAAE,eAAe,CAAC,YAAY,EAAE,MAAM,CAAC;KAC7C,CAAC,CAAC,CAAC;AACN,CAAC;AAED,SAAS,UAAU,CAAC,UAAkB,EAAE,QAAgB;IACtD,OAAO,CAAC,UAAU,GAAG,CAAC,CAAC,GAAG,IAAI,GAAG,QAAQ,GAAG,IAAI,CAAC;AACnD,CAAC;AAED,SAAS,kBAAkB,CAAC,IAAY;IACtC,IAAI,KAAK,GAAG,IAAI,KAAK,CAAC,CAAC;IAEvB,OAAO,GAAG,EAAE;QACV,KAAK,GAAG,CAAC,KAAK,GAAG,OAAO,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;QAC7C,OAAO,KAAK,GAAG,WAAW,CAAC;IAC7B,CAAC,CAAC;AACJ,CAAC;AAED,SAAS,eAAe,CAAI,MAAoB,EAAE,MAAoB;IACpE,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;AACtD,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { TuiDaemonConfig,
|
|
3
|
-
import
|
|
4
|
-
export declare function CockpitDaemonPanel({
|
|
5
|
-
readonly
|
|
2
|
+
import type { TuiDaemonConfig, TuiSubprocessSnapshot } from "../daemon-subprocesses/ISubprocessManager.js";
|
|
3
|
+
import type { IDaemonConstants } from "./daemons/IDaemonConstants.js";
|
|
4
|
+
export declare function CockpitDaemonPanel({ daemonConstants, snapshot, pendingConfig, selected, configuring, infoVisible, children, }: {
|
|
5
|
+
readonly daemonConstants: IDaemonConstants;
|
|
6
6
|
readonly snapshot: TuiSubprocessSnapshot;
|
|
7
7
|
readonly pendingConfig: TuiDaemonConfig;
|
|
8
8
|
readonly selected: boolean;
|
|
@@ -10,18 +10,7 @@ export declare function CockpitDaemonPanel({ title, snapshot, pendingConfig, sel
|
|
|
10
10
|
readonly infoVisible: boolean;
|
|
11
11
|
readonly children: React.ReactNode;
|
|
12
12
|
}): React.ReactElement;
|
|
13
|
-
export declare function
|
|
14
|
-
readonly
|
|
15
|
-
readonly frameIndex: number;
|
|
16
|
-
readonly snapshot: TuiSubprocessSnapshot;
|
|
17
|
-
}): React.ReactElement;
|
|
18
|
-
export declare function CodifierDaemonFrame({ frame, frameIndex, glyphColors, snapshot, }: {
|
|
19
|
-
readonly frame: readonly string[];
|
|
20
|
-
readonly frameIndex: number;
|
|
21
|
-
readonly glyphColors: GlyphColorMap;
|
|
22
|
-
readonly snapshot: TuiSubprocessSnapshot;
|
|
23
|
-
}): React.ReactElement;
|
|
24
|
-
export declare function DaemonInfoOverlay({ name, }: {
|
|
25
|
-
readonly name: TuiDaemonName;
|
|
13
|
+
export declare function DaemonInfoOverlay({ daemonConstants, }: {
|
|
14
|
+
readonly daemonConstants: IDaemonConstants;
|
|
26
15
|
}): React.ReactElement;
|
|
27
16
|
//# sourceMappingURL=CockpitDaemonPanel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CockpitDaemonPanel.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"CockpitDaemonPanel.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AAI3G,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,wBAAgB,kBAAkB,CAAC,EACjC,eAAe,EACf,QAAQ,EACR,aAAa,EACb,QAAQ,EACR,WAAW,EACX,WAAW,EACX,QAAQ,GACT,EAAE;IACD,QAAQ,CAAC,eAAe,EAAE,gBAAgB,CAAC;IAC3C,QAAQ,CAAC,QAAQ,EAAE,qBAAqB,CAAC;IACzC,QAAQ,CAAC,aAAa,EAAE,eAAe,CAAC;IACxC,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC;IAC9B,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC;IAC9B,QAAQ,CAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CACpC,GAAG,KAAK,CAAC,YAAY,CA4BrB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,eAAe,GAChB,EAAE;IACD,QAAQ,CAAC,eAAe,EAAE,gBAAgB,CAAC;CAC5C,GAAG,KAAK,CAAC,YAAY,CAyBrB"}
|
|
@@ -3,86 +3,44 @@ import { Box, Text } from "ink";
|
|
|
3
3
|
import { BaseColors } from "../../shared/DesignTokens.js";
|
|
4
4
|
import { Panel } from "../ui-primitives/Panel.js";
|
|
5
5
|
import { KeyBadge } from "../ui-primitives/KeyBadge.js";
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
};
|
|
12
|
-
const DAEMON_IDLE_VERBS = {
|
|
13
|
-
reviewer: "awaiting submissions",
|
|
14
|
-
refiner: "foraging",
|
|
15
|
-
codifier: "awaiting approvals",
|
|
16
|
-
};
|
|
17
|
-
const DAEMON_INFO_COPY = {
|
|
18
|
-
reviewer: {
|
|
19
|
-
title: "REVIEWER//",
|
|
20
|
-
lines: [
|
|
21
|
-
"Orchestrate background agents to automatically review goal implementations as soon as they submitted.",
|
|
22
|
-
"",
|
|
23
|
-
"Approved goals will get picked up by the codifier (if running).",
|
|
24
|
-
"Rejected goals will get requeued with documented issues to be resolved.",
|
|
25
|
-
],
|
|
26
|
-
},
|
|
27
|
-
refiner: {
|
|
28
|
-
title: "REFINER//",
|
|
29
|
-
lines: [
|
|
30
|
-
"Automatically apply relevant memories to build goal context for the implementing agent.",
|
|
31
|
-
"",
|
|
32
|
-
"Goals are submitted when finished and ready for implementation.",
|
|
33
|
-
],
|
|
34
|
-
},
|
|
35
|
-
codifier: {
|
|
36
|
-
title: "CODIFIER//",
|
|
37
|
-
lines: [
|
|
38
|
-
"Codify implementation results automatically as soon as goals are approved.",
|
|
39
|
-
"",
|
|
40
|
-
"Missing decisions, components and documentation will be updated before goals are finally closed.",
|
|
41
|
-
],
|
|
42
|
-
},
|
|
43
|
-
};
|
|
44
|
-
export function CockpitDaemonPanel({ title, snapshot, pendingConfig, selected, configuring, infoVisible, children, }) {
|
|
45
|
-
return (React.createElement(Panel, { title: title, titleColor: selected ? BaseColors.brandBlue : BaseColors.shade3, borderColor: selected ? BaseColors.brandBlue : BaseColors.shade5, flexGrow: 3, flexBasis: 0, height: "100%", bordered: false },
|
|
6
|
+
import { TuiSubprocessStatus } from "../daemon-subprocesses/TuiSubprocessStatus.js";
|
|
7
|
+
import { DAEMON_PANEL_CONTENT_WIDTH } from "./CockpitDaemonFrames.js";
|
|
8
|
+
import { CockpitDaemonPanelCopy } from "./CockpitDaemonPanelCopy.js";
|
|
9
|
+
export function CockpitDaemonPanel({ daemonConstants, snapshot, pendingConfig, selected, configuring, infoVisible, children, }) {
|
|
10
|
+
return (React.createElement(Panel, { title: daemonConstants.title, titleColor: selected ? BaseColors.brandBlue : BaseColors.shade3, borderColor: selected ? BaseColors.brandBlue : BaseColors.shade5, flexGrow: 3, flexBasis: 0, height: "100%", bordered: false },
|
|
46
11
|
React.createElement(Box, { alignItems: "center", flexDirection: "column" },
|
|
47
12
|
children,
|
|
48
13
|
React.createElement(DaemonActionLine, { snapshot: snapshot, selected: selected, infoVisible: infoVisible }),
|
|
49
14
|
configuring && (React.createElement(DaemonConfigWizard, { snapshot: snapshot, pendingConfig: pendingConfig, selected: selected })))));
|
|
50
15
|
}
|
|
51
|
-
export function
|
|
52
|
-
const
|
|
53
|
-
return (React.createElement(Box, { flexDirection: "column", flexWrap: "nowrap", width: DAEMON_PANEL_CONTENT_WIDTH }, getRenderedDaemonFrame(frame).map((line, lineIndex) => (React.createElement(Text, { key: `${frameIndex}-${lineIndex}` },
|
|
54
|
-
getGlyphCellSegments(getGlyphCellLinePrefix(line, statusLabel, lineIndex), snapshot).map((segment, segmentIndex) => (React.createElement(Text, { key: `${frameIndex}-${lineIndex}-prefix-${segmentIndex}`, color: segment.color }, segment.text))),
|
|
55
|
-
isDaemonStatusLine(lineIndex) && (React.createElement(Text, { color: getDaemonStatusColor(), bold: true }, statusLabel)),
|
|
56
|
-
getGlyphCellSegments(getGlyphCellLineSuffix(line, statusLabel, lineIndex), snapshot).map((segment, segmentIndex) => (React.createElement(Text, { key: `${frameIndex}-${lineIndex}-suffix-${segmentIndex}`, color: segment.color }, segment.text))))))));
|
|
57
|
-
}
|
|
58
|
-
export function CodifierDaemonFrame({ frame, frameIndex, glyphColors, snapshot, }) {
|
|
59
|
-
const statusLabel = getDaemonPanelStatusLabel(snapshot);
|
|
60
|
-
return (React.createElement(Box, { flexDirection: "column", flexWrap: "nowrap", width: DAEMON_PANEL_CONTENT_WIDTH }, getRenderedDaemonFrame(frame).map((line, lineIndex) => (React.createElement(Text, { key: `${frameIndex}-${lineIndex}` },
|
|
61
|
-
getStyledGlyphSegments(getGlyphLinePrefix(line, statusLabel, lineIndex), glyphColors, snapshot).map((segment, segmentIndex) => (React.createElement(Text, { key: `${frameIndex}-${lineIndex}-prefix-${segmentIndex}`, color: segment.color, dimColor: segment.dimColor }, segment.text))),
|
|
62
|
-
isDaemonStatusLine(lineIndex) && (React.createElement(Text, { color: getDaemonStatusColor(), bold: true }, statusLabel)),
|
|
63
|
-
getStyledGlyphSegments(getGlyphLineSuffix(line, statusLabel, lineIndex), glyphColors, snapshot).map((segment, segmentIndex) => (React.createElement(Text, { key: `${frameIndex}-${lineIndex}-suffix-${segmentIndex}`, color: segment.color, dimColor: segment.dimColor }, segment.text))))))));
|
|
64
|
-
}
|
|
65
|
-
export function DaemonInfoOverlay({ name, }) {
|
|
66
|
-
const info = DAEMON_INFO_COPY[name];
|
|
16
|
+
export function DaemonInfoOverlay({ daemonConstants, }) {
|
|
17
|
+
const info = daemonConstants.info;
|
|
67
18
|
return (React.createElement(Box, { borderStyle: "round", borderColor: BaseColors.brandBlue, flexDirection: "column", marginBottom: 1, paddingX: 1, width: "100%" },
|
|
68
19
|
React.createElement(Text, { color: BaseColors.brandBlue, bold: true }, info.title),
|
|
69
20
|
info.lines.map((line) => (React.createElement(Text, { key: line, color: BaseColors.shade2 }, line))),
|
|
70
|
-
React.createElement(Text, { color: BaseColors.shade4 },
|
|
21
|
+
React.createElement(Text, { color: BaseColors.shade4 }, CockpitDaemonPanelCopy.closeInfoLabel)));
|
|
71
22
|
}
|
|
72
23
|
function DaemonActionLine({ snapshot, selected, infoVisible, }) {
|
|
73
|
-
const action = snapshot.status ===
|
|
24
|
+
const action = snapshot.status === TuiSubprocessStatus.RUNNING
|
|
25
|
+
? CockpitDaemonPanelCopy.action.stop
|
|
26
|
+
: CockpitDaemonPanelCopy.action.start;
|
|
74
27
|
const badgeColor = getDaemonShortcutBadgeColor(selected);
|
|
75
28
|
return (React.createElement(Box, { width: DAEMON_PANEL_CONTENT_WIDTH, marginTop: 1, gap: 1 },
|
|
76
29
|
React.createElement(KeyBadge, { char: "s", label: action, color: badgeColor, labelColor: BaseColors.shade4 }),
|
|
77
|
-
React.createElement(KeyBadge, { char: "@", label:
|
|
78
|
-
React.createElement(KeyBadge, { char: "i", label: infoVisible
|
|
30
|
+
React.createElement(KeyBadge, { char: "@", label: CockpitDaemonPanelCopy.action.config, color: badgeColor, labelColor: BaseColors.shade4 }),
|
|
31
|
+
React.createElement(KeyBadge, { char: "i", label: infoVisible
|
|
32
|
+
? CockpitDaemonPanelCopy.action.infoOpen
|
|
33
|
+
: CockpitDaemonPanelCopy.action.info, color: badgeColor, labelColor: BaseColors.shade4 })));
|
|
79
34
|
}
|
|
80
35
|
function DaemonConfigWizard({ snapshot, pendingConfig, selected, }) {
|
|
81
|
-
const config = snapshot.status ===
|
|
36
|
+
const config = snapshot.status === TuiSubprocessStatus.RUNNING
|
|
37
|
+
? snapshot.config
|
|
38
|
+
: pendingConfig;
|
|
82
39
|
const badgeColor = getDaemonShortcutBadgeColor(selected);
|
|
83
40
|
return (React.createElement(Box, { width: DAEMON_PANEL_CONTENT_WIDTH, flexDirection: "column" },
|
|
84
41
|
React.createElement(Text, { color: BaseColors.shade4 },
|
|
85
|
-
|
|
42
|
+
CockpitDaemonPanelCopy.pidLabel,
|
|
43
|
+
" ",
|
|
86
44
|
snapshot.pid ?? "-"),
|
|
87
45
|
React.createElement(Box, { gap: 1 },
|
|
88
46
|
React.createElement(KeyBadge, { char: "a", label: config.agentId, color: badgeColor, labelColor: BaseColors.shade4 }),
|
|
@@ -92,17 +50,4 @@ function DaemonConfigWizard({ snapshot, pendingConfig, selected, }) {
|
|
|
92
50
|
function getDaemonShortcutBadgeColor(selected) {
|
|
93
51
|
return selected ? BaseColors.brandBlue : BaseColors.shade4;
|
|
94
52
|
}
|
|
95
|
-
function getDaemonPanelStatusLabel(snapshot) {
|
|
96
|
-
const latestEvent = snapshot.events[snapshot.events.length - 1];
|
|
97
|
-
if (snapshot.status === "running" && latestEvent?.status === "idle") {
|
|
98
|
-
return `[ ${DAEMON_IDLE_VERBS[snapshot.name]} ]`;
|
|
99
|
-
}
|
|
100
|
-
const status = snapshot.status === "running"
|
|
101
|
-
? DAEMON_ACTIVE_VERBS[snapshot.name]
|
|
102
|
-
: snapshot.status;
|
|
103
|
-
return `[ ${status} ]`;
|
|
104
|
-
}
|
|
105
|
-
function getDaemonStatusColor() {
|
|
106
|
-
return BaseColors.shade3;
|
|
107
|
-
}
|
|
108
53
|
//# sourceMappingURL=CockpitDaemonPanel.js.map
|