jumbo-cli 3.1.0 → 3.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (597) hide show
  1. package/README.md +1 -1
  2. package/assets/skills/codify-jumbo-goal/SKILL.md +0 -6
  3. package/assets/skills/define-jumbo-goals/SKILL.md +24 -25
  4. package/assets/skills/jumbo-add-component/SKILL.md +9 -0
  5. package/assets/skills/jumbo-add-decision/SKILL.md +9 -0
  6. package/assets/skills/jumbo-add-dependency/SKILL.md +9 -0
  7. package/assets/skills/jumbo-add-guideline/SKILL.md +9 -0
  8. package/assets/skills/jumbo-add-invariant/SKILL.md +9 -0
  9. package/assets/skills/jumbo-design-goal/SKILL.md +1 -1
  10. package/assets/skills/refine-jumbo-goals/SKILL.md +4 -4
  11. package/dist/application/agents/AgentInvocation.d.ts +10 -0
  12. package/dist/application/agents/AgentInvocation.d.ts.map +1 -0
  13. package/dist/application/agents/AgentInvocation.js +2 -0
  14. package/dist/application/agents/AgentInvocation.js.map +1 -0
  15. package/dist/application/agents/IAgentGateway.d.ts +5 -0
  16. package/dist/application/agents/IAgentGateway.d.ts.map +1 -0
  17. package/dist/application/agents/IAgentGateway.js +2 -0
  18. package/dist/application/agents/IAgentGateway.js.map +1 -0
  19. package/dist/application/context/decisions/get/IDecisionViewReader.d.ts +7 -0
  20. package/dist/application/context/decisions/get/IDecisionViewReader.d.ts.map +1 -1
  21. package/dist/application/context/decisions/search/DecisionSearchCriteria.d.ts +17 -0
  22. package/dist/application/context/decisions/search/DecisionSearchCriteria.d.ts.map +1 -0
  23. package/dist/application/context/decisions/search/DecisionSearchCriteria.js +12 -0
  24. package/dist/application/context/decisions/search/DecisionSearchCriteria.js.map +1 -0
  25. package/dist/application/context/decisions/search/ISearchDecisionsGateway.d.ts +10 -0
  26. package/dist/application/context/decisions/search/ISearchDecisionsGateway.d.ts.map +1 -0
  27. package/dist/application/context/decisions/search/ISearchDecisionsGateway.js +6 -0
  28. package/dist/application/context/decisions/search/ISearchDecisionsGateway.js.map +1 -0
  29. package/dist/application/context/decisions/search/LocalSearchDecisionsGateway.d.ts +14 -0
  30. package/dist/application/context/decisions/search/LocalSearchDecisionsGateway.d.ts.map +1 -0
  31. package/dist/application/context/decisions/search/LocalSearchDecisionsGateway.js +14 -0
  32. package/dist/application/context/decisions/search/LocalSearchDecisionsGateway.js.map +1 -0
  33. package/dist/application/context/decisions/search/SearchDecisionsController.d.ts +13 -0
  34. package/dist/application/context/decisions/search/SearchDecisionsController.d.ts.map +1 -0
  35. package/dist/application/context/decisions/search/SearchDecisionsController.js +13 -0
  36. package/dist/application/context/decisions/search/SearchDecisionsController.js.map +1 -0
  37. package/dist/application/context/decisions/search/SearchDecisionsRequest.d.ts +8 -0
  38. package/dist/application/context/decisions/search/SearchDecisionsRequest.d.ts.map +1 -0
  39. package/dist/application/context/decisions/search/SearchDecisionsRequest.js +5 -0
  40. package/dist/application/context/decisions/search/SearchDecisionsRequest.js.map +1 -0
  41. package/dist/application/context/decisions/search/SearchDecisionsResponse.d.ts +8 -0
  42. package/dist/application/context/decisions/search/SearchDecisionsResponse.d.ts.map +1 -0
  43. package/dist/application/context/decisions/search/SearchDecisionsResponse.js +5 -0
  44. package/dist/application/context/decisions/search/SearchDecisionsResponse.js.map +1 -0
  45. package/dist/application/context/dependencies/get/IDependencyViewReader.d.ts +7 -0
  46. package/dist/application/context/dependencies/get/IDependencyViewReader.d.ts.map +1 -1
  47. package/dist/application/context/dependencies/search/DependencySearchCriteria.d.ts +22 -0
  48. package/dist/application/context/dependencies/search/DependencySearchCriteria.d.ts.map +1 -0
  49. package/dist/application/context/dependencies/search/DependencySearchCriteria.js +12 -0
  50. package/dist/application/context/dependencies/search/DependencySearchCriteria.js.map +1 -0
  51. package/dist/application/context/dependencies/search/ISearchDependenciesGateway.d.ts +10 -0
  52. package/dist/application/context/dependencies/search/ISearchDependenciesGateway.d.ts.map +1 -0
  53. package/dist/application/context/dependencies/search/ISearchDependenciesGateway.js +6 -0
  54. package/dist/application/context/dependencies/search/ISearchDependenciesGateway.js.map +1 -0
  55. package/dist/application/context/dependencies/search/LocalSearchDependenciesGateway.d.ts +14 -0
  56. package/dist/application/context/dependencies/search/LocalSearchDependenciesGateway.d.ts.map +1 -0
  57. package/dist/application/context/dependencies/search/LocalSearchDependenciesGateway.js +14 -0
  58. package/dist/application/context/dependencies/search/LocalSearchDependenciesGateway.js.map +1 -0
  59. package/dist/application/context/dependencies/search/SearchDependenciesController.d.ts +13 -0
  60. package/dist/application/context/dependencies/search/SearchDependenciesController.d.ts.map +1 -0
  61. package/dist/application/context/dependencies/search/SearchDependenciesController.js +13 -0
  62. package/dist/application/context/dependencies/search/SearchDependenciesController.js.map +1 -0
  63. package/dist/application/context/dependencies/search/SearchDependenciesRequest.d.ts +8 -0
  64. package/dist/application/context/dependencies/search/SearchDependenciesRequest.d.ts.map +1 -0
  65. package/dist/application/context/dependencies/search/SearchDependenciesRequest.js +5 -0
  66. package/dist/application/context/dependencies/search/SearchDependenciesRequest.js.map +1 -0
  67. package/dist/application/context/dependencies/search/SearchDependenciesResponse.d.ts +8 -0
  68. package/dist/application/context/dependencies/search/SearchDependenciesResponse.d.ts.map +1 -0
  69. package/dist/application/context/dependencies/search/SearchDependenciesResponse.js +5 -0
  70. package/dist/application/context/dependencies/search/SearchDependenciesResponse.js.map +1 -0
  71. package/dist/application/context/goals/codify/CodifierProcessManager.d.ts +34 -0
  72. package/dist/application/context/goals/codify/CodifierProcessManager.d.ts.map +1 -0
  73. package/dist/application/context/goals/codify/CodifierProcessManager.js +171 -0
  74. package/dist/application/context/goals/codify/CodifierProcessManager.js.map +1 -0
  75. package/dist/application/context/goals/refine/RefinerProcessManager.d.ts +28 -0
  76. package/dist/application/context/goals/refine/RefinerProcessManager.d.ts.map +1 -0
  77. package/dist/application/context/goals/refine/RefinerProcessManager.js +147 -0
  78. package/dist/application/context/goals/refine/RefinerProcessManager.js.map +1 -0
  79. package/dist/application/context/goals/review/ReviewerProcessManager.d.ts +28 -0
  80. package/dist/application/context/goals/review/ReviewerProcessManager.d.ts.map +1 -0
  81. package/dist/application/context/goals/review/ReviewerProcessManager.js +161 -0
  82. package/dist/application/context/goals/review/ReviewerProcessManager.js.map +1 -0
  83. package/dist/application/context/guidelines/get/IGuidelineViewReader.d.ts +7 -0
  84. package/dist/application/context/guidelines/get/IGuidelineViewReader.d.ts.map +1 -1
  85. package/dist/application/context/guidelines/search/GuidelineSearchCriteria.d.ts +17 -0
  86. package/dist/application/context/guidelines/search/GuidelineSearchCriteria.d.ts.map +1 -0
  87. package/dist/application/context/guidelines/search/GuidelineSearchCriteria.js +12 -0
  88. package/dist/application/context/guidelines/search/GuidelineSearchCriteria.js.map +1 -0
  89. package/dist/application/context/guidelines/search/ISearchGuidelinesGateway.d.ts +10 -0
  90. package/dist/application/context/guidelines/search/ISearchGuidelinesGateway.d.ts.map +1 -0
  91. package/dist/application/context/guidelines/search/ISearchGuidelinesGateway.js +6 -0
  92. package/dist/application/context/guidelines/search/ISearchGuidelinesGateway.js.map +1 -0
  93. package/dist/application/context/guidelines/search/LocalSearchGuidelinesGateway.d.ts +14 -0
  94. package/dist/application/context/guidelines/search/LocalSearchGuidelinesGateway.d.ts.map +1 -0
  95. package/dist/application/context/guidelines/search/LocalSearchGuidelinesGateway.js +14 -0
  96. package/dist/application/context/guidelines/search/LocalSearchGuidelinesGateway.js.map +1 -0
  97. package/dist/application/context/guidelines/search/SearchGuidelinesController.d.ts +13 -0
  98. package/dist/application/context/guidelines/search/SearchGuidelinesController.d.ts.map +1 -0
  99. package/dist/application/context/guidelines/search/SearchGuidelinesController.js +13 -0
  100. package/dist/application/context/guidelines/search/SearchGuidelinesController.js.map +1 -0
  101. package/dist/application/context/guidelines/search/SearchGuidelinesRequest.d.ts +8 -0
  102. package/dist/application/context/guidelines/search/SearchGuidelinesRequest.d.ts.map +1 -0
  103. package/dist/application/context/guidelines/search/SearchGuidelinesRequest.js +5 -0
  104. package/dist/application/context/guidelines/search/SearchGuidelinesRequest.js.map +1 -0
  105. package/dist/application/context/guidelines/search/SearchGuidelinesResponse.d.ts +8 -0
  106. package/dist/application/context/guidelines/search/SearchGuidelinesResponse.d.ts.map +1 -0
  107. package/dist/application/context/guidelines/search/SearchGuidelinesResponse.js +5 -0
  108. package/dist/application/context/guidelines/search/SearchGuidelinesResponse.js.map +1 -0
  109. package/dist/application/context/invariants/get/IInvariantViewReader.d.ts +7 -0
  110. package/dist/application/context/invariants/get/IInvariantViewReader.d.ts.map +1 -1
  111. package/dist/application/context/invariants/search/ISearchInvariantsGateway.d.ts +10 -0
  112. package/dist/application/context/invariants/search/ISearchInvariantsGateway.d.ts.map +1 -0
  113. package/dist/application/context/invariants/search/ISearchInvariantsGateway.js +6 -0
  114. package/dist/application/context/invariants/search/ISearchInvariantsGateway.js.map +1 -0
  115. package/dist/application/context/invariants/search/InvariantSearchCriteria.d.ts +14 -0
  116. package/dist/application/context/invariants/search/InvariantSearchCriteria.d.ts.map +1 -0
  117. package/dist/application/context/invariants/search/InvariantSearchCriteria.js +11 -0
  118. package/dist/application/context/invariants/search/InvariantSearchCriteria.js.map +1 -0
  119. package/dist/application/context/invariants/search/LocalSearchInvariantsGateway.d.ts +14 -0
  120. package/dist/application/context/invariants/search/LocalSearchInvariantsGateway.d.ts.map +1 -0
  121. package/dist/application/context/invariants/search/LocalSearchInvariantsGateway.js +14 -0
  122. package/dist/application/context/invariants/search/LocalSearchInvariantsGateway.js.map +1 -0
  123. package/dist/application/context/invariants/search/SearchInvariantsController.d.ts +13 -0
  124. package/dist/application/context/invariants/search/SearchInvariantsController.d.ts.map +1 -0
  125. package/dist/application/context/invariants/search/SearchInvariantsController.js +13 -0
  126. package/dist/application/context/invariants/search/SearchInvariantsController.js.map +1 -0
  127. package/dist/application/context/invariants/search/SearchInvariantsRequest.d.ts +8 -0
  128. package/dist/application/context/invariants/search/SearchInvariantsRequest.d.ts.map +1 -0
  129. package/dist/application/context/invariants/search/SearchInvariantsRequest.js +5 -0
  130. package/dist/application/context/invariants/search/SearchInvariantsRequest.js.map +1 -0
  131. package/dist/application/context/invariants/search/SearchInvariantsResponse.d.ts +8 -0
  132. package/dist/application/context/invariants/search/SearchInvariantsResponse.d.ts.map +1 -0
  133. package/dist/application/context/invariants/search/SearchInvariantsResponse.js +5 -0
  134. package/dist/application/context/invariants/search/SearchInvariantsResponse.js.map +1 -0
  135. package/dist/application/context/project/ProjectKnowledgeInventoryView.d.ts +12 -0
  136. package/dist/application/context/project/ProjectKnowledgeInventoryView.d.ts.map +1 -0
  137. package/dist/application/context/project/ProjectKnowledgeInventoryView.js +2 -0
  138. package/dist/application/context/project/ProjectKnowledgeInventoryView.js.map +1 -0
  139. package/dist/application/context/project/ProjectLifecycleState.d.ts +7 -0
  140. package/dist/application/context/project/ProjectLifecycleState.d.ts.map +1 -0
  141. package/dist/application/context/project/ProjectLifecycleState.js +2 -0
  142. package/dist/application/context/project/ProjectLifecycleState.js.map +1 -0
  143. package/dist/application/context/project/ProjectSummaryView.d.ts +2 -0
  144. package/dist/application/context/project/ProjectSummaryView.d.ts.map +1 -1
  145. package/dist/application/context/project/ProjectView.d.ts +2 -0
  146. package/dist/application/context/project/ProjectView.d.ts.map +1 -1
  147. package/dist/application/context/project/query/GetProjectSummaryQueryHandler.d.ts.map +1 -1
  148. package/dist/application/context/project/query/GetProjectSummaryQueryHandler.js +3 -0
  149. package/dist/application/context/project/query/GetProjectSummaryQueryHandler.js.map +1 -1
  150. package/dist/application/context/project/query/IProjectContextReader.d.ts +10 -0
  151. package/dist/application/context/project/query/IProjectContextReader.d.ts.map +1 -1
  152. package/dist/application/context/project/query/ProjectLifecycleClassifier.d.ts +9 -0
  153. package/dist/application/context/project/query/ProjectLifecycleClassifier.d.ts.map +1 -0
  154. package/dist/application/context/project/query/ProjectLifecycleClassifier.js +18 -0
  155. package/dist/application/context/project/query/ProjectLifecycleClassifier.js.map +1 -0
  156. package/dist/application/context/project/query/north-star/ProjectNorthStarView.d.ts +20 -0
  157. package/dist/application/context/project/query/north-star/ProjectNorthStarView.d.ts.map +1 -0
  158. package/dist/application/context/project/query/north-star/ProjectNorthStarView.js +2 -0
  159. package/dist/application/context/project/query/north-star/ProjectNorthStarView.js.map +1 -0
  160. package/dist/application/context/project/show/IShowProjectGateway.d.ts +6 -0
  161. package/dist/application/context/project/show/IShowProjectGateway.d.ts.map +1 -0
  162. package/dist/application/context/project/show/IShowProjectGateway.js +2 -0
  163. package/dist/application/context/project/show/IShowProjectGateway.js.map +1 -0
  164. package/dist/application/context/project/show/LocalShowProjectGateway.d.ts +16 -0
  165. package/dist/application/context/project/show/LocalShowProjectGateway.d.ts.map +1 -0
  166. package/dist/application/context/project/show/LocalShowProjectGateway.js +32 -0
  167. package/dist/application/context/project/show/LocalShowProjectGateway.js.map +1 -0
  168. package/dist/application/context/project/show/ShowProjectController.d.ts +9 -0
  169. package/dist/application/context/project/show/ShowProjectController.d.ts.map +1 -0
  170. package/dist/application/context/project/show/ShowProjectController.js +9 -0
  171. package/dist/application/context/project/show/ShowProjectController.js.map +1 -0
  172. package/dist/application/context/project/show/ShowProjectRequest.d.ts +4 -0
  173. package/dist/application/context/project/show/ShowProjectRequest.d.ts.map +1 -0
  174. package/dist/application/context/project/show/ShowProjectRequest.js +2 -0
  175. package/dist/application/context/project/show/ShowProjectRequest.js.map +1 -0
  176. package/dist/application/context/project/show/ShowProjectResponse.d.ts +7 -0
  177. package/dist/application/context/project/show/ShowProjectResponse.d.ts.map +1 -0
  178. package/dist/application/context/project/show/ShowProjectResponse.js +2 -0
  179. package/dist/application/context/project/show/ShowProjectResponse.js.map +1 -0
  180. package/dist/application/context/sessions/get/SessionContext.d.ts +2 -2
  181. package/dist/application/context/sessions/get/SessionContextQueryHandler.d.ts +1 -1
  182. package/dist/application/context/sessions/get/SessionContextQueryHandler.d.ts.map +1 -1
  183. package/dist/application/context/sessions/get/SessionContextQueryHandler.js +3 -1
  184. package/dist/application/context/sessions/get/SessionContextQueryHandler.js.map +1 -1
  185. package/dist/application/context/sessions/start/LocalStartSessionGateway.d.ts +2 -7
  186. package/dist/application/context/sessions/start/LocalStartSessionGateway.d.ts.map +1 -1
  187. package/dist/application/context/sessions/start/LocalStartSessionGateway.js +4 -35
  188. package/dist/application/context/sessions/start/LocalStartSessionGateway.js.map +1 -1
  189. package/dist/application/context/sessions/start/SessionStartResponse.d.ts +4 -4
  190. package/dist/application/context/sessions/start/SessionStartResponse.d.ts.map +1 -1
  191. package/dist/application/daemons/IProcessManager.d.ts +28 -0
  192. package/dist/application/daemons/IProcessManager.d.ts.map +1 -0
  193. package/dist/application/daemons/IProcessManager.js +2 -0
  194. package/dist/application/daemons/IProcessManager.js.map +1 -0
  195. package/dist/application/daemons/IShutdownSignal.d.ts +5 -0
  196. package/dist/application/daemons/IShutdownSignal.d.ts.map +1 -0
  197. package/dist/application/daemons/IShutdownSignal.js +2 -0
  198. package/dist/application/daemons/IShutdownSignal.js.map +1 -0
  199. package/dist/application/daemons/ITicker.d.ts +4 -0
  200. package/dist/application/daemons/ITicker.d.ts.map +1 -0
  201. package/dist/application/daemons/ITicker.js +2 -0
  202. package/dist/application/daemons/ITicker.js.map +1 -0
  203. package/dist/application/daemons/IWorkerDaemonProcessController.d.ts +30 -0
  204. package/dist/application/daemons/IWorkerDaemonProcessController.d.ts.map +1 -0
  205. package/dist/application/daemons/IWorkerDaemonProcessController.js +2 -0
  206. package/dist/application/daemons/IWorkerDaemonProcessController.js.map +1 -0
  207. package/dist/application/daemons/PollingLoop.d.ts +13 -0
  208. package/dist/application/daemons/PollingLoop.d.ts.map +1 -0
  209. package/dist/application/daemons/PollingLoop.js +15 -0
  210. package/dist/application/daemons/PollingLoop.js.map +1 -0
  211. package/dist/application/daemons/WorkerDaemonCatalog.d.ts +11 -0
  212. package/dist/application/daemons/WorkerDaemonCatalog.d.ts.map +1 -0
  213. package/dist/application/daemons/WorkerDaemonCatalog.js +12 -0
  214. package/dist/application/daemons/WorkerDaemonCatalog.js.map +1 -0
  215. package/dist/application/host/IApplicationContainer.d.ts +6 -0
  216. package/dist/application/host/IApplicationContainer.d.ts.map +1 -1
  217. package/dist/application/settings/Settings.d.ts +11 -0
  218. package/dist/application/settings/Settings.d.ts.map +1 -1
  219. package/dist/cli.js +68 -5
  220. package/dist/cli.js.map +1 -1
  221. package/dist/domain/project/JumboMdContent.js +1 -1
  222. package/dist/infrastructure/agents/AgentCliGateway.d.ts +15 -0
  223. package/dist/infrastructure/agents/AgentCliGateway.d.ts.map +1 -0
  224. package/dist/infrastructure/agents/AgentCliGateway.js +82 -0
  225. package/dist/infrastructure/agents/AgentCliGateway.js.map +1 -0
  226. package/dist/infrastructure/context/decisions/get/SqliteDecisionViewReader.d.ts +8 -0
  227. package/dist/infrastructure/context/decisions/get/SqliteDecisionViewReader.d.ts.map +1 -1
  228. package/dist/infrastructure/context/decisions/get/SqliteDecisionViewReader.js +45 -0
  229. package/dist/infrastructure/context/decisions/get/SqliteDecisionViewReader.js.map +1 -1
  230. package/dist/infrastructure/context/decisions/migrations/002-add-decision-search-indexes.sql +11 -0
  231. package/dist/infrastructure/context/dependencies/get/SqliteDependencyViewReader.d.ts +3 -0
  232. package/dist/infrastructure/context/dependencies/get/SqliteDependencyViewReader.d.ts.map +1 -1
  233. package/dist/infrastructure/context/dependencies/get/SqliteDependencyViewReader.js +57 -0
  234. package/dist/infrastructure/context/dependencies/get/SqliteDependencyViewReader.js.map +1 -1
  235. package/dist/infrastructure/context/dependencies/migrations/003-add-dependency-search-indexes.sql +12 -0
  236. package/dist/infrastructure/context/guidelines/get/SqliteGuidelineViewReader.d.ts +8 -0
  237. package/dist/infrastructure/context/guidelines/get/SqliteGuidelineViewReader.d.ts.map +1 -1
  238. package/dist/infrastructure/context/guidelines/get/SqliteGuidelineViewReader.js +31 -0
  239. package/dist/infrastructure/context/guidelines/get/SqliteGuidelineViewReader.js.map +1 -1
  240. package/dist/infrastructure/context/guidelines/migrations/003-add-guideline-search-indexes.sql +17 -0
  241. package/dist/infrastructure/context/invariants/get/SqliteInvariantViewReader.d.ts +8 -0
  242. package/dist/infrastructure/context/invariants/get/SqliteInvariantViewReader.d.ts.map +1 -1
  243. package/dist/infrastructure/context/invariants/get/SqliteInvariantViewReader.js +31 -0
  244. package/dist/infrastructure/context/invariants/get/SqliteInvariantViewReader.js.map +1 -1
  245. package/dist/infrastructure/context/invariants/migrations/003-add-invariant-search-indexes.sql +6 -0
  246. package/dist/infrastructure/context/project/query/SqliteProjectContextReader.d.ts +5 -0
  247. package/dist/infrastructure/context/project/query/SqliteProjectContextReader.d.ts.map +1 -1
  248. package/dist/infrastructure/context/project/query/SqliteProjectContextReader.js +34 -2
  249. package/dist/infrastructure/context/project/query/SqliteProjectContextReader.js.map +1 -1
  250. package/dist/infrastructure/daemons/IntervalTicker.d.ts +7 -0
  251. package/dist/infrastructure/daemons/IntervalTicker.d.ts.map +1 -0
  252. package/dist/infrastructure/daemons/IntervalTicker.js +11 -0
  253. package/dist/infrastructure/daemons/IntervalTicker.js.map +1 -0
  254. package/dist/infrastructure/daemons/NodeWorkerDaemonProcessController.d.ts +12 -0
  255. package/dist/infrastructure/daemons/NodeWorkerDaemonProcessController.d.ts.map +1 -0
  256. package/dist/infrastructure/daemons/NodeWorkerDaemonProcessController.js +56 -0
  257. package/dist/infrastructure/daemons/NodeWorkerDaemonProcessController.js.map +1 -0
  258. package/dist/infrastructure/daemons/ProcessSignalSource.d.ts +10 -0
  259. package/dist/infrastructure/daemons/ProcessSignalSource.d.ts.map +1 -0
  260. package/dist/infrastructure/daemons/ProcessSignalSource.js +24 -0
  261. package/dist/infrastructure/daemons/ProcessSignalSource.js.map +1 -0
  262. package/dist/infrastructure/host/HostBuilder.d.ts.map +1 -1
  263. package/dist/infrastructure/host/HostBuilder.js +16 -1
  264. package/dist/infrastructure/host/HostBuilder.js.map +1 -1
  265. package/dist/infrastructure/logging/FileLogger.js +1 -1
  266. package/dist/infrastructure/settings/DefaultSettings.d.ts.map +1 -1
  267. package/dist/infrastructure/settings/DefaultSettings.js +3 -0
  268. package/dist/infrastructure/settings/DefaultSettings.js.map +1 -1
  269. package/dist/infrastructure/settings/FsSettingsInitializer.d.ts.map +1 -1
  270. package/dist/infrastructure/settings/FsSettingsInitializer.js +6 -0
  271. package/dist/infrastructure/settings/FsSettingsInitializer.js.map +1 -1
  272. package/dist/infrastructure/settings/FsSettingsReader.d.ts.map +1 -1
  273. package/dist/infrastructure/settings/FsSettingsReader.js +10 -0
  274. package/dist/infrastructure/settings/FsSettingsReader.js.map +1 -1
  275. package/dist/presentation/cli/AppRunner.d.ts +7 -1
  276. package/dist/presentation/cli/AppRunner.d.ts.map +1 -1
  277. package/dist/presentation/cli/AppRunner.js +10 -5
  278. package/dist/presentation/cli/AppRunner.js.map +1 -1
  279. package/dist/presentation/cli/CliBootstrapPlan.d.ts +12 -0
  280. package/dist/presentation/cli/CliBootstrapPlan.d.ts.map +1 -0
  281. package/dist/presentation/cli/CliBootstrapPlan.js +23 -0
  282. package/dist/presentation/cli/CliBootstrapPlan.js.map +1 -0
  283. package/dist/presentation/cli/banner/AnimationFrames.d.ts +6 -1
  284. package/dist/presentation/cli/banner/AnimationFrames.d.ts.map +1 -1
  285. package/dist/presentation/cli/banner/AnimationFrames.js +307 -288
  286. package/dist/presentation/cli/banner/AnimationFrames.js.map +1 -1
  287. package/dist/presentation/cli/commands/decisions/search/DecisionSearchOutputBuilder.d.ts +17 -0
  288. package/dist/presentation/cli/commands/decisions/search/DecisionSearchOutputBuilder.d.ts.map +1 -0
  289. package/dist/presentation/cli/commands/decisions/search/DecisionSearchOutputBuilder.js +90 -0
  290. package/dist/presentation/cli/commands/decisions/search/DecisionSearchOutputBuilder.js.map +1 -0
  291. package/dist/presentation/cli/commands/decisions/search/decisions.search.d.ts +22 -0
  292. package/dist/presentation/cli/commands/decisions/search/decisions.search.d.ts.map +1 -0
  293. package/dist/presentation/cli/commands/decisions/search/decisions.search.js +93 -0
  294. package/dist/presentation/cli/commands/decisions/search/decisions.search.js.map +1 -0
  295. package/dist/presentation/cli/commands/dependencies/search/DependencySearchOutputBuilder.d.ts +16 -0
  296. package/dist/presentation/cli/commands/dependencies/search/DependencySearchOutputBuilder.d.ts.map +1 -0
  297. package/dist/presentation/cli/commands/dependencies/search/DependencySearchOutputBuilder.js +85 -0
  298. package/dist/presentation/cli/commands/dependencies/search/DependencySearchOutputBuilder.js.map +1 -0
  299. package/dist/presentation/cli/commands/dependencies/search/dependencies.search.d.ts +21 -0
  300. package/dist/presentation/cli/commands/dependencies/search/dependencies.search.d.ts.map +1 -0
  301. package/dist/presentation/cli/commands/dependencies/search/dependencies.search.js +111 -0
  302. package/dist/presentation/cli/commands/dependencies/search/dependencies.search.js.map +1 -0
  303. package/dist/presentation/cli/commands/guidelines/search/GuidelineSearchOutputBuilder.d.ts +22 -0
  304. package/dist/presentation/cli/commands/guidelines/search/GuidelineSearchOutputBuilder.d.ts.map +1 -0
  305. package/dist/presentation/cli/commands/guidelines/search/GuidelineSearchOutputBuilder.js +86 -0
  306. package/dist/presentation/cli/commands/guidelines/search/GuidelineSearchOutputBuilder.js.map +1 -0
  307. package/dist/presentation/cli/commands/guidelines/search/guidelines.search.d.ts +21 -0
  308. package/dist/presentation/cli/commands/guidelines/search/guidelines.search.d.ts.map +1 -0
  309. package/dist/presentation/cli/commands/guidelines/search/guidelines.search.js +92 -0
  310. package/dist/presentation/cli/commands/guidelines/search/guidelines.search.js.map +1 -0
  311. package/dist/presentation/cli/commands/invariants/search/InvariantSearchOutputBuilder.d.ts +22 -0
  312. package/dist/presentation/cli/commands/invariants/search/InvariantSearchOutputBuilder.d.ts.map +1 -0
  313. package/dist/presentation/cli/commands/invariants/search/InvariantSearchOutputBuilder.js +79 -0
  314. package/dist/presentation/cli/commands/invariants/search/InvariantSearchOutputBuilder.js.map +1 -0
  315. package/dist/presentation/cli/commands/invariants/search/invariants.search.d.ts +20 -0
  316. package/dist/presentation/cli/commands/invariants/search/invariants.search.d.ts.map +1 -0
  317. package/dist/presentation/cli/commands/invariants/search/invariants.search.js +80 -0
  318. package/dist/presentation/cli/commands/invariants/search/invariants.search.js.map +1 -0
  319. package/dist/presentation/cli/commands/project/show/ProjectShowOutputBuilder.d.ts +14 -0
  320. package/dist/presentation/cli/commands/project/show/ProjectShowOutputBuilder.d.ts.map +1 -0
  321. package/dist/presentation/cli/commands/project/show/ProjectShowOutputBuilder.js +84 -0
  322. package/dist/presentation/cli/commands/project/show/ProjectShowOutputBuilder.js.map +1 -0
  323. package/dist/presentation/cli/commands/project/show/project.show.d.ts +12 -0
  324. package/dist/presentation/cli/commands/project/show/project.show.d.ts.map +1 -0
  325. package/dist/presentation/cli/commands/project/show/project.show.js +59 -0
  326. package/dist/presentation/cli/commands/project/show/project.show.js.map +1 -0
  327. package/dist/presentation/cli/commands/registry/generated-commands.d.ts.map +1 -1
  328. package/dist/presentation/cli/commands/registry/generated-commands.js +30 -0
  329. package/dist/presentation/cli/commands/registry/generated-commands.js.map +1 -1
  330. package/dist/presentation/cli/commands/sessions/start/SessionContextOutputBuilder.d.ts +1 -1
  331. package/dist/presentation/cli/commands/sessions/start/SessionContextOutputBuilder.d.ts.map +1 -1
  332. package/dist/presentation/cli/commands/sessions/start/SessionContextOutputBuilder.js +3 -2
  333. package/dist/presentation/cli/commands/sessions/start/SessionContextOutputBuilder.js.map +1 -1
  334. package/dist/presentation/cli/commands/sessions/start/SessionStartOutputBuilder.d.ts +8 -9
  335. package/dist/presentation/cli/commands/sessions/start/SessionStartOutputBuilder.d.ts.map +1 -1
  336. package/dist/presentation/cli/commands/sessions/start/SessionStartOutputBuilder.js +107 -42
  337. package/dist/presentation/cli/commands/sessions/start/SessionStartOutputBuilder.js.map +1 -1
  338. package/dist/presentation/cli/commands/sessions/start/SessionStartTextRenderer.d.ts +3 -2
  339. package/dist/presentation/cli/commands/sessions/start/SessionStartTextRenderer.d.ts.map +1 -1
  340. package/dist/presentation/cli/commands/sessions/start/SessionStartTextRenderer.js +24 -10
  341. package/dist/presentation/cli/commands/sessions/start/SessionStartTextRenderer.js.map +1 -1
  342. package/dist/presentation/cli/commands/sessions/start/session.start.d.ts.map +1 -1
  343. package/dist/presentation/cli/commands/sessions/start/session.start.js +2 -5
  344. package/dist/presentation/cli/commands/sessions/start/session.start.js.map +1 -1
  345. package/dist/presentation/cli/commands/work/shared/AgentSpawner.d.ts +7 -4
  346. package/dist/presentation/cli/commands/work/shared/AgentSpawner.d.ts.map +1 -1
  347. package/dist/presentation/cli/commands/work/shared/AgentSpawner.js +11 -4
  348. package/dist/presentation/cli/commands/work/shared/AgentSpawner.js.map +1 -1
  349. package/dist/presentation/shared/DesignTokens.d.ts +94 -0
  350. package/dist/presentation/shared/DesignTokens.d.ts.map +1 -0
  351. package/dist/presentation/shared/DesignTokens.js +94 -0
  352. package/dist/presentation/shared/DesignTokens.js.map +1 -0
  353. package/dist/presentation/tui/action-dispatch/TuiActionDispatcher.d.ts +12 -0
  354. package/dist/presentation/tui/action-dispatch/TuiActionDispatcher.d.ts.map +1 -0
  355. package/dist/presentation/tui/action-dispatch/TuiActionDispatcher.js +21 -0
  356. package/dist/presentation/tui/action-dispatch/TuiActionDispatcher.js.map +1 -0
  357. package/dist/presentation/tui/application-shell/Footer.d.ts +16 -0
  358. package/dist/presentation/tui/application-shell/Footer.d.ts.map +1 -0
  359. package/dist/presentation/tui/application-shell/Footer.js +37 -0
  360. package/dist/presentation/tui/application-shell/Footer.js.map +1 -0
  361. package/dist/presentation/tui/application-shell/Header.d.ts +10 -0
  362. package/dist/presentation/tui/application-shell/Header.d.ts.map +1 -0
  363. package/dist/presentation/tui/application-shell/Header.js +44 -0
  364. package/dist/presentation/tui/application-shell/Header.js.map +1 -0
  365. package/dist/presentation/tui/application-shell/NotificationDrawer.d.ts +16 -0
  366. package/dist/presentation/tui/application-shell/NotificationDrawer.d.ts.map +1 -0
  367. package/dist/presentation/tui/application-shell/NotificationDrawer.js +56 -0
  368. package/dist/presentation/tui/application-shell/NotificationDrawer.js.map +1 -0
  369. package/dist/presentation/tui/application-shell/TuiApp.d.ts +25 -0
  370. package/dist/presentation/tui/application-shell/TuiApp.d.ts.map +1 -0
  371. package/dist/presentation/tui/application-shell/TuiApp.js +230 -0
  372. package/dist/presentation/tui/application-shell/TuiApp.js.map +1 -0
  373. package/dist/presentation/tui/application-shell/TuiApplicationLauncher.d.ts +19 -0
  374. package/dist/presentation/tui/application-shell/TuiApplicationLauncher.d.ts.map +1 -0
  375. package/dist/presentation/tui/application-shell/TuiApplicationLauncher.js +46 -0
  376. package/dist/presentation/tui/application-shell/TuiApplicationLauncher.js.map +1 -0
  377. package/dist/presentation/tui/billboard/AnimatedBillboard.d.ts +11 -0
  378. package/dist/presentation/tui/billboard/AnimatedBillboard.d.ts.map +1 -0
  379. package/dist/presentation/tui/billboard/AnimatedBillboard.js +406 -0
  380. package/dist/presentation/tui/billboard/AnimatedBillboard.js.map +1 -0
  381. package/dist/presentation/tui/cockpit/AnimatedBanner.d.ts +13 -0
  382. package/dist/presentation/tui/cockpit/AnimatedBanner.d.ts.map +1 -0
  383. package/dist/presentation/tui/cockpit/AnimatedBanner.js +193 -0
  384. package/dist/presentation/tui/cockpit/AnimatedBanner.js.map +1 -0
  385. package/dist/presentation/tui/cockpit/CenteredPrompt.d.ts +10 -0
  386. package/dist/presentation/tui/cockpit/CenteredPrompt.d.ts.map +1 -0
  387. package/dist/presentation/tui/cockpit/CenteredPrompt.js +14 -0
  388. package/dist/presentation/tui/cockpit/CenteredPrompt.js.map +1 -0
  389. package/dist/presentation/tui/cockpit/CockpitDaemonConfiguration.d.ts +8 -0
  390. package/dist/presentation/tui/cockpit/CockpitDaemonConfiguration.d.ts.map +1 -0
  391. package/dist/presentation/tui/cockpit/CockpitDaemonConfiguration.js +33 -0
  392. package/dist/presentation/tui/cockpit/CockpitDaemonConfiguration.js.map +1 -0
  393. package/dist/presentation/tui/cockpit/CockpitDaemonEvents.d.ts +14 -0
  394. package/dist/presentation/tui/cockpit/CockpitDaemonEvents.d.ts.map +1 -0
  395. package/dist/presentation/tui/cockpit/CockpitDaemonEvents.js +146 -0
  396. package/dist/presentation/tui/cockpit/CockpitDaemonEvents.js.map +1 -0
  397. package/dist/presentation/tui/cockpit/CockpitDaemonFrames.d.ts +39 -0
  398. package/dist/presentation/tui/cockpit/CockpitDaemonFrames.d.ts.map +1 -0
  399. package/dist/presentation/tui/cockpit/CockpitDaemonFrames.js +183 -0
  400. package/dist/presentation/tui/cockpit/CockpitDaemonFrames.js.map +1 -0
  401. package/dist/presentation/tui/cockpit/CockpitDaemonPanel.d.ts +27 -0
  402. package/dist/presentation/tui/cockpit/CockpitDaemonPanel.d.ts.map +1 -0
  403. package/dist/presentation/tui/cockpit/CockpitDaemonPanel.js +108 -0
  404. package/dist/presentation/tui/cockpit/CockpitDaemonPanel.js.map +1 -0
  405. package/dist/presentation/tui/cockpit/CockpitGreeterView.d.ts +3 -0
  406. package/dist/presentation/tui/cockpit/CockpitGreeterView.d.ts.map +1 -0
  407. package/dist/presentation/tui/cockpit/CockpitGreeterView.js +17 -0
  408. package/dist/presentation/tui/cockpit/CockpitGreeterView.js.map +1 -0
  409. package/dist/presentation/tui/cockpit/CockpitLaunchpadView.d.ts +25 -0
  410. package/dist/presentation/tui/cockpit/CockpitLaunchpadView.d.ts.map +1 -0
  411. package/dist/presentation/tui/cockpit/CockpitLaunchpadView.js +217 -0
  412. package/dist/presentation/tui/cockpit/CockpitLaunchpadView.js.map +1 -0
  413. package/dist/presentation/tui/cockpit/CockpitLaunchpadWelcome.d.ts +3 -0
  414. package/dist/presentation/tui/cockpit/CockpitLaunchpadWelcome.d.ts.map +1 -0
  415. package/dist/presentation/tui/cockpit/CockpitLaunchpadWelcome.js +16 -0
  416. package/dist/presentation/tui/cockpit/CockpitLaunchpadWelcome.js.map +1 -0
  417. package/dist/presentation/tui/cockpit/CockpitPrimedEmptyView.d.ts +3 -0
  418. package/dist/presentation/tui/cockpit/CockpitPrimedEmptyView.d.ts.map +1 -0
  419. package/dist/presentation/tui/cockpit/CockpitPrimedEmptyView.js +22 -0
  420. package/dist/presentation/tui/cockpit/CockpitPrimedEmptyView.js.map +1 -0
  421. package/dist/presentation/tui/cockpit/CockpitScreen.d.ts +20 -0
  422. package/dist/presentation/tui/cockpit/CockpitScreen.d.ts.map +1 -0
  423. package/dist/presentation/tui/cockpit/CockpitScreen.js +55 -0
  424. package/dist/presentation/tui/cockpit/CockpitScreen.js.map +1 -0
  425. package/dist/presentation/tui/cockpit/CockpitUnprimedView.d.ts +3 -0
  426. package/dist/presentation/tui/cockpit/CockpitUnprimedView.d.ts.map +1 -0
  427. package/dist/presentation/tui/cockpit/CockpitUnprimedView.js +27 -0
  428. package/dist/presentation/tui/cockpit/CockpitUnprimedView.js.map +1 -0
  429. package/dist/presentation/tui/daemon-subprocesses/ISubprocessManager.d.ts +42 -0
  430. package/dist/presentation/tui/daemon-subprocesses/ISubprocessManager.d.ts.map +1 -0
  431. package/dist/presentation/tui/daemon-subprocesses/ISubprocessManager.js +2 -0
  432. package/dist/presentation/tui/daemon-subprocesses/ISubprocessManager.js.map +1 -0
  433. package/dist/presentation/tui/daemon-subprocesses/NoOpSubprocessManager.d.ts +11 -0
  434. package/dist/presentation/tui/daemon-subprocesses/NoOpSubprocessManager.d.ts.map +1 -0
  435. package/dist/presentation/tui/daemon-subprocesses/NoOpSubprocessManager.js +30 -0
  436. package/dist/presentation/tui/daemon-subprocesses/NoOpSubprocessManager.js.map +1 -0
  437. package/dist/presentation/tui/daemon-subprocesses/SubprocessManagerContext.d.ts +8 -0
  438. package/dist/presentation/tui/daemon-subprocesses/SubprocessManagerContext.d.ts.map +1 -0
  439. package/dist/presentation/tui/daemon-subprocesses/SubprocessManagerContext.js +10 -0
  440. package/dist/presentation/tui/daemon-subprocesses/SubprocessManagerContext.js.map +1 -0
  441. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessManager.d.ts +22 -0
  442. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessManager.d.ts.map +1 -0
  443. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessManager.js +257 -0
  444. package/dist/presentation/tui/daemon-subprocesses/TuiSubprocessManager.js.map +1 -0
  445. package/dist/presentation/tui/goals/GoalAuthoringFlow.d.ts +22 -0
  446. package/dist/presentation/tui/goals/GoalAuthoringFlow.d.ts.map +1 -0
  447. package/dist/presentation/tui/goals/GoalAuthoringFlow.js +227 -0
  448. package/dist/presentation/tui/goals/GoalAuthoringFlow.js.map +1 -0
  449. package/dist/presentation/tui/goals/GoalsScreen.d.ts +3 -0
  450. package/dist/presentation/tui/goals/GoalsScreen.d.ts.map +1 -0
  451. package/dist/presentation/tui/goals/GoalsScreen.js +159 -0
  452. package/dist/presentation/tui/goals/GoalsScreen.js.map +1 -0
  453. package/dist/presentation/tui/index.d.ts +8 -0
  454. package/dist/presentation/tui/index.d.ts.map +1 -0
  455. package/dist/presentation/tui/index.js +5 -0
  456. package/dist/presentation/tui/index.js.map +1 -0
  457. package/dist/presentation/tui/memory/MemoryScreen.d.ts +3 -0
  458. package/dist/presentation/tui/memory/MemoryScreen.d.ts.map +1 -0
  459. package/dist/presentation/tui/memory/MemoryScreen.js +13 -0
  460. package/dist/presentation/tui/memory/MemoryScreen.js.map +1 -0
  461. package/dist/presentation/tui/memory/components/ComponentAddFlow.d.ts +14 -0
  462. package/dist/presentation/tui/memory/components/ComponentAddFlow.d.ts.map +1 -0
  463. package/dist/presentation/tui/memory/components/ComponentAddFlow.js +46 -0
  464. package/dist/presentation/tui/memory/components/ComponentAddFlow.js.map +1 -0
  465. package/dist/presentation/tui/memory/components/ComponentsScreen.d.ts +3 -0
  466. package/dist/presentation/tui/memory/components/ComponentsScreen.d.ts.map +1 -0
  467. package/dist/presentation/tui/memory/components/ComponentsScreen.js +17 -0
  468. package/dist/presentation/tui/memory/components/ComponentsScreen.js.map +1 -0
  469. package/dist/presentation/tui/memory/decisions/DecisionAddFlow.d.ts +15 -0
  470. package/dist/presentation/tui/memory/decisions/DecisionAddFlow.d.ts.map +1 -0
  471. package/dist/presentation/tui/memory/decisions/DecisionAddFlow.js +63 -0
  472. package/dist/presentation/tui/memory/decisions/DecisionAddFlow.js.map +1 -0
  473. package/dist/presentation/tui/memory/decisions/DecisionsScreen.d.ts +3 -0
  474. package/dist/presentation/tui/memory/decisions/DecisionsScreen.d.ts.map +1 -0
  475. package/dist/presentation/tui/memory/decisions/DecisionsScreen.js +18 -0
  476. package/dist/presentation/tui/memory/decisions/DecisionsScreen.js.map +1 -0
  477. package/dist/presentation/tui/memory/dependencies/DependenciesScreen.d.ts +3 -0
  478. package/dist/presentation/tui/memory/dependencies/DependenciesScreen.d.ts.map +1 -0
  479. package/dist/presentation/tui/memory/dependencies/DependenciesScreen.js +19 -0
  480. package/dist/presentation/tui/memory/dependencies/DependenciesScreen.js.map +1 -0
  481. package/dist/presentation/tui/memory/dependencies/DependencyAddFlow.d.ts +16 -0
  482. package/dist/presentation/tui/memory/dependencies/DependencyAddFlow.d.ts.map +1 -0
  483. package/dist/presentation/tui/memory/dependencies/DependencyAddFlow.js +56 -0
  484. package/dist/presentation/tui/memory/dependencies/DependencyAddFlow.js.map +1 -0
  485. package/dist/presentation/tui/memory/entity-browser/EntityColumn.d.ts +14 -0
  486. package/dist/presentation/tui/memory/entity-browser/EntityColumn.d.ts.map +1 -0
  487. package/dist/presentation/tui/memory/entity-browser/EntityColumn.js +21 -0
  488. package/dist/presentation/tui/memory/entity-browser/EntityColumn.js.map +1 -0
  489. package/dist/presentation/tui/memory/entity-browser/EntityDetailView.d.ts +10 -0
  490. package/dist/presentation/tui/memory/entity-browser/EntityDetailView.d.ts.map +1 -0
  491. package/dist/presentation/tui/memory/entity-browser/EntityDetailView.js +85 -0
  492. package/dist/presentation/tui/memory/entity-browser/EntityDetailView.js.map +1 -0
  493. package/dist/presentation/tui/memory/entity-browser/MemoryEntityScreen.d.ts +13 -0
  494. package/dist/presentation/tui/memory/entity-browser/MemoryEntityScreen.d.ts.map +1 -0
  495. package/dist/presentation/tui/memory/entity-browser/MemoryEntityScreen.js +80 -0
  496. package/dist/presentation/tui/memory/entity-browser/MemoryEntityScreen.js.map +1 -0
  497. package/dist/presentation/tui/memory/entity-browser/MemoryEntityShapes.d.ts +41 -0
  498. package/dist/presentation/tui/memory/entity-browser/MemoryEntityShapes.d.ts.map +1 -0
  499. package/dist/presentation/tui/memory/entity-browser/MemoryEntityShapes.js +2 -0
  500. package/dist/presentation/tui/memory/entity-browser/MemoryEntityShapes.js.map +1 -0
  501. package/dist/presentation/tui/memory/guidelines/GuidelineAddFlow.d.ts +15 -0
  502. package/dist/presentation/tui/memory/guidelines/GuidelineAddFlow.d.ts.map +1 -0
  503. package/dist/presentation/tui/memory/guidelines/GuidelineAddFlow.js +57 -0
  504. package/dist/presentation/tui/memory/guidelines/GuidelineAddFlow.js.map +1 -0
  505. package/dist/presentation/tui/memory/guidelines/GuidelinesScreen.d.ts +3 -0
  506. package/dist/presentation/tui/memory/guidelines/GuidelinesScreen.d.ts.map +1 -0
  507. package/dist/presentation/tui/memory/guidelines/GuidelinesScreen.js +18 -0
  508. package/dist/presentation/tui/memory/guidelines/GuidelinesScreen.js.map +1 -0
  509. package/dist/presentation/tui/memory/invariants/InvariantAddFlow.d.ts +13 -0
  510. package/dist/presentation/tui/memory/invariants/InvariantAddFlow.d.ts.map +1 -0
  511. package/dist/presentation/tui/memory/invariants/InvariantAddFlow.js +41 -0
  512. package/dist/presentation/tui/memory/invariants/InvariantAddFlow.js.map +1 -0
  513. package/dist/presentation/tui/memory/invariants/InvariantsScreen.d.ts +3 -0
  514. package/dist/presentation/tui/memory/invariants/InvariantsScreen.d.ts.map +1 -0
  515. package/dist/presentation/tui/memory/invariants/InvariantsScreen.js +16 -0
  516. package/dist/presentation/tui/memory/invariants/InvariantsScreen.js.map +1 -0
  517. package/dist/presentation/tui/navigation/MegaMenu.d.ts +10 -0
  518. package/dist/presentation/tui/navigation/MegaMenu.d.ts.map +1 -0
  519. package/dist/presentation/tui/navigation/MegaMenu.js +164 -0
  520. package/dist/presentation/tui/navigation/MegaMenu.js.map +1 -0
  521. package/dist/presentation/tui/navigation/MegaMenuDefinitions.d.ts +17 -0
  522. package/dist/presentation/tui/navigation/MegaMenuDefinitions.d.ts.map +1 -0
  523. package/dist/presentation/tui/navigation/MegaMenuDefinitions.js +162 -0
  524. package/dist/presentation/tui/navigation/MegaMenuDefinitions.js.map +1 -0
  525. package/dist/presentation/tui/navigation/ScreenDefinitions.d.ts +36 -0
  526. package/dist/presentation/tui/navigation/ScreenDefinitions.d.ts.map +1 -0
  527. package/dist/presentation/tui/navigation/ScreenDefinitions.js +12 -0
  528. package/dist/presentation/tui/navigation/ScreenDefinitions.js.map +1 -0
  529. package/dist/presentation/tui/navigation/ScreenRouter.d.ts +19 -0
  530. package/dist/presentation/tui/navigation/ScreenRouter.d.ts.map +1 -0
  531. package/dist/presentation/tui/navigation/ScreenRouter.js +31 -0
  532. package/dist/presentation/tui/navigation/ScreenRouter.js.map +1 -0
  533. package/dist/presentation/tui/project-initialization/InitFlow.d.ts +24 -0
  534. package/dist/presentation/tui/project-initialization/InitFlow.d.ts.map +1 -0
  535. package/dist/presentation/tui/project-initialization/InitFlow.js +629 -0
  536. package/dist/presentation/tui/project-initialization/InitFlow.js.map +1 -0
  537. package/dist/presentation/tui/sessions/SessionScreen.d.ts +3 -0
  538. package/dist/presentation/tui/sessions/SessionScreen.d.ts.map +1 -0
  539. package/dist/presentation/tui/sessions/SessionScreen.js +38 -0
  540. package/dist/presentation/tui/sessions/SessionScreen.js.map +1 -0
  541. package/dist/presentation/tui/state-reading/TuiStateReader.d.ts +58 -0
  542. package/dist/presentation/tui/state-reading/TuiStateReader.d.ts.map +1 -0
  543. package/dist/presentation/tui/state-reading/TuiStateReader.js +150 -0
  544. package/dist/presentation/tui/state-reading/TuiStateReader.js.map +1 -0
  545. package/dist/presentation/tui/ui-primitives/DetailPane.d.ts +15 -0
  546. package/dist/presentation/tui/ui-primitives/DetailPane.d.ts.map +1 -0
  547. package/dist/presentation/tui/ui-primitives/DetailPane.js +12 -0
  548. package/dist/presentation/tui/ui-primitives/DetailPane.js.map +1 -0
  549. package/dist/presentation/tui/ui-primitives/KeyBadge.d.ts +11 -0
  550. package/dist/presentation/tui/ui-primitives/KeyBadge.d.ts.map +1 -0
  551. package/dist/presentation/tui/ui-primitives/KeyBadge.js +9 -0
  552. package/dist/presentation/tui/ui-primitives/KeyBadge.js.map +1 -0
  553. package/dist/presentation/tui/ui-primitives/ListPanel.d.ts +16 -0
  554. package/dist/presentation/tui/ui-primitives/ListPanel.d.ts.map +1 -0
  555. package/dist/presentation/tui/ui-primitives/ListPanel.js +15 -0
  556. package/dist/presentation/tui/ui-primitives/ListPanel.js.map +1 -0
  557. package/dist/presentation/tui/ui-primitives/Panel.d.ts +15 -0
  558. package/dist/presentation/tui/ui-primitives/Panel.d.ts.map +1 -0
  559. package/dist/presentation/tui/ui-primitives/Panel.js +9 -0
  560. package/dist/presentation/tui/ui-primitives/Panel.js.map +1 -0
  561. package/dist/presentation/tui/ui-primitives/SectionHeading.d.ts +8 -0
  562. package/dist/presentation/tui/ui-primitives/SectionHeading.d.ts.map +1 -0
  563. package/dist/presentation/tui/ui-primitives/SectionHeading.js +9 -0
  564. package/dist/presentation/tui/ui-primitives/SectionHeading.js.map +1 -0
  565. package/dist/presentation/tui/ui-primitives/StatusIndicator.d.ts +9 -0
  566. package/dist/presentation/tui/ui-primitives/StatusIndicator.d.ts.map +1 -0
  567. package/dist/presentation/tui/ui-primitives/StatusIndicator.js +21 -0
  568. package/dist/presentation/tui/ui-primitives/StatusIndicator.js.map +1 -0
  569. package/dist/presentation/tui/ui-primitives/Tumbler.d.ts +18 -0
  570. package/dist/presentation/tui/ui-primitives/Tumbler.d.ts.map +1 -0
  571. package/dist/presentation/tui/ui-primitives/Tumbler.js +101 -0
  572. package/dist/presentation/tui/ui-primitives/Tumbler.js.map +1 -0
  573. package/dist/presentation/tui/wizard/Wizard.d.ts +53 -0
  574. package/dist/presentation/tui/wizard/Wizard.d.ts.map +1 -0
  575. package/dist/presentation/tui/wizard/Wizard.js +385 -0
  576. package/dist/presentation/tui/wizard/Wizard.js.map +1 -0
  577. package/dist/presentation/tui/wizard/WizardTextInput.d.ts +12 -0
  578. package/dist/presentation/tui/wizard/WizardTextInput.d.ts.map +1 -0
  579. package/dist/presentation/tui/wizard/WizardTextInput.js +39 -0
  580. package/dist/presentation/tui/wizard/WizardTextInput.js.map +1 -0
  581. package/dist/presentation/work/codifier.daemon.d.ts +3 -0
  582. package/dist/presentation/work/codifier.daemon.d.ts.map +1 -0
  583. package/dist/presentation/work/codifier.daemon.js +75 -0
  584. package/dist/presentation/work/codifier.daemon.js.map +1 -0
  585. package/dist/presentation/work/refiner.daemon.d.ts +3 -0
  586. package/dist/presentation/work/refiner.daemon.d.ts.map +1 -0
  587. package/dist/presentation/work/refiner.daemon.js +60 -0
  588. package/dist/presentation/work/refiner.daemon.js.map +1 -0
  589. package/dist/presentation/work/reviewer.daemon.d.ts +3 -0
  590. package/dist/presentation/work/reviewer.daemon.d.ts.map +1 -0
  591. package/dist/presentation/work/reviewer.daemon.js +60 -0
  592. package/dist/presentation/work/reviewer.daemon.js.map +1 -0
  593. package/package.json +5 -1
  594. package/dist/application/context/project/get/ContextualProjectView.d.ts +0 -24
  595. package/dist/application/context/project/get/ContextualProjectView.d.ts.map +0 -1
  596. package/dist/application/context/project/get/ContextualProjectView.js +0 -2
  597. package/dist/application/context/project/get/ContextualProjectView.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"SessionStartOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/sessions/start/SessionStartOutputBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAC;AAGjF,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E;;;;;;;GAOG;AACH,MAAM,OAAO,yBAAyB;IAKpC;QACE,IA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GAAG,OAAO,CAAC,OAAO,CAAC,WAAW;YAC9B,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW;YAC9B,GAAG,OAAO,CAAC,OAAO,CAAC,YAAY;SAChC,CAAC;QAEF,MAAM,WAAW,GAAG,IAAI,CAAC,2BAA2B,CAAC,6BAA6B,CAAC,OAAO,CAAC,CAAC;QAC5F,MAAM,SAAS,GAAG,IAAI,CAAC,yBAAyB,CAAC,oBAAoB,CAAC,QAAQ,CAAC,CAAC;QAEhF,OAAO;YACL,cAAc,EAAE,WAAW,CAAC,cAAc;YAC1C,cAAc,EAAE,WAAW,CAAC,cAAc;YAC1C,KAAK,EAAE,SAAS,CAAC,KAAK;YACtB,eAAe,EAAE;gBACf,cAAc,EAAE,WAAW,CAAC,4BAA4B;gBACxD,SAAS,EAAE,SAAS,CAAC,uBAAuB;aAC7C;YACD,YAAY,EAAE;gBACZ,SAAS;aACV;SACF,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"SessionStartOutputBuilder.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/sessions/start/SessionStartOutputBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAC;AAIjF,MAAM,6BAA6B,GAAG,8BAA8B,CAAC;AACrE,MAAM,0BAA0B,GAAG,gBAAgB,CAAC;AACpD,MAAM,qBAAqB,GAAG,gCAAgC,CAAC;AAC/D,MAAM,qBAAqB,GAAG,6BAA6B,CAAC;AAC5D,MAAM,aAAa,GACjB,oJAAoJ,CAAC;AAEvJ,MAAM,MAAM,GAAG;IACb,qBAAqB,EAAE;QACrB,OAAO,EAAE,8CAA8C;KACxD;IACD,WAAW,EAAE;QACX,OAAO,EAAE,iCAAiC;QAC1C,eAAe,EAAE,qBAAqB;KACvC;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,gCAAgC;QACzC,eAAe,EAAE,qBAAqB;KACvC;IACD,WAAW,EAAE;QACX,OAAO,EAAE,i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- Formats session start context for LLM orientation.
