@unbrained/pm-cli 2026.7.5 → 2026.7.6

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 (825) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/cli-bundle/chunks/activity-WJCGCYPU.js +18 -0
  3. package/dist/cli-bundle/chunks/activity-Z6QUAUSG.js +22 -0
  4. package/dist/cli-bundle/chunks/aggregate-BDM6EIAR.js +25 -0
  5. package/dist/cli-bundle/chunks/aggregate-VQ2DHU3S.js +21 -0
  6. package/dist/cli-bundle/chunks/append-BGML6VLD.js +19 -0
  7. package/dist/cli-bundle/chunks/append-RKJYPU74.js +15 -0
  8. package/dist/cli-bundle/chunks/chunk-22KBU3MW.js +57 -0
  9. package/dist/cli-bundle/chunks/chunk-24YG75HI.js +634 -0
  10. package/dist/cli-bundle/chunks/chunk-2XG4IZON.js +218 -0
  11. package/dist/cli-bundle/chunks/chunk-3GCS5SKL.js +228 -0
  12. package/dist/cli-bundle/chunks/chunk-3KTN6IBA.js +2330 -0
  13. package/dist/cli-bundle/chunks/chunk-3N6RRO2Q.js +808 -0
  14. package/dist/cli-bundle/chunks/chunk-3N6RRO2Q.js.map +7 -0
  15. package/dist/cli-bundle/chunks/chunk-3UJRFJ5R.js +1573 -0
  16. package/dist/cli-bundle/chunks/chunk-3VHSI5FL.js +1001 -0
  17. package/dist/cli-bundle/chunks/chunk-425E4QL5.js +278 -0
  18. package/dist/cli-bundle/chunks/chunk-425E4QL5.js.map +7 -0
  19. package/dist/cli-bundle/chunks/chunk-45FYNUFJ.js +38 -0
  20. package/dist/cli-bundle/chunks/chunk-45FYNUFJ.js.map +1 -0
  21. package/dist/cli-bundle/chunks/chunk-46CUF5L6.js +1018 -0
  22. package/dist/cli-bundle/chunks/chunk-4CJFCTLM.js +222 -0
  23. package/dist/cli-bundle/chunks/chunk-4CJFCTLM.js.map +1 -0
  24. package/dist/cli-bundle/chunks/chunk-4HIFVN7N.js +249 -0
  25. package/dist/cli-bundle/chunks/chunk-4HIFVN7N.js.map +7 -0
  26. package/dist/cli-bundle/chunks/chunk-4IWYTWGF.js +819 -0
  27. package/dist/cli-bundle/chunks/chunk-4LELACOL.js +391 -0
  28. package/dist/cli-bundle/chunks/chunk-4LELACOL.js.map +1 -0
  29. package/dist/cli-bundle/chunks/chunk-4MZVRJOE.js +279 -0
  30. package/dist/cli-bundle/chunks/chunk-4MZVRJOE.js.map +1 -0
  31. package/dist/cli-bundle/chunks/chunk-4ZBE5GUN.js +184 -0
  32. package/dist/cli-bundle/chunks/chunk-4ZBE5GUN.js.map +7 -0
  33. package/dist/cli-bundle/chunks/chunk-57NWPFF2.js +5640 -0
  34. package/dist/cli-bundle/chunks/chunk-57NWPFF2.js.map +1 -0
  35. package/dist/cli-bundle/chunks/chunk-5AJXHQM7.js +268 -0
  36. package/dist/cli-bundle/chunks/chunk-5AJXHQM7.js.map +1 -0
  37. package/dist/cli-bundle/chunks/chunk-5BMM6XQY.js +508 -0
  38. package/dist/cli-bundle/chunks/chunk-5BMM6XQY.js.map +1 -0
  39. package/dist/cli-bundle/chunks/chunk-5GZ7TDD6.js +1868 -0
  40. package/dist/cli-bundle/chunks/chunk-5VAA4YHR.js +1749 -0
  41. package/dist/cli-bundle/chunks/chunk-64YKRTSV.js +1961 -0
  42. package/dist/cli-bundle/chunks/chunk-6LLVNJXT.js +429 -0
  43. package/dist/cli-bundle/chunks/chunk-6QBJLYBP.js +120 -0
  44. package/dist/cli-bundle/chunks/chunk-6QBJLYBP.js.map +1 -0
  45. package/dist/cli-bundle/chunks/chunk-7D7OOEYG.js +278 -0
  46. package/dist/cli-bundle/chunks/chunk-7D7OOEYG.js.map +7 -0
  47. package/dist/cli-bundle/chunks/chunk-7DT4WSH2.js +60 -0
  48. package/dist/cli-bundle/chunks/chunk-7WBAJSS6.js +102 -0
  49. package/dist/cli-bundle/chunks/chunk-AGHMOTGM.js +150 -0
  50. package/dist/cli-bundle/chunks/chunk-ALFPSEWO.js +112 -0
  51. package/dist/cli-bundle/chunks/chunk-AZYGZGGI.js +361 -0
  52. package/dist/cli-bundle/chunks/chunk-B6DUFX6H.js +1413 -0
  53. package/dist/cli-bundle/chunks/chunk-B6XS3R3O.js +275 -0
  54. package/dist/cli-bundle/chunks/chunk-B6XS3R3O.js.map +1 -0
  55. package/dist/cli-bundle/chunks/chunk-B7FRNMYN.js +421 -0
  56. package/dist/cli-bundle/chunks/chunk-B7FRNMYN.js.map +1 -0
  57. package/dist/cli-bundle/chunks/chunk-C5JBZRPU.js +1985 -0
  58. package/dist/cli-bundle/chunks/chunk-CFB33L7W.js +398 -0
  59. package/dist/cli-bundle/chunks/chunk-CFNGIXZP.js +784 -0
  60. package/dist/cli-bundle/chunks/chunk-CFNGIXZP.js.map +1 -0
  61. package/dist/cli-bundle/chunks/chunk-CL36D4PC.js +225 -0
  62. package/dist/cli-bundle/chunks/chunk-COSPOP7H.js +6677 -0
  63. package/dist/cli-bundle/chunks/chunk-COSPOP7H.js.map +7 -0
  64. package/dist/cli-bundle/chunks/chunk-COWTDV6B.js +3461 -0
  65. package/dist/cli-bundle/chunks/chunk-COWTDV6B.js.map +7 -0
  66. package/dist/cli-bundle/chunks/chunk-CRVYGJUI.js +553 -0
  67. package/dist/cli-bundle/chunks/chunk-CRVYGJUI.js.map +1 -0
  68. package/dist/cli-bundle/chunks/chunk-D2XRLB55.js +645 -0
  69. package/dist/cli-bundle/chunks/chunk-DEWEK6AN.js +1858 -0
  70. package/dist/cli-bundle/chunks/chunk-DMRNBQOI.js +1063 -0
  71. package/dist/cli-bundle/chunks/chunk-DMRNBQOI.js.map +1 -0
  72. package/dist/cli-bundle/chunks/chunk-E3SZTQ4K.js +1932 -0
  73. package/dist/cli-bundle/chunks/chunk-E42XTBSP.js +1359 -0
  74. package/dist/cli-bundle/chunks/chunk-E42XTBSP.js.map +7 -0
  75. package/dist/cli-bundle/chunks/chunk-EBRZZ54H.js +655 -0
  76. package/dist/cli-bundle/chunks/chunk-EBRZZ54H.js.map +1 -0
  77. package/dist/cli-bundle/chunks/chunk-EGAP5OWD.js +4712 -0
  78. package/dist/cli-bundle/chunks/chunk-EGAP5OWD.js.map +1 -0
  79. package/dist/cli-bundle/chunks/chunk-EGY6JBQ3.js +160 -0
  80. package/dist/cli-bundle/chunks/chunk-EKFNL33R.js +222 -0
  81. package/dist/cli-bundle/chunks/chunk-ENGQOEUY.js +1704 -0
  82. package/dist/cli-bundle/chunks/chunk-EOKXK3R3.js +2046 -0
  83. package/dist/cli-bundle/chunks/chunk-F3K4JGFD.js +121 -0
  84. package/dist/cli-bundle/chunks/chunk-FLZSGSQR.js +231 -0
  85. package/dist/cli-bundle/chunks/chunk-FOUYJE4A.js +2090 -0
  86. package/dist/cli-bundle/chunks/chunk-FOUYJE4A.js.map +1 -0
  87. package/dist/cli-bundle/chunks/chunk-FT3QTERD.js +550 -0
  88. package/dist/cli-bundle/chunks/chunk-G24G7ZAV.js +1570 -0
  89. package/dist/cli-bundle/chunks/chunk-G64OCSKU.js +444 -0
  90. package/dist/cli-bundle/chunks/chunk-GANUTS7W.js +1775 -0
  91. package/dist/cli-bundle/chunks/chunk-GBAX2ZAQ.js +401 -0
  92. package/dist/cli-bundle/chunks/chunk-GDDAGPWJ.js +105 -0
  93. package/dist/cli-bundle/chunks/chunk-GDDAGPWJ.js.map +1 -0
  94. package/dist/cli-bundle/chunks/chunk-GEYZ4G4O.js +239 -0
  95. package/dist/cli-bundle/chunks/chunk-GEYZ4G4O.js.map +1 -0
  96. package/dist/cli-bundle/chunks/chunk-GJ7QC5DJ.js +624 -0
  97. package/dist/cli-bundle/chunks/chunk-GPLPTGOV.js +530 -0
  98. package/dist/cli-bundle/chunks/chunk-GZRDYONU.js +1005 -0
  99. package/dist/cli-bundle/chunks/chunk-HFDADVJZ.js +1356 -0
  100. package/dist/cli-bundle/chunks/chunk-HFDADVJZ.js.map +1 -0
  101. package/dist/cli-bundle/chunks/chunk-HIHMT6WS.js +41 -0
  102. package/dist/cli-bundle/chunks/chunk-HIHMT6WS.js.map +7 -0
  103. package/dist/cli-bundle/chunks/chunk-HN6NSXNW.js +277 -0
  104. package/dist/cli-bundle/chunks/chunk-HN6NSXNW.js.map +7 -0
  105. package/dist/cli-bundle/chunks/chunk-HOVCGJSD.js +293 -0
  106. package/dist/cli-bundle/chunks/chunk-HOVCGJSD.js.map +1 -0
  107. package/dist/cli-bundle/chunks/chunk-I36Y7PCE.js +38 -0
  108. package/dist/cli-bundle/chunks/chunk-I36Y7PCE.js.map +1 -0
  109. package/dist/cli-bundle/chunks/chunk-IQNVQHOP.js +309 -0
  110. package/dist/cli-bundle/chunks/chunk-IQNVQHOP.js.map +7 -0
  111. package/dist/cli-bundle/chunks/chunk-IWVU4C2F.js +358 -0
  112. package/dist/cli-bundle/chunks/chunk-IX5BXEMX.js +267 -0
  113. package/dist/cli-bundle/chunks/chunk-JDDLOQAE.js +265 -0
  114. package/dist/cli-bundle/chunks/chunk-JJP45OEI.js +119 -0
  115. package/dist/cli-bundle/chunks/chunk-JQXPY7DN.js +2257 -0
  116. package/dist/cli-bundle/chunks/chunk-JQXPY7DN.js.map +7 -0
  117. package/dist/cli-bundle/chunks/chunk-JVH7QBVV.js +24 -0
  118. package/dist/cli-bundle/chunks/chunk-JVH7QBVV.js.map +1 -0
  119. package/dist/cli-bundle/chunks/chunk-K46RF36U.js +207 -0
  120. package/dist/cli-bundle/chunks/chunk-KERMZVY5.js +371 -0
  121. package/dist/cli-bundle/chunks/chunk-KERMZVY5.js.map +7 -0
  122. package/dist/cli-bundle/chunks/chunk-KGFUY7WN.js +814 -0
  123. package/dist/cli-bundle/chunks/chunk-KSRUHV2H.js +76 -0
  124. package/dist/cli-bundle/chunks/chunk-KSRUHV2H.js.map +1 -0
  125. package/dist/cli-bundle/chunks/chunk-KUOOJR35.js +260 -0
  126. package/dist/cli-bundle/chunks/chunk-L5PSPMZ4.js +277 -0
  127. package/dist/cli-bundle/chunks/chunk-LK6XLOGP.js +5799 -0
  128. package/dist/cli-bundle/chunks/chunk-LK6XLOGP.js.map +7 -0
  129. package/dist/cli-bundle/chunks/chunk-LP3HSFZ2.js +140 -0
  130. package/dist/cli-bundle/chunks/chunk-LP3HSFZ2.js.map +1 -0
  131. package/dist/cli-bundle/chunks/chunk-LPSSSDJR.js +1239 -0
  132. package/dist/cli-bundle/chunks/chunk-M7JNBQAD.js +225 -0
  133. package/dist/cli-bundle/chunks/chunk-M7JNBQAD.js.map +7 -0
  134. package/dist/cli-bundle/chunks/chunk-MA4SM3QZ.js +655 -0
  135. package/dist/cli-bundle/chunks/chunk-MAWDPCJW.js +1601 -0
  136. package/dist/cli-bundle/chunks/chunk-MAWDPCJW.js.map +1 -0
  137. package/dist/cli-bundle/chunks/chunk-MFAZSEM5.js +1031 -0
  138. package/dist/cli-bundle/chunks/chunk-MFSCBT5Q.js +995 -0
  139. package/dist/cli-bundle/chunks/chunk-ML5X7DP2.js +296 -0
  140. package/dist/cli-bundle/chunks/chunk-ML5X7DP2.js.map +1 -0
  141. package/dist/cli-bundle/chunks/chunk-MLIYFOE7.js +357 -0
  142. package/dist/cli-bundle/chunks/chunk-MR6FJ7LL.js +2043 -0
  143. package/dist/cli-bundle/chunks/chunk-MR6FJ7LL.js.map +7 -0
  144. package/dist/cli-bundle/chunks/chunk-MUH7A3FD.js +61 -0
  145. package/dist/cli-bundle/chunks/chunk-MVSP7WGJ.js +108 -0
  146. package/dist/cli-bundle/chunks/chunk-MVSP7WGJ.js.map +7 -0
  147. package/dist/cli-bundle/chunks/chunk-MVYWGY2A.js +262 -0
  148. package/dist/cli-bundle/chunks/chunk-MWMVPCIE.js +1423 -0
  149. package/dist/cli-bundle/chunks/chunk-MXYA5SAJ.js +2033 -0
  150. package/dist/cli-bundle/chunks/chunk-MXYA5SAJ.js.map +1 -0
  151. package/dist/cli-bundle/chunks/chunk-N745W3B3.js +1604 -0
  152. package/dist/cli-bundle/chunks/chunk-N745W3B3.js.map +7 -0
  153. package/dist/cli-bundle/chunks/chunk-NB7RLQFW.js +57 -0
  154. package/dist/cli-bundle/chunks/chunk-NB7RLQFW.js.map +7 -0
  155. package/dist/cli-bundle/chunks/chunk-NC33K5ZS.js +123 -0
  156. package/dist/cli-bundle/chunks/chunk-NC33K5ZS.js.map +7 -0
  157. package/dist/cli-bundle/chunks/chunk-NGXQ3PFT.js +263 -0
  158. package/dist/cli-bundle/chunks/chunk-NMP5I3I5.js +1615 -0
  159. package/dist/cli-bundle/chunks/chunk-NO442GWJ.js +41 -0
  160. package/dist/cli-bundle/chunks/chunk-NO442GWJ.js.map +7 -0
  161. package/dist/cli-bundle/chunks/chunk-NZEHECMW.js +658 -0
  162. package/dist/cli-bundle/chunks/chunk-NZEHECMW.js.map +7 -0
  163. package/dist/cli-bundle/chunks/chunk-O6AWCQRQ.js +124 -0
  164. package/dist/cli-bundle/chunks/chunk-OGWQ2IEP.js +240 -0
  165. package/dist/cli-bundle/chunks/chunk-PZUGEOPS.js +143 -0
  166. package/dist/cli-bundle/chunks/chunk-PZUGEOPS.js.map +7 -0
  167. package/dist/cli-bundle/chunks/chunk-QLMX7SRD.js +210 -0
  168. package/dist/cli-bundle/chunks/chunk-QX6HM775.js +398 -0
  169. package/dist/cli-bundle/chunks/chunk-QX6HM775.js.map +7 -0
  170. package/dist/cli-bundle/chunks/chunk-R5BMJX33.js +27 -0
  171. package/dist/cli-bundle/chunks/chunk-R5BMJX33.js.map +7 -0
  172. package/dist/cli-bundle/chunks/chunk-RCQZK2GO.js +296 -0
  173. package/dist/cli-bundle/chunks/chunk-RCQZK2GO.js.map +7 -0
  174. package/dist/cli-bundle/chunks/chunk-RFNYTESG.js +520 -0
  175. package/dist/cli-bundle/chunks/chunk-RKQOO2UM.js +79 -0
  176. package/dist/cli-bundle/chunks/chunk-RKQOO2UM.js.map +7 -0
  177. package/dist/cli-bundle/chunks/chunk-RQLT6ZWB.js +282 -0
  178. package/dist/cli-bundle/chunks/chunk-RQLT6ZWB.js.map +7 -0
  179. package/dist/cli-bundle/chunks/chunk-S3JS6YVZ.js +274 -0
  180. package/dist/cli-bundle/chunks/chunk-S3JS6YVZ.js.map +1 -0
  181. package/dist/cli-bundle/chunks/chunk-SCUR7K7N.js +2198 -0
  182. package/dist/cli-bundle/chunks/chunk-SGMFPXKR.js +68 -0
  183. package/dist/cli-bundle/chunks/chunk-SGMFPXKR.js.map +1 -0
  184. package/dist/cli-bundle/chunks/chunk-SHQY2IDC.js +1977 -0
  185. package/dist/cli-bundle/chunks/chunk-SMB7RV23.js +130 -0
  186. package/dist/cli-bundle/chunks/chunk-SPZ6DOGY.js +1041 -0
  187. package/dist/cli-bundle/chunks/chunk-SQOIV3OQ.js +563 -0
  188. package/dist/cli-bundle/chunks/chunk-SQOIV3OQ.js.map +7 -0
  189. package/dist/cli-bundle/chunks/chunk-SQYJ4HF2.js +1765 -0
  190. package/dist/cli-bundle/chunks/chunk-T42JWV3F.js +822 -0
  191. package/dist/cli-bundle/chunks/chunk-TKD5VCTD.js +6567 -0
  192. package/dist/cli-bundle/chunks/chunk-TKD5VCTD.js.map +1 -0
  193. package/dist/cli-bundle/chunks/chunk-TULGS6X6.js +2132 -0
  194. package/dist/cli-bundle/chunks/chunk-TZXRBVAM.js +2306 -0
  195. package/dist/cli-bundle/chunks/chunk-UH7T2DAX.js +181 -0
  196. package/dist/cli-bundle/chunks/chunk-UH7T2DAX.js.map +1 -0
  197. package/dist/cli-bundle/chunks/chunk-VIIUS6N6.js +4773 -0
  198. package/dist/cli-bundle/chunks/chunk-VIIUS6N6.js.map +7 -0
  199. package/dist/cli-bundle/chunks/chunk-VPIM42PC.js +367 -0
  200. package/dist/cli-bundle/chunks/chunk-VQRSPVME.js +368 -0
  201. package/dist/cli-bundle/chunks/chunk-VQRSPVME.js.map +1 -0
  202. package/dist/cli-bundle/chunks/chunk-W3DSJQIO.js +447 -0
  203. package/dist/cli-bundle/chunks/chunk-W572BIEB.js +1249 -0
  204. package/dist/cli-bundle/chunks/chunk-W6DYWXPQ.js +1073 -0
  205. package/dist/cli-bundle/chunks/chunk-W6DYWXPQ.js.map +7 -0
  206. package/dist/cli-bundle/chunks/chunk-WG34ZNQQ.js +3423 -0
  207. package/dist/cli-bundle/chunks/chunk-WG34ZNQQ.js.map +1 -0
  208. package/dist/cli-bundle/chunks/chunk-WLSM645P.js +2247 -0
  209. package/dist/cli-bundle/chunks/chunk-WLSM645P.js.map +1 -0
  210. package/dist/cli-bundle/chunks/chunk-WRTENIX3.js +215 -0
  211. package/dist/cli-bundle/chunks/chunk-WSBLYDWV.js +388 -0
  212. package/dist/cli-bundle/chunks/chunk-WSBLYDWV.js.map +1 -0
  213. package/dist/cli-bundle/chunks/chunk-XB7KFVFI.js +533 -0
  214. package/dist/cli-bundle/chunks/chunk-XC5BURG2.js +306 -0
  215. package/dist/cli-bundle/chunks/chunk-XC5BURG2.js.map +1 -0
  216. package/dist/cli-bundle/chunks/chunk-XDB7RWQT.js +424 -0
  217. package/dist/cli-bundle/chunks/chunk-XDB7RWQT.js.map +7 -0
  218. package/dist/cli-bundle/chunks/chunk-XG625QP4.js +58 -0
  219. package/dist/cli-bundle/chunks/chunk-XHET7YUZ.js +71 -0
  220. package/dist/cli-bundle/chunks/chunk-XHET7YUZ.js.map +7 -0
  221. package/dist/cli-bundle/chunks/chunk-XUC7PI2H.js +243 -0
  222. package/dist/cli-bundle/chunks/chunk-Y46GD4IX.js +116 -0
  223. package/dist/cli-bundle/chunks/chunk-Y4M7CPQP.js +804 -0
  224. package/dist/cli-bundle/chunks/chunk-Y6BK55A3.js +2128 -0
  225. package/dist/cli-bundle/chunks/chunk-Y6BK55A3.js.map +7 -0
  226. package/dist/cli-bundle/chunks/chunk-YN7Y6DQZ.js +426 -0
  227. package/dist/cli-bundle/chunks/chunk-Z3U3U5KD.js +511 -0
  228. package/dist/cli-bundle/chunks/chunk-Z3U3U5KD.js.map +7 -0
  229. package/dist/cli-bundle/chunks/chunk-ZGK4L4JM.js +133 -0
  230. package/dist/cli-bundle/chunks/chunk-ZJ262CED.js +394 -0
  231. package/dist/cli-bundle/chunks/chunk-ZJ262CED.js.map +7 -0
  232. package/dist/cli-bundle/chunks/chunk-ZO3XKAOP.js +299 -0
  233. package/dist/cli-bundle/chunks/chunk-ZO3XKAOP.js.map +7 -0
  234. package/dist/cli-bundle/chunks/chunk-ZSUS2OD3.js +2105 -0
  235. package/dist/cli-bundle/chunks/chunk-ZWBEPGD7.js +54 -0
  236. package/dist/cli-bundle/chunks/chunk-ZWBEPGD7.js.map +1 -0
  237. package/dist/cli-bundle/chunks/chunk-ZZD4J5XY.js +1570 -0
  238. package/dist/cli-bundle/chunks/claim-RFS7BROJ.js +19 -0
  239. package/dist/cli-bundle/chunks/claim-XP5AWZ5H.js +23 -0
  240. package/dist/cli-bundle/chunks/close-2SSSHHUZ.js +20 -0
  241. package/dist/cli-bundle/chunks/close-GEANHQ2J.js +16 -0
  242. package/dist/cli-bundle/chunks/close-many-CMZW7ITN.js +31 -0
  243. package/dist/cli-bundle/chunks/close-many-ZFDIG6M7.js +27 -0
  244. package/dist/cli-bundle/chunks/comments-MFSYVNNU.js +21 -0
  245. package/dist/cli-bundle/chunks/comments-XUBPXDYX.js +17 -0
  246. package/dist/cli-bundle/chunks/config-D7XQMONX.js +18 -0
  247. package/dist/cli-bundle/chunks/config-T4FHBSYN.js +22 -0
  248. package/dist/cli-bundle/chunks/context-DIU275XI.js +48 -0
  249. package/dist/cli-bundle/chunks/context-JCOYB4LZ.js +44 -0
  250. package/dist/cli-bundle/chunks/contracts-BVO7CSLK.js +12 -0
  251. package/dist/cli-bundle/chunks/contracts-NYPEW2G4.js +16 -0
  252. package/dist/cli-bundle/chunks/copy-32ROBIDL.js +17 -0
  253. package/dist/cli-bundle/chunks/copy-NAGLGMHZ.js +13 -0
  254. package/dist/cli-bundle/chunks/create-4V7SWNBB.js +30 -0
  255. package/dist/cli-bundle/chunks/create-E77SDCUP.js +34 -0
  256. package/dist/cli-bundle/chunks/delete-NQI5OSKN.js +14 -0
  257. package/dist/cli-bundle/chunks/delete-RA5KTCLB.js +18 -0
  258. package/dist/cli-bundle/chunks/deps-32SU7HO5.js +21 -0
  259. package/dist/cli-bundle/chunks/deps-T7SCWXEX.js +17 -0
  260. package/dist/cli-bundle/chunks/docs-RRUPT7O2.js +22 -0
  261. package/dist/cli-bundle/chunks/docs-WL2IWGWV.js +18 -0
  262. package/dist/cli-bundle/chunks/eval-NF2J5SHR.js +23 -0
  263. package/dist/cli-bundle/chunks/eval-SKDT3MZU.js +27 -0
  264. package/dist/cli-bundle/chunks/extension-LAXKCAYE.js +42 -0
  265. package/dist/cli-bundle/chunks/extension-LAXKCAYE.js.map +1 -0
  266. package/dist/cli-bundle/chunks/extension-ZISPBRBC.js +38 -0
  267. package/dist/cli-bundle/chunks/extension-ZISPBRBC.js.map +7 -0
  268. package/dist/cli-bundle/chunks/files-EWRQHGIS.js +22 -0
  269. package/dist/cli-bundle/chunks/files-EWRQHGIS.js.map +7 -0
  270. package/dist/cli-bundle/chunks/files-PYKR2UUG.js +26 -0
  271. package/dist/cli-bundle/chunks/files-PYKR2UUG.js.map +1 -0
  272. package/dist/cli-bundle/chunks/focus-4T7TM4MT.js +18 -0
  273. package/dist/cli-bundle/chunks/focus-4T7TM4MT.js.map +1 -0
  274. package/dist/cli-bundle/chunks/focus-L3YUASOD.js +14 -0
  275. package/dist/cli-bundle/chunks/focus-L3YUASOD.js.map +7 -0
  276. package/dist/cli-bundle/chunks/gc-2DNMPXMC.js +16 -0
  277. package/dist/cli-bundle/chunks/gc-2DNMPXMC.js.map +1 -0
  278. package/dist/cli-bundle/chunks/gc-2PCTYYRI.js +12 -0
  279. package/dist/cli-bundle/chunks/gc-2PCTYYRI.js.map +7 -0
  280. package/dist/cli-bundle/chunks/get-7DMITJ3G.js +23 -0
  281. package/dist/cli-bundle/chunks/get-7DMITJ3G.js.map +1 -0
  282. package/dist/cli-bundle/chunks/get-VKQXCXLL.js +19 -0
  283. package/dist/cli-bundle/chunks/get-VKQXCXLL.js.map +7 -0
  284. package/dist/cli-bundle/chunks/health-CVSTAR2F.js +31 -0
  285. package/dist/cli-bundle/chunks/health-CVSTAR2F.js.map +7 -0
  286. package/dist/cli-bundle/chunks/health-TV3GKTFN.js +35 -0
  287. package/dist/cli-bundle/chunks/health-TV3GKTFN.js.map +1 -0
  288. package/dist/cli-bundle/chunks/history-D4JUX5XV.js +20 -0
  289. package/dist/cli-bundle/chunks/history-D4JUX5XV.js.map +7 -0
  290. package/dist/cli-bundle/chunks/history-LQ2UWZTE.js +24 -0
  291. package/dist/cli-bundle/chunks/history-LQ2UWZTE.js.map +1 -0
  292. package/dist/cli-bundle/chunks/history-compact-3MNXLKAT.js +29 -0
  293. package/dist/cli-bundle/chunks/history-compact-3MNXLKAT.js.map +1 -0
  294. package/dist/cli-bundle/chunks/history-compact-QWEO32FP.js +25 -0
  295. package/dist/cli-bundle/chunks/history-compact-QWEO32FP.js.map +7 -0
  296. package/dist/cli-bundle/chunks/history-redact-3OIVBVIY.js +21 -0
  297. package/dist/cli-bundle/chunks/history-redact-3OIVBVIY.js.map +7 -0
  298. package/dist/cli-bundle/chunks/history-redact-P6DYF55G.js +25 -0
  299. package/dist/cli-bundle/chunks/history-redact-P6DYF55G.js.map +1 -0
  300. package/dist/cli-bundle/chunks/history-repair-I3E73UGQ.js +23 -0
  301. package/dist/cli-bundle/chunks/history-repair-I3E73UGQ.js.map +7 -0
  302. package/dist/cli-bundle/chunks/history-repair-ZJQFMWPD.js +27 -0
  303. package/dist/cli-bundle/chunks/history-repair-ZJQFMWPD.js.map +1 -0
  304. package/dist/cli-bundle/chunks/init-C3LJPWQZ.js +30 -0
  305. package/dist/cli-bundle/chunks/init-C3LJPWQZ.js.map +1 -0
  306. package/dist/cli-bundle/chunks/init-J3DPGWQI.js +26 -0
  307. package/dist/cli-bundle/chunks/init-J3DPGWQI.js.map +7 -0
  308. package/dist/cli-bundle/chunks/learnings-5BO2SNDW.js +21 -0
  309. package/dist/cli-bundle/chunks/learnings-5BO2SNDW.js.map +1 -0
  310. package/dist/cli-bundle/chunks/learnings-OGP4JB4I.js +17 -0
  311. package/dist/cli-bundle/chunks/learnings-OGP4JB4I.js.map +7 -0
  312. package/dist/cli-bundle/chunks/list-O5NZVSPN.js +36 -0
  313. package/dist/cli-bundle/chunks/list-O5NZVSPN.js.map +1 -0
  314. package/dist/cli-bundle/chunks/list-Z55YCNTC.js +32 -0
  315. package/dist/cli-bundle/chunks/list-Z55YCNTC.js.map +7 -0
  316. package/dist/cli-bundle/chunks/next-GBNTGXFC.js +28 -0
  317. package/dist/cli-bundle/chunks/next-GBNTGXFC.js.map +7 -0
  318. package/dist/cli-bundle/chunks/next-QKW7PTKE.js +32 -0
  319. package/dist/cli-bundle/chunks/next-QKW7PTKE.js.map +1 -0
  320. package/dist/cli-bundle/chunks/notes-R5FZTKWF.js +17 -0
  321. package/dist/cli-bundle/chunks/notes-R5FZTKWF.js.map +7 -0
  322. package/dist/cli-bundle/chunks/notes-WCGIULVG.js +21 -0
  323. package/dist/cli-bundle/chunks/notes-WCGIULVG.js.map +1 -0
  324. package/dist/cli-bundle/chunks/plan-ADISFYH4.js +29 -0
  325. package/dist/cli-bundle/chunks/plan-ADISFYH4.js.map +7 -0
  326. package/dist/cli-bundle/chunks/plan-CHVE7PBR.js +33 -0
  327. package/dist/cli-bundle/chunks/plan-CHVE7PBR.js.map +1 -0
  328. package/dist/cli-bundle/chunks/profile-LD23PSI6.js +37 -0
  329. package/dist/cli-bundle/chunks/profile-LD23PSI6.js.map +7 -0
  330. package/dist/cli-bundle/chunks/profile-ZXGSKBJD.js +41 -0
  331. package/dist/cli-bundle/chunks/profile-ZXGSKBJD.js.map +1 -0
  332. package/dist/cli-bundle/chunks/register-list-query-B42JCCOI.js +409 -0
  333. package/dist/cli-bundle/chunks/register-list-query-OEYQHFXO.js +419 -0
  334. package/dist/cli-bundle/chunks/register-mutation-3QXIHCQG.js +1273 -0
  335. package/dist/cli-bundle/chunks/register-mutation-IAEST26S.js +1256 -0
  336. package/dist/cli-bundle/chunks/register-operations-I3M3U7DS.js +19 -0
  337. package/dist/cli-bundle/chunks/register-operations-I3M3U7DS.js.map +7 -0
  338. package/dist/cli-bundle/chunks/register-operations-UHKENLZV.js +23 -0
  339. package/dist/cli-bundle/chunks/register-operations-UHKENLZV.js.map +1 -0
  340. package/dist/cli-bundle/chunks/register-setup-3ZVVX2VN.js +324 -0
  341. package/dist/cli-bundle/chunks/register-setup-3ZVVX2VN.js.map +7 -0
  342. package/dist/cli-bundle/chunks/register-setup-Q6KFNIOZ.js +321 -0
  343. package/dist/cli-bundle/chunks/register-setup-Q6KFNIOZ.js.map +1 -0
  344. package/dist/cli-bundle/chunks/restore-5RQHAPMA.js +23 -0
  345. package/dist/cli-bundle/chunks/restore-5RQHAPMA.js.map +1 -0
  346. package/dist/cli-bundle/chunks/restore-PNEIBBLW.js +19 -0
  347. package/dist/cli-bundle/chunks/restore-PNEIBBLW.js.map +7 -0
  348. package/dist/cli-bundle/chunks/scheduling-shortcuts-4G56YHVQ.js +29 -0
  349. package/dist/cli-bundle/chunks/scheduling-shortcuts-4G56YHVQ.js.map +1 -0
  350. package/dist/cli-bundle/chunks/scheduling-shortcuts-75DULBYP.js +25 -0
  351. package/dist/cli-bundle/chunks/scheduling-shortcuts-75DULBYP.js.map +7 -0
  352. package/dist/cli-bundle/chunks/schema-245WW4G2.js +78 -0
  353. package/dist/cli-bundle/chunks/schema-245WW4G2.js.map +1 -0
  354. package/dist/cli-bundle/chunks/schema-HBORFC6B.js +74 -0
  355. package/dist/cli-bundle/chunks/schema-HBORFC6B.js.map +7 -0
  356. package/dist/cli-bundle/chunks/search-AOZC5SIK.js +34 -0
  357. package/dist/cli-bundle/chunks/search-AOZC5SIK.js.map +7 -0
  358. package/dist/cli-bundle/chunks/search-DRXPGHD7.js +38 -0
  359. package/dist/cli-bundle/chunks/search-DRXPGHD7.js.map +1 -0
  360. package/dist/cli-bundle/chunks/stats-NJG4NLHG.js +21 -0
  361. package/dist/cli-bundle/chunks/stats-NJG4NLHG.js.map +1 -0
  362. package/dist/cli-bundle/chunks/stats-RG6AG4N2.js +17 -0
  363. package/dist/cli-bundle/chunks/stats-RG6AG4N2.js.map +7 -0
  364. package/dist/cli-bundle/chunks/telemetry-HQC2JJIF.js +14 -0
  365. package/dist/cli-bundle/chunks/telemetry-HQC2JJIF.js.map +7 -0
  366. package/dist/cli-bundle/chunks/telemetry-MPNL3HHY.js +18 -0
  367. package/dist/cli-bundle/chunks/telemetry-MPNL3HHY.js.map +1 -0
  368. package/dist/cli-bundle/chunks/test-6CMOCWUC.js +39 -0
  369. package/dist/cli-bundle/chunks/test-6CMOCWUC.js.map +7 -0
  370. package/dist/cli-bundle/chunks/test-RI7XHBZL.js +43 -0
  371. package/dist/cli-bundle/chunks/test-RI7XHBZL.js.map +1 -0
  372. package/dist/cli-bundle/chunks/test-all-7R7YRZIA.js +29 -0
  373. package/dist/cli-bundle/chunks/test-all-7R7YRZIA.js.map +7 -0
  374. package/dist/cli-bundle/chunks/test-all-QEIORFYW.js +33 -0
  375. package/dist/cli-bundle/chunks/test-all-QEIORFYW.js.map +1 -0
  376. package/dist/cli-bundle/chunks/test-runs-5Y2BOU2S.js +28 -0
  377. package/dist/cli-bundle/chunks/test-runs-5Y2BOU2S.js.map +1 -0
  378. package/dist/cli-bundle/chunks/test-runs-PVGC3GRZ.js +24 -0
  379. package/dist/cli-bundle/chunks/test-runs-PVGC3GRZ.js.map +7 -0
  380. package/dist/cli-bundle/chunks/update-QVJDFEAP.js +30 -0
  381. package/dist/cli-bundle/chunks/update-QVJDFEAP.js.map +1 -0
  382. package/dist/cli-bundle/chunks/update-VQVHAY6X.js +26 -0
  383. package/dist/cli-bundle/chunks/update-VQVHAY6X.js.map +7 -0
  384. package/dist/cli-bundle/chunks/update-many-S7XWBSB3.js +37 -0
  385. package/dist/cli-bundle/chunks/update-many-S7XWBSB3.js.map +7 -0
  386. package/dist/cli-bundle/chunks/update-many-YIYW6XQ6.js +41 -0
  387. package/dist/cli-bundle/chunks/update-many-YIYW6XQ6.js.map +1 -0
  388. package/dist/cli-bundle/chunks/upgrade-OPRXA56R.js +24 -0
  389. package/dist/cli-bundle/chunks/upgrade-OPRXA56R.js.map +7 -0
  390. package/dist/cli-bundle/chunks/upgrade-WH4BTQLX.js +28 -0
  391. package/dist/cli-bundle/chunks/upgrade-WH4BTQLX.js.map +1 -0
  392. package/dist/cli-bundle/chunks/validate-4NTXSB62.js +36 -0
  393. package/dist/cli-bundle/chunks/validate-4NTXSB62.js.map +1 -0
  394. package/dist/cli-bundle/chunks/validate-MUFXQZMI.js +32 -0
  395. package/dist/cli-bundle/chunks/validate-MUFXQZMI.js.map +7 -0
  396. package/dist/cli-bundle/main.js +16 -16
  397. package/dist/cli-bundle/sdk-runtime.js +88 -28
  398. package/dist/cli-bundle/sdk-testing.js +6 -6
  399. package/dist/cli-bundle/sdk.js +92 -49
  400. package/dist/cli-bundle/sdk.js.map +2 -2
  401. package/dist/mcp/server.d.ts +22 -50
  402. package/dist/mcp/server.js +62 -916
  403. package/dist/mcp/server.js.map +1 -1
  404. package/dist/sdk/index.d.ts +4 -2
  405. package/dist/sdk/index.js +4 -4
  406. package/dist/sdk/index.js.map +1 -1
  407. package/dist/sdk/runtime.d.ts +168 -4
  408. package/dist/sdk/runtime.js +1149 -25
  409. package/dist/sdk/runtime.js.map +1 -1
  410. package/dist/sdk/workspace-contracts-cache.d.ts +17 -0
  411. package/dist/sdk/workspace-contracts-cache.js +36 -0
  412. package/dist/sdk/workspace-contracts-cache.js.map +1 -0
  413. package/docs/RELEASING.md +3 -1
  414. package/docs/SDK.md +46 -0
  415. package/docs/examples/sdk-app-embedding/run-embedded-pm.mjs +16 -2
  416. package/docs/examples/sdk-contract-consumer/inspect-contracts.mjs +16 -1
  417. package/package.json +1 -1
  418. package/dist/cli-bundle/chunks/activity-4XQIDNM5.js +0 -18
  419. package/dist/cli-bundle/chunks/activity-YKAKZTZ4.js +0 -22
  420. package/dist/cli-bundle/chunks/aggregate-EQX2RGB7.js +0 -375
  421. package/dist/cli-bundle/chunks/aggregate-EQX2RGB7.js.map +0 -7
  422. package/dist/cli-bundle/chunks/aggregate-PEGZGJXD.js +0 -372
  423. package/dist/cli-bundle/chunks/aggregate-PEGZGJXD.js.map +0 -1
  424. package/dist/cli-bundle/chunks/append-CZGUZ45Q.js +0 -73
  425. package/dist/cli-bundle/chunks/append-CZGUZ45Q.js.map +0 -7
  426. package/dist/cli-bundle/chunks/append-NSQBCXZJ.js +0 -70
  427. package/dist/cli-bundle/chunks/append-NSQBCXZJ.js.map +0 -1
  428. package/dist/cli-bundle/chunks/chunk-3JZNEQBA.js +0 -1413
  429. package/dist/cli-bundle/chunks/chunk-3PL6LEKP.js +0 -1961
  430. package/dist/cli-bundle/chunks/chunk-3U3VEWK6.js +0 -1749
  431. package/dist/cli-bundle/chunks/chunk-3Y4OESPP.js +0 -277
  432. package/dist/cli-bundle/chunks/chunk-4LRVSBO6.js +0 -822
  433. package/dist/cli-bundle/chunks/chunk-4OFLJHX6.js +0 -356
  434. package/dist/cli-bundle/chunks/chunk-4QQ6PM7M.js +0 -1249
  435. package/dist/cli-bundle/chunks/chunk-53BTLLAF.js +0 -2181
  436. package/dist/cli-bundle/chunks/chunk-53BTLLAF.js.map +0 -1
  437. package/dist/cli-bundle/chunks/chunk-57C2RLW5.js +0 -1704
  438. package/dist/cli-bundle/chunks/chunk-5B3X4Y22.js +0 -2330
  439. package/dist/cli-bundle/chunks/chunk-5J2XPTAD.js +0 -225
  440. package/dist/cli-bundle/chunks/chunk-5JE6SMYS.js +0 -262
  441. package/dist/cli-bundle/chunks/chunk-5JZ7APJU.js +0 -995
  442. package/dist/cli-bundle/chunks/chunk-5VVUKE3U.js +0 -5789
  443. package/dist/cli-bundle/chunks/chunk-5VVUKE3U.js.map +0 -7
  444. package/dist/cli-bundle/chunks/chunk-75U6M5ZD.js +0 -819
  445. package/dist/cli-bundle/chunks/chunk-7EQNAZX2.js +0 -1018
  446. package/dist/cli-bundle/chunks/chunk-7MDXZAZS.js +0 -102
  447. package/dist/cli-bundle/chunks/chunk-7QH7DHUB.js +0 -2046
  448. package/dist/cli-bundle/chunks/chunk-7WYXBPYQ.js +0 -358
  449. package/dist/cli-bundle/chunks/chunk-AAEQMOC6.js +0 -150
  450. package/dist/cli-bundle/chunks/chunk-ABRA3BHY.js +0 -429
  451. package/dist/cli-bundle/chunks/chunk-BFVHCAOO.js +0 -240
  452. package/dist/cli-bundle/chunks/chunk-BVEUCSH2.js +0 -530
  453. package/dist/cli-bundle/chunks/chunk-C3PMDWGX.js +0 -160
  454. package/dist/cli-bundle/chunks/chunk-D3UCE7RW.js +0 -243
  455. package/dist/cli-bundle/chunks/chunk-DC3QJQWI.js +0 -275
  456. package/dist/cli-bundle/chunks/chunk-DC3QJQWI.js.map +0 -7
  457. package/dist/cli-bundle/chunks/chunk-DLQ4ZTCU.js +0 -634
  458. package/dist/cli-bundle/chunks/chunk-DRBV5UC2.js +0 -231
  459. package/dist/cli-bundle/chunks/chunk-E2FUG6GD.js +0 -2184
  460. package/dist/cli-bundle/chunks/chunk-E2FUG6GD.js.map +0 -7
  461. package/dist/cli-bundle/chunks/chunk-EEY54JMF.js +0 -60
  462. package/dist/cli-bundle/chunks/chunk-EZFKWSC7.js +0 -1615
  463. package/dist/cli-bundle/chunks/chunk-FDBARR33.js +0 -655
  464. package/dist/cli-bundle/chunks/chunk-FGQKEDE4.js +0 -447
  465. package/dist/cli-bundle/chunks/chunk-FJRKQREY.js +0 -228
  466. package/dist/cli-bundle/chunks/chunk-FUM6UMY4.js +0 -804
  467. package/dist/cli-bundle/chunks/chunk-GIWXVMZ3.js +0 -3237
  468. package/dist/cli-bundle/chunks/chunk-GIWXVMZ3.js.map +0 -7
  469. package/dist/cli-bundle/chunks/chunk-HBYZDSK5.js +0 -426
  470. package/dist/cli-bundle/chunks/chunk-HJE4JTKQ.js +0 -124
  471. package/dist/cli-bundle/chunks/chunk-HK72NWAD.js +0 -1570
  472. package/dist/cli-bundle/chunks/chunk-IJ6CO3JV.js +0 -645
  473. package/dist/cli-bundle/chunks/chunk-JFCVQXZX.js +0 -3206
  474. package/dist/cli-bundle/chunks/chunk-JFCVQXZX.js.map +0 -1
  475. package/dist/cli-bundle/chunks/chunk-JLA7EVYV.js +0 -222
  476. package/dist/cli-bundle/chunks/chunk-K32L7HZO.js +0 -76
  477. package/dist/cli-bundle/chunks/chunk-K32L7HZO.js.map +0 -1
  478. package/dist/cli-bundle/chunks/chunk-K3AGVXSF.js +0 -444
  479. package/dist/cli-bundle/chunks/chunk-KDZ6K25I.js +0 -79
  480. package/dist/cli-bundle/chunks/chunk-KDZ6K25I.js.map +0 -7
  481. package/dist/cli-bundle/chunks/chunk-KL22PY6L.js +0 -915
  482. package/dist/cli-bundle/chunks/chunk-KL22PY6L.js.map +0 -1
  483. package/dist/cli-bundle/chunks/chunk-KLG4ZULO.js +0 -218
  484. package/dist/cli-bundle/chunks/chunk-LEKT4K7I.js +0 -2105
  485. package/dist/cli-bundle/chunks/chunk-MNZ7DRNC.js +0 -1858
  486. package/dist/cli-bundle/chunks/chunk-MTTXDAK4.js +0 -2198
  487. package/dist/cli-bundle/chunks/chunk-MZ7VNEVY.js +0 -520
  488. package/dist/cli-bundle/chunks/chunk-N6DNM2FA.js +0 -116
  489. package/dist/cli-bundle/chunks/chunk-N7X4WP6L.js +0 -1041
  490. package/dist/cli-bundle/chunks/chunk-NBFCNJ7Q.js +0 -2132
  491. package/dist/cli-bundle/chunks/chunk-NER3KUUS.js +0 -260
  492. package/dist/cli-bundle/chunks/chunk-OBA2WH65.js +0 -918
  493. package/dist/cli-bundle/chunks/chunk-OBA2WH65.js.map +0 -7
  494. package/dist/cli-bundle/chunks/chunk-OESSOFJ4.js +0 -1985
  495. package/dist/cli-bundle/chunks/chunk-OK5NXCZB.js +0 -238
  496. package/dist/cli-bundle/chunks/chunk-OK5NXCZB.js.map +0 -1
  497. package/dist/cli-bundle/chunks/chunk-OWTIRHX4.js +0 -112
  498. package/dist/cli-bundle/chunks/chunk-P3VRG72Q.js +0 -1765
  499. package/dist/cli-bundle/chunks/chunk-P5TFTLWW.js +0 -1423
  500. package/dist/cli-bundle/chunks/chunk-P5YORJRH.js +0 -1977
  501. package/dist/cli-bundle/chunks/chunk-PDXT6Q55.js +0 -58
  502. package/dist/cli-bundle/chunks/chunk-PJ3A56YF.js +0 -1239
  503. package/dist/cli-bundle/chunks/chunk-PPAJG4GB.js +0 -1031
  504. package/dist/cli-bundle/chunks/chunk-PPE4YUQM.js +0 -4725
  505. package/dist/cli-bundle/chunks/chunk-PPE4YUQM.js.map +0 -1
  506. package/dist/cli-bundle/chunks/chunk-QHZO65XW.js +0 -1775
  507. package/dist/cli-bundle/chunks/chunk-R3ZBLGTC.js +0 -814
  508. package/dist/cli-bundle/chunks/chunk-RCT3YJOK.js +0 -624
  509. package/dist/cli-bundle/chunks/chunk-RX3HQSYG.js +0 -265
  510. package/dist/cli-bundle/chunks/chunk-S4APD35C.js +0 -210
  511. package/dist/cli-bundle/chunks/chunk-S5AYOUT5.js +0 -130
  512. package/dist/cli-bundle/chunks/chunk-STPSZ2XY.js +0 -1149
  513. package/dist/cli-bundle/chunks/chunk-STPSZ2XY.js.map +0 -1
  514. package/dist/cli-bundle/chunks/chunk-T35XLYZF.js +0 -263
  515. package/dist/cli-bundle/chunks/chunk-T3ABIMGW.js +0 -361
  516. package/dist/cli-bundle/chunks/chunk-T3F4DF23.js +0 -267
  517. package/dist/cli-bundle/chunks/chunk-T4MX77AK.js +0 -272
  518. package/dist/cli-bundle/chunks/chunk-T4MX77AK.js.map +0 -1
  519. package/dist/cli-bundle/chunks/chunk-T5Y3QSNF.js +0 -5354
  520. package/dist/cli-bundle/chunks/chunk-T5Y3QSNF.js.map +0 -1
  521. package/dist/cli-bundle/chunks/chunk-TSPKZRRW.js +0 -1570
  522. package/dist/cli-bundle/chunks/chunk-TT42JUMF.js +0 -207
  523. package/dist/cli-bundle/chunks/chunk-UHKX7I75.js +0 -165
  524. package/dist/cli-bundle/chunks/chunk-UHKX7I75.js.map +0 -1
  525. package/dist/cli-bundle/chunks/chunk-UI5BJ6DO.js +0 -4786
  526. package/dist/cli-bundle/chunks/chunk-UI5BJ6DO.js.map +0 -7
  527. package/dist/cli-bundle/chunks/chunk-US3T3W5J.js +0 -1932
  528. package/dist/cli-bundle/chunks/chunk-UZRDBL6W.js +0 -175
  529. package/dist/cli-bundle/chunks/chunk-UZRDBL6W.js.map +0 -7
  530. package/dist/cli-bundle/chunks/chunk-VZIYHZDX.js +0 -1868
  531. package/dist/cli-bundle/chunks/chunk-WISPVC2E.js +0 -401
  532. package/dist/cli-bundle/chunks/chunk-WVSGSZ6J.js +0 -5434
  533. package/dist/cli-bundle/chunks/chunk-WVSGSZ6J.js.map +0 -7
  534. package/dist/cli-bundle/chunks/chunk-XQCG2JGW.js +0 -1152
  535. package/dist/cli-bundle/chunks/chunk-XQCG2JGW.js.map +0 -7
  536. package/dist/cli-bundle/chunks/chunk-Y76TWC45.js +0 -550
  537. package/dist/cli-bundle/chunks/chunk-YD5FML7K.js +0 -5630
  538. package/dist/cli-bundle/chunks/chunk-YD5FML7K.js.map +0 -1
  539. package/dist/cli-bundle/chunks/chunk-YFIE7YK6.js +0 -57
  540. package/dist/cli-bundle/chunks/chunk-YMABYTNG.js +0 -1573
  541. package/dist/cli-bundle/chunks/chunk-YOF5VPKM.js +0 -119
  542. package/dist/cli-bundle/chunks/chunk-YPPVU5GX.js +0 -398
  543. package/dist/cli-bundle/chunks/chunk-YQMMMONE.js +0 -133
  544. package/dist/cli-bundle/chunks/chunk-YSAH5FY5.js +0 -1001
  545. package/dist/cli-bundle/chunks/chunk-YZIR4R3U.js +0 -1005
  546. package/dist/cli-bundle/chunks/chunk-Z2CRRZYF.js +0 -215
  547. package/dist/cli-bundle/chunks/chunk-ZAHXPXVY.js +0 -533
  548. package/dist/cli-bundle/chunks/chunk-ZCJAA3JK.js +0 -121
  549. package/dist/cli-bundle/chunks/chunk-ZD34OFFQ.js +0 -366
  550. package/dist/cli-bundle/chunks/chunk-ZJB3UV5U.js +0 -2306
  551. package/dist/cli-bundle/chunks/chunk-ZMD35NYG.js +0 -61
  552. package/dist/cli-bundle/chunks/chunk-ZVDL32GJ.js +0 -241
  553. package/dist/cli-bundle/chunks/chunk-ZVDL32GJ.js.map +0 -7
  554. package/dist/cli-bundle/chunks/claim-4DROPSIS.js +0 -144
  555. package/dist/cli-bundle/chunks/claim-4DROPSIS.js.map +0 -1
  556. package/dist/cli-bundle/chunks/claim-VX54TV5U.js +0 -147
  557. package/dist/cli-bundle/chunks/claim-VX54TV5U.js.map +0 -7
  558. package/dist/cli-bundle/chunks/close-3YRR3XY6.js +0 -20
  559. package/dist/cli-bundle/chunks/close-OB2Y4QP5.js +0 -16
  560. package/dist/cli-bundle/chunks/close-many-AP4MWU36.js +0 -397
  561. package/dist/cli-bundle/chunks/close-many-AP4MWU36.js.map +0 -1
  562. package/dist/cli-bundle/chunks/close-many-OMZIGZB4.js +0 -400
  563. package/dist/cli-bundle/chunks/close-many-OMZIGZB4.js.map +0 -7
  564. package/dist/cli-bundle/chunks/comments-MIW5MZOX.js +0 -128
  565. package/dist/cli-bundle/chunks/comments-MIW5MZOX.js.map +0 -7
  566. package/dist/cli-bundle/chunks/comments-SAG5LSKL.js +0 -125
  567. package/dist/cli-bundle/chunks/comments-SAG5LSKL.js.map +0 -1
  568. package/dist/cli-bundle/chunks/config-DJJKZB5R.js +0 -1075
  569. package/dist/cli-bundle/chunks/config-DJJKZB5R.js.map +0 -7
  570. package/dist/cli-bundle/chunks/config-V57QD47V.js +0 -1065
  571. package/dist/cli-bundle/chunks/config-V57QD47V.js.map +0 -1
  572. package/dist/cli-bundle/chunks/context-4OQGIPSO.js +0 -45
  573. package/dist/cli-bundle/chunks/context-WLA6IAWE.js +0 -49
  574. package/dist/cli-bundle/chunks/contracts-HXJLKCRI.js +0 -12
  575. package/dist/cli-bundle/chunks/contracts-OJEXMKVW.js +0 -16
  576. package/dist/cli-bundle/chunks/copy-LEE6P6EM.js +0 -184
  577. package/dist/cli-bundle/chunks/copy-LEE6P6EM.js.map +0 -7
  578. package/dist/cli-bundle/chunks/copy-OTJOWFL6.js +0 -181
  579. package/dist/cli-bundle/chunks/copy-OTJOWFL6.js.map +0 -1
  580. package/dist/cli-bundle/chunks/create-WKOZKPQR.js +0 -30
  581. package/dist/cli-bundle/chunks/create-XWWQFQ6S.js +0 -34
  582. package/dist/cli-bundle/chunks/delete-62JQTYT4.js +0 -59
  583. package/dist/cli-bundle/chunks/delete-62JQTYT4.js.map +0 -7
  584. package/dist/cli-bundle/chunks/delete-HQKGRNRZ.js +0 -56
  585. package/dist/cli-bundle/chunks/delete-HQKGRNRZ.js.map +0 -1
  586. package/dist/cli-bundle/chunks/deps-55FTG6Z5.js +0 -224
  587. package/dist/cli-bundle/chunks/deps-55FTG6Z5.js.map +0 -1
  588. package/dist/cli-bundle/chunks/deps-L2FPIAD3.js +0 -227
  589. package/dist/cli-bundle/chunks/deps-L2FPIAD3.js.map +0 -7
  590. package/dist/cli-bundle/chunks/docs-6CRCSVKK.js +0 -33
  591. package/dist/cli-bundle/chunks/docs-6CRCSVKK.js.map +0 -1
  592. package/dist/cli-bundle/chunks/docs-S6UTOTO5.js +0 -36
  593. package/dist/cli-bundle/chunks/docs-S6UTOTO5.js.map +0 -7
  594. package/dist/cli-bundle/chunks/eval-N6UHFWVO.js +0 -288
  595. package/dist/cli-bundle/chunks/eval-N6UHFWVO.js.map +0 -7
  596. package/dist/cli-bundle/chunks/eval-PHOTWYHI.js +0 -278
  597. package/dist/cli-bundle/chunks/eval-PHOTWYHI.js.map +0 -1
  598. package/dist/cli-bundle/chunks/extension-NBAH62ML.js +0 -40
  599. package/dist/cli-bundle/chunks/extension-ZF6ZZPOU.js +0 -44
  600. package/dist/cli-bundle/chunks/files-6P57MRKL.js +0 -301
  601. package/dist/cli-bundle/chunks/files-6P57MRKL.js.map +0 -7
  602. package/dist/cli-bundle/chunks/files-JPU3FNJ7.js +0 -298
  603. package/dist/cli-bundle/chunks/files-JPU3FNJ7.js.map +0 -1
  604. package/dist/cli-bundle/chunks/focus-LFZ6IDBR.js +0 -106
  605. package/dist/cli-bundle/chunks/focus-LFZ6IDBR.js.map +0 -1
  606. package/dist/cli-bundle/chunks/focus-WNMYCVYA.js +0 -109
  607. package/dist/cli-bundle/chunks/focus-WNMYCVYA.js.map +0 -7
  608. package/dist/cli-bundle/chunks/gc-AETFKZ44.js +0 -398
  609. package/dist/cli-bundle/chunks/gc-AETFKZ44.js.map +0 -7
  610. package/dist/cli-bundle/chunks/gc-RLBP4QVN.js +0 -388
  611. package/dist/cli-bundle/chunks/gc-RLBP4QVN.js.map +0 -1
  612. package/dist/cli-bundle/chunks/get-NH2MPBCI.js +0 -283
  613. package/dist/cli-bundle/chunks/get-NH2MPBCI.js.map +0 -1
  614. package/dist/cli-bundle/chunks/get-P4ZQXCPZ.js +0 -286
  615. package/dist/cli-bundle/chunks/get-P4ZQXCPZ.js.map +0 -7
  616. package/dist/cli-bundle/chunks/health-3GVPMQBL.js +0 -1612
  617. package/dist/cli-bundle/chunks/health-3GVPMQBL.js.map +0 -1
  618. package/dist/cli-bundle/chunks/health-DNTM72GJ.js +0 -1615
  619. package/dist/cli-bundle/chunks/health-DNTM72GJ.js.map +0 -7
  620. package/dist/cli-bundle/chunks/history-RYKLC72X.js +0 -20
  621. package/dist/cli-bundle/chunks/history-SGPYRAFT.js +0 -24
  622. package/dist/cli-bundle/chunks/history-compact-3F6VELO7.js +0 -565
  623. package/dist/cli-bundle/chunks/history-compact-3F6VELO7.js.map +0 -7
  624. package/dist/cli-bundle/chunks/history-compact-656Y2TN4.js +0 -555
  625. package/dist/cli-bundle/chunks/history-compact-656Y2TN4.js.map +0 -1
  626. package/dist/cli-bundle/chunks/history-redact-4H3FCKF3.js +0 -21
  627. package/dist/cli-bundle/chunks/history-redact-54ICFKXM.js +0 -25
  628. package/dist/cli-bundle/chunks/history-repair-4N6SDVHK.js +0 -281
  629. package/dist/cli-bundle/chunks/history-repair-4N6SDVHK.js.map +0 -7
  630. package/dist/cli-bundle/chunks/history-repair-EVTO6LIH.js +0 -278
  631. package/dist/cli-bundle/chunks/history-repair-EVTO6LIH.js.map +0 -1
  632. package/dist/cli-bundle/chunks/init-RPIPQUNV.js +0 -32
  633. package/dist/cli-bundle/chunks/init-SKQAESQS.js +0 -28
  634. package/dist/cli-bundle/chunks/learnings-2HTPZNGZ.js +0 -48
  635. package/dist/cli-bundle/chunks/learnings-2HTPZNGZ.js.map +0 -7
  636. package/dist/cli-bundle/chunks/learnings-YBIHY3D6.js +0 -45
  637. package/dist/cli-bundle/chunks/learnings-YBIHY3D6.js.map +0 -1
  638. package/dist/cli-bundle/chunks/list-64LHZ3HM.js +0 -32
  639. package/dist/cli-bundle/chunks/list-7LXBTEKI.js +0 -36
  640. package/dist/cli-bundle/chunks/next-7ODPAQ4U.js +0 -306
  641. package/dist/cli-bundle/chunks/next-7ODPAQ4U.js.map +0 -7
  642. package/dist/cli-bundle/chunks/next-ODJUM4ZM.js +0 -303
  643. package/dist/cli-bundle/chunks/next-ODJUM4ZM.js.map +0 -1
  644. package/dist/cli-bundle/chunks/notes-72YXN5JX.js +0 -48
  645. package/dist/cli-bundle/chunks/notes-72YXN5JX.js.map +0 -7
  646. package/dist/cli-bundle/chunks/notes-NJ7IQJX4.js +0 -45
  647. package/dist/cli-bundle/chunks/notes-NJ7IQJX4.js.map +0 -1
  648. package/dist/cli-bundle/chunks/plan-R4NDQ27E.js +0 -1366
  649. package/dist/cli-bundle/chunks/plan-R4NDQ27E.js.map +0 -7
  650. package/dist/cli-bundle/chunks/plan-XWY5T67S.js +0 -1363
  651. package/dist/cli-bundle/chunks/plan-XWY5T67S.js.map +0 -1
  652. package/dist/cli-bundle/chunks/profile-XQWEQKS3.js +0 -397
  653. package/dist/cli-bundle/chunks/profile-XQWEQKS3.js.map +0 -1
  654. package/dist/cli-bundle/chunks/profile-YRDHLMRO.js +0 -400
  655. package/dist/cli-bundle/chunks/profile-YRDHLMRO.js.map +0 -7
  656. package/dist/cli-bundle/chunks/register-list-query-5H66WFYF.js +0 -419
  657. package/dist/cli-bundle/chunks/register-list-query-FB3FNDLZ.js +0 -409
  658. package/dist/cli-bundle/chunks/register-mutation-UJO23C7R.js +0 -1256
  659. package/dist/cli-bundle/chunks/register-mutation-Z2ETYHKS.js +0 -1273
  660. package/dist/cli-bundle/chunks/register-operations-A3XAM5J7.js +0 -513
  661. package/dist/cli-bundle/chunks/register-operations-A3XAM5J7.js.map +0 -1
  662. package/dist/cli-bundle/chunks/register-operations-SG7HBSUP.js +0 -516
  663. package/dist/cli-bundle/chunks/register-operations-SG7HBSUP.js.map +0 -7
  664. package/dist/cli-bundle/chunks/register-setup-I45OGJUV.js +0 -323
  665. package/dist/cli-bundle/chunks/register-setup-I45OGJUV.js.map +0 -1
  666. package/dist/cli-bundle/chunks/register-setup-K6U3NVY5.js +0 -326
  667. package/dist/cli-bundle/chunks/register-setup-K6U3NVY5.js.map +0 -7
  668. package/dist/cli-bundle/chunks/restore-PXOFL6AM.js +0 -19
  669. package/dist/cli-bundle/chunks/restore-YJ2ET6AT.js +0 -23
  670. package/dist/cli-bundle/chunks/scheduling-shortcuts-SSC4MYWQ.js +0 -91
  671. package/dist/cli-bundle/chunks/scheduling-shortcuts-SSC4MYWQ.js.map +0 -7
  672. package/dist/cli-bundle/chunks/scheduling-shortcuts-ULRG7MNP.js +0 -88
  673. package/dist/cli-bundle/chunks/scheduling-shortcuts-ULRG7MNP.js.map +0 -1
  674. package/dist/cli-bundle/chunks/schema-2PUXCZ25.js +0 -74
  675. package/dist/cli-bundle/chunks/schema-Y6DXXK2F.js +0 -78
  676. package/dist/cli-bundle/chunks/search-3S72CTD6.js +0 -38
  677. package/dist/cli-bundle/chunks/search-WNUNBQXO.js +0 -34
  678. package/dist/cli-bundle/chunks/stats-IJYTRQGV.js +0 -250
  679. package/dist/cli-bundle/chunks/stats-IJYTRQGV.js.map +0 -7
  680. package/dist/cli-bundle/chunks/stats-L2D5Y2O5.js +0 -240
  681. package/dist/cli-bundle/chunks/stats-L2D5Y2O5.js.map +0 -1
  682. package/dist/cli-bundle/chunks/telemetry-L2CVOKVN.js +0 -309
  683. package/dist/cli-bundle/chunks/telemetry-L2CVOKVN.js.map +0 -7
  684. package/dist/cli-bundle/chunks/telemetry-QBYWQA76.js +0 -306
  685. package/dist/cli-bundle/chunks/telemetry-QBYWQA76.js.map +0 -1
  686. package/dist/cli-bundle/chunks/test-DQ2QFJ7W.js +0 -45
  687. package/dist/cli-bundle/chunks/test-W7QBLVJS.js +0 -41
  688. package/dist/cli-bundle/chunks/test-all-636NTRTT.js +0 -434
  689. package/dist/cli-bundle/chunks/test-all-636NTRTT.js.map +0 -1
  690. package/dist/cli-bundle/chunks/test-all-DWYK3RG6.js +0 -437
  691. package/dist/cli-bundle/chunks/test-all-DWYK3RG6.js.map +0 -7
  692. package/dist/cli-bundle/chunks/test-runs-245OINZR.js +0 -28
  693. package/dist/cli-bundle/chunks/test-runs-ZRD4GCTT.js +0 -24
  694. package/dist/cli-bundle/chunks/update-SFLZPJXX.js +0 -30
  695. package/dist/cli-bundle/chunks/update-SJZ6S77U.js +0 -26
  696. package/dist/cli-bundle/chunks/update-many-DC7X3EWM.js +0 -671
  697. package/dist/cli-bundle/chunks/update-many-DC7X3EWM.js.map +0 -7
  698. package/dist/cli-bundle/chunks/update-many-SLLAMHT7.js +0 -668
  699. package/dist/cli-bundle/chunks/update-many-SLLAMHT7.js.map +0 -1
  700. package/dist/cli-bundle/chunks/upgrade-HFFXLZJA.js +0 -290
  701. package/dist/cli-bundle/chunks/upgrade-HFFXLZJA.js.map +0 -7
  702. package/dist/cli-bundle/chunks/upgrade-UYQKM7RF.js +0 -287
  703. package/dist/cli-bundle/chunks/upgrade-UYQKM7RF.js.map +0 -1
  704. package/dist/cli-bundle/chunks/validate-PA4FDTOV.js +0 -2143
  705. package/dist/cli-bundle/chunks/validate-PA4FDTOV.js.map +0 -7
  706. package/dist/cli-bundle/chunks/validate-Z7L75YEJ.js +0 -2105
  707. package/dist/cli-bundle/chunks/validate-Z7L75YEJ.js.map +0 -1
  708. /package/dist/cli-bundle/chunks/{activity-4XQIDNM5.js.map → activity-WJCGCYPU.js.map} +0 -0
  709. /package/dist/cli-bundle/chunks/{activity-YKAKZTZ4.js.map → activity-Z6QUAUSG.js.map} +0 -0
  710. /package/dist/cli-bundle/chunks/{close-3YRR3XY6.js.map → aggregate-BDM6EIAR.js.map} +0 -0
  711. /package/dist/cli-bundle/chunks/{close-OB2Y4QP5.js.map → aggregate-VQ2DHU3S.js.map} +0 -0
  712. /package/dist/cli-bundle/chunks/{context-WLA6IAWE.js.map → append-BGML6VLD.js.map} +0 -0
  713. /package/dist/cli-bundle/chunks/{context-4OQGIPSO.js.map → append-RKJYPU74.js.map} +0 -0
  714. /package/dist/cli-bundle/chunks/{chunk-YFIE7YK6.js.map → chunk-22KBU3MW.js.map} +0 -0
  715. /package/dist/cli-bundle/chunks/{chunk-DLQ4ZTCU.js.map → chunk-24YG75HI.js.map} +0 -0
  716. /package/dist/cli-bundle/chunks/{chunk-KLG4ZULO.js.map → chunk-2XG4IZON.js.map} +0 -0
  717. /package/dist/cli-bundle/chunks/{chunk-FJRKQREY.js.map → chunk-3GCS5SKL.js.map} +0 -0
  718. /package/dist/cli-bundle/chunks/{chunk-5B3X4Y22.js.map → chunk-3KTN6IBA.js.map} +0 -0
  719. /package/dist/cli-bundle/chunks/{chunk-YMABYTNG.js.map → chunk-3UJRFJ5R.js.map} +0 -0
  720. /package/dist/cli-bundle/chunks/{chunk-YSAH5FY5.js.map → chunk-3VHSI5FL.js.map} +0 -0
  721. /package/dist/cli-bundle/chunks/{chunk-7EQNAZX2.js.map → chunk-46CUF5L6.js.map} +0 -0
  722. /package/dist/cli-bundle/chunks/{chunk-75U6M5ZD.js.map → chunk-4IWYTWGF.js.map} +0 -0
  723. /package/dist/cli-bundle/chunks/{chunk-VZIYHZDX.js.map → chunk-5GZ7TDD6.js.map} +0 -0
  724. /package/dist/cli-bundle/chunks/{chunk-3U3VEWK6.js.map → chunk-5VAA4YHR.js.map} +0 -0
  725. /package/dist/cli-bundle/chunks/{chunk-3PL6LEKP.js.map → chunk-64YKRTSV.js.map} +0 -0
  726. /package/dist/cli-bundle/chunks/{chunk-ABRA3BHY.js.map → chunk-6LLVNJXT.js.map} +0 -0
  727. /package/dist/cli-bundle/chunks/{chunk-EEY54JMF.js.map → chunk-7DT4WSH2.js.map} +0 -0
  728. /package/dist/cli-bundle/chunks/{chunk-7MDXZAZS.js.map → chunk-7WBAJSS6.js.map} +0 -0
  729. /package/dist/cli-bundle/chunks/{chunk-AAEQMOC6.js.map → chunk-AGHMOTGM.js.map} +0 -0
  730. /package/dist/cli-bundle/chunks/{chunk-OWTIRHX4.js.map → chunk-ALFPSEWO.js.map} +0 -0
  731. /package/dist/cli-bundle/chunks/{chunk-T3ABIMGW.js.map → chunk-AZYGZGGI.js.map} +0 -0
  732. /package/dist/cli-bundle/chunks/{chunk-3JZNEQBA.js.map → chunk-B6DUFX6H.js.map} +0 -0
  733. /package/dist/cli-bundle/chunks/{chunk-OESSOFJ4.js.map → chunk-C5JBZRPU.js.map} +0 -0
  734. /package/dist/cli-bundle/chunks/{chunk-YPPVU5GX.js.map → chunk-CFB33L7W.js.map} +0 -0
  735. /package/dist/cli-bundle/chunks/{chunk-5J2XPTAD.js.map → chunk-CL36D4PC.js.map} +0 -0
  736. /package/dist/cli-bundle/chunks/{chunk-IJ6CO3JV.js.map → chunk-D2XRLB55.js.map} +0 -0
  737. /package/dist/cli-bundle/chunks/{chunk-MNZ7DRNC.js.map → chunk-DEWEK6AN.js.map} +0 -0
  738. /package/dist/cli-bundle/chunks/{chunk-US3T3W5J.js.map → chunk-E3SZTQ4K.js.map} +0 -0
  739. /package/dist/cli-bundle/chunks/{chunk-C3PMDWGX.js.map → chunk-EGY6JBQ3.js.map} +0 -0
  740. /package/dist/cli-bundle/chunks/{chunk-JLA7EVYV.js.map → chunk-EKFNL33R.js.map} +0 -0
  741. /package/dist/cli-bundle/chunks/{chunk-57C2RLW5.js.map → chunk-ENGQOEUY.js.map} +0 -0
  742. /package/dist/cli-bundle/chunks/{chunk-7QH7DHUB.js.map → chunk-EOKXK3R3.js.map} +0 -0
  743. /package/dist/cli-bundle/chunks/{chunk-ZCJAA3JK.js.map → chunk-F3K4JGFD.js.map} +0 -0
  744. /package/dist/cli-bundle/chunks/{chunk-DRBV5UC2.js.map → chunk-FLZSGSQR.js.map} +0 -0
  745. /package/dist/cli-bundle/chunks/{chunk-Y76TWC45.js.map → chunk-FT3QTERD.js.map} +0 -0
  746. /package/dist/cli-bundle/chunks/{chunk-HK72NWAD.js.map → chunk-G24G7ZAV.js.map} +0 -0
  747. /package/dist/cli-bundle/chunks/{chunk-K3AGVXSF.js.map → chunk-G64OCSKU.js.map} +0 -0
  748. /package/dist/cli-bundle/chunks/{chunk-QHZO65XW.js.map → chunk-GANUTS7W.js.map} +0 -0
  749. /package/dist/cli-bundle/chunks/{chunk-WISPVC2E.js.map → chunk-GBAX2ZAQ.js.map} +0 -0
  750. /package/dist/cli-bundle/chunks/{chunk-RCT3YJOK.js.map → chunk-GJ7QC5DJ.js.map} +0 -0
  751. /package/dist/cli-bundle/chunks/{chunk-BVEUCSH2.js.map → chunk-GPLPTGOV.js.map} +0 -0
  752. /package/dist/cli-bundle/chunks/{chunk-YZIR4R3U.js.map → chunk-GZRDYONU.js.map} +0 -0
  753. /package/dist/cli-bundle/chunks/{chunk-7WYXBPYQ.js.map → chunk-IWVU4C2F.js.map} +0 -0
  754. /package/dist/cli-bundle/chunks/{chunk-T3F4DF23.js.map → chunk-IX5BXEMX.js.map} +0 -0
  755. /package/dist/cli-bundle/chunks/{chunk-RX3HQSYG.js.map → chunk-JDDLOQAE.js.map} +0 -0
  756. /package/dist/cli-bundle/chunks/{chunk-YOF5VPKM.js.map → chunk-JJP45OEI.js.map} +0 -0
  757. /package/dist/cli-bundle/chunks/{chunk-TT42JUMF.js.map → chunk-K46RF36U.js.map} +0 -0
  758. /package/dist/cli-bundle/chunks/{chunk-R3ZBLGTC.js.map → chunk-KGFUY7WN.js.map} +0 -0
  759. /package/dist/cli-bundle/chunks/{chunk-NER3KUUS.js.map → chunk-KUOOJR35.js.map} +0 -0
  760. /package/dist/cli-bundle/chunks/{chunk-3Y4OESPP.js.map → chunk-L5PSPMZ4.js.map} +0 -0
  761. /package/dist/cli-bundle/chunks/{chunk-PJ3A56YF.js.map → chunk-LPSSSDJR.js.map} +0 -0
  762. /package/dist/cli-bundle/chunks/{chunk-FDBARR33.js.map → chunk-MA4SM3QZ.js.map} +0 -0
  763. /package/dist/cli-bundle/chunks/{chunk-PPAJG4GB.js.map → chunk-MFAZSEM5.js.map} +0 -0
  764. /package/dist/cli-bundle/chunks/{chunk-5JZ7APJU.js.map → chunk-MFSCBT5Q.js.map} +0 -0
  765. /package/dist/cli-bundle/chunks/{chunk-4OFLJHX6.js.map → chunk-MLIYFOE7.js.map} +0 -0
  766. /package/dist/cli-bundle/chunks/{chunk-ZMD35NYG.js.map → chunk-MUH7A3FD.js.map} +0 -0
  767. /package/dist/cli-bundle/chunks/{chunk-5JE6SMYS.js.map → chunk-MVYWGY2A.js.map} +0 -0
  768. /package/dist/cli-bundle/chunks/{chunk-P5TFTLWW.js.map → chunk-MWMVPCIE.js.map} +0 -0
  769. /package/dist/cli-bundle/chunks/{chunk-T35XLYZF.js.map → chunk-NGXQ3PFT.js.map} +0 -0
  770. /package/dist/cli-bundle/chunks/{chunk-EZFKWSC7.js.map → chunk-NMP5I3I5.js.map} +0 -0
  771. /package/dist/cli-bundle/chunks/{chunk-HJE4JTKQ.js.map → chunk-O6AWCQRQ.js.map} +0 -0
  772. /package/dist/cli-bundle/chunks/{chunk-BFVHCAOO.js.map → chunk-OGWQ2IEP.js.map} +0 -0
  773. /package/dist/cli-bundle/chunks/{chunk-S4APD35C.js.map → chunk-QLMX7SRD.js.map} +0 -0
  774. /package/dist/cli-bundle/chunks/{chunk-MZ7VNEVY.js.map → chunk-RFNYTESG.js.map} +0 -0
  775. /package/dist/cli-bundle/chunks/{chunk-MTTXDAK4.js.map → chunk-SCUR7K7N.js.map} +0 -0
  776. /package/dist/cli-bundle/chunks/{chunk-P5YORJRH.js.map → chunk-SHQY2IDC.js.map} +0 -0
  777. /package/dist/cli-bundle/chunks/{chunk-S5AYOUT5.js.map → chunk-SMB7RV23.js.map} +0 -0
  778. /package/dist/cli-bundle/chunks/{chunk-N7X4WP6L.js.map → chunk-SPZ6DOGY.js.map} +0 -0
  779. /package/dist/cli-bundle/chunks/{chunk-P3VRG72Q.js.map → chunk-SQYJ4HF2.js.map} +0 -0
  780. /package/dist/cli-bundle/chunks/{chunk-4LRVSBO6.js.map → chunk-T42JWV3F.js.map} +0 -0
  781. /package/dist/cli-bundle/chunks/{chunk-NBFCNJ7Q.js.map → chunk-TULGS6X6.js.map} +0 -0
  782. /package/dist/cli-bundle/chunks/{chunk-ZJB3UV5U.js.map → chunk-TZXRBVAM.js.map} +0 -0
  783. /package/dist/cli-bundle/chunks/{chunk-ZD34OFFQ.js.map → chunk-VPIM42PC.js.map} +0 -0
  784. /package/dist/cli-bundle/chunks/{chunk-FGQKEDE4.js.map → chunk-W3DSJQIO.js.map} +0 -0
  785. /package/dist/cli-bundle/chunks/{chunk-4QQ6PM7M.js.map → chunk-W572BIEB.js.map} +0 -0
  786. /package/dist/cli-bundle/chunks/{chunk-Z2CRRZYF.js.map → chunk-WRTENIX3.js.map} +0 -0
  787. /package/dist/cli-bundle/chunks/{chunk-ZAHXPXVY.js.map → chunk-XB7KFVFI.js.map} +0 -0
  788. /package/dist/cli-bundle/chunks/{chunk-PDXT6Q55.js.map → chunk-XG625QP4.js.map} +0 -0
  789. /package/dist/cli-bundle/chunks/{chunk-D3UCE7RW.js.map → chunk-XUC7PI2H.js.map} +0 -0
  790. /package/dist/cli-bundle/chunks/{chunk-N6DNM2FA.js.map → chunk-Y46GD4IX.js.map} +0 -0
  791. /package/dist/cli-bundle/chunks/{chunk-FUM6UMY4.js.map → chunk-Y4M7CPQP.js.map} +0 -0
  792. /package/dist/cli-bundle/chunks/{chunk-HBYZDSK5.js.map → chunk-YN7Y6DQZ.js.map} +0 -0
  793. /package/dist/cli-bundle/chunks/{chunk-YQMMMONE.js.map → chunk-ZGK4L4JM.js.map} +0 -0
  794. /package/dist/cli-bundle/chunks/{chunk-LEKT4K7I.js.map → chunk-ZSUS2OD3.js.map} +0 -0
  795. /package/dist/cli-bundle/chunks/{chunk-TSPKZRRW.js.map → chunk-ZZD4J5XY.js.map} +0 -0
  796. /package/dist/cli-bundle/chunks/{contracts-HXJLKCRI.js.map → claim-RFS7BROJ.js.map} +0 -0
  797. /package/dist/cli-bundle/chunks/{contracts-OJEXMKVW.js.map → claim-XP5AWZ5H.js.map} +0 -0
  798. /package/dist/cli-bundle/chunks/{create-XWWQFQ6S.js.map → close-2SSSHHUZ.js.map} +0 -0
  799. /package/dist/cli-bundle/chunks/{create-WKOZKPQR.js.map → close-GEANHQ2J.js.map} +0 -0
  800. /package/dist/cli-bundle/chunks/{extension-ZF6ZZPOU.js.map → close-many-CMZW7ITN.js.map} +0 -0
  801. /package/dist/cli-bundle/chunks/{extension-NBAH62ML.js.map → close-many-ZFDIG6M7.js.map} +0 -0
  802. /package/dist/cli-bundle/chunks/{history-SGPYRAFT.js.map → comments-MFSYVNNU.js.map} +0 -0
  803. /package/dist/cli-bundle/chunks/{history-RYKLC72X.js.map → comments-XUBPXDYX.js.map} +0 -0
  804. /package/dist/cli-bundle/chunks/{history-redact-4H3FCKF3.js.map → config-D7XQMONX.js.map} +0 -0
  805. /package/dist/cli-bundle/chunks/{history-redact-54ICFKXM.js.map → config-T4FHBSYN.js.map} +0 -0
  806. /package/dist/cli-bundle/chunks/{init-RPIPQUNV.js.map → context-DIU275XI.js.map} +0 -0
  807. /package/dist/cli-bundle/chunks/{init-SKQAESQS.js.map → context-JCOYB4LZ.js.map} +0 -0
  808. /package/dist/cli-bundle/chunks/{list-64LHZ3HM.js.map → contracts-BVO7CSLK.js.map} +0 -0
  809. /package/dist/cli-bundle/chunks/{list-7LXBTEKI.js.map → contracts-NYPEW2G4.js.map} +0 -0
  810. /package/dist/cli-bundle/chunks/{restore-YJ2ET6AT.js.map → copy-32ROBIDL.js.map} +0 -0
  811. /package/dist/cli-bundle/chunks/{restore-PXOFL6AM.js.map → copy-NAGLGMHZ.js.map} +0 -0
  812. /package/dist/cli-bundle/chunks/{schema-2PUXCZ25.js.map → create-4V7SWNBB.js.map} +0 -0
  813. /package/dist/cli-bundle/chunks/{schema-Y6DXXK2F.js.map → create-E77SDCUP.js.map} +0 -0
  814. /package/dist/cli-bundle/chunks/{search-WNUNBQXO.js.map → delete-NQI5OSKN.js.map} +0 -0
  815. /package/dist/cli-bundle/chunks/{search-3S72CTD6.js.map → delete-RA5KTCLB.js.map} +0 -0
  816. /package/dist/cli-bundle/chunks/{test-DQ2QFJ7W.js.map → deps-32SU7HO5.js.map} +0 -0
  817. /package/dist/cli-bundle/chunks/{test-W7QBLVJS.js.map → deps-T7SCWXEX.js.map} +0 -0
  818. /package/dist/cli-bundle/chunks/{test-runs-245OINZR.js.map → docs-RRUPT7O2.js.map} +0 -0
  819. /package/dist/cli-bundle/chunks/{test-runs-ZRD4GCTT.js.map → docs-WL2IWGWV.js.map} +0 -0
  820. /package/dist/cli-bundle/chunks/{update-SJZ6S77U.js.map → eval-NF2J5SHR.js.map} +0 -0
  821. /package/dist/cli-bundle/chunks/{update-SFLZPJXX.js.map → eval-SKDT3MZU.js.map} +0 -0
  822. /package/dist/cli-bundle/chunks/{register-list-query-FB3FNDLZ.js.map → register-list-query-B42JCCOI.js.map} +0 -0
  823. /package/dist/cli-bundle/chunks/{register-list-query-5H66WFYF.js.map → register-list-query-OEYQHFXO.js.map} +0 -0
  824. /package/dist/cli-bundle/chunks/{register-mutation-Z2ETYHKS.js.map → register-mutation-3QXIHCQG.js.map} +0 -0
  825. /package/dist/cli-bundle/chunks/{register-mutation-UJO23C7R.js.map → register-mutation-IAEST26S.js.map} +0 -0
