@ambystech/ambykit 1.5.0 → 2.0.0-rc.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 (441) hide show
  1. package/CHANGELOG.md +190 -1
  2. package/README.md +12 -7
  3. package/dist/cli/add.js +9 -0
  4. package/dist/cli/add.js.map +1 -1
  5. package/dist/cli/analyze.js +25 -4
  6. package/dist/cli/analyze.js.map +1 -1
  7. package/dist/cli/base-command.d.ts +8 -0
  8. package/dist/cli/base-command.js +30 -0
  9. package/dist/cli/base-command.js.map +1 -1
  10. package/dist/cli/check.d.ts +2 -0
  11. package/dist/cli/check.js +38 -4
  12. package/dist/cli/check.js.map +1 -1
  13. package/dist/cli/dashboard.d.ts +5 -2
  14. package/dist/cli/dashboard.js +95 -24
  15. package/dist/cli/dashboard.js.map +1 -1
  16. package/dist/cli/edit.d.ts +17 -0
  17. package/dist/cli/edit.js +71 -0
  18. package/dist/cli/edit.js.map +1 -0
  19. package/dist/cli/fleet.d.ts +2 -0
  20. package/dist/cli/fleet.js +23 -1
  21. package/dist/cli/fleet.js.map +1 -1
  22. package/dist/cli/index.d.ts +1 -5
  23. package/dist/cli/index.js +21 -109
  24. package/dist/cli/index.js.map +1 -1
  25. package/dist/cli/init.js +9 -0
  26. package/dist/cli/init.js.map +1 -1
  27. package/dist/cli/lane.d.ts +38 -3
  28. package/dist/cli/lane.js +124 -108
  29. package/dist/cli/lane.js.map +1 -1
  30. package/dist/cli/main.d.ts +6 -0
  31. package/dist/cli/main.js +111 -0
  32. package/dist/cli/main.js.map +1 -0
  33. package/dist/cli/mcp.d.ts +2 -0
  34. package/dist/cli/mcp.js +4 -0
  35. package/dist/cli/mcp.js.map +1 -1
  36. package/dist/cli/migrate.d.ts +17 -0
  37. package/dist/cli/migrate.js +67 -0
  38. package/dist/cli/migrate.js.map +1 -0
  39. package/dist/cli/node-guard.d.ts +4 -0
  40. package/dist/cli/node-guard.js +12 -0
  41. package/dist/cli/node-guard.js.map +1 -0
  42. package/dist/cli/run-budget.d.ts +25 -0
  43. package/dist/cli/run-budget.js +112 -0
  44. package/dist/cli/run-budget.js.map +1 -0
  45. package/dist/cli/run-control.d.ts +40 -0
  46. package/dist/cli/run-control.js +161 -0
  47. package/dist/cli/run-control.js.map +1 -0
  48. package/dist/cli/run-files.d.ts +96 -0
  49. package/dist/cli/run-files.js +120 -0
  50. package/dist/cli/run-files.js.map +1 -0
  51. package/dist/cli/run-fleet-control.d.ts +16 -0
  52. package/dist/cli/run-fleet-control.js +23 -0
  53. package/dist/cli/run-fleet-control.js.map +1 -0
  54. package/dist/cli/run-fleet-loop.d.ts +77 -0
  55. package/dist/cli/run-fleet-loop.js +156 -0
  56. package/dist/cli/run-fleet-loop.js.map +1 -0
  57. package/dist/cli/run-fleet-merge.d.ts +22 -0
  58. package/dist/cli/run-fleet-merge.js +69 -0
  59. package/dist/cli/run-fleet-merge.js.map +1 -0
  60. package/dist/cli/run-fleet-prepare.d.ts +35 -0
  61. package/dist/cli/run-fleet-prepare.js +58 -0
  62. package/dist/cli/run-fleet-prepare.js.map +1 -0
  63. package/dist/cli/run-fleet.d.ts +28 -0
  64. package/dist/cli/run-fleet.js +382 -0
  65. package/dist/cli/run-fleet.js.map +1 -0
  66. package/dist/cli/run-gates.d.ts +25 -0
  67. package/dist/cli/run-gates.js +45 -0
  68. package/dist/cli/run-gates.js.map +1 -0
  69. package/dist/cli/run-launch.d.ts +17 -0
  70. package/dist/cli/run-launch.js +106 -0
  71. package/dist/cli/run-launch.js.map +1 -0
  72. package/dist/cli/run-loop.d.ts +39 -0
  73. package/dist/cli/run-loop.js +197 -0
  74. package/dist/cli/run-loop.js.map +1 -0
  75. package/dist/cli/run-merger.d.ts +18 -0
  76. package/dist/cli/run-merger.js +126 -0
  77. package/dist/cli/run-merger.js.map +1 -0
  78. package/dist/cli/run-phase-check.d.ts +32 -0
  79. package/dist/cli/run-phase-check.js +173 -0
  80. package/dist/cli/run-phase-check.js.map +1 -0
  81. package/dist/cli/run-plan.d.ts +28 -0
  82. package/dist/cli/run-plan.js +62 -0
  83. package/dist/cli/run-plan.js.map +1 -0
  84. package/dist/cli/run-process.d.ts +45 -0
  85. package/dist/cli/run-process.js +111 -0
  86. package/dist/cli/run-process.js.map +1 -0
  87. package/dist/cli/run-protocol-prompts.d.ts +17 -0
  88. package/dist/cli/run-protocol-prompts.js +63 -0
  89. package/dist/cli/run-protocol-prompts.js.map +1 -0
  90. package/dist/cli/run-protocol.d.ts +17 -0
  91. package/dist/cli/run-protocol.js +128 -0
  92. package/dist/cli/run-protocol.js.map +1 -0
  93. package/dist/cli/run-script.d.ts +11 -0
  94. package/dist/cli/run-script.js +67 -0
  95. package/dist/cli/run-script.js.map +1 -0
  96. package/dist/cli/run-session.d.ts +93 -0
  97. package/dist/cli/run-session.js +21 -0
  98. package/dist/cli/run-session.js.map +1 -0
  99. package/dist/cli/run-stages.d.ts +11 -0
  100. package/dist/cli/run-stages.js +34 -0
  101. package/dist/cli/run-stages.js.map +1 -0
  102. package/dist/cli/run-supervisor.d.ts +20 -0
  103. package/dist/cli/run-supervisor.js +167 -0
  104. package/dist/cli/run-supervisor.js.map +1 -0
  105. package/dist/cli/run.d.ts +81 -0
  106. package/dist/cli/run.js +437 -0
  107. package/dist/cli/run.js.map +1 -0
  108. package/dist/cli/sync.js +10 -5
  109. package/dist/cli/sync.js.map +1 -1
  110. package/dist/cli/ui/dashboard/empty-state.d.ts +5 -0
  111. package/dist/cli/ui/dashboard/empty-state.js +7 -0
  112. package/dist/cli/ui/dashboard/empty-state.js.map +1 -1
  113. package/dist/cli/ui/dashboard/filter-line.d.ts +13 -0
  114. package/dist/cli/ui/dashboard/filter-line.js +20 -0
  115. package/dist/cli/ui/dashboard/filter-line.js.map +1 -0
  116. package/dist/cli/ui/dashboard/fleet-tab.d.ts +25 -0
  117. package/dist/cli/ui/dashboard/fleet-tab.js +91 -0
  118. package/dist/cli/ui/dashboard/fleet-tab.js.map +1 -0
  119. package/dist/cli/ui/dashboard/fleet-tokens.d.ts +404 -0
  120. package/dist/cli/ui/dashboard/fleet-tokens.js +405 -0
  121. package/dist/cli/ui/dashboard/fleet-tokens.js.map +1 -0
  122. package/dist/cli/ui/dashboard/fleet-view.d.ts +51 -0
  123. package/dist/cli/ui/dashboard/fleet-view.js +211 -0
  124. package/dist/cli/ui/dashboard/fleet-view.js.map +1 -0
  125. package/dist/cli/ui/dashboard/help-overlay.d.ts +3 -1
  126. package/dist/cli/ui/dashboard/help-overlay.js +36 -3
  127. package/dist/cli/ui/dashboard/help-overlay.js.map +1 -1
  128. package/dist/cli/ui/dashboard/layout.d.ts +15 -0
  129. package/dist/cli/ui/dashboard/layout.js +22 -0
  130. package/dist/cli/ui/dashboard/layout.js.map +1 -1
  131. package/dist/cli/ui/dashboard/metrics-panel.d.ts +15 -0
  132. package/dist/cli/ui/dashboard/metrics-panel.js +143 -0
  133. package/dist/cli/ui/dashboard/metrics-panel.js.map +1 -0
  134. package/dist/cli/ui/dashboard/tab-bar.d.ts +14 -0
  135. package/dist/cli/ui/dashboard/tab-bar.js +37 -0
  136. package/dist/cli/ui/dashboard/tab-bar.js.map +1 -0
  137. package/dist/cli/ui/dashboard/tab-frame.d.ts +43 -0
  138. package/dist/cli/ui/dashboard/tab-frame.js +68 -0
  139. package/dist/cli/ui/dashboard/tab-frame.js.map +1 -0
  140. package/dist/cli/ui/dashboard/tab-tokens.d.ts +569 -0
  141. package/dist/cli/ui/dashboard/tab-tokens.js +570 -0
  142. package/dist/cli/ui/dashboard/tab-tokens.js.map +1 -0
  143. package/dist/cli/ui/icons.d.ts +22 -0
  144. package/dist/cli/ui/icons.js +17 -0
  145. package/dist/cli/ui/icons.js.map +1 -0
  146. package/dist/cli/ui/interactive/fleet-actions.d.ts +24 -0
  147. package/dist/cli/ui/interactive/fleet-actions.js +30 -0
  148. package/dist/cli/ui/interactive/fleet-actions.js.map +1 -0
  149. package/dist/cli/ui/interactive/fleet.d.ts +54 -0
  150. package/dist/cli/ui/interactive/fleet.js +98 -0
  151. package/dist/cli/ui/interactive/fleet.js.map +1 -0
  152. package/dist/cli/ui/interactive/fullscreen.js +38 -10
  153. package/dist/cli/ui/interactive/fullscreen.js.map +1 -1
  154. package/dist/cli/ui/interactive/list-filter.d.ts +25 -0
  155. package/dist/cli/ui/interactive/list-filter.js +38 -0
  156. package/dist/cli/ui/interactive/list-filter.js.map +1 -0
  157. package/dist/cli/ui/interactive/live.d.ts +8 -0
  158. package/dist/cli/ui/interactive/live.js +13 -0
  159. package/dist/cli/ui/interactive/live.js.map +1 -1
  160. package/dist/cli/ui/interactive/overview.d.ts +52 -3
  161. package/dist/cli/ui/interactive/overview.js +354 -15
  162. package/dist/cli/ui/interactive/overview.js.map +1 -1
  163. package/dist/cli/ui/interactive/tabs.d.ts +15 -0
  164. package/dist/cli/ui/interactive/tabs.js +27 -0
  165. package/dist/cli/ui/interactive/tabs.js.map +1 -0
  166. package/dist/cli/ui/tool-options.d.ts +5 -1
  167. package/dist/cli/ui/tool-options.js +9 -3
  168. package/dist/cli/ui/tool-options.js.map +1 -1
  169. package/dist/cli/update.js +13 -2
  170. package/dist/cli/update.js.map +1 -1
  171. package/dist/core/analyze.d.ts +11 -0
  172. package/dist/core/analyze.js +33 -3
  173. package/dist/core/analyze.js.map +1 -1
  174. package/dist/core/burndown.d.ts +1 -1
  175. package/dist/core/burndown.js +2 -2
  176. package/dist/core/burndown.js.map +1 -1
  177. package/dist/core/checkouts.js +3 -2
  178. package/dist/core/checkouts.js.map +1 -1
  179. package/dist/core/config-schema.d.ts +45 -0
  180. package/dist/core/config-schema.js +63 -0
  181. package/dist/core/config-schema.js.map +1 -0
  182. package/dist/core/config.d.ts +6 -0
  183. package/dist/core/config.js +16 -0
  184. package/dist/core/config.js.map +1 -1
  185. package/dist/core/dashboard.js +3 -2
  186. package/dist/core/dashboard.js.map +1 -1
  187. package/dist/core/decisions.d.ts +12 -1
  188. package/dist/core/decisions.js +7 -2
  189. package/dist/core/decisions.js.map +1 -1
  190. package/dist/core/deprecation.d.ts +15 -0
  191. package/dist/core/deprecation.js +27 -0
  192. package/dist/core/deprecation.js.map +1 -0
  193. package/dist/core/features.js +11 -5
  194. package/dist/core/features.js.map +1 -1
  195. package/dist/core/fleet/fleet-text.d.ts +2 -0
  196. package/dist/core/fleet/fleet-text.js +41 -0
  197. package/dist/core/fleet/fleet-text.js.map +1 -0
  198. package/dist/core/fleet/fleet-view.d.ts +35 -0
  199. package/dist/core/fleet/fleet-view.js +43 -0
  200. package/dist/core/fleet/fleet-view.js.map +1 -0
  201. package/dist/core/fleet/fleets.d.ts +18 -0
  202. package/dist/core/fleet/fleets.js +64 -0
  203. package/dist/core/fleet/fleets.js.map +1 -0
  204. package/dist/core/fleet/flow-input.js +3 -4
  205. package/dist/core/fleet/flow-input.js.map +1 -1
  206. package/dist/core/fleet/index.d.ts +3 -0
  207. package/dist/core/fleet/index.js +3 -0
  208. package/dist/core/fleet/index.js.map +1 -1
  209. package/dist/core/fleet/runs.d.ts +18 -2
  210. package/dist/core/fleet/runs.js +67 -16
  211. package/dist/core/fleet/runs.js.map +1 -1
  212. package/dist/core/fleet-plan/budget.d.ts +18 -0
  213. package/dist/core/fleet-plan/budget.js +13 -0
  214. package/dist/core/fleet-plan/budget.js.map +1 -0
  215. package/dist/core/fleet-plan/contain.d.ts +10 -0
  216. package/dist/core/fleet-plan/contain.js +37 -0
  217. package/dist/core/fleet-plan/contain.js.map +1 -0
  218. package/dist/core/fleet-plan/format.d.ts +4 -0
  219. package/dist/core/fleet-plan/format.js +52 -0
  220. package/dist/core/fleet-plan/format.js.map +1 -0
  221. package/dist/core/fleet-plan/index.d.ts +7 -0
  222. package/dist/core/fleet-plan/index.js +8 -0
  223. package/dist/core/fleet-plan/index.js.map +1 -0
  224. package/dist/core/fleet-plan/order.d.ts +30 -0
  225. package/dist/core/fleet-plan/order.js +96 -0
  226. package/dist/core/fleet-plan/order.js.map +1 -0
  227. package/dist/core/fleet-plan/ownership.d.ts +12 -0
  228. package/dist/core/fleet-plan/ownership.js +36 -0
  229. package/dist/core/fleet-plan/ownership.js.map +1 -0
  230. package/dist/core/fleet-plan/plan.d.ts +23 -0
  231. package/dist/core/fleet-plan/plan.js +40 -0
  232. package/dist/core/fleet-plan/plan.js.map +1 -0
  233. package/dist/core/fleet-plan/read.d.ts +19 -0
  234. package/dist/core/fleet-plan/read.js +35 -0
  235. package/dist/core/fleet-plan/read.js.map +1 -0
  236. package/dist/core/fleet-plan/schedule.d.ts +15 -0
  237. package/dist/core/fleet-plan/schedule.js +27 -0
  238. package/dist/core/fleet-plan/schedule.js.map +1 -0
  239. package/dist/core/fleet-plan/select.d.ts +20 -0
  240. package/dist/core/fleet-plan/select.js +64 -0
  241. package/dist/core/fleet-plan/select.js.map +1 -0
  242. package/dist/core/fleet-plan/types.d.ts +123 -0
  243. package/dist/core/fleet-plan/types.js +2 -0
  244. package/dist/core/fleet-plan/types.js.map +1 -0
  245. package/dist/core/fleet-view/derive.d.ts +14 -0
  246. package/dist/core/fleet-view/derive.js +54 -0
  247. package/dist/core/fleet-view/derive.js.map +1 -0
  248. package/dist/core/fleet-view/group.d.ts +51 -0
  249. package/dist/core/fleet-view/group.js +73 -0
  250. package/dist/core/fleet-view/group.js.map +1 -0
  251. package/dist/core/fleet-view/json.d.ts +37 -0
  252. package/dist/core/fleet-view/json.js +25 -0
  253. package/dist/core/fleet-view/json.js.map +1 -0
  254. package/dist/core/fleet-view/read.d.ts +8 -0
  255. package/dist/core/fleet-view/read.js +44 -0
  256. package/dist/core/fleet-view/read.js.map +1 -0
  257. package/dist/core/fleet-view/types.d.ts +52 -0
  258. package/dist/core/fleet-view/types.js +2 -0
  259. package/dist/core/fleet-view/types.js.map +1 -0
  260. package/dist/core/graph-format.d.ts +2 -0
  261. package/dist/core/graph-format.js +4 -3
  262. package/dist/core/graph-format.js.map +1 -1
  263. package/dist/core/graph-types.d.ts +4 -0
  264. package/dist/core/graph.js +38 -1
  265. package/dist/core/graph.js.map +1 -1
  266. package/dist/core/index.d.ts +1 -0
  267. package/dist/core/index.js +1 -0
  268. package/dist/core/index.js.map +1 -1
  269. package/dist/core/lane-merge.d.ts +29 -0
  270. package/dist/core/lane-merge.js +105 -0
  271. package/dist/core/lane-merge.js.map +1 -0
  272. package/dist/core/lanes.d.ts +53 -0
  273. package/dist/core/lanes.js +131 -0
  274. package/dist/core/lanes.js.map +1 -1
  275. package/dist/core/legacy.d.ts +2 -1
  276. package/dist/core/legacy.js +7 -2
  277. package/dist/core/legacy.js.map +1 -1
  278. package/dist/core/markers.d.ts +7 -0
  279. package/dist/core/markers.js +3 -2
  280. package/dist/core/markers.js.map +1 -1
  281. package/dist/core/metrics/cycle.d.ts +3 -0
  282. package/dist/core/metrics/cycle.js +47 -0
  283. package/dist/core/metrics/cycle.js.map +1 -0
  284. package/dist/core/metrics/gap.d.ts +9 -0
  285. package/dist/core/metrics/gap.js +35 -0
  286. package/dist/core/metrics/gap.js.map +1 -0
  287. package/dist/core/metrics/index.d.ts +21 -0
  288. package/dist/core/metrics/index.js +67 -0
  289. package/dist/core/metrics/index.js.map +1 -0
  290. package/dist/core/metrics/model.d.ts +23 -0
  291. package/dist/core/metrics/model.js +46 -0
  292. package/dist/core/metrics/model.js.map +1 -0
  293. package/dist/core/metrics/revisions.d.ts +22 -0
  294. package/dist/core/metrics/revisions.js +88 -0
  295. package/dist/core/metrics/revisions.js.map +1 -0
  296. package/dist/core/metrics/types.d.ts +74 -0
  297. package/dist/core/metrics/types.js +3 -0
  298. package/dist/core/metrics/types.js.map +1 -0
  299. package/dist/core/migrate/convert-spec.d.ts +19 -0
  300. package/dist/core/migrate/convert-spec.js +99 -0
  301. package/dist/core/migrate/convert-spec.js.map +1 -0
  302. package/dist/core/migrate/convert-tasks.d.ts +16 -0
  303. package/dist/core/migrate/convert-tasks.js +121 -0
  304. package/dist/core/migrate/convert-tasks.js.map +1 -0
  305. package/dist/core/migrate/run.d.ts +36 -0
  306. package/dist/core/migrate/run.js +178 -0
  307. package/dist/core/migrate/run.js.map +1 -0
  308. package/dist/core/migrate/safety.d.ts +33 -0
  309. package/dist/core/migrate/safety.js +199 -0
  310. package/dist/core/migrate/safety.js.map +1 -0
  311. package/dist/core/migrate/summary.d.ts +36 -0
  312. package/dist/core/migrate/summary.js +140 -0
  313. package/dist/core/migrate/summary.js.map +1 -0
  314. package/dist/core/moved-targets.d.ts +73 -8
  315. package/dist/core/moved-targets.js +79 -1
  316. package/dist/core/moved-targets.js.map +1 -1
  317. package/dist/core/overview-types.d.ts +7 -0
  318. package/dist/core/overview-types.js.map +1 -1
  319. package/dist/core/overview.js +4 -0
  320. package/dist/core/overview.js.map +1 -1
  321. package/dist/core/query.js +3 -2
  322. package/dist/core/query.js.map +1 -1
  323. package/dist/core/run-gate-actions.d.ts +51 -0
  324. package/dist/core/run-gate-actions.js +105 -0
  325. package/dist/core/run-gate-actions.js.map +1 -0
  326. package/dist/core/run-launch-plan.d.ts +53 -0
  327. package/dist/core/run-launch-plan.js +32 -0
  328. package/dist/core/run-launch-plan.js.map +1 -0
  329. package/dist/core/run-prompt.d.ts +89 -0
  330. package/dist/core/run-prompt.js +73 -0
  331. package/dist/core/run-prompt.js.map +1 -0
  332. package/dist/core/run-result.d.ts +42 -0
  333. package/dist/core/run-result.js +163 -0
  334. package/dist/core/run-result.js.map +1 -0
  335. package/dist/core/run-review.d.ts +50 -0
  336. package/dist/core/run-review.js +20 -0
  337. package/dist/core/run-review.js.map +1 -0
  338. package/dist/core/run-schedule.d.ts +23 -0
  339. package/dist/core/run-schedule.js +40 -0
  340. package/dist/core/run-schedule.js.map +1 -0
  341. package/dist/core/run-stability.d.ts +23 -0
  342. package/dist/core/run-stability.js +38 -0
  343. package/dist/core/run-stability.js.map +1 -0
  344. package/dist/core/run-supervise.d.ts +71 -0
  345. package/dist/core/run-supervise.js +61 -0
  346. package/dist/core/run-supervise.js.map +1 -0
  347. package/dist/core/runners.d.ts +114 -0
  348. package/dist/core/runners.js +146 -0
  349. package/dist/core/runners.js.map +1 -0
  350. package/dist/core/sibling-reads.d.ts +41 -0
  351. package/dist/core/sibling-reads.js +100 -0
  352. package/dist/core/sibling-reads.js.map +1 -0
  353. package/dist/core/spec-format/blocks.d.ts +19 -0
  354. package/dist/core/spec-format/blocks.js +58 -0
  355. package/dist/core/spec-format/blocks.js.map +1 -0
  356. package/dist/core/spec-format/detect.d.ts +14 -0
  357. package/dist/core/spec-format/detect.js +30 -0
  358. package/dist/core/spec-format/detect.js.map +1 -0
  359. package/dist/core/spec-format/dispatch.d.ts +13 -0
  360. package/dist/core/spec-format/dispatch.js +64 -0
  361. package/dist/core/spec-format/dispatch.js.map +1 -0
  362. package/dist/core/spec-format/frontmatter.d.ts +18 -0
  363. package/dist/core/spec-format/frontmatter.js +37 -0
  364. package/dist/core/spec-format/frontmatter.js.map +1 -0
  365. package/dist/core/spec-format/legacy.d.ts +40 -0
  366. package/dist/core/spec-format/legacy.js +91 -0
  367. package/dist/core/spec-format/legacy.js.map +1 -0
  368. package/dist/core/spec-format/meta.d.ts +3 -0
  369. package/dist/core/spec-format/meta.js +24 -0
  370. package/dist/core/spec-format/meta.js.map +1 -0
  371. package/dist/core/spec-format/model.d.ts +50 -0
  372. package/dist/core/spec-format/model.js +9 -0
  373. package/dist/core/spec-format/model.js.map +1 -0
  374. package/dist/core/spec-format/read-spec.d.ts +4 -0
  375. package/dist/core/spec-format/read-spec.js +102 -0
  376. package/dist/core/spec-format/read-spec.js.map +1 -0
  377. package/dist/core/spec-format/read-tasks.d.ts +2 -0
  378. package/dist/core/spec-format/read-tasks.js +146 -0
  379. package/dist/core/spec-format/read-tasks.js.map +1 -0
  380. package/dist/core/spec-format/write.d.ts +23 -0
  381. package/dist/core/spec-format/write.js +382 -0
  382. package/dist/core/spec-format/write.js.map +1 -0
  383. package/dist/core/subagents.js +0 -2
  384. package/dist/core/subagents.js.map +1 -1
  385. package/dist/core/tasks-edit.d.ts +4 -1
  386. package/dist/core/tasks-edit.js +19 -6
  387. package/dist/core/tasks-edit.js.map +1 -1
  388. package/dist/core/types.d.ts +21 -0
  389. package/dist/emitters/index.d.ts +0 -4
  390. package/dist/emitters/index.js +0 -10
  391. package/dist/emitters/index.js.map +1 -1
  392. package/dist/index.d.ts +2 -2
  393. package/dist/index.js +2 -2
  394. package/dist/index.js.map +1 -1
  395. package/dist/plugins/api.d.ts +14 -8
  396. package/dist/plugins/api.js +9 -8
  397. package/dist/plugins/api.js.map +1 -1
  398. package/dist/plugins/index.d.ts +3 -2
  399. package/dist/plugins/index.js +3 -2
  400. package/dist/plugins/index.js.map +1 -1
  401. package/dist/plugins/loader.d.ts +8 -0
  402. package/dist/plugins/loader.js +36 -6
  403. package/dist/plugins/loader.js.map +1 -1
  404. package/dist/plugins/report.d.ts +1 -1
  405. package/dist/plugins/report.js +3 -4
  406. package/dist/plugins/report.js.map +1 -1
  407. package/dist/plugins/session.d.ts +1 -0
  408. package/dist/plugins/session.js +1 -1
  409. package/dist/plugins/session.js.map +1 -1
  410. package/dist/testkit/index.d.ts +1 -1
  411. package/docs/architecture.md +16 -1
  412. package/docs/artifacts/decision-record.md +15 -0
  413. package/docs/artifacts/spec.md +35 -6
  414. package/docs/artifacts/tasks.md +67 -16
  415. package/docs/cli-reference.md +274 -5
  416. package/docs/contributing.md +6 -0
  417. package/docs/migration.md +191 -0
  418. package/docs/plugin-api.md +21 -13
  419. package/docs/plugin-split.md +5 -3
  420. package/docs/plugin-trust.md +2 -2
  421. package/docs/plugins-release.md +105 -0
  422. package/docs/release.md +103 -0
  423. package/docs/stability.md +152 -0
  424. package/docs/tool-compatibility.md +41 -3
  425. package/docs/workflow.md +10 -6
  426. package/package.json +4 -2
  427. package/src/agents/worker.md +2 -1
  428. package/src/prompts/converge.md +2 -2
  429. package/src/prompts/implement.md +13 -11
  430. package/src/prompts/revise.md +5 -2
  431. package/src/prompts/run.md +7 -4
  432. package/src/prompts/specify.md +5 -3
  433. package/src/prompts/tasks.md +9 -8
  434. package/src/templates/spec.md +10 -4
  435. package/src/templates/tasks.md +35 -13
  436. package/dist/emitters/antigravity-cli.d.ts +0 -15
  437. package/dist/emitters/antigravity-cli.js +0 -20
  438. package/dist/emitters/antigravity-cli.js.map +0 -1
  439. package/dist/emitters/antigravity.d.ts +0 -20
  440. package/dist/emitters/antigravity.js +0 -24
  441. package/dist/emitters/antigravity.js.map +0 -1