17
17
  *
18
- * Delegates to SessionStartOutputBuilder for composition.
18
+ * Delegates to session context and goals builders for legacy resume context.
19
19
  * Retained for backward compatibility with existing callers and tests.
20
20
  */
21
21
  export declare class SessionStartTextRenderer {
22
- private readonly sessionStartOutputBuilder;
23
22
  private readonly sessionContextOutputBuilder;
23
+ private readonly sessionGoalsOutputBuilder;
24
24
  constructor();
25
25
  render(context: EnrichedSessionContext): SessionStartTextRenderResult;
26
26
  buildStructuredContext(context: EnrichedSessionContext): SessionStartStructuredContext;
27
27
  renderSessionSummary(context: EnrichedSessionContext): string;
28
+ private getAllGoals;
28
29
  }
29
30
  //# sourceMappingURL=SessionStartTextRenderer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SessionStartTextRenderer.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/sessions/start/SessionStartTextRenderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,2EAA2E,CAAC;AAInH,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC;IAC1B,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;CACjC;AAED,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IACxD,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,QAAQ,CAAC,eAAe,EAAE;QACxB,QAAQ,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;QACvC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;KAC5B,CAAC;CACH;AAED;;;;;GAKG;AACH,qBAAa,wBAAwB;IACnC,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAA4B;IACtE,OAAO,CAAC,QAAQ,CAAC,2BAA2B,CAA8B;;IAO1E,MAAM,CAAC,OAAO,EAAE,sBAAsB,GAAG,4BAA4B;IAqBrE,sBAAsB,CAAC,OAAO,EAAE,sBAAsB,GAAG,6BAA6B;IAatF,oBAAoB,CAAC,OAAO,EAAE,sBAAsB,GAAG,MAAM;CAG9D"}
