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,84 @@
|
|
|
1
|
+
export const GoalAuthoringStage = {
|
|
2
|
+
DETAILS: "details",
|
|
3
|
+
CRITERIA: "criteria",
|
|
4
|
+
SCOPE: "scope",
|
|
5
|
+
SEQUENCING: "sequencing",
|
|
6
|
+
WORKSPACE: "workspace",
|
|
7
|
+
};
|
|
8
|
+
export const GoalAuthoringFieldKey = {
|
|
9
|
+
TITLE: "title",
|
|
10
|
+
OBJECTIVE: "objective",
|
|
11
|
+
SCOPE_IN: "scopeIn",
|
|
12
|
+
SCOPE_OUT: "scopeOut",
|
|
13
|
+
PREVIOUS_GOAL: "previousGoal",
|
|
14
|
+
NEXT_GOAL: "nextGoal",
|
|
15
|
+
PREREQUISITE_GOALS: "prerequisiteGoals",
|
|
16
|
+
BRANCH: "branch",
|
|
17
|
+
WORKTREE: "worktree",
|
|
18
|
+
CRITERION: "criterion",
|
|
19
|
+
ADD_ANOTHER_CRITERION: "addAnotherCriterion",
|
|
20
|
+
};
|
|
21
|
+
export const GoalAuthoringCopy = {
|
|
22
|
+
title: "Author Goal",
|
|
23
|
+
details: {
|
|
24
|
+
title: "Goal Details",
|
|
25
|
+
description: "Name the goal and state the single outcome it should accomplish.",
|
|
26
|
+
fields: {
|
|
27
|
+
title: "Title",
|
|
28
|
+
objective: "Objective",
|
|
29
|
+
titlePlaceholder: "e.g. Wire Cockpit goal authoring",
|
|
30
|
+
objectivePlaceholder: "e.g. Prototype the Goals screen",
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
scope: {
|
|
34
|
+
title: "Scope",
|
|
35
|
+
description: "Identify the work area and boundaries that keep the goal focused.",
|
|
36
|
+
fields: {
|
|
37
|
+
scopeIn: "Scope in (optional)",
|
|
38
|
+
scopeOut: "Scope out (optional)",
|
|
39
|
+
scopeInPlaceholder: "e.g. src/presentation/tui/goals",
|
|
40
|
+
scopeOutPlaceholder: "e.g. src/application",
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
sequencing: {
|
|
44
|
+
title: "Goal Sequence",
|
|
45
|
+
description: "Optionally chain this goal to other goals or define prerequisites.",
|
|
46
|
+
fields: {
|
|
47
|
+
previousGoal: "Previous goal (optional)",
|
|
48
|
+
nextGoal: "Next goal (optional)",
|
|
49
|
+
prerequisiteGoals: "Prerequisite goals (optional)",
|
|
50
|
+
previousGoalPlaceholder: "e.g. goal_123",
|
|
51
|
+
nextGoalPlaceholder: "e.g. goal_456",
|
|
52
|
+
prerequisiteGoalsPlaceholder: "e.g. goal_a goal_b",
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
workspace: {
|
|
56
|
+
title: "Workspace",
|
|
57
|
+
description: "Optionally reserve a branch or worktree for multi-agent collaboration.",
|
|
58
|
+
fields: {
|
|
59
|
+
branch: "Branch (optional)",
|
|
60
|
+
worktree: "Worktree (optional)",
|
|
61
|
+
branchPlaceholder: "e.g. feature/cockpit-goal-authoring",
|
|
62
|
+
worktreePlaceholder: "e.g. ../jumbo-cockpit-goal-authoring",
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
criteria: {
|
|
66
|
+
titlePrefix: "Criterion",
|
|
67
|
+
description: "Define one measurable success criterion so review can determine completion.",
|
|
68
|
+
successCriterion: "Success criterion",
|
|
69
|
+
successCriterionPlaceholder: "e.g. List renders status, detail, and action hints",
|
|
70
|
+
addAnotherCriterion: "Add another criterion?",
|
|
71
|
+
},
|
|
72
|
+
};
|
|
73
|
+
export const GoalAuthoringCriterionValue = {
|
|
74
|
+
YES: "yes",
|
|
75
|
+
NO: "no",
|
|
76
|
+
};
|
|
77
|
+
export const AUTHORING_PROGRESS_LABELS = {
|
|
78
|
+
[GoalAuthoringStage.DETAILS]: "1/5",
|
|
79
|
+
[GoalAuthoringStage.CRITERIA]: "2/5",
|
|
80
|
+
[GoalAuthoringStage.SCOPE]: "3/5",
|
|
81
|
+
[GoalAuthoringStage.SEQUENCING]: "4/5",
|
|
82
|
+
[GoalAuthoringStage.WORKSPACE]: "5/5",
|
|
83
|
+
};
|
|
84
|
+
//# sourceMappingURL=GoalAuthoringFlowConstants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GoalAuthoringFlowConstants.js","sourceRoot":"","sources":["../../../../src/presentation/tui/goals/GoalAuthoringFlowConstants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;CACd,CAAC;AAKX,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,SAAS;IACnB,SAAS,EAAE,UAAU;IACrB,aAAa,EAAE,cAAc;IAC7B,SAAS,EAAE,UAAU;IACrB,kBAAkB,EAAE,mBAAmB;IACvC,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,qBAAqB,EAAE,qBAAqB;CACpC,CAAC;AAEX,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,KAAK,EAAE,aAAa;IACpB,OAAO,EAAE;QACP,KAAK,EAAE,cAAc;QACrB,WAAW,EACT,kEAAkE;QACpE,MAAM,EAAE;YACN,KAAK,EAAE,OAAO;YACd,SAAS,EAAE,WAAW;YACtB,gBAAgB,EAAE,kCAAkC;YACpD,oBAAoB,EAAE,iCAAiC;SACxD;KACF;IACD,KAAK,EAAE;QACL,KAAK,EAAE,OAAO;QACd,WAAW,EACT,mEAAmE;QACrE,MAAM,EAAE;YACN,OAAO,EAAE,qBAAqB;YAC9B,QAAQ,EAAE,sBAAsB;YAChC,kBAAkB,EAAE,iCAAiC;YACrD,mBAAmB,EAAE,sBAAsB;SAC5C;KACF;IACD,UAAU,EAAE;QACV,KAAK,EAAE,eAAe;QACtB,WAAW,EACT,oEAAoE;QACtE,MAAM,EAAE;YACN,YAAY,EAAE,0BAA0B;YACxC,QAAQ,EAAE,sBAAsB;YAChC,iBAAiB,EAAE,+BAA+B;YAClD,uBAAuB,EAAE,eAAe;YACxC,mBAAmB,EAAE,eAAe;YACpC,4BAA4B,EAAE,oBAAoB;SACnD;KACF;IACD,SAAS,EAAE;QACT,KAAK,EAAE,WAAW;QAClB,WAAW,EACT,wEAAwE;QAC1E,MAAM,EAAE;YACN,MAAM,EAAE,mBAAmB;YAC3B,QAAQ,EAAE,qBAAqB;YAC/B,iBAAiB,EAAE,qCAAqC;YACxD,mBAAmB,EAAE,sCAAsC;SAC5D;KACF;IACD,QAAQ,EAAE;QACR,WAAW,EAAE,WAAW;QACxB,WAAW,EACT,6EAA6E;QAC/E,gBAAgB,EAAE,mBAAmB;QACrC,2BAA2B,EACzB,oDAAoD;QACtD,mBAAmB,EAAE,wBAAwB;KAC9C;CACO,CAAC;AAEX,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,GAAG,EAAE,KAAK;IACV,EAAE,EAAE,IAAI;CACA,CAAC;AAEX,MAAM,CAAC,MAAM,yBAAyB,GAElC;IACF,CAAC,kBAAkB,CAAC,OAAO,CAAC,EAAE,KAAK;IACnC,CAAC,kBAAkB,CAAC,QAAQ,CAAC,EAAE,KAAK;IACpC,CAAC,kBAAkB,CAAC,KAAK,CAAC,EAAE,KAAK;IACjC,CAAC,kBAAkB,CAAC,UAAU,CAAC,EAAE,KAAK;IACtC,CAAC,kBAAkB,CAAC,SAAS,CAAC,EAAE,KAAK;CACtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoalsScreen.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/goals/GoalsScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"GoalsScreen.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/goals/GoalsScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAuDjD,wBAAgB,WAAW,IAAI,KAAK,CAAC,YAAY,CAwKhD"}
|
|
@@ -1,45 +1,37 @@
|
|
|
1
1
|
import React, { useMemo, useState } from "react";
|
|
2
2
|
import { Box, Text, useInput } from "ink";
|
|
3
3
|
import { BaseColors, SemanticColors, TuiLayout, } from "../../shared/DesignTokens.js";
|
|
4
|
+
import { GoalStatus } from "../../../domain/goals/Constants.js";
|
|
4
5
|
import { DetailPane } from "../ui-primitives/DetailPane.js";
|
|
5
6
|
import { KeyBadge } from "../ui-primitives/KeyBadge.js";
|
|
6
7
|
import { Panel } from "../ui-primitives/Panel.js";
|
|
7
8
|
import { Tumbler } from "../ui-primitives/Tumbler.js";
|
|
8
9
|
import { GoalAuthoringFlow } from "./GoalAuthoringFlow.js";
|
|
9
10
|
import { useGoalsList } from "../state-reading/TuiStateReader.js";
|
|
10
|
-
|
|
11
|
-
"all",
|
|
12
|
-
"defined",
|
|
13
|
-
"refined",
|
|
14
|
-
"doing",
|
|
15
|
-
"blocked",
|
|
16
|
-
"in-review",
|
|
17
|
-
"done",
|
|
18
|
-
];
|
|
11
|
+
import { GOAL_DETAIL_JOIN_SEPARATOR, GOAL_STATUS_FILTER_ALL, GOAL_STATUS_FILTERS, GOAL_TUMBLER_MAX_DISPLAY_LENGTH, GoalsScreenCopy, } from "./GoalsScreenConstants.js";
|
|
19
12
|
const STATUS_COLORS = {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
13
|
+
[GoalStatus.TODO]: SemanticColors.muted,
|
|
14
|
+
[GoalStatus.REFINED]: SemanticColors.info,
|
|
15
|
+
[GoalStatus.DOING]: SemanticColors.success,
|
|
16
|
+
[GoalStatus.BLOCKED]: SemanticColors.error,
|
|
17
|
+
[GoalStatus.INREVIEW]: SemanticColors.warning,
|
|
18
|
+
[GoalStatus.DONE]: BaseColors.brandGreen70,
|
|
19
|
+
[GoalStatus.PAUSED]: SemanticColors.warning,
|
|
20
|
+
[GoalStatus.QUALIFIED]: SemanticColors.success,
|
|
21
|
+
[GoalStatus.REJECTED]: SemanticColors.error,
|
|
22
|
+
[GoalStatus.SUBMITTED]: SemanticColors.info,
|
|
23
|
+
[GoalStatus.CODIFYING]: SemanticColors.accent,
|
|
24
|
+
[GoalStatus.IN_REFINEMENT]: SemanticColors.info,
|
|
25
|
+
[GoalStatus.UNBLOCKED]: SemanticColors.warning,
|
|
33
26
|
};
|
|
34
|
-
const DETAIL_JOIN_SEPARATOR = "\n";
|
|
35
|
-
const EMPTY_FIELD_VALUE = "None";
|
|
36
|
-
const GOAL_TUMBLER_MAX_DISPLAY_LENGTH = 44;
|
|
37
27
|
export function GoalsScreen() {
|
|
38
28
|
const [selectedIndex, setSelectedIndex] = useState(0);
|
|
39
29
|
const [filterIndex, setFilterIndex] = useState(0);
|
|
40
30
|
const [authoringOpen, setAuthoringOpen] = useState(false);
|
|
41
|
-
const activeFilter =
|
|
42
|
-
const requestedStatus = activeFilter ===
|
|
31
|
+
const activeFilter = GOAL_STATUS_FILTERS[filterIndex];
|
|
32
|
+
const requestedStatus = activeFilter === GOAL_STATUS_FILTER_ALL
|
|
33
|
+
? undefined
|
|
34
|
+
: activeFilter;
|
|
43
35
|
const goalsList = useGoalsList(requestedStatus);
|
|
44
36
|
const visibleGoals = useMemo(() => {
|
|
45
37
|
const responseGoals = goalsList.data?.goals;
|
|
@@ -54,13 +46,13 @@ export function GoalsScreen() {
|
|
|
54
46
|
return;
|
|
55
47
|
}
|
|
56
48
|
if (key.rightArrow) {
|
|
57
|
-
const nextFilterIndex = (filterIndex + 1) %
|
|
49
|
+
const nextFilterIndex = (filterIndex + 1) % GOAL_STATUS_FILTERS.length;
|
|
58
50
|
setFilterIndex(nextFilterIndex);
|
|
59
51
|
setSelectedIndex(0);
|
|
60
52
|
return;
|
|
61
53
|
}
|
|
62
54
|
if (key.leftArrow) {
|
|
63
|
-
const nextFilterIndex = filterIndex === 0 ?
|
|
55
|
+
const nextFilterIndex = filterIndex === 0 ? GOAL_STATUS_FILTERS.length - 1 : filterIndex - 1;
|
|
64
56
|
setFilterIndex(nextFilterIndex);
|
|
65
57
|
setSelectedIndex(0);
|
|
66
58
|
return;
|
|
@@ -90,55 +82,55 @@ export function GoalsScreen() {
|
|
|
90
82
|
}
|
|
91
83
|
return (React.createElement(Box, { flexDirection: "column", paddingX: 1, paddingTop: 1, gap: 1 },
|
|
92
84
|
React.createElement(Box, { gap: 2 },
|
|
93
|
-
goalsList.loading && goalsList.data === null ? (React.createElement(Panel, { title:
|
|
94
|
-
React.createElement(Text, { color: SemanticColors.muted },
|
|
95
|
-
React.createElement(Text, { color: SemanticColors.error }, goalsList.error.message))) : (React.createElement(Tumbler, { key: activeFilter, title:
|
|
96
|
-
selectedGoal && (React.createElement(DetailPane, { title:
|
|
97
|
-
{ label:
|
|
98
|
-
{ label:
|
|
85
|
+
goalsList.loading && goalsList.data === null ? (React.createElement(Panel, { title: GoalsScreenCopy.listTitle, width: TuiLayout.listPanelWidth },
|
|
86
|
+
React.createElement(Text, { color: SemanticColors.muted }, GoalsScreenCopy.loadingGoals))) : goalsList.error !== null ? (React.createElement(Panel, { title: GoalsScreenCopy.listTitle, width: TuiLayout.listPanelWidth },
|
|
87
|
+
React.createElement(Text, { color: SemanticColors.error }, goalsList.error.message))) : (React.createElement(Tumbler, { key: activeFilter, title: GoalsScreenCopy.listTitle, items: tumblerItems, initialFocusedKey: selectedGoal?.id, maxDisplayLength: GOAL_TUMBLER_MAX_DISPLAY_LENGTH, width: TuiLayout.listPanelWidth, emptyMessage: GoalsScreenCopy.emptyGoals, onFocusedItemChange: handleFocusedGoalChange })),
|
|
88
|
+
selectedGoal && (React.createElement(DetailPane, { title: GoalsScreenCopy.detailTitle, width: TuiLayout.detailPanelWidth, entries: [
|
|
89
|
+
{ label: GoalsScreenCopy.details.id, value: selectedGoal.id },
|
|
90
|
+
{ label: GoalsScreenCopy.details.title, value: selectedGoal.title },
|
|
99
91
|
{
|
|
100
|
-
label:
|
|
92
|
+
label: GoalsScreenCopy.details.status,
|
|
101
93
|
value: selectedGoal.status,
|
|
102
94
|
valueColor: STATUS_COLORS[selectedGoal.status],
|
|
103
95
|
},
|
|
104
|
-
{ label:
|
|
96
|
+
{ label: GoalsScreenCopy.details.objective, value: selectedGoal.objective },
|
|
105
97
|
{
|
|
106
|
-
label:
|
|
107
|
-
value: selectedGoal.criteria.join(
|
|
98
|
+
label: GoalsScreenCopy.details.criteria,
|
|
99
|
+
value: selectedGoal.criteria.join(GOAL_DETAIL_JOIN_SEPARATOR),
|
|
108
100
|
},
|
|
109
101
|
{
|
|
110
|
-
label:
|
|
111
|
-
value: selectedGoal.scopeIn.join(
|
|
102
|
+
label: GoalsScreenCopy.details.scopeIn,
|
|
103
|
+
value: selectedGoal.scopeIn.join(GOAL_DETAIL_JOIN_SEPARATOR),
|
|
112
104
|
},
|
|
113
105
|
{
|
|
114
|
-
label:
|
|
115
|
-
value: selectedGoal.scopeOut.join(
|
|
106
|
+
label: GoalsScreenCopy.details.scopeOut,
|
|
107
|
+
value: selectedGoal.scopeOut.join(GOAL_DETAIL_JOIN_SEPARATOR),
|
|
116
108
|
},
|
|
117
109
|
{
|
|
118
|
-
label:
|
|
110
|
+
label: GoalsScreenCopy.details.prerequisites,
|
|
119
111
|
value: selectedGoal.prerequisiteGoals
|
|
120
|
-
.join(
|
|
112
|
+
.join(GOAL_DETAIL_JOIN_SEPARATOR) || GoalsScreenCopy.emptyFieldValue,
|
|
121
113
|
},
|
|
122
114
|
{
|
|
123
|
-
label:
|
|
124
|
-
value: selectedGoal.progress.join(
|
|
125
|
-
||
|
|
115
|
+
label: GoalsScreenCopy.details.progress,
|
|
116
|
+
value: selectedGoal.progress.join(GOAL_DETAIL_JOIN_SEPARATOR)
|
|
117
|
+
|| GoalsScreenCopy.emptyFieldValue,
|
|
126
118
|
},
|
|
127
|
-
{ label:
|
|
119
|
+
{ label: GoalsScreenCopy.details.note, value: selectedGoal.note ?? GoalsScreenCopy.emptyFieldValue },
|
|
128
120
|
{
|
|
129
|
-
label:
|
|
130
|
-
value: selectedGoal.reviewIssues ??
|
|
121
|
+
label: GoalsScreenCopy.details.reviewIssues,
|
|
122
|
+
value: selectedGoal.reviewIssues ?? GoalsScreenCopy.emptyFieldValue,
|
|
131
123
|
},
|
|
132
124
|
{
|
|
133
|
-
label:
|
|
134
|
-
value: selectedGoal.nextGoalId ??
|
|
125
|
+
label: GoalsScreenCopy.details.nextGoal,
|
|
126
|
+
value: selectedGoal.nextGoalId ?? GoalsScreenCopy.emptyFieldValue,
|
|
135
127
|
},
|
|
136
128
|
] }))),
|
|
137
|
-
selectedGoal && (React.createElement(Panel, { title:
|
|
129
|
+
selectedGoal && (React.createElement(Panel, { title: GoalsScreenCopy.actionHintsTitle },
|
|
138
130
|
React.createElement(Box, { gap: 2 },
|
|
139
|
-
React.createElement(KeyBadge, { char: "a", label:
|
|
140
|
-
React.createElement(KeyBadge, { char: "\u2191\u2193", label:
|
|
141
|
-
React.createElement(KeyBadge, { char: "\u2190\u2192", label:
|
|
131
|
+
React.createElement(KeyBadge, { char: "a", label: GoalsScreenCopy.shortcuts.author }),
|
|
132
|
+
React.createElement(KeyBadge, { char: "\u2191\u2193", label: GoalsScreenCopy.shortcuts.select }),
|
|
133
|
+
React.createElement(KeyBadge, { char: "\u2190\u2192", label: GoalsScreenCopy.shortcuts.filter }))))));
|
|
142
134
|
}
|
|
143
135
|
function toGoalListEntry(goal) {
|
|
144
136
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoalsScreen.js","sourceRoot":"","sources":["../../../../src/presentation/tui/goals/GoalsScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,GAAG,EAAE,IA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AAS,eAAe,CAAC,IAAc;IACrC,OAAO;QACL,EAAE,EAAE,IAAI,CAAC,MAAM;QACf,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,MAAM,EAAE,IAAI,CAAC,MAAM;QACnB,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,QAAQ,EAAE,IAAI,CAAC,eAAe;QAC9B,OAAO,EAAE,IAAI,CAAC,OAAO;QACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,IAAI,EAAE;QAC/C,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,YAAY,EAAE,IAAI,CAAC,YAAY;QAC/B,UAAU,EAAE,IAAI,CAAC,UAAU;KAC5B,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export declare const GOAL_STATUS_FILTER_ALL = "all";
|
|
2
|
+
export declare const GOAL_STATUS_FILTERS: readonly ["all", "defined", "refined", "doing", "blocked", "in-review", "done"];
|
|
3
|
+
export type GoalStatusFilter = (typeof GOAL_STATUS_FILTERS)[number];
|
|
4
|
+
export declare const GoalsScreenCopy: {
|
|
5
|
+
readonly listTitle: "Goal List";
|
|
6
|
+
readonly detailTitle: "Goal Detail";
|
|
7
|
+
readonly loadingGoals: "Loading goals";
|
|
8
|
+
readonly emptyGoals: "No goals available";
|
|
9
|
+
readonly emptyFieldValue: "None";
|
|
10
|
+
readonly actionHintsTitle: "Action Hints";
|
|
11
|
+
readonly details: {
|
|
12
|
+
readonly id: "ID";
|
|
13
|
+
readonly title: "Title";
|
|
14
|
+
readonly status: "Status";
|
|
15
|
+
readonly objective: "Objective";
|
|
16
|
+
readonly criteria: "Criteria";
|
|
17
|
+
readonly scopeIn: "Scope in";
|
|
18
|
+
readonly scopeOut: "Scope out";
|
|
19
|
+
readonly prerequisites: "Prerequisites";
|
|
20
|
+
readonly progress: "Progress";
|
|
21
|
+
readonly note: "Note";
|
|
22
|
+
readonly reviewIssues: "Review issues";
|
|
23
|
+
readonly nextGoal: "Next goal";
|
|
24
|
+
};
|
|
25
|
+
readonly shortcuts: {
|
|
26
|
+
readonly author: "author";
|
|
27
|
+
readonly select: "select";
|
|
28
|
+
readonly filter: "filter";
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export declare const GOAL_DETAIL_JOIN_SEPARATOR = "\n";
|
|
32
|
+
export declare const GOAL_TUMBLER_MAX_DISPLAY_LENGTH = 44;
|
|
33
|
+
//# sourceMappingURL=GoalsScreenConstants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GoalsScreenConstants.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/goals/GoalsScreenConstants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB,QAAQ,CAAC;AAE5C,eAAO,MAAM,mBAAmB,iFAQtB,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEpE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BlB,CAAC;AAEX,eAAO,MAAM,0BAA0B,OAAO,CAAC;AAC/C,eAAO,MAAM,+BAA+B,KAAK,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { GoalStatus } from "../../../domain/goals/Constants.js";
|
|
2
|
+
export const GOAL_STATUS_FILTER_ALL = "all";
|
|
3
|
+
export const GOAL_STATUS_FILTERS = [
|
|
4
|
+
GOAL_STATUS_FILTER_ALL,
|
|
5
|
+
GoalStatus.TODO,
|
|
6
|
+
GoalStatus.REFINED,
|
|
7
|
+
GoalStatus.DOING,
|
|
8
|
+
GoalStatus.BLOCKED,
|
|
9
|
+
GoalStatus.INREVIEW,
|
|
10
|
+
GoalStatus.DONE,
|
|
11
|
+
];
|
|
12
|
+
export const GoalsScreenCopy = {
|
|
13
|
+
listTitle: "Goal List",
|
|
14
|
+
detailTitle: "Goal Detail",
|
|
15
|
+
loadingGoals: "Loading goals",
|
|
16
|
+
emptyGoals: "No goals available",
|
|
17
|
+
emptyFieldValue: "None",
|
|
18
|
+
actionHintsTitle: "Action Hints",
|
|
19
|
+
details: {
|
|
20
|
+
id: "ID",
|
|
21
|
+
title: "Title",
|
|
22
|
+
status: "Status",
|
|
23
|
+
objective: "Objective",
|
|
24
|
+
criteria: "Criteria",
|
|
25
|
+
scopeIn: "Scope in",
|
|
26
|
+
scopeOut: "Scope out",
|
|
27
|
+
prerequisites: "Prerequisites",
|
|
28
|
+
progress: "Progress",
|
|
29
|
+
note: "Note",
|
|
30
|
+
reviewIssues: "Review issues",
|
|
31
|
+
nextGoal: "Next goal",
|
|
32
|
+
},
|
|
33
|
+
shortcuts: {
|
|
34
|
+
author: "author",
|
|
35
|
+
select: "select",
|
|
36
|
+
filter: "filter",
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
export const GOAL_DETAIL_JOIN_SEPARATOR = "\n";
|
|
40
|
+
export const GOAL_TUMBLER_MAX_DISPLAY_LENGTH = 44;
|
|
41
|
+
//# sourceMappingURL=GoalsScreenConstants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GoalsScreenConstants.js","sourceRoot":"","sources":["../../../../src/presentation/tui/goals/GoalsScreenConstants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAEhE,MAAM,CAAC,MAAM,sBAAsB,GAAG,KAAK,CAAC;AAE5C,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,sBAAsB;IACtB,UAAU,CAAC,IAAI;IACf,UAAU,CAAC,OAAO;IAClB,UAAU,CAAC,KAAK;IAChB,UAAU,CAAC,OAAO;IAClB,UAAU,CAAC,QAAQ;IACnB,UAAU,CAAC,IAAI;CACP,CAAC;AAIX,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,SAAS,EAAE,WAAW;IACtB,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,eAAe;IAC7B,UAAU,EAAE,oBAAoB;IAChC,eAAe,EAAE,MAAM;IACvB,gBAAgB,EAAE,cAAc;IAChC,OAAO,EAAE;QACP,EAAE,EAAE,IAAI;QACR,KAAK,EAAE,OAAO;QACd,MAAM,EAAE,QAAQ;QAChB,SAAS,EAAE,WAAW;QACtB,QAAQ,EAAE,UAAU;QACpB,OAAO,EAAE,UAAU;QACnB,QAAQ,EAAE,WAAW;QACrB,aAAa,EAAE,eAAe;QAC9B,QAAQ,EAAE,UAAU;QACpB,IAAI,EAAE,MAAM;QACZ,YAAY,EAAE,eAAe;QAC7B,QAAQ,EAAE,WAAW;KACtB;IACD,SAAS,EAAE;QACT,MAAM,EAAE,QAAQ;QAChB,MAAM,EAAE,QAAQ;QAChB,MAAM,EAAE,QAAQ;KACjB;CACO,CAAC;AAEX,MAAM,CAAC,MAAM,0BAA0B,GAAG,IAAI,CAAC;AAC/C,MAAM,CAAC,MAAM,+BAA+B,GAAG,EAAE,CAAC"}
|
|
@@ -3,6 +3,8 @@ export type { ScreenKey } from "./navigation/ScreenDefinitions.js";
|
|
|
3
3
|
export { SCREEN_DEFINITIONS, DEFAULT_SCREEN_INDEX } from "./navigation/ScreenDefinitions.js";
|
|
4
4
|
export { DEFAULT_TUI_STATE_READER_TICK_MS, TuiStateReaderProvider, useComponentsList, useDecisionsList, useDependenciesList, useGoalsList, useGuidelinesList, useInvariantsList, useProjectContext, useSessionsList, } from "./state-reading/TuiStateReader.js";
|
|
5
5
|
export type { TuiStateReaderControllers, TuiStateReaderOptions, TuiStateSnapshot, } from "./state-reading/TuiStateReader.js";
|
|
6
|
-
export {
|
|
7
|
-
export type { TuiActionResult
|
|
6
|
+
export { TuiActionDispatcher } from "./action-dispatch/TuiActionDispatcher.js";
|
|
7
|
+
export type { TuiActionResult } from "./action-dispatch/TuiActionResult.js";
|
|
8
|
+
export { TuiActionErrorNormalizer } from "./action-dispatch/TuiActionErrorNormalizer.js";
|
|
9
|
+
export type { TuiRequestController } from "./action-dispatch/TuiRequestController.js";
|
|
8
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/presentation/tui/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AACvD,YAAY,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAC7F,OAAO,EACL,gCAAgC,EAChC,sBAAsB,EACtB,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EACnB,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,GAChB,MAAM,mCAAmC,CAAC;AAC3C,YAAY,EACV,yBAAyB,EACzB,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/presentation/tui/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AACvD,YAAY,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAC7F,OAAO,EACL,gCAAgC,EAChC,sBAAsB,EACtB,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EACnB,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,GAChB,MAAM,mCAAmC,CAAC;AAC3C,YAAY,EACV,yBAAyB,EACzB,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,YAAY,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,+CAA+C,CAAC;AACzF,YAAY,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { TuiApp } from "./application-shell/TuiApp.js";
|
|
2
2
|
export { SCREEN_DEFINITIONS, DEFAULT_SCREEN_INDEX } from "./navigation/ScreenDefinitions.js";
|
|
3
3
|
export { DEFAULT_TUI_STATE_READER_TICK_MS, TuiStateReaderProvider, useComponentsList, useDecisionsList, useDependenciesList, useGoalsList, useGuidelinesList, useInvariantsList, useProjectContext, useSessionsList, } from "./state-reading/TuiStateReader.js";
|
|
4
|
-
export {
|
|
4
|
+
export { TuiActionDispatcher } from "./action-dispatch/TuiActionDispatcher.js";
|
|
5
|
+
export { TuiActionErrorNormalizer } from "./action-dispatch/TuiActionErrorNormalizer.js";
|
|
5
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/presentation/tui/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAEvD,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAC7F,OAAO,EACL,gCAAgC,EAChC,sBAAsB,EACtB,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EACnB,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,GAChB,MAAM,mCAAmC,CAAC;AAM3C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/presentation/tui/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAEvD,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAC7F,OAAO,EACL,gCAAgC,EAChC,sBAAsB,EACtB,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EACnB,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,GAChB,MAAM,mCAAmC,CAAC;AAM3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAE/E,OAAO,EAAE,wBAAwB,EAAE,MAAM,+CAA+C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MemoryScreen.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/memory/MemoryScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MemoryScreen.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/memory/MemoryScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,wBAAgB,YAAY,IAAI,KAAK,CAAC,YAAY,CAkBjD"}
|
|
@@ -2,12 +2,18 @@ import React from "react";
|
|
|
2
2
|
import { Box, Text } from "ink";
|
|
3
3
|
import { SemanticColors } from "../../shared/DesignTokens.js";
|
|
4
4
|
import { Panel } from "../ui-primitives/Panel.js";
|
|
5
|
+
const MEMORY_SCREEN_COPY = {
|
|
6
|
+
title: "Memory",
|
|
7
|
+
subtitle: "Memory browsing now uses dedicated entity screens.",
|
|
8
|
+
dedicatedScreensTitle: "Dedicated Screens",
|
|
9
|
+
dedicatedScreensPrompt: "Open Decisions, Invariants, Components, Dependencies, or Guidelines from the menu.",
|
|
10
|
+
};
|
|
5
11
|
export function MemoryScreen() {
|
|
6
12
|
return (React.createElement(Box, { flexDirection: "column", paddingX: 1, paddingTop: 1, gap: 1 },
|
|
7
13
|
React.createElement(Box, { flexDirection: "column" },
|
|
8
|
-
React.createElement(Text, { color: SemanticColors.headline, bold: true },
|
|
9
|
-
React.createElement(Text, { color: SemanticColors.secondary },
|
|
10
|
-
React.createElement(Panel, { title:
|
|
11
|
-
React.createElement(Text, { color: SemanticColors.primary },
|
|
14
|
+
React.createElement(Text, { color: SemanticColors.headline, bold: true }, MEMORY_SCREEN_COPY.title),
|
|
15
|
+
React.createElement(Text, { color: SemanticColors.secondary }, MEMORY_SCREEN_COPY.subtitle)),
|
|
16
|
+
React.createElement(Panel, { title: MEMORY_SCREEN_COPY.dedicatedScreensTitle },
|
|
17
|
+
React.createElement(Text, { color: SemanticColors.primary }, MEMORY_SCREEN_COPY.dedicatedScreensPrompt))));
|
|
12
18
|
}
|
|
13
19
|
//# sourceMappingURL=MemoryScreen.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MemoryScreen.js","sourceRoot":"","sources":["../../../../src/presentation/tui/memory/MemoryScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAElD,MAAM,UAAU,YAAY;IAC1B,OAAO,CACL,oBAAC,GAAG,IAAC,aAAa,EAAC,QAAQ,EAAC,QAAQ,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC;QAC5D,oBAAC,GAAG,IAAC,aAAa,EAAC,QAAQ;YACzB,oBAAC,IAAI,IAAC,KAAK,EAAE,cAAc,CAAC,QAAQ,EAAE,IAAI,
|
|
1
|
+
{"version":3,"file":"MemoryScreen.js","sourceRoot":"","sources":["../../../../src/presentation/tui/memory/MemoryScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAElD,MAAM,kBAAkB,GAAG;IACzB,KAAK,EAAE,QAAQ;IACf,QAAQ,EAAE,oDAAoD;IAC9D,qBAAqB,EAAE,mBAAmB;IAC1C,sBAAsB,EACpB,oFAAoF;CAC9E,CAAC;AAEX,MAAM,UAAU,YAAY;IAC1B,OAAO,CACL,oBAAC,GAAG,IAAC,aAAa,EAAC,QAAQ,EAAC,QAAQ,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC;QAC5D,oBAAC,GAAG,IAAC,aAAa,EAAC,QAAQ;YACzB,oBAAC,IAAI,IAAC,KAAK,EAAE,cAAc,CAAC,QAAQ,EAAE,IAAI,UACvC,kBAAkB,CAAC,KAAK,CACpB;YACP,oBAAC,IAAI,IAAC,KAAK,EAAE,cAAc,CAAC,SAAS,IAClC,kBAAkB,CAAC,QAAQ,CACvB,CACH;QACN,oBAAC,KAAK,IAAC,KAAK,EAAE,kBAAkB,CAAC,qBAAqB;YACpD,oBAAC,IAAI,IAAC,KAAK,EAAE,cAAc,CAAC,OAAO,IAChC,kBAAkB,CAAC,sBAAsB,CACrC,CACD,CACJ,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComponentsScreen.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/tui/memory/components/ComponentsScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ComponentsScreen.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/tui/memory/components/ComponentsScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,wBAAgB,gBAAgB,IAAI,KAAK,CAAC,YAAY,CAarD"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { MemoryEntityScreen } from "../entity-browser/MemoryEntityScreen.js";
|
|
3
3
|
import { useComponentsList } from "../../state-reading/TuiStateReader.js";
|
|
4
|
+
const COMPONENTS_SCREEN_COPY = {
|
|
5
|
+
title: "Components",
|
|
6
|
+
subtitle: "Focused component memory list and selected component detail",
|
|
7
|
+
};
|
|
4
8
|
export function ComponentsScreen() {
|
|
5
9
|
const componentsList = useComponentsList();
|
|
6
|
-
return (React.createElement(MemoryEntityScreen, { entityType: "component", title:
|
|
10
|
+
return (React.createElement(MemoryEntityScreen, { entityType: "component", title: COMPONENTS_SCREEN_COPY.title, subtitle: COMPONENTS_SCREEN_COPY.subtitle, rows: (componentsList.data?.components ?? []).map(toComponentEntityRow), loading: componentsList.loading, error: componentsList.error }));
|
|
7
11
|
}
|
|
8
12
|
function toComponentEntityRow(component) {
|
|
9
13
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComponentsScreen.js","sourceRoot":"","sources":["../../../../../src/presentation/tui/memory/components/ComponentsScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAG1E,MAAM,UAAU,gBAAgB;IAC9B,MAAM,cAAc,GAAG,iBAAiB,EAAE,CAAC;IAE3C,OAAO,CACL,oBAAC,kBAAkB,IACjB,UAAU,EAAC,WAAW,EACtB,KAAK,
|
|
1
|
+
{"version":3,"file":"ComponentsScreen.js","sourceRoot":"","sources":["../../../../../src/presentation/tui/memory/components/ComponentsScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAG1E,MAAM,sBAAsB,GAAG;IAC7B,KAAK,EAAE,YAAY;IACnB,QAAQ,EAAE,6DAA6D;CAC/D,CAAC;AAEX,MAAM,UAAU,gBAAgB;IAC9B,MAAM,cAAc,GAAG,iBAAiB,EAAE,CAAC;IAE3C,OAAO,CACL,oBAAC,kBAAkB,IACjB,UAAU,EAAC,WAAW,EACtB,KAAK,EAAE,sBAAsB,CAAC,KAAK,EACnC,QAAQ,EAAE,sBAAsB,CAAC,QAAQ,EACzC,IAAI,EAAE,CAAC,cAAc,CAAC,IAAI,EAAE,UAAU,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,oBAAoB,CAAC,EACvE,OAAO,EAAE,cAAc,CAAC,OAAO,EAC/B,KAAK,EAAE,cAAc,CAAC,KAAK,GAC3B,CACH,CAAC;AACJ,CAAC;AAED,SAAS,oBAAoB,CAAC,SAAwB;IACpD,OAAO;QACL,EAAE,EAAE,SAAS,CAAC,WAAW;QACzB,IAAI,EAAE,SAAS,CAAC,IAAI;QACpB,IAAI,EAAE,SAAS,CAAC,IAAI;QACpB,WAAW,EAAE,SAAS,CAAC,WAAW;QAClC,cAAc,EAAE,SAAS,CAAC,cAAc;KACzC,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DecisionsScreen.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/tui/memory/decisions/DecisionsScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DecisionsScreen.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/tui/memory/decisions/DecisionsScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,wBAAgB,eAAe,IAAI,KAAK,CAAC,YAAY,CAapD"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { MemoryEntityScreen } from "../entity-browser/MemoryEntityScreen.js";
|
|
3
3
|
import { useDecisionsList } from "../../state-reading/TuiStateReader.js";
|
|
4
|
+
const DECISIONS_SCREEN_COPY = {
|
|
5
|
+
title: "Decisions",
|
|
6
|
+
subtitle: "Focused decision memory list and selected decision detail",
|
|
7
|
+
};
|
|
4
8
|
export function DecisionsScreen() {
|
|
5
9
|
const decisionsList = useDecisionsList();
|
|
6
|
-
return (React.createElement(MemoryEntityScreen, { entityType: "decision", title:
|
|
10
|
+
return (React.createElement(MemoryEntityScreen, { entityType: "decision", title: DECISIONS_SCREEN_COPY.title, subtitle: DECISIONS_SCREEN_COPY.subtitle, rows: (decisionsList.data?.decisions ?? []).map(toDecisionEntityRow), loading: decisionsList.loading, error: decisionsList.error }));
|
|
7
11
|
}
|
|
8
12
|
function toDecisionEntityRow(decision) {
|
|
9
13
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DecisionsScreen.js","sourceRoot":"","sources":["../../../../../src/presentation/tui/memory/decisions/DecisionsScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAC7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AAGzE,MAAM,UAAU,eAAe;IAC7B,MAAM,aAAa,GAAG,gBAAgB,EAAE,CAAC;IAEzC,OAAO,CACL,oBAAC,kBAAkB,IACjB,UAAU,EAAC,UAAU,EACrB,KAAK,
|
|
1
|
+
{"version":3,"file":"DecisionsScreen.js","sourceRoot":"","sources":["../../../../../src/presentation/tui/memory/decisions/DecisionsScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAC7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AAGzE,MAAM,qBAAqB,GAAG;IAC5B,KAAK,EAAE,WAAW;IAClB,QAAQ,EAAE,2DAA2D;CAC7D,CAAC;AAEX,MAAM,UAAU,eAAe;IAC7B,MAAM,aAAa,GAAG,gBAAgB,EAAE,CAAC;IAEzC,OAAO,CACL,oBAAC,kBAAkB,IACjB,UAAU,EAAC,UAAU,EACrB,KAAK,EAAE,qBAAqB,CAAC,KAAK,EAClC,QAAQ,EAAE,qBAAqB,CAAC,QAAQ,EACxC,IAAI,EAAE,CAAC,aAAa,CAAC,IAAI,EAAE,SAAS,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,mBAAmB,CAAC,EACpE,OAAO,EAAE,aAAa,CAAC,OAAO,EAC9B,KAAK,EAAE,aAAa,CAAC,KAAK,GAC1B,CACH,CAAC;AACJ,CAAC;AAED,SAAS,mBAAmB,CAAC,QAAsB;IACjD,OAAO;QACL,EAAE,EAAE,QAAQ,CAAC,UAAU;QACvB,KAAK,EAAE,QAAQ,CAAC,KAAK;QACrB,OAAO,EAAE,QAAQ,CAAC,OAAO;QACzB,SAAS,EAAE,QAAQ,CAAC,SAAS,IAAI,EAAE;QACnC,YAAY,EAAE,QAAQ,CAAC,YAAY;QACnC,YAAY,EAAE,QAAQ,CAAC,YAAY,IAAI,EAAE;KAC1C,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DependenciesScreen.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/tui/memory/dependencies/DependenciesScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DependenciesScreen.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/tui/memory/dependencies/DependenciesScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,wBAAgB,kBAAkB,IAAI,KAAK,CAAC,YAAY,CAavD"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { MemoryEntityScreen } from "../entity-browser/MemoryEntityScreen.js";
|
|
3
3
|
import { useDependenciesList } from "../../state-reading/TuiStateReader.js";
|
|
4
|
+
const DEPENDENCIES_SCREEN_COPY = {
|
|
5
|
+
title: "Dependencies",
|
|
6
|
+
subtitle: "Focused dependency memory list and selected dependency detail",
|
|
7
|
+
};
|
|
4
8
|
export function DependenciesScreen() {
|
|
5
9
|
const dependenciesList = useDependenciesList();
|
|
6
|
-
return (React.createElement(MemoryEntityScreen, { entityType: "dependency", title:
|
|
10
|
+
return (React.createElement(MemoryEntityScreen, { entityType: "dependency", title: DEPENDENCIES_SCREEN_COPY.title, subtitle: DEPENDENCIES_SCREEN_COPY.subtitle, rows: (dependenciesList.data?.dependencies ?? []).map(toDependencyEntityRow), loading: dependenciesList.loading, error: dependenciesList.error }));
|
|
7
11
|
}
|
|
8
12
|
function toDependencyEntityRow(dependency) {
|
|
9
13
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DependenciesScreen.js","sourceRoot":"","sources":["../../../../../src/presentation/tui/memory/dependencies/DependenciesScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAG5E,MAAM,UAAU,kBAAkB;IAChC,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAE/C,OAAO,CACL,oBAAC,kBAAkB,IACjB,UAAU,EAAC,YAAY,EACvB,KAAK,
|
|
1
|
+
{"version":3,"file":"DependenciesScreen.js","sourceRoot":"","sources":["../../../../../src/presentation/tui/memory/dependencies/DependenciesScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAG5E,MAAM,wBAAwB,GAAG;IAC/B,KAAK,EAAE,cAAc;IACrB,QAAQ,EAAE,+DAA+D;CACjE,CAAC;AAEX,MAAM,UAAU,kBAAkB;IAChC,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAE/C,OAAO,CACL,oBAAC,kBAAkB,IACjB,UAAU,EAAC,YAAY,EACvB,KAAK,EAAE,wBAAwB,CAAC,KAAK,EACrC,QAAQ,EAAE,wBAAwB,CAAC,QAAQ,EAC3C,IAAI,EAAE,CAAC,gBAAgB,CAAC,IAAI,EAAE,YAAY,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,qBAAqB,CAAC,EAC5E,OAAO,EAAE,gBAAgB,CAAC,OAAO,EACjC,KAAK,EAAE,gBAAgB,CAAC,KAAK,GAC7B,CACH,CAAC;AACJ,CAAC;AAED,SAAS,qBAAqB,CAAC,UAA0B;IACvD,OAAO;QACL,EAAE,EAAE,UAAU,CAAC,YAAY;QAC3B,IAAI,EAAE,UAAU,CAAC,IAAI;QACrB,SAAS,EAAE,UAAU,CAAC,SAAS;QAC/B,WAAW,EAAE,UAAU,CAAC,WAAW;QACnC,iBAAiB,EAAE,UAAU,CAAC,iBAAiB,IAAI,EAAE;QACrD,QAAQ,EAAE,UAAU,CAAC,QAAQ,IAAI,EAAE;QACnC,QAAQ,EAAE,UAAU,CAAC,QAAQ,IAAI,EAAE;KACpC,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EntityColumn.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/tui/memory/entity-browser/EntityColumn.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"EntityColumn.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/tui/memory/entity-browser/EntityColumn.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,UAAU,iBAAiB;IACzB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,OAAO,EAAE,SAAS;QAAE,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC7E,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,OAAO,EACP,UAAU,EACV,QAAQ,EACR,KAAK,GACN,EAAE,iBAAiB,GAAG,KAAK,CAAC,YAAY,CA0BxC"}
|
|
@@ -2,11 +2,14 @@ import React from "react";
|
|
|
2
2
|
import { Box, Text } from "ink";
|
|
3
3
|
import { SemanticColors, TuiGlyphs } from "../../../shared/DesignTokens.js";
|
|
4
4
|
import { Panel } from "../../ui-primitives/Panel.js";
|
|
5
|
+
const ENTITY_COLUMN_COPY = {
|
|
6
|
+
emptyState: "No entries",
|
|
7
|
+
};
|
|
5
8
|
export function EntityColumn({ title, entries, selectedId, isActive, width, }) {
|
|
6
9
|
const titleColor = isActive
|
|
7
10
|
? SemanticColors.accent
|
|
8
11
|
: SemanticColors.headline;
|
|
9
|
-
return (React.createElement(Panel, { title: title, titleColor: titleColor, width: width }, entries.length === 0 ? (React.createElement(Text, { color: SemanticColors.muted },
|
|
12
|
+
return (React.createElement(Panel, { title: title, titleColor: titleColor, width: width }, entries.length === 0 ? (React.createElement(Text, { color: SemanticColors.muted }, ENTITY_COLUMN_COPY.emptyState)) : (entries.map((entry) => {
|
|
10
13
|
const isSelected = isActive && entry.id === selectedId;
|
|
11
14
|
const rowColor = isSelected
|
|
12
15
|
? SemanticColors.accent
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EntityColumn.js","sourceRoot":"","sources":["../../../../../src/presentation/tui/memory/entity-browser/EntityColumn.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"EntityColumn.js","sourceRoot":"","sources":["../../../../../src/presentation/tui/memory/entity-browser/EntityColumn.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAErD,MAAM,kBAAkB,GAAG;IACzB,UAAU,EAAE,YAAY;CAChB,CAAC;AAUX,MAAM,UAAU,YAAY,CAAC,EAC3B,KAAK,EACL,OAAO,EACP,UAAU,EACV,QAAQ,EACR,KAAK,GACa;IAClB,MAAM,UAAU,GAAG,QAAQ;QACzB,CAAC,CAAC,cAAc,CAAC,MAAM;QACvB,CAAC,CAAC,cAAc,CAAC,QAAQ,CAAC;IAC5B,OAAO,CACL,oBAAC,KAAK,IAAC,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,IACtD,OAAO,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,CACtB,oBAAC,IAAI,IAAC,KAAK,EAAE,cAAc,CAAC,KAAK,IAAG,kBAAkB,CAAC,UAAU,CAAQ,CAC1E,CAAC,CAAC,CAAC,CACF,OAAO,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;QACpB,MAAM,UAAU,GAAG,QAAQ,IAAI,KAAK,CAAC,EAAE,KAAK,UAAU,CAAC;QACvD,MAAM,QAAQ,GAAG,UAAU;YACzB,CAAC,CAAC,cAAc,CAAC,MAAM;YACvB,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC;QAC3B,OAAO,CACL,oBAAC,GAAG,IAAC,GAAG,EAAE,KAAK,CAAC,EAAE;YAChB,oBAAC,IAAI,IAAC,KAAK,EAAE,QAAQ,IAClB,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CACjC;YACP,oBAAC,IAAI,IAAC,KAAK,EAAE,QAAQ;;gBAAI,KAAK,CAAC,KAAK,CAAQ,CACxC,CACP,CAAC;IACJ,CAAC,CAAC,CACH,CACK,CACT,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EntityDetailView.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/tui/memory/entity-browser/EntityDetailView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EACV,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"EntityDetailView.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/tui/memory/entity-browser/EntityDetailView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EACV,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,yBAAyB,CAAC;AAgCjC,UAAU,qBAAqB;IAC7B,QAAQ,CAAC,UAAU,EAAE,gBAAgB,CAAC;IACtC,QAAQ,CAAC,MAAM,EACX,iBAAiB,GACjB,kBAAkB,GAClB,kBAAkB,GAClB,mBAAmB,GACnB,kBAAkB,CAAC;IACvB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CACzB;AAOD,wBAAgB,gBAAgB,CAAC,EAC/B,UAAU,EACV,MAAM,EACN,KAAK,GACN,EAAE,qBAAqB,GAAG,KAAK,CAAC,YAAY,CAY5C"}
|