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,7 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* CLI Command: jumbo architecture define
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* DEPRECATED: This command rejects execution when the Architecture entity
|
|
5
|
+
* is deprecated, with migration guidance directing to individual entities.
|
|
5
6
|
*/
|
|
6
7
|
import { CommandMetadata } from "../../registry/CommandMetadata.js";
|
|
7
8
|
import { IApplicationContainer } from "../../../../../application/host/IApplicationContainer.js";
|
|
@@ -10,8 +11,8 @@ import { IApplicationContainer } from "../../../../../application/host/IApplicat
|
|
|
10
11
|
*/
|
|
11
12
|
export declare const metadata: CommandMetadata;
|
|
12
13
|
/**
|
|
13
|
-
* Command handler
|
|
14
|
-
*
|
|
14
|
+
* Command handler — delegates to controller; rejects with migration guidance
|
|
15
|
+
* when the Architecture entity is deprecated.
|
|
15
16
|
*/
|
|
16
17
|
export declare function architectureDefine(options: {
|
|
17
18
|
description: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"architecture.define.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/architecture/define/architecture.define.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"architecture.define.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/architecture/define/architecture.define.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,0DAA0D,CAAC;AAKjG;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,eAsCtB,CAAC;AAEF;;;GAGG;AACH,wBAAsB,kBAAkB,CACtC,OAAO,EAAE;IACP,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB,EACD,SAAS,EAAE,qBAAqB,iBAyBjC"}
|
|
@@ -2,17 +2,20 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* CLI Command: jumbo architecture define
|
|
4
4
|
*
|
|
5
|
-
*
|
|
5
|
+
* DEPRECATED: This command rejects execution when the Architecture entity
|
|
6
|
+
* is deprecated, with migration guidance directing to individual entities.
|
|
6
7
|
*/
|
|
7
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
9
|
exports.metadata = void 0;
|
|
9
10
|
exports.architectureDefine = architectureDefine;
|
|
10
11
|
const Renderer_js_1 = require("../../../rendering/Renderer.js");
|
|
12
|
+
const Constants_js_1 = require("../../../../../domain/architecture/Constants.js");
|
|
13
|
+
const ArchitectureDeprecationConstants_js_1 = require("../../../../../application/context/architecture/ArchitectureDeprecationConstants.js");
|
|
11
14
|
/**
|
|
12
15
|
* Command metadata for auto-registration
|
|
13
16
|
*/
|
|
14
17
|
exports.metadata = {
|
|
15
|
-
description: "Define project architecture",
|
|
18
|
+
description: "Define project architecture (deprecated)",
|
|
16
19
|
category: "solution",
|
|
17
20
|
requiredOptions: [
|
|
18
21
|
{
|
|
@@ -47,25 +50,16 @@ exports.metadata = {
|
|
|
47
50
|
command: 'jumbo architecture define --description "Event-sourced DDD system" --organization "Clean Architecture" --pattern DDD CQRS --stack TypeScript Node.js',
|
|
48
51
|
description: "Define architecture with patterns and stack"
|
|
49
52
|
},
|
|
50
|
-
{
|
|
51
|
-
command: 'jumbo architecture define --description "REST API" --organization "Layered"',
|
|
52
|
-
description: "Minimal architecture definition"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
command: 'jumbo architecture define --description "Microservices platform" --organization "Hexagonal" --data-store postgres:relational:primary redis:cache:sessions --principle "Single Responsibility" "Dependency Inversion"',
|
|
56
|
-
description: "Define with data stores and principles"
|
|
57
|
-
}
|
|
58
53
|
],
|
|
59
|
-
related: ["
|
|
54
|
+
related: ["decision add", "invariant add", "component add", "dependency add"]
|
|
60
55
|
};
|
|
61
56
|
/**
|
|
62
|
-
* Command handler
|
|
63
|
-
*
|
|
57
|
+
* Command handler — delegates to controller; rejects with migration guidance
|
|
58
|
+
* when the Architecture entity is deprecated.
|
|
64
59
|
*/
|
|
65
60
|
async function architectureDefine(options, container) {
|
|
66
61
|
const renderer = Renderer_js_1.Renderer.getInstance();
|
|
67
62
|
try {
|
|
68
|
-
// Build typed request and delegate to controller
|
|
69
63
|
const result = await container.defineArchitectureController.handle({
|
|
70
64
|
description: options.description,
|
|
71
65
|
organization: options.organization,
|
|
@@ -74,21 +68,18 @@ async function architectureDefine(options, container) {
|
|
|
74
68
|
dataStores: options.dataStore,
|
|
75
69
|
stack: options.stack
|
|
76
70
|
});
|
|
77
|
-
// Success output
|
|
78
71
|
renderer.success(`Architecture defined successfully`);
|
|
79
72
|
renderer.info(`Architecture ID: ${result.architectureId}`);
|
|
80
|
-
renderer.info(`Organization: ${options.organization}`);
|
|
81
|
-
if (options.pattern?.length) {
|
|
82
|
-
renderer.info(`Patterns: ${options.pattern.join(', ')}`);
|
|
83
|
-
}
|
|
84
|
-
if (options.stack?.length) {
|
|
85
|
-
renderer.info(`Stack: ${options.stack.join(', ')}`);
|
|
86
|
-
}
|
|
87
73
|
}
|
|
88
74
|
catch (error) {
|
|
89
|
-
|
|
75
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
76
|
+
if (message === Constants_js_1.ArchitectureErrorMessages.DEPRECATED) {
|
|
77
|
+
renderer.error(ArchitectureDeprecationConstants_js_1.ARCHITECTURE_REJECTION_MESSAGE);
|
|
78
|
+
}
|
|
79
|
+
else {
|
|
80
|
+
renderer.error("Failed to define architecture", error instanceof Error ? error : String(error));
|
|
81
|
+
}
|
|
90
82
|
process.exit(1);
|
|
91
83
|
}
|
|
92
|
-
// NO CLEANUP - infrastructure manages itself!
|
|
93
84
|
}
|
|
94
85
|
//# sourceMappingURL=architecture.define.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"architecture.define.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/architecture/define/architecture.define.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"architecture.define.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/architecture/define/architecture.define.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAuDH,gDAkCC;AArFD,gEAA0D;AAC1D,kFAA4F;AAC5F,6IAAqI;AAErI;;GAEG;AACU,QAAA,QAAQ,GAAoB;IACvC,WAAW,EAAE,0CAA0C;IACvD,QAAQ,EAAE,UAAU;IACpB,eAAe,EAAE;QACf;YACE,KAAK,EAAE,iCAAiC;YACxC,WAAW,EAAE,mCAAmC;SACjD;QACD;YACE,KAAK,EAAE,+BAA+B;YACtC,WAAW,EAAE,sEAAsE;SACpF;KACF;IACD,OAAO,EAAE;QACP;YACE,KAAK,EAAE,yBAAyB;YAChC,WAAW,EAAE,6BAA6B;SAC3C;QACD;YACE,KAAK,EAAE,6BAA6B;YACpC,WAAW,EAAE,4BAA4B;SAC1C;QACD;YACE,KAAK,EAAE,8BAA8B;YACrC,WAAW,EAAE,yCAAyC;SACvD;QACD;YACE,KAAK,EAAE,oBAAoB;YAC3B,WAAW,EAAE,wBAAwB;SACtC;KACF;IACD,QAAQ,EAAE;QACR;YACE,OAAO,EAAE,sJAAsJ;YAC/J,WAAW,EAAE,6CAA6C;SAC3D;KACF;IACD,OAAO,EAAE,CAAC,cAAc,EAAE,eAAe,EAAE,eAAe,EAAE,gBAAgB,CAAC;CAC9E,CAAC;AAEF;;;GAGG;AACI,KAAK,UAAU,kBAAkB,CACtC,OAOC,EACD,SAAgC;IAEhC,MAAM,QAAQ,GAAG,sBAAQ,CAAC,WAAW,EAAE,CAAC;IAExC,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,SAAS,CAAC,4BAA4B,CAAC,MAAM,CAAC;YACjE,WAAW,EAAE,OAAO,CAAC,WAAW;YAChC,YAAY,EAAE,OAAO,CAAC,YAAY;YAClC,QAAQ,EAAE,OAAO,CAAC,OAAO;YACzB,UAAU,EAAE,OAAO,CAAC,SAAS;YAC7B,UAAU,EAAE,OAAO,CAAC,SAAS;YAC7B,KAAK,EAAE,OAAO,CAAC,KAAK;SACrB,CAAC,CAAC;QAEH,QAAQ,CAAC,OAAO,CAAC,mCAAmC,CAAC,CAAC;QACtD,QAAQ,CAAC,IAAI,CAAC,oBAAoB,MAAM,CAAC,cAAc,EAAE,CAAC,CAAC;IAC7D,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,OAAO,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACvE,IAAI,OAAO,KAAK,wCAAyB,CAAC,UAAU,EAAE,CAAC;YACrD,QAAQ,CAAC,KAAK,CAAC,oEAA8B,CAAC,CAAC;QACjD,CAAC;aAAM,CAAC;YACN,QAAQ,CAAC,KAAK,CAAC,+BAA+B,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QAClG,CAAC;QACD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* CLI Command: jumbo architecture update
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* DEPRECATED: This command rejects execution when the Architecture entity
|
|
5
|
+
* is deprecated, with migration guidance directing to individual entities.
|
|
5
6
|
*/
|
|
6
7
|
import { CommandMetadata } from "../../registry/CommandMetadata.js";
|
|
7
8
|
import { IApplicationContainer } from "../../../../../application/host/IApplicationContainer.js";
|
|
@@ -10,8 +11,8 @@ import { IApplicationContainer } from "../../../../../application/host/IApplicat
|
|
|
10
11
|
*/
|
|
11
12
|
export declare const metadata: CommandMetadata;
|
|
12
13
|
/**
|
|
13
|
-
* Command handler
|
|
14
|
-
*
|
|
14
|
+
* Command handler — delegates to controller; rejects with migration guidance
|
|
15
|
+
* when the Architecture entity is deprecated.
|
|
15
16
|
*/
|
|
16
17
|
export declare function architectureUpdate(options: {
|
|
17
18
|
description?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"architecture.update.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/architecture/update/architecture.update.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"architecture.update.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/architecture/update/architecture.update.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,0DAA0D,CAAC;AAKjG;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,eAoCtB,CAAC;AAEF;;;GAGG;AACH,wBAAsB,kBAAkB,CACtC,OAAO,EAAE;IACP,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB,EACD,SAAS,EAAE,qBAAqB,iBAwBjC"}
|
|
@@ -2,17 +2,20 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* CLI Command: jumbo architecture update
|
|
4
4
|
*
|
|
5
|
-
*
|
|
5
|
+
* DEPRECATED: This command rejects execution when the Architecture entity
|
|
6
|
+
* is deprecated, with migration guidance directing to individual entities.
|
|
6
7
|
*/
|
|
7
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
9
|
exports.metadata = void 0;
|
|
9
10
|
exports.architectureUpdate = architectureUpdate;
|
|
10
11
|
const Renderer_js_1 = require("../../../rendering/Renderer.js");
|
|
12
|
+
const Constants_js_1 = require("../../../../../domain/architecture/Constants.js");
|
|
13
|
+
const ArchitectureDeprecationConstants_js_1 = require("../../../../../application/context/architecture/ArchitectureDeprecationConstants.js");
|
|
11
14
|
/**
|
|
12
15
|
* Command metadata for auto-registration
|
|
13
16
|
*/
|
|
14
17
|
exports.metadata = {
|
|
15
|
-
description: "Update project architecture details",
|
|
18
|
+
description: "Update project architecture details (deprecated)",
|
|
16
19
|
category: "solution",
|
|
17
20
|
options: [
|
|
18
21
|
{
|
|
@@ -45,51 +48,35 @@ exports.metadata = {
|
|
|
45
48
|
command: "jumbo architecture update --pattern DDD CQRS EventSourcing --principle SOLID DRY",
|
|
46
49
|
description: "Update architecture patterns and principles"
|
|
47
50
|
},
|
|
48
|
-
{
|
|
49
|
-
command: 'jumbo architecture update --description "Updated architectural overview"',
|
|
50
|
-
description: "Update only the description"
|
|
51
|
-
}
|
|
52
51
|
],
|
|
53
|
-
related: ["
|
|
52
|
+
related: ["decision add", "invariant add", "component add", "dependency add"]
|
|
54
53
|
};
|
|
55
54
|
/**
|
|
56
|
-
* Command handler
|
|
57
|
-
*
|
|
55
|
+
* Command handler — delegates to controller; rejects with migration guidance
|
|
56
|
+
* when the Architecture entity is deprecated.
|
|
58
57
|
*/
|
|
59
58
|
async function architectureUpdate(options, container) {
|
|
60
59
|
const renderer = Renderer_js_1.Renderer.getInstance();
|
|
61
60
|
try {
|
|
62
|
-
|
|
63
|
-
const request = {
|
|
61
|
+
await container.updateArchitectureController.handle({
|
|
64
62
|
description: options.description,
|
|
65
63
|
organization: options.organization,
|
|
66
64
|
patterns: options.pattern,
|
|
67
65
|
principles: options.principle,
|
|
68
66
|
dataStores: options.dataStore,
|
|
69
67
|
stack: options.stack
|
|
70
|
-
};
|
|
71
|
-
// 2. Delegate to controller
|
|
72
|
-
await container.updateArchitectureController.handle(request);
|
|
73
|
-
// 3. Success output
|
|
68
|
+
});
|
|
74
69
|
renderer.success("Architecture updated successfully");
|
|
75
|
-
// Show what was updated
|
|
76
|
-
if (options.description)
|
|
77
|
-
renderer.info(`Updated description: ${options.description}`);
|
|
78
|
-
if (options.organization)
|
|
79
|
-
renderer.info(`Updated organization: ${options.organization}`);
|
|
80
|
-
if (options.pattern)
|
|
81
|
-
renderer.info(`Updated patterns: ${options.pattern.join(', ')}`);
|
|
82
|
-
if (options.principle)
|
|
83
|
-
renderer.info(`Updated principles: ${options.principle.join(', ')}`);
|
|
84
|
-
if (options.dataStore)
|
|
85
|
-
renderer.info(`Updated data stores: ${options.dataStore.join(', ')}`);
|
|
86
|
-
if (options.stack)
|
|
87
|
-
renderer.info(`Updated stack: ${options.stack.join(', ')}`);
|
|
88
70
|
}
|
|
89
71
|
catch (error) {
|
|
90
|
-
|
|
72
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
73
|
+
if (message === Constants_js_1.ArchitectureErrorMessages.DEPRECATED) {
|
|
74
|
+
renderer.error(ArchitectureDeprecationConstants_js_1.ARCHITECTURE_REJECTION_MESSAGE);
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
renderer.error("Failed to update architecture", error instanceof Error ? error : String(error));
|
|
78
|
+
}
|
|
91
79
|
process.exit(1);
|
|
92
80
|
}
|
|
93
|
-
// NO CLEANUP - infrastructure manages itself!
|
|
94
81
|
}
|
|
95
82
|
//# sourceMappingURL=architecture.update.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"architecture.update.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/architecture/update/architecture.update.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"architecture.update.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/architecture/update/architecture.update.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAqDH,gDAiCC;AAlFD,gEAA0D;AAC1D,kFAA4F;AAC5F,6IAAqI;AAErI;;GAEG;AACU,QAAA,QAAQ,GAAoB;IACvC,WAAW,EAAE,k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,CAAC,KAAK,CAAC,CAAC;QACvE,IAAI,OAAO,KAAK,wCAAyB,CAAC,UAAU,EAAE,CAAC;YACrD,QAAQ,CAAC,KAAK,CAAC,oEAA8B,CAAC,CAAC;QACjD,CAAC;aAAM,CAAC;YACN,QAAQ,CAAC,KAAK,CAAC,+BAA+B,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QAClG,CAAC;QACD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* CLI Command: jumbo architecture view
|
|
3
3
|
*
|
|
4
|
-
* Displays the current architecture definition.
|
|
4
|
+
* Displays the current architecture definition with deprecation notice.
|
|
5
5
|
*/
|
|
6
6
|
import { CommandMetadata } from "../../registry/CommandMetadata.js";
|
|
7
7
|
import { IApplicationContainer } from "../../../../../application/host/IApplicationContainer.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"architecture.view.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/architecture/view/architecture.view.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,0DAA0D,CAAC;
|
|
1
|
+
{"version":3,"file":"architecture.view.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/architecture/view/architecture.view.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,0DAA0D,CAAC;AASjG;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,eAUtB,CAAC;AAEF;;;GAGG;AACH,wBAAsB,gBAAgB,CACpC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAC9B,SAAS,EAAE,qBAAqB,iBA2DjC"}
|
|
@@ -2,17 +2,20 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* CLI Command: jumbo architecture view
|
|
4
4
|
*
|
|
5
|
-
* Displays the current architecture definition.
|
|
5
|
+
* Displays the current architecture definition with deprecation notice.
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.metadata = void 0;
|
|
9
9
|
exports.architectureView = architectureView;
|
|
10
10
|
const Renderer_js_1 = require("../../../rendering/Renderer.js");
|
|
11
|
+
const ArchitectureDeprecationConstants_js_1 = require("../../../../../application/context/architecture/ArchitectureDeprecationConstants.js");
|
|
12
|
+
const StyleConfig_js_1 = require("../../../rendering/StyleConfig.js");
|
|
13
|
+
const OutputLayout_js_1 = require("../../../rendering/OutputLayout.js");
|
|
11
14
|
/**
|
|
12
15
|
* Command metadata for auto-registration
|
|
13
16
|
*/
|
|
14
17
|
exports.metadata = {
|
|
15
|
-
description: "View current project architecture",
|
|
18
|
+
description: "View current project architecture (deprecated)",
|
|
16
19
|
category: "solution",
|
|
17
20
|
examples: [
|
|
18
21
|
{
|
|
@@ -20,7 +23,7 @@ exports.metadata = {
|
|
|
20
23
|
description: "Show the current architecture definition"
|
|
21
24
|
}
|
|
22
25
|
],
|
|
23
|
-
related: ["
|
|
26
|
+
related: ["decision add", "invariant add", "component add", "dependency add"]
|
|
24
27
|
};
|
|
25
28
|
/**
|
|
26
29
|
* Command handler
|
|
@@ -31,34 +34,46 @@ async function architectureView(options, container) {
|
|
|
31
34
|
try {
|
|
32
35
|
const { architecture } = await container.getArchitectureController.handle({});
|
|
33
36
|
if (!architecture) {
|
|
34
|
-
renderer.info("No architecture defined.
|
|
37
|
+
renderer.info("No architecture defined.");
|
|
35
38
|
return;
|
|
36
39
|
}
|
|
37
40
|
const config = renderer.getConfig();
|
|
38
41
|
if (config.format === "text") {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
42
|
+
const lines = [];
|
|
43
|
+
lines.push("");
|
|
44
|
+
lines.push((0, OutputLayout_js_1.heading)("Architecture"));
|
|
45
|
+
lines.push("");
|
|
46
|
+
lines.push((0, OutputLayout_js_1.metaField)("ID", StyleConfig_js_1.Colors.muted(architecture.architectureId), 14));
|
|
47
|
+
lines.push((0, OutputLayout_js_1.metaField)("Description", StyleConfig_js_1.Colors.primary(architecture.description), 14));
|
|
48
|
+
lines.push((0, OutputLayout_js_1.metaField)("Organization", StyleConfig_js_1.Colors.primary(architecture.organization), 14));
|
|
49
|
+
lines.push((0, OutputLayout_js_1.metaField)("Version", StyleConfig_js_1.Colors.muted(String(architecture.version)), 14));
|
|
50
|
+
lines.push((0, OutputLayout_js_1.metaField)("Created", StyleConfig_js_1.Colors.muted(architecture.createdAt), 14));
|
|
51
|
+
lines.push((0, OutputLayout_js_1.metaField)("Updated", StyleConfig_js_1.Colors.muted(architecture.updatedAt), 14));
|
|
46
52
|
if (architecture.patterns.length > 0) {
|
|
47
|
-
|
|
53
|
+
lines.push((0, OutputLayout_js_1.metaField)("Patterns", StyleConfig_js_1.Colors.primary(architecture.patterns.join(", ")), 14));
|
|
48
54
|
}
|
|
49
55
|
if (architecture.principles.length > 0) {
|
|
50
|
-
|
|
56
|
+
lines.push((0, OutputLayout_js_1.metaField)("Principles", StyleConfig_js_1.Colors.primary(architecture.principles.join(", ")), 14));
|
|
51
57
|
}
|
|
52
58
|
if (architecture.stack.length > 0) {
|
|
53
|
-
|
|
59
|
+
lines.push((0, OutputLayout_js_1.metaField)("Stack", StyleConfig_js_1.Colors.primary(architecture.stack.join(", ")), 14));
|
|
54
60
|
}
|
|
55
61
|
if (architecture.dataStores.length > 0) {
|
|
56
|
-
|
|
62
|
+
lines.push("");
|
|
63
|
+
lines.push((0, OutputLayout_js_1.heading)("Data Stores"));
|
|
57
64
|
for (const dataStore of architecture.dataStores) {
|
|
58
|
-
|
|
65
|
+
lines.push((0, OutputLayout_js_1.contentLine)(`${StyleConfig_js_1.Colors.primary(dataStore.name)} ${StyleConfig_js_1.Colors.muted(`(${dataStore.type})`)}: ${dataStore.purpose}`));
|
|
59
66
|
}
|
|
60
67
|
}
|
|
61
|
-
|
|
68
|
+
lines.push("");
|
|
69
|
+
lines.push((0, OutputLayout_js_1.divider)());
|
|
70
|
+
lines.push((0, OutputLayout_js_1.contentLine)(`${StyleConfig_js_1.Symbols.warning} ${StyleConfig_js_1.Colors.warning(ArchitectureDeprecationConstants_js_1.ARCHITECTURE_DEPRECATION_NOTICE)}`));
|
|
71
|
+
lines.push((0, OutputLayout_js_1.contentLine)("Migrate to individual entities:"));
|
|
72
|
+
for (const tableLine of ArchitectureDeprecationConstants_js_1.ARCHITECTURE_MIGRATION_TABLE.split("\n")) {
|
|
73
|
+
lines.push((0, OutputLayout_js_1.contentLine)(tableLine));
|
|
74
|
+
}
|
|
75
|
+
lines.push("");
|
|
76
|
+
renderer.info(lines.join("\n"));
|
|
62
77
|
}
|
|
63
78
|
else {
|
|
64
79
|
renderer.data({ architecture });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"architecture.view.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/architecture/view/architecture.view.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;
|
|
1
|
+
{"version":3,"file":"architecture.view.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/architecture/view/architecture.view.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AA+BH,4CA6DC;AAxFD,gEAA0D;AAC1D,6IAG6F;AAC7F,sEAAoE;AACpE,wEAA8F;AAE9F;;GAEG;AACU,QAAA,QAAQ,GAAoB;IACvC,WAAW,EAAE,gDAAgD;IAC7D,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE;QACR;YACE,OAAO,EAAE,yBAAyB;YAClC,WAAW,EAAE,0CAA0C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Y,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QAC9F,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TerminalOutput } from '../../../output/TerminalOutput.js';
|
|
2
|
+
import { AudiencePainView } from '../../../../../application/context/audience-pains/AudiencePainView.js';
|
|
3
|
+
export declare class AudiencePainListOutputBuilder {
|
|
4
|
+
private builder;
|
|
5
|
+
build(pains: AudiencePainView[]): TerminalOutput;
|
|
6
|
+
buildStructuredOutput(pains: AudiencePainView[]): TerminalOutput;
|
|
7
|
+
buildFailureError(error: Error | string): TerminalOutput;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=AudiencePainListOutputBuilder.d.ts.map
|
package/dist/presentation/cli/commands/audience-pains/list/AudiencePainListOutputBuilder.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AudiencePainListOutputBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/audience-pains/list/AudiencePainListOutputBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uEAAuE,CAAC;AAIzG,qBAAa,6BAA6B;IACxC,OAAO,CAAC,OAAO,CAA+B;IAE9C,KAAK,CAAC,KAAK,EAAE,gBAAgB,EAAE,GAAG,cAAc;IAmBhD,qBAAqB,CAAC,KAAK,EAAE,gBAAgB,EAAE,GAAG,cAAc;IAgBhE,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,cAAc;CAQzD"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AudiencePainListOutputBuilder = void 0;
|
|
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");
|
|
7
|
+
class AudiencePainListOutputBuilder {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.builder = new TerminalOutputBuilder_js_1.TerminalOutputBuilder();
|
|
10
|
+
}
|
|
11
|
+
build(pains) {
|
|
12
|
+
this.builder.reset();
|
|
13
|
+
const lines = [];
|
|
14
|
+
lines.push("");
|
|
15
|
+
lines.push((0, OutputLayout_js_1.heading)(`Audience Pains (${pains.length})`));
|
|
16
|
+
for (let i = 0; i < pains.length; i++) {
|
|
17
|
+
const p = pains[i];
|
|
18
|
+
if (i > 0)
|
|
19
|
+
lines.push("");
|
|
20
|
+
lines.push((0, OutputLayout_js_1.contentLine)(`${StyleConfig_js_1.Colors.dim(`[${p.status.toUpperCase()}]`)} ${StyleConfig_js_1.BrandColors.accentCyan(p.title)}`));
|
|
21
|
+
lines.push(...(0, OutputLayout_js_1.wrapContent)(p.description));
|
|
22
|
+
lines.push((0, OutputLayout_js_1.metaField)("ID", StyleConfig_js_1.Colors.muted(p.painId), 4));
|
|
23
|
+
}
|
|
24
|
+
this.builder.addPrompt(lines.join("\n"));
|
|
25
|
+
return this.builder.build();
|
|
26
|
+
}
|
|
27
|
+
buildStructuredOutput(pains) {
|
|
28
|
+
this.builder.reset();
|
|
29
|
+
this.builder.addData({
|
|
30
|
+
count: pains.length,
|
|
31
|
+
pains: pains.map((p) => ({
|
|
32
|
+
painId: p.painId,
|
|
33
|
+
title: p.title,
|
|
34
|
+
description: p.description,
|
|
35
|
+
status: p.status,
|
|
36
|
+
createdAt: p.createdAt,
|
|
37
|
+
updatedAt: p.updatedAt,
|
|
38
|
+
})),
|
|
39
|
+
});
|
|
40
|
+
return this.builder.build();
|
|
41
|
+
}
|
|
42
|
+
buildFailureError(error) {
|
|
43
|
+
this.builder.reset();
|
|
44
|
+
this.builder.addPrompt(`${StyleConfig_js_1.Symbols.cross} ${StyleConfig_js_1.Colors.error("Failed to list audience pains")}`);
|
|
45
|
+
this.builder.addData({
|
|
46
|
+
message: error instanceof Error ? error.message : error,
|
|
47
|
+
});
|
|
48
|
+
return this.builder.build();
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.AudiencePainListOutputBuilder = AudiencePainListOutputBuilder;
|
|
52
|
+
//# sourceMappingURL=AudiencePainListOutputBuilder.js.map
|
package/dist/presentation/cli/commands/audience-pains/list/AudiencePainListOutputBuilder.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AudiencePainListOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/audience-pains/list/AudiencePainListOutputBuilder.ts"],"names":[],"mappings":";;;AAAA,uFAAiF;AAGjF,sEAAiF;AACjF,wEAAkG;AAElG,MAAa,6BAA6B;IAA1C;QACU,YAAO,GAAG,IAAI,gDAAqB,EAAE,CAAC;IA6ChD,CAAC;IA3CC,KAAK,CAAC,KAAyB;QAC7B,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,mBAAmB,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAExD,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YACtC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;YACnB,IAAI,CAAC,GAAG,CAAC;gBAAE,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;YAC1B,KAAK,CAAC,IAAI,CAAC,IAAA,6BAAW,EAAC,GAAG,uB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C,GAAG,wBAAO,CAAC,KAAK,IAAI,uBAAM,CAAC,KAAK,CAAC,+BAA+B,CAAC,EAAE,CAAC,CAAC;QAC5F,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;AA9CD,sEA8CC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audiencePains.list.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/audience-pains/list/audiencePains.list.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,0DAA0D,CAAC;
|
|
1
|
+
{"version":3,"file":"audiencePains.list.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/audience-pains/list/audiencePains.list.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,0DAA0D,CAAC;AAKjG;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,eAkBtB,CAAC;AAEF;;;GAGG;AACH,wBAAsB,iBAAiB,CACrC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAC/B,SAAS,EAAE,qBAAqB,iBA8BjC"}
|
|
@@ -13,6 +13,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
13
13
|
exports.metadata = void 0;
|
|
14
14
|
exports.audiencePainsList = audiencePainsList;
|
|
15
15
|
const Renderer_js_1 = require("../../../rendering/Renderer.js");
|
|
16
|
+
const AudiencePainListOutputBuilder_js_1 = require("./AudiencePainListOutputBuilder.js");
|
|
16
17
|
/**
|
|
17
18
|
* Command metadata for auto-registration
|
|
18
19
|
*/
|
|
@@ -35,21 +36,6 @@ exports.metadata = {
|
|
|
35
36
|
],
|
|
36
37
|
related: ["audiencePain add", "audiencePain update"],
|
|
37
38
|
};
|
|
38
|
-
/**
|
|
39
|
-
* Format status for display
|
|
40
|
-
*/
|
|
41
|
-
function formatStatus(status) {
|
|
42
|
-
return status.toUpperCase();
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Format pain point for text output
|
|
46
|
-
*/
|
|
47
|
-
function formatPainText(pain) {
|
|
48
|
-
console.log(`[${formatStatus(pain.status)}] ${pain.title}`);
|
|
49
|
-
console.log(` ${pain.description}`);
|
|
50
|
-
console.log(` ID: ${pain.painId}`);
|
|
51
|
-
console.log("");
|
|
52
|
-
}
|
|
53
39
|
/**
|
|
54
40
|
* Command handler
|
|
55
41
|
* Called by Commander with parsed options
|
|
@@ -64,27 +50,17 @@ async function audiencePainsList(_options, container) {
|
|
|
64
50
|
}
|
|
65
51
|
// Check if we're in structured output mode by examining renderer config
|
|
66
52
|
const config = renderer.getConfig();
|
|
53
|
+
const outputBuilder = new AudiencePainListOutputBuilder_js_1.AudiencePainListOutputBuilder();
|
|
67
54
|
if (config.format === "text") {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
for (const pain of pains) {
|
|
71
|
-
formatPainText(pain);
|
|
72
|
-
}
|
|
55
|
+
const output = outputBuilder.build(pains);
|
|
56
|
+
renderer.info(output.toHumanReadable());
|
|
73
57
|
}
|
|
74
58
|
else {
|
|
75
|
-
|
|
76
|
-
const
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
title: p.title,
|
|
81
|
-
description: p.description,
|
|
82
|
-
status: p.status,
|
|
83
|
-
createdAt: p.createdAt,
|
|
84
|
-
updatedAt: p.updatedAt,
|
|
85
|
-
})),
|
|
86
|
-
};
|
|
87
|
-
renderer.data(data);
|
|
59
|
+
const output = outputBuilder.buildStructuredOutput(pains);
|
|
60
|
+
const sections = output.getSections();
|
|
61
|
+
const dataSection = sections.find(s => s.type === "data");
|
|
62
|
+
if (dataSection)
|
|
63
|
+
renderer.data(dataSection.content);
|
|
88
64
|
}
|
|
89
65
|
}
|
|
90
66
|
catch (error) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audiencePains.list.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/audience-pains/list/audiencePains.list.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;
|
|
1
|
+
{"version":3,"file":"audiencePains.list.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/audience-pains/list/audiencePains.list.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;AAmCH,8CAgCC;AA/DD,gEAA0D;AAE1D,yFAAmF;AAEnF;;GAEG;AACU,QAAA,QAAQ,GAAoB;IACvC,WAAW,EAAE,sCAAsC;IACnD,QAAQ,EAAE,mBAAmB;IAC7B,QAAQ,EAAE;QACR;YACE,OAAO,EAAE,0BAA0B;YACnC,WAAW,EAAE,4CAA4C;SAC1D;QACD;YACE,OAAO,EAAE,wCAAwC;YACjD,WAAW,EAAE,8BAA8B;SAC5C;QACD;YACE,OAAO,EAAE,wCAAwC;YACjD,WAAW,EAAE,8BAA8B;SAC5C;KACF;IACD,OAAO,EAAE,CAAC,kBAAkB,EAAE,qBAAqB,CAAC;CACrD,CAAC;AAEF;;;GAGG;AACI,KAAK,UAAU,iBAAiB,CACrC,QAA+B,EAC/B,SAAgC;IAEhC,MAAM,QAAQ,GAAG,sBAAQ,CAAC,WAAW,EAAE,CAAC;IAExC,IAAI,CAAC;QACH,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,SAAS,CAAC,0BAA0B,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QAExE,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACvB,QAAQ,CAAC,IAAI,CAAC,iEAAiE,CAAC,CAAC;YACjF,OAAO;QACT,CAAC;QAED,wEAAwE;QACxE,MAAM,MAAM,GAAG,QAAQ,CAAC,SAAS,EAAE,CAAC;QACpC,MAAM,aAAa,GAAG,IAAI,gEAA6B,EAAE,CAAC;QAE1D,IAAI,MAAM,CAAC,MAAM,KAAK,MAAM,EAAE,CAAC;YAC7B,MAAM,MAAM,GAAG,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YAC1C,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,eAAe,EAAE,CAAC,CAAC;QAC1C,CAAC;aAAM,CAAC;YACN,MAAM,MAAM,GAAG,aAAa,CAAC,qBAAqB,CAAC,KAAK,CAAC,CAAC;YAC1D,MAAM,QAAQ,GAAG,MAAM,CAAC,WAAW,EAAE,CAAC;YACtC,MAAM,WAAW,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,MAAM,CAAC,CAAC;YAC1D,IAAI,WAAW;gBAAE,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,OAAqB,CAAC,CAAC;QACpE,CAAC;IACH,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,QAAQ,CAAC,KAAK,CAAC,+BAA+B,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QAChG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;IACD,8CAA8C;AAChD,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TerminalOutput } from '../../../output/TerminalOutput.js';
|
|
2
|
+
import { AudienceView } from '../../../../../application/context/audiences/AudienceView.js';
|
|
3
|
+
export declare class AudienceListOutputBuilder {
|
|
4
|
+
private builder;
|
|
5
|
+
build(audiences: AudienceView[], filter?: string): TerminalOutput;
|
|
6
|
+
buildStructuredOutput(audiences: AudienceView[], filter?: string): TerminalOutput;
|
|
7
|
+
buildFailureError(error: Error | string): TerminalOutput;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=AudienceListOutputBuilder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AudienceListOutputBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/audiences/list/AudienceListOutputBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,8DAA8D,CAAC;AAI5F,qBAAa,yBAAyB;IACpC,OAAO,CAAC,OAAO,CAA+B;IAE9C,KAAK,CAAC,SAAS,EAAE,YAAY,EAAE,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,cAAc;IAoBjE,qBAAqB,CAAC,SAAS,EAAE,YAAY,EAAE,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,cAAc;IAgBjF,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,cAAc;CAQzD"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AudienceListOutputBuilder = void 0;
|
|
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");
|
|
7
|
+
class AudienceListOutputBuilder {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.builder = new TerminalOutputBuilder_js_1.TerminalOutputBuilder();
|
|
10
|
+
}
|
|
11
|
+
build(audiences, filter) {
|
|
12
|
+
this.builder.reset();
|
|
13
|
+
const lines = [];
|
|
14
|
+
lines.push("");
|
|
15
|
+
lines.push((0, OutputLayout_js_1.heading)(`Target Audiences (${audiences.length})`));
|
|
16
|
+
for (let i = 0; i < audiences.length; i++) {
|
|
17
|
+
const a = audiences[i];
|
|
18
|
+
if (i > 0)
|
|
19
|
+
lines.push("");
|
|
20
|
+
const priorityTag = `[${a.priority.toUpperCase()}]`;
|
|
21
|
+
lines.push((0, OutputLayout_js_1.contentLine)(`${StyleConfig_js_1.Colors.bold(priorityTag)} ${StyleConfig_js_1.BrandColors.accentCyan(a.name)}`));
|
|
22
|
+
lines.push(...(0, OutputLayout_js_1.wrapContent)(a.description));
|
|
23
|
+
lines.push((0, OutputLayout_js_1.metaField)("ID", StyleConfig_js_1.Colors.muted(a.audienceId), 4));
|
|
24
|
+
}
|
|
25
|
+
this.builder.addPrompt(lines.join("\n"));
|
|
26
|
+
return this.builder.build();
|
|
27
|
+
}
|
|
28
|
+
buildStructuredOutput(audiences, filter) {
|
|
29
|
+
this.builder.reset();
|
|
30
|
+
this.builder.addData({
|
|
31
|
+
count: audiences.length,
|
|
32
|
+
audiences: audiences.map((a) => ({
|
|
33
|
+
audienceId: a.audienceId,
|
|
34
|
+
name: a.name,
|
|
35
|
+
description: a.description,
|
|
36
|
+
priority: a.priority,
|
|
37
|
+
createdAt: a.createdAt,
|
|
38
|
+
updatedAt: a.updatedAt,
|
|
39
|
+
})),
|
|
40
|
+
});
|
|
41
|
+
return this.builder.build();
|
|
42
|
+
}
|
|
43
|
+
buildFailureError(error) {
|
|
44
|
+
this.builder.reset();
|
|
45
|
+
this.builder.addPrompt(`${StyleConfig_js_1.Symbols.cross} ${StyleConfig_js_1.Colors.error("Failed to list audiences")}`);
|
|
46
|
+
this.builder.addData({
|
|
47
|
+
message: error instanceof Error ? error.message : error,
|
|
48
|
+
});
|
|
49
|
+
return this.builder.build();
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.AudienceListOutputBuilder = AudienceListOutputBuilder;
|
|
53
|
+
//# sourceMappingURL=AudienceListOutputBuilder.js.map
|