1
+ {"version":3,"file":"SessionStartTextRenderer.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/sessions/start/SessionStartTextRenderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,2EAA2E,CAAC;AAInH,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC;IAC1B,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;CACjC;AAED,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IACxD,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,QAAQ,CAAC,eAAe,EAAE;QACxB,QAAQ,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;QACvC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;KAC5B,CAAC;CACH;AAED;;;;;GAKG;AACH,qBAAa,wBAAwB;IACnC,OAAO,CAAC,QAAQ,CAAC,2BAA2B,CAA8B;IAC1E,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAA4B;;IAOtE,MAAM,CAAC,OAAO,EAAE,sBAAsB,GAAG,4BAA4B;IAwBrE,sBAAsB,CAAC,OAAO,EAAE,sBAAsB,GAAG,6BAA6B;IAetF,oBAAoB,CAAC,OAAO,EAAE,sBAAsB,GAAG,MAAM;IAI7D,OAAO,CAAC,WAAW;CAOpB"}
@@ -1,19 +1,22 @@
1
- import { SessionStartOutputBuilder } from "./SessionStartOutputBuilder.js";
2
1
  import { SessionContextOutputBuilder } from "./SessionContextOutputBuilder.js";
2
+ import { SessionGoalsOutputBuilder } from "./SessionGoalsOutputBuilder.js";
3
3
  /**
4
4
  * SessionStartTextRenderer - Formats session start context for LLM orientation.
5
5
  *
6
- * Delegates to SessionStartOutputBuilder for composition.
6
+ * Delegates to session context and goals builders for legacy resume context.
7
7
  * Retained for backward compatibility with existing callers and tests.
8
8
  */
