jumbo-cli 2.12.0 → 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.
Files changed (235) hide show
  1. package/dist/application/context/goals/IGoalTitleReader.d.ts +9 -0
  2. package/dist/application/context/goals/IGoalTitleReader.d.ts.map +1 -0
  3. package/dist/application/context/goals/IGoalTitleReader.js +3 -0
  4. package/dist/application/context/goals/IGoalTitleReader.js.map +1 -0
  5. package/dist/application/context/relations/discover/IRelationDiscoveryGoalRegistrar.d.ts +10 -0
  6. package/dist/application/context/relations/discover/IRelationDiscoveryGoalRegistrar.d.ts.map +1 -0
  7. package/dist/application/context/relations/discover/IRelationDiscoveryGoalRegistrar.js +3 -0
  8. package/dist/application/context/relations/discover/IRelationDiscoveryGoalRegistrar.js.map +1 -0
  9. package/dist/application/context/relations/discover/NoOpRelationDiscoveryGoalRegistrar.d.ts +9 -0
  10. package/dist/application/context/relations/discover/NoOpRelationDiscoveryGoalRegistrar.d.ts.map +1 -0
  11. package/dist/application/context/relations/discover/NoOpRelationDiscoveryGoalRegistrar.js +14 -0
  12. package/dist/application/context/relations/discover/NoOpRelationDiscoveryGoalRegistrar.js.map +1 -0
  13. package/dist/application/context/relations/discover/RelationDiscoveryEventHandler.d.ts +14 -0
  14. package/dist/application/context/relations/discover/RelationDiscoveryEventHandler.d.ts.map +1 -0
  15. package/dist/application/context/relations/discover/RelationDiscoveryEventHandler.js +35 -0
  16. package/dist/application/context/relations/discover/RelationDiscoveryEventHandler.js.map +1 -0
  17. package/dist/application/context/relations/discover/RelationDiscoveryGoalRegistrar.d.ts +20 -0
  18. package/dist/application/context/relations/discover/RelationDiscoveryGoalRegistrar.d.ts.map +1 -0
  19. package/dist/application/context/relations/discover/RelationDiscoveryGoalRegistrar.js +48 -0
  20. package/dist/application/context/relations/discover/RelationDiscoveryGoalRegistrar.js.map +1 -0
  21. package/dist/infrastructure/context/goals/SqliteGoalStatusReader.d.ts +3 -1
  22. package/dist/infrastructure/context/goals/SqliteGoalStatusReader.d.ts.map +1 -1
  23. package/dist/infrastructure/context/goals/SqliteGoalStatusReader.js +6 -0
  24. package/dist/infrastructure/context/goals/SqliteGoalStatusReader.js.map +1 -1
  25. package/dist/infrastructure/host/HostBuilder.d.ts.map +1 -1
  26. package/dist/infrastructure/host/HostBuilder.js +10 -0
  27. package/dist/infrastructure/host/HostBuilder.js.map +1 -1
  28. package/dist/presentation/cli/commands/architecture/view/architecture.view.d.ts.map +1 -1
  29. package/dist/presentation/cli/commands/architecture/view/architecture.view.js +27 -16
  30. package/dist/presentation/cli/commands/architecture/view/architecture.view.js.map +1 -1
  31. package/dist/presentation/cli/commands/audience-pains/list/AudiencePainListOutputBuilder.d.ts +9 -0
  32. package/dist/presentation/cli/commands/audience-pains/list/AudiencePainListOutputBuilder.d.ts.map +1 -0
  33. package/dist/presentation/cli/commands/audience-pains/list/AudiencePainListOutputBuilder.js +52 -0
  34. package/dist/presentation/cli/commands/audience-pains/list/AudiencePainListOutputBuilder.js.map +1 -0
  35. package/dist/presentation/cli/commands/audience-pains/list/audiencePains.list.d.ts.map +1 -1
  36. package/dist/presentation/cli/commands/audience-pains/list/audiencePains.list.js +9 -33
  37. package/dist/presentation/cli/commands/audience-pains/list/audiencePains.list.js.map +1 -1
  38. package/dist/presentation/cli/commands/audiences/list/AudienceListOutputBuilder.d.ts +9 -0
  39. package/dist/presentation/cli/commands/audiences/list/AudienceListOutputBuilder.d.ts.map +1 -0
  40. package/dist/presentation/cli/commands/audiences/list/AudienceListOutputBuilder.js +53 -0
  41. package/dist/presentation/cli/commands/audiences/list/AudienceListOutputBuilder.js.map +1 -0
  42. package/dist/presentation/cli/commands/audiences/list/audiences.list.d.ts.map +1 -1
  43. package/dist/presentation/cli/commands/audiences/list/audiences.list.js +9 -33
  44. package/dist/presentation/cli/commands/audiences/list/audiences.list.js.map +1 -1
  45. package/dist/presentation/cli/commands/components/list/ComponentListOutputBuilder.d.ts +9 -0
  46. package/dist/presentation/cli/commands/components/list/ComponentListOutputBuilder.d.ts.map +1 -0
  47. package/dist/presentation/cli/commands/components/list/ComponentListOutputBuilder.js +62 -0
  48. package/dist/presentation/cli/commands/components/list/ComponentListOutputBuilder.js.map +1 -0
  49. package/dist/presentation/cli/commands/components/list/components.list.d.ts.map +1 -1
  50. package/dist/presentation/cli/commands/components/list/components.list.js +9 -48
  51. package/dist/presentation/cli/commands/components/list/components.list.js.map +1 -1
  52. package/dist/presentation/cli/commands/components/search/ComponentSearchOutputBuilder.d.ts.map +1 -1
  53. package/dist/presentation/cli/commands/components/search/ComponentSearchOutputBuilder.js +16 -11
  54. package/dist/presentation/cli/commands/components/search/ComponentSearchOutputBuilder.js.map +1 -1
  55. package/dist/presentation/cli/commands/components/search/components.search.js +1 -1
  56. package/dist/presentation/cli/commands/components/search/components.search.js.map +1 -1
  57. package/dist/presentation/cli/commands/components/show/ComponentShowOutputBuilder.d.ts.map +1 -1
  58. package/dist/presentation/cli/commands/components/show/ComponentShowOutputBuilder.js +42 -21
  59. package/dist/presentation/cli/commands/components/show/ComponentShowOutputBuilder.js.map +1 -1
  60. package/dist/presentation/cli/commands/components/undeprecate/ComponentUndeprecateOutputBuilder.d.ts.map +1 -1
  61. package/dist/presentation/cli/commands/components/undeprecate/ComponentUndeprecateOutputBuilder.js +12 -2
  62. package/dist/presentation/cli/commands/components/undeprecate/ComponentUndeprecateOutputBuilder.js.map +1 -1
  63. package/dist/presentation/cli/commands/decisions/list/DecisionListOutputBuilder.d.ts +9 -0
  64. package/dist/presentation/cli/commands/decisions/list/DecisionListOutputBuilder.d.ts.map +1 -0
  65. package/dist/presentation/cli/commands/decisions/list/DecisionListOutputBuilder.js +73 -0
  66. package/dist/presentation/cli/commands/decisions/list/DecisionListOutputBuilder.js.map +1 -0
  67. package/dist/presentation/cli/commands/decisions/list/decisions.list.d.ts.map +1 -1
  68. package/dist/presentation/cli/commands/decisions/list/decisions.list.js +9 -55
  69. package/dist/presentation/cli/commands/decisions/list/decisions.list.js.map +1 -1
  70. package/dist/presentation/cli/commands/decisions/restore/DecisionRestoreOutputBuilder.d.ts.map +1 -1
  71. package/dist/presentation/cli/commands/decisions/restore/DecisionRestoreOutputBuilder.js +11 -2
  72. package/dist/presentation/cli/commands/decisions/restore/DecisionRestoreOutputBuilder.js.map +1 -1
  73. package/dist/presentation/cli/commands/dependencies/list/DependencyListOutputBuilder.d.ts +9 -0
  74. package/dist/presentation/cli/commands/dependencies/list/DependencyListOutputBuilder.d.ts.map +1 -0
  75. package/dist/presentation/cli/commands/dependencies/list/DependencyListOutputBuilder.js +67 -0
  76. package/dist/presentation/cli/commands/dependencies/list/DependencyListOutputBuilder.js.map +1 -0
  77. package/dist/presentation/cli/commands/dependencies/list/dependencies.list.d.ts.map +1 -1
  78. package/dist/presentation/cli/commands/dependencies/list/dependencies.list.js +21 -71
  79. package/dist/presentation/cli/commands/dependencies/list/dependencies.list.js.map +1 -1
  80. package/dist/presentation/cli/commands/evolve/EvolveOutputBuilder.d.ts.map +1 -1
  81. package/dist/presentation/cli/commands/evolve/EvolveOutputBuilder.js +25 -4
  82. package/dist/presentation/cli/commands/evolve/EvolveOutputBuilder.js.map +1 -1
  83. package/dist/presentation/cli/commands/goals/add/GoalAddOutputBuilder.d.ts.map +1 -1
  84. package/dist/presentation/cli/commands/goals/add/GoalAddOutputBuilder.js +15 -4
  85. package/dist/presentation/cli/commands/goals/add/GoalAddOutputBuilder.js.map +1 -1
  86. package/dist/presentation/cli/commands/goals/approve/GoalApproveOutputBuilder.d.ts.map +1 -1
  87. package/dist/presentation/cli/commands/goals/approve/GoalApproveOutputBuilder.js +18 -21
  88. package/dist/presentation/cli/commands/goals/approve/GoalApproveOutputBuilder.js.map +1 -1
  89. package/dist/presentation/cli/commands/goals/approve/goal.approve.js +1 -1
  90. package/dist/presentation/cli/commands/goals/approve/goal.approve.js.map +1 -1
  91. package/dist/presentation/cli/commands/goals/block/GoalBlockOutputBuilder.d.ts.map +1 -1
  92. package/dist/presentation/cli/commands/goals/block/GoalBlockOutputBuilder.js +12 -6
  93. package/dist/presentation/cli/commands/goals/block/GoalBlockOutputBuilder.js.map +1 -1
  94. package/dist/presentation/cli/commands/goals/block/goal.block.js +1 -1
  95. package/dist/presentation/cli/commands/goals/block/goal.block.js.map +1 -1
  96. package/dist/presentation/cli/commands/goals/close/GoalCloseOutputBuilder.d.ts.map +1 -1
  97. package/dist/presentation/cli/commands/goals/close/GoalCloseOutputBuilder.js +25 -11
  98. package/dist/presentation/cli/commands/goals/close/GoalCloseOutputBuilder.js.map +1 -1
  99. package/dist/presentation/cli/commands/goals/close/goal.close.js +1 -1
  100. package/dist/presentation/cli/commands/goals/close/goal.close.js.map +1 -1
  101. package/dist/presentation/cli/commands/goals/codify/GoalCodifyOutputBuilder.d.ts.map +1 -1
  102. package/dist/presentation/cli/commands/goals/codify/GoalCodifyOutputBuilder.js +78 -60
  103. package/dist/presentation/cli/commands/goals/codify/GoalCodifyOutputBuilder.js.map +1 -1
  104. package/dist/presentation/cli/commands/goals/codify/goal.codify.js +1 -1
  105. package/dist/presentation/cli/commands/goals/codify/goal.codify.js.map +1 -1
  106. package/dist/presentation/cli/commands/goals/commit/GoalCommitOutputBuilder.d.ts.map +1 -1
  107. package/dist/presentation/cli/commands/goals/commit/GoalCommitOutputBuilder.js +13 -5
  108. package/dist/presentation/cli/commands/goals/commit/GoalCommitOutputBuilder.js.map +1 -1
  109. package/dist/presentation/cli/commands/goals/commit/goal.commit.js +1 -1
  110. package/dist/presentation/cli/commands/goals/commit/goal.commit.js.map +1 -1
  111. package/dist/presentation/cli/commands/goals/list/GoalListOutputBuilder.d.ts.map +1 -1
  112. package/dist/presentation/cli/commands/goals/list/GoalListOutputBuilder.js +20 -10
  113. package/dist/presentation/cli/commands/goals/list/GoalListOutputBuilder.js.map +1 -1
  114. package/dist/presentation/cli/commands/goals/pause/GoalPauseOutputBuilder.d.ts.map +1 -1
  115. package/dist/presentation/cli/commands/goals/pause/GoalPauseOutputBuilder.js +14 -8
  116. package/dist/presentation/cli/commands/goals/pause/GoalPauseOutputBuilder.js.map +1 -1
  117. package/dist/presentation/cli/commands/goals/pause/goal.pause.js +2 -2
  118. package/dist/presentation/cli/commands/goals/pause/goal.pause.js.map +1 -1
  119. package/dist/presentation/cli/commands/goals/qualify/GoalQualifyOutputBuilder.d.ts.map +1 -1
  120. package/dist/presentation/cli/commands/goals/qualify/GoalQualifyOutputBuilder.js +19 -20
  121. package/dist/presentation/cli/commands/goals/qualify/GoalQualifyOutputBuilder.js.map +1 -1
  122. package/dist/presentation/cli/commands/goals/qualify/goal.qualify.js +1 -1
  123. package/dist/presentation/cli/commands/goals/qualify/goal.qualify.js.map +1 -1
  124. package/dist/presentation/cli/commands/goals/refine/GoalRefineOutputBuilder.d.ts.map +1 -1
  125. package/dist/presentation/cli/commands/goals/refine/GoalRefineOutputBuilder.js +25 -22
  126. package/dist/presentation/cli/commands/goals/refine/GoalRefineOutputBuilder.js.map +1 -1
  127. package/dist/presentation/cli/commands/goals/refine/goal.refine.js +6 -5
  128. package/dist/presentation/cli/commands/goals/refine/goal.refine.js.map +1 -1
  129. package/dist/presentation/cli/commands/goals/reject/GoalRejectOutputBuilder.d.ts.map +1 -1
  130. package/dist/presentation/cli/commands/goals/reject/GoalRejectOutputBuilder.js +23 -23
  131. package/dist/presentation/cli/commands/goals/reject/GoalRejectOutputBuilder.js.map +1 -1
  132. package/dist/presentation/cli/commands/goals/reject/goal.reject.js +1 -1
  133. package/dist/presentation/cli/commands/goals/reject/goal.reject.js.map +1 -1
  134. package/dist/presentation/cli/commands/goals/remove/GoalRemoveOutputBuilder.d.ts.map +1 -1
  135. package/dist/presentation/cli/commands/goals/remove/GoalRemoveOutputBuilder.js +12 -6
  136. package/dist/presentation/cli/commands/goals/remove/GoalRemoveOutputBuilder.js.map +1 -1
  137. package/dist/presentation/cli/commands/goals/remove/goal.remove.js +1 -1
  138. package/dist/presentation/cli/commands/goals/remove/goal.remove.js.map +1 -1
  139. package/dist/presentation/cli/commands/goals/reset/GoalResetOutputBuilder.d.ts.map +1 -1
  140. package/dist/presentation/cli/commands/goals/reset/GoalResetOutputBuilder.js +13 -7
  141. package/dist/presentation/cli/commands/goals/reset/GoalResetOutputBuilder.js.map +1 -1
  142. package/dist/presentation/cli/commands/goals/reset/goal.reset.js +1 -1
  143. package/dist/presentation/cli/commands/goals/reset/goal.reset.js.map +1 -1
  144. package/dist/presentation/cli/commands/goals/resume/GoalResumeOutputBuilder.d.ts.map +1 -1
  145. package/dist/presentation/cli/commands/goals/resume/GoalResumeOutputBuilder.js +62 -56
  146. package/dist/presentation/cli/commands/goals/resume/GoalResumeOutputBuilder.js.map +1 -1
  147. package/dist/presentation/cli/commands/goals/resume/goal.resume.js +2 -2
  148. package/dist/presentation/cli/commands/goals/resume/goal.resume.js.map +1 -1
  149. package/dist/presentation/cli/commands/goals/review/GoalReviewOutputBuilder.d.ts.map +1 -1
  150. package/dist/presentation/cli/commands/goals/review/GoalReviewOutputBuilder.js +73 -52
  151. package/dist/presentation/cli/commands/goals/review/GoalReviewOutputBuilder.js.map +1 -1
  152. package/dist/presentation/cli/commands/goals/review/goal.review.js +1 -1
  153. package/dist/presentation/cli/commands/goals/review/goal.review.js.map +1 -1
  154. package/dist/presentation/cli/commands/goals/show/GoalShowOutputBuilder.d.ts +0 -8
  155. package/dist/presentation/cli/commands/goals/show/GoalShowOutputBuilder.d.ts.map +1 -1
  156. package/dist/presentation/cli/commands/goals/show/GoalShowOutputBuilder.js +53 -105
  157. package/dist/presentation/cli/commands/goals/show/GoalShowOutputBuilder.js.map +1 -1
  158. package/dist/presentation/cli/commands/goals/show/goal.show.js +1 -1
  159. package/dist/presentation/cli/commands/goals/show/goal.show.js.map +1 -1
  160. package/dist/presentation/cli/commands/goals/start/GoalStartOutputBuilder.d.ts.map +1 -1
  161. package/dist/presentation/cli/commands/goals/start/GoalStartOutputBuilder.js +58 -51
  162. package/dist/presentation/cli/commands/goals/start/GoalStartOutputBuilder.js.map +1 -1
  163. package/dist/presentation/cli/commands/goals/start/goal.start.js +2 -2
  164. package/dist/presentation/cli/commands/goals/start/goal.start.js.map +1 -1
  165. package/dist/presentation/cli/commands/goals/submit/GoalSubmitOutputBuilder.d.ts.map +1 -1
  166. package/dist/presentation/cli/commands/goals/submit/GoalSubmitOutputBuilder.js +15 -14
  167. package/dist/presentation/cli/commands/goals/submit/GoalSubmitOutputBuilder.js.map +1 -1
  168. package/dist/presentation/cli/commands/goals/submit/goal.submit.js +1 -1
  169. package/dist/presentation/cli/commands/goals/submit/goal.submit.js.map +1 -1
  170. package/dist/presentation/cli/commands/goals/unblock/GoalUnblockOutputBuilder.d.ts.map +1 -1
  171. package/dist/presentation/cli/commands/goals/unblock/GoalUnblockOutputBuilder.js +14 -2
  172. package/dist/presentation/cli/commands/goals/unblock/GoalUnblockOutputBuilder.js.map +1 -1
  173. package/dist/presentation/cli/commands/goals/unblock/goal.unblock.js +2 -2
  174. package/dist/presentation/cli/commands/goals/unblock/goal.unblock.js.map +1 -1
  175. package/dist/presentation/cli/commands/goals/update/GoalUpdateOutputBuilder.d.ts.map +1 -1
  176. package/dist/presentation/cli/commands/goals/update/GoalUpdateOutputBuilder.js +10 -2
  177. package/dist/presentation/cli/commands/goals/update/GoalUpdateOutputBuilder.js.map +1 -1
  178. package/dist/presentation/cli/commands/goals/update/goal.update.js +4 -4
  179. package/dist/presentation/cli/commands/goals/update/goal.update.js.map +1 -1
  180. package/dist/presentation/cli/commands/goals/update-progress/GoalUpdateProgressOutputBuilder.d.ts.map +1 -1
  181. package/dist/presentation/cli/commands/goals/update-progress/GoalUpdateProgressOutputBuilder.js +16 -8
  182. package/dist/presentation/cli/commands/goals/update-progress/GoalUpdateProgressOutputBuilder.js.map +1 -1
  183. package/dist/presentation/cli/commands/goals/update-progress/goal.update-progress.js +1 -1
  184. package/dist/presentation/cli/commands/goals/update-progress/goal.update-progress.js.map +1 -1
  185. package/dist/presentation/cli/commands/guidelines/list/GuidelineListOutputBuilder.d.ts +9 -0
  186. package/dist/presentation/cli/commands/guidelines/list/GuidelineListOutputBuilder.d.ts.map +1 -0
  187. package/dist/presentation/cli/commands/guidelines/list/GuidelineListOutputBuilder.js +57 -0
  188. package/dist/presentation/cli/commands/guidelines/list/GuidelineListOutputBuilder.js.map +1 -0
  189. package/dist/presentation/cli/commands/guidelines/list/guidelines.list.d.ts.map +1 -1
  190. package/dist/presentation/cli/commands/guidelines/list/guidelines.list.js +9 -27
  191. package/dist/presentation/cli/commands/guidelines/list/guidelines.list.js.map +1 -1
  192. package/dist/presentation/cli/commands/heal/HealOutputBuilder.d.ts.map +1 -1
  193. package/dist/presentation/cli/commands/heal/HealOutputBuilder.js +18 -6
  194. package/dist/presentation/cli/commands/heal/HealOutputBuilder.js.map +1 -1
  195. package/dist/presentation/cli/commands/host/workers/worker.view.d.ts.map +1 -1
  196. package/dist/presentation/cli/commands/host/workers/worker.view.js +10 -4
  197. package/dist/presentation/cli/commands/host/workers/worker.view.js.map +1 -1
  198. package/dist/presentation/cli/commands/invariants/list/InvariantListOutputBuilder.d.ts +9 -0
  199. package/dist/presentation/cli/commands/invariants/list/InvariantListOutputBuilder.d.ts.map +1 -0
  200. package/dist/presentation/cli/commands/invariants/list/InvariantListOutputBuilder.js +53 -0
  201. package/dist/presentation/cli/commands/invariants/list/InvariantListOutputBuilder.js.map +1 -0
  202. package/dist/presentation/cli/commands/invariants/list/invariants.list.d.ts.map +1 -1
  203. package/dist/presentation/cli/commands/invariants/list/invariants.list.js +9 -23
  204. package/dist/presentation/cli/commands/invariants/list/invariants.list.js.map +1 -1
  205. package/dist/presentation/cli/commands/project/init/project.init.js +8 -8
  206. package/dist/presentation/cli/commands/project/init/project.init.js.map +1 -1
  207. package/dist/presentation/cli/commands/relations/list/RelationListOutputBuilder.d.ts +13 -0
  208. package/dist/presentation/cli/commands/relations/list/RelationListOutputBuilder.d.ts.map +1 -0
  209. package/dist/presentation/cli/commands/relations/list/RelationListOutputBuilder.js +64 -0
  210. package/dist/presentation/cli/commands/relations/list/RelationListOutputBuilder.js.map +1 -0
  211. package/dist/presentation/cli/commands/relations/list/relations.list.d.ts.map +1 -1
  212. package/dist/presentation/cli/commands/relations/list/relations.list.js +15 -37
  213. package/dist/presentation/cli/commands/relations/list/relations.list.js.map +1 -1
  214. package/dist/presentation/cli/commands/sessions/list/SessionListOutputBuilder.d.ts +9 -0
  215. package/dist/presentation/cli/commands/sessions/list/SessionListOutputBuilder.d.ts.map +1 -0
  216. package/dist/presentation/cli/commands/sessions/list/SessionListOutputBuilder.js +61 -0
  217. package/dist/presentation/cli/commands/sessions/list/SessionListOutputBuilder.js.map +1 -0
  218. package/dist/presentation/cli/commands/sessions/list/sessions.list.d.ts.map +1 -1
  219. package/dist/presentation/cli/commands/sessions/list/sessions.list.js +9 -47
  220. package/dist/presentation/cli/commands/sessions/list/sessions.list.js.map +1 -1
  221. package/dist/presentation/cli/commands/value-propositions/list/ValueListOutputBuilder.d.ts +9 -0
  222. package/dist/presentation/cli/commands/value-propositions/list/ValueListOutputBuilder.d.ts.map +1 -0
  223. package/dist/presentation/cli/commands/value-propositions/list/ValueListOutputBuilder.js +59 -0
  224. package/dist/presentation/cli/commands/value-propositions/list/ValueListOutputBuilder.js.map +1 -0
  225. package/dist/presentation/cli/commands/value-propositions/list/values.list.d.ts.map +1 -1
  226. package/dist/presentation/cli/commands/value-propositions/list/values.list.js +9 -32
  227. package/dist/presentation/cli/commands/value-propositions/list/values.list.js.map +1 -1
  228. package/dist/presentation/cli/commands/work/refine/RefineryDisplay.d.ts.map +1 -1
  229. package/dist/presentation/cli/commands/work/refine/RefineryDisplay.js +12 -15
  230. package/dist/presentation/cli/commands/work/refine/RefineryDisplay.js.map +1 -1
  231. package/dist/presentation/cli/rendering/OutputLayout.d.ts +39 -0
  232. package/dist/presentation/cli/rendering/OutputLayout.d.ts.map +1 -0
  233. package/dist/presentation/cli/rendering/OutputLayout.js +81 -0
  234. package/dist/presentation/cli/rendering/OutputLayout.js.map +1 -0
  235. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"GoalResumeOutputBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/resume/GoalResumeOutputBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,oEAAoE,CAAC;AAExG;;;;;GAKG;AACH,qBAAa,uBAAuB;IAClC,OAAO,CAAC,OAAO,CAAwB;;IAMvC;;;;;;OAMG;IACH,KAAK,CAAC,cAAc,EAAE,kBAAkB,EAAE,sBAAsB,GAAE,OAAe,GAAG,cAAc;IA2IlG,OAAO,CAAC,QAAQ;CAMjB"}