@@ -0,0 +1,25 @@
1
+ import type { FleetView } from "../../../core/fleet-view/types.js";
2
+ import { type GroupRow } from "../../../core/fleet-view/group.js";
3
+ import type { FleetsEntry } from "../../../core/fleet/fleet-view.js";
4
+ import type { Capabilities } from "../types.js";
5
+ import type { FleetTuiState } from "../interactive/fleet.js";
6
+ import { type LiveStatus } from "./live-indicator.js";
7
+ export interface FleetTabInput {
8
+ entry: FleetsEntry;
9
+ /** Visible rows after the filter and the collapse (`groupRows`). */
10
+ rows: GroupRow[];
11
+ cursor: number;
12
+ /** 029's slice: the confirm dialog, the notice and the gate cursor. */
13
+ inner: FleetTuiState;
14
+ /** The selected feature's 029 view, for the confirm dialog. */
15
+ selected: FleetView | null;
16
+ live?: LiveStatus;
17
+ now: number;
18
+ /** Rows the list may use (the terminal minus the fixed rows). */
19
+ window: number;
20
+ }
21
+ export declare function renderFleetTab(caps: Capabilities, input: FleetTabInput): string;
22
+ export interface FleetTabApi {
23
+ render(caps: Capabilities, input: FleetTabInput): string;
24
+ }
25
+ export declare const fleetTabApi: FleetTabApi;
@@ -0,0 +1,91 @@
1
+ import { fleetGates, featureStateWord } from "../../../core/fleet-view/group.js";
2
+ import { paintToken } from "../theme.js";
3
+ import { iconGlyph, tabLayout } from "./layout.js";
4
+ import { laneLine, renderConfirm, stateGlyph } from "./fleet-view.js";
5
+ import { liveIndicator } from "./live-indicator.js";
6
+ import { glyph, panel, truncateVisible, visibleWidth } from "./panel.js";
7
+ import { TAB_TOKENS as T } from "./tab-tokens.js";
8
+ import { TOKENS } from "./tokens.js";
9
+ /**
10
+ * The Fleet tab with lanes grouped by feature across features (feature 032, US-1, FR-018, ui.md "Grouping by feature").
11
+ * 029's lane rows are reused unchanged; this adds the feature header rows (state, what a feature waits for or why it is
12
+ * paused), the collapse marker and the GATES lines. Pure over `GroupRow[]`; the reducer and the effects live elsewhere.
13
+ */
14
+ const NAME_WIDTH = 30;
15
+ const muted = (caps, s) => paintToken(caps, TOKENS.semantic.color.muted, s);
16
+ const sep = (caps) => (caps.unicode ? " · " : ", ");
17
+ /** The state badge for a feature: the shared glyph and word, or the word alone for a state the vocabulary has no glyph for. */
18
+ function stateBadge(caps, feature) {
19
+ const word = featureStateWord(feature.state);
20
+ const known = T.semantic.state[word];
21
+ if (!known)
22
+ return muted(caps, word.padEnd(8));
23
+ return paintToken(caps, known.fg, `${stateGlyph(caps, word)} ${known.word}`.padEnd(10));
24
+ }
25
+ /** `waits for: 031-multi-feature-fleets (merging)`, `cause: … · holds 2`, or the lane count. */
26
+ function detail(caps, feature) {
27
+ const s = sep(caps);
28
+ if (feature.state === "paused") {
29
+ const dependents = Math.max(0, (feature.affected?.length ?? 1) - 1);
30
+ return `cause: ${feature.cause ?? "paused"}${s}holds ${dependents} dependent${dependents === 1 ? "" : "s"}`;
31
+ }
32
+ if (feature.state === "waiting") {
33
+ const why = feature.waitsFor.map((w) => `${w.feature} (${w.why === "shared-files" ? "shared files" : "merging"})`).join(", ");
34
+ return `waits for: ${why || (caps.unicode ? "—" : "-")}`;
35
+ }
36
+ if (feature.state === "done")
37
+ return `${feature.lanes.length} of ${feature.lanes.length} lanes merged`;
38
+ if (feature.state === "skipped")
39
+ return "skipped";
40
+ return `waits for: ${caps.unicode ? "—" : "-"}`;
41
+ }
42
+ function headerRow(caps, row, selected) {
43
+ const cursor = selected ? glyph(caps, TOKENS.semantic.symbol.cursor) : " ";
44
+ const mark = iconGlyph(caps, row.expanded ? T.component["fleet-feature"]["glyph-open"] : T.component["fleet-feature"]["glyph-closed"]);
45
+ const name = truncateVisible(caps, row.feature.feature, NAME_WIDTH).padEnd(NAME_WIDTH);
46
+ const collapsedNote = row.expanded ? "" : muted(caps, ` (${row.laneCount} lane${row.laneCount === 1 ? "" : "s"})`);
47
+ return `${cursor} ${mark} ${paintToken(caps, T.component["fleet-feature"]["name-fg"], name, selected)} ${stateBadge(caps, row.feature)} ${paintToken(caps, T.component["fleet-feature"]["cause-fg"], detail(caps, row.feature))}${collapsedNote}`;
48
+ }
49
+ /** 029's lane row, indented under its feature header (the cursor column stays first). */
50
+ function laneRow(caps, row, selected, compact) {
51
+ const line = laneLine(caps, row.lane, selected, compact ? "compact" : "wide");
52
+ return `${line.slice(0, 2)} ${line.slice(2)}`;
53
+ }
54
+ export function renderFleetTab(caps, input) {
55
+ const layout = tabLayout(caps);
56
+ const compact = layout === "narrow";
57
+ const { entry, rows, cursor } = input;
58
+ const s = sep(caps);
59
+ const live = input.live && !compact ? liveIndicator(caps, input.live, input.now) : "";
60
+ const head = `FLEET${s}${entry.fleet}${s}${entry.features.length} features${s}caps ${entry.caps.total} total / ${entry.caps.perType} per type`;
61
+ const at = Math.min(Math.max(0, cursor), Math.max(0, rows.length - 1));
62
+ const win = Math.max(4, input.window);
63
+ const start = Math.max(0, Math.min(at - Math.floor(win / 2), rows.length - win));
64
+ const shown = rows.slice(start, start + win);
65
+ const up = glyph(caps, { u: "↑", a: "^" });
66
+ const down = glyph(caps, { u: "↓", a: "v" });
67
+ const body = [
68
+ ...(start > 0 ? [muted(caps, ` ${up} ${start} more`)] : []),
69
+ ...shown.map((r, i) => (r.kind === "feature" ? headerRow(caps, r, start + i === at) : laneRow(caps, r, start + i === at, compact))),
70
+ ...(start + shown.length < rows.length ? [muted(caps, ` ${down} ${rows.length - start - shown.length} more`)] : []),
71
+ ];
72
+ const gates = fleetGates(entry);
73
+ const gateLines = gates.length === 0 ? [] : [muted(caps, "GATES"), ...gates.map((g) => paintToken(caps, TOKENS.semantic.color.warn, ` ${g.feature.replace(/^(\d+).*/, "$1")} ${g.id}${s}after ${g.after}${s}awaiting approval`))];
74
+ const notice = input.inner.notice ? paintToken(caps, TOKENS.component.notice.fg, `${glyph(caps, TOKENS.component.notice.symbol)} ${input.inner.notice}`) : "";
75
+ let frame;
76
+ if (layout === "plain") {
77
+ frame = [head + (live ? ` [${live}]` : ""), ...body.map((l) => l.trimEnd()), ...gateLines.map((l) => l.trimEnd())].join("\n");
78
+ }
79
+ else {
80
+ const width = Math.min(Math.max(20, caps.columns), 120);
81
+ const room = Math.max(8, width - 6 - (live ? visibleWidth(live) + 3 : 0));
82
+ frame = panel(caps, { title: truncateVisible(caps, head, room), ...(live ? { right: live } : {}), width }, [...body, ...gateLines]).join("\n");
83
+ }
84
+ if (notice)
85
+ frame += `\n${notice}`;
86
+ if (input.inner.confirm && input.selected && layout !== "plain")
87
+ return renderConfirm(caps, frame, input.selected, input.inner.confirm);
88
+ return frame;
89
+ }
90
+ export const fleetTabApi = { render: renderFleetTab };
91
+ //# sourceMappingURL=fleet-tab.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fleet-tab.js","sourceRoot":"","sources":["../../../../src/cli/ui/dashboard/fleet-tab.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAiB,MAAM,mCAAmC,CAAC;AAEhG,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAGzC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAAE,aAAa,EAAmB,MAAM,qBAAqB,CAAC;AACrE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AACzE,OAAO,EAAE,UAAU,IAAI,CAAC,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;GAIG;AAEH,MAAM,UAAU,GAAG,EAAE,CAAC;AAiBtB,MAAM,KAA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K,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,eAAe,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACjJ,CAAC;IACD,IAAI,MAAM;QAAE,KAAK,IAAI,KAAK,MAAM,EAAE,CAAC;IACnC,IAAI,KAAK,CAAC,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,QAAQ,IAAI,MAAM,KAAK,OAAO;QAAE,OAAO,aAAa,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,CAAC,QAAQ,EAAE,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IACxI,OAAO,KAAK,CAAC;AACf,CAAC;AAMD,MAAM,CAAC,MAAM,WAAW,GAAgB,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC"}
@@ -0,0 +1,404 @@
1
+ /**
2
+ * Fleet view design tokens (feature 029), mirroring specs/029-fleet-control-room/design-tokens.json with every
3
+ * `{tier.path}` reference resolved against the merged 014 + 017 + 029 tree. Same shapes as `TOKENS` (014): colors
4
+ * are `{ truecolor: { dark, light }, ansi16 }`, glyphs are `{ u, a }`. test/ui/fleet-tokens.test.ts keeps this file
5
+ * in sync with the JSON. Nerd mode reuses the Unicode glyph (signed-off decision, ui.md).
6
+ */
7
+ export declare const FLEET_TOKENS: {
8
+ glyph: {
9
+ "fleet-working": {
10
+ u: string;
11
+ a: string;
12
+ };
13
+ "fleet-waiting": {
14
+ u: string;
15
+ a: string;
16
+ };
17
+ "fleet-blocked": {
18
+ u: string;
19
+ a: string;
20
+ };
21
+ "fleet-paused": {
22
+ u: string;
23
+ a: string;
24
+ };
25
+ "fleet-done": {
26
+ u: string;
27
+ a: string;
28
+ };
29
+ "fleet-unreported": {
30
+ u: string;
31
+ a: string;
32
+ };
33
+ "fleet-unknown": {
34
+ u: string;
35
+ a: string;
36
+ };
37
+ "fleet-stalled": {
38
+ u: string;
39
+ a: string;
40
+ };
41
+ };
42
+ word: {
43
+ working: string;
44
+ waiting: string;
45
+ blocked: string;
46
+ paused: string;
47
+ done: string;
48
+ unreported: string;
49
+ unknown: string;
50
+ stalled: string;
51
+ "needs-decision": string;
52
+ "gate-awaiting": string;
53
+ };
54
+ text: {
55
+ "directive-none": string;
56
+ "directive-none-ascii": string;
57
+ "directive-pending": string;
58
+ "directive-pause-requested": string;
59
+ "directive-paused": string;
60
+ "directive-obeyed": string;
61
+ };
62
+ space: {
63
+ "fleet-lane-col": number;
64
+ "fleet-assistant-col": number;
65
+ "fleet-state-col": number;
66
+ "fleet-quiet-col": number;
67
+ "fleet-narrow-max": number;
68
+ "fleet-confirm-width": number;
69
+ };
70
+ limit: {
71
+ "fleet-rows-min": number;
72
+ };
73
+ semantic: {
74
+ symbol: {
75
+ "fleet-working": {
76
+ u: string;
77
+ a: string;
78
+ };
79
+ "fleet-waiting": {
80
+ u: string;
81
+ a: string;
82
+ };
83
+ "fleet-blocked": {
84
+ u: string;
85
+ a: string;
86
+ };
87
+ "fleet-paused": {
88
+ u: string;
89
+ a: string;
90
+ };
91
+ "fleet-done": {
92
+ u: string;
93
+ a: string;
94
+ };
95
+ "fleet-unreported": {
96
+ u: string;
97
+ a: string;
98
+ };
99
+ "fleet-unknown": {
100
+ u: string;
101
+ a: string;
102
+ };
103
+ "fleet-stalled": {
104
+ u: string;
105
+ a: string;
106
+ };
107
+ };
108
+ color: {
109
+ "fleet-working": {
110
+ truecolor: {
111
+ dark: string;
112
+ light: string;
113
+ };
114
+ ansi16: string;
115
+ };
116
+ "fleet-waiting": {
117
+ truecolor: {
118
+ dark: string;
119
+ light: string;
120
+ };
121
+ ansi16: string;
122
+ };
123
+ "fleet-blocked": {
124
+ truecolor: {
125
+ dark: string;
126
+ light: string;
127
+ };
128
+ ansi16: string;
129
+ };
130
+ "fleet-paused": {
131
+ truecolor: {
132
+ dark: string;
133
+ light: string;
134
+ };
135
+ ansi16: string;
136
+ };
137
+ "fleet-done": {
138
+ truecolor: {
139
+ dark: string;
140
+ light: string;
141
+ };
142
+ ansi16: string;
143
+ };
144
+ "fleet-unreported": {
145
+ truecolor: {
146
+ dark: string;
147
+ light: string;
148
+ };
149
+ ansi16: string;
150
+ };
151
+ "fleet-unknown": {
152
+ truecolor: {
153
+ dark: string;
154
+ light: string;
155
+ };
156
+ ansi16: string;
157
+ };
158
+ "fleet-stalled": {
159
+ truecolor: {
160
+ dark: string;
161
+ light: string;
162
+ };
163
+ ansi16: string;
164
+ };
165
+ };
166
+ };
167
+ component: {
168
+ "fleet-header": {
169
+ fg: {
170
+ truecolor: {
171
+ dark: string;
172
+ light: string;
173
+ };
174
+ ansi16: string;
175
+ };
176
+ "needs-decision": {
177
+ fg: {
178
+ truecolor: {
179
+ dark: string;
180
+ light: string;
181
+ };
182
+ ansi16: string;
183
+ };
184
+ weight: string;
185
+ text: string;
186
+ };
187
+ "more-runs-fg": {
188
+ truecolor: {
189
+ dark: string;
190
+ light: string;
191
+ };
192
+ ansi16: string;
193
+ };
194
+ };
195
+ "fleet-lane": {
196
+ state: {
197
+ working: {
198
+ glyph: {
199
+ u: string;
200
+ a: string;
201
+ };
202
+ nerd: {
203
+ u: string;
204
+ a: string;
205
+ };
206
+ word: string;
207
+ fg: {
208
+ truecolor: {
209
+ dark: string;
210
+ light: string;
211
+ };
212
+ ansi16: string;
213
+ };
214
+ };
215
+ waiting: {
216
+ glyph: {
217
+ u: string;
218
+ a: string;
219
+ };
220
+ nerd: {
221
+ u: string;
222
+ a: string;
223
+ };
224
+ word: string;
225
+ fg: {
226
+ truecolor: {
227
+ dark: string;
228
+ light: string;
229
+ };
230
+ ansi16: string;
231
+ };
232
+ };
233
+ blocked: {
234
+ glyph: {
235
+ u: string;
236
+ a: string;
237
+ };
238
+ nerd: {
239
+ u: string;
240
+ a: string;
241
+ };
242
+ word: string;
243
+ fg: {
244
+ truecolor: {
245
+ dark: string;
246
+ light: string;
247
+ };
248
+ ansi16: string;
249
+ };
250
+ };
251
+ paused: {
252
+ glyph: {
253
+ u: string;
254
+ a: string;
255
+ };
256
+ nerd: {
257
+ u: string;
258
+ a: string;
259
+ };
260
+ word: string;
261
+ fg: {
262
+ truecolor: {
263
+ dark: string;
264
+ light: string;
265
+ };
266
+ ansi16: string;
267
+ };
268
+ };
269
+ done: {
270
+ glyph: {
271
+ u: string;
272
+ a: string;
273
+ };
274
+ nerd: {
275
+ u: string;
276
+ a: string;
277
+ };
278
+ word: string;
279
+ fg: {
280
+ truecolor: {
281
+ dark: string;
282
+ light: string;
283
+ };
284
+ ansi16: string;
285
+ };
286
+ };
287
+ unreported: {
288
+ glyph: {
289
+ u: string;
290
+ a: string;
291
+ };
292
+ nerd: {
293
+ u: string;
294
+ a: string;
295
+ };
296
+ word: string;
297
+ fg: {
298
+ truecolor: {
299
+ dark: string;
300
+ light: string;
301
+ };
302
+ ansi16: string;
303
+ };
304
+ };
305
+ unknown: {
306
+ glyph: {
307
+ u: string;
308
+ a: string;
309
+ };
310
+ nerd: {
311
+ u: string;
312
+ a: string;
313
+ };
314
+ word: string;
315
+ fg: {
316
+ truecolor: {
317
+ dark: string;
318
+ light: string;
319
+ };
320
+ ansi16: string;
321
+ };
322
+ };
323
+ };
324
+ stalled: {
325
+ glyph: {
326
+ u: string;
327
+ a: string;
328
+ };
329
+ text: string;
330
+ fg: {
331
+ truecolor: {
332
+ dark: string;
333
+ light: string;
334
+ };
335
+ ansi16: string;
336
+ };
337
+ weight: string;
338
+ };
339
+ "quiet-fg": {
340
+ truecolor: {
341
+ dark: string;
342
+ light: string;
343
+ };
344
+ ansi16: string;
345
+ };
346
+ selected: {
347
+ cursor: {
348
+ u: string;
349
+ a: string;
350
+ };
351
+ weight: string;
352
+ };
353
+ };
354
+ "fleet-directive": {
355
+ none: string;
356
+ "none-ascii": string;
357
+ pending: string;
358
+ "pause-requested": string;
359
+ paused: string;
360
+ obeyed: string;
361
+ fg: {
362
+ truecolor: {
363
+ dark: string;
364
+ light: string;
365
+ };
366
+ ansi16: string;
367
+ };
368
+ };
369
+ "fleet-gate": {
370
+ glyph: {
371
+ u: string;
372
+ a: string;
373
+ };
374
+ text: string;
375
+ pending: {
376
+ fg: {
377
+ truecolor: {
378
+ dark: string;
379
+ light: string;
380
+ };
381
+ ansi16: string;
382
+ };
383
+ };
384
+ };
385
+ "fleet-confirm": {
386
+ border: {
387
+ u: string;
388
+ a: string;
389
+ };
390
+ "title-fg": {
391
+ truecolor: {
392
+ dark: string;
393
+ light: string;
394
+ };
395
+ ansi16: string;
396
+ };
397
+ width: number;
398
+ };
399
+ "fleet-layout": {
400
+ "narrow-max": number;
401
+ "rows-min": number;
402
+ };
403
+ };
404
+ };