jumbo-cli 3.1.0 → 3.2.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/README.md +1 -1
- package/assets/skills/codify-jumbo-goal/SKILL.md +0 -6
- package/assets/skills/define-jumbo-goals/SKILL.md +24 -25
- package/assets/skills/jumbo-add-component/SKILL.md +9 -0
- package/assets/skills/jumbo-add-decision/SKILL.md +9 -0
- package/assets/skills/jumbo-add-dependency/SKILL.md +9 -0
- package/assets/skills/jumbo-add-guideline/SKILL.md +9 -0
- package/assets/skills/jumbo-add-invariant/SKILL.md +9 -0
- package/assets/skills/jumbo-design-goal/SKILL.md +1 -1
- package/assets/skills/refine-jumbo-goals/SKILL.md +4 -4
- package/dist/application/agents/AgentInvocation.d.ts +10 -0
- package/dist/application/agents/AgentInvocation.d.ts.map +1 -0
- package/dist/application/agents/AgentInvocation.js +2 -0
- package/dist/application/agents/AgentInvocation.js.map +1 -0
- package/dist/application/agents/IAgentGateway.d.ts +5 -0
- package/dist/application/agents/IAgentGateway.d.ts.map +1 -0
- package/dist/application/agents/IAgentGateway.js +2 -0
- package/dist/application/agents/IAgentGateway.js.map +1 -0
- package/dist/application/context/decisions/get/IDecisionViewReader.d.ts +7 -0
- package/dist/application/context/decisions/get/IDecisionViewReader.d.ts.map +1 -1
- package/dist/application/context/decisions/search/DecisionSearchCriteria.d.ts +17 -0
- package/dist/application/context/decisions/search/DecisionSearchCriteria.d.ts.map +1 -0
- package/dist/application/context/decisions/search/DecisionSearchCriteria.js +12 -0
- package/dist/application/context/decisions/search/DecisionSearchCriteria.js.map +1 -0
- package/dist/application/context/decisions/search/ISearchDecisionsGateway.d.ts +10 -0
- package/dist/application/context/decisions/search/ISearchDecisionsGateway.d.ts.map +1 -0
- package/dist/application/context/decisions/search/ISearchDecisionsGateway.js +6 -0
- package/dist/application/context/decisions/search/ISearchDecisionsGateway.js.map +1 -0
- package/dist/application/context/decisions/search/LocalSearchDecisionsGateway.d.ts +14 -0
- package/dist/application/context/decisions/search/LocalSearchDecisionsGateway.d.ts.map +1 -0
- package/dist/application/context/decisions/search/LocalSearchDecisionsGateway.js +14 -0
- package/dist/application/context/decisions/search/LocalSearchDecisionsGateway.js.map +1 -0
- package/dist/application/context/decisions/search/SearchDecisionsController.d.ts +13 -0
- package/dist/application/context/decisions/search/SearchDecisionsController.d.ts.map +1 -0
- package/dist/application/context/decisions/search/SearchDecisionsController.js +13 -0
- package/dist/application/context/decisions/search/SearchDecisionsController.js.map +1 -0
- package/dist/application/context/decisions/search/SearchDecisionsRequest.d.ts +8 -0
- package/dist/application/context/decisions/search/SearchDecisionsRequest.d.ts.map +1 -0
- package/dist/application/context/decisions/search/SearchDecisionsRequest.js +5 -0
- package/dist/application/context/decisions/search/SearchDecisionsRequest.js.map +1 -0
- package/dist/application/context/decisions/search/SearchDecisionsResponse.d.ts +8 -0
- package/dist/application/context/decisions/search/SearchDecisionsResponse.d.ts.map +1 -0
- package/dist/application/context/decisions/search/SearchDecisionsResponse.js +5 -0
- package/dist/application/context/decisions/search/SearchDecisionsResponse.js.map +1 -0
- package/dist/application/context/dependencies/get/IDependencyViewReader.d.ts +7 -0
- package/dist/application/context/dependencies/get/IDependencyViewReader.d.ts.map +1 -1
- package/dist/application/context/dependencies/search/DependencySearchCriteria.d.ts +22 -0
- package/dist/application/context/dependencies/search/DependencySearchCriteria.d.ts.map +1 -0
- package/dist/application/context/dependencies/search/DependencySearchCriteria.js +12 -0
- package/dist/application/context/dependencies/search/DependencySearchCriteria.js.map +1 -0
- package/dist/application/context/dependencies/search/ISearchDependenciesGateway.d.ts +10 -0
- package/dist/application/context/dependencies/search/ISearchDependenciesGateway.d.ts.map +1 -0
- package/dist/application/context/dependencies/search/ISearchDependenciesGateway.js +6 -0
- package/dist/application/context/dependencies/search/ISearchDependenciesGateway.js.map +1 -0
- package/dist/application/context/dependencies/search/LocalSearchDependenciesGateway.d.ts +14 -0
- package/dist/application/context/dependencies/search/LocalSearchDependenciesGateway.d.ts.map +1 -0
- package/dist/application/context/dependencies/search/LocalSearchDependenciesGateway.js +14 -0
- package/dist/application/context/dependencies/search/LocalSearchDependenciesGateway.js.map +1 -0
- package/dist/application/context/dependencies/search/SearchDependenciesController.d.ts +13 -0
- package/dist/application/context/dependencies/search/SearchDependenciesController.d.ts.map +1 -0
- package/dist/application/context/dependencies/search/SearchDependenciesController.js +13 -0
- package/dist/application/context/dependencies/search/SearchDependenciesController.js.map +1 -0
- package/dist/application/context/dependencies/search/SearchDependenciesRequest.d.ts +8 -0
- package/dist/application/context/dependencies/search/SearchDependenciesRequest.d.ts.map +1 -0
- package/dist/application/context/dependencies/search/SearchDependenciesRequest.js +5 -0
- package/dist/application/context/dependencies/search/SearchDependenciesRequest.js.map +1 -0
- package/dist/application/context/dependencies/search/SearchDependenciesResponse.d.ts +8 -0
- package/dist/application/context/dependencies/search/SearchDependenciesResponse.d.ts.map +1 -0
- package/dist/application/context/dependencies/search/SearchDependenciesResponse.js +5 -0
- package/dist/application/context/dependencies/search/SearchDependenciesResponse.js.map +1 -0
- package/dist/application/context/goals/codify/CodifierProcessManager.d.ts +34 -0
- package/dist/application/context/goals/codify/CodifierProcessManager.d.ts.map +1 -0
- package/dist/application/context/goals/codify/CodifierProcessManager.js +171 -0
- package/dist/application/context/goals/codify/CodifierProcessManager.js.map +1 -0
- package/dist/application/context/goals/refine/RefinerProcessManager.d.ts +28 -0
- package/dist/application/context/goals/refine/RefinerProcessManager.d.ts.map +1 -0
- package/dist/application/context/goals/refine/RefinerProcessManager.js +147 -0
- package/dist/application/context/goals/refine/RefinerProcessManager.js.map +1 -0
- package/dist/application/context/goals/review/ReviewerProcessManager.d.ts +28 -0
- package/dist/application/context/goals/review/ReviewerProcessManager.d.ts.map +1 -0
- package/dist/application/context/goals/review/ReviewerProcessManager.js +161 -0
- package/dist/application/context/goals/review/ReviewerProcessManager.js.map +1 -0
- package/dist/application/context/guidelines/get/IGuidelineViewReader.d.ts +7 -0
- package/dist/application/context/guidelines/get/IGuidelineViewReader.d.ts.map +1 -1
- package/dist/application/context/guidelines/search/GuidelineSearchCriteria.d.ts +17 -0
- package/dist/application/context/guidelines/search/GuidelineSearchCriteria.d.ts.map +1 -0
- package/dist/application/context/guidelines/search/GuidelineSearchCriteria.js +12 -0
- package/dist/application/context/guidelines/search/GuidelineSearchCriteria.js.map +1 -0
- package/dist/application/context/guidelines/search/ISearchGuidelinesGateway.d.ts +10 -0
- package/dist/application/context/guidelines/search/ISearchGuidelinesGateway.d.ts.map +1 -0
- package/dist/application/context/guidelines/search/ISearchGuidelinesGateway.js +6 -0
- package/dist/application/context/guidelines/search/ISearchGuidelinesGateway.js.map +1 -0
- package/dist/application/context/guidelines/search/LocalSearchGuidelinesGateway.d.ts +14 -0
- package/dist/application/context/guidelines/search/LocalSearchGuidelinesGateway.d.ts.map +1 -0
- package/dist/application/context/guidelines/search/LocalSearchGuidelinesGateway.js +14 -0
- package/dist/application/context/guidelines/search/LocalSearchGuidelinesGateway.js.map +1 -0
- package/dist/application/context/guidelines/search/SearchGuidelinesController.d.ts +13 -0
- package/dist/application/context/guidelines/search/SearchGuidelinesController.d.ts.map +1 -0
- package/dist/application/context/guidelines/search/SearchGuidelinesController.js +13 -0
- package/dist/application/context/guidelines/search/SearchGuidelinesController.js.map +1 -0
- package/dist/application/context/guidelines/search/SearchGuidelinesRequest.d.ts +8 -0
- package/dist/application/context/guidelines/search/SearchGuidelinesRequest.d.ts.map +1 -0
- package/dist/application/context/guidelines/search/SearchGuidelinesRequest.js +5 -0
- package/dist/application/context/guidelines/search/SearchGuidelinesRequest.js.map +1 -0
- package/dist/application/context/guidelines/search/SearchGuidelinesResponse.d.ts +8 -0
- package/dist/application/context/guidelines/search/SearchGuidelinesResponse.d.ts.map +1 -0
- package/dist/application/context/guidelines/search/SearchGuidelinesResponse.js +5 -0
- package/dist/application/context/guidelines/search/SearchGuidelinesResponse.js.map +1 -0
- package/dist/application/context/invariants/get/IInvariantViewReader.d.ts +7 -0
- package/dist/application/context/invariants/get/IInvariantViewReader.d.ts.map +1 -1
- package/dist/application/context/invariants/search/ISearchInvariantsGateway.d.ts +10 -0
- package/dist/application/context/invariants/search/ISearchInvariantsGateway.d.ts.map +1 -0
- package/dist/application/context/invariants/search/ISearchInvariantsGateway.js +6 -0
- package/dist/application/context/invariants/search/ISearchInvariantsGateway.js.map +1 -0
- package/dist/application/context/invariants/search/InvariantSearchCriteria.d.ts +14 -0
- package/dist/application/context/invariants/search/InvariantSearchCriteria.d.ts.map +1 -0
- package/dist/application/context/invariants/search/InvariantSearchCriteria.js +11 -0
- package/dist/application/context/invariants/search/InvariantSearchCriteria.js.map +1 -0
- package/dist/application/context/invariants/search/LocalSearchInvariantsGateway.d.ts +14 -0
- package/dist/application/context/invariants/search/LocalSearchInvariantsGateway.d.ts.map +1 -0
- package/dist/application/context/invariants/search/LocalSearchInvariantsGateway.js +14 -0
- package/dist/application/context/invariants/search/LocalSearchInvariantsGateway.js.map +1 -0
- package/dist/application/context/invariants/search/SearchInvariantsController.d.ts +13 -0
- package/dist/application/context/invariants/search/SearchInvariantsController.d.ts.map +1 -0
- package/dist/application/context/invariants/search/SearchInvariantsController.js +13 -0
- package/dist/application/context/invariants/search/SearchInvariantsController.js.map +1 -0
- package/dist/application/context/invariants/search/SearchInvariantsRequest.d.ts +8 -0
- package/dist/application/context/invariants/search/SearchInvariantsRequest.d.ts.map +1 -0
- package/dist/application/context/invariants/search/SearchInvariantsRequest.js +5 -0
- package/dist/application/context/invariants/search/SearchInvariantsRequest.js.map +1 -0
- package/dist/application/context/invariants/search/SearchInvariantsResponse.d.ts +8 -0
- package/dist/application/context/invariants/search/SearchInvariantsResponse.d.ts.map +1 -0
- package/dist/application/context/invariants/search/SearchInvariantsResponse.js +5 -0
- package/dist/application/context/invariants/search/SearchInvariantsResponse.js.map +1 -0
- package/dist/application/context/project/ProjectKnowledgeInventoryView.d.ts +12 -0
- package/dist/application/context/project/ProjectKnowledgeInventoryView.d.ts.map +1 -0
- package/dist/application/context/project/ProjectKnowledgeInventoryView.js +2 -0
- package/dist/application/context/project/ProjectKnowledgeInventoryView.js.map +1 -0
- package/dist/application/context/project/ProjectLifecycleState.d.ts +7 -0
- package/dist/application/context/project/ProjectLifecycleState.d.ts.map +1 -0
- package/dist/application/context/project/ProjectLifecycleState.js +2 -0
- package/dist/application/context/project/ProjectLifecycleState.js.map +1 -0
- package/dist/application/context/project/ProjectSummaryView.d.ts +2 -0
- package/dist/application/context/project/ProjectSummaryView.d.ts.map +1 -1
- package/dist/application/context/project/ProjectView.d.ts +2 -0
- package/dist/application/context/project/ProjectView.d.ts.map +1 -1
- package/dist/application/context/project/query/GetProjectSummaryQueryHandler.d.ts.map +1 -1
- package/dist/application/context/project/query/GetProjectSummaryQueryHandler.js +3 -0
- package/dist/application/context/project/query/GetProjectSummaryQueryHandler.js.map +1 -1
- package/dist/application/context/project/query/IProjectContextReader.d.ts +10 -0
- package/dist/application/context/project/query/IProjectContextReader.d.ts.map +1 -1
- package/dist/application/context/project/query/ProjectLifecycleClassifier.d.ts +9 -0
- package/dist/application/context/project/query/ProjectLifecycleClassifier.d.ts.map +1 -0
- package/dist/application/context/project/query/ProjectLifecycleClassifier.js +18 -0
- package/dist/application/context/project/query/ProjectLifecycleClassifier.js.map +1 -0
- package/dist/application/context/project/query/north-star/ProjectNorthStarView.d.ts +20 -0
- package/dist/application/context/project/query/north-star/ProjectNorthStarView.d.ts.map +1 -0
- package/dist/application/context/project/query/north-star/ProjectNorthStarView.js +2 -0
- package/dist/application/context/project/query/north-star/ProjectNorthStarView.js.map +1 -0
- package/dist/application/context/project/show/IShowProjectGateway.d.ts +6 -0
- package/dist/application/context/project/show/IShowProjectGateway.d.ts.map +1 -0
- package/dist/application/context/project/show/IShowProjectGateway.js +2 -0
- package/dist/application/context/project/show/IShowProjectGateway.js.map +1 -0
- package/dist/application/context/project/show/LocalShowProjectGateway.d.ts +16 -0
- package/dist/application/context/project/show/LocalShowProjectGateway.d.ts.map +1 -0
- package/dist/application/context/project/show/LocalShowProjectGateway.js +32 -0
- package/dist/application/context/project/show/LocalShowProjectGateway.js.map +1 -0
- package/dist/application/context/project/show/ShowProjectController.d.ts +9 -0
- package/dist/application/context/project/show/ShowProjectController.d.ts.map +1 -0
- package/dist/application/context/project/show/ShowProjectController.js +9 -0
- package/dist/application/context/project/show/ShowProjectController.js.map +1 -0
- package/dist/application/context/project/show/ShowProjectRequest.d.ts +4 -0
- package/dist/application/context/project/show/ShowProjectRequest.d.ts.map +1 -0
- package/dist/application/context/project/show/ShowProjectRequest.js +2 -0
- package/dist/application/context/project/show/ShowProjectRequest.js.map +1 -0
- package/dist/application/context/project/show/ShowProjectResponse.d.ts +7 -0
- package/dist/application/context/project/show/ShowProjectResponse.d.ts.map +1 -0
- package/dist/application/context/project/show/ShowProjectResponse.js +2 -0
- package/dist/application/context/project/show/ShowProjectResponse.js.map +1 -0
- package/dist/application/context/sessions/get/SessionContext.d.ts +2 -2
- package/dist/application/context/sessions/get/SessionContextQueryHandler.d.ts +1 -1
- package/dist/application/context/sessions/get/SessionContextQueryHandler.d.ts.map +1 -1
- package/dist/application/context/sessions/get/SessionContextQueryHandler.js +3 -1
- package/dist/application/context/sessions/get/SessionContextQueryHandler.js.map +1 -1
- package/dist/application/context/sessions/start/LocalStartSessionGateway.d.ts +2 -7
- package/dist/application/context/sessions/start/LocalStartSessionGateway.d.ts.map +1 -1
- package/dist/application/context/sessions/start/LocalStartSessionGateway.js +4 -35
- package/dist/application/context/sessions/start/LocalStartSessionGateway.js.map +1 -1
- package/dist/application/context/sessions/start/SessionStartResponse.d.ts +4 -4
- package/dist/application/context/sessions/start/SessionStartResponse.d.ts.map +1 -1
- package/dist/application/daemons/IProcessManager.d.ts +28 -0
- package/dist/application/daemons/IProcessManager.d.ts.map +1 -0
- package/dist/application/daemons/IProcessManager.js +2 -0
- package/dist/application/daemons/IProcessManager.js.map +1 -0
- package/dist/application/daemons/IShutdownSignal.d.ts +5 -0
- package/dist/application/daemons/IShutdownSignal.d.ts.map +1 -0
- package/dist/application/daemons/IShutdownSignal.js +2 -0
- package/dist/application/daemons/IShutdownSignal.js.map +1 -0
- package/dist/application/daemons/ITicker.d.ts +4 -0
- package/dist/application/daemons/ITicker.d.ts.map +1 -0
- package/dist/application/daemons/ITicker.js +2 -0
- package/dist/application/daemons/ITicker.js.map +1 -0
- package/dist/application/daemons/IWorkerDaemonProcessController.d.ts +30 -0
- package/dist/application/daemons/IWorkerDaemonProcessController.d.ts.map +1 -0
- package/dist/application/daemons/IWorkerDaemonProcessController.js +2 -0
- package/dist/application/daemons/IWorkerDaemonProcessController.js.map +1 -0
- package/dist/application/daemons/PollingLoop.d.ts +13 -0
- package/dist/application/daemons/PollingLoop.d.ts.map +1 -0
- package/dist/application/daemons/PollingLoop.js +15 -0
- package/dist/application/daemons/PollingLoop.js.map +1 -0
- package/dist/application/daemons/WorkerDaemonCatalog.d.ts +11 -0
- package/dist/application/daemons/WorkerDaemonCatalog.d.ts.map +1 -0
- package/dist/application/daemons/WorkerDaemonCatalog.js +12 -0
- package/dist/application/daemons/WorkerDaemonCatalog.js.map +1 -0
- package/dist/application/host/IApplicationContainer.d.ts +6 -0
- package/dist/application/host/IApplicationContainer.d.ts.map +1 -1
- package/dist/application/settings/Settings.d.ts +11 -0
- package/dist/application/settings/Settings.d.ts.map +1 -1
- package/dist/cli.js +68 -5
- package/dist/cli.js.map +1 -1
- package/dist/domain/project/JumboMdContent.js +1 -1
- package/dist/infrastructure/agents/AgentCliGateway.d.ts +15 -0
- package/dist/infrastructure/agents/AgentCliGateway.d.ts.map +1 -0
- package/dist/infrastructure/agents/AgentCliGateway.js +82 -0
- package/dist/infrastructure/agents/AgentCliGateway.js.map +1 -0
- package/dist/infrastructure/context/decisions/get/SqliteDecisionViewReader.d.ts +8 -0
- package/dist/infrastructure/context/decisions/get/SqliteDecisionViewReader.d.ts.map +1 -1
- package/dist/infrastructure/context/decisions/get/SqliteDecisionViewReader.js +45 -0
- package/dist/infrastructure/context/decisions/get/SqliteDecisionViewReader.js.map +1 -1
- package/dist/infrastructure/context/decisions/migrations/002-add-decision-search-indexes.sql +11 -0
- package/dist/infrastructure/context/dependencies/get/SqliteDependencyViewReader.d.ts +3 -0
- package/dist/infrastructure/context/dependencies/get/SqliteDependencyViewReader.d.ts.map +1 -1
- package/dist/infrastructure/context/dependencies/get/SqliteDependencyViewReader.js +57 -0
- package/dist/infrastructure/context/dependencies/get/SqliteDependencyViewReader.js.map +1 -1
- package/dist/infrastructure/context/dependencies/migrations/003-add-dependency-search-indexes.sql +12 -0
- package/dist/infrastructure/context/guidelines/get/SqliteGuidelineViewReader.d.ts +8 -0
- package/dist/infrastructure/context/guidelines/get/SqliteGuidelineViewReader.d.ts.map +1 -1
- package/dist/infrastructure/context/guidelines/get/SqliteGuidelineViewReader.js +31 -0
- package/dist/infrastructure/context/guidelines/get/SqliteGuidelineViewReader.js.map +1 -1
- package/dist/infrastructure/context/guidelines/migrations/003-add-guideline-search-indexes.sql +17 -0
- package/dist/infrastructure/context/invariants/get/SqliteInvariantViewReader.d.ts +8 -0
- package/dist/infrastructure/context/invariants/get/SqliteInvariantViewReader.d.ts.map +1 -1
- package/dist/infrastructure/context/invariants/get/SqliteInvariantViewReader.js +31 -0
- package/dist/infrastructure/context/invariants/get/SqliteInvariantViewReader.js.map +1 -1
- package/dist/infrastructure/context/invariants/migrations/003-add-invariant-search-indexes.sql +6 -0
- package/dist/infrastructure/context/project/query/SqliteProjectContextReader.d.ts +5 -0
- package/dist/infrastructure/context/project/query/SqliteProjectContextReader.d.ts.map +1 -1
- package/dist/infrastructure/context/project/query/SqliteProjectContextReader.js +34 -2
- package/dist/infrastructure/context/project/query/SqliteProjectContextReader.js.map +1 -1
- package/dist/infrastructure/daemons/IntervalTicker.d.ts +7 -0
- package/dist/infrastructure/daemons/IntervalTicker.d.ts.map +1 -0
- package/dist/infrastructure/daemons/IntervalTicker.js +11 -0
- package/dist/infrastructure/daemons/IntervalTicker.js.map +1 -0
- package/dist/infrastructure/daemons/NodeWorkerDaemonProcessController.d.ts +12 -0
- package/dist/infrastructure/daemons/NodeWorkerDaemonProcessController.d.ts.map +1 -0
- package/dist/infrastructure/daemons/NodeWorkerDaemonProcessController.js +56 -0
- package/dist/infrastructure/daemons/NodeWorkerDaemonProcessController.js.map +1 -0
- package/dist/infrastructure/daemons/ProcessSignalSource.d.ts +10 -0
- package/dist/infrastructure/daemons/ProcessSignalSource.d.ts.map +1 -0
- package/dist/infrastructure/daemons/ProcessSignalSource.js +24 -0
- package/dist/infrastructure/daemons/ProcessSignalSource.js.map +1 -0
- package/dist/infrastructure/host/HostBuilder.d.ts.map +1 -1
- package/dist/infrastructure/host/HostBuilder.js +16 -1
- package/dist/infrastructure/host/HostBuilder.js.map +1 -1
- package/dist/infrastructure/logging/FileLogger.js +1 -1
- package/dist/infrastructure/settings/DefaultSettings.d.ts.map +1 -1
- package/dist/infrastructure/settings/DefaultSettings.js +3 -0
- package/dist/infrastructure/settings/DefaultSettings.js.map +1 -1
- package/dist/infrastructure/settings/FsSettingsInitializer.d.ts.map +1 -1
- package/dist/infrastructure/settings/FsSettingsInitializer.js +6 -0
- package/dist/infrastructure/settings/FsSettingsInitializer.js.map +1 -1
- package/dist/infrastructure/settings/FsSettingsReader.d.ts.map +1 -1
- package/dist/infrastructure/settings/FsSettingsReader.js +10 -0
- package/dist/infrastructure/settings/FsSettingsReader.js.map +1 -1
- package/dist/presentation/cli/AppRunner.d.ts +7 -1
- package/dist/presentation/cli/AppRunner.d.ts.map +1 -1
- package/dist/presentation/cli/AppRunner.js +10 -5
- package/dist/presentation/cli/AppRunner.js.map +1 -1
- package/dist/presentation/cli/CliBootstrapPlan.d.ts +12 -0
- package/dist/presentation/cli/CliBootstrapPlan.d.ts.map +1 -0
- package/dist/presentation/cli/CliBootstrapPlan.js +23 -0
- package/dist/presentation/cli/CliBootstrapPlan.js.map +1 -0
- package/dist/presentation/cli/banner/AnimationFrames.d.ts +6 -1
- package/dist/presentation/cli/banner/AnimationFrames.d.ts.map +1 -1
- package/dist/presentation/cli/banner/AnimationFrames.js +307 -288
- package/dist/presentation/cli/banner/AnimationFrames.js.map +1 -1
- package/dist/presentation/cli/commands/decisions/search/DecisionSearchOutputBuilder.d.ts +17 -0
- package/dist/presentation/cli/commands/decisions/search/DecisionSearchOutputBuilder.d.ts.map +1 -0
- package/dist/presentation/cli/commands/decisions/search/DecisionSearchOutputBuilder.js +90 -0
- package/dist/presentation/cli/commands/decisions/search/DecisionSearchOutputBuilder.js.map +1 -0
- package/dist/presentation/cli/commands/decisions/search/decisions.search.d.ts +22 -0
- package/dist/presentation/cli/commands/decisions/search/decisions.search.d.ts.map +1 -0
- package/dist/presentation/cli/commands/decisions/search/decisions.search.js +93 -0
- package/dist/presentation/cli/commands/decisions/search/decisions.search.js.map +1 -0
- package/dist/presentation/cli/commands/dependencies/search/DependencySearchOutputBuilder.d.ts +16 -0
- package/dist/presentation/cli/commands/dependencies/search/DependencySearchOutputBuilder.d.ts.map +1 -0
- package/dist/presentation/cli/commands/dependencies/search/DependencySearchOutputBuilder.js +85 -0
- package/dist/presentation/cli/commands/dependencies/search/DependencySearchOutputBuilder.js.map +1 -0
- package/dist/presentation/cli/commands/dependencies/search/dependencies.search.d.ts +21 -0
- package/dist/presentation/cli/commands/dependencies/search/dependencies.search.d.ts.map +1 -0
- package/dist/presentation/cli/commands/dependencies/search/dependencies.search.js +111 -0
- package/dist/presentation/cli/commands/dependencies/search/dependencies.search.js.map +1 -0
- package/dist/presentation/cli/commands/guidelines/search/GuidelineSearchOutputBuilder.d.ts +22 -0
- package/dist/presentation/cli/commands/guidelines/search/GuidelineSearchOutputBuilder.d.ts.map +1 -0
- package/dist/presentation/cli/commands/guidelines/search/GuidelineSearchOutputBuilder.js +86 -0
- package/dist/presentation/cli/commands/guidelines/search/GuidelineSearchOutputBuilder.js.map +1 -0
- package/dist/presentation/cli/commands/guidelines/search/guidelines.search.d.ts +21 -0
- package/dist/presentation/cli/commands/guidelines/search/guidelines.search.d.ts.map +1 -0
- package/dist/presentation/cli/commands/guidelines/search/guidelines.search.js +92 -0
- package/dist/presentation/cli/commands/guidelines/search/guidelines.search.js.map +1 -0
- package/dist/presentation/cli/commands/invariants/search/InvariantSearchOutputBuilder.d.ts +22 -0
- package/dist/presentation/cli/commands/invariants/search/InvariantSearchOutputBuilder.d.ts.map +1 -0
- package/dist/presentation/cli/commands/invariants/search/InvariantSearchOutputBuilder.js +79 -0
- package/dist/presentation/cli/commands/invariants/search/InvariantSearchOutputBuilder.js.map +1 -0
- package/dist/presentation/cli/commands/invariants/search/invariants.search.d.ts +20 -0
- package/dist/presentation/cli/commands/invariants/search/invariants.search.d.ts.map +1 -0
- package/dist/presentation/cli/commands/invariants/search/invariants.search.js +80 -0
- package/dist/presentation/cli/commands/invariants/search/invariants.search.js.map +1 -0
- package/dist/presentation/cli/commands/project/show/ProjectShowOutputBuilder.d.ts +14 -0
- package/dist/presentation/cli/commands/project/show/ProjectShowOutputBuilder.d.ts.map +1 -0
- package/dist/presentation/cli/commands/project/show/ProjectShowOutputBuilder.js +84 -0
- package/dist/presentation/cli/commands/project/show/ProjectShowOutputBuilder.js.map +1 -0
- package/dist/presentation/cli/commands/project/show/project.show.d.ts +12 -0
- package/dist/presentation/cli/commands/project/show/project.show.d.ts.map +1 -0
- package/dist/presentation/cli/commands/project/show/project.show.js +59 -0
- package/dist/presentation/cli/commands/project/show/project.show.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 +30 -0
- package/dist/presentation/cli/commands/registry/generated-commands.js.map +1 -1
- package/dist/presentation/cli/commands/sessions/start/SessionContextOutputBuilder.d.ts +1 -1
- package/dist/presentation/cli/commands/sessions/start/SessionContextOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/sessions/start/SessionContextOutputBuilder.js +3 -2
- package/dist/presentation/cli/commands/sessions/start/SessionContextOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/sessions/start/SessionStartOutputBuilder.d.ts +8 -9
- package/dist/presentation/cli/commands/sessions/start/SessionStartOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/sessions/start/SessionStartOutputBuilder.js +107 -42
- package/dist/presentation/cli/commands/sessions/start/SessionStartOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/sessions/start/SessionStartTextRenderer.d.ts +3 -2
- package/dist/presentation/cli/commands/sessions/start/SessionStartTextRenderer.d.ts.map +1 -1
- package/dist/presentation/cli/commands/sessions/start/SessionStartTextRenderer.js +24 -10
- package/dist/presentation/cli/commands/sessions/start/SessionStartTextRenderer.js.map +1 -1
- package/dist/presentation/cli/commands/sessions/start/session.start.d.ts.map +1 -1
- package/dist/presentation/cli/commands/sessions/start/session.start.js +2 -5
- package/dist/presentation/cli/commands/sessions/start/session.start.js.map +1 -1
- package/dist/presentation/cli/commands/work/shared/AgentSpawner.d.ts +7 -4
- package/dist/presentation/cli/commands/work/shared/AgentSpawner.d.ts.map +1 -1
- package/dist/presentation/cli/commands/work/shared/AgentSpawner.js +11 -4
- package/dist/presentation/cli/commands/work/shared/AgentSpawner.js.map +1 -1
- package/dist/presentation/shared/DesignTokens.d.ts +94 -0
- package/dist/presentation/shared/DesignTokens.d.ts.map +1 -0
- package/dist/presentation/shared/DesignTokens.js +94 -0
- package/dist/presentation/shared/DesignTokens.js.map +1 -0
- package/dist/presentation/tui/action-dispatch/TuiActionDispatcher.d.ts +12 -0
- package/dist/presentation/tui/action-dispatch/TuiActionDispatcher.d.ts.map +1 -0
- package/dist/presentation/tui/action-dispatch/TuiActionDispatcher.js +21 -0
- package/dist/presentation/tui/action-dispatch/TuiActionDispatcher.js.map +1 -0
- package/dist/presentation/tui/application-shell/Footer.d.ts +16 -0
- package/dist/presentation/tui/application-shell/Footer.d.ts.map +1 -0
- package/dist/presentation/tui/application-shell/Footer.js +37 -0
- package/dist/presentation/tui/application-shell/Footer.js.map +1 -0
- package/dist/presentation/tui/application-shell/Header.d.ts +10 -0
- package/dist/presentation/tui/application-shell/Header.d.ts.map +1 -0
- package/dist/presentation/tui/application-shell/Header.js +44 -0
- package/dist/presentation/tui/application-shell/Header.js.map +1 -0
- package/dist/presentation/tui/application-shell/NotificationDrawer.d.ts +16 -0
- package/dist/presentation/tui/application-shell/NotificationDrawer.d.ts.map +1 -0
- package/dist/presentation/tui/application-shell/NotificationDrawer.js +56 -0
- package/dist/presentation/tui/application-shell/NotificationDrawer.js.map +1 -0
- package/dist/presentation/tui/application-shell/TuiApp.d.ts +25 -0
- package/dist/presentation/tui/application-shell/TuiApp.d.ts.map +1 -0
- package/dist/presentation/tui/application-shell/TuiApp.js +230 -0
- package/dist/presentation/tui/application-shell/TuiApp.js.map +1 -0
- package/dist/presentation/tui/application-shell/TuiApplicationLauncher.d.ts +19 -0
- package/dist/presentation/tui/application-shell/TuiApplicationLauncher.d.ts.map +1 -0
- package/dist/presentation/tui/application-shell/TuiApplicationLauncher.js +46 -0
- package/dist/presentation/tui/application-shell/TuiApplicationLauncher.js.map +1 -0
- package/dist/presentation/tui/billboard/AnimatedBillboard.d.ts +11 -0
- package/dist/presentation/tui/billboard/AnimatedBillboard.d.ts.map +1 -0
- package/dist/presentation/tui/billboard/AnimatedBillboard.js +406 -0
- package/dist/presentation/tui/billboard/AnimatedBillboard.js.map +1 -0
- package/dist/presentation/tui/cockpit/AnimatedBanner.d.ts +13 -0
- package/dist/presentation/tui/cockpit/AnimatedBanner.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/AnimatedBanner.js +193 -0
- package/dist/presentation/tui/cockpit/AnimatedBanner.js.map +1 -0
- package/dist/presentation/tui/cockpit/CenteredPrompt.d.ts +10 -0
- package/dist/presentation/tui/cockpit/CenteredPrompt.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CenteredPrompt.js +14 -0
- package/dist/presentation/tui/cockpit/CenteredPrompt.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonConfiguration.d.ts +8 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonConfiguration.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonConfiguration.js +33 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonConfiguration.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonEvents.d.ts +14 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonEvents.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonEvents.js +146 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonEvents.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonFrames.d.ts +39 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonFrames.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonFrames.js +183 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonFrames.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonPanel.d.ts +27 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonPanel.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonPanel.js +108 -0
- package/dist/presentation/tui/cockpit/CockpitDaemonPanel.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitGreeterView.d.ts +3 -0
- package/dist/presentation/tui/cockpit/CockpitGreeterView.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitGreeterView.js +17 -0
- package/dist/presentation/tui/cockpit/CockpitGreeterView.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchpadView.d.ts +25 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchpadView.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchpadView.js +217 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchpadView.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchpadWelcome.d.ts +3 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchpadWelcome.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchpadWelcome.js +16 -0
- package/dist/presentation/tui/cockpit/CockpitLaunchpadWelcome.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitPrimedEmptyView.d.ts +3 -0
- package/dist/presentation/tui/cockpit/CockpitPrimedEmptyView.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitPrimedEmptyView.js +22 -0
- package/dist/presentation/tui/cockpit/CockpitPrimedEmptyView.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitScreen.d.ts +20 -0
- package/dist/presentation/tui/cockpit/CockpitScreen.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitScreen.js +55 -0
- package/dist/presentation/tui/cockpit/CockpitScreen.js.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitUnprimedView.d.ts +3 -0
- package/dist/presentation/tui/cockpit/CockpitUnprimedView.d.ts.map +1 -0
- package/dist/presentation/tui/cockpit/CockpitUnprimedView.js +27 -0
- package/dist/presentation/tui/cockpit/CockpitUnprimedView.js.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/ISubprocessManager.d.ts +42 -0
- package/dist/presentation/tui/daemon-subprocesses/ISubprocessManager.d.ts.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/ISubprocessManager.js +2 -0
- package/dist/presentation/tui/daemon-subprocesses/ISubprocessManager.js.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/NoOpSubprocessManager.d.ts +11 -0
- package/dist/presentation/tui/daemon-subprocesses/NoOpSubprocessManager.d.ts.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/NoOpSubprocessManager.js +30 -0
- package/dist/presentation/tui/daemon-subprocesses/NoOpSubprocessManager.js.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/SubprocessManagerContext.d.ts +8 -0
- package/dist/presentation/tui/daemon-subprocesses/SubprocessManagerContext.d.ts.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/SubprocessManagerContext.js +10 -0
- package/dist/presentation/tui/daemon-subprocesses/SubprocessManagerContext.js.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessManager.d.ts +22 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessManager.d.ts.map +1 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessManager.js +257 -0
- package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessManager.js.map +1 -0
- package/dist/presentation/tui/goals/GoalAuthoringFlow.d.ts +22 -0
- package/dist/presentation/tui/goals/GoalAuthoringFlow.d.ts.map +1 -0
- package/dist/presentation/tui/goals/GoalAuthoringFlow.js +227 -0
- package/dist/presentation/tui/goals/GoalAuthoringFlow.js.map +1 -0
- package/dist/presentation/tui/goals/GoalsScreen.d.ts +3 -0
- package/dist/presentation/tui/goals/GoalsScreen.d.ts.map +1 -0
- package/dist/presentation/tui/goals/GoalsScreen.js +159 -0
- package/dist/presentation/tui/goals/GoalsScreen.js.map +1 -0
- package/dist/presentation/tui/index.d.ts +8 -0
- package/dist/presentation/tui/index.d.ts.map +1 -0
- package/dist/presentation/tui/index.js +5 -0
- package/dist/presentation/tui/index.js.map +1 -0
- package/dist/presentation/tui/memory/MemoryScreen.d.ts +3 -0
- package/dist/presentation/tui/memory/MemoryScreen.d.ts.map +1 -0
- package/dist/presentation/tui/memory/MemoryScreen.js +13 -0
- package/dist/presentation/tui/memory/MemoryScreen.js.map +1 -0
- package/dist/presentation/tui/memory/components/ComponentAddFlow.d.ts +14 -0
- package/dist/presentation/tui/memory/components/ComponentAddFlow.d.ts.map +1 -0
- package/dist/presentation/tui/memory/components/ComponentAddFlow.js +46 -0
- package/dist/presentation/tui/memory/components/ComponentAddFlow.js.map +1 -0
- package/dist/presentation/tui/memory/components/ComponentsScreen.d.ts +3 -0
- package/dist/presentation/tui/memory/components/ComponentsScreen.d.ts.map +1 -0
- package/dist/presentation/tui/memory/components/ComponentsScreen.js +17 -0
- package/dist/presentation/tui/memory/components/ComponentsScreen.js.map +1 -0
- package/dist/presentation/tui/memory/decisions/DecisionAddFlow.d.ts +15 -0
- package/dist/presentation/tui/memory/decisions/DecisionAddFlow.d.ts.map +1 -0
- package/dist/presentation/tui/memory/decisions/DecisionAddFlow.js +63 -0
- package/dist/presentation/tui/memory/decisions/DecisionAddFlow.js.map +1 -0
- package/dist/presentation/tui/memory/decisions/DecisionsScreen.d.ts +3 -0
- package/dist/presentation/tui/memory/decisions/DecisionsScreen.d.ts.map +1 -0
- package/dist/presentation/tui/memory/decisions/DecisionsScreen.js +18 -0
- package/dist/presentation/tui/memory/decisions/DecisionsScreen.js.map +1 -0
- package/dist/presentation/tui/memory/dependencies/DependenciesScreen.d.ts +3 -0
- package/dist/presentation/tui/memory/dependencies/DependenciesScreen.d.ts.map +1 -0
- package/dist/presentation/tui/memory/dependencies/DependenciesScreen.js +19 -0
- package/dist/presentation/tui/memory/dependencies/DependenciesScreen.js.map +1 -0
- package/dist/presentation/tui/memory/dependencies/DependencyAddFlow.d.ts +16 -0
- package/dist/presentation/tui/memory/dependencies/DependencyAddFlow.d.ts.map +1 -0
- package/dist/presentation/tui/memory/dependencies/DependencyAddFlow.js +56 -0
- package/dist/presentation/tui/memory/dependencies/DependencyAddFlow.js.map +1 -0
- package/dist/presentation/tui/memory/entity-browser/EntityColumn.d.ts +14 -0
- package/dist/presentation/tui/memory/entity-browser/EntityColumn.d.ts.map +1 -0
- package/dist/presentation/tui/memory/entity-browser/EntityColumn.js +21 -0
- package/dist/presentation/tui/memory/entity-browser/EntityColumn.js.map +1 -0
- package/dist/presentation/tui/memory/entity-browser/EntityDetailView.d.ts +10 -0
- package/dist/presentation/tui/memory/entity-browser/EntityDetailView.d.ts.map +1 -0
- package/dist/presentation/tui/memory/entity-browser/EntityDetailView.js +85 -0
- package/dist/presentation/tui/memory/entity-browser/EntityDetailView.js.map +1 -0
- package/dist/presentation/tui/memory/entity-browser/MemoryEntityScreen.d.ts +13 -0
- package/dist/presentation/tui/memory/entity-browser/MemoryEntityScreen.d.ts.map +1 -0
- package/dist/presentation/tui/memory/entity-browser/MemoryEntityScreen.js +80 -0
- package/dist/presentation/tui/memory/entity-browser/MemoryEntityScreen.js.map +1 -0
- package/dist/presentation/tui/memory/entity-browser/MemoryEntityShapes.d.ts +41 -0
- package/dist/presentation/tui/memory/entity-browser/MemoryEntityShapes.d.ts.map +1 -0
- package/dist/presentation/tui/memory/entity-browser/MemoryEntityShapes.js +2 -0
- package/dist/presentation/tui/memory/entity-browser/MemoryEntityShapes.js.map +1 -0
- package/dist/presentation/tui/memory/guidelines/GuidelineAddFlow.d.ts +15 -0
- package/dist/presentation/tui/memory/guidelines/GuidelineAddFlow.d.ts.map +1 -0
- package/dist/presentation/tui/memory/guidelines/GuidelineAddFlow.js +57 -0
- package/dist/presentation/tui/memory/guidelines/GuidelineAddFlow.js.map +1 -0
- package/dist/presentation/tui/memory/guidelines/GuidelinesScreen.d.ts +3 -0
- package/dist/presentation/tui/memory/guidelines/GuidelinesScreen.d.ts.map +1 -0
- package/dist/presentation/tui/memory/guidelines/GuidelinesScreen.js +18 -0
- package/dist/presentation/tui/memory/guidelines/GuidelinesScreen.js.map +1 -0
- package/dist/presentation/tui/memory/invariants/InvariantAddFlow.d.ts +13 -0
- package/dist/presentation/tui/memory/invariants/InvariantAddFlow.d.ts.map +1 -0
- package/dist/presentation/tui/memory/invariants/InvariantAddFlow.js +41 -0
- package/dist/presentation/tui/memory/invariants/InvariantAddFlow.js.map +1 -0
- package/dist/presentation/tui/memory/invariants/InvariantsScreen.d.ts +3 -0
- package/dist/presentation/tui/memory/invariants/InvariantsScreen.d.ts.map +1 -0
- package/dist/presentation/tui/memory/invariants/InvariantsScreen.js +16 -0
- package/dist/presentation/tui/memory/invariants/InvariantsScreen.js.map +1 -0
- package/dist/presentation/tui/navigation/MegaMenu.d.ts +10 -0
- package/dist/presentation/tui/navigation/MegaMenu.d.ts.map +1 -0
- package/dist/presentation/tui/navigation/MegaMenu.js +164 -0
- package/dist/presentation/tui/navigation/MegaMenu.js.map +1 -0
- package/dist/presentation/tui/navigation/MegaMenuDefinitions.d.ts +17 -0
- package/dist/presentation/tui/navigation/MegaMenuDefinitions.d.ts.map +1 -0
- package/dist/presentation/tui/navigation/MegaMenuDefinitions.js +162 -0
- package/dist/presentation/tui/navigation/MegaMenuDefinitions.js.map +1 -0
- package/dist/presentation/tui/navigation/ScreenDefinitions.d.ts +36 -0
- package/dist/presentation/tui/navigation/ScreenDefinitions.d.ts.map +1 -0
- package/dist/presentation/tui/navigation/ScreenDefinitions.js +12 -0
- package/dist/presentation/tui/navigation/ScreenDefinitions.js.map +1 -0
- package/dist/presentation/tui/navigation/ScreenRouter.d.ts +19 -0
- package/dist/presentation/tui/navigation/ScreenRouter.d.ts.map +1 -0
- package/dist/presentation/tui/navigation/ScreenRouter.js +31 -0
- package/dist/presentation/tui/navigation/ScreenRouter.js.map +1 -0
- package/dist/presentation/tui/project-initialization/InitFlow.d.ts +24 -0
- package/dist/presentation/tui/project-initialization/InitFlow.d.ts.map +1 -0
- package/dist/presentation/tui/project-initialization/InitFlow.js +629 -0
- package/dist/presentation/tui/project-initialization/InitFlow.js.map +1 -0
- package/dist/presentation/tui/sessions/SessionScreen.d.ts +3 -0
- package/dist/presentation/tui/sessions/SessionScreen.d.ts.map +1 -0
- package/dist/presentation/tui/sessions/SessionScreen.js +38 -0
- package/dist/presentation/tui/sessions/SessionScreen.js.map +1 -0
- package/dist/presentation/tui/state-reading/TuiStateReader.d.ts +58 -0
- package/dist/presentation/tui/state-reading/TuiStateReader.d.ts.map +1 -0
- package/dist/presentation/tui/state-reading/TuiStateReader.js +150 -0
- package/dist/presentation/tui/state-reading/TuiStateReader.js.map +1 -0
- package/dist/presentation/tui/ui-primitives/DetailPane.d.ts +15 -0
- package/dist/presentation/tui/ui-primitives/DetailPane.d.ts.map +1 -0
- package/dist/presentation/tui/ui-primitives/DetailPane.js +12 -0
- package/dist/presentation/tui/ui-primitives/DetailPane.js.map +1 -0
- package/dist/presentation/tui/ui-primitives/KeyBadge.d.ts +11 -0
- package/dist/presentation/tui/ui-primitives/KeyBadge.d.ts.map +1 -0
- package/dist/presentation/tui/ui-primitives/KeyBadge.js +9 -0
- package/dist/presentation/tui/ui-primitives/KeyBadge.js.map +1 -0
- package/dist/presentation/tui/ui-primitives/ListPanel.d.ts +16 -0
- package/dist/presentation/tui/ui-primitives/ListPanel.d.ts.map +1 -0
- package/dist/presentation/tui/ui-primitives/ListPanel.js +15 -0
- package/dist/presentation/tui/ui-primitives/ListPanel.js.map +1 -0
- package/dist/presentation/tui/ui-primitives/Panel.d.ts +15 -0
- package/dist/presentation/tui/ui-primitives/Panel.d.ts.map +1 -0
- package/dist/presentation/tui/ui-primitives/Panel.js +9 -0
- package/dist/presentation/tui/ui-primitives/Panel.js.map +1 -0
- package/dist/presentation/tui/ui-primitives/SectionHeading.d.ts +8 -0
- package/dist/presentation/tui/ui-primitives/SectionHeading.d.ts.map +1 -0
- package/dist/presentation/tui/ui-primitives/SectionHeading.js +9 -0
- package/dist/presentation/tui/ui-primitives/SectionHeading.js.map +1 -0
- package/dist/presentation/tui/ui-primitives/StatusIndicator.d.ts +9 -0
- package/dist/presentation/tui/ui-primitives/StatusIndicator.d.ts.map +1 -0
- package/dist/presentation/tui/ui-primitives/StatusIndicator.js +21 -0
- package/dist/presentation/tui/ui-primitives/StatusIndicator.js.map +1 -0
- package/dist/presentation/tui/ui-primitives/Tumbler.d.ts +18 -0
- package/dist/presentation/tui/ui-primitives/Tumbler.d.ts.map +1 -0
- package/dist/presentation/tui/ui-primitives/Tumbler.js +101 -0
- package/dist/presentation/tui/ui-primitives/Tumbler.js.map +1 -0
- package/dist/presentation/tui/wizard/Wizard.d.ts +53 -0
- package/dist/presentation/tui/wizard/Wizard.d.ts.map +1 -0
- package/dist/presentation/tui/wizard/Wizard.js +385 -0
- package/dist/presentation/tui/wizard/Wizard.js.map +1 -0
- package/dist/presentation/tui/wizard/WizardTextInput.d.ts +12 -0
- package/dist/presentation/tui/wizard/WizardTextInput.d.ts.map +1 -0
- package/dist/presentation/tui/wizard/WizardTextInput.js +39 -0
- package/dist/presentation/tui/wizard/WizardTextInput.js.map +1 -0
- package/dist/presentation/work/codifier.daemon.d.ts +3 -0
- package/dist/presentation/work/codifier.daemon.d.ts.map +1 -0
- package/dist/presentation/work/codifier.daemon.js +75 -0
- package/dist/presentation/work/codifier.daemon.js.map +1 -0
- package/dist/presentation/work/refiner.daemon.d.ts +3 -0
- package/dist/presentation/work/refiner.daemon.d.ts.map +1 -0
- package/dist/presentation/work/refiner.daemon.js +60 -0
- package/dist/presentation/work/refiner.daemon.js.map +1 -0
- package/dist/presentation/work/reviewer.daemon.d.ts +3 -0
- package/dist/presentation/work/reviewer.daemon.d.ts.map +1 -0
- package/dist/presentation/work/reviewer.daemon.js +60 -0
- package/dist/presentation/work/reviewer.daemon.js.map +1 -0
- package/package.json +5 -1
- package/dist/application/context/project/get/ContextualProjectView.d.ts +0 -24
- package/dist/application/context/project/get/ContextualProjectView.d.ts.map +0 -1
- package/dist/application/context/project/get/ContextualProjectView.js +0 -2
- package/dist/application/context/project/get/ContextualProjectView.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SessionStartOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/sessions/start/SessionStartOutputBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAC;
|
|
1
|
+
{"version":3,"file":"SessionStartOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/sessions/start/SessionStartOutputBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAC;AAIjF,MAAM,6BAA6B,GAAG,8BAA8B,CAAC;AACrE,MAAM,0BAA0B,GAAG,gBAAgB,CAAC;AACpD,MAAM,qBAAqB,GAAG,gCAAgC,CAAC;AAC/D,MAAM,qBAAqB,GAAG,6BAA6B,CAAC;AAC5D,MAAM,aAAa,GACjB,oJAAoJ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AkF;YAClF,gFAAgF;YAChF,EAAE;YACF,yDAAyD;YACzD,2EAA2E;YAC3E,kFAAkF;YAClF,2EAA2E;YAC3E,qFAAqF;YACrF,kFAAkF;YAClF,EAAE;YACF,mDAAmD;SACpD,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACf,CAAC;CACF"}
|
|
@@ -15,15 +15,16 @@ export interface SessionStartStructuredContext {
|
|
|
15
15
|
/**
|
|
16
16
|
* SessionStartTextRenderer - Formats session start context for LLM orientation.
|
|
17
17
|
*
|
|
18
|
-
* Delegates to
|
|
18
|
+
* Delegates to session context and goals builders for legacy resume context.
|
|
19
19
|
* Retained for backward compatibility with existing callers and tests.
|
|
20
20
|
*/
|
|
21
21
|
export declare class SessionStartTextRenderer {
|
|
22
|
-
private readonly sessionStartOutputBuilder;
|
|
23
22
|
private readonly sessionContextOutputBuilder;
|
|
23
|
+
private readonly sessionGoalsOutputBuilder;
|
|
24
24
|
constructor();
|
|
25
25
|
render(context: EnrichedSessionContext): SessionStartTextRenderResult;
|
|
26
26
|
buildStructuredContext(context: EnrichedSessionContext): SessionStartStructuredContext;
|
|
27
27
|
renderSessionSummary(context: EnrichedSessionContext): string;
|
|
28
|
+
private getAllGoals;
|
|
28
29
|
}
|
|
29
30
|
//# sourceMappingURL=SessionStartTextRenderer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SessionStartTextRenderer.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/sessions/start/SessionStartTextRenderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,2EAA2E,CAAC;AAInH,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC;IAC1B,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;CACjC;AAED,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IACxD,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,QAAQ,CAAC,eAAe,EAAE;QACxB,QAAQ,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;QACvC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;KAC5B,CAAC;CACH;AAED;;;;;GAKG;AACH,qBAAa,wBAAwB;IACnC,OAAO,CAAC,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"SessionStartTextRenderer.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/sessions/start/SessionStartTextRenderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,2EAA2E,CAAC;AAInH,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC;IAC1B,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;CACjC;AAED,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IACxD,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,QAAQ,CAAC,eAAe,EAAE;QACxB,QAAQ,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;QACvC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;KAC5B,CAAC;CACH;AAED;;;;;GAKG;AACH,qBAAa,wBAAwB;IACnC,OAAO,CAAC,QAAQ,CAAC,2BAA2B,CAA8B;IAC1E,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAA4B;;IAOtE,MAAM,CAAC,OAAO,EAAE,sBAAsB,GAAG,4BAA4B;IAwBrE,sBAAsB,CAAC,OAAO,EAAE,sBAAsB,GAAG,6BAA6B;IAetF,oBAAoB,CAAC,OAAO,EAAE,sBAAsB,GAAG,MAAM;IAI7D,OAAO,CAAC,WAAW;CAOpB"}
|
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
import { SessionStartOutputBuilder } from "./SessionStartOutputBuilder.js";
|
|
2
1
|
import { SessionContextOutputBuilder } from "./SessionContextOutputBuilder.js";
|
|
2
|
+
import { SessionGoalsOutputBuilder } from "./SessionGoalsOutputBuilder.js";
|
|
3
3
|
/**
|
|
4
4
|
* SessionStartTextRenderer - Formats session start context for LLM orientation.
|
|
5
5
|
*
|
|
6
|
-
* Delegates to
|
|
6
|
+
* Delegates to session context and goals builders for legacy resume context.
|
|
7
7
|
* Retained for backward compatibility with existing callers and tests.
|
|
8
8
|
*/
|
|
9
9
|
export class SessionStartTextRenderer {
|
|
10
10
|
constructor() {
|
|
11
|
-
this.sessionStartOutputBuilder = new SessionStartOutputBuilder();
|
|
12
11
|
this.sessionContextOutputBuilder = new SessionContextOutputBuilder();
|
|
12
|
+
this.sessionGoalsOutputBuilder = new SessionGoalsOutputBuilder();
|
|
13
13
|
}
|
|
14
14
|
render(context) {
|
|
15
|
-
const
|
|
16
|
-
|
|
15
|
+
const sections = [
|
|
16
|
+
...this.sessionContextOutputBuilder.buildSessionContext(context).getSections(),
|
|
17
|
+
...this.sessionGoalsOutputBuilder.buildGoalsOutput(this.getAllGoals(context)).getSections(),
|
|
18
|
+
];
|
|
19
|
+
const blocks = sections
|
|
17
20
|
.filter(s => s.type === "prompt" && s.content)
|
|
18
21
|
.map(s => s.content);
|
|
19
22
|
// Last two sections are the separator and goal start instruction.
|
|
@@ -28,16 +31,27 @@ export class SessionStartTextRenderer {
|
|
|
28
31
|
return { blocks, llmInstruction };
|
|
29
32
|
}
|
|
30
33
|
buildStructuredContext(context) {
|
|
31
|
-
const
|
|
34
|
+
const contextData = this.sessionContextOutputBuilder.buildStructuredSessionContext(context);
|
|
35
|
+
const goalsData = this.sessionGoalsOutputBuilder.buildStructuredGoals(this.getAllGoals(context));
|
|
32
36
|
return {
|
|
33
|
-
projectContext:
|
|
34
|
-
sessionContext:
|
|
35
|
-
goals:
|
|
36
|
-
llmInstructions:
|
|
37
|
+
projectContext: contextData.projectContext,
|
|
38
|
+
sessionContext: contextData.sessionContext,
|
|
39
|
+
goals: goalsData.goals,
|
|
40
|
+
llmInstructions: {
|
|
41
|
+
sessionContext: contextData.llmSessionContextInstruction,
|
|
42
|
+
goalStart: goalsData.llmGoalStartInstruction,
|
|
43
|
+
},
|
|
37
44
|
};
|
|
38
45
|
}
|
|
39
46
|
renderSessionSummary(context) {
|
|
40
47
|
return this.sessionContextOutputBuilder.renderSessionSummary(context);
|
|
41
48
|
}
|
|
49
|
+
getAllGoals(context) {
|
|
50
|
+
return [
|
|
51
|
+
...context.context.activeGoals,
|
|
52
|
+
...context.context.pausedGoals,
|
|
53
|
+
...context.context.plannedGoals,
|
|
54
|
+
];
|
|
55
|
+
}
|
|
42
56
|
}
|
|
43
57
|
//# sourceMappingURL=SessionStartTextRenderer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SessionStartTextRenderer.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/sessions/start/SessionStartTextRenderer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"SessionStartTextRenderer.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/sessions/start/SessionStartTextRenderer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAiB3E;;;;;GAKG;AACH,MAAM,OAAO,wBAAwB;IAInC;QACE,IAAI,CAAC,2BAA2B,GAAG,IAAI,2BAA2B,EAAE,C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B,CAAC,6BAA6B,CAAC,OAAO,CAAC,CAAC;QAC5F,MAAM,SAAS,GAAG,IAAI,CAAC,yBAAyB,CAAC,oBAAoB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC;QAEjG,OAAO;YACL,cAAc,EAAE,WAAW,CAAC,cAAc;YAC1C,cAAc,EAAE,WAAW,CAAC,cAAc;YAC1C,KAAK,EAAE,SAAS,CAAC,KAAK;YACtB,eAAe,EAAE;gBACf,cAAc,EAAE,WAAW,CAAC,4BAA4B;gBACxD,SAAS,EAAE,SAAS,CAAC,uBAAuB;aAC7C;SACF,CAAC;IACJ,CAAC;IAED,oBAAoB,CAAC,OAA+B;QAClD,OAAO,IAAI,CAAC,2BAA2B,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;IACxE,CAAC;IAEO,WAAW,CAAC,OAA+B;QACjD,OAAO;YACL,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW;YAC9B,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW;YAC9B,GAAG,OAAO,CAAC,OAAO,CAAC,YAAY;SAChC,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session.start.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/sessions/start/session.start.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,0DAA0D,CAAC;AAIjG;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,eAYtB,CAAC;AAEF;;;;;;;;;GASG;AACH,wBAAsB,YAAY,CAChC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAC9B,SAAS,EAAE,qBAAqB,
|
|
1
|
+
{"version":3,"file":"session.start.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/sessions/start/session.start.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,0DAA0D,CAAC;AAIjG;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,eAYtB,CAAC;AAEF;;;;;;;;;GASG;AACH,wBAAsB,YAAY,CAChC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAC9B,SAAS,EAAE,qBAAqB,iBA6BjC"}
|
|
@@ -36,22 +36,19 @@ export async function sessionStart(options, container) {
|
|
|
36
36
|
try {
|
|
37
37
|
const config = renderer.getConfig();
|
|
38
38
|
const isTextOutput = config.format === "text";
|
|
39
|
-
if (isTextOutput) {
|
|
40
|
-
renderer.info("Loading orientation context...\n");
|
|
41
|
-
}
|
|
42
39
|
// 1. CONTROLLER: Orchestrate session start
|
|
43
40
|
const response = await container.sessionStartController.handle({});
|
|
44
41
|
// 2. RENDER: Display context and result
|
|
45
42
|
const outputBuilder = new SessionStartOutputBuilder();
|
|
46
43
|
if (isTextOutput) {
|
|
47
|
-
const output = outputBuilder.buildSessionStartOutput(response
|
|
44
|
+
const output = outputBuilder.buildSessionStartOutput(response);
|
|
48
45
|
renderer.info(output.toHumanReadable());
|
|
49
46
|
renderer.success("Session started", {
|
|
50
47
|
sessionId: response.sessionId,
|
|
51
48
|
});
|
|
52
49
|
}
|
|
53
50
|
else {
|
|
54
|
-
renderer.data(outputBuilder.buildStructuredOutput(response
|
|
51
|
+
renderer.data(outputBuilder.buildStructuredOutput(response));
|
|
55
52
|
}
|
|
56
53
|
}
|
|
57
54
|
catch (error) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session.start.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/sessions/start/session.start.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAE3E;;GAEG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAoB;IACvC,WAAW,EAAE,6BAA6B;IAC1C,QAAQ,EAAE,MAAM;IAChB,OAAO,EAAE,EAAE;IACX,QAAQ,EAAE;QACR;YACE,OAAO,EAAE,qBAAqB;YAC9B,WAAW,EAAE,6BAA6B;SAC3C;KACF;IACD,OAAO,EAAE,CAAC,aAAa,EAAE,eAAe,EAAE,YAAY,CAAC;IACvD,eAAe,EAAE,IAAI;CACtB,CAAC;AAEF;;;;;;;;;GASG;AACH,MAAM,CAAC,KAAK,UAAU,YAAY,CAChC,OAA8B,EAC9B,SAAgC;IAEhC,MAAM,QAAQ,GAAG,QAAQ,CAAC,WAAW,EAAE,CAAC;IAExC,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,QAAQ,CAAC,SAAS,EAAE,CAAC;QACpC,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,KAAK,MAAM,CAAC;QAE9C,
|
|
1
|
+
{"version":3,"file":"session.start.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/sessions/start/session.start.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAE3E;;GAEG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAoB;IACvC,WAAW,EAAE,6BAA6B;IAC1C,QAAQ,EAAE,MAAM;IAChB,OAAO,EAAE,EAAE;IACX,QAAQ,EAAE;QACR;YACE,OAAO,EAAE,qBAAqB;YAC9B,WAAW,EAAE,6BAA6B;SAC3C;KACF;IACD,OAAO,EAAE,CAAC,aAAa,EAAE,eAAe,EAAE,YAAY,CAAC;IACvD,eAAe,EAAE,IAAI;CACtB,CAAC;AAEF;;;;;;;;;GASG;AACH,MAAM,CAAC,KAAK,UAAU,YAAY,CAChC,OAA8B,EAC9B,SAAgC;IAEhC,MAAM,QAAQ,GAAG,QAAQ,CAAC,WAAW,EAAE,CAAC;IAExC,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,QAAQ,CAAC,SAAS,EAAE,CAAC;QACpC,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,KAAK,MAAM,CAAC;QAE9C,2CAA2C;QAC3C,MAAM,QAAQ,GAAG,MAAM,SAAS,CAAC,sBAAsB,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QAEnE,wCAAwC;QACxC,MAAM,aAAa,GAAG,IAAI,yBAAyB,EAAE,CAAC;QAEtD,IAAI,YAAY,EAAE,CAAC;YACjB,MAAM,MAAM,GAAG,aAAa,CAAC,uBAAuB,CAAC,QAAQ,CAAC,CAAC;YAC/D,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,eAAe,EAAE,CAAC,CAAC;YAExC,QAAQ,CAAC,OAAO,CAAC,iBAAiB,EAAE;gBAClC,SAAS,EAAE,QAAQ,CAAC,SAAS;aAC9B,CAAC,CAAC;QACL,CAAC;aAAM,CAAC;YACN,QAAQ,CAAC,IAAI,CAAC,aAAa,CAAC,qBAAqB,CAAC,QAAQ,CAAC,CAAC,CAAC;QAC/D,CAAC;IACH,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,QAAQ,CAAC,KAAK,CAAC,yBAAyB,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QAC1F,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;IACD,8CAA8C;AAChD,CAAC"}
|
|
@@ -6,13 +6,16 @@
|
|
|
6
6
|
*/
|
|
7
7
|
export declare const SUPPORTED_AGENTS: readonly ["claude", "gemini", "copilot", "codex", "cursor", "vibe"];
|
|
8
8
|
export type AgentId = typeof SUPPORTED_AGENTS[number];
|
|
9
|
-
export
|
|
10
|
-
executable: string;
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
export interface AgentCommand {
|
|
10
|
+
readonly executable: string;
|
|
11
|
+
readonly args?: readonly string[];
|
|
12
|
+
readonly promptFlag?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const AGENT_COMMANDS: Record<AgentId, AgentCommand>;
|
|
13
15
|
/**
|
|
14
16
|
* Spawn an agent CLI subprocess with the given prompt.
|
|
15
17
|
* Returns the exit code (0 = success, non-zero = failure).
|
|
16
18
|
*/
|
|
17
19
|
export declare function spawnAgent(agentId: AgentId, prompt: string): Promise<number>;
|
|
20
|
+
export declare function buildAgentCommandLine(command: AgentCommand, prompt: string): string;
|
|
18
21
|
//# sourceMappingURL=AgentSpawner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgentSpawner.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/work/shared/AgentSpawner.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,eAAO,MAAM,gBAAgB,qEAAsE,CAAC;AACpG,MAAM,MAAM,OAAO,GAAG,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAEtD,
|
|
1
|
+
{"version":3,"file":"AgentSpawner.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/work/shared/AgentSpawner.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,eAAO,MAAM,gBAAgB,qEAAsE,CAAC;AACpG,MAAM,MAAM,OAAO,GAAG,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAEtD,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,OAAO,EAAE,YAAY,CAOxD,CAAC;AAEF;;;GAGG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAY5E;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAQnF"}
|
|
@@ -10,7 +10,7 @@ export const AGENT_COMMANDS = {
|
|
|
10
10
|
claude: { executable: "claude", promptFlag: "-p" },
|
|
11
11
|
gemini: { executable: "gemini", promptFlag: "-p" },
|
|
12
12
|
copilot: { executable: "gh copilot", promptFlag: "-p" },
|
|
13
|
-
codex: { executable: "codex",
|
|
13
|
+
codex: { executable: "codex", args: ["exec"] },
|
|
14
14
|
cursor: { executable: "cursor", promptFlag: "-p" },
|
|
15
15
|
vibe: { executable: "vibe", promptFlag: "-p" },
|
|
16
16
|
};
|
|
@@ -19,9 +19,7 @@ export const AGENT_COMMANDS = {
|
|
|
19
19
|
* Returns the exit code (0 = success, non-zero = failure).
|
|
20
20
|
*/
|
|
21
21
|
export function spawnAgent(agentId, prompt) {
|
|
22
|
-
const
|
|
23
|
-
const escaped = prompt.replace(/"/g, '\\"');
|
|
24
|
-
const command = `${executable} ${promptFlag} "${escaped}"`;
|
|
22
|
+
const command = buildAgentCommandLine(AGENT_COMMANDS[agentId], prompt);
|
|
25
23
|
return new Promise((resolve) => {
|
|
26
24
|
const child = spawn(command, [], {
|
|
27
25
|
stdio: ["ignore", "ignore", "ignore"],
|
|
@@ -31,4 +29,13 @@ export function spawnAgent(agentId, prompt) {
|
|
|
31
29
|
child.on("error", () => resolve(1));
|
|
32
30
|
});
|
|
33
31
|
}
|
|
32
|
+
export function buildAgentCommandLine(command, prompt) {
|
|
33
|
+
const escaped = prompt.replace(/"/g, '\\"');
|
|
34
|
+
return [
|
|
35
|
+
command.executable,
|
|
36
|
+
...(command.args ?? []),
|
|
37
|
+
...(command.promptFlag === undefined ? [] : [command.promptFlag]),
|
|
38
|
+
`"${escaped}"`,
|
|
39
|
+
].join(" ");
|
|
40
|
+
}
|
|
34
41
|
//# sourceMappingURL=AgentSpawner.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgentSpawner.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/work/shared/AgentSpawner.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,CAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"AgentSpawner.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/work/shared/AgentSpawner.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,CAAU,CAAC;AASpG,MAAM,CAAC,MAAM,cAAc,GAAkC;IAC3D,MAAM,EAAG,EAAE,UAAU,EAAE,QAAQ,EAAM,UAAU,EAAE,IAAI,EAAE;IACvD,MAAM,EAAG,EAAE,UAAU,EAAE,QAAQ,EAAM,UAAU,EAAE,IAAI,EAAE;IACvD,OAAO,EAAE,EAAE,UAAU,EAAE,YAAY,EAAE,UAAU,EAAE,IAAI,EAAE;IACvD,KAAK,EAAI,EAAE,UAAU,EAAE,OAAO,EAAO,IAAI,EAAE,CAAC,MAAM,CAAC,EAAE;IACrD,MAAM,EAAG,EAAE,UAAU,EAAE,QAAQ,EAAM,UAAU,EAAE,IAAI,EAAE;IACvD,IAAI,EAAK,EAAE,UAAU,EAAE,MAAM,EAAQ,UAAU,EAAE,IAAI,EAAE;CACxD,CAAC;AAEF;;;GAGG;AACH,MAAM,UAAU,UAAU,CAAC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ade3: "#7b7a77";
|
|
8
|
+
readonly shade4: "#5f5e5c";
|
|
9
|
+
readonly shade5: "#444442";
|
|
10
|
+
readonly shade6: "#2b2b2a";
|
|
11
|
+
readonly black: "#000000";
|
|
12
|
+
readonly accent: "#40c8c8";
|
|
13
|
+
readonly brandBlue: "#66b4f4";
|
|
14
|
+
readonly brandBlue70: "#3380c8";
|
|
15
|
+
readonly brandBlue50: "#0a528c";
|
|
16
|
+
readonly brandBlue10: "#031c30";
|
|
17
|
+
readonly brandPurple: "#aa00d4";
|
|
18
|
+
readonly brandPurple70: "#76248b";
|
|
19
|
+
readonly brandPurple50: "#4d0070";
|
|
20
|
+
readonly brandPurple10: "#1a0020";
|
|
21
|
+
readonly brandRed: "#ff2a2a";
|
|
22
|
+
readonly brandRed70: "#981818";
|
|
23
|
+
readonly brandRed50: "#800000";
|
|
24
|
+
readonly brandRed10: "#330000";
|
|
25
|
+
readonly brandOrange: "#ff8307";
|
|
26
|
+
readonly brandOrange70: "#cc6600";
|
|
27
|
+
readonly brandOrange50: "#804000";
|
|
28
|
+
readonly brandOrange10: "#331900";
|
|
29
|
+
readonly brandYellow: "#ffcc00";
|
|
30
|
+
readonly brandYellow70: "#b38f00";
|
|
31
|
+
readonly brandYellow50: "#806600";
|
|
32
|
+
readonly brandYellow10: "#332900";
|
|
33
|
+
readonly brandGreen: "#44aa00";
|
|
34
|
+
readonly brandGreen70: "#228800";
|
|
35
|
+
readonly brandGreen50: "#226600";
|
|
36
|
+
readonly brandGreen10: "#112900";
|
|
37
|
+
readonly brandMagenta: "#ff00aa";
|
|
38
|
+
readonly brandMagenta70: "#cc0088";
|
|
39
|
+
readonly brandMagenta50: "#800055";
|
|
40
|
+
readonly brandMagenta10: "#33001a";
|
|
41
|
+
readonly dialog: "#B6D8BA";
|
|
42
|
+
};
|
|
43
|
+
export declare const SemanticColors: {
|
|
44
|
+
readonly primary: "#d5d3cf";
|
|
45
|
+
readonly secondary: "#b6b4b1";
|
|
46
|
+
readonly accent: "#ff00aa";
|
|
47
|
+
readonly muted: "#b6b4b1";
|
|
48
|
+
readonly headline: "#66b4f4";
|
|
49
|
+
readonly success: "#44aa00";
|
|
50
|
+
readonly error: "#ff2a2a";
|
|
51
|
+
readonly warning: "#ffcc00";
|
|
52
|
+
readonly info: "#66b4f4";
|
|
53
|
+
readonly panelBorder: "#66b4f4";
|
|
54
|
+
readonly label: "#7b7a77";
|
|
55
|
+
readonly inputField: "#031c30";
|
|
56
|
+
readonly inputText: "#b6b4b1";
|
|
57
|
+
readonly inputPlaceholderText: "#444442";
|
|
58
|
+
readonly inputLabel: "#66b4f4";
|
|
59
|
+
readonly keyBadge: "#66b4f4";
|
|
60
|
+
readonly keyBadgeBackground: "#031c30";
|
|
61
|
+
readonly surface: "#000000";
|
|
62
|
+
readonly surfaceRaised: "#2b2b2a";
|
|
63
|
+
readonly focusBorder: "#ff00aa";
|
|
64
|
+
readonly dialog: "#B6D8BA";
|
|
65
|
+
};
|
|
66
|
+
export declare const TuiLayout: {
|
|
67
|
+
readonly bannerWidth: 105;
|
|
68
|
+
readonly panelMinWidth: 28;
|
|
69
|
+
readonly listPanelWidth: 54;
|
|
70
|
+
readonly detailPanelWidth: 74;
|
|
71
|
+
readonly contentPaddingX: 1;
|
|
72
|
+
readonly contentPaddingTop: 1;
|
|
73
|
+
};
|
|
74
|
+
export declare const TuiSpacing: {
|
|
75
|
+
readonly headerHeight: 1;
|
|
76
|
+
readonly footerHeight: 1;
|
|
77
|
+
readonly padding: {
|
|
78
|
+
readonly small: 1;
|
|
79
|
+
readonly medium: 2;
|
|
80
|
+
readonly large: 4;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
export declare const TuiGlyphs: {
|
|
84
|
+
readonly accentBar: "│";
|
|
85
|
+
readonly bullet: "•";
|
|
86
|
+
readonly arrow: "→";
|
|
87
|
+
readonly dot: "·";
|
|
88
|
+
readonly check: "✓";
|
|
89
|
+
readonly cross: "✗";
|
|
90
|
+
readonly filledCircle: "●";
|
|
91
|
+
readonly selector: "▸";
|
|
92
|
+
readonly divider: "─";
|
|
93
|
+
};
|
|
94
|
+
//# sourceMappingURL=DesignTokens.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DesignTokens.d.ts","sourceRoot":"","sources":["../../../src/presentation/shared/DesignTokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCb,CAAC;AAEX,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;CAsBjB,CAAC;AAEX,eAAO,MAAM,SAAS;;;;;;;CAOZ,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;;;;CAQb,CAAC;AAEX,eAAO,MAAM,SAAS;;;;;;;;;;CAUZ,CAAC"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
export const BaseColors = {
|
|
2
|
+
white: "#ffffff",
|
|
3
|
+
tint1: "#f5f3ee",
|
|
4
|
+
primary: "#d5d3cf",
|
|
5
|
+
shade1: "#b6b4b1",
|
|
6
|
+
shade2: "#b6b4b1",
|
|
7
|
+
shade3: "#7b7a77",
|
|
8
|
+
shade4: "#5f5e5c",
|
|
9
|
+
shade5: "#444442",
|
|
10
|
+
shade6: "#2b2b2a",
|
|
11
|
+
black: "#000000",
|
|
12
|
+
accent: "#40c8c8",
|
|
13
|
+
brandBlue: "#66b4f4",
|
|
14
|
+
brandBlue70: "#3380c8",
|
|
15
|
+
brandBlue50: "#0a528c",
|
|
16
|
+
brandBlue10: "#031c30",
|
|
17
|
+
brandPurple: "#aa00d4",
|
|
18
|
+
brandPurple70: "#76248b",
|
|
19
|
+
brandPurple50: "#4d0070",
|
|
20
|
+
brandPurple10: "#1a0020",
|
|
21
|
+
brandRed: "#ff2a2a",
|
|
22
|
+
brandRed70: "#981818",
|
|
23
|
+
brandRed50: "#800000",
|
|
24
|
+
brandRed10: "#330000",
|
|
25
|
+
brandOrange: "#ff8307",
|
|
26
|
+
brandOrange70: "#cc6600",
|
|
27
|
+
brandOrange50: "#804000",
|
|
28
|
+
brandOrange10: "#331900",
|
|
29
|
+
brandYellow: "#ffcc00",
|
|
30
|
+
brandYellow70: "#b38f00",
|
|
31
|
+
brandYellow50: "#806600",
|
|
32
|
+
brandYellow10: "#332900",
|
|
33
|
+
brandGreen: "#44aa00",
|
|
34
|
+
brandGreen70: "#228800",
|
|
35
|
+
brandGreen50: "#226600",
|
|
36
|
+
brandGreen10: "#112900",
|
|
37
|
+
brandMagenta: "#ff00aa",
|
|
38
|
+
brandMagenta70: "#cc0088",
|
|
39
|
+
brandMagenta50: "#800055",
|
|
40
|
+
brandMagenta10: "#33001a",
|
|
41
|
+
dialog: "#B6D8BA",
|
|
42
|
+
};
|
|
43
|
+
export const SemanticColors = {
|
|
44
|
+
primary: BaseColors.primary,
|
|
45
|
+
secondary: BaseColors.shade1,
|
|
46
|
+
accent: BaseColors.brandMagenta,
|
|
47
|
+
muted: BaseColors.shade2,
|
|
48
|
+
headline: BaseColors.brandBlue,
|
|
49
|
+
success: BaseColors.brandGreen,
|
|
50
|
+
error: BaseColors.brandRed,
|
|
51
|
+
warning: BaseColors.brandYellow,
|
|
52
|
+
info: BaseColors.brandBlue,
|
|
53
|
+
panelBorder: BaseColors.brandBlue,
|
|
54
|
+
label: BaseColors.shade3,
|
|
55
|
+
inputField: BaseColors.brandBlue10,
|
|
56
|
+
inputText: BaseColors.shade2,
|
|
57
|
+
inputPlaceholderText: BaseColors.shade5,
|
|
58
|
+
inputLabel: BaseColors.brandBlue,
|
|
59
|
+
keyBadge: BaseColors.brandBlue,
|
|
60
|
+
keyBadgeBackground: BaseColors.brandBlue10,
|
|
61
|
+
surface: BaseColors.black,
|
|
62
|
+
surfaceRaised: BaseColors.shade6,
|
|
63
|
+
focusBorder: BaseColors.brandMagenta,
|
|
64
|
+
dialog: BaseColors.dialog,
|
|
65
|
+
};
|
|
66
|
+
export const TuiLayout = {
|
|
67
|
+
bannerWidth: 105,
|
|
68
|
+
panelMinWidth: 28,
|
|
69
|
+
listPanelWidth: 54,
|
|
70
|
+
detailPanelWidth: 74,
|
|
71
|
+
contentPaddingX: 1,
|
|
72
|
+
contentPaddingTop: 1,
|
|
73
|
+
};
|
|
74
|
+
export const TuiSpacing = {
|
|
75
|
+
headerHeight: 1,
|
|
76
|
+
footerHeight: 1,
|
|
77
|
+
padding: {
|
|
78
|
+
small: 1,
|
|
79
|
+
medium: 2,
|
|
80
|
+
large: 4,
|
|
81
|
+
},
|
|
82
|
+
};
|
|
83
|
+
export const TuiGlyphs = {
|
|
84
|
+
accentBar: "│",
|
|
85
|
+
bullet: "•",
|
|
86
|
+
arrow: "→",
|
|
87
|
+
dot: "·",
|
|
88
|
+
check: "✓",
|
|
89
|
+
cross: "✗",
|
|
90
|
+
filledCircle: "●",
|
|
91
|
+
selector: "▸",
|
|
92
|
+
divider: "─",
|
|
93
|
+
};
|
|
94
|
+
//# sourceMappingURL=DesignTokens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DesignTokens.js","sourceRoot":"","sources":["../../../src/presentation/shared/DesignTokens.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,KAAK,EAAE,SAAS;IAChB,KAAK,EAAE,SAAS;IAChB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,SAAS;IACjB,MAAM,EAAE,SAAS;IACjB,MAAM,EAAE,SAAS;IACjB,MAAM,EAAE,SAAS;IACjB,MAAM,EAAE,SAAS;IACjB,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE,SAAS;IACjB,SAAS,EAAE,SAAS;IACpB,WAAW,EAAE,SAAS;IACtB,WAAW,EAAE,SAAS;IACtB,WAAW,EAAE,SAAS;IACtB,WAAW,EAAE,SAAS;IACtB,aAAa,EAAE,SAAS;IACxB,aAAa,EAAE,SAAS;IACxB,aAAa,EAAE,SAAS;IACxB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,EAAE,UAAU,CAAC,MAAM;IAChC,WAAW,EAAE,UAAU,CAAC,YAAY;IACpC,MAAM,EAAE,UAAU,CAAC,MAAM;CACjB,CAAC;AAEX,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,WAAW,EAAE,GAAG;IAChB,aAAa,EAAE,EAAE;IACjB,cAAc,EAAE,EAAE;IAClB,gBAAgB,EAAE,EAAE;IACpB,eAAe,EAAE,CAAC;IAClB,iBAAiB,EAAE,CAAC;CACZ,CAAC;AAEX,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,YAAY,EAAE,CAAC;IACf,YAAY,EAAE,CAAC;IACf,OAAO,EAAE;QACP,KAAK,EAAE,CAAC;QACR,MAAM,EAAE,CAAC;QACT,KAAK,EAAE,CAAC;KACT;CACO,CAAC;AAEX,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,SAAS,EAAE,GAAG;IACd,MAAM,EAAE,GAAG;IACX,KAAK,EAAE,GAAG;IACV,GAAG,EAAE,GAAG;IACR,KAAK,EAAE,GAAG;IACV,KAAK,EAAE,GAAG;IACV,YAAY,EAAE,GAAG;IACjB,QAAQ,EAAE,GAAG;IACb,OAAO,EAAE,GAAG;CACJ,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface TuiRequestController<TRequest, TResponse> {
|
|
2
|
+
handle(request: TRequest): Promise<TResponse>;
|
|
3
|
+
}
|
|
4
|
+
export type TuiActionResult<TResponse> = {
|
|
5
|
+
readonly ok: true;
|
|
6
|
+
readonly response: TResponse;
|
|
7
|
+
} | {
|
|
8
|
+
readonly ok: false;
|
|
9
|
+
readonly error: Error;
|
|
10
|
+
};
|
|
11
|
+
export declare function dispatchTuiAction<TRequest, TResponse>(controller: TuiRequestController<TRequest, TResponse>, request: TRequest): Promise<TuiActionResult<TResponse>>;
|
|
12
|
+
//# sourceMappingURL=TuiActionDispatcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TuiActionDispatcher.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/action-dispatch/TuiActionDispatcher.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB,CAAC,QAAQ,EAAE,SAAS;IACvD,MAAM,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;CAC/C;AAED,MAAM,MAAM,eAAe,CAAC,SAAS,IACjC;IACE,QAAQ,CAAC,EAAE,EAAE,IAAI,CAAC;IAClB,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;CAC9B,GACD;IACE,QAAQ,CAAC,EAAE,EAAE,KAAK,CAAC;IACnB,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;CACvB,CAAC;AAEN,wBAAsB,iBAAiB,CAAC,QAAQ,EAAE,SAAS,EACzD,UAAU,EAAE,oBAAoB,CAAC,QAAQ,EAAE,SAAS,CAAC,EACrD,OAAO,EAAE,QAAQ,GAChB,OAAO,CAAC,eAAe,CAAC,SAAS,CAAC,CAAC,CAYrC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export async function dispatchTuiAction(controller, request) {
|
|
2
|
+
try {
|
|
3
|
+
return {
|
|
4
|
+
ok: true,
|
|
5
|
+
response: await controller.handle(request),
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
catch (caughtError) {
|
|
9
|
+
return {
|
|
10
|
+
ok: false,
|
|
11
|
+
error: toError(caughtError),
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
function toError(caughtError) {
|
|
16
|
+
if (caughtError instanceof Error) {
|
|
17
|
+
return caughtError;
|
|
18
|
+
}
|
|
19
|
+
return new Error(String(caughtError));
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=TuiActionDispatcher.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TuiActionDispatcher.js","sourceRoot":"","sources":["../../../../src/presentation/tui/action-dispatch/TuiActionDispatcher.ts"],"names":[],"mappings":"AAcA,MAAM,CAAC,KAAK,UAAU,iBAAiB,CACrC,UAAqD,EACrD,OAAiB;IAEjB,IAAI,CAAC;QACH,OAAO;YACL,EAAE,EAAE,IAAI;YACR,QAAQ,EAAE,MAAM,UAAU,CAAC,MAAM,CAAC,OAAO,CAAC;SAC3C,CAAC;IACJ,CAAC;IAAC,OAAO,WAAW,EAAE,CAAC;QACrB,OAAO;YACL,EAAE,EAAE,KAAK;YACT,KAAK,EAAE,OAAO,CAAC,WAAW,CAAC;SAC5B,CAAC;IACJ,CAAC;AACH,CAAC;AAED,SAAS,OAAO,CAAC,WAAoB;IACnC,IAAI,WAAW,YAAY,KAAK,EAAE,CAAC;QACjC,OAAO,WAAW,CAAC;IACrB,CAAC;IAED,OAAO,IAAI,KAAK,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC;AACxC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { NotificationDrawerNotification } from "./NotificationDrawer.js";
|
|
3
|
+
interface FooterProps {
|
|
4
|
+
terminalWidth: number;
|
|
5
|
+
shortcutsEnabled?: boolean;
|
|
6
|
+
contextualShortcuts?: readonly FooterShortcut[];
|
|
7
|
+
notifications?: readonly NotificationDrawerNotification[];
|
|
8
|
+
}
|
|
9
|
+
interface FooterShortcut {
|
|
10
|
+
readonly char: string;
|
|
11
|
+
readonly label: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const NOTIFICATION_NOTIFIER_COLOR: "#ffcc00";
|
|
14
|
+
export declare function Footer({ terminalWidth, shortcutsEnabled, contextualShortcuts, notifications, }: FooterProps): React.ReactElement;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=Footer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/application-shell/Footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAKjD,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,yBAAyB,CAAC;AAE9E,UAAU,WAAW;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,mBAAmB,CAAC,EAAE,SAAS,cAAc,EAAE,CAAC;IAChD,aAAa,CAAC,EAAE,SAAS,8BAA8B,EAAE,CAAC;CAC3D;AAED,UAAU,cAAc;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,2BAA2B,WAAyB,CAAC;AAElE,wBAAgB,MAAM,CAAC,EACrB,aAAa,EACb,gBAAuB,EACvB,mBAAwB,EACxB,aAAkB,GACnB,EAAE,WAAW,GAAG,KAAK,CAAC,YAAY,CA+DlC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React, { useMemo, useState } from "react";
|
|
2
|
+
import { Box, Text, useInput } from "ink";
|
|
3
|
+
import { BaseColors, TuiGlyphs } from "../../shared/DesignTokens.js";
|
|
4
|
+
import { KeyBadge } from "../ui-primitives/KeyBadge.js";
|
|
5
|
+
import { NotificationDrawer } from "./NotificationDrawer.js";
|
|
6
|
+
export const NOTIFICATION_NOTIFIER_COLOR = BaseColors.brandYellow;
|
|
7
|
+
export function Footer({ terminalWidth, shortcutsEnabled = true, contextualShortcuts = [], notifications = [], }) {
|
|
8
|
+
const [notificationDrawerOpen, setNotificationDrawerOpen] = useState(false);
|
|
9
|
+
const [dismissedNotificationIds, setDismissedNotificationIds] = useState([]);
|
|
10
|
+
const visibleNotifications = useMemo(() => notifications.filter((notification) => !dismissedNotificationIds.includes(notification.id)), [dismissedNotificationIds, notifications]);
|
|
11
|
+
const unreadNotificationCount = visibleNotifications.filter((notification) => notification.unread).length;
|
|
12
|
+
useInput((input) => {
|
|
13
|
+
if (!shortcutsEnabled) {
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
16
|
+
if (input === "n" || input === "N") {
|
|
17
|
+
setNotificationDrawerOpen((isOpen) => !isOpen);
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
const handleDismissNotification = (id) => {
|
|
21
|
+
setDismissedNotificationIds((previous) => [...previous, id]);
|
|
22
|
+
};
|
|
23
|
+
return (React.createElement(Box, { flexDirection: "column", width: terminalWidth },
|
|
24
|
+
notificationDrawerOpen && (React.createElement(NotificationDrawer, { notifications: visibleNotifications, onDismiss: handleDismissNotification, onClose: () => setNotificationDrawerOpen(false), terminalWidth: terminalWidth })),
|
|
25
|
+
React.createElement(Box, { justifyContent: "space-between", paddingX: 1 },
|
|
26
|
+
React.createElement(Box, { gap: 2 },
|
|
27
|
+
React.createElement(KeyBadge, { char: "q", label: "quit" }),
|
|
28
|
+
contextualShortcuts.map((shortcut) => (React.createElement(KeyBadge, { key: `${shortcut.char}-${shortcut.label}`, char: shortcut.char, label: shortcut.label })))),
|
|
29
|
+
unreadNotificationCount > 0 && (React.createElement(Box, { alignItems: "center", gap: 1 },
|
|
30
|
+
React.createElement(KeyBadge, { char: "n" }),
|
|
31
|
+
React.createElement(Text, { color: NOTIFICATION_NOTIFIER_COLOR },
|
|
32
|
+
TuiGlyphs.filledCircle,
|
|
33
|
+
" notifications (",
|
|
34
|
+
unreadNotificationCount,
|
|
35
|
+
")"))))));
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=Footer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Footer.js","sourceRoot":"","sources":["../../../../src/presentation/tui/application-shell/Footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACr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AAC;IAC/D,CAAC,CAAC;IAEF,OAAO,CACL,oBAAC,GAAG,IAAC,aAAa,EAAC,QAAQ,EAAC,KAAK,EAAE,aAAa;QAC7C,sBAAsB,IAAI,CACzB,oBAAC,kBAAkB,IACjB,aAAa,EAAE,oBAAoB,EACnC,SAAS,EAAE,yBAAyB,EACpC,OAAO,EAAE,GAAG,EAAE,CAAC,yBAAyB,CAAC,KAAK,CAAC,EAC/C,aAAa,EAAE,aAAa,GAC5B,CACH;QACD,oBAAC,GAAG,IAAC,cAAc,EAAC,eAAe,EAAC,QAAQ,EAAE,CAAC;YAC7C,oBAAC,GAAG,IAAC,GAAG,EAAE,CAAC;gBACT,oBAAC,QAAQ,IAAC,IAAI,EAAC,GAAG,EAAC,KAAK,EAAC,MAAM,GAAG;gBACjC,mBAAmB,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CACrC,oBAAC,QAAQ,IACP,GAAG,EAAE,GAAG,QAAQ,CAAC,IAAI,IAAI,QAAQ,CAAC,KAAK,EAAE,EACzC,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,KAAK,EAAE,QAAQ,CAAC,KAAK,GACrB,CACH,CAAC,CACE;YACL,uBAAuB,GAAG,CAAC,IAAI,CAC9B,oBAAC,GAAG,IAAC,UAAU,EAAC,QAAQ,EAAC,GAAG,EAAE,CAAC;gBAC7B,oBAAC,QAAQ,IAAC,IAAI,EAAC,GAAG,GAAG;gBACrB,oBAAC,IAAI,IAAC,KAAK,EAAE,2BAA2B;oBACrC,SAAS,CAAC,YAAY;;oBAAkB,uBAAuB;wBAC3D,CACH,CACP,CACG,CACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface HeaderProps {
|
|
3
|
+
projectName: string;
|
|
4
|
+
directoryPath: string;
|
|
5
|
+
version: string;
|
|
6
|
+
terminalWidth: number;
|
|
7
|
+
}
|
|
8
|
+
export declare function Header({ projectName, directoryPath, version, terminalWidth, }: HeaderProps): React.ReactElement;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=Header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/application-shell/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,WAAW;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,MAAM,CAAC,EACrB,WAAW,EACX,aAAa,EACb,OAAO,EACP,aAAa,GACd,EAAE,WAAW,GAAG,KAAK,CAAC,YAAY,CAiClC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Box, Text } from "ink";
|
|
3
|
+
import { BaseColors, SemanticColors } from "../../shared/DesignTokens.js";
|
|
4
|
+
export function Header({ projectName, directoryPath, version, terminalWidth, }) {
|
|
5
|
+
const versionText = `v${version}`;
|
|
6
|
+
const versionLabelText = `Jumbo ● ${versionText}`;
|
|
7
|
+
const displayedDirectoryPath = fitDirectoryPath({
|
|
8
|
+
directoryPath,
|
|
9
|
+
projectName,
|
|
10
|
+
terminalWidth,
|
|
11
|
+
versionLabelText,
|
|
12
|
+
});
|
|
13
|
+
return (React.createElement(Box, { flexDirection: "column", width: terminalWidth },
|
|
14
|
+
React.createElement(Box, { justifyContent: "space-between", paddingX: 1 },
|
|
15
|
+
React.createElement(Box, { flexShrink: 1 },
|
|
16
|
+
React.createElement(Text, { color: BaseColors.brandBlue, bold: true }, projectName),
|
|
17
|
+
displayedDirectoryPath.length > 0 && (React.createElement(Text, { color: SemanticColors.muted, dimColor: true },
|
|
18
|
+
" ",
|
|
19
|
+
displayedDirectoryPath))),
|
|
20
|
+
React.createElement(Box, { flexShrink: 0 },
|
|
21
|
+
React.createElement(Text, { color: BaseColors.brandBlue }, versionLabelText)))));
|
|
22
|
+
}
|
|
23
|
+
function fitDirectoryPath({ directoryPath, projectName, terminalWidth, versionLabelText, }) {
|
|
24
|
+
const horizontalPadding = 2;
|
|
25
|
+
const minimumGapBeforeVersion = 1;
|
|
26
|
+
const projectPathSeparator = 1;
|
|
27
|
+
const availablePathWidth = terminalWidth -
|
|
28
|
+
horizontalPadding -
|
|
29
|
+
minimumGapBeforeVersion -
|
|
30
|
+
projectName.length -
|
|
31
|
+
projectPathSeparator -
|
|
32
|
+
versionLabelText.length;
|
|
33
|
+
if (availablePathWidth <= 0) {
|
|
34
|
+
return "";
|
|
35
|
+
}
|
|
36
|
+
if (directoryPath.length <= availablePathWidth) {
|
|
37
|
+
return directoryPath;
|
|
38
|
+
}
|
|
39
|
+
if (availablePathWidth <= 3) {
|
|
40
|
+
return directoryPath.slice(0, availablePathWidth);
|
|
41
|
+
}
|
|
42
|
+
return `${directoryPath.slice(0, availablePathWidth - 3)}...`;
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=Header.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../../src/presentation/tui/application-shell/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,cAAc,EAAa,MAAM,8BAA8B,CAAC;AASrF,MAAM,UAAU,MAAM,CAAC,EACrB,WAAW,EACX,aAAa,EACb,OAAO,EACP,aAAa,GACD;IACZ,MAAM,WAAW,GAAG,IAAI,OAAO,EAAE,CAAC;IAClC,MAAM,gBAAgB,GAAG,WAAW,WAAW,EAAE,CAAC;IAClD,MAAM,sBAAsB,GAAG,gBAAgB,CAAC;QAC9C,aAAa;QACb,WAAW;QACX,aAAa;QACb,gBAAg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