@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,1273 +0,0 @@
1
- import {
2
- collect,
3
- extractUpdateManyMutationOptionSource,
4
- formatHookWarnings,
5
- getGlobalOptions,
6
- invalidateSearchCachesForMutation,
7
- normalizeCreateOptions,
8
- normalizeUpdateOptions,
9
- readOptionString
10
- } from "./chunk-4LRVSBO6.js";
11
- import "./chunk-LEKT4K7I.js";
12
- import {
13
- printError,
14
- printResult,
15
- writeStdout
16
- } from "./chunk-ZD34OFFQ.js";
17
- import {
18
- splitCommaList
19
- } from "./chunk-5HIZDR5A.js";
20
- import {
21
- CREATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS,
22
- UPDATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS
23
- } from "./chunk-UI5BJ6DO.js";
24
- import "./chunk-3U3VEWK6.js";
25
- import "./chunk-EZFKWSC7.js";
26
- import "./chunk-DRBV5UC2.js";
27
- import {
28
- PmCliError
29
- } from "./chunk-P5YORJRH.js";
30
- import "./chunk-7C2O74AE.js";
31
- import {
32
- BUILTIN_ITEM_TYPE_VALUES,
33
- EXIT_CODE
34
- } from "./chunk-5VVUKE3U.js";
35
-
36
- // dist/cli/register-mutation.js
37
- import { Option } from "commander";
38
-
39
- // dist/core/io/body-file.js
40
- import { readFile } from "node:fs/promises";
41
- !(function() {
42
- try {
43
- var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
44
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0e21a933-08a9-5141-9475-130d72afddfc");
45
- } catch (e2) {
46
- }
47
- })();
48
- var defaultBodyFileReader = (path) => readFile(path, "utf8");
49
- async function resolveBodyFileContent(bodyFile, inlineBody, readFileImpl = defaultBodyFileReader) {
50
- if (inlineBody !== void 0) {
51
- throw new PmCliError("--body and --body-file are mutually exclusive; provide the body inline with --body or from a file with --body-file, not both.", EXIT_CODE.USAGE, {
52
- code: "body_file_conflicts_with_body",
53
- required: "Choose exactly one body source.",
54
- why: "Both --body and --body-file set the item body; allowing both would make the effective body ambiguous.",
55
- nextSteps: ["Re-run with only --body <text> or only --body-file <path>."]
56
- });
57
- }
58
- const path = bodyFile.trim();
59
- if (path.length === 0) {
60
- throw new PmCliError("--body-file requires a file path.", EXIT_CODE.USAGE, {
61
- code: "body_file_missing_path",
62
- required: "Pass a readable file path: --body-file <path>.",
63
- why: "An empty --body-file value has no file to read the body from."
64
- });
65
- }
66
- try {
67
- return await readFileImpl(path);
68
- } catch (error) {
69
- const errno = error?.code;
70
- const isDirectory = errno === "EISDIR";
71
- const detail = errno ? ` (${errno})` : "";
72
- throw new PmCliError(isDirectory ? `--body-file "${path}" is a directory, not a file. Point it at a readable file.` : `--body-file could not read "${path}"${detail}. Check that the file exists and is readable.`, EXIT_CODE.NOT_FOUND, {
73
- code: "body_file_unreadable",
74
- required: "Point --body-file at an existing, readable file.",
75
- why: `The body content is loaded from the file at the supplied path, so an unreadable path cannot produce a body${errno ? ` (underlying error: ${errno})` : ""}.`,
76
- nextSteps: [`Verify the path: ls -l "${path}"`, "Or pass the body inline with --body <text>."]
77
- });
78
- }
79
- }
80
-
81
- // dist/core/shared/option-alias-visibility.js
82
- !(function() {
83
- try {
84
- var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
85
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9682a7a8-88b3-512a-9c6b-d2dfbe6bc2fb");
86
- } catch (e2) {
87
- }
88
- })();
89
- function extractLongFlags(flagSpec) {
90
- return flagSpec.split(/[\s,|]+/).map((token) => token.trim()).filter((token) => token.startsWith("--"));
91
- }
92
- function extractLongFlag(flagSpec) {
93
- return extractLongFlags(flagSpec)[0] ?? null;
94
- }
95
- function isPureSnakeCaseAlias(canonicalFlagSpec, aliasFlagSpec) {
96
- const aliasLong = extractLongFlag(aliasFlagSpec);
97
- if (aliasLong === null) {
98
- return false;
99
- }
100
- const normalize = (long) => long.slice(2).replaceAll("-", "_");
101
- return extractLongFlags(canonicalFlagSpec).some((canonicalLong) => {
102
- if (!canonicalLong.slice(2).includes("-")) {
103
- return false;
104
- }
105
- if (aliasLong === canonicalLong) {
106
- return false;
107
- }
108
- return normalize(aliasLong) === normalize(canonicalLong);
109
- });
110
- }
111
-
112
- // dist/cli/register-mutation.js
113
- !(function() {
114
- try {
115
- var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
116
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "506e1f95-1444-5306-9a5e-c1fb3726b2df");
117
- } catch (e2) {
118
- }
119
- })();
120
- var BUILTIN_TYPE_NAME_LOOKUP = new Set(BUILTIN_ITEM_TYPE_VALUES.map((value) => value.toLowerCase()));
121
- function addHiddenOption(command, flags, description, repeatable) {
122
- const option = new Option(flags, description).hideHelp();
123
- if (repeatable) {
124
- option.argParser(collect);
125
- }
126
- command.addOption(option);
127
- }
128
- function addHiddenOptions(command, aliases, repeatable) {
129
- for (const [flags, description] of aliases) {
130
- addHiddenOption(command, flags, description, repeatable);
131
- }
132
- }
133
- var SCHEMA_SHORTHAND_RESERVED_PREFIXES = ["add-", "apply-", "list-", "remove-", "show-"];
134
- var SCHEMA_SHORTHAND_RESERVED_TOKENS = /* @__PURE__ */ new Set([
135
- "field",
136
- "fields",
137
- "help",
138
- "status",
139
- "statuses",
140
- "type",
141
- "types"
142
- ]);
143
- function looksLikeSchemaSubcommandTypo(value) {
144
- const normalized = value.trim().toLowerCase();
145
- if (normalized.length === 0) {
146
- return false;
147
- }
148
- return SCHEMA_SHORTHAND_RESERVED_TOKENS.has(normalized) || SCHEMA_SHORTHAND_RESERVED_PREFIXES.some((prefix) => normalized.startsWith(prefix));
149
- }
150
- function parseSchemaOrderOption(raw) {
151
- if (raw === void 0 || raw === null) {
152
- return void 0;
153
- }
154
- if (typeof raw === "number") {
155
- if (!Number.isInteger(raw)) {
156
- throw new PmCliError("--order must be a finite integer.", EXIT_CODE.USAGE);
157
- }
158
- return raw;
159
- }
160
- if (typeof raw === "string") {
161
- if (raw.trim().length === 0) {
162
- return void 0;
163
- }
164
- const parsed = Number(raw);
165
- if (!Number.isInteger(parsed)) {
166
- throw new PmCliError("--order must be a finite integer.", EXIT_CODE.USAGE);
167
- }
168
- return parsed;
169
- }
170
- throw new PmCliError("--order must be a finite integer.", EXIT_CODE.USAGE);
171
- }
172
- async function dispatchSchemaSubcommand(schema, inputs) {
173
- const { normalizedSubcommand, typeName, options, globalOptions } = inputs;
174
- const { author, force, description } = inputs;
175
- switch (normalizedSubcommand) {
176
- case "list":
177
- return schema.runSchemaList(globalOptions);
178
- case "show":
179
- return schema.runSchemaShow(typeName, globalOptions);
180
- case "show-status":
181
- return schema.runSchemaShowStatus(typeName, globalOptions);
182
- case "list-fields":
183
- return schema.runSchemaListFields(globalOptions);
184
- case "show-field":
185
- return schema.runSchemaShowField(typeName, globalOptions);
186
- case "remove-type":
187
- return schema.runSchemaRemoveType(typeName, { author, force }, globalOptions);
188
- case "remove-field":
189
- return schema.runSchemaRemoveField(typeName, { author, force }, globalOptions);
190
- case "apply-preset":
191
- return schema.runSchemaApplyPreset(typeName, { author, force }, globalOptions);
192
- case "add-field":
193
- return schema.runSchemaAddField(typeName, {
194
- type: typeof options.type === "string" ? options.type : void 0,
195
- commands: inputs.commands,
196
- description,
197
- cliFlag: typeof options.cliFlag === "string" ? options.cliFlag : void 0,
198
- alias: inputs.aliases,
199
- required: Boolean(options.required),
200
- requiredOnCreate: Boolean(options.requiredOnCreate),
201
- // commander stores --no-allow-unset as allowUnset:false; the default
202
- // (flag omitted) is true. Forward the tri-state faithfully.
203
- allowUnset: options.allowUnset !== false,
204
- requiredTypes: inputs.requiredTypes,
205
- author,
206
- force
207
- }, globalOptions);
208
- case "add-status":
209
- return schema.runSchemaAddStatus(typeName, { role: inputs.roles, alias: inputs.aliases, description, order: inputs.order, author, force }, globalOptions);
210
- case "remove-status":
211
- return schema.runSchemaRemoveStatus(typeName, { author, force }, globalOptions);
212
- default:
213
- if (options.infer === true) {
214
- return schema.runSchemaInferTypes({ minCount: inputs.minCount, apply: Boolean(options.apply), author, force }, globalOptions);
215
- }
216
- return schema.runSchemaAddType(typeName, {
217
- description,
218
- defaultStatus: inputs.defaultStatus,
219
- folder: typeof options.folder === "string" ? options.folder : void 0,
220
- alias: inputs.aliases,
221
- author,
222
- force
223
- }, globalOptions);
224
- }
225
- }
226
- function renderSchemaResultHuman(schema, result) {
227
- switch (result.action) {
228
- case "list":
229
- writeStdout(`${schema.formatSchemaListHuman(result)}
230
- `);
231
- return;
232
- case "show":
233
- writeStdout(`${schema.formatSchemaShowHuman(result)}
234
- `);
235
- return;
236
- case "show-status":
237
- writeStdout(`${schema.formatSchemaShowStatusHuman(result)}
238
- `);
239
- return;
240
- case "list-fields":
241
- writeStdout(`${schema.formatSchemaListFieldsHuman(result)}
242
- `);
243
- return;
244
- case "show-field":
245
- writeStdout(`${schema.formatSchemaShowFieldHuman(result)}
246
- `);
247
- return;
248
- case "remove-type":
249
- writeStdout(`${schema.formatSchemaRemoveTypeHuman(result)}
250
- `);
251
- break;
252
- case "remove-field":
253
- writeStdout(`${schema.formatSchemaRemoveFieldHuman(result)}
254
- `);
255
- break;
256
- case "apply-preset":
257
- writeStdout(`${schema.formatSchemaApplyPresetHuman(result)}
258
- `);
259
- break;
260
- case "infer-types":
261
- writeStdout(`${schema.formatSchemaInferTypesHuman(result)}
262
- `);
263
- break;
264
- case "add-field":
265
- writeStdout(`${schema.formatSchemaAddFieldHuman(result)}
266
- `);
267
- break;
268
- case "add-status":
269
- writeStdout(`${schema.formatSchemaAddStatusHuman(result)}
270
- `);
271
- break;
272
- case "remove-status":
273
- writeStdout(`${schema.formatSchemaRemoveStatusHuman(result)}
274
- `);
275
- break;
276
- default:
277
- writeStdout(`${schema.formatSchemaAddTypeHuman(result)}
278
- `);
279
- break;
280
- }
281
- if (result.warnings.length > 0) {
282
- printError(`schema ${result.action} warnings: ${formatHookWarnings(result.warnings)}`);
283
- }
284
- }
285
- async function dispatchProfileSubcommand(profile, subcommand, name, options, globalOptions) {
286
- switch (subcommand) {
287
- case "list":
288
- return profile.runProfileList();
289
- case "show":
290
- return profile.runProfileShow(name);
291
- case "lint":
292
- return profile.runProfileLint(name);
293
- default:
294
- return profile.runProfileApply(name, {
295
- dryRun: options.dryRun === true,
296
- author: typeof options.author === "string" ? options.author : void 0,
297
- force: options.force === true
298
- }, globalOptions);
299
- }
300
- }
301
- function renderProfileResultHuman(profile, result) {
302
- switch (result.action) {
303
- case "list":
304
- writeStdout(`${profile.formatProfileListHuman(result)}
305
- `);
306
- return;
307
- case "show":
308
- writeStdout(`${profile.formatProfileShowHuman(result)}
309
- `);
310
- return;
311
- case "lint":
312
- writeStdout(`${profile.formatProfileLintHuman(result)}
313
- `);
314
- return;
315
- default:
316
- writeStdout(`${profile.formatProfileApplyHuman(result)}
317
- `);
318
- if (result.warnings.length > 0) {
319
- printError(`profile apply warnings: ${formatHookWarnings(result.warnings)}`);
320
- }
321
- break;
322
- }
323
- }
324
- function parsePositiveIntOption(flag) {
325
- return (value) => {
326
- const parsed = Number(value);
327
- if (!Number.isInteger(parsed) || parsed < 1) {
328
- throw new PmCliError(`${flag} must be a positive integer (1-based index).`, EXIT_CODE.USAGE);
329
- }
330
- return parsed;
331
- };
332
- }
333
- function registerBulkContentAndGovernanceFilters(command, action) {
334
- command.option("--filter-has-notes", `Select only items that have notes before ${action}`).option("--filter-no-notes", `Select only items that have no notes before ${action}`).option("--filter-has-learnings", `Select only items that have learnings before ${action}`).option("--filter-no-learnings", `Select only items that have no learnings before ${action}`).option("--filter-has-files", `Select only items that have linked files before ${action}`).option("--filter-no-files", `Select only items that have no linked files before ${action}`).option("--filter-has-docs", `Select only items that have linked docs before ${action}`).option("--filter-no-docs", `Select only items that have no linked docs before ${action}`).option("--filter-has-tests", `Select only items that have linked tests before ${action}`).option("--filter-no-tests", `Select only items that have no linked tests before ${action}`).option("--filter-has-comments", `Select only items that have comments before ${action}`).option("--filter-no-comments", `Select only items that have no comments before ${action}`).option("--filter-has-deps", `Select only items that have dependencies before ${action}`).option("--filter-no-deps", `Select only items that have no dependencies before ${action}`).option("--filter-has-body", `Select only items that have a non-empty body before ${action}`).option("--filter-empty-body", `Select only items with an empty body before ${action}`).option("--filter-has-linked-command", `Select only items whose linked tests carry a runnable command before ${action}`).option("--filter-no-linked-command", `Select only items whose linked tests carry no runnable command before ${action}`).option("--filter-reviewer-missing", `Select only items missing reviewer before ${action}`).option("--filter-risk-missing", `Select only items missing risk before ${action}`).option("--filter-confidence-missing", `Select only items missing confidence before ${action}`).option("--filter-sprint-missing", `Select only items missing sprint before ${action}`).option("--filter-release-missing", `Select only items missing release before ${action}`);
335
- }
336
- var BULK_CONTENT_FILTER_CONFLICTS = [
337
- ["filterHasNotes", "filterNoNotes", "--filter-has-notes", "--filter-no-notes"],
338
- ["filterHasLearnings", "filterNoLearnings", "--filter-has-learnings", "--filter-no-learnings"],
339
- ["filterHasFiles", "filterNoFiles", "--filter-has-files", "--filter-no-files"],
340
- ["filterHasDocs", "filterNoDocs", "--filter-has-docs", "--filter-no-docs"],
341
- ["filterHasTests", "filterNoTests", "--filter-has-tests", "--filter-no-tests"],
342
- ["filterHasComments", "filterNoComments", "--filter-has-comments", "--filter-no-comments"],
343
- ["filterHasDeps", "filterNoDeps", "--filter-has-deps", "--filter-no-deps"],
344
- ["filterHasBody", "filterEmptyBody", "--filter-has-body", "--filter-empty-body"],
345
- ["filterHasLinkedCommand", "filterNoLinkedCommand", "--filter-has-linked-command", "--filter-no-linked-command"]
346
- ];
347
- function mapBulkContentAndGovernanceFilters(options) {
348
- const presence = (key) => options[key] === true ? true : void 0;
349
- for (const [hasKey, noKey, hasFlag, noFlag] of BULK_CONTENT_FILTER_CONFLICTS) {
350
- if (options[hasKey] === true && options[noKey] === true) {
351
- throw new PmCliError(`Cannot combine ${hasFlag} with ${noFlag} for the same field.`, EXIT_CODE.USAGE);
352
- }
353
- }
354
- return {
355
- filterReviewerMissing: presence("filterReviewerMissing"),
356
- filterRiskMissing: presence("filterRiskMissing"),
357
- filterConfidenceMissing: presence("filterConfidenceMissing"),
358
- filterSprintMissing: presence("filterSprintMissing"),
359
- filterReleaseMissing: presence("filterReleaseMissing"),
360
- hasNotes: presence("filterHasNotes"),
361
- hasLearnings: presence("filterHasLearnings"),
362
- hasFiles: presence("filterHasFiles"),
363
- hasDocs: presence("filterHasDocs"),
364
- hasTests: presence("filterHasTests"),
365
- hasComments: presence("filterHasComments"),
366
- hasDeps: presence("filterHasDeps"),
367
- hasBody: presence("filterHasBody"),
368
- hasLinkedCommand: presence("filterHasLinkedCommand"),
369
- noNotes: presence("filterNoNotes"),
370
- noLearnings: presence("filterNoLearnings"),
371
- noFiles: presence("filterNoFiles"),
372
- noDocs: presence("filterNoDocs"),
373
- noTests: presence("filterNoTests"),
374
- noComments: presence("filterNoComments"),
375
- noDeps: presence("filterNoDeps"),
376
- emptyBody: presence("filterEmptyBody"),
377
- noLinkedCommand: presence("filterNoLinkedCommand")
378
- };
379
- }
380
- function registerCommanderOptionContracts(command, contracts) {
381
- for (const contract of contracts) {
382
- if (contract.required) {
383
- command.requiredOption(contract.option, contract.description);
384
- } else if (contract.repeatable) {
385
- command.option(contract.option, contract.description, collect);
386
- } else {
387
- command.option(contract.option, contract.description);
388
- }
389
- for (const aliasContract of contract.aliasOptions ?? []) {
390
- if (isPureSnakeCaseAlias(contract.option, aliasContract.option)) {
391
- addHiddenOption(command, aliasContract.option, aliasContract.description, contract.repeatable === true);
392
- } else if (contract.repeatable) {
393
- command.option(aliasContract.option, aliasContract.description, collect);
394
- } else {
395
- command.option(aliasContract.option, aliasContract.description);
396
- }
397
- }
398
- }
399
- }
400
- function buildUpdateManyListOptions(options) {
401
- const readString = (key) => typeof options[key] === "string" ? options[key] : void 0;
402
- return {
403
- type: readString("filterType"),
404
- tag: readString("filterTag"),
405
- priority: readString("filterPriority"),
406
- deadlineBefore: readString("filterDeadlineBefore"),
407
- deadlineAfter: readString("filterDeadlineAfter"),
408
- updatedAfter: readString("filterUpdatedAfter"),
409
- updatedBefore: readString("filterUpdatedBefore"),
410
- createdAfter: readString("filterCreatedAfter"),
411
- createdBefore: readString("filterCreatedBefore"),
412
- ids: readString("ids"),
413
- assignee: readString("filterAssignee"),
414
- assigneeFilter: readString("filterAssigneeFilter") ?? readString("filterAssignee_filter"),
415
- parent: readString("filterParent"),
416
- sprint: readString("filterSprint"),
417
- release: readString("filterRelease"),
418
- filterAcMissing: options.filterAcMissing === true ? true : void 0,
419
- filterEstimatesMissing: options.filterEstimatesMissing === true || options.filterEstimateMissing === true ? true : void 0,
420
- filterResolutionMissing: options.filterResolutionMissing === true ? true : void 0,
421
- filterMetadataMissing: options.filterMetadataMissing === true ? true : void 0,
422
- ...mapBulkContentAndGovernanceFilters(options),
423
- limit: readString("limit"),
424
- offset: readString("offset"),
425
- includeBody: true
426
- };
427
- }
428
- function pickStringOption(...candidates) {
429
- for (const candidate of candidates) {
430
- if (typeof candidate === "string") {
431
- return candidate;
432
- }
433
- }
434
- return void 0;
435
- }
436
- function stringArrayOption(value) {
437
- if (Array.isArray(value)) {
438
- return value;
439
- }
440
- if (typeof value === "string") {
441
- return [value];
442
- }
443
- return void 0;
444
- }
445
- function resolveCreatePositionals(typeOrTitle, secondTitle, options) {
446
- if (typeof secondTitle === "string" && secondTitle.length > 0) {
447
- return { positionalType: typeOrTitle, positionalTitle: secondTitle };
448
- }
449
- if (typeof typeOrTitle !== "string" || typeOrTitle.length === 0) {
450
- return { positionalType: void 0, positionalTitle: void 0 };
451
- }
452
- const explicitTitleProvided = typeof options.title === "string" && options.title.trim().length > 0;
453
- return explicitTitleProvided && options.type === void 0 ? { positionalType: typeOrTitle, positionalTitle: void 0 } : { positionalType: void 0, positionalTitle: typeOrTitle };
454
- }
455
- function assertCreatePositionalTypeHasTitle(positionalType, positionalTitle, options) {
456
- if (positionalType !== void 0 || typeof positionalTitle !== "string" || positionalTitle.length === 0 || options.title !== void 0 || options.type !== void 0 || !BUILTIN_TYPE_NAME_LOOKUP.has(positionalTitle.trim().toLowerCase())) {
457
- return;
458
- }
459
- const matchedType = positionalTitle.trim();
460
- throw new PmCliError(`pm create needs a title \u2014 "${matchedType}" looks like an item type, not a title. Use either: pm create ${matchedType} "<title>" or pm create "<title>" --type ${matchedType}.`, EXIT_CODE.USAGE, {
461
- code: "create_positional_type_without_title",
462
- why: 'Without this guard the single positional is used as the title and the type defaults to Task \u2014 so the command would silently create a Task literally titled "' + matchedType + '".',
463
- examples: [
464
- `pm create ${matchedType} "Wire up SSO for the agent harness"`,
465
- `pm create "Wire up SSO for the agent harness" --type ${matchedType}`
466
- ],
467
- nextSteps: [
468
- `Re-run with both type and title: pm create ${matchedType} "<title>"`
469
- ]
470
- });
471
- }
472
- async function runCreateAction(typeOrTitle, secondTitle, options, command) {
473
- const globalOptions = getGlobalOptions(command);
474
- const startedAt = Date.now();
475
- const positionals = resolveCreatePositionals(typeOrTitle, secondTitle, options);
476
- assertCreatePositionalTypeHasTitle(positionals.positionalType, positionals.positionalTitle, options);
477
- if (typeof positionals.positionalType === "string" && positionals.positionalType.length > 0 && options.type === void 0) {
478
- options.type = positionals.positionalType;
479
- }
480
- if (typeof positionals.positionalTitle === "string" && positionals.positionalTitle.length > 0 && options.title === void 0) {
481
- options.title = positionals.positionalTitle;
482
- }
483
- if (typeof options.bodyFile === "string") {
484
- options.body = await resolveBodyFileContent(options.bodyFile, options.body !== void 0 ? String(options.body) : void 0);
485
- delete options.bodyFile;
486
- }
487
- const normalized = normalizeCreateOptions(options, { requireType: false });
488
- const { runCreate } = await import("./create-WKOZKPQR.js");
489
- const result = await runCreate(normalized, globalOptions);
490
- await invalidateSearchCachesForMutation(globalOptions, result);
491
- printResult(result, globalOptions);
492
- if (globalOptions.profile) {
493
- printError(`profile:command=create took_ms=${Date.now() - startedAt}`);
494
- }
495
- }
496
- function buildCloseManyListOptions(options) {
497
- return {
498
- type: readOptionString(options, "filterType"),
499
- tag: readOptionString(options, "filterTag"),
500
- priority: readOptionString(options, "filterPriority"),
501
- deadlineBefore: readOptionString(options, "filterDeadlineBefore"),
502
- deadlineAfter: readOptionString(options, "filterDeadlineAfter"),
503
- updatedAfter: readOptionString(options, "filterUpdatedAfter"),
504
- updatedBefore: readOptionString(options, "filterUpdatedBefore"),
505
- createdAfter: readOptionString(options, "filterCreatedAfter"),
506
- createdBefore: readOptionString(options, "filterCreatedBefore"),
507
- ids: readOptionString(options, "ids"),
508
- assignee: readOptionString(options, "filterAssignee"),
509
- assigneeFilter: pickStringOption(options.filterAssigneeFilter, options.filterAssignee_filter),
510
- parent: readOptionString(options, "filterParent"),
511
- sprint: readOptionString(options, "filterSprint"),
512
- release: readOptionString(options, "filterRelease"),
513
- ...mapBulkContentAndGovernanceFilters(options),
514
- limit: readOptionString(options, "limit"),
515
- offset: readOptionString(options, "offset")
516
- };
517
- }
518
- async function runCloseManyAction(options, command) {
519
- const globalOptions = getGlobalOptions(command);
520
- const startedAt = Date.now();
521
- const { runCloseMany } = await import("./close-many-OMZIGZB4.js");
522
- const result = await runCloseMany({
523
- status: readOptionString(options, "filterStatus"),
524
- list: buildCloseManyListOptions(options),
525
- reason: readOptionString(options, "reason"),
526
- resolution: readOptionString(options, "resolution"),
527
- expectedResult: pickStringOption(options.expectedResult, options.expected_result, options.expected),
528
- actualResult: pickStringOption(options.actualResult, options.actual_result, options.actual),
529
- validateClose: options.validateClose === true ? "warn" : readOptionString(options, "validateClose"),
530
- author: readOptionString(options, "author"),
531
- message: readOptionString(options, "message"),
532
- force: Boolean(options.force),
533
- dryRun: options.dryRun === true ? true : void 0,
534
- rollback: readOptionString(options, "rollback"),
535
- checkpoint: options.checkpoint === false ? false : void 0
536
- }, globalOptions);
537
- await invalidateSearchCachesForMutation(globalOptions, result);
538
- printResult(result, globalOptions);
539
- if (globalOptions.profile) {
540
- printError(`profile:command=close-many took_ms=${Date.now() - startedAt}`);
541
- }
542
- }
543
- async function runUpdateManyAction(options, command) {
544
- const globalOptions = getGlobalOptions(command);
545
- const startedAt = Date.now();
546
- const { runUpdateMany } = await import("./update-many-DC7X3EWM.js");
547
- const result = await runUpdateMany({
548
- status: readOptionString(options, "filterStatus"),
549
- list: buildUpdateManyListOptions(options),
550
- update: normalizeUpdateOptions(extractUpdateManyMutationOptionSource(options)),
551
- dryRun: options.dryRun === true ? true : void 0,
552
- rollback: readOptionString(options, "rollback"),
553
- checkpoint: options.checkpoint === false ? false : void 0
554
- }, globalOptions);
555
- await invalidateSearchCachesForMutation(globalOptions, result);
556
- printResult(result, globalOptions);
557
- if (globalOptions.profile) {
558
- printError(`profile:command=update-many took_ms=${Date.now() - startedAt}`);
559
- }
560
- }
561
- async function runCloseAction(id, text, options, command) {
562
- const globalOptions = getGlobalOptions(command);
563
- const startedAt = Date.now();
564
- const { runClose } = await import("./close-OB2Y4QP5.js");
565
- const reasonFromOption = typeof options.reason === "string" && options.reason.trim().length > 0 && options.reason || typeof options.closeReason === "string" && options.closeReason.trim().length > 0 && options.closeReason || void 0;
566
- const resolvedText = typeof text === "string" && text.length > 0 ? text : reasonFromOption;
567
- const result = await runClose(id, resolvedText, {
568
- author: readOptionString(options, "author"),
569
- message: readOptionString(options, "message"),
570
- validateClose: options.validateClose === true ? "warn" : readOptionString(options, "validateClose"),
571
- force: Boolean(options.force),
572
- duplicateOf: readOptionString(options, "duplicateOf"),
573
- resolution: readOptionString(options, "resolution"),
574
- expectedResult: pickStringOption(options.expectedResult, options.expected_result, options.expected),
575
- actualResult: pickStringOption(options.actualResult, options.actual_result, options.actual)
576
- }, globalOptions);
577
- await invalidateSearchCachesForMutation(globalOptions, result);
578
- printResult(result, globalOptions);
579
- if (globalOptions.profile) {
580
- printError(`profile:command=close took_ms=${Date.now() - startedAt}`);
581
- }
582
- }
583
- function normalizePlanAliases(options) {
584
- const planOptions = { ...options };
585
- const aliasPairs = [
586
- ["blocked_by", "blockedBy"],
587
- ["resume_context", "resumeContext"],
588
- ["from_search", "fromSearch"],
589
- ["step_title", "stepTitle"],
590
- ["step_body", "stepBody"],
591
- ["step_owner", "stepOwner"],
592
- ["step_status", "stepStatus"],
593
- ["step_evidence", "stepEvidence"],
594
- ["step_blocked_reason", "stepBlockedReason"],
595
- ["step_replacement", "stepReplacement"],
596
- ["depends_on", "dependsOn"],
597
- ["link_kind", "linkKind"],
598
- ["link_note", "linkNote"],
599
- ["promote_to_item_dep", "promoteToItemDep"],
600
- ["allow_multiple_active", "allowMultipleActive"],
601
- ["decision_text", "decisionText"],
602
- ["decision_rationale", "decisionRationale"],
603
- ["decision_evidence", "decisionEvidence"],
604
- ["discovery_text", "discoveryText"],
605
- ["validation_text", "validationText"],
606
- ["validation_command", "validationCommand"],
607
- ["validation_expected", "validationExpected"],
608
- ["materialize_type", "materializeType"],
609
- ["materialize_parent", "materializeParent"],
610
- ["materialize_tags", "materializeTags"]
611
- ];
612
- for (const [snake, camel] of aliasPairs) {
613
- if (planOptions[snake] !== void 0 && planOptions[camel] === void 0) {
614
- planOptions[camel] = planOptions[snake];
615
- }
616
- }
617
- return planOptions;
618
- }
619
- function assertKnownPlanSubcommand(subcommand, normalized, allowed) {
620
- if (!normalized) {
621
- throw new PmCliError(`pm plan requires a subcommand. Allowed: ${allowed.join(", ")}`, EXIT_CODE.USAGE, {
622
- code: "missing_required_argument",
623
- examples: [
624
- 'pm plan create --title "Refactor lock retry"',
625
- "pm plan show pm-a1b2 --depth standard",
626
- 'pm plan add-step pm-a1b2 --step-title "Read lock.ts"'
627
- ]
628
- });
629
- }
630
- if (allowed.includes(normalized)) {
631
- return;
632
- }
633
- const examples = normalized === "list" || normalized === "ls" ? ["pm list --type Plan", "pm list-all --type Plan"] : void 0;
634
- throw new PmCliError(`Unknown pm plan subcommand "${subcommand}". Allowed: ${allowed.join(", ")}`, EXIT_CODE.USAGE, examples ? { code: "unknown_subcommand", examples } : void 0);
635
- }
636
- function parsePlanReorderTo(normalizedSubcommand, reorderToken) {
637
- if (normalizedSubcommand !== "reorder-step" || typeof reorderToken !== "string") {
638
- return void 0;
639
- }
640
- const parsed = Number.parseInt(reorderToken, 10);
641
- if (!Number.isFinite(parsed)) {
642
- throw new PmCliError(`reorder-step requires an integer new order, got "${reorderToken}"`, EXIT_CODE.USAGE);
643
- }
644
- return parsed;
645
- }
646
- async function runPlanAction(subcommand, id, stepRef, reorderToken, options, command) {
647
- const globalOptions = getGlobalOptions(command);
648
- const startedAt = Date.now();
649
- const { runPlan, PLAN_SUBCOMMANDS } = await import("./plan-R4NDQ27E.js");
650
- const normalizedSubcommand = (subcommand ?? "").trim().toLowerCase();
651
- assertKnownPlanSubcommand(subcommand, normalizedSubcommand, PLAN_SUBCOMMANDS);
652
- const planOptions = normalizePlanAliases(options);
653
- const reorderTo = parsePlanReorderTo(normalizedSubcommand, reorderToken);
654
- const planId = normalizedSubcommand === "create" && typeof id === "string" && id.length > 0 && planOptions.title === void 0 ? void 0 : id;
655
- if (planId === void 0 && typeof id === "string" && id.length > 0) {
656
- planOptions.title = id;
657
- }
658
- const result = await runPlan({
659
- subcommand: normalizedSubcommand,
660
- id: planId,
661
- stepRef,
662
- reorderTo,
663
- options: planOptions,
664
- global: globalOptions
665
- });
666
- await invalidateSearchCachesForMutation(globalOptions, result);
667
- printResult(result, globalOptions);
668
- if (globalOptions.profile) {
669
- printError(`profile:command=plan took_ms=${Date.now() - startedAt}`);
670
- }
671
- }
672
- function parseNonNegativeIntFlag(raw, flag) {
673
- if (typeof raw !== "string") {
674
- return void 0;
675
- }
676
- if (!/^\d+$/.test(raw.trim())) {
677
- throw new PmCliError(`history-compact ${flag} must be a non-negative integer.`, EXIT_CODE.USAGE);
678
- }
679
- return Number.parseInt(raw, 10);
680
- }
681
- async function runHistoryCompactAction(id, options, command) {
682
- const globalOptions = getGlobalOptions(command);
683
- const startedAt = Date.now();
684
- const { runHistoryCompact, runHistoryCompactBulk, assertHistoryCompactTarget } = await import("./history-compact-3F6VELO7.js");
685
- const ids = typeof options.ids === "string" ? splitCommaList(options.ids) : void 0;
686
- const allOver = parseNonNegativeIntFlag(options.allOver, "--all-over");
687
- const minEntries = parseNonNegativeIntFlag(options.minEntries, "--min-entries");
688
- if (options.closed === true && options.allStreams === true) {
689
- throw new PmCliError("history-compact: --closed and --all-streams are mutually exclusive; pick one lifecycle scope.", EXIT_CODE.USAGE);
690
- }
691
- const scope = options.closed === true ? "closed" : options.allStreams === true ? "all-streams" : void 0;
692
- const isBulk = ids !== void 0 || allOver !== void 0 || scope !== void 0;
693
- if (isBulk && typeof options.before === "string") {
694
- throw new PmCliError("history-compact: --before applies only in single-id mode (bulk mode always compacts full streams).", EXIT_CODE.USAGE);
695
- }
696
- assertHistoryCompactTarget(id, { ids, allOver, scope });
697
- if (id === void 0) {
698
- const result = await runHistoryCompactBulk({
699
- ids,
700
- scope,
701
- allOver,
702
- minEntries,
703
- dryRun: options.dryRun === true,
704
- author: readOptionString(options, "author"),
705
- message: readOptionString(options, "message"),
706
- force: Boolean(options.force)
707
- }, globalOptions);
708
- printResult(result, globalOptions);
709
- if (result.totals.items_errored > 0) {
710
- process.exitCode = EXIT_CODE.GENERIC_FAILURE;
711
- }
712
- } else {
713
- const result = await runHistoryCompact(id, {
714
- before: readOptionString(options, "before"),
715
- dryRun: options.dryRun === true,
716
- author: readOptionString(options, "author"),
717
- message: readOptionString(options, "message"),
718
- force: Boolean(options.force)
719
- }, globalOptions);
720
- printResult(result, globalOptions);
721
- }
722
- if (globalOptions.profile) {
723
- printError(`profile:command=history-compact took_ms=${Date.now() - startedAt}`);
724
- }
725
- }
726
- function splitCollectedCommaList(raw) {
727
- if (!Array.isArray(raw)) {
728
- return void 0;
729
- }
730
- return raw.flatMap((value) => value.split(",")).map((value) => value.trim()).filter((value) => value.length > 0);
731
- }
732
- async function runSchemaAction(subcommand, name, options, command) {
733
- const globalOptions = getGlobalOptions(command);
734
- const startedAt = Date.now();
735
- const schemaModule = await import("./schema-2PUXCZ25.js");
736
- const { SCHEMA_SUBCOMMANDS } = schemaModule;
737
- let normalizedSubcommand = (subcommand ?? "").trim().toLowerCase();
738
- let typeName = name;
739
- assertSchemaSubcommandPresent(normalizedSubcommand, SCHEMA_SUBCOMMANDS);
740
- if (!SCHEMA_SUBCOMMANDS.includes(normalizedSubcommand) && typeName === void 0 && !looksLikeSchemaSubcommandTypo(normalizedSubcommand)) {
741
- typeName = subcommand;
742
- normalizedSubcommand = "add-type";
743
- }
744
- if (!SCHEMA_SUBCOMMANDS.includes(normalizedSubcommand)) {
745
- throw new PmCliError(`Unknown pm schema subcommand "${subcommand}". Allowed: ${SCHEMA_SUBCOMMANDS.join(", ")}`, EXIT_CODE.USAGE, { code: "unknown_subcommand" });
746
- }
747
- const result = await dispatchSchemaSubcommand(schemaModule, {
748
- normalizedSubcommand,
749
- typeName,
750
- options,
751
- aliases: stringArrayOption(options.alias),
752
- roles: stringArrayOption(options.role),
753
- commands: splitCollectedCommaList(options.commands),
754
- requiredTypes: splitCollectedCommaList(options.requiredTypes),
755
- defaultStatus: pickStringOption(options.defaultStatus, options.default_status),
756
- order: parseSchemaOrderOption(options.order),
757
- minCount: parseSchemaOrderOption(options.minCount),
758
- author: readOptionString(options, "author"),
759
- force: Boolean(options.force),
760
- description: readOptionString(options, "description"),
761
- globalOptions
762
- });
763
- if (globalOptions.json === true || globalOptions.defaultOutputFormat === "json") {
764
- printResult(result, globalOptions);
765
- } else if (!globalOptions.quiet) {
766
- renderSchemaResultHuman(schemaModule, result);
767
- }
768
- if (globalOptions.profile) {
769
- printError(`profile:command=schema took_ms=${Date.now() - startedAt}`);
770
- }
771
- }
772
- function assertSchemaSubcommandPresent(normalizedSubcommand, allowed) {
773
- if (normalizedSubcommand) {
774
- return;
775
- }
776
- throw new PmCliError(`pm schema requires a subcommand. Allowed: ${allowed.join(", ")}`, EXIT_CODE.USAGE, {
777
- code: "missing_required_argument",
778
- examples: [
779
- "pm schema list",
780
- "pm schema show Task",
781
- "pm schema show-status open",
782
- 'pm schema add-type Spike --description "Time-boxed investigation" --default-status open',
783
- "pm schema remove-type Spike",
784
- "pm schema add-status review --role active --alias in_review",
785
- "pm schema remove-status review",
786
- "pm schema add-field severity_level --type string --commands create,update",
787
- "pm schema list-fields",
788
- "pm schema apply-preset agile",
789
- "pm schema add-type --infer --min-count 10"
790
- ]
791
- });
792
- }
793
- function resolveCommentSources(text, options) {
794
- const editIndex = typeof options.edit === "number" ? options.edit : void 0;
795
- const deleteIndex = typeof options.delete === "number" ? options.delete : void 0;
796
- const addFromOption = readOptionString(options, "add");
797
- const addFromPositional = typeof text === "string" ? text : void 0;
798
- const readFromStdin = options.stdin === true;
799
- const readFromFile = readOptionString(options, "file");
800
- const sourceCount = Number(addFromOption !== void 0) + Number(addFromPositional !== void 0) + Number(readFromStdin) + Number(readFromFile !== void 0);
801
- if (sourceCount > 1) {
802
- if (addFromOption !== void 0 && addFromPositional !== void 0 && !readFromStdin && readFromFile === void 0) {
803
- throw new PmCliError("Specify comment text either as positional [text] or with --add, not both", EXIT_CODE.USAGE);
804
- }
805
- throw new PmCliError("Specify comment text with exactly one source: positional [text], --add, --stdin, or --file", EXIT_CODE.USAGE);
806
- }
807
- const add = addFromOption ?? addFromPositional;
808
- const isMutation = typeof add === "string" || readFromStdin || readFromFile !== void 0 || editIndex !== void 0 || deleteIndex !== void 0;
809
- return { add, readFromStdin, readFromFile, editIndex, deleteIndex, isMutation };
810
- }
811
- async function runCommentsAction(id, text, options, command) {
812
- const globalOptions = getGlobalOptions(command);
813
- const startedAt = Date.now();
814
- const sources = resolveCommentSources(text, options);
815
- const { runComments } = await import("./comments-MIW5MZOX.js");
816
- const result = await runComments(id, {
817
- add: sources.add,
818
- stdin: sources.readFromStdin,
819
- file: sources.readFromFile,
820
- edit: sources.editIndex,
821
- delete: sources.deleteIndex,
822
- limit: readOptionString(options, "limit"),
823
- author: readOptionString(options, "author"),
824
- message: readOptionString(options, "message"),
825
- allowAuditComment: Boolean(options.allowAuditComment),
826
- force: Boolean(options.force)
827
- }, globalOptions);
828
- if (sources.isMutation) {
829
- await invalidateSearchCachesForMutation(globalOptions, result);
830
- }
831
- printResult(result, globalOptions);
832
- if (globalOptions.profile) {
833
- printError(`profile:command=comments took_ms=${Date.now() - startedAt}`);
834
- }
835
- }
836
- async function runCopyAction(id, options, command) {
837
- const globalOptions = getGlobalOptions(command);
838
- const startedAt = Date.now();
839
- const { runCopy } = await import("./copy-LEE6P6EM.js");
840
- const result = await runCopy(id, {
841
- title: readOptionString(options, "title"),
842
- author: readOptionString(options, "author"),
843
- message: readOptionString(options, "message")
844
- }, globalOptions);
845
- await invalidateSearchCachesForMutation(globalOptions, result);
846
- printResult(result, globalOptions);
847
- if (globalOptions.profile) {
848
- printError(`profile:command=copy took_ms=${Date.now() - startedAt}`);
849
- }
850
- }
851
- async function runFocusAction(id, options, command) {
852
- const globalOptions = getGlobalOptions(command);
853
- const startedAt = Date.now();
854
- const { runFocus } = await import("./focus-WNMYCVYA.js");
855
- const result = await runFocus(id, { clear: options.clear === true }, globalOptions);
856
- printResult(result, globalOptions);
857
- if (globalOptions.profile) {
858
- printError(`profile:command=focus took_ms=${Date.now() - startedAt}`);
859
- }
860
- }
861
- async function runUpdateAction(id, options, command) {
862
- const globalOptions = getGlobalOptions(command);
863
- const startedAt = Date.now();
864
- if (typeof options.bodyFile === "string") {
865
- options.body = await resolveBodyFileContent(options.bodyFile, options.body !== void 0 ? String(options.body) : void 0);
866
- delete options.bodyFile;
867
- }
868
- const { runUpdate } = await import("./update-SJZ6S77U.js");
869
- const result = await runUpdate(id, normalizeUpdateOptions(options), globalOptions);
870
- await invalidateSearchCachesForMutation(globalOptions, result);
871
- printResult(result, globalOptions);
872
- if (globalOptions.profile) {
873
- printError(`profile:command=update took_ms=${Date.now() - startedAt}`);
874
- }
875
- }
876
- async function runDeleteAction(id, options, command) {
877
- const globalOptions = getGlobalOptions(command);
878
- const startedAt = Date.now();
879
- const { runDelete } = await import("./delete-62JQTYT4.js");
880
- const result = await runDelete(id, {
881
- author: readOptionString(options, "author"),
882
- message: readOptionString(options, "message"),
883
- force: Boolean(options.force),
884
- dryRun: options.dryRun === true
885
- }, globalOptions);
886
- if (result.dry_run !== true) {
887
- await invalidateSearchCachesForMutation(globalOptions, result);
888
- }
889
- printResult(result, globalOptions);
890
- if (globalOptions.profile) {
891
- printError(`profile:command=delete took_ms=${Date.now() - startedAt}`);
892
- }
893
- }
894
- function resolveSingleTextSource(label, positional, options) {
895
- const addFromOption = readOptionString(options, "add");
896
- const addFromPositional = typeof positional === "string" ? positional : void 0;
897
- if (addFromOption !== void 0 && addFromPositional !== void 0) {
898
- throw new PmCliError(`Specify ${label} text either as positional [text] or with --add, not both`, EXIT_CODE.USAGE);
899
- }
900
- return addFromOption ?? addFromPositional;
901
- }
902
- function resolveAppendBody(text, options) {
903
- const bodyFromOption = readOptionString(options, "body");
904
- const bodyFromAlias = readOptionString(options, "text");
905
- const bodyFromPositional = typeof text === "string" ? text : void 0;
906
- const bodySourceCount = [bodyFromOption, bodyFromAlias, bodyFromPositional].filter((value) => value !== void 0).length;
907
- if (bodySourceCount > 1) {
908
- throw new PmCliError("Specify append text with exactly one source: positional [text], --body, or --text", EXIT_CODE.USAGE);
909
- }
910
- const resolvedBody = bodyFromOption ?? bodyFromAlias ?? bodyFromPositional;
911
- if (resolvedBody === void 0) {
912
- throw new PmCliError("Missing append text. Provide it as positional [text], --body <value>, or --text <value> (use - for stdin).", EXIT_CODE.USAGE);
913
- }
914
- return resolvedBody;
915
- }
916
- async function runAppendAction(id, text, options, command) {
917
- const globalOptions = getGlobalOptions(command);
918
- const startedAt = Date.now();
919
- const { runAppend } = await import("./append-CZGUZ45Q.js");
920
- const result = await runAppend(id, {
921
- body: resolveAppendBody(text, options),
922
- author: readOptionString(options, "author"),
923
- message: readOptionString(options, "message"),
924
- force: Boolean(options.force)
925
- }, globalOptions);
926
- await invalidateSearchCachesForMutation(globalOptions, result);
927
- printResult(result, globalOptions);
928
- if (globalOptions.profile) {
929
- printError(`profile:command=append took_ms=${Date.now() - startedAt}`);
930
- }
931
- }
932
- async function runRestoreAction(id, target, options, command) {
933
- const globalOptions = getGlobalOptions(command);
934
- const startedAt = Date.now();
935
- const { runRestore } = await import("./restore-PXOFL6AM.js");
936
- const result = await runRestore(id, target, {
937
- author: readOptionString(options, "author"),
938
- message: readOptionString(options, "message"),
939
- force: Boolean(options.force)
940
- }, globalOptions);
941
- await invalidateSearchCachesForMutation(globalOptions, result);
942
- printResult(result, globalOptions);
943
- if (globalOptions.profile) {
944
- printError(`profile:command=restore took_ms=${Date.now() - startedAt}`);
945
- }
946
- }
947
- async function runProfileAction(subcommand, name, options, command) {
948
- const globalOptions = getGlobalOptions(command);
949
- const startedAt = Date.now();
950
- const profileModule = await import("./profile-YRDHLMRO.js");
951
- const { PROFILE_SUBCOMMANDS } = profileModule;
952
- const normalizedSubcommand = (subcommand ?? "").trim().toLowerCase();
953
- if (!normalizedSubcommand) {
954
- throw new PmCliError(`pm profile requires a subcommand. Allowed: ${PROFILE_SUBCOMMANDS.join(", ")}`, EXIT_CODE.USAGE, {
955
- code: "missing_required_argument",
956
- examples: ["pm profile list", "pm profile show agile", "pm profile apply agile --dry-run", "pm profile lint agile"]
957
- });
958
- }
959
- if (!PROFILE_SUBCOMMANDS.includes(normalizedSubcommand)) {
960
- throw new PmCliError(`Unknown pm profile subcommand "${subcommand}". Allowed: ${PROFILE_SUBCOMMANDS.join(", ")}`, EXIT_CODE.USAGE, { code: "unknown_subcommand" });
961
- }
962
- const result = await dispatchProfileSubcommand(profileModule, normalizedSubcommand, name, options, globalOptions);
963
- if (globalOptions.json === true || globalOptions.defaultOutputFormat === "json") {
964
- printResult(result, globalOptions);
965
- } else if (!globalOptions.quiet) {
966
- renderProfileResultHuman(profileModule, result);
967
- }
968
- if (result.action === "lint" && !result.ok) {
969
- process.exitCode = EXIT_CODE.GENERIC_FAILURE;
970
- }
971
- if (globalOptions.profile) {
972
- printError(`profile:command=profile took_ms=${Date.now() - startedAt}`);
973
- }
974
- }
975
- async function runNotesAction(id, text, options, command) {
976
- const globalOptions = getGlobalOptions(command);
977
- const startedAt = Date.now();
978
- const add = resolveSingleTextSource("note", text, options);
979
- const { runNotes } = await import("./notes-72YXN5JX.js");
980
- const result = await runNotes(id, {
981
- add,
982
- limit: readOptionString(options, "limit"),
983
- author: readOptionString(options, "author"),
984
- message: readOptionString(options, "message"),
985
- allowAuditComment: Boolean(options.allowAuditNote || options.allowAuditComment),
986
- force: Boolean(options.force)
987
- }, globalOptions);
988
- if (typeof add === "string") {
989
- await invalidateSearchCachesForMutation(globalOptions, result);
990
- }
991
- printResult(result, globalOptions);
992
- if (globalOptions.profile) {
993
- printError(`profile:command=notes took_ms=${Date.now() - startedAt}`);
994
- }
995
- }
996
- async function runLearningsAction(id, text, options, command) {
997
- const globalOptions = getGlobalOptions(command);
998
- const startedAt = Date.now();
999
- const add = resolveSingleTextSource("learning", text, options);
1000
- const { runLearnings } = await import("./learnings-2HTPZNGZ.js");
1001
- const result = await runLearnings(id, {
1002
- add,
1003
- limit: readOptionString(options, "limit"),
1004
- author: readOptionString(options, "author"),
1005
- message: readOptionString(options, "message"),
1006
- allowAuditComment: Boolean(options.allowAuditLearning || options.allowAuditComment),
1007
- force: Boolean(options.force)
1008
- }, globalOptions);
1009
- if (typeof add === "string") {
1010
- await invalidateSearchCachesForMutation(globalOptions, result);
1011
- }
1012
- printResult(result, globalOptions);
1013
- if (globalOptions.profile) {
1014
- printError(`profile:command=learnings took_ms=${Date.now() - startedAt}`);
1015
- }
1016
- }
1017
- function readStringArrayOption(options, key) {
1018
- return stringArrayOption(options[key]) ?? [];
1019
- }
1020
- async function runFilesAction(id, options, command) {
1021
- const globalOptions = getGlobalOptions(command);
1022
- const startedAt = Date.now();
1023
- const addValues = readStringArrayOption(options, "add");
1024
- const addGlobValues = readStringArrayOption(options, "addGlob");
1025
- const removeValues = readStringArrayOption(options, "remove");
1026
- const migrateValues = readStringArrayOption(options, "migrate");
1027
- const { runFiles } = await import("./files-6P57MRKL.js");
1028
- const result = await runFiles(id, {
1029
- add: addValues,
1030
- addGlob: addGlobValues,
1031
- remove: removeValues,
1032
- migrate: migrateValues,
1033
- note: readOptionString(options, "note"),
1034
- list: Boolean(options.list),
1035
- appendStable: Boolean(options.appendStable),
1036
- validatePaths: Boolean(options.validatePaths),
1037
- audit: Boolean(options.audit),
1038
- author: readOptionString(options, "author"),
1039
- message: readOptionString(options, "message"),
1040
- force: Boolean(options.force)
1041
- }, globalOptions);
1042
- if (addValues.length > 0 || addGlobValues.length > 0 || removeValues.length > 0 || migrateValues.length > 0) {
1043
- await invalidateSearchCachesForMutation(globalOptions, result);
1044
- }
1045
- printResult(result, globalOptions);
1046
- if (globalOptions.profile) {
1047
- printError(`profile:command=files took_ms=${Date.now() - startedAt}`);
1048
- }
1049
- }
1050
- async function runFilesDiscoverAction(id, options, command) {
1051
- const globalOptions = getGlobalOptions(command);
1052
- const startedAt = Date.now();
1053
- const mergedOptions = { ...command.optsWithGlobals(), ...options };
1054
- const { runFilesDiscover } = await import("./files-6P57MRKL.js");
1055
- const result = await runFilesDiscover(id, {
1056
- apply: Boolean(mergedOptions.apply),
1057
- note: readOptionString(mergedOptions, "note"),
1058
- appendStable: Boolean(mergedOptions.appendStable),
1059
- author: readOptionString(mergedOptions, "author"),
1060
- message: readOptionString(mergedOptions, "message"),
1061
- force: Boolean(mergedOptions.force)
1062
- }, globalOptions);
1063
- if (result.changed) {
1064
- await invalidateSearchCachesForMutation(globalOptions, result);
1065
- }
1066
- printResult(result, globalOptions);
1067
- if (globalOptions.profile) {
1068
- printError(`profile:command=files.discover took_ms=${Date.now() - startedAt}`);
1069
- }
1070
- }
1071
- async function runDocsAction(id, options, command) {
1072
- const globalOptions = getGlobalOptions(command);
1073
- const startedAt = Date.now();
1074
- const addValues = readStringArrayOption(options, "add");
1075
- const addGlobValues = readStringArrayOption(options, "addGlob");
1076
- const removeValues = readStringArrayOption(options, "remove");
1077
- const migrateValues = readStringArrayOption(options, "migrate");
1078
- const { runDocs } = await import("./docs-S6UTOTO5.js");
1079
- const result = await runDocs(id, {
1080
- add: addValues,
1081
- addGlob: addGlobValues,
1082
- remove: removeValues,
1083
- migrate: migrateValues,
1084
- note: readOptionString(options, "note"),
1085
- list: Boolean(options.list),
1086
- validatePaths: Boolean(options.validatePaths),
1087
- audit: Boolean(options.audit),
1088
- author: readOptionString(options, "author"),
1089
- message: readOptionString(options, "message"),
1090
- force: Boolean(options.force)
1091
- }, globalOptions);
1092
- if (addValues.length > 0 || addGlobValues.length > 0 || removeValues.length > 0 || migrateValues.length > 0) {
1093
- await invalidateSearchCachesForMutation(globalOptions, result);
1094
- }
1095
- printResult(result, globalOptions);
1096
- if (globalOptions.profile) {
1097
- printError(`profile:command=docs took_ms=${Date.now() - startedAt}`);
1098
- }
1099
- }
1100
- async function runDepsAction(id, options, command) {
1101
- const globalOptions = getGlobalOptions(command);
1102
- const startedAt = Date.now();
1103
- const { runDeps } = await import("./deps-L2FPIAD3.js");
1104
- const result = await runDeps(id, {
1105
- format: options.format,
1106
- maxDepth: readOptionString(options, "maxDepth"),
1107
- collapse: options.collapse,
1108
- summary: options.summary === true
1109
- }, globalOptions);
1110
- printResult(result, globalOptions);
1111
- if (globalOptions.profile) {
1112
- printError(`profile:command=deps took_ms=${Date.now() - startedAt}`);
1113
- }
1114
- }
1115
- function registerMutationCommands(program) {
1116
- const createCommand = program.command("create").argument("[typeOrTitle]", 'Item title, or item type when a title follows (e.g. `pm create task "Fix bug"`)').argument("[title]", "Item title when the first argument is an item type").description("Create a new project management item.");
1117
- registerCommanderOptionContracts(createCommand, CREATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS);
1118
- createCommand.option("--body-file <path>", "Load the item markdown body from a file (mutually exclusive with --body)").option("--clear-deps", "Clear dependency entries").option("--clear-comments", "Clear comments").option("--clear-notes", "Clear notes").option("--clear-learnings", "Clear learnings").option("--clear-files", "Clear linked files").option("--clear-tests", "Clear linked tests").option("--clear-docs", "Clear linked docs").option("--clear-reminders", "Clear reminders").option("--clear-events", "Clear events").option("--clear-type-options", "Clear type options").action(runCreateAction);
1119
- program.command("copy").argument("<id>", "Source item id").option("--title <value>", "Optional title override for the copied item").option("--author <value>", "Mutation author").option("--message <value>", "History message").description("Copy an item into a new item id while resetting lifecycle fields.").action(runCopyAction);
1120
- program.command("focus").argument("[id]", "Item id to focus (omit to show current focus)").option("--clear", "Clear the focused item").description("Set/clear/show the session focused item that new items default --parent to.").action(runFocusAction);
1121
- const updateCommand = program.command("update").argument("<id>", "Item id").description("Update item fields and metadata.");
1122
- registerCommanderOptionContracts(updateCommand, UPDATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS);
1123
- updateCommand.option("--body-file <path>", "Load the item markdown body from a file (mutually exclusive with --body)").option("--replace-deps", "Atomically replace dependency entries with the provided --dep values").option("--replace-tests", "Atomically replace linked test entries with the provided --test values").option("--clear-deps", "Clear dependency entries").option("--clear-comments", "Clear comments").option("--clear-notes", "Clear notes").option("--clear-learnings", "Clear learnings").option("--clear-files", "Clear linked files").option("--clear-tests", "Clear linked tests").option("--clear-docs", "Clear linked docs").option("--clear-reminders", "Clear reminders").option("--clear-events", "Clear events").option("--clear-type-options", "Clear type options").option("--allow-audit-update", "Allow non-owner metadata-only audit updates without requiring --force").option("--allow-audit-dep-update", "Allow non-owner append-only dependency updates without requiring --force").option("--force", "Force ownership override");
1124
- addHiddenOption(updateCommand, "--allow_audit_update", "Alias for --allow-audit-update", false);
1125
- addHiddenOption(updateCommand, "--allow_audit_dep_update", "Alias for --allow-audit-dep-update", false);
1126
- updateCommand.action(runUpdateAction);
1127
- const updateManyCommand = program.command("update-many").description("Bulk-update matched items with dry-run plans and rollback checkpoints.").option("--filter-status <value>", "Filter by status before applying updates").option("--filter-type <value>", "Filter by item type before applying updates").option("--filter-tag <value>", "Filter by tag before applying updates").option("--filter-priority <value>", "Filter by priority before applying updates").option("--filter-deadline-before <value>", "Filter by deadline upper bound before applying updates").option("--filter-deadline-after <value>", "Filter by deadline lower bound before applying updates").option("--filter-updated-after <value>", "Filter by updated_at lower bound before applying updates (ISO/relative)").option("--filter-updated-before <value>", "Filter by updated_at upper bound before applying updates (ISO/relative)").option("--filter-created-after <value>", "Filter by created_at lower bound before applying updates (ISO/relative)").option("--filter-created-before <value>", "Filter by created_at upper bound before applying updates (ISO/relative)").option("--filter-assignee <value>", "Filter by assignee before applying updates").option("--filter-assignee-filter <value>", "Filter assignee presence: assigned|unassigned before applying updates").option("--filter-parent <value>", "Filter by parent item ID before applying updates").option("--filter-sprint <value>", "Filter by sprint before applying updates").option("--filter-release <value>", "Filter by release before applying updates").option("--filter-ac-missing", "Select only items missing acceptance_criteria (bulk backfill)").option("--filter-estimates-missing", "Select only items missing estimated_minutes (bulk backfill)").option("--filter-resolution-missing", "Select only terminal items missing resolution (bulk backfill)").option("--filter-metadata-missing", "Select only items missing any tracked metadata (AC, estimate, or resolution)");
1128
- registerBulkContentAndGovernanceFilters(updateManyCommand, "applying updates");
1129
- updateManyCommand.option("--ids <value>", "Restrict to an explicit comma-separated ID allowlist (intersected with other filters)").option("--limit <n>", "Limit matched item count before apply/preview").option("--offset <n>", "Skip first n matched rows before apply/preview").option("--dry-run", "Preview per-item diffs and checkpoint intent without mutating").option("--rollback <value>", "Rollback a prior update-many checkpoint ID").option("--no-checkpoint", "Disable checkpoint creation during apply mode").option("--title, -t <value>", "Set title").option("--description, -d <value>", "Set description").option("--body, -b <value>", "Set body (allow empty string)").option("--status, -s <value>", "Set status (use close command for closed)").option("--priority, -p <value>", "Set priority").option("--type <value>", "Set type").option("--tags <value>", "Set comma-separated tags (replaces existing). Use --add-tags / --remove-tags to mutate additively.").option("--add-tags <value>", "Add tags additively without replacing existing (repeatable; CSV accepted)", collect).option("--remove-tags <value>", "Remove tags from the existing list (repeatable; CSV accepted)", collect).option("--deadline <value>", "Set deadline (ISO/date string or relative)").option("--estimate, --estimated-minutes <value>", "Set estimated minutes").option("--acceptance-criteria <value>", "Set acceptance criteria").option("--ac <value>", "Alias for --acceptance-criteria").option("--definition-of-ready <value>", "Set definition of ready").option("--order <value>", "Set planning order/rank integer").option("--rank <value>", "Alias for --order").option("--goal <value>", "Set goal identifier").option("--objective <value>", "Set objective identifier").option("--value <value>", "Set business value summary").option("--impact <value>", "Set business impact summary").option("--outcome <value>", "Set expected outcome summary").option("--why-now <value>", "Set why-now rationale").option("--assignee <value>", "Set assignee").option("--parent <value>", "Set parent item ID").option("--reviewer <value>", "Set reviewer").option("--risk <value>", "Set risk level").option("--confidence <value>", "Set confidence level").option("--sprint <value>", "Set sprint identifier").option("--release <value>", "Set release identifier").option("--blocked-by <value>", "Set blocked-by item ID or reason").option("--blocked-reason <value>", "Set blocked reason").option("--unblock-note <value>", "Set unblock rationale note").option("--reporter <value>", "Set issue reporter").option("--severity <value>", "Set issue severity").option("--environment <value>", "Set issue environment context").option("--repro-steps <value>", "Set issue reproduction steps").option("--resolution <value>", "Set issue resolution summary").option("--expected-result <value>", "Set issue expected behavior").option("--expected <value>", "Short alias for --expected-result").option("--actual-result <value>", "Set issue observed behavior").option("--actual <value>", "Short alias for --actual-result").option("--affected-version <value>", "Set affected version identifier").option("--fixed-version <value>", "Set fixed version identifier").option("--component <value>", "Set issue component ownership").option("--regression <value>", "Set regression marker: true|false|1|0").option("--customer-impact <value>", "Set customer impact summary").option("--dep <value>", "Add dependency entry id=<id>,kind=<kind>,author=<author>,created_at=<timestamp>", collect).option("--dep-remove <value>", "Remove dependency entries by id/kind/author/timestamp signature", collect).option("--replace-deps", "Atomically replace dependency entries with provided --dep values").option("--replace-tests", "Atomically replace linked tests with provided --test values").option("--comment <value>", "Add comment seed author=<value>,created_at=<iso|now>,text=<value>", collect).option("--note <value>", "Add note seed author=<value>,created_at=<iso|now>,text=<value>", collect).option("--learning <value>", "Add learning seed author=<value>,created_at=<iso|now>,text=<value>", collect).option("--file <value>", "Add linked file path=<value>,scope=<project|global>,note=<text>", collect).option("--test <value>", "Add linked test command=<value>,path=<value>,scope=<project|global>", collect).option("--doc <value>", "Add linked doc path=<value>,scope=<project|global>,note=<text>", collect).option("--reminder <value>", "Add reminder entry at=<iso|relative>|date=<iso|relative>,text=<text>|title=<text>", collect).option("--event <value>", "Add event entry start=<iso|relative>,end=<iso|relative>,recur_*", collect).option("--type-option <value>", "Set type options key=value (repeatable)", collect).option("--unset <field>", "Clear scalar metadata field by name (repeatable)", collect).option("--clear-deps", "Clear dependency entries").option("--clear-comments", "Clear comments").option("--clear-notes", "Clear notes").option("--clear-learnings", "Clear learnings").option("--clear-files", "Clear linked files").option("--clear-tests", "Clear linked tests").option("--clear-docs", "Clear linked docs").option("--clear-reminders", "Clear reminders").option("--clear-events", "Clear events").option("--clear-type-options", "Clear type options").option("--allow-audit-update", "Allow non-owner metadata-only audit updates without requiring --force").option("--allow-audit-dep-update", "Allow non-owner append-only dependency updates without requiring --force").option("--author <value>", "Mutation author").option("--message <value>", "Mutation message").option("--force", "Force ownership override");
1130
- addHiddenOptions(updateManyCommand, [
1131
- ["--filter-assignee_filter <value>", "Alias for --filter-assignee-filter"],
1132
- ["--estimated_minutes <value>", "Alias for --estimated-minutes"],
1133
- ["--acceptance_criteria <value>", "Alias for --acceptance-criteria"],
1134
- ["--definition_of_ready <value>", "Alias for --definition-of-ready"],
1135
- ["--why_now <value>", "Alias for --why-now"],
1136
- ["--blocked_by <value>", "Alias for --blocked-by"],
1137
- ["--blocked_reason <value>", "Alias for --blocked-reason"],
1138
- ["--unblock_note <value>", "Alias for --unblock-note"],
1139
- ["--repro_steps <value>", "Alias for --repro-steps"],
1140
- ["--expected_result <value>", "Alias for --expected-result"],
1141
- ["--actual_result <value>", "Alias for --actual-result"],
1142
- ["--affected_version <value>", "Alias for --affected-version"],
1143
- ["--fixed_version <value>", "Alias for --fixed-version"],
1144
- ["--customer_impact <value>", "Alias for --customer-impact"],
1145
- ["--allow_audit_update", "Alias for --allow-audit-update"],
1146
- ["--allow_audit_dep_update", "Alias for --allow-audit-dep-update"],
1147
- ["--filter-estimate-missing", "Alias for --filter-estimates-missing"]
1148
- ], false);
1149
- addHiddenOptions(updateManyCommand, [
1150
- ["--dep_remove <value>", "Alias for --dep-remove"],
1151
- ["--type_option <value>", "Alias for --type-option"],
1152
- ["--add_tags <value>", "Alias for --add-tags"],
1153
- ["--remove_tags <value>", "Alias for --remove-tags"]
1154
- ], true);
1155
- updateManyCommand.action(runUpdateManyAction);
1156
- const closeCommand = program.command("close").argument("<id>", "Item id").argument("[text]", "Close reason text (alias: --reason)").option("-r, --reason <value>", "Close reason text (alias for positional <text>)").option("--close-reason <value>", "Close reason text (alias for positional <text>)").option("-d, --duplicate-of <id>", "Close as a duplicate of the canonical item id and auto-fill duplicate closure metadata").option("--author <value>", "Mutation author").option("-m, --message <value>", "History message").option("--validate-close [mode]", 'Validate closure metadata before close: "off", "warn", or "strict" (default: settings governance preset)').option("--resolution <value>", "Set the closure resolution summary inline (same field --validate-close strict checks; previously required a prior pm update)").option("--expected-result <value>", "Set the expected-result note inline (closure validation field)").option("--expected <value>", "Short alias for --expected-result").option("--actual-result <value>", "Set the actual-result note inline (closure validation field)").option("--actual <value>", "Short alias for --actual-result").option("--force", "Force ownership override").description("Close an item. Close reason requirement follows governance.require_close_reason.");
1157
- addHiddenOption(closeCommand, "--expected_result <value>", "Alias for --expected-result", false);
1158
- addHiddenOption(closeCommand, "--actual_result <value>", "Alias for --actual-result", false);
1159
- closeCommand.action(runCloseAction);
1160
- const closeManyCommand = program.command("close-many").description("Bulk-close matched items with a shared reason and full runClose semantics (dry-run + rollback checkpoint).").option("--filter-status <value>", "Filter by status before closing").option("--filter-type <value>", "Filter by item type before closing").option("--filter-tag <value>", "Filter by tag before closing").option("--filter-priority <value>", "Filter by priority before closing").option("--filter-deadline-before <value>", "Filter by deadline upper bound before closing").option("--filter-deadline-after <value>", "Filter by deadline lower bound before closing").option("--filter-updated-after <value>", "Filter by updated_at lower bound before closing (ISO/relative)").option("--filter-updated-before <value>", "Filter by updated_at upper bound before closing (ISO/relative)").option("--filter-created-after <value>", "Filter by created_at lower bound before closing (ISO/relative)").option("--filter-created-before <value>", "Filter by created_at upper bound before closing (ISO/relative)").option("--filter-assignee <value>", "Filter by assignee before closing").option("--filter-assignee-filter <value>", "Filter assignee presence: assigned|unassigned before closing").option("--filter-parent <value>", "Filter by parent item ID before closing").option("--filter-sprint <value>", "Filter by sprint before closing").option("--filter-release <value>", "Filter by release before closing");
1161
- registerBulkContentAndGovernanceFilters(closeManyCommand, "closing");
1162
- closeManyCommand.option("--ids <value>", "Restrict to an explicit comma-separated ID allowlist (intersected with other filters)").option("--limit <n>", "Limit matched item count before apply/preview").option("--offset <n>", "Skip first n matched rows before apply/preview").option("--reason <value>", "Shared close reason applied to matched items (required when governance.require_close_reason is enabled)").option("--resolution <value>", "Shared closure resolution applied to every matched item (closure-validation field)").option("--expected-result <value>", "Shared expected-result note (closure-validation field)").option("--expected <value>", "Short alias for --expected-result").option("--actual-result <value>", "Shared actual-result note (closure-validation field)").option("--actual <value>", "Short alias for --actual-result").option("--validate-close [mode]", 'Validate closure metadata per item: "off", "warn", or "strict" (default: settings governance preset)').option("--author <value>", "Mutation author").option("--message <value>", "History message").option("--force", "Re-close already-terminal matches and override ownership").option("--dry-run", "Preview matched items + per-item skip/active-child plan without mutating").option("--rollback <value>", "Rollback a prior close-many checkpoint ID").option("--no-checkpoint", "Disable checkpoint creation during apply mode");
1163
- addHiddenOption(closeManyCommand, "--filter-assignee_filter <value>", "Alias for --filter-assignee-filter", false);
1164
- addHiddenOption(closeManyCommand, "--expected_result <value>", "Alias for --expected-result", false);
1165
- addHiddenOption(closeManyCommand, "--actual_result <value>", "Alias for --actual-result", false);
1166
- closeManyCommand.action(runCloseManyAction);
1167
- program.command("delete").argument("<id>", "Item id").option("--author <value>", "Mutation author").option("--message <value>", "History message").option("--force", "Force ownership override").option("--dry-run", "Preview the item file that would be deleted without mutating").description("Delete an item and record the change in history.").action(runDeleteAction);
1168
- program.command("append").argument("<id>", "Item id").argument("[text]", "Optional body text shorthand (equivalent to --body; use - for stdin)").option("--body <value>", "Text to append to body (or - for stdin)").option("--text <value>", "Alias for --body").option("--author <value>", "Mutation author").option("--message <value>", "Mutation message").option("--force", "Force ownership override").description("Append text to an item's body.").action(runAppendAction);
1169
- program.command("restore").argument("<id>", "Item id").argument("<target>", "Restore target timestamp or version number").option("--author <value>", "Mutation author").option("--message <value>", "History message").option("--force", "Force ownership/lock override").description("Restore an item to an earlier timestamp or version.").action(runRestoreAction);
1170
- const planCommand = program.command("plan").description("Agent-optimized Plan item workflow: create, manage steps, link dependencies, approve, and materialize.").argument("[subcommand]", "Plan subcommand: create|show|add-step|update-step|complete-step|block-step|reorder-step|remove-step|link|unlink|decision|discovery|validation|resume|approve|materialize").argument("[id]", "Plan id (required for non-create subcommands); for create this may be the positional title").argument("[stepRef]", "Step reference: stable id (plan-step-001) or order integer").argument("[reorderTo]", "New order integer for reorder-step").option("--title <value>", "Plan title").option("--description <value>", "Plan description").option("--scope <value>", "Short scope statement of the target change or investigation").option("--parent <value>", "Parent pm item id").option("--related <value>", "Related pm item ids (repeatable, csv-friendly)", collect).option("--blocks <value>", "Pm item ids this plan blocks (repeatable, csv-friendly)", collect).option("--blocked-by <value>", "Pm item ids that block this plan (repeatable, csv-friendly)", collect).option("--harness <value>", "Plan harness provenance: codex|claude-code|cursor|generic").option("--mode <value>", "Plan mode: draft|research|review|approved|executing|paused|completed|superseded").option("--resume-context <value>", "Compact context summary for a future stateless agent").option("--tags <value>", "Comma-separated tags").option("--priority <value>", "Priority 0-4").option("--body <value>", "Plan item body").option("--claim", "Claim the plan on create for the author").option("--from-search <value>", "Record the search query that led to plan creation").option("--template <value>", "Seed plan steps from a built-in template: bug-investigation|feature-implementation|refactoring-sprint").option("--step-title <value>", "Step title for add-step / update-step").option("--step <value>", "Step title (repeatable on create: each --step appends an ordered step; elsewhere a single value aliases --step-title)", collect).option("--step-body <value>", "Step body text").option("--step-owner <value>", "Step owner").option("--step-status <value>", "Step status: pending|in_progress|completed|blocked|skipped|superseded").option("--step-evidence <value>", "Step evidence text (used by update-step/complete-step)").option("--step-blocked-reason <value>", "Step blocked reason (required when blocking)").option("--step-replacement <value>", "Replacement reference for a superseded step").option("--depends-on <value>", "Pm item ids the step depends on (repeatable, csv-friendly)", collect).option("--link <value>", "Pm item id to link (repeatable, csv-friendly)", collect).option("--link-kind <value>", "Link kind: related|blocks|blocked_by|depends_on|discovered_from|implements|verifies|supersedes").option("--link-note <value>", "Optional note for the link").option("--promote-to-item-dep", "Also add the linked id as a top-level item dependency when linking").option("--allow-multiple-active", "Allow multiple steps to be in_progress at once").option("--file <value>", "Step linked file path=<value>[,scope=project|global,note=<text>] (repeatable)", collect).option("--test <value>", "Step linked test command=<value>[,path=<value>,note=<text>] (repeatable)", collect).option("--doc <value>", "Step linked doc path=<value>[,scope=project|global,note=<text>] (repeatable)", collect).option("--decision-text <value>", "Decision log entry text").option("--decision <value>", "Alias for --decision-text").option("--decision-rationale <value>", "Decision log entry rationale").option("--decision-evidence <value>", "Decision log entry evidence").option("--discovery-text <value>", "Discovery log entry text").option("--discovery <value>", "Alias for --discovery-text").option("--validation-text <value>", "Validation log entry text").option("--validation <value>", "Alias for --validation-text").option("--validation-command <value>", "Validation log entry command").option("--validation-expected <value>", "Validation log entry expected outcome").option("--depth <value>", "Show depth: brief|standard|deep (default: brief)").option("--fields <value>", "Comma-separated field projection for show output").option("--steps <value>", "Comma-separated step ids/orders for materialize").option("--materialize-type <value>", "Item type for materialized steps (default: Task)").option("--materialize-parent <value>", "Parent item id for materialized children (default: the plan)").option("--materialize-tags <value>", "Comma-separated tags for materialized children").option("--author <value>", "Mutation author").option("--message <value>", "Mutation message").option("--force", "Force ownership override");
1171
- addHiddenOptions(planCommand, [
1172
- ["--resume_context <value>", "Alias for --resume-context"],
1173
- ["--from_search <value>", "Alias for --from-search"],
1174
- ["--step_title <value>", "Alias for --step-title"],
1175
- ["--step_body <value>", "Alias for --step-body"],
1176
- ["--step_owner <value>", "Alias for --step-owner"],
1177
- ["--step_status <value>", "Alias for --step-status"],
1178
- ["--step_evidence <value>", "Alias for --step-evidence"],
1179
- ["--step_blocked_reason <value>", "Alias for --step-blocked-reason"],
1180
- ["--step_replacement <value>", "Alias for --step-replacement"],
1181
- ["--link_kind <value>", "Alias for --link-kind"],
1182
- ["--link_note <value>", "Alias for --link-note"],
1183
- ["--promote_to_item_dep", "Alias for --promote-to-item-dep"],
1184
- ["--allow_multiple_active", "Alias for --allow-multiple-active"],
1185
- ["--decision_text <value>", "Alias for --decision-text"],
1186
- ["--decision_rationale <value>", "Alias for --decision-rationale"],
1187
- ["--decision_evidence <value>", "Alias for --decision-evidence"],
1188
- ["--discovery_text <value>", "Alias for --discovery-text"],
1189
- ["--validation_text <value>", "Alias for --validation-text"],
1190
- ["--validation_command <value>", "Alias for --validation-command"],
1191
- ["--validation_expected <value>", "Alias for --validation-expected"],
1192
- ["--materialize_type <value>", "Alias for --materialize-type"],
1193
- ["--materialize_parent <value>", "Alias for --materialize-parent"],
1194
- ["--materialize_tags <value>", "Alias for --materialize-tags"]
1195
- ], false);
1196
- addHiddenOptions(planCommand, [
1197
- ["--blocked_by <value>", "Alias for --blocked-by"],
1198
- ["--depends_on <value>", "Alias for --depends-on"]
1199
- ], true);
1200
- planCommand.action(runPlanAction);
1201
- void planCommand;
1202
- program.command("history-redact").argument("<id>", "Item id").option("--literal <value>", "Literal string to redact (repeatable)", collect).option("--regex <value>", "Regex pattern to redact (repeatable; accepts /pattern/flags or raw pattern)", collect).option("--replacement <value>", 'Replacement string (default: "[redacted]")').option("--dry-run", "Preview redaction impact without writing item/history files").option("--author <value>", "Mutation author").option("--message <value>", "Audit history message for the redaction marker entry").option("--force", "Force ownership/lock override").description("Redact sensitive literals/patterns from an item history stream and recompute hashes.").action(async (id, options, command) => {
1203
- const globalOptions = getGlobalOptions(command);
1204
- const startedAt = Date.now();
1205
- const { runHistoryRedact } = await import("./history-redact-4H3FCKF3.js");
1206
- const literal = Array.isArray(options.literal) ? options.literal : void 0;
1207
- const regex = Array.isArray(options.regex) ? options.regex : void 0;
1208
- const result = await runHistoryRedact(id, {
1209
- literal,
1210
- regex,
1211
- replacement: typeof options.replacement === "string" ? options.replacement : void 0,
1212
- dryRun: options.dryRun === true,
1213
- author: typeof options.author === "string" ? options.author : void 0,
1214
- message: typeof options.message === "string" ? options.message : void 0,
1215
- force: Boolean(options.force)
1216
- }, globalOptions);
1217
- if (result.changed && !result.dry_run) {
1218
- await invalidateSearchCachesForMutation(globalOptions, result);
1219
- }
1220
- printResult(result, globalOptions);
1221
- if (globalOptions.profile) {
1222
- printError(`profile:command=history-redact took_ms=${Date.now() - startedAt}`);
1223
- }
1224
- });
1225
- program.command("history-repair").argument("[id]", "Item id (omit with --all)").option("--all", "Scan every stream for drift and repair each drifted stream in one audited pass").option("--dry-run", "Preview the re-anchor impact without writing the history file").option("--author <value>", "Mutation author").option("--message <value>", "Audit history message for the repair marker entry").option("--force", "Force ownership/lock override").description("Re-anchor a drifted item history chain (recompute hashes, reconcile with the on-disk item) and record an audit marker. Use --all to repair every drifted stream.").action(async (id, options, command) => {
1226
- const globalOptions = getGlobalOptions(command);
1227
- const startedAt = Date.now();
1228
- const { runHistoryRepair, runHistoryRepairAll, assertHistoryRepairTarget } = await import("./history-repair-4N6SDVHK.js");
1229
- const all = options.all === true;
1230
- assertHistoryRepairTarget(id, all);
1231
- const repairOptions = {
1232
- dryRun: options.dryRun === true,
1233
- author: typeof options.author === "string" ? options.author : void 0,
1234
- message: typeof options.message === "string" ? options.message : void 0,
1235
- force: Boolean(options.force)
1236
- };
1237
- if (all) {
1238
- const result = await runHistoryRepairAll(repairOptions, globalOptions);
1239
- printResult(result, globalOptions);
1240
- if (result.totals.failed > 0) {
1241
- process.exitCode = EXIT_CODE.GENERIC_FAILURE;
1242
- }
1243
- } else {
1244
- const result = await runHistoryRepair(id, repairOptions, globalOptions);
1245
- printResult(result, globalOptions);
1246
- }
1247
- if (globalOptions.profile) {
1248
- printError(`profile:command=history-repair took_ms=${Date.now() - startedAt}`);
1249
- }
1250
- });
1251
- program.command("history-compact").argument("[id]", "Item id (omit when using a bulk selector)").option("--before <value>", "Compact entries strictly before this version number or ISO timestamp (single-id mode only)").option("--ids <value>", "Bulk: compact an explicit comma-separated list of item ids").option("--all-over <n>", "Bulk: compact every stream with more than N entries").option("--closed", "Bulk: compact only closed (terminal) items' streams").option("--all-streams", "Bulk: compact every history stream regardless of lifecycle state").option("--min-entries <n>", "Bulk: skip streams with at most N entries (already compact; default 3)").option("--dry-run", "Preview compaction impact without writing the history file").option("--author <value>", "Mutation author").option("--message <value>", "Audit history message for the compaction marker entry").option("--force", "Force ownership/lock override").description("Compact item history streams into a synthetic baseline plus retained tail entries. Pass an item id for one stream, or a bulk selector (--ids/--all-over/--closed/--all-streams) to compact many.").action(runHistoryCompactAction);
1252
- const schemaCommand = program.command("schema").argument("[subcommand]", "Schema subcommand: list, show, show-status, add-type, remove-type, add-status, remove-status, or a custom item type name shorthand").argument("[name]", "Item type name (add-type/remove-type/show) or status id (show-status/add-status/remove-status)").option("--description <text>", "Human description for the custom item type, status, or field").option("--default-status <status>", "Default status hint recorded for the custom item type").option("--folder <dir>", "Storage folder for items of this custom type").option("--alias <name>", "Alias for the custom type, status, or field flag (repeatable, csv-friendly)", collect).option("--role <value>", "Lifecycle role for a custom status (repeatable): draft, active, blocked, terminal, terminal_done, terminal_canceled, default_open, default_close, default_cancel", collect).option("--order <n>", "Display/sort order for a custom status").option("--type <type>", "Value type for a custom field (add-field): string, number, boolean, string_array").option("--commands <list>", "Commands a custom field is wired onto (add-field; repeatable, comma-friendly): create, update, update_many, list, search, calendar, context", collect).option("--cli-flag <flag>", "Override the auto-derived CLI flag for a custom field (add-field)").option("--required", "Mark a custom field as always required (add-field)").option("--required-on-create", "Mark a custom field as required at create time (add-field)").option("--no-allow-unset", "Disallow clearing a custom field via --unset (add-field)").option("--required-types <list>", "Restrict a custom field's requirement to specific item types (add-field; repeatable, comma-friendly)", collect).option("--infer", "Infer custom item types from title-prefix conventions (add-type; preview unless --apply)").option("--min-count <n>", "Minimum items sharing a prefix for add-type --infer (default 10)").option("--apply", "Register inferred types (add-type --infer); without it the command previews only").option("--author <value>", "Mutation author").option("--force", "Force ownership/lock override").description("Inspect and manage config-driven runtime schema (types, statuses, fields, presets).");
1253
- addHiddenOption(schemaCommand, "--default_status <status>", "Alias for --default-status", false);
1254
- schemaCommand.action(runSchemaAction);
1255
- const profileCommand = program.command("profile").argument("[subcommand]", "Profile subcommand: list, show, apply, or lint").argument("[name]", "Profile name for show/apply/lint: agile, ops, or research").option("--dry-run", "Preview the apply diff without writing any files (apply)").option("--author <value>", "Mutation author").option("--force", "Force ownership/lock override").description("List, show, apply, and lint project profiles \u2014 archetype bundles of item types, statuses, fields, workflows, config, templates, and recommended packages.");
1256
- profileCommand.action(runProfileAction);
1257
- program.command("comments").argument("<id>", "Item id").argument("[text]", "Optional comment text shorthand (equivalent to --add)").option("--add <text>", "Add one comment entry (plain text fallback, text=<value>, markdown pairs, or - for stdin; CSV-like key fragments are preserved as plain text unless text is explicit)").option("--stdin", "Read comment text from stdin (supports multiline markdown)").option("--file <path>", "Read comment text from file (supports multiline markdown)").option("--edit <index>", "Replace the comment at 1-based <index> (replacement text from positional [text], --add, --stdin, or --file)", parsePositiveIntOption("--edit")).option("--delete <index>", "Delete the comment at 1-based <index>", parsePositiveIntOption("--delete")).option("--limit <n>", "Return only latest n comments").option("--author [value]", "Comment author (optional; falls back to PM_AUTHOR/settings)").option("--message <value>", "History message").option("--allow-audit-comment", "Allow non-owner append-only comment audits (add/edit/delete) without requiring --force").option("--force", "Force ownership override").description("List, add, edit, or delete comments for an item.").action(runCommentsAction);
1258
- program.command("notes").argument("<id>", "Item id").argument("[text]", "Optional note text shorthand (equivalent to --add; use - for stdin)").option("--add <text>", "Add one note entry (plain text fallback, text=<value>, markdown pairs, or - for stdin; CSV-like key fragments are preserved as plain text unless text is explicit)").option("--limit <n>", "Return only latest n notes").option("--author [value]", "Note author (optional; falls back to PM_AUTHOR/settings)").option("--message <value>", "History message").option("--allow-audit-note", "Allow non-owner append-only note audits without requiring --force").option("--allow-audit-comment", "Backward-compatible alias for --allow-audit-note").option("--force", "Force ownership override").description("List or add notes for an item.").action(runNotesAction);
1259
- program.command("learnings").argument("<id>", "Item id").argument("[text]", "Optional learning text shorthand (equivalent to --add; use - for stdin)").option("--add <text>", "Add one learning entry (plain text fallback, text=<value>, markdown pairs, or - for stdin; CSV-like key fragments are preserved as plain text unless text is explicit)").option("--limit <n>", "Return only latest n learnings").option("--author [value]", "Learning author (optional; falls back to PM_AUTHOR/settings)").option("--message <value>", "History message").option("--allow-audit-learning", "Allow non-owner append-only learning audits without requiring --force").option("--allow-audit-comment", "Backward-compatible alias for --allow-audit-learning").option("--force", "Force ownership override").description("List or add learnings for an item.").action(runLearningsAction);
1260
- const filesCommand = program.command("files").description("Manage files linked to an item.");
1261
- filesCommand.argument("<id>", "Item id").option("--add <value>", "Add linked file entry (CSV/markdown pairs or - for stdin)", collect).option("--add-glob <value>", "Add linked file entries from a glob (plain glob or pattern=<glob>,scope=<scope>,note=<text>; repeatable)", collect).option("--remove <value>", "Remove linked file by path only (path=<value>, path:<value>, plain path, or - for stdin); does not accept note=/scope= \u2014 record removal context with --message", collect).option("--migrate <value>", "Migrate linked file paths in-place (from=<prefix>,to=<prefix>; repeatable)", collect).option("--note <value>", "Note attached to every link added by --add/--add-glob in this invocation (embedded note= wins)").option("--list", "List linked files without mutating").option("--append-stable", "Preserve existing linked-file order and append new links without full-array resorting").option("--validate-paths", "Validate linked file paths for existence and file shape").option("--audit", "Audit linked file usage across all items for this item's linked paths").option("--author <value>", "Mutation author").option("--message <value>", "History message").option("--force", "Force ownership override").action(runFilesAction);
1262
- filesCommand.command("discover").argument("<id>", "Item id").option("--apply", "Add discovered missing files to the item").option("--note <value>", "Note to attach to discovered file links").option("--append-stable", "Preserve existing linked-file order and append discovered links without full-array resorting").option("--author <value>", "Mutation author").option("--message <value>", "History message").option("--force", "Force ownership override").description("Discover existing file paths referenced in item text and optionally link missing files.").action(runFilesDiscoverAction);
1263
- program.command("docs").argument("<id>", "Item id").option("--add <value>", "Add linked doc entry (CSV/markdown pairs or - for stdin)", collect).option("--add-glob <value>", "Add linked doc entries from a glob (plain glob or pattern=<glob>,scope=<scope>,note=<text>; repeatable)", collect).option("--remove <value>", "Remove linked doc by path only (path=<value>, path:<value>, plain path, or - for stdin); does not accept note=/scope= \u2014 record removal context with --message", collect).option("--migrate <value>", "Migrate linked doc paths in-place (from=<prefix>,to=<prefix>; repeatable)", collect).option("--note <value>", "Note attached to every link added by --add/--add-glob in this invocation (embedded note= wins)").option("--list", "List linked docs without mutating").option("--validate-paths", "Validate linked doc paths for existence and file shape").option("--audit", "Audit linked doc usage across all items for this item's linked paths").option("--author <value>", "Mutation author").option("--message <value>", "History message").option("--force", "Force ownership override").description("Manage docs linked to an item.").action(runDocsAction);
1264
- program.command("deps").argument("<id>", "Item id").option("--format <value>", "Output format (tree or graph)", "tree").option("--max-depth <value>", "Maximum dependency traversal depth (0 keeps only the root)").option("--collapse <value>", "Collapse mode (none or repeated)", "none").option("--summary", "Return counts only without full tree/graph payload").description("Show dependency relationships for an item.").action(runDepsAction);
1265
- }
1266
- export {
1267
- looksLikeSchemaSubcommandTypo,
1268
- parsePositiveIntOption,
1269
- parseSchemaOrderOption,
1270
- registerCommanderOptionContracts,
1271
- registerMutationCommands
1272
- };
1273
- //# sourceMappingURL=register-mutation-Z2ETYHKS.js.map