jumbo-cli 2.12.0 → 2.14.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/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/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/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 +10 -0
- package/dist/infrastructure/host/HostBuilder.js.map +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 +27 -16
- 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 -60
- 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 -22
- 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 -56
- 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 -52
- 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 +0 -8
- package/dist/presentation/cli/commands/goals/show/GoalShowOutputBuilder.d.ts.map +1 -1
- package/dist/presentation/cli/commands/goals/show/GoalShowOutputBuilder.js +53 -105
- 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 -51
- 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/registry/generated-commands.d.ts.map +1 -1
- package/dist/presentation/cli/commands/registry/generated-commands.js +6 -0
- package/dist/presentation/cli/commands/registry/generated-commands.js.map +1 -1
- package/dist/presentation/cli/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/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 +5 -39
- package/dist/presentation/cli/commands/work/refine/RefineryDisplay.d.ts.map +1 -1
- package/dist/presentation/cli/commands/work/refine/RefineryDisplay.js +12 -89
- package/dist/presentation/cli/commands/work/refine/RefineryDisplay.js.map +1 -1
- package/dist/presentation/cli/commands/work/refine/work.refine.d.ts.map +1 -1
- package/dist/presentation/cli/commands/work/refine/work.refine.js +25 -106
- package/dist/presentation/cli/commands/work/refine/work.refine.js.map +1 -1
- package/dist/presentation/cli/commands/work/review/ReviewerDisplay.d.ts +17 -0
- package/dist/presentation/cli/commands/work/review/ReviewerDisplay.d.ts.map +1 -0
- package/dist/presentation/cli/commands/work/review/ReviewerDisplay.js +41 -0
- package/dist/presentation/cli/commands/work/review/ReviewerDisplay.js.map +1 -0
- package/dist/presentation/cli/commands/work/review/work.review.d.ts +23 -0
- package/dist/presentation/cli/commands/work/review/work.review.d.ts.map +1 -0
- package/dist/presentation/cli/commands/work/review/work.review.js +109 -0
- package/dist/presentation/cli/commands/work/review/work.review.js.map +1 -0
- package/dist/presentation/cli/commands/work/shared/AgentSpawner.d.ts +18 -0
- package/dist/presentation/cli/commands/work/shared/AgentSpawner.d.ts.map +1 -0
- package/dist/presentation/cli/commands/work/shared/AgentSpawner.js +38 -0
- package/dist/presentation/cli/commands/work/shared/AgentSpawner.js.map +1 -0
- package/dist/presentation/cli/commands/work/shared/DaemonDisplay.d.ts +56 -0
- package/dist/presentation/cli/commands/work/shared/DaemonDisplay.d.ts.map +1 -0
- package/dist/presentation/cli/commands/work/shared/DaemonDisplay.js +93 -0
- package/dist/presentation/cli/commands/work/shared/DaemonDisplay.js.map +1 -0
- package/dist/presentation/cli/commands/work/shared/DaemonLoop.d.ts +40 -0
- package/dist/presentation/cli/commands/work/shared/DaemonLoop.d.ts.map +1 -0
- package/dist/presentation/cli/commands/work/shared/DaemonLoop.js +82 -0
- package/dist/presentation/cli/commands/work/shared/DaemonLoop.js.map +1 -0
- package/dist/presentation/cli/commands/work/shared/GoalStatusQuery.d.ts +13 -0
- package/dist/presentation/cli/commands/work/shared/GoalStatusQuery.d.ts.map +1 -0
- package/dist/presentation/cli/commands/work/shared/GoalStatusQuery.js +29 -0
- package/dist/presentation/cli/commands/work/shared/GoalStatusQuery.js.map +1 -0
- 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
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Daemon Display
|
|
4
|
+
*
|
|
5
|
+
* Base class for work daemon display rendering. Provides the shared
|
|
6
|
+
* layout structure (header, spinners, goal lifecycle messages, shutdown)
|
|
7
|
+
* with configurable labels so each daemon can customize its appearance.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.DaemonDisplay = void 0;
|
|
11
|
+
const StyleConfig_js_1 = require("../../../rendering/StyleConfig.js");
|
|
12
|
+
const GlimmerEffect_js_1 = require("../../../animations/GlimmerEffect.js");
|
|
13
|
+
const BrailleSpinner_js_1 = require("../../../animations/BrailleSpinner.js");
|
|
14
|
+
// Raw ANSI codes for the glimmer animation API
|
|
15
|
+
const RESET = "\x1b[0m";
|
|
16
|
+
const BRIGHT_WHITE = "\x1b[97m";
|
|
17
|
+
const [jbR, jbG, jbB] = StyleConfig_js_1.BrandColors.jumboBlueRaw;
|
|
18
|
+
const JUMBO_BLUE = `\x1b[38;2;${jbR};${jbG};${jbB}m`;
|
|
19
|
+
class DaemonDisplay {
|
|
20
|
+
constructor(displayConfig, runtimeConfig) {
|
|
21
|
+
this.displayConfig = displayConfig;
|
|
22
|
+
this.runtimeConfig = runtimeConfig;
|
|
23
|
+
this.write = (s) => process.stderr.write(s);
|
|
24
|
+
}
|
|
25
|
+
/** Render the header block: accent bar + glimmer title + config + divider */
|
|
26
|
+
async renderHeader() {
|
|
27
|
+
const { agentId, pollIntervalS, maxRetries } = this.runtimeConfig;
|
|
28
|
+
this.line("");
|
|
29
|
+
await (0, GlimmerEffect_js_1.playGlimmer)(this.displayConfig.title, ` ${JUMBO_BLUE}│${RESET} `, {
|
|
30
|
+
baseColor: JUMBO_BLUE,
|
|
31
|
+
highlightColor: BRIGHT_WHITE,
|
|
32
|
+
}, this.write);
|
|
33
|
+
this.out("\n");
|
|
34
|
+
this.line(` ${StyleConfig_js_1.BrandColors.jumboBlue(StyleConfig_js_1.Symbols.accentBar)} ${StyleConfig_js_1.Colors.dim(`${agentId} · poll ${pollIntervalS}s · retries ${maxRetries} · Q to stop`)}`);
|
|
35
|
+
this.divider();
|
|
36
|
+
}
|
|
37
|
+
/** Start the idle braille spinner */
|
|
38
|
+
startWaiting() {
|
|
39
|
+
return (0, BrailleSpinner_js_1.startBrailleSpinner)({ label: this.displayConfig.idleLabel, write: this.write });
|
|
40
|
+
}
|
|
41
|
+
/** Start the active processing braille spinner */
|
|
42
|
+
startProcessing() {
|
|
43
|
+
return (0, BrailleSpinner_js_1.startBrailleSpinner)({ label: this.displayConfig.activeLabel, write: this.write });
|
|
44
|
+
}
|
|
45
|
+
/** Render goal discovery info */
|
|
46
|
+
renderGoalStart(goalId, objective, attempt, maxRetries) {
|
|
47
|
+
const sid = this.shortId(goalId);
|
|
48
|
+
this.line(` ${StyleConfig_js_1.Colors.success(StyleConfig_js_1.Symbols.filledCircle)} ${StyleConfig_js_1.Colors.bold(sid)} ${StyleConfig_js_1.Colors.dim(`attempt ${attempt}/${maxRetries}`)}`);
|
|
49
|
+
this.line(` ${StyleConfig_js_1.Colors.dim(this.truncateObjective(objective))}`);
|
|
50
|
+
}
|
|
51
|
+
/** Render goal completion */
|
|
52
|
+
renderGoalComplete(goalId, objective, attempts) {
|
|
53
|
+
const sid = this.shortId(goalId);
|
|
54
|
+
this.line(` ${StyleConfig_js_1.Colors.success(StyleConfig_js_1.Symbols.check)} ${StyleConfig_js_1.Colors.success(this.displayConfig.completeStatus)} ${StyleConfig_js_1.Colors.bold(sid)} ${StyleConfig_js_1.Colors.dim(`${attempts} attempt${attempts !== 1 ? "s" : ""}`)}`);
|
|
55
|
+
this.line(` ${StyleConfig_js_1.Colors.dim(this.truncateObjective(objective))}`);
|
|
56
|
+
this.line("");
|
|
57
|
+
}
|
|
58
|
+
/** Render goal exhaustion/skip warning */
|
|
59
|
+
renderGoalSkipped(goalId, status, maxRetries) {
|
|
60
|
+
const sid = this.shortId(goalId);
|
|
61
|
+
this.line(` ${StyleConfig_js_1.Colors.warning(StyleConfig_js_1.Symbols.warning)} ${sid} did not reach '${this.displayConfig.completeStatus}' after ${maxRetries} attempts (status: ${status}). Skipping.`);
|
|
62
|
+
this.line("");
|
|
63
|
+
}
|
|
64
|
+
/** Render unknown agent error */
|
|
65
|
+
renderUnknownAgent(agent, supported) {
|
|
66
|
+
this.line(`${StyleConfig_js_1.Colors.error(StyleConfig_js_1.Symbols.cross)} Unknown agent '${agent}'. Supported: ${supported.join(", ")}`);
|
|
67
|
+
}
|
|
68
|
+
/** Render shutdown message */
|
|
69
|
+
renderShutdown() {
|
|
70
|
+
this.line("");
|
|
71
|
+
this.line(` ${StyleConfig_js_1.Colors.dim(`${StyleConfig_js_1.Symbols.arrow} ${this.displayConfig.daemonName} stopped.`)}`);
|
|
72
|
+
}
|
|
73
|
+
// --- Protected helpers ---
|
|
74
|
+
out(msg) {
|
|
75
|
+
this.write(msg);
|
|
76
|
+
}
|
|
77
|
+
line(msg) {
|
|
78
|
+
this.write(`${msg}\n`);
|
|
79
|
+
}
|
|
80
|
+
divider() {
|
|
81
|
+
this.line(` ${StyleConfig_js_1.Colors.dim("─".repeat(50))}`);
|
|
82
|
+
}
|
|
83
|
+
truncateObjective(text, max = 60) {
|
|
84
|
+
if (text.length <= max)
|
|
85
|
+
return text;
|
|
86
|
+
return text.slice(0, max - 3) + "...";
|
|
87
|
+
}
|
|
88
|
+
shortId(goalId) {
|
|
89
|
+
return goalId.length > 12 ? goalId.slice(0, 8) : goalId;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
exports.DaemonDisplay = DaemonDisplay;
|
|
93
|
+
//# sourceMappingURL=DaemonDisplay.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DaemonDisplay.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/work/shared/DaemonDisplay.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,sEAAiF;AACjF,2EAAmE;AACnE,6EAA4E;AAE5E,+CAA+C;AAC/C,MAAM,KAAK,GAAG,SAAS,CAAC;AACxB,MAAM,YAAY,GAAG,UAAU,CAAC;AAChC,MAAM,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,GAAG,4BAAW,CAAC,YAAY,CAAC;AACjD,MAAM,UAAU,GAAG,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,GAAG,CAAC;AAqBrD,MAAa,aAAa;IAKxB,YAAY,aAAkC,EAAE,aAAkC;QAChF,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC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AAc;QAC9B,OAAO,MAAM,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;IAC1D,CAAC;CACF;AAhHD,sCAgHC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daemon Loop
|
|
3
|
+
*
|
|
4
|
+
* Generic polling daemon infrastructure for work commands.
|
|
5
|
+
* Encapsulates the poll-process-sleep cycle, retry/exhaustion tracking
|
|
6
|
+
* per goal, and graceful shutdown via SIGINT/SIGTERM/'q' keypress.
|
|
7
|
+
*/
|
|
8
|
+
import { DaemonDisplay } from "./DaemonDisplay.js";
|
|
9
|
+
export interface DaemonConfig {
|
|
10
|
+
/** Agent identifier for display and spawning */
|
|
11
|
+
readonly agentId: string;
|
|
12
|
+
/** Seconds between polling cycles */
|
|
13
|
+
readonly pollIntervalS: number;
|
|
14
|
+
/** Max retry attempts per goal before marking exhausted */
|
|
15
|
+
readonly maxRetries: number;
|
|
16
|
+
}
|
|
17
|
+
export interface GoalEntry {
|
|
18
|
+
readonly goalId: string;
|
|
19
|
+
readonly objective: string;
|
|
20
|
+
}
|
|
21
|
+
export interface DaemonCallbacks {
|
|
22
|
+
/** Query for goals eligible for processing */
|
|
23
|
+
queryGoals: () => GoalEntry[];
|
|
24
|
+
/** Spawn the agent to process a goal; returns exit code */
|
|
25
|
+
spawnAgent: (goalId: string) => Promise<number>;
|
|
26
|
+
/** Check whether the goal reached the desired state */
|
|
27
|
+
isGoalComplete: (goalId: string) => boolean;
|
|
28
|
+
/** Called when a goal successfully completes */
|
|
29
|
+
onGoalComplete: (goalId: string, objective: string, attempts: number) => void;
|
|
30
|
+
/** Called when a goal is exhausted after max retries */
|
|
31
|
+
onGoalSkipped: (goalId: string, status: string, maxRetries: number) => void;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Run the daemon polling loop.
|
|
35
|
+
*
|
|
36
|
+
* Polls for goals, processes them with retry logic, and handles
|
|
37
|
+
* graceful shutdown. Returns when shutdown is triggered.
|
|
38
|
+
*/
|
|
39
|
+
export declare function runDaemonLoop(config: DaemonConfig, display: DaemonDisplay, callbacks: DaemonCallbacks): Promise<void>;
|
|
40
|
+
//# sourceMappingURL=DaemonLoop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DaemonLoop.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/work/shared/DaemonLoop.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,MAAM,WAAW,YAAY;IAC3B,gDAAgD;IAChD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,qCAAqC;IACrC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,2DAA2D;IAC3D,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,eAAe;IAC9B,8CAA8C;IAC9C,UAAU,EAAE,MAAM,SAAS,EAAE,CAAC;IAC9B,2DAA2D;IAC3D,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IAChD,uDAAuD;IACvD,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC;IAC5C,gDAAgD;IAChD,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9E,wDAAwD;IACxD,aAAa,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7E;AAMD;;;;;GAKG;AACH,wBAAsB,aAAa,CACjC,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,aAAa,EACtB,SAAS,EAAE,eAAe,GACzB,OAAO,CAAC,IAAI,CAAC,CA2Ef"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Daemon Loop
|
|
4
|
+
*
|
|
5
|
+
* Generic polling daemon infrastructure for work commands.
|
|
6
|
+
* Encapsulates the poll-process-sleep cycle, retry/exhaustion tracking
|
|
7
|
+
* per goal, and graceful shutdown via SIGINT/SIGTERM/'q' keypress.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.runDaemonLoop = runDaemonLoop;
|
|
11
|
+
function sleep(ms) {
|
|
12
|
+
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Run the daemon polling loop.
|
|
16
|
+
*
|
|
17
|
+
* Polls for goals, processes them with retry logic, and handles
|
|
18
|
+
* graceful shutdown. Returns when shutdown is triggered.
|
|
19
|
+
*/
|
|
20
|
+
async function runDaemonLoop(config, display, callbacks) {
|
|
21
|
+
const pollIntervalMs = config.pollIntervalS * 1000;
|
|
22
|
+
const exhaustedGoals = new Set();
|
|
23
|
+
let running = true;
|
|
24
|
+
const shutdown = () => {
|
|
25
|
+
running = false;
|
|
26
|
+
};
|
|
27
|
+
// Listen for 'q' keypress to stop gracefully
|
|
28
|
+
if (process.stdin.isTTY) {
|
|
29
|
+
process.stdin.setRawMode(true);
|
|
30
|
+
process.stdin.resume();
|
|
31
|
+
process.stdin.on("data", (key) => {
|
|
32
|
+
const ch = key.toString();
|
|
33
|
+
if (ch === "q" || ch === "Q" || ch === "\x03") {
|
|
34
|
+
shutdown();
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
process.on("SIGINT", shutdown);
|
|
39
|
+
process.on("SIGTERM", shutdown);
|
|
40
|
+
await display.renderHeader();
|
|
41
|
+
while (running) {
|
|
42
|
+
const goals = callbacks.queryGoals().filter(g => !exhaustedGoals.has(g.goalId));
|
|
43
|
+
if (goals.length === 0) {
|
|
44
|
+
const spinner = display.startWaiting();
|
|
45
|
+
const end = Date.now() + pollIntervalMs;
|
|
46
|
+
while (running && Date.now() < end) {
|
|
47
|
+
await sleep(250);
|
|
48
|
+
}
|
|
49
|
+
spinner.stop();
|
|
50
|
+
continue;
|
|
51
|
+
}
|
|
52
|
+
const target = goals[0];
|
|
53
|
+
let completed = false;
|
|
54
|
+
for (let attempt = 1; attempt <= config.maxRetries && running; attempt++) {
|
|
55
|
+
display.renderGoalStart(target.goalId, target.objective, attempt, config.maxRetries);
|
|
56
|
+
const spinner = display.startProcessing();
|
|
57
|
+
await callbacks.spawnAgent(target.goalId);
|
|
58
|
+
spinner.stop();
|
|
59
|
+
if (!running)
|
|
60
|
+
break;
|
|
61
|
+
if (callbacks.isGoalComplete(target.goalId)) {
|
|
62
|
+
callbacks.onGoalComplete(target.goalId, target.objective, attempt);
|
|
63
|
+
completed = true;
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
if (attempt === config.maxRetries) {
|
|
67
|
+
callbacks.onGoalSkipped(target.goalId, "not-complete", config.maxRetries);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
if (!completed) {
|
|
71
|
+
exhaustedGoals.add(target.goalId);
|
|
72
|
+
}
|
|
73
|
+
await sleep(2000);
|
|
74
|
+
}
|
|
75
|
+
// Clean up stdin and exit
|
|
76
|
+
if (process.stdin.isTTY) {
|
|
77
|
+
process.stdin.setRawMode(false);
|
|
78
|
+
process.stdin.pause();
|
|
79
|
+
}
|
|
80
|
+
display.renderShutdown();
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=DaemonLoop.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":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;gBACnE,SAAS,GAAG,IAAI,CAAC;gBACjB,MAAM;YACR,CAAC;YAED,IAAI,OAAO,KAAK,MAAM,CAAC,UAAU,EAAE,CAAC;gBAClC,SAAS,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,EAAE,cAAc,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC;YAC5E,CAAC;QACH,CAAC;QAED,IAAI,CAAC,SAAS,EAAE,CAAC;YACf,cAAc,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACpC,CAAC;QAED,MAAM,KAAK,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC;IAED,0BAA0B;IAC1B,IAAI,OAAO,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;QACxB,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QAChC,OAAO,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;IACxB,CAAC;IACD,OAAO,CAAC,cAAc,EAAE,CAAC;AAC3B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Goal Status Query
|
|
3
|
+
*
|
|
4
|
+
* Subprocess-based helper to query the current status of a goal.
|
|
5
|
+
* Used by work daemons to check whether an agent subprocess
|
|
6
|
+
* successfully transitioned a goal to the expected state.
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Query the current status of a goal via a short-lived subprocess.
|
|
10
|
+
* Returns the status string, or "unknown" on failure.
|
|
11
|
+
*/
|
|
12
|
+
export declare function queryGoalStatus(goalId: string): string;
|
|
13
|
+
//# sourceMappingURL=GoalStatusQuery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GoalStatusQuery.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/work/shared/GoalStatusQuery.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH;;;GAGG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAWtD"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Goal Status Query
|
|
4
|
+
*
|
|
5
|
+
* Subprocess-based helper to query the current status of a goal.
|
|
6
|
+
* Used by work daemons to check whether an agent subprocess
|
|
7
|
+
* successfully transitioned a goal to the expected state.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.queryGoalStatus = queryGoalStatus;
|
|
11
|
+
const node_child_process_1 = require("node:child_process");
|
|
12
|
+
/**
|
|
13
|
+
* Query the current status of a goal via a short-lived subprocess.
|
|
14
|
+
* Returns the status string, or "unknown" on failure.
|
|
15
|
+
*/
|
|
16
|
+
function queryGoalStatus(goalId) {
|
|
17
|
+
try {
|
|
18
|
+
const stdout = (0, node_child_process_1.execSync)(`npx jumbo goal show --id ${goalId}`, {
|
|
19
|
+
stdio: ["ignore", "pipe", "ignore"],
|
|
20
|
+
timeout: 30000,
|
|
21
|
+
}).toString();
|
|
22
|
+
const parsed = JSON.parse(stdout);
|
|
23
|
+
return parsed.status ?? parsed.goal?.status ?? "unknown";
|
|
24
|
+
}
|
|
25
|
+
catch {
|
|
26
|
+
return "unknown";
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=GoalStatusQuery.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GoalStatusQuery.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/work/shared/GoalStatusQuery.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAQH,0CAWC;AAjBD,2DAA8C;AAE9C;;;GAGG;AACH,SAAgB,eAAe,CAAC,MAAc;IAC5C,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,IAAA,6BAAQ,EAAC,4BAA4B,MAAM,EAAE,EAAE;YAC5D,KAAK,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC;YACnC,OAAO,EAAE,KAAM;SAChB,CAAC,CAAC,QAAQ,EAAE,CAAC;QACd,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAClC,OAAO,MAAM,CAAC,MAAM,IAAI,MAAM,CAAC,IAAI,EAAE,MAAM,IAAI,SAAS,CAAC;IAC3D,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OutputLayout — Shared design tokens and palette-aware layout helpers.
|
|
3
|
+
*
|
|
4
|
+
* Extracted from GoalShowOutputBuilder to provide a single source of truth
|
|
5
|
+
* for the accent bar layout, column grid, and brand-colored helpers used
|
|
6
|
+
* across all OutputBuilder implementations.
|
|
7
|
+
*
|
|
8
|
+
* Layout grid (x-axis positioning):
|
|
9
|
+
* x=0 left margin
|
|
10
|
+
* x=2 EDGE (2 leading spaces)
|
|
11
|
+
* x=3 accent bar position (Symbols.accentBar)
|
|
12
|
+
* x=7 content column (EDGE + CONTENT_PAD)
|
|
13
|
+
* x=11 indent column (EDGE + INDENT_PAD)
|
|
14
|
+
* x=90 right boundary (DIVIDER_WIDTH)
|
|
15
|
+
*/
|
|
16
|
+
export declare const EDGE = " ";
|
|
17
|
+
export declare const HEADING_PAD = " ";
|
|
18
|
+
export declare const CONTENT_PAD = " ";
|
|
19
|
+
export declare const INDENT_PAD = " ";
|
|
20
|
+
export declare const DIVIDER_WIDTH = 90;
|
|
21
|
+
export declare const WRAP_CONTENT = 83;
|
|
22
|
+
export declare const WRAP_INDENT = 81;
|
|
23
|
+
/** Styled accent bar in brand blue. */
|
|
24
|
+
export declare function bar(): string;
|
|
25
|
+
/** Full-width dim horizontal divider. */
|
|
26
|
+
export declare function divider(): string;
|
|
27
|
+
/** Section heading: accent bar + bold brand-blue title. */
|
|
28
|
+
export declare function heading(title: string): string;
|
|
29
|
+
/** Key-value metadata field at the content column. */
|
|
30
|
+
export declare function metaField(label: string, value: string, labelWidth?: number): string;
|
|
31
|
+
/** Content line at the content column. */
|
|
32
|
+
export declare function contentLine(text: string): string;
|
|
33
|
+
/** Indented content line at the indent column. */
|
|
34
|
+
export declare function indentLine(text: string): string;
|
|
35
|
+
/** Word-wrap text at the content column width, styled with Colors.primary. */
|
|
36
|
+
export declare function wrapContent(text: string): string[];
|
|
37
|
+
/** Bullet + word-wrapped continuation at the indent column. */
|
|
38
|
+
export declare function wrapBulletContinuation(text: string): string[];
|
|
39
|
+
//# sourceMappingURL=OutputLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OutputLayout.d.ts","sourceRoot":"","sources":["../../../../src/presentation/cli/rendering/OutputLayout.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,eAAO,MAAM,IAAI,OAAO,CAAC;AACzB,eAAO,MAAM,WAAW,QAAQ,CAAC;AACjC,eAAO,MAAM,WAAW,UAAU,CAAC;AACnC,eAAO,MAAM,UAAU,cAAc,CAAC;AACtC,eAAO,MAAM,aAAa,KAAK,CAAC;AAChC,eAAO,MAAM,YAAY,KAAK,CAAC;AAC/B,eAAO,MAAM,WAAW,KAAK,CAAC;AAI9B,uCAAuC;AACvC,wBAAgB,GAAG,IAAI,MAAM,CAE5B;AAED,yCAAyC;AACzC,wBAAgB,OAAO,IAAI,MAAM,CAEhC;AAED,2DAA2D;AAC3D,wBAAgB,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAE7C;AAED,sDAAsD;AACtD,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU,SAAI,GAAG,MAAM,CAG9E;AAED,0CAA0C;AAC1C,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEhD;AAED,kDAAkD;AAClD,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE/C;AAED,8EAA8E;AAC9E,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAIlD;AAED,+DAA+D;AAC/D,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAY7D"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* OutputLayout — Shared design tokens and palette-aware layout helpers.
|
|
4
|
+
*
|
|
5
|
+
* Extracted from GoalShowOutputBuilder to provide a single source of truth
|
|
6
|
+
* for the accent bar layout, column grid, and brand-colored helpers used
|
|
7
|
+
* across all OutputBuilder implementations.
|
|
8
|
+
*
|
|
9
|
+
* Layout grid (x-axis positioning):
|
|
10
|
+
* x=0 left margin
|
|
11
|
+
* x=2 EDGE (2 leading spaces)
|
|
12
|
+
* x=3 accent bar position (Symbols.accentBar)
|
|
13
|
+
* x=7 content column (EDGE + CONTENT_PAD)
|
|
14
|
+
* x=11 indent column (EDGE + INDENT_PAD)
|
|
15
|
+
* x=90 right boundary (DIVIDER_WIDTH)
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.WRAP_INDENT = exports.WRAP_CONTENT = exports.DIVIDER_WIDTH = exports.INDENT_PAD = exports.CONTENT_PAD = exports.HEADING_PAD = exports.EDGE = void 0;
|
|
19
|
+
exports.bar = bar;
|
|
20
|
+
exports.divider = divider;
|
|
21
|
+
exports.heading = heading;
|
|
22
|
+
exports.metaField = metaField;
|
|
23
|
+
exports.contentLine = contentLine;
|
|
24
|
+
exports.indentLine = indentLine;
|
|
25
|
+
exports.wrapContent = wrapContent;
|
|
26
|
+
exports.wrapBulletContinuation = wrapBulletContinuation;
|
|
27
|
+
const StyleConfig_js_1 = require("./StyleConfig.js");
|
|
28
|
+
// ── Layout grid constants ──
|
|
29
|
+
exports.EDGE = " "; // 2 spaces
|
|
30
|
+
exports.HEADING_PAD = " "; // bar(1) + space(1) + 1 extra
|
|
31
|
+
exports.CONTENT_PAD = " "; // 5 spaces from EDGE → content column
|
|
32
|
+
exports.INDENT_PAD = " "; // 9 spaces from EDGE → indent column
|
|
33
|
+
exports.DIVIDER_WIDTH = 90;
|
|
34
|
+
exports.WRAP_CONTENT = 83; // max chars at content column (90 - 7 leading)
|
|
35
|
+
exports.WRAP_INDENT = 81; // max chars at indent column (90 - 9 leading)
|
|
36
|
+
// ── Palette-aware helpers ──
|
|
37
|
+
/** Styled accent bar in brand blue. */
|
|
38
|
+
function bar() {
|
|
39
|
+
return StyleConfig_js_1.BrandColors.jumboBlue(StyleConfig_js_1.Symbols.accentBar);
|
|
40
|
+
}
|
|
41
|
+
/** Full-width dim horizontal divider. */
|
|
42
|
+
function divider() {
|
|
43
|
+
return `${exports.EDGE}${StyleConfig_js_1.Colors.dim("─".repeat(exports.DIVIDER_WIDTH))}`;
|
|
44
|
+
}
|
|
45
|
+
/** Section heading: accent bar + bold brand-blue title. */
|
|
46
|
+
function heading(title) {
|
|
47
|
+
return `${exports.EDGE}${bar()} ${StyleConfig_js_1.Colors.bold(StyleConfig_js_1.BrandColors.jumboBlue(title))}`;
|
|
48
|
+
}
|
|
49
|
+
/** Key-value metadata field at the content column. */
|
|
50
|
+
function metaField(label, value, labelWidth = 9) {
|
|
51
|
+
const padded = (label + ":").padEnd(labelWidth);
|
|
52
|
+
return `${exports.EDGE}${exports.CONTENT_PAD}${StyleConfig_js_1.Colors.muted(padded)}${value}`;
|
|
53
|
+
}
|
|
54
|
+
/** Content line at the content column. */
|
|
55
|
+
function contentLine(text) {
|
|
56
|
+
return `${exports.EDGE}${exports.CONTENT_PAD}${text}`;
|
|
57
|
+
}
|
|
58
|
+
/** Indented content line at the indent column. */
|
|
59
|
+
function indentLine(text) {
|
|
60
|
+
return `${exports.EDGE}${exports.INDENT_PAD}${text}`;
|
|
61
|
+
}
|
|
62
|
+
/** Word-wrap text at the content column width, styled with Colors.primary. */
|
|
63
|
+
function wrapContent(text) {
|
|
64
|
+
return (0, StyleConfig_js_1.wordWrap)(text, exports.WRAP_CONTENT, 0).map(line => `${exports.EDGE}${exports.CONTENT_PAD}${StyleConfig_js_1.Colors.primary(line.trimStart())}`);
|
|
65
|
+
}
|
|
66
|
+
/** Bullet + word-wrapped continuation at the indent column. */
|
|
67
|
+
function wrapBulletContinuation(text) {
|
|
68
|
+
const lines = (0, StyleConfig_js_1.wordWrap)(text, exports.WRAP_INDENT, 0);
|
|
69
|
+
const result = [];
|
|
70
|
+
for (let i = 0; i < lines.length; i++) {
|
|
71
|
+
const trimmed = lines[i].trimStart();
|
|
72
|
+
if (i === 0) {
|
|
73
|
+
result.push(`${exports.EDGE}${exports.CONTENT_PAD}${StyleConfig_js_1.Colors.dim("·")} ${StyleConfig_js_1.Colors.primary(trimmed)}`);
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
result.push(`${exports.EDGE}${exports.INDENT_PAD}${StyleConfig_js_1.Colors.primary(trimmed)}`);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
return result;
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=OutputLayout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OutputLayout.js","sourceRoot":"","sources":["../../../../src/presentation/cli/rendering/OutputLayout.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAiBH,kBAEC;AAGD,0BAEC;AAGD,0BAEC;AAGD,8BAGC;AAGD,kCAEC;AAGD,gCAEC;AAGD,kCAIC;AAGD,wDAYC;AAjED,qDAA0E;AAE1E,8BAA8B;AAEjB,QAAA,IAAI,GAAG,IAAI,CAAC,CAAgB,WAAW;AACvC,QAAA,WAAW,GAAG,KAAK,CAAC,CAAQ,8BAA8B;AAC1D,QAAA,WAAW,GAAG,OAAO,CAAC,CAAM,sCAAsC;AAClE,QAAA,UAAU,GAAG,WAAW,CAAC,CAAG,qCAAqC;AACjE,QAA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