@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,4786 +0,0 @@
1
- import {
2
- KNOWN_EXTENSION_CAPABILITIES,
3
- KNOWN_EXTENSION_POLICY_MODES,
4
- KNOWN_EXTENSION_POLICY_SURFACES,
5
- KNOWN_EXTENSION_SANDBOX_PROFILES,
6
- KNOWN_EXTENSION_SERVICE_NAMES,
7
- KNOWN_EXTENSION_TRUST_MODES,
8
- PLAN_HARNESS_VALUES,
9
- PLAN_MODE_VALUES,
10
- PLAN_STEP_LINK_KIND_VALUES,
11
- PLAN_STEP_STATUS_VALUES
12
- } from "./chunk-5VVUKE3U.js";
13
-
14
- // dist/sdk/cli-contracts/commander-types.js
15
- !(function() {
16
- try {
17
- var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
18
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "240b5f92-6ceb-5cf9-8739-9e921df6c27b");
19
- } catch (e2) {
20
- }
21
- })();
22
- var LIST_COMMANDER_STRING_OPTION_CONTRACTS = [
23
- { target: "status", keys: ["status"] },
24
- { target: "type", keys: ["type"] },
25
- { target: "tag", keys: ["tag", "tags"] },
26
- { target: "priority", keys: ["priority"] },
27
- { target: "deadlineBefore", keys: ["deadlineBefore"] },
28
- { target: "deadlineAfter", keys: ["deadlineAfter"] },
29
- { target: "updatedAfter", keys: ["updatedAfter"] },
30
- { target: "updatedBefore", keys: ["updatedBefore"] },
31
- { target: "createdAfter", keys: ["createdAfter"] },
32
- { target: "createdBefore", keys: ["createdBefore"] },
33
- { target: "ids", keys: ["ids"] },
34
- { target: "assignee", keys: ["assignee"] },
35
- { target: "assigneeFilter", keys: ["assigneeFilter", "assignee_filter"] },
36
- { target: "parent", keys: ["parent"] },
37
- { target: "sprint", keys: ["sprint"] },
38
- { target: "release", keys: ["release"] },
39
- { target: "limit", keys: ["limit"] },
40
- { target: "offset", keys: ["offset"] },
41
- { target: "fields", keys: ["fields"] },
42
- { target: "sort", keys: ["sort"] },
43
- { target: "order", keys: ["order"] },
44
- { target: "treeDepth", keys: ["treeDepth", "tree_depth"] }
45
- ];
46
- var SEARCH_COMMANDER_STRING_OPTION_CONTRACTS = [
47
- { target: "mode", keys: ["mode"] },
48
- { target: "matchMode", keys: ["matchMode", "match_mode"] },
49
- { target: "minScore", keys: ["minScore", "min_score"] },
50
- { target: "semanticWeight", keys: ["semanticWeight", "semantic_weight"] },
51
- { target: "status", keys: ["status"] },
52
- { target: "type", keys: ["type"] },
53
- { target: "tag", keys: ["tag", "tags"] },
54
- { target: "priority", keys: ["priority"] },
55
- { target: "deadlineBefore", keys: ["deadlineBefore"] },
56
- { target: "deadlineAfter", keys: ["deadlineAfter"] },
57
- { target: "updatedAfter", keys: ["updatedAfter"] },
58
- { target: "updatedBefore", keys: ["updatedBefore"] },
59
- { target: "createdAfter", keys: ["createdAfter"] },
60
- { target: "createdBefore", keys: ["createdBefore"] },
61
- { target: "assignee", keys: ["assignee"] },
62
- { target: "sprint", keys: ["sprint"] },
63
- { target: "release", keys: ["release"] },
64
- { target: "parent", keys: ["parent"] },
65
- { target: "fields", keys: ["fields"] },
66
- { target: "limit", keys: ["limit"] }
67
- ];
68
- var CALENDAR_COMMANDER_STRING_OPTION_CONTRACTS = [
69
- { target: "view", keys: ["view"] },
70
- { target: "date", keys: ["date"] },
71
- { target: "from", keys: ["from"] },
72
- { target: "to", keys: ["to"] },
73
- { target: "limit", keys: ["limit"] },
74
- { target: "type", keys: ["type"] },
75
- { target: "tag", keys: ["tag"] },
76
- { target: "priority", keys: ["priority"] },
77
- { target: "status", keys: ["status"] },
78
- { target: "assignee", keys: ["assignee"] },
79
- { target: "assigneeFilter", keys: ["assigneeFilter", "assignee_filter"] },
80
- { target: "sprint", keys: ["sprint"] },
81
- { target: "release", keys: ["release"] },
82
- { target: "include", keys: ["include"] },
83
- { target: "recurrenceLookaheadDays", keys: ["recurrenceLookaheadDays", "recurrence_lookahead_days"] },
84
- { target: "recurrenceLookbackDays", keys: ["recurrenceLookbackDays", "recurrence_lookback_days"] },
85
- { target: "occurrenceLimit", keys: ["occurrenceLimit", "occurrence_limit"] },
86
- { target: "format", keys: ["format"] }
87
- ];
88
- var CONTEXT_COMMANDER_STRING_OPTION_CONTRACTS = [
89
- { target: "date", keys: ["date"] },
90
- { target: "from", keys: ["from"] },
91
- { target: "to", keys: ["to"] },
92
- { target: "type", keys: ["type"] },
93
- { target: "tag", keys: ["tag"] },
94
- { target: "priority", keys: ["priority"] },
95
- { target: "assignee", keys: ["assignee"] },
96
- { target: "assigneeFilter", keys: ["assigneeFilter", "assignee_filter"] },
97
- { target: "sprint", keys: ["sprint"] },
98
- { target: "release", keys: ["release"] },
99
- { target: "parent", keys: ["parent"] },
100
- { target: "limit", keys: ["limit"] },
101
- { target: "format", keys: ["format"] },
102
- { target: "depth", keys: ["depth"] },
103
- { target: "fields", keys: ["fields"] },
104
- { target: "activityLimit", keys: ["activityLimit", "activity_limit"] },
105
- { target: "staleThreshold", keys: ["staleThreshold", "stale_threshold"] }
106
- ];
107
- var NEXT_COMMANDER_STRING_OPTION_CONTRACTS = [
108
- { target: "type", keys: ["type"] },
109
- { target: "tag", keys: ["tag"] },
110
- { target: "priority", keys: ["priority"] },
111
- { target: "assignee", keys: ["assignee"] },
112
- { target: "assigneeFilter", keys: ["assigneeFilter", "assignee_filter"] },
113
- { target: "sprint", keys: ["sprint"] },
114
- { target: "release", keys: ["release"] },
115
- { target: "parent", keys: ["parent"] },
116
- { target: "limit", keys: ["limit"] },
117
- { target: "blockedLimit", keys: ["blockedLimit", "blocked_limit"] },
118
- { target: "format", keys: ["format"] }
119
- ];
120
- var ACTIVITY_COMMANDER_STRING_OPTION_CONTRACTS = [
121
- { target: "id", keys: ["id"] },
122
- { target: "op", keys: ["op"] },
123
- { target: "author", keys: ["author"] },
124
- { target: "from", keys: ["from"] },
125
- { target: "to", keys: ["to"] },
126
- { target: "limit", keys: ["limit"] }
127
- ];
128
- function readFirstStringFromCommanderOptions(options, contract) {
129
- for (const key of contract.keys) {
130
- const candidate = options[key];
131
- if (typeof candidate === "string") {
132
- return candidate;
133
- }
134
- }
135
- return void 0;
136
- }
137
- function readFirstValueFromCommanderOptions(options, contract) {
138
- for (const key of contract.keys) {
139
- if (Object.hasOwn(options, key)) {
140
- return options[key];
141
- }
142
- }
143
- return void 0;
144
- }
145
- function readStringArrayFromCommanderOptions(options, contract) {
146
- for (const key of contract.keys) {
147
- const candidate = options[key];
148
- if (Array.isArray(candidate)) {
149
- return candidate;
150
- }
151
- }
152
- return void 0;
153
- }
154
-
155
- // dist/sdk/cli-contracts/commander-mutation-options.js
156
- !(function() {
157
- try {
158
- var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
159
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "767461eb-c0bf-5d67-83c1-50f5cb1dcfc1");
160
- } catch (e2) {
161
- }
162
- })();
163
- var CREATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS = [
164
- {
165
- target: "title",
166
- keys: ["title"],
167
- option: "--title, -t <value>",
168
- description: "Item title [required] (or pass title as the first positional argument)"
169
- },
170
- { target: "id", keys: ["id"], option: "--id <value>", description: "Explicit item id (normalized with the configured id_prefix)" },
171
- {
172
- target: "description",
173
- keys: ["description"],
174
- option: "--description, -d <value>",
175
- description: "Item description (allow empty string)"
176
- },
177
- { target: "type", keys: ["type"], option: "--type <value>", description: "Item type (built-ins plus any configured custom types)" },
178
- { target: "template", keys: ["template"], option: "--template <value>", description: "Apply named create template defaults before explicit flags" },
179
- {
180
- target: "createMode",
181
- keys: ["createMode", "create_mode"],
182
- option: "--create-mode <value>",
183
- description: "Create required-option policy mode: strict|progressive",
184
- aliasOptions: [{ option: "--create_mode <value>", description: "Alias for --create-mode" }]
185
- },
186
- {
187
- target: "schedulePreset",
188
- keys: ["schedulePreset", "schedule_preset"],
189
- option: "--schedule-preset <value>",
190
- description: "Scheduling preset for Reminder|Meeting|Event: lightweight",
191
- aliasOptions: [{ option: "--schedule_preset <value>", description: "Alias for --schedule-preset" }]
192
- },
193
- { target: "status", keys: ["status"], option: "--status, -s <value>", description: "Item status" },
194
- { target: "priority", keys: ["priority"], option: "--priority, -p <value>", description: "Priority 0..4" },
195
- { target: "tags", keys: ["tags"], option: "--tags <value>", description: "Comma-separated tags" },
196
- {
197
- target: "addTags",
198
- keys: ["addTags", "add_tags"],
199
- option: "--add-tags <value>",
200
- description: "Add tags additively on top of --tags (repeatable; CSV accepted)",
201
- repeatable: true,
202
- aliasOptions: [{ option: "--add_tags <value>", description: "Alias for --add-tags" }]
203
- },
204
- { target: "body", keys: ["body"], option: "--body, -b <value>", description: "Item markdown body (allow empty string)" },
205
- { target: "deadline", keys: ["deadline"], option: "--deadline <value>", description: "Deadline (ISO/date string or relative +6h/+1d/+2w/+6m)" },
206
- {
207
- target: "estimatedMinutes",
208
- keys: ["estimate", "estimatedMinutes", "estimated_minutes"],
209
- option: "--estimate, --estimated-minutes <value>",
210
- description: "Estimated minutes",
211
- aliasOptions: [{ option: "--estimated_minutes <value>", description: "Alias for --estimated-minutes" }]
212
- },
213
- {
214
- target: "acceptanceCriteria",
215
- keys: ["acceptanceCriteria", "acceptance_criteria", "ac"],
216
- option: "--acceptance-criteria <value>",
217
- description: "Acceptance criteria (allow empty string)",
218
- aliasOptions: [
219
- { option: "--acceptance_criteria <value>", description: "Alias for --acceptance-criteria" },
220
- { option: "--ac <value>", description: "Alias for --acceptance-criteria" }
221
- ]
222
- },
223
- {
224
- target: "definitionOfReady",
225
- keys: ["definitionOfReady", "definition_of_ready"],
226
- option: "--definition-of-ready <value>",
227
- description: "Definition of ready (allow empty string)",
228
- aliasOptions: [{ option: "--definition_of_ready <value>", description: "Alias for --definition-of-ready" }]
229
- },
230
- { target: "order", keys: ["order"], option: "--order <value>", description: "Planning order/rank integer" },
231
- { target: "rank", keys: ["rank"], option: "--rank <value>", description: "Alias for --order" },
232
- { target: "goal", keys: ["goal"], option: "--goal <value>", description: "Goal identifier" },
233
- { target: "objective", keys: ["objective"], option: "--objective <value>", description: "Objective identifier" },
234
- { target: "value", keys: ["value"], option: "--value <value>", description: "Business value summary" },
235
- { target: "impact", keys: ["impact"], option: "--impact <value>", description: "Business impact summary" },
236
- { target: "outcome", keys: ["outcome"], option: "--outcome <value>", description: "Expected outcome summary" },
237
- {
238
- target: "whyNow",
239
- keys: ["whyNow", "why_now"],
240
- option: "--why-now <value>",
241
- description: "Why-now rationale",
242
- aliasOptions: [{ option: "--why_now <value>", description: "Alias for --why-now" }]
243
- },
244
- { target: "author", keys: ["author"], option: "--author <value>", description: "Mutation author" },
245
- { target: "message", keys: ["message"], option: "--message <value>", description: "History message (allow empty string)" },
246
- { target: "assignee", keys: ["assignee"], option: "--assignee <value>", description: "Item assignee" },
247
- { target: "parent", keys: ["parent"], option: "--parent <value>", description: "Parent item ID" },
248
- { target: "allowMissingParent", keys: ["allowMissingParent", "allow_missing_parent"], option: "--allow-missing-parent", description: "Allow creating with an unresolved parent reference and emit a validation warning" },
249
- { target: "reviewer", keys: ["reviewer"], option: "--reviewer <value>", description: "Reviewer" },
250
- { target: "risk", keys: ["risk"], option: "--risk <value>", description: "Risk level: low|med|medium|high|critical (med persists as medium)" },
251
- {
252
- target: "confidence",
253
- keys: ["confidence"],
254
- option: "--confidence <value>",
255
- description: "Confidence level: 0..100|low|med|medium|high (med persists as medium)"
256
- },
257
- { target: "sprint", keys: ["sprint"], option: "--sprint <value>", description: "Sprint identifier" },
258
- { target: "release", keys: ["release"], option: "--release <value>", description: "Release identifier" },
259
- {
260
- target: "blockedBy",
261
- keys: ["blockedBy", "blocked_by"],
262
- option: "--blocked-by <value>",
263
- description: "Blocked-by item ID or reason",
264
- aliasOptions: [{ option: "--blocked_by <value>", description: "Alias for --blocked-by" }]
265
- },
266
- {
267
- target: "blockedReason",
268
- keys: ["blockedReason", "blocked_reason"],
269
- option: "--blocked-reason <value>",
270
- description: "Blocked reason",
271
- aliasOptions: [{ option: "--blocked_reason <value>", description: "Alias for --blocked-reason" }]
272
- },
273
- {
274
- target: "unblockNote",
275
- keys: ["unblockNote", "unblock_note"],
276
- option: "--unblock-note <value>",
277
- description: "Unblock rationale note",
278
- aliasOptions: [{ option: "--unblock_note <value>", description: "Alias for --unblock-note" }]
279
- },
280
- { target: "reporter", keys: ["reporter"], option: "--reporter <value>", description: "Issue reporter" },
281
- {
282
- target: "severity",
283
- keys: ["severity"],
284
- option: "--severity <value>",
285
- description: "Issue severity: low|med|medium|high|critical (med persists as medium)"
286
- },
287
- { target: "environment", keys: ["environment"], option: "--environment <value>", description: "Issue environment context" },
288
- {
289
- target: "reproSteps",
290
- keys: ["reproSteps", "repro_steps"],
291
- option: "--repro-steps <value>",
292
- description: "Issue reproduction steps",
293
- aliasOptions: [{ option: "--repro_steps <value>", description: "Alias for --repro-steps" }]
294
- },
295
- { target: "resolution", keys: ["resolution"], option: "--resolution <value>", description: "Issue resolution summary" },
296
- {
297
- target: "expectedResult",
298
- keys: ["expectedResult", "expected_result", "expected"],
299
- option: "--expected-result <value>",
300
- description: "Issue expected behavior",
301
- aliasOptions: [
302
- { option: "--expected_result <value>", description: "Alias for --expected-result" },
303
- { option: "--expected <value>", description: "Short alias for --expected-result" }
304
- ]
305
- },
306
- {
307
- target: "actualResult",
308
- keys: ["actualResult", "actual_result", "actual"],
309
- option: "--actual-result <value>",
310
- description: "Issue observed behavior",
311
- aliasOptions: [
312
- { option: "--actual_result <value>", description: "Alias for --actual-result" },
313
- { option: "--actual <value>", description: "Short alias for --actual-result" }
314
- ]
315
- },
316
- {
317
- target: "affectedVersion",
318
- keys: ["affectedVersion", "affected_version"],
319
- option: "--affected-version <value>",
320
- description: "Affected version identifier",
321
- aliasOptions: [{ option: "--affected_version <value>", description: "Alias for --affected-version" }]
322
- },
323
- {
324
- target: "fixedVersion",
325
- keys: ["fixedVersion", "fixed_version"],
326
- option: "--fixed-version <value>",
327
- description: "Fixed version identifier",
328
- aliasOptions: [{ option: "--fixed_version <value>", description: "Alias for --fixed-version" }]
329
- },
330
- { target: "component", keys: ["component"], option: "--component <value>", description: "Issue component ownership" },
331
- { target: "regression", keys: ["regression"], option: "--regression <value>", description: "Regression marker: true|false|1|0" },
332
- {
333
- target: "customerImpact",
334
- keys: ["customerImpact", "customer_impact"],
335
- option: "--customer-impact <value>",
336
- description: "Customer impact summary",
337
- aliasOptions: [{ option: "--customer_impact <value>", description: "Alias for --customer-impact" }]
338
- },
339
- {
340
- target: "dep",
341
- keys: ["dep"],
342
- option: "--dep <value>",
343
- description: "Seed dependency entry (key=value CSV, markdown key:value lines, or - for stdin; repeatable)",
344
- repeatable: true
345
- },
346
- {
347
- target: "typeOption",
348
- keys: ["typeOption", "type_option"],
349
- option: "--type-option <value>",
350
- description: "Type option key=value or key=<name>,value=<value> (also accepts key:value and markdown pairs; use - for stdin; repeatable)",
351
- repeatable: true,
352
- aliasOptions: [{ option: "--type_option <value>", description: "Alias for --type-option" }]
353
- },
354
- {
355
- target: "field",
356
- keys: ["field"],
357
- option: "--field <name=value>",
358
- description: "Set a field declared by an active extension registerItemFields registration (repeatable)",
359
- repeatable: true
360
- },
361
- {
362
- target: "unset",
363
- keys: ["unset"],
364
- option: "--unset <field>",
365
- description: "Clear scalar metadata field by name (repeatable)",
366
- repeatable: true
367
- },
368
- {
369
- target: "reminder",
370
- keys: ["reminder"],
371
- option: "--reminder <value>",
372
- description: "Seed reminder entry at=<iso|relative>,text=<text> (also accepts markdown pairs and - for stdin; repeatable)",
373
- repeatable: true
374
- },
375
- {
376
- target: "event",
377
- keys: ["event"],
378
- option: "--event <value>",
379
- description: "Seed event entry start=<iso|relative>,end=<iso|relative>,duration=<relative|30min|PT30M>,title=<text>,all_day=<true|false>,recur_* fields (also accepts markdown pairs and - for stdin; repeatable)",
380
- repeatable: true
381
- },
382
- {
383
- target: "comment",
384
- keys: ["comment"],
385
- option: "--comment <value>",
386
- description: "Seed comment entry (text=<value> CSV/markdown pairs or - for stdin; repeatable)",
387
- repeatable: true
388
- },
389
- {
390
- target: "note",
391
- keys: ["note"],
392
- option: "--note <value>",
393
- description: "Seed note entry (text=<value> CSV/markdown pairs or - for stdin; repeatable)",
394
- repeatable: true
395
- },
396
- {
397
- target: "learning",
398
- keys: ["learning"],
399
- option: "--learning <value>",
400
- description: "Seed learning entry (text=<value> CSV/markdown pairs or - for stdin; repeatable)",
401
- repeatable: true
402
- },
403
- {
404
- target: "file",
405
- keys: ["file"],
406
- option: "--file <value>",
407
- description: "Seed linked file entry (CSV/markdown pairs or - for stdin; repeatable)",
408
- repeatable: true
409
- },
410
- {
411
- target: "test",
412
- keys: ["test"],
413
- option: "--test <value>",
414
- description: "Seed linked test entry (CSV/markdown pairs or - for stdin; repeatable)",
415
- repeatable: true
416
- },
417
- {
418
- target: "doc",
419
- keys: ["doc"],
420
- option: "--doc <value>",
421
- description: "Seed linked doc entry (CSV/markdown pairs or - for stdin; repeatable)",
422
- repeatable: true
423
- }
424
- ];
425
- var CREATE_COMMANDER_STRING_OPTION_CONTRACTS = CREATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS.filter((entry) => entry.repeatable !== true).map((entry) => ({ target: entry.target, keys: entry.keys }));
426
- var CREATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS = CREATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS.filter((entry) => entry.repeatable === true).map((entry) => ({ target: entry.target, keys: entry.keys }));
427
- var UPDATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS = [
428
- { target: "title", keys: ["title"], option: "--title, -t <value>", description: "Set title" },
429
- { target: "description", keys: ["description"], option: "--description, -d <value>", description: "Set description" },
430
- { target: "body", keys: ["body"], option: "--body, -b <value>", description: "Set body (allow empty string)" },
431
- { target: "status", keys: ["status"], option: "--status, -s <value>", description: "Set status (use close command for closed)" },
432
- {
433
- target: "closeReason",
434
- keys: ["closeReason", "close_reason"],
435
- option: "--close-reason <value>",
436
- description: "Set close reason",
437
- aliasOptions: [{ option: "--close_reason <value>", description: "Alias for --close-reason" }]
438
- },
439
- { target: "priority", keys: ["priority"], option: "--priority, -p <value>", description: "Set priority" },
440
- { target: "type", keys: ["type"], option: "--type <value>", description: "Set type" },
441
- { target: "tags", keys: ["tags"], option: "--tags <value>", description: "Set comma-separated tags (replaces existing). Use --add-tags / --remove-tags to mutate additively." },
442
- {
443
- target: "addTags",
444
- keys: ["addTags", "add_tags"],
445
- option: "--add-tags <value>",
446
- description: "Add tags to the existing list without replacing it (repeatable; CSV accepted)",
447
- repeatable: true,
448
- aliasOptions: [{ option: "--add_tags <value>", description: "Alias for --add-tags" }]
449
- },
450
- {
451
- target: "removeTags",
452
- keys: ["removeTags", "remove_tags"],
453
- option: "--remove-tags <value>",
454
- description: "Remove tags from the existing list (repeatable; CSV accepted)",
455
- repeatable: true,
456
- aliasOptions: [{ option: "--remove_tags <value>", description: "Alias for --remove-tags" }]
457
- },
458
- { target: "deadline", keys: ["deadline"], option: "--deadline <value>", description: "Set deadline (ISO/date string or relative)" },
459
- {
460
- target: "estimatedMinutes",
461
- keys: ["estimate", "estimatedMinutes", "estimated_minutes"],
462
- option: "--estimate, --estimated-minutes <value>",
463
- description: "Set estimated minutes",
464
- aliasOptions: [{ option: "--estimated_minutes <value>", description: "Alias for --estimated-minutes" }]
465
- },
466
- {
467
- target: "acceptanceCriteria",
468
- keys: ["acceptanceCriteria", "acceptance_criteria", "ac"],
469
- option: "--acceptance-criteria <value>",
470
- description: "Set acceptance criteria",
471
- aliasOptions: [
472
- { option: "--acceptance_criteria <value>", description: "Alias for --acceptance-criteria" },
473
- { option: "--ac <value>", description: "Alias for --acceptance-criteria" }
474
- ]
475
- },
476
- {
477
- target: "definitionOfReady",
478
- keys: ["definitionOfReady", "definition_of_ready"],
479
- option: "--definition-of-ready <value>",
480
- description: "Set definition of ready",
481
- aliasOptions: [{ option: "--definition_of_ready <value>", description: "Alias for --definition-of-ready" }]
482
- },
483
- { target: "order", keys: ["order"], option: "--order <value>", description: "Set planning order/rank integer" },
484
- { target: "rank", keys: ["rank"], option: "--rank <value>", description: "Alias for --order" },
485
- { target: "goal", keys: ["goal"], option: "--goal <value>", description: "Set goal identifier" },
486
- { target: "objective", keys: ["objective"], option: "--objective <value>", description: "Set objective identifier" },
487
- { target: "value", keys: ["value"], option: "--value <value>", description: "Set business value summary" },
488
- { target: "impact", keys: ["impact"], option: "--impact <value>", description: "Set business impact summary" },
489
- { target: "outcome", keys: ["outcome"], option: "--outcome <value>", description: "Set expected outcome summary" },
490
- {
491
- target: "whyNow",
492
- keys: ["whyNow", "why_now"],
493
- option: "--why-now <value>",
494
- description: "Set why-now rationale",
495
- aliasOptions: [{ option: "--why_now <value>", description: "Alias for --why-now" }]
496
- },
497
- { target: "author", keys: ["author"], option: "--author <value>", description: "Mutation author" },
498
- { target: "message", keys: ["message"], option: "--message <value>", description: "Mutation message" },
499
- { target: "assignee", keys: ["assignee"], option: "--assignee <value>", description: "Set assignee" },
500
- { target: "parent", keys: ["parent"], option: "--parent <value>", description: "Set parent item ID" },
501
- { target: "reviewer", keys: ["reviewer"], option: "--reviewer <value>", description: "Set reviewer" },
502
- { target: "risk", keys: ["risk"], option: "--risk <value>", description: "Set risk level: low|med|medium|high|critical (med persists as medium)" },
503
- {
504
- target: "confidence",
505
- keys: ["confidence"],
506
- option: "--confidence <value>",
507
- description: "Set confidence level: 0..100|low|med|medium|high (med persists as medium)"
508
- },
509
- { target: "sprint", keys: ["sprint"], option: "--sprint <value>", description: "Set sprint identifier" },
510
- { target: "release", keys: ["release"], option: "--release <value>", description: "Set release identifier" },
511
- {
512
- target: "blockedBy",
513
- keys: ["blockedBy", "blocked_by"],
514
- option: "--blocked-by <value>",
515
- description: "Set blocked-by item ID or reason",
516
- aliasOptions: [{ option: "--blocked_by <value>", description: "Alias for --blocked-by" }]
517
- },
518
- {
519
- target: "blockedReason",
520
- keys: ["blockedReason", "blocked_reason"],
521
- option: "--blocked-reason <value>",
522
- description: "Set blocked reason",
523
- aliasOptions: [{ option: "--blocked_reason <value>", description: "Alias for --blocked-reason" }]
524
- },
525
- {
526
- target: "unblockNote",
527
- keys: ["unblockNote", "unblock_note"],
528
- option: "--unblock-note <value>",
529
- description: "Set unblock rationale note",
530
- aliasOptions: [{ option: "--unblock_note <value>", description: "Alias for --unblock-note" }]
531
- },
532
- { target: "reporter", keys: ["reporter"], option: "--reporter <value>", description: "Set issue reporter" },
533
- {
534
- target: "severity",
535
- keys: ["severity"],
536
- option: "--severity <value>",
537
- description: "Set issue severity: low|med|medium|high|critical (med persists as medium)"
538
- },
539
- { target: "environment", keys: ["environment"], option: "--environment <value>", description: "Set issue environment context" },
540
- {
541
- target: "reproSteps",
542
- keys: ["reproSteps", "repro_steps"],
543
- option: "--repro-steps <value>",
544
- description: "Set issue reproduction steps",
545
- aliasOptions: [{ option: "--repro_steps <value>", description: "Alias for --repro-steps" }]
546
- },
547
- { target: "resolution", keys: ["resolution"], option: "--resolution <value>", description: "Set issue resolution summary" },
548
- {
549
- target: "expectedResult",
550
- keys: ["expectedResult", "expected_result", "expected"],
551
- option: "--expected-result <value>",
552
- description: "Set issue expected behavior",
553
- aliasOptions: [
554
- { option: "--expected_result <value>", description: "Alias for --expected-result" },
555
- { option: "--expected <value>", description: "Short alias for --expected-result" }
556
- ]
557
- },
558
- {
559
- target: "actualResult",
560
- keys: ["actualResult", "actual_result", "actual"],
561
- option: "--actual-result <value>",
562
- description: "Set issue observed behavior",
563
- aliasOptions: [
564
- { option: "--actual_result <value>", description: "Alias for --actual-result" },
565
- { option: "--actual <value>", description: "Short alias for --actual-result" }
566
- ]
567
- },
568
- {
569
- target: "affectedVersion",
570
- keys: ["affectedVersion", "affected_version"],
571
- option: "--affected-version <value>",
572
- description: "Set affected version identifier",
573
- aliasOptions: [{ option: "--affected_version <value>", description: "Alias for --affected-version" }]
574
- },
575
- {
576
- target: "fixedVersion",
577
- keys: ["fixedVersion", "fixed_version"],
578
- option: "--fixed-version <value>",
579
- description: "Set fixed version identifier",
580
- aliasOptions: [{ option: "--fixed_version <value>", description: "Alias for --fixed-version" }]
581
- },
582
- { target: "component", keys: ["component"], option: "--component <value>", description: "Set issue component ownership" },
583
- { target: "regression", keys: ["regression"], option: "--regression <value>", description: "Set regression marker: true|false|1|0" },
584
- {
585
- target: "customerImpact",
586
- keys: ["customerImpact", "customer_impact"],
587
- option: "--customer-impact <value>",
588
- description: "Set customer impact summary",
589
- aliasOptions: [{ option: "--customer_impact <value>", description: "Alias for --customer-impact" }]
590
- },
591
- {
592
- target: "dep",
593
- keys: ["dep"],
594
- option: "--dep <value>",
595
- description: "Add dependency entries id=<id>,kind=<value>,author=<value>,created_at=<iso|now>,source_kind=<value> (repeatable)",
596
- repeatable: true
597
- },
598
- {
599
- target: "depRemove",
600
- keys: ["depRemove", "dep_remove"],
601
- option: "--dep-remove <value>",
602
- description: "Remove dependencies by id or id=<id>,kind=<value>,source_kind=<value> selectors (repeatable)",
603
- repeatable: true,
604
- aliasOptions: [{ option: "--dep_remove <value>", description: "Alias for --dep-remove" }]
605
- },
606
- {
607
- target: "comment",
608
- keys: ["comment"],
609
- option: "--comment <value>",
610
- description: "Append comment seed author=<value>,created_at=<iso|now>,text=<value> (also accepts markdown pairs and - for stdin; repeatable)",
611
- repeatable: true
612
- },
613
- {
614
- target: "note",
615
- keys: ["note"],
616
- option: "--note <value>",
617
- description: "Append note seed author=<value>,created_at=<iso|now>,text=<value> (also accepts markdown pairs and - for stdin; repeatable)",
618
- repeatable: true
619
- },
620
- {
621
- target: "learning",
622
- keys: ["learning"],
623
- option: "--learning <value>",
624
- description: "Append learning seed author=<value>,created_at=<iso|now>,text=<value> (also accepts markdown pairs and - for stdin; repeatable)",
625
- repeatable: true
626
- },
627
- {
628
- target: "file",
629
- keys: ["file"],
630
- option: "--file <value>",
631
- description: "Append linked file path=<value>,scope=<project|global>,note=<text> (also accepts markdown pairs and - for stdin; repeatable)",
632
- repeatable: true
633
- },
634
- {
635
- target: "test",
636
- keys: ["test"],
637
- option: "--test <value>",
638
- description: "Append linked test command=<value>,path=<value>,scope=<project|global>,timeout_seconds=<n>,pm_context_mode=<schema|tracker|auto> (also accepts markdown pairs and - for stdin; repeatable)",
639
- repeatable: true
640
- },
641
- {
642
- target: "doc",
643
- keys: ["doc"],
644
- option: "--doc <value>",
645
- description: "Append linked doc path=<value>,scope=<project|global>,note=<text> (also accepts markdown pairs and - for stdin; repeatable)",
646
- repeatable: true
647
- },
648
- {
649
- target: "reminder",
650
- keys: ["reminder"],
651
- option: "--reminder <value>",
652
- description: "Set reminders at=<iso|relative>,text=<text> (also accepts markdown pairs and - for stdin; repeatable)",
653
- repeatable: true
654
- },
655
- {
656
- target: "event",
657
- keys: ["event"],
658
- option: "--event <value>",
659
- description: "Set events start=<iso|relative>,end=<iso|relative>,duration=<relative|30min|PT30M>,title=<text>,all_day=<true|false>,recur_* fields (also accepts markdown pairs and - for stdin; repeatable)",
660
- repeatable: true
661
- },
662
- {
663
- target: "typeOption",
664
- keys: ["typeOption", "type_option"],
665
- option: "--type-option <value>",
666
- description: "Set type options key=value or key=<name>,value=<value> (also accepts key:value and markdown pairs; use - for stdin; repeatable)",
667
- repeatable: true,
668
- aliasOptions: [{ option: "--type_option <value>", description: "Alias for --type-option" }]
669
- },
670
- {
671
- target: "field",
672
- keys: ["field"],
673
- option: "--field <name=value>",
674
- description: "Set a field declared by an active extension registerItemFields registration (repeatable)",
675
- repeatable: true
676
- },
677
- {
678
- target: "unset",
679
- keys: ["unset"],
680
- option: "--unset <field>",
681
- description: "Clear scalar metadata field by name (repeatable)",
682
- repeatable: true
683
- }
684
- ];
685
- var UPDATE_COMMANDER_STRING_OPTION_CONTRACTS = UPDATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS.filter((entry) => entry.repeatable !== true).map((entry) => ({ target: entry.target, keys: entry.keys }));
686
- var UPDATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS = UPDATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS.filter((entry) => entry.repeatable === true).map((entry) => ({ target: entry.target, keys: entry.keys }));
687
-
688
- // dist/sdk/cli-contracts/enum-contracts.js
689
- !(function() {
690
- try {
691
- var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
692
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6c161a7b-d1ca-5ed2-8348-024739a81bc4");
693
- } catch (e2) {
694
- }
695
- })();
696
- var PM_EXTENSION_CAPABILITY_CONTRACTS = [...KNOWN_EXTENSION_CAPABILITIES];
697
- var PM_EXTENSION_SERVICE_NAME_CONTRACTS = [...KNOWN_EXTENSION_SERVICE_NAMES];
698
- var PM_EXTENSION_POLICY_MODE_CONTRACTS = [...KNOWN_EXTENSION_POLICY_MODES];
699
- var PM_EXTENSION_TRUST_MODE_CONTRACTS = [...KNOWN_EXTENSION_TRUST_MODES];
700
- var PM_EXTENSION_SANDBOX_PROFILE_CONTRACTS = [...KNOWN_EXTENSION_SANDBOX_PROFILES];
701
- var PM_EXTENSION_POLICY_SURFACE_CONTRACTS = [...KNOWN_EXTENSION_POLICY_SURFACES];
702
- var PM_CORE_COMMAND_NAMES = [
703
- "init",
704
- "config",
705
- "extension",
706
- "package",
707
- "packages",
708
- "install",
709
- "upgrade",
710
- "create",
711
- "copy",
712
- "focus",
713
- "list",
714
- "list-all",
715
- "list-draft",
716
- "list-open",
717
- "list-in-progress",
718
- "list-blocked",
719
- "list-closed",
720
- "list-canceled",
721
- "aggregate",
722
- "context",
723
- "ctx",
724
- "get",
725
- "search",
726
- "eval",
727
- "next",
728
- "history",
729
- "history-redact",
730
- "history-repair",
731
- "history-compact",
732
- "schema",
733
- "profile",
734
- "activity",
735
- "restore",
736
- "update",
737
- "update-many",
738
- "close",
739
- "close-many",
740
- "delete",
741
- "append",
742
- "comments",
743
- "notes",
744
- "learnings",
745
- "files",
746
- "docs",
747
- "deps",
748
- "plan",
749
- "test",
750
- "test-all",
751
- "telemetry",
752
- "stats",
753
- "health",
754
- "validate",
755
- "gc",
756
- "contracts",
757
- "claim",
758
- "release",
759
- "start-task",
760
- "pause-task",
761
- "close-task",
762
- "meet",
763
- "event",
764
- "remind",
765
- "help"
766
- ];
767
- var PM_TOOL_ACTIONS = [
768
- "init",
769
- "config",
770
- "extension-init",
771
- "extension-install",
772
- "extension-uninstall",
773
- "extension-explore",
774
- "extension-manage",
775
- "extension-describe",
776
- "extension-reload",
777
- "extension-doctor",
778
- "extension-catalog",
779
- "extension-adopt",
780
- "extension-adopt-all",
781
- "extension-activate",
782
- "extension-deactivate",
783
- "extension",
784
- "package-init",
785
- "package-install",
786
- "package-uninstall",
787
- "package-explore",
788
- "package-manage",
789
- "package-describe",
790
- "package-reload",
791
- "package-doctor",
792
- "package-catalog",
793
- "package-adopt",
794
- "package-adopt-all",
795
- "package-activate",
796
- "package-deactivate",
797
- "package",
798
- "install",
799
- "upgrade",
800
- "create",
801
- "copy",
802
- "focus",
803
- "list",
804
- "list-all",
805
- "list-draft",
806
- "list-open",
807
- "list-in-progress",
808
- "list-blocked",
809
- "list-closed",
810
- "list-canceled",
811
- "aggregate",
812
- "context",
813
- "ctx",
814
- "get",
815
- "search",
816
- "next",
817
- "history",
818
- "history-redact",
819
- "history-repair",
820
- "history-compact",
821
- "schema",
822
- "profile",
823
- "activity",
824
- "restore",
825
- "update",
826
- "update-many",
827
- "close",
828
- "close-many",
829
- "delete",
830
- "append",
831
- "comments",
832
- "plan",
833
- "notes",
834
- "learnings",
835
- "files",
836
- "docs",
837
- "deps",
838
- "test",
839
- "test-all",
840
- "telemetry",
841
- "stats",
842
- "health",
843
- "validate",
844
- "gc",
845
- "contracts",
846
- "claim",
847
- "release",
848
- "start-task",
849
- "pause-task",
850
- "close-task"
851
- ];
852
- function isPmToolAction(value) {
853
- return PM_TOOL_ACTIONS.includes(value);
854
- }
855
- function isPmExtensionCapabilityContract(value) {
856
- return PM_EXTENSION_CAPABILITY_CONTRACTS.includes(value);
857
- }
858
- function isPmExtensionServiceNameContract(value) {
859
- return PM_EXTENSION_SERVICE_NAME_CONTRACTS.includes(value);
860
- }
861
- function isPmExtensionPolicyModeContract(value) {
862
- return PM_EXTENSION_POLICY_MODE_CONTRACTS.includes(value);
863
- }
864
- function isPmExtensionPolicySurfaceContract(value) {
865
- return PM_EXTENSION_POLICY_SURFACE_CONTRACTS.includes(value);
866
- }
867
-
868
- // dist/sdk/cli-contracts/tool-option-contracts.js
869
- !(function() {
870
- try {
871
- var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
872
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e6388be4-3b86-52cb-8bd3-9fafaed43195");
873
- } catch (e2) {
874
- }
875
- })();
876
- function cloneOptionContracts(contracts) {
877
- return contracts.map((contract) => ({ ...contract }));
878
- }
879
- var TOOL_ITEM_BASE_FILTER_OPTION_CONTRACTS = [
880
- { param: "status", flag: "--status" },
881
- { param: "type", flag: "--type" },
882
- { param: "tag", flag: "--tag" },
883
- { param: "priority", flag: "--priority" },
884
- { param: "deadlineBefore", flag: "--deadline-before" },
885
- { param: "deadlineAfter", flag: "--deadline-after" }
886
- ];
887
- var TOOL_ITEM_WINDOW_FILTER_OPTION_CONTRACTS = [
888
- { param: "updatedAfter", flag: "--updated-after" },
889
- { param: "updatedBefore", flag: "--updated-before" },
890
- { param: "createdAfter", flag: "--created-after" },
891
- { param: "createdBefore", flag: "--created-before" }
892
- ];
893
- var TOOL_ITEM_RELATION_FILTER_OPTION_CONTRACTS = [
894
- { param: "assignee", flag: "--assignee" },
895
- { param: "assigneeFilter", flag: "--assignee-filter" },
896
- { param: "parent", flag: "--parent" },
897
- { param: "sprint", flag: "--sprint" },
898
- { param: "release", flag: "--release" }
899
- ];
900
- var TOOL_SEARCH_RELATION_FILTER_OPTION_CONTRACTS = [
901
- { param: "assignee", flag: "--assignee" },
902
- { param: "sprint", flag: "--sprint" },
903
- { param: "release", flag: "--release" },
904
- { param: "parent", flag: "--parent" }
905
- ];
906
- var TOOL_BASIC_ITEM_FILTER_OPTION_CONTRACTS = [
907
- ...TOOL_ITEM_BASE_FILTER_OPTION_CONTRACTS,
908
- ...TOOL_ITEM_RELATION_FILTER_OPTION_CONTRACTS
909
- ];
910
- var TOOL_GOVERNANCE_MISSING_OPTION_CONTRACTS = [
911
- { param: "filterReviewerMissing", flag: "--filter-reviewer-missing" },
912
- { param: "filterRiskMissing", flag: "--filter-risk-missing" },
913
- { param: "filterConfidenceMissing", flag: "--filter-confidence-missing" },
914
- { param: "filterSprintMissing", flag: "--filter-sprint-missing" },
915
- { param: "filterReleaseMissing", flag: "--filter-release-missing" }
916
- ];
917
- var TOOL_CONTENT_PRESENCE_OPTION_CONTRACTS = [
918
- { param: "hasNotes", flag: "--has-notes" },
919
- { param: "noNotes", flag: "--no-notes" },
920
- { param: "hasLearnings", flag: "--has-learnings" },
921
- { param: "noLearnings", flag: "--no-learnings" },
922
- { param: "hasFiles", flag: "--has-files" },
923
- { param: "noFiles", flag: "--no-files" },
924
- { param: "filterFilesMissing", flag: "--filter-files-missing" },
925
- { param: "hasDocs", flag: "--has-docs" },
926
- { param: "noDocs", flag: "--no-docs" },
927
- { param: "filterDocsMissing", flag: "--filter-docs-missing" },
928
- { param: "hasTests", flag: "--has-tests" },
929
- { param: "noTests", flag: "--no-tests" },
930
- { param: "hasComments", flag: "--has-comments" },
931
- { param: "noComments", flag: "--no-comments" },
932
- { param: "hasDeps", flag: "--has-deps" },
933
- { param: "noDeps", flag: "--no-deps" },
934
- { param: "hasBody", flag: "--has-body" },
935
- { param: "emptyBody", flag: "--empty-body" },
936
- { param: "hasLinkedCommand", flag: "--has-linked-command" },
937
- { param: "noLinkedCommand", flag: "--no-linked-command" }
938
- ];
939
- var TOOL_LIST_FILTER_OPTION_CONTRACTS = [
940
- ...cloneOptionContracts(TOOL_ITEM_BASE_FILTER_OPTION_CONTRACTS),
941
- ...cloneOptionContracts(TOOL_ITEM_WINDOW_FILTER_OPTION_CONTRACTS),
942
- { param: "ids", flag: "--ids" },
943
- ...cloneOptionContracts(TOOL_ITEM_RELATION_FILTER_OPTION_CONTRACTS),
944
- { param: "filterAcMissing", flag: "--filter-ac-missing" },
945
- { param: "filterEstimatesMissing", flag: "--filter-estimates-missing" },
946
- { param: "filterResolutionMissing", flag: "--filter-resolution-missing" },
947
- { param: "filterMetadataMissing", flag: "--filter-metadata-missing" },
948
- ...cloneOptionContracts(TOOL_GOVERNANCE_MISSING_OPTION_CONTRACTS),
949
- ...cloneOptionContracts(TOOL_CONTENT_PRESENCE_OPTION_CONTRACTS),
950
- { param: "limit", flag: "--limit" },
951
- { param: "offset", flag: "--offset" },
952
- { param: "fields", flag: "--fields" },
953
- { param: "sort", flag: "--sort" },
954
- { param: "order", flag: "--order" },
955
- { param: "tree", flag: "--tree" },
956
- { param: "treeDepth", flag: "--tree-depth" }
957
- ];
958
- var TOOL_AGGREGATE_OPTION_CONTRACTS = [
959
- { param: "groupBy", flag: "--group-by" },
960
- { param: "sum", flag: "--sum" },
961
- { param: "avg", flag: "--avg" },
962
- ...cloneOptionContracts(TOOL_BASIC_ITEM_FILTER_OPTION_CONTRACTS)
963
- ];
964
- var TOOL_DEDUPE_AUDIT_OPTION_CONTRACTS = [
965
- { param: "mode", flag: "--mode" },
966
- { param: "limit", flag: "--limit" },
967
- { param: "threshold", flag: "--threshold" },
968
- ...cloneOptionContracts(TOOL_BASIC_ITEM_FILTER_OPTION_CONTRACTS)
969
- ];
970
- var TOOL_SEARCH_FILTER_OPTION_CONTRACTS = [
971
- { param: "matchMode", flag: "--match-mode" },
972
- { param: "minScore", flag: "--min-score" },
973
- { param: "count", flag: "--count", booleanish: true },
974
- { param: "semanticWeight", flag: "--semantic-weight" },
975
- ...cloneOptionContracts(TOOL_ITEM_BASE_FILTER_OPTION_CONTRACTS),
976
- ...cloneOptionContracts(TOOL_ITEM_WINDOW_FILTER_OPTION_CONTRACTS),
977
- ...cloneOptionContracts(TOOL_SEARCH_RELATION_FILTER_OPTION_CONTRACTS),
978
- ...cloneOptionContracts(TOOL_GOVERNANCE_MISSING_OPTION_CONTRACTS),
979
- ...cloneOptionContracts(TOOL_CONTENT_PRESENCE_OPTION_CONTRACTS),
980
- { param: "fields", flag: "--fields" },
981
- { param: "limit", flag: "--limit" }
982
- ];
983
- var TOOL_SHARED_CREATE_UPDATE_OPTION_CONTRACTS = [
984
- { param: "parent", flag: "--parent" },
985
- { param: "reviewer", flag: "--reviewer" },
986
- { param: "risk", flag: "--risk" },
987
- { param: "confidence", flag: "--confidence" },
988
- { param: "sprint", flag: "--sprint" },
989
- { param: "release", flag: "--release" },
990
- { param: "blockedBy", flag: "--blocked-by" },
991
- { param: "blockedReason", flag: "--blocked-reason" },
992
- { param: "unblockNote", flag: "--unblock-note" },
993
- { param: "reporter", flag: "--reporter" },
994
- { param: "severity", flag: "--severity" },
995
- { param: "environment", flag: "--environment" },
996
- { param: "reproSteps", flag: "--repro-steps" },
997
- { param: "resolution", flag: "--resolution" },
998
- { param: "expectedResult", flag: "--expected-result" },
999
- { param: "actualResult", flag: "--actual-result" },
1000
- { param: "affectedVersion", flag: "--affected-version" },
1001
- { param: "fixedVersion", flag: "--fixed-version" },
1002
- { param: "component", flag: "--component" },
1003
- { param: "regression", flag: "--regression", booleanish: true },
1004
- { param: "customerImpact", flag: "--customer-impact" },
1005
- { param: "definitionOfReady", flag: "--definition-of-ready", allowEmpty: true },
1006
- { param: "order", flag: "--order" },
1007
- { param: "goal", flag: "--goal" },
1008
- { param: "objective", flag: "--objective" },
1009
- { param: "value", flag: "--value" },
1010
- { param: "impact", flag: "--impact" },
1011
- { param: "outcome", flag: "--outcome" },
1012
- { param: "whyNow", flag: "--why-now" }
1013
- ];
1014
- var TOOL_CREATE_OPTION_CONTRACTS = [
1015
- { param: "title", flag: "--title" },
1016
- { param: "description", flag: "--description", allowEmpty: true },
1017
- { param: "type", flag: "--type" },
1018
- { param: "template", flag: "--template" },
1019
- { param: "createMode", flag: "--create-mode" },
1020
- { param: "schedulePreset", flag: "--schedule-preset" },
1021
- { param: "status", flag: "--status" },
1022
- { param: "priority", flag: "--priority" },
1023
- { param: "tags", flag: "--tags", allowEmpty: true },
1024
- { param: "addTags", flag: "--add-tags", repeatable: true },
1025
- { param: "body", flag: "--body", allowEmpty: true },
1026
- { param: "deadline", flag: "--deadline" },
1027
- { param: "estimate", flag: "--estimate" },
1028
- { param: "acceptanceCriteria", flag: "--acceptance-criteria", allowEmpty: true },
1029
- { param: "author", flag: "--author" },
1030
- { param: "message", flag: "--message", allowEmpty: true },
1031
- { param: "assignee", flag: "--assignee" },
1032
- { param: "allowMissingParent", flag: "--allow-missing-parent" },
1033
- { param: "reminder", flag: "--reminder", repeatable: true },
1034
- { param: "event", flag: "--event", repeatable: true },
1035
- { param: "typeOption", flag: "--type-option", repeatable: true },
1036
- { param: "field", flag: "--field", repeatable: true },
1037
- { param: "dep", flag: "--dep", repeatable: true },
1038
- { param: "comment", flag: "--comment", repeatable: true },
1039
- { param: "note", flag: "--note", repeatable: true },
1040
- { param: "learning", flag: "--learning", repeatable: true },
1041
- { param: "linkedFile", flag: "--file", repeatable: true },
1042
- { param: "linkedTest", flag: "--test", repeatable: true },
1043
- { param: "doc", flag: "--doc", repeatable: true },
1044
- { param: "unset", flag: "--unset", repeatable: true },
1045
- { param: "clearDeps", flag: "--clear-deps" },
1046
- { param: "clearComments", flag: "--clear-comments" },
1047
- { param: "clearNotes", flag: "--clear-notes" },
1048
- { param: "clearLearnings", flag: "--clear-learnings" },
1049
- { param: "clearFiles", flag: "--clear-files" },
1050
- { param: "clearTests", flag: "--clear-tests" },
1051
- { param: "clearDocs", flag: "--clear-docs" },
1052
- { param: "clearReminders", flag: "--clear-reminders" },
1053
- { param: "clearEvents", flag: "--clear-events" },
1054
- { param: "clearTypeOptions", flag: "--clear-type-options" }
1055
- ];
1056
- var TOOL_UPDATE_OPTION_CONTRACTS = [
1057
- { param: "title", flag: "--title" },
1058
- { param: "description", flag: "--description", allowEmpty: true },
1059
- { param: "body", flag: "--body", allowEmpty: true },
1060
- { param: "status", flag: "--status" },
1061
- { param: "closeReason", flag: "--close-reason" },
1062
- { param: "priority", flag: "--priority" },
1063
- { param: "type", flag: "--type" },
1064
- { param: "tags", flag: "--tags", allowEmpty: true },
1065
- { param: "addTags", flag: "--add-tags", repeatable: true },
1066
- { param: "removeTags", flag: "--remove-tags", repeatable: true },
1067
- { param: "deadline", flag: "--deadline" },
1068
- { param: "estimate", flag: "--estimate" },
1069
- { param: "acceptanceCriteria", flag: "--acceptance-criteria", allowEmpty: true },
1070
- { param: "author", flag: "--author" },
1071
- { param: "message", flag: "--message", allowEmpty: true },
1072
- { param: "assignee", flag: "--assignee" },
1073
- { param: "dep", flag: "--dep", repeatable: true },
1074
- { param: "depRemove", flag: "--dep-remove", repeatable: true },
1075
- { param: "replaceDeps", flag: "--replace-deps" },
1076
- { param: "replaceTests", flag: "--replace-tests" },
1077
- { param: "comment", flag: "--comment", repeatable: true },
1078
- { param: "note", flag: "--note", repeatable: true },
1079
- { param: "learning", flag: "--learning", repeatable: true },
1080
- { param: "linkedFile", flag: "--file", repeatable: true },
1081
- { param: "linkedTest", flag: "--test", repeatable: true },
1082
- { param: "doc", flag: "--doc", repeatable: true },
1083
- { param: "reminder", flag: "--reminder", repeatable: true },
1084
- { param: "event", flag: "--event", repeatable: true },
1085
- { param: "typeOption", flag: "--type-option", repeatable: true },
1086
- { param: "field", flag: "--field", repeatable: true },
1087
- { param: "unset", flag: "--unset", repeatable: true },
1088
- { param: "clearDeps", flag: "--clear-deps" },
1089
- { param: "clearComments", flag: "--clear-comments" },
1090
- { param: "clearNotes", flag: "--clear-notes" },
1091
- { param: "clearLearnings", flag: "--clear-learnings" },
1092
- { param: "clearFiles", flag: "--clear-files" },
1093
- { param: "clearTests", flag: "--clear-tests" },
1094
- { param: "clearDocs", flag: "--clear-docs" },
1095
- { param: "clearReminders", flag: "--clear-reminders" },
1096
- { param: "clearEvents", flag: "--clear-events" },
1097
- { param: "clearTypeOptions", flag: "--clear-type-options" },
1098
- { param: "allowAuditUpdate", flag: "--allow-audit-update" },
1099
- { param: "allowAuditDepUpdate", flag: "--allow-audit-dep-update" }
1100
- ];
1101
- var TOOL_BULK_MUTATION_FILTER_OPTION_CONTRACTS = [
1102
- { param: "filterStatus", flag: "--filter-status" },
1103
- { param: "filterType", flag: "--filter-type" },
1104
- { param: "filterTag", flag: "--filter-tag" },
1105
- { param: "filterPriority", flag: "--filter-priority" },
1106
- { param: "filterDeadlineBefore", flag: "--filter-deadline-before" },
1107
- { param: "filterDeadlineAfter", flag: "--filter-deadline-after" },
1108
- { param: "filterUpdatedAfter", flag: "--filter-updated-after" },
1109
- { param: "filterUpdatedBefore", flag: "--filter-updated-before" },
1110
- { param: "filterCreatedAfter", flag: "--filter-created-after" },
1111
- { param: "filterCreatedBefore", flag: "--filter-created-before" },
1112
- { param: "filterAssignee", flag: "--filter-assignee" },
1113
- { param: "filterAssigneeFilter", flag: "--filter-assignee-filter" },
1114
- { param: "filterParent", flag: "--filter-parent" },
1115
- { param: "filterSprint", flag: "--filter-sprint" },
1116
- { param: "filterRelease", flag: "--filter-release" },
1117
- { param: "filterReviewerMissing", flag: "--filter-reviewer-missing" },
1118
- { param: "filterRiskMissing", flag: "--filter-risk-missing" },
1119
- { param: "filterConfidenceMissing", flag: "--filter-confidence-missing" },
1120
- { param: "filterSprintMissing", flag: "--filter-sprint-missing" },
1121
- { param: "filterReleaseMissing", flag: "--filter-release-missing" },
1122
- { param: "filterHasNotes", flag: "--filter-has-notes" },
1123
- { param: "filterNoNotes", flag: "--filter-no-notes" },
1124
- { param: "filterHasLearnings", flag: "--filter-has-learnings" },
1125
- { param: "filterNoLearnings", flag: "--filter-no-learnings" },
1126
- { param: "filterHasFiles", flag: "--filter-has-files" },
1127
- { param: "filterNoFiles", flag: "--filter-no-files" },
1128
- { param: "filterHasDocs", flag: "--filter-has-docs" },
1129
- { param: "filterNoDocs", flag: "--filter-no-docs" },
1130
- { param: "filterHasTests", flag: "--filter-has-tests" },
1131
- { param: "filterNoTests", flag: "--filter-no-tests" },
1132
- { param: "filterHasComments", flag: "--filter-has-comments" },
1133
- { param: "filterNoComments", flag: "--filter-no-comments" },
1134
- { param: "filterHasDeps", flag: "--filter-has-deps" },
1135
- { param: "filterNoDeps", flag: "--filter-no-deps" },
1136
- { param: "filterHasBody", flag: "--filter-has-body" },
1137
- { param: "filterEmptyBody", flag: "--filter-empty-body" },
1138
- { param: "filterHasLinkedCommand", flag: "--filter-has-linked-command" },
1139
- { param: "filterNoLinkedCommand", flag: "--filter-no-linked-command" },
1140
- { param: "ids", flag: "--ids" },
1141
- { param: "limit", flag: "--limit" },
1142
- { param: "offset", flag: "--offset" }
1143
- ];
1144
- var TOOL_UPDATE_MANY_FILTER_OPTION_CONTRACTS = [
1145
- ...cloneOptionContracts(TOOL_BULK_MUTATION_FILTER_OPTION_CONTRACTS)
1146
- ];
1147
- var TOOL_NORMALIZE_FILTER_OPTION_CONTRACTS = [
1148
- { param: "filterStatus", flag: "--filter-status" },
1149
- { param: "filterType", flag: "--filter-type" },
1150
- { param: "filterTag", flag: "--filter-tag" },
1151
- { param: "filterPriority", flag: "--filter-priority" },
1152
- { param: "filterDeadlineBefore", flag: "--filter-deadline-before" },
1153
- { param: "filterDeadlineAfter", flag: "--filter-deadline-after" },
1154
- { param: "filterAssignee", flag: "--filter-assignee" },
1155
- { param: "filterAssigneeFilter", flag: "--filter-assignee-filter" },
1156
- { param: "filterParent", flag: "--filter-parent" },
1157
- { param: "filterSprint", flag: "--filter-sprint" },
1158
- { param: "filterRelease", flag: "--filter-release" },
1159
- { param: "limit", flag: "--limit" },
1160
- { param: "offset", flag: "--offset" }
1161
- ];
1162
- var TOOL_CLOSE_MANY_FILTER_OPTION_CONTRACTS = [
1163
- ...cloneOptionContracts(TOOL_BULK_MUTATION_FILTER_OPTION_CONTRACTS)
1164
- ];
1165
- var TOOL_CALENDAR_OPTION_CONTRACTS = [
1166
- { param: "view", flag: "--view" },
1167
- { param: "date", flag: "--date" },
1168
- { param: "from", flag: "--from" },
1169
- { param: "to", flag: "--to" },
1170
- { param: "type", flag: "--type" },
1171
- { param: "tag", flag: "--tag" },
1172
- { param: "priority", flag: "--priority" },
1173
- { param: "status", flag: "--status" },
1174
- { param: "assignee", flag: "--assignee" },
1175
- { param: "assigneeFilter", flag: "--assignee-filter" },
1176
- { param: "sprint", flag: "--sprint" },
1177
- { param: "release", flag: "--release" },
1178
- { param: "include", flag: "--include" },
1179
- { param: "recurrenceLookaheadDays", flag: "--recurrence-lookahead-days" },
1180
- { param: "recurrenceLookbackDays", flag: "--recurrence-lookback-days" },
1181
- { param: "occurrenceLimit", flag: "--occurrence-limit" },
1182
- { param: "limit", flag: "--limit" },
1183
- { param: "format", flag: "--format" }
1184
- ];
1185
- var TOOL_ACTIVITY_OPTION_CONTRACTS = [
1186
- { param: "id", flag: "--id" },
1187
- { param: "op", flag: "--op" },
1188
- { param: "author", flag: "--author" },
1189
- { param: "from", flag: "--from" },
1190
- { param: "to", flag: "--to" },
1191
- { param: "limit", flag: "--limit" },
1192
- { param: "compact", flag: "--compact" },
1193
- { param: "full", flag: "--full" }
1194
- ];
1195
- var TOOL_CONTEXT_OPTION_CONTRACTS = [
1196
- { param: "date", flag: "--date" },
1197
- { param: "from", flag: "--from" },
1198
- { param: "to", flag: "--to" },
1199
- { param: "type", flag: "--type" },
1200
- { param: "tag", flag: "--tag" },
1201
- { param: "priority", flag: "--priority" },
1202
- { param: "assignee", flag: "--assignee" },
1203
- { param: "assigneeFilter", flag: "--assignee-filter" },
1204
- { param: "sprint", flag: "--sprint" },
1205
- { param: "release", flag: "--release" },
1206
- { param: "parent", flag: "--parent" },
1207
- { param: "limit", flag: "--limit" },
1208
- { param: "format", flag: "--format" },
1209
- { param: "depth", flag: "--depth" },
1210
- { param: "fields", flag: "--fields" },
1211
- { param: "section", flag: "--section", repeatable: true },
1212
- { param: "activityLimit", flag: "--activity-limit" },
1213
- { param: "staleThreshold", flag: "--stale-threshold" }
1214
- ];
1215
- var TOOL_DEPS_OPTION_CONTRACTS = [
1216
- { param: "format", flag: "--format" },
1217
- { param: "maxDepth", flag: "--max-depth" },
1218
- { param: "collapse", flag: "--collapse" },
1219
- { param: "summary", flag: "--summary" }
1220
- ];
1221
-
1222
- // dist/sdk/cli-contracts/string-lists.js
1223
- !(function() {
1224
- try {
1225
- var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
1226
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0a0a1dd5-dcbf-5761-9fbd-2a6295769b97");
1227
- } catch (e2) {
1228
- }
1229
- })();
1230
- function normalizeUniqueStringList(values) {
1231
- return [...new Set(Array.from(values, (value) => value.trim()).filter((value) => value.length > 0))];
1232
- }
1233
-
1234
- // dist/sdk/cli-contracts/flag-contracts.js
1235
- !(function() {
1236
- try {
1237
- var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
1238
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "811631e4-861e-5bc1-a2c8-69a78ea43e67");
1239
- } catch (e2) {
1240
- }
1241
- })();
1242
- function normalizeFlagAliasKey(flag) {
1243
- if (!flag.startsWith("--")) {
1244
- return flag;
1245
- }
1246
- return `--${flag.slice(2).replaceAll("_", "-")}`;
1247
- }
1248
- function withFlagAliasMetadata(flagContracts) {
1249
- const aliasesByCanonical = /* @__PURE__ */ new Map();
1250
- for (const contract of flagContracts) {
1251
- const canonical = normalizeFlagAliasKey(contract.flag);
1252
- const bucket = aliasesByCanonical.get(canonical) ?? /* @__PURE__ */ new Set();
1253
- if (contract.flag !== canonical) {
1254
- bucket.add(contract.flag);
1255
- }
1256
- for (const alias of contract.aliases ?? []) {
1257
- if (alias !== canonical) {
1258
- bucket.add(alias);
1259
- }
1260
- }
1261
- aliasesByCanonical.set(canonical, bucket);
1262
- }
1263
- return flagContracts.map((contract) => {
1264
- const canonical = normalizeFlagAliasKey(contract.flag);
1265
- if (contract.flag !== canonical) {
1266
- return contract;
1267
- }
1268
- const aliases = normalizeUniqueStringList([
1269
- ...contract.aliases ?? [],
1270
- ...aliasesByCanonical.get(canonical)
1271
- ]).filter((alias) => alias !== canonical);
1272
- if (aliases.length === 0) {
1273
- return contract;
1274
- }
1275
- return {
1276
- ...contract,
1277
- aliases
1278
- };
1279
- });
1280
- }
1281
- function compactFlagAliasContracts(flagContracts) {
1282
- const withAliases = withFlagAliasMetadata(flagContracts);
1283
- const canonicalFlags = new Set(withAliases.map((contract) => contract.flag));
1284
- return withAliases.filter((contract) => {
1285
- const canonical = normalizeFlagAliasKey(contract.flag);
1286
- return contract.flag === canonical || !canonicalFlags.has(canonical);
1287
- });
1288
- }
1289
- var SUBCOMMAND_GLOBAL_FLAG_CONTRACTS = [
1290
- { flag: "--json" },
1291
- { flag: "--quiet" },
1292
- { flag: "--no-changed-fields" },
1293
- { flag: "--id-only" },
1294
- { flag: "--pm-path", aliases: ["--path"] },
1295
- { flag: "--no-extensions" },
1296
- { flag: "--no-pager" },
1297
- { flag: "--profile" },
1298
- { flag: "--help" }
1299
- ];
1300
- var GLOBAL_FLAG_CONTRACTS = [
1301
- ...SUBCOMMAND_GLOBAL_FLAG_CONTRACTS,
1302
- { flag: "--version" }
1303
- ];
1304
- var GOVERNANCE_AND_CONTENT_FILTER_FLAG_CONTRACTS = [
1305
- { flag: "--filter-reviewer-missing" },
1306
- { flag: "--filter-risk-missing" },
1307
- { flag: "--filter-confidence-missing" },
1308
- { flag: "--filter-sprint-missing" },
1309
- { flag: "--filter-release-missing" },
1310
- { flag: "--has-notes" },
1311
- { flag: "--no-notes" },
1312
- { flag: "--has-learnings" },
1313
- { flag: "--no-learnings" },
1314
- { flag: "--has-files" },
1315
- { flag: "--no-files" },
1316
- { flag: "--filter-files-missing" },
1317
- { flag: "--has-docs" },
1318
- { flag: "--no-docs" },
1319
- { flag: "--filter-docs-missing" },
1320
- { flag: "--has-tests" },
1321
- { flag: "--no-tests" },
1322
- { flag: "--has-comments" },
1323
- { flag: "--no-comments" },
1324
- { flag: "--has-deps" },
1325
- { flag: "--no-deps" },
1326
- { flag: "--has-body" },
1327
- { flag: "--empty-body" },
1328
- { flag: "--has-linked-command" },
1329
- { flag: "--no-linked-command" }
1330
- ];
1331
- var MANY_GOVERNANCE_AND_CONTENT_FILTER_FLAG_CONTRACTS = [
1332
- { flag: "--filter-reviewer-missing" },
1333
- { flag: "--filter-risk-missing" },
1334
- { flag: "--filter-confidence-missing" },
1335
- { flag: "--filter-sprint-missing" },
1336
- { flag: "--filter-release-missing" },
1337
- { flag: "--filter-has-notes" },
1338
- { flag: "--filter-no-notes" },
1339
- { flag: "--filter-has-learnings" },
1340
- { flag: "--filter-no-learnings" },
1341
- { flag: "--filter-has-files" },
1342
- { flag: "--filter-no-files" },
1343
- { flag: "--filter-has-docs" },
1344
- { flag: "--filter-no-docs" },
1345
- { flag: "--filter-has-tests" },
1346
- { flag: "--filter-no-tests" },
1347
- { flag: "--filter-has-comments" },
1348
- { flag: "--filter-no-comments" },
1349
- { flag: "--filter-has-deps" },
1350
- { flag: "--filter-no-deps" },
1351
- { flag: "--filter-has-body" },
1352
- { flag: "--filter-empty-body" },
1353
- { flag: "--filter-has-linked-command" },
1354
- { flag: "--filter-no-linked-command" },
1355
- { flag: "--ids", list: true },
1356
- { flag: "--limit" },
1357
- { flag: "--offset" }
1358
- ];
1359
- var LIST_FILTER_FLAG_CONTRACTS = [
1360
- { flag: "--status", list: true },
1361
- { flag: "--type" },
1362
- { flag: "--tag", aliases: ["--tags"] },
1363
- { flag: "--priority" },
1364
- { flag: "--deadline-before" },
1365
- { flag: "--deadline-after" },
1366
- { flag: "--updated-after" },
1367
- { flag: "--updated-before" },
1368
- { flag: "--created-after" },
1369
- { flag: "--created-before" },
1370
- { flag: "--ids", list: true },
1371
- { flag: "--assignee" },
1372
- { flag: "--assignee-filter" },
1373
- { flag: "--assignee_filter" },
1374
- { flag: "--parent" },
1375
- { flag: "--sprint" },
1376
- { flag: "--release" },
1377
- { flag: "--filter-ac-missing" },
1378
- { flag: "--filter-estimates-missing", aliases: ["--filter-estimate-missing"] },
1379
- { flag: "--filter-resolution-missing" },
1380
- { flag: "--filter-metadata-missing" },
1381
- ...GOVERNANCE_AND_CONTENT_FILTER_FLAG_CONTRACTS,
1382
- { flag: "--limit" },
1383
- { flag: "--offset" },
1384
- { flag: "--no-truncate", aliases: ["--all"] },
1385
- { flag: "--compact" },
1386
- { flag: "--brief" },
1387
- { flag: "--full" },
1388
- { flag: "--fields", list: true },
1389
- { flag: "--sort" },
1390
- { flag: "--order" },
1391
- { flag: "--tree" },
1392
- { flag: "--tree-depth" },
1393
- { flag: "--tree_depth" },
1394
- { flag: "--include-body" },
1395
- { flag: "--format" },
1396
- { flag: "--stream" }
1397
- ];
1398
- var AGGREGATE_FLAG_CONTRACTS = [
1399
- { flag: "--group-by", list: true },
1400
- { flag: "--count" },
1401
- { flag: "--completion" },
1402
- { flag: "--sum" },
1403
- { flag: "--avg" },
1404
- { flag: "--include-unparented" },
1405
- { flag: "--include_unparented" },
1406
- { flag: "--status" },
1407
- { flag: "--type" },
1408
- { flag: "--tag" },
1409
- { flag: "--priority" },
1410
- { flag: "--deadline-before" },
1411
- { flag: "--deadline-after" },
1412
- { flag: "--assignee" },
1413
- { flag: "--assignee-filter" },
1414
- { flag: "--assignee_filter" },
1415
- { flag: "--parent" },
1416
- { flag: "--sprint" },
1417
- { flag: "--release" }
1418
- ];
1419
- var DEDUPE_AUDIT_FLAG_CONTRACTS = [
1420
- { flag: "--mode" },
1421
- { flag: "--limit" },
1422
- { flag: "--threshold" },
1423
- { flag: "--status" },
1424
- { flag: "--type" },
1425
- { flag: "--tag" },
1426
- { flag: "--priority" },
1427
- { flag: "--deadline-before" },
1428
- { flag: "--deadline-after" },
1429
- { flag: "--assignee" },
1430
- { flag: "--assignee-filter" },
1431
- { flag: "--assignee_filter" },
1432
- { flag: "--parent" },
1433
- { flag: "--sprint" },
1434
- { flag: "--release" }
1435
- ];
1436
- var DEDUPE_MERGE_FLAG_CONTRACTS = [
1437
- { flag: "--keep" },
1438
- { flag: "--close", list: true },
1439
- { flag: "--apply" },
1440
- { flag: "--dry-run" },
1441
- { flag: "--skip-children" },
1442
- { flag: "--author" },
1443
- { flag: "--message" }
1444
- ];
1445
- var COMMENTS_AUDIT_FLAG_CONTRACTS = [
1446
- { flag: "--status" },
1447
- { flag: "--type" },
1448
- { flag: "--assignee" },
1449
- { flag: "--assignee-filter" },
1450
- { flag: "--assignee_filter" },
1451
- { flag: "--parent" },
1452
- { flag: "--tag" },
1453
- { flag: "--sprint" },
1454
- { flag: "--release" },
1455
- { flag: "--priority" },
1456
- { flag: "--limit-items" },
1457
- { flag: "--limit" },
1458
- { flag: "--full-history" },
1459
- { flag: "--latest" }
1460
- ];
1461
- var COMMENTS_FLAG_CONTRACTS = [
1462
- { flag: "--add", aliases: ["--comment"] },
1463
- { flag: "--stdin" },
1464
- { flag: "--file" },
1465
- { flag: "--edit" },
1466
- { flag: "--delete" },
1467
- { flag: "--limit" },
1468
- { flag: "--author" },
1469
- { flag: "--message" },
1470
- { flag: "--allow-audit-comment" },
1471
- { flag: "--force" }
1472
- ];
1473
- var NOTES_FLAG_CONTRACTS = [
1474
- { flag: "--add", aliases: ["--note"] },
1475
- { flag: "--limit" },
1476
- { flag: "--author" },
1477
- { flag: "--message" },
1478
- { flag: "--allow-audit-note" },
1479
- { flag: "--allow-audit-comment" },
1480
- { flag: "--force" }
1481
- ];
1482
- var LEARNINGS_FLAG_CONTRACTS = [
1483
- { flag: "--add", aliases: ["--learning"] },
1484
- { flag: "--limit" },
1485
- { flag: "--author" },
1486
- { flag: "--message" },
1487
- { flag: "--allow-audit-learning" },
1488
- { flag: "--allow-audit-comment" },
1489
- { flag: "--force" }
1490
- ];
1491
- var FILES_FLAG_CONTRACTS = [
1492
- { flag: "--add" },
1493
- { flag: "--add-glob" },
1494
- { flag: "--remove" },
1495
- { flag: "--migrate" },
1496
- // GH-170 (pm-pfnx): single-value note applied to every --add/--add-glob link
1497
- // in the invocation (embedded note= wins; usage error without an add).
1498
- { flag: "--note" },
1499
- { flag: "--list" },
1500
- { flag: "--append-stable" },
1501
- { flag: "--validate-paths" },
1502
- { flag: "--audit" },
1503
- { flag: "--author" },
1504
- { flag: "--message" },
1505
- { flag: "--force" }
1506
- ];
1507
- var DOCS_FLAG_CONTRACTS = [
1508
- { flag: "--add" },
1509
- { flag: "--add-glob" },
1510
- { flag: "--remove" },
1511
- { flag: "--migrate" },
1512
- // GH-170 (pm-pfnx): see FILES_FLAG_CONTRACTS --note.
1513
- { flag: "--note" },
1514
- { flag: "--list" },
1515
- { flag: "--validate-paths" },
1516
- { flag: "--audit" },
1517
- { flag: "--author" },
1518
- { flag: "--message" },
1519
- { flag: "--force" }
1520
- ];
1521
- var HISTORY_FLAG_CONTRACTS = [
1522
- { flag: "--limit" },
1523
- { flag: "--compact" },
1524
- { flag: "--full" },
1525
- { flag: "--diff" },
1526
- { flag: "--field" },
1527
- { flag: "--verify" },
1528
- { flag: "--format" }
1529
- ];
1530
- var HISTORY_REDACT_FLAG_CONTRACTS = [
1531
- { flag: "--literal" },
1532
- { flag: "--regex" },
1533
- { flag: "--replacement" },
1534
- { flag: "--dry-run" },
1535
- { flag: "--author" },
1536
- { flag: "--message" },
1537
- { flag: "--force" }
1538
- ];
1539
- var HISTORY_REPAIR_FLAG_CONTRACTS = [
1540
- { flag: "--all" },
1541
- { flag: "--dry-run" },
1542
- { flag: "--author" },
1543
- { flag: "--message" },
1544
- { flag: "--force" }
1545
- ];
1546
- var HISTORY_COMPACT_FLAG_CONTRACTS = [
1547
- { flag: "--before" },
1548
- { flag: "--ids", list: true },
1549
- { flag: "--all-over", value_type: "number" },
1550
- { flag: "--closed" },
1551
- { flag: "--all-streams" },
1552
- { flag: "--min-entries", value_type: "number" },
1553
- { flag: "--dry-run" },
1554
- { flag: "--author" },
1555
- { flag: "--message" },
1556
- { flag: "--force" }
1557
- ];
1558
- var SCHEMA_FLAG_CONTRACTS = [
1559
- { flag: "--description" },
1560
- { flag: "--default-status", aliases: ["--default_status"] },
1561
- { flag: "--folder" },
1562
- { flag: "--alias" },
1563
- // --role is a repeatable Commander collect flag (NOT a comma-list contract),
1564
- // mirroring --alias; list:false keeps the bootstrap coalescer from corrupting
1565
- // values.
1566
- { flag: "--role" },
1567
- { flag: "--order" },
1568
- // add-field flags (custom runtime fields). --commands/--required-types are
1569
- // repeatable Commander collect flags (comma-splitting handled in the action),
1570
- // so they stay off the comma-list contract for the same reason as --alias.
1571
- { flag: "--type" },
1572
- { flag: "--commands" },
1573
- { flag: "--cli-flag" },
1574
- { flag: "--required" },
1575
- { flag: "--required-on-create" },
1576
- { flag: "--no-allow-unset" },
1577
- { flag: "--required-types" },
1578
- // add-type --infer flags (title-prefix type inference).
1579
- { flag: "--infer" },
1580
- { flag: "--min-count" },
1581
- { flag: "--apply" },
1582
- { flag: "--author" },
1583
- { flag: "--force" }
1584
- ];
1585
- var PROFILE_FLAG_CONTRACTS = [
1586
- { flag: "--dry-run" },
1587
- { flag: "--author" },
1588
- { flag: "--force" }
1589
- ];
1590
- var PLAN_FLAG_CONTRACTS = [
1591
- { flag: "--title" },
1592
- { flag: "--description" },
1593
- { flag: "--scope" },
1594
- { flag: "--parent" },
1595
- { flag: "--related" },
1596
- { flag: "--blocks" },
1597
- { flag: "--blocked-by", aliases: ["--blocked_by"] },
1598
- { flag: "--harness" },
1599
- { flag: "--mode" },
1600
- { flag: "--resume-context", aliases: ["--resume_context"] },
1601
- { flag: "--tags", aliases: ["--tag"], list: true },
1602
- { flag: "--priority" },
1603
- { flag: "--body" },
1604
- { flag: "--claim" },
1605
- { flag: "--from-search", aliases: ["--from_search"] },
1606
- { flag: "--template" },
1607
- { flag: "--step-title", aliases: ["--step_title"] },
1608
- // pm-6mit: --step is a Commander collect repeatable (ordered step titles on
1609
- // create; single-value stepTitle alias elsewhere). It must NOT be list:true —
1610
- // the bootstrap coalescer comma-joins list flags and would corrupt titles
1611
- // containing commas.
1612
- { flag: "--step" },
1613
- { flag: "--step-body", aliases: ["--step_body"] },
1614
- { flag: "--step-owner", aliases: ["--step_owner"] },
1615
- { flag: "--step-status", aliases: ["--step_status"] },
1616
- { flag: "--step-evidence", aliases: ["--step_evidence"] },
1617
- { flag: "--step-blocked-reason", aliases: ["--step_blocked_reason"] },
1618
- { flag: "--step-replacement", aliases: ["--step_replacement"] },
1619
- { flag: "--depends-on", aliases: ["--depends_on"] },
1620
- { flag: "--link" },
1621
- { flag: "--link-kind", aliases: ["--link_kind"] },
1622
- { flag: "--link-note", aliases: ["--link_note"] },
1623
- { flag: "--promote-to-item-dep", aliases: ["--promote_to_item_dep"] },
1624
- { flag: "--allow-multiple-active", aliases: ["--allow_multiple_active"] },
1625
- { flag: "--file" },
1626
- { flag: "--test" },
1627
- { flag: "--doc" },
1628
- { flag: "--decision-text", aliases: ["--decision_text", "--decision"] },
1629
- { flag: "--decision-rationale", aliases: ["--decision_rationale"] },
1630
- { flag: "--decision-evidence", aliases: ["--decision_evidence"] },
1631
- { flag: "--discovery-text", aliases: ["--discovery_text", "--discovery"] },
1632
- { flag: "--validation-text", aliases: ["--validation_text", "--validation"] },
1633
- { flag: "--validation-command", aliases: ["--validation_command"] },
1634
- { flag: "--validation-expected", aliases: ["--validation_expected"] },
1635
- { flag: "--depth" },
1636
- { flag: "--fields", list: true },
1637
- { flag: "--steps" },
1638
- { flag: "--materialize-type", aliases: ["--materialize_type"] },
1639
- { flag: "--materialize-parent", aliases: ["--materialize_parent"] },
1640
- { flag: "--materialize-tags", aliases: ["--materialize_tags"] },
1641
- { flag: "--author" },
1642
- { flag: "--message" },
1643
- { flag: "--force" }
1644
- ];
1645
- var INIT_FLAG_CONTRACTS = [
1646
- { flag: "--preset" },
1647
- { flag: "--type-preset" },
1648
- { flag: "--defaults", short: "-y", aliases: ["--yes"] },
1649
- { flag: "--author" },
1650
- { flag: "--agent-guidance" },
1651
- { flag: "--with-packages" },
1652
- { flag: "--force" },
1653
- { flag: "--verbose" }
1654
- ];
1655
- var CONFIG_FLAG_CONTRACTS = [
1656
- { flag: "--criterion" },
1657
- { flag: "--clear-criteria" },
1658
- { flag: "--format" },
1659
- { flag: "--policy" },
1660
- { flag: "--default-depth" },
1661
- { flag: "--activity-limit" },
1662
- { flag: "--stale-threshold-days" },
1663
- { flag: "--section-hierarchy" },
1664
- { flag: "--section-activity" },
1665
- { flag: "--section-progress" },
1666
- { flag: "--section-blockers" },
1667
- { flag: "--section-files" },
1668
- { flag: "--section-workload" },
1669
- { flag: "--section-staleness" },
1670
- { flag: "--section-tests" }
1671
- ];
1672
- var EXTENSION_FLAG_CONTRACTS = [
1673
- { flag: "--init" },
1674
- { flag: "--scaffold" },
1675
- { flag: "--capability" },
1676
- { flag: "--install" },
1677
- { flag: "--uninstall" },
1678
- { flag: "--explore" },
1679
- { flag: "--list" },
1680
- { flag: "--manage" },
1681
- { flag: "--describe" },
1682
- { flag: "--markdown" },
1683
- { flag: "--output" },
1684
- { flag: "--reload" },
1685
- { flag: "--watch" },
1686
- { flag: "--doctor" },
1687
- { flag: "--catalog" },
1688
- { flag: "--adopt" },
1689
- { flag: "--adopt-all" },
1690
- { flag: "--activate" },
1691
- { flag: "--deactivate" },
1692
- { flag: "--project" },
1693
- { flag: "--local" },
1694
- { flag: "--global" },
1695
- { flag: "--gh" },
1696
- { flag: "--github" },
1697
- { flag: "--ref" },
1698
- { flag: "--detail" },
1699
- { flag: "--trace" },
1700
- { flag: "--runtime-probe" },
1701
- { flag: "--fix-managed-state" },
1702
- { flag: "--strict-exit" },
1703
- { flag: "--fail-on-warn" }
1704
- ];
1705
- var EXTENSION_SCOPE_FLAG_CONTRACTS = [
1706
- { flag: "--project" },
1707
- { flag: "--local" },
1708
- { flag: "--global" }
1709
- ];
1710
- var EXTENSION_INIT_FLAG_CONTRACTS = [
1711
- ...EXTENSION_SCOPE_FLAG_CONTRACTS,
1712
- { flag: "--capability" }
1713
- ];
1714
- var PACKAGE_FLAG_CONTRACTS = [...EXTENSION_FLAG_CONTRACTS, { flag: "--declarative" }];
1715
- var PACKAGE_INIT_FLAG_CONTRACTS = [...EXTENSION_INIT_FLAG_CONTRACTS, { flag: "--declarative" }];
1716
- var EXTENSION_INSTALL_FLAG_CONTRACTS = [
1717
- { flag: "--project" },
1718
- { flag: "--local" },
1719
- { flag: "--global" },
1720
- { flag: "--gh" },
1721
- { flag: "--github" },
1722
- { flag: "--ref" }
1723
- ];
1724
- var EXTENSION_UNINSTALL_FLAG_CONTRACTS = EXTENSION_SCOPE_FLAG_CONTRACTS;
1725
- var EXTENSION_EXPLORE_FLAG_CONTRACTS = EXTENSION_SCOPE_FLAG_CONTRACTS;
1726
- var EXTENSION_DESCRIBE_FLAG_CONTRACTS = [
1727
- ...EXTENSION_SCOPE_FLAG_CONTRACTS,
1728
- { flag: "--markdown" },
1729
- { flag: "--output" }
1730
- ];
1731
- var EXTENSION_ADOPT_ALL_FLAG_CONTRACTS = EXTENSION_SCOPE_FLAG_CONTRACTS;
1732
- var EXTENSION_ACTIVATE_FLAG_CONTRACTS = EXTENSION_SCOPE_FLAG_CONTRACTS;
1733
- var EXTENSION_DEACTIVATE_FLAG_CONTRACTS = EXTENSION_SCOPE_FLAG_CONTRACTS;
1734
- var EXTENSION_MANAGE_FLAG_CONTRACTS = [
1735
- ...EXTENSION_SCOPE_FLAG_CONTRACTS,
1736
- { flag: "--runtime-probe" },
1737
- { flag: "--fix-managed-state" }
1738
- ];
1739
- var EXTENSION_RELOAD_FLAG_CONTRACTS = [
1740
- ...EXTENSION_SCOPE_FLAG_CONTRACTS,
1741
- { flag: "--watch" }
1742
- ];
1743
- var EXTENSION_DOCTOR_FLAG_CONTRACTS = [
1744
- ...EXTENSION_SCOPE_FLAG_CONTRACTS,
1745
- { flag: "--detail" },
1746
- { flag: "--trace" },
1747
- { flag: "--fix-managed-state" },
1748
- { flag: "--strict-exit" },
1749
- { flag: "--fail-on-warn" }
1750
- ];
1751
- var EXTENSION_CATALOG_FLAG_CONTRACTS = [
1752
- ...EXTENSION_SCOPE_FLAG_CONTRACTS,
1753
- { flag: "--fields", list: true }
1754
- ];
1755
- var EXTENSION_ADOPT_FLAG_CONTRACTS = [
1756
- ...EXTENSION_SCOPE_FLAG_CONTRACTS,
1757
- { flag: "--gh" },
1758
- { flag: "--github" },
1759
- { flag: "--ref" }
1760
- ];
1761
- var INSTALL_FLAG_CONTRACTS = [
1762
- { flag: "--project" },
1763
- { flag: "--local" },
1764
- { flag: "--global" },
1765
- { flag: "--gh" },
1766
- { flag: "--github" },
1767
- { flag: "--ref" }
1768
- ];
1769
- var UPGRADE_FLAG_CONTRACTS = [
1770
- { flag: "--dry-run" },
1771
- { flag: "--cli-only" },
1772
- { flag: "--packages-only" },
1773
- { flag: "--project" },
1774
- { flag: "--local" },
1775
- { flag: "--global" },
1776
- { flag: "--repair" },
1777
- { flag: "--tag" },
1778
- { flag: "--package-name" }
1779
- ];
1780
- var REINDEX_FLAG_CONTRACTS = [
1781
- { flag: "--mode" },
1782
- { flag: "--progress" }
1783
- ];
1784
- var CLOSE_FLAG_CONTRACTS = [
1785
- { flag: "--reason" },
1786
- { flag: "--close-reason" },
1787
- { flag: "--duplicate-of" },
1788
- { flag: "--author" },
1789
- { flag: "--message" },
1790
- { flag: "--validate-close" },
1791
- // pm-fl0c #11 (2026-05-28) + Codex P2 follow-up: inline closure-validation
1792
- // fields. Surface them through the contract so `pm contracts --command
1793
- // close`, the JSON help payload, and bootstrap flag normalization /
1794
- // suggestions all stay consistent with the commander registration.
1795
- { flag: "--resolution" },
1796
- { flag: "--expected-result", aliases: ["--expected_result", "--expected"] },
1797
- { flag: "--actual-result", aliases: ["--actual_result", "--actual"] },
1798
- { flag: "--force" }
1799
- ];
1800
- var CLOSE_MANY_FLAG_CONTRACTS = [
1801
- { flag: "--filter-status", list: true },
1802
- { flag: "--filter-type" },
1803
- { flag: "--filter-tag" },
1804
- { flag: "--filter-priority" },
1805
- { flag: "--filter-deadline-before" },
1806
- { flag: "--filter-deadline-after" },
1807
- { flag: "--filter-updated-after" },
1808
- { flag: "--filter-updated-before" },
1809
- { flag: "--filter-created-after" },
1810
- { flag: "--filter-created-before" },
1811
- { flag: "--filter-assignee" },
1812
- { flag: "--filter-assignee-filter" },
1813
- { flag: "--filter-assignee_filter" },
1814
- { flag: "--filter-parent" },
1815
- { flag: "--filter-sprint" },
1816
- { flag: "--filter-release" },
1817
- ...MANY_GOVERNANCE_AND_CONTENT_FILTER_FLAG_CONTRACTS,
1818
- { flag: "--reason" },
1819
- { flag: "--resolution" },
1820
- { flag: "--expected-result", aliases: ["--expected_result", "--expected"] },
1821
- { flag: "--actual-result", aliases: ["--actual_result", "--actual"] },
1822
- { flag: "--validate-close" },
1823
- { flag: "--author" },
1824
- { flag: "--message" },
1825
- { flag: "--force" },
1826
- { flag: "--dry-run" },
1827
- { flag: "--rollback" },
1828
- { flag: "--no-checkpoint" }
1829
- ];
1830
- var APPEND_FLAG_CONTRACTS = [
1831
- { flag: "--body", short: "-b" },
1832
- { flag: "--author" },
1833
- { flag: "--message" },
1834
- { flag: "--force" }
1835
- ];
1836
- var CLAIM_FLAG_CONTRACTS = [
1837
- { flag: "--author" },
1838
- { flag: "--message" },
1839
- { flag: "--force" }
1840
- ];
1841
- var RESTORE_FLAG_CONTRACTS = [
1842
- { flag: "--author" },
1843
- { flag: "--message" },
1844
- { flag: "--force" }
1845
- ];
1846
- var DELETE_FLAG_CONTRACTS = [
1847
- { flag: "--dry-run" },
1848
- { flag: "--author" },
1849
- { flag: "--message" },
1850
- { flag: "--force" }
1851
- ];
1852
- var RELEASE_FLAG_CONTRACTS = [
1853
- { flag: "--author" },
1854
- { flag: "--message" },
1855
- { flag: "--allow-audit-release" },
1856
- { flag: "--force" }
1857
- ];
1858
- var START_TASK_FLAG_CONTRACTS = [
1859
- { flag: "--author" },
1860
- { flag: "--message" },
1861
- { flag: "--force" }
1862
- ];
1863
- var PAUSE_TASK_FLAG_CONTRACTS = [
1864
- { flag: "--author" },
1865
- { flag: "--message" },
1866
- { flag: "--force" }
1867
- ];
1868
- var CLOSE_TASK_FLAG_CONTRACTS = [
1869
- { flag: "--author" },
1870
- { flag: "--message" },
1871
- { flag: "--validate-close" },
1872
- { flag: "--force" }
1873
- ];
1874
- var SCHEDULING_SHORTCUT_COMMON_FLAG_CONTRACTS = [
1875
- { flag: "--parent" },
1876
- { flag: "--allow-missing-parent" },
1877
- { flag: "--tags" },
1878
- { flag: "--priority" },
1879
- { flag: "--body" },
1880
- { flag: "--description" },
1881
- { flag: "--author" },
1882
- { flag: "--message" }
1883
- ];
1884
- var MEET_FLAG_CONTRACTS = [
1885
- { flag: "--start" },
1886
- { flag: "--duration" },
1887
- { flag: "--end" },
1888
- { flag: "--location" },
1889
- { flag: "--timezone" },
1890
- { flag: "--all-day" },
1891
- ...SCHEDULING_SHORTCUT_COMMON_FLAG_CONTRACTS
1892
- ];
1893
- var EVENT_FLAG_CONTRACTS = MEET_FLAG_CONTRACTS;
1894
- var REMIND_FLAG_CONTRACTS = [
1895
- { flag: "--at" },
1896
- { flag: "--text" },
1897
- ...SCHEDULING_SHORTCUT_COMMON_FLAG_CONTRACTS
1898
- ];
1899
- var TEST_FLAG_CONTRACTS = [
1900
- { flag: "--add" },
1901
- { flag: "--add-json" },
1902
- { flag: "--remove" },
1903
- { flag: "--run" },
1904
- { flag: "--match" },
1905
- { flag: "--only-index" },
1906
- { flag: "--only-last" },
1907
- { flag: "--background" },
1908
- { flag: "--timeout" },
1909
- { flag: "--progress" },
1910
- { flag: "--env-set" },
1911
- { flag: "--env-clear" },
1912
- { flag: "--shared-host-safe" },
1913
- { flag: "--pm-context" },
1914
- { flag: "--override-linked-pm-context" },
1915
- { flag: "--fail-on-context-mismatch" },
1916
- { flag: "--fail-on-skipped" },
1917
- { flag: "--fail-on-empty-test-run" },
1918
- { flag: "--require-assertions-for-pm" },
1919
- { flag: "--check-context" },
1920
- { flag: "--auto-pm-context" },
1921
- { flag: "--author" },
1922
- { flag: "--message" },
1923
- { flag: "--force" }
1924
- ];
1925
- var TEST_ALL_FLAG_CONTRACTS = [
1926
- { flag: "--status" },
1927
- { flag: "--limit" },
1928
- { flag: "--offset" },
1929
- { flag: "--background" },
1930
- { flag: "--timeout" },
1931
- { flag: "--progress" },
1932
- { flag: "--env-set" },
1933
- { flag: "--env-clear" },
1934
- { flag: "--shared-host-safe" },
1935
- { flag: "--pm-context" },
1936
- { flag: "--override-linked-pm-context" },
1937
- { flag: "--fail-on-context-mismatch" },
1938
- { flag: "--fail-on-skipped" },
1939
- { flag: "--fail-on-empty-test-run" },
1940
- { flag: "--require-assertions-for-pm" },
1941
- { flag: "--check-context" },
1942
- { flag: "--auto-pm-context" }
1943
- ];
1944
- var TELEMETRY_FLAG_CONTRACTS = [
1945
- { flag: "--limit" }
1946
- ];
1947
- var TEST_RUNS_FLAG_CONTRACTS = [
1948
- { flag: "--status" },
1949
- { flag: "--limit" },
1950
- { flag: "--stream" },
1951
- { flag: "--tail" },
1952
- { flag: "--force" },
1953
- { flag: "--author" }
1954
- ];
1955
- var GC_FLAG_CONTRACTS = [
1956
- { flag: "--dry-run" },
1957
- { flag: "--scope" }
1958
- ];
1959
- var STATS_FLAG_CONTRACTS = [
1960
- { flag: "--storage" },
1961
- { flag: "--metadata-coverage" },
1962
- { flag: "--field-utilization" },
1963
- { flag: "--by-assignee" },
1964
- { flag: "--by-tag" },
1965
- { flag: "--by-priority" },
1966
- { flag: "--tag-prefix" }
1967
- ];
1968
- var HEALTH_FLAG_CONTRACTS = [
1969
- { flag: "--strict-directories" },
1970
- { flag: "--strict-exit" },
1971
- { flag: "--fail-on-warn" },
1972
- { flag: "--check-only" },
1973
- { flag: "--check-telemetry" },
1974
- { flag: "--no-refresh" },
1975
- { flag: "--refresh-vectors" },
1976
- { flag: "--verbose-stale-items" },
1977
- { flag: "--brief" },
1978
- { flag: "--summary" },
1979
- { flag: "--skip-vectors" },
1980
- { flag: "--skip-integrity" },
1981
- { flag: "--skip-drift" },
1982
- { flag: "--full" }
1983
- ];
1984
- var VALIDATE_FLAG_CONTRACTS = [
1985
- { flag: "--check-metadata" },
1986
- { flag: "--metadata-profile" },
1987
- { flag: "--check-resolution" },
1988
- { flag: "--check-lifecycle" },
1989
- { flag: "--check-stale-blockers" },
1990
- { flag: "--dependency-cycle-severity" },
1991
- { flag: "--parent-cycle-severity" },
1992
- { flag: "--check-files" },
1993
- { flag: "--scan-mode" },
1994
- { flag: "--include-pm-internals" },
1995
- { flag: "--verbose-file-lists" },
1996
- { flag: "--verbose-diagnostics" },
1997
- { flag: "--all-affected-ids" },
1998
- { flag: "--strict-exit" },
1999
- { flag: "--fail-on-warn" },
2000
- { flag: "--fix-hints" },
2001
- { flag: "--auto-fix" },
2002
- { flag: "--dry-run" },
2003
- // NOT list:true — repeatable via Commander's collector; the bootstrap
2004
- // coalescer must not comma-join occurrences (values may also be
2005
- // comma-separated lists which the resolver splits itself).
2006
- { flag: "--fix-scope" },
2007
- { flag: "--prune-missing" },
2008
- { flag: "--check-history-drift" },
2009
- { flag: "--check-command-references" }
2010
- ];
2011
- var CREATE_FLAG_CONTRACTS = [
2012
- { short: "-t", flag: "--title" },
2013
- { flag: "--id" },
2014
- { short: "-d", flag: "--description" },
2015
- { flag: "--type" },
2016
- { flag: "--template" },
2017
- { flag: "--create-mode" },
2018
- { flag: "--create_mode" },
2019
- { flag: "--schedule-preset" },
2020
- { flag: "--schedule_preset" },
2021
- { short: "-s", flag: "--status" },
2022
- { short: "-p", flag: "--priority" },
2023
- { flag: "--tags", aliases: ["--tag"], list: true },
2024
- // NOT list:true — these use Commander's repeatable collector. Marking them
2025
- // list:true would make the bootstrap coalescer comma-join repeated
2026
- // occurrences (`--add-tags '["a","b"]' --add-tags c` -> `["a","b"],c`),
2027
- // corrupting the JSON-array value form before parseTags sees it.
2028
- { flag: "--add-tags", aliases: ["--add_tags"] },
2029
- { short: "-b", flag: "--body" },
2030
- { flag: "--body-file" },
2031
- { flag: "--deadline" },
2032
- { flag: "--estimate" },
2033
- { flag: "--estimated-minutes" },
2034
- { flag: "--estimated_minutes" },
2035
- { flag: "--acceptance-criteria" },
2036
- { flag: "--acceptance_criteria" },
2037
- { flag: "--ac" },
2038
- { flag: "--author" },
2039
- { flag: "--message" },
2040
- { flag: "--assignee" },
2041
- { flag: "--parent" },
2042
- { flag: "--allow-missing-parent" },
2043
- { flag: "--reviewer" },
2044
- { flag: "--risk" },
2045
- { flag: "--confidence" },
2046
- { flag: "--sprint" },
2047
- { flag: "--release" },
2048
- { flag: "--blocked-by" },
2049
- { flag: "--blocked-reason" },
2050
- { flag: "--unblock-note" },
2051
- { flag: "--reporter" },
2052
- { flag: "--severity" },
2053
- { flag: "--environment" },
2054
- { flag: "--repro-steps" },
2055
- { flag: "--resolution" },
2056
- { flag: "--expected-result" },
2057
- { flag: "--actual-result" },
2058
- { flag: "--affected-version" },
2059
- { flag: "--fixed-version" },
2060
- { flag: "--component" },
2061
- { flag: "--regression" },
2062
- { flag: "--customer-impact" },
2063
- { flag: "--customer_impact" },
2064
- { flag: "--definition-of-ready" },
2065
- { flag: "--definition_of_ready" },
2066
- { flag: "--order" },
2067
- { flag: "--rank" },
2068
- { flag: "--goal" },
2069
- { flag: "--objective" },
2070
- { flag: "--value" },
2071
- { flag: "--impact" },
2072
- { flag: "--outcome" },
2073
- { flag: "--why-now" },
2074
- { flag: "--why_now" },
2075
- { flag: "--blocked_by" },
2076
- { flag: "--blocked_reason" },
2077
- { flag: "--unblock_note" },
2078
- { flag: "--repro_steps" },
2079
- { flag: "--expected_result" },
2080
- { flag: "--actual_result" },
2081
- { flag: "--expected" },
2082
- { flag: "--actual" },
2083
- { flag: "--affected_version" },
2084
- { flag: "--fixed_version" },
2085
- { flag: "--dep" },
2086
- { flag: "--type-option" },
2087
- { flag: "--type_option" },
2088
- { flag: "--field" },
2089
- { flag: "--reminder" },
2090
- { flag: "--event" },
2091
- { flag: "--comment" },
2092
- { flag: "--note" },
2093
- { flag: "--learning" },
2094
- { flag: "--file" },
2095
- { flag: "--test" },
2096
- { flag: "--doc" },
2097
- { flag: "--unset" },
2098
- { flag: "--clear-deps" },
2099
- { flag: "--clear-comments" },
2100
- { flag: "--clear-notes" },
2101
- { flag: "--clear-learnings" },
2102
- { flag: "--clear-files" },
2103
- { flag: "--clear-tests" },
2104
- { flag: "--clear-docs" },
2105
- { flag: "--clear-reminders" },
2106
- { flag: "--clear-events" },
2107
- { flag: "--clear-type-options" }
2108
- ];
2109
- var COPY_FLAG_CONTRACTS = [
2110
- { flag: "--title" },
2111
- { flag: "--author" },
2112
- { flag: "--message" }
2113
- ];
2114
- var FOCUS_FLAG_CONTRACTS = [
2115
- { flag: "--clear" }
2116
- ];
2117
- var UPDATE_FLAG_CONTRACTS = [
2118
- { short: "-t", flag: "--title" },
2119
- { short: "-d", flag: "--description" },
2120
- { short: "-b", flag: "--body" },
2121
- { flag: "--body-file" },
2122
- { short: "-s", flag: "--status" },
2123
- { flag: "--close-reason" },
2124
- { flag: "--close_reason" },
2125
- { short: "-p", flag: "--priority" },
2126
- { flag: "--type" },
2127
- { flag: "--tags", aliases: ["--tag"], list: true },
2128
- // NOT list:true — Commander's repeatable collector accumulates these, so
2129
- // bootstrap coalescing must not comma-join repeated occurrences (it would
2130
- // corrupt JSON-array values like `--add-tags '["a","b"]' --add-tags c`).
2131
- { flag: "--add-tags", aliases: ["--add_tags"] },
2132
- { flag: "--remove-tags", aliases: ["--remove_tags"] },
2133
- { flag: "--deadline" },
2134
- { flag: "--estimate" },
2135
- { flag: "--estimated-minutes" },
2136
- { flag: "--estimated_minutes" },
2137
- { flag: "--acceptance-criteria" },
2138
- { flag: "--acceptance_criteria" },
2139
- { flag: "--ac" },
2140
- { flag: "--assignee" },
2141
- { flag: "--parent" },
2142
- { flag: "--reviewer" },
2143
- { flag: "--risk" },
2144
- { flag: "--confidence" },
2145
- { flag: "--sprint" },
2146
- { flag: "--release" },
2147
- { flag: "--blocked-by" },
2148
- { flag: "--blocked-reason" },
2149
- { flag: "--unblock-note" },
2150
- { flag: "--reporter" },
2151
- { flag: "--severity" },
2152
- { flag: "--environment" },
2153
- { flag: "--repro-steps" },
2154
- { flag: "--resolution" },
2155
- { flag: "--expected-result" },
2156
- { flag: "--actual-result" },
2157
- { flag: "--affected-version" },
2158
- { flag: "--fixed-version" },
2159
- { flag: "--fixed_version" },
2160
- { flag: "--component" },
2161
- { flag: "--regression" },
2162
- { flag: "--customer-impact" },
2163
- { flag: "--customer_impact" },
2164
- { flag: "--definition-of-ready" },
2165
- { flag: "--definition_of_ready" },
2166
- { flag: "--order" },
2167
- { flag: "--rank" },
2168
- { flag: "--goal" },
2169
- { flag: "--objective" },
2170
- { flag: "--value" },
2171
- { flag: "--impact" },
2172
- { flag: "--outcome" },
2173
- { flag: "--why-now" },
2174
- { flag: "--why_now" },
2175
- { flag: "--author" },
2176
- { flag: "--message" },
2177
- { flag: "--blocked_by" },
2178
- { flag: "--blocked_reason" },
2179
- { flag: "--unblock_note" },
2180
- { flag: "--repro_steps" },
2181
- { flag: "--expected_result" },
2182
- { flag: "--actual_result" },
2183
- { flag: "--expected" },
2184
- { flag: "--actual" },
2185
- { flag: "--affected_version" },
2186
- { flag: "--dep" },
2187
- { flag: "--dep-remove" },
2188
- { flag: "--dep_remove" },
2189
- { flag: "--replace-deps" },
2190
- { flag: "--replace-tests" },
2191
- { flag: "--comment" },
2192
- { flag: "--note" },
2193
- { flag: "--learning" },
2194
- { flag: "--file" },
2195
- { flag: "--test" },
2196
- { flag: "--doc" },
2197
- { flag: "--reminder" },
2198
- { flag: "--event" },
2199
- { flag: "--type-option" },
2200
- { flag: "--type_option" },
2201
- { flag: "--field" },
2202
- { flag: "--unset" },
2203
- { flag: "--clear-deps" },
2204
- { flag: "--clear-comments" },
2205
- { flag: "--clear-notes" },
2206
- { flag: "--clear-learnings" },
2207
- { flag: "--clear-files" },
2208
- { flag: "--clear-tests" },
2209
- { flag: "--clear-docs" },
2210
- { flag: "--clear-reminders" },
2211
- { flag: "--clear-events" },
2212
- { flag: "--clear-type-options" },
2213
- { flag: "--allow-audit-update" },
2214
- { flag: "--allow_audit_update" },
2215
- { flag: "--allow-audit-dep-update" },
2216
- { flag: "--allow_audit_dep_update" },
2217
- { flag: "--force" }
2218
- ];
2219
- var UPDATE_MANY_FLAG_CONTRACTS = [
2220
- { flag: "--filter-status" },
2221
- { flag: "--filter-type" },
2222
- { flag: "--filter-tag" },
2223
- { flag: "--filter-priority" },
2224
- { flag: "--filter-deadline-before" },
2225
- { flag: "--filter-deadline-after" },
2226
- { flag: "--filter-updated-after" },
2227
- { flag: "--filter-updated-before" },
2228
- { flag: "--filter-created-after" },
2229
- { flag: "--filter-created-before" },
2230
- { flag: "--filter-assignee" },
2231
- { flag: "--filter-assignee-filter" },
2232
- { flag: "--filter-assignee_filter" },
2233
- { flag: "--filter-parent" },
2234
- { flag: "--filter-sprint" },
2235
- { flag: "--filter-release" },
2236
- { flag: "--filter-ac-missing" },
2237
- { flag: "--filter-estimates-missing", aliases: ["--filter-estimate-missing"] },
2238
- { flag: "--filter-resolution-missing" },
2239
- { flag: "--filter-metadata-missing" },
2240
- ...MANY_GOVERNANCE_AND_CONTENT_FILTER_FLAG_CONTRACTS,
2241
- { flag: "--dry-run" },
2242
- { flag: "--rollback" },
2243
- { flag: "--no-checkpoint" },
2244
- { short: "-t", flag: "--title" },
2245
- { short: "-d", flag: "--description" },
2246
- { short: "-b", flag: "--body" },
2247
- { short: "-p", flag: "--priority" },
2248
- { flag: "--type" },
2249
- { flag: "--tags", aliases: ["--tag"], list: true },
2250
- // NOT list:true — Commander's repeatable collector accumulates these, so
2251
- // bootstrap coalescing must not comma-join repeated occurrences (it would
2252
- // corrupt JSON-array values like `--add-tags '["a","b"]' --add-tags c`).
2253
- { flag: "--add-tags", aliases: ["--add_tags"] },
2254
- { flag: "--remove-tags", aliases: ["--remove_tags"] },
2255
- { flag: "--deadline" },
2256
- { flag: "--estimate" },
2257
- { flag: "--estimated-minutes" },
2258
- { flag: "--estimated_minutes" },
2259
- { flag: "--acceptance-criteria" },
2260
- { flag: "--acceptance_criteria" },
2261
- { flag: "--ac" },
2262
- { flag: "--definition-of-ready" },
2263
- { flag: "--definition_of_ready" },
2264
- { flag: "--order" },
2265
- { flag: "--rank" },
2266
- { flag: "--goal" },
2267
- { flag: "--objective" },
2268
- { flag: "--value" },
2269
- { flag: "--impact" },
2270
- { flag: "--outcome" },
2271
- { flag: "--why-now" },
2272
- { flag: "--why_now" },
2273
- { flag: "--reviewer" },
2274
- { flag: "--risk" },
2275
- { flag: "--confidence" },
2276
- { flag: "--sprint" },
2277
- { flag: "--release" },
2278
- { flag: "--reporter" },
2279
- { flag: "--severity" },
2280
- { flag: "--environment" },
2281
- { flag: "--repro-steps" },
2282
- { flag: "--repro_steps" },
2283
- { flag: "--resolution" },
2284
- { flag: "--expected-result" },
2285
- { flag: "--expected_result" },
2286
- { flag: "--expected" },
2287
- { flag: "--actual-result" },
2288
- { flag: "--actual_result" },
2289
- { flag: "--actual" },
2290
- { flag: "--affected-version" },
2291
- { flag: "--affected_version" },
2292
- { flag: "--fixed-version" },
2293
- { flag: "--fixed_version" },
2294
- { flag: "--component" },
2295
- { flag: "--regression" },
2296
- { flag: "--customer-impact" },
2297
- { flag: "--customer_impact" },
2298
- { flag: "--dep" },
2299
- { flag: "--dep-remove" },
2300
- { flag: "--dep_remove" },
2301
- { flag: "--replace-deps" },
2302
- { flag: "--replace-tests" },
2303
- { flag: "--comment" },
2304
- { flag: "--note" },
2305
- { flag: "--learning" },
2306
- { flag: "--file" },
2307
- { flag: "--test" },
2308
- { flag: "--doc" },
2309
- { flag: "--reminder" },
2310
- { flag: "--event" },
2311
- { flag: "--type-option" },
2312
- { flag: "--type_option" },
2313
- { flag: "--unset" },
2314
- { flag: "--clear-deps" },
2315
- { flag: "--clear-comments" },
2316
- { flag: "--clear-notes" },
2317
- { flag: "--clear-learnings" },
2318
- { flag: "--clear-files" },
2319
- { flag: "--clear-tests" },
2320
- { flag: "--clear-docs" },
2321
- { flag: "--clear-reminders" },
2322
- { flag: "--clear-events" },
2323
- { flag: "--clear-type-options" },
2324
- { flag: "--allow-audit-update" },
2325
- { flag: "--allow_audit_update" },
2326
- { flag: "--allow-audit-dep-update" },
2327
- { flag: "--allow_audit_dep_update" },
2328
- { flag: "--author" },
2329
- { flag: "--message" },
2330
- { flag: "--force" }
2331
- ];
2332
- var NORMALIZE_FLAG_CONTRACTS = [
2333
- { flag: "--filter-status" },
2334
- { flag: "--filter-type" },
2335
- { flag: "--filter-tag" },
2336
- { flag: "--filter-priority" },
2337
- { flag: "--filter-deadline-before" },
2338
- { flag: "--filter-deadline-after" },
2339
- { flag: "--filter-assignee" },
2340
- { flag: "--filter-assignee-filter" },
2341
- { flag: "--filter-assignee_filter" },
2342
- { flag: "--filter-parent" },
2343
- { flag: "--filter-sprint" },
2344
- { flag: "--filter-release" },
2345
- { flag: "--limit" },
2346
- { flag: "--offset" },
2347
- { flag: "--dry-run" },
2348
- { flag: "--apply" },
2349
- { flag: "--author" },
2350
- { flag: "--message" },
2351
- { flag: "--allow-audit-update" },
2352
- { flag: "--allow_audit_update" },
2353
- { flag: "--force" }
2354
- ];
2355
- var CALENDAR_FLAG_CONTRACTS = [
2356
- { flag: "--view" },
2357
- { flag: "--date" },
2358
- { flag: "--from" },
2359
- { flag: "--to" },
2360
- { flag: "--past" },
2361
- { flag: "--full-period" },
2362
- { flag: "--full_period" },
2363
- { flag: "--type" },
2364
- { flag: "--tag" },
2365
- { flag: "--priority" },
2366
- { flag: "--status" },
2367
- { flag: "--assignee" },
2368
- { flag: "--assignee-filter" },
2369
- { flag: "--assignee_filter" },
2370
- { flag: "--sprint" },
2371
- { flag: "--release" },
2372
- { flag: "--include" },
2373
- { flag: "--recurrence-lookahead-days" },
2374
- { flag: "--recurrence-lookback-days" },
2375
- { flag: "--occurrence-limit" },
2376
- { flag: "--limit" },
2377
- { flag: "--format" }
2378
- ];
2379
- var ACTIVITY_FLAG_CONTRACTS = [
2380
- { flag: "--id" },
2381
- { flag: "--op" },
2382
- { flag: "--author" },
2383
- { flag: "--from" },
2384
- { flag: "--to" },
2385
- { flag: "--limit" },
2386
- { flag: "--compact" },
2387
- { flag: "--full" },
2388
- { flag: "--stream" }
2389
- ];
2390
- var CONTEXT_FLAG_CONTRACTS = [
2391
- { flag: "--date" },
2392
- { flag: "--from" },
2393
- { flag: "--to" },
2394
- { flag: "--past" },
2395
- { flag: "--type" },
2396
- { flag: "--tag" },
2397
- { flag: "--priority" },
2398
- { flag: "--assignee" },
2399
- { flag: "--assignee-filter" },
2400
- { flag: "--assignee_filter" },
2401
- { flag: "--sprint" },
2402
- { flag: "--release" },
2403
- { flag: "--parent" },
2404
- { flag: "--limit" },
2405
- { flag: "--format" },
2406
- { flag: "--depth" },
2407
- { flag: "--fields", list: true },
2408
- { flag: "--section" },
2409
- { flag: "--activity-limit" },
2410
- { flag: "--stale-threshold" }
2411
- ];
2412
- var GET_FLAG_CONTRACTS = [
2413
- { flag: "--depth" },
2414
- { flag: "--full" },
2415
- { flag: "--fields", list: true },
2416
- { flag: "--tree" },
2417
- { flag: "--tree-depth" },
2418
- { flag: "--tree_depth" },
2419
- { flag: "--format" }
2420
- ];
2421
- var GUIDE_FLAG_CONTRACTS = [
2422
- { flag: "--list" },
2423
- { flag: "--format" },
2424
- { flag: "--depth" }
2425
- ];
2426
- var DEPS_FLAG_CONTRACTS = [
2427
- { flag: "--format" },
2428
- { flag: "--max-depth" },
2429
- { flag: "--collapse" },
2430
- { flag: "--summary" }
2431
- ];
2432
- var EVAL_FLAG_CONTRACTS = [
2433
- { flag: "--mode" },
2434
- { flag: "--k" },
2435
- { flag: "--fail-under" },
2436
- { flag: "--queries" },
2437
- { flag: "--format" }
2438
- ];
2439
- var NEXT_FLAG_CONTRACTS = [
2440
- { flag: "--type" },
2441
- { flag: "--tag" },
2442
- { flag: "--priority" },
2443
- { flag: "--assignee" },
2444
- { flag: "--assignee-filter" },
2445
- { flag: "--assignee_filter" },
2446
- { flag: "--sprint" },
2447
- { flag: "--release" },
2448
- { flag: "--parent" },
2449
- { flag: "--limit" },
2450
- { flag: "--blocked-limit" },
2451
- { flag: "--blocked_limit" },
2452
- { flag: "--ready-only" },
2453
- { flag: "--ready_only" },
2454
- { flag: "--format" }
2455
- ];
2456
- var SEARCH_FLAG_CONTRACTS = [
2457
- { flag: "--mode" },
2458
- { flag: "--semantic" },
2459
- { flag: "--hybrid" },
2460
- { flag: "--match-mode" },
2461
- { flag: "--min-score" },
2462
- { flag: "--count" },
2463
- { flag: "--semantic-weight" },
2464
- { flag: "--include-linked" },
2465
- { flag: "--title-exact" },
2466
- { flag: "--phrase-exact" },
2467
- { flag: "--highlight" },
2468
- { flag: "--compact" },
2469
- { flag: "--full" },
2470
- { flag: "--fields", list: true },
2471
- { flag: "--format" },
2472
- { flag: "--limit" },
2473
- { flag: "--status", list: true },
2474
- { flag: "--type" },
2475
- { flag: "--tag", aliases: ["--tags"] },
2476
- { flag: "--priority" },
2477
- { flag: "--deadline-before" },
2478
- { flag: "--deadline-after" },
2479
- { flag: "--updated-after" },
2480
- { flag: "--updated-before" },
2481
- { flag: "--created-after" },
2482
- { flag: "--created-before" },
2483
- { flag: "--assignee" },
2484
- { flag: "--sprint" },
2485
- { flag: "--release" },
2486
- { flag: "--parent" },
2487
- ...GOVERNANCE_AND_CONTENT_FILTER_FLAG_CONTRACTS
2488
- ];
2489
- var CONTRACTS_FLAG_CONTRACTS = [
2490
- { flag: "--action" },
2491
- { flag: "--command" },
2492
- { flag: "--schema-only" },
2493
- { flag: "--flags-only" },
2494
- { flag: "--availability-only" },
2495
- { flag: "--runtime-only" },
2496
- { flag: "--active-only" },
2497
- { flag: "--full" }
2498
- ];
2499
- var COMPLETION_FLAG_CONTRACTS = [
2500
- { flag: "--eager-tags" }
2501
- ];
2502
- function toUniqueFlagContracts(contracts) {
2503
- const seen = /* @__PURE__ */ new Set();
2504
- const unique = [];
2505
- for (const contract of contracts) {
2506
- const aliasKey = (contract.aliases ?? []).join(",");
2507
- const key = `${contract.flag}|${contract.short ?? ""}|${aliasKey}`;
2508
- if (seen.has(key)) {
2509
- continue;
2510
- }
2511
- seen.add(key);
2512
- unique.push(contract);
2513
- }
2514
- return unique;
2515
- }
2516
- function withSubcommandGlobalFlags(contracts) {
2517
- return withFlagAliasMetadata(toUniqueFlagContracts([...SUBCOMMAND_GLOBAL_FLAG_CONTRACTS, ...contracts]));
2518
- }
2519
- var LIST_COMMAND_FLAG_ALIASES = [
2520
- "list",
2521
- "list-all",
2522
- "list-draft",
2523
- "list-open",
2524
- "list-in-progress",
2525
- "list-blocked",
2526
- "list-closed",
2527
- "list-canceled"
2528
- ];
2529
- var SUBCOMMAND_FLAG_CONTRACTS_BY_COMMAND = new Map([
2530
- ...LIST_COMMAND_FLAG_ALIASES.map((command) => [command, LIST_FILTER_FLAG_CONTRACTS]),
2531
- ["templates", CREATE_FLAG_CONTRACTS],
2532
- ["cal", CALENDAR_FLAG_CONTRACTS],
2533
- ["ctx", CONTEXT_FLAG_CONTRACTS],
2534
- ["test-runs-worker", TEST_RUNS_FLAG_CONTRACTS],
2535
- ["init", INIT_FLAG_CONTRACTS],
2536
- ["config", CONFIG_FLAG_CONTRACTS],
2537
- ["extension", EXTENSION_FLAG_CONTRACTS],
2538
- // `--declarative` is package-only (see PACKAGE_FLAG_CONTRACTS).
2539
- ["package", PACKAGE_FLAG_CONTRACTS],
2540
- ["packages", PACKAGE_FLAG_CONTRACTS],
2541
- ["install", INSTALL_FLAG_CONTRACTS],
2542
- ["upgrade", UPGRADE_FLAG_CONTRACTS],
2543
- ["create", CREATE_FLAG_CONTRACTS],
2544
- ["copy", COPY_FLAG_CONTRACTS],
2545
- ["focus", FOCUS_FLAG_CONTRACTS],
2546
- ["aggregate", AGGREGATE_FLAG_CONTRACTS],
2547
- ["dedupe-audit", DEDUPE_AUDIT_FLAG_CONTRACTS],
2548
- ["dedupe-merge", DEDUPE_MERGE_FLAG_CONTRACTS],
2549
- ["normalize", NORMALIZE_FLAG_CONTRACTS],
2550
- ["calendar", CALENDAR_FLAG_CONTRACTS],
2551
- ["context", CONTEXT_FLAG_CONTRACTS],
2552
- ["get", GET_FLAG_CONTRACTS],
2553
- ["guide", GUIDE_FLAG_CONTRACTS],
2554
- ["search", SEARCH_FLAG_CONTRACTS],
2555
- ["next", NEXT_FLAG_CONTRACTS],
2556
- ["eval", EVAL_FLAG_CONTRACTS],
2557
- ["history", HISTORY_FLAG_CONTRACTS],
2558
- ["history-redact", HISTORY_REDACT_FLAG_CONTRACTS],
2559
- ["history-repair", HISTORY_REPAIR_FLAG_CONTRACTS],
2560
- ["history-compact", HISTORY_COMPACT_FLAG_CONTRACTS],
2561
- ["schema", SCHEMA_FLAG_CONTRACTS],
2562
- ["profile", PROFILE_FLAG_CONTRACTS],
2563
- ["plan", PLAN_FLAG_CONTRACTS],
2564
- ["activity", ACTIVITY_FLAG_CONTRACTS],
2565
- ["restore", RESTORE_FLAG_CONTRACTS],
2566
- ["update", UPDATE_FLAG_CONTRACTS],
2567
- ["update-many", UPDATE_MANY_FLAG_CONTRACTS],
2568
- ["close", CLOSE_FLAG_CONTRACTS],
2569
- ["close-many", CLOSE_MANY_FLAG_CONTRACTS],
2570
- ["delete", DELETE_FLAG_CONTRACTS],
2571
- ["append", APPEND_FLAG_CONTRACTS],
2572
- ["comments", COMMENTS_FLAG_CONTRACTS],
2573
- ["comments-audit", COMMENTS_AUDIT_FLAG_CONTRACTS],
2574
- ["notes", NOTES_FLAG_CONTRACTS],
2575
- ["learnings", LEARNINGS_FLAG_CONTRACTS],
2576
- ["files", FILES_FLAG_CONTRACTS],
2577
- ["docs", DOCS_FLAG_CONTRACTS],
2578
- ["deps", DEPS_FLAG_CONTRACTS],
2579
- ["test", TEST_FLAG_CONTRACTS],
2580
- ["test-all", TEST_ALL_FLAG_CONTRACTS],
2581
- ["telemetry", TELEMETRY_FLAG_CONTRACTS],
2582
- ["health", HEALTH_FLAG_CONTRACTS],
2583
- ["validate", VALIDATE_FLAG_CONTRACTS],
2584
- ["gc", GC_FLAG_CONTRACTS],
2585
- ["stats", STATS_FLAG_CONTRACTS],
2586
- ["contracts", CONTRACTS_FLAG_CONTRACTS],
2587
- ["completion", COMPLETION_FLAG_CONTRACTS],
2588
- ["claim", CLAIM_FLAG_CONTRACTS],
2589
- ["release", RELEASE_FLAG_CONTRACTS],
2590
- ["start-task", START_TASK_FLAG_CONTRACTS],
2591
- ["pause-task", PAUSE_TASK_FLAG_CONTRACTS],
2592
- ["close-task", CLOSE_TASK_FLAG_CONTRACTS],
2593
- ["meet", MEET_FLAG_CONTRACTS],
2594
- ["event", EVENT_FLAG_CONTRACTS],
2595
- ["remind", REMIND_FLAG_CONTRACTS]
2596
- ]);
2597
- var EXTENSION_LIFECYCLE_FLAG_CONTRACTS_BY_SUBCOMMAND = /* @__PURE__ */ new Map([
2598
- ["install", EXTENSION_INSTALL_FLAG_CONTRACTS],
2599
- ["uninstall", EXTENSION_UNINSTALL_FLAG_CONTRACTS],
2600
- ["explore", EXTENSION_EXPLORE_FLAG_CONTRACTS],
2601
- ["manage", EXTENSION_MANAGE_FLAG_CONTRACTS],
2602
- ["describe", EXTENSION_DESCRIBE_FLAG_CONTRACTS],
2603
- ["reload", EXTENSION_RELOAD_FLAG_CONTRACTS],
2604
- ["doctor", EXTENSION_DOCTOR_FLAG_CONTRACTS],
2605
- ["catalog", EXTENSION_CATALOG_FLAG_CONTRACTS],
2606
- ["adopt", EXTENSION_ADOPT_FLAG_CONTRACTS],
2607
- ["adopt-all", EXTENSION_ADOPT_ALL_FLAG_CONTRACTS],
2608
- ["activate", EXTENSION_ACTIVATE_FLAG_CONTRACTS],
2609
- ["deactivate", EXTENSION_DEACTIVATE_FLAG_CONTRACTS]
2610
- ]);
2611
- function normalizeCommandNameForContracts(commandName) {
2612
- if (typeof commandName !== "string") {
2613
- return "";
2614
- }
2615
- return commandName.trim().toLowerCase();
2616
- }
2617
- function resolveExtensionLifecycleFlagContracts(rootCommand, lifecycleSubcommand) {
2618
- if (lifecycleSubcommand === "init") {
2619
- return rootCommand === "extension" ? EXTENSION_INIT_FLAG_CONTRACTS : PACKAGE_INIT_FLAG_CONTRACTS;
2620
- }
2621
- return EXTENSION_LIFECYCLE_FLAG_CONTRACTS_BY_SUBCOMMAND.get(lifecycleSubcommand) ?? [];
2622
- }
2623
- function resolveSubcommandFlagContractsForCommand(commandName) {
2624
- const normalized = normalizeCommandNameForContracts(commandName);
2625
- if (normalized.length === 0) {
2626
- return withSubcommandGlobalFlags([]);
2627
- }
2628
- const [rootCommand, lifecycleSubcommand, ...extraParts] = normalized.split(/\s+/);
2629
- if ((rootCommand === "extension" || rootCommand === "package" || rootCommand === "packages") && lifecycleSubcommand !== void 0 && extraParts.length === 0) {
2630
- return withSubcommandGlobalFlags(resolveExtensionLifecycleFlagContracts(rootCommand, lifecycleSubcommand));
2631
- }
2632
- return withSubcommandGlobalFlags(SUBCOMMAND_FLAG_CONTRACTS_BY_COMMAND.get(normalized) ?? []);
2633
- }
2634
- function toCompletionFlagString(flagContracts, includeGlobal = true) {
2635
- const aliasAwareContracts = withFlagAliasMetadata(flagContracts);
2636
- const scoped = aliasAwareContracts.flatMap((entry) => [entry.short, entry.flag, ...entry.aliases ?? []]).filter((value) => Boolean(value));
2637
- const all = includeGlobal ? [
2638
- ...scoped,
2639
- ...SUBCOMMAND_GLOBAL_FLAG_CONTRACTS.flatMap((entry) => [entry.short, entry.flag, ...entry.aliases ?? []]).filter((value) => Boolean(value))
2640
- ] : scoped;
2641
- return normalizeUniqueStringList(all).join(" ");
2642
- }
2643
-
2644
- // dist/sdk/cli-contracts/tool-parameter-tables.js
2645
- !(function() {
2646
- try {
2647
- var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
2648
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "75c2e15d-069f-562a-8309-ceaa9ffcde14");
2649
- } catch (e2) {
2650
- }
2651
- })();
2652
- var PM_TOOL_PARAMETER_PROPERTIES = {
2653
- json: { type: "boolean", default: true },
2654
- quiet: { type: "boolean" },
2655
- profile: { type: "boolean" },
2656
- noExtensions: { type: "boolean" },
2657
- noPager: { type: "boolean" },
2658
- path: { type: "string" },
2659
- pmExecutable: { type: "string" },
2660
- timeoutMs: { type: "number" },
2661
- id: { type: "string" },
2662
- target: { type: "string" },
2663
- output: { type: "string", minLength: 1 },
2664
- github: { type: "string" },
2665
- ref: { type: "string" },
2666
- query: { type: "string" },
2667
- keywords: { type: "string" },
2668
- fields: { type: "string" },
2669
- sort: { type: "string", enum: ["priority", "deadline", "updated_at", "created_at", "title", "parent"] },
2670
- prefix: { type: "string" },
2671
- preset: { type: "string", enum: ["minimal", "default", "strict", "custom"] },
2672
- typePreset: { type: "string", enum: ["agile", "ops", "research"] },
2673
- defaults: { type: "boolean" },
2674
- verbose: { type: "boolean" },
2675
- agentGuidance: { type: "string", enum: ["ask", "add", "skip", "status"] },
2676
- withPackages: { type: "boolean" },
2677
- scope: { type: "string", enum: ["project", "global"] },
2678
- allOver: { type: "number" },
2679
- minEntries: { type: "number" },
2680
- closed: { type: "boolean" },
2681
- allStreams: { type: "boolean" },
2682
- contractAction: { type: "string" },
2683
- command: { type: "string" },
2684
- schemaOnly: { type: "boolean" },
2685
- flagsOnly: { type: "boolean" },
2686
- availabilityOnly: { type: "boolean" },
2687
- runtimeOnly: { type: "boolean" },
2688
- activeOnly: { type: "boolean" },
2689
- eagerTags: { type: "boolean" },
2690
- fullChangedFields: { type: "boolean" },
2691
- idOnly: { type: "boolean" },
2692
- allowMissingParent: { type: "boolean" },
2693
- duplicateOf: { type: "string" },
2694
- configAction: { type: "string", enum: ["get", "set", "list", "export"] },
2695
- key: { type: "string" },
2696
- title: { type: "string" },
2697
- description: { type: "string" },
2698
- type: { type: "string" },
2699
- template: { type: "string" },
2700
- createMode: { type: "string", enum: ["strict", "progressive"] },
2701
- schedulePreset: { type: "string", enum: ["lightweight"] },
2702
- status: { type: "string" },
2703
- filterStatus: { type: "string" },
2704
- filterType: { type: "string" },
2705
- filterTag: { type: "string" },
2706
- filterPriority: { anyOf: [{ type: "string" }, { type: "number" }] },
2707
- filterDeadlineBefore: { type: "string" },
2708
- filterDeadlineAfter: { type: "string" },
2709
- filterUpdatedAfter: { type: "string" },
2710
- filterUpdatedBefore: { type: "string" },
2711
- filterCreatedAfter: { type: "string" },
2712
- filterCreatedBefore: { type: "string" },
2713
- filterAssignee: { type: "string" },
2714
- filterAssigneeFilter: { type: "string", enum: ["assigned", "unassigned"] },
2715
- filterParent: { type: "string" },
2716
- filterSprint: { type: "string" },
2717
- filterRelease: { type: "string" },
2718
- closeReason: { type: "string" },
2719
- reason: { type: "string" },
2720
- priority: { anyOf: [{ type: "string" }, { type: "number" }] },
2721
- tags: { type: "string" },
2722
- addTags: { type: "array", items: { type: "string" } },
2723
- removeTags: { type: "array", items: { type: "string" } },
2724
- body: { type: "string" },
2725
- deadline: { type: "string" },
2726
- estimate: { anyOf: [{ type: "string" }, { type: "number" }] },
2727
- acceptanceCriteria: { type: "string" },
2728
- author: { type: "string" },
2729
- message: { type: "string" },
2730
- assignee: { type: "string" },
2731
- assigneeFilter: { type: "string", enum: ["assigned", "unassigned"] },
2732
- parent: { type: "string" },
2733
- reviewer: { type: "string" },
2734
- risk: { type: "string" },
2735
- confidence: { anyOf: [{ type: "string" }, { type: "number" }] },
2736
- sprint: { type: "string" },
2737
- release: { type: "string" },
2738
- blockedBy: { type: "string" },
2739
- blockedReason: { type: "string" },
2740
- unblockNote: { type: "string" },
2741
- reporter: { type: "string" },
2742
- severity: { type: "string" },
2743
- environment: { type: "string" },
2744
- reproSteps: { type: "string" },
2745
- resolution: { type: "string" },
2746
- expectedResult: { type: "string" },
2747
- actualResult: { type: "string" },
2748
- affectedVersion: { type: "string" },
2749
- fixedVersion: { type: "string" },
2750
- component: { type: "string" },
2751
- regression: { anyOf: [{ type: "boolean" }, { type: "string" }, { type: "number" }] },
2752
- customerImpact: { type: "string" },
2753
- definitionOfReady: { type: "string" },
2754
- order: { anyOf: [{ type: "string" }, { type: "number" }] },
2755
- goal: { type: "string" },
2756
- objective: { type: "string" },
2757
- value: { type: "string" },
2758
- impact: { type: "string" },
2759
- outcome: { type: "string" },
2760
- whyNow: { type: "string" },
2761
- mode: {
2762
- type: "string",
2763
- enum: ["keyword", "semantic", "hybrid", "title_exact", "title_fuzzy", "parent_scope"]
2764
- },
2765
- semanticWeight: { anyOf: [{ type: "string" }, { type: "number" }] },
2766
- op: { type: "string" },
2767
- compact: { type: "boolean" },
2768
- brief: { type: "boolean" },
2769
- full: { type: "boolean" },
2770
- view: { type: "string", enum: ["agenda", "day", "week", "month"] },
2771
- date: { type: "string" },
2772
- from: { type: "string" },
2773
- before: { type: "string" },
2774
- to: { type: "string" },
2775
- past: { type: "boolean" },
2776
- fullPeriod: { type: "boolean" },
2777
- include: { type: "string" },
2778
- recurrenceLookaheadDays: { anyOf: [{ type: "string" }, { type: "number" }] },
2779
- recurrenceLookbackDays: { anyOf: [{ type: "string" }, { type: "number" }] },
2780
- occurrenceLimit: { anyOf: [{ type: "string" }, { type: "number" }] },
2781
- includeLinked: { type: "boolean" },
2782
- semantic: { type: "boolean" },
2783
- hybrid: { type: "boolean" },
2784
- titleExact: { type: "boolean" },
2785
- phraseExact: { type: "boolean" },
2786
- highlight: { type: "boolean" },
2787
- includeBody: { type: "boolean" },
2788
- noTruncate: { type: "boolean" },
2789
- tag: { type: "string" },
2790
- deadlineBefore: { type: "string" },
2791
- deadlineAfter: { type: "string" },
2792
- updatedAfter: { type: "string" },
2793
- updatedBefore: { type: "string" },
2794
- createdAfter: { type: "string" },
2795
- createdBefore: { type: "string" },
2796
- filterAcMissing: { type: "boolean" },
2797
- filterEstimatesMissing: { type: "boolean" },
2798
- filterResolutionMissing: { type: "boolean" },
2799
- filterMetadataMissing: { type: "boolean" },
2800
- filterReviewerMissing: { type: "boolean" },
2801
- filterRiskMissing: { type: "boolean" },
2802
- filterConfidenceMissing: { type: "boolean" },
2803
- filterSprintMissing: { type: "boolean" },
2804
- filterReleaseMissing: { type: "boolean" },
2805
- // Content-field presence/absence filters (list/search). The --no-* variants
2806
- // select items where the field is empty/absent.
2807
- hasNotes: { type: "boolean" },
2808
- noNotes: { type: "boolean" },
2809
- hasLearnings: { type: "boolean" },
2810
- noLearnings: { type: "boolean" },
2811
- hasFiles: { type: "boolean" },
2812
- noFiles: { type: "boolean" },
2813
- hasDocs: { type: "boolean" },
2814
- noDocs: { type: "boolean" },
2815
- hasTests: { type: "boolean" },
2816
- noTests: { type: "boolean" },
2817
- hasComments: { type: "boolean" },
2818
- noComments: { type: "boolean" },
2819
- hasDeps: { type: "boolean" },
2820
- noDeps: { type: "boolean" },
2821
- hasBody: { type: "boolean" },
2822
- emptyBody: { type: "boolean" },
2823
- hasLinkedCommand: { type: "boolean" },
2824
- noLinkedCommand: { type: "boolean" },
2825
- // Bulk-selection (update-many/close-many) content + governance filters mirror
2826
- // the list/search presence filters under the --filter- prefix.
2827
- filterHasNotes: { type: "boolean" },
2828
- filterNoNotes: { type: "boolean" },
2829
- filterHasLearnings: { type: "boolean" },
2830
- filterNoLearnings: { type: "boolean" },
2831
- filterHasFiles: { type: "boolean" },
2832
- filterNoFiles: { type: "boolean" },
2833
- filterHasDocs: { type: "boolean" },
2834
- filterNoDocs: { type: "boolean" },
2835
- filterHasTests: { type: "boolean" },
2836
- filterNoTests: { type: "boolean" },
2837
- filterHasComments: { type: "boolean" },
2838
- filterNoComments: { type: "boolean" },
2839
- filterHasDeps: { type: "boolean" },
2840
- filterNoDeps: { type: "boolean" },
2841
- filterHasBody: { type: "boolean" },
2842
- filterEmptyBody: { type: "boolean" },
2843
- filterHasLinkedCommand: { type: "boolean" },
2844
- filterNoLinkedCommand: { type: "boolean" },
2845
- ids: { type: "string" },
2846
- limit: { anyOf: [{ type: "string" }, { type: "number" }] },
2847
- blockedLimit: { anyOf: [{ type: "string" }, { type: "number" }] },
2848
- readyOnly: { type: "boolean" },
2849
- limitItems: { anyOf: [{ type: "string" }, { type: "number" }] },
2850
- fullHistory: { type: "boolean" },
2851
- latest: { anyOf: [{ type: "string" }, { type: "number" }] },
2852
- offset: { anyOf: [{ type: "string" }, { type: "number" }] },
2853
- progress: { type: "boolean" },
2854
- background: { type: "boolean" },
2855
- runId: { type: "string" },
2856
- stream: {
2857
- anyOf: [{ type: "boolean" }, { type: "string", enum: ["stdout", "stderr", "both", "rows", "ndjson", "jsonl"] }]
2858
- },
2859
- tail: { anyOf: [{ type: "string" }, { type: "number" }] },
2860
- addJson: { type: "array", items: { type: "string" } },
2861
- match: { type: "string" },
2862
- onlyIndex: { anyOf: [{ type: "string" }, { type: "number" }] },
2863
- onlyLast: { type: "boolean" },
2864
- envSet: { type: "array", items: { type: "string" } },
2865
- envClear: { type: "array", items: { type: "string" } },
2866
- sharedHostSafe: { type: "boolean" },
2867
- detail: { type: "string", enum: ["summary", "deep"] },
2868
- trace: { type: "boolean" },
2869
- reload: { type: "boolean" },
2870
- watch: { type: "boolean" },
2871
- runtimeProbe: { type: "boolean" },
2872
- fixManagedState: { type: "boolean" },
2873
- pmContext: { type: "string", enum: ["schema", "tracker", "auto"] },
2874
- overrideLinkedPmContext: { type: "boolean" },
2875
- failOnContextMismatch: { type: "boolean" },
2876
- failOnSkipped: { type: "boolean" },
2877
- failOnEmptyTestRun: { type: "boolean" },
2878
- requireAssertionsForPm: { type: "boolean" },
2879
- checkContext: { type: "boolean" },
2880
- autoPmContext: { type: "boolean" },
2881
- diff: { type: "boolean" },
2882
- storage: { type: "boolean" },
2883
- metadataCoverage: { type: "boolean" },
2884
- fieldUtilization: { type: "boolean" },
2885
- byAssignee: { type: "boolean" },
2886
- byTag: { type: "boolean" },
2887
- byPriority: { type: "boolean" },
2888
- tagPrefix: { type: "string" },
2889
- verify: { type: "boolean" },
2890
- literal: { type: "array", items: { type: "string" } },
2891
- regex: { type: "array", items: { type: "string" } },
2892
- replacement: { type: "string" },
2893
- timeout: { anyOf: [{ type: "string" }, { type: "number" }] },
2894
- validateClose: { type: "string", enum: ["off", "warn", "strict"] },
2895
- checkMetadata: { type: "boolean" },
2896
- metadataProfile: { type: "string", enum: ["core", "strict", "custom"] },
2897
- checkResolution: { type: "boolean" },
2898
- checkLifecycle: { type: "boolean" },
2899
- checkStaleBlockers: { type: "boolean" },
2900
- dependencyCycleSeverity: { type: "string", enum: ["off", "warn", "error"] },
2901
- parentCycleSeverity: { type: "string", enum: ["off", "warn", "error"] },
2902
- checkFiles: { type: "boolean" },
2903
- strictDirectories: { type: "boolean" },
2904
- checkOnly: { type: "boolean" },
2905
- checkTelemetry: { type: "boolean" },
2906
- noRefresh: { type: "boolean" },
2907
- refreshVectors: { type: "boolean" },
2908
- verboseStaleItems: { type: "boolean" },
2909
- skipVectors: { type: "boolean" },
2910
- skipIntegrity: { type: "boolean" },
2911
- skipDrift: { type: "boolean" },
2912
- verboseDiagnostics: { type: "boolean" },
2913
- allAffectedIds: { type: "boolean" },
2914
- scanMode: { type: "string", enum: ["default", "tracked-all", "tracked-all-strict"] },
2915
- includePmInternals: { type: "boolean" },
2916
- verboseFileLists: { type: "boolean" },
2917
- strictExit: { type: "boolean" },
2918
- failOnWarn: { type: "boolean" },
2919
- fixHints: { type: "boolean" },
2920
- autoFix: { type: "boolean" },
2921
- fixScope: { type: "array", items: { type: "string", enum: ["metadata", "resolution", "estimates", "lifecycle"] } },
2922
- pruneMissing: { type: "boolean" },
2923
- checkHistoryDrift: { type: "boolean" },
2924
- checkCommandReferences: { type: "boolean" },
2925
- allowAuditNote: { type: "boolean" },
2926
- allowAuditLearning: { type: "boolean" },
2927
- allowAuditComment: { type: "boolean" },
2928
- edit: { type: "integer", minimum: 1 },
2929
- delete: { type: "integer", minimum: 1 },
2930
- allowAuditUpdate: { type: "boolean" },
2931
- allowAuditDepUpdate: { type: "boolean" },
2932
- allowAuditRelease: { type: "boolean" },
2933
- dryRun: { type: "boolean" },
2934
- all: { type: "boolean" },
2935
- clear: { type: "boolean" },
2936
- cliOnly: { type: "boolean" },
2937
- packagesOnly: { type: "boolean" },
2938
- repair: { type: "boolean" },
2939
- packageName: { type: "string" },
2940
- rollback: { type: "string" },
2941
- noCheckpoint: { type: "boolean" },
2942
- force: { type: "boolean" },
2943
- run: { type: "boolean" },
2944
- count: { type: "boolean" },
2945
- sum: { type: "string" },
2946
- avg: { type: "string" },
2947
- tree: { type: "boolean" },
2948
- treeDepth: { anyOf: [{ type: "string" }, { type: "number" }] },
2949
- includeUnparented: { type: "boolean" },
2950
- gcScope: {
2951
- type: "array",
2952
- items: { type: "string", enum: ["index", "embeddings", "runtime", "locks"] }
2953
- },
2954
- maxDepth: { anyOf: [{ type: "string" }, { type: "number" }] },
2955
- collapse: { type: "string", enum: ["none", "repeated"] },
2956
- summary: { type: "boolean" },
2957
- shell: { type: "string", enum: ["bash", "zsh", "fish"] },
2958
- stdin: { type: "boolean" },
2959
- file: { type: "string" },
2960
- preserveSourceIds: { type: "boolean" },
2961
- folder: { type: "string" },
2962
- subcommand: { type: "string" },
2963
- name: { type: "string" },
2964
- defaultStatus: { type: "string" },
2965
- alias: { type: "array", items: { type: "string" } },
2966
- role: { type: "array", items: { type: "string" } },
2967
- fieldType: { type: "string", enum: ["string", "number", "boolean", "string_array"] },
2968
- commands: { type: "array", items: { type: "string" } },
2969
- cliFlag: { type: "string" },
2970
- required: { type: "boolean" },
2971
- requiredOnCreate: { type: "boolean" },
2972
- allowUnset: { type: "boolean" },
2973
- requiredTypes: { type: "array", items: { type: "string" } },
2974
- infer: { type: "boolean" },
2975
- minCount: { type: "number" },
2976
- text: { type: "string" },
2977
- add: { type: "array", items: { type: "string" } },
2978
- addGlob: { type: "array", items: { type: "string" } },
2979
- remove: { type: "array", items: { type: "string" } },
2980
- migrate: { type: "array", items: { type: "string" } },
2981
- discover: { type: "boolean" },
2982
- apply: { type: "boolean" },
2983
- discoveryNote: { type: "string" },
2984
- // GH-170 (pm-pfnx): single-string note for files/docs add batches (the shared
2985
- // `note` key below is the array-typed create/update note seed).
2986
- addNote: { type: "string" },
2987
- list: { type: "boolean" },
2988
- appendStable: { type: "boolean" },
2989
- validatePaths: { type: "boolean" },
2990
- audit: { type: "boolean" },
2991
- dep: { type: "array", items: { type: "string" } },
2992
- depRemove: { type: "array", items: { type: "string" } },
2993
- replaceDeps: { type: "boolean" },
2994
- replaceTests: { type: "boolean" },
2995
- comment: { type: "array", items: { type: "string" } },
2996
- note: { type: "array", items: { type: "string" } },
2997
- learning: { type: "array", items: { type: "string" } },
2998
- linkedFile: { type: "array", items: { type: "string" } },
2999
- linkedTest: { type: "array", items: { type: "string" } },
3000
- doc: { type: "array", items: { type: "string" } },
3001
- reminder: { type: "array", items: { type: "string" } },
3002
- event: { type: "array", items: { type: "string" } },
3003
- typeOption: { type: "array", items: { type: "string" } },
3004
- field: { type: "array", items: { type: "string" } },
3005
- unset: { type: "array", items: { type: "string" } },
3006
- clearDeps: { type: "boolean" },
3007
- clearComments: { type: "boolean" },
3008
- clearNotes: { type: "boolean" },
3009
- clearLearnings: { type: "boolean" },
3010
- clearFiles: { type: "boolean" },
3011
- clearTests: { type: "boolean" },
3012
- clearDocs: { type: "boolean" },
3013
- clearReminders: { type: "boolean" },
3014
- clearEvents: { type: "boolean" },
3015
- clearTypeOptions: { type: "boolean" },
3016
- criterion: { type: "array", items: { type: "string" } },
3017
- clearCriteria: { type: "boolean" },
3018
- groupBy: { type: "string" },
3019
- completion: { type: "boolean" },
3020
- threshold: { anyOf: [{ type: "string" }, { type: "number" }] },
3021
- format: { type: "string" },
3022
- depth: { type: "string", enum: ["brief", "standard", "deep", "full"] },
3023
- section: { type: "array", items: { type: "string", enum: ["hierarchy", "activity", "progress", "blockers", "files", "workload", "staleness", "tests"] } },
3024
- activityLimit: { anyOf: [{ type: "string" }, { type: "number" }] },
3025
- staleThreshold: { type: "string" },
3026
- policy: { type: "string" }
3027
- };
3028
- var PLAN_SUBCOMMAND_VALUES = [
3029
- "create",
3030
- "show",
3031
- "add-step",
3032
- "update-step",
3033
- "complete-step",
3034
- "block-step",
3035
- "reorder-step",
3036
- "remove-step",
3037
- "link",
3038
- "unlink",
3039
- "decision",
3040
- "discovery",
3041
- "validation",
3042
- "resume",
3043
- "approve",
3044
- "materialize"
3045
- ];
3046
- var PLAN_ACTION_PARAMETER_PROPERTIES = {
3047
- subcommand: { type: "string", enum: [...PLAN_SUBCOMMAND_VALUES] },
3048
- stepRef: { type: "string" },
3049
- reorderTo: { anyOf: [{ type: "string" }, { type: "number" }] },
3050
- scope: { type: "string" },
3051
- harness: { type: "string", enum: [...PLAN_HARNESS_VALUES] },
3052
- mode: { type: "string", enum: [...PLAN_MODE_VALUES] },
3053
- resumeContext: { type: "string" },
3054
- related: { type: "string" },
3055
- blocks: { type: "string" },
3056
- claim: { type: "boolean" },
3057
- fromSearch: { type: "string" },
3058
- stepTitle: { type: "string" },
3059
- // pm-6mit: ordered step titles for create (string or array; values are never
3060
- // comma-split). On step subcommands a single value aliases stepTitle.
3061
- step: { anyOf: [{ type: "string" }, { type: "array", items: { type: "string" } }] },
3062
- stepBody: { type: "string" },
3063
- stepOwner: { type: "string" },
3064
- stepStatus: { type: "string", enum: [...PLAN_STEP_STATUS_VALUES] },
3065
- stepEvidence: { type: "string" },
3066
- stepBlockedReason: { type: "string" },
3067
- stepReplacement: { type: "string" },
3068
- dependsOn: { type: "string" },
3069
- link: { type: "string" },
3070
- linkKind: { type: "string", enum: [...PLAN_STEP_LINK_KIND_VALUES] },
3071
- linkNote: { type: "string" },
3072
- promoteToItemDep: { type: "boolean" },
3073
- allowMultipleActive: { type: "boolean" },
3074
- file: { anyOf: [{ type: "string" }, { type: "array", items: { type: "string" } }] },
3075
- test: { anyOf: [{ type: "string" }, { type: "array", items: { type: "string" } }] },
3076
- doc: { anyOf: [{ type: "string" }, { type: "array", items: { type: "string" } }] },
3077
- decisionText: { type: "string" },
3078
- decision: { type: "string" },
3079
- decisionRationale: { type: "string" },
3080
- decisionEvidence: { type: "string" },
3081
- discoveryText: { type: "string" },
3082
- discovery: { type: "string" },
3083
- validationText: { type: "string" },
3084
- validation: { type: "string" },
3085
- validationCommand: { type: "string" },
3086
- validationExpected: { type: "string" },
3087
- steps: { type: "array", items: { type: "string" } },
3088
- materializeType: { type: "string" },
3089
- materializeParent: { type: "string" },
3090
- materializeTags: { type: "string" }
3091
- };
3092
- var PLAN_ACTION_PARAMETER_METADATA = {
3093
- subcommand: {
3094
- description: "Plan workflow operation to run.",
3095
- examples: ["create", "show", "add-step", "approve"]
3096
- },
3097
- stepRef: {
3098
- description: "Plan step id or order for step lifecycle subcommands.",
3099
- examples: ["plan-step-001", "1"]
3100
- },
3101
- reorderTo: {
3102
- description: "New integer order for reorder-step.",
3103
- examples: [1, "2"]
3104
- },
3105
- scope: {
3106
- description: "Short free-text scope statement describing what the Plan covers.",
3107
- examples: ["Release readiness audit", "Search package migration"]
3108
- },
3109
- mode: {
3110
- description: "Plan lifecycle mode.",
3111
- examples: ["draft", "research", "approved"]
3112
- },
3113
- step: {
3114
- description: "Ordered initial step titles for create (string or array, never comma-split; stepTitle, when also set, becomes the first step). For step subcommands a single value aliases stepTitle.",
3115
- examples: [["Read the code", "Write the fix", "Run the tests"]]
3116
- },
3117
- file: {
3118
- description: "File link to attach while creating or materializing a Plan.",
3119
- examples: ["path=src/cli.ts,note=implementation surface"]
3120
- },
3121
- test: {
3122
- description: "Test command link to attach while creating or materializing a Plan.",
3123
- examples: ["command=pnpm build,timeout_seconds=300"]
3124
- },
3125
- doc: {
3126
- description: "Documentation link to attach while creating or materializing a Plan.",
3127
- examples: ["path=docs/SDK.md,note=public API reference"]
3128
- }
3129
- };
3130
- var PM_TOOL_PARAMETER_METADATA = {
3131
- action: {
3132
- description: "Tool action to execute."
3133
- },
3134
- path: {
3135
- description: "Optional PM data root override for this invocation.",
3136
- examples: [".agents/pm"]
3137
- },
3138
- scope: {
3139
- description: "Scope selector for commands that operate on project or global state. Linked files, docs, and tests default to project scope when omitted.",
3140
- examples: ["project", "global"]
3141
- },
3142
- detail: {
3143
- description: "Detail mode for commands that support concise and deep diagnostics.",
3144
- examples: ["summary", "deep"]
3145
- },
3146
- trace: {
3147
- description: "When true for extension-doctor, include actionable registration traces in deep diagnostics."
3148
- },
3149
- reload: {
3150
- description: "When true for extension action payloads, trigger cache-busted extension module reload."
3151
- },
3152
- watch: {
3153
- description: "When true for extension-reload/extension action payloads, enable watch mode semantics."
3154
- },
3155
- runtimeProbe: {
3156
- description: "When true for extension-manage, run a doctor-like runtime activation probe for parity fields."
3157
- },
3158
- fixManagedState: {
3159
- description: "When true for extension-manage/extension-doctor, adopt unmanaged extensions before diagnostics/update checks."
3160
- },
3161
- target: {
3162
- description: "Positional target argument for the selected action (ID, source, package source, or extension name).",
3163
- examples: ["pm-a1b2", ".agents/pm/extensions/sample", "sample-extension"]
3164
- },
3165
- output: {
3166
- description: "File path for commands that write generated output, such as package/extension describe Markdown references.",
3167
- examples: ["docs/pm-package-reference.md"]
3168
- },
3169
- github: {
3170
- description: "GitHub shorthand owner/repo[/path] source for package/extension install actions.",
3171
- examples: ["org/repo/extensions/sample"]
3172
- },
3173
- ref: {
3174
- description: "Git ref/branch/tag used when installing from GitHub shorthand/URL sources.",
3175
- examples: ["main", "v1.0.0"]
3176
- },
3177
- cliOnly: {
3178
- description: "Restrict upgrade to the pm CLI/SDK npm package."
3179
- },
3180
- packagesOnly: {
3181
- description: "Restrict upgrade to managed installable pm packages."
3182
- },
3183
- repair: {
3184
- description: "Force npm global reinstall semantics when upgrading the pm CLI/SDK."
3185
- },
3186
- tag: {
3187
- description: "npm version or dist-tag used for CLI and registry package upgrades.",
3188
- examples: ["latest", "next", "2026.5.11"]
3189
- },
3190
- packageName: {
3191
- description: "Override the pm CLI package name for self-upgrade automation and tests.",
3192
- examples: ["@unbrained/pm-cli"]
3193
- },
3194
- json: {
3195
- description: "Emit machine-readable JSON output."
3196
- },
3197
- quiet: {
3198
- description: "Suppress stdout payload output."
3199
- },
3200
- noExtensions: {
3201
- description: "Disable extension loading for this invocation."
3202
- },
3203
- noPager: {
3204
- description: "Disable pager integration for help and long output."
3205
- },
3206
- profile: {
3207
- description: "Emit deterministic timing diagnostics to stderr."
3208
- },
3209
- timeoutMs: {
3210
- description: "Tool execution timeout in milliseconds.",
3211
- examples: [12e4]
3212
- },
3213
- id: {
3214
- description: "Item identifier for read or mutation actions.",
3215
- examples: ["pm-a1b2"]
3216
- },
3217
- runId: {
3218
- description: "Background test run identifier.",
3219
- examples: ["tr-kq9x3f-93acde"]
3220
- },
3221
- title: {
3222
- description: "Item title text."
3223
- },
3224
- description: {
3225
- description: "Item description text."
3226
- },
3227
- type: {
3228
- description: "Item type name from the active runtime type registry.",
3229
- examples: ["Task", "Feature"]
3230
- },
3231
- subcommand: {
3232
- description: "Subcommand selector for schema, profile, and telemetry actions."
3233
- },
3234
- name: {
3235
- description: "Custom item type name (schema add-type/remove-type/show), custom status id (schema show-status/add-status/remove-status), custom field key (schema add-field/remove-field/show-field), or profile name (profile show/apply/lint).",
3236
- examples: ["Spike", "review", "component"]
3237
- },
3238
- defaultStatus: {
3239
- description: "Default status hint recorded for a custom item type.",
3240
- examples: ["open"]
3241
- },
3242
- alias: {
3243
- description: "Aliases for the custom item type or status (repeatable).",
3244
- examples: [["spike", "research"]]
3245
- },
3246
- role: {
3247
- description: "Lifecycle roles for a custom status (schema add-status): draft, active, blocked, terminal, terminal_done, terminal_canceled, default_open, default_close, default_cancel.",
3248
- examples: [["active"], ["terminal", "terminal_done"]]
3249
- },
3250
- fieldType: {
3251
- description: "Value type for a custom field (schema add-field): string, number, boolean, or string_array.",
3252
- examples: ["string", "number", "string_array"]
3253
- },
3254
- commands: {
3255
- description: "Commands a custom field is wired onto (schema add-field): create, update, update_many, list, search, calendar, context.",
3256
- examples: [["create", "update"], ["create", "update", "list"]]
3257
- },
3258
- cliFlag: {
3259
- description: "Override the auto-derived CLI flag for a custom field (schema add-field).",
3260
- examples: ["--owner"]
3261
- },
3262
- required: {
3263
- description: "Mark a custom field as always required (schema add-field)."
3264
- },
3265
- requiredOnCreate: {
3266
- description: "Mark a custom field as required at create time (schema add-field)."
3267
- },
3268
- allowUnset: {
3269
- description: "Whether a custom field may be cleared via --unset (schema add-field); defaults to true."
3270
- },
3271
- requiredTypes: {
3272
- description: "Restrict a custom field's requirement to specific item types (schema add-field).",
3273
- examples: [["Bug"], ["Story", "Spike"]]
3274
- },
3275
- infer: {
3276
- description: "Infer custom item types from title-prefix conventions (schema add-type); previews unless apply is true."
3277
- },
3278
- minCount: {
3279
- description: "Minimum number of items sharing a title prefix for schema add-type inference (default 10).",
3280
- examples: [10, 25]
3281
- },
3282
- preset: {
3283
- description: "Governance preset for initialization flows.",
3284
- examples: ["minimal", "default", "strict"]
3285
- },
3286
- typePreset: {
3287
- description: "Domain item-type preset registered during initialization.",
3288
- examples: ["agile", "ops", "research"]
3289
- },
3290
- defaults: {
3291
- description: "Use non-interactive setup defaults during initialization."
3292
- },
3293
- verbose: {
3294
- description: "Include the full resolved settings tree in init output."
3295
- },
3296
- agentGuidance: {
3297
- description: "Control AGENTS.md/CLAUDE.md guidance behavior during init: ask, add, skip, or status.",
3298
- examples: ["ask", "add", "skip", "status"]
3299
- },
3300
- withPackages: {
3301
- description: "Install all bundled first-party pm packages during initialization."
3302
- },
3303
- createMode: {
3304
- description: "Create required-option policy mode.",
3305
- examples: ["strict", "progressive"]
3306
- },
3307
- schedulePreset: {
3308
- description: "Schedule-centric create preset for Reminder, Meeting, and Event types.",
3309
- examples: ["lightweight"]
3310
- },
3311
- status: {
3312
- description: "Item status value. Statuses are project-configurable via .agents/pm/settings.json (schema block); the built-in defaults are draft, open, in_progress, blocked, closed, canceled. Custom statuses defined for the project are accepted \u2014 discover the active set with the pm_contracts tool (workspace.statuses) or `pm contracts`. Unknown statuses are rejected at runtime with a did-you-mean hint rather than blocked by a fixed schema enum.",
3313
- examples: ["open", "in_progress"]
3314
- },
3315
- priority: {
3316
- description: "Priority value in range 0..4.",
3317
- examples: [0, 1, "2"]
3318
- },
3319
- order: {
3320
- description: "Planning order/rank value for create/update, or sort direction (asc|desc) for list-family sorting.",
3321
- examples: [0, 1, "2", "asc", "desc"]
3322
- },
3323
- sort: {
3324
- description: "List-family sort field selector.",
3325
- examples: ["priority", "deadline", "updated_at", "created_at", "title", "parent"]
3326
- },
3327
- tags: {
3328
- description: "Comma-delimited tag list.",
3329
- examples: ["pm-cli,agent-ux"]
3330
- },
3331
- addTags: {
3332
- description: "Tags to add to the existing list without replacing it. Each entry may be CSV or a JSON array.",
3333
- examples: [["agent-ux"], ["fix", "security"]]
3334
- },
3335
- removeTags: {
3336
- description: "Tags to remove from the existing list. Each entry may be CSV or a JSON array.",
3337
- examples: [["stale"], ["legacy", "wontfix"]]
3338
- },
3339
- deadline: {
3340
- description: "ISO/date timestamp or relative offset (+6h/+1d/+2w/+6m).",
3341
- examples: ["2026-04-01T00:00:00.000Z", "+1d"]
3342
- },
3343
- reminder: {
3344
- description: "Repeatable reminder seed entries at=<iso|relative>,text=<text>.",
3345
- examples: [["at=+2d,text=Review PR"]]
3346
- },
3347
- event: {
3348
- description: "Repeatable event seed entries start=<iso|relative> with end=<iso|relative> or duration=<relative|30min|PT30M>. Bare `m` remains months for backward compatibility.",
3349
- examples: [
3350
- ["start=2026-07-01T10:00:00Z,duration=2h,title=planning"],
3351
- ["start=2026-07-01T10:00:00Z,duration=30min,title=standup"],
3352
- ["start=2026-07-01T10:00:00Z,duration=PT30M,title=window"]
3353
- ]
3354
- },
3355
- estimate: {
3356
- description: "Estimated effort in minutes.",
3357
- examples: [60, "120"]
3358
- },
3359
- acceptanceCriteria: {
3360
- description: "Acceptance criteria text."
3361
- },
3362
- author: {
3363
- description: "Mutation author identity.",
3364
- examples: ["codex-agent"]
3365
- },
3366
- message: {
3367
- description: "History message for mutation audit trail."
3368
- },
3369
- assignee: {
3370
- description: "Assignee identity.",
3371
- examples: ["codex-agent"]
3372
- },
3373
- assigneeFilter: {
3374
- description: "Assignee presence selector for list/calendar/context/comments-audit filters.",
3375
- examples: ["assigned", "unassigned"]
3376
- },
3377
- parent: {
3378
- description: "Parent item ID filter for hierarchical list queries.",
3379
- examples: ["pm-epic01"]
3380
- },
3381
- blockedLimit: {
3382
- description: "Cap blocked rows returned by the next action (defaults to the ready --limit).",
3383
- examples: ["3"]
3384
- },
3385
- readyOnly: {
3386
- description: "When true, the next action omits the blocked companion list."
3387
- },
3388
- unset: {
3389
- description: "Repeatable list of front-matter fields to clear explicitly during create/update mutations.",
3390
- examples: [["deadline", "assignee"], ["close-reason"]]
3391
- },
3392
- clearDeps: {
3393
- description: "When true, clear linked dependencies."
3394
- },
3395
- replaceDeps: {
3396
- description: "When true for update, atomically replace dependencies with the supplied --dep values."
3397
- },
3398
- replaceTests: {
3399
- description: "When true for update, atomically replace linked tests with the supplied --test values."
3400
- },
3401
- clearComments: {
3402
- description: "When true, clear item comments."
3403
- },
3404
- clearNotes: {
3405
- description: "When true, clear item notes."
3406
- },
3407
- clearLearnings: {
3408
- description: "When true, clear item learnings."
3409
- },
3410
- clearFiles: {
3411
- description: "When true, clear linked files."
3412
- },
3413
- clearTests: {
3414
- description: "When true, clear linked tests."
3415
- },
3416
- clearDocs: {
3417
- description: "When true, clear linked docs."
3418
- },
3419
- clearReminders: {
3420
- description: "When true, clear reminders."
3421
- },
3422
- clearEvents: {
3423
- description: "When true, clear events."
3424
- },
3425
- clearTypeOptions: {
3426
- description: "When true, clear type option metadata."
3427
- },
3428
- clearCriteria: {
3429
- description: "When true for config set criteria-list keys (definition-of-done, metadata-required-fields, lifecycle pattern lists), clear the criteria list."
3430
- },
3431
- mode: {
3432
- description: "Mode selector for search/reindex (keyword|semantic|hybrid) and dedupe-audit (title_exact|title_fuzzy|parent_scope).",
3433
- examples: ["keyword", "hybrid", "title_exact"]
3434
- },
3435
- semanticWeight: {
3436
- description: "Per-query hybrid semantic weight override in [0,1] for search action; invalid values fall back to settings.",
3437
- examples: [0.2, "0.7"]
3438
- },
3439
- op: {
3440
- description: "History operation filter for activity output.",
3441
- examples: ["create", "update", "close", "update_audit"]
3442
- },
3443
- fullPeriod: {
3444
- description: "For day/week/month calendar views, include the full anchored period instead of clipping the start to now."
3445
- },
3446
- progress: {
3447
- description: "Emit progress diagnostics to stderr for long-running operations."
3448
- },
3449
- background: {
3450
- description: "Run linked tests in managed background mode."
3451
- },
3452
- addJson: {
3453
- description: "Repeatable JSON object or array input for adding linked-test entries without CSV escaping loss.",
3454
- examples: [[`{"command":"node scripts/run-tests.mjs test -- tests/unit/output.spec.ts","timeout_seconds":240}`]]
3455
- },
3456
- match: {
3457
- description: "Run only linked tests whose command or path contains this case-insensitive substring.",
3458
- examples: ["output.spec.ts", "coverage"]
3459
- },
3460
- onlyIndex: {
3461
- description: "Run only the 1-based linked-test index from pm test <id> --list order.",
3462
- examples: [1, "2"]
3463
- },
3464
- onlyLast: {
3465
- description: "Run only the most recently added linked-test entry."
3466
- },
3467
- envSet: {
3468
- description: "Repeatable runtime environment KEY=VALUE overrides for linked-test execution.",
3469
- examples: [["PORT=0", "PLAYWRIGHT_HTML_OPEN=never"]]
3470
- },
3471
- envClear: {
3472
- description: "Repeatable runtime environment variable names to clear before linked-test execution.",
3473
- examples: [["PLAYWRIGHT_BASE_URL"]]
3474
- },
3475
- sharedHostSafe: {
3476
- description: "Apply additive shared-host-safe runtime defaults during linked-test execution."
3477
- },
3478
- pmContext: {
3479
- description: "PM linked-test context mode (schema keeps isolated tracker data; tracker seeds source tracker data; auto uses tracker for PM tracker-read linked commands).",
3480
- examples: ["schema", "tracker", "auto"]
3481
- },
3482
- overrideLinkedPmContext: {
3483
- description: "Force run-level --pm-context to override per-linked-test pm_context_mode metadata for all linked-test entries."
3484
- },
3485
- failOnContextMismatch: {
3486
- description: "Fail linked PM command runs when source and sandbox tracker item counts differ."
3487
- },
3488
- failOnSkipped: {
3489
- description: "Treat skipped linked tests as dependency-failed policy violations."
3490
- },
3491
- failOnEmptyTestRun: {
3492
- description: "Treat successful linked-test commands that report zero executed tests as failures."
3493
- },
3494
- requireAssertionsForPm: {
3495
- description: "Require assertion metadata for linked PM command test entries during run execution."
3496
- },
3497
- checkContext: {
3498
- description: "Run linked PM command context preflight diagnostics before command execution."
3499
- },
3500
- autoPmContext: {
3501
- description: "Auto-remediate PM tracker-read linked commands by routing those entries through tracker context regardless of linked-test pm_context_mode overrides."
3502
- },
3503
- dryRun: {
3504
- description: "Preview command effects without mutating storage artifacts."
3505
- },
3506
- all: {
3507
- description: "For history-repair action: scan every stream for drift and repair each drifted stream in one audited pass (mutually exclusive with id)."
3508
- },
3509
- clear: {
3510
- description: "For focus action: clear the session focused item instead of setting it (mutually exclusive with id)."
3511
- },
3512
- gcScope: {
3513
- description: "Repeatable gc scope selector values (index, embeddings, runtime, locks, checkpoints).",
3514
- examples: [["index", "embeddings"], ["runtime"], ["locks"], ["checkpoints"]]
3515
- },
3516
- storage: {
3517
- description: "For stats action: include aggregate history-stream storage metrics (total streams/lines/bytes, largest + deepest streams, oldest/newest entries) for compaction and storage planning."
3518
- },
3519
- fieldUtilization: {
3520
- description: "For stats action: include a field_utilization block reporting present/total/percent for content fields (notes, learnings, files, docs, tests, comments, deps, body, linked_command) across all items so under-documented dimensions are visible at a glance."
3521
- },
3522
- offset: {
3523
- description: "Number of matching rows to skip before limit is applied.",
3524
- examples: [0, 50, "100"]
3525
- },
3526
- before: {
3527
- description: "For history-compact, compact entries strictly before this boundary (version number or ISO timestamp). Single-id mode only.",
3528
- examples: ["5", "2026-06-01T00:00:00.000Z"]
3529
- },
3530
- allOver: {
3531
- description: "For history-compact bulk mode, compact every stream with more than N entries. When history.compact_policy is enabled and this is omitted, the policy's max_entries is used.",
3532
- examples: [200, "500"]
3533
- },
3534
- minEntries: {
3535
- description: "For history-compact bulk mode, skip streams with at most N entries as already-compact (default 3).",
3536
- examples: [3, "10"]
3537
- },
3538
- closed: {
3539
- description: "For history-compact bulk mode, compact only closed (terminal) items' history streams."
3540
- },
3541
- allStreams: {
3542
- description: "For history-compact bulk mode, compact every history stream regardless of lifecycle state."
3543
- },
3544
- limitItems: {
3545
- description: "Maximum number of filtered items to include in comments-audit output (alias: --limit).",
3546
- examples: [10, "25"]
3547
- },
3548
- fullHistory: {
3549
- description: "When true for comments-audit, export full per-item comment history rows; cannot be combined with latest."
3550
- },
3551
- latest: {
3552
- description: "Number of most recent comments to include per item in comments-audit output (use 0 for summary-only item rows).",
3553
- examples: [0, 1, "3"]
3554
- },
3555
- literal: {
3556
- description: "Repeatable literal matcher used by history-redact to scrub exact string values.",
3557
- examples: ["[redacted_path_prefix]/private/path"]
3558
- },
3559
- regex: {
3560
- description: "Repeatable regex matcher used by history-redact. Accepts either /pattern/flags or a raw pattern (global mode is auto-enabled).",
3561
- examples: ["/192\\\\.168\\\\.[0-9.]+/g", "token=[A-Za-z0-9_-]+"]
3562
- },
3563
- replacement: {
3564
- description: 'Replacement text used by history-redact (defaults to "[redacted]").',
3565
- examples: ["[scrubbed_path]"]
3566
- },
3567
- validateClose: {
3568
- description: 'Close-time metadata validation mode ("off", "warn", or "strict").',
3569
- examples: ["off", "warn", "strict"]
3570
- },
3571
- checkMetadata: {
3572
- description: "Run metadata completeness checks."
3573
- },
3574
- metadataProfile: {
3575
- description: "Select metadata validation profile for --check-metadata.",
3576
- examples: ["core", "strict", "custom"]
3577
- },
3578
- checkResolution: {
3579
- description: "Run closed-item resolution metadata checks."
3580
- },
3581
- checkLifecycle: {
3582
- description: "Run active-item lifecycle governance drift checks."
3583
- },
3584
- checkStaleBlockers: {
3585
- description: "Include stale blocker-pattern diagnostics in lifecycle checks."
3586
- },
3587
- dependencyCycleSeverity: {
3588
- description: "Set dependency-cycle warning policy for lifecycle checks.",
3589
- examples: ["off", "warn", "error"]
3590
- },
3591
- parentCycleSeverity: {
3592
- description: "Set parent-cycle warning policy for lifecycle checks.",
3593
- examples: ["off", "warn", "error"]
3594
- },
3595
- checkFiles: {
3596
- description: "Run linked-file and orphaned-file checks."
3597
- },
3598
- strictDirectories: {
3599
- description: "Treat optional item-type directories as required health failures."
3600
- },
3601
- checkOnly: {
3602
- description: "For health action, run read-only diagnostics without refreshing vectors."
3603
- },
3604
- checkTelemetry: {
3605
- description: "For health action, probe telemetry endpoint health and include network diagnostics."
3606
- },
3607
- noRefresh: {
3608
- description: "For health action, skip vector refresh while still running checks."
3609
- },
3610
- refreshVectors: {
3611
- description: "For health action, explicitly refresh stale vectors."
3612
- },
3613
- verboseStaleItems: {
3614
- description: "For health action, include full stale-item arrays in vectorization details."
3615
- },
3616
- skipVectors: {
3617
- description: "For health action, skip vectorization checks for a faster diagnostic run."
3618
- },
3619
- skipIntegrity: {
3620
- description: "For health action, skip item/history file integrity checks for a faster diagnostic run."
3621
- },
3622
- skipDrift: {
3623
- description: "For health action, skip history drift hash checks for a faster diagnostic run."
3624
- },
3625
- scanMode: {
3626
- description: "Select file candidate scan mode for --check-files.",
3627
- examples: ["default", "tracked-all", "tracked-all-strict"]
3628
- },
3629
- includePmInternals: {
3630
- description: "Include PM storage internals in tracked-all candidate scans."
3631
- },
3632
- verboseFileLists: {
3633
- description: "For validate action, include full file-path lists for --check-files details."
3634
- },
3635
- verboseDiagnostics: {
3636
- description: "For validate action, include full diagnostic ID lists instead of compact summaries."
3637
- },
3638
- strictExit: {
3639
- description: "Return non-zero exit when health/validate/extension-doctor warnings are present."
3640
- },
3641
- failOnWarn: {
3642
- description: "Alias for strictExit in health/validate/extension-doctor action payloads."
3643
- },
3644
- fixHints: {
3645
- description: "For validate action, add a machine-executable fix_hints[] of pm commands to each failing check's details."
3646
- },
3647
- autoFix: {
3648
- description: "For validate action, apply the safe, deterministic subset of fix-hint remediations (field backfills) automatically; combine with dryRun to preview and fixScope to grant gated scopes."
3649
- },
3650
- fixScope: {
3651
- description: "For validate action, grant --auto-fix scopes (metadata, resolution, estimates, lifecycle). Defaults to the safe scopes metadata and resolution; estimates (per-type default estimated_minutes backfill) and lifecycle must be named explicitly.",
3652
- examples: [["estimates"], ["lifecycle"], ["metadata", "resolution"]]
3653
- },
3654
- pruneMissing: {
3655
- description: "For validate action, remove stale linked-file/doc LINKS whose paths classified as deleted (link removal only \u2014 never touches real files); honors dryRun."
3656
- },
3657
- checkHistoryDrift: {
3658
- description: "Run item/history hash drift checks."
3659
- },
3660
- checkCommandReferences: {
3661
- description: "Run linked-command PM-ID reference checks."
3662
- },
3663
- allowAuditNote: {
3664
- description: "For notes action, allow non-owner append-only note audits without requiring --force."
3665
- },
3666
- allowAuditLearning: {
3667
- description: "For learnings action, allow non-owner append-only learning audits without requiring --force."
3668
- },
3669
- allowAuditComment: {
3670
- description: "For comments action, allow non-owner append-only comment audits without requiring --force."
3671
- },
3672
- edit: {
3673
- description: "For comments action, replace the comment at this 1-based index with the supplied replacement text (add/stdin/file)."
3674
- },
3675
- delete: {
3676
- description: "For comments action, delete the comment at this 1-based index."
3677
- },
3678
- stdin: {
3679
- description: "When true for comments action, read comment text from piped stdin (supports multiline markdown)."
3680
- },
3681
- file: {
3682
- description: "Path to input file for actions that read payload text, such as comments --file.",
3683
- examples: ["notes/comment.md"]
3684
- },
3685
- allowAuditUpdate: {
3686
- description: "Allow non-owner metadata-only update audits without requiring --force."
3687
- },
3688
- allowAuditDepUpdate: {
3689
- description: "Allow non-owner append-only dependency update audits without requiring --force."
3690
- },
3691
- allowAuditRelease: {
3692
- description: "Allow non-owner release handoffs that clear assignee metadata without requiring --force."
3693
- },
3694
- preserveSourceIds: {
3695
- description: "Preserve explicit source IDs during Beads imports instead of normalizing to tracker prefix.",
3696
- examples: [true]
3697
- },
3698
- appendStable: {
3699
- description: "When true for files action, preserve existing linked-file order and append new links without full-array resorting."
3700
- },
3701
- discover: {
3702
- description: "When true for files action, use `pm files discover <id>` to scan item text for referenced file paths."
3703
- },
3704
- apply: {
3705
- description: "Persist changes instead of returning a dry-run preview: for files discovery, add the missing discovered file links; for schema add-type --infer, register the inferred custom item types."
3706
- },
3707
- discoveryNote: {
3708
- description: "Note attached to file links added by files discovery.",
3709
- examples: ["discovered from item text"]
3710
- },
3711
- addNote: {
3712
- description: "Note attached to every link added by add/addGlob in this call (per-entry embedded note= wins; requires add or addGlob). Maps to the CLI --note flag on pm files/pm docs.",
3713
- examples: ["command wiring"]
3714
- },
3715
- list: {
3716
- description: "When true, list command-specific entries without mutating state (for example linked paths for files/docs or topics for guide).",
3717
- examples: [true]
3718
- },
3719
- stream: {
3720
- description: "Stream selector: test-runs logs accepts stdout|stderr|both; activity accepts boolean/rows|ndjson|jsonl for line-delimited output.",
3721
- examples: ["stderr", "stdout", "both", "rows", "ndjson", "jsonl", true]
3722
- },
3723
- tail: {
3724
- description: "Number of lines to tail for background run logs.",
3725
- examples: [100]
3726
- },
3727
- query: {
3728
- description: "Search query text for search action."
3729
- },
3730
- keywords: {
3731
- description: "Alias for query in search action payloads."
3732
- },
3733
- includeLinked: {
3734
- description: "Include readable linked docs/files/tests content in keyword and hybrid lexical scoring."
3735
- },
3736
- titleExact: {
3737
- description: "For search action, require exact normalized title match for the full query string."
3738
- },
3739
- phraseExact: {
3740
- description: "For search action, require exact normalized query phrase match in item text fields."
3741
- },
3742
- highlight: {
3743
- description: "For search action, emit per-field matched-text snippets (wrapped in \xAB\u2026\xBB) on each hit. Off by default."
3744
- },
3745
- includeBody: {
3746
- description: "When true for list-family actions, include item body text in projected rows."
3747
- },
3748
- noTruncate: {
3749
- description: "When true for list-family actions, return every matched row, overriding any limit (surfaces total when rows were dropped)."
3750
- },
3751
- compact: {
3752
- description: "Render compact projection output for search and list-family actions."
3753
- },
3754
- brief: {
3755
- description: "Emit compact low-token output for commands that support terse projections or health details.",
3756
- examples: [true]
3757
- },
3758
- full: {
3759
- description: "Enable command-specific full/detail output mode when supported, such as deep item reads for get or full payload mode for search/history."
3760
- },
3761
- fields: {
3762
- description: "Comma-separated projection fields for get, search, list-family, or context outputs. Valid field names are command-specific (e.g. score/matched_fields apply to search; context projects focus-row fields such as priority/deadline/completion_pct).",
3763
- examples: ["id,title,status,parent,type", "id,title,score,matched_fields", "id,title,priority,deadline"]
3764
- },
3765
- groupBy: {
3766
- description: "Comma-separated aggregate grouping fields (supported: parent,type,priority,status,assignee,tags,sprint,release).",
3767
- examples: ["parent,type", "type,status", "priority,assignee", "tags", "sprint,release"]
3768
- },
3769
- count: {
3770
- description: "Enable grouped count output for aggregate action."
3771
- },
3772
- completion: {
3773
- description: "For aggregate action, add open/in_progress/closed/other counts and completion_pct per group."
3774
- },
3775
- sum: {
3776
- description: "Numeric field to sum per aggregate group (count and null_count are still returned).",
3777
- examples: ["estimated_minutes", "priority"]
3778
- },
3779
- avg: {
3780
- description: "Numeric field to average per aggregate group (count and null_count are still returned).",
3781
- examples: ["estimated_minutes", "priority"]
3782
- },
3783
- tree: {
3784
- description: "When true for list/get actions, render recursive parent/child tree ordering."
3785
- },
3786
- treeDepth: {
3787
- description: "Maximum recursion depth for tree output (0 keeps root rows only).",
3788
- examples: [0, 1, "2"]
3789
- },
3790
- includeUnparented: {
3791
- description: "Include unparented rows when aggregate grouping includes parent."
3792
- },
3793
- maxDepth: {
3794
- description: "Maximum dependency traversal depth for deps action (0 keeps only the root node).",
3795
- examples: [0, 1, "2"]
3796
- },
3797
- collapse: {
3798
- description: 'Dependency tree collapse mode for deps action ("none" or "repeated").',
3799
- examples: ["none", "repeated"]
3800
- },
3801
- summary: {
3802
- description: "When true for deps action, return counts only without full tree/graph payloads."
3803
- },
3804
- threshold: {
3805
- description: "Dedupe-audit fuzzy title similarity threshold between 0 and 1.",
3806
- examples: [0.5, "0.75"]
3807
- },
3808
- shell: {
3809
- description: "Shell target for completion generation.",
3810
- examples: ["bash"]
3811
- },
3812
- eagerTags: {
3813
- description: "When true for completion, eagerly embed current tracker tags into generated scripts (legacy mode)."
3814
- },
3815
- contractAction: {
3816
- description: "Filter contracts schema to one tool action.",
3817
- examples: ["create", "update"]
3818
- },
3819
- command: {
3820
- description: "Scope contracts output to one CLI command name; action/schema surfaces narrow by default.",
3821
- examples: ["create", "search", "list"]
3822
- },
3823
- schemaOnly: {
3824
- description: "When true, contracts action returns schema-focused payloads (mutually exclusive with flagsOnly/availabilityOnly)."
3825
- },
3826
- flagsOnly: {
3827
- description: "When true, contracts action returns only command flag surface payloads (mutually exclusive projection mode)."
3828
- },
3829
- availabilityOnly: {
3830
- description: "When true, contracts action returns only action availability payloads (mutually exclusive projection mode)."
3831
- },
3832
- runtimeOnly: {
3833
- description: "When true, contracts action only includes actions invocable in the current runtime."
3834
- },
3835
- activeOnly: {
3836
- description: "Alias for runtimeOnly in contracts action payloads."
3837
- },
3838
- depth: {
3839
- description: "Context depth level controlling how many sections are included (brief=focus+agenda, standard=+hierarchy/activity/progress/workload, deep=all sections, full=every section with no per-section row cap).",
3840
- examples: ["brief", "standard", "deep", "full"]
3841
- },
3842
- section: {
3843
- description: "Repeatable section selector for context; overrides --depth when provided.",
3844
- examples: [["hierarchy", "activity"], ["blockers", "files", "staleness"]]
3845
- },
3846
- activityLimit: {
3847
- description: "Maximum number of recent activity entries to include in context output.",
3848
- examples: [5, 10, "20"]
3849
- },
3850
- staleThreshold: {
3851
- description: "Staleness cutoff in days for context staleness section (e.g. 7 or 7d).",
3852
- examples: ["7", "14d", "30"]
3853
- }
3854
- };
3855
- var PM_TOOL_ACTION_SCOPED_PARAMETER_METADATA = {
3856
- schema: {
3857
- name: {
3858
- description: "Custom item type name (add-type/remove-type/show), custom status id (show-status/add-status/remove-status), or custom field key (add-field/remove-field/show-field). Required for those subcommands.",
3859
- examples: ["Spike", "review", "component"]
3860
- }
3861
- },
3862
- profile: {
3863
- name: {
3864
- description: "Profile name for show/apply/lint. Built-in profiles are agile, ops, and research; an active extension can contribute additional archetype names that resolve here too.",
3865
- examples: ["agile", "ops", "research"]
3866
- }
3867
- }
3868
- };
3869
-
3870
- // dist/sdk/cli-contracts/tool-schema.js
3871
- !(function() {
3872
- try {
3873
- var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3874
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d9ede4a2-7ec3-5716-b623-8469cab14853");
3875
- } catch (e2) {
3876
- }
3877
- })();
3878
- var PM_TOOL_GLOBAL_PARAMETER_KEYS = [
3879
- "json",
3880
- "quiet",
3881
- "profile",
3882
- "noExtensions",
3883
- "noPager",
3884
- "path",
3885
- "pmExecutable",
3886
- "timeoutMs"
3887
- ];
3888
- var PM_TOOL_ACTION_MUTATION_PARAMETER_KEYS = {
3889
- create: ["fullChangedFields", "idOnly"],
3890
- copy: ["fullChangedFields", "idOnly"],
3891
- update: ["fullChangedFields", "idOnly"],
3892
- close: ["fullChangedFields", "idOnly"],
3893
- append: ["fullChangedFields"],
3894
- "update-many": ["fullChangedFields"],
3895
- "close-many": ["fullChangedFields"]
3896
- };
3897
- function toSchemaKeyList(values) {
3898
- return normalizeUniqueStringList(values);
3899
- }
3900
- var CREATE_CONTRACT_PARAMETER_KEYS = toSchemaKeyList([
3901
- ...TOOL_CREATE_OPTION_CONTRACTS.map((entry) => entry.param),
3902
- ...TOOL_SHARED_CREATE_UPDATE_OPTION_CONTRACTS.map((entry) => entry.param),
3903
- "assignee"
3904
- ]);
3905
- var UPDATE_CONTRACT_PARAMETER_KEYS = toSchemaKeyList([
3906
- ...TOOL_UPDATE_OPTION_CONTRACTS.map((entry) => entry.param),
3907
- ...TOOL_SHARED_CREATE_UPDATE_OPTION_CONTRACTS.map((entry) => entry.param),
3908
- "force"
3909
- ]);
3910
- var UPDATE_MANY_CONTRACT_PARAMETER_KEYS = toSchemaKeyList([
3911
- ...TOOL_UPDATE_MANY_FILTER_OPTION_CONTRACTS.map((entry) => entry.param),
3912
- ...UPDATE_CONTRACT_PARAMETER_KEYS,
3913
- "dryRun",
3914
- "rollback",
3915
- "noCheckpoint"
3916
- ]);
3917
- var NORMALIZE_CONTRACT_PARAMETER_KEYS = toSchemaKeyList([
3918
- ...TOOL_NORMALIZE_FILTER_OPTION_CONTRACTS.map((entry) => entry.param),
3919
- "dryRun",
3920
- "apply",
3921
- "author",
3922
- "message",
3923
- "allowAuditUpdate",
3924
- "force"
3925
- ]);
3926
- var CLOSE_MANY_CONTRACT_PARAMETER_KEYS = toSchemaKeyList([
3927
- ...TOOL_CLOSE_MANY_FILTER_OPTION_CONTRACTS.map((entry) => entry.param),
3928
- "reason",
3929
- "resolution",
3930
- "expectedResult",
3931
- "actualResult",
3932
- "validateClose",
3933
- "dryRun",
3934
- "rollback",
3935
- "noCheckpoint",
3936
- "author",
3937
- "message",
3938
- "force"
3939
- ]);
3940
- var CONTEXT_CONTRACT_PARAMETER_KEYS = toSchemaKeyList([
3941
- ...TOOL_CONTEXT_OPTION_CONTRACTS.map((entry) => entry.param),
3942
- "past",
3943
- "section"
3944
- ]);
3945
- var ACTIVITY_CONTRACT_PARAMETER_KEYS = toSchemaKeyList([
3946
- ...TOOL_ACTIVITY_OPTION_CONTRACTS.map((entry) => entry.param),
3947
- "stream"
3948
- ]);
3949
- var LIST_CONTRACT_PARAMETER_KEYS = toSchemaKeyList([
3950
- ...TOOL_LIST_FILTER_OPTION_CONTRACTS.map((entry) => entry.param),
3951
- "includeBody",
3952
- "noTruncate",
3953
- "compact",
3954
- "brief",
3955
- "full"
3956
- ]);
3957
- var AGGREGATE_CONTRACT_PARAMETER_KEYS = toSchemaKeyList([
3958
- ...TOOL_AGGREGATE_OPTION_CONTRACTS.map((entry) => entry.param),
3959
- "count",
3960
- "completion",
3961
- "includeUnparented"
3962
- ]);
3963
- var DEDUPE_AUDIT_CONTRACT_PARAMETER_KEYS = toSchemaKeyList(TOOL_DEDUPE_AUDIT_OPTION_CONTRACTS.map((entry) => entry.param));
3964
- var SEARCH_CONTRACT_PARAMETER_KEYS = toSchemaKeyList([
3965
- "query",
3966
- "keywords",
3967
- "mode",
3968
- "semantic",
3969
- "hybrid",
3970
- "includeLinked",
3971
- "titleExact",
3972
- "phraseExact",
3973
- "highlight",
3974
- "compact",
3975
- "full",
3976
- ...TOOL_SEARCH_FILTER_OPTION_CONTRACTS.map((entry) => entry.param)
3977
- ]);
3978
- var NEXT_CONTRACT_PARAMETER_KEYS = toSchemaKeyList([
3979
- "type",
3980
- "tag",
3981
- "priority",
3982
- "assignee",
3983
- "assigneeFilter",
3984
- "sprint",
3985
- "release",
3986
- "parent",
3987
- "limit",
3988
- "blockedLimit",
3989
- "readyOnly",
3990
- "format"
3991
- ]);
3992
- var AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS = ["author", "message", "force"];
3993
- var MANAGED_EXTENSION_PACKAGE_OPTION_KEYS = [
3994
- "target",
3995
- "scope",
3996
- "github",
3997
- "ref",
3998
- "init",
3999
- "install",
4000
- "uninstall",
4001
- "explore",
4002
- "manage",
4003
- "describe",
4004
- "markdown",
4005
- "output",
4006
- "reload",
4007
- "doctor",
4008
- "catalog",
4009
- "adopt",
4010
- "adoptAll",
4011
- "activate",
4012
- "deactivate",
4013
- "runtimeProbe",
4014
- "fixManagedState",
4015
- "detail",
4016
- "trace",
4017
- "watch",
4018
- "strictExit",
4019
- "failOnWarn"
4020
- ];
4021
- function managedLifecycleSchemaContracts(prefix) {
4022
- return {
4023
- [`${prefix}-init`]: { required: ["target"], optional: ["scope"] },
4024
- [`${prefix}-install`]: {
4025
- optional: ["target", "github", "scope", "ref"],
4026
- anyOfRequired: [["target"], ["github"]]
4027
- },
4028
- [`${prefix}-uninstall`]: { required: ["target"], optional: ["scope"] },
4029
- [`${prefix}-explore`]: { optional: ["scope"] },
4030
- [`${prefix}-manage`]: { optional: ["scope", "runtimeProbe", "fixManagedState"] },
4031
- [`${prefix}-describe`]: { optional: ["target", "scope", "markdown", "output"] },
4032
- [`${prefix}-reload`]: { optional: ["scope", "watch"] },
4033
- [`${prefix}-doctor`]: { optional: ["scope", "detail", "trace", "fixManagedState", "strictExit", "failOnWarn"] },
4034
- [`${prefix}-catalog`]: { optional: ["scope", "fields"] },
4035
- [`${prefix}-adopt`]: { required: ["target"], optional: ["scope", "github", "ref"] },
4036
- [`${prefix}-adopt-all`]: { optional: ["scope"] },
4037
- [`${prefix}-activate`]: { required: ["target"], optional: ["scope"] },
4038
- [`${prefix}-deactivate`]: { required: ["target"], optional: ["scope"] },
4039
- [prefix]: {
4040
- optional: MANAGED_EXTENSION_PACKAGE_OPTION_KEYS
4041
- }
4042
- };
4043
- }
4044
- var PM_TOOL_ACTION_SCHEMA_CONTRACTS = {
4045
- init: { optional: ["prefix", "preset", "typePreset", "defaults", "author", "agentGuidance", "withPackages", "force", "verbose"] },
4046
- config: {
4047
- required: ["scope", "configAction"],
4048
- optional: ["key", "value", "criterion", "clearCriteria", "format", "policy"]
4049
- },
4050
- ...managedLifecycleSchemaContracts("extension"),
4051
- ...managedLifecycleSchemaContracts("package"),
4052
- install: {
4053
- optional: ["target", "github", "scope", "ref"],
4054
- anyOfRequired: [["target"], ["github"]]
4055
- },
4056
- upgrade: {
4057
- optional: ["target", "scope", "dryRun", "cliOnly", "packagesOnly", "repair", "tag", "packageName"]
4058
- },
4059
- create: {
4060
- required: ["title", "description", "type", "status", "priority", "message"],
4061
- optional: CREATE_CONTRACT_PARAMETER_KEYS
4062
- },
4063
- copy: { required: ["id"], optional: ["title", "author", "message"] },
4064
- focus: { optional: ["id", "clear"], mutuallyExclusive: [["id", "clear"]] },
4065
- list: { optional: LIST_CONTRACT_PARAMETER_KEYS },
4066
- "list-all": { optional: LIST_CONTRACT_PARAMETER_KEYS },
4067
- "list-draft": { optional: LIST_CONTRACT_PARAMETER_KEYS },
4068
- "list-open": { optional: LIST_CONTRACT_PARAMETER_KEYS },
4069
- "list-in-progress": { optional: LIST_CONTRACT_PARAMETER_KEYS },
4070
- "list-blocked": { optional: LIST_CONTRACT_PARAMETER_KEYS },
4071
- "list-closed": { optional: LIST_CONTRACT_PARAMETER_KEYS },
4072
- "list-canceled": { optional: LIST_CONTRACT_PARAMETER_KEYS },
4073
- aggregate: { optional: AGGREGATE_CONTRACT_PARAMETER_KEYS },
4074
- "dedupe-audit": { optional: DEDUPE_AUDIT_CONTRACT_PARAMETER_KEYS },
4075
- guide: { optional: ["list", "format", "depth"] },
4076
- context: { optional: CONTEXT_CONTRACT_PARAMETER_KEYS },
4077
- ctx: { optional: CONTEXT_CONTRACT_PARAMETER_KEYS },
4078
- get: { required: ["id"], optional: ["depth", "full", "fields", "tree", "treeDepth", "format"] },
4079
- search: {
4080
- optional: SEARCH_CONTRACT_PARAMETER_KEYS,
4081
- anyOfRequired: [["query"], ["keywords"]]
4082
- },
4083
- next: { optional: NEXT_CONTRACT_PARAMETER_KEYS },
4084
- reindex: { optional: ["mode", "progress"] },
4085
- history: { required: ["id"], optional: ["limit", "compact", "full", "diff", "verify", "format"] },
4086
- "history-redact": {
4087
- required: ["id"],
4088
- optional: ["literal", "regex", "replacement", "dryRun", ...AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS],
4089
- anyOfRequired: [["literal"], ["regex"]]
4090
- },
4091
- "history-repair": {
4092
- // Exactly one of `id` (single stream) or `all` (bulk drift repair) is required.
4093
- optional: ["id", "all", "dryRun", ...AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS],
4094
- oneOfRequired: [["id"], ["all"]]
4095
- },
4096
- "history-compact": {
4097
- // Single-id mode (`id` + optional `before`) or bulk mode (any of `ids` /
4098
- // `allOver` / `closed` / `allStreams`, with optional `minEntries`). Scan
4099
- // selectors (`allOver` + `closed`/`allStreams`) legitimately combine, so the
4100
- // mode/exclusivity contract is enforced at runtime by assertHistoryCompactTarget
4101
- // rather than a one-of schema rule.
4102
- optional: ["id", "before", "ids", "allOver", "closed", "allStreams", "minEntries", "dryRun", ...AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS]
4103
- },
4104
- schema: {
4105
- required: ["subcommand"],
4106
- // No --message: schema mutations write config files, not item history.
4107
- optional: [
4108
- "name",
4109
- "description",
4110
- "defaultStatus",
4111
- "folder",
4112
- "alias",
4113
- "role",
4114
- "order",
4115
- "fieldType",
4116
- "commands",
4117
- "cliFlag",
4118
- "required",
4119
- "requiredOnCreate",
4120
- "allowUnset",
4121
- "requiredTypes",
4122
- "typePreset",
4123
- "infer",
4124
- "minCount",
4125
- "apply",
4126
- "author",
4127
- "force"
4128
- ],
4129
- conditionalRequired: [
4130
- { property: "subcommand", value: "show", required: ["name"] },
4131
- { property: "subcommand", value: "show-status", required: ["name"] },
4132
- { property: "subcommand", value: "add-type", required: ["name"] },
4133
- { property: "subcommand", value: "remove-type", required: ["name"] },
4134
- // show-status/add-status/remove-status pass the status id as `name`.
4135
- { property: "subcommand", value: "add-status", required: ["name"] },
4136
- { property: "subcommand", value: "remove-status", required: ["name"] },
4137
- // field subcommands pass the field key as `name`.
4138
- { property: "subcommand", value: "add-field", required: ["name"] },
4139
- { property: "subcommand", value: "remove-field", required: ["name"] },
4140
- { property: "subcommand", value: "show-field", required: ["name"] },
4141
- // apply-preset passes the preset name as `typePreset`.
4142
- { property: "subcommand", value: "apply-preset", required: ["typePreset"] }
4143
- ]
4144
- },
4145
- profile: {
4146
- required: ["subcommand"],
4147
- // No --message: profile staging writes config/schema files, not item history.
4148
- optional: ["name", "dryRun", "author", "force"],
4149
- conditionalRequired: [
4150
- { property: "subcommand", value: "show", required: ["name"] },
4151
- { property: "subcommand", value: "apply", required: ["name"] },
4152
- { property: "subcommand", value: "lint", required: ["name"] }
4153
- ]
4154
- },
4155
- plan: {
4156
- required: ["subcommand"],
4157
- optional: [
4158
- "id",
4159
- "stepRef",
4160
- "reorderTo",
4161
- "title",
4162
- "description",
4163
- "scope",
4164
- "parent",
4165
- "related",
4166
- "blocks",
4167
- "blockedBy",
4168
- "harness",
4169
- "mode",
4170
- "resumeContext",
4171
- "tags",
4172
- "priority",
4173
- "body",
4174
- "claim",
4175
- "fromSearch",
4176
- "stepTitle",
4177
- "step",
4178
- "stepBody",
4179
- "stepOwner",
4180
- "stepStatus",
4181
- "stepEvidence",
4182
- "stepBlockedReason",
4183
- "stepReplacement",
4184
- "dependsOn",
4185
- "link",
4186
- "linkKind",
4187
- "linkNote",
4188
- "promoteToItemDep",
4189
- "allowMultipleActive",
4190
- "file",
4191
- "test",
4192
- "doc",
4193
- "decisionText",
4194
- "decision",
4195
- "decisionRationale",
4196
- "decisionEvidence",
4197
- "discoveryText",
4198
- "discovery",
4199
- "validationText",
4200
- "validation",
4201
- "validationCommand",
4202
- "validationExpected",
4203
- "depth",
4204
- "fields",
4205
- "steps",
4206
- "materializeType",
4207
- "materializeParent",
4208
- "materializeTags",
4209
- ...AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS
4210
- ]
4211
- },
4212
- activity: { optional: ACTIVITY_CONTRACT_PARAMETER_KEYS },
4213
- restore: { required: ["id", "target"], optional: AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS },
4214
- update: { required: ["id"], optional: UPDATE_CONTRACT_PARAMETER_KEYS },
4215
- "update-many": { optional: UPDATE_MANY_CONTRACT_PARAMETER_KEYS },
4216
- normalize: { optional: NORMALIZE_CONTRACT_PARAMETER_KEYS },
4217
- close: {
4218
- required: ["id"],
4219
- optional: [
4220
- "text",
4221
- "reason",
4222
- "closeReason",
4223
- "duplicateOf",
4224
- "validateClose",
4225
- "resolution",
4226
- "expectedResult",
4227
- "actualResult",
4228
- ...AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS
4229
- ]
4230
- },
4231
- "close-many": { optional: CLOSE_MANY_CONTRACT_PARAMETER_KEYS },
4232
- delete: { required: ["id"], optional: ["dryRun", ...AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS] },
4233
- append: { required: ["id", "body"], optional: AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS },
4234
- comments: {
4235
- required: ["id"],
4236
- optional: ["text", "add", "stdin", "file", "edit", "delete", "limit", "allowAuditComment", ...AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS]
4237
- },
4238
- "comments-audit": {
4239
- optional: [
4240
- "status",
4241
- "type",
4242
- "assignee",
4243
- "assigneeFilter",
4244
- "parent",
4245
- "tag",
4246
- "sprint",
4247
- "release",
4248
- "priority",
4249
- "limitItems",
4250
- "limit",
4251
- "fullHistory",
4252
- "latest"
4253
- ]
4254
- },
4255
- notes: {
4256
- required: ["id"],
4257
- optional: ["text", "add", "limit", "allowAuditNote", "allowAuditComment", ...AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS]
4258
- },
4259
- learnings: {
4260
- required: ["id"],
4261
- optional: ["text", "add", "limit", "allowAuditLearning", "allowAuditComment", ...AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS]
4262
- },
4263
- files: {
4264
- required: ["id"],
4265
- optional: [
4266
- "add",
4267
- "addGlob",
4268
- "remove",
4269
- "migrate",
4270
- "list",
4271
- // GH-170 (pm-pfnx): `addNote` is the MCP spelling of the CLI --note flag
4272
- // (the shared `note` parameter is the array-typed create/update note
4273
- // seed, so files/docs use a distinct single-string key).
4274
- "addNote",
4275
- "discover",
4276
- "apply",
4277
- "discoveryNote",
4278
- "appendStable",
4279
- "validatePaths",
4280
- "audit",
4281
- ...AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS
4282
- ],
4283
- dependentAnyOfRequired: [{ property: "addNote", anyOfRequired: [["add"], ["addGlob"]] }]
4284
- },
4285
- docs: {
4286
- required: ["id"],
4287
- optional: [
4288
- "add",
4289
- "addGlob",
4290
- "remove",
4291
- "migrate",
4292
- "addNote",
4293
- "list",
4294
- "validatePaths",
4295
- "audit",
4296
- ...AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS
4297
- ],
4298
- dependentAnyOfRequired: [{ property: "addNote", anyOfRequired: [["add"], ["addGlob"]] }]
4299
- },
4300
- deps: { required: ["id"], optional: ["format", "maxDepth", "collapse", "summary"] },
4301
- test: {
4302
- required: ["id"],
4303
- optional: [
4304
- "add",
4305
- "addJson",
4306
- "remove",
4307
- "run",
4308
- "match",
4309
- "onlyIndex",
4310
- "onlyLast",
4311
- "background",
4312
- "timeout",
4313
- "progress",
4314
- "envSet",
4315
- "envClear",
4316
- "sharedHostSafe",
4317
- "pmContext",
4318
- "overrideLinkedPmContext",
4319
- "failOnContextMismatch",
4320
- "failOnSkipped",
4321
- "failOnEmptyTestRun",
4322
- "requireAssertionsForPm",
4323
- "checkContext",
4324
- "autoPmContext",
4325
- ...AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS
4326
- ]
4327
- },
4328
- "test-all": {
4329
- optional: [
4330
- "status",
4331
- "limit",
4332
- "offset",
4333
- "background",
4334
- "timeout",
4335
- "progress",
4336
- "envSet",
4337
- "envClear",
4338
- "sharedHostSafe",
4339
- "pmContext",
4340
- "overrideLinkedPmContext",
4341
- "failOnContextMismatch",
4342
- "failOnSkipped",
4343
- "failOnEmptyTestRun",
4344
- "requireAssertionsForPm",
4345
- "checkContext",
4346
- "autoPmContext"
4347
- ]
4348
- },
4349
- telemetry: {
4350
- optional: ["subcommand", "limit"]
4351
- },
4352
- "test-runs-list": {
4353
- optional: ["status", "limit"]
4354
- },
4355
- "test-runs-status": {
4356
- required: ["runId"]
4357
- },
4358
- "test-runs-logs": {
4359
- required: ["runId"],
4360
- optional: ["stream", "tail"]
4361
- },
4362
- "test-runs-stop": {
4363
- required: ["runId"],
4364
- optional: ["force"]
4365
- },
4366
- "test-runs-resume": {
4367
- required: ["runId"],
4368
- optional: ["author"]
4369
- },
4370
- stats: { optional: ["storage", "metadataCoverage", "fieldUtilization", "byAssignee", "byTag", "byPriority", "tagPrefix"] },
4371
- health: {
4372
- optional: [
4373
- "strictDirectories",
4374
- "strictExit",
4375
- "failOnWarn",
4376
- "checkOnly",
4377
- "checkTelemetry",
4378
- "noRefresh",
4379
- "refreshVectors",
4380
- "verboseStaleItems",
4381
- "brief",
4382
- "summary",
4383
- "skipVectors",
4384
- "skipIntegrity",
4385
- "skipDrift",
4386
- "full"
4387
- ]
4388
- },
4389
- validate: {
4390
- optional: [
4391
- "checkMetadata",
4392
- "metadataProfile",
4393
- "checkResolution",
4394
- "checkLifecycle",
4395
- "checkStaleBlockers",
4396
- "dependencyCycleSeverity",
4397
- "parentCycleSeverity",
4398
- "checkFiles",
4399
- "scanMode",
4400
- "includePmInternals",
4401
- "verboseFileLists",
4402
- "verboseDiagnostics",
4403
- "allAffectedIds",
4404
- "strictExit",
4405
- "failOnWarn",
4406
- "fixHints",
4407
- "autoFix",
4408
- "dryRun",
4409
- "fixScope",
4410
- "pruneMissing",
4411
- "checkHistoryDrift",
4412
- "checkCommandReferences"
4413
- ]
4414
- },
4415
- gc: { optional: ["dryRun", "gcScope"] },
4416
- contracts: { optional: ["contractAction", "command", "schemaOnly", "flagsOnly", "availabilityOnly", "runtimeOnly", "activeOnly", "full"] },
4417
- completion: { required: ["shell"], optional: ["eagerTags"] },
4418
- claim: { required: ["id"], optional: AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS },
4419
- release: { required: ["id"], optional: ["allowAuditRelease", ...AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS] },
4420
- "start-task": { required: ["id"], optional: AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS },
4421
- "pause-task": { required: ["id"], optional: AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS },
4422
- "close-task": { required: ["id"], optional: ["text", "validateClose", ...AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS] }
4423
- };
4424
- var PM_TOOL_ACTION_PARAMETER_CONTRACTS = Object.freeze(Object.fromEntries(PM_TOOL_ACTIONS.map((action) => [action, PM_TOOL_ACTION_SCHEMA_CONTRACTS[action]])));
4425
- function fallbackToolParameterDescription(key) {
4426
- return key.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]/g, " ").trim().replace(/^./, (value) => value.toUpperCase()).concat(".");
4427
- }
4428
- function decorateToolParameterDefinition(key, definition) {
4429
- const baseDefinition = typeof definition === "object" && definition !== null ? { ...definition } : {};
4430
- const metadata = PM_TOOL_PARAMETER_METADATA[key];
4431
- return {
4432
- ...baseDefinition,
4433
- description: metadata?.description ?? fallbackToolParameterDescription(key),
4434
- ...metadata?.examples ? { examples: metadata.examples } : {}
4435
- };
4436
- }
4437
- function actionScopedToolParameterMetadata(action, key) {
4438
- if (action === "plan" && Object.prototype.hasOwnProperty.call(PLAN_ACTION_PARAMETER_METADATA, key)) {
4439
- return PLAN_ACTION_PARAMETER_METADATA[key];
4440
- }
4441
- const actionOverrides = PM_TOOL_ACTION_SCOPED_PARAMETER_METADATA[action];
4442
- if (actionOverrides && Object.prototype.hasOwnProperty.call(actionOverrides, key)) {
4443
- return actionOverrides[key];
4444
- }
4445
- return PM_TOOL_PARAMETER_METADATA[key];
4446
- }
4447
- function decorateActionScopedToolParameterDefinition(action, key, definition) {
4448
- const baseDefinition = typeof definition === "object" && definition !== null ? { ...definition } : {};
4449
- const metadata = actionScopedToolParameterMetadata(action, key);
4450
- return {
4451
- ...baseDefinition,
4452
- description: metadata?.description ?? fallbackToolParameterDescription(key),
4453
- ...metadata?.examples ? { examples: metadata.examples } : {}
4454
- };
4455
- }
4456
- function actionScopedToolParameterDefinition(action, key) {
4457
- if (action === "plan" && Object.prototype.hasOwnProperty.call(PLAN_ACTION_PARAMETER_PROPERTIES, key)) {
4458
- return PLAN_ACTION_PARAMETER_PROPERTIES[key];
4459
- }
4460
- if ((action === "get" || action === "history" || action === "search") && key === "format") {
4461
- return { type: "string", enum: ["json", "toon"] };
4462
- }
4463
- return PM_TOOL_PARAMETER_PROPERTIES[key];
4464
- }
4465
- function buildActionScopedSchemaProperties(action, allowedKeys) {
4466
- const properties = {
4467
- action: {
4468
- const: action,
4469
- description: PM_TOOL_PARAMETER_METADATA.action?.description ?? "Tool action to execute."
4470
- }
4471
- };
4472
- for (const key of allowedKeys) {
4473
- if (key === "action") {
4474
- continue;
4475
- }
4476
- const definition = actionScopedToolParameterDefinition(action, key);
4477
- if (definition) {
4478
- properties[key] = decorateActionScopedToolParameterDefinition(action, key, definition);
4479
- }
4480
- }
4481
- return properties;
4482
- }
4483
- function buildOneOfSchemaEntries(action, oneOfRequiredGroups) {
4484
- const allOneOfFields = oneOfRequiredGroups.flat();
4485
- return oneOfRequiredGroups.map((requiredFields) => {
4486
- const otherFields = allOneOfFields.filter((field) => !requiredFields.includes(field));
4487
- return {
4488
- required: [...requiredFields],
4489
- ...otherFields.length > 0 ? { not: { anyOf: otherFields.map((field) => ({ required: [field] })) } } : {},
4490
- ...action === "history-repair" && requiredFields.includes("all") ? { properties: { all: { const: true } } } : {}
4491
- };
4492
- });
4493
- }
4494
- function buildActionScopedAllOf(contract) {
4495
- const allOf = [];
4496
- if (contract.conditionalRequired && contract.conditionalRequired.length > 0) {
4497
- for (const entry of contract.conditionalRequired) {
4498
- allOf.push({
4499
- if: {
4500
- properties: {
4501
- [entry.property]: { const: entry.value }
4502
- },
4503
- required: [entry.property]
4504
- },
4505
- // eslint-disable-next-line unicorn/no-thenable -- JSON Schema conditional keyword, not a Promise-like object.
4506
- then: {
4507
- required: entry.required
4508
- }
4509
- });
4510
- }
4511
- }
4512
- if (contract.dependentAnyOfRequired && contract.dependentAnyOfRequired.length > 0) {
4513
- for (const entry of contract.dependentAnyOfRequired) {
4514
- allOf.push({
4515
- if: { required: [entry.property] },
4516
- // eslint-disable-next-line unicorn/no-thenable -- JSON Schema conditional keyword, not a Promise-like object.
4517
- then: {
4518
- anyOf: entry.anyOfRequired.map((requiredFields) => ({
4519
- required: [...requiredFields]
4520
- }))
4521
- }
4522
- });
4523
- }
4524
- }
4525
- if (contract.mutuallyExclusive && contract.mutuallyExclusive.length > 0) {
4526
- for (const group of contract.mutuallyExclusive) {
4527
- allOf.push({ not: { required: toSchemaKeyList(group) } });
4528
- }
4529
- }
4530
- return allOf;
4531
- }
4532
- function buildActionScopedToolSchema(action) {
4533
- const contract = PM_TOOL_ACTION_SCHEMA_CONTRACTS[action];
4534
- const required = toSchemaKeyList(contract.required ?? []);
4535
- const optional = toSchemaKeyList(contract.optional ?? []);
4536
- const mutationParameterKeys = PM_TOOL_ACTION_MUTATION_PARAMETER_KEYS[action] ?? [];
4537
- const allowedKeys = toSchemaKeyList(["action", ...PM_TOOL_GLOBAL_PARAMETER_KEYS, ...mutationParameterKeys, ...required, ...optional]);
4538
- const schema = {
4539
- type: "object",
4540
- additionalProperties: false,
4541
- required: ["action", ...required],
4542
- title: `pm action "${action}" parameters`,
4543
- properties: buildActionScopedSchemaProperties(action, allowedKeys)
4544
- };
4545
- if (contract.anyOfRequired && contract.anyOfRequired.length > 0) {
4546
- schema.anyOf = contract.anyOfRequired.map((requiredFields) => ({
4547
- required: [...requiredFields]
4548
- }));
4549
- }
4550
- if (contract.oneOfRequired && contract.oneOfRequired.length > 0) {
4551
- schema.oneOf = buildOneOfSchemaEntries(action, contract.oneOfRequired);
4552
- }
4553
- const allOf = buildActionScopedAllOf(contract);
4554
- if (allOf.length > 0) {
4555
- schema.allOf = allOf;
4556
- }
4557
- return schema;
4558
- }
4559
- function createLazyContractSchema(build) {
4560
- let value;
4561
- const resolve = () => value ??= build();
4562
- return new Proxy({}, {
4563
- get: (_target, prop) => resolve()[prop],
4564
- has: (_target, prop) => prop in resolve(),
4565
- ownKeys: () => Reflect.ownKeys(resolve()),
4566
- getOwnPropertyDescriptor: (_target, prop) => {
4567
- const descriptor = Reflect.getOwnPropertyDescriptor(resolve(), prop);
4568
- if (descriptor) {
4569
- descriptor.configurable = true;
4570
- }
4571
- return descriptor;
4572
- }
4573
- });
4574
- }
4575
- var PM_TOOL_PARAMETERS_SCHEMA_VERSION = "4.0.6";
4576
- var PM_TOOL_PARAMETERS_SCHEMA_MAJOR = PM_TOOL_PARAMETERS_SCHEMA_VERSION.split(".")[0];
4577
- var PM_PROVIDER_TOOL_PARAMETERS_SCHEMA_VERSION = "1.0.0";
4578
- var PM_TOOL_PARAMETERS_SCHEMA = createLazyContractSchema(() => ({
4579
- $schema: "https://json-schema.org/draft/2020-12/schema",
4580
- $id: `https://schema.unbrained.dev/pm-cli/tool-parameters-v${PM_TOOL_PARAMETERS_SCHEMA_MAJOR}.schema.json`,
4581
- title: "pm-cli tool parameters (action-scoped strict schema)",
4582
- "x-schema-version": PM_TOOL_PARAMETERS_SCHEMA_VERSION,
4583
- type: "object",
4584
- oneOf: PM_TOOL_ACTIONS.map((action) => buildActionScopedToolSchema(action))
4585
- }));
4586
- function toProviderCompatibleParameterDefinition(key, definition) {
4587
- const decorated = decorateToolParameterDefinition(key, definition);
4588
- if (typeof decorated.type === "string") {
4589
- return decorated;
4590
- }
4591
- const anyOf = Array.isArray(decorated.anyOf) ? decorated.anyOf : [];
4592
- const firstTypedVariant = anyOf.find((variant) => typeof variant.type === "string");
4593
- if (firstTypedVariant) {
4594
- const { anyOf: _anyOf2, ...rest2 } = decorated;
4595
- return {
4596
- ...firstTypedVariant,
4597
- ...rest2
4598
- };
4599
- }
4600
- const { anyOf: _anyOf, ...rest } = decorated;
4601
- return {
4602
- ...rest,
4603
- type: "string"
4604
- };
4605
- }
4606
- function buildProviderCompatibleToolSchema() {
4607
- const properties = {
4608
- action: {
4609
- type: "string",
4610
- description: PM_TOOL_PARAMETER_METADATA.action?.description ?? "Tool action to execute."
4611
- },
4612
- options: {
4613
- type: "object",
4614
- additionalProperties: true,
4615
- description: "Advanced command options object forwarded to the selected pm action."
4616
- }
4617
- };
4618
- for (const key of Object.keys(PM_TOOL_PARAMETER_PROPERTIES).sort()) {
4619
- properties[key] = toProviderCompatibleParameterDefinition(key, PM_TOOL_PARAMETER_PROPERTIES[key]);
4620
- }
4621
- return {
4622
- title: "pm-cli tool parameters (provider-compatible flat schema)",
4623
- "x-schema-version": PM_PROVIDER_TOOL_PARAMETERS_SCHEMA_VERSION,
4624
- type: "object",
4625
- additionalProperties: false,
4626
- required: ["action"],
4627
- properties
4628
- };
4629
- }
4630
- var PM_PROVIDER_TOOL_PARAMETERS_SCHEMA = createLazyContractSchema(buildProviderCompatibleToolSchema);
4631
- var _testOnlyCliContracts = {
4632
- buildActionScopedToolSchema,
4633
- buildProviderCompatibleToolSchema,
4634
- decorateActionScopedToolParameterDefinition,
4635
- decorateToolParameterDefinition,
4636
- toolActionSchemaContracts: PM_TOOL_ACTION_SCHEMA_CONTRACTS,
4637
- toolParameterMetadata: PM_TOOL_PARAMETER_METADATA,
4638
- toProviderCompatibleParameterDefinition,
4639
- toUniqueFlagContracts,
4640
- withFlagAliasMetadata
4641
- };
4642
-
4643
- // dist/sdk/cli-contracts.js
4644
- !(function() {
4645
- try {
4646
- var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
4647
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b8aa5310-bff0-59b5-9a34-c6fc6a46582d");
4648
- } catch (e2) {
4649
- }
4650
- })();
4651
-
4652
- export {
4653
- LIST_COMMANDER_STRING_OPTION_CONTRACTS,
4654
- SEARCH_COMMANDER_STRING_OPTION_CONTRACTS,
4655
- CALENDAR_COMMANDER_STRING_OPTION_CONTRACTS,
4656
- CONTEXT_COMMANDER_STRING_OPTION_CONTRACTS,
4657
- NEXT_COMMANDER_STRING_OPTION_CONTRACTS,
4658
- ACTIVITY_COMMANDER_STRING_OPTION_CONTRACTS,
4659
- readFirstStringFromCommanderOptions,
4660
- readFirstValueFromCommanderOptions,
4661
- readStringArrayFromCommanderOptions,
4662
- CREATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS,
4663
- CREATE_COMMANDER_STRING_OPTION_CONTRACTS,
4664
- CREATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS,
4665
- UPDATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS,
4666
- UPDATE_COMMANDER_STRING_OPTION_CONTRACTS,
4667
- UPDATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS,
4668
- PM_EXTENSION_CAPABILITY_CONTRACTS,
4669
- PM_EXTENSION_SERVICE_NAME_CONTRACTS,
4670
- PM_EXTENSION_POLICY_MODE_CONTRACTS,
4671
- PM_EXTENSION_TRUST_MODE_CONTRACTS,
4672
- PM_EXTENSION_SANDBOX_PROFILE_CONTRACTS,
4673
- PM_EXTENSION_POLICY_SURFACE_CONTRACTS,
4674
- PM_CORE_COMMAND_NAMES,
4675
- PM_TOOL_ACTIONS,
4676
- isPmToolAction,
4677
- isPmExtensionCapabilityContract,
4678
- isPmExtensionServiceNameContract,
4679
- isPmExtensionPolicyModeContract,
4680
- isPmExtensionPolicySurfaceContract,
4681
- TOOL_LIST_FILTER_OPTION_CONTRACTS,
4682
- TOOL_AGGREGATE_OPTION_CONTRACTS,
4683
- TOOL_DEDUPE_AUDIT_OPTION_CONTRACTS,
4684
- TOOL_SEARCH_FILTER_OPTION_CONTRACTS,
4685
- TOOL_SHARED_CREATE_UPDATE_OPTION_CONTRACTS,
4686
- TOOL_CREATE_OPTION_CONTRACTS,
4687
- TOOL_UPDATE_OPTION_CONTRACTS,
4688
- TOOL_UPDATE_MANY_FILTER_OPTION_CONTRACTS,
4689
- TOOL_NORMALIZE_FILTER_OPTION_CONTRACTS,
4690
- TOOL_CLOSE_MANY_FILTER_OPTION_CONTRACTS,
4691
- TOOL_CALENDAR_OPTION_CONTRACTS,
4692
- TOOL_ACTIVITY_OPTION_CONTRACTS,
4693
- TOOL_CONTEXT_OPTION_CONTRACTS,
4694
- TOOL_DEPS_OPTION_CONTRACTS,
4695
- withFlagAliasMetadata,
4696
- compactFlagAliasContracts,
4697
- SUBCOMMAND_GLOBAL_FLAG_CONTRACTS,
4698
- GLOBAL_FLAG_CONTRACTS,
4699
- LIST_FILTER_FLAG_CONTRACTS,
4700
- AGGREGATE_FLAG_CONTRACTS,
4701
- DEDUPE_AUDIT_FLAG_CONTRACTS,
4702
- DEDUPE_MERGE_FLAG_CONTRACTS,
4703
- COMMENTS_AUDIT_FLAG_CONTRACTS,
4704
- COMMENTS_FLAG_CONTRACTS,
4705
- NOTES_FLAG_CONTRACTS,
4706
- LEARNINGS_FLAG_CONTRACTS,
4707
- FILES_FLAG_CONTRACTS,
4708
- DOCS_FLAG_CONTRACTS,
4709
- HISTORY_FLAG_CONTRACTS,
4710
- HISTORY_REDACT_FLAG_CONTRACTS,
4711
- HISTORY_REPAIR_FLAG_CONTRACTS,
4712
- HISTORY_COMPACT_FLAG_CONTRACTS,
4713
- SCHEMA_FLAG_CONTRACTS,
4714
- PROFILE_FLAG_CONTRACTS,
4715
- PLAN_FLAG_CONTRACTS,
4716
- INIT_FLAG_CONTRACTS,
4717
- CONFIG_FLAG_CONTRACTS,
4718
- EXTENSION_FLAG_CONTRACTS,
4719
- EXTENSION_SCOPE_FLAG_CONTRACTS,
4720
- EXTENSION_INIT_FLAG_CONTRACTS,
4721
- PACKAGE_FLAG_CONTRACTS,
4722
- PACKAGE_INIT_FLAG_CONTRACTS,
4723
- EXTENSION_INSTALL_FLAG_CONTRACTS,
4724
- EXTENSION_UNINSTALL_FLAG_CONTRACTS,
4725
- EXTENSION_EXPLORE_FLAG_CONTRACTS,
4726
- EXTENSION_DESCRIBE_FLAG_CONTRACTS,
4727
- EXTENSION_ADOPT_ALL_FLAG_CONTRACTS,
4728
- EXTENSION_ACTIVATE_FLAG_CONTRACTS,
4729
- EXTENSION_DEACTIVATE_FLAG_CONTRACTS,
4730
- EXTENSION_MANAGE_FLAG_CONTRACTS,
4731
- EXTENSION_RELOAD_FLAG_CONTRACTS,
4732
- EXTENSION_DOCTOR_FLAG_CONTRACTS,
4733
- EXTENSION_CATALOG_FLAG_CONTRACTS,
4734
- EXTENSION_ADOPT_FLAG_CONTRACTS,
4735
- INSTALL_FLAG_CONTRACTS,
4736
- UPGRADE_FLAG_CONTRACTS,
4737
- REINDEX_FLAG_CONTRACTS,
4738
- CLOSE_FLAG_CONTRACTS,
4739
- CLOSE_MANY_FLAG_CONTRACTS,
4740
- APPEND_FLAG_CONTRACTS,
4741
- CLAIM_FLAG_CONTRACTS,
4742
- RESTORE_FLAG_CONTRACTS,
4743
- DELETE_FLAG_CONTRACTS,
4744
- RELEASE_FLAG_CONTRACTS,
4745
- START_TASK_FLAG_CONTRACTS,
4746
- PAUSE_TASK_FLAG_CONTRACTS,
4747
- CLOSE_TASK_FLAG_CONTRACTS,
4748
- MEET_FLAG_CONTRACTS,
4749
- EVENT_FLAG_CONTRACTS,
4750
- REMIND_FLAG_CONTRACTS,
4751
- TEST_FLAG_CONTRACTS,
4752
- TEST_ALL_FLAG_CONTRACTS,
4753
- TELEMETRY_FLAG_CONTRACTS,
4754
- TEST_RUNS_FLAG_CONTRACTS,
4755
- GC_FLAG_CONTRACTS,
4756
- STATS_FLAG_CONTRACTS,
4757
- HEALTH_FLAG_CONTRACTS,
4758
- VALIDATE_FLAG_CONTRACTS,
4759
- CREATE_FLAG_CONTRACTS,
4760
- COPY_FLAG_CONTRACTS,
4761
- FOCUS_FLAG_CONTRACTS,
4762
- UPDATE_FLAG_CONTRACTS,
4763
- UPDATE_MANY_FLAG_CONTRACTS,
4764
- NORMALIZE_FLAG_CONTRACTS,
4765
- CALENDAR_FLAG_CONTRACTS,
4766
- ACTIVITY_FLAG_CONTRACTS,
4767
- CONTEXT_FLAG_CONTRACTS,
4768
- GET_FLAG_CONTRACTS,
4769
- GUIDE_FLAG_CONTRACTS,
4770
- DEPS_FLAG_CONTRACTS,
4771
- EVAL_FLAG_CONTRACTS,
4772
- NEXT_FLAG_CONTRACTS,
4773
- SEARCH_FLAG_CONTRACTS,
4774
- CONTRACTS_FLAG_CONTRACTS,
4775
- COMPLETION_FLAG_CONTRACTS,
4776
- resolveSubcommandFlagContractsForCommand,
4777
- toCompletionFlagString,
4778
- PM_TOOL_ACTION_PARAMETER_CONTRACTS,
4779
- PM_TOOL_PARAMETERS_SCHEMA_VERSION,
4780
- PM_TOOL_PARAMETERS_SCHEMA_MAJOR,
4781
- PM_PROVIDER_TOOL_PARAMETERS_SCHEMA_VERSION,
4782
- PM_TOOL_PARAMETERS_SCHEMA,
4783
- PM_PROVIDER_TOOL_PARAMETERS_SCHEMA,
4784
- _testOnlyCliContracts
4785
- };
4786
- //# sourceMappingURL=chunk-UI5BJ6DO.js.map