1
+ {"version":3,"file":"GoalResumeOutputBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/resume/GoalResumeOutputBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,oEAAoE,CAAC;AAIxG;;;;;GAKG;AACH,qBAAa,uBAAuB;IAClC,OAAO,CAAC,OAAO,CAAwB;;IAMvC;;;;;;OAMG;IACH,KAAK,CAAC,cAAc,EAAE,kBAAkB,EAAE,sBAAsB,GAAE,OAAe,GAAG,cAAc;IAgJlG,OAAO,CAAC,QAAQ;CAMjB"}
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GoalResumeOutputBuilder = void 0;
4
4
  const TerminalOutputBuilder_js_1 = require("../../../output/TerminalOutputBuilder.js");
5
+ const OutputLayout_js_1 = require("../../../rendering/OutputLayout.js");
5
6
  /**
6
7
  * Specialized builder for goal.resume command output.
7
8
  * Preserves the existing effective prompt structure that guides LLM implementation.
@@ -23,98 +24,103 @@ class GoalResumeOutputBuilder {
23
24
  const goal = contextualView.goal;
24
25
  const context = contextualView.context;
25
26
  // Opening prompt: Goal Implementation Instructions
26
- this.builder.addPrompt("# Goal Implementation Instructions\n\n" +
27
- "You are the developer tasked with implementing the goal outlined below. DO NOT DEVIATE from the instructions.\n" +
28
- "You (the developer) are the perfect software engineer - the amalgamation of Robert C. Martin, Martin Fowler, and Eric Evans.\n" +
29
- "You write perfect, efficient, secure, and well-documented code.");
27
+ this.builder.addPrompt((0, OutputLayout_js_1.heading)("Goal Implementation Instructions") + "\n\n" +
28
+ (0, OutputLayout_js_1.wrapContent)("You are the developer tasked with implementing the goal outlined below. DO NOT DEVIATE from the instructions.").join('\n') + "\n" +
29
+ (0, OutputLayout_js_1.wrapContent)("You (the developer) are the perfect software engineer - the amalgamation of Robert C. Martin, Martin Fowler, and Eric Evans.").join('\n') + "\n" +
30
+ (0, OutputLayout_js_1.wrapContent)("You write perfect, efficient, secure, and well-documented code.").join('\n'));
30
31
  // Objective section
31
- this.builder.addPrompt(`## Objective:\n'${goal.objective}'\n\n` +
32
- "INSTRUCTION: Your (the developer's) purpose for this goal is to fulfill this objective.");
32
+ this.builder.addPrompt((0, OutputLayout_js_1.heading)("Objective") + "\n" +
33
+ (0, OutputLayout_js_1.contentLine)(`'${goal.objective}'`) + "\n\n" +
34
+ (0, OutputLayout_js_1.contentLine)("INSTRUCTION: Your (the developer's) purpose for this goal is to fulfill this objective."));
33
35
  // Success Criteria section
34
- const successCriteriaText = goal.successCriteria.map(c => `- ${c}`).join('\n');
35
- this.builder.addPrompt(`## Success Criteria:\n${successCriteriaText}\n\n` +
36
- "INSTRUCTION: Your (the developer's) success in fulfilling the objective is measured by these specific criteria and adherence to the instructions below.");
36
+ const successCriteriaLines = goal.successCriteria.flatMap(c => (0, OutputLayout_js_1.wrapBulletContinuation)(c));
37
+ this.builder.addPrompt((0, OutputLayout_js_1.heading)("Success Criteria") + "\n" +
38
+ successCriteriaLines.join('\n') + "\n\n" +
39
+ (0, OutputLayout_js_1.contentLine)("INSTRUCTION: Your (the developer's) success in fulfilling the objective is measured by these specific criteria and adherence to the instructions below."));
37
40
  // Progress section (if exists)
38
41
  if (goal.progress && goal.progress.length > 0) {
39
- const progressText = goal.progress.map(p => `- ${p}`).join('\n');
40
- this.builder.addPrompt(`## Current Progress:\n${progressText}\n\n` +
41
- "INSTRUCTION: Implementation of this goal has previously been started.\n" +
42
- "Review the current progress to understand what has already been accomplished and continue from there.");
42
+ const progressLines = goal.progress.flatMap(p => (0, OutputLayout_js_1.wrapBulletContinuation)(p));
43
+ this.builder.addPrompt((0, OutputLayout_js_1.heading)("Current Progress") + "\n" +
44
+ progressLines.join('\n') + "\n\n" +
45
+ (0, OutputLayout_js_1.contentLine)("INSTRUCTION: Implementation of this goal has previously been started.") + "\n" +
46
+ (0, OutputLayout_js_1.contentLine)("Review the current progress to understand what has already been accomplished and continue from there."));
43
47
  }
44
48
  // Scope section (if scoped)
45
49
  if (this.isScoped(contextualView)) {
46
50
  if (goal.scopeIn && goal.scopeIn.length > 0) {
47
- const scopeInText = goal.scopeIn.map(s => `- ${s}`).join('\n');
48
- this.builder.addPrompt(`### Scope:\n#### In Scope\n${scopeInText}\n\n` +
49
- "INSTRUCTION: You (the developer) MUST work within the defined scope.");
51
+ const scopeInLines = goal.scopeIn.flatMap(s => (0, OutputLayout_js_1.wrapBulletContinuation)(s));
52
+ this.builder.addPrompt((0, OutputLayout_js_1.heading)("Scope: In") + "\n" +
53
+ scopeInLines.join('\n') + "\n\n" +
54
+ (0, OutputLayout_js_1.contentLine)("INSTRUCTION: You (the developer) MUST work within the defined scope."));
50
55
  }
51
56
  if (goal.scopeOut && goal.scopeOut.length > 0) {
52
- const scopeOutText = goal.scopeOut.map(s => `- ${s}`).join('\n');
53
- this.builder.addPrompt(`#### Out of Scope\n${scopeOutText}\n\n` +
54
- "INSTRUCTION: Your (the developer) work MUST NOT overlap these items.");
57
+ const scopeOutLines = goal.scopeOut.flatMap(s => (0, OutputLayout_js_1.wrapBulletContinuation)(s));
58
+ this.builder.addPrompt((0, OutputLayout_js_1.heading)("Scope: Out") + "\n" +
59
+ scopeOutLines.join('\n') + "\n\n" +
60
+ (0, OutputLayout_js_1.contentLine)("INSTRUCTION: Your (the developer) work MUST NOT overlap these items."));
55
61
  }
56
62
  }
57
63
  // Components section
58
64
  if (context.components.length > 0) {
59
- const componentsText = context.components
60
- .map(c => `- ${c.entity.name}: ${c.entity.description}`)
61
- .join('\n');
62
- this.builder.addPrompt(`## Relevant Components:\n${componentsText}\n\n` +
63
- 'INSTRUCTION: You (the developer) MUST consider these components while implementing this goal.');
65
+ const componentsLines = context.components
66
+ .flatMap(c => (0, OutputLayout_js_1.wrapBulletContinuation)(`${c.entity.name}: ${c.entity.description}`));
67
+ this.builder.addPrompt((0, OutputLayout_js_1.heading)("Relevant Components") + "\n" +
68
+ componentsLines.join('\n') + "\n\n" +
69
+ (0, OutputLayout_js_1.contentLine)('INSTRUCTION: You (the developer) MUST consider these components while implementing this goal.'));
64
70
  }
65
71
  // Dependencies section
66
72
  if (context.dependencies.length > 0) {
67
- const dependenciesText = context.dependencies
68
- .map(d => {
73
+ const dependenciesLines = context.dependencies
74
+ .flatMap(d => {
69
75
  const version = d.entity.versionConstraint ? `@${d.entity.versionConstraint}` : "";
70
76
  const purpose = d.entity.contract || d.entity.endpoint || "External dependency";
71
- return `- ${d.entity.ecosystem}:${d.entity.packageName}${version} (${d.entity.name}): ${purpose}`;
72
- })
73
- .join('\n');
74
- this.builder.addPrompt(`## Relevant Dependencies:\n${dependenciesText}\n\n` +
75
- 'INSTRUCTION: You (the developer) MUST consider the following dependencies while implementing this goal.');
77
+ return (0, OutputLayout_js_1.wrapBulletContinuation)(`${d.entity.ecosystem}:${d.entity.packageName}${version} (${d.entity.name}): ${purpose}`);
78
+ });
79
+ this.builder.addPrompt((0, OutputLayout_js_1.heading)("Relevant Dependencies") + "\n" +
80
+ dependenciesLines.join('\n') + "\n\n" +
81
+ (0, OutputLayout_js_1.contentLine)('INSTRUCTION: You (the developer) MUST consider the following dependencies while implementing this goal.'));
76
82
  }
77
83
  // Decisions section
78
84
  if (context.decisions.length > 0) {
79
- const decisionsText = context.decisions
80
- .map(d => `- ${d.entity.title}: ${d.entity.rationale}`)
81
- .join('\n');
82
- this.builder.addPrompt(`## Relevant Decisions:\n${decisionsText}\n\n` +
83
- 'INSTRUCTION: The solution may contain artifacts that reflect previous design decisions.\n' +
84
- 'Therefore, you MUST consider these design decisions while implementing this goal to ensure the trajectory of the solution remains consistent.');
85
+ const decisionsLines = context.decisions
86
+ .flatMap(d => (0, OutputLayout_js_1.wrapBulletContinuation)(`${d.entity.title}: ${d.entity.rationale}`));
87
+ this.builder.addPrompt((0, OutputLayout_js_1.heading)("Relevant Decisions") + "\n" +
88
+ decisionsLines.join('\n') + "\n\n" +
89
+ (0, OutputLayout_js_1.contentLine)('INSTRUCTION: The solution may contain artifacts that reflect previous design decisions.') + "\n" +
90
+ (0, OutputLayout_js_1.contentLine)('Therefore, you MUST consider these design decisions while implementing this goal to ensure the trajectory of the solution remains consistent.'));
85
91
  }
86
92
  // Invariants section (CRITICAL - emphasized)
87
93
  if (context.invariants.length > 0) {
88
- const invariantsText = context.invariants
89
- .map(inv => `- ${inv.entity.title}:\n - ${inv.entity.description}`)
90
- .join('\n');
91
- this.builder.addPrompt(`## Invariants:\n${invariantsText}\n\n` +
92
- 'INSTRUCTION: You (the developer) MUST adhere to ALL of these invariants while implementing this goal.');
94
+ const invariantsLines = context.invariants
95
+ .flatMap(inv => (0, OutputLayout_js_1.wrapBulletContinuation)(`${inv.entity.title}: ${inv.entity.description}`));
96
+ this.builder.addPrompt((0, OutputLayout_js_1.heading)("Invariants") + "\n" +
97
+ invariantsLines.join('\n') + "\n\n" +
98
+ (0, OutputLayout_js_1.contentLine)('INSTRUCTION: You (the developer) MUST adhere to ALL of these invariants while implementing this goal.'));
93
99
  }
94
100
  // Guidelines section
95
101
  if (context.guidelines.length > 0) {
96
- const guidelinesText = context.guidelines
97
- .map(g => `- ${g.entity.category}: ${g.entity.description}`)
98
- .join('\n');
99
- this.builder.addPrompt(`## Guidelines:\n${guidelinesText}\n\n` +
100
- 'INSTRUCTION: You (the developer) SHOULD follow these guidelines while implementing this goal.');
102
+ const guidelinesLines = context.guidelines
103
+ .flatMap(g => (0, OutputLayout_js_1.wrapBulletContinuation)(`${g.entity.category}: ${g.entity.description}`));
104
+ this.builder.addPrompt((0, OutputLayout_js_1.heading)("Guidelines") + "\n" +
105
+ guidelinesLines.join('\n') + "\n\n" +
106
+ (0, OutputLayout_js_1.contentLine)('INSTRUCTION: You (the developer) SHOULD follow these guidelines while implementing this goal.'));
101
107
  }
102
108
  // Closing prompt with additional instructions
103
- this.builder.addPrompt("---\n");
109
+ this.builder.addPrompt((0, OutputLayout_js_1.divider)() + "\n");
104
110
  // LLM Guidance - different messages depending on transition state
105
111
  if (transitionedFromPaused) {
106
- this.builder.addPrompt("@LLM: Goal context loaded. Work within scope.\n" +
107
- "YOUR ROLE: Proactively run jumbo commands to capture project memories as they surface.\n" +
108
- "Run 'jumbo --help' to see what can be tracked, if you haven't already.");
112
+ this.builder.addPrompt((0, OutputLayout_js_1.contentLine)("@LLM: Goal context loaded. Work within scope.") + "\n" +
113
+ (0, OutputLayout_js_1.contentLine)("YOUR ROLE: Proactively run jumbo commands to capture project memories as they surface.") + "\n" +
114
+ (0, OutputLayout_js_1.contentLine)("Run 'jumbo --help' to see what can be tracked, if you haven't already."));
109
115
  }
110
116
  else {
111
- this.builder.addPrompt("@LLM: Goal context loaded. Work within scope.");
117
+ this.builder.addPrompt((0, OutputLayout_js_1.contentLine)("@LLM: Goal context loaded. Work within scope."));
112
118
  }
113
119
  // Review instructions (prominent)
114
- this.builder.addPrompt("=".repeat(80) + "\n" +
115
- "🚀 IMPORTANT NEXT STEP\n" +
116
- `Run: jumbo goal submit --id ${goal.goalId}\n` +
117
- "=".repeat(80));
120
+ this.builder.addPrompt((0, OutputLayout_js_1.divider)() + "\n" +
121
+ (0, OutputLayout_js_1.contentLine)("IMPORTANT NEXT STEP") + "\n" +
122
+ (0, OutputLayout_js_1.contentLine)(`Run: jumbo goal submit --id ${goal.goalId}`) + "\n" +
123
+ (0, OutputLayout_js_1.divider)());
118
124
  return this.builder.build();
119
125
  }
120
126
  isScoped(contextualView) {
@@ -1 +1 @@
1
- {"version":3,"file":"GoalResumeOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/resume/GoalResumeOutputBuilder.ts"],"names":[],"mappings":";;;AAAA,uFAAiF;AAIjF;;;;;GAKG;AACH,MAAa,uBAAuB;IAGlC;QACE,IAAI,CAAC,OAAO,GAAG,IAAI,gDAAqB,EAAE,CAAC;IAC7C,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,cAAkC,EAAE,yBAAkC,KAAK;QAC/E,MAAM,IAAI,GAAG,cAAc,CAAC,IAAI,CAAC;QACjC,MAAM,OAAO,GAAG,cAAc,CAAC,OAAO,CAAC;QAEvC,mDAAmD;QACnD,IAAI,CAAC,OAAO,CAAC,SAAS,CACpB,wCAAwC;YACxC,iHAAiH;YACjH,gIAAgI;YAChI,iEAAiE,CAClE,CAAC;QAEF,oBAAoB;QACpB,IAAI,CAAC,OAAO,CAAC,SAAS,CACpB,mBAAmB,IAAI,CAAC,SAAS,OAAO;YACxC,yFAAyF,CAC1F,CAAC;QAEF,2BAA2B;QAC3B,MAAM,mBAAmB,GAAG,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC/E,IAAI,CAAC,OAAO,CAAC,SAAS,CACpB,yBAAyB,mBAAmB,MAAM;YAClD,yJAAyJ,CAC1J,CAAC;QAEF,+BAA+B;QAC/B,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC9C,MAAM,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,E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+BAA+B,IAAI,CAAC,MAAM,IAAI;YAC9C,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CACf,CAAC;QAEF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IAC9B,CAAC;IAEO,QAAQ,CAAC,cAAkC;QACjD,OAAO,CACL,CAAC,KAAK,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC;YACtF,CAAC,KAAK,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,CACzF,CAAC;IACJ,CAAC;CACF;AA/JD,0DA+JC"}
1
+ {"version":3,"file":"GoalResumeOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/resume/GoalResumeOutputBuilder.ts"],"names":[],"mappings":";;;AAAA,uFAAiF;AAGjF,wEAAmI;AAGnI;;;;;GAKG;AACH,MAAa,uBAAuB;IAGlC;QACE,IAAI,CAAC,OAAO,GAAG,IAAI,gDAAqB,EAAE,CAAC;IAC7C,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,cAAkC,EAAE,yBAAkC,KAAK;QAC/E,MAAM,IAAI,GAAG,cAAc,CAAC,IAAI,CAAC;QACjC,MAAM,OAAO,GAAG,cAAc,CAAC,OAAO,CAAC;QAEvC,mDAAmD;QACnD,IAAI,CAAC,OAAO,CAAC,SAAS,CACpB,IAAA,yBAAO,EAAC,kCAAkC,CAAC,GAAG,MAAM;YACpD,IAAA,6BAAW,EAAC,+GAA+G,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI;YAC9I,IAAA,6BAAW,EAAC,8HAA8H,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI;YAC7J,IAAA,6BAAW,EAAC,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jumbo goal resume --id goal_abc123",
34
+ command: "jumbo goal resume --id abc123",
35
35
  description: "Resume working on a paused or in-progress goal"
36
36
  },
37
37
  {
38
- command: "jumbo goal resume --id goal_abc123 --note \"Ready to continue\"",
38
+ command: "jumbo goal resume --id abc123 --note \"Ready to continue\"",
39
39
  description: "Resume a paused goal with a note"
40
40
  }
41
41
  ],
@@ -1 +1 @@
1
- {"version":3,"file":"goal.resume.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/resume/goal.resume.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AA0CH,gCAmBC;AAzDD,gEAA0D;AAC1D,6EAAuE;AAEvE;;GAEG;AACU,QAAA,QAAQ,GAAoB;IACvC,WAAW,EAAE,gGAAgG;IAC7G,QAAQ,EAAE,MAAM;IAChB,eAAe,EAAE;QACf;YACE,KAAK,EAAE,eAAe;YACtB,WAAW,EAAE,0BAA0B;SACxC;KACF;IACD,OAAO,EAAE;QACP;YACE,KAAK,EAAE,mBAAmB;YAC1B,WAAW,EAAE,6EAA6E;SAC3F;KACF;IACD,QAAQ,EAAE;QACR;YACE,OAAO,EAAE,oCAAoC;YAC7C,WAAW,EAAE,gDAAgD;SAC9D;QACD;YACE,OAAO,EAAE,iEAAiE;YAC1E,WAAW,EAAE,kCAAkC;SAChD;KACF;IACD,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,eAAe,CAAC;CACvD,CAAC;AAEF;;;GAGG;AACI,KAAK,UAAU,UAAU,CAAC,OAAsC,EAAE,SAAgC;IACvG,MAAM,QAAQ,GAAG,sBAAQ,CAAC,WAAW,EAAE,CAAC;IAExC,IAAI,CAAC;QACH,MAAM,QAAQ,GAAG,MAAM,SAAS,CAAC,oBAAoB,CAAC,MAAM,CAAC;YAC3D,MAAM,EAAE,OAAO,CAAC,EAAE;YAClB,IAAI,EAAE,OAAO,CAAC,IAAI;SACnB,CAAC,CAAC;QAEH,gDAAgD;QAChD,MAAM,aAAa,GAAG,IAAI,oDAAuB,EAAE,CAAC;QACpD,MAAM,MAAM,GAAG,aAAa,CAAC,KAAK,CAAC,QAAQ,CAAC,kBAAkB,CAAC,CAAC;QAEhE,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,eAAe,EAAE,CAAC,CAAC;IAE1C,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,QAAQ,CAAC,KAAK,CAAC,uBAAuB,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QACxF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"goal.resume.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/resume/goal.resume.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AA0CH,gCAmBC;AAzDD,gEAA0D;AAC1D,6EAAuE;AAEvE;;GAEG;AACU,QAAA,QAAQ,GAAoB;IACvC,WAAW,EAAE,gGAAgG;IAC7G,QAAQ,EAAE,MAAM;IAChB,eAAe,EAAE;QACf;YACE,KAAK,EAAE,eAAe;YACtB,WAAW,EAAE,0BAA0B;SACxC;KACF;IACD,OAAO,EAAE;QACP;YACE,KAAK,EAAE,mBAAmB;YAC1B,WAAW,EAAE,6EAA6E;SAC3F;KACF;IACD,QAAQ,EAAE;QACR;YACE,OAAO,EAAE,+BAA+B;YACxC,WAAW,EAAE,gDAAgD;SAC9D;QACD;YACE,OAAO,EAAE,4DAA4D;YACrE,WAAW,EAAE,kCAAkC;SAChD;KACF;IACD,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,eAAe,CAAC;CACvD,CAAC;AAEF;;;GAGG;AACI,KAAK,UAAU,UAAU,CAAC,OAAsC,EAAE,SAAgC;IACvG,MAAM,QAAQ,GAAG,sBAAQ,CAAC,WAAW,EAAE,CAAC;IAExC,IAAI,CAAC;QACH,MAAM,QAAQ,GAAG,MAAM,SAAS,CAAC,oBAAoB,CAAC,MAAM,CAAC;YAC3D,MAAM,EAAE,OAAO,CAAC,EAAE;YAClB,IAAI,EAAE,OAAO,CAAC,IAAI;SACnB,CAAC,CAAC;QAEH,gDAAgD;QAChD,MAAM,aAAa,GAAG,IAAI,oDAAuB,EAAE,CAAC;QACpD,MAAM,MAAM,GAAG,aAAa,CAAC,KAAK,CAAC,QAAQ,CAAC,kBAAkB,CAAC,CAAC;QAEhE,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,eAAe,EAAE,CAAC,CAAC;IAE1C,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,QAAQ,CAAC,KAAK,CAAC,uBAAuB,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QACxF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"GoalReviewOutputBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/review/GoalReviewOutputBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uEAAuE,CAAC;AAE3G;;;;;;GAMG;AACH,qBAAa,uBAAuB;IAClC,OAAO,CAAC,OAAO,CAAwB;;IAMvC;;;OAGG;IACH,YAAY,CAAC,QAAQ,EAAE,kBAAkB,GAAG,cAAc;IAgH1D;;;OAGG;IACH,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,cAAc;IASxD;;OAEG;IACH,OAAO,CAAC,QAAQ;CAOjB"}
1
+ {"version":3,"file":"GoalReviewOutputBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/review/GoalReviewOutputBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uEAAuE,CAAC;AAI3G;;;;;;GAMG;AACH,qBAAa,uBAAuB;IAClC,OAAO,CAAC,OAAO,CAAwB;;IAMvC;;;OAGG;IACH,YAAY,CAAC,QAAQ,EAAE,kBAAkB,GAAG,cAAc;IAoI1D;;;OAGG;IACH,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,cAAc;IASxD;;OAEG;IACH,OAAO,CAAC,QAAQ;CAOjB"}
@@ -2,6 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GoalReviewOutputBuilder = void 0;
4
4
  const TerminalOutputBuilder_js_1 = require("../../../output/TerminalOutputBuilder.js");
5
+ const StyleConfig_js_1 = require("../../../rendering/StyleConfig.js");
6
+ const OutputLayout_js_1 = require("../../../rendering/OutputLayout.js");
5
7
  /**
6
8
  * Specialized builder for goal.review command output.
7
9
  * Encapsulates all output rendering for the review goal command.
@@ -21,99 +23,118 @@ class GoalReviewOutputBuilder {
21
23
  this.builder.reset();
22
24
  const goal = response.criteria.goal;
23
25
  const context = response.criteria.context;
24
- // Build complete review prompt as single section
25
- let output = "\n# Goal Review Instructions\n" +
26
- "You are the quality assurance specialist tasked with reviewing the goal (outlined below) implementation. The implementation MUST NOT HAVE DEVIATED from the instructions.\n" +
27
- "Your (the specialist's) skills are that of the perfect software engineer - the amalgamation of Robert C. Martin, Martin Fowler, and Eric Evans.\n" +
28
- "You expect perfect, efficient, secure, and well-documented code.\n" +
29
- "You are now in QA mode. Verify the implementation against the details below.\n" +
30
- "Report and fix any failures.\n" +
31
- "---\n\n";
26
+ const lines = [];
27
+ // Header
28
+ lines.push('');
29
+ lines.push((0, OutputLayout_js_1.heading)("Goal Review Instructions"));
30
+ lines.push(...(0, OutputLayout_js_1.wrapContent)("You are the quality assurance specialist tasked with reviewing the goal (outlined below) implementation. The implementation MUST NOT HAVE DEVIATED from the instructions."));
31
+ lines.push(...(0, OutputLayout_js_1.wrapContent)("Your (the specialist's) skills are that of the perfect software engineer - the amalgamation of Robert C. Martin, Martin Fowler, and Eric Evans."));
32
+ lines.push(...(0, OutputLayout_js_1.wrapContent)("You expect perfect, efficient, secure, and well-documented code."));
33
+ lines.push(...(0, OutputLayout_js_1.wrapContent)("You are now in QA mode. Verify the implementation against the details below."));
34
+ lines.push(...(0, OutputLayout_js_1.wrapContent)("Report and fix any failures."));
35
+ lines.push((0, OutputLayout_js_1.divider)());
36
+ lines.push('');
32
37
  // Objective and Success Criteria
33
- output += `## Objective:\n'${goal.objective}'\n` +
34
- "## Success Criteria:\n";
38
+ lines.push((0, OutputLayout_js_1.heading)("Objective"));
39
+ lines.push((0, OutputLayout_js_1.contentLine)(`'${goal.objective}'`));
40
+ lines.push((0, OutputLayout_js_1.heading)("Success Criteria"));
35
41
  goal.successCriteria.forEach((c) => {
36
- output += `- ${c}\n`;
42
+ lines.push(...(0, OutputLayout_js_1.wrapBulletContinuation)(c));
37
43
  });
38
- output += "\nVERIFY: Does the implementation succeed in fulfilling the objective and these specific criteria and adhere to the instructions below?\n" +
39
- `INSTRUCTION: If ANY criteria are NOT met, then note the issues for goal rejection.`;
44
+ lines.push('');
45
+ lines.push((0, OutputLayout_js_1.contentLine)("VERIFY: Does the implementation succeed in fulfilling the objective and these specific criteria and adhere to the instructions below?"));
46
+ lines.push((0, OutputLayout_js_1.contentLine)("INSTRUCTION: If ANY criteria are NOT met, then note the issues for goal rejection."));
40
47
  // Scope (if scoped)
41
48
  if (this.isScoped(response)) {
42
- output += "\n\n### Scope:";
49
+ lines.push('');
43
50
  if (goal.scopeIn && goal.scopeIn.length > 0) {
44
- output += "\n#### In Scope\n";
51
+ lines.push((0, OutputLayout_js_1.heading)("Scope: In"));
45
52
  goal.scopeIn.forEach((item) => {
46
- output += `- ${item}\n`;
53
+ lines.push(...(0, OutputLayout_js_1.wrapBulletContinuation)(item));
47
54
  });
48
- output += "\nVERIFY: The implementation stayed within the defined scope.\n" +
49
- `INSTRUCTION: If any work was done outside the defined scope, then note the issues for goal rejection.`;
55
+ lines.push('');
56
+ lines.push((0, OutputLayout_js_1.contentLine)("VERIFY: The implementation stayed within the defined scope."));
57
+ lines.push((0, OutputLayout_js_1.contentLine)("INSTRUCTION: If any work was done outside the defined scope, then note the issues for goal rejection."));
50
58
  }
51
59
  if (goal.scopeOut && goal.scopeOut.length > 0) {
52
- output += "\n#### Out of Scope\n";
60
+ lines.push((0, OutputLayout_js_1.heading)("Scope: Out"));
53
61
  goal.scopeOut.forEach((item) => {
54
- output += `- ${item}\n`;
62
+ lines.push(...(0, OutputLayout_js_1.wrapBulletContinuation)(item));
55
63
  });
56
- output += "\nVERIFY: The implementation did not overlap these items.\n" +
57
- `INSTRUCTION: If any work overlapped these items, then note the issues for goal rejection.`;
64
+ lines.push('');
65
+ lines.push((0, OutputLayout_js_1.contentLine)("VERIFY: The implementation did not overlap these items."));
66
+ lines.push((0, OutputLayout_js_1.contentLine)("INSTRUCTION: If any work overlapped these items, then note the issues for goal rejection."));
58
67
  }
59
68
  }
60
69
  // Components
61
70
  if (context.components.length > 0) {
62
- output += "\n\n## Relevant Components:\n";
71
+ lines.push('');
72
+ lines.push((0, OutputLayout_js_1.heading)("Relevant Components"));
63
73
  context.components.forEach((c) => {
64
- output += `- ${c.entity.name}: ${c.entity.description}\n`;
74
+ lines.push(...(0, OutputLayout_js_1.wrapBulletContinuation)(`${c.entity.name}: ${c.entity.description}`));
65
75
  });
66
- output += "\nVERIFY: These components were considered in the implementation.\n" +
67
- `INSTRUCTION: If any components were not considered, then note the issues for goal rejection.`;
76
+ lines.push('');
77
+ lines.push((0, OutputLayout_js_1.contentLine)("VERIFY: These components were considered in the implementation."));
78
+ lines.push((0, OutputLayout_js_1.contentLine)("INSTRUCTION: If any components were not considered, then note the issues for goal rejection."));
68
79
  }
69
80
  // Dependencies
70
81
  if (context.dependencies.length > 0) {
71
- output += "\n\n## Relevant Dependencies:\n";
82
+ lines.push('');
83
+ lines.push((0, OutputLayout_js_1.heading)("Relevant Dependencies"));
72
84
  context.dependencies.forEach((d) => {
73
85
  const version = d.entity.versionConstraint ? `@${d.entity.versionConstraint}` : "";
74
86
  const purpose = d.entity.contract || d.entity.endpoint || "External dependency";
75
- output += `- ${d.entity.ecosystem}:${d.entity.packageName}${version} (${d.entity.name}): ${purpose}\n`;
87
+ lines.push(...(0, OutputLayout_js_1.wrapBulletContinuation)(`${d.entity.ecosystem}:${d.entity.packageName}${version} (${d.entity.name}): ${purpose}`));
76
88
  });
77
- output += "\nVERIFY: These dependencies are considered in the implementation.\n" +
78
- `INSTRUCTION: If any dependencies were not considered, then note the issues for goal rejection.`;
89
+ lines.push('');
90
+ lines.push((0, OutputLayout_js_1.contentLine)("VERIFY: These dependencies are considered in the implementation."));
91
+ lines.push((0, OutputLayout_js_1.contentLine)("INSTRUCTION: If any dependencies were not considered, then note the issues for goal rejection."));
79
92
  }
80
93
  // Decisions
81
94
  if (context.decisions.length > 0) {
82
- output += "\n\n## Relevant Decisions:\n";
95
+ lines.push('');
96
+ lines.push((0, OutputLayout_js_1.heading)("Relevant Decisions"));
83
97
  context.decisions.forEach((d) => {
84
- output += `- ${d.entity.title}: ${d.entity.rationale}\n`;
98
+ lines.push(...(0, OutputLayout_js_1.wrapBulletContinuation)(`${d.entity.title}: ${d.entity.rationale}`));
85
99
  });
86
- output += "\nNOTE: The solution may contain artifacts that reflect previous design decisions.\n" +
87
- "VERIFY:These design decisions are reflected in the implementation and ensure the trajectory of the solution is consistent.\n" +
88
- `INSTRUCTION: If any design decisions are not reflected or the trajectory is inconsistent, then note the issues for goal rejection.`;
100
+ lines.push('');
101
+ lines.push((0, OutputLayout_js_1.contentLine)("NOTE: The solution may contain artifacts that reflect previous design decisions."));
102
+ lines.push((0, OutputLayout_js_1.contentLine)("VERIFY: These design decisions are reflected in the implementation and ensure the trajectory of the solution is consistent."));
103
+ lines.push((0, OutputLayout_js_1.contentLine)("INSTRUCTION: If any design decisions are not reflected or the trajectory is inconsistent, then note the issues for goal rejection."));
89
104
  }
90
105
  // Invariants
91
106
  if (context.invariants.length > 0) {
92
- output += "\n\n## Invariants:\n";
107
+ lines.push('');
108
+ lines.push((0, OutputLayout_js_1.heading)("Invariants"));
93
109
  context.invariants.forEach((inv) => {
94
- output += `- ${inv.entity.title}:\n - ${inv.entity.description}\n`;
110
+ lines.push(...(0, OutputLayout_js_1.wrapBulletContinuation)(`${inv.entity.title}: ${inv.entity.description}`));
95
111
  });
96
- output += "\nVERIFY: The implementation adheres to ALL of these invariants.\n" +
97
- `INSTRUCTION: If the implementation does not adhere to any of these invariants, then note the issues for goal rejection. `;
112
+ lines.push('');
113
+ lines.push((0, OutputLayout_js_1.contentLine)("VERIFY: The implementation adheres to ALL of these invariants."));
114
+ lines.push((0, OutputLayout_js_1.contentLine)("INSTRUCTION: If the implementation does not adhere to any of these invariants, then note the issues for goal rejection."));
98
115
  }
99
116
  // Guidelines
100
117
  if (context.guidelines.length > 0) {
101
- output += "\n\n## Guidelines:\n";
118
+ lines.push('');
119
+ lines.push((0, OutputLayout_js_1.heading)("Guidelines"));
102
120
  context.guidelines.forEach((g) => {
103
- output += `- ${g.entity.category}: ${g.entity.description}\n`;
121
+ lines.push(...(0, OutputLayout_js_1.wrapBulletContinuation)(`${g.entity.category}: ${g.entity.description}`));
104
122
  });
105
- output += "\nVERIFY: The implementation follows these guidelines.\n" +
106
- `INSTRUCTION: If the implementation does not follow any of these guidelines, then note the issues for goal rejection. `;
123
+ lines.push('');
124
+ lines.push((0, OutputLayout_js_1.contentLine)("VERIFY: The implementation follows these guidelines."));
125
+ lines.push((0, OutputLayout_js_1.contentLine)("INSTRUCTION: If the implementation does not follow any of these guidelines, then note the issues for goal rejection."));
107
126
  }
108
127
  // Final instructions
109
- output += "\n\n---\n" +
110
- "## Next Steps\n" +
111
- "If ALL criteria are met:\n" +
112
- ` Run: jumbo goal approve --id ${response.goalId}\n\n` +
113
- "If ANY criteria are NOT met:\n" +
114
- ` Note the issues and reject the goal: jumbo goal reject --id ${response.goalId} --audit-findings <findings>\n` +
115
- "---\n";
116
- this.builder.addPrompt(output);
128
+ lines.push('');
129
+ lines.push((0, OutputLayout_js_1.divider)());
130
+ lines.push((0, OutputLayout_js_1.heading)("Next Steps"));
131
+ lines.push((0, OutputLayout_js_1.contentLine)("If ALL criteria are met:"));
132
+ lines.push((0, OutputLayout_js_1.contentLine)(` Run: jumbo goal approve --id ${response.goalId}`));
133
+ lines.push('');
134
+ lines.push((0, OutputLayout_js_1.contentLine)("If ANY criteria are NOT met:"));
135
+ lines.push((0, OutputLayout_js_1.contentLine)(` Note the issues and reject the goal: jumbo goal reject --id ${response.goalId} --audit-findings <findings>`));
136
+ lines.push((0, OutputLayout_js_1.divider)());
137
+ this.builder.addPrompt(lines.join('\n'));
117
138
  return this.builder.build();
118
139
  }
119
140
  /**
@@ -122,7 +143,7 @@ class GoalReviewOutputBuilder {
122
143
  */
