jumbo-cli 2.11.1 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/skills/decompose-architecture-aggregate/SKILL.md +67 -0
- package/dist/application/context/architecture/ArchitectureDeprecationConstants.d.ts +30 -0
- package/dist/application/context/architecture/ArchitectureDeprecationConstants.d.ts.map +1 -0
- package/dist/application/context/architecture/ArchitectureDeprecationConstants.js +29 -0
- package/dist/application/context/architecture/ArchitectureDeprecationConstants.js.map +1 -0
- package/dist/application/context/architecture/ArchitectureView.d.ts +1 -0
- package/dist/application/context/architecture/ArchitectureView.d.ts.map +1 -1
- package/dist/application/context/architecture/define/LocalDefineArchitectureGateway.d.ts.map +1 -1
- package/dist/application/context/architecture/define/LocalDefineArchitectureGateway.js +3 -0
- package/dist/application/context/architecture/define/LocalDefineArchitectureGateway.js.map +1 -1
- package/dist/application/context/architecture/deprecate/ArchitectureDeprecatedEventHandler.d.ts +15 -0
- package/dist/application/context/architecture/deprecate/ArchitectureDeprecatedEventHandler.d.ts.map +1 -0
- package/dist/application/context/architecture/deprecate/ArchitectureDeprecatedEventHandler.js +20 -0
- package/dist/application/context/architecture/deprecate/ArchitectureDeprecatedEventHandler.js.map +1 -0
- package/dist/application/context/architecture/deprecate/IArchitectureDeprecatedEventWriter.d.ts +9 -0
- package/dist/application/context/architecture/deprecate/IArchitectureDeprecatedEventWriter.d.ts.map +1 -0
- package/dist/application/context/architecture/deprecate/IArchitectureDeprecatedEventWriter.js +3 -0
- package/dist/application/context/architecture/deprecate/IArchitectureDeprecatedEventWriter.js.map +1 -0
- package/dist/application/context/architecture/deprecate/IArchitectureDeprecatedProjector.d.ts +9 -0
- package/dist/application/context/architecture/deprecate/IArchitectureDeprecatedProjector.d.ts.map +1 -0
- package/dist/application/context/architecture/deprecate/IArchitectureDeprecatedProjector.js +3 -0
- package/dist/application/context/architecture/deprecate/IArchitectureDeprecatedProjector.js.map +1 -0
- package/dist/application/context/goals/IGoalTitleReader.d.ts +9 -0
- package/dist/application/context/goals/IGoalTitleReader.d.ts.map +1 -0
- package/dist/application/context/goals/IGoalTitleReader.js +3 -0
- package/dist/application/context/goals/IGoalTitleReader.js.map +1 -0
- package/dist/application/context/goals/get/GoalContext.d.ts +1 -3
- package/dist/application/context/goals/get/GoalContext.d.ts.map +1 -1
- package/dist/application/context/relations/discover/IRelationDiscoveryGoalRegistrar.d.ts +10 -0
- package/dist/application/context/relations/discover/IRelationDiscoveryGoalRegistrar.d.ts.map +1 -0
- package/dist/application/context/relations/discover/IRelationDiscoveryGoalRegistrar.js +3 -0
- package/dist/application/context/relations/discover/IRelationDiscoveryGoalRegistrar.js.map +1 -0
- package/dist/application/context/relations/discover/NoOpRelationDiscoveryGoalRegistrar.d.ts +9 -0
- package/dist/application/context/relations/discover/NoOpRelationDiscoveryGoalRegistrar.d.ts.map +1 -0
- package/dist/application/context/relations/discover/NoOpRelationDiscoveryGoalRegistrar.js +14 -0
- package/dist/application/context/relations/discover/NoOpRelationDiscoveryGoalRegistrar.js.map +1 -0
- package/dist/application/context/relations/discover/RelationDiscoveryEventHandler.d.ts +14 -0
- package/dist/application/context/relations/discover/RelationDiscoveryEventHandler.d.ts.map +1 -0
- package/dist/application/context/relations/discover/RelationDiscoveryEventHandler.js +35 -0
- package/dist/application/context/relations/discover/RelationDiscoveryEventHandler.js.map +1 -0
- package/dist/application/context/relations/discover/RelationDiscoveryGoalRegistrar.d.ts +20 -0
- package/dist/application/context/relations/discover/RelationDiscoveryGoalRegistrar.d.ts.map +1 -0
- package/dist/application/context/relations/discover/RelationDiscoveryGoalRegistrar.js +48 -0
- package/dist/application/context/relations/discover/RelationDiscoveryGoalRegistrar.js.map +1 -0
- package/dist/application/context/sessions/SessionInstructionSignal.d.ts +1 -0
- package/dist/application/context/sessions/SessionInstructionSignal.d.ts.map +1 -1
- package/dist/application/context/sessions/SessionInstructionSignal.js +1 -0
- package/dist/application/context/sessions/SessionInstructionSignal.js.map +1 -1
- package/dist/application/context/sessions/start/LocalStartSessionGateway.d.ts +3 -1
- package/dist/application/context/sessions/start/LocalStartSessionGateway.d.ts.map +1 -1
- package/dist/application/context/sessions/start/LocalStartSessionGateway.js +14 -6
- package/dist/application/context/sessions/start/LocalStartSessionGateway.js.map +1 -1
- package/dist/application/host/IApplicationContainer.d.ts +4 -0
- package/dist/application/host/IApplicationContainer.d.ts.map +1 -1
- package/dist/domain/architecture/Architecture.d.ts +7 -1
- package/dist/domain/architecture/Architecture.d.ts.map +1 -1
- package/dist/domain/architecture/Architecture.js +24 -0
- package/dist/domain/architecture/Architecture.js.map +1 -1
- package/dist/domain/architecture/Constants.d.ts +3 -0
- package/dist/domain/architecture/Constants.d.ts.map +1 -1
- package/dist/domain/architecture/Constants.js +4 -1
- package/dist/domain/architecture/Constants.js.map +1 -1
- package/dist/domain/architecture/EventIndex.d.ts +3 -1
- package/dist/domain/architecture/EventIndex.d.ts.map +1 -1
- package/dist/domain/architecture/EventIndex.js +1 -0
- package/dist/domain/architecture/EventIndex.js.map +1 -1
- package/dist/domain/architecture/deprecate/ArchitectureDeprecatedEvent.d.ts +15 -0
- package/dist/domain/architecture/deprecate/ArchitectureDeprecatedEvent.d.ts.map +1 -0
- package/dist/domain/architecture/deprecate/ArchitectureDeprecatedEvent.js +9 -0
- package/dist/domain/architecture/deprecate/ArchitectureDeprecatedEvent.js.map +1 -0
- package/dist/infrastructure/context/SqliteGoalContextAssembler.d.ts +2 -4
- package/dist/infrastructure/context/SqliteGoalContextAssembler.d.ts.map +1 -1
- package/dist/infrastructure/context/SqliteGoalContextAssembler.js +5 -9
- package/dist/infrastructure/context/SqliteGoalContextAssembler.js.map +1 -1
- package/dist/infrastructure/context/architecture/SqliteArchitectureReader.d.ts.map +1 -1
- package/dist/infrastructure/context/architecture/SqliteArchitectureReader.js +1 -0
- package/dist/infrastructure/context/architecture/SqliteArchitectureReader.js.map +1 -1
- package/dist/infrastructure/context/architecture/define/SqliteArchitectureDefinedProjector.d.ts.map +1 -1
- package/dist/infrastructure/context/architecture/define/SqliteArchitectureDefinedProjector.js +1 -0
- package/dist/infrastructure/context/architecture/define/SqliteArchitectureDefinedProjector.js.map +1 -1
- package/dist/infrastructure/context/architecture/deprecate/FsArchitectureDeprecatedEventStore.d.ts +10 -0
- package/dist/infrastructure/context/architecture/deprecate/FsArchitectureDeprecatedEventStore.d.ts.map +1 -0
- package/dist/infrastructure/context/architecture/deprecate/FsArchitectureDeprecatedEventStore.js +14 -0
- package/dist/infrastructure/context/architecture/deprecate/FsArchitectureDeprecatedEventStore.js.map +1 -0
- package/dist/infrastructure/context/architecture/deprecate/SqliteArchitectureDeprecatedProjector.d.ts +12 -0
- package/dist/infrastructure/context/architecture/deprecate/SqliteArchitectureDeprecatedProjector.d.ts.map +1 -0
- package/dist/infrastructure/context/architecture/deprecate/SqliteArchitectureDeprecatedProjector.js +21 -0
- package/dist/infrastructure/context/architecture/deprecate/SqliteArchitectureDeprecatedProjector.js.map +1 -0
- package/dist/infrastructure/context/architecture/migrations/003-add-deprecated-column.sql +4 -0
- package/dist/infrastructure/context/architecture/update/SqliteArchitectureUpdatedProjector.d.ts.map +1 -1
- package/dist/infrastructure/context/architecture/update/SqliteArchitectureUpdatedProjector.js +1 -0
- package/dist/infrastructure/context/architecture/update/SqliteArchitectureUpdatedProjector.js.map +1 -1
- package/dist/infrastructure/context/goals/SqliteGoalStatusReader.d.ts +3 -1
- package/dist/infrastructure/context/goals/SqliteGoalStatusReader.d.ts.map +1 -1
- package/dist/infrastructure/context/goals/SqliteGoalStatusReader.js +6 -0
- package/dist/infrastructure/context/goals/SqliteGoalStatusReader.js.map +1 -1
- package/dist/infrastructure/host/HostBuilder.d.ts.map +1 -1
- package/dist/infrastructure/host/HostBuilder.js +21 -2
- package/dist/infrastructure/host/HostBuilder.js.map +1 -1
- package/dist/infrastructure/messaging/ProjectionBusFactory.d.ts.map +1 -1
- package/dist/infrastructure/messaging/ProjectionBusFactory.js +3 -0
- package/dist/infrastructure/messaging/ProjectionBusFactory.js.map +1 -1
- package/dist/presentation/cli/commands/architecture/define/architecture.define.d.ts +4 -3
- package/dist/presentation/cli/commands/architecture/define/architecture.define.d.ts.map +1 -1
- package/dist/presentation/cli/commands/architecture/define/architecture.define.js +15 -24
- package/dist/presentation/cli/commands/architecture/define/architecture.define.js.map +1 -1
- package/dist/presentation/cli/commands/architecture/update/architecture.update.d.ts +4 -3
- package/dist/presentation/cli/commands/architecture/update/architecture.update.d.ts.map +1 -1
- package/dist/presentation/cli/commands/architecture/update/architecture.update.js +17 -30
- package/dist/presentation/cli/commands/architecture/update/architecture.update.js.map +1 -1
- package/dist/presentation/cli/commands/architecture/view/architecture.view.d.ts +1 -1
- package/dist/presentation/cli/commands/architecture/view/architecture.view.d.ts.map +1 -1
- package/dist/presentation/cli/commands/architecture/view/architecture.view.js +32 -17
- package/dist/presentation/cli/commands/architecture/view/architecture.view.js.map +1 -1
- package/dist/presentation/cli/commands/audience-pains/list/AudiencePainListOutputBuilder.d.ts +9 -0
- package/dist/presentation/cli/commands/audience-pains/list/AudiencePainListOutputBuilder.d.ts.map +1 -0
- package/dist/presentation/cli/commands/audience-pains/list/AudiencePainListOutputBuilder.js +52 -0
- package/dist/presentation/cli/commands/audience-pains/list/AudiencePainListOutputBuilder.js.map +1 -0
- package/dist/presentation/cli/commands/audience-pains/list/audiencePains.list.d.ts.map +1 -1
- package/dist/presentation/cli/commands/audience-pains/list/audiencePains.list.js +9 -33
- package/dist/presentation/cli/commands/audience-pains/list/audiencePains.list.js.map +1 -1
- package/dist/presentation/cli/commands/audiences/list/AudienceListOutputBuilder.d.ts +9 -0
- package/dist/presentation/cli/commands/audiences/list/AudienceListOutputBuilder.d.ts.map +1 -0
- package/dist/presentation/cli/commands/audiences/list/AudienceListOutputBuilder.js +53 -0
- package/dist/presentation/cli/commands/audiences/list/AudienceListOutputBuilder.js.map +1 -0
- package/dist/presentation/cli/commands/audiences/list/audiences.list.d.ts.map +1 -1
- package/dist/presentation/cli/commands/audiences/list/audiences.list.js +9 -33
- package/dist/presentation/cli/commands/audiences/list/audiences.list.js.map +1 -1
- package/dist/presentation/cli/commands/components/list/ComponentListOutputBuilder.d.ts +9 -0
- package/dist/presentation/cli/commands/components/list/ComponentListOutputBuilder.d.ts.map +1 -0
- package/dist/presentation/cli/commands/components/list/ComponentListOutputBuilder.js +62 -0
- package/dist/presentation/cli/commands/components/list/ComponentListOutputBuilder.js.map +1 -0
- package/dist/presentation/cli/commands/components/list/components.list.d.ts.map +1 -1
- package/dist/presentation/cli/commands/components/list/components.list.js +9 -48
- package/dist/presentation/cli/commands/components/list/components.list.js.map +1 -1
- package/dist/presentation/cli/commands/components/search/ComponentSearchOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/components/search/ComponentSearchOutputBuilder.js +16 -11
- package/dist/presentation/cli/commands/components/search/ComponentSearchOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/components/search/components.search.js +1 -1
- package/dist/presentation/cli/commands/components/search/components.search.js.map +1 -1
- package/dist/presentation/cli/commands/components/show/ComponentShowOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/components/show/ComponentShowOutputBuilder.js +42 -21
- package/dist/presentation/cli/commands/components/show/ComponentShowOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/components/undeprecate/ComponentUndeprecateOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/components/undeprecate/ComponentUndeprecateOutputBuilder.js +12 -2
- package/dist/presentation/cli/commands/components/undeprecate/ComponentUndeprecateOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/decisions/list/DecisionListOutputBuilder.d.ts +9 -0
- package/dist/presentation/cli/commands/decisions/list/DecisionListOutputBuilder.d.ts.map +1 -0
- package/dist/presentation/cli/commands/decisions/list/DecisionListOutputBuilder.js +73 -0
- package/dist/presentation/cli/commands/decisions/list/DecisionListOutputBuilder.js.map +1 -0
- package/dist/presentation/cli/commands/decisions/list/decisions.list.d.ts.map +1 -1
- package/dist/presentation/cli/commands/decisions/list/decisions.list.js +9 -55
- package/dist/presentation/cli/commands/decisions/list/decisions.list.js.map +1 -1
- package/dist/presentation/cli/commands/decisions/restore/DecisionRestoreOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/decisions/restore/DecisionRestoreOutputBuilder.js +11 -2
- package/dist/presentation/cli/commands/decisions/restore/DecisionRestoreOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/dependencies/list/DependencyListOutputBuilder.d.ts +9 -0
- package/dist/presentation/cli/commands/dependencies/list/DependencyListOutputBuilder.d.ts.map +1 -0
- package/dist/presentation/cli/commands/dependencies/list/DependencyListOutputBuilder.js +67 -0
- package/dist/presentation/cli/commands/dependencies/list/DependencyListOutputBuilder.js.map +1 -0
- package/dist/presentation/cli/commands/dependencies/list/dependencies.list.d.ts.map +1 -1
- package/dist/presentation/cli/commands/dependencies/list/dependencies.list.js +21 -71
- package/dist/presentation/cli/commands/dependencies/list/dependencies.list.js.map +1 -1
- package/dist/presentation/cli/commands/evolve/EvolveOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/evolve/EvolveOutputBuilder.js +25 -4
- package/dist/presentation/cli/commands/evolve/EvolveOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/goals/add/GoalAddOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/add/GoalAddOutputBuilder.js +15 -4
- package/dist/presentation/cli/commands/goals/add/GoalAddOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/goals/approve/GoalApproveOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/approve/GoalApproveOutputBuilder.js +18 -21
- package/dist/presentation/cli/commands/goals/approve/GoalApproveOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/goals/approve/goal.approve.js +1 -1
- package/dist/presentation/cli/commands/goals/approve/goal.approve.js.map +1 -1
- package/dist/presentation/cli/commands/goals/block/GoalBlockOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/block/GoalBlockOutputBuilder.js +12 -6
- package/dist/presentation/cli/commands/goals/block/GoalBlockOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/goals/block/goal.block.js +1 -1
- package/dist/presentation/cli/commands/goals/block/goal.block.js.map +1 -1
- package/dist/presentation/cli/commands/goals/close/GoalCloseOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/close/GoalCloseOutputBuilder.js +25 -11
- package/dist/presentation/cli/commands/goals/close/GoalCloseOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/goals/close/goal.close.js +1 -1
- package/dist/presentation/cli/commands/goals/close/goal.close.js.map +1 -1
- package/dist/presentation/cli/commands/goals/codify/GoalCodifyOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/codify/GoalCodifyOutputBuilder.js +78 -63
- package/dist/presentation/cli/commands/goals/codify/GoalCodifyOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/goals/codify/goal.codify.js +1 -1
- package/dist/presentation/cli/commands/goals/codify/goal.codify.js.map +1 -1
- package/dist/presentation/cli/commands/goals/commit/GoalCommitOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/commit/GoalCommitOutputBuilder.js +13 -5
- package/dist/presentation/cli/commands/goals/commit/GoalCommitOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/goals/commit/goal.commit.js +1 -1
- package/dist/presentation/cli/commands/goals/commit/goal.commit.js.map +1 -1
- package/dist/presentation/cli/commands/goals/list/GoalListOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/list/GoalListOutputBuilder.js +20 -10
- package/dist/presentation/cli/commands/goals/list/GoalListOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/goals/pause/GoalPauseOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/pause/GoalPauseOutputBuilder.js +14 -8
- package/dist/presentation/cli/commands/goals/pause/GoalPauseOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/goals/pause/goal.pause.js +2 -2
- package/dist/presentation/cli/commands/goals/pause/goal.pause.js.map +1 -1
- package/dist/presentation/cli/commands/goals/qualify/GoalQualifyOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/qualify/GoalQualifyOutputBuilder.js +19 -20
- package/dist/presentation/cli/commands/goals/qualify/GoalQualifyOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/goals/qualify/goal.qualify.js +1 -1
- package/dist/presentation/cli/commands/goals/qualify/goal.qualify.js.map +1 -1
- package/dist/presentation/cli/commands/goals/refine/GoalRefineOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/refine/GoalRefineOutputBuilder.js +25 -23
- package/dist/presentation/cli/commands/goals/refine/GoalRefineOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/goals/refine/goal.refine.js +6 -5
- package/dist/presentation/cli/commands/goals/refine/goal.refine.js.map +1 -1
- package/dist/presentation/cli/commands/goals/reject/GoalRejectOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/reject/GoalRejectOutputBuilder.js +23 -23
- package/dist/presentation/cli/commands/goals/reject/GoalRejectOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/goals/reject/goal.reject.js +1 -1
- package/dist/presentation/cli/commands/goals/reject/goal.reject.js.map +1 -1
- package/dist/presentation/cli/commands/goals/remove/GoalRemoveOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/remove/GoalRemoveOutputBuilder.js +12 -6
- package/dist/presentation/cli/commands/goals/remove/GoalRemoveOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/goals/remove/goal.remove.js +1 -1
- package/dist/presentation/cli/commands/goals/remove/goal.remove.js.map +1 -1
- package/dist/presentation/cli/commands/goals/reset/GoalResetOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/reset/GoalResetOutputBuilder.js +13 -7
- package/dist/presentation/cli/commands/goals/reset/GoalResetOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/goals/reset/goal.reset.js +1 -1
- package/dist/presentation/cli/commands/goals/reset/goal.reset.js.map +1 -1
- package/dist/presentation/cli/commands/goals/resume/GoalResumeOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/resume/GoalResumeOutputBuilder.js +62 -76
- package/dist/presentation/cli/commands/goals/resume/GoalResumeOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/goals/resume/goal.resume.js +2 -2
- package/dist/presentation/cli/commands/goals/resume/goal.resume.js.map +1 -1
- package/dist/presentation/cli/commands/goals/review/GoalReviewOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/review/GoalReviewOutputBuilder.js +73 -78
- package/dist/presentation/cli/commands/goals/review/GoalReviewOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/goals/review/goal.review.js +1 -1
- package/dist/presentation/cli/commands/goals/review/goal.review.js.map +1 -1
- package/dist/presentation/cli/commands/goals/show/GoalShowOutputBuilder.d.ts +1 -9
- package/dist/presentation/cli/commands/goals/show/GoalShowOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/show/GoalShowOutputBuilder.js +57 -132
- package/dist/presentation/cli/commands/goals/show/GoalShowOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/goals/show/goal.show.js +1 -1
- package/dist/presentation/cli/commands/goals/show/goal.show.js.map +1 -1
- package/dist/presentation/cli/commands/goals/start/GoalStartOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/start/GoalStartOutputBuilder.js +58 -71
- package/dist/presentation/cli/commands/goals/start/GoalStartOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/goals/start/goal.start.js +2 -2
- package/dist/presentation/cli/commands/goals/start/goal.start.js.map +1 -1
- package/dist/presentation/cli/commands/goals/submit/GoalSubmitOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/submit/GoalSubmitOutputBuilder.js +15 -14
- package/dist/presentation/cli/commands/goals/submit/GoalSubmitOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/goals/submit/goal.submit.js +1 -1
- package/dist/presentation/cli/commands/goals/submit/goal.submit.js.map +1 -1
- package/dist/presentation/cli/commands/goals/unblock/GoalUnblockOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/unblock/GoalUnblockOutputBuilder.js +14 -2
- package/dist/presentation/cli/commands/goals/unblock/GoalUnblockOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/goals/unblock/goal.unblock.js +2 -2
- package/dist/presentation/cli/commands/goals/unblock/goal.unblock.js.map +1 -1
- package/dist/presentation/cli/commands/goals/update/GoalUpdateOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/update/GoalUpdateOutputBuilder.js +10 -2
- package/dist/presentation/cli/commands/goals/update/GoalUpdateOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/goals/update/goal.update.js +4 -4
- package/dist/presentation/cli/commands/goals/update/goal.update.js.map +1 -1
- package/dist/presentation/cli/commands/goals/update-progress/GoalUpdateProgressOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/update-progress/GoalUpdateProgressOutputBuilder.js +16 -8
- package/dist/presentation/cli/commands/goals/update-progress/GoalUpdateProgressOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/goals/update-progress/goal.update-progress.js +1 -1
- package/dist/presentation/cli/commands/goals/update-progress/goal.update-progress.js.map +1 -1
- package/dist/presentation/cli/commands/guidelines/list/GuidelineListOutputBuilder.d.ts +9 -0
- package/dist/presentation/cli/commands/guidelines/list/GuidelineListOutputBuilder.d.ts.map +1 -0
- package/dist/presentation/cli/commands/guidelines/list/GuidelineListOutputBuilder.js +57 -0
- package/dist/presentation/cli/commands/guidelines/list/GuidelineListOutputBuilder.js.map +1 -0
- package/dist/presentation/cli/commands/guidelines/list/guidelines.list.d.ts.map +1 -1
- package/dist/presentation/cli/commands/guidelines/list/guidelines.list.js +9 -27
- package/dist/presentation/cli/commands/guidelines/list/guidelines.list.js.map +1 -1
- package/dist/presentation/cli/commands/heal/HealOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/heal/HealOutputBuilder.js +18 -6
- package/dist/presentation/cli/commands/heal/HealOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/host/workers/worker.view.d.ts.map +1 -1
- package/dist/presentation/cli/commands/host/workers/worker.view.js +10 -4
- package/dist/presentation/cli/commands/host/workers/worker.view.js.map +1 -1
- package/dist/presentation/cli/commands/invariants/list/InvariantListOutputBuilder.d.ts +9 -0
- package/dist/presentation/cli/commands/invariants/list/InvariantListOutputBuilder.d.ts.map +1 -0
- package/dist/presentation/cli/commands/invariants/list/InvariantListOutputBuilder.js +53 -0
- package/dist/presentation/cli/commands/invariants/list/InvariantListOutputBuilder.js.map +1 -0
- package/dist/presentation/cli/commands/invariants/list/invariants.list.d.ts.map +1 -1
- package/dist/presentation/cli/commands/invariants/list/invariants.list.js +9 -23
- package/dist/presentation/cli/commands/invariants/list/invariants.list.js.map +1 -1
- package/dist/presentation/cli/commands/project/init/project.init.js +8 -8
- package/dist/presentation/cli/commands/project/init/project.init.js.map +1 -1
- package/dist/presentation/cli/commands/relations/list/RelationListOutputBuilder.d.ts +13 -0
- package/dist/presentation/cli/commands/relations/list/RelationListOutputBuilder.d.ts.map +1 -0
- package/dist/presentation/cli/commands/relations/list/RelationListOutputBuilder.js +64 -0
- package/dist/presentation/cli/commands/relations/list/RelationListOutputBuilder.js.map +1 -0
- package/dist/presentation/cli/commands/relations/list/relations.list.d.ts.map +1 -1
- package/dist/presentation/cli/commands/relations/list/relations.list.js +15 -37
- package/dist/presentation/cli/commands/relations/list/relations.list.js.map +1 -1
- package/dist/presentation/cli/commands/sessions/list/SessionListOutputBuilder.d.ts +9 -0
- package/dist/presentation/cli/commands/sessions/list/SessionListOutputBuilder.d.ts.map +1 -0
- package/dist/presentation/cli/commands/sessions/list/SessionListOutputBuilder.js +61 -0
- package/dist/presentation/cli/commands/sessions/list/SessionListOutputBuilder.js.map +1 -0
- package/dist/presentation/cli/commands/sessions/list/sessions.list.d.ts.map +1 -1
- package/dist/presentation/cli/commands/sessions/list/sessions.list.js +9 -47
- package/dist/presentation/cli/commands/sessions/list/sessions.list.js.map +1 -1
- package/dist/presentation/cli/commands/sessions/start/SessionContextOutputBuilder.d.ts +1 -0
- package/dist/presentation/cli/commands/sessions/start/SessionContextOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/sessions/start/SessionContextOutputBuilder.js +13 -1
- package/dist/presentation/cli/commands/sessions/start/SessionContextOutputBuilder.js.map +1 -1
- package/dist/presentation/cli/commands/value-propositions/list/ValueListOutputBuilder.d.ts +9 -0
- package/dist/presentation/cli/commands/value-propositions/list/ValueListOutputBuilder.d.ts.map +1 -0
- package/dist/presentation/cli/commands/value-propositions/list/ValueListOutputBuilder.js +59 -0
- package/dist/presentation/cli/commands/value-propositions/list/ValueListOutputBuilder.js.map +1 -0
- package/dist/presentation/cli/commands/value-propositions/list/values.list.d.ts.map +1 -1
- package/dist/presentation/cli/commands/value-propositions/list/values.list.js +9 -32
- package/dist/presentation/cli/commands/value-propositions/list/values.list.js.map +1 -1
- package/dist/presentation/cli/commands/work/refine/RefineryDisplay.d.ts.map +1 -1
- package/dist/presentation/cli/commands/work/refine/RefineryDisplay.js +12 -15
- package/dist/presentation/cli/commands/work/refine/RefineryDisplay.js.map +1 -1
- package/dist/presentation/cli/rendering/OutputLayout.d.ts +39 -0
- package/dist/presentation/cli/rendering/OutputLayout.d.ts.map +1 -0
- package/dist/presentation/cli/rendering/OutputLayout.js +81 -0
- package/dist/presentation/cli/rendering/OutputLayout.js.map +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoalAddOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/add/GoalAddOutputBuilder.ts"],"names":[],"mappings":";;;AAAA,uFAAiF;
|
|
1
|
+
{"version":3,"file":"GoalAddOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/add/GoalAddOutputBuilder.ts"],"names":[],"mappings":";;;AAAA,uFAAiF;AAEjF,sEAAoE;AACpE,wEAAqF;AAErF;;;;;;GAMG;AACH,MAAa,oBAAoB;IAG/B;QACE,IAAI,CAAC,OAAO,GAAG,IAAI,gDAAqB,EAAE,CAAC;IAC7C,CAAC;IAED;;;OAGG;IACH,sBAAsB;QACpB,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;QACrB,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,GAAG,IAAA,yBAAO,EAAC,2BAA2B,CAAC,CAAC,CAAC;QACpE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IAC9B,CAAC;IAED;;;OAGG;IACH,YAAY,CAAC,MAAc,EAAE,KAAa,EAAE,SAAiB;QAC3D,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;QACrB,MAAM,KAAK,GAAa,EAAE,CAAC;QAC3B,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACf,KAAK,CAAC,IAAI,CAAC,IAAA,yBAAO,EAAC,cAAc,CAAC,CAAC,CAAC;QACpC,KAAK,CAAC,IAAI,CAAC,IAAA,6BAAW,EAAC,GAAG,wBAAO,CAAC,KAAK,IAAI,uBAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,EAAE,CAAC,CAAC,CAAC;QACvF,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACf,KAAK,CAAC,IAAI,CAAC,IAAA,2BAAS,EAAC,IAAI,EAAE,uBAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;QAClD,KAAK,CAAC,IAAI,CAAC,IAAA,2BAAS,EAAC,OAAO,EAAE,uBAAM,CAAC,OAAO,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YACnB,OAAO,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK;SACxD,CAAC,CAAC;QACH,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IAC9B,CAAC;CACF;AApED,oDAoEC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoalApproveOutputBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/approve/GoalApproveOutputBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yEAAyE,CAAC;
|
|
1
|
+
{"version":3,"file":"GoalApproveOutputBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/approve/GoalApproveOutputBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yEAAyE,CAAC;AAI9G;;;;;;GAMG;AACH,qBAAa,wBAAwB;IACnC,OAAO,CAAC,OAAO,CAAwB;;IAMvC;;;OAGG;IACH,YAAY,CAAC,QAAQ,EAAE,mBAAmB,EAAE,YAAY,GAAE,OAAe,GAAG,cAAc;IAgC1F;;;OAGG;IACH,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,cAAc;CAQzD"}
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GoalApproveOutputBuilder = void 0;
|
|
4
4
|
const TerminalOutputBuilder_js_1 = require("../../../output/TerminalOutputBuilder.js");
|
|
5
|
+
const StyleConfig_js_1 = require("../../../rendering/StyleConfig.js");
|
|
6
|
+
const OutputLayout_js_1 = require("../../../rendering/OutputLayout.js");
|
|
5
7
|
/**
|
|
6
8
|
* Specialized builder for goal.approve command output.
|
|
7
9
|
* Encapsulates all output rendering for the approve goal command.
|
|
@@ -19,30 +21,25 @@ class GoalApproveOutputBuilder {
|
|
|
19
21
|
*/
|
|
20
22
|
buildSuccess(response, continueFlag = false) {
|
|
21
23
|
this.builder.reset();
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
const lines = [];
|
|
25
|
+
lines.push("");
|
|
26
|
+
lines.push((0, OutputLayout_js_1.heading)("Goal Approved"));
|
|
27
|
+
lines.push((0, OutputLayout_js_1.contentLine)(`${StyleConfig_js_1.Symbols.check} ${StyleConfig_js_1.Colors.success("QA review passed — ready for codification")}`));
|
|
28
|
+
lines.push("");
|
|
29
|
+
lines.push((0, OutputLayout_js_1.metaField)("Id", StyleConfig_js_1.Colors.muted(response.goalId), 11));
|
|
30
|
+
lines.push((0, OutputLayout_js_1.metaField)("Objective", StyleConfig_js_1.Colors.primary(response.objective), 11));
|
|
31
|
+
lines.push((0, OutputLayout_js_1.metaField)("Status", StyleConfig_js_1.Colors.primary(response.status), 11));
|
|
32
|
+
if (response.nextGoalId) {
|
|
33
|
+
lines.push((0, OutputLayout_js_1.metaField)("Next Goal", StyleConfig_js_1.Colors.muted(response.nextGoalId), 11));
|
|
34
|
+
}
|
|
35
|
+
this.builder.addPrompt(lines.join("\n"));
|
|
31
36
|
if (continueFlag) {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
` Run: jumbo goal codify --id ${response.goalId}`;
|
|
37
|
+
this.builder.addPrompt("\n@LLM: Goal approved. Codify the goal:\n" +
|
|
38
|
+
`Run: jumbo goal codify --id ${response.goalId}`);
|
|
35
39
|
}
|
|
36
40
|
else {
|
|
37
|
-
|
|
38
|
-
`To codify the goal: jumbo goal codify --id ${response.goalId}`;
|
|
39
|
-
}
|
|
40
|
-
if (response.nextGoalId) {
|
|
41
|
-
nextSteps += "\n\nAfter closing, the next goal in the queue is:\n" +
|
|
42
|
-
` Goal ID: ${response.nextGoalId}`;
|
|
41
|
+
this.builder.addPrompt("\n" + `${OutputLayout_js_1.EDGE}${StyleConfig_js_1.Colors.primary("➤")} ${StyleConfig_js_1.Colors.primary(`To codify: jumbo goal codify --id ${response.goalId}`)}`);
|
|
43
42
|
}
|
|
44
|
-
nextSteps += "\n---\n";
|
|
45
|
-
this.builder.addPrompt(nextSteps);
|
|
46
43
|
return this.builder.build();
|
|
47
44
|
}
|
|
48
45
|
/**
|
|
@@ -51,7 +48,7 @@ class GoalApproveOutputBuilder {
|
|
|
51
48
|
*/
|
|
52
49
|
buildFailureError(error) {
|
|
53
50
|
this.builder.reset();
|
|
54
|
-
this.builder.addPrompt("
|
|
51
|
+
this.builder.addPrompt(`${StyleConfig_js_1.Symbols.cross} ${StyleConfig_js_1.Colors.error("Failed to approve goal")}`);
|
|
55
52
|
this.builder.addData({
|
|
56
53
|
message: error instanceof Error ? error.message : error
|
|
57
54
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoalApproveOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/approve/GoalApproveOutputBuilder.ts"],"names":[],"mappings":";;;AAAA,uFAAiF;
|
|
1
|
+
{"version":3,"file":"GoalApproveOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/approve/GoalApproveOutputBuilder.ts"],"names":[],"mappings":";;;AAAA,uFAAiF;AAGjF,sEAAoE;AACpE,wEAAoG;AAEpG;;;;;;GAMG;AACH,MAAa,wBAAwB;IAGnC;QACE,IAAI,CAAC,OAAO,GAAG,IAAI,gDAAqB,EAAE,CAAC;IAC7C,CAAC;IAED;;;OAGG;IACH,YAAY,CAAC,QAA6B,EAAE,eAAwB,KAAK;QACvE,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;QACrB,MAAM,KAAK,GAAa,EAAE,CAAC;QAE3B,KAAK,CAAC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sBAAI,GAAG,uBAAM,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,uBAAM,CAAC,OAAO,CAAC,qCAAqC,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,CACjH,CAAC;QACJ,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IAC9B,CAAC;IAED;;;OAGG;IACH,iBAAiB,CAAC,KAAqB;QACrC,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;QACrB,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG,wBAAO,CAAC,KAAK,IAAI,uBAAM,CAAC,KAAK,CAAC,wBAAwB,CAAC,EAAE,CAAC,CAAC;QACrF,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC;YACnB,OAAO,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK;SACxD,CAAC,CAAC;QACH,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IAC9B,CAAC;CACF;AAvDD,4DAuDC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"goal.approve.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/approve/goal.approve.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;;AAiCH,kCAuBC;AAtDD,0EAAqF;AAErF,gEAA0D;AAC1D,+EAAyE;AAEzE;;GAEG;AACU,QAAA,QAAQ,GAAoB;IACvC,WAAW,EAAE,2CAA2C;IACxD,QAAQ,EAAE,MAAM;IAChB,eAAe,EAAE;QACf;YACE,KAAK,EAAE,eAAe;YACtB,WAAW,EAAE,2BAA2B;SACzC;KACF;IACD,OAAO,EAAE,CAAC,oCAAe,CAAC;IAC1B,QAAQ,EAAE;QACR;YACE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"goal.approve.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/approve/goal.approve.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E,CAAC,CAAC;QAC9C,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoalBlockOutputBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/block/GoalBlockOutputBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"GoalBlockOutputBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/block/GoalBlockOutputBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAInE;;;;;;GAMG;AACH,qBAAa,sBAAsB;IACjC,OAAO,CAAC,OAAO,CAAwB;;IAMvC;;;OAGG;IACH,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,cAAc;IAc5D;;;OAGG;IACH,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,cAAc;CAQzD"}
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GoalBlockOutputBuilder = void 0;
|
|
4
4
|
const TerminalOutputBuilder_js_1 = require("../../../output/TerminalOutputBuilder.js");
|
|
5
|
+
const StyleConfig_js_1 = require("../../../rendering/StyleConfig.js");
|
|
6
|
+
const OutputLayout_js_1 = require("../../../rendering/OutputLayout.js");
|
|
5
7
|
/**
|
|
6
8
|
* Specialized builder for goal.block command output.
|
|
7
9
|
* Encapsulates all output rendering for the block goal command.
|
|
@@ -19,11 +21,15 @@ class GoalBlockOutputBuilder {
|
|
|
19
21
|
*/
|
|
20
22
|
buildSuccess(goalId, reason) {
|
|
21
23
|
this.builder.reset();
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
const lines = [];
|
|
25
|
+
lines.push("");
|
|
26
|
+
lines.push((0, OutputLayout_js_1.heading)("Goal Blocked"));
|
|
27
|
+
lines.push((0, OutputLayout_js_1.contentLine)(`${StyleConfig_js_1.Symbols.check} ${StyleConfig_js_1.Colors.success("Goal has been blocked")}`));
|
|
28
|
+
lines.push("");
|
|
29
|
+
lines.push((0, OutputLayout_js_1.metaField)("Id", StyleConfig_js_1.Colors.muted(goalId)));
|
|
30
|
+
lines.push((0, OutputLayout_js_1.metaField)("Reason", StyleConfig_js_1.Colors.primary(reason)));
|
|
31
|
+
this.builder.addPrompt(lines.join("\n"));
|
|
32
|
+
this.builder.addData({ goalId, reason });
|
|
27
33
|
return this.builder.build();
|
|
28
34
|
}
|
|
29
35
|
/**
|
|
@@ -32,7 +38,7 @@ class GoalBlockOutputBuilder {
|
|
|
32
38
|
*/
|
|
33
39
|
buildFailureError(error) {
|
|
34
40
|
this.builder.reset();
|
|
35
|
-
this.builder.addPrompt("
|
|
41
|
+
this.builder.addPrompt(`${StyleConfig_js_1.Symbols.cross} ${StyleConfig_js_1.Colors.error("Failed to block goal")}`);
|
|
36
42
|
this.builder.addData({
|
|
37
43
|
message: error instanceof Error ? error.message : error
|
|
38
44
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoalBlockOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/block/GoalBlockOutputBuilder.ts"],"names":[],"mappings":";;;AAAA,uFAAiF;
|
|
1
|
+
{"version":3,"file":"GoalBlockOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/block/GoalBlockOutputBuilder.ts"],"names":[],"mappings":";;;AAAA,uFAAiF;AAEjF,sEAAoE;AACpE,wEAAqF;AAErF;;;;;;GAMG;AACH,MAAa,sBAAsB;IAGjC;QACE,IAAI,CAAC,OAAO,GAAG,IAAI,gDAAqB,EAAE,CAAC;IAC7C,CAAC;IAED;;;OAGG;I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C,OAAO,CAAC,CAAC,CAAC,KAAK;SACxD,CAAC,CAAC;QACH,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IAC9B,CAAC;CACF;AArCD,wDAqCC"}
|
|
@@ -27,7 +27,7 @@ exports.metadata = {
|
|
|
27
27
|
],
|
|
28
28
|
examples: [
|
|
29
29
|
{
|
|
30
|
-
command: "jumbo goal block --id
|
|
30
|
+
command: "jumbo goal block --id abc123 --note \"Waiting for API credentials\"",
|
|
31
31
|
description: "Block a goal with a reason"
|
|
32
32
|
}
|
|
33
33
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"goal.block.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/block/goal.block.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAgCH,8BAyBC;AArDD,gEAA0D;AAC1D,2EAAqE;AAErE;;GAEG;AACU,QAAA,QAAQ,GAAoB;IACvC,WAAW,EAAE,oCAAoC;IACjD,QAAQ,EAAE,MAAM;IAChB,eAAe,EAAE;QACf;YACE,KAAK,EAAE,eAAe;YACtB,WAAW,EAAE,yBAAyB;SACvC;QACD;YACE,KAAK,EAAE,qBAAqB;YAC5B,WAAW,EAAE,gCAAgC;SAC9C;KACF;IACD,QAAQ,EAAE;QACR;YACE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"goal.block.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/block/goal.block.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAgCH,8BAyBC;AArDD,gEAA0D;AAC1D,2EAAqE;AAErE;;GAEG;AACU,QAAA,QAAQ,GAAoB;IACvC,WAAW,EAAE,oCAAoC;IACjD,QAAQ,EAAE,MAAM;IAChB,eAAe,EAAE;QACf;YACE,KAAK,EAAE,eAAe;YACtB,WAAW,EAAE,yBAAyB;SACvC;QACD;YACE,KAAK,EAAE,qBAAqB;YAC5B,WAAW,EAAE,gCAAgC;SAC9C;KACF;IACD,QAAQ,EAAE;QACR;YACE,OAAO,EAAE,qEAAqE;YAC9E,WAAW,EAAE,4BAA4B;SAC1C;KACF;IACD,OAAO,EAAE,CAAC,cAAc,EAAE,YAAY,EAAE,UAAU,CAAC;CACpD,CAAC;AAEK,KAAK,UAAU,SAAS,CAC7B,OAGC,EACD,SAAgC;IAEhC,MAAM,QAAQ,GAAG,sBAAQ,CAAC,WAAW,EAAE,CAAC;IACxC,MAAM,aAAa,GAAG,IAAI,kDAAsB,EAAE,CAAC;IAEnD,IAAI,CAAC;QACH,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,SAAS,CAAC,mBAAmB,CAAC,MAAM,CAAC;YAClE,MAAM,EAAE,OAAO,CAAC,EAAE;YAClB,IAAI,EAAE,OAAO,CAAC,IAAI;SACnB,CAAC,CAAC;QAEH,kCAAkC;QAClC,MAAM,MAAM,GAAG,aAAa,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;QACxD,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,eAAe,EAAE,CAAC,CAAC;IAC1C,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,MAAM,GAAG,aAAa,CAAC,iBAAiB,CAAC,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QAC/F,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,eAAe,EAAE,CAAC,CAAC;QACxC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;IACD,8CAA8C;AAChD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoalCloseOutputBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/close/GoalCloseOutputBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qEAAqE,CAAC;
|
|
1
|
+
{"version":3,"file":"GoalCloseOutputBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/close/GoalCloseOutputBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qEAAqE,CAAC;AAIxG;;;;;;GAMG;AACH,qBAAa,sBAAsB;IACjC,OAAO,CAAC,OAAO,CAAwB;;IAMvC;;;OAGG;IACH,YAAY,CAAC,QAAQ,EAAE,iBAAiB,EAAE,YAAY,GAAE,OAAe,GAAG,cAAc;IA6CxF;;OAEG;IACH,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,cAAc;CAQzD"}
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GoalCloseOutputBuilder = void 0;
|
|
4
4
|
const TerminalOutputBuilder_js_1 = require("../../../output/TerminalOutputBuilder.js");
|
|
5
|
+
const StyleConfig_js_1 = require("../../../rendering/StyleConfig.js");
|
|
6
|
+
const OutputLayout_js_1 = require("../../../rendering/OutputLayout.js");
|
|
5
7
|
/**
|
|
6
8
|
* Specialized builder for goal.close command output.
|
|
7
9
|
* Encapsulates all output rendering for the close goal command.
|
|
@@ -19,27 +21,39 @@ class GoalCloseOutputBuilder {
|
|
|
19
21
|
*/
|
|
20
22
|
buildSuccess(response, continueFlag = false) {
|
|
21
23
|
this.builder.reset();
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
const lines = [];
|
|
25
|
+
lines.push("");
|
|
26
|
+
lines.push((0, OutputLayout_js_1.heading)("Goal Closed"));
|
|
27
|
+
lines.push((0, OutputLayout_js_1.contentLine)(`${StyleConfig_js_1.Symbols.check} ${StyleConfig_js_1.Colors.success("Goal has been closed")}`));
|
|
28
|
+
lines.push("");
|
|
29
|
+
lines.push((0, OutputLayout_js_1.metaField)("Id", StyleConfig_js_1.Colors.muted(response.goalId), 11));
|
|
30
|
+
lines.push((0, OutputLayout_js_1.metaField)("Objective", StyleConfig_js_1.Colors.primary(response.objective), 11));
|
|
31
|
+
lines.push((0, OutputLayout_js_1.metaField)("Status", StyleConfig_js_1.Colors.primary(response.status), 11));
|
|
27
32
|
if (response.nextGoal) {
|
|
28
|
-
|
|
33
|
+
lines.push("");
|
|
34
|
+
lines.push((0, OutputLayout_js_1.divider)());
|
|
35
|
+
lines.push("");
|
|
36
|
+
lines.push((0, OutputLayout_js_1.heading)("Next Goal"));
|
|
37
|
+
lines.push((0, OutputLayout_js_1.metaField)("Id", StyleConfig_js_1.Colors.muted(response.nextGoal.goalId), 11));
|
|
38
|
+
lines.push((0, OutputLayout_js_1.metaField)("Objective", StyleConfig_js_1.Colors.primary(response.nextGoal.objective), 11));
|
|
39
|
+
lines.push((0, OutputLayout_js_1.metaField)("Status", StyleConfig_js_1.Colors.primary(response.nextGoal.status), 11));
|
|
40
|
+
this.builder.addPrompt(lines.join("\n"));
|
|
29
41
|
this.builder.addData({
|
|
30
42
|
goalId: response.nextGoal.goalId,
|
|
31
43
|
objective: response.nextGoal.objective,
|
|
32
44
|
status: response.nextGoal.status,
|
|
33
45
|
});
|
|
34
46
|
if (continueFlag) {
|
|
35
|
-
this.builder.addPrompt("Start the next goal immediately
|
|
36
|
-
`
|
|
47
|
+
this.builder.addPrompt("\n@LLM: Start the next goal immediately.\n" +
|
|
48
|
+
`Run: jumbo goal start --id ${response.nextGoal.goalId}`);
|
|
37
49
|
}
|
|
38
50
|
else {
|
|
39
|
-
this.builder.addPrompt("
|
|
40
|
-
`To start the next goal: jumbo goal start --id ${response.nextGoal.goalId}`);
|
|
51
|
+
this.builder.addPrompt("\n" + `${OutputLayout_js_1.EDGE}${StyleConfig_js_1.Colors.primary("➤")} ${StyleConfig_js_1.Colors.primary(`To start: jumbo goal start --id ${response.nextGoal.goalId}`)}`);
|
|
41
52
|
}
|
|
42
53
|
}
|
|
54
|
+
else {
|
|
55
|
+
this.builder.addPrompt(lines.join("\n"));
|
|
56
|
+
}
|
|
43
57
|
return this.builder.build();
|
|
44
58
|
}
|
|
45
59
|
/**
|
|
@@ -47,7 +61,7 @@ class GoalCloseOutputBuilder {
|
|
|
47
61
|
*/
|
|
48
62
|
buildFailureError(error) {
|
|
49
63
|
this.builder.reset();
|
|
50
|
-
this.builder.addPrompt("
|
|
64
|
+
this.builder.addPrompt(`${StyleConfig_js_1.Symbols.cross} ${StyleConfig_js_1.Colors.error("Failed to close goal")}`);
|
|
51
65
|
this.builder.addData({
|
|
52
66
|
message: error instanceof Error ? error.message : error
|
|
53
67
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoalCloseOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/close/GoalCloseOutputBuilder.ts"],"names":[],"mappings":";;;AAAA,uFAAiF;
|
|
1
|
+
{"version":3,"file":"GoalCloseOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/close/GoalCloseOutputBuilder.ts"],"names":[],"mappings":";;;AAAA,uFAAiF;AAGjF,sEAAoE;AACpE,wEAAoG;AAEpG;;;;;;GAMG;AACH,MAAa,sBAAsB;IAGjC;QACE,IAAI,CAAC,OAAO,GAAG,IAAI,gDAAqB,EAAE,CAAC;IAC7C,CAAC;IAED;;;OAGG;IACH,YAAY,CAAC,QAA2B,EAAE,eAAwB,KAAK;QACrE,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;QACrB,MAAM,KAAK,GAAa,EAAE,CAAC;QAE3B,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACf,KAAK,CAAC,IAAI,CAAC,IAAA,yBAAO,EAAC,aAAa,CAAC,CAAC,CAAC;QACnC,KAAK,CAAC,IAAI,CAAC,IAAA,6BAAW,EAAC,GAA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;YACnB,OAAO,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK;SACxD,CAAC,CAAC;QACH,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IAC9B,CAAC;CACF;AAnED,wDAmEC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"goal.close.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/close/goal.close.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAiCH,8BAuBC;AAtDD,0EAAqF;AAErF,gEAA0D;AAC1D,2EAAqE;AAErE;;GAEG;AACU,QAAA,QAAQ,GAAoB;IACvC,WAAW,EAAE,mEAAmE;IAChF,QAAQ,EAAE,MAAM;IAChB,eAAe,EAAE;QACf;YACE,KAAK,EAAE,eAAe;YACtB,WAAW,EAAE,yBAAyB;SACvC;KACF;IACD,OAAO,EAAE,CAAC,oCAAe,CAAC;IAC1B,QAAQ,EAAE;QACR;YACE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"goal.close.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/close/goal.close.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAiCH,8BAuBC;AAtDD,0EAAqF;AAErF,gEAA0D;AAC1D,2EAAqE;AAErE;;GAEG;AACU,QAAA,QAAQ,GAAoB;IACvC,WAAW,EAAE,mEAAmE;IAChF,QAAQ,EAAE,MAAM;IAChB,eAAe,EAAE;QACf;YACE,KAAK,EAAE,eAAe;YACtB,WAAW,EAAE,yBAAyB;SACvC;KACF;IACD,OAAO,EAAE,CAAC,oCAAe,CAAC;IAC1B,QAAQ,EAAE;QACR;YACE,OAAO,EAAE,8BAA8B;YACvC,WAAW,EAAE,iCAAiC;SAC/C;KACF;IACD,OAAO,EAAE,CAAC,aAAa,EAAE,YAAY,CAAC;CACvC,CAAC;AAEF;;;GAGG;AACI,KAAK,UAAU,SAAS,CAC7B,OAA2C,EAC3C,SAAgC;IAEhC,MAAM,QAAQ,GAAG,sBAAQ,CAAC,WAAW,EAAE,CAAC;IAExC,MAAM,aAAa,GAAG,IAAI,kDAAsB,EAAE,CAAC;IAEnD,IAAI,CAAC;QACH,4BAA4B;QAC5B,MAAM,QAAQ,GAAG,MAAM,SAAS,CAAC,mBAAmB,CAAC,MAAM,CAAC;YAC1D,MAAM,EAAE,OAAO,CAAC,EAAE;SACnB,CAAC,CAAC;QAEH,mDAAmD;QACnD,MAAM,MAAM,GAAG,aAAa,CAAC,YAAY,CAAC,QAAQ,EAAE,OAAO,CAAC,QAAQ,KAAK,IAAI,CAAC,CAAC;QAC/E,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,eAAe,EAAE,CAAC,CAAC;IAE1C,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,WAAW,GAAG,aAAa,CAAC,iBAAiB,CAAC,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QACpG,QAAQ,CAAC,KAAK,CAAC,WAAW,CAAC,eAAe,EAAE,CAAC,CAAC;QAC9C,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoalCodifyOutputBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/codify/GoalCodifyOutputBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uEAAuE,CAAC;
|
|
1
|
+
{"version":3,"file":"GoalCodifyOutputBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/codify/GoalCodifyOutputBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uEAAuE,CAAC;AAI3G;;;;;;GAMG;AACH,qBAAa,uBAAuB;IAClC,OAAO,CAAC,OAAO,CAAwB;;IAMvC;;;OAGG;IACH,YAAY,CAAC,QAAQ,EAAE,kBAAkB,GAAG,cAAc;IAgG1D;;OAEG;IACH,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,cAAc;CAQzD"}
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GoalCodifyOutputBuilder = void 0;
|
|
4
4
|
const TerminalOutputBuilder_js_1 = require("../../../output/TerminalOutputBuilder.js");
|
|
5
|
+
const StyleConfig_js_1 = require("../../../rendering/StyleConfig.js");
|
|
6
|
+
const OutputLayout_js_1 = require("../../../rendering/OutputLayout.js");
|
|
5
7
|
/**
|
|
6
8
|
* Specialized builder for goal.codify command output.
|
|
7
9
|
* Encapsulates all output rendering for the codify goal command.
|
|
@@ -21,75 +23,88 @@ class GoalCodifyOutputBuilder {
|
|
|
21
23
|
this.builder.reset();
|
|
22
24
|
const goal = response.goalContextView.goal;
|
|
23
25
|
// Header
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
const headerLines = [
|
|
27
|
+
(0, OutputLayout_js_1.heading)("Goal Codifying — Architectural Reconciliation"),
|
|
28
|
+
(0, OutputLayout_js_1.metaField)("Goal ID", goal.goalId, 12),
|
|
29
|
+
(0, OutputLayout_js_1.metaField)("Objective", goal.objective, 12),
|
|
30
|
+
(0, OutputLayout_js_1.metaField)("Status", goal.status, 12),
|
|
31
|
+
];
|
|
28
32
|
if (goal.branch) {
|
|
29
|
-
|
|
33
|
+
headerLines.push((0, OutputLayout_js_1.metaField)("Branch", goal.branch, 12));
|
|
30
34
|
}
|
|
31
35
|
if (goal.worktree) {
|
|
32
|
-
|
|
36
|
+
headerLines.push((0, OutputLayout_js_1.metaField)("Worktree", goal.worktree, 12));
|
|
33
37
|
}
|
|
34
|
-
|
|
35
|
-
this.builder.addPrompt(
|
|
38
|
+
headerLines.push((0, OutputLayout_js_1.divider)());
|
|
39
|
+
this.builder.addPrompt(headerLines.join("\n"));
|
|
36
40
|
// Section 1: Capture new learnings
|
|
37
|
-
this.builder.addPrompt(
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
" -
|
|
44
|
-
" -
|
|
45
|
-
"
|
|
46
|
-
"
|
|
41
|
+
this.builder.addPrompt([
|
|
42
|
+
(0, OutputLayout_js_1.heading)("Capture Learnings"),
|
|
43
|
+
(0, OutputLayout_js_1.contentLine)("@LLM: Reflect on your interaction with the user during this goal."),
|
|
44
|
+
(0, OutputLayout_js_1.contentLine)("Did it surface any NEW invariants, guidelines, decisions, components, dependencies, or architectural patterns not yet captured?"),
|
|
45
|
+
(0, OutputLayout_js_1.contentLine)("Were you corrected in a way that reveals a missing rule?"),
|
|
46
|
+
(0, OutputLayout_js_1.contentLine)("Only propose additions that are:"),
|
|
47
|
+
(0, OutputLayout_js_1.contentLine)(" - Universal (applicable beyond this specific goal)"),
|
|
48
|
+
(0, OutputLayout_js_1.contentLine)(" - Dense (one sentence, no examples unless the example IS the rule)"),
|
|
49
|
+
(0, OutputLayout_js_1.contentLine)(" - Actionable (changes how code is written or decisions are made)"),
|
|
50
|
+
(0, OutputLayout_js_1.contentLine)("If nothing qualifies, say so. Avoid restating what's already captured."),
|
|
51
|
+
(0, OutputLayout_js_1.contentLine)("Run 'jumbo --help' for command details."),
|
|
52
|
+
].join("\n"));
|
|
47
53
|
// Section 2: Review registered entities for staleness
|
|
48
|
-
this.builder.addPrompt(
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
"Were any
|
|
73
|
-
" Add: jumbo
|
|
74
|
-
" Update: jumbo
|
|
75
|
-
" Remove: jumbo
|
|
76
|
-
"
|
|
77
|
-
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
|
|
87
|
-
|
|
54
|
+
this.builder.addPrompt([
|
|
55
|
+
(0, OutputLayout_js_1.heading)("Review Registered Entities"),
|
|
56
|
+
(0, OutputLayout_js_1.contentLine)("@LLM: This goal may have changed the codebase in ways that affect registered entities."),
|
|
57
|
+
(0, OutputLayout_js_1.contentLine)("For each entity type below, consider whether any existing registrations need updating based on the work performed."),
|
|
58
|
+
"",
|
|
59
|
+
(0, OutputLayout_js_1.heading)("Components"),
|
|
60
|
+
(0, OutputLayout_js_1.contentLine)("Did any component descriptions, responsibilities, or paths change? Were any components deprecated or removed?"),
|
|
61
|
+
(0, OutputLayout_js_1.contentLine)(" Update: jumbo component update --id <id> --description \"...\" --responsibility \"...\""),
|
|
62
|
+
(0, OutputLayout_js_1.contentLine)(" Deprecate: jumbo component deprecate --id <id> --reason \"...\""),
|
|
63
|
+
(0, OutputLayout_js_1.contentLine)(" Add new: jumbo component add --name \"...\" --type \"...\" --description \"...\" --responsibility \"...\" --path \"...\""),
|
|
64
|
+
"",
|
|
65
|
+
(0, OutputLayout_js_1.heading)("Decisions"),
|
|
66
|
+
(0, OutputLayout_js_1.contentLine)("Were any architectural decisions made, superseded, or invalidated by this work?"),
|
|
67
|
+
(0, OutputLayout_js_1.contentLine)(" Add: jumbo decision add --title \"...\" --context \"...\" --rationale \"...\""),
|
|
68
|
+
(0, OutputLayout_js_1.contentLine)(" Update: jumbo decision update --id <id> --rationale \"...\""),
|
|
69
|
+
(0, OutputLayout_js_1.contentLine)(" Supersede: jumbo decision supersede --id <id> --new-decision-id <new-id>"),
|
|
70
|
+
"",
|
|
71
|
+
(0, OutputLayout_js_1.heading)("Invariants"),
|
|
72
|
+
(0, OutputLayout_js_1.contentLine)("Were any invariants introduced, weakened, strengthened, or made obsolete?"),
|
|
73
|
+
(0, OutputLayout_js_1.contentLine)(" Add: jumbo invariant add --title \"...\" --description \"...\" --enforcement \"...\""),
|
|
74
|
+
(0, OutputLayout_js_1.contentLine)(" Update: jumbo invariant update --id <id> --description \"...\" --enforcement \"...\""),
|
|
75
|
+
(0, OutputLayout_js_1.contentLine)(" Remove: jumbo invariant remove --id <id>"),
|
|
76
|
+
"",
|
|
77
|
+
(0, OutputLayout_js_1.heading)("Guidelines"),
|
|
78
|
+
(0, OutputLayout_js_1.contentLine)("Were any coding, testing, or documentation guidelines introduced or changed?"),
|
|
79
|
+
(0, OutputLayout_js_1.contentLine)(" Add: jumbo guideline add --category \"...\" --title \"...\" --description \"...\""),
|
|
80
|
+
(0, OutputLayout_js_1.contentLine)(" Update: jumbo guideline update --guideline-id <id> --description \"...\""),
|
|
81
|
+
(0, OutputLayout_js_1.contentLine)(" Remove: jumbo guideline remove --guideline-id <id>"),
|
|
82
|
+
"",
|
|
83
|
+
(0, OutputLayout_js_1.heading)("Dependencies"),
|
|
84
|
+
(0, OutputLayout_js_1.contentLine)("Were any inter-component dependencies added, removed, or changed?"),
|
|
85
|
+
(0, OutputLayout_js_1.contentLine)(" Add: jumbo dependency add --consumer-id <id> --provider-id <id> --contract \"...\""),
|
|
86
|
+
(0, OutputLayout_js_1.contentLine)(" Update: jumbo dependency update --id <id> --contract \"...\""),
|
|
87
|
+
(0, OutputLayout_js_1.contentLine)(" Remove: jumbo dependency remove --id <id>"),
|
|
88
|
+
"",
|
|
89
|
+
(0, OutputLayout_js_1.heading)("Relations"),
|
|
90
|
+
(0, OutputLayout_js_1.contentLine)("Should any new relations be established between entities touched by this goal?"),
|
|
91
|
+
(0, OutputLayout_js_1.contentLine)(" Add: jumbo relation add --from-type <type> --from-id <id> --to-type <type> --to-id <id> --type <type> --strength <level>"),
|
|
92
|
+
].join("\n"));
|
|
93
|
+
this.builder.addPrompt([
|
|
94
|
+
(0, OutputLayout_js_1.heading)("Update Documentation"),
|
|
95
|
+
(0, OutputLayout_js_1.contentLine)("@LLM: Did you make any changes that should be reflected in the user documentation?"),
|
|
96
|
+
(0, OutputLayout_js_1.contentLine)("Did the changes introduce any new features, modify existing behavior, or fix bugs that users should be aware of?"),
|
|
97
|
+
(0, OutputLayout_js_1.contentLine)("If yes to either, then:"),
|
|
98
|
+
(0, OutputLayout_js_1.contentLine)(" - Propose updates to the ~/docs/*"),
|
|
99
|
+
(0, OutputLayout_js_1.contentLine)(" - Update the CHANGELOG.md"),
|
|
100
|
+
].join("\n"));
|
|
88
101
|
// Next step
|
|
89
|
-
this.builder.addPrompt(
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
102
|
+
this.builder.addPrompt([
|
|
103
|
+
(0, OutputLayout_js_1.heading)("Next Step"),
|
|
104
|
+
(0, OutputLayout_js_1.contentLine)("After completing the reconciliation above, close the goal:"),
|
|
105
|
+
(0, OutputLayout_js_1.contentLine)(` Run: jumbo goal close --id ${goal.goalId}`),
|
|
106
|
+
(0, OutputLayout_js_1.divider)(),
|
|
107
|
+
].join("\n"));
|
|
93
108
|
return this.builder.build();
|
|
94
109
|
}
|
|
95
110
|
/**
|
|
@@ -97,7 +112,7 @@ class GoalCodifyOutputBuilder {
|
|
|
97
112
|
*/
|
|
98
113
|
buildFailureError(error) {
|
|
99
114
|
this.builder.reset();
|
|
100
|
-
this.builder.addPrompt("
|
|
115
|
+
this.builder.addPrompt(`${StyleConfig_js_1.Symbols.cross} ${StyleConfig_js_1.Colors.error("Failed to codify goal")}`);
|
|
101
116
|
this.builder.addData({
|
|
102
117
|
message: error instanceof Error ? error.message : error
|
|
103
118
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoalCodifyOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/codify/GoalCodifyOutputBuilder.ts"],"names":[],"mappings":";;;AAAA,uFAAiF;
|
|
1
|
+
{"version":3,"file":"GoalCodifyOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/codify/GoalCodifyOutputBuilder.ts"],"names":[],"mappings":";;;AAAA,uFAAiF;AAGjF,sEAAoE;AACpE,wEAA8F;AAE9F;;;;;;GAMG;AACH,MAAa,uBAAuB;IAGlC;QACE,IAAI,CAAC,OAAO,GAAG,IAAI,gDAAqB,EAAE,CAAC;IAC7C,CAAC;IAED;;;OAGG;IACH,YAAY,CAAC,QAA4B;QACvC,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;QAErB,MAAM,IAAI,GAAG,QAAQ,CAAC,eAAe,CAAC,IAAI,CAAC;QAE3C,SAAS;QACT,MAAM,WAAW,GAAG;YAClB,IAAA,yBAAO,EAAC,+CAA+C,CAAC;YACxD,IAAA,2BAAS,EAAC,SAAS,EAAE,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC;YACrC,IAAA,2BAAS,EAAC,WAAW,EAAE,IAAI,CAAC,SAAS,EAAE,EAAE,CAAC;YAC1C,IAAA,2BAAS,EAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC;SACrC,CAAC;QACF,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YAChB,WAAW,CAAC,IAAI,CAAC,IAAA,2BAAS,EAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,CAAC;QACzD,CAAC;QACD,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,WAAW,CAAC,IAAI,CAAC,IAAA,2BAAS,EAAC,UAAU,EAAE,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Z,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC;YACrB,IAAA,yBAAO,EAAC,WAAW,CAAC;YACpB,IAAA,6BAAW,EAAC,4DAA4D,CAAC;YACzE,IAAA,6BAAW,EAAC,gCAAgC,IAAI,CAAC,MAAM,EAAE,CAAC;YAC1D,IAAA,yBAAO,GAAE;SACV,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;QAEd,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IAC9B,CAAC;IAED;;OAEG;IACH,iBAAiB,CAAC,KAAqB;QACrC,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;QACrB,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG,wBAAO,CAAC,KAAK,IAAI,uBAAM,CAAC,KAAK,CAAC,uBAAuB,CAAC,EAAE,CAAC,CAAC;QACpF,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC;YACnB,OAAO,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK;SACxD,CAAC,CAAC;QACH,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IAC9B,CAAC;CACF;AAtHD,0DAsHC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"goal.codify.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/codify/goal.codify.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAiCH,gCAsBC;AAnDD,gEAA0D;AAC1D,6EAAuE;AAEvE;;GAEG;AACU,QAAA,QAAQ,GAAoB;IACvC,WAAW,EAAE,2EAA2E;IACxF,QAAQ,EAAE,MAAM;IAChB,eAAe,EAAE;QACf;YACE,KAAK,EAAE,eAAe;YACtB,WAAW,EAAE,0BAA0B;SACxC;KACF;IACD,OAAO,EAAE,EAAE;IACX,QAAQ,EAAE;QACR;YACE,OAAO,EAAE
|
|
1
|
+
{"version":3,"file":"goal.codify.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/codify/goal.codify.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAiCH,gCAsBC;AAnDD,gEAA0D;AAC1D,6EAAuE;AAEvE;;GAEG;AACU,QAAA,QAAQ,GAAoB;IACvC,WAAW,EAAE,2EAA2E;IACxF,QAAQ,EAAE,MAAM;IAChB,eAAe,EAAE;QACf;YACE,KAAK,EAAE,eAAe;YACtB,WAAW,EAAE,0BAA0B;SACxC;KACF;IACD,OAAO,EAAE,EAAE;IACX,QAAQ,EAAE;QACR;YACE,OAAO,EAAE,+BAA+B;YACxC,WAAW,EAAE,kCAAkC;SAChD;KACF;IACD,OAAO,EAAE,CAAC,cAAc,EAAE,YAAY,CAAC;CACxC,CAAC;AAEF;;;GAGG;AACI,KAAK,UAAU,UAAU,CAC9B,OAAuB,EACvB,SAAgC;IAEhC,MAAM,QAAQ,GAAG,sBAAQ,CAAC,WAAW,EAAE,CAAC;IAExC,IAAI,CAAC;QACH,4BAA4B;QAC5B,MAAM,QAAQ,GAAG,MAAM,SAAS,CAAC,oBAAoB,CAAC,MAAM,CAAC;YAC3D,MAAM,EAAE,OAAO,CAAC,EAAE;SACnB,CAAC,CAAC;QAEH,mDAAmD;QACnD,MAAM,aAAa,GAAG,IAAI,oDAAuB,EAAE,CAAC;QACpD,MAAM,MAAM,GAAG,aAAa,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;QAEpD,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,eAAe,EAAE,CAAC,CAAC;IAE1C,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,QAAQ,CAAC,KAAK,CAAC,uBAAuB,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QACxF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoalCommitOutputBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/commit/GoalCommitOutputBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"GoalCommitOutputBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/commit/GoalCommitOutputBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAInE;;;;;;GAMG;AACH,qBAAa,uBAAuB;IAClC,OAAO,CAAC,OAAO,CAAwB;;IAMvC;;;OAGG;IACH,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,GAAE,OAAe,GAAG,cAAc;IA0B3F;;;OAGG;IACH,sBAAsB,CAAC,MAAM,EAAE,MAAM,GAAG,cAAc;IAOtD;;;OAGG;IACH,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,cAAc;CAQzD"}
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GoalCommitOutputBuilder = void 0;
|
|
4
4
|
const TerminalOutputBuilder_js_1 = require("../../../output/TerminalOutputBuilder.js");
|
|
5
|
+
const StyleConfig_js_1 = require("../../../rendering/StyleConfig.js");
|
|
6
|
+
const OutputLayout_js_1 = require("../../../rendering/OutputLayout.js");
|
|
5
7
|
/**
|
|
6
8
|
* Specialized builder for goal.commit command output.
|
|
7
9
|
* Encapsulates all output rendering for the commit goal command.
|
|
@@ -19,15 +21,21 @@ class GoalCommitOutputBuilder {
|
|
|
19
21
|
*/
|
|
20
22
|
buildSuccess(goalId, status, continueFlag = false) {
|
|
21
23
|
this.builder.reset();
|
|
22
|
-
|
|
24
|
+
const lines = [];
|
|
25
|
+
lines.push("");
|
|
26
|
+
lines.push((0, OutputLayout_js_1.heading)("Goal Committed"));
|
|
27
|
+
lines.push((0, OutputLayout_js_1.contentLine)(`${StyleConfig_js_1.Symbols.check} ${StyleConfig_js_1.Colors.success("Goal refinement committed")}`));
|
|
28
|
+
lines.push("");
|
|
29
|
+
lines.push((0, OutputLayout_js_1.metaField)("Id", StyleConfig_js_1.Colors.muted(goalId)));
|
|
30
|
+
lines.push((0, OutputLayout_js_1.metaField)("Status", StyleConfig_js_1.Colors.primary(status)));
|
|
31
|
+
this.builder.addPrompt(lines.join("\n"));
|
|
23
32
|
this.builder.addData({ goalId, status });
|
|
24
33
|
if (continueFlag) {
|
|
25
34
|
this.builder.addPrompt("\n@LLM: Goal refinement is committed and ready to start.\n" +
|
|
26
35
|
`Run: jumbo goal start --id ${goalId}`);
|
|
27
36
|
}
|
|
28
37
|
else {
|
|
29
|
-
this.builder.addPrompt("\n
|
|
30
|
-
`The goal is now refined and can be started with: jumbo goal start --id ${goalId}`);
|
|
38
|
+
this.builder.addPrompt("\n" + `${OutputLayout_js_1.EDGE}${StyleConfig_js_1.Colors.primary("➤")} ${StyleConfig_js_1.Colors.primary(`To start: jumbo goal start --id ${goalId}`)}`);
|
|
31
39
|
}
|
|
32
40
|
return this.builder.build();
|
|
33
41
|
}
|
|
@@ -37,7 +45,7 @@ class GoalCommitOutputBuilder {
|
|
|
37
45
|
*/
|
|
38
46
|
buildGoalNotFoundError(goalId) {
|
|
39
47
|
this.builder.reset();
|
|
40
|
-
this.builder.addPrompt("
|
|
48
|
+
this.builder.addPrompt(`${StyleConfig_js_1.Symbols.cross} ${StyleConfig_js_1.Colors.error("Goal not found")}`);
|
|
41
49
|
this.builder.addData({ message: `No goal exists with ID: ${goalId}` });
|
|
42
50
|
return this.builder.build();
|
|
43
51
|
}
|
|
@@ -47,7 +55,7 @@ class GoalCommitOutputBuilder {
|
|
|
47
55
|
*/
|
|
48
56
|
buildFailureError(error) {
|
|
49
57
|
this.builder.reset();
|
|
50
|
-
this.builder.addPrompt("
|
|
58
|
+
this.builder.addPrompt(`${StyleConfig_js_1.Symbols.cross} ${StyleConfig_js_1.Colors.error("Failed to commit goal")}`);
|
|
51
59
|
this.builder.addData({
|
|
52
60
|
message: error instanceof Error ? error.message : error
|
|
53
61
|
});
|