9
9
  export class SessionStartTextRenderer {
10
10
  constructor() {
11
- this.sessionStartOutputBuilder = new SessionStartOutputBuilder();
12
11
  this.sessionContextOutputBuilder = new SessionContextOutputBuilder();
12
+ this.sessionGoalsOutputBuilder = new SessionGoalsOutputBuilder();
13
13
  }
14
14
  render(context) {
15
- const output = this.sessionStartOutputBuilder.buildSessionStartOutput(context);
16
- const blocks = output.getSections()
15
+ const sections = [
16
+ ...this.sessionContextOutputBuilder.buildSessionContext(context).getSections(),
17
+ ...this.sessionGoalsOutputBuilder.buildGoalsOutput(this.getAllGoals(context)).getSections(),
18
+ ];
19
+ const blocks = sections
17
20
  .filter(s => s.type === "prompt" && s.content)
18
21
  .map(s => s.content);
19
22
  // Last two sections are the separator and goal start instruction.
@@ -28,16 +31,27 @@ export class SessionStartTextRenderer {
28
31
  return { blocks, llmInstruction };
29
32
  }
30
33
  buildStructuredContext(context) {
31
- const structured = this.sessionStartOutputBuilder.buildStructuredOutput(context, "");
34
+ const contextData = this.sessionContextOutputBuilder.buildStructuredSessionContext(context);
35
+ const goalsData = this.sessionGoalsOutputBuilder.buildStructuredGoals(this.getAllGoals(context));
32
36
  return {
33
- projectContext: structured.projectContext,
34
- sessionContext: structured.sessionContext,
35
- goals: structured.goals,
36
- llmInstructions: structured.llmInstructions,
37
+ projectContext: contextData.projectContext,
38
+ sessionContext: contextData.sessionContext,
39
+ goals: goalsData.goals,
40
+ llmInstructions: {
41
+ sessionContext: contextData.llmSessionContextInstruction,
42
+ goalStart: goalsData.llmGoalStartInstruction,
43
+ },
37
44
  };
38
45
  }
39
46
  renderSessionSummary(context) {
40
47
  return this.sessionContextOutputBuilder.renderSessionSummary(context);
41
48
  }
49
+ getAllGoals(context) {
50
+ return [
51
+ ...context.context.activeGoals,
52
+ ...context.context.pausedGoals,
53
+ ...context.context.plannedGoals,
54
+ ];
55
+ }
42
56
  }
43
57
  //# sourceMappingURL=SessionStartTextRenderer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SessionStartTextRenderer.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/sessions/start/SessionStartTextRenderer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAiB/E;;;;;GAKG;AACH,MAAM,OAAO,wBAAwB;IAInC;QACE,IAAI,CAAC,yBAAyB,GAAG,IAAI,yBAAyB,EAAE,CAAC;QACjE,IAAI,CAAC,2BAA2B,GAAG,IAAI,2BAA2B,EAAE,CAAC;IACvE,CAAC;IAED,MAAM,CAAC,OAA+B;QACpC,MAAM,MAAM,GAAG,IAAI,CAAC,yBAAyB,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC;QAE/E,MAAM,MAAM,GAAG,MAAM,CAAC,WAAW,EAAE;aAChC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,QAAQ,IAAI,CAAC,CAAC,OAAO,CAAC;aAC7C,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAiB,CAAC,CAAC;QAEjC,kEAAkE;QAClE,kEAAkE;QAClE,MAAM,cAAc,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAC,CAAC;QAClF,MAAM,cAAc,GAAG,cAAc,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAEtF,yBAAyB;QACzB,MAAM,cAAc,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,KAAK,CAAC,CAAC;QACjE,IAAI,cAAc,IAAI,CAAC,EAAE,CAAC;YACxB,MAAM,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;QACnC,CAAC;QAED,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC;IACpC,CAAC;IAED,sBAAsB,CAAC,OAA+B;QACpD,MAAM,UAAU,GAAG,IAAI,CAAC,yBAAyB,CAAC,qBAAqB,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;QACrF,OAAO;YACL,cAAc,EAAE,UAAU,CAAC,cAAgD;YAC3E,cAAc,EAAE,UAAU,CAAC,cAAyC;YACpE,KAAK,EAAE,UAAU,CAAC,KAAgC;YAClD,eAAe,EAAE,UAAU,CAAC,eAG3B;SACF,CAAC;IACJ,CAAC;IAED,oBAAoB,CAAC,OAA+B;QAClD,OAAO,IAAI,CAAC,2BAA2B,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;IACxE,CAAC;CACF"}
1
+ {"version":3,"file":"SessionStartTextRenderer.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/sessions/start/SessionStartTextRenderer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAiB3E;;;;;GAKG;AACH,MAAM,OAAO,wBAAwB;IAInC;QACE,IAAI,CAAC,2BAA2B,GAAG,IAAI,2BAA2B,EAAE,CAAC;QACrE,IAAI,CAAC,yBAAyB,GAAG,IAAI,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C5F,MAAM,SAAS,GAAG,IAAI,CAAC,yBAAyB,CAAC,oBAAoB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC;QAEjG,OAAO;YACL,cAAc,EAAE,WAAW,CAAC,cAAc;YAC1C,cAAc,EAAE,WAAW,CAAC,cAAc;YAC1C,KAAK,EAAE,SAAS,CAAC,KAAK;YACtB,eAAe,EAAE;gBACf,cAAc,EAAE,WAAW,CAAC,4BAA4B;gBACxD,SAAS,EAAE,SAAS,CAAC,uBAAuB;aAC7C;SACF,CAAC;IACJ,CAAC;IAED,oBAAoB,CAAC,OAA+B;QAClD,OAAO,IAAI,CAAC,2BAA2B,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;IACxE,CAAC;IAEO,WAAW,CAAC,OAA+B;QACjD,OAAO;YACL,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW;YAC9B,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW;YAC9B,GAAG,OAAO,CAAC,OAAO,CAAC,YAAY;SAChC,CAAC;IACJ,CAAC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"session.start.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/sessions/start/session.start.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,0DAA0D,CAAC;AAIjG;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,eAYtB,CAAC;AAEF;;;;;;;;;GASG;AACH,wBAAsB,YAAY,CAChC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAC9B,SAAS,EAAE,qBAAqB,iBAiCjC"}
1
+ {"version":3,"file":"session.start.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/sessions/start/session.start.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,0DAA0D,CAAC;AAIjG;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,eAYtB,CAAC;AAEF;;;;;;;;;GASG;AACH,wBAAsB,YAAY,CAChC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAC9B,SAAS,EAAE,qBAAqB,iBA6BjC"}
@@ -36,22 +36,19 @@ export async function sessionStart(options, container) {
36
36
  try {
37
37
  const config = renderer.getConfig();
38
38
  const isTextOutput = config.format === "text";
39
- if (isTextOutput) {
40
- renderer.info("Loading orientation context...\n");
41
- }
42
39
  // 1. CONTROLLER: Orchestrate session start
43
40
  const response = await container.sessionStartController.handle({});
44
41
  // 2. RENDER: Display context and result
45
42
  const outputBuilder = new SessionStartOutputBuilder();
46
43
  if (isTextOutput) {
47
- const output = outputBuilder.buildSessionStartOutput(response.context);
44
+ const output = outputBuilder.buildSessionStartOutput(response);
48
45
  renderer.info(output.toHumanReadable());
49
46
  renderer.success("Session started", {
50
47
  sessionId: response.sessionId,
51
48
  });
52
49
  }
53
50
  else {
54
- renderer.data(outputBuilder.buildStructuredOutput(response.context, response.sessionId));
51
+ renderer.data(outputBuilder.buildStructuredOutput(response));
55
52
  }
56
53
  }
57
54
  catch (error) {
@@ -1 +1 @@
1
- {"version":3,"file":"session.start.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/sessions/start/session.start.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAE3E;;GAEG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAoB;IACvC,WAAW,EAAE,6BAA6B;IAC1C,QAAQ,EAAE,MAAM;IAChB,OAAO,EAAE,EAAE;IACX,QAAQ,EAAE;QACR;YACE,OAAO,EAAE,qBAAqB;YAC9B,WAAW,EA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C,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QAC1F,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;IACD,8CAA8C;AAChD,CAAC"}
1
+ {"version":3,"file":"session.start.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/sessions/start/session.start.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAE3E;;GAEG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAoB;IACvC,WAAW,EAAE,6BAA6B;IAC1C,QAAQ,EAAE,MAAM;IAChB,OAAO,EAAE,EAAE;IACX,QAAQ,EAAE;QACR;YACE,OAAO,EAAE,qBAAqB;YAC9B,WAAW,EAAE,6BAA6B;SAC3C;KACF;IACD,OAAO,EAAE,CAAC,aAAa,EAAE,eAAe,EAAE,YAAY,CAAC;IACvD,eAAe,EAAE,IAAI;CACtB,CAAC;AAEF;;;;;;;;;GASG;AACH,MAAM,CAAC,KAAK,UAAU,YAAY,CAChC,OAA8B,EAC9B,SAAgC;IAEhC,MAAM,QAAQ,GAAG,QAAQ,CAAC,WAAW,EAAE,CAAC;IAExC,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,QAAQ,CAAC,SAAS,EAAE,CAAC;QACpC,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,KAAK,MAAM,CAAC;QAE9C,2CAA2C;QAC3C,MAAM,QAAQ,GAAG,MAAM,SAAS,CAAC,sBAAsB,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QAEnE,wCAAwC;QACxC,MAAM,aAAa,GAAG,IAAI,yBAAyB,EAAE,CAAC;QAEtD,IAAI,YAAY,EAAE,CAAC;YACjB,MAAM,MAAM,GAAG,aAAa,CAAC,uBAAuB,CAAC,QAAQ,CAAC,CAAC;YAC/D,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,eAAe,EAAE,CAAC,CAAC;YAExC,QAAQ,CAAC,OAAO,CAAC,iBAAiB,EAAE;gBAClC,SAAS,EAAE,QAAQ,CAAC,SAAS;aAC9B,CAAC,CAAC;QACL,CAAC;aAAM,CAAC;YACN,QAAQ,CAAC,IAAI,CAAC,aAAa,CAAC,qBAAqB,CAAC,QAAQ,CAAC,CAAC,CAAC;QAC/D,CAAC;IACH,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,QAAQ,CAAC,KAAK,CAAC,yBAAyB,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QAC1F,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;IACD,8CAA8C;AAChD,CAAC"}
@@ -6,13 +6,16 @@
6
6
  */
7
7
  export declare const SUPPORTED_AGENTS: readonly ["claude", "gemini", "copilot", "codex", "cursor", "vibe"];
8
8
  export type AgentId = typeof SUPPORTED_AGENTS[number];
9
- export declare const AGENT_COMMANDS: Record<AgentId, {
10
- executable: string;
11
- promptFlag: string;
12
- }>;
9
+ export interface AgentCommand {
10
+ readonly executable: string;
11
+ readonly args?: readonly string[];
12
+ readonly promptFlag?: string;
13
+ }
14
+ export declare const AGENT_COMMANDS: Record<AgentId, AgentCommand>;
13
15
  /**
14
16
  * Spawn an agent CLI subprocess with the given prompt.
15
17
  * Returns the exit code (0 = success, non-zero = failure).
16
18
  */
17
19
  export declare function spawnAgent(agentId: AgentId, prompt: string): Promise<number>;
20
+ export declare function buildAgentCommandLine(command: AgentCommand, prompt: string): string;
18
21
  //# sourceMappingURL=AgentSpawner.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AgentSpawner.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/work/shared/AgentSpawner.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,eAAO,MAAM,gBAAgB,qEAAsE,CAAC;AACpG,MAAM,MAAM,OAAO,GAAG,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAEtD,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,OAAO,EAAE;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,CAOtF,CAAC;AAEF;;;GAGG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAc5E"}
1
+ {"version":3,"file":"AgentSpawner.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/work/shared/AgentSpawner.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,eAAO,MAAM,gBAAgB,qEAAsE,CAAC;AACpG,MAAM,MAAM,OAAO,GAAG,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAEtD,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,OAAO,EAAE,YAAY,CAOxD,CAAC;AAEF;;;GAGG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAY5E;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAQnF"}
@@ -10,7 +10,7 @@ export const AGENT_COMMANDS = {
10
10
  claude: { executable: "claude", promptFlag: "-p" },
11
11
  gemini: { executable: "gemini", promptFlag: "-p" },
12
12
  copilot: { executable: "gh copilot", promptFlag: "-p" },
13
- codex: { executable: "codex", promptFlag: "-p" },
13
+ codex: { executable: "codex", args: ["exec"] },
14
14
  cursor: { executable: "cursor", promptFlag: "-p" },
15
15
  vibe: { executable: "vibe", promptFlag: "-p" },
16
16
  };
@@ -19,9 +19,7 @@ export const AGENT_COMMANDS = {
19
19
  * Returns the exit code (0 = success, non-zero = failure).
20
20
  */
21
21
  export function spawnAgent(agentId, prompt) {
22
- const { executable, promptFlag } = AGENT_COMMANDS[agentId];
23
- const escaped = prompt.replace(/"/g, '\\"');
24
- const command = `${executable} ${promptFlag} "${escaped}"`;
22
+ const command = buildAgentCommandLine(AGENT_COMMANDS[agentId], prompt);
25
23
  return new Promise((resolve) => {
26
24
  const child = spawn(command, [], {
27
25
  stdio: ["ignore", "ignore", "ignore"],
@@ -31,4 +29,13 @@ export function spawnAgent(agentId, prompt) {
31
29
  child.on("error", () => resolve(1));
32
30
  });
33
31
  }
32
+ export function buildAgentCommandLine(command, prompt) {
33
+ const escaped = prompt.replace(/"/g, '\\"');
34
+ return [
35
+ command.executable,
36
+ ...(command.args ?? []),
37
+ ...(command.promptFlag === undefined ? [] : [command.promptFlag]),
38
+ `"${escaped}"`,
39
+ ].join(" ");
40
+ }
34
41
  //# sourceMappingURL=AgentSpawner.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AgentSpawner.js","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/work/shared/AgentSpawner.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,CAAU,CAAC;AAGpG,MAAM,CAAC,MAAM,cAAc,GAAgE;IACzF,MAAM,EAAG,EAAE,UAAU,EAAE,QAAQ,EAAM,UAAU,EAAE,IAAI,EAAE;IACvD,MAAM,EAAG,EAAE,UAAU,EAAE,QAAQ,EAAM,UAAU,EAAE,IAAI,EAAE;I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CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,qBAAqB,CAAC,OAAqB,EAAE,MAAc;IACzE,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5C,OAAO;QACL,OAAO,CAAC,UAAU;QAClB,GAAG,CAAC,OAAO,CAAC,IAAI,IAAI,EAAE,CAAC;QACvB,GAAG,CAAC,OAAO,CAAC,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;QACjE,IAAI,OAAO,GAAG;KACf,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACd,CAAC"}
@@ -0,0 +1,94 @@
1
+ export declare const BaseColors: {
2
+ readonly white: "#ffffff";
3
+ readonly tint1: "#f5f3ee";
4
+ readonly primary: "#d5d3cf";
5
+ readonly shade1: "#b6b4b1";
6
+ readonly shade2: "#b6b4b1";
7
+ readonly shade3: "#7b7a77";
8
+ readonly shade4: "#5f5e5c";
9
+ readonly shade5: "#444442";
10
+ readonly shade6: "#2b2b2a";
11
+ readonly black: "#000000";
12
+ readonly accent: "#40c8c8";
13
+ readonly brandBlue: "#66b4f4";
14
+ readonly brandBlue70: "#3380c8";
15
+ readonly brandBlue50: "#0a528c";
16
+ readonly brandBlue10: "#031c30";
17
+ readonly brandPurple: "#aa00d4";
18
+ readonly brandPurple70: "#76248b";
19
+ readonly brandPurple50: "#4d0070";
20
+ readonly brandPurple10: "#1a0020";
21
+ readonly brandRed: "#ff2a2a";
22
+ readonly brandRed70: "#981818";
23
+ readonly brandRed50: "#800000";
24
+ readonly brandRed10: "#330000";
25
+ readonly brandOrange: "#ff8307";
26
+ readonly brandOrange70: "#cc6600";
27
+ readonly brandOrange50: "#804000";
28
+ readonly brandOrange10: "#331900";
29
+ readonly brandYellow: "#ffcc00";
30
+ readonly brandYellow70: "#b38f00";
31
+ readonly brandYellow50: "#806600";
32
+ readonly brandYellow10: "#332900";
33
+ readonly brandGreen: "#44aa00";
34
+ readonly brandGreen70: "#228800";
35
+ readonly brandGreen50: "#226600";
36
+ readonly brandGreen10: "#112900";
37
+ readonly brandMagenta: "#ff00aa";
38
+ readonly brandMagenta70: "#cc0088";
39
+ readonly brandMagenta50: "#800055";
40
+ readonly brandMagenta10: "#33001a";
41
+ readonly dialog: "#B6D8BA";
42
+ };
43
+ export declare const SemanticColors: {
44
+ readonly primary: "#d5d3cf";
45
+ readonly secondary: "#b6b4b1";
46
+ readonly accent: "#ff00aa";
47
+ readonly muted: "#b6b4b1";
48
+ readonly headline: "#66b4f4";
49
+ readonly success: "#44aa00";
50
+ readonly error: "#ff2a2a";
51
+ readonly warning: "#ffcc00";
52
+ readonly info: "#66b4f4";
53
+ readonly panelBorder: "#66b4f4";
54
+ readonly label: "#7b7a77";
55
+ readonly inputField: "#031c30";
56
+ readonly inputText: "#b6b4b1";
57
+ readonly inputPlaceholderText: "#444442";
58
+ readonly inputLabel: "#66b4f4";
59
+ readonly keyBadge: "#66b4f4";
60
+ readonly keyBadgeBackground: "#031c30";
61
+ readonly surface: "#000000";
62
+ readonly surfaceRaised: "#2b2b2a";
63
+ readonly focusBorder: "#ff00aa";
64
+ readonly dialog: "#B6D8BA";
65
+ };
66
+ export declare const TuiLayout: {
67
+ readonly bannerWidth: 105;
68
+ readonly panelMinWidth: 28;
69
+ readonly listPanelWidth: 54;
70
+ readonly detailPanelWidth: 74;
71
+ readonly contentPaddingX: 1;
72
+ readonly contentPaddingTop: 1;
73
+ };
74
+ export declare const TuiSpacing: {
75
+ readonly headerHeight: 1;
76
+ readonly footerHeight: 1;
77
+ readonly padding: {
78
+ readonly small: 1;
79
+ readonly medium: 2;
80
+ readonly large: 4;
81
+ };
82
+ };
83
+ export declare const TuiGlyphs: {
84
+ readonly accentBar: "│";
85
+ readonly bullet: "•";
86
+ readonly arrow: "→";
87
+ readonly dot: "·";
88
+ readonly check: "✓";
89
+ readonly cross: "✗";
90
+ readonly filledCircle: "●";
91
+ readonly selector: "▸";
92
+ readonly divider: "─";
93
+ };
94
+ //# sourceMappingURL=DesignTokens.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DesignTokens.d.ts","sourceRoot":"","sources":["../../../src/presentation/shared/DesignTokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCb,CAAC;AAEX,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;CAsBjB,CAAC;AAEX,eAAO,MAAM,SAAS;;;;;;;CAOZ,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;;;;CAQb,CAAC;AAEX,eAAO,MAAM,SAAS;;;;;;;;;;CAUZ,CAAC"}
@@ -0,0 +1,94 @@
1
+ export const BaseColors = {
2
+ white: "#ffffff",
3
+ tint1: "#f5f3ee",
4
+ primary: "#d5d3cf",
5
+ shade1: "#b6b4b1",
6
+ shade2: "#b6b4b1",
7
+ shade3: "#7b7a77",
8
+ shade4: "#5f5e5c",
9
+ shade5: "#444442",
10
+ shade6: "#2b2b2a",
11
+ black: "#000000",
12
+ accent: "#40c8c8",
13
+ brandBlue: "#66b4f4",
14
+ brandBlue70: "#3380c8",
15
+ brandBlue50: "#0a528c",
16
+ brandBlue10: "#031c30",
17
+ brandPurple: "#aa00d4",
18
+ brandPurple70: "#76248b",
19
+ brandPurple50: "#4d0070",
20
+ brandPurple10: "#1a0020",
21
+ brandRed: "#ff2a2a",
22
+ brandRed70: "#981818",
23
+ brandRed50: "#800000",
24
+ brandRed10: "#330000",
25
+ brandOrange: "#ff8307",
26
+ brandOrange70: "#cc6600",
27
+ brandOrange50: "#804000",
28
+ brandOrange10: "#331900",
29
+ brandYellow: "#ffcc00",
30
+ brandYellow70: "#b38f00",
31
+ brandYellow50: "#806600",
32
+ brandYellow10: "#332900",
33
+ brandGreen: "#44aa00",
34
+ brandGreen70: "#228800",
35
+ brandGreen50: "#226600",
36
+ brandGreen10: "#112900",
37
+ brandMagenta: "#ff00aa",
38
+ brandMagenta70: "#cc0088",
39
+ brandMagenta50: "#800055",
40
+ brandMagenta10: "#33001a",
41
+ dialog: "#B6D8BA",
42
+ };
43
+ export const SemanticColors = {
44
+ primary: BaseColors.primary,
45
+ secondary: BaseColors.shade1,
46
+ accent: BaseColors.brandMagenta,
47
+ muted: BaseColors.shade2,
48
+ headline: BaseColors.brandBlue,
49
+ success: BaseColors.brandGreen,
50
+ error: BaseColors.brandRed,
51
+ warning: BaseColors.brandYellow,
52
+ info: BaseColors.brandBlue,
53
+ panelBorder: BaseColors.brandBlue,
54
+ label: BaseColors.shade3,
55
+ inputField: BaseColors.brandBlue10,
56
+ inputText: BaseColors.shade2,
57
+ inputPlaceholderText: BaseColors.shade5,
58
+ inputLabel: BaseColors.brandBlue,
59
+ keyBadge: BaseColors.brandBlue,
60
+ keyBadgeBackground: BaseColors.brandBlue10,
61
+ surface: BaseColors.black,
62
+ surfaceRaised: BaseColors.shade6,
63
+ focusBorder: BaseColors.brandMagenta,
64
+ dialog: BaseColors.dialog,
65
+ };
66
+ export const TuiLayout = {
67
+ bannerWidth: 105,
68
+ panelMinWidth: 28,
69
+ listPanelWidth: 54,
70
+ detailPanelWidth: 74,
71
+ contentPaddingX: 1,
72
+ contentPaddingTop: 1,
73
+ };
74
+ export const TuiSpacing = {
75
+ headerHeight: 1,
76
+ footerHeight: 1,
77
+ padding: {
78
+ small: 1,
79
+ medium: 2,
80
+ large: 4,
81
+ },
82
+ };
83
+ export const TuiGlyphs = {
84
+ accentBar: "│",
85
+ bullet: "•",
86
+ arrow: "→",
87
+ dot: "·",
88
+ check: "✓",
89
+ cross: "✗",
90
+ filledCircle: "●",
91
+ selector: "▸",
92
+ divider: "─",
93
+ };
94
+ //# sourceMappingURL=DesignTokens.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DesignTokens.js","sourceRoot":"","sources":["../../../src/presentation/shared/DesignTokens.ts"],"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O,EAAE,GAAG;CACJ,CAAC"}
@@ -0,0 +1,12 @@
1
+ export interface TuiRequestController<TRequest, TResponse> {
2
+ handle(request: TRequest): Promise<TResponse>;
3
+ }
4
+ export type TuiActionResult<TResponse> = {
5
+ readonly ok: true;
6
+ readonly response: TResponse;
7
+ } | {
8
+ readonly ok: false;
9
+ readonly error: Error;
10
+ };
11
+ export declare function dispatchTuiAction<TRequest, TResponse>(controller: TuiRequestController<TRequest, TResponse>, request: TRequest): Promise<TuiActionResult<TResponse>>;
12
+ //# sourceMappingURL=TuiActionDispatcher.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TuiActionDispatcher.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/action-dispatch/TuiActionDispatcher.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB,CAAC,QAAQ,EAAE,SAAS;IACvD,MAAM,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;CAC/C;AAED,MAAM,MAAM,eAAe,CAAC,SAAS,IACjC;IACE,QAAQ,CAAC,EAAE,EAAE,IAAI,CAAC;IAClB,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;CAC9B,GACD;IACE,QAAQ,CAAC,EAAE,EAAE,KAAK,CAAC;IACnB,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;CACvB,CAAC;AAEN,wBAAsB,iBAAiB,CAAC,QAAQ,EAAE,SAAS,EACzD,UAAU,EAAE,oBAAoB,CAAC,QAAQ,EAAE,SAAS,CAAC,EACrD,OAAO,EAAE,QAAQ,GAChB,OAAO,CAAC,eAAe,CAAC,SAAS,CAAC,CAAC,CAYrC"}
@@ -0,0 +1,21 @@
1
+ export async function dispatchTuiAction(controller, request) {
2
+ try {
3
+ return {
4
+ ok: true,
5
+ response: await controller.handle(request),
6
+ };
7
+ }
8
+ catch (caughtError) {
9
+ return {
10
+ ok: false,
11
+ error: toError(caughtError),
12
+ };
13
+ }
14
+ }
15
+ function toError(caughtError) {
16
+ if (caughtError instanceof Error) {
17
+ return caughtError;
18
+ }
19
+ return new Error(String(caughtError));
20
+ }
21
+ //# sourceMappingURL=TuiActionDispatcher.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TuiActionDispatcher.js","sourceRoot":"","sources":["../../../../src/presentation/tui/action-dispatch/TuiActionDispatcher.ts"],"names":[],"mappings":"AAcA,MAAM,CAAC,KAAK,UAAU,iBAAiB,CACrC,UAAqD,EACrD,OAAiB;IAEjB,IAAI,CAAC;QACH,OAAO;YACL,EAAE,EAAE,IAAI;YACR,QAAQ,EAAE,MAAM,UAAU,CAAC,MAAM,CAAC,OAAO,CAAC;SAC3C,CAAC;IACJ,CAAC;IAAC,OAAO,WAAW,EAAE,CAAC;QACrB,OAAO;YACL,EAAE,EAAE,KAAK;YACT,KAAK,EAAE,OAAO,CAAC,WAAW,CAAC;SAC5B,CAAC;IACJ,CAAC;AACH,CAAC;AAED,SAAS,OAAO,CAAC,WAAoB;IACnC,IAAI,WAAW,YAAY,KAAK,EAAE,CAAC;QACjC,OAAO,WAAW,CAAC;IACrB,CAAC;IAED,OAAO,IAAI,KAAK,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC;AACxC,CAAC"}
@@ -0,0 +1,16 @@
1
+ import React from "react";
2
+ import type { NotificationDrawerNotification } from "./NotificationDrawer.js";
3
+ interface FooterProps {
4
+ terminalWidth: number;
5
+ shortcutsEnabled?: boolean;
6
+ contextualShortcuts?: readonly FooterShortcut[];
7
+ notifications?: readonly NotificationDrawerNotification[];
8
+ }
9
+ interface FooterShortcut {
10
+ readonly char: string;
11
+ readonly label: string;
12
+ }
13
+ export declare const NOTIFICATION_NOTIFIER_COLOR: "#ffcc00";
14
+ export declare function Footer({ terminalWidth, shortcutsEnabled, contextualShortcuts, notifications, }: FooterProps): React.ReactElement;
15
+ export {};
16
+ //# sourceMappingURL=Footer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/application-shell/Footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAKjD,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,yBAAyB,CAAC;AAE9E,UAAU,WAAW;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,mBAAmB,CAAC,EAAE,SAAS,cAAc,EAAE,CAAC;IAChD,aAAa,CAAC,EAAE,SAAS,8BAA8B,EAAE,CAAC;CAC3D;AAED,UAAU,cAAc;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,2BAA2B,WAAyB,CAAC;AAElE,wBAAgB,MAAM,CAAC,EACrB,aAAa,EACb,gBAAuB,EACvB,mBAAwB,EACxB,aAAkB,GACnB,EAAE,WAAW,GAAG,KAAK,CAAC,YAAY,CA+DlC"}
@@ -0,0 +1,37 @@
1
+ import React, { useMemo, useState } from "react";
2
+ import { Box, Text, useInput } from "ink";
3
+ import { BaseColors, TuiGlyphs } from "../../shared/DesignTokens.js";
4
+ import { KeyBadge } from "../ui-primitives/KeyBadge.js";
5
+ import { NotificationDrawer } from "./NotificationDrawer.js";
6
+ export const NOTIFICATION_NOTIFIER_COLOR = BaseColors.brandYellow;
7
+ export function Footer({ terminalWidth, shortcutsEnabled = true, contextualShortcuts = [], notifications = [], }) {
8
+ const [notificationDrawerOpen, setNotificationDrawerOpen] = useState(false);
9
+ const [dismissedNotificationIds, setDismissedNotificationIds] = useState([]);
10
+ const visibleNotifications = useMemo(() => notifications.filter((notification) => !dismissedNotificationIds.includes(notification.id)), [dismissedNotificationIds, notifications]);
11
+ const unreadNotificationCount = visibleNotifications.filter((notification) => notification.unread).length;
12
+ useInput((input) => {
13
+ if (!shortcutsEnabled) {
14
+ return;
15
+ }
16
+ if (input === "n" || input === "N") {
17
+ setNotificationDrawerOpen((isOpen) => !isOpen);
18
+ }
19
+ });
20
+ const handleDismissNotification = (id) => {
21
+ setDismissedNotificationIds((previous) => [...previous, id]);
22
+ };
23
+ return (React.createElement(Box, { flexDirection: "column", width: terminalWidth },
24
+ notificationDrawerOpen && (React.createElement(NotificationDrawer, { notifications: visibleNotifications, onDismiss: handleDismissNotification, onClose: () => setNotificationDrawerOpen(false), terminalWidth: terminalWidth })),
25
+ React.createElement(Box, { justifyContent: "space-between", paddingX: 1 },
26
+ React.createElement(Box, { gap: 2 },
27
+ React.createElement(KeyBadge, { char: "q", label: "quit" }),
28
+ contextualShortcuts.map((shortcut) => (React.createElement(KeyBadge, { key: `${shortcut.char}-${shortcut.label}`, char: shortcut.char, label: shortcut.label })))),
29
+ unreadNotificationCount > 0 && (React.createElement(Box, { alignItems: "center", gap: 1 },
30
+ React.createElement(KeyBadge, { char: "n" }),
31
+ React.createElement(Text, { color: NOTIFICATION_NOTIFIER_COLOR },
32
+ TuiGlyphs.filledCircle,
33
+ " notifications (",
34
+ unreadNotificationCount,
35
+ ")"))))));
36
+ }
37
+ //# sourceMappingURL=Footer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Footer.js","sourceRoot":"","sources":["../../../../src/presentation/tui/application-shell/Footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAe7D,MAAM,CAAC,MAAM,2BAA2B,GAAG,UAAU,CAAC,WAAW,CAAC;AAElE,MAAM,UAAU,MAAM,CAAC,E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yB,EACpC,OAAO,EAAE,GAAG,EAAE,CAAC,yBAAyB,CAAC,KAAK,CAAC,EAC/C,aAAa,EAAE,aAAa,GAC5B,CACH;QACD,oBAAC,GAAG,IAAC,cAAc,EAAC,eAAe,EAAC,QAAQ,EAAE,CAAC;YAC7C,oBAAC,GAAG,IAAC,GAAG,EAAE,CAAC;gBACT,oBAAC,QAAQ,IAAC,IAAI,EAAC,GAAG,EAAC,KAAK,EAAC,MAAM,GAAG;gBACjC,mBAAmB,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CACrC,oBAAC,QAAQ,IACP,GAAG,EAAE,GAAG,QAAQ,CAAC,IAAI,IAAI,QAAQ,CAAC,KAAK,EAAE,EACzC,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,KAAK,EAAE,QAAQ,CAAC,KAAK,GACrB,CACH,CAAC,CACE;YACL,uBAAuB,GAAG,CAAC,IAAI,CAC9B,oBAAC,GAAG,IAAC,UAAU,EAAC,QAAQ,EAAC,GAAG,EAAE,CAAC;gBAC7B,oBAAC,QAAQ,IAAC,IAAI,EAAC,GAAG,GAAG;gBACrB,oBAAC,IAAI,IAAC,KAAK,EAAE,2BAA2B;oBACrC,SAAS,CAAC,YAAY;;oBAAkB,uBAAuB;wBAC3D,CACH,CACP,CACG,CACF,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ interface HeaderProps {
3
+ projectName: string;
4
+ directoryPath: string;
5
+ version: string;
6
+ terminalWidth: number;
7
+ }
8
+ export declare function Header({ projectName, directoryPath, version, terminalWidth, }: HeaderProps): React.ReactElement;
9
+ export {};
10
+ //# sourceMappingURL=Header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tui/application-shell/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,WAAW;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,MAAM,CAAC,EACrB,WAAW,EACX,aAAa,EACb,OAAO,EACP,aAAa,GACd,EAAE,WAAW,GAAG,KAAK,CAAC,YAAY,CAiClC"}
@@ -0,0 +1,44 @@
1
+ import React from "react";
2
+ import { Box, Text } from "ink";
3
+ import { BaseColors, SemanticColors } from "../../shared/DesignTokens.js";
4
+ export function Header({ projectName, directoryPath, version, terminalWidth, }) {
5
+ const versionText = `v${version}`;
6
+ const versionLabelText = `Jumbo ● ${versionText}`;
7
+ const displayedDirectoryPath = fitDirectoryPath({
8
+ directoryPath,
9
+ projectName,
10
+ terminalWidth,
11
+ versionLabelText,
12
+ });
13
+ return (React.createElement(Box, { flexDirection: "column", width: terminalWidth },
14
+ React.createElement(Box, { justifyContent: "space-between", paddingX: 1 },
15
+ React.createElement(Box, { flexShrink: 1 },
16
+ React.createElement(Text, { color: BaseColors.brandBlue, bold: true }, projectName),
17
+ displayedDirectoryPath.length > 0 && (React.createElement(Text, { color: SemanticColors.muted, dimColor: true },
18
+ " ",
19
+ displayedDirectoryPath))),
20
+ React.createElement(Box, { flexShrink: 0 },
21
+ React.createElement(Text, { color: BaseColors.brandBlue }, versionLabelText)))));
22
+ }
23
+ function fitDirectoryPath({ directoryPath, projectName, terminalWidth, versionLabelText, }) {
24
+ const horizontalPadding = 2;
25
+ const minimumGapBeforeVersion = 1;
26
+ const projectPathSeparator = 1;
27
+ const availablePathWidth = terminalWidth -
28
+ horizontalPadding -
29
+ minimumGapBeforeVersion -
30
+ projectName.length -
31
+ projectPathSeparator -
32
+ versionLabelText.length;
33
+ if (availablePathWidth <= 0) {
34
+ return "";
35
+ }
36
+ if (directoryPath.length <= availablePathWidth) {
37
+ return directoryPath;
38
+ }
39
+ if (availablePathWidth <= 3) {
40
+ return directoryPath.slice(0, availablePathWidth);
41
+ }
42
+ return `${directoryPath.slice(0, availablePathWidth - 3)}...`;
43
+ }
44
+ //# sourceMappingURL=Header.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../../src/presentation/tui/application-shell/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,cAAc,EAAa,MAAM,8BAA8B,CAAC;AASrF,MAAM,UAAU,MAAM,CAAC,EACrB,WAAW,EACX,aAAa,EACb,OAAO,EACP,aAAa,GACD;IACZ,MAAM,WAAW,GAAG,IAAI,OAAO,EAAE,CAAC;IAClC,MAAM,gBAAgB,GAAG,WAAW,WAAW,EAAE,CAAC;IAClD,MAAM,sBAAsB,GAAG,gBAAgB,CAAC;QAC9C,aAAa;QACb,WAAW;QACX,aAAa;QACb,gBAAgB;KACjB,CAAC,CAAC;IAEH,OAAO,CACL,oBAAC,GAAG,IAAC,aAAa,EAAC,QAAQ,EAAC,KAAK,EAAE,aAAa;QAC9C,oBAAC,GAAG,IAAC,cAAc,EAAC,eAAe,EAAC,QAAQ,EAAE,CAAC;YAC7C,oBAAC,GAAG,IAAC,UAAU,EAAE,CAAC;gBAChB,oBAAC,IAAI,IAAC,KAAK,EAAE,UAAU,CAAC,SAAS,EAAE,IAAI,UACpC,WAAW,CACP;gBACN,sBAAsB,CAAC,MAAM,GAAG,CAAC,IAAI,CACpC,oBAAC,IAAI,IAAC,KAAK,EAAE,cAAc,CAAC,KAAK,EAAE,QAAQ;oBACxC,GAAG;oBACH,sBAAsB,CAClB,CACR,CACG;YACN,oBAAC,GAAG,IAAC,UAAU,EAAE,CAAC;gBAChB,oBAAC,IAAI,IAAC,KAAK,EAAE,UAAU,CAAC,SAAS,IAAG,gBAAgB,CAAQ,CACxD,CACF,CAIF,CACP,CAAC;AACJ,CAAC;AAED,SAAS,gB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