agentplane 0.3.15 → 0.3.17

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 (522) hide show
  1. package/assets/policy/incidents.md +7 -0
  2. package/bin/agentplane.js +1 -1
  3. package/bin/framework-dev-contract.js +1 -0
  4. package/dist/.build-manifest.json +641 -351
  5. package/dist/backends/task-backend/load.d.ts.map +1 -1
  6. package/dist/backends/task-backend/load.js +32 -19
  7. package/dist/backends/task-backend/local-backend-doc.d.ts.map +1 -1
  8. package/dist/backends/task-backend/local-backend-doc.js +1 -1
  9. package/dist/backends/task-backend/redmine/backend-runtime.d.ts +5 -0
  10. package/dist/backends/task-backend/redmine/backend-runtime.d.ts.map +1 -0
  11. package/dist/backends/task-backend/redmine/backend-runtime.js +4 -0
  12. package/dist/backends/task-backend/redmine/backend-sync/context.d.ts +44 -0
  13. package/dist/backends/task-backend/redmine/backend-sync/context.d.ts.map +1 -0
  14. package/dist/backends/task-backend/redmine/backend-sync/context.js +8 -0
  15. package/dist/backends/task-backend/redmine/backend-sync/ids.d.ts +6 -0
  16. package/dist/backends/task-backend/redmine/backend-sync/ids.d.ts.map +1 -0
  17. package/dist/backends/task-backend/redmine/backend-sync/ids.js +21 -0
  18. package/dist/backends/task-backend/redmine/backend-sync/migration.d.ts +4 -0
  19. package/dist/backends/task-backend/redmine/backend-sync/migration.d.ts.map +1 -0
  20. package/dist/backends/task-backend/redmine/backend-sync/migration.js +87 -0
  21. package/dist/backends/task-backend/redmine/backend-sync/status.d.ts +10 -0
  22. package/dist/backends/task-backend/redmine/backend-sync/status.d.ts.map +1 -0
  23. package/dist/backends/task-backend/redmine/backend-sync/status.js +78 -0
  24. package/dist/backends/task-backend/redmine/backend-sync/sync.d.ts +12 -0
  25. package/dist/backends/task-backend/redmine/backend-sync/sync.d.ts.map +1 -0
  26. package/dist/backends/task-backend/redmine/backend-sync/sync.js +82 -0
  27. package/dist/backends/task-backend/redmine/backend-sync/write.d.ts +5 -0
  28. package/dist/backends/task-backend/redmine/backend-sync/write.d.ts.map +1 -0
  29. package/dist/backends/task-backend/redmine/backend-sync/write.js +100 -0
  30. package/dist/backends/task-backend/redmine/backend-sync.d.ts +6 -66
  31. package/dist/backends/task-backend/redmine/backend-sync.d.ts.map +1 -1
  32. package/dist/backends/task-backend/redmine/backend-sync.js +5 -367
  33. package/dist/backends/task-backend/redmine/mapping.js +1 -1
  34. package/dist/backends/task-backend/redmine/runtime-context.d.ts +98 -0
  35. package/dist/backends/task-backend/redmine/runtime-context.d.ts.map +1 -0
  36. package/dist/backends/task-backend/redmine/runtime-context.js +57 -0
  37. package/dist/backends/task-backend/redmine/runtime-methods.d.ts +33 -0
  38. package/dist/backends/task-backend/redmine/runtime-methods.d.ts.map +1 -0
  39. package/dist/backends/task-backend/redmine/runtime-methods.js +86 -0
  40. package/dist/backends/task-backend/redmine/runtime-operations.d.ts +19 -0
  41. package/dist/backends/task-backend/redmine/runtime-operations.d.ts.map +1 -0
  42. package/dist/backends/task-backend/redmine/runtime-operations.js +83 -0
  43. package/dist/backends/task-backend/redmine/runtime-state.d.ts +10 -0
  44. package/dist/backends/task-backend/redmine/runtime-state.d.ts.map +1 -0
  45. package/dist/backends/task-backend/redmine/runtime-state.js +45 -0
  46. package/dist/backends/task-backend/redmine-backend.d.ts +2 -33
  47. package/dist/backends/task-backend/redmine-backend.d.ts.map +1 -1
  48. package/dist/backends/task-backend/redmine-backend.js +26 -241
  49. package/dist/backends/task-backend/shared/constants.d.ts +1 -1
  50. package/dist/backends/task-backend/shared/constants.d.ts.map +1 -1
  51. package/dist/backends/task-backend/shared/constants.js +1 -1
  52. package/dist/backends/task-backend/shared/errors.d.ts +12 -0
  53. package/dist/backends/task-backend/shared/errors.d.ts.map +1 -1
  54. package/dist/backends/task-backend/shared/errors.js +12 -0
  55. package/dist/backends/task-index.d.ts +0 -4
  56. package/dist/backends/task-index.d.ts.map +1 -1
  57. package/dist/backends/task-index.js +0 -33
  58. package/dist/cli/archive.d.ts.map +1 -1
  59. package/dist/cli/archive.js +3 -5
  60. package/dist/cli/error-map.d.ts +7 -1
  61. package/dist/cli/error-map.d.ts.map +1 -1
  62. package/dist/cli/error-map.js +231 -19
  63. package/dist/cli/exit-codes.d.ts +14 -2
  64. package/dist/cli/exit-codes.d.ts.map +1 -1
  65. package/dist/cli/exit-codes.js +25 -11
  66. package/dist/cli/http.d.ts.map +1 -1
  67. package/dist/cli/http.js +34 -15
  68. package/dist/cli/output.d.ts +3 -0
  69. package/dist/cli/output.d.ts.map +1 -1
  70. package/dist/cli/output.js +25 -14
  71. package/dist/cli/prompts.d.ts.map +1 -1
  72. package/dist/cli/prompts.js +44 -0
  73. package/dist/cli/run-cli/command-catalog/core.d.ts.map +1 -1
  74. package/dist/cli/run-cli/command-catalog/core.js +34 -76
  75. package/dist/cli/run-cli/command-catalog/lifecycle.d.ts.map +1 -1
  76. package/dist/cli/run-cli/command-catalog/lifecycle.js +23 -26
  77. package/dist/cli/run-cli/command-catalog/project.d.ts.map +1 -1
  78. package/dist/cli/run-cli/command-catalog/project.js +39 -54
  79. package/dist/cli/run-cli/command-catalog/shared.d.ts +15 -3
  80. package/dist/cli/run-cli/command-catalog/shared.d.ts.map +1 -1
  81. package/dist/cli/run-cli/command-catalog/shared.js +19 -6
  82. package/dist/cli/run-cli/command-catalog/task.d.ts.map +1 -1
  83. package/dist/cli/run-cli/command-catalog/task.js +63 -57
  84. package/dist/cli/run-cli/command-loaders.d.ts +170 -0
  85. package/dist/cli/run-cli/command-loaders.d.ts.map +1 -0
  86. package/dist/cli/run-cli/command-loaders.js +128 -0
  87. package/dist/cli/run-cli/commands/init/model.d.ts +42 -0
  88. package/dist/cli/run-cli/commands/init/model.d.ts.map +1 -0
  89. package/dist/cli/run-cli/commands/init/orchestrate.d.ts +9 -0
  90. package/dist/cli/run-cli/commands/init/orchestrate.d.ts.map +1 -0
  91. package/dist/cli/run-cli/commands/init/orchestrate.js +321 -0
  92. package/dist/cli/run-cli/commands/init/parsers.d.ts +5 -0
  93. package/dist/cli/run-cli/commands/init/parsers.d.ts.map +1 -0
  94. package/dist/cli/run-cli/commands/init/parsers.js +36 -0
  95. package/dist/cli/run-cli/commands/init/presets.d.ts +15 -0
  96. package/dist/cli/run-cli/commands/init/presets.d.ts.map +1 -0
  97. package/dist/cli/run-cli/commands/init/presets.js +63 -0
  98. package/dist/cli/run-cli/commands/init/spec.d.ts +5 -0
  99. package/dist/cli/run-cli/commands/init/spec.d.ts.map +1 -0
  100. package/dist/cli/run-cli/commands/init/spec.js +212 -0
  101. package/dist/cli/run-cli/commands/init/write-config.d.ts +1 -0
  102. package/dist/cli/run-cli/commands/init/write-config.d.ts.map +1 -1
  103. package/dist/cli/run-cli/commands/init/write-config.js +1 -0
  104. package/dist/cli/run-cli/commands/init/write-gitignore.js +1 -1
  105. package/dist/cli/run-cli/commands/init.d.ts +1 -28
  106. package/dist/cli/run-cli/commands/init.d.ts.map +1 -1
  107. package/dist/cli/run-cli/commands/init.js +1 -596
  108. package/dist/cli/run-cli/update-warning.d.ts +1 -0
  109. package/dist/cli/run-cli/update-warning.d.ts.map +1 -1
  110. package/dist/cli/run-cli/update-warning.js +10 -2
  111. package/dist/cli/run-cli.d.ts.map +1 -1
  112. package/dist/cli/run-cli.js +1 -2
  113. package/dist/cli/spec/errors.d.ts +18 -1
  114. package/dist/cli/spec/errors.d.ts.map +1 -1
  115. package/dist/cli/spec/errors.js +27 -4
  116. package/dist/cli/spec/parse.d.ts.map +1 -1
  117. package/dist/cli/spec/parse.js +8 -1
  118. package/dist/commands/backend.d.ts.map +1 -1
  119. package/dist/commands/backend.js +66 -118
  120. package/dist/commands/block.spec.js +1 -1
  121. package/dist/commands/branch/work-start.d.ts.map +1 -1
  122. package/dist/commands/branch/work-start.direct.d.ts +13 -0
  123. package/dist/commands/branch/work-start.direct.d.ts.map +1 -0
  124. package/dist/commands/branch/work-start.direct.js +75 -0
  125. package/dist/commands/branch/work-start.git.d.ts +3 -0
  126. package/dist/commands/branch/work-start.git.d.ts.map +1 -0
  127. package/dist/commands/branch/work-start.git.js +19 -0
  128. package/dist/commands/branch/work-start.hook-shim.d.ts +2 -0
  129. package/dist/commands/branch/work-start.hook-shim.d.ts.map +1 -0
  130. package/dist/commands/branch/work-start.hook-shim.js +38 -0
  131. package/dist/commands/branch/work-start.js +6 -235
  132. package/dist/commands/branch/work-start.materialize.d.ts +16 -0
  133. package/dist/commands/branch/work-start.materialize.d.ts.map +1 -0
  134. package/dist/commands/branch/work-start.materialize.js +110 -0
  135. package/dist/commands/commit.spec.js +1 -1
  136. package/dist/commands/doctor/branch-pr.js +1 -1
  137. package/dist/commands/doctor/fixes.d.ts +0 -5
  138. package/dist/commands/doctor/fixes.d.ts.map +1 -1
  139. package/dist/commands/doctor/fixes.js +1 -71
  140. package/dist/commands/doctor/runtime.d.ts.map +1 -1
  141. package/dist/commands/doctor/runtime.js +2 -2
  142. package/dist/commands/doctor/workflow.d.ts.map +1 -1
  143. package/dist/commands/doctor/workflow.js +2 -23
  144. package/dist/commands/doctor/workspace.js +1 -1
  145. package/dist/commands/doctor.run.d.ts.map +1 -1
  146. package/dist/commands/doctor.run.js +1 -3
  147. package/dist/commands/finish.spec.js +1 -1
  148. package/dist/commands/guard/commit.command.js +1 -1
  149. package/dist/commands/guard/impl/clean.d.ts +6 -0
  150. package/dist/commands/guard/impl/clean.d.ts.map +1 -0
  151. package/dist/commands/guard/impl/clean.js +29 -0
  152. package/dist/commands/guard/impl/close-dirt.d.ts +6 -0
  153. package/dist/commands/guard/impl/close-dirt.d.ts.map +1 -0
  154. package/dist/commands/guard/impl/close-dirt.js +56 -0
  155. package/dist/commands/guard/impl/commands.d.ts +4 -36
  156. package/dist/commands/guard/impl/commands.d.ts.map +1 -1
  157. package/dist/commands/guard/impl/commands.js +4 -549
  158. package/dist/commands/guard/impl/comment-commit.js +1 -1
  159. package/dist/commands/guard/impl/commit-diagnostics.d.ts +4 -0
  160. package/dist/commands/guard/impl/commit-diagnostics.d.ts.map +1 -0
  161. package/dist/commands/guard/impl/commit-diagnostics.js +150 -0
  162. package/dist/commands/guard/impl/commit.d.ts +25 -0
  163. package/dist/commands/guard/impl/commit.d.ts.map +1 -0
  164. package/dist/commands/guard/impl/commit.js +366 -0
  165. package/dist/commands/guard/impl/guard-commit.d.ts +3 -0
  166. package/dist/commands/guard/impl/guard-commit.d.ts.map +1 -0
  167. package/dist/commands/guard/impl/guard-commit.js +21 -0
  168. package/dist/commands/guard/impl/policy.d.ts +1 -0
  169. package/dist/commands/guard/impl/policy.d.ts.map +1 -1
  170. package/dist/commands/guard/impl/policy.js +9 -2
  171. package/dist/commands/guard/impl/suggest.d.ts +6 -0
  172. package/dist/commands/guard/impl/suggest.d.ts.map +1 -0
  173. package/dist/commands/guard/impl/suggest.js +33 -0
  174. package/dist/commands/hooks/index.d.ts +4 -17
  175. package/dist/commands/hooks/index.d.ts.map +1 -1
  176. package/dist/commands/hooks/index.js +4 -415
  177. package/dist/commands/hooks/install.d.ts +11 -0
  178. package/dist/commands/hooks/install.d.ts.map +1 -0
  179. package/dist/commands/hooks/install.js +136 -0
  180. package/dist/commands/hooks/run.commit-msg.d.ts +3 -0
  181. package/dist/commands/hooks/run.commit-msg.d.ts.map +1 -0
  182. package/dist/commands/hooks/run.commit-msg.js +67 -0
  183. package/dist/commands/hooks/run.d.ts +9 -0
  184. package/dist/commands/hooks/run.d.ts.map +1 -0
  185. package/dist/commands/hooks/run.js +45 -0
  186. package/dist/commands/hooks/run.post-merge.d.ts +3 -0
  187. package/dist/commands/hooks/run.post-merge.d.ts.map +1 -0
  188. package/dist/commands/hooks/run.post-merge.js +44 -0
  189. package/dist/commands/hooks/run.pre-commit.d.ts +3 -0
  190. package/dist/commands/hooks/run.pre-commit.d.ts.map +1 -0
  191. package/dist/commands/hooks/run.pre-commit.js +48 -0
  192. package/dist/commands/hooks/run.pre-push.d.ts +6 -0
  193. package/dist/commands/hooks/run.pre-push.d.ts.map +1 -0
  194. package/dist/commands/hooks/run.pre-push.js +88 -0
  195. package/dist/commands/hooks/shared.d.ts +7 -0
  196. package/dist/commands/hooks/shared.d.ts.map +1 -0
  197. package/dist/commands/hooks/shared.js +41 -0
  198. package/dist/commands/pr/integrate/cmd.js +1 -1
  199. package/dist/commands/pr/integrate/internal/prepare.js +1 -1
  200. package/dist/commands/pr/internal/auto-commit.d.ts.map +1 -1
  201. package/dist/commands/pr/internal/auto-commit.js +2 -5
  202. package/dist/commands/pr/internal/gh-api.d.ts.map +1 -1
  203. package/dist/commands/pr/internal/gh-api.js +15 -8
  204. package/dist/commands/pr/internal/sync-branch.d.ts +0 -1
  205. package/dist/commands/pr/internal/sync-branch.d.ts.map +1 -1
  206. package/dist/commands/pr/internal/sync-branch.js +2 -5
  207. package/dist/commands/pr/internal/sync.d.ts.map +1 -1
  208. package/dist/commands/pr/internal/sync.js +30 -0
  209. package/dist/commands/pr/open.d.ts.map +1 -1
  210. package/dist/commands/pr/open.js +98 -8
  211. package/dist/commands/recipes/impl/index.d.ts.map +1 -1
  212. package/dist/commands/recipes/impl/index.js +13 -3
  213. package/dist/commands/recipes/impl/resolver.js +1 -1
  214. package/dist/commands/recipes/impl/version.js +1 -1
  215. package/dist/commands/release/apply.command.js +1 -1
  216. package/dist/commands/release/apply.mutation.d.ts +1 -0
  217. package/dist/commands/release/apply.mutation.d.ts.map +1 -1
  218. package/dist/commands/release/apply.mutation.js +4 -0
  219. package/dist/commands/release/apply.pipeline/finalize.d.ts +21 -0
  220. package/dist/commands/release/apply.pipeline/finalize.d.ts.map +1 -0
  221. package/dist/commands/release/apply.pipeline/finalize.js +80 -0
  222. package/dist/commands/release/apply.pipeline/mutation.d.ts +18 -0
  223. package/dist/commands/release/apply.pipeline/mutation.d.ts.map +1 -0
  224. package/dist/commands/release/apply.pipeline/mutation.js +78 -0
  225. package/dist/commands/release/apply.pipeline/preflight.d.ts +25 -0
  226. package/dist/commands/release/apply.pipeline/preflight.d.ts.map +1 -0
  227. package/dist/commands/release/apply.pipeline/preflight.js +69 -0
  228. package/dist/commands/release/apply.pipeline/shared.d.ts +2 -0
  229. package/dist/commands/release/apply.pipeline/shared.d.ts.map +1 -0
  230. package/dist/commands/release/apply.pipeline/shared.js +5 -0
  231. package/dist/commands/release/apply.pipeline/state.d.ts +25 -0
  232. package/dist/commands/release/apply.pipeline/state.d.ts.map +1 -0
  233. package/dist/commands/release/apply.pipeline/state.js +129 -0
  234. package/dist/commands/release/apply.pipeline.d.ts +1 -1
  235. package/dist/commands/release/apply.pipeline.d.ts.map +1 -1
  236. package/dist/commands/release/apply.pipeline.js +4 -347
  237. package/dist/commands/release/apply.preflight.d.ts +9 -6
  238. package/dist/commands/release/apply.preflight.d.ts.map +1 -1
  239. package/dist/commands/release/apply.preflight.js +71 -51
  240. package/dist/commands/runtime.command.d.ts +2 -2
  241. package/dist/commands/runtime.command.d.ts.map +1 -1
  242. package/dist/commands/runtime.command.js +2 -2
  243. package/dist/commands/scenario/impl/commands.d.ts.map +1 -1
  244. package/dist/commands/scenario/impl/commands.js +52 -39
  245. package/dist/commands/scenario/impl/report.d.ts.map +1 -1
  246. package/dist/commands/scenario/impl/report.js +4 -7
  247. package/dist/commands/shared/allow-prefix-policy.d.ts.map +1 -0
  248. package/dist/{shared → commands/shared}/allow-prefix-policy.js +1 -1
  249. package/dist/commands/shared/comment-format.d.ts.map +1 -0
  250. package/dist/commands/shared/diagnostics.d.ts.map +1 -0
  251. package/dist/commands/shared/git-context.d.ts +1 -27
  252. package/dist/commands/shared/git-context.d.ts.map +1 -1
  253. package/dist/commands/shared/git-context.js +1 -156
  254. package/dist/commands/shared/git-diff.d.ts +1 -10
  255. package/dist/commands/shared/git-diff.d.ts.map +1 -1
  256. package/dist/commands/shared/git-diff.js +1 -49
  257. package/dist/commands/shared/git-ops.d.ts +1 -14
  258. package/dist/commands/shared/git-ops.d.ts.map +1 -1
  259. package/dist/commands/shared/git-ops.js +20 -150
  260. package/dist/commands/shared/git-worktree.d.ts +1 -9
  261. package/dist/commands/shared/git-worktree.d.ts.map +1 -1
  262. package/dist/commands/shared/git-worktree.js +1 -68
  263. package/dist/commands/shared/git.d.ts +1 -3
  264. package/dist/commands/shared/git.d.ts.map +1 -1
  265. package/dist/commands/shared/git.js +1 -14
  266. package/dist/commands/shared/policy-deny.d.ts +1 -1
  267. package/dist/commands/shared/reconcile-check.js +1 -1
  268. package/dist/commands/shared/task-backend.d.ts.map +1 -1
  269. package/dist/commands/shared/task-backend.js +24 -2
  270. package/dist/commands/shared/task-store/intents.d.ts.map +1 -1
  271. package/dist/commands/shared/task-store/intents.js +1 -1
  272. package/dist/commands/start.spec.js +1 -1
  273. package/dist/commands/task/close-tail-state.d.ts +7 -0
  274. package/dist/commands/task/close-tail-state.d.ts.map +1 -0
  275. package/dist/commands/task/close-tail-state.js +18 -0
  276. package/dist/commands/task/derive.js +1 -1
  277. package/dist/commands/task/finish-close.d.ts +22 -0
  278. package/dist/commands/task/finish-close.d.ts.map +1 -0
  279. package/dist/commands/task/finish-close.js +119 -0
  280. package/dist/commands/task/finish-command.d.ts +3 -0
  281. package/dist/commands/task/finish-command.d.ts.map +1 -0
  282. package/dist/commands/task/finish-command.js +56 -0
  283. package/dist/commands/task/finish-execute.d.ts +8 -0
  284. package/dist/commands/task/finish-execute.d.ts.map +1 -0
  285. package/dist/commands/task/finish-execute.js +272 -0
  286. package/dist/commands/task/finish-findings.d.ts +20 -0
  287. package/dist/commands/task/finish-findings.d.ts.map +1 -0
  288. package/dist/commands/task/finish-findings.js +27 -0
  289. package/dist/commands/task/finish-plan.d.ts +7 -0
  290. package/dist/commands/task/finish-plan.d.ts.map +1 -0
  291. package/dist/commands/task/finish-plan.js +157 -0
  292. package/dist/commands/task/finish-types.d.ts +69 -0
  293. package/dist/commands/task/finish-types.d.ts.map +1 -0
  294. package/dist/commands/task/finish.d.ts +1 -42
  295. package/dist/commands/task/finish.d.ts.map +1 -1
  296. package/dist/commands/task/finish.js +1 -527
  297. package/dist/commands/task/hosted-close-pr.command.d.ts +2 -7
  298. package/dist/commands/task/hosted-close-pr.command.d.ts.map +1 -1
  299. package/dist/commands/task/hosted-close-pr.command.js +9 -348
  300. package/dist/commands/task/hosted-close-pr.execute.d.ts +3 -0
  301. package/dist/commands/task/hosted-close-pr.execute.d.ts.map +1 -0
  302. package/dist/commands/task/hosted-close-pr.execute.js +135 -0
  303. package/dist/commands/task/hosted-close-pr.postcheck.d.ts +3 -0
  304. package/dist/commands/task/hosted-close-pr.postcheck.d.ts.map +1 -0
  305. package/dist/commands/task/hosted-close-pr.postcheck.js +13 -0
  306. package/dist/commands/task/hosted-close-pr.precheck.d.ts +4 -0
  307. package/dist/commands/task/hosted-close-pr.precheck.d.ts.map +1 -0
  308. package/dist/commands/task/hosted-close-pr.precheck.js +288 -0
  309. package/dist/commands/task/hosted-close-pr.report.d.ts +4 -0
  310. package/dist/commands/task/hosted-close-pr.report.d.ts.map +1 -0
  311. package/dist/commands/task/hosted-close-pr.report.js +42 -0
  312. package/dist/commands/task/hosted-close-pr.types.d.ts +75 -0
  313. package/dist/commands/task/hosted-close-pr.types.d.ts.map +1 -0
  314. package/dist/commands/task/hosted-merge-sync/builders.d.ts +35 -0
  315. package/dist/commands/task/hosted-merge-sync/builders.d.ts.map +1 -0
  316. package/dist/commands/task/hosted-merge-sync/builders.js +148 -0
  317. package/dist/commands/task/hosted-merge-sync/github.d.ts +10 -0
  318. package/dist/commands/task/hosted-merge-sync/github.d.ts.map +1 -0
  319. package/dist/commands/task/hosted-merge-sync/github.js +113 -0
  320. package/dist/commands/task/hosted-merge-sync/local-branch.d.ts +12 -0
  321. package/dist/commands/task/hosted-merge-sync/local-branch.d.ts.map +1 -0
  322. package/dist/commands/task/hosted-merge-sync/local-branch.js +143 -0
  323. package/dist/commands/task/hosted-merge-sync/model.d.ts +47 -0
  324. package/dist/commands/task/hosted-merge-sync/model.d.ts.map +1 -0
  325. package/dist/commands/task/hosted-merge-sync/pr-meta.d.ts +12 -0
  326. package/dist/commands/task/hosted-merge-sync/pr-meta.d.ts.map +1 -0
  327. package/dist/commands/task/hosted-merge-sync/pr-meta.js +26 -0
  328. package/dist/commands/task/hosted-merge-sync.d.ts +5 -63
  329. package/dist/commands/task/hosted-merge-sync.d.ts.map +1 -1
  330. package/dist/commands/task/hosted-merge-sync.js +10 -444
  331. package/dist/commands/task/new.js +1 -1
  332. package/dist/commands/task/set-status.command.js +1 -1
  333. package/dist/commands/task/shared/direct-work-lock.d.ts.map +1 -0
  334. package/dist/commands/task/shared/git-log.d.ts.map +1 -0
  335. package/dist/commands/task/shared/transitions.d.ts +1 -1
  336. package/dist/commands/task/shared/transitions.d.ts.map +1 -1
  337. package/dist/commands/task/shared/transitions.js +4 -6
  338. package/dist/commands/upgrade/apply.js +1 -1
  339. package/dist/commands/upgrade/materialize.d.ts.map +1 -1
  340. package/dist/commands/upgrade/materialize.js +0 -7
  341. package/dist/commands/upgrade/source.d.ts +0 -1
  342. package/dist/commands/upgrade/source.d.ts.map +1 -1
  343. package/dist/commands/upgrade/source.js +1 -9
  344. package/dist/commands/workflow-playbook.command.d.ts.map +1 -1
  345. package/dist/commands/workflow-playbook.command.js +8 -7
  346. package/dist/harness/hooks-lifecycle.d.ts.map +1 -1
  347. package/dist/harness/hooks-lifecycle.js +11 -7
  348. package/dist/meta/release.d.ts.map +1 -1
  349. package/dist/meta/release.js +8 -4
  350. package/dist/policy/engine.d.ts +1 -1
  351. package/dist/policy/evaluate.d.ts +1 -1
  352. package/dist/policy/{types.d.ts → model.d.ts} +1 -1
  353. package/dist/policy/{types.d.ts.map → model.d.ts.map} +1 -1
  354. package/dist/policy/result.d.ts +1 -1
  355. package/dist/policy/rules/allowlist.d.ts +1 -1
  356. package/dist/policy/rules/branch-pr-base.d.ts +1 -1
  357. package/dist/policy/rules/clean-tree.d.ts +1 -1
  358. package/dist/policy/rules/commit-subject.d.ts +1 -1
  359. package/dist/policy/rules/protected-paths.d.ts +1 -1
  360. package/dist/runner/adapters/base.d.ts +42 -0
  361. package/dist/runner/adapters/base.d.ts.map +1 -0
  362. package/dist/runner/adapters/base.js +107 -0
  363. package/dist/runner/adapters/codex-preparation.d.ts +7 -0
  364. package/dist/runner/adapters/codex-preparation.d.ts.map +1 -0
  365. package/dist/runner/adapters/codex-preparation.js +86 -0
  366. package/dist/runner/adapters/codex.d.ts.map +1 -1
  367. package/dist/runner/adapters/codex.js +30 -175
  368. package/dist/runner/adapters/custom-preparation.d.ts +9 -0
  369. package/dist/runner/adapters/custom-preparation.d.ts.map +1 -0
  370. package/dist/runner/adapters/custom-preparation.js +191 -0
  371. package/dist/runner/adapters/custom.d.ts.map +1 -1
  372. package/dist/runner/adapters/custom.js +26 -279
  373. package/dist/runner/context/base-prompts.d.ts.map +1 -1
  374. package/dist/runner/context/base-prompts.js +4 -0
  375. package/dist/runner/context/project-skill-prompt-blocks.d.ts +5 -0
  376. package/dist/runner/context/project-skill-prompt-blocks.d.ts.map +1 -0
  377. package/dist/runner/context/project-skill-prompt-blocks.js +57 -0
  378. package/dist/runner/process-supervision/run.d.ts +30 -0
  379. package/dist/runner/process-supervision/run.d.ts.map +1 -0
  380. package/dist/runner/process-supervision/run.js +351 -0
  381. package/dist/runner/process-supervision/signals.d.ts +16 -0
  382. package/dist/runner/process-supervision/signals.d.ts.map +1 -0
  383. package/dist/runner/process-supervision/signals.js +85 -0
  384. package/dist/runner/process-supervision/state.d.ts +10 -0
  385. package/dist/runner/process-supervision/state.d.ts.map +1 -0
  386. package/dist/runner/process-supervision/state.js +42 -0
  387. package/dist/runner/process-supervision/streams.d.ts +6 -0
  388. package/dist/runner/process-supervision/streams.d.ts.map +1 -0
  389. package/dist/runner/process-supervision/streams.js +23 -0
  390. package/dist/runner/process-supervision.d.ts +5 -47
  391. package/dist/runner/process-supervision.d.ts.map +1 -1
  392. package/dist/runner/process-supervision.js +3 -490
  393. package/dist/runner/usecases/scenario-materialize-task.js +1 -1
  394. package/dist/runtime/approvals/index.d.ts +1 -1
  395. package/dist/runtime/approvals/{types.d.ts → model.d.ts} +1 -1
  396. package/dist/runtime/approvals/{types.d.ts.map → model.d.ts.map} +1 -1
  397. package/dist/runtime/approvals/runtime.d.ts +1 -1
  398. package/dist/runtime/behavior/index.d.ts +1 -1
  399. package/dist/runtime/behavior/{types.d.ts → model.d.ts} +1 -1
  400. package/dist/runtime/behavior/{types.d.ts.map → model.d.ts.map} +1 -1
  401. package/dist/runtime/behavior/model.js +1 -0
  402. package/dist/runtime/behavior/resolve.d.ts +1 -1
  403. package/dist/runtime/capabilities/backend.d.ts +1 -1
  404. package/dist/runtime/capabilities/index.d.ts +1 -1
  405. package/dist/runtime/capabilities/{types.d.ts → model.d.ts} +1 -1
  406. package/dist/runtime/capabilities/{types.d.ts.map → model.d.ts.map} +1 -1
  407. package/dist/runtime/capabilities/model.js +1 -0
  408. package/dist/runtime/capabilities/recipe.d.ts +1 -1
  409. package/dist/runtime/capabilities/registry.d.ts +1 -1
  410. package/dist/runtime/capabilities/runner.d.ts +1 -1
  411. package/dist/runtime/execution-context.d.ts.map +1 -1
  412. package/dist/runtime/execution-context.js +16 -0
  413. package/dist/runtime/execution-profile/index.d.ts +1 -1
  414. package/dist/runtime/execution-profile/{types.d.ts → model.d.ts} +1 -1
  415. package/dist/runtime/execution-profile/{types.d.ts.map → model.d.ts.map} +1 -1
  416. package/dist/runtime/execution-profile/model.js +1 -0
  417. package/dist/runtime/execution-profile/resolve.d.ts +1 -1
  418. package/dist/runtime/explain/index.d.ts +1 -1
  419. package/dist/runtime/explain/{types.d.ts → model.d.ts} +1 -1
  420. package/dist/runtime/explain/{types.d.ts.map → model.d.ts.map} +1 -1
  421. package/dist/runtime/explain/model.js +1 -0
  422. package/dist/runtime/explain/resolve.d.ts +1 -1
  423. package/dist/runtime/protocol/index.d.ts +1 -1
  424. package/dist/runtime/protocol/index.js +1 -1
  425. package/dist/runtime/protocol/{types.d.ts → model.d.ts} +1 -1
  426. package/dist/runtime/protocol/{types.d.ts.map → model.d.ts.map} +1 -1
  427. package/dist/runtime/protocol/resolve.d.ts +1 -1
  428. package/dist/runtime/protocol/resolve.js +1 -1
  429. package/dist/runtime/shared/repo-cli-version.d.ts.map +1 -0
  430. package/dist/{shared → runtime/shared}/repo-cli-version.js +1 -1
  431. package/dist/runtime/shared/runtime-artifacts.d.ts.map +1 -0
  432. package/dist/{shared → runtime/shared}/runtime-source.d.ts +1 -1
  433. package/dist/runtime/shared/runtime-source.d.ts.map +1 -0
  434. package/dist/{shared → runtime/shared}/runtime-source.js +1 -1
  435. package/dist/runtime/shared/version-compare.d.ts.map +1 -0
  436. package/dist/runtime/task-intake/resolve.js +1 -1
  437. package/dist/shared/errors.d.ts +56 -3
  438. package/dist/shared/errors.d.ts.map +1 -1
  439. package/dist/shared/errors.js +72 -4
  440. package/dist/shared/trace-events.d.ts +13 -0
  441. package/dist/shared/trace-events.d.ts.map +1 -0
  442. package/dist/shared/trace-events.js +17 -0
  443. package/dist/shared/workflow-artifacts.d.ts.map +1 -1
  444. package/dist/shared/workflow-artifacts.js +1 -8
  445. package/dist/{shared/task-doc-conflicts.d.ts → task-doc/conflicts.d.ts} +1 -1
  446. package/dist/task-doc/conflicts.d.ts.map +1 -0
  447. package/dist/{shared/task-doc-conflicts.js → task-doc/conflicts.js} +1 -1
  448. package/dist/{shared/task-doc-state.d.ts → task-doc/state.d.ts} +1 -1
  449. package/dist/task-doc/state.d.ts.map +1 -0
  450. package/dist/workflow-runtime/file-ops.d.ts.map +1 -1
  451. package/dist/workflow-runtime/file-ops.js +1 -20
  452. package/dist/workflow-runtime/paths.d.ts.map +1 -1
  453. package/dist/workflow-runtime/paths.js +0 -1
  454. package/dist/workflow-runtime/types.d.ts +0 -1
  455. package/dist/workflow-runtime/types.d.ts.map +1 -1
  456. package/package.json +8 -8
  457. package/dist/cli/run-cli/error-guidance.d.ts +0 -9
  458. package/dist/cli/run-cli/error-guidance.d.ts.map +0 -1
  459. package/dist/cli/run-cli/error-guidance.js +0 -210
  460. package/dist/cli/run-cli.test-helpers.d.ts +0 -2
  461. package/dist/cli/run-cli.test-helpers.d.ts.map +0 -1
  462. package/dist/cli/run-cli.test-helpers.js +0 -1
  463. package/dist/commands/recipes.test-helpers.d.ts +0 -202
  464. package/dist/commands/recipes.test-helpers.d.ts.map +0 -1
  465. package/dist/commands/recipes.test-helpers.js +0 -483
  466. package/dist/commands/release.test-helpers.d.ts +0 -38
  467. package/dist/commands/release.test-helpers.d.ts.map +0 -1
  468. package/dist/commands/release.test-helpers.js +0 -55
  469. package/dist/commands/task.test-helpers.d.ts +0 -13
  470. package/dist/commands/task.test-helpers.d.ts.map +0 -1
  471. package/dist/commands/task.test-helpers.js +0 -65
  472. package/dist/runner/test-helpers.d.ts +0 -30
  473. package/dist/runner/test-helpers.d.ts.map +0 -1
  474. package/dist/runner/test-helpers.js +0 -97
  475. package/dist/shared/agent-emoji.d.ts +0 -5
  476. package/dist/shared/agent-emoji.d.ts.map +0 -1
  477. package/dist/shared/agent-emoji.js +0 -51
  478. package/dist/shared/allow-prefix-policy.d.ts.map +0 -1
  479. package/dist/shared/comment-format.d.ts.map +0 -1
  480. package/dist/shared/diagnostics.d.ts.map +0 -1
  481. package/dist/shared/direct-work-lock.d.ts.map +0 -1
  482. package/dist/shared/git-log.d.ts.map +0 -1
  483. package/dist/shared/repo-cli-version.d.ts.map +0 -1
  484. package/dist/shared/runtime-artifacts.d.ts.map +0 -1
  485. package/dist/shared/runtime-source.d.ts.map +0 -1
  486. package/dist/shared/task-doc-conflicts.d.ts.map +0 -1
  487. package/dist/shared/task-doc-state.d.ts.map +0 -1
  488. package/dist/shared/version-compare.d.ts.map +0 -1
  489. package/dist/testing/cli-harness/recipe-archives.d.ts +0 -28
  490. package/dist/testing/cli-harness/recipe-archives.d.ts.map +0 -1
  491. package/dist/testing/cli-harness/recipe-archives.js +0 -374
  492. package/dist/testing/cli-harness/stdio.d.ts +0 -26
  493. package/dist/testing/cli-harness/stdio.d.ts.map +0 -1
  494. package/dist/testing/cli-harness/stdio.js +0 -84
  495. package/dist/testing/cli-harness.d.ts +0 -25
  496. package/dist/testing/cli-harness.d.ts.map +0 -1
  497. package/dist/testing/cli-harness.js +0 -313
  498. package/dist/testing/index.d.ts +0 -2
  499. package/dist/testing/index.d.ts.map +0 -1
  500. package/dist/testing/index.js +0 -1
  501. /package/dist/{policy/types.js → cli/run-cli/commands/init/model.js} +0 -0
  502. /package/dist/{shared → commands/shared}/allow-prefix-policy.d.ts +0 -0
  503. /package/dist/{shared → commands/shared}/comment-format.d.ts +0 -0
  504. /package/dist/{shared → commands/shared}/comment-format.js +0 -0
  505. /package/dist/{shared → commands/shared}/diagnostics.d.ts +0 -0
  506. /package/dist/{shared → commands/shared}/diagnostics.js +0 -0
  507. /package/dist/{runtime/approvals/types.js → commands/task/finish-types.js} +0 -0
  508. /package/dist/{runtime/behavior/types.js → commands/task/hosted-close-pr.types.js} +0 -0
  509. /package/dist/{runtime/capabilities/types.js → commands/task/hosted-merge-sync/model.js} +0 -0
  510. /package/dist/{shared → commands/task/shared}/direct-work-lock.d.ts +0 -0
  511. /package/dist/{shared → commands/task/shared}/direct-work-lock.js +0 -0
  512. /package/dist/{shared → commands/task/shared}/git-log.d.ts +0 -0
  513. /package/dist/{shared → commands/task/shared}/git-log.js +0 -0
  514. /package/dist/{runtime/execution-profile/types.js → policy/model.js} +0 -0
  515. /package/dist/runtime/{explain/types.js → approvals/model.js} +0 -0
  516. /package/dist/runtime/protocol/{types.js → model.js} +0 -0
  517. /package/dist/{shared → runtime/shared}/repo-cli-version.d.ts +0 -0
  518. /package/dist/{shared → runtime/shared}/runtime-artifacts.d.ts +0 -0
  519. /package/dist/{shared → runtime/shared}/runtime-artifacts.js +0 -0
  520. /package/dist/{shared → runtime/shared}/version-compare.d.ts +0 -0
  521. /package/dist/{shared → runtime/shared}/version-compare.js +0 -0
  522. /package/dist/{shared/task-doc-state.js → task-doc/state.js} +0 -0