@@ -1,1363 +0,0 @@
1
-
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="96bebc83-9980-5f44-bb82-601285639daf")}catch(e){}}();
3
- import {
4
- runCreate
5
- } from "./chunk-NBFCNJ7Q.js";
6
- import "./chunk-MZ7VNEVY.js";
7
- import "./chunk-7WYXBPYQ.js";
8
- import "./chunk-PDXT6Q55.js";
9
- import "./chunk-4OFLJHX6.js";
10
- import {
11
- splitCommaList
12
- } from "./chunk-P4SESZGT.js";
13
- import {
14
- locateItem,
15
- mutateItem,
16
- readLocatedItem
17
- } from "./chunk-57C2RLW5.js";
18
- import "./chunk-7MDXZAZS.js";
19
- import "./chunk-HK72NWAD.js";
20
- import {
21
- nowIso
22
- } from "./chunk-FJRKQREY.js";
23
- import {
24
- PmCliError,
25
- getActiveExtensionRegistrations,
26
- readSettings
27
- } from "./chunk-US3T3W5J.js";
28
- import "./chunk-NER3KUUS.js";
29
- import "./chunk-NNHHXJB2.js";
30
- import {
31
- EXIT_CODE,
32
- PLAN_HARNESS_VALUES,
33
- PLAN_MODE_VALUES,
34
- PLAN_STEP_LINK_KIND_VALUES,
35
- PLAN_STEP_STATUS_VALUES,
36
- getSettingsPath,
37
- pathExists,
38
- resolveItemTypeRegistry,
39
- resolvePmRoot,
40
- resolveTypeName
41
- } from "./chunk-YD5FML7K.js";
42
-
43
- // dist/cli/commands/plan.js
44
- var PLAN_SUBCOMMANDS = [
45
- "create",
46
- "show",
47
- "add-step",
48
- "update-step",
49
- "complete-step",
50
- "block-step",
51
- "reorder-step",
52
- "remove-step",
53
- "link",
54
- "unlink",
55
- "decision",
56
- "discovery",
57
- "validation",
58
- "resume",
59
- "approve",
60
- "materialize"
61
- ];
62
- var PLAN_SHOW_DEPTH_VALUES = ["brief", "standard", "deep"];
63
- var STEP_ID_PREFIX = "plan-step-";
64
- var DEFAULT_PLAN_MODE = "draft";
65
- var PLAN_TEMPLATE_NAMES = ["bug-investigation", "feature-implementation", "refactoring-sprint"];
66
- var PLAN_TEMPLATES = {
67
- "bug-investigation": [
68
- { title: "Reproduce the bug", body: "Capture exact steps, inputs, and the observed vs expected behavior." },
69
- { title: "Locate the root cause", body: "Trace the failure to the responsible code path with evidence." },
70
- { title: "Write a failing test", body: "Add a regression test that fails for the current bug." },
71
- { title: "Implement the fix", body: "Apply the minimal change that makes the failing test pass." },
72
- { title: "Verify and document", body: "Run the full suite and record the resolution and verification." }
73
- ],
74
- "feature-implementation": [
75
- { title: "Clarify requirements & acceptance criteria", body: "Confirm scope, edge cases, and done-conditions." },
76
- { title: "Design the approach", body: "Decide the data model, interfaces, and integration points." },
77
- { title: "Implement the change", body: "Build the feature behind the agreed design." },
78
- { title: "Add tests", body: "Cover the new behavior and its edge cases." },
79
- { title: "Update docs & changelog", body: "Document the feature and surface it to users." }
80
- ],
81
- "refactoring-sprint": [
82
- { title: "Map the current structure & risks", body: "Inventory the code to change and its blast radius." },
83
- { title: "Add characterization tests", body: "Lock in current behavior before refactoring." },
84
- { title: "Refactor incrementally", body: "Apply small, reversible steps keeping tests green." },
85
- { title: "Verify behavior is unchanged", body: "Run the full suite and compare against the baseline." },
86
- { title: "Clean up & document", body: "Remove dead code and record the new structure." }
87
- ]
88
- };
89
- function resolvePlanTemplateSteps(raw) {
90
- const normalized = raw.trim().toLowerCase();
91
- const template = Object.prototype.hasOwnProperty.call(PLAN_TEMPLATES, normalized) ? PLAN_TEMPLATES[normalized] : void 0;
92
- if (!template) {
93
- throw new PmCliError(`Unknown plan template "${raw}". Allowed: ${PLAN_TEMPLATE_NAMES.join(", ")}`, EXIT_CODE.USAGE, {
94
- code: "unknown_plan_template",
95
- examples: [`pm plan create --title "Fix login crash" --template ${PLAN_TEMPLATE_NAMES[0]}`]
96
- });
97
- }
98
- return template.map((step) => ({ ...step }));
99
- }
100
- function planCompletionPct(completed, total) {
101
- return total > 0 ? Math.round(completed / total * 100) : 0;
102
- }
103
- function resolveAuthor(candidate, fallback) {
104
- const resolved = candidate ?? process.env.PM_AUTHOR ?? fallback;
105
- const trimmed = resolved.trim();
106
- return trimmed.length > 0 ? trimmed : "unknown";
107
- }
108
- function toOrderedStepTitles(value) {
109
- const values = Array.isArray(value) ? value : value === void 0 || value === null ? [] : [value];
110
- return values.filter((entry) => entry !== void 0 && entry !== null).map((entry) => (typeof entry === "string" ? entry : String(entry)).trim()).filter((entry) => entry.length > 0);
111
- }
112
- function toArray(value) {
113
- if (Array.isArray(value))
114
- return value.flatMap((entry) => splitCommaList(entry, { unique: false }));
115
- if (typeof value === "string" && value.trim().length > 0) {
116
- return splitCommaList(value, { unique: false });
117
- }
118
- return [];
119
- }
120
- function toSpecArray(value) {
121
- if (Array.isArray(value))
122
- return value.map((entry) => entry.trim()).filter(Boolean);
123
- if (typeof value === "string" && value.trim().length > 0)
124
- return [value.trim()];
125
- return [];
126
- }
127
- function asPlanMode(value, fallback = DEFAULT_PLAN_MODE) {
128
- if (value === void 0)
129
- return fallback;
130
- const normalized = value.trim().toLowerCase();
131
- const found = PLAN_MODE_VALUES.find((entry) => entry === normalized);
132
- if (!found) {
133
- throw new PmCliError(`Invalid plan mode "${value}". Allowed: ${PLAN_MODE_VALUES.join(", ")}`, EXIT_CODE.USAGE);
134
- }
135
- return found;
136
- }
137
- function asStepStatus(value, fallback = "pending") {
138
- if (value === void 0)
139
- return fallback;
140
- const normalized = value.trim().toLowerCase();
141
- const found = PLAN_STEP_STATUS_VALUES.find((entry) => entry === normalized);
142
- if (!found) {
143
- throw new PmCliError(`Invalid step status "${value}". Allowed: ${PLAN_STEP_STATUS_VALUES.join(", ")}`, EXIT_CODE.USAGE);
144
- }
145
- return found;
146
- }
147
- function asLinkKind(value, fallback = "related") {
148
- if (value === void 0)
149
- return fallback;
150
- const normalized = value.trim().toLowerCase();
151
- const found = PLAN_STEP_LINK_KIND_VALUES.find((entry) => entry === normalized);
152
- if (!found) {
153
- throw new PmCliError(`Invalid step link kind "${value}". Allowed: ${PLAN_STEP_LINK_KIND_VALUES.join(", ")}`, EXIT_CODE.USAGE);
154
- }
155
- return found;
156
- }
157
- function asHarness(value) {
158
- if (value === void 0)
159
- return void 0;
160
- const normalized = value.trim().toLowerCase();
161
- if (normalized.length === 0)
162
- return void 0;
163
- const found = PLAN_HARNESS_VALUES.find((entry) => entry === normalized);
164
- if (!found) {
165
- throw new PmCliError(`Invalid plan harness "${value}". Allowed: ${PLAN_HARNESS_VALUES.join(", ")}`, EXIT_CODE.USAGE);
166
- }
167
- return found;
168
- }
169
- function asDepth(value) {
170
- if (value === void 0)
171
- return "brief";
172
- const normalized = value.trim().toLowerCase();
173
- const found = PLAN_SHOW_DEPTH_VALUES.find((entry) => entry === normalized);
174
- if (!found) {
175
- throw new PmCliError(`Invalid --depth "${value}". Allowed: ${PLAN_SHOW_DEPTH_VALUES.join(", ")}`, EXIT_CODE.USAGE);
176
- }
177
- return found;
178
- }
179
- function parsePlanFields(raw) {
180
- if (raw === void 0) {
181
- return null;
182
- }
183
- const fields = raw.split(",").map((entry) => entry.trim()).filter((entry) => entry.length > 0);
184
- if (fields.length === 0) {
185
- throw new PmCliError("Plan --fields requires a comma-separated list of plan field names", EXIT_CODE.USAGE);
186
- }
187
- return fields;
188
- }
189
- var PLAN_FIELD_KEYS = /* @__PURE__ */ new Set([
190
- "id",
191
- "title",
192
- "status",
193
- "mode",
194
- "scope",
195
- "harness",
196
- "parent",
197
- "resume_context",
198
- "steps_summary",
199
- "current_step",
200
- "blocked_steps",
201
- "steps",
202
- "decisions",
203
- "discoveries",
204
- "validation",
205
- "linked_items"
206
- ]);
207
- function projectPlanForFields(plan, fields) {
208
- const source = plan;
209
- const projected = {};
210
- const unknownFields = [];
211
- for (const field of fields) {
212
- const normalized = field.startsWith("plan.") ? field.slice("plan.".length) : field;
213
- if (normalized.length === 0) {
214
- continue;
215
- }
216
- if (!PLAN_FIELD_KEYS.has(normalized)) {
217
- unknownFields.push(field);
218
- continue;
219
- }
220
- if (Object.prototype.hasOwnProperty.call(source, normalized)) {
221
- projected[normalized] = source[normalized];
222
- }
223
- }
224
- if (unknownFields.length > 0) {
225
- throw new PmCliError(`Unknown Plan --fields value(s): ${unknownFields.join(", ")}`, EXIT_CODE.USAGE, {
226
- nextSteps: [
227
- `Use --fields ${[...PLAN_FIELD_KEYS].join(",")}`,
228
- "Run pm plan show <id> --depth brief for compact default fields."
229
- ],
230
- recovery: {
231
- provided_fields: unknownFields,
232
- suggested_retry: `pm plan show <id> --fields ${[...PLAN_FIELD_KEYS].join(",")}`
233
- }
234
- });
235
- }
236
- return projected;
237
- }
238
- function parsePairList(raw, label) {
239
- const out = {};
240
- for (const entry of raw.split(",")) {
241
- const trimmed = entry.trim();
242
- if (trimmed.length === 0)
243
- continue;
244
- const equalsIndex = trimmed.indexOf("=");
245
- if (equalsIndex <= 0) {
246
- throw new PmCliError(`Invalid ${label} entry "${trimmed}"; expected key=value`, EXIT_CODE.USAGE);
247
- }
248
- out[trimmed.slice(0, equalsIndex).trim().toLowerCase()] = trimmed.slice(equalsIndex + 1).trim();
249
- }
250
- return out;
251
- }
252
- function parseStepFile(spec) {
253
- const fields = parsePairList(spec, "--file");
254
- if (!fields.path) {
255
- throw new PmCliError("--file requires path=<value>", EXIT_CODE.USAGE);
256
- }
257
- const file = { path: fields.path };
258
- if (fields.scope === "global" || fields.scope === "project")
259
- file.scope = fields.scope;
260
- if (fields.note)
261
- file.note = fields.note;
262
- return file;
263
- }
264
- function parseStepTest(spec) {
265
- const fields = parsePairList(spec, "--test");
266
- if (!fields.command && !fields.path) {
267
- throw new PmCliError("--test requires at least command=<value> or path=<value>", EXIT_CODE.USAGE);
268
- }
269
- const test = {};
270
- if (fields.command)
271
- test.command = fields.command;
272
- if (fields.path)
273
- test.path = fields.path;
274
- if (fields.note)
275
- test.note = fields.note;
276
- return test;
277
- }
278
- function parseStepDoc(spec) {
279
- const fields = parsePairList(spec, "--doc");
280
- if (!fields.path) {
281
- throw new PmCliError("--doc requires path=<value>", EXIT_CODE.USAGE);
282
- }
283
- const doc = { path: fields.path };
284
- if (fields.scope === "global" || fields.scope === "project")
285
- doc.scope = fields.scope;
286
- if (fields.note)
287
- doc.note = fields.note;
288
- return doc;
289
- }
290
- function summarizeSteps(steps) {
291
- const summary = {
292
- total: steps.length,
293
- pending: 0,
294
- in_progress: 0,
295
- blocked: 0,
296
- completed: 0,
297
- skipped: 0,
298
- superseded: 0,
299
- completion_pct: 0
300
- };
301
- for (const step of steps) {
302
- summary[step.status] += 1;
303
- }
304
- summary.completion_pct = planCompletionPct(summary.completed, summary.total);
305
- return summary;
306
- }
307
- function newStepId(existing) {
308
- const used = new Set(existing.map((step) => step.id));
309
- for (let cursor = existing.length + 1; cursor < existing.length + 1024; cursor += 1) {
310
- const candidate = `${STEP_ID_PREFIX}${String(cursor).padStart(3, "0")}`;
311
- if (!used.has(candidate))
312
- return candidate;
313
- }
314
- throw new PmCliError("Could not allocate step id (limit reached)", EXIT_CODE.GENERIC_FAILURE);
315
- }
316
- function resolveStepRef(steps, ref) {
317
- const trimmed = ref.trim();
318
- if (trimmed.length === 0) {
319
- throw new PmCliError("Step reference cannot be empty", EXIT_CODE.USAGE);
320
- }
321
- const direct = steps.find((step) => step.id === trimmed);
322
- if (direct)
323
- return direct;
324
- if (/^\d+$/.test(trimmed)) {
325
- const order = Number.parseInt(trimmed, 10);
326
- const byOrder = steps.find((step) => step.order === order);
327
- if (byOrder)
328
- return byOrder;
329
- }
330
- throw new PmCliError(`Step "${ref}" not found in plan`, EXIT_CODE.NOT_FOUND);
331
- }
332
- function classifyMaterializeSkip(step) {
333
- if (step.status === "completed") {
334
- return { reason: "already_completed" };
335
- }
336
- const existingImplements = (step.linked_items ?? []).find((link) => link.kind === "implements");
337
- if (existingImplements) {
338
- return { reason: "already_materialized", existing_id: existingImplements.id };
339
- }
340
- return void 0;
341
- }
342
- function resolveMaterializeTargets(steps, refs) {
343
- const allRefs = refs.filter((ref) => ref.trim().toLowerCase() === "all");
344
- const targets = [];
345
- const skipped = [];
346
- if (allRefs.length > 0) {
347
- if (refs.length > allRefs.length) {
348
- throw new PmCliError("pm plan materialize --steps all cannot be combined with other step refs", EXIT_CODE.USAGE);
349
- }
350
- for (const step of steps.slice().sort((left, right) => left.order - right.order)) {
351
- const skip = classifyMaterializeSkip(step);
352
- if (skip) {
353
- skipped.push({ from_step: step.id, ...skip });
354
- continue;
355
- }
356
- targets.push(step);
357
- }
358
- return { targets, skipped };
359
- }
360
- const seen = /* @__PURE__ */ new Set();
361
- for (const ref of refs) {
362
- const step = resolveStepRef(steps, ref);
363
- if (seen.has(step.id))
364
- continue;
365
- seen.add(step.id);
366
- const skip = classifyMaterializeSkip(step);
367
- if (skip) {
368
- skipped.push({ from_step: step.id, ...skip });
369
- continue;
370
- }
371
- targets.push(step);
372
- }
373
- return { targets, skipped };
374
- }
375
- function resolvePlanLogText(kind, options) {
376
- const canonical = kind === "decision" ? options.decisionText : kind === "discovery" ? options.discoveryText : options.validationText;
377
- const shorthand = kind === "decision" ? options.decision : kind === "discovery" ? options.discovery : options.validation;
378
- return canonical?.trim() || shorthand?.trim() || void 0;
379
- }
380
- function findCurrentStep(steps) {
381
- return steps.find((step) => step.status === "in_progress") ?? steps.find((step) => step.status === "pending");
382
- }
383
- function blockedSteps(steps) {
384
- return steps.filter((step) => step.status === "blocked").map((step) => ({ id: step.id, order: step.order, title: step.title, blocked_reason: step.blocked_reason }));
385
- }
386
- function projectPlan(item, depth = "brief") {
387
- const steps = (item.plan_steps ?? []).slice().sort((left, right) => left.order - right.order);
388
- const summary = summarizeSteps(steps);
389
- const current = findCurrentStep(steps);
390
- const projection = {
391
- id: item.id,
392
- title: item.title,
393
- status: item.status,
394
- mode: item.plan_mode ?? DEFAULT_PLAN_MODE,
395
- scope: item.plan_scope,
396
- harness: item.plan_harness,
397
- parent: item.parent,
398
- resume_context: item.plan_resume_context,
399
- steps_summary: summary,
400
- current_step: current ? { id: current.id, order: current.order, title: current.title, status: current.status } : void 0,
401
- blocked_steps: blockedSteps(steps),
402
- linked_items: (item.dependencies ?? []).map((dep) => ({ id: dep.id, kind: dep.kind }))
403
- };
404
- if (depth === "standard" || depth === "deep") {
405
- projection.steps = steps;
406
- }
407
- if (depth === "deep") {
408
- projection.decisions = item.plan_decisions ?? [];
409
- projection.discoveries = item.plan_discoveries ?? [];
410
- projection.validation = item.plan_validation ?? [];
411
- }
412
- return projection;
413
- }
414
- function nextActionsFor(planId, plan) {
415
- const tips = [];
416
- if (plan.steps_summary.total === 0) {
417
- tips.push(`pm plan add-step ${planId} --step-title "First step"`);
418
- }
419
- if (plan.current_step) {
420
- tips.push(`pm plan update-step ${planId} ${plan.current_step.id} --step-status in_progress`, `pm plan complete-step ${planId} ${plan.current_step.id} --step-evidence "..."`);
421
- }
422
- if (plan.steps_summary.blocked > 0) {
423
- tips.push(`pm plan show ${planId} --depth standard`);
424
- }
425
- if (plan.mode === "draft" || plan.mode === "research") {
426
- tips.push(`pm plan approve ${planId} --message "ready to execute"`);
427
- }
428
- if (plan.steps_summary.completed === plan.steps_summary.total && plan.steps_summary.total > 0) {
429
- tips.push(`pm close ${planId} "plan complete"`);
430
- }
431
- return tips;
432
- }
433
- function ensurePlanItem(item) {
434
- const normalizedType = (item.type ?? "").trim().toLowerCase();
435
- if (normalizedType !== "plan") {
436
- throw new PmCliError(`Item ${item.id} is type ${item.type}; pm plan commands require type=Plan. Use pm plan create or pm create --type Plan first.`, EXIT_CODE.USAGE, {
437
- code: "wrong_item_type",
438
- required: "Use pm plan commands only with items whose type is Plan.",
439
- why: "Plan commands read and mutate Plan-specific step, decision, discovery, and validation fields.",
440
- examples: [
441
- `pm get ${item.id} --depth brief`,
442
- 'pm plan create --title "Execution plan" --scope "<goal>"'
443
- ]
444
- });
445
- }
446
- }
447
- async function loadContext(global) {
448
- const pmRoot = resolvePmRoot(process.cwd(), global.path);
449
- if (!await pathExists(getSettingsPath(pmRoot))) {
450
- throw new PmCliError(`Tracker is not initialized at ${pmRoot}. Run pm init first.`, EXIT_CODE.NOT_FOUND);
451
- }
452
- const settings = await readSettings(pmRoot);
453
- return { pmRoot, settings };
454
- }
455
- async function readPlanItem(ctx, id) {
456
- const typeRegistry = resolveItemTypeRegistry(ctx.settings, getActiveExtensionRegistrations());
457
- const located = await locateItem(ctx.pmRoot, id, ctx.settings.id_prefix, ctx.settings.item_format, typeRegistry.type_to_folder);
458
- if (!located) {
459
- throw new PmCliError(`Plan ${id} not found`, EXIT_CODE.NOT_FOUND);
460
- }
461
- const loaded = await readLocatedItem(located, { schema: ctx.settings.schema });
462
- ensurePlanItem(loaded.document.metadata);
463
- return { document: loaded.document, itemId: located.id };
464
- }
465
- function buildPlanCreateDependencies(options) {
466
- const deps = [];
467
- if (options.parent) {
468
- deps.push(`id=${options.parent.trim()},kind=parent`);
469
- }
470
- for (const ref of toArray(options.related))
471
- deps.push(`id=${ref},kind=related`);
472
- for (const ref of toArray(options.blocks))
473
- deps.push(`id=${ref},kind=blocks`);
474
- for (const ref of toArray(options.blockedBy))
475
- deps.push(`id=${ref},kind=blocked_by`);
476
- return deps.length > 0 ? deps : void 0;
477
- }
478
- function buildInitialValidation(options) {
479
- const text = options.validationText?.trim();
480
- const command = options.validationCommand?.trim();
481
- const expected = options.validationExpected?.trim();
482
- if (!text && !command && !expected) {
483
- return void 0;
484
- }
485
- return {
486
- text: text || command || "Validation check",
487
- command: command || void 0,
488
- expected: expected || void 0
489
- };
490
- }
491
- function hasPlanStepDetailOptions(options) {
492
- return Boolean(options.stepBody?.trim()) || Boolean(options.stepOwner?.trim()) || Boolean(options.stepStatus?.trim()) || Boolean(options.stepEvidence?.trim()) || Boolean(options.stepBlockedReason?.trim()) || Boolean(options.stepReplacement?.trim()) || toArray(options.dependsOn).length > 0 || toArray(options.link).length > 0 || toSpecArray(options.file).length > 0 || toSpecArray(options.test).length > 0 || toSpecArray(options.doc).length > 0;
493
- }
494
- function resolveInitialStepSeed(options) {
495
- const stepTitleFlag = options.stepTitle?.trim() || void 0;
496
- const repeatedStepTitles = toOrderedStepTitles(options.step);
497
- const templateSteps = options.template?.trim() ? resolvePlanTemplateSteps(options.template) : [];
498
- return {
499
- repeatedStepTitles,
500
- stepTitleFlag,
501
- stepTitles: [
502
- ...stepTitleFlag ? [stepTitleFlag] : [],
503
- ...repeatedStepTitles,
504
- ...templateSteps.map((step) => step.title)
505
- ],
506
- templateSteps
507
- };
508
- }
509
- function assertInitialStepSeedAllowed(seed, hasPerStepDetailOptions) {
510
- if ((seed.stepTitleFlag || seed.repeatedStepTitles.length > 0) && seed.templateSteps.length > 0) {
511
- throw new PmCliError("pm plan create --template cannot be combined with --step-title or --step; choose one step seeding source", EXIT_CODE.USAGE, {
512
- code: "ambiguous_option_combination",
513
- examples: [
514
- `pm plan create --title "Fix login crash" --template ${PLAN_TEMPLATE_NAMES[0]}`,
515
- 'pm plan create --title "Custom plan" --step "Read the code" --step "Write the fix"'
516
- ]
517
- });
518
- }
519
- if (seed.stepTitles.length > 1 && hasPerStepDetailOptions) {
520
- throw new PmCliError("pm plan create per-step options apply to a single initial step; with multiple --step values create the plan first, then refine steps individually", EXIT_CODE.USAGE, {
521
- code: "ambiguous_option_combination",
522
- examples: [
523
- 'pm plan create --title "Execution plan" --step "Read the code" --step "Write the fix"',
524
- 'pm plan update-step <plan-id> plan-step-001 --step-body "Inspect retry path"'
525
- ]
526
- });
527
- }
528
- }
529
- function buildSingleInitialStep(options, title) {
530
- const status = asStepStatus(options.stepStatus, "pending");
531
- const linkedItems = buildLinkInputs(options, "depends_on");
532
- const files = toSpecArray(options.file).map(parseStepFile);
533
- const tests = toSpecArray(options.test).map(parseStepTest);
534
- const docs = toSpecArray(options.doc).map(parseStepDoc);
535
- const now = nowIso();
536
- return {
537
- id: "plan-step-001",
538
- order: 1,
539
- title,
540
- body: options.stepBody?.trim() || void 0,
541
- status,
542
- owner: options.stepOwner?.trim() || void 0,
543
- evidence: options.stepEvidence?.trim() || void 0,
544
- blocked_reason: status === "blocked" ? options.stepBlockedReason?.trim() || "" : void 0,
545
- linked_items: linkedItems.length > 0 ? linkedItems : void 0,
546
- files: files.length > 0 ? files : void 0,
547
- tests: tests.length > 0 ? tests : void 0,
548
- docs: docs.length > 0 ? docs : void 0,
549
- created_at: now,
550
- updated_at: now,
551
- completed_at: status === "completed" ? now : void 0
552
- };
553
- }
554
- function buildInitialSteps(options) {
555
- const seed = resolveInitialStepSeed(options);
556
- const hasDetailOptions = hasPlanStepDetailOptions(options);
557
- assertInitialStepSeedAllowed(seed, hasDetailOptions);
558
- if (seed.stepTitles.length === 0) {
559
- return { steps: [], hasPerStepDetailOptions: hasDetailOptions };
560
- }
561
- if (seed.stepTitles.length === 1) {
562
- return { steps: [buildSingleInitialStep(options, seed.stepTitles[0])], hasPerStepDetailOptions: hasDetailOptions };
563
- }
564
- const now = nowIso();
565
- return {
566
- steps: seed.stepTitles.map((stepTitle, index) => ({
567
- id: `${STEP_ID_PREFIX}${String(index + 1).padStart(3, "0")}`,
568
- order: index + 1,
569
- title: stepTitle,
570
- body: seed.templateSteps[index]?.body,
571
- status: "pending",
572
- created_at: now,
573
- updated_at: now
574
- })),
575
- hasPerStepDetailOptions: hasDetailOptions
576
- };
577
- }
578
- async function planCreate(options, global, ctx) {
579
- const title = options.title?.trim();
580
- if (!title) {
581
- throw new PmCliError("pm plan create requires --title", EXIT_CODE.USAGE, {
582
- code: "missing_required_option",
583
- examples: ['pm plan create --title "Refactor lock retry" --scope pm-a1b2']
584
- });
585
- }
586
- const mode = asPlanMode(options.mode, DEFAULT_PLAN_MODE);
587
- const harness = asHarness(options.harness);
588
- const fromSearch = options.fromSearch?.trim();
589
- const description = options.description?.trim() ?? options.scope?.trim() ?? title;
590
- const createOptions = {
591
- title,
592
- description,
593
- type: "Plan",
594
- body: options.body,
595
- tags: options.tags,
596
- priority: options.priority,
597
- parent: options.parent,
598
- dep: buildPlanCreateDependencies(options),
599
- author: options.author,
600
- message: options.message ?? (fromSearch ? `plan create (search: ${fromSearch})` : `plan create`)
601
- };
602
- const createResult = await runCreate(createOptions, global);
603
- const seedResult = await mutateItem({
604
- pmRoot: ctx.pmRoot,
605
- settings: ctx.settings,
606
- id: createResult.item.id,
607
- op: "plan_create_metadata",
608
- author: resolveAuthor(options.author, ctx.settings.author_default),
609
- message: "seed plan metadata",
610
- mutate(doc) {
611
- const changed = [];
612
- doc.metadata.plan_mode = mode;
613
- changed.push("plan_mode");
614
- if (harness) {
615
- doc.metadata.plan_harness = harness;
616
- changed.push("plan_harness");
617
- }
618
- if (options.scope?.trim()) {
619
- doc.metadata.plan_scope = options.scope.trim();
620
- changed.push("plan_scope");
621
- }
622
- if (options.resumeContext?.trim()) {
623
- doc.metadata.plan_resume_context = options.resumeContext.trim();
624
- changed.push("plan_resume_context");
625
- }
626
- doc.metadata.plan_steps = doc.metadata.plan_steps ?? [];
627
- return { changedFields: changed };
628
- }
629
- });
630
- let finalMetadata = seedResult.item;
631
- let initialStep;
632
- const initialValidation = buildInitialValidation(options);
633
- const { steps: initialSteps, hasPerStepDetailOptions } = buildInitialSteps(options);
634
- if (initialSteps.length > 0) {
635
- initialStep = initialSteps[0];
636
- const stepped = await mutateItem({
637
- pmRoot: ctx.pmRoot,
638
- settings: ctx.settings,
639
- id: createResult.item.id,
640
- op: "plan_create_initial_step",
641
- author: resolveAuthor(options.author, ctx.settings.author_default),
642
- message: initialSteps.length === 1 ? `plan create initial step "${initialSteps[0].title}"` : `plan create ${initialSteps.length} initial steps`,
643
- mutate(doc) {
644
- ensurePlanItem(doc.metadata);
645
- doc.metadata.plan_steps = initialSteps;
646
- if (initialValidation) {
647
- doc.metadata.plan_validation = [...doc.metadata.plan_validation ?? [], initialValidation];
648
- }
649
- return { changedFields: initialValidation ? ["plan_steps", "plan_validation"] : ["plan_steps"] };
650
- }
651
- });
652
- finalMetadata = stepped.item;
653
- } else if (initialValidation) {
654
- const validated = await mutateItem({
655
- pmRoot: ctx.pmRoot,
656
- settings: ctx.settings,
657
- id: createResult.item.id,
658
- op: "plan_create_initial_validation",
659
- author: resolveAuthor(options.author, ctx.settings.author_default),
660
- message: "plan create initial validation",
661
- mutate(doc) {
662
- ensurePlanItem(doc.metadata);
663
- doc.metadata.plan_validation = [...doc.metadata.plan_validation ?? [], initialValidation];
664
- return { changedFields: ["plan_validation"] };
665
- }
666
- });
667
- finalMetadata = validated.item;
668
- } else if (hasPerStepDetailOptions) {
669
- throw new PmCliError("pm plan create step options require --step-title (or a single --step)", EXIT_CODE.USAGE, {
670
- code: "missing_required_option",
671
- examples: ['pm plan create --title "Execution plan" --step-title "Read the code"']
672
- });
673
- }
674
- if (options.claim) {
675
- const claimed = await mutateItem({
676
- pmRoot: ctx.pmRoot,
677
- settings: ctx.settings,
678
- id: createResult.item.id,
679
- op: "claim",
680
- author: resolveAuthor(options.author, ctx.settings.author_default),
681
- message: "plan claim by author",
682
- mutate(doc) {
683
- doc.metadata.assignee = resolveAuthor(options.author, ctx.settings.author_default);
684
- return { changedFields: ["assignee"] };
685
- }
686
- });
687
- finalMetadata = claimed.item;
688
- }
689
- const plan = projectPlan(finalMetadata, "brief");
690
- return {
691
- action: "create",
692
- plan,
693
- step: initialStep,
694
- next_actions: nextActionsFor(createResult.item.id, plan),
695
- warnings: [...createResult.warnings],
696
- generated_at: nowIso()
697
- };
698
- }
699
- async function planShow(id, options, ctx) {
700
- const depth = asDepth(options.depth);
701
- const fields = parsePlanFields(options.fields);
702
- const { document, itemId } = await readPlanItem(ctx, id);
703
- const fullPlan = projectPlan(document.metadata, fields === null ? depth : "deep");
704
- const plan = fields === null ? fullPlan : projectPlanForFields(fullPlan, fields);
705
- return {
706
- action: "show",
707
- plan,
708
- next_actions: nextActionsFor(itemId, fullPlan),
709
- warnings: [],
710
- generated_at: nowIso()
711
- };
712
- }
713
- async function mutatePlanSteps(args) {
714
- const author = resolveAuthor(args.options.author, args.ctx.settings.author_default);
715
- let resultStep;
716
- const result = await mutateItem({
717
- pmRoot: args.ctx.pmRoot,
718
- settings: args.ctx.settings,
719
- id: args.id,
720
- op: args.op,
721
- author,
722
- message: args.options.message ?? args.message,
723
- force: args.options.force,
724
- mutate(doc) {
725
- ensurePlanItem(doc.metadata);
726
- const steps = (doc.metadata.plan_steps ?? []).slice();
727
- const before = JSON.stringify(steps);
728
- const outcome = args.mutator(steps, doc);
729
- resultStep = outcome.resultStep;
730
- const sorted = steps.slice().sort((left, right) => left.order - right.order).map((step, index) => ({ ...step, order: index + 1 }));
731
- doc.metadata.plan_steps = sorted;
732
- const after = JSON.stringify(sorted);
733
- const changedFields = before === after ? [] : ["plan_steps"];
734
- if (changedFields.length === 0 && outcome.changedSteps.length === 0) {
735
- return { changedFields: [] };
736
- }
737
- return { changedFields: changedFields.length > 0 ? changedFields : ["plan_steps"] };
738
- }
739
- });
740
- return {
741
- document: { metadata: result.item, body: result.body },
742
- resultStep,
743
- itemId: result.item.id
744
- };
745
- }
746
- async function planAddStep(id, options, ctx) {
747
- const title = options.stepTitle?.trim();
748
- if (!title) {
749
- throw new PmCliError("pm plan add-step requires --step-title", EXIT_CODE.USAGE);
750
- }
751
- const status = asStepStatus(options.stepStatus, "pending");
752
- const allowMultipleActive = options.allowMultipleActive === true;
753
- const { document, resultStep, itemId } = await mutatePlanSteps({
754
- id,
755
- options,
756
- ctx,
757
- op: "plan_add_step",
758
- message: `plan add-step "${title}"`,
759
- mutator(steps) {
760
- const order = steps.length + 1;
761
- assertInProgressStepAllowed(steps, void 0, status, allowMultipleActive);
762
- const step = buildAddedPlanStep(steps, options, { order, title, status });
763
- steps.push(step);
764
- return { changedSteps: [step.id], resultStep: step };
765
- }
766
- });
767
- const plan = projectPlan(document.metadata, "standard");
768
- return {
769
- action: "add-step",
770
- plan,
771
- step: resultStep,
772
- next_actions: nextActionsFor(itemId, plan),
773
- warnings: [],
774
- generated_at: nowIso()
775
- };
776
- }
777
- function assertInProgressStepAllowed(steps, currentStepId, desiredStatus, allowMultipleActive) {
778
- if (desiredStatus !== "in_progress" || allowMultipleActive) {
779
- return;
780
- }
781
- const activeStep = steps.find((step) => step.id !== currentStepId && step.status === "in_progress");
782
- if (!activeStep) {
783
- return;
784
- }
785
- throw new PmCliError(`Plan already has step ${activeStep.id} in_progress. Pass --allow-multiple-active or update that step first.`, EXIT_CODE.CONFLICT);
786
- }
787
- function buildAddedPlanStep(existingSteps, options, seed) {
788
- const linkedItems = buildLinkInputs(options, "depends_on");
789
- const files = toSpecArray(options.file).map(parseStepFile);
790
- const tests = toSpecArray(options.test).map(parseStepTest);
791
- const docs = toSpecArray(options.doc).map(parseStepDoc);
792
- const now = nowIso();
793
- return {
794
- id: newStepId(existingSteps),
795
- order: seed.order,
796
- title: seed.title,
797
- body: options.stepBody?.trim() || void 0,
798
- status: seed.status,
799
- owner: options.stepOwner?.trim() || void 0,
800
- evidence: options.stepEvidence?.trim() || void 0,
801
- blocked_reason: seed.status === "blocked" ? options.stepBlockedReason?.trim() || "" : void 0,
802
- linked_items: linkedItems.length > 0 ? linkedItems : void 0,
803
- files: files.length > 0 ? files : void 0,
804
- tests: tests.length > 0 ? tests : void 0,
805
- docs: docs.length > 0 ? docs : void 0,
806
- created_at: now,
807
- updated_at: now,
808
- completed_at: seed.status === "completed" ? now : void 0
809
- };
810
- }
811
- function buildLinkInputs(options, fallbackKind) {
812
- const dependsOn = toArray(options.dependsOn).map((id) => ({ id, kind: fallbackKind }));
813
- const related = toArray(options.related).map((id) => ({ id, kind: "related" }));
814
- const blocks = toArray(options.blocks).map((id) => ({ id, kind: "blocks" }));
815
- const blockedBy = toArray(options.blockedBy).map((id) => ({ id, kind: "blocked_by" }));
816
- const explicit = toArray(options.link);
817
- const explicitKind = asLinkKind(options.linkKind, fallbackKind);
818
- const note = options.linkNote?.trim();
819
- const explicitLinks = explicit.map((id) => {
820
- const link = { id, kind: explicitKind };
821
- if (note)
822
- link.note = note;
823
- return link;
824
- });
825
- return [...dependsOn, ...related, ...blocks, ...blockedBy, ...explicitLinks];
826
- }
827
- async function planUpdateStep(id, options, ctx, args) {
828
- const { document, resultStep, itemId } = await mutatePlanSteps({
829
- id,
830
- options,
831
- ctx,
832
- op: args.op,
833
- message: options.message ?? `${args.op} ${args.stepRef}`,
834
- mutator(steps, doc) {
835
- const step = resolveStepRef(steps, args.stepRef);
836
- const now = nowIso();
837
- const desiredStatus = args.finalStatus ?? asStepStatus(options.stepStatus, step.status);
838
- const allowMultipleActive = options.allowMultipleActive === true || args.allowMultipleActive === true;
839
- assertInProgressStepAllowed(steps, step.status === "in_progress" ? step.id : void 0, desiredStatus, allowMultipleActive);
840
- applyStepUpdates(step, options, desiredStatus, now);
841
- doc.metadata.updated_at = now;
842
- return { changedSteps: [step.id], resultStep: step };
843
- }
844
- });
845
- const plan = projectPlan(document.metadata, "standard");
846
- return {
847
- action: args.op === "plan_complete_step" ? "complete-step" : args.op === "plan_block_step" ? "block-step" : "update-step",
848
- plan,
849
- step: resultStep,
850
- next_actions: nextActionsFor(itemId, plan),
851
- warnings: [],
852
- generated_at: nowIso()
853
- };
854
- }
855
- function applyStepUpdates(step, options, desiredStatus, now) {
856
- assertBlockedStepReason(step, options, desiredStatus);
857
- applyStepFieldUpdates(step, options);
858
- step.status = desiredStatus;
859
- step.updated_at = now;
860
- applyStepCompletionTimestamp(step, desiredStatus, now);
861
- }
862
- function assertBlockedStepReason(step, options, desiredStatus) {
863
- if (desiredStatus !== "blocked" || options.stepBlockedReason?.trim() || step.blocked_reason) {
864
- return;
865
- }
866
- throw new PmCliError("Blocking a step requires --step-blocked-reason or an already-recorded blocked_reason.", EXIT_CODE.USAGE);
867
- }
868
- function applyStepFieldUpdates(step, options) {
869
- const title = options.stepTitle?.trim();
870
- if (title) {
871
- step.title = title;
872
- }
873
- if (options.stepBody !== void 0) {
874
- step.body = options.stepBody.trim() || void 0;
875
- }
876
- if (options.stepOwner !== void 0) {
877
- step.owner = options.stepOwner.trim() || void 0;
878
- }
879
- if (options.stepEvidence !== void 0) {
880
- step.evidence = options.stepEvidence.trim() || void 0;
881
- }
882
- if (options.stepBlockedReason !== void 0) {
883
- step.blocked_reason = options.stepBlockedReason.trim() || void 0;
884
- }
885
- if (options.stepReplacement !== void 0) {
886
- step.superseded_by = options.stepReplacement.trim() || void 0;
887
- }
888
- }
889
- function applyStepCompletionTimestamp(step, desiredStatus, now) {
890
- if (desiredStatus === "completed" && !step.completed_at) {
891
- step.completed_at = now;
892
- return;
893
- }
894
- if (desiredStatus !== "completed") {
895
- step.completed_at = void 0;
896
- }
897
- }
898
- async function planReorderStep(id, options, ctx, stepRef, newOrder) {
899
- const { document, itemId } = await mutatePlanSteps({
900
- id,
901
- options,
902
- ctx,
903
- op: "plan_reorder_step",
904
- message: options.message ?? `plan reorder-step ${stepRef} -> ${newOrder}`,
905
- mutator(steps) {
906
- const step = resolveStepRef(steps, stepRef);
907
- const filtered = steps.filter((entry) => entry.id !== step.id);
908
- const clamped = Math.max(1, Math.min(newOrder, filtered.length + 1));
909
- filtered.splice(clamped - 1, 0, step);
910
- filtered.forEach((entry, index) => {
911
- entry.order = index + 1;
912
- entry.updated_at = nowIso();
913
- });
914
- steps.length = 0;
915
- steps.push(...filtered);
916
- return { changedSteps: [step.id], resultStep: step };
917
- }
918
- });
919
- const plan = projectPlan(document.metadata, "standard");
920
- return {
921
- action: "reorder-step",
922
- plan,
923
- next_actions: nextActionsFor(itemId, plan),
924
- warnings: [],
925
- generated_at: nowIso()
926
- };
927
- }
928
- async function planRemoveStep(id, options, ctx, stepRef) {
929
- const { document, itemId } = await mutatePlanSteps({
930
- id,
931
- options,
932
- ctx,
933
- op: "plan_remove_step",
934
- message: options.message ?? `plan remove-step ${stepRef}`,
935
- mutator(steps) {
936
- const step = resolveStepRef(steps, stepRef);
937
- const remaining = steps.filter((entry) => entry.id !== step.id);
938
- remaining.forEach((entry, index) => {
939
- entry.order = index + 1;
940
- });
941
- steps.length = 0;
942
- steps.push(...remaining);
943
- return { changedSteps: [step.id] };
944
- }
945
- });
946
- const plan = projectPlan(document.metadata, "standard");
947
- return {
948
- action: "remove-step",
949
- plan,
950
- next_actions: nextActionsFor(itemId, plan),
951
- warnings: [],
952
- generated_at: nowIso()
953
- };
954
- }
955
- async function planLink(id, options, ctx, stepRef) {
956
- const newLinks = buildLinkInputs(options, asLinkKind(options.linkKind, "related"));
957
- if (newLinks.length === 0) {
958
- throw new PmCliError("pm plan link requires at least one --link/--related/--blocks/--blocked-by/--depends-on id", EXIT_CODE.USAGE);
959
- }
960
- const promoteToItemDep = options.promoteToItemDep === true;
961
- const { document, itemId, resultStep } = await mutatePlanSteps({
962
- id,
963
- options,
964
- ctx,
965
- op: "plan_link_step",
966
- message: options.message ?? `plan link ${stepRef}`,
967
- mutator(steps, doc) {
968
- const step = resolveStepRef(steps, stepRef);
969
- const existing = step.linked_items ?? [];
970
- const dedupKey = (link) => `${link.kind}:${link.id}`;
971
- const seen = new Set(existing.map(dedupKey));
972
- for (const link of newLinks) {
973
- const key = dedupKey(link);
974
- if (seen.has(key))
975
- continue;
976
- existing.push(link);
977
- seen.add(key);
978
- }
979
- step.linked_items = existing;
980
- step.updated_at = nowIso();
981
- if (promoteToItemDep) {
982
- const deps = doc.metadata.dependencies ?? [];
983
- const depKey = (dep) => `${dep.kind}:${dep.id}`;
984
- const seenDeps = new Set(deps.map(depKey));
985
- for (const link of newLinks) {
986
- const candidate = {
987
- id: link.id,
988
- kind: link.kind,
989
- created_at: nowIso(),
990
- author: resolveAuthor(options.author, ctx.settings.author_default)
991
- };
992
- if (seenDeps.has(depKey(candidate)))
993
- continue;
994
- deps.push(candidate);
995
- seenDeps.add(depKey(candidate));
996
- }
997
- doc.metadata.dependencies = deps;
998
- }
999
- return { changedSteps: [step.id], resultStep: step };
1000
- }
1001
- });
1002
- const plan = projectPlan(document.metadata, "standard");
1003
- return {
1004
- action: "link",
1005
- plan,
1006
- step: resultStep,
1007
- next_actions: nextActionsFor(itemId, plan),
1008
- warnings: [],
1009
- generated_at: nowIso()
1010
- };
1011
- }
1012
- async function planUnlink(id, options, ctx, stepRef) {
1013
- const removeIds = toArray(options.link);
1014
- if (removeIds.length === 0) {
1015
- throw new PmCliError("pm plan unlink requires --link <id> to remove", EXIT_CODE.USAGE);
1016
- }
1017
- const { document, itemId, resultStep } = await mutatePlanSteps({
1018
- id,
1019
- options,
1020
- ctx,
1021
- op: "plan_unlink_step",
1022
- message: options.message ?? `plan unlink ${stepRef}`,
1023
- mutator(steps) {
1024
- const step = resolveStepRef(steps, stepRef);
1025
- const filtered = (step.linked_items ?? []).filter((link) => !removeIds.includes(link.id));
1026
- step.linked_items = filtered.length > 0 ? filtered : void 0;
1027
- step.updated_at = nowIso();
1028
- return { changedSteps: [step.id], resultStep: step };
1029
- }
1030
- });
1031
- const plan = projectPlan(document.metadata, "standard");
1032
- return {
1033
- action: "unlink",
1034
- plan,
1035
- step: resultStep,
1036
- next_actions: nextActionsFor(itemId, plan),
1037
- warnings: [],
1038
- generated_at: nowIso()
1039
- };
1040
- }
1041
- async function planAppendLog(id, options, ctx, kind) {
1042
- const logText = resolvePlanLogText(kind, options);
1043
- if (!logText) {
1044
- const canonical = `--${kind}-text`;
1045
- const shorthand = `--${kind}`;
1046
- throw new PmCliError(`pm plan ${kind} requires ${canonical}`, EXIT_CODE.USAGE, {
1047
- code: "missing_required_option",
1048
- examples: [
1049
- `pm plan ${kind} <plan-id> ${canonical} "..."`,
1050
- `pm plan ${kind} <plan-id> ${shorthand} "..."`
1051
- ],
1052
- recovery: {
1053
- suggested_retry: `pm plan ${kind} <plan-id> ${canonical} <value>`
1054
- }
1055
- });
1056
- }
1057
- const author = resolveAuthor(options.author, ctx.settings.author_default);
1058
- const { document, itemId } = await mutatePlanSteps({
1059
- id,
1060
- options,
1061
- ctx,
1062
- op: `plan_append_${kind}`,
1063
- message: options.message ?? `plan ${kind} append`,
1064
- mutator(_steps, doc) {
1065
- const now = nowIso();
1066
- if (kind === "decision") {
1067
- const list2 = doc.metadata.plan_decisions ?? [];
1068
- list2.push({
1069
- ts: now,
1070
- author,
1071
- decision: logText,
1072
- rationale: options.decisionRationale?.trim() || void 0,
1073
- evidence: options.decisionEvidence?.trim() || void 0
1074
- });
1075
- doc.metadata.plan_decisions = list2;
1076
- return { changedSteps: [] };
1077
- }
1078
- if (kind === "discovery") {
1079
- const list2 = doc.metadata.plan_discoveries ?? [];
1080
- list2.push({ ts: now, author, text: logText });
1081
- doc.metadata.plan_discoveries = list2;
1082
- return { changedSteps: [] };
1083
- }
1084
- const list = doc.metadata.plan_validation ?? [];
1085
- list.push({
1086
- text: logText,
1087
- command: options.validationCommand?.trim() || void 0,
1088
- expected: options.validationExpected?.trim() || void 0
1089
- });
1090
- doc.metadata.plan_validation = list;
1091
- return { changedSteps: [] };
1092
- }
1093
- });
1094
- const plan = projectPlan(document.metadata, "deep");
1095
- return {
1096
- action: kind,
1097
- plan,
1098
- next_actions: nextActionsFor(itemId, plan),
1099
- warnings: [],
1100
- generated_at: nowIso()
1101
- };
1102
- }
1103
- async function planResume(id, options, ctx) {
1104
- const text = options.resumeContext?.trim();
1105
- if (!text) {
1106
- throw new PmCliError("pm plan resume requires --resume-context <text>", EXIT_CODE.USAGE);
1107
- }
1108
- const { document, itemId } = await mutatePlanSteps({
1109
- id,
1110
- options,
1111
- ctx,
1112
- op: "plan_resume",
1113
- message: options.message ?? "plan resume context update",
1114
- mutator(_steps, doc) {
1115
- doc.metadata.plan_resume_context = text;
1116
- return { changedSteps: [] };
1117
- }
1118
- });
1119
- const plan = projectPlan(document.metadata, "brief");
1120
- return {
1121
- action: "resume",
1122
- plan,
1123
- next_actions: nextActionsFor(itemId, plan),
1124
- warnings: [],
1125
- generated_at: nowIso()
1126
- };
1127
- }
1128
- async function planApprove(id, options, ctx) {
1129
- const mode = asPlanMode(options.mode ?? "approved", "approved");
1130
- const { document, itemId } = await mutatePlanSteps({
1131
- id,
1132
- options,
1133
- ctx,
1134
- op: "plan_approve",
1135
- message: options.message ?? `plan approve mode=${mode}`,
1136
- mutator(_steps, doc) {
1137
- doc.metadata.plan_mode = mode;
1138
- return { changedSteps: [] };
1139
- }
1140
- });
1141
- const plan = projectPlan(document.metadata, "brief");
1142
- return {
1143
- action: "approve",
1144
- plan,
1145
- next_actions: nextActionsFor(itemId, plan),
1146
- warnings: [],
1147
- generated_at: nowIso()
1148
- };
1149
- }
1150
- function buildMaterializeSkippedWarnings(materializeSkipped) {
1151
- return materializeSkipped.map((entry) => `plan_materialize_skipped:${entry.from_step}:${entry.reason}${entry.existing_id ? `:${entry.existing_id}` : ""}`);
1152
- }
1153
- function buildMaterializeNoopResult(planRead, materializeSkipped) {
1154
- const plan = projectPlan(planRead.document.metadata, "standard");
1155
- return {
1156
- action: "materialize",
1157
- plan,
1158
- materialized: [],
1159
- materialize_skipped: materializeSkipped,
1160
- next_actions: nextActionsFor(planRead.itemId, plan),
1161
- warnings: buildMaterializeSkippedWarnings(materializeSkipped),
1162
- generated_at: nowIso()
1163
- };
1164
- }
1165
- function buildMaterializeDependencies(parent, planItemId, step) {
1166
- const deps = [
1167
- `id=${parent},kind=parent`,
1168
- `id=${planItemId},kind=discovered_from`
1169
- ];
1170
- for (const link of step.linked_items ?? []) {
1171
- const realKind = link.kind === "blocked_by" || link.kind === "blocks" || link.kind === "related" || link.kind === "discovered_from" ? link.kind : "related";
1172
- deps.push(`id=${link.id},kind=${realKind}`);
1173
- }
1174
- return deps;
1175
- }
1176
- async function createMaterializedStepItems(params) {
1177
- const materialized = [];
1178
- for (const step of params.targets) {
1179
- const created = await runCreate({
1180
- title: step.title,
1181
- description: step.body?.trim() || step.title,
1182
- type: params.resolvedTypeName,
1183
- parent: params.parent,
1184
- tags: params.tags,
1185
- author: params.options.author,
1186
- message: params.options.message ?? `materialized from plan ${params.planItemId} step ${step.id}`,
1187
- dep: buildMaterializeDependencies(params.parent, params.planItemId, step)
1188
- }, { ...{}, path: params.pmRoot });
1189
- materialized.push({ id: created.item.id, type: params.resolvedTypeName, from_step: step.id });
1190
- }
1191
- return materialized;
1192
- }
1193
- function linkMaterializedStepItems(currentSteps, targets, materialized) {
1194
- for (const target of targets) {
1195
- const matched = materialized.find((entry) => entry.from_step === target.id);
1196
- if (!matched) {
1197
- continue;
1198
- }
1199
- const step = currentSteps.find((entry) => entry.id === target.id);
1200
- if (!step) {
1201
- continue;
1202
- }
1203
- const links = step.linked_items ?? [];
1204
- links.push({ id: matched.id, kind: "implements", note: `materialized as ${matched.type}` });
1205
- step.linked_items = links;
1206
- step.updated_at = nowIso();
1207
- }
1208
- }
1209
- async function planMaterialize(id, options, ctx) {
1210
- const stepRefs = toArray(options.steps);
1211
- if (stepRefs.length === 0) {
1212
- throw new PmCliError("pm plan materialize requires --steps <ids|orders|all>", EXIT_CODE.USAGE);
1213
- }
1214
- const targetType = options.materializeType?.trim() || "Task";
1215
- const typeRegistry = resolveItemTypeRegistry(ctx.settings, getActiveExtensionRegistrations());
1216
- const resolvedTypeName = resolveTypeName(targetType, typeRegistry);
1217
- if (!resolvedTypeName) {
1218
- throw new PmCliError(`Invalid --materialize-type "${targetType}"`, EXIT_CODE.USAGE);
1219
- }
1220
- const parent = options.materializeParent?.trim() || id;
1221
- const tags = options.materializeTags;
1222
- const planRead = await readPlanItem(ctx, id);
1223
- const steps = (planRead.document.metadata.plan_steps ?? []).slice();
1224
- const { targets, skipped: materializeSkipped } = resolveMaterializeTargets(steps, stepRefs);
1225
- if (targets.length === 0) {
1226
- if (materializeSkipped.length > 0) {
1227
- return buildMaterializeNoopResult(planRead, materializeSkipped);
1228
- }
1229
- throw new PmCliError("No matching plan steps found for --steps", EXIT_CODE.NOT_FOUND);
1230
- }
1231
- const materialized = await createMaterializedStepItems({
1232
- targets,
1233
- parent,
1234
- planItemId: planRead.itemId,
1235
- resolvedTypeName,
1236
- tags,
1237
- options,
1238
- pmRoot: ctx.pmRoot
1239
- });
1240
- const { document, itemId } = await mutatePlanSteps({
1241
- id,
1242
- options,
1243
- ctx,
1244
- op: "plan_materialize",
1245
- message: options.message ?? `plan materialize ${stepRefs.join(",")}`,
1246
- mutator(currentSteps) {
1247
- linkMaterializedStepItems(currentSteps, targets, materialized);
1248
- return { changedSteps: targets.map((entry) => entry.id) };
1249
- }
1250
- });
1251
- const plan = projectPlan(document.metadata, "standard");
1252
- return {
1253
- action: "materialize",
1254
- plan,
1255
- materialized,
1256
- ...materializeSkipped.length > 0 ? { materialize_skipped: materializeSkipped } : {},
1257
- next_actions: nextActionsFor(itemId, plan),
1258
- warnings: buildMaterializeSkippedWarnings(materializeSkipped),
1259
- generated_at: nowIso()
1260
- };
1261
- }
1262
- function normalizePlanStepAliasInput(input) {
1263
- if (input.subcommand === "create") {
1264
- return input;
1265
- }
1266
- const stepValues = toOrderedStepTitles(input.options.step);
1267
- if (stepValues.length > 1) {
1268
- throw new PmCliError(`pm plan ${input.subcommand} accepts a single --step/--step-title value (repeated --step seeds ordered steps only on pm plan create)`, EXIT_CODE.USAGE);
1269
- }
1270
- if (stepValues.length === 1 && !input.options.stepTitle?.trim()) {
1271
- return { ...input, options: { ...input.options, stepTitle: stepValues[0] } };
1272
- }
1273
- return input;
1274
- }
1275
- function requirePlanId(input, label) {
1276
- if (!input.id) {
1277
- throw new PmCliError(`pm plan ${label} requires a plan id`, EXIT_CODE.USAGE);
1278
- }
1279
- return input.id;
1280
- }
1281
- function requirePlanStepRef(input, label) {
1282
- const id = requirePlanId(input, label);
1283
- if (!input.stepRef) {
1284
- throw new PmCliError(`pm plan ${label} requires <plan-id> <step>`, EXIT_CODE.USAGE);
1285
- }
1286
- return { id, stepRef: input.stepRef };
1287
- }
1288
- function requireReorderTarget(input) {
1289
- const target = requirePlanStepRef(input, "reorder-step");
1290
- if (input.reorderTo === void 0) {
1291
- throw new PmCliError("pm plan reorder-step requires <plan-id> <step> <new-order>", EXIT_CODE.USAGE);
1292
- }
1293
- return { ...target, reorderTo: input.reorderTo };
1294
- }
1295
- var PLAN_DISPATCHERS = {
1296
- create: (input, ctx) => planCreate(input.options, input.global, ctx),
1297
- show: (input, ctx) => planShow(requirePlanId(input, "show"), input.options, ctx),
1298
- "add-step": (input, ctx) => planAddStep(requirePlanId(input, "add-step"), input.options, ctx),
1299
- "update-step": (input, ctx) => {
1300
- const target = requirePlanStepRef(input, "update-step");
1301
- return planUpdateStep(target.id, input.options, ctx, { stepRef: target.stepRef, op: "plan_update_step" });
1302
- },
1303
- "complete-step": (input, ctx) => {
1304
- const target = requirePlanStepRef(input, "complete-step");
1305
- return planUpdateStep(target.id, input.options, ctx, {
1306
- stepRef: target.stepRef,
1307
- finalStatus: "completed",
1308
- op: "plan_complete_step"
1309
- });
1310
- },
1311
- "block-step": (input, ctx) => {
1312
- const target = requirePlanStepRef(input, "block-step");
1313
- return planUpdateStep(target.id, input.options, ctx, {
1314
- stepRef: target.stepRef,
1315
- finalStatus: "blocked",
1316
- op: "plan_block_step"
1317
- });
1318
- },
1319
- "reorder-step": (input, ctx) => {
1320
- const target = requireReorderTarget(input);
1321
- return planReorderStep(target.id, input.options, ctx, target.stepRef, target.reorderTo);
1322
- },
1323
- "remove-step": (input, ctx) => {
1324
- const target = requirePlanStepRef(input, "remove-step");
1325
- return planRemoveStep(target.id, input.options, ctx, target.stepRef);
1326
- },
1327
- link: (input, ctx) => {
1328
- const target = requirePlanStepRef(input, "link");
1329
- return planLink(target.id, input.options, ctx, target.stepRef);
1330
- },
1331
- unlink: (input, ctx) => {
1332
- const target = requirePlanStepRef(input, "unlink");
1333
- return planUnlink(target.id, input.options, ctx, target.stepRef);
1334
- },
1335
- decision: (input, ctx) => planAppendLog(requirePlanId(input, "decision"), input.options, ctx, "decision"),
1336
- discovery: (input, ctx) => planAppendLog(requirePlanId(input, "discovery"), input.options, ctx, "discovery"),
1337
- validation: (input, ctx) => planAppendLog(requirePlanId(input, "validation"), input.options, ctx, "validation"),
1338
- resume: (input, ctx) => planResume(requirePlanId(input, "resume"), input.options, ctx),
1339
- approve: (input, ctx) => planApprove(requirePlanId(input, "approve"), input.options, ctx),
1340
- materialize: (input, ctx) => planMaterialize(requirePlanId(input, "materialize"), input.options, ctx)
1341
- };
1342
- function resolvePlanDispatcher(subcommand) {
1343
- const dispatcher = PLAN_DISPATCHERS[subcommand];
1344
- if (!dispatcher) {
1345
- throw new PmCliError(`Unknown pm plan subcommand "${subcommand}"`, EXIT_CODE.USAGE);
1346
- }
1347
- return dispatcher;
1348
- }
1349
- async function runPlan(input) {
1350
- const ctx = await loadContext(input.global);
1351
- const normalizedInput = normalizePlanStepAliasInput(input);
1352
- return resolvePlanDispatcher(normalizedInput.subcommand)(normalizedInput, ctx);
1353
- }
1354
- export {
1355
- PLAN_SHOW_DEPTH_VALUES,
1356
- PLAN_SUBCOMMANDS,
1357
- PLAN_TEMPLATE_NAMES,
1358
- resolvePlanTemplateSteps,
1359
- runPlan
1360
- };
1361
- //# sourceMappingURL=plan-XWY5T67S.js.map
1362
-
1363
- //# debugId=96bebc83-9980-5f44-bb82-601285639daf