@chief-clancy/core 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (635) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +50 -0
  3. package/dist/board/azdo/api/api.d.ts +95 -0
  4. package/dist/board/azdo/api/api.d.ts.map +1 -0
  5. package/dist/board/azdo/api/api.js +173 -0
  6. package/dist/board/azdo/api/api.js.map +1 -0
  7. package/dist/board/azdo/api/helpers.d.ts +89 -0
  8. package/dist/board/azdo/api/helpers.d.ts.map +1 -0
  9. package/dist/board/azdo/api/helpers.js +133 -0
  10. package/dist/board/azdo/api/helpers.js.map +1 -0
  11. package/dist/board/azdo/api/index.d.ts +5 -0
  12. package/dist/board/azdo/api/index.d.ts.map +1 -0
  13. package/dist/board/azdo/api/index.js +3 -0
  14. package/dist/board/azdo/api/index.js.map +1 -0
  15. package/dist/board/azdo/azdo-board.d.ts +12 -0
  16. package/dist/board/azdo/azdo-board.d.ts.map +1 -0
  17. package/dist/board/azdo/azdo-board.js +104 -0
  18. package/dist/board/azdo/azdo-board.js.map +1 -0
  19. package/dist/board/azdo/index.d.ts +3 -0
  20. package/dist/board/azdo/index.d.ts.map +1 -0
  21. package/dist/board/azdo/index.js +3 -0
  22. package/dist/board/azdo/index.js.map +1 -0
  23. package/dist/board/azdo/labels/index.d.ts +2 -0
  24. package/dist/board/azdo/labels/index.d.ts.map +1 -0
  25. package/dist/board/azdo/labels/index.js +2 -0
  26. package/dist/board/azdo/labels/index.js.map +1 -0
  27. package/dist/board/azdo/labels/labels.d.ts +27 -0
  28. package/dist/board/azdo/labels/labels.d.ts.map +1 -0
  29. package/dist/board/azdo/labels/labels.js +64 -0
  30. package/dist/board/azdo/labels/labels.js.map +1 -0
  31. package/dist/board/azdo/relations/index.d.ts +2 -0
  32. package/dist/board/azdo/relations/index.d.ts.map +1 -0
  33. package/dist/board/azdo/relations/index.js +2 -0
  34. package/dist/board/azdo/relations/index.js.map +1 -0
  35. package/dist/board/azdo/relations/relations.d.ts +37 -0
  36. package/dist/board/azdo/relations/relations.d.ts.map +1 -0
  37. package/dist/board/azdo/relations/relations.js +109 -0
  38. package/dist/board/azdo/relations/relations.js.map +1 -0
  39. package/dist/board/detect-board.d.ts +28 -0
  40. package/dist/board/detect-board.d.ts.map +1 -0
  41. package/dist/board/detect-board.js +80 -0
  42. package/dist/board/detect-board.js.map +1 -0
  43. package/dist/board/factory/factory.d.ts +18 -0
  44. package/dist/board/factory/factory.d.ts.map +1 -0
  45. package/dist/board/factory/factory.js +34 -0
  46. package/dist/board/factory/factory.js.map +1 -0
  47. package/dist/board/factory/index.d.ts +2 -0
  48. package/dist/board/factory/index.d.ts.map +1 -0
  49. package/dist/board/factory/index.js +2 -0
  50. package/dist/board/factory/index.js.map +1 -0
  51. package/dist/board/github/api/api.d.ts +86 -0
  52. package/dist/board/github/api/api.d.ts.map +1 -0
  53. package/dist/board/github/api/api.js +161 -0
  54. package/dist/board/github/api/api.js.map +1 -0
  55. package/dist/board/github/api/index.d.ts +3 -0
  56. package/dist/board/github/api/index.d.ts.map +1 -0
  57. package/dist/board/github/api/index.js +2 -0
  58. package/dist/board/github/api/index.js.map +1 -0
  59. package/dist/board/github/github-board.d.ts +19 -0
  60. package/dist/board/github/github-board.d.ts.map +1 -0
  61. package/dist/board/github/github-board.js +104 -0
  62. package/dist/board/github/github-board.js.map +1 -0
  63. package/dist/board/github/index.d.ts +3 -0
  64. package/dist/board/github/index.d.ts.map +1 -0
  65. package/dist/board/github/index.js +3 -0
  66. package/dist/board/github/index.js.map +1 -0
  67. package/dist/board/github/labels/index.d.ts +2 -0
  68. package/dist/board/github/labels/index.d.ts.map +1 -0
  69. package/dist/board/github/labels/index.js +2 -0
  70. package/dist/board/github/labels/index.js.map +1 -0
  71. package/dist/board/github/labels/labels.d.ts +42 -0
  72. package/dist/board/github/labels/labels.d.ts.map +1 -0
  73. package/dist/board/github/labels/labels.js +93 -0
  74. package/dist/board/github/labels/labels.js.map +1 -0
  75. package/dist/board/github/relations/index.d.ts +2 -0
  76. package/dist/board/github/relations/index.d.ts.map +1 -0
  77. package/dist/board/github/relations/index.js +2 -0
  78. package/dist/board/github/relations/index.js.map +1 -0
  79. package/dist/board/github/relations/relations.d.ts +54 -0
  80. package/dist/board/github/relations/relations.d.ts.map +1 -0
  81. package/dist/board/github/relations/relations.js +152 -0
  82. package/dist/board/github/relations/relations.js.map +1 -0
  83. package/dist/board/index.d.ts +2 -0
  84. package/dist/board/index.d.ts.map +1 -0
  85. package/dist/board/index.js +2 -0
  86. package/dist/board/index.js.map +1 -0
  87. package/dist/board/jira/api/api.d.ts +129 -0
  88. package/dist/board/jira/api/api.d.ts.map +1 -0
  89. package/dist/board/jira/api/api.js +207 -0
  90. package/dist/board/jira/api/api.js.map +1 -0
  91. package/dist/board/jira/api/index.d.ts +3 -0
  92. package/dist/board/jira/api/index.d.ts.map +1 -0
  93. package/dist/board/jira/api/index.js +2 -0
  94. package/dist/board/jira/api/index.js.map +1 -0
  95. package/dist/board/jira/index.d.ts +3 -0
  96. package/dist/board/jira/index.d.ts.map +1 -0
  97. package/dist/board/jira/index.js +3 -0
  98. package/dist/board/jira/index.js.map +1 -0
  99. package/dist/board/jira/jira-board.d.ts +12 -0
  100. package/dist/board/jira/jira-board.d.ts.map +1 -0
  101. package/dist/board/jira/jira-board.js +112 -0
  102. package/dist/board/jira/jira-board.js.map +1 -0
  103. package/dist/board/jira/labels/index.d.ts +2 -0
  104. package/dist/board/jira/labels/index.d.ts.map +1 -0
  105. package/dist/board/jira/labels/index.js +2 -0
  106. package/dist/board/jira/labels/index.js.map +1 -0
  107. package/dist/board/jira/labels/labels.d.ts +34 -0
  108. package/dist/board/jira/labels/labels.d.ts.map +1 -0
  109. package/dist/board/jira/labels/labels.js +69 -0
  110. package/dist/board/jira/labels/labels.js.map +1 -0
  111. package/dist/board/jira/relations/index.d.ts +2 -0
  112. package/dist/board/jira/relations/index.d.ts.map +1 -0
  113. package/dist/board/jira/relations/index.js +2 -0
  114. package/dist/board/jira/relations/index.js.map +1 -0
  115. package/dist/board/jira/relations/relations.d.ts +44 -0
  116. package/dist/board/jira/relations/relations.d.ts.map +1 -0
  117. package/dist/board/jira/relations/relations.js +111 -0
  118. package/dist/board/jira/relations/relations.js.map +1 -0
  119. package/dist/board/linear/api/api.d.ts +68 -0
  120. package/dist/board/linear/api/api.d.ts.map +1 -0
  121. package/dist/board/linear/api/api.js +179 -0
  122. package/dist/board/linear/api/api.js.map +1 -0
  123. package/dist/board/linear/api/index.d.ts +2 -0
  124. package/dist/board/linear/api/index.d.ts.map +1 -0
  125. package/dist/board/linear/api/index.js +2 -0
  126. package/dist/board/linear/api/index.js.map +1 -0
  127. package/dist/board/linear/index.d.ts +3 -0
  128. package/dist/board/linear/index.d.ts.map +1 -0
  129. package/dist/board/linear/index.js +3 -0
  130. package/dist/board/linear/index.js.map +1 -0
  131. package/dist/board/linear/labels/index.d.ts +2 -0
  132. package/dist/board/linear/labels/index.d.ts.map +1 -0
  133. package/dist/board/linear/labels/index.js +2 -0
  134. package/dist/board/linear/labels/index.js.map +1 -0
  135. package/dist/board/linear/labels/labels.d.ts +63 -0
  136. package/dist/board/linear/labels/labels.d.ts.map +1 -0
  137. package/dist/board/linear/labels/labels.js +204 -0
  138. package/dist/board/linear/labels/labels.js.map +1 -0
  139. package/dist/board/linear/linear-board.d.ts +18 -0
  140. package/dist/board/linear/linear-board.d.ts.map +1 -0
  141. package/dist/board/linear/linear-board.js +115 -0
  142. package/dist/board/linear/linear-board.js.map +1 -0
  143. package/dist/board/linear/relations/index.d.ts +2 -0
  144. package/dist/board/linear/relations/index.d.ts.map +1 -0
  145. package/dist/board/linear/relations/index.js +2 -0
  146. package/dist/board/linear/relations/index.js.map +1 -0
  147. package/dist/board/linear/relations/relations.d.ts +67 -0
  148. package/dist/board/linear/relations/relations.d.ts.map +1 -0
  149. package/dist/board/linear/relations/relations.js +195 -0
  150. package/dist/board/linear/relations/relations.js.map +1 -0
  151. package/dist/board/notion/api/api.d.ts +83 -0
  152. package/dist/board/notion/api/api.d.ts.map +1 -0
  153. package/dist/board/notion/api/api.js +124 -0
  154. package/dist/board/notion/api/api.js.map +1 -0
  155. package/dist/board/notion/api/helpers.d.ts +105 -0
  156. package/dist/board/notion/api/helpers.d.ts.map +1 -0
  157. package/dist/board/notion/api/helpers.js +175 -0
  158. package/dist/board/notion/api/helpers.js.map +1 -0
  159. package/dist/board/notion/api/index.d.ts +4 -0
  160. package/dist/board/notion/api/index.d.ts.map +1 -0
  161. package/dist/board/notion/api/index.js +3 -0
  162. package/dist/board/notion/api/index.js.map +1 -0
  163. package/dist/board/notion/index.d.ts +3 -0
  164. package/dist/board/notion/index.d.ts.map +1 -0
  165. package/dist/board/notion/index.js +3 -0
  166. package/dist/board/notion/index.js.map +1 -0
  167. package/dist/board/notion/labels/index.d.ts +2 -0
  168. package/dist/board/notion/labels/index.d.ts.map +1 -0
  169. package/dist/board/notion/labels/index.js +2 -0
  170. package/dist/board/notion/labels/index.js.map +1 -0
  171. package/dist/board/notion/labels/labels.d.ts +30 -0
  172. package/dist/board/notion/labels/labels.d.ts.map +1 -0
  173. package/dist/board/notion/labels/labels.js +56 -0
  174. package/dist/board/notion/labels/labels.js.map +1 -0
  175. package/dist/board/notion/notion-board.d.ts +12 -0
  176. package/dist/board/notion/notion-board.d.ts.map +1 -0
  177. package/dist/board/notion/notion-board.js +156 -0
  178. package/dist/board/notion/notion-board.js.map +1 -0
  179. package/dist/board/notion/relations/index.d.ts +2 -0
  180. package/dist/board/notion/relations/index.d.ts.map +1 -0
  181. package/dist/board/notion/relations/index.js +2 -0
  182. package/dist/board/notion/relations/index.js.map +1 -0
  183. package/dist/board/notion/relations/relations.d.ts +43 -0
  184. package/dist/board/notion/relations/relations.d.ts.map +1 -0
  185. package/dist/board/notion/relations/relations.js +127 -0
  186. package/dist/board/notion/relations/relations.js.map +1 -0
  187. package/dist/board/shortcut/api/api.d.ts +110 -0
  188. package/dist/board/shortcut/api/api.d.ts.map +1 -0
  189. package/dist/board/shortcut/api/api.js +227 -0
  190. package/dist/board/shortcut/api/api.js.map +1 -0
  191. package/dist/board/shortcut/api/index.d.ts +2 -0
  192. package/dist/board/shortcut/api/index.d.ts.map +1 -0
  193. package/dist/board/shortcut/api/index.js +2 -0
  194. package/dist/board/shortcut/api/index.js.map +1 -0
  195. package/dist/board/shortcut/index.d.ts +3 -0
  196. package/dist/board/shortcut/index.d.ts.map +1 -0
  197. package/dist/board/shortcut/index.js +3 -0
  198. package/dist/board/shortcut/index.js.map +1 -0
  199. package/dist/board/shortcut/labels/index.d.ts +2 -0
  200. package/dist/board/shortcut/labels/index.d.ts.map +1 -0
  201. package/dist/board/shortcut/labels/index.js +2 -0
  202. package/dist/board/shortcut/labels/index.js.map +1 -0
  203. package/dist/board/shortcut/labels/labels.d.ts +95 -0
  204. package/dist/board/shortcut/labels/labels.d.ts.map +1 -0
  205. package/dist/board/shortcut/labels/labels.js +154 -0
  206. package/dist/board/shortcut/labels/labels.js.map +1 -0
  207. package/dist/board/shortcut/relations/index.d.ts +2 -0
  208. package/dist/board/shortcut/relations/index.d.ts.map +1 -0
  209. package/dist/board/shortcut/relations/index.js +2 -0
  210. package/dist/board/shortcut/relations/index.js.map +1 -0
  211. package/dist/board/shortcut/relations/relations.d.ts +44 -0
  212. package/dist/board/shortcut/relations/relations.d.ts.map +1 -0
  213. package/dist/board/shortcut/relations/relations.js +118 -0
  214. package/dist/board/shortcut/relations/relations.js.map +1 -0
  215. package/dist/board/shortcut/shortcut-board.d.ts +18 -0
  216. package/dist/board/shortcut/shortcut-board.d.ts.map +1 -0
  217. package/dist/board/shortcut/shortcut-board.js +143 -0
  218. package/dist/board/shortcut/shortcut-board.js.map +1 -0
  219. package/dist/dev/lifecycle/branch/branch.d.ts +35 -0
  220. package/dist/dev/lifecycle/branch/branch.d.ts.map +1 -0
  221. package/dist/dev/lifecycle/branch/branch.js +48 -0
  222. package/dist/dev/lifecycle/branch/branch.js.map +1 -0
  223. package/dist/dev/lifecycle/branch/index.d.ts +2 -0
  224. package/dist/dev/lifecycle/branch/index.d.ts.map +1 -0
  225. package/dist/dev/lifecycle/branch/index.js +2 -0
  226. package/dist/dev/lifecycle/branch/index.js.map +1 -0
  227. package/dist/dev/lifecycle/commit-type/commit-type.d.ts +22 -0
  228. package/dist/dev/lifecycle/commit-type/commit-type.d.ts.map +1 -0
  229. package/dist/dev/lifecycle/commit-type/commit-type.js +50 -0
  230. package/dist/dev/lifecycle/commit-type/commit-type.js.map +1 -0
  231. package/dist/dev/lifecycle/commit-type/index.d.ts +2 -0
  232. package/dist/dev/lifecycle/commit-type/index.d.ts.map +1 -0
  233. package/dist/dev/lifecycle/commit-type/index.js +2 -0
  234. package/dist/dev/lifecycle/commit-type/index.js.map +1 -0
  235. package/dist/dev/lifecycle/cost/cost.d.ts +28 -0
  236. package/dist/dev/lifecycle/cost/cost.d.ts.map +1 -0
  237. package/dist/dev/lifecycle/cost/cost.js +36 -0
  238. package/dist/dev/lifecycle/cost/cost.js.map +1 -0
  239. package/dist/dev/lifecycle/deliver-epic/deliver-epic.d.ts +44 -0
  240. package/dist/dev/lifecycle/deliver-epic/deliver-epic.d.ts.map +1 -0
  241. package/dist/dev/lifecycle/deliver-epic/deliver-epic.js +75 -0
  242. package/dist/dev/lifecycle/deliver-epic/deliver-epic.js.map +1 -0
  243. package/dist/dev/lifecycle/deliver-ticket/deliver-ticket.d.ts +51 -0
  244. package/dist/dev/lifecycle/deliver-ticket/deliver-ticket.d.ts.map +1 -0
  245. package/dist/dev/lifecycle/deliver-ticket/deliver-ticket.js +132 -0
  246. package/dist/dev/lifecycle/deliver-ticket/deliver-ticket.js.map +1 -0
  247. package/dist/dev/lifecycle/epic/epic.d.ts +66 -0
  248. package/dist/dev/lifecycle/epic/epic.d.ts.map +1 -0
  249. package/dist/dev/lifecycle/epic/epic.js +91 -0
  250. package/dist/dev/lifecycle/epic/epic.js.map +1 -0
  251. package/dist/dev/lifecycle/epic/index.d.ts +2 -0
  252. package/dist/dev/lifecycle/epic/index.d.ts.map +1 -0
  253. package/dist/dev/lifecycle/epic/index.js +2 -0
  254. package/dist/dev/lifecycle/epic/index.js.map +1 -0
  255. package/dist/dev/lifecycle/feasibility/feasibility.d.ts +55 -0
  256. package/dist/dev/lifecycle/feasibility/feasibility.d.ts.map +1 -0
  257. package/dist/dev/lifecycle/feasibility/feasibility.js +75 -0
  258. package/dist/dev/lifecycle/feasibility/feasibility.js.map +1 -0
  259. package/dist/dev/lifecycle/fetch-ticket/fetch-ticket.d.ts +49 -0
  260. package/dist/dev/lifecycle/fetch-ticket/fetch-ticket.d.ts.map +1 -0
  261. package/dist/dev/lifecycle/fetch-ticket/fetch-ticket.js +81 -0
  262. package/dist/dev/lifecycle/fetch-ticket/fetch-ticket.js.map +1 -0
  263. package/dist/dev/lifecycle/format/format.d.ts +11 -0
  264. package/dist/dev/lifecycle/format/format.d.ts.map +1 -0
  265. package/dist/dev/lifecycle/format/format.js +23 -0
  266. package/dist/dev/lifecycle/format/format.js.map +1 -0
  267. package/dist/dev/lifecycle/lock/index.d.ts +3 -0
  268. package/dist/dev/lifecycle/lock/index.d.ts.map +1 -0
  269. package/dist/dev/lifecycle/lock/index.js +2 -0
  270. package/dist/dev/lifecycle/lock/index.js.map +1 -0
  271. package/dist/dev/lifecycle/lock/lock.d.ts +68 -0
  272. package/dist/dev/lifecycle/lock/lock.d.ts.map +1 -0
  273. package/dist/dev/lifecycle/lock/lock.js +125 -0
  274. package/dist/dev/lifecycle/lock/lock.js.map +1 -0
  275. package/dist/dev/lifecycle/outcome/index.d.ts +2 -0
  276. package/dist/dev/lifecycle/outcome/index.d.ts.map +1 -0
  277. package/dist/dev/lifecycle/outcome/index.js +2 -0
  278. package/dist/dev/lifecycle/outcome/index.js.map +1 -0
  279. package/dist/dev/lifecycle/outcome/outcome.d.ts +65 -0
  280. package/dist/dev/lifecycle/outcome/outcome.d.ts.map +1 -0
  281. package/dist/dev/lifecycle/outcome/outcome.js +61 -0
  282. package/dist/dev/lifecycle/outcome/outcome.js.map +1 -0
  283. package/dist/dev/lifecycle/pr-creation/index.d.ts +3 -0
  284. package/dist/dev/lifecycle/pr-creation/index.d.ts.map +1 -0
  285. package/dist/dev/lifecycle/pr-creation/index.js +2 -0
  286. package/dist/dev/lifecycle/pr-creation/index.js.map +1 -0
  287. package/dist/dev/lifecycle/pr-creation/pr-creation.d.ts +47 -0
  288. package/dist/dev/lifecycle/pr-creation/pr-creation.d.ts.map +1 -0
  289. package/dist/dev/lifecycle/pr-creation/pr-creation.js +143 -0
  290. package/dist/dev/lifecycle/pr-creation/pr-creation.js.map +1 -0
  291. package/dist/dev/lifecycle/preflight/preflight.d.ts +42 -0
  292. package/dist/dev/lifecycle/preflight/preflight.d.ts.map +1 -0
  293. package/dist/dev/lifecycle/preflight/preflight.js +101 -0
  294. package/dist/dev/lifecycle/preflight/preflight.js.map +1 -0
  295. package/dist/dev/lifecycle/progress/index.d.ts +3 -0
  296. package/dist/dev/lifecycle/progress/index.d.ts.map +1 -0
  297. package/dist/dev/lifecycle/progress/index.js +2 -0
  298. package/dist/dev/lifecycle/progress/index.js.map +1 -0
  299. package/dist/dev/lifecycle/progress/progress.d.ts +98 -0
  300. package/dist/dev/lifecycle/progress/progress.d.ts.map +1 -0
  301. package/dist/dev/lifecycle/progress/progress.js +212 -0
  302. package/dist/dev/lifecycle/progress/progress.js.map +1 -0
  303. package/dist/dev/lifecycle/pull-request/azdo/azdo.d.ts +86 -0
  304. package/dist/dev/lifecycle/pull-request/azdo/azdo.d.ts.map +1 -0
  305. package/dist/dev/lifecycle/pull-request/azdo/azdo.js +198 -0
  306. package/dist/dev/lifecycle/pull-request/azdo/azdo.js.map +1 -0
  307. package/dist/dev/lifecycle/pull-request/azdo/index.d.ts +2 -0
  308. package/dist/dev/lifecycle/pull-request/azdo/index.d.ts.map +1 -0
  309. package/dist/dev/lifecycle/pull-request/azdo/index.js +2 -0
  310. package/dist/dev/lifecycle/pull-request/azdo/index.js.map +1 -0
  311. package/dist/dev/lifecycle/pull-request/bitbucket/cloud.d.ts +85 -0
  312. package/dist/dev/lifecycle/pull-request/bitbucket/cloud.d.ts.map +1 -0
  313. package/dist/dev/lifecycle/pull-request/bitbucket/cloud.js +158 -0
  314. package/dist/dev/lifecycle/pull-request/bitbucket/cloud.js.map +1 -0
  315. package/dist/dev/lifecycle/pull-request/bitbucket/index.d.ts +3 -0
  316. package/dist/dev/lifecycle/pull-request/bitbucket/index.d.ts.map +1 -0
  317. package/dist/dev/lifecycle/pull-request/bitbucket/index.js +3 -0
  318. package/dist/dev/lifecycle/pull-request/bitbucket/index.js.map +1 -0
  319. package/dist/dev/lifecycle/pull-request/bitbucket/server.d.ts +85 -0
  320. package/dist/dev/lifecycle/pull-request/bitbucket/server.d.ts.map +1 -0
  321. package/dist/dev/lifecycle/pull-request/bitbucket/server.js +168 -0
  322. package/dist/dev/lifecycle/pull-request/bitbucket/server.js.map +1 -0
  323. package/dist/dev/lifecycle/pull-request/github/github.d.ts +107 -0
  324. package/dist/dev/lifecycle/pull-request/github/github.d.ts.map +1 -0
  325. package/dist/dev/lifecycle/pull-request/github/github.js +225 -0
  326. package/dist/dev/lifecycle/pull-request/github/github.js.map +1 -0
  327. package/dist/dev/lifecycle/pull-request/github/index.d.ts +2 -0
  328. package/dist/dev/lifecycle/pull-request/github/index.d.ts.map +1 -0
  329. package/dist/dev/lifecycle/pull-request/github/index.js +2 -0
  330. package/dist/dev/lifecycle/pull-request/github/index.js.map +1 -0
  331. package/dist/dev/lifecycle/pull-request/gitlab/gitlab.d.ts +103 -0
  332. package/dist/dev/lifecycle/pull-request/gitlab/gitlab.d.ts.map +1 -0
  333. package/dist/dev/lifecycle/pull-request/gitlab/gitlab.js +215 -0
  334. package/dist/dev/lifecycle/pull-request/gitlab/gitlab.js.map +1 -0
  335. package/dist/dev/lifecycle/pull-request/gitlab/index.d.ts +2 -0
  336. package/dist/dev/lifecycle/pull-request/gitlab/index.d.ts.map +1 -0
  337. package/dist/dev/lifecycle/pull-request/gitlab/index.js +2 -0
  338. package/dist/dev/lifecycle/pull-request/gitlab/index.js.map +1 -0
  339. package/dist/dev/lifecycle/pull-request/post-pr/post-pr.d.ts +44 -0
  340. package/dist/dev/lifecycle/pull-request/post-pr/post-pr.d.ts.map +1 -0
  341. package/dist/dev/lifecycle/pull-request/post-pr/post-pr.js +64 -0
  342. package/dist/dev/lifecycle/pull-request/post-pr/post-pr.js.map +1 -0
  343. package/dist/dev/lifecycle/pull-request/pr-body/index.d.ts +3 -0
  344. package/dist/dev/lifecycle/pull-request/pr-body/index.d.ts.map +1 -0
  345. package/dist/dev/lifecycle/pull-request/pr-body/index.js +2 -0
  346. package/dist/dev/lifecycle/pull-request/pr-body/index.js.map +1 -0
  347. package/dist/dev/lifecycle/pull-request/pr-body/pr-body.d.ts +65 -0
  348. package/dist/dev/lifecycle/pull-request/pr-body/pr-body.d.ts.map +1 -0
  349. package/dist/dev/lifecycle/pull-request/pr-body/pr-body.js +144 -0
  350. package/dist/dev/lifecycle/pull-request/pr-body/pr-body.js.map +1 -0
  351. package/dist/dev/lifecycle/pull-request/rework-comment/rework-comment.d.ts +30 -0
  352. package/dist/dev/lifecycle/pull-request/rework-comment/rework-comment.d.ts.map +1 -0
  353. package/dist/dev/lifecycle/pull-request/rework-comment/rework-comment.js +39 -0
  354. package/dist/dev/lifecycle/pull-request/rework-comment/rework-comment.js.map +1 -0
  355. package/dist/dev/lifecycle/quality/quality.d.ts +99 -0
  356. package/dist/dev/lifecycle/quality/quality.d.ts.map +1 -0
  357. package/dist/dev/lifecycle/quality/quality.js +213 -0
  358. package/dist/dev/lifecycle/quality/quality.js.map +1 -0
  359. package/dist/dev/lifecycle/resume/resume.d.ts +64 -0
  360. package/dist/dev/lifecycle/resume/resume.d.ts.map +1 -0
  361. package/dist/dev/lifecycle/resume/resume.js +171 -0
  362. package/dist/dev/lifecycle/resume/resume.js.map +1 -0
  363. package/dist/dev/lifecycle/rework/rework-builders.d.ts +20 -0
  364. package/dist/dev/lifecycle/rework/rework-builders.d.ts.map +1 -0
  365. package/dist/dev/lifecycle/rework/rework-builders.js +203 -0
  366. package/dist/dev/lifecycle/rework/rework-builders.js.map +1 -0
  367. package/dist/dev/lifecycle/rework/rework-handlers.d.ts +50 -0
  368. package/dist/dev/lifecycle/rework/rework-handlers.d.ts.map +1 -0
  369. package/dist/dev/lifecycle/rework/rework-handlers.js +41 -0
  370. package/dist/dev/lifecycle/rework/rework-handlers.js.map +1 -0
  371. package/dist/dev/lifecycle/rework/rework.d.ts +63 -0
  372. package/dist/dev/lifecycle/rework/rework.d.ts.map +1 -0
  373. package/dist/dev/lifecycle/rework/rework.js +141 -0
  374. package/dist/dev/lifecycle/rework/rework.js.map +1 -0
  375. package/dist/dev/pipeline/context.d.ts +105 -0
  376. package/dist/dev/pipeline/context.d.ts.map +1 -0
  377. package/dist/dev/pipeline/context.js +107 -0
  378. package/dist/dev/pipeline/context.js.map +1 -0
  379. package/dist/dev/pipeline/index.d.ts +6 -0
  380. package/dist/dev/pipeline/index.d.ts.map +1 -0
  381. package/dist/dev/pipeline/index.js +5 -0
  382. package/dist/dev/pipeline/index.js.map +1 -0
  383. package/dist/dev/pipeline/phases/branch-setup/branch-setup.d.ts +62 -0
  384. package/dist/dev/pipeline/phases/branch-setup/branch-setup.d.ts.map +1 -0
  385. package/dist/dev/pipeline/phases/branch-setup/branch-setup.js +128 -0
  386. package/dist/dev/pipeline/phases/branch-setup/branch-setup.js.map +1 -0
  387. package/dist/dev/pipeline/phases/branch-setup/index.d.ts +3 -0
  388. package/dist/dev/pipeline/phases/branch-setup/index.d.ts.map +1 -0
  389. package/dist/dev/pipeline/phases/branch-setup/index.js +2 -0
  390. package/dist/dev/pipeline/phases/branch-setup/index.js.map +1 -0
  391. package/dist/dev/pipeline/phases/cleanup-phase/cleanup-phase.d.ts +32 -0
  392. package/dist/dev/pipeline/phases/cleanup-phase/cleanup-phase.d.ts.map +1 -0
  393. package/dist/dev/pipeline/phases/cleanup-phase/cleanup-phase.js +32 -0
  394. package/dist/dev/pipeline/phases/cleanup-phase/cleanup-phase.js.map +1 -0
  395. package/dist/dev/pipeline/phases/cleanup-phase/index.d.ts +3 -0
  396. package/dist/dev/pipeline/phases/cleanup-phase/index.d.ts.map +1 -0
  397. package/dist/dev/pipeline/phases/cleanup-phase/index.js +2 -0
  398. package/dist/dev/pipeline/phases/cleanup-phase/index.js.map +1 -0
  399. package/dist/dev/pipeline/phases/cost-phase/cost-phase.d.ts +40 -0
  400. package/dist/dev/pipeline/phases/cost-phase/cost-phase.d.ts.map +1 -0
  401. package/dist/dev/pipeline/phases/cost-phase/cost-phase.js +43 -0
  402. package/dist/dev/pipeline/phases/cost-phase/cost-phase.js.map +1 -0
  403. package/dist/dev/pipeline/phases/cost-phase/index.d.ts +3 -0
  404. package/dist/dev/pipeline/phases/cost-phase/index.d.ts.map +1 -0
  405. package/dist/dev/pipeline/phases/cost-phase/index.js +2 -0
  406. package/dist/dev/pipeline/phases/cost-phase/index.js.map +1 -0
  407. package/dist/dev/pipeline/phases/deliver-phase/deliver-phase.d.ts +68 -0
  408. package/dist/dev/pipeline/phases/deliver-phase/deliver-phase.d.ts.map +1 -0
  409. package/dist/dev/pipeline/phases/deliver-phase/deliver-phase.js +125 -0
  410. package/dist/dev/pipeline/phases/deliver-phase/deliver-phase.js.map +1 -0
  411. package/dist/dev/pipeline/phases/deliver-phase/index.d.ts +3 -0
  412. package/dist/dev/pipeline/phases/deliver-phase/index.d.ts.map +1 -0
  413. package/dist/dev/pipeline/phases/deliver-phase/index.js +2 -0
  414. package/dist/dev/pipeline/phases/deliver-phase/index.js.map +1 -0
  415. package/dist/dev/pipeline/phases/dry-run/dry-run.d.ts +38 -0
  416. package/dist/dev/pipeline/phases/dry-run/dry-run.d.ts.map +1 -0
  417. package/dist/dev/pipeline/phases/dry-run/dry-run.js +33 -0
  418. package/dist/dev/pipeline/phases/dry-run/dry-run.js.map +1 -0
  419. package/dist/dev/pipeline/phases/dry-run/index.d.ts +2 -0
  420. package/dist/dev/pipeline/phases/dry-run/index.d.ts.map +1 -0
  421. package/dist/dev/pipeline/phases/dry-run/index.js +2 -0
  422. package/dist/dev/pipeline/phases/dry-run/index.js.map +1 -0
  423. package/dist/dev/pipeline/phases/epic-completion/epic-completion.d.ts +48 -0
  424. package/dist/dev/pipeline/phases/epic-completion/epic-completion.d.ts.map +1 -0
  425. package/dist/dev/pipeline/phases/epic-completion/epic-completion.js +42 -0
  426. package/dist/dev/pipeline/phases/epic-completion/epic-completion.js.map +1 -0
  427. package/dist/dev/pipeline/phases/epic-completion/index.d.ts +3 -0
  428. package/dist/dev/pipeline/phases/epic-completion/index.d.ts.map +1 -0
  429. package/dist/dev/pipeline/phases/epic-completion/index.js +2 -0
  430. package/dist/dev/pipeline/phases/epic-completion/index.js.map +1 -0
  431. package/dist/dev/pipeline/phases/feasibility/feasibility.d.ts +52 -0
  432. package/dist/dev/pipeline/phases/feasibility/feasibility.d.ts.map +1 -0
  433. package/dist/dev/pipeline/phases/feasibility/feasibility.js +34 -0
  434. package/dist/dev/pipeline/phases/feasibility/feasibility.js.map +1 -0
  435. package/dist/dev/pipeline/phases/feasibility/index.d.ts +3 -0
  436. package/dist/dev/pipeline/phases/feasibility/index.d.ts.map +1 -0
  437. package/dist/dev/pipeline/phases/feasibility/index.js +2 -0
  438. package/dist/dev/pipeline/phases/feasibility/index.js.map +1 -0
  439. package/dist/dev/pipeline/phases/index.d.ts +26 -0
  440. package/dist/dev/pipeline/phases/index.d.ts.map +1 -0
  441. package/dist/dev/pipeline/phases/index.js +14 -0
  442. package/dist/dev/pipeline/phases/index.js.map +1 -0
  443. package/dist/dev/pipeline/phases/lock-check/index.d.ts +3 -0
  444. package/dist/dev/pipeline/phases/lock-check/index.d.ts.map +1 -0
  445. package/dist/dev/pipeline/phases/lock-check/index.js +2 -0
  446. package/dist/dev/pipeline/phases/lock-check/index.js.map +1 -0
  447. package/dist/dev/pipeline/phases/lock-check/lock-check.d.ts +55 -0
  448. package/dist/dev/pipeline/phases/lock-check/lock-check.d.ts.map +1 -0
  449. package/dist/dev/pipeline/phases/lock-check/lock-check.js +60 -0
  450. package/dist/dev/pipeline/phases/lock-check/lock-check.js.map +1 -0
  451. package/dist/dev/pipeline/phases/pr-retry/index.d.ts +3 -0
  452. package/dist/dev/pipeline/phases/pr-retry/index.d.ts.map +1 -0
  453. package/dist/dev/pipeline/phases/pr-retry/index.js +2 -0
  454. package/dist/dev/pipeline/phases/pr-retry/index.js.map +1 -0
  455. package/dist/dev/pipeline/phases/pr-retry/pr-retry.d.ts +58 -0
  456. package/dist/dev/pipeline/phases/pr-retry/pr-retry.d.ts.map +1 -0
  457. package/dist/dev/pipeline/phases/pr-retry/pr-retry.js +82 -0
  458. package/dist/dev/pipeline/phases/pr-retry/pr-retry.js.map +1 -0
  459. package/dist/dev/pipeline/phases/preflight-phase/index.d.ts +3 -0
  460. package/dist/dev/pipeline/phases/preflight-phase/index.d.ts.map +1 -0
  461. package/dist/dev/pipeline/phases/preflight-phase/index.js +2 -0
  462. package/dist/dev/pipeline/phases/preflight-phase/index.js.map +1 -0
  463. package/dist/dev/pipeline/phases/preflight-phase/preflight-phase.d.ts +42 -0
  464. package/dist/dev/pipeline/phases/preflight-phase/preflight-phase.d.ts.map +1 -0
  465. package/dist/dev/pipeline/phases/preflight-phase/preflight-phase.js +41 -0
  466. package/dist/dev/pipeline/phases/preflight-phase/preflight-phase.js.map +1 -0
  467. package/dist/dev/pipeline/phases/rework-detection/index.d.ts +3 -0
  468. package/dist/dev/pipeline/phases/rework-detection/index.d.ts.map +1 -0
  469. package/dist/dev/pipeline/phases/rework-detection/index.js +2 -0
  470. package/dist/dev/pipeline/phases/rework-detection/index.js.map +1 -0
  471. package/dist/dev/pipeline/phases/rework-detection/rework-detection.d.ts +40 -0
  472. package/dist/dev/pipeline/phases/rework-detection/rework-detection.d.ts.map +1 -0
  473. package/dist/dev/pipeline/phases/rework-detection/rework-detection.js +38 -0
  474. package/dist/dev/pipeline/phases/rework-detection/rework-detection.js.map +1 -0
  475. package/dist/dev/pipeline/phases/ticket-fetch/index.d.ts +3 -0
  476. package/dist/dev/pipeline/phases/ticket-fetch/index.d.ts.map +1 -0
  477. package/dist/dev/pipeline/phases/ticket-fetch/index.js +2 -0
  478. package/dist/dev/pipeline/phases/ticket-fetch/index.js.map +1 -0
  479. package/dist/dev/pipeline/phases/ticket-fetch/ticket-fetch.d.ts +46 -0
  480. package/dist/dev/pipeline/phases/ticket-fetch/ticket-fetch.d.ts.map +1 -0
  481. package/dist/dev/pipeline/phases/ticket-fetch/ticket-fetch.js +64 -0
  482. package/dist/dev/pipeline/phases/ticket-fetch/ticket-fetch.js.map +1 -0
  483. package/dist/dev/pipeline/phases/transition/index.d.ts +3 -0
  484. package/dist/dev/pipeline/phases/transition/index.d.ts.map +1 -0
  485. package/dist/dev/pipeline/phases/transition/index.js +2 -0
  486. package/dist/dev/pipeline/phases/transition/index.js.map +1 -0
  487. package/dist/dev/pipeline/phases/transition/transition.d.ts +30 -0
  488. package/dist/dev/pipeline/phases/transition/transition.d.ts.map +1 -0
  489. package/dist/dev/pipeline/phases/transition/transition.js +27 -0
  490. package/dist/dev/pipeline/phases/transition/transition.js.map +1 -0
  491. package/dist/dev/pipeline/run-pipeline.d.ts +98 -0
  492. package/dist/dev/pipeline/run-pipeline.d.ts.map +1 -0
  493. package/dist/dev/pipeline/run-pipeline.js +106 -0
  494. package/dist/dev/pipeline/run-pipeline.js.map +1 -0
  495. package/dist/index.d.ts +58 -0
  496. package/dist/index.d.ts.map +1 -0
  497. package/dist/index.js +58 -0
  498. package/dist/index.js.map +1 -0
  499. package/dist/schemas/azdo/azdo-pr.d.ts +58 -0
  500. package/dist/schemas/azdo/azdo-pr.d.ts.map +1 -0
  501. package/dist/schemas/azdo/azdo-pr.js +48 -0
  502. package/dist/schemas/azdo/azdo-pr.js.map +1 -0
  503. package/dist/schemas/azdo/azdo.d.ts +88 -0
  504. package/dist/schemas/azdo/azdo.d.ts.map +1 -0
  505. package/dist/schemas/azdo/azdo.js +60 -0
  506. package/dist/schemas/azdo/azdo.js.map +1 -0
  507. package/dist/schemas/bitbucket/bitbucket.d.ts +112 -0
  508. package/dist/schemas/bitbucket/bitbucket.d.ts.map +1 -0
  509. package/dist/schemas/bitbucket/bitbucket.js +73 -0
  510. package/dist/schemas/bitbucket/bitbucket.js.map +1 -0
  511. package/dist/schemas/env/env.d.ts +336 -0
  512. package/dist/schemas/env/env.d.ts.map +1 -0
  513. package/dist/schemas/env/env.js +94 -0
  514. package/dist/schemas/env/env.js.map +1 -0
  515. package/dist/schemas/github/github.d.ts +128 -0
  516. package/dist/schemas/github/github.d.ts.map +1 -0
  517. package/dist/schemas/github/github.js +65 -0
  518. package/dist/schemas/github/github.js.map +1 -0
  519. package/dist/schemas/gitlab/gitlab.d.ts +72 -0
  520. package/dist/schemas/gitlab/gitlab.d.ts.map +1 -0
  521. package/dist/schemas/gitlab/gitlab.js +38 -0
  522. package/dist/schemas/gitlab/gitlab.js.map +1 -0
  523. package/dist/schemas/index.d.ts +15 -0
  524. package/dist/schemas/index.d.ts.map +1 -0
  525. package/dist/schemas/index.js +8 -0
  526. package/dist/schemas/index.js.map +1 -0
  527. package/dist/schemas/jira/jira.d.ts +79 -0
  528. package/dist/schemas/jira/jira.d.ts.map +1 -0
  529. package/dist/schemas/jira/jira.js +69 -0
  530. package/dist/schemas/jira/jira.js.map +1 -0
  531. package/dist/schemas/linear/linear.d.ts +178 -0
  532. package/dist/schemas/linear/linear.d.ts.map +1 -0
  533. package/dist/schemas/linear/linear.js +136 -0
  534. package/dist/schemas/linear/linear.js.map +1 -0
  535. package/dist/schemas/notion/notion.d.ts +131 -0
  536. package/dist/schemas/notion/notion.d.ts.map +1 -0
  537. package/dist/schemas/notion/notion.js +102 -0
  538. package/dist/schemas/notion/notion.js.map +1 -0
  539. package/dist/schemas/shortcut/shortcut.d.ts +149 -0
  540. package/dist/schemas/shortcut/shortcut.d.ts.map +1 -0
  541. package/dist/schemas/shortcut/shortcut.js +68 -0
  542. package/dist/schemas/shortcut/shortcut.js.map +1 -0
  543. package/dist/shared/cache/cache.d.ts +14 -0
  544. package/dist/shared/cache/cache.d.ts.map +1 -0
  545. package/dist/shared/cache/cache.js +25 -0
  546. package/dist/shared/cache/cache.js.map +1 -0
  547. package/dist/shared/cache/index.d.ts +2 -0
  548. package/dist/shared/cache/index.d.ts.map +1 -0
  549. package/dist/shared/cache/index.js +2 -0
  550. package/dist/shared/cache/index.js.map +1 -0
  551. package/dist/shared/env-parser/env-parser.d.ts +42 -0
  552. package/dist/shared/env-parser/env-parser.d.ts.map +1 -0
  553. package/dist/shared/env-parser/env-parser.js +97 -0
  554. package/dist/shared/env-parser/env-parser.js.map +1 -0
  555. package/dist/shared/env-parser/index.d.ts +3 -0
  556. package/dist/shared/env-parser/index.d.ts.map +1 -0
  557. package/dist/shared/env-parser/index.js +2 -0
  558. package/dist/shared/env-parser/index.js.map +1 -0
  559. package/dist/shared/git-ops/git-ops.d.ts +127 -0
  560. package/dist/shared/git-ops/git-ops.d.ts.map +1 -0
  561. package/dist/shared/git-ops/git-ops.js +225 -0
  562. package/dist/shared/git-ops/git-ops.js.map +1 -0
  563. package/dist/shared/git-ops/index.d.ts +3 -0
  564. package/dist/shared/git-ops/index.d.ts.map +1 -0
  565. package/dist/shared/git-ops/index.js +2 -0
  566. package/dist/shared/git-ops/index.js.map +1 -0
  567. package/dist/shared/git-token/git-token.d.ts +18 -0
  568. package/dist/shared/git-token/git-token.d.ts.map +1 -0
  569. package/dist/shared/git-token/git-token.js +28 -0
  570. package/dist/shared/git-token/git-token.js.map +1 -0
  571. package/dist/shared/git-token/index.d.ts +2 -0
  572. package/dist/shared/git-token/index.d.ts.map +1 -0
  573. package/dist/shared/git-token/index.js +2 -0
  574. package/dist/shared/git-token/index.js.map +1 -0
  575. package/dist/shared/http/fetch-and-parse/fetch-and-parse.d.ts +32 -0
  576. package/dist/shared/http/fetch-and-parse/fetch-and-parse.d.ts.map +1 -0
  577. package/dist/shared/http/fetch-and-parse/fetch-and-parse.js +53 -0
  578. package/dist/shared/http/fetch-and-parse/fetch-and-parse.js.map +1 -0
  579. package/dist/shared/http/fetch-and-parse/index.d.ts +3 -0
  580. package/dist/shared/http/fetch-and-parse/index.d.ts.map +1 -0
  581. package/dist/shared/http/fetch-and-parse/index.js +2 -0
  582. package/dist/shared/http/fetch-and-parse/index.js.map +1 -0
  583. package/dist/shared/http/index.d.ts +7 -0
  584. package/dist/shared/http/index.d.ts.map +1 -0
  585. package/dist/shared/http/index.js +4 -0
  586. package/dist/shared/http/index.js.map +1 -0
  587. package/dist/shared/http/ping-endpoint/index.d.ts +3 -0
  588. package/dist/shared/http/ping-endpoint/index.d.ts.map +1 -0
  589. package/dist/shared/http/ping-endpoint/index.js +2 -0
  590. package/dist/shared/http/ping-endpoint/index.js.map +1 -0
  591. package/dist/shared/http/ping-endpoint/ping-endpoint.d.ts +29 -0
  592. package/dist/shared/http/ping-endpoint/ping-endpoint.d.ts.map +1 -0
  593. package/dist/shared/http/ping-endpoint/ping-endpoint.js +31 -0
  594. package/dist/shared/http/ping-endpoint/ping-endpoint.js.map +1 -0
  595. package/dist/shared/http/retry-fetch/index.d.ts +3 -0
  596. package/dist/shared/http/retry-fetch/index.d.ts.map +1 -0
  597. package/dist/shared/http/retry-fetch/index.js +2 -0
  598. package/dist/shared/http/retry-fetch/index.js.map +1 -0
  599. package/dist/shared/http/retry-fetch/retry-fetch.d.ts +33 -0
  600. package/dist/shared/http/retry-fetch/retry-fetch.d.ts.map +1 -0
  601. package/dist/shared/http/retry-fetch/retry-fetch.js +94 -0
  602. package/dist/shared/http/retry-fetch/retry-fetch.js.map +1 -0
  603. package/dist/shared/label-helpers/index.d.ts +3 -0
  604. package/dist/shared/label-helpers/index.d.ts.map +1 -0
  605. package/dist/shared/label-helpers/index.js +2 -0
  606. package/dist/shared/label-helpers/index.js.map +1 -0
  607. package/dist/shared/label-helpers/label-helpers.d.ts +41 -0
  608. package/dist/shared/label-helpers/label-helpers.d.ts.map +1 -0
  609. package/dist/shared/label-helpers/label-helpers.js +51 -0
  610. package/dist/shared/label-helpers/label-helpers.js.map +1 -0
  611. package/dist/shared/remote/index.d.ts +2 -0
  612. package/dist/shared/remote/index.d.ts.map +1 -0
  613. package/dist/shared/remote/index.js +2 -0
  614. package/dist/shared/remote/index.js.map +1 -0
  615. package/dist/shared/remote/remote.d.ts +39 -0
  616. package/dist/shared/remote/remote.d.ts.map +1 -0
  617. package/dist/shared/remote/remote.js +180 -0
  618. package/dist/shared/remote/remote.js.map +1 -0
  619. package/dist/types/board.d.ts +62 -0
  620. package/dist/types/board.d.ts.map +1 -0
  621. package/dist/types/board.js +5 -0
  622. package/dist/types/board.js.map +1 -0
  623. package/dist/types/index.d.ts +5 -0
  624. package/dist/types/index.d.ts.map +1 -0
  625. package/dist/types/index.js +2 -0
  626. package/dist/types/index.js.map +1 -0
  627. package/dist/types/progress.d.ts +21 -0
  628. package/dist/types/progress.d.ts.map +1 -0
  629. package/dist/types/progress.js +34 -0
  630. package/dist/types/progress.js.map +1 -0
  631. package/dist/types/remote.d.ts +77 -0
  632. package/dist/types/remote.d.ts.map +1 -0
  633. package/dist/types/remote.js +5 -0
  634. package/dist/types/remote.js.map +1 -0
  635. package/package.json +44 -0
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Transition — move ticket to "In Progress" status.
3
+ *
4
+ * Best-effort: never blocks the pipeline.
5
+ * Returns structured results — no console output.
6
+ */
7
+ import type { RunContext } from '../../context.js';
8
+ import type { FetchedTicket } from '../../../../types/board.js';
9
+ /** Structured result of the transition phase. */
10
+ type TransitionResult = {
11
+ readonly ok: boolean;
12
+ };
13
+ /** Injected dependencies for transition. */
14
+ export type TransitionDeps = {
15
+ /** Transition a ticket to a new status. Pre-wired with board. */
16
+ readonly transitionTicket: (ticket: FetchedTicket, status: string) => Promise<boolean>;
17
+ };
18
+ /**
19
+ * Transition the ticket to "In Progress" status.
20
+ *
21
+ * Best-effort — errors are caught and success is always returned.
22
+ * Only transitions if `CLANCY_STATUS_IN_PROGRESS` is configured.
23
+ *
24
+ * @param ctx - Pipeline context (requires config + ticket from prior phases).
25
+ * @param deps - Injected dependencies.
26
+ * @returns Structured result (always ok: true).
27
+ */
28
+ export declare function transition(ctx: RunContext, deps: TransitionDeps): Promise<TransitionResult>;
29
+ export {};
30
+ //# sourceMappingURL=transition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transition.d.ts","sourceRoot":"","sources":["../../../../../src/dev/pipeline/phases/transition/transition.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAIxD,iDAAiD;AACjD,KAAK,gBAAgB,GAAG;IACtB,QAAQ,CAAC,EAAE,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,4CAA4C;AAC5C,MAAM,MAAM,cAAc,GAAG;IAC3B,iEAAiE;IACjE,QAAQ,CAAC,gBAAgB,EAAE,CACzB,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,MAAM,KACX,OAAO,CAAC,OAAO,CAAC,CAAC;CACvB,CAAC;AAIF;;;;;;;;;GASG;AACH,wBAAsB,UAAU,CAC9B,GAAG,EAAE,UAAU,EACf,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,gBAAgB,CAAC,CAe3B"}
@@ -0,0 +1,27 @@
1
+ // ─── Phase ───────────────────────────────────────────────────────────────────
2
+ /**
3
+ * Transition the ticket to "In Progress" status.
4
+ *
5
+ * Best-effort — errors are caught and success is always returned.
6
+ * Only transitions if `CLANCY_STATUS_IN_PROGRESS` is configured.
7
+ *
8
+ * @param ctx - Pipeline context (requires config + ticket from prior phases).
9
+ * @param deps - Injected dependencies.
10
+ * @returns Structured result (always ok: true).
11
+ */
12
+ export async function transition(ctx, deps) {
13
+ try {
14
+ // Safe: pipeline ordering guarantees prior phases populate these fields
15
+ const config = ctx.config;
16
+ const ticket = ctx.ticket;
17
+ const status = config.env.CLANCY_STATUS_IN_PROGRESS;
18
+ if (status) {
19
+ await deps.transitionTicket(ticket, status);
20
+ }
21
+ }
22
+ catch {
23
+ // Best-effort — never blocks the pipeline
24
+ }
25
+ return { ok: true };
26
+ }
27
+ //# sourceMappingURL=transition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transition.js","sourceRoot":"","sources":["../../../../../src/dev/pipeline/phases/transition/transition.ts"],"names":[],"mappings":"AAyBA,gFAAgF;AAEhF;;;;;;;;;GASG;AACH,MAAM,CAAC,KAAK,UAAU,UAAU,CAC9B,GAAe,EACf,IAAoB;IAEpB,IAAI,CAAC;QACH,wEAAwE;QACxE,MAAM,MAAM,GAAG,GAAG,CAAC,MAAO,CAAC;QAC3B,MAAM,MAAM,GAAG,GAAG,CAAC,MAAO,CAAC;QAE3B,MAAM,MAAM,GAAG,MAAM,CAAC,GAAG,CAAC,yBAAyB,CAAC;QACpD,IAAI,MAAM,EAAE,CAAC;YACX,MAAM,IAAI,CAAC,gBAAgB,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAC9C,CAAC;IACH,CAAC;IAAC,MAAM,CAAC;QACP,0CAA0C;IAC5C,CAAC;IAED,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC;AACtB,CAAC"}
@@ -0,0 +1,98 @@
1
+ /**
2
+ * Pipeline orchestrator — runs all phases in sequence.
3
+ *
4
+ * Each phase receives the shared {@link RunContext} and returns a
5
+ * structured result. The orchestrator checks each result to decide
6
+ * whether to continue or exit early. Lock cleanup runs in a `finally`
7
+ * block to guarantee release on all exit paths.
8
+ *
9
+ * No console output — returns a structured {@link PipelineResult}
10
+ * for the terminal layer to display.
11
+ */
12
+ import type { RunContext } from './context.js';
13
+ /** Structured result of a pipeline run. */
14
+ export type PipelineResult = {
15
+ readonly status: 'completed' | 'aborted' | 'resumed' | 'dry-run' | 'error';
16
+ readonly phase?: string;
17
+ readonly error?: string;
18
+ };
19
+ /**
20
+ * Injected dependencies for the pipeline orchestrator.
21
+ *
22
+ * Each field is a pre-wired phase function. The terminal layer
23
+ * creates these by partially applying DI dependencies (exec, fs,
24
+ * board, etc.) so the orchestrator only passes the context.
25
+ */
26
+ export type PipelineDeps = {
27
+ /** Lock check + resume detection. */
28
+ readonly lockCheck: (ctx: RunContext) => Promise<{
29
+ readonly action: 'continue' | 'abort' | 'resumed';
30
+ }>;
31
+ /** Preflight — binary checks, env, board detection. */
32
+ readonly preflight: (ctx: RunContext) => Promise<{
33
+ readonly ok: boolean;
34
+ }>;
35
+ /** Epic completion — check for completed epics. */
36
+ readonly epicCompletion: (ctx: RunContext) => Promise<{
37
+ readonly results: readonly unknown[];
38
+ }>;
39
+ /** PR retry — retry PUSHED tickets. */
40
+ readonly prRetry: (ctx: RunContext) => Promise<{
41
+ readonly results: readonly unknown[];
42
+ }>;
43
+ /** Rework detection — check for PR review feedback. */
44
+ readonly reworkDetection: (ctx: RunContext) => Promise<{
45
+ readonly detected: boolean;
46
+ }>;
47
+ /** Ticket fetch — fetch ticket + compute branches. */
48
+ readonly ticketFetch: (ctx: RunContext) => Promise<{
49
+ readonly ok: boolean;
50
+ }>;
51
+ /** Feasibility — Claude feasibility check. */
52
+ readonly feasibility: (ctx: RunContext) => Promise<{
53
+ readonly ok: boolean;
54
+ }>;
55
+ /** Branch setup — git branch operations + lock write. */
56
+ readonly branchSetup: (ctx: RunContext) => Promise<{
57
+ readonly ok: boolean;
58
+ }>;
59
+ /** Transition — move ticket to In Progress. */
60
+ readonly transition: (ctx: RunContext) => Promise<{
61
+ readonly ok: boolean;
62
+ }>;
63
+ /** Invoke — run Claude session. */
64
+ readonly invoke: (ctx: RunContext) => Promise<{
65
+ readonly ok: boolean;
66
+ }>;
67
+ /** Deliver — push + PR creation. */
68
+ readonly deliver: (ctx: RunContext) => Promise<{
69
+ readonly ok: boolean;
70
+ }>;
71
+ /** Cost — log estimated token cost. */
72
+ readonly cost: (ctx: RunContext) => {
73
+ readonly ok: boolean;
74
+ };
75
+ /** Cleanup — completion data + notification. */
76
+ readonly cleanup: (ctx: RunContext) => Promise<{
77
+ readonly ok: boolean;
78
+ }>;
79
+ /** Restore a git branch (best-effort, for error recovery). */
80
+ readonly checkout: (branch: string) => void;
81
+ /** Delete the lock file. Pre-wired with lockFs + projectRoot. */
82
+ readonly deleteLock: () => void;
83
+ /** Delete the verify-attempt file. Pre-wired with lockFs + projectRoot. */
84
+ readonly deleteVerifyAttempt: () => void;
85
+ };
86
+ /**
87
+ * Run the full pipeline — all phases + invoke callback.
88
+ *
89
+ * Phases run sequentially. Abort-capable phases stop the pipeline on
90
+ * failure. Informational phases (epic-completion, pr-retry, transition,
91
+ * cost, cleanup) always continue. Lock cleanup runs in `finally`.
92
+ *
93
+ * @param ctx - Pipeline context (created by {@link createContext}).
94
+ * @param deps - Pre-wired phase functions injected by the terminal layer.
95
+ * @returns Structured result indicating how the pipeline exited.
96
+ */
97
+ export declare function runPipeline(ctx: RunContext, deps: PipelineDeps): Promise<PipelineResult>;
98
+ //# sourceMappingURL=run-pipeline.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run-pipeline.d.ts","sourceRoot":"","sources":["../../../src/dev/pipeline/run-pipeline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAI/C,2CAA2C;AAC3C,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,CAAC,MAAM,EAAE,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;IAC3E,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,qCAAqC;IACrC,QAAQ,CA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C;IAC/C,QAAQ,CAAC,UAAU,EAAE,CAAC,GAAG,EAAE,UAAU,KAAK,OAAO,CAAC;QAAE,QAAQ,CAAC,EAAE,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IAC5E,mCAAmC;IACnC,QAAQ,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,UAAU,KAAK,OAAO,CAAC;QAAE,QAAQ,CAAC,EAAE,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IACxE,oCAAoC;IACpC,QAAQ,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,UAAU,KAAK,OAAO,CAAC;QAAE,QAAQ,CAAC,EAAE,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IACzE,uCAAuC;IACvC,QAAQ,CAAC,IAAI,EAAE,CAAC,GAAG,EAAE,UAAU,KAAK;QAAE,QAAQ,CAAC,EAAE,EAAE,OAAO,CAAA;KAAE,CAAC;IAC7D,gDAAgD;IAChD,QAAQ,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,UAAU,KAAK,OAAO,CAAC;QAAE,QAAQ,CAAC,EAAE,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IACzE,8DAA8D;IAC9D,QAAQ,CAAC,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,iEAAiE;IACjE,QAAQ,CAAC,UAAU,EAAE,MAAM,IAAI,CAAC;IAChC,2EAA2E;IAC3E,QAAQ,CAAC,mBAAmB,EAAE,MAAM,IAAI,CAAC;CAC1C,CAAC;AAIF;;;;;;;;;;GAUG;AACH,wBAAsB,WAAW,CAC/B,GAAG,EAAE,UAAU,EACf,IAAI,EAAE,YAAY,GACjB,OAAO,CAAC,cAAc,CAAC,CAqBzB"}
@@ -0,0 +1,106 @@
1
+ // ─── Orchestrator ────────────────────────────────────────────────────────────
2
+ /**
3
+ * Run the full pipeline — all phases + invoke callback.
4
+ *
5
+ * Phases run sequentially. Abort-capable phases stop the pipeline on
6
+ * failure. Informational phases (epic-completion, pr-retry, transition,
7
+ * cost, cleanup) always continue. Lock cleanup runs in `finally`.
8
+ *
9
+ * @param ctx - Pipeline context (created by {@link createContext}).
10
+ * @param deps - Pre-wired phase functions injected by the terminal layer.
11
+ * @returns Structured result indicating how the pipeline exited.
12
+ */
13
+ export async function runPipeline(ctx, deps) {
14
+ // Lock check + resume
15
+ const lockResult = await deps.lockCheck(ctx);
16
+ if (lockResult.action === 'abort') {
17
+ return { status: 'aborted', phase: 'lock-check' };
18
+ }
19
+ if (lockResult.action === 'resumed') {
20
+ return { status: 'resumed' };
21
+ }
22
+ try {
23
+ return await runPhases(ctx, deps);
24
+ }
25
+ catch (error) {
26
+ restoreBranch(ctx, deps);
27
+ const message = error instanceof Error ? error.message : String(error);
28
+ return { status: 'error', error: message };
29
+ }
30
+ finally {
31
+ cleanupLock(ctx, deps);
32
+ }
33
+ }
34
+ // ─── Internal helpers ────────────────────────────────────────────────────────
35
+ /** Run all phases after lock-check. Separated for clean error boundaries. */
36
+ async function runPhases(ctx, deps) {
37
+ // Preflight
38
+ const preflight = await deps.preflight(ctx);
39
+ if (!preflight.ok)
40
+ return { status: 'aborted', phase: 'preflight' };
41
+ // Epic completion (informational — never aborts)
42
+ await deps.epicCompletion(ctx);
43
+ // PR retry (informational — never aborts)
44
+ await deps.prRetry(ctx);
45
+ // Rework detection (sets ctx.isRework — never aborts)
46
+ await deps.reworkDetection(ctx);
47
+ // Ticket fetch
48
+ const ticket = await deps.ticketFetch(ctx);
49
+ if (!ticket.ok)
50
+ return { status: 'aborted', phase: 'ticket-fetch' };
51
+ // Dry-run gate
52
+ if (ctx.dryRun)
53
+ return { status: 'dry-run' };
54
+ // Feasibility
55
+ const feasibility = await deps.feasibility(ctx);
56
+ if (!feasibility.ok)
57
+ return { status: 'aborted', phase: 'feasibility' };
58
+ // Branch setup
59
+ const branch = await deps.branchSetup(ctx);
60
+ if (!branch.ok)
61
+ return { status: 'aborted', phase: 'branch-setup' };
62
+ // Transition (best-effort — never aborts)
63
+ await deps.transition(ctx);
64
+ // Invoke Claude session
65
+ const invoke = await deps.invoke(ctx);
66
+ if (!invoke.ok)
67
+ return { status: 'aborted', phase: 'invoke' };
68
+ // Deliver
69
+ const deliver = await deps.deliver(ctx);
70
+ if (!deliver.ok)
71
+ return { status: 'aborted', phase: 'deliver' };
72
+ // Cost (best-effort — never aborts)
73
+ deps.cost(ctx);
74
+ // Cleanup (best-effort — never aborts)
75
+ await deps.cleanup(ctx);
76
+ return { status: 'completed' };
77
+ }
78
+ /** Best-effort: restore the branch the user was on before Clancy started. */
79
+ function restoreBranch(ctx, deps) {
80
+ if (!ctx.originalBranch)
81
+ return;
82
+ try {
83
+ deps.checkout(ctx.originalBranch);
84
+ }
85
+ catch {
86
+ // Best-effort — branch restore failure is non-critical
87
+ }
88
+ }
89
+ /** Clean up lock + verify-attempt if this run created them. */
90
+ function cleanupLock(ctx, deps) {
91
+ if (ctx.lockOwner !== true)
92
+ return;
93
+ try {
94
+ deps.deleteLock();
95
+ }
96
+ catch {
97
+ // Best-effort
98
+ }
99
+ try {
100
+ deps.deleteVerifyAttempt();
101
+ }
102
+ catch {
103
+ // Best-effort
104
+ }
105
+ }
106
+ //# sourceMappingURL=run-pipeline.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run-pipeline.js","sourceRoot":"","sources":["../../../src/dev/pipeline/run-pipeline.ts"],"names":[],"mappings":"AAyEA,gFAAgF;AAEhF;;;;;;;;;;GAUG;AACH,MAAM,CAAC,KAAK,UAAU,WAAW,CAC/B,GAAe,EACf,IAAkB;IAElB,sBAAsB;IACtB,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IAE7C,IAAI,UAAU,CAAC,MAAM,KAAK,OAAO,EAAE,CAAC;QAClC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,YAAY,EAAE,CAAC;IACpD,CAAC;IAED,IAAI,UAAU,CAAC,MAAM,K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,CAAC;QACH,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IACpC,CAAC;IAAC,MAAM,CAAC;QACP,uDAAuD;IACzD,CAAC;AACH,CAAC;AAED,+DAA+D;AAC/D,SAAS,WAAW,CAAC,GAAe,EAAE,IAAkB;IACtD,IAAI,GAAG,CAAC,SAAS,KAAK,IAAI;QAAE,OAAO;IAEnC,IAAI,CAAC;QACH,IAAI,CAAC,UAAU,EAAE,CAAC;IACpB,CAAC;IAAC,MAAM,CAAC;QACP,cAAc;IAChB,CAAC;IAED,IAAI,CAAC;QACH,IAAI,CAAC,mBAAmB,EAAE,CAAC;IAC7B,CAAC;IAAC,MAAM,CAAC;QACP,cAAc;IAChB,CAAC;AACH,CAAC"}
@@ -0,0 +1,58 @@
1
+ /**
2
+ * @chief-clancy/core
3
+ *
4
+ * Board intelligence, schemas, types, ticket lifecycle, phase pipeline,
5
+ * and shared utilities.
6
+ */
7
+ export declare const PACKAGE_NAME: "@chief-clancy/core";
8
+ export type { EnvFileSystem } from './shared/env-parser/index.js';
9
+ export { loadClancyEnv, parseEnvContent } from './shared/env-parser/index.js';
10
+ export { Cached, CachedMap } from './shared/cache/index.js';
11
+ export { fetchAndParse, pingEndpoint, retryFetch, } from './shared/http/index.js';
12
+ export type { Fetcher, FetchAndParseOptions, PingEndpointOpts, RetryOptions, } from './shared/http/index.js';
13
+ export { modifyLabelList, safeLabel } from './shared/label-helpers/index.js';
14
+ export type { ModifyLabelListOpts } from './shared/label-helpers/index.js';
15
+ export type { AzdoRemote, BitbucketRemote, BitbucketServerRemote, Board, BoardProvider, ChildrenStatus, FetchedTicket, FetchTicketOpts, GenericRemote, GitHubRemote, GitLabRemote, GitPlatform, NoRemote, PingResult, PrCreationFailure, PrCreationResult, PrCreationSuccess, PrReviewState, ProgressStatus, RemoteInfo, Ticket, } from './types/index.js';
16
+ export { COMPLETED_STATUSES, DELIVERED_STATUSES, FAILED_STATUSES, } from './types/index.js';
17
+ export type { AzdoEnv, BoardConfig, GitHubEnv, JiraEnv, LinearEnv, NotionEnv, SharedEnv, ShortcutEnv, JiraIssueLabelsResponse, JiraIssueLinksResponse, JiraProjectPing, JiraSearchResponse, JiraTransitionsResponse, GitHubComment, GitHubCommentsResponse, GitHubIssue, GitHubIssuesResponse, GitHubPr, GitHubPrComment, GitHubPrComments, GitHubPrList, GitHubRepoPing, GitHubReview, GitHubReviewList, AzdoProjectResponse, AzdoWiqlLinkResponse, AzdoWiqlResponse, AzdoWorkItem, AzdoWorkItemsBatchResponse, LinearIssueChildrenResponse, LinearIssueNode, LinearIssueLabelSearchResponse, LinearIssueRelationsResponse, LinearIssueSearchResponse, LinearIssueUpdateResponse, LinearIssuesResponse, LinearLabelCreateResponse, LinearTeamLabelsResponse, LinearViewerResponse, LinearWorkflowStatesResponse, LinearWorkspaceLabelsResponse, NotionDatabaseQueryResponse, NotionMultiSelectOption, NotionPage, NotionUserResponse, ShortcutEpicStoriesResponse, ShortcutLabelCreateResponse, ShortcutLabelsResponse, ShortcutMemberInfoResponse, ShortcutStoryDetailResponse, ShortcutStoryNode, ShortcutStorySearchResponse, ShortcutStoryUpdateResponse, ShortcutWorkflowsResponse, } from './schemas/index.js';
18
+ export { azdoEnvSchema, githubEnvSchema, jiraEnvSchema, linearEnvSchema, notionEnvSchema, sharedEnvSchema, shortcutEnvSchema, jiraIssueLabelsResponseSchema, jiraIssueLinksResponseSchema, jiraProjectPingSchema, jiraSearchResponseSchema, jiraTransitionsResponseSchema, githubCommentSchema, githubCommentsResponseSchema, githubIssueSchema, githubIssuesResponseSchema, githubPrCommentSchema, githubPrCommentsSchema, githubPrListSchema, githubPrSchema, githubRepoPingSchema, githubReviewListSchema, githubReviewSchema, azdoProjectResponseSchema, azdoWiqlLinkResponseSchema, azdoWiqlResponseSchema, azdoWorkItemSchema, azdoWorkItemsBatchResponseSchema, linearIssueChildrenResponseSchema, linearIssueLabelSearchResponseSchema, linearIssueRelationsResponseSchema, linearIssueSearchResponseSchema, linearIssueUpdateResponseSchema, linearIssuesResponseSchema, linearLabelCreateResponseSchema, linearTeamLabelsResponseSchema, linearViewerResponseSchema, linearWorkflowStatesResponseSchema, linearWorkspaceLabelsResponseSchema, notionDatabaseQueryResponseSchema, notionPageSchema, notionUserResponseSchema, shortcutEpicStoriesResponseSchema, shortcutLabelCreateResponseSchema, shortcutLabelsResponseSchema, shortcutMemberInfoResponseSchema, shortcutStoryDetailResponseSchema, shortcutStorySearchResponseSchema, shortcutStoryUpdateResponseSchema, shortcutWorkflowsResponseSchema, } from './schemas/index.js';
19
+ export { createContext, RunContext, runPipeline, } from './dev/pipeline/index.js';
20
+ export type { PipelineDeps, PipelineResult } from './dev/pipeline/index.js';
21
+ export { branchSetup, cleanupPhase, costPhase, deliverPhase, dryRun, epicCompletion, feasibilityPhase, lockCheck, prRetry, preflightPhase, reworkDetection, ticketFetch, transition, } from './dev/pipeline/index.js';
22
+ export type { BranchSetupDeps, CleanupDeps, CostPhaseDeps, DeliverPhaseDeps, EpicCompletionDeps, FeasibilityPhaseDeps, LockCheckDeps, PreflightPhaseDeps, PrRetryDeps, ReworkDetectionDeps, TicketFetchDeps, TransitionDeps, } from './dev/pipeline/index.js';
23
+ export type { ExecGit } from './shared/git-ops/index.js';
24
+ export { checkout, currentBranch, detectRemote, ensureBranch, fetchRemoteBranch, } from './shared/git-ops/index.js';
25
+ export type { LockFs } from './dev/lifecycle/lock/index.js';
26
+ export { deleteLock, deleteVerifyAttempt, readLock, writeLock, } from './dev/lifecycle/lock/index.js';
27
+ export type { ProgressEntry, ProgressFs, } from './dev/lifecycle/progress/index.js';
28
+ export { appendProgress, countReworkCycles, findEntriesWithStatus, formatTimestamp, parseProgressFile, } from './dev/lifecycle/progress/index.js';
29
+ export { computeTargetBranch, computeTicketBranch, } from './dev/lifecycle/branch/index.js';
30
+ export { runPreflight } from './dev/lifecycle/preflight/preflight.js';
31
+ export type { PreflightDeps } from './dev/lifecycle/preflight/preflight.js';
32
+ export { detectResume, executeResume } from './dev/lifecycle/resume/resume.js';
33
+ export { fetchReworkFromPrReview } from './dev/lifecycle/rework/rework.js';
34
+ export { postReworkActions } from './dev/lifecycle/rework/rework.js';
35
+ export type { PlatformReworkHandlers } from './dev/lifecycle/rework/rework-handlers.js';
36
+ export { resolvePlatformHandlers } from './dev/lifecycle/rework/rework-handlers.js';
37
+ export { checkFeasibility } from './dev/lifecycle/feasibility/feasibility.js';
38
+ export { deliverViaPullRequest } from './dev/lifecycle/deliver-ticket/deliver-ticket.js';
39
+ export { deliverEpicToBase } from './dev/lifecycle/deliver-epic/deliver-epic.js';
40
+ export { ensureEpicBranch } from './dev/lifecycle/epic/epic.js';
41
+ export { getQualityData, recordDelivery, recordRework, } from './dev/lifecycle/quality/quality.js';
42
+ export type { QualityFs } from './dev/lifecycle/quality/quality.js';
43
+ export type { FetchFn } from './dev/lifecycle/pr-creation/pr-creation.js';
44
+ export { attemptPrCreation } from './dev/lifecycle/pr-creation/pr-creation.js';
45
+ export { resolveCommitType } from './dev/lifecycle/commit-type/commit-type.js';
46
+ export { buildPrBody } from './dev/lifecycle/pull-request/pr-body/pr-body.js';
47
+ export type { CostFs } from './dev/lifecycle/cost/cost.js';
48
+ export { appendCostEntry } from './dev/lifecycle/cost/cost.js';
49
+ export { formatDuration } from './dev/lifecycle/format/format.js';
50
+ export { detectBoard, sharedEnv } from './board/index.js';
51
+ export { createBoard } from './board/factory/index.js';
52
+ export { createGitHubBoard, fetchBlockerStatus as fetchGitHubBlockerStatus, fetchChildrenStatus as fetchGitHubChildrenStatus, } from './board/github/index.js';
53
+ export { createJiraBoard, fetchBlockerStatus as fetchJiraBlockerStatus, fetchChildrenStatus as fetchJiraChildrenStatus, } from './board/jira/index.js';
54
+ export { createLinearBoard, fetchBlockerStatus as fetchLinearBlockerStatus, fetchChildrenStatus as fetchLinearChildrenStatus, } from './board/linear/index.js';
55
+ export { createShortcutBoard, fetchBlockerStatus as fetchShortcutBlockerStatus, fetchChildrenStatus as fetchShortcutChildrenStatus, } from './board/shortcut/index.js';
56
+ export { createAzdoBoard, fetchBlockerStatus as fetchAzdoBlockerStatus, fetchChildrenStatus as fetchAzdoChildrenStatus, } from './board/azdo/index.js';
57
+ export { createNotionBoard, fetchBlockerStatus as fetchNotionBlockerStatus, fetchChildrenStatus as fetchNotionChildrenStatus, } from './board/notion/index.js';
58
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAG,oBAA6B,CAAC;AAE1D,YAAY,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE9E,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAE5D,OAAO,EACL,aAAa,EACb,YAAY,EACZ,UAAU,GACX,MAAM,wBAAwB,CAAC;AAChC,YAAY,EACV,OAAO,EACP,oBAAoB,EACpB,gBAAgB,EAChB,YAAY,GACb,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC7E,YAAY,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAE3E,YAAY,EACV,UAAU,EACV,eAAe,EACf,qBAAqB,EACrB,KAAK,EACL,aAAa,EACb,cAAc,EACd,aAAa,EACb,eAAe,EACf,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,QAAQ,EACR,UAAU,EACV,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,cAAc,EACd,UAAU,EACV,MAAM,GACP,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,GAChB,MAAM,kBAAkB,CAAC;AAE1B,YAAY,EAEV,OAAO,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AE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,EACL,iBAAiB,EACjB,kBAAkB,IAAI,wBAAwB,EAC9C,mBAAmB,IAAI,yBAAyB,GACjD,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EACL,eAAe,EACf,kBAAkB,IAAI,sBAAsB,EAC5C,mBAAmB,IAAI,uBAAuB,GAC/C,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,iBAAiB,EACjB,kBAAkB,IAAI,wBAAwB,EAC9C,mBAAmB,IAAI,yBAAyB,GACjD,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EACL,mBAAmB,EACnB,kBAAkB,IAAI,0BAA0B,EAChD,mBAAmB,IAAI,2BAA2B,GACnD,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,eAAe,EACf,kBAAkB,IAAI,sBAAsB,EAC5C,mBAAmB,IAAI,uBAAuB,GAC/C,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,iBAAiB,EACjB,kBAAkB,IAAI,wBAAwB,EAC9C,mBAAmB,IAAI,yBAAyB,GACjD,MAAM,yBAAyB,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,58 @@
1
+ /**
2
+ * @chief-clancy/core
3
+ *
4
+ * Board intelligence, schemas, types, ticket lifecycle, phase pipeline,
5
+ * and shared utilities.
6
+ */
7
+ export const PACKAGE_NAME = '@chief-clancy/core';
8
+ export { loadClancyEnv, parseEnvContent } from './shared/env-parser/index.js';
9
+ export { Cached, CachedMap } from './shared/cache/index.js';
10
+ export { fetchAndParse, pingEndpoint, retryFetch, } from './shared/http/index.js';
11
+ export { modifyLabelList, safeLabel } from './shared/label-helpers/index.js';
12
+ export { COMPLETED_STATUSES, DELIVERED_STATUSES, FAILED_STATUSES, } from './types/index.js';
13
+ export {
14
+ // Env schemas
15
+ azdoEnvSchema, githubEnvSchema, jiraEnvSchema, linearEnvSchema, notionEnvSchema, sharedEnvSchema, shortcutEnvSchema,
16
+ // Jira API schemas
17
+ jiraIssueLabelsResponseSchema, jiraIssueLinksResponseSchema, jiraProjectPingSchema, jiraSearchResponseSchema, jiraTransitionsResponseSchema,
18
+ // GitHub API schemas
19
+ githubCommentSchema, githubCommentsResponseSchema, githubIssueSchema, githubIssuesResponseSchema, githubPrCommentSchema, githubPrCommentsSchema, githubPrListSchema, githubPrSchema, githubRepoPingSchema, githubReviewListSchema, githubReviewSchema,
20
+ // Azure DevOps API schemas
21
+ azdoProjectResponseSchema, azdoWiqlLinkResponseSchema, azdoWiqlResponseSchema, azdoWorkItemSchema, azdoWorkItemsBatchResponseSchema,
22
+ // Linear API schemas
23
+ linearIssueChildrenResponseSchema, linearIssueLabelSearchResponseSchema, linearIssueRelationsResponseSchema, linearIssueSearchResponseSchema, linearIssueUpdateResponseSchema, linearIssuesResponseSchema, linearLabelCreateResponseSchema, linearTeamLabelsResponseSchema, linearViewerResponseSchema, linearWorkflowStatesResponseSchema, linearWorkspaceLabelsResponseSchema,
24
+ // Notion API schemas
25
+ notionDatabaseQueryResponseSchema, notionPageSchema, notionUserResponseSchema,
26
+ // Shortcut API schemas
27
+ shortcutEpicStoriesResponseSchema, shortcutLabelCreateResponseSchema, shortcutLabelsResponseSchema, shortcutMemberInfoResponseSchema, shortcutStoryDetailResponseSchema, shortcutStorySearchResponseSchema, shortcutStoryUpdateResponseSchema, shortcutWorkflowsResponseSchema, } from './schemas/index.js';
28
+ export { createContext, RunContext, runPipeline, } from './dev/pipeline/index.js';
29
+ // Phase functions + deps types (consumed by terminal dep factory)
30
+ export { branchSetup, cleanupPhase, costPhase, deliverPhase, dryRun, epicCompletion, feasibilityPhase, lockCheck, prRetry, preflightPhase, reworkDetection, ticketFetch, transition, } from './dev/pipeline/index.js';
31
+ export { checkout, currentBranch, detectRemote, ensureBranch, fetchRemoteBranch, } from './shared/git-ops/index.js';
32
+ export { deleteLock, deleteVerifyAttempt, readLock, writeLock, } from './dev/lifecycle/lock/index.js';
33
+ export { appendProgress, countReworkCycles, findEntriesWithStatus, formatTimestamp, parseProgressFile, } from './dev/lifecycle/progress/index.js';
34
+ export { computeTargetBranch, computeTicketBranch, } from './dev/lifecycle/branch/index.js';
35
+ export { runPreflight } from './dev/lifecycle/preflight/preflight.js';
36
+ export { detectResume, executeResume } from './dev/lifecycle/resume/resume.js';
37
+ export { fetchReworkFromPrReview } from './dev/lifecycle/rework/rework.js';
38
+ export { postReworkActions } from './dev/lifecycle/rework/rework.js';
39
+ export { resolvePlatformHandlers } from './dev/lifecycle/rework/rework-handlers.js';
40
+ export { checkFeasibility } from './dev/lifecycle/feasibility/feasibility.js';
41
+ export { deliverViaPullRequest } from './dev/lifecycle/deliver-ticket/deliver-ticket.js';
42
+ export { deliverEpicToBase } from './dev/lifecycle/deliver-epic/deliver-epic.js';
43
+ export { ensureEpicBranch } from './dev/lifecycle/epic/epic.js';
44
+ export { getQualityData, recordDelivery, recordRework, } from './dev/lifecycle/quality/quality.js';
45
+ export { attemptPrCreation } from './dev/lifecycle/pr-creation/pr-creation.js';
46
+ export { resolveCommitType } from './dev/lifecycle/commit-type/commit-type.js';
47
+ export { buildPrBody } from './dev/lifecycle/pull-request/pr-body/pr-body.js';
48
+ export { appendCostEntry } from './dev/lifecycle/cost/cost.js';
49
+ export { formatDuration } from './dev/lifecycle/format/format.js';
50
+ export { detectBoard, sharedEnv } from './board/index.js';
51
+ export { createBoard } from './board/factory/index.js';
52
+ export { createGitHubBoard, fetchBlockerStatus as fetchGitHubBlockerStatus, fetchChildrenStatus as fetchGitHubChildrenStatus, } from './board/github/index.js';
53
+ export { createJiraBoard, fetchBlockerStatus as fetchJiraBlockerStatus, fetchChildrenStatus as fetchJiraChildrenStatus, } from './board/jira/index.js';
54
+ export { createLinearBoard, fetchBlockerStatus as fetchLinearBlockerStatus, fetchChildrenStatus as fetchLinearChildrenStatus, } from './board/linear/index.js';
55
+ export { createShortcutBoard, fetchBlockerStatus as fetchShortcutBlockerStatus, fetchChildrenStatus as fetchShortcutChildrenStatus, } from './board/shortcut/index.js';
56
+ export { createAzdoBoard, fetchBlockerStatus as fetchAzdoBlockerStatus, fetchChildrenStatus as fetchAzdoChildrenStatus, } from './board/azdo/index.js';
57
+ export { createNotionBoard, fetchBlockerStatus as fetchNotionBlockerStatus, fetchChildrenStatus as fetchNotionChildrenStatus, } from './board/notion/index.js';
58
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,oBAA6B,CAAC;AAG1D,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE9E,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAE5D,OAAO,EACL,aAAa,EACb,YAAY,EACZ,UAAU,GACX,MAAM,wBAAwB,CAAC;AAQhC,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AA0B7E,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,GAChB,MAAM,kBAAkB,CAAC;AAiE1B,OAAO;AACL,cAAc;AACd,aAAa,EACb,eAAe,EACf,aAAa,EACb,eAAe,EACf,eAAe,EACf,eAAe,EACf,iBAAiB;AACjB,mBAAmB;AACnB,6BAA6B,EAC7B,4BAA4B,EAC5B,qBAAqB,EACrB,wBAAwB,EACxB,6BAA6B;AAC7B,qBAAqB;AACrB,mBAAmB,EACnB,4BAA4B,EAC5B,iBAAiB,EACjB,0BAA0B,EAC1B,qBAAqB,EACrB,sBAAsB,EACtB,kBAAkB,EAClB,cAAc,EACd,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB;AAClB,2BAA2B;AAC3B,yBAAyB,EACzB,0BAA0B,EAC1B,sBAAsB,EACtB,kBAAkB,EAClB,gCAAgC;AAChC,qBAAqB;AACrB,iCAAiC,EACjC,oCAAoC,EACpC,kCAAkC,EAClC,+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OAAO,EACL,iBAAiB,EACjB,kBAAkB,IAAI,wBAAwB,EAC9C,mBAAmB,IAAI,yBAAyB,GACjD,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,58 @@
1
+ /**
2
+ * Zod schemas for Azure DevOps Pull Request API responses.
3
+ */
4
+ import { z } from 'zod/mini';
5
+ /** Minimal fields from a PR creation response. */
6
+ export declare const azdoPrCreatedSchema: z.ZodMiniObject<{
7
+ pullRequestId: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
8
+ }, z.core.$strip>;
9
+ /** Response from `GET .../pullrequests?searchCriteria.sourceRefName=...`. */
10
+ export declare const azdoPrListSchema: z.ZodMiniObject<{
11
+ value: z.ZodMiniArray<z.ZodMiniObject<{
12
+ pullRequestId: z.ZodMiniNumber<number>;
13
+ status: z.ZodMiniOptional<z.ZodMiniString<string>>;
14
+ reviewers: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
15
+ vote: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
16
+ displayName: z.ZodMiniOptional<z.ZodMiniString<string>>;
17
+ uniqueName: z.ZodMiniOptional<z.ZodMiniString<string>>;
18
+ }, z.core.$strip>>>;
19
+ }, z.core.$strip>>;
20
+ count: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
21
+ }, z.core.$strip>;
22
+ /** A comment thread on a pull request. */
23
+ declare const azdoThreadSchema: z.ZodMiniObject<{
24
+ id: z.ZodMiniNumber<number>;
25
+ status: z.ZodMiniOptional<z.ZodMiniString<string>>;
26
+ comments: z.ZodMiniArray<z.ZodMiniObject<{
27
+ content: z.ZodMiniOptional<z.ZodMiniString<string>>;
28
+ commentType: z.ZodMiniOptional<z.ZodMiniString<string>>;
29
+ publishedDate: z.ZodMiniOptional<z.ZodMiniString<string>>;
30
+ }, z.core.$strip>>;
31
+ threadContext: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
32
+ filePath: z.ZodMiniOptional<z.ZodMiniString<string>>;
33
+ }, z.core.$strip>>>;
34
+ isDeleted: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
35
+ publishedDate: z.ZodMiniOptional<z.ZodMiniString<string>>;
36
+ }, z.core.$strip>;
37
+ /** Response from `GET .../pullRequests/{id}/threads`. */
38
+ export declare const azdoThreadListSchema: z.ZodMiniObject<{
39
+ value: z.ZodMiniArray<z.ZodMiniObject<{
40
+ id: z.ZodMiniNumber<number>;
41
+ status: z.ZodMiniOptional<z.ZodMiniString<string>>;
42
+ comments: z.ZodMiniArray<z.ZodMiniObject<{
43
+ content: z.ZodMiniOptional<z.ZodMiniString<string>>;
44
+ commentType: z.ZodMiniOptional<z.ZodMiniString<string>>;
45
+ publishedDate: z.ZodMiniOptional<z.ZodMiniString<string>>;
46
+ }, z.core.$strip>>;
47
+ threadContext: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
48
+ filePath: z.ZodMiniOptional<z.ZodMiniString<string>>;
49
+ }, z.core.$strip>>>;
50
+ isDeleted: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
51
+ publishedDate: z.ZodMiniOptional<z.ZodMiniString<string>>;
52
+ }, z.core.$strip>>;
53
+ count: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
54
+ }, z.core.$strip>;
55
+ /** Inferred type for an AzDO PR thread. */
56
+ export type AzdoThread = z.infer<typeof azdoThreadSchema>;
57
+ export {};
58
+ //# sourceMappingURL=azdo-pr.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azdo-pr.d.ts","sourceRoot":"","sources":["../../../src/schemas/azdo/azdo-pr.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAiB7B,kDAAkD;AAClD,eAAO,MAAM,mBAAmB;;iBAE9B,CAAC;AAEH,6EAA6E;AAC7E,eAAO,MAAM,gBAAgB;;;;;;;;;;;iBAG3B,CAAC;AAcH,0CAA0C;AAC1C,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;iBAOpB,CAAC;AAEH,yDAAyD;AACzD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;iBAG/B,CAAC;AAEH,2CAA2C;AAC3C,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Zod schemas for Azure DevOps Pull Request API responses.
3
+ */
4
+ import { z } from 'zod/mini';
5
+ /** A single PR from the pull requests list endpoint. */
6
+ const azdoPrSchema = z.object({
7
+ pullRequestId: z.number(),
8
+ status: z.optional(z.string()),
9
+ reviewers: z.optional(z.array(z.object({
10
+ vote: z.optional(z.number()),
11
+ displayName: z.optional(z.string()),
12
+ uniqueName: z.optional(z.string()),
13
+ }))),
14
+ });
15
+ /** Minimal fields from a PR creation response. */
16
+ export const azdoPrCreatedSchema = z.object({
17
+ pullRequestId: z.optional(z.number()),
18
+ });
19
+ /** Response from `GET .../pullrequests?searchCriteria.sourceRefName=...`. */
20
+ export const azdoPrListSchema = z.object({
21
+ value: z.array(azdoPrSchema),
22
+ count: z.optional(z.number()),
23
+ });
24
+ /** Thread context — present for inline (file-level) comments, absent for general. */
25
+ const azdoThreadContextSchema = z.object({
26
+ filePath: z.optional(z.string()),
27
+ });
28
+ /** A single comment inside a thread. */
29
+ const azdoCommentSchema = z.object({
30
+ content: z.optional(z.string()),
31
+ commentType: z.optional(z.string()),
32
+ publishedDate: z.optional(z.string()),
33
+ });
34
+ /** A comment thread on a pull request. */
35
+ const azdoThreadSchema = z.object({
36
+ id: z.number(),
37
+ status: z.optional(z.string()),
38
+ comments: z.array(azdoCommentSchema),
39
+ threadContext: z.optional(z.nullable(azdoThreadContextSchema)),
40
+ isDeleted: z.optional(z.boolean()),
41
+ publishedDate: z.optional(z.string()),
42
+ });
43
+ /** Response from `GET .../pullRequests/{id}/threads`. */
44
+ export const azdoThreadListSchema = z.object({
45
+ value: z.array(azdoThreadSchema),
46
+ count: z.opt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