@@ -0,0 +1,157 @@
1
+ import { CliError } from "../../shared/errors.js";
2
+ import { backendUsesLocalTaskStore } from "../shared/task-backend.js";
3
+ import { getTaskStore } from "../shared/task-store.js";
4
+ import { requireStructuredComment } from "./shared.js";
5
+ export function resolveFinishExecutionPlan(opts) {
6
+ const { ctx, options } = opts;
7
+ const { prefix, min_chars: minChars } = ctx.config.tasks.comments.verified;
8
+ requireStructuredComment(options.body, prefix, minChars);
9
+ const statusCommitRequested = options.statusCommit;
10
+ if ((options.commitFromComment || statusCommitRequested) && options.taskIds.length !== 1) {
11
+ throw new CliError({
12
+ exitCode: 2,
13
+ code: "E_USAGE",
14
+ message: "--commit-from-comment/--status-commit requires exactly one task id",
15
+ });
16
+ }
17
+ if (options.commitFromComment && statusCommitRequested) {
18
+ throw new CliError({
19
+ exitCode: 2,
20
+ code: "E_USAGE",
21
+ message: "--commit-from-comment cannot be combined with --status-commit in finish; use one deterministic commit path.",
22
+ });
23
+ }
24
+ if ((options.closeCommit || options.noCloseCommit) && options.taskIds.length !== 1) {
25
+ throw new CliError({
26
+ exitCode: 2,
27
+ code: "E_USAGE",
28
+ message: "--close-commit/--no-close-commit requires exactly one task id",
29
+ });
30
+ }
31
+ if (options.closeCommit && options.noCloseCommit) {
32
+ throw new CliError({
33
+ exitCode: 2,
34
+ code: "E_USAGE",
35
+ message: "--close-commit and --no-close-commit are mutually exclusive",
36
+ });
37
+ }
38
+ if ((options.closeCommit || options.noCloseCommit) &&
39
+ (options.commitFromComment || options.statusCommit)) {
40
+ throw new CliError({
41
+ exitCode: 2,
42
+ code: "E_USAGE",
43
+ message: "--close-commit/--no-close-commit cannot be combined with --commit-from-comment/--status-commit",
44
+ });
45
+ }
46
+ const primaryTaskId = options.taskIds[0] ?? "";
47
+ if ((options.commitFromComment || statusCommitRequested) && !primaryTaskId) {
48
+ throw new CliError({
49
+ exitCode: 2,
50
+ code: "E_USAGE",
51
+ message: "--commit-from-comment/--status-commit requires exactly one task id",
52
+ });
53
+ }
54
+ if (options.commitAutoAllow) {
55
+ throw new CliError({
56
+ exitCode: 2,
57
+ code: "E_USAGE",
58
+ message: "--commit-auto-allow is disabled; pass explicit --commit-allow <path-prefix>.",
59
+ });
60
+ }
61
+ if (options.statusCommitAutoAllow) {
62
+ throw new CliError({
63
+ exitCode: 2,
64
+ code: "E_USAGE",
65
+ message: "--status-commit-auto-allow is disabled; pass explicit --status-commit-allow <path-prefix>.",
66
+ });
67
+ }
68
+ if (options.commitFromComment && options.commitAllow.length === 0) {
69
+ throw new CliError({
70
+ exitCode: 2,
71
+ code: "E_USAGE",
72
+ message: "--commit-from-comment requires --commit-allow <path-prefix>",
73
+ });
74
+ }
75
+ if (statusCommitRequested && options.statusCommitAllow.length === 0) {
76
+ throw new CliError({
77
+ exitCode: 2,
78
+ code: "E_USAGE",
79
+ message: "--status-commit requires --status-commit-allow <path-prefix>",
80
+ });
81
+ }
82
+ const useStore = backendUsesLocalTaskStore(ctx);
83
+ const store = useStore ? getTaskStore(ctx) : null;
84
+ const backendWritesTaskReadmes = ctx.taskBackend.capabilities.writes_task_readmes === true;
85
+ const defaultDirectCloseCommit = ctx.config.workflow_mode === "direct" &&
86
+ backendWritesTaskReadmes &&
87
+ options.taskIds.length === 1 &&
88
+ !options.commitFromComment &&
89
+ !statusCommitRequested;
90
+ const defaultBranchPrCloseCommit = ctx.config.workflow_mode === "branch_pr" &&
91
+ backendWritesTaskReadmes &&
92
+ options.taskIds.length === 1 &&
93
+ !options.commitFromComment &&
94
+ !statusCommitRequested;
95
+ const statusPathRequiresTrackedTaskCommit = backendWritesTaskReadmes &&
96
+ options.taskIds.length === 1 &&
97
+ (options.commitFromComment || statusCommitRequested);
98
+ const shouldCloseCommit = options.closeCommit === true ||
99
+ statusPathRequiresTrackedTaskCommit ||
100
+ (defaultDirectCloseCommit && options.noCloseCommit !== true) ||
101
+ (defaultBranchPrCloseCommit && options.noCloseCommit !== true);
102
+ const metaTaskId = options.taskIds.length === 1 ? (options.taskIds[0] ?? "") : "";
103
+ const wantMeta = typeof options.result === "string" ||
104
+ typeof options.risk === "string" ||
105
+ options.breaking === true;
106
+ const resultProvided = typeof options.result === "string";
107
+ if (wantMeta && options.taskIds.length !== 1) {
108
+ throw new CliError({
109
+ exitCode: 2,
110
+ code: "E_USAGE",
111
+ message: "--result/--risk/--breaking requires exactly one task id",
112
+ });
113
+ }
114
+ const resultSummary = typeof options.result === "string" ? options.result.trim() : "";
115
+ const riskLevel = options.risk;
116
+ const breaking = options.breaking === true;
117
+ const finishFinding = resolveFinishFinding(options);
118
+ if (finishFinding && options.taskIds.length !== 1) {
119
+ throw new CliError({
120
+ exitCode: 2,
121
+ code: "E_USAGE",
122
+ message: "--observation/--impact/--resolution and incident finding options require exactly one task id",
123
+ });
124
+ }
125
+ return {
126
+ useStore,
127
+ store,
128
+ statusCommitRequested,
129
+ primaryTaskId,
130
+ metaTaskId,
131
+ resultProvided,
132
+ resultSummary,
133
+ riskLevel,
134
+ breaking,
135
+ finishFinding,
136
+ shouldCloseCommit,
137
+ };
138
+ }
139
+ function resolveFinishFinding(options) {
140
+ if (typeof options.observation !== "string" ||
141
+ typeof options.impact !== "string" ||
142
+ typeof options.resolution !== "string") {
143
+ return null;
144
+ }
145
+ return {
146
+ observation: options.observation,
147
+ impact: options.impact,
148
+ resolution: options.resolution,
149
+ localOnly: options.localOnly === true,
150
+ repoFixable: options.repoFixable === true,
151
+ incidentScope: options.incidentScope,
152
+ incidentTags: options.incidentTags ?? [],
153
+ incidentMatch: options.incidentMatch ?? [],
154
+ incidentAdvice: options.incidentAdvice,
155
+ incidentRule: options.incidentRule,
156
+ };
157
+ }
@@ -0,0 +1,69 @@
1
+ import type { CommandContext } from "../shared/task-backend.js";
2
+ import type { TaskStore } from "../shared/task-store.js";
3
+ export type FinishOptions = {
4
+ ctx?: CommandContext;
5
+ cwd: string;
6
+ rootOverride?: string;
7
+ taskIds: string[];
8
+ author: string;
9
+ body: string;
10
+ result?: string;
11
+ risk?: "low" | "med" | "high";
12
+ breaking: boolean;
13
+ commit?: string;
14
+ force: boolean;
15
+ yes?: boolean;
16
+ commitFromComment: boolean;
17
+ commitEmoji?: string;
18
+ commitAllow: string[];
19
+ commitAutoAllow: boolean;
20
+ commitAllowTasks: boolean;
21
+ commitRequireClean: boolean;
22
+ statusCommit: boolean;
23
+ statusCommitEmoji?: string;
24
+ statusCommitAllow: string[];
25
+ statusCommitAutoAllow: boolean;
26
+ statusCommitRequireClean: boolean;
27
+ confirmStatusCommit: boolean;
28
+ closeCommit?: boolean;
29
+ noCloseCommit?: boolean;
30
+ closeUnstageOthers?: boolean;
31
+ baseBranchOverride?: string;
32
+ observation?: string;
33
+ impact?: string;
34
+ resolution?: string;
35
+ localOnly?: boolean;
36
+ repoFixable?: boolean;
37
+ incidentScope?: string;
38
+ incidentTags?: string[];
39
+ incidentMatch?: string[];
40
+ incidentAdvice?: string;
41
+ incidentRule?: string;
42
+ quiet: boolean;
43
+ };
44
+ export type FinishStructuredFinding = {
45
+ observation: string;
46
+ impact: string;
47
+ resolution: string;
48
+ localOnly: boolean;
49
+ repoFixable: boolean;
50
+ incidentScope?: string;
51
+ incidentTags: string[];
52
+ incidentMatch: string[];
53
+ incidentAdvice?: string;
54
+ incidentRule?: string;
55
+ };
56
+ export type FinishExecutionPlan = {
57
+ useStore: boolean;
58
+ store: TaskStore | null;
59
+ statusCommitRequested: boolean;
60
+ primaryTaskId: string;
61
+ metaTaskId: string;
62
+ resultProvided: boolean;
63
+ resultSummary: string;
64
+ riskLevel?: "low" | "med" | "high";
65
+ breaking: boolean;
66
+ finishFinding: FinishStructuredFinding | null;
67
+ shouldCloseCommit: boolean;
68
+ };
69
+ //# sourceMappingURL=finish-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"finish-types.d.ts","sourceRoot":"","sources":["../../../src/commands/task/finish-types.ts"],"names":[],"mappings":"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"}
@@ -1,43 +1,2 @@
1
- import { type CommandContext } from "../shared/task-backend.js";
2
- export declare function cmdFinish(opts: {
3
- ctx?: CommandContext;
4
- cwd: string;
5
- rootOverride?: string;
6
- taskIds: string[];
7
- author: string;
8
- body: string;
9
- result?: string;
10
- risk?: "low" | "med" | "high";
11
- breaking: boolean;
12
- commit?: string;
13
- force: boolean;
14
- yes?: boolean;
15
- commitFromComment: boolean;
16
- commitEmoji?: string;
17
- commitAllow: string[];
18
- commitAutoAllow: boolean;
19
- commitAllowTasks: boolean;
20
- commitRequireClean: boolean;
21
- statusCommit: boolean;
22
- statusCommitEmoji?: string;
23
- statusCommitAllow: string[];
24
- statusCommitAutoAllow: boolean;
25
- statusCommitRequireClean: boolean;
26
- confirmStatusCommit: boolean;
27
- closeCommit?: boolean;
28
- noCloseCommit?: boolean;
29
- closeUnstageOthers?: boolean;
30
- baseBranchOverride?: string;
31
- observation?: string;
32
- impact?: string;
33
- resolution?: string;
34
- localOnly?: boolean;
35
- repoFixable?: boolean;
36
- incidentScope?: string;
37
- incidentTags?: string[];
38
- incidentMatch?: string[];
39
- incidentAdvice?: string;
40
- incidentRule?: string;
41
- quiet: boolean;
42
- }): Promise<number>;
1
+ export { cmdFinish } from "./finish-command.js";
43
2
  //# sourceMappingURL=finish.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"finish.d.ts","sourceRoot":"","sources":["../../../src/commands/task/finish.ts"],"names":[],"mappings":"AAaA,OAAO,EAGL,KAAK,cAAc,EACpB,MAAM,2BAA2B,CAAC;AAuMnC,wBAAsB,SAAS,CAAC,IAAI,EAAE;IACpC,GAAG,CAAC,EAAE,cAAc,CAAC;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,KAAK,GAAG,KAAK,GAAG,MAAM,CAAC;IAC9B,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,iBAAiB,EAAE,OAAO,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,eAAe,EAAE,OAAO,CAAC;IACzB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,YAAY,EAAE,OAAO,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,qBAAqB,EAAE,OAAO,CAAC;IAC/B,wBAAwB,EAAE,OAAO,CAAC;IAClC,mBAAmB,EAAE,OAAO,CAAC;IAC7B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,OAAO,CAAC;CAChB,GAAG,OAAO,CAAC,MAAM,CAAC,CAsalB"}
1
+ {"version":3,"file":"finish.d.ts","sourceRoot":"","sources":["../../../src/commands/task/finish.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC"}