123
144
  buildFailureError(error) {
124
145
  this.builder.reset();
125
- this.builder.addPrompt("Failed to submit goal for review");
146
+ this.builder.addPrompt(`${StyleConfig_js_1.Symbols.cross} ${StyleConfig_js_1.Colors.error("Failed to submit goal for review")}`);
126
147
  this.builder.addData({
127
148
  message: error instanceof Error ? error.message : error
128
149
  });
@@ -1 +1 @@
1
- {"version":3,"file":"GoalReviewOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/review/GoalReviewOutputBuilder.ts"],"names":[],"mappings":";;;AAAA,uFAAiF;AAIjF;;;;;;GAMG;AACH,MAAa,uBAAuB;IAGlC;QACE,IAAI,CAAC,OAAO,GAAG,IAAI,gDAAqB,EAAE,CAAC;IAC7C,CAAC;IAED;;;OAGG;IACH,YAAY,CAAC,QAA4B;QACvC,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;QACrB,MAAM,IAAI,GAAG,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC;QACpC,M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AC9B,CAAC;IAED;;;OAGG;IACH,iBAAiB,CAAC,KAAqB;QACrC,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;QACrB,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,oCAAoC,CAAC,CAAC;QAC7D,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;IAED;;OAEG;IACK,QAAQ,CAAC,QAA4B;QAC3C,MAAM,IAAI,GAAG,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC;QACpC,OAAO,CACL,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC;YACxD,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,CAC3D,CAAC;IACJ,CAAC;CACF;AAlJD,0DAkJC"}
1
+ {"version":3,"file":"GoalReviewOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/review/GoalReviewOutputBuilder.ts"],"names":[],"mappings":";;;AAAA,uFAAiF;AAGjF,sEAAoE;AACpE,wEAAwH;AAExH;;;;;;GAMG;AACH,MAAa,uBAAuB;IAGlC;QACE,IAAI,CAAC,OAAO,GAAG,IAAI,gDAAqB,EAAE,CAAC;IAC7C,CAAC;IAED;;;OAGG;IACH,YAAY,CAAC,QAA4B;QACvC,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;QACrB,MAAM,IAAI,GAAG,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC;QACpC,MAAM,OAAO,GAAG,QAAQ,C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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;IAED;;OAEG;IACK,QAAQ,CAAC,QAA4B;QAC3C,MAAM,IAAI,GAAG,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC;QACpC,OAAO,CACL,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC;YACxD,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,CAC3D,CAAC;IACJ,CAAC;CACF;AAtKD,0DAsKC"}
@@ -25,7 +25,7 @@ exports.metadata = {
25
25
  options: [],
26
26
  examples: [
27
27
  {
28
- command: "jumbo goal review --id goal_abc123",
28
+ command: "jumbo goal review --id abc123",
29
29
  description: "Start QA review on a submitted goal"
30
30
  }
31
31
  ],
@@ -1 +1 @@
1
- {"version":3,"file":"goal.review.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/review/goal.review.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAkCH,gCA6BC;AA3DD,gEAA0D;AAE1D,6EAAuE;AAEvE;;GAEG;AACU,QAAA,QAAQ,GAAoB;IACvC,WAAW,EAAE,qCAAqC;IAClD,QAAQ,EAAE,MAAM;IAChB,eAAe,EAAE;QACf;YACE,KAAK,EAAE,eAAe;YACtB,WAAW,EAAE,0BAA0B;SACxC;KACF;IACD,OAAO,EAAE,EAAE;IACX,QAAQ,EAAE;QACR;YACE,OAAO,EAAE,oCAAoC;YAC7C,WAAW,EAAE,qCAAqC;SACnD;KACF;IACD,OAAO,EAAE,CAAC,aAAa,EAAE,cAAc,EAAE,aAAa,CAAC;CACxD,CAAC;AAEF;;;GAGG;AACI,KAAK,UAAU,UAAU,CAC9B,OAAuB,EACvB,SAAgC;IAEhC,MAAM,QAAQ,GAAG,sBAAQ,CAAC,WAAW,EAAE,CAAC;IAExC,IAAI,CAAC;QACH,mCAAmC;QACnC,MAAM,UAAU,GAAG,SAAS,CAAC,oBAAoB,CAAC;QAElD,oBAAoB;QACpB,MAAM,OAAO,GAAsB;YACjC,MAAM,EAAE,OAAO,CAAC,EAAE;SACnB,CAAC;QAEF,oBAAoB;QACpB,MAAM,QAAQ,GAAG,MAAM,UAAU,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAElD,mDAAmD;QACnD,MAAM,aAAa,GAAG,IAAI,oDAAuB,EAAE,CAAC;QACpD,MAAM,MAAM,GAAG,aAAa,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;QAEpD,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,eAAe,EAAE,CAAC,CAAC;QACxC,QAAQ,CAAC,OAAO,EAAE,CAAC;IAErB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,QAAQ,CAAC,KAAK,CAAC,kCAAkC,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QACnG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"goal.review.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/review/goal.review.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAkCH,gCA6BC;AA3DD,gEAA0D;AAE1D,6EAAuE;AAEvE;;GAEG;AACU,QAAA,QAAQ,GAAoB;IACvC,WAAW,EAAE,qCAAqC;IAClD,QAAQ,EAAE,MAAM;IAChB,eAAe,EAAE;QACf;YACE,KAAK,EAAE,eAAe;YACtB,WAAW,EAAE,0BAA0B;SACxC;KACF;IACD,OAAO,EAAE,EAAE;IACX,QAAQ,EAAE;QACR;YACE,OAAO,EAAE,+BAA+B;YACxC,WAAW,EAAE,qCAAqC;SACnD;KACF;IACD,OAAO,EAAE,CAAC,aAAa,EAAE,cAAc,EAAE,aAAa,CAAC;CACxD,CAAC;AAEF;;;GAGG;AACI,KAAK,UAAU,UAAU,CAC9B,OAAuB,EACvB,SAAgC;IAEhC,MAAM,QAAQ,GAAG,sBAAQ,CAAC,WAAW,EAAE,CAAC;IAExC,IAAI,CAAC;QACH,mCAAmC;QACnC,MAAM,UAAU,GAAG,SAAS,CAAC,oBAAoB,CAAC;QAElD,oBAAoB;QACpB,MAAM,OAAO,GAAsB;YACjC,MAAM,EAAE,OAAO,CAAC,EAAE;SACnB,CAAC;QAEF,oBAAoB;QACpB,MAAM,QAAQ,GAAG,MAAM,UAAU,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAElD,mDAAmD;QACnD,MAAM,aAAa,GAAG,IAAI,oDAAuB,EAAE,CAAC;QACpD,MAAM,MAAM,GAAG,aAAa,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;QAEpD,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,eAAe,EAAE,CAAC,CAAC;QACxC,QAAQ,CAAC,OAAO,EAAE,CAAC;IAErB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,QAAQ,CAAC,KAAK,CAAC,kCAAkC,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QACnG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC"}
@@ -17,16 +17,8 @@ import { ContextualGoalView } from '../../../../../application/context/goals/get
17
17
  export declare class GoalShowOutputBuilder {
18
18
  private builder;
19
19
  constructor();
20
- private bar;
21
- private divider;
22
- private heading;
23
- private metaField;
24
- private contentLine;
25
- private indentLine;
26
20
  private formatStatus;
27
- private wrapContent;
28
21
  private wrapContentWithPrefix;
29
- private wrapBulletContinuation;
30
22
  /**
31
23
  * Build output for TTY (human-readable formatted text).
32
24
  * Renders complete goal details with all fields.
@@ -1 +1 @@
1
- {"version":3,"file":"GoalShowOutputBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/show/GoalShowOutputBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,oEAAoE,CAAC;AAmCxG;;;;;;;;;;;;;GAaG;AACH,qBAAa,qBAAqB;IAChC,OAAO,CAAC,OAAO,CAAwB;;IAMvC,OAAO,CAAC,GAAG;IAIX,OAAO,CAAC,OAAO;IAIf,OAAO,CAAC,OAAO;IAIf,OAAO,CAAC,SAAS;IAKjB,OAAO,CAAC,WAAW;IAInB,OAAO,CAAC,UAAU;IAIlB,OAAO,CAAC,YAAY;IAMpB,OAAO,CAAC,WAAW;IAMnB,OAAO,CAAC,qBAAqB;IAmC7B,OAAO,CAAC,sBAAsB;IAc9B;;;OAGG;IACH,KAAK,CAAC,cAAc,EAAE,kBAAkB,GAAG,cAAc;IAyLzD;;;OAGG;IACH,qBAAqB,CAAC,cAAc,EAAE,kBAAkB,GAAG,cAAc;IAoCzE;;;OAGG;IACH,sBAAsB,CAAC,MAAM,EAAE,MAAM,GAAG,cAAc;IAOtD;;;OAGG;IACH,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,cAAc;CAQzD"}
1
+ {"version":3,"file":"GoalShowOutputBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/goals/show/GoalShowOutputBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,oEAAoE,CAAC;AAsBxG;;;;;;;;;;;;;GAaG;AACH,qBAAa,qBAAqB;IAChC,OAAO,CAAC,OAAO,CAAwB;;IAMvC,OAAO,CAAC,YAAY;IAMpB,OAAO,CAAC,qBAAqB;IAmC7B;;;OAGG;IACH,KAAK,CAAC,cAAc,EAAE,kBAAkB,GAAG,cAAc;IAyLzD;;;OAGG;IACH,qBAAqB,CAAC,cAAc,EAAE,kBAAkB,GAAG,cAAc;IAoCzE;;;OAGG;IACH,sBAAsB,CAAC,MAAM,EAAE,MAAM,GAAG,cAAc;IAOtD;;;OAGG;IACH,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,cAAc;CAQzD"}