jumbo-cli 3.6.0 → 3.7.1
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/dist/application/context/architecture/get/GetArchitectureRequest.d.ts +1 -2
- package/dist/application/context/architecture/get/GetArchitectureRequest.d.ts.map +1 -1
- package/dist/application/context/audience-pains/list/GetAudiencePainsRequest.d.ts +1 -2
- package/dist/application/context/audience-pains/list/GetAudiencePainsRequest.d.ts.map +1 -1
- package/dist/application/context/audiences/list/ListAudiencesRequest.d.ts +1 -2
- package/dist/application/context/audiences/list/ListAudiencesRequest.d.ts.map +1 -1
- package/dist/application/context/host/workers/view/ViewWorkerRequest.d.ts +1 -2
- package/dist/application/context/host/workers/view/ViewWorkerRequest.d.ts.map +1 -1
- package/dist/application/context/invariants/get/GetAllInvariantsRequest.d.ts +1 -2
- package/dist/application/context/invariants/get/GetAllInvariantsRequest.d.ts.map +1 -1
- package/dist/application/context/project/stats/GetProjectStatsQueryHandler.d.ts +9 -0
- package/dist/application/context/project/stats/GetProjectStatsQueryHandler.d.ts.map +1 -0
- package/dist/application/context/project/stats/GetProjectStatsQueryHandler.js +9 -0
- package/dist/application/context/project/stats/GetProjectStatsQueryHandler.js.map +1 -0
- package/dist/application/context/project/stats/IProjectStatsGateway.d.ts +6 -0
- package/dist/application/context/project/stats/IProjectStatsGateway.d.ts.map +1 -0
- package/dist/application/context/project/stats/IProjectStatsGateway.js +2 -0
- package/dist/application/context/project/stats/IProjectStatsGateway.js.map +1 -0
- package/dist/application/context/project/stats/IProjectStatsQuery.d.ts +5 -0
- package/dist/application/context/project/stats/IProjectStatsQuery.d.ts.map +1 -0
- package/dist/application/context/project/stats/IProjectStatsQuery.js +2 -0
- package/dist/application/context/project/stats/IProjectStatsQuery.js.map +1 -0
- package/dist/application/context/project/stats/LocalProjectStatsGateway.d.ts +10 -0
- package/dist/application/context/project/stats/LocalProjectStatsGateway.d.ts.map +1 -0
- package/dist/application/context/project/stats/LocalProjectStatsGateway.js +11 -0
- package/dist/application/context/project/stats/LocalProjectStatsGateway.js.map +1 -0
- package/dist/application/context/project/stats/ProjectStatsController.d.ts +9 -0
- package/dist/application/context/project/stats/ProjectStatsController.d.ts.map +1 -0
- package/dist/application/context/project/stats/ProjectStatsController.js +9 -0
- package/dist/application/context/project/stats/ProjectStatsController.js.map +1 -0
- package/dist/application/context/project/stats/ProjectStatsRequest.d.ts +4 -0
- package/dist/application/context/project/stats/ProjectStatsRequest.d.ts.map +1 -0
- package/dist/application/context/project/stats/ProjectStatsRequest.js +2 -0
- package/dist/application/context/project/stats/ProjectStatsRequest.js.map +1 -0
- package/dist/application/context/project/stats/ProjectStatsResponse.d.ts +5 -0
- package/dist/application/context/project/stats/ProjectStatsResponse.d.ts.map +1 -0
- package/dist/application/context/project/stats/ProjectStatsResponse.js +2 -0
- package/dist/application/context/project/stats/ProjectStatsResponse.js.map +1 -0
- package/dist/application/context/project/stats/ProjectStatsSnapshotView.d.ts +79 -0
- package/dist/application/context/project/stats/ProjectStatsSnapshotView.d.ts.map +1 -0
- package/dist/application/context/project/stats/ProjectStatsSnapshotView.js +2 -0
- package/dist/application/context/project/stats/ProjectStatsSnapshotView.js.map +1 -0
- package/dist/application/context/search/SearchIndexRebuildRequest.d.ts +1 -2
- package/dist/application/context/search/SearchIndexRebuildRequest.d.ts.map +1 -1
- package/dist/application/context/sessions/start/SessionStartRequest.d.ts +1 -2
- package/dist/application/context/sessions/start/SessionStartRequest.d.ts.map +1 -1
- package/dist/application/context/sessions/start/StartSessionCommand.d.ts +1 -2
- package/dist/application/context/sessions/start/StartSessionCommand.d.ts.map +1 -1
- package/dist/application/context/telemetry/get/GetTelemetryStatusRequest.d.ts +1 -2
- package/dist/application/context/telemetry/get/GetTelemetryStatusRequest.d.ts.map +1 -1
- package/dist/application/context/value-propositions/get/GetValuePropositionsRequest.d.ts +1 -2
- package/dist/application/context/value-propositions/get/GetValuePropositionsRequest.d.ts.map +1 -1
- package/dist/application/context/work/pause/PauseWorkCommand.d.ts +1 -2
- package/dist/application/context/work/pause/PauseWorkCommand.d.ts.map +1 -1
- package/dist/application/context/work/pause/PauseWorkRequest.d.ts +1 -2
- package/dist/application/context/work/pause/PauseWorkRequest.d.ts.map +1 -1
- package/dist/application/context/work/resume/ResumeWorkRequest.d.ts +1 -2
- package/dist/application/context/work/resume/ResumeWorkRequest.d.ts.map +1 -1
- package/dist/application/host/IApplicationContainer.d.ts +2 -0
- package/dist/application/host/IApplicationContainer.d.ts.map +1 -1
- package/dist/domain/project/AgentFileAssetContent.d.ts.map +1 -1
- package/dist/domain/project/AgentFileAssetContent.js +2 -1
- package/dist/domain/project/AgentFileAssetContent.js.map +1 -1
- package/dist/infrastructure/context/project/stats/SqliteProjectStatsQuery.d.ts +12 -0
- package/dist/infrastructure/context/project/stats/SqliteProjectStatsQuery.d.ts.map +1 -0
- package/dist/infrastructure/context/project/stats/SqliteProjectStatsQuery.js +79 -0
- package/dist/infrastructure/context/project/stats/SqliteProjectStatsQuery.js.map +1 -0
- package/dist/infrastructure/host/HostBuilder.d.ts.map +1 -1
- package/dist/infrastructure/host/HostBuilder.js +9 -0
- package/dist/infrastructure/host/HostBuilder.js.map +1 -1
- package/dist/infrastructure/messaging/ProjectionBusFactory.d.ts +0 -4
- package/dist/infrastructure/messaging/ProjectionBusFactory.d.ts.map +1 -1
- package/dist/infrastructure/messaging/ProjectionBusFactory.js +89 -68
- package/dist/infrastructure/messaging/ProjectionBusFactory.js.map +1 -1
- package/dist/presentation/cli/AppRunner.d.ts +1 -1
- package/dist/presentation/cli/AppRunner.d.ts.map +1 -1
- package/dist/presentation/cli/AppRunner.js +3 -1
- package/dist/presentation/cli/AppRunner.js.map +1 -1
- package/dist/presentation/cli/commands/index/rebuild/index.rebuild.d.ts +1 -2
- package/dist/presentation/cli/commands/index/rebuild/index.rebuild.d.ts.map +1 -1
- package/dist/presentation/cli/commands/project/stats/ProjectStatsOutputBuilder.d.ts +10 -0
- package/dist/presentation/cli/commands/project/stats/ProjectStatsOutputBuilder.d.ts.map +1 -0
- package/dist/presentation/cli/commands/project/stats/ProjectStatsOutputBuilder.js +55 -0
- package/dist/presentation/cli/commands/project/stats/ProjectStatsOutputBuilder.js.map +1 -0
- package/dist/presentation/cli/commands/project/stats/project.stats.d.ts +5 -0
- package/dist/presentation/cli/commands/project/stats/project.stats.d.ts.map +1 -0
- package/dist/presentation/cli/commands/project/stats/project.stats.js +44 -0
- package/dist/presentation/cli/commands/project/stats/project.stats.js.map +1 -0
- package/dist/presentation/cli/commands/registry/generated-commands.d.ts.map +1 -1
- package/dist/presentation/cli/commands/registry/generated-commands.js +6 -0
- package/dist/presentation/cli/commands/registry/generated-commands.js.map +1 -1
- package/dist/presentation/cli/rendering/StyleConfig.d.ts.map +1 -1
- package/dist/presentation/cli/rendering/StyleConfig.js +1 -0
- package/dist/presentation/cli/rendering/StyleConfig.js.map +1 -1
- package/dist/presentation/shared/DesignTokens.d.ts +9 -5
- package/dist/presentation/shared/DesignTokens.d.ts.map +1 -1
- package/dist/presentation/shared/DesignTokens.js +7 -3
- package/dist/presentation/shared/DesignTokens.js.map +1 -1
- package/dist/presentation/tui/application-shell/TuiApp.d.ts +2 -1
- package/dist/presentation/tui/application-shell/TuiApp.d.ts.map +1 -1
- package/dist/presentation/tui/application-shell/TuiApp.js +2 -1
- package/dist/presentation/tui/application-shell/TuiApp.js.map +1 -1
- package/dist/presentation/tui/application-shell/TuiApplicationLauncher.d.ts +1 -1
- package/dist/presentation/tui/application-shell/TuiApplicationLauncher.d.ts.map +1 -1
- package/dist/presentation/tui/application-shell/TuiApplicationLauncher.js +1 -0
- package/dist/presentation/tui/application-shell/TuiApplicationLauncher.js.map +1 -1
- package/dist/presentation/tui/cockpit/AnimatedBanner.d.ts +0 -1
- package/dist/presentation/tui/cockpit/AnimatedBanner.d.ts.map +1 -1
- package/dist/presentation/tui/cockpit/AnimatedBanner.js +24 -121
- package/dist/presentation/tui/cockpit/AnimatedBanner.js.map +1 -1
- package/dist/presentation/tui/cockpit/AnimatedBannerColorGradient.d.ts +2 -0
- package/dist/presentation/tui/cockpit/AnimatedBannerColorGradient.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/AnimatedBannerColorGradient.js +31 -0
- package/dist/presentation/tui/cockpit/AnimatedBannerColorGradient.js.map +1 -0
- package/dist/presentation/tui/cockpit/AnimatedBannerLineColorSegments.d.ts +7 -0
- package/dist/presentation/tui/cockpit/AnimatedBannerLineColorSegments.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/AnimatedBannerLineColorSegments.js +69 -0
- package/dist/presentation/tui/cockpit/AnimatedBannerLineColorSegments.js.map +1 -0
- package/dist/presentation/tui/cockpit/AnimatedBannerTiming.d.ts +9 -0
- package/dist/presentation/tui/cockpit/AnimatedBannerTiming.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/AnimatedBannerTiming.js +11 -0
- package/dist/presentation/tui/cockpit/AnimatedBannerTiming.js.map +1 -0
- package/dist/presentation/tui/cockpit/CenteredPrompt.d.ts +1 -2
- package/dist/presentation/tui/cockpit/CenteredPrompt.d.ts.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitDaemonAgentConfigCycler.d.ts +3 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonAgentConfigCycler.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonAgentConfigCycler.js +9 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonAgentConfigCycler.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonConfigsUpdater.d.ts +3 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonConfigsUpdater.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonConfigsUpdater.js +7 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonConfigsUpdater.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonEventSnapshot.d.ts +5 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonEventSnapshot.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonEventSnapshot.js +2 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonEventSnapshot.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonEvents.d.ts +6 -13
- package/dist/presentation/tui/cockpit/CockpitDaemonEvents.d.ts.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitDaemonEvents.js +9 -153
- package/dist/presentation/tui/cockpit/CockpitDaemonEvents.js.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitDaemonFocusOrder.d.ts +3 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonFocusOrder.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonFocusOrder.js +8 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonFocusOrder.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonFrames.d.ts +30 -36
- package/dist/presentation/tui/cockpit/CockpitDaemonFrames.d.ts.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitDaemonFrames.js +37 -174
- package/dist/presentation/tui/cockpit/CockpitDaemonFrames.js.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitDaemonPanel.d.ts +0 -3
- package/dist/presentation/tui/cockpit/CockpitDaemonPanel.d.ts.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitDaemonPanel.js +3 -42
- package/dist/presentation/tui/cockpit/CockpitDaemonPanel.js.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitDaemonPollConfigCycler.d.ts +3 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonPollConfigCycler.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonPollConfigCycler.js +9 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonPollConfigCycler.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonRetryConfigCycler.d.ts +3 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonRetryConfigCycler.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonRetryConfigCycler.js +9 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonRetryConfigCycler.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonSnapshot.d.ts +1 -4
- package/dist/presentation/tui/cockpit/CockpitDaemonSnapshot.d.ts.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitLaunchAnimationSize.d.ts +6 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchAnimationSize.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchAnimationSize.js +7 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchAnimationSize.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchpadDaemonDefinitions.d.ts +45 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchpadDaemonDefinitions.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchpadDaemonDefinitions.js +25 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchpadDaemonDefinitions.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchpadDaemonPanels.d.ts +17 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchpadDaemonPanels.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchpadDaemonPanels.js +18 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchpadDaemonPanels.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchpadEventLog.d.ts +8 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchpadEventLog.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchpadEventLog.js +11 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchpadEventLog.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchpadView.d.ts +3 -3
- package/dist/presentation/tui/cockpit/CockpitLaunchpadView.d.ts.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitLaunchpadView.js +35 -144
- 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 +12 -9
- package/dist/presentation/tui/cockpit/CockpitLaunchpadWelcome.js.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitLaunchpadWelcomeCopy.d.ts +1 -1
- package/dist/presentation/tui/cockpit/CockpitLaunchpadWelcomeCopy.js +1 -1
- package/dist/presentation/tui/cockpit/CockpitLaunchpadWelcomeCopy.js.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitProjectStatsPanel.d.ts +3 -0
- package/dist/presentation/tui/cockpit/CockpitProjectStatsPanel.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitProjectStatsPanel.js +60 -0
- package/dist/presentation/tui/cockpit/CockpitProjectStatsPanel.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitScreen.d.ts +1 -2
- package/dist/presentation/tui/cockpit/CockpitScreen.d.ts.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitScreen.js +8 -38
- package/dist/presentation/tui/cockpit/CockpitScreen.js.map +1 -1
- package/dist/presentation/tui/cockpit/CockpitScreenBanner.d.ts +12 -0
- package/dist/presentation/tui/cockpit/CockpitScreenBanner.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitScreenBanner.js +14 -0
- package/dist/presentation/tui/cockpit/CockpitScreenBanner.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitScreenContent.d.ts +17 -0
- package/dist/presentation/tui/cockpit/CockpitScreenContent.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitScreenContent.js +18 -0
- package/dist/presentation/tui/cockpit/CockpitScreenContent.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitScreenInfoBoxLines.d.ts +3 -0
- package/dist/presentation/tui/cockpit/CockpitScreenInfoBoxLines.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitScreenInfoBoxLines.js +31 -0
- package/dist/presentation/tui/cockpit/CockpitScreenInfoBoxLines.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitState.d.ts +4 -0
- package/dist/presentation/tui/cockpit/CockpitState.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitState.js +3 -0
- package/dist/presentation/tui/cockpit/CockpitState.js.map +1 -0
- package/dist/presentation/tui/cockpit/CodifierFrameFactory.d.ts +9 -0
- package/dist/presentation/tui/cockpit/CodifierFrameFactory.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CodifierFrameFactory.js +45 -0
- package/dist/presentation/tui/cockpit/CodifierFrameFactory.js.map +1 -0
- package/dist/presentation/tui/cockpit/CodifierGlyphDaemonFrame.d.ts +11 -0
- package/dist/presentation/tui/cockpit/CodifierGlyphDaemonFrame.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CodifierGlyphDaemonFrame.js +11 -0
- package/dist/presentation/tui/cockpit/CodifierGlyphDaemonFrame.js.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonActionLine.d.ts +8 -0
- package/dist/presentation/tui/cockpit/DaemonActionLine.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonActionLine.js +21 -0
- package/dist/presentation/tui/cockpit/DaemonActionLine.js.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonConfigWizard.d.ts +8 -0
- package/dist/presentation/tui/cockpit/DaemonConfigWizard.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonConfigWizard.js +24 -0
- package/dist/presentation/tui/cockpit/DaemonConfigWizard.js.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonEventRow.d.ts +9 -0
- package/dist/presentation/tui/cockpit/DaemonEventRow.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonEventRow.js +2 -0
- package/dist/presentation/tui/cockpit/DaemonEventRow.js.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonEventRowFormatter.d.ts +7 -0
- package/dist/presentation/tui/cockpit/DaemonEventRowFormatter.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonEventRowFormatter.js +17 -0
- package/dist/presentation/tui/cockpit/DaemonEventRowFormatter.js.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonEventRowMessageFormatter.d.ts +7 -0
- package/dist/presentation/tui/cockpit/DaemonEventRowMessageFormatter.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonEventRowMessageFormatter.js +35 -0
- package/dist/presentation/tui/cockpit/DaemonEventRowMessageFormatter.js.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonEventRowNormalizer.d.ts +8 -0
- package/dist/presentation/tui/cockpit/DaemonEventRowNormalizer.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonEventRowNormalizer.js +95 -0
- package/dist/presentation/tui/cockpit/DaemonEventRowNormalizer.js.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonEventRows.d.ts +10 -0
- package/dist/presentation/tui/cockpit/DaemonEventRows.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonEventRows.js +22 -0
- package/dist/presentation/tui/cockpit/DaemonEventRows.js.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonFrameDimensions.d.ts +13 -0
- package/dist/presentation/tui/cockpit/DaemonFrameDimensions.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonFrameDimensions.js +13 -0
- package/dist/presentation/tui/cockpit/DaemonFrameDimensions.js.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonFrameGlyphTypes.d.ts +11 -0
- package/dist/presentation/tui/cockpit/DaemonFrameGlyphTypes.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonFrameGlyphTypes.js +2 -0
- package/dist/presentation/tui/cockpit/DaemonFrameGlyphTypes.js.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonFrameStatusColor.d.ts +2 -0
- package/dist/presentation/tui/cockpit/DaemonFrameStatusColor.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonFrameStatusColor.js +3 -0
- package/dist/presentation/tui/cockpit/DaemonFrameStatusColor.js.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonFrameStatusOverlay.d.ts +15 -0
- package/dist/presentation/tui/cockpit/DaemonFrameStatusOverlay.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonFrameStatusOverlay.js +42 -0
- package/dist/presentation/tui/cockpit/DaemonFrameStatusOverlay.js.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonInfoOverlay.d.ts +6 -0
- package/dist/presentation/tui/cockpit/DaemonInfoOverlay.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonInfoOverlay.js +12 -0
- package/dist/presentation/tui/cockpit/DaemonInfoOverlay.js.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonShortcutBadgeColor.d.ts +2 -0
- package/dist/presentation/tui/cockpit/DaemonShortcutBadgeColor.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonShortcutBadgeColor.js +5 -0
- package/dist/presentation/tui/cockpit/DaemonShortcutBadgeColor.js.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonStatusFinder.d.ts +7 -0
- package/dist/presentation/tui/cockpit/DaemonStatusFinder.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/DaemonStatusFinder.js +16 -0
- package/dist/presentation/tui/cockpit/DaemonStatusFinder.js.map +1 -0
- package/dist/presentation/tui/cockpit/GlyphCellDaemonFrame.d.ts +10 -0
- package/dist/presentation/tui/cockpit/GlyphCellDaemonFrame.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/GlyphCellDaemonFrame.js +11 -0
- package/dist/presentation/tui/cockpit/GlyphCellDaemonFrame.js.map +1 -0
- package/dist/presentation/tui/cockpit/GlyphCellSegments.d.ts +7 -0
- package/dist/presentation/tui/cockpit/GlyphCellSegments.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/GlyphCellSegments.js +21 -0
- package/dist/presentation/tui/cockpit/GlyphCellSegments.js.map +1 -0
- package/dist/presentation/tui/cockpit/RandomGlyphFrameFactory.d.ts +11 -0
- package/dist/presentation/tui/cockpit/RandomGlyphFrameFactory.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/RandomGlyphFrameFactory.js +67 -0
- package/dist/presentation/tui/cockpit/RandomGlyphFrameFactory.js.map +1 -0
- package/dist/presentation/tui/cockpit/RenderedDaemonFrame.d.ts +9 -0
- package/dist/presentation/tui/cockpit/RenderedDaemonFrame.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/RenderedDaemonFrame.js +13 -0
- package/dist/presentation/tui/cockpit/RenderedDaemonFrame.js.map +1 -0
- package/dist/presentation/tui/cockpit/StyledGlyphSegments.d.ts +6 -0
- package/dist/presentation/tui/cockpit/StyledGlyphSegments.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/StyledGlyphSegments.js +41 -0
- package/dist/presentation/tui/cockpit/StyledGlyphSegments.js.map +1 -0
- package/dist/presentation/tui/cockpit/daemons/CodifierDaemonFrame.js +2 -2
- package/dist/presentation/tui/cockpit/daemons/CodifierDaemonFrame.js.map +1 -1
- package/dist/presentation/tui/cockpit/daemons/IDaemonFrame.d.ts +4 -4
- package/dist/presentation/tui/cockpit/daemons/IDaemonFrame.d.ts.map +1 -1
- package/dist/presentation/tui/cockpit/daemons/RefinerDaemonFrame.js +1 -1
- package/dist/presentation/tui/cockpit/daemons/RefinerDaemonFrame.js.map +1 -1
- package/dist/presentation/tui/cockpit/daemons/ReviewerDaemonFrame.js +1 -1
- package/dist/presentation/tui/cockpit/daemons/ReviewerDaemonFrame.js.map +1 -1
- package/dist/presentation/tui/cockpit/toggleCockpitDaemon.d.ts +4 -0
- package/dist/presentation/tui/cockpit/toggleCockpitDaemon.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/toggleCockpitDaemon.js +15 -0
- package/dist/presentation/tui/cockpit/toggleCockpitDaemon.js.map +1 -0
- package/dist/presentation/tui/cockpit/useCockpitLaunchpadWelcomeVisibility.d.ts +6 -0
- package/dist/presentation/tui/cockpit/useCockpitLaunchpadWelcomeVisibility.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/useCockpitLaunchpadWelcomeVisibility.js +50 -0
- package/dist/presentation/tui/cockpit/useCockpitLaunchpadWelcomeVisibility.js.map +1 -0
- package/dist/presentation/tui/cockpit/useDaemonAnimationFrames.d.ts +14 -0
- package/dist/presentation/tui/cockpit/useDaemonAnimationFrames.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/useDaemonAnimationFrames.js +29 -0
- package/dist/presentation/tui/cockpit/useDaemonAnimationFrames.js.map +1 -0
- package/dist/presentation/tui/cockpit/useDaemonStatusPolling.d.ts +10 -0
- package/dist/presentation/tui/cockpit/useDaemonStatusPolling.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/useDaemonStatusPolling.js +21 -0
- package/dist/presentation/tui/cockpit/useDaemonStatusPolling.js.map +1 -0
- package/dist/presentation/tui/goals/GoalsScreen.js +1 -1
- package/dist/presentation/tui/goals/GoalsScreen.js.map +1 -1
- package/dist/presentation/tui/index.d.ts +13 -2
- package/dist/presentation/tui/index.d.ts.map +1 -1
- package/dist/presentation/tui/index.js +10 -1
- package/dist/presentation/tui/index.js.map +1 -1
- package/dist/presentation/tui/memory/components/ComponentsScreen.js +1 -1
- package/dist/presentation/tui/memory/components/ComponentsScreen.js.map +1 -1
- package/dist/presentation/tui/memory/decisions/DecisionsScreen.js +1 -1
- package/dist/presentation/tui/memory/decisions/DecisionsScreen.js.map +1 -1
- package/dist/presentation/tui/memory/dependencies/DependenciesScreen.js +1 -1
- package/dist/presentation/tui/memory/dependencies/DependenciesScreen.js.map +1 -1
- package/dist/presentation/tui/memory/guidelines/GuidelinesScreen.js +1 -1
- package/dist/presentation/tui/memory/guidelines/GuidelinesScreen.js.map +1 -1
- package/dist/presentation/tui/memory/invariants/InvariantsScreen.js +1 -1
- package/dist/presentation/tui/memory/invariants/InvariantsScreen.js.map +1 -1
- package/dist/presentation/tui/sessions/SessionScreen.js +1 -1
- package/dist/presentation/tui/sessions/SessionScreen.js.map +1 -1
- package/dist/presentation/tui/state-reading/TuiStateReader.d.ts +2 -49
- package/dist/presentation/tui/state-reading/TuiStateReader.d.ts.map +1 -1
- package/dist/presentation/tui/state-reading/TuiStateReader.js +3 -143
- package/dist/presentation/tui/state-reading/TuiStateReader.js.map +1 -1
- package/dist/presentation/tui/state-reading/TuiStateReaderContext.d.ts +8 -0
- package/dist/presentation/tui/state-reading/TuiStateReaderContext.d.ts.map +1 -0
- package/dist/presentation/tui/state-reading/TuiStateReaderContext.js +3 -0
- package/dist/presentation/tui/state-reading/TuiStateReaderContext.js.map +1 -0
- package/dist/presentation/tui/state-reading/TuiStateReaderControllers.d.ts +21 -0
- package/dist/presentation/tui/state-reading/TuiStateReaderControllers.d.ts.map +1 -0
- package/dist/presentation/tui/state-reading/TuiStateReaderControllers.js +2 -0
- package/dist/presentation/tui/state-reading/TuiStateReaderControllers.js.map +1 -0
- package/dist/presentation/tui/state-reading/TuiStateReaderDefaults.d.ts +2 -0
- package/dist/presentation/tui/state-reading/TuiStateReaderDefaults.d.ts.map +1 -0
- package/dist/presentation/tui/state-reading/TuiStateReaderDefaults.js +2 -0
- package/dist/presentation/tui/state-reading/TuiStateReaderDefaults.js.map +1 -0
- package/dist/presentation/tui/state-reading/TuiStateReaderOptions.d.ts +4 -0
- package/dist/presentation/tui/state-reading/TuiStateReaderOptions.d.ts.map +1 -0
- package/dist/presentation/tui/state-reading/TuiStateReaderOptions.js +2 -0
- package/dist/presentation/tui/state-reading/TuiStateReaderOptions.js.map +1 -0
- package/dist/presentation/tui/state-reading/TuiStateSnapshot.d.ts +7 -0
- package/dist/presentation/tui/state-reading/TuiStateSnapshot.d.ts.map +1 -0
- package/dist/presentation/tui/state-reading/TuiStateSnapshot.js +2 -0
- package/dist/presentation/tui/state-reading/TuiStateSnapshot.js.map +1 -0
- package/dist/presentation/tui/state-reading/useComponentsList.d.ts +5 -0
- package/dist/presentation/tui/state-reading/useComponentsList.d.ts.map +1 -0
- package/dist/presentation/tui/state-reading/useComponentsList.js +18 -0
- package/dist/presentation/tui/state-reading/useComponentsList.js.map +1 -0
- package/dist/presentation/tui/state-reading/useDecisionsList.d.ts +5 -0
- package/dist/presentation/tui/state-reading/useDecisionsList.d.ts.map +1 -0
- package/dist/presentation/tui/state-reading/useDecisionsList.js +18 -0
- package/dist/presentation/tui/state-reading/useDecisionsList.js.map +1 -0
- package/dist/presentation/tui/state-reading/useDependenciesList.d.ts +5 -0
- package/dist/presentation/tui/state-reading/useDependenciesList.d.ts.map +1 -0
- package/dist/presentation/tui/state-reading/useDependenciesList.js +17 -0
- package/dist/presentation/tui/state-reading/useDependenciesList.js.map +1 -0
- package/dist/presentation/tui/state-reading/useGoalsList.d.ts +5 -0
- package/dist/presentation/tui/state-reading/useGoalsList.d.ts.map +1 -0
- package/dist/presentation/tui/state-reading/useGoalsList.js +18 -0
- package/dist/presentation/tui/state-reading/useGoalsList.js.map +1 -0
- package/dist/presentation/tui/state-reading/useGuidelinesList.d.ts +4 -0
- package/dist/presentation/tui/state-reading/useGuidelinesList.d.ts.map +1 -0
- package/dist/presentation/tui/state-reading/useGuidelinesList.js +17 -0
- package/dist/presentation/tui/state-reading/useGuidelinesList.js.map +1 -0
- package/dist/presentation/tui/state-reading/useInvariantsList.d.ts +4 -0
- package/dist/presentation/tui/state-reading/useInvariantsList.d.ts.map +1 -0
- package/dist/presentation/tui/state-reading/useInvariantsList.js +17 -0
- package/dist/presentation/tui/state-reading/useInvariantsList.js.map +1 -0
- package/dist/presentation/tui/state-reading/useProjectContext.d.ts +4 -0
- package/dist/presentation/tui/state-reading/useProjectContext.d.ts.map +1 -0
- package/dist/presentation/tui/state-reading/useProjectContext.js +17 -0
- package/dist/presentation/tui/state-reading/useProjectContext.js.map +1 -0
- package/dist/presentation/tui/state-reading/useProjectStats.d.ts +4 -0
- package/dist/presentation/tui/state-reading/useProjectStats.d.ts.map +1 -0
- package/dist/presentation/tui/state-reading/useProjectStats.js +17 -0
- package/dist/presentation/tui/state-reading/useProjectStats.js.map +1 -0
- package/dist/presentation/tui/state-reading/useSessionsList.d.ts +5 -0
- package/dist/presentation/tui/state-reading/useSessionsList.d.ts.map +1 -0
- package/dist/presentation/tui/state-reading/useSessionsList.js +17 -0
- package/dist/presentation/tui/state-reading/useSessionsList.js.map +1 -0
- package/dist/presentation/tui/state-reading/useTickingReadModel.d.ts +3 -0
- package/dist/presentation/tui/state-reading/useTickingReadModel.d.ts.map +1 -0
- package/dist/presentation/tui/state-reading/useTickingReadModel.js +43 -0
- package/dist/presentation/tui/state-reading/useTickingReadModel.js.map +1 -0
- package/dist/presentation/tui/ui-primitives/HorizontalRule.d.ts +10 -0
- package/dist/presentation/tui/ui-primitives/HorizontalRule.d.ts.map +1 -0
- package/dist/presentation/tui/ui-primitives/HorizontalRule.js +25 -0
- package/dist/presentation/tui/ui-primitives/HorizontalRule.js.map +1 -0
- package/package.json +1 -1
- package/dist/presentation/tui/cockpit/CockpitDaemonConfiguration.d.ts +0 -7
- package/dist/presentation/tui/cockpit/CockpitDaemonConfiguration.d.ts.map +0 -1
- package/dist/presentation/tui/cockpit/CockpitDaemonConfiguration.js +0 -32
- package/dist/presentation/tui/cockpit/CockpitDaemonConfiguration.js.map +0 -1
- package/dist/presentation/tui/cockpit/DaemonFrameViews.d.ts +0 -17
- package/dist/presentation/tui/cockpit/DaemonFrameViews.d.ts.map +0 -1
- package/dist/presentation/tui/cockpit/DaemonFrameViews.js +0 -20
- package/dist/presentation/tui/cockpit/DaemonFrameViews.js.map +0 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const ANIMATED_BANNER_COLOR_GRADIENT_ANCHORS = [
|
|
2
|
+
[102, 180, 244],
|
|
3
|
+
[170, 0, 212],
|
|
4
|
+
[255, 42, 42],
|
|
5
|
+
[255, 131, 7],
|
|
6
|
+
[255, 204, 0],
|
|
7
|
+
[68, 170, 0],
|
|
8
|
+
];
|
|
9
|
+
function interpolateAnimatedBannerRgbColor(startColor, endColor, progress) {
|
|
10
|
+
return [
|
|
11
|
+
Math.round(startColor[0] + (endColor[0] - startColor[0]) * progress),
|
|
12
|
+
Math.round(startColor[1] + (endColor[1] - startColor[1]) * progress),
|
|
13
|
+
Math.round(startColor[2] + (endColor[2] - startColor[2]) * progress),
|
|
14
|
+
];
|
|
15
|
+
}
|
|
16
|
+
function formatAnimatedBannerRgbColorAsHex(red, green, blue) {
|
|
17
|
+
return ("#" +
|
|
18
|
+
red.toString(16).padStart(2, "0") +
|
|
19
|
+
green.toString(16).padStart(2, "0") +
|
|
20
|
+
blue.toString(16).padStart(2, "0"));
|
|
21
|
+
}
|
|
22
|
+
export function getAnimatedBannerColorGradientHex(progress) {
|
|
23
|
+
const clampedProgress = Math.max(0, Math.min(1, progress));
|
|
24
|
+
const segmentCount = ANIMATED_BANNER_COLOR_GRADIENT_ANCHORS.length - 1;
|
|
25
|
+
const segmentLength = 1 / segmentCount;
|
|
26
|
+
const segmentIndex = Math.min(Math.floor(clampedProgress / segmentLength), segmentCount - 1);
|
|
27
|
+
const segmentProgress = (clampedProgress - segmentIndex * segmentLength) / segmentLength;
|
|
28
|
+
const [red, green, blue] = interpolateAnimatedBannerRgbColor(ANIMATED_BANNER_COLOR_GRADIENT_ANCHORS[segmentIndex], ANIMATED_BANNER_COLOR_GRADIENT_ANCHORS[segmentIndex + 1], segmentProgress);
|
|
29
|
+
return formatAnimatedBannerRgbColorAsHex(red, green, blue);
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=AnimatedBannerColorGradient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnimatedBannerColorGradient.js","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/AnimatedBannerColorGradient.ts"],"names":[],"mappings":"AAEA,MAAM,sCAAsC,GAA6B;IACvE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;IACf,CAAC,GAAG,EAAE,CAAC,EAAE,GAAG,CAAC;IACb,CAAC,GAAG,EAAE,EAAE,EAAE,EAAE,CAAC;IACb,C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sC,CAAC,MAAM,GAAG,CAAC,CAAC;IACvE,MAAM,aAAa,GAAG,CAAC,GAAG,YAAY,CAAC;IACvC,MAAM,YAAY,GAAG,IAAI,CAAC,GAAG,CAC3B,IAAI,CAAC,KAAK,CAAC,eAAe,GAAG,aAAa,CAAC,EAC3C,YAAY,GAAG,CAAC,CACjB,CAAC;IACF,MAAM,eAAe,GACnB,CAAC,eAAe,GAAG,YAAY,GAAG,aAAa,CAAC,GAAG,aAAa,CAAC;IACnE,MAAM,CAAC,GAAG,EAAE,KAAK,EAAE,IAAI,CAAC,GAAG,iCAAiC,CAC1D,sCAAsC,CAAC,YAAY,CAAC,EACpD,sCAAsC,CAAC,YAAY,GAAG,CAAC,CAAC,EACxD,eAAe,CAChB,CAAC;IAEF,OAAO,iCAAiC,CAAC,GAAG,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC;AAC7D,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface AnimatedBannerLineColorSegment {
|
|
2
|
+
text: string;
|
|
3
|
+
color?: string;
|
|
4
|
+
inverse?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare function getAnimatedBannerLineColorSegments(line: string, elephantHex: string): AnimatedBannerLineColorSegment[];
|
|
7
|
+
//# sourceMappingURL=AnimatedBannerLineColorSegments.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnimatedBannerLineColorSegments.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/AnimatedBannerLineColorSegments.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,8BAA8B;IAC7C,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,wBAAgB,kCAAkC,CAChD,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,MAAM,GAClB,8BAA8B,EAAE,CAgFlC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { SemanticColors } from "../../shared/DesignTokens.js";
|
|
2
|
+
export function getAnimatedBannerLineColorSegments(line, elephantHex) {
|
|
3
|
+
const segments = [];
|
|
4
|
+
let index = 0;
|
|
5
|
+
while (index < line.length) {
|
|
6
|
+
const character = line[index];
|
|
7
|
+
if (character === "▓" || character === "▒") {
|
|
8
|
+
let elephantSegment = "";
|
|
9
|
+
while (index < line.length &&
|
|
10
|
+
(line[index] === "▓" || line[index] === "▒" || line[index] === "█")) {
|
|
11
|
+
const nearbyContext = line.slice(Math.max(0, index - 3), Math.min(line.length, index + 4));
|
|
12
|
+
const hasShading = nearbyContext.includes("▓") || nearbyContext.includes("▒");
|
|
13
|
+
if (line[index] === "█" && !hasShading)
|
|
14
|
+
break;
|
|
15
|
+
elephantSegment += line[index];
|
|
16
|
+
index++;
|
|
17
|
+
}
|
|
18
|
+
const vibrantSegment = elephantSegment
|
|
19
|
+
.replace(/▓/g, "░")
|
|
20
|
+
.replace(/[▒█]/g, " ");
|
|
21
|
+
segments.push({
|
|
22
|
+
text: vibrantSegment,
|
|
23
|
+
color: elephantHex,
|
|
24
|
+
inverse: true,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
else if (character === "█" || character === "░") {
|
|
28
|
+
let textSegment = "";
|
|
29
|
+
while (index < line.length && (line[index] === "█" || line[index] === "░")) {
|
|
30
|
+
textSegment += line[index];
|
|
31
|
+
index++;
|
|
32
|
+
}
|
|
33
|
+
segments.push({ text: textSegment, color: "#c8c8c8" });
|
|
34
|
+
}
|
|
35
|
+
else if ("╭╮╰╯│─".includes(character)) {
|
|
36
|
+
let boxSegment = "";
|
|
37
|
+
while (index < line.length && "╭╮╰╯│─".includes(line[index])) {
|
|
38
|
+
boxSegment += line[index];
|
|
39
|
+
index++;
|
|
40
|
+
}
|
|
41
|
+
segments.push({ text: boxSegment, color: SemanticColors.keyBadge });
|
|
42
|
+
}
|
|
43
|
+
else if (character === "A" &&
|
|
44
|
+
line.slice(index).startsWith("Agent Context Orchestration")) {
|
|
45
|
+
const tagline = "Agent Context Orchestration";
|
|
46
|
+
segments.push({ text: tagline, color: "#808080" });
|
|
47
|
+
index += tagline.length;
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
let plainSegment = "";
|
|
51
|
+
while (index < line.length &&
|
|
52
|
+
line[index] !== "▓" &&
|
|
53
|
+
line[index] !== "▒" &&
|
|
54
|
+
line[index] !== "█" &&
|
|
55
|
+
line[index] !== "░" &&
|
|
56
|
+
!"╭╮╰╯│─".includes(line[index]) &&
|
|
57
|
+
!(line[index] === "A" &&
|
|
58
|
+
line.slice(index).startsWith("Agent Context Orchestration"))) {
|
|
59
|
+
plainSegment += line[index];
|
|
60
|
+
index++;
|
|
61
|
+
}
|
|
62
|
+
if (plainSegment.length > 0) {
|
|
63
|
+
segments.push({ text: plainSegment });
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
return segments;
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=AnimatedBannerLineColorSegments.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnimatedBannerLineColorSegments.js","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/AnimatedBannerLineColorSegments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAQ9D,MAAM,UAAU,kCAAkC,CAChD,IAAY,EACZ,WAAmB;IAEnB,MAAM,QAAQ,GAAqC,EAAE,CAAC;IACtD,IAAI,KAAK,GAAG,CAAC,CAAC;IAEd,OAAO,KAAK,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC;QAC3B,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC;QAE9B,IAAI,SAAS,KAAK,GAAG,IAAI,SAAS,KAAK,GAAG,EAAE,CAAC;YAC3C,IAAI,eAAe,GAAG,EAAE,CAAC;YACzB,OACE,KAAK,GAAG,IAAI,CAAC,MAAM;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AI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,UAAU,CAAC,6BAA6B,CAAC,CAC5D,EACD,CAAC;gBACD,YAAY,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC;gBAC5B,KAAK,EAAE,CAAC;YACV,CAAC;YAED,IAAI,YAAY,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBAC5B,QAAQ,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,CAAC;YACxC,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const AnimatedBannerTiming: {
|
|
2
|
+
readonly totalFrames: number;
|
|
3
|
+
readonly midpointFrame: number;
|
|
4
|
+
readonly frameDurationMs: 9;
|
|
5
|
+
readonly tickMs: 4;
|
|
6
|
+
readonly holdDelayMs: 1120;
|
|
7
|
+
readonly eraseIntervalMs: 15;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=AnimatedBannerTiming.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnimatedBannerTiming.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/AnimatedBannerTiming.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,oBAAoB;;;;;;;CAOvB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { getFrameCount } from "../../cli/banner/AnimationFrames.js";
|
|
2
|
+
const totalFrames = getFrameCount();
|
|
3
|
+
export const AnimatedBannerTiming = {
|
|
4
|
+
totalFrames,
|
|
5
|
+
midpointFrame: Math.floor(totalFrames / 2),
|
|
6
|
+
frameDurationMs: 9,
|
|
7
|
+
tickMs: 4,
|
|
8
|
+
holdDelayMs: 1120,
|
|
9
|
+
eraseIntervalMs: 15,
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=AnimatedBannerTiming.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnimatedBannerTiming.js","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/AnimatedBannerTiming.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,MAAM,WAAW,GAAG,aAAa,EAAE,CAAC;AAEpC,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,WAAW;IACX,aAAa,EAAE,IAAI,CAAC,KAAK,CAAC,WAAW,GAAG,CAAC,CAAC;IAC1C,eAAe,EAAE,CAAC;IAClB,MAAM,EAAE,CAAC;IACT,WAAW,EAAE,IAAI;IACjB,eAAe,EAAE,EAAE;CACX,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
interface CenteredPromptProps {
|
|
2
|
+
export interface CenteredPromptProps {
|
|
3
3
|
keyChar: string;
|
|
4
4
|
prefix: string;
|
|
5
5
|
suffix: string;
|
|
6
6
|
secondary?: string;
|
|
7
7
|
}
|
|
8
8
|
export declare function CenteredPrompt({ keyChar, prefix, suffix, secondary, }: CenteredPromptProps): React.ReactElement;
|
|
9
|
-
export {};
|
|
10
9
|
//# sourceMappingURL=CenteredPrompt.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CenteredPrompt.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CenteredPrompt.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,
|
|
1
|
+
{"version":3,"file":"CenteredPrompt.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CenteredPrompt.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,MAAM,EACN,MAAM,EACN,SAAS,GACV,EAAE,mBAAmB,GAAG,KAAK,CAAC,YAAY,CAe1C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CockpitDaemonAgentConfigCycler.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonAgentConfigCycler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAIpF,wBAAgB,+BAA+B,CAAC,MAAM,EAAE,eAAe,GAAG,eAAe,CASxF"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const COCKPIT_DAEMON_AGENT_OPTIONS = ["codex", "claude", "gemini", "copilot", "cursor", "vibe"];
|
|
2
|
+
export function getNextCockpitDaemonAgentConfig(config) {
|
|
3
|
+
const currentIndex = COCKPIT_DAEMON_AGENT_OPTIONS.indexOf(config.agentId);
|
|
4
|
+
const nextIndex = currentIndex === -1
|
|
5
|
+
? 0
|
|
6
|
+
: (currentIndex + 1) % COCKPIT_DAEMON_AGENT_OPTIONS.length;
|
|
7
|
+
return { ...config, agentId: COCKPIT_DAEMON_AGENT_OPTIONS[nextIndex] };
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=CockpitDaemonAgentConfigCycler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CockpitDaemonAgentConfigCycler.js","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonAgentConfigCycler.ts"],"names":[],"mappings":"AAEA,MAAM,4BAA4B,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,CAAU,CAAC;AAEzG,MAAM,UAAU,+BAA+B,CAAC,MAAuB;IACrE,MAAM,YAAY,GAAG,4BAA4B,CAAC,OAAO,CACvD,MAAM,CAAC,OAAsD,CAC9D,CAAC;IACF,MAAM,SAAS,GAAG,YAAY,KAAK,CAAC,CAAC;QACnC,CAAC,CAAC,CAAC;QACH,CAAC,CAAC,CAAC,YAAY,GAAG,CAAC,CAAC,GAAG,4BAA4B,CAAC,MAAM,CAAC;IAE7D,OAAO,EAAE,GAAG,MAAM,EAAE,OAAO,EAAE,4BAA4B,CAAC,SAAS,CAAC,EAAE,CAAC;AACzE,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { TuiDaemonConfig, TuiDaemonConfigs, TuiDaemonName } from "../daemon-subprocesses/ISubprocessManager.js";
|
|
2
|
+
export declare function updateSelectedCockpitDaemonConfig(configs: TuiDaemonConfigs, selectedDaemon: TuiDaemonName, nextConfig: (config: TuiDaemonConfig) => TuiDaemonConfig): TuiDaemonConfigs;
|
|
3
|
+
//# sourceMappingURL=CockpitDaemonConfigsUpdater.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CockpitDaemonConfigsUpdater.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonConfigsUpdater.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,gBAAgB,EAChB,aAAa,EACd,MAAM,8CAA8C,CAAC;AAEtD,wBAAgB,iCAAiC,CAC/C,OAAO,EAAE,gBAAgB,EACzB,cAAc,EAAE,aAAa,EAC7B,UAAU,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,eAAe,GACvD,gBAAgB,CAKlB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CockpitDaemonConfigsUpdater.js","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonConfigsUpdater.ts"],"names":[],"mappings":"AAMA,MAAM,UAAU,iCAAiC,CAC/C,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CockpitDaemonEventSnapshot.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonEventSnapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,yBAAyB,EAC1B,MAAM,gDAAgD,CAAC;AAExD,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,MAAM,EAAE,yBAAyB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;CAC5D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CockpitDaemonEventSnapshot.js","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonEventSnapshot.ts"],"names":[],"mappings":""}
|
|
@@ -1,14 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
readonly
|
|
4
|
-
readonly
|
|
5
|
-
readonly
|
|
6
|
-
|
|
7
|
-
readonly message: string;
|
|
8
|
-
readonly color: string;
|
|
9
|
-
}
|
|
10
|
-
export declare function findDaemonStatus(statuses: readonly TuiSubprocessSnapshot[], name: TuiDaemonName): TuiSubprocessSnapshot;
|
|
11
|
-
export declare function getDaemonEventRows(snapshots: readonly TuiSubprocessSnapshot[], observedAtMs: number): readonly DaemonEventRow[];
|
|
12
|
-
export declare function appendDaemonEventRows(currentRows: readonly DaemonEventRow[], nextRows: readonly DaemonEventRow[]): readonly DaemonEventRow[];
|
|
13
|
-
export declare function formatDaemonEventRow(row: DaemonEventRow): string;
|
|
1
|
+
export declare const CockpitDaemonEvents: {
|
|
2
|
+
readonly appendRows: (currentRows: readonly import("./DaemonEventRow.js").DaemonEventRow[], nextRows: readonly import("./DaemonEventRow.js").DaemonEventRow[]) => readonly import("./DaemonEventRow.js").DaemonEventRow[];
|
|
3
|
+
readonly findStatus: (statuses: readonly import("../daemon-subprocesses/TuiSubprocessSnapshot.js").TuiSubprocessSnapshot[], name: import("../daemon-subprocesses/TuiDaemonName.js").TuiDaemonName) => import("../daemon-subprocesses/TuiSubprocessSnapshot.js").TuiSubprocessSnapshot;
|
|
4
|
+
readonly formatRow: (row: import("./DaemonEventRow.js").DaemonEventRow) => string;
|
|
5
|
+
readonly getRows: (snapshots: readonly import("../daemon-subprocesses/TuiSubprocessSnapshot.js").TuiSubprocessSnapshot[], observedAtMs: number) => readonly import("./DaemonEventRow.js").DaemonEventRow[];
|
|
6
|
+
};
|
|
14
7
|
//# sourceMappingURL=CockpitDaemonEvents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CockpitDaemonEvents.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonEvents.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CockpitDaemonEvents.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonEvents.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB;;;;;CAKtB,CAAC"}
|
|
@@ -1,154 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
name,
|
|
11
|
-
status: TuiSubprocessStatus.STOPPED,
|
|
12
|
-
config: DEFAULT_WORKER_DAEMON_CONFIG,
|
|
13
|
-
stdout: [],
|
|
14
|
-
stderr: [],
|
|
15
|
-
events: [],
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
export function getDaemonEventRows(snapshots, observedAtMs) {
|
|
19
|
-
const rows = snapshots.flatMap((snapshot) => getSnapshotEventRows(snapshot, observedAtMs));
|
|
20
|
-
return rows
|
|
21
|
-
.sort((left, right) => right.timestampMs - left.timestampMs)
|
|
22
|
-
.slice(0, RENDERED_DAEMON_EVENT_LIMIT);
|
|
23
|
-
}
|
|
24
|
-
export function appendDaemonEventRows(currentRows, nextRows) {
|
|
25
|
-
const currentKeys = new Set(currentRows.map((row) => row.key));
|
|
26
|
-
const appendedRows = nextRows.filter((row) => !currentKeys.has(row.key));
|
|
27
|
-
if (appendedRows.length === 0) {
|
|
28
|
-
return currentRows;
|
|
29
|
-
}
|
|
30
|
-
return [...currentRows, ...appendedRows]
|
|
31
|
-
.sort((left, right) => right.timestampMs - left.timestampMs)
|
|
32
|
-
.slice(0, RENDERED_DAEMON_EVENT_LIMIT);
|
|
33
|
-
}
|
|
34
|
-
export function formatDaemonEventRow(row) {
|
|
35
|
-
const message = row.message.length > 0 ? ` ${row.message}` : "";
|
|
36
|
-
return `${formatEventTimestamp(row.timestampMs)} ${row.source.padEnd(DAEMON_EVENT_SOURCE_WIDTH)} ${row.category.padEnd(DAEMON_EVENT_CATEGORY_WIDTH)}${message}`;
|
|
37
|
-
}
|
|
38
|
-
function getSnapshotEventRows(snapshot, observedAtMs) {
|
|
39
|
-
const eventRows = snapshot.events
|
|
40
|
-
.map((event, eventIndex) => toDaemonEventRow(snapshot, event, eventIndex, observedAtMs));
|
|
41
|
-
const lifecycleRow = getLifecycleEventRow(snapshot, eventRows.length, observedAtMs);
|
|
42
|
-
if (lifecycleRow === undefined) {
|
|
43
|
-
return eventRows;
|
|
44
|
-
}
|
|
45
|
-
return [...eventRows, lifecycleRow];
|
|
46
|
-
}
|
|
47
|
-
function getLifecycleEventRow(snapshot, eventIndex, observedAtMs) {
|
|
48
|
-
if (snapshot.status === TuiSubprocessStatus.RUNNING &&
|
|
49
|
-
snapshot.stopRequested === true) {
|
|
50
|
-
return createDaemonEventRow(snapshot, TuiDaemonEventStatusValues.STOPPING, eventIndex, observedAtMs);
|
|
51
|
-
}
|
|
52
|
-
if (snapshot.status === TuiSubprocessStatus.RUNNING &&
|
|
53
|
-
snapshot.events.length === 0) {
|
|
54
|
-
return createDaemonEventRow(snapshot, TuiDaemonEventStatusValues.STARTING, eventIndex, observedAtMs);
|
|
55
|
-
}
|
|
56
|
-
if (snapshot.status === TuiSubprocessStatus.FAILED) {
|
|
57
|
-
return createDaemonEventRow(snapshot, TuiDaemonEventStatusValues.FAILED, eventIndex, observedAtMs);
|
|
58
|
-
}
|
|
59
|
-
if (snapshot.status === TuiSubprocessStatus.STOPPED
|
|
60
|
-
&& (snapshot.stopRequested === true || snapshot.exitCode !== undefined || snapshot.exitSignal !== undefined)) {
|
|
61
|
-
return createDaemonEventRow(snapshot, TuiDaemonEventStatusValues.STOPPED, eventIndex, observedAtMs);
|
|
62
|
-
}
|
|
63
|
-
return undefined;
|
|
64
|
-
}
|
|
65
|
-
function createDaemonEventRow(snapshot, status, eventIndex, observedAtMs) {
|
|
66
|
-
return toDaemonEventRow(snapshot, {
|
|
67
|
-
daemon: snapshot.name,
|
|
68
|
-
status,
|
|
69
|
-
errorMessage: snapshot.stderr[snapshot.stderr.length - 1],
|
|
70
|
-
exitCode: snapshot.exitCode ?? undefined,
|
|
71
|
-
}, eventIndex, observedAtMs);
|
|
72
|
-
}
|
|
73
|
-
function toDaemonEventRow(snapshot, event, eventIndex, observedAtMs) {
|
|
74
|
-
const status = normalizeDaemonEventStatus(event.status);
|
|
75
|
-
const timestampMs = event.timestampMs ?? observedAtMs;
|
|
76
|
-
const key = event.timestampMs === undefined
|
|
77
|
-
? `${snapshot.name}-lifecycle-${status}-${snapshot.pid ?? "none"}-${snapshot.exitCode ?? "none"}-${snapshot.stopRequested ?? false}`
|
|
78
|
-
: `${snapshot.name}-${eventIndex}-${event.status}-${event.goalId ?? "none"}-${timestampMs}`;
|
|
79
|
-
return {
|
|
80
|
-
key,
|
|
81
|
-
source: normalizeDaemonEventSource(snapshot, event),
|
|
82
|
-
category: normalizeDaemonEventCategory(event, status),
|
|
83
|
-
timestampMs,
|
|
84
|
-
message: formatDaemonEventMessage(snapshot, event),
|
|
85
|
-
color: getDaemonEventColor(status),
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
function normalizeDaemonEventStatus(status) {
|
|
89
|
-
if (Object.values(TuiDaemonEventStatusValues).includes(status)) {
|
|
90
|
-
return status;
|
|
91
|
-
}
|
|
92
|
-
return TuiDaemonEventStatusValues.PROCESSING;
|
|
93
|
-
}
|
|
94
|
-
function formatEventTimestamp(timestampMs) {
|
|
95
|
-
const date = new Date(timestampMs);
|
|
96
|
-
const hours = String(date.getHours()).padStart(2, "0");
|
|
97
|
-
const minutes = String(date.getMinutes()).padStart(2, "0");
|
|
98
|
-
const seconds = String(date.getSeconds()).padStart(2, "0");
|
|
99
|
-
return `${hours}:${minutes}:${seconds}`;
|
|
100
|
-
}
|
|
101
|
-
function normalizeDaemonEventSource(snapshot, event) {
|
|
102
|
-
return truncateTail(event.source ?? event.daemon ?? snapshot.name, DAEMON_EVENT_SOURCE_WIDTH);
|
|
103
|
-
}
|
|
104
|
-
function normalizeDaemonEventCategory(event, status) {
|
|
105
|
-
return truncateTail(event.category ?? status, DAEMON_EVENT_CATEGORY_WIDTH);
|
|
106
|
-
}
|
|
107
|
-
function formatDaemonEventMessage(snapshot, event) {
|
|
108
|
-
const parts = [
|
|
109
|
-
event.message === undefined || event.message.trim().length === 0 ? undefined : event.message.trim(),
|
|
110
|
-
event.goalId === undefined ? undefined : shortGoalId(event.goalId),
|
|
111
|
-
formatAttemptDetails(event),
|
|
112
|
-
formatExitDetails(event),
|
|
113
|
-
event.errorMessage ?? snapshot.stderr[snapshot.stderr.length - 1],
|
|
114
|
-
].filter((part) => part !== undefined && part.length > 0);
|
|
115
|
-
return truncateTail(parts.join(" "), 52);
|
|
116
|
-
}
|
|
117
|
-
function formatAttemptDetails(event) {
|
|
118
|
-
if (event.attempt === undefined && event.maxRetries === undefined) {
|
|
119
|
-
return undefined;
|
|
120
|
-
}
|
|
121
|
-
return `${event.attempt ?? "-"}/${event.maxRetries ?? "-"}`;
|
|
122
|
-
}
|
|
123
|
-
function formatExitDetails(event) {
|
|
124
|
-
return event.exitCode === undefined ? undefined : `exit ${event.exitCode}`;
|
|
125
|
-
}
|
|
126
|
-
function getDaemonEventColor(status) {
|
|
127
|
-
if (status === TuiDaemonEventStatusValues.FAILED) {
|
|
128
|
-
return BaseColors.brandRed;
|
|
129
|
-
}
|
|
130
|
-
if (status === TuiDaemonEventStatusValues.COMPLETED) {
|
|
131
|
-
return BaseColors.brandGreen;
|
|
132
|
-
}
|
|
133
|
-
if (status === TuiDaemonEventStatusValues.SKIPPED ||
|
|
134
|
-
status === TuiDaemonEventStatusValues.EXHAUSTED) {
|
|
135
|
-
return BaseColors.brandYellow;
|
|
136
|
-
}
|
|
137
|
-
if (status === TuiDaemonEventStatusValues.PROCESSING ||
|
|
138
|
-
status === TuiDaemonEventStatusValues.CODIFYING ||
|
|
139
|
-
status === TuiDaemonEventStatusValues.STARTING ||
|
|
140
|
-
status === TuiDaemonEventStatusValues.STOPPING) {
|
|
141
|
-
return BaseColors.brandBlue;
|
|
142
|
-
}
|
|
143
|
-
return BaseColors.shade4;
|
|
144
|
-
}
|
|
145
|
-
function shortGoalId(goalId) {
|
|
146
|
-
if (goalId === undefined) {
|
|
147
|
-
return "-";
|
|
148
|
-
}
|
|
149
|
-
return goalId.length > 8 ? goalId.slice(0, 8) : goalId;
|
|
150
|
-
}
|
|
151
|
-
function truncateTail(text, max) {
|
|
152
|
-
return text.length <= max ? text : text.slice(0, max - 3) + "...";
|
|
153
|
-
}
|
|
1
|
+
import { DaemonEventRowFormatter } from "./DaemonEventRowFormatter.js";
|
|
2
|
+
import { DaemonEventRows } from "./DaemonEventRows.js";
|
|
3
|
+
import { DaemonStatusFinder } from "./DaemonStatusFinder.js";
|
|
4
|
+
export const CockpitDaemonEvents = {
|
|
5
|
+
appendRows: DaemonEventRows.append,
|
|
6
|
+
findStatus: DaemonStatusFinder.find,
|
|
7
|
+
formatRow: DaemonEventRowFormatter.format,
|
|
8
|
+
getRows: DaemonEventRows.fromSnapshots,
|
|
9
|
+
};
|
|
154
10
|
//# sourceMappingURL=CockpitDaemonEvents.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CockpitDaemonEvents.js","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonEvents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"CockpitDaemonEvents.js","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonEvents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,UAAU,EAAE,eAAe,CAAC,MAAM;IAClC,UAAU,EAAE,kBAAkB,CAAC,IAAI;IACnC,SAAS,EAAE,uBAAuB,CAAC,MAAM;IACzC,OAAO,EAAE,eAAe,CAAC,aAAa;CAC9B,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { TuiDaemonName } from "../daemon-subprocesses/ISubprocessManager.js";
|
|
2
|
+
export declare function getNextFocusedCockpitDaemon(currentDaemon: TuiDaemonName, focusOrder: readonly TuiDaemonName[]): TuiDaemonName;
|
|
3
|
+
//# sourceMappingURL=CockpitDaemonFocusOrder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CockpitDaemonFocusOrder.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonFocusOrder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAElF,wBAAgB,2BAA2B,CACzC,aAAa,EAAE,aAAa,EAC5B,UAAU,EAAE,SAAS,aAAa,EAAE,GACnC,aAAa,CAOf"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export function getNextFocusedCockpitDaemon(currentDaemon, focusOrder) {
|
|
2
|
+
const currentIndex = focusOrder.indexOf(currentDaemon);
|
|
3
|
+
const nextIndex = currentIndex === -1
|
|
4
|
+
? 0
|
|
5
|
+
: (currentIndex + 1) % focusOrder.length;
|
|
6
|
+
return focusOrder[nextIndex];
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=CockpitDaemonFocusOrder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CockpitDaemonFocusOrder.js","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonFocusOrder.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,2BAA2B,CACzC,aAA4B,EAC5B,UAAoC;IAEpC,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;IACvD,MAAM,SAAS,GAAG,YAAY,KAAK,CAAC,CAAC;QACnC,CAAC,CAAC,CAAC;QACH,CAAC,CAAC,CAAC,YAAY,GAAG,CAAC,CAAC,GAAG,UAAU,CAAC,MAAM,CAAC;IAE3C,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC;AAC/B,CAAC"}
|
|
@@ -1,39 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export declare const RENDERED_DAEMON_FRAME_HEIGHT
|
|
13
|
-
export declare const DAEMON_PANEL_CONTENT_WIDTH
|
|
14
|
-
export declare const REFINER_FRAME_COUNT
|
|
15
|
-
export declare const REVIEWER_FRAME_COUNT
|
|
16
|
-
export declare const CODIFIER_FRAME_COUNT
|
|
17
|
-
export declare const DEFAULT_REFINER_FRAME_DURATION_MS
|
|
18
|
-
export declare const DEFAULT_REVIEWER_FRAME_DURATION_MS
|
|
19
|
-
export declare const DEFAULT_CODIFIER_FRAME_DURATION_MS
|
|
1
|
+
import { CodifierFrameFactory } from "./CodifierFrameFactory.js";
|
|
2
|
+
import type { DaemonFrameGlyphCell, DaemonFrameGlyphColorMap, DaemonFrameGlyphPalette, DaemonFrameGlyphStyle } from "./DaemonFrameGlyphTypes.js";
|
|
3
|
+
import { DaemonFrameStatusOverlay } from "./DaemonFrameStatusOverlay.js";
|
|
4
|
+
import { getGlyphCellSegments } from "./GlyphCellSegments.js";
|
|
5
|
+
import { RandomGlyphFrameFactory } from "./RandomGlyphFrameFactory.js";
|
|
6
|
+
import { RenderedDaemonFrame } from "./RenderedDaemonFrame.js";
|
|
7
|
+
import { getStyledGlyphSegments } from "./StyledGlyphSegments.js";
|
|
8
|
+
export type GlyphStyle = DaemonFrameGlyphStyle;
|
|
9
|
+
export type GlyphColorMap = DaemonFrameGlyphColorMap;
|
|
10
|
+
export type GlyphPalette = DaemonFrameGlyphPalette;
|
|
11
|
+
export type GlyphCell = DaemonFrameGlyphCell;
|
|
12
|
+
export declare const RENDERED_DAEMON_FRAME_HEIGHT: 5;
|
|
13
|
+
export declare const DAEMON_PANEL_CONTENT_WIDTH: 35;
|
|
14
|
+
export declare const REFINER_FRAME_COUNT: 9;
|
|
15
|
+
export declare const REVIEWER_FRAME_COUNT: 6;
|
|
16
|
+
export declare const CODIFIER_FRAME_COUNT: 6;
|
|
17
|
+
export declare const DEFAULT_REFINER_FRAME_DURATION_MS: 500;
|
|
18
|
+
export declare const DEFAULT_REVIEWER_FRAME_DURATION_MS: 350;
|
|
19
|
+
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
|
-
export declare const DEFAULT_CODIFIER_GLYPH_COLORS:
|
|
21
|
+
export declare const DEFAULT_CODIFIER_GLYPH_COLORS: Readonly<Record<string, string>>;
|
|
22
22
|
export declare function getRenderedDaemonFrame<T>(frame: readonly T[]): readonly T[];
|
|
23
|
-
export declare function getRenderedFrameIndex(
|
|
24
|
-
export declare function isDaemonStatusLine(
|
|
25
|
-
export declare function getGlyphCellLinePrefix(
|
|
26
|
-
export declare function getGlyphCellLineSuffix(
|
|
27
|
-
export declare function getGlyphLinePrefix(
|
|
28
|
-
export declare function getGlyphLineSuffix(
|
|
29
|
-
export declare function getCodifierFrame(
|
|
30
|
-
export declare function getReviewerFrame(
|
|
31
|
-
export declare function getRefinerFrame(
|
|
32
|
-
export
|
|
33
|
-
text: string;
|
|
34
|
-
color: string;
|
|
35
|
-
}>;
|
|
36
|
-
export declare function getStyledGlyphSegments(line: string, glyphColors: GlyphColorMap, snapshot: CockpitDaemonSnapshot): Array<GlyphStyle & {
|
|
37
|
-
text: string;
|
|
38
|
-
}>;
|
|
23
|
+
export declare function getRenderedFrameIndex(...parameters: Parameters<typeof RenderedDaemonFrame.getIndex>): ReturnType<typeof RenderedDaemonFrame.getIndex>;
|
|
24
|
+
export declare function isDaemonStatusLine(...parameters: Parameters<typeof DaemonFrameStatusOverlay.isLine>): ReturnType<typeof DaemonFrameStatusOverlay.isLine>;
|
|
25
|
+
export declare function getGlyphCellLinePrefix(...parameters: Parameters<typeof DaemonFrameStatusOverlay.getGlyphCellPrefix>): ReturnType<typeof DaemonFrameStatusOverlay.getGlyphCellPrefix>;
|
|
26
|
+
export declare function getGlyphCellLineSuffix(...parameters: Parameters<typeof DaemonFrameStatusOverlay.getGlyphCellSuffix>): ReturnType<typeof DaemonFrameStatusOverlay.getGlyphCellSuffix>;
|
|
27
|
+
export declare function getGlyphLinePrefix(...parameters: Parameters<typeof DaemonFrameStatusOverlay.getGlyphTextPrefix>): ReturnType<typeof DaemonFrameStatusOverlay.getGlyphTextPrefix>;
|
|
28
|
+
export declare function getGlyphLineSuffix(...parameters: Parameters<typeof DaemonFrameStatusOverlay.getGlyphTextSuffix>): ReturnType<typeof DaemonFrameStatusOverlay.getGlyphTextSuffix>;
|
|
29
|
+
export declare function getCodifierFrame(...parameters: Parameters<typeof CodifierFrameFactory.getFrame>): ReturnType<typeof CodifierFrameFactory.getFrame>;
|
|
30
|
+
export declare function getReviewerFrame(...parameters: Parameters<typeof RandomGlyphFrameFactory.getReviewerFrame>): ReturnType<typeof RandomGlyphFrameFactory.getReviewerFrame>;
|
|
31
|
+
export declare function getRefinerFrame(...parameters: Parameters<typeof RandomGlyphFrameFactory.getRefinerFrame>): ReturnType<typeof RandomGlyphFrameFactory.getRefinerFrame>;
|
|
32
|
+
export { getGlyphCellSegments, getStyledGlyphSegments };
|
|
39
33
|
//# 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","sourceRoot":"","sources":["../../../../src/presentation/tui/cockpit/CockpitDaemonFrames.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,OAAO,KAAK,EACV,oBAAoB,EACpB,wBAAwB,EACxB,uBAAuB,EACvB,qBAAqB,EACtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,MAAM,MAAM,UAAU,GAAG,qBAAqB,CAAC;AAC/C,MAAM,MAAM,aAAa,GAAG,wBAAwB,CAAC;AACrD,MAAM,MAAM,YAAY,GAAG,uBAAuB,CAAC;AACnD,M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