@unbrained/pm-cli 2026.5.31 → 2026.6.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 (638) hide show
  1. package/CHANGELOG.md +167 -0
  2. package/CONTRIBUTING.md +1 -0
  3. package/README.md +12 -4
  4. package/dist/cli/argv-utils.js +7 -3
  5. package/dist/cli/argv-utils.js.map +1 -1
  6. package/dist/cli/bootstrap-args.d.ts +1 -0
  7. package/dist/cli/bootstrap-args.js +23 -3
  8. package/dist/cli/bootstrap-args.js.map +1 -1
  9. package/dist/cli/commands/calendar.js +17 -3
  10. package/dist/cli/commands/calendar.js.map +1 -1
  11. package/dist/cli/commands/close-many.d.ts +63 -0
  12. package/dist/cli/commands/close-many.js +302 -0
  13. package/dist/cli/commands/close-many.js.map +1 -0
  14. package/dist/cli/commands/completion.d.ts +1 -0
  15. package/dist/cli/commands/completion.js +260 -32
  16. package/dist/cli/commands/completion.js.map +1 -1
  17. package/dist/cli/commands/config.d.ts +4 -4
  18. package/dist/cli/commands/config.js +115 -3
  19. package/dist/cli/commands/config.js.map +1 -1
  20. package/dist/cli/commands/contracts.js +193 -162
  21. package/dist/cli/commands/contracts.js.map +1 -1
  22. package/dist/cli/commands/create.d.ts +1 -0
  23. package/dist/cli/commands/create.js +77 -114
  24. package/dist/cli/commands/create.js.map +1 -1
  25. package/dist/cli/commands/extension/doctor.d.ts +12 -0
  26. package/dist/cli/commands/extension/doctor.js +97 -2
  27. package/dist/cli/commands/extension/doctor.js.map +1 -1
  28. package/dist/cli/commands/extension/scaffold.js +49 -48
  29. package/dist/cli/commands/extension/scaffold.js.map +1 -1
  30. package/dist/cli/commands/extension.js +51 -23
  31. package/dist/cli/commands/extension.js.map +1 -1
  32. package/dist/cli/commands/gc.d.ts +8 -1
  33. package/dist/cli/commands/gc.js +26 -3
  34. package/dist/cli/commands/gc.js.map +1 -1
  35. package/dist/cli/commands/get.js +7 -7
  36. package/dist/cli/commands/get.js.map +1 -1
  37. package/dist/cli/commands/health.js +51 -3
  38. package/dist/cli/commands/health.js.map +1 -1
  39. package/dist/cli/commands/history.d.ts +4 -1
  40. package/dist/cli/commands/history.js +12 -24
  41. package/dist/cli/commands/history.js.map +1 -1
  42. package/dist/cli/commands/index.d.ts +3 -1
  43. package/dist/cli/commands/index.js +5 -3
  44. package/dist/cli/commands/index.js.map +1 -1
  45. package/dist/cli/commands/init.d.ts +10 -0
  46. package/dist/cli/commands/init.js +107 -4
  47. package/dist/cli/commands/init.js.map +1 -1
  48. package/dist/cli/commands/list.d.ts +5 -0
  49. package/dist/cli/commands/list.js +58 -26
  50. package/dist/cli/commands/list.js.map +1 -1
  51. package/dist/cli/commands/reindex.js +163 -47
  52. package/dist/cli/commands/reindex.js.map +1 -1
  53. package/dist/cli/commands/repeatable-metadata-parsers.d.ts +15 -0
  54. package/dist/cli/commands/repeatable-metadata-parsers.js +120 -0
  55. package/dist/cli/commands/repeatable-metadata-parsers.js.map +1 -0
  56. package/dist/cli/commands/restore.js +25 -4
  57. package/dist/cli/commands/restore.js.map +1 -1
  58. package/dist/cli/commands/schema.d.ts +122 -1
  59. package/dist/cli/commands/schema.js +536 -6
  60. package/dist/cli/commands/schema.js.map +1 -1
  61. package/dist/cli/commands/search.d.ts +1 -0
  62. package/dist/cli/commands/search.js +18 -4
  63. package/dist/cli/commands/search.js.map +1 -1
  64. package/dist/cli/commands/stats.d.ts +8 -1
  65. package/dist/cli/commands/stats.js +18 -17
  66. package/dist/cli/commands/stats.js.map +1 -1
  67. package/dist/cli/commands/telemetry.d.ts +8 -0
  68. package/dist/cli/commands/telemetry.js +253 -0
  69. package/dist/cli/commands/telemetry.js.map +1 -0
  70. package/dist/cli/commands/test.js +4 -3
  71. package/dist/cli/commands/test.js.map +1 -1
  72. package/dist/cli/commands/update-many.js +69 -140
  73. package/dist/cli/commands/update-many.js.map +1 -1
  74. package/dist/cli/commands/update.d.ts +2 -0
  75. package/dist/cli/commands/update.js +138 -119
  76. package/dist/cli/commands/update.js.map +1 -1
  77. package/dist/cli/commands/validate.d.ts +1 -0
  78. package/dist/cli/commands/validate.js +63 -33
  79. package/dist/cli/commands/validate.js.map +1 -1
  80. package/dist/cli/error-guidance.js +26 -3
  81. package/dist/cli/error-guidance.js.map +1 -1
  82. package/dist/cli/help-content.js +91 -3
  83. package/dist/cli/help-content.js.map +1 -1
  84. package/dist/cli/main.js +377 -23
  85. package/dist/cli/main.js.map +1 -1
  86. package/dist/cli/register-list-query.js +14 -5
  87. package/dist/cli/register-list-query.js.map +1 -1
  88. package/dist/cli/register-mutation.js +200 -28
  89. package/dist/cli/register-mutation.js.map +1 -1
  90. package/dist/cli/register-operations.js +31 -6
  91. package/dist/cli/register-operations.js.map +1 -1
  92. package/dist/cli/register-setup.js +4 -2
  93. package/dist/cli/register-setup.js.map +1 -1
  94. package/dist/cli/registration-helpers.js +31 -4
  95. package/dist/cli/registration-helpers.js.map +1 -1
  96. package/dist/cli-bundle/chunks/activity-CVXTCHYY.js +16 -0
  97. package/dist/cli-bundle/chunks/activity-JM6DTDND.js +20 -0
  98. package/dist/cli-bundle/chunks/activity-JM6DTDND.js.map +1 -0
  99. package/dist/cli-bundle/chunks/aggregate-GI7WSZPH.js +206 -0
  100. package/dist/cli-bundle/chunks/aggregate-GI7WSZPH.js.map +1 -0
  101. package/dist/cli-bundle/chunks/{aggregate-ADUOSFRO.js → aggregate-VNAHUNNF.js} +11 -11
  102. package/dist/cli-bundle/chunks/{append-JD2DETU7.js → append-7H5N64R2.js} +8 -9
  103. package/dist/cli-bundle/chunks/{append-JD2DETU7.js.map → append-7H5N64R2.js.map} +1 -1
  104. package/dist/cli-bundle/chunks/append-WMKRXKCE.js +69 -0
  105. package/dist/cli-bundle/chunks/append-WMKRXKCE.js.map +1 -0
  106. package/dist/cli-bundle/chunks/{chunk-3M73P3G6.js → chunk-23YFZ3IG.js} +210 -132
  107. package/dist/cli-bundle/chunks/chunk-23YFZ3IG.js.map +7 -0
  108. package/dist/cli-bundle/chunks/chunk-2HVRUSQA.js +128 -0
  109. package/dist/cli-bundle/chunks/chunk-2HVRUSQA.js.map +1 -0
  110. package/dist/cli-bundle/chunks/chunk-2RSPZI5H.js +266 -0
  111. package/dist/cli-bundle/chunks/chunk-2RSPZI5H.js.map +1 -0
  112. package/dist/cli-bundle/chunks/chunk-2VBQ6ZXS.js +631 -0
  113. package/dist/cli-bundle/chunks/chunk-2VBQ6ZXS.js.map +1 -0
  114. package/dist/cli-bundle/chunks/chunk-2VVCGBNV.js +380 -0
  115. package/dist/cli-bundle/chunks/chunk-2VVCGBNV.js.map +1 -0
  116. package/dist/cli-bundle/chunks/chunk-3BWOVLTH.js +1664 -0
  117. package/dist/cli-bundle/chunks/chunk-3BWOVLTH.js.map +1 -0
  118. package/dist/cli-bundle/chunks/{chunk-6HT2F4TK.js → chunk-3FI4SEFT.js} +175 -54
  119. package/dist/cli-bundle/chunks/chunk-3FI4SEFT.js.map +7 -0
  120. package/dist/cli-bundle/chunks/{chunk-JULRTHJQ.js → chunk-3LB74A67.js} +119 -6
  121. package/dist/cli-bundle/chunks/chunk-3LB74A67.js.map +7 -0
  122. package/dist/cli-bundle/chunks/chunk-3VAM3NNM.js +57 -0
  123. package/dist/cli-bundle/chunks/chunk-3VAM3NNM.js.map +1 -0
  124. package/dist/cli-bundle/chunks/chunk-4LL6TK5B.js +1832 -0
  125. package/dist/cli-bundle/chunks/chunk-4LL6TK5B.js.map +1 -0
  126. package/dist/cli-bundle/chunks/chunk-52MAOQ6J.js +422 -0
  127. package/dist/cli-bundle/chunks/chunk-52MAOQ6J.js.map +7 -0
  128. package/dist/cli-bundle/chunks/chunk-5FDATVEZ.js +412 -0
  129. package/dist/cli-bundle/chunks/chunk-5FDATVEZ.js.map +1 -0
  130. package/dist/cli-bundle/chunks/chunk-5SFCOO6B.js +5622 -0
  131. package/dist/cli-bundle/chunks/chunk-5SFCOO6B.js.map +1 -0
  132. package/dist/cli-bundle/chunks/{chunk-U7FMKRXH.js → chunk-6ER6DXH5.js} +37 -16
  133. package/dist/cli-bundle/chunks/chunk-6ER6DXH5.js.map +7 -0
  134. package/dist/cli-bundle/chunks/chunk-6P6GGMOG.js +218 -0
  135. package/dist/cli-bundle/chunks/chunk-6P6GGMOG.js.map +1 -0
  136. package/dist/cli-bundle/chunks/chunk-77GFDHGF.js +80 -0
  137. package/dist/cli-bundle/chunks/chunk-77GFDHGF.js.map +1 -0
  138. package/dist/cli-bundle/chunks/{chunk-MD7K4JYF.js → chunk-AO442XLN.js} +26 -15
  139. package/dist/cli-bundle/chunks/chunk-AO442XLN.js.map +7 -0
  140. package/dist/cli-bundle/chunks/chunk-AY43SBIN.js +751 -0
  141. package/dist/cli-bundle/chunks/chunk-AY43SBIN.js.map +1 -0
  142. package/dist/cli-bundle/chunks/{chunk-D7AOMPRH.js → chunk-BQHUILZS.js} +5 -5
  143. package/dist/cli-bundle/chunks/chunk-E5FJNAZA.js +242 -0
  144. package/dist/cli-bundle/chunks/chunk-E5FJNAZA.js.map +1 -0
  145. package/dist/cli-bundle/chunks/{chunk-OGZEG5TT.js → chunk-ECCMVXGM.js} +164 -53
  146. package/dist/cli-bundle/chunks/chunk-ECCMVXGM.js.map +7 -0
  147. package/dist/cli-bundle/chunks/chunk-FRAUKRU2.js +182 -0
  148. package/dist/cli-bundle/chunks/chunk-FRAUKRU2.js.map +1 -0
  149. package/dist/cli-bundle/chunks/chunk-GCOQW437.js +130 -0
  150. package/dist/cli-bundle/chunks/chunk-GCOQW437.js.map +1 -0
  151. package/dist/cli-bundle/chunks/chunk-GGYWB3Y2.js +1340 -0
  152. package/dist/cli-bundle/chunks/chunk-GGYWB3Y2.js.map +1 -0
  153. package/dist/cli-bundle/chunks/{chunk-G57E5D7T.js → chunk-GU2ZJ2VV.js} +5 -5
  154. package/dist/cli-bundle/chunks/chunk-GXSUPCBV.js +231 -0
  155. package/dist/cli-bundle/chunks/chunk-GXSUPCBV.js.map +1 -0
  156. package/dist/cli-bundle/chunks/chunk-HZGUAH22.js +76 -0
  157. package/dist/cli-bundle/chunks/chunk-HZGUAH22.js.map +1 -0
  158. package/dist/cli-bundle/chunks/chunk-I2HSTRJF.js +346 -0
  159. package/dist/cli-bundle/chunks/chunk-I2HSTRJF.js.map +1 -0
  160. package/dist/cli-bundle/chunks/chunk-I6BNFU5X.js +140 -0
  161. package/dist/cli-bundle/chunks/chunk-I6BNFU5X.js.map +7 -0
  162. package/dist/cli-bundle/chunks/{chunk-JTWRXG4B.js → chunk-IJGCZSIQ.js} +251 -251
  163. package/dist/cli-bundle/chunks/chunk-IJGCZSIQ.js.map +7 -0
  164. package/dist/cli-bundle/chunks/chunk-IOR7LGF4.js +1491 -0
  165. package/dist/cli-bundle/chunks/chunk-IOR7LGF4.js.map +1 -0
  166. package/dist/cli-bundle/chunks/chunk-IUV734HF.js +17 -0
  167. package/dist/cli-bundle/chunks/chunk-IUV734HF.js.map +1 -0
  168. package/dist/cli-bundle/chunks/chunk-J27KIHTG.js +15 -0
  169. package/dist/cli-bundle/chunks/chunk-J27KIHTG.js.map +1 -0
  170. package/dist/cli-bundle/chunks/{chunk-AKOOMO3T.js → chunk-KAG77BY3.js} +2 -2
  171. package/dist/cli-bundle/chunks/{chunk-KBQY3YG5.js → chunk-KJ33AOCY.js} +3 -3
  172. package/dist/cli-bundle/chunks/{chunk-WDPXDQFG.js → chunk-KJE2FOS4.js} +6 -4
  173. package/dist/cli-bundle/chunks/chunk-KJE2FOS4.js.map +7 -0
  174. package/dist/cli-bundle/chunks/chunk-KWU6HG75.js +3883 -0
  175. package/dist/cli-bundle/chunks/chunk-KWU6HG75.js.map +1 -0
  176. package/dist/cli-bundle/chunks/chunk-LB3RUL2N.js +1325 -0
  177. package/dist/cli-bundle/chunks/chunk-LB3RUL2N.js.map +1 -0
  178. package/dist/cli-bundle/chunks/{chunk-5HSEP75M.js → chunk-LCM63IXU.js} +18 -6
  179. package/dist/cli-bundle/chunks/chunk-LCM63IXU.js.map +7 -0
  180. package/dist/cli-bundle/chunks/chunk-LXYVKYMQ.js +24 -0
  181. package/dist/cli-bundle/chunks/chunk-LXYVKYMQ.js.map +1 -0
  182. package/dist/cli-bundle/chunks/chunk-ME2YH6FN.js +182 -0
  183. package/dist/cli-bundle/chunks/chunk-ME2YH6FN.js.map +1 -0
  184. package/dist/cli-bundle/chunks/chunk-MITFDD35.js +1809 -0
  185. package/dist/cli-bundle/chunks/chunk-MITFDD35.js.map +1 -0
  186. package/dist/cli-bundle/chunks/{chunk-WJ2NAC37.js → chunk-N7ACFE26.js} +3 -3
  187. package/dist/cli-bundle/chunks/chunk-NUZ5HKR4.js +332 -0
  188. package/dist/cli-bundle/chunks/chunk-NUZ5HKR4.js.map +1 -0
  189. package/dist/cli-bundle/chunks/{chunk-7Y53ZJIQ.js → chunk-OVQCEJPG.js} +22 -3
  190. package/dist/cli-bundle/chunks/chunk-OVQCEJPG.js.map +7 -0
  191. package/dist/cli-bundle/chunks/{chunk-PXUAZUUY.js → chunk-OZ7NSQHL.js} +12 -11
  192. package/dist/cli-bundle/chunks/chunk-OZ7NSQHL.js.map +7 -0
  193. package/dist/cli-bundle/chunks/{chunk-P53TN6IA.js → chunk-PDDFYW4X.js} +35 -8
  194. package/dist/cli-bundle/chunks/chunk-PDDFYW4X.js.map +7 -0
  195. package/dist/cli-bundle/chunks/{chunk-6YCV7WSL.js → chunk-PIU6RSL3.js} +10 -12
  196. package/dist/cli-bundle/chunks/{chunk-6YCV7WSL.js.map → chunk-PIU6RSL3.js.map} +1 -1
  197. package/dist/cli-bundle/chunks/chunk-PO3GSVFV.js +338 -0
  198. package/dist/cli-bundle/chunks/chunk-PO3GSVFV.js.map +1 -0
  199. package/dist/cli-bundle/chunks/{chunk-LRBOHPUE.js → chunk-PRJCELV4.js} +108 -21
  200. package/dist/cli-bundle/chunks/chunk-PRJCELV4.js.map +7 -0
  201. package/dist/cli-bundle/chunks/{chunk-GN7IJPCD.js → chunk-PROOHX4K.js} +332 -32
  202. package/dist/cli-bundle/chunks/chunk-PROOHX4K.js.map +7 -0
  203. package/dist/cli-bundle/chunks/{chunk-FQE6XZDB.js → chunk-Q7SPNHLW.js} +54 -32
  204. package/dist/cli-bundle/chunks/chunk-Q7SPNHLW.js.map +7 -0
  205. package/dist/cli-bundle/chunks/{chunk-PVNQLCIS.js → chunk-QO7EBBOM.js} +2 -2
  206. package/dist/cli-bundle/chunks/{chunk-A7E7PUVX.js → chunk-R6UFP2GE.js} +7 -7
  207. package/dist/cli-bundle/chunks/chunk-RWPSOIEE.js +154 -0
  208. package/dist/cli-bundle/chunks/chunk-RWPSOIEE.js.map +1 -0
  209. package/dist/cli-bundle/chunks/chunk-RZN6VURO.js +119 -0
  210. package/dist/cli-bundle/chunks/chunk-RZN6VURO.js.map +1 -0
  211. package/dist/cli-bundle/chunks/chunk-SKJWX3QB.js +1501 -0
  212. package/dist/cli-bundle/chunks/chunk-SKJWX3QB.js.map +7 -0
  213. package/dist/cli-bundle/chunks/{chunk-CEFIVZPG.js → chunk-T3LC5LKB.js} +2 -2
  214. package/dist/cli-bundle/chunks/chunk-TCD3R2PF.js +173 -0
  215. package/dist/cli-bundle/chunks/chunk-TCD3R2PF.js.map +1 -0
  216. package/dist/cli-bundle/chunks/chunk-TPH5XEVD.js +2988 -0
  217. package/dist/cli-bundle/chunks/chunk-TPH5XEVD.js.map +1 -0
  218. package/dist/cli-bundle/chunks/{chunk-LSXGH6NE.js → chunk-U5SXYXSY.js} +821 -200
  219. package/dist/cli-bundle/chunks/chunk-U5SXYXSY.js.map +7 -0
  220. package/dist/cli-bundle/chunks/chunk-UBOPJT3S.js +540 -0
  221. package/dist/cli-bundle/chunks/chunk-UBOPJT3S.js.map +1 -0
  222. package/dist/cli-bundle/chunks/{chunk-JFWUHHS2.js → chunk-UM2GBHS4.js} +5 -4
  223. package/dist/cli-bundle/chunks/chunk-W7XABV4H.js +454 -0
  224. package/dist/cli-bundle/chunks/chunk-W7XABV4H.js.map +1 -0
  225. package/dist/cli-bundle/chunks/{chunk-SEXQN4KL.js → chunk-WKY2IBOQ.js} +3 -3
  226. package/dist/cli-bundle/chunks/chunk-WOPXVEZP.js +698 -0
  227. package/dist/cli-bundle/chunks/chunk-WOPXVEZP.js.map +1 -0
  228. package/dist/cli-bundle/chunks/chunk-WSMOSYRD.js +1704 -0
  229. package/dist/cli-bundle/chunks/chunk-WSMOSYRD.js.map +1 -0
  230. package/dist/cli-bundle/chunks/{chunk-NGN7UV5K.js → chunk-XLTD2HN3.js} +2 -2
  231. package/dist/cli-bundle/chunks/chunk-XSJCLN2R.js +131 -0
  232. package/dist/cli-bundle/chunks/chunk-XSJCLN2R.js.map +7 -0
  233. package/dist/cli-bundle/chunks/chunk-XSLQSXAH.js +53 -0
  234. package/dist/cli-bundle/chunks/chunk-XSLQSXAH.js.map +1 -0
  235. package/dist/cli-bundle/chunks/{chunk-BUPWJ3IJ.js → chunk-XTGLRY2Y.js} +484 -49
  236. package/dist/cli-bundle/chunks/chunk-XTGLRY2Y.js.map +7 -0
  237. package/dist/cli-bundle/chunks/{chunk-L2FXEKDB.js → chunk-YL2DJGYS.js} +7 -7
  238. package/dist/cli-bundle/chunks/{claim-EE4TKKCV.js → claim-4DBF6RVG.js} +10 -11
  239. package/dist/cli-bundle/chunks/{claim-EE4TKKCV.js.map → claim-4DBF6RVG.js.map} +1 -1
  240. package/dist/cli-bundle/chunks/claim-X2P4IB7J.js +129 -0
  241. package/dist/cli-bundle/chunks/claim-X2P4IB7J.js.map +1 -0
  242. package/dist/cli-bundle/chunks/close-3HDWDA3L.js +13 -0
  243. package/dist/cli-bundle/chunks/close-PTYFA45H.js +17 -0
  244. package/dist/cli-bundle/chunks/close-PTYFA45H.js.map +1 -0
  245. package/dist/cli-bundle/chunks/close-many-7CGIDPTJ.js +314 -0
  246. package/dist/cli-bundle/chunks/close-many-7CGIDPTJ.js.map +7 -0
  247. package/dist/cli-bundle/chunks/close-many-ERFO6LHR.js +311 -0
  248. package/dist/cli-bundle/chunks/close-many-ERFO6LHR.js.map +1 -0
  249. package/dist/cli-bundle/chunks/comments-OONGABK5.js +100 -0
  250. package/dist/cli-bundle/chunks/comments-OONGABK5.js.map +1 -0
  251. package/dist/cli-bundle/chunks/{comments-AAKJQ6LW.js → comments-QKBYCWKD.js} +10 -11
  252. package/dist/cli-bundle/chunks/{comments-AAKJQ6LW.js.map → comments-QKBYCWKD.js.map} +1 -1
  253. package/dist/cli-bundle/chunks/config-6FXCQKIF.js +1671 -0
  254. package/dist/cli-bundle/chunks/config-6FXCQKIF.js.map +1 -0
  255. package/dist/cli-bundle/chunks/{config-V3FZOKLI.js → config-U4RZ4CQB.js} +121 -10
  256. package/dist/cli-bundle/chunks/config-U4RZ4CQB.js.map +7 -0
  257. package/dist/cli-bundle/chunks/{context-RZ5QPNJB.js → context-FYYJGFWS.js} +32 -19
  258. package/dist/cli-bundle/chunks/{context-RZ5QPNJB.js.map → context-FYYJGFWS.js.map} +2 -2
  259. package/dist/cli-bundle/chunks/context-YMJ3Z2HQ.js +1461 -0
  260. package/dist/cli-bundle/chunks/context-YMJ3Z2HQ.js.map +1 -0
  261. package/dist/cli-bundle/chunks/contracts-QDB6OMLQ.js +1278 -0
  262. package/dist/cli-bundle/chunks/contracts-QDB6OMLQ.js.map +1 -0
  263. package/dist/cli-bundle/chunks/{contracts-YLMH33VU.js → contracts-RFSPGVVJ.js} +198 -162
  264. package/dist/cli-bundle/chunks/contracts-RFSPGVVJ.js.map +7 -0
  265. package/dist/cli-bundle/chunks/create-I5L4EYYZ.js +31 -0
  266. package/dist/cli-bundle/chunks/create-I5L4EYYZ.js.map +1 -0
  267. package/dist/cli-bundle/chunks/create-JTZNCTQC.js +27 -0
  268. package/dist/cli-bundle/chunks/delete-7HPGI4GZ.js +55 -0
  269. package/dist/cli-bundle/chunks/delete-7HPGI4GZ.js.map +1 -0
  270. package/dist/cli-bundle/chunks/{delete-RHCTEORS.js → delete-VXUPH5RS.js} +7 -8
  271. package/dist/cli-bundle/chunks/{delete-RHCTEORS.js.map → delete-VXUPH5RS.js.map} +1 -1
  272. package/dist/cli-bundle/chunks/{deps-MZYCMLAO.js → deps-JSRRWC3Z.js} +7 -8
  273. package/dist/cli-bundle/chunks/{deps-MZYCMLAO.js.map → deps-JSRRWC3Z.js.map} +1 -1
  274. package/dist/cli-bundle/chunks/deps-SCZIFK2Z.js +225 -0
  275. package/dist/cli-bundle/chunks/deps-SCZIFK2Z.js.map +1 -0
  276. package/dist/cli-bundle/chunks/docs-GJK6K4VP.js +31 -0
  277. package/dist/cli-bundle/chunks/docs-GJK6K4VP.js.map +1 -0
  278. package/dist/cli-bundle/chunks/{docs-FXXUCZYU.js → docs-WW4N3MBM.js} +9 -10
  279. package/dist/cli-bundle/chunks/{docs-FXXUCZYU.js.map → docs-WW4N3MBM.js.map} +1 -1
  280. package/dist/cli-bundle/chunks/{extension-B4WL7BQU.js → extension-J7IBMFTD.js} +4 -5
  281. package/dist/cli-bundle/chunks/extension-VDY2U33M.js +28 -0
  282. package/dist/cli-bundle/chunks/extension-VDY2U33M.js.map +1 -0
  283. package/dist/cli-bundle/chunks/files-ISZJGILQ.js +282 -0
  284. package/dist/cli-bundle/chunks/files-ISZJGILQ.js.map +1 -0
  285. package/dist/cli-bundle/chunks/{files-WVOX67PE.js → files-WKOD326U.js} +9 -10
  286. package/dist/cli-bundle/chunks/{files-WVOX67PE.js.map → files-WKOD326U.js.map} +1 -1
  287. package/dist/cli-bundle/chunks/gc-JDVJ6OQ2.js +362 -0
  288. package/dist/cli-bundle/chunks/gc-JDVJ6OQ2.js.map +1 -0
  289. package/dist/cli-bundle/chunks/gc-ULPVWMTN.js +372 -0
  290. package/dist/cli-bundle/chunks/gc-ULPVWMTN.js.map +7 -0
  291. package/dist/cli-bundle/chunks/get-RV37HT3G.js +194 -0
  292. package/dist/cli-bundle/chunks/get-RV37HT3G.js.map +1 -0
  293. package/dist/cli-bundle/chunks/{get-LTK3HOCQ.js → get-WXU6WI5P.js} +16 -17
  294. package/dist/cli-bundle/chunks/get-WXU6WI5P.js.map +7 -0
  295. package/dist/cli-bundle/chunks/{health-TCWL55KM.js → health-6L6EH4WR.js} +57 -16
  296. package/dist/cli-bundle/chunks/health-6L6EH4WR.js.map +7 -0
  297. package/dist/cli-bundle/chunks/health-LOI2HHKB.js +1271 -0
  298. package/dist/cli-bundle/chunks/health-LOI2HHKB.js.map +1 -0
  299. package/dist/cli-bundle/chunks/history-2BA3T5AE.js +20 -0
  300. package/dist/cli-bundle/chunks/history-PKN67D5O.js +24 -0
  301. package/dist/cli-bundle/chunks/history-PKN67D5O.js.map +1 -0
  302. package/dist/cli-bundle/chunks/history-redact-JBZNXHGR.js +19 -0
  303. package/dist/cli-bundle/chunks/history-redact-V4FOJGS7.js +23 -0
  304. package/dist/cli-bundle/chunks/history-redact-V4FOJGS7.js.map +1 -0
  305. package/dist/cli-bundle/chunks/{history-repair-ZWSTDRH2.js → history-repair-HIBCBIKK.js} +12 -14
  306. package/dist/cli-bundle/chunks/{history-repair-ZWSTDRH2.js.map → history-repair-HIBCBIKK.js.map} +1 -1
  307. package/dist/cli-bundle/chunks/history-repair-SDMHR7JT.js +193 -0
  308. package/dist/cli-bundle/chunks/history-repair-SDMHR7JT.js.map +1 -0
  309. package/dist/cli-bundle/chunks/init-HIVSNX3O.js +16 -0
  310. package/dist/cli-bundle/chunks/init-P56QYWJF.js +20 -0
  311. package/dist/cli-bundle/chunks/init-P56QYWJF.js.map +1 -0
  312. package/dist/cli-bundle/chunks/learnings-GDFRG5J7.js +44 -0
  313. package/dist/cli-bundle/chunks/learnings-GDFRG5J7.js.map +1 -0
  314. package/dist/cli-bundle/chunks/{learnings-NXTWE3FR.js → learnings-MIXSESLK.js} +10 -11
  315. package/dist/cli-bundle/chunks/{learnings-NXTWE3FR.js.map → learnings-MIXSESLK.js.map} +1 -1
  316. package/dist/cli-bundle/chunks/list-FGOWQMSM.js +24 -0
  317. package/dist/cli-bundle/chunks/list-FGOWQMSM.js.map +1 -0
  318. package/dist/cli-bundle/chunks/list-MUSQNMTD.js +20 -0
  319. package/dist/cli-bundle/chunks/{notes-DFS5ZGOO.js → notes-4XVSH2AZ.js} +10 -11
  320. package/dist/cli-bundle/chunks/{notes-DFS5ZGOO.js.map → notes-4XVSH2AZ.js.map} +1 -1
  321. package/dist/cli-bundle/chunks/notes-5UK3GEH2.js +44 -0
  322. package/dist/cli-bundle/chunks/notes-5UK3GEH2.js.map +1 -0
  323. package/dist/cli-bundle/chunks/plan-DUMBV3QB.js +1171 -0
  324. package/dist/cli-bundle/chunks/plan-DUMBV3QB.js.map +1 -0
  325. package/dist/cli-bundle/chunks/{plan-67AB2PLM.js → plan-SLMODHWX.js} +13 -14
  326. package/dist/cli-bundle/chunks/{plan-67AB2PLM.js.map → plan-SLMODHWX.js.map} +1 -1
  327. package/dist/cli-bundle/chunks/register-list-query-POCFZ5JW.js +229 -0
  328. package/dist/cli-bundle/chunks/register-list-query-POCFZ5JW.js.map +1 -0
  329. package/dist/cli-bundle/chunks/{register-list-query-UP3VRUFS.js → register-list-query-WST76HSQ.js} +26 -26
  330. package/dist/cli-bundle/chunks/register-list-query-WST76HSQ.js.map +7 -0
  331. package/dist/cli-bundle/chunks/register-mutation-N5GSUZJV.js +813 -0
  332. package/dist/cli-bundle/chunks/register-mutation-N5GSUZJV.js.map +1 -0
  333. package/dist/cli-bundle/chunks/{register-mutation-YWSBF545.js → register-mutation-OA675SOU.js} +154 -43
  334. package/dist/cli-bundle/chunks/register-mutation-OA675SOU.js.map +7 -0
  335. package/dist/cli-bundle/chunks/register-operations-GNHBE5I3.js +383 -0
  336. package/dist/cli-bundle/chunks/register-operations-GNHBE5I3.js.map +1 -0
  337. package/dist/cli-bundle/chunks/{register-operations-3BDTGSDH.js → register-operations-N3PMHXH5.js} +49 -37
  338. package/dist/cli-bundle/chunks/register-operations-N3PMHXH5.js.map +7 -0
  339. package/dist/cli-bundle/chunks/register-setup-JIMPKJKV.js +242 -0
  340. package/dist/cli-bundle/chunks/register-setup-JIMPKJKV.js.map +1 -0
  341. package/dist/cli-bundle/chunks/{register-setup-V56GDRUS.js → register-setup-ZHJI2DI3.js} +18 -19
  342. package/dist/cli-bundle/chunks/{register-setup-V56GDRUS.js.map → register-setup-ZHJI2DI3.js.map} +2 -2
  343. package/dist/cli-bundle/chunks/restore-D4RGNX33.js +17 -0
  344. package/dist/cli-bundle/chunks/restore-PBL6T5TW.js +21 -0
  345. package/dist/cli-bundle/chunks/restore-PBL6T5TW.js.map +1 -0
  346. package/dist/cli-bundle/chunks/schema-2NOO6NGB.js +780 -0
  347. package/dist/cli-bundle/chunks/schema-2NOO6NGB.js.map +7 -0
  348. package/dist/cli-bundle/chunks/schema-EBI4NLUO.js +770 -0
  349. package/dist/cli-bundle/chunks/schema-EBI4NLUO.js.map +1 -0
  350. package/dist/cli-bundle/chunks/search-JPUQTVCY.js +1127 -0
  351. package/dist/cli-bundle/chunks/search-JPUQTVCY.js.map +1 -0
  352. package/dist/cli-bundle/chunks/{search-HENBL456.js → search-OA6JX27A.js} +25 -16
  353. package/dist/cli-bundle/chunks/search-OA6JX27A.js.map +7 -0
  354. package/dist/cli-bundle/chunks/stats-CV54BAWY.js +202 -0
  355. package/dist/cli-bundle/chunks/stats-CV54BAWY.js.map +1 -0
  356. package/dist/cli-bundle/chunks/stats-XYB6KTFG.js +212 -0
  357. package/dist/cli-bundle/chunks/stats-XYB6KTFG.js.map +7 -0
  358. package/dist/cli-bundle/chunks/telemetry-LMJ7PFUO.js +251 -0
  359. package/dist/cli-bundle/chunks/telemetry-LMJ7PFUO.js.map +7 -0
  360. package/dist/cli-bundle/chunks/telemetry-NCMEPJNR.js +248 -0
  361. package/dist/cli-bundle/chunks/telemetry-NCMEPJNR.js.map +1 -0
  362. package/dist/cli-bundle/chunks/test-MXX3E5JL.js +31 -0
  363. package/dist/cli-bundle/chunks/test-WBROAJIE.js +35 -0
  364. package/dist/cli-bundle/chunks/test-WBROAJIE.js.map +1 -0
  365. package/dist/cli-bundle/chunks/test-all-N6NSRDTV.js +328 -0
  366. package/dist/cli-bundle/chunks/test-all-N6NSRDTV.js.map +1 -0
  367. package/dist/cli-bundle/chunks/{test-all-G2AZOHXI.js → test-all-NTOZ7C3M.js} +13 -14
  368. package/dist/cli-bundle/chunks/{test-all-G2AZOHXI.js.map → test-all-NTOZ7C3M.js.map} +1 -1
  369. package/dist/cli-bundle/chunks/test-runs-V6A7LPWZ.js +929 -0
  370. package/dist/cli-bundle/chunks/test-runs-V6A7LPWZ.js.map +1 -0
  371. package/dist/cli-bundle/chunks/{test-runs-GX5HTPSF.js → test-runs-WMVTQU3Y.js} +5 -5
  372. package/dist/cli-bundle/chunks/update-OSV3NAQB.js +25 -0
  373. package/dist/cli-bundle/chunks/update-OSV3NAQB.js.map +1 -0
  374. package/dist/cli-bundle/chunks/update-YRXSUGYQ.js +21 -0
  375. package/dist/cli-bundle/chunks/update-many-EM6OXYGO.js +605 -0
  376. package/dist/cli-bundle/chunks/update-many-EM6OXYGO.js.map +1 -0
  377. package/dist/cli-bundle/chunks/{update-many-46HRSP2Q.js → update-many-KGGEYABR.js} +78 -146
  378. package/dist/cli-bundle/chunks/update-many-KGGEYABR.js.map +7 -0
  379. package/dist/cli-bundle/chunks/{upgrade-H5HHM5UV.js → upgrade-BLI7XBAJ.js} +5 -7
  380. package/dist/cli-bundle/chunks/{upgrade-H5HHM5UV.js.map → upgrade-BLI7XBAJ.js.map} +1 -1
  381. package/dist/cli-bundle/chunks/upgrade-LXPOQKFV.js +266 -0
  382. package/dist/cli-bundle/chunks/upgrade-LXPOQKFV.js.map +1 -0
  383. package/dist/cli-bundle/chunks/{validate-TMCVKIGZ.js → validate-AGOAUOVW.js} +61 -48
  384. package/dist/cli-bundle/chunks/validate-AGOAUOVW.js.map +7 -0
  385. package/dist/cli-bundle/chunks/validate-L5J6A7YO.js +1120 -0
  386. package/dist/cli-bundle/chunks/validate-L5J6A7YO.js.map +1 -0
  387. package/dist/cli-bundle/main.js +534 -1505
  388. package/dist/cli-bundle/main.js.map +4 -4
  389. package/dist/core/checkpoint/mutation-checkpoint.d.ts +44 -0
  390. package/dist/core/checkpoint/mutation-checkpoint.js +119 -0
  391. package/dist/core/checkpoint/mutation-checkpoint.js.map +1 -0
  392. package/dist/core/config/positional-value.js +4 -2
  393. package/dist/core/config/positional-value.js.map +1 -1
  394. package/dist/core/diagnostics/remediation.d.ts +73 -0
  395. package/dist/core/diagnostics/remediation.js +328 -0
  396. package/dist/core/diagnostics/remediation.js.map +1 -0
  397. package/dist/core/extensions/extension-hook-runtime.js +9 -2
  398. package/dist/core/extensions/extension-hook-runtime.js.map +1 -1
  399. package/dist/core/extensions/extension-types.d.ts +60 -4
  400. package/dist/core/extensions/extension-types.js +2 -2
  401. package/dist/core/extensions/extension-types.js.map +1 -1
  402. package/dist/core/extensions/index.d.ts +5 -1
  403. package/dist/core/extensions/index.js +61 -2
  404. package/dist/core/extensions/index.js.map +1 -1
  405. package/dist/core/extensions/item-fields.d.ts +5 -1
  406. package/dist/core/extensions/item-fields.js +126 -4
  407. package/dist/core/extensions/item-fields.js.map +1 -1
  408. package/dist/core/extensions/loader.js +283 -8
  409. package/dist/core/extensions/loader.js.map +1 -1
  410. package/dist/core/history/history-diff.d.ts +47 -0
  411. package/dist/core/history/history-diff.js +152 -0
  412. package/dist/core/history/history-diff.js.map +1 -0
  413. package/dist/core/history/history-storage-stats.d.ts +31 -0
  414. package/dist/core/history/history-storage-stats.js +101 -0
  415. package/dist/core/history/history-storage-stats.js.map +1 -0
  416. package/dist/core/item/item-format.d.ts +3 -2
  417. package/dist/core/item/item-format.js +15 -10
  418. package/dist/core/item/item-format.js.map +1 -1
  419. package/dist/core/item/status-filter.d.ts +29 -0
  420. package/dist/core/item/status-filter.js +97 -0
  421. package/dist/core/item/status-filter.js.map +1 -0
  422. package/dist/core/item/type-registry.js +4 -2
  423. package/dist/core/item/type-registry.js.map +1 -1
  424. package/dist/core/lock/lock-gc.d.ts +46 -0
  425. package/dist/core/lock/lock-gc.js +194 -0
  426. package/dist/core/lock/lock-gc.js.map +1 -0
  427. package/dist/core/output/output.js +17 -5
  428. package/dist/core/output/output.js.map +1 -1
  429. package/dist/core/schema/item-types-file.d.ts +15 -0
  430. package/dist/core/schema/item-types-file.js +27 -2
  431. package/dist/core/schema/item-types-file.js.map +1 -1
  432. package/dist/core/schema/runtime-field-filters.js +4 -3
  433. package/dist/core/schema/runtime-field-filters.js.map +1 -1
  434. package/dist/core/schema/runtime-field-values.d.ts +1 -1
  435. package/dist/core/schema/runtime-field-values.js +10 -4
  436. package/dist/core/schema/runtime-field-values.js.map +1 -1
  437. package/dist/core/schema/runtime-schema.js +75 -2
  438. package/dist/core/schema/runtime-schema.js.map +1 -1
  439. package/dist/core/schema/status-defs-file.d.ts +113 -0
  440. package/dist/core/schema/status-defs-file.js +260 -0
  441. package/dist/core/schema/status-defs-file.js.map +1 -0
  442. package/dist/core/schema/type-workflows.d.ts +64 -0
  443. package/dist/core/schema/type-workflows.js +98 -0
  444. package/dist/core/schema/type-workflows.js.map +1 -0
  445. package/dist/core/search/cache.d.ts +3 -1
  446. package/dist/core/search/cache.js +104 -28
  447. package/dist/core/search/cache.js.map +1 -1
  448. package/dist/core/search/http-client.d.ts +2 -2
  449. package/dist/core/search/http-client.js +2 -2
  450. package/dist/core/search/http-client.js.map +1 -1
  451. package/dist/core/search/vector-stores.d.ts +1 -0
  452. package/dist/core/search/vector-stores.js +64 -14
  453. package/dist/core/search/vector-stores.js.map +1 -1
  454. package/dist/core/search/vectorization-metadata.d.ts +13 -0
  455. package/dist/core/search/vectorization-metadata.js +65 -0
  456. package/dist/core/search/vectorization-metadata.js.map +1 -0
  457. package/dist/core/shared/serial-queue.d.ts +12 -0
  458. package/dist/core/shared/serial-queue.js +43 -0
  459. package/dist/core/shared/serial-queue.js.map +1 -0
  460. package/dist/core/shared/serialization.d.ts +1 -0
  461. package/dist/core/shared/serialization.js +86 -2
  462. package/dist/core/shared/serialization.js.map +1 -1
  463. package/dist/core/store/front-matter-cache.js +14 -5
  464. package/dist/core/store/front-matter-cache.js.map +1 -1
  465. package/dist/core/store/item-store.d.ts +2 -0
  466. package/dist/core/store/item-store.js +61 -6
  467. package/dist/core/store/item-store.js.map +1 -1
  468. package/dist/core/store/settings-validator.js +18 -2
  469. package/dist/core/store/settings-validator.js.map +1 -1
  470. package/dist/core/store/settings.d.ts +19 -1
  471. package/dist/core/store/settings.js +130 -10
  472. package/dist/core/store/settings.js.map +1 -1
  473. package/dist/core/telemetry/consent.js +3 -3
  474. package/dist/core/telemetry/consent.js.map +1 -1
  475. package/dist/core/telemetry/observability.js +5 -4
  476. package/dist/core/telemetry/observability.js.map +1 -1
  477. package/dist/core/telemetry/runtime.js +16 -4
  478. package/dist/core/telemetry/runtime.js.map +1 -1
  479. package/dist/mcp/server.d.ts +1 -0
  480. package/dist/mcp/server.js +372 -45
  481. package/dist/mcp/server.js.map +1 -1
  482. package/dist/sdk/cli-contracts/commander-mutation-options.js +16 -2
  483. package/dist/sdk/cli-contracts/commander-mutation-options.js.map +1 -1
  484. package/dist/sdk/cli-contracts/commander-types.js +7 -2
  485. package/dist/sdk/cli-contracts/commander-types.js.map +1 -1
  486. package/dist/sdk/cli-contracts/enum-contracts.d.ts +2 -2
  487. package/dist/sdk/cli-contracts/enum-contracts.js +6 -2
  488. package/dist/sdk/cli-contracts/enum-contracts.js.map +1 -1
  489. package/dist/sdk/cli-contracts/tool-option-contracts.d.ts +1 -0
  490. package/dist/sdk/cli-contracts/tool-option-contracts.js +53 -3
  491. package/dist/sdk/cli-contracts/tool-option-contracts.js.map +1 -1
  492. package/dist/sdk/cli-contracts/tool-parameter-tables.js +42 -10
  493. package/dist/sdk/cli-contracts/tool-parameter-tables.js.map +1 -1
  494. package/dist/sdk/cli-contracts.d.ts +42 -1
  495. package/dist/sdk/cli-contracts.js +225 -19
  496. package/dist/sdk/cli-contracts.js.map +1 -1
  497. package/dist/sdk/errors.d.ts +22 -0
  498. package/dist/sdk/errors.js +46 -0
  499. package/dist/sdk/errors.js.map +1 -0
  500. package/dist/sdk/index.d.ts +2 -1
  501. package/dist/sdk/index.js +3 -2
  502. package/dist/sdk/index.js.map +1 -1
  503. package/dist/sdk/package-import-adapters.js +14 -3
  504. package/dist/sdk/package-import-adapters.js.map +1 -1
  505. package/dist/sdk/runtime.d.ts +1 -0
  506. package/dist/sdk/runtime.js +3 -2
  507. package/dist/sdk/runtime.js.map +1 -1
  508. package/dist/sdk/testing.d.ts +77 -0
  509. package/dist/sdk/testing.js +239 -0
  510. package/dist/sdk/testing.js.map +1 -0
  511. package/dist/types.d.ts +19 -0
  512. package/dist/types.js +3 -2
  513. package/dist/types.js.map +1 -1
  514. package/docs/AGENT_GUIDE.md +22 -3
  515. package/docs/ARCHITECTURE.md +11 -1
  516. package/docs/CLAUDE_CODE_PLUGIN.md +2 -2
  517. package/docs/COMMANDS.md +118 -7
  518. package/docs/CONFIGURATION.md +57 -2
  519. package/docs/EXTENSIONS.md +125 -6
  520. package/docs/EXTENSION_AUTHOR_CONTRACTS.md +73 -0
  521. package/docs/ONBOARDING.md +165 -0
  522. package/docs/QUICKSTART.md +3 -1
  523. package/docs/README.md +12 -4
  524. package/docs/RELEASING.md +38 -3
  525. package/docs/SDK.md +273 -1
  526. package/docs/TESTING.md +36 -1
  527. package/docs/examples/policy-restricted-extension/manifest.json +1 -0
  528. package/docs/examples/starter-extension/index.js +9 -1
  529. package/docs/examples/starter-extension/manifest.json +1 -0
  530. package/package.json +16 -7
  531. package/packages/pm-beads/extensions/beads/index.js +2 -4
  532. package/packages/pm-beads/extensions/beads/index.ts +43 -33
  533. package/packages/pm-beads/extensions/beads/manifest.json +12 -1
  534. package/packages/pm-calendar/README.md +6 -0
  535. package/packages/pm-calendar/extensions/calendar/index.js +6 -1
  536. package/packages/pm-calendar/extensions/calendar/index.ts +6 -1
  537. package/packages/pm-calendar/extensions/calendar/manifest.json +6 -1
  538. package/packages/pm-governance-audit/extensions/governance-audit/manifest.json +6 -1
  539. package/packages/pm-guide-shell/README.md +4 -0
  540. package/packages/pm-guide-shell/extensions/guide-shell/index.js +22 -0
  541. package/packages/pm-guide-shell/extensions/guide-shell/index.ts +22 -0
  542. package/packages/pm-guide-shell/extensions/guide-shell/manifest.json +6 -1
  543. package/packages/pm-guide-shell/extensions/guide-shell/runtime.js +74 -3
  544. package/packages/pm-guide-shell/extensions/guide-shell/runtime.ts +84 -4
  545. package/packages/pm-lifecycle-hooks/README.md +29 -0
  546. package/packages/pm-lifecycle-hooks/extensions/lifecycle-hooks/index.js +18 -0
  547. package/packages/pm-lifecycle-hooks/extensions/lifecycle-hooks/index.ts +20 -0
  548. package/packages/pm-lifecycle-hooks/extensions/lifecycle-hooks/manifest.json +9 -0
  549. package/packages/pm-lifecycle-hooks/package.json +52 -0
  550. package/packages/pm-linked-test-adapters/extensions/linked-test-adapters/manifest.json +13 -1
  551. package/packages/pm-search-advanced/extensions/search-advanced/index.js +69 -1
  552. package/packages/pm-search-advanced/extensions/search-advanced/index.ts +91 -2
  553. package/packages/pm-search-advanced/extensions/search-advanced/manifest.json +13 -1
  554. package/packages/pm-templates/extensions/templates/manifest.json +6 -1
  555. package/packages/pm-todos/extensions/todos/index.js +3 -7
  556. package/packages/pm-todos/extensions/todos/index.ts +55 -42
  557. package/packages/pm-todos/extensions/todos/manifest.json +13 -1
  558. package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
  559. package/plugins/pm-claude/README.md +7 -4
  560. package/plugins/pm-claude/agents/pm-coordinator.md +1 -1
  561. package/plugins/pm-claude/commands/pm-init.md +1 -1
  562. package/scripts/bundle-cli.mjs +121 -17
  563. package/dist/cli-bundle/chunks/activity-OWYSUZOY.js +0 -17
  564. package/dist/cli-bundle/chunks/chunk-3M73P3G6.js.map +0 -7
  565. package/dist/cli-bundle/chunks/chunk-4AEZR5EJ.js +0 -189
  566. package/dist/cli-bundle/chunks/chunk-4AEZR5EJ.js.map +0 -7
  567. package/dist/cli-bundle/chunks/chunk-5HSEP75M.js.map +0 -7
  568. package/dist/cli-bundle/chunks/chunk-6HT2F4TK.js.map +0 -7
  569. package/dist/cli-bundle/chunks/chunk-7Y53ZJIQ.js.map +0 -7
  570. package/dist/cli-bundle/chunks/chunk-BUPWJ3IJ.js.map +0 -7
  571. package/dist/cli-bundle/chunks/chunk-EGUGFSNX.js +0 -47
  572. package/dist/cli-bundle/chunks/chunk-EGUGFSNX.js.map +0 -7
  573. package/dist/cli-bundle/chunks/chunk-FM26RGSU.js +0 -56
  574. package/dist/cli-bundle/chunks/chunk-FM26RGSU.js.map +0 -7
  575. package/dist/cli-bundle/chunks/chunk-FQE6XZDB.js.map +0 -7
  576. package/dist/cli-bundle/chunks/chunk-GN7IJPCD.js.map +0 -7
  577. package/dist/cli-bundle/chunks/chunk-JTWRXG4B.js.map +0 -7
  578. package/dist/cli-bundle/chunks/chunk-JULRTHJQ.js.map +0 -7
  579. package/dist/cli-bundle/chunks/chunk-LRBOHPUE.js.map +0 -7
  580. package/dist/cli-bundle/chunks/chunk-LSXGH6NE.js.map +0 -7
  581. package/dist/cli-bundle/chunks/chunk-MD7K4JYF.js.map +0 -7
  582. package/dist/cli-bundle/chunks/chunk-OGZEG5TT.js.map +0 -7
  583. package/dist/cli-bundle/chunks/chunk-P53TN6IA.js.map +0 -7
  584. package/dist/cli-bundle/chunks/chunk-PXUAZUUY.js.map +0 -7
  585. package/dist/cli-bundle/chunks/chunk-U7FMKRXH.js.map +0 -7
  586. package/dist/cli-bundle/chunks/chunk-VGICHR7D.js +0 -141
  587. package/dist/cli-bundle/chunks/chunk-VGICHR7D.js.map +0 -7
  588. package/dist/cli-bundle/chunks/chunk-WDPXDQFG.js.map +0 -7
  589. package/dist/cli-bundle/chunks/close-XY4CSAYF.js +0 -14
  590. package/dist/cli-bundle/chunks/config-V3FZOKLI.js.map +0 -7
  591. package/dist/cli-bundle/chunks/contracts-YLMH33VU.js.map +0 -7
  592. package/dist/cli-bundle/chunks/create-PZVHRIZQ.js +0 -28
  593. package/dist/cli-bundle/chunks/gc-JWNF66EC.js +0 -181
  594. package/dist/cli-bundle/chunks/gc-JWNF66EC.js.map +0 -7
  595. package/dist/cli-bundle/chunks/get-LTK3HOCQ.js.map +0 -7
  596. package/dist/cli-bundle/chunks/health-TCWL55KM.js.map +0 -7
  597. package/dist/cli-bundle/chunks/history-A2JUDXUE.js +0 -21
  598. package/dist/cli-bundle/chunks/history-redact-ED6RFCPL.js +0 -20
  599. package/dist/cli-bundle/chunks/init-M2WUB4YH.js +0 -16
  600. package/dist/cli-bundle/chunks/list-OGWQPC26.js +0 -20
  601. package/dist/cli-bundle/chunks/register-list-query-UP3VRUFS.js.map +0 -7
  602. package/dist/cli-bundle/chunks/register-mutation-YWSBF545.js.map +0 -7
  603. package/dist/cli-bundle/chunks/register-operations-3BDTGSDH.js.map +0 -7
  604. package/dist/cli-bundle/chunks/restore-MB2ISME7.js +0 -18
  605. package/dist/cli-bundle/chunks/schema-Q622KC46.js +0 -119
  606. package/dist/cli-bundle/chunks/schema-Q622KC46.js.map +0 -7
  607. package/dist/cli-bundle/chunks/search-HENBL456.js.map +0 -7
  608. package/dist/cli-bundle/chunks/stats-N6H3YP2F.js +0 -124
  609. package/dist/cli-bundle/chunks/stats-N6H3YP2F.js.map +0 -7
  610. package/dist/cli-bundle/chunks/test-VNBDRJ4Z.js +0 -32
  611. package/dist/cli-bundle/chunks/update-H6SCWNMA.js +0 -22
  612. package/dist/cli-bundle/chunks/update-many-46HRSP2Q.js.map +0 -7
  613. package/dist/cli-bundle/chunks/validate-TMCVKIGZ.js.map +0 -7
  614. /package/dist/cli-bundle/chunks/{activity-OWYSUZOY.js.map → activity-CVXTCHYY.js.map} +0 -0
  615. /package/dist/cli-bundle/chunks/{aggregate-ADUOSFRO.js.map → aggregate-VNAHUNNF.js.map} +0 -0
  616. /package/dist/cli-bundle/chunks/{chunk-D7AOMPRH.js.map → chunk-BQHUILZS.js.map} +0 -0
  617. /package/dist/cli-bundle/chunks/{chunk-G57E5D7T.js.map → chunk-GU2ZJ2VV.js.map} +0 -0
  618. /package/dist/cli-bundle/chunks/{chunk-AKOOMO3T.js.map → chunk-KAG77BY3.js.map} +0 -0
  619. /package/dist/cli-bundle/chunks/{chunk-KBQY3YG5.js.map → chunk-KJ33AOCY.js.map} +0 -0
  620. /package/dist/cli-bundle/chunks/{chunk-WJ2NAC37.js.map → chunk-N7ACFE26.js.map} +0 -0
  621. /package/dist/cli-bundle/chunks/{chunk-PVNQLCIS.js.map → chunk-QO7EBBOM.js.map} +0 -0
  622. /package/dist/cli-bundle/chunks/{chunk-A7E7PUVX.js.map → chunk-R6UFP2GE.js.map} +0 -0
  623. /package/dist/cli-bundle/chunks/{chunk-CEFIVZPG.js.map → chunk-T3LC5LKB.js.map} +0 -0
  624. /package/dist/cli-bundle/chunks/{chunk-JFWUHHS2.js.map → chunk-UM2GBHS4.js.map} +0 -0
  625. /package/dist/cli-bundle/chunks/{chunk-SEXQN4KL.js.map → chunk-WKY2IBOQ.js.map} +0 -0
  626. /package/dist/cli-bundle/chunks/{chunk-NGN7UV5K.js.map → chunk-XLTD2HN3.js.map} +0 -0
  627. /package/dist/cli-bundle/chunks/{chunk-L2FXEKDB.js.map → chunk-YL2DJGYS.js.map} +0 -0
  628. /package/dist/cli-bundle/chunks/{close-XY4CSAYF.js.map → close-3HDWDA3L.js.map} +0 -0
  629. /package/dist/cli-bundle/chunks/{create-PZVHRIZQ.js.map → create-JTZNCTQC.js.map} +0 -0
  630. /package/dist/cli-bundle/chunks/{extension-B4WL7BQU.js.map → extension-J7IBMFTD.js.map} +0 -0
  631. /package/dist/cli-bundle/chunks/{history-A2JUDXUE.js.map → history-2BA3T5AE.js.map} +0 -0
  632. /package/dist/cli-bundle/chunks/{history-redact-ED6RFCPL.js.map → history-redact-JBZNXHGR.js.map} +0 -0
  633. /package/dist/cli-bundle/chunks/{init-M2WUB4YH.js.map → init-HIVSNX3O.js.map} +0 -0
  634. /package/dist/cli-bundle/chunks/{list-OGWQPC26.js.map → list-MUSQNMTD.js.map} +0 -0
  635. /package/dist/cli-bundle/chunks/{restore-MB2ISME7.js.map → restore-D4RGNX33.js.map} +0 -0
  636. /package/dist/cli-bundle/chunks/{test-VNBDRJ4Z.js.map → test-MXX3E5JL.js.map} +0 -0
  637. /package/dist/cli-bundle/chunks/{test-runs-GX5HTPSF.js.map → test-runs-WMVTQU3Y.js.map} +0 -0
  638. /package/dist/cli-bundle/chunks/{update-H6SCWNMA.js.map → update-YRXSUGYQ.js.map} +0 -0
@@ -9,13 +9,13 @@ import {
9
9
  PLAN_MODE_VALUES,
10
10
  PLAN_STEP_LINK_KIND_VALUES,
11
11
  PLAN_STEP_STATUS_VALUES
12
- } from "./chunk-LSXGH6NE.js";
12
+ } from "./chunk-U5SXYXSY.js";
13
13
 
14
14
  // dist/sdk/cli-contracts/commander-types.js
15
15
  !(function() {
16
16
  try {
17
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] = "5b919cb4-d842-52b2-92f8-d07fb6637a19");
18
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e7a15f1b-ed03-5de1-9743-961b8c82c57f");
19
19
  } catch (e2) {
20
20
  }
21
21
  })();
@@ -26,6 +26,10 @@ var LIST_COMMANDER_STRING_OPTION_CONTRACTS = [
26
26
  { target: "priority", keys: ["priority"] },
27
27
  { target: "deadlineBefore", keys: ["deadlineBefore"] },
28
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"] },
29
33
  { target: "assignee", keys: ["assignee"] },
30
34
  { target: "assigneeFilter", keys: ["assigneeFilter", "assignee_filter"] },
31
35
  { target: "parent", keys: ["parent"] },
@@ -39,6 +43,7 @@ var LIST_COMMANDER_STRING_OPTION_CONTRACTS = [
39
43
  ];
40
44
  var SEARCH_COMMANDER_STRING_OPTION_CONTRACTS = [
41
45
  { target: "mode", keys: ["mode"] },
46
+ { target: "status", keys: ["status"] },
42
47
  { target: "type", keys: ["type"] },
43
48
  { target: "tag", keys: ["tag"] },
44
49
  { target: "priority", keys: ["priority"] },
@@ -115,7 +120,7 @@ function readStringArrayFromCommanderOptions(options, contract) {
115
120
  !(function() {
116
121
  try {
117
122
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
118
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8f0d6f98-ad14-5cd7-aea8-a43737f51032");
123
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "826f5099-2a30-5563-8904-489eb023a732");
119
124
  } catch (e2) {
120
125
  }
121
126
  })();
@@ -308,6 +313,13 @@ var CREATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS = [
308
313
  repeatable: true,
309
314
  aliasOptions: [{ option: "--type_option <value>", description: "Alias for --type-option" }]
310
315
  },
316
+ {
317
+ target: "field",
318
+ keys: ["field"],
319
+ option: "--field <name=value>",
320
+ description: "Set a field declared by an active extension registerItemFields registration (repeatable)",
321
+ repeatable: true
322
+ },
311
323
  {
312
324
  target: "unset",
313
325
  keys: ["unset"],
@@ -617,6 +629,13 @@ var UPDATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS = [
617
629
  repeatable: true,
618
630
  aliasOptions: [{ option: "--type_option <value>", description: "Alias for --type-option" }]
619
631
  },
632
+ {
633
+ target: "field",
634
+ keys: ["field"],
635
+ option: "--field <name=value>",
636
+ description: "Set a field declared by an active extension registerItemFields registration (repeatable)",
637
+ repeatable: true
638
+ },
620
639
  {
621
640
  target: "unset",
622
641
  keys: ["unset"],
@@ -632,7 +651,7 @@ var UPDATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS = UPDATE_COMMANDER_OPTION_REGIS
632
651
  !(function() {
633
652
  try {
634
653
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
635
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e93f5c1f-0703-5c95-b7b8-84264cf9ed1f");
654
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d9e809b9-499e-5f9a-8dba-3eb82a74e2cc");
636
655
  } catch (e2) {
637
656
  }
638
657
  })();
@@ -673,6 +692,7 @@ var PM_CORE_COMMAND_NAMES = [
673
692
  "update",
674
693
  "update-many",
675
694
  "close",
695
+ "close-many",
676
696
  "delete",
677
697
  "append",
678
698
  "comments",
@@ -684,6 +704,7 @@ var PM_CORE_COMMAND_NAMES = [
684
704
  "plan",
685
705
  "test",
686
706
  "test-all",
707
+ "telemetry",
687
708
  "stats",
688
709
  "health",
689
710
  "validate",
@@ -750,6 +771,7 @@ var PM_TOOL_ACTIONS = [
750
771
  "update",
751
772
  "update-many",
752
773
  "close",
774
+ "close-many",
753
775
  "delete",
754
776
  "append",
755
777
  "comments",
@@ -761,6 +783,7 @@ var PM_TOOL_ACTIONS = [
761
783
  "deps",
762
784
  "test",
763
785
  "test-all",
786
+ "telemetry",
764
787
  "stats",
765
788
  "health",
766
789
  "validate",
@@ -777,7 +800,7 @@ var PM_TOOL_ACTIONS = [
777
800
  !(function() {
778
801
  try {
779
802
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
780
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f77c9493-e7b2-5549-a205-1b67dc69700e");
803
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "eddcd201-0f60-58a6-be51-11224e317119");
781
804
  } catch (e2) {
782
805
  }
783
806
  })();
@@ -788,6 +811,11 @@ var TOOL_LIST_FILTER_OPTION_CONTRACTS = [
788
811
  { param: "priority", flag: "--priority" },
789
812
  { param: "deadlineBefore", flag: "--deadline-before" },
790
813
  { param: "deadlineAfter", flag: "--deadline-after" },
814
+ { param: "updatedAfter", flag: "--updated-after" },
815
+ { param: "updatedBefore", flag: "--updated-before" },
816
+ { param: "createdAfter", flag: "--created-after" },
817
+ { param: "createdBefore", flag: "--created-before" },
818
+ { param: "ids", flag: "--ids" },
791
819
  { param: "assignee", flag: "--assignee" },
792
820
  { param: "assigneeFilter", flag: "--assignee-filter" },
793
821
  { param: "parent", flag: "--parent" },
@@ -830,6 +858,7 @@ var TOOL_DEDUPE_AUDIT_OPTION_CONTRACTS = [
830
858
  { param: "release", flag: "--release" }
831
859
  ];
832
860
  var TOOL_SEARCH_FILTER_OPTION_CONTRACTS = [
861
+ { param: "status", flag: "--status" },
833
862
  { param: "type", flag: "--type" },
834
863
  { param: "tag", flag: "--tag" },
835
864
  { param: "priority", flag: "--priority" },
@@ -890,6 +919,7 @@ var TOOL_CREATE_OPTION_CONTRACTS = [
890
919
  { param: "reminder", flag: "--reminder", repeatable: true },
891
920
  { param: "event", flag: "--event", repeatable: true },
892
921
  { param: "typeOption", flag: "--type-option", repeatable: true },
922
+ { param: "field", flag: "--field", repeatable: true },
893
923
  { param: "dep", flag: "--dep", repeatable: true },
894
924
  { param: "comment", flag: "--comment", repeatable: true },
895
925
  { param: "note", flag: "--note", repeatable: true },
@@ -939,6 +969,7 @@ var TOOL_UPDATE_OPTION_CONTRACTS = [
939
969
  { param: "reminder", flag: "--reminder", repeatable: true },
940
970
  { param: "event", flag: "--event", repeatable: true },
941
971
  { param: "typeOption", flag: "--type-option", repeatable: true },
972
+ { param: "field", flag: "--field", repeatable: true },
942
973
  { param: "unset", flag: "--unset", repeatable: true },
943
974
  { param: "clearDeps", flag: "--clear-deps" },
944
975
  { param: "clearComments", flag: "--clear-comments" },
@@ -954,6 +985,26 @@ var TOOL_UPDATE_OPTION_CONTRACTS = [
954
985
  { param: "allowAuditDepUpdate", flag: "--allow-audit-dep-update" }
955
986
  ];
956
987
  var TOOL_UPDATE_MANY_FILTER_OPTION_CONTRACTS = [
988
+ { param: "filterStatus", flag: "--filter-status" },
989
+ { param: "filterType", flag: "--filter-type" },
990
+ { param: "filterTag", flag: "--filter-tag" },
991
+ { param: "filterPriority", flag: "--filter-priority" },
992
+ { param: "filterDeadlineBefore", flag: "--filter-deadline-before" },
993
+ { param: "filterDeadlineAfter", flag: "--filter-deadline-after" },
994
+ { param: "filterUpdatedAfter", flag: "--filter-updated-after" },
995
+ { param: "filterUpdatedBefore", flag: "--filter-updated-before" },
996
+ { param: "filterCreatedAfter", flag: "--filter-created-after" },
997
+ { param: "filterCreatedBefore", flag: "--filter-created-before" },
998
+ { param: "filterAssignee", flag: "--filter-assignee" },
999
+ { param: "filterAssigneeFilter", flag: "--filter-assignee-filter" },
1000
+ { param: "filterParent", flag: "--filter-parent" },
1001
+ { param: "filterSprint", flag: "--filter-sprint" },
1002
+ { param: "filterRelease", flag: "--filter-release" },
1003
+ { param: "ids", flag: "--ids" },
1004
+ { param: "limit", flag: "--limit" },
1005
+ { param: "offset", flag: "--offset" }
1006
+ ];
1007
+ var TOOL_NORMALIZE_FILTER_OPTION_CONTRACTS = [
957
1008
  { param: "filterStatus", flag: "--filter-status" },
958
1009
  { param: "filterType", flag: "--filter-type" },
959
1010
  { param: "filterTag", flag: "--filter-tag" },
@@ -968,7 +1019,26 @@ var TOOL_UPDATE_MANY_FILTER_OPTION_CONTRACTS = [
968
1019
  { param: "limit", flag: "--limit" },
969
1020
  { param: "offset", flag: "--offset" }
970
1021
  ];
971
- var TOOL_NORMALIZE_FILTER_OPTION_CONTRACTS = [...TOOL_UPDATE_MANY_FILTER_OPTION_CONTRACTS];
1022
+ var TOOL_CLOSE_MANY_FILTER_OPTION_CONTRACTS = [
1023
+ { param: "filterStatus", flag: "--filter-status" },
1024
+ { param: "filterType", flag: "--filter-type" },
1025
+ { param: "filterTag", flag: "--filter-tag" },
1026
+ { param: "filterPriority", flag: "--filter-priority" },
1027
+ { param: "filterDeadlineBefore", flag: "--filter-deadline-before" },
1028
+ { param: "filterDeadlineAfter", flag: "--filter-deadline-after" },
1029
+ { param: "filterUpdatedAfter", flag: "--filter-updated-after" },
1030
+ { param: "filterUpdatedBefore", flag: "--filter-updated-before" },
1031
+ { param: "filterCreatedAfter", flag: "--filter-created-after" },
1032
+ { param: "filterCreatedBefore", flag: "--filter-created-before" },
1033
+ { param: "filterAssignee", flag: "--filter-assignee" },
1034
+ { param: "filterAssigneeFilter", flag: "--filter-assignee-filter" },
1035
+ { param: "filterParent", flag: "--filter-parent" },
1036
+ { param: "filterSprint", flag: "--filter-sprint" },
1037
+ { param: "filterRelease", flag: "--filter-release" },
1038
+ { param: "ids", flag: "--ids" },
1039
+ { param: "limit", flag: "--limit" },
1040
+ { param: "offset", flag: "--offset" }
1041
+ ];
972
1042
  var TOOL_ACTIVITY_OPTION_CONTRACTS = [
973
1043
  { param: "id", flag: "--id" },
974
1044
  { param: "op", flag: "--op" },
@@ -1002,7 +1072,7 @@ var TOOL_CONTEXT_OPTION_CONTRACTS = [
1002
1072
  !(function() {
1003
1073
  try {
1004
1074
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
1005
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "09eef83c-817b-5d26-8f58-016e2c7c39ad");
1075
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a89d0b2a-cf33-59eb-bc80-b06b935b63e2");
1006
1076
  } catch (e2) {
1007
1077
  }
1008
1078
  })();
@@ -1025,7 +1095,9 @@ var PM_TOOL_PARAMETER_PROPERTIES = {
1025
1095
  sort: { type: "string", enum: ["priority", "deadline", "updated_at", "created_at", "title", "parent"] },
1026
1096
  prefix: { type: "string" },
1027
1097
  preset: { type: "string", enum: ["minimal", "default", "strict", "custom"] },
1098
+ typePreset: { type: "string", enum: ["agile", "ops", "research"] },
1028
1099
  defaults: { type: "boolean" },
1100
+ verbose: { type: "boolean" },
1029
1101
  agentGuidance: { type: "string", enum: ["ask", "add", "skip", "status"] },
1030
1102
  withPackages: { type: "boolean" },
1031
1103
  scope: { type: "string", enum: ["project", "global"] },
@@ -1052,12 +1124,17 @@ var PM_TOOL_PARAMETER_PROPERTIES = {
1052
1124
  filterPriority: { anyOf: [{ type: "string" }, { type: "number" }] },
1053
1125
  filterDeadlineBefore: { type: "string" },
1054
1126
  filterDeadlineAfter: { type: "string" },
1127
+ filterUpdatedAfter: { type: "string" },
1128
+ filterUpdatedBefore: { type: "string" },
1129
+ filterCreatedAfter: { type: "string" },
1130
+ filterCreatedBefore: { type: "string" },
1055
1131
  filterAssignee: { type: "string" },
1056
1132
  filterAssigneeFilter: { type: "string", enum: ["assigned", "unassigned"] },
1057
1133
  filterParent: { type: "string" },
1058
1134
  filterSprint: { type: "string" },
1059
1135
  filterRelease: { type: "string" },
1060
1136
  closeReason: { type: "string" },
1137
+ reason: { type: "string" },
1061
1138
  priority: { anyOf: [{ type: "string" }, { type: "number" }] },
1062
1139
  tags: { type: "string" },
1063
1140
  addTags: { type: "array", items: { type: "string" } },
@@ -1126,6 +1203,11 @@ var PM_TOOL_PARAMETER_PROPERTIES = {
1126
1203
  tag: { type: "string" },
1127
1204
  deadlineBefore: { type: "string" },
1128
1205
  deadlineAfter: { type: "string" },
1206
+ updatedAfter: { type: "string" },
1207
+ updatedBefore: { type: "string" },
1208
+ createdAfter: { type: "string" },
1209
+ createdBefore: { type: "string" },
1210
+ ids: { type: "string" },
1129
1211
  limit: { anyOf: [{ type: "string" }, { type: "number" }] },
1130
1212
  limitItems: { anyOf: [{ type: "string" }, { type: "number" }] },
1131
1213
  fullHistory: { type: "boolean" },
@@ -1156,6 +1238,7 @@ var PM_TOOL_PARAMETER_PROPERTIES = {
1156
1238
  checkContext: { type: "boolean" },
1157
1239
  autoPmContext: { type: "boolean" },
1158
1240
  diff: { type: "boolean" },
1241
+ storage: { type: "boolean" },
1159
1242
  verify: { type: "boolean" },
1160
1243
  literal: { type: "array", items: { type: "string" } },
1161
1244
  regex: { type: "array", items: { type: "string" } },
@@ -1184,6 +1267,7 @@ var PM_TOOL_PARAMETER_PROPERTIES = {
1184
1267
  verboseFileLists: { type: "boolean" },
1185
1268
  strictExit: { type: "boolean" },
1186
1269
  failOnWarn: { type: "boolean" },
1270
+ fixHints: { type: "boolean" },
1187
1271
  checkHistoryDrift: { type: "boolean" },
1188
1272
  checkCommandReferences: { type: "boolean" },
1189
1273
  allowAuditNote: { type: "boolean" },
@@ -1205,7 +1289,7 @@ var PM_TOOL_PARAMETER_PROPERTIES = {
1205
1289
  includeUnparented: { type: "boolean" },
1206
1290
  gcScope: {
1207
1291
  type: "array",
1208
- items: { type: "string", enum: ["index", "embeddings", "runtime"] }
1292
+ items: { type: "string", enum: ["index", "embeddings", "runtime", "locks"] }
1209
1293
  },
1210
1294
  maxDepth: { anyOf: [{ type: "string" }, { type: "number" }] },
1211
1295
  collapse: { type: "string", enum: ["none", "repeated"] },
@@ -1219,6 +1303,7 @@ var PM_TOOL_PARAMETER_PROPERTIES = {
1219
1303
  name: { type: "string" },
1220
1304
  defaultStatus: { type: "string" },
1221
1305
  alias: { type: "array", items: { type: "string" } },
1306
+ role: { type: "array", items: { type: "string" } },
1222
1307
  text: { type: "string" },
1223
1308
  add: { type: "array", items: { type: "string" } },
1224
1309
  addGlob: { type: "array", items: { type: "string" } },
@@ -1243,6 +1328,7 @@ var PM_TOOL_PARAMETER_PROPERTIES = {
1243
1328
  reminder: { type: "array", items: { type: "string" } },
1244
1329
  event: { type: "array", items: { type: "string" } },
1245
1330
  typeOption: { type: "array", items: { type: "string" } },
1331
+ field: { type: "array", items: { type: "string" } },
1246
1332
  unset: { type: "array", items: { type: "string" } },
1247
1333
  clearDeps: { type: "boolean" },
1248
1334
  clearComments: { type: "boolean" },
@@ -1458,28 +1544,38 @@ var PM_TOOL_PARAMETER_METADATA = {
1458
1544
  examples: ["Task", "Feature"]
1459
1545
  },
1460
1546
  subcommand: {
1461
- description: "Subcommand for the schema action.",
1462
- examples: ["add-type"]
1547
+ description: "Subcommand selector for schema and telemetry actions."
1463
1548
  },
1464
1549
  name: {
1465
- description: "Custom item type name to register (for schema add-type).",
1466
- examples: ["Spike"]
1550
+ description: "Custom item type name (schema add-type/remove-type/show) or custom status id (schema add-status/remove-status).",
1551
+ examples: ["Spike", "review"]
1467
1552
  },
1468
1553
  defaultStatus: {
1469
1554
  description: "Default status hint recorded for a custom item type.",
1470
1555
  examples: ["open"]
1471
1556
  },
1472
1557
  alias: {
1473
- description: "Aliases for the custom item type (repeatable).",
1558
+ description: "Aliases for the custom item type or status (repeatable).",
1474
1559
  examples: [["spike", "research"]]
1475
1560
  },
1561
+ role: {
1562
+ description: "Lifecycle roles for a custom status (schema add-status): draft, active, blocked, terminal, terminal_done, terminal_canceled, default_open, default_close, default_cancel.",
1563
+ examples: [["active"], ["terminal", "terminal_done"]]
1564
+ },
1476
1565
  preset: {
1477
1566
  description: "Governance preset for initialization flows.",
1478
1567
  examples: ["minimal", "default", "strict"]
1479
1568
  },
1569
+ typePreset: {
1570
+ description: "Domain item-type preset registered during initialization.",
1571
+ examples: ["agile", "ops", "research"]
1572
+ },
1480
1573
  defaults: {
1481
1574
  description: "Use non-interactive setup defaults during initialization."
1482
1575
  },
1576
+ verbose: {
1577
+ description: "Include the full resolved settings tree in init output."
1578
+ },
1483
1579
  agentGuidance: {
1484
1580
  description: "Control AGENTS.md/CLAUDE.md guidance behavior during init: ask, add, skip, or status.",
1485
1581
  examples: ["ask", "add", "skip", "status"]
@@ -1653,8 +1749,11 @@ var PM_TOOL_PARAMETER_METADATA = {
1653
1749
  description: "Preview command effects without mutating storage artifacts."
1654
1750
  },
1655
1751
  gcScope: {
1656
- description: "Repeatable gc scope selector values (index, embeddings, runtime).",
1657
- examples: [["index", "embeddings"], ["runtime"]]
1752
+ description: "Repeatable gc scope selector values (index, embeddings, runtime, locks).",
1753
+ examples: [["index", "embeddings"], ["runtime"], ["locks"]]
1754
+ },
1755
+ storage: {
1756
+ 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."
1658
1757
  },
1659
1758
  offset: {
1660
1759
  description: "Number of matching rows to skip before limit is applied.",
@@ -1756,6 +1855,9 @@ var PM_TOOL_PARAMETER_METADATA = {
1756
1855
  failOnWarn: {
1757
1856
  description: "Alias for strictExit in health/validate/extension-doctor action payloads."
1758
1857
  },
1858
+ fixHints: {
1859
+ description: "For validate action, add a machine-executable fix_hints[] of pm commands to each failing check's details."
1860
+ },
1759
1861
  checkHistoryDrift: {
1760
1862
  description: "Run item/history hash drift checks."
1761
1863
  },
@@ -1917,7 +2019,7 @@ var PM_TOOL_PARAMETER_METADATA = {
1917
2019
  !(function() {
1918
2020
  try {
1919
2021
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
1920
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b98193ee-1196-5e27-b732-d15db107a7e4");
2022
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ed7e453d-9d75-5c91-8de4-990f9ddf155d");
1921
2023
  } catch (e2) {
1922
2024
  }
1923
2025
  })();
@@ -1989,6 +2091,11 @@ var LIST_FILTER_FLAG_CONTRACTS = [
1989
2091
  { flag: "--priority" },
1990
2092
  { flag: "--deadline-before" },
1991
2093
  { flag: "--deadline-after" },
2094
+ { flag: "--updated-after" },
2095
+ { flag: "--updated-before" },
2096
+ { flag: "--created-after" },
2097
+ { flag: "--created-before" },
2098
+ { flag: "--ids", list: true },
1992
2099
  { flag: "--assignee" },
1993
2100
  { flag: "--assignee-filter" },
1994
2101
  { flag: "--assignee_filter" },
@@ -2114,6 +2221,7 @@ var HISTORY_FLAG_CONTRACTS = [
2114
2221
  { flag: "--compact" },
2115
2222
  { flag: "--full" },
2116
2223
  { flag: "--diff" },
2224
+ { flag: "--field" },
2117
2225
  { flag: "--verify" }
2118
2226
  ];
2119
2227
  var HISTORY_REDACT_FLAG_CONTRACTS = [
@@ -2136,6 +2244,11 @@ var SCHEMA_FLAG_CONTRACTS = [
2136
2244
  { flag: "--default-status", aliases: ["--default_status"] },
2137
2245
  { flag: "--folder" },
2138
2246
  { flag: "--alias" },
2247
+ // --role is a repeatable Commander collect flag (NOT a comma-list contract),
2248
+ // mirroring --alias; list:false keeps the bootstrap coalescer from corrupting
2249
+ // values.
2250
+ { flag: "--role" },
2251
+ { flag: "--order" },
2139
2252
  { flag: "--author" },
2140
2253
  { flag: "--force" }
2141
2254
  ];
@@ -2150,7 +2263,7 @@ var PLAN_FLAG_CONTRACTS = [
2150
2263
  { flag: "--harness" },
2151
2264
  { flag: "--mode" },
2152
2265
  { flag: "--resume-context", aliases: ["--resume_context"] },
2153
- { flag: "--tags", list: true },
2266
+ { flag: "--tags", aliases: ["--tag"], list: true },
2154
2267
  { flag: "--priority" },
2155
2268
  { flag: "--body" },
2156
2269
  { flag: "--claim" },
@@ -2190,6 +2303,7 @@ var PLAN_FLAG_CONTRACTS = [
2190
2303
  ];
2191
2304
  var INIT_FLAG_CONTRACTS = [
2192
2305
  { flag: "--preset" },
2306
+ { flag: "--type-preset" },
2193
2307
  { flag: "--defaults", short: "-y", aliases: ["--yes"] },
2194
2308
  { flag: "--author" },
2195
2309
  { flag: "--agent-guidance" },
@@ -2242,6 +2356,51 @@ var EXTENSION_FLAG_CONTRACTS = [
2242
2356
  { flag: "--strict-exit" },
2243
2357
  { flag: "--fail-on-warn" }
2244
2358
  ];
2359
+ var EXTENSION_INIT_FLAG_CONTRACTS = [
2360
+ { flag: "--project" },
2361
+ { flag: "--local" },
2362
+ { flag: "--global" }
2363
+ ];
2364
+ var EXTENSION_INSTALL_FLAG_CONTRACTS = [
2365
+ { flag: "--project" },
2366
+ { flag: "--local" },
2367
+ { flag: "--global" },
2368
+ { flag: "--gh" },
2369
+ { flag: "--github" },
2370
+ { flag: "--ref" }
2371
+ ];
2372
+ var EXTENSION_UNINSTALL_FLAG_CONTRACTS = EXTENSION_INIT_FLAG_CONTRACTS;
2373
+ var EXTENSION_EXPLORE_FLAG_CONTRACTS = EXTENSION_INIT_FLAG_CONTRACTS;
2374
+ var EXTENSION_ADOPT_ALL_FLAG_CONTRACTS = EXTENSION_INIT_FLAG_CONTRACTS;
2375
+ var EXTENSION_ACTIVATE_FLAG_CONTRACTS = EXTENSION_INIT_FLAG_CONTRACTS;
2376
+ var EXTENSION_DEACTIVATE_FLAG_CONTRACTS = EXTENSION_INIT_FLAG_CONTRACTS;
2377
+ var EXTENSION_MANAGE_FLAG_CONTRACTS = [
2378
+ ...EXTENSION_INIT_FLAG_CONTRACTS,
2379
+ { flag: "--runtime-probe" },
2380
+ { flag: "--fix-managed-state" }
2381
+ ];
2382
+ var EXTENSION_RELOAD_FLAG_CONTRACTS = [
2383
+ ...EXTENSION_INIT_FLAG_CONTRACTS,
2384
+ { flag: "--watch" }
2385
+ ];
2386
+ var EXTENSION_DOCTOR_FLAG_CONTRACTS = [
2387
+ ...EXTENSION_INIT_FLAG_CONTRACTS,
2388
+ { flag: "--detail" },
2389
+ { flag: "--trace" },
2390
+ { flag: "--fix-managed-state" },
2391
+ { flag: "--strict-exit" },
2392
+ { flag: "--fail-on-warn" }
2393
+ ];
2394
+ var EXTENSION_CATALOG_FLAG_CONTRACTS = [
2395
+ ...EXTENSION_INIT_FLAG_CONTRACTS,
2396
+ { flag: "--fields", list: true }
2397
+ ];
2398
+ var EXTENSION_ADOPT_FLAG_CONTRACTS = [
2399
+ ...EXTENSION_INIT_FLAG_CONTRACTS,
2400
+ { flag: "--gh" },
2401
+ { flag: "--github" },
2402
+ { flag: "--ref" }
2403
+ ];
2245
2404
  var INSTALL_FLAG_CONTRACTS = [
2246
2405
  { flag: "--project" },
2247
2406
  { flag: "--local" },
@@ -2280,6 +2439,38 @@ var CLOSE_FLAG_CONTRACTS = [
2280
2439
  { flag: "--actual-result", aliases: ["--actual_result", "--actual"] },
2281
2440
  { flag: "--force" }
2282
2441
  ];
2442
+ var CLOSE_MANY_FLAG_CONTRACTS = [
2443
+ { flag: "--filter-status", list: true },
2444
+ { flag: "--filter-type" },
2445
+ { flag: "--filter-tag" },
2446
+ { flag: "--filter-priority" },
2447
+ { flag: "--filter-deadline-before" },
2448
+ { flag: "--filter-deadline-after" },
2449
+ { flag: "--filter-updated-after" },
2450
+ { flag: "--filter-updated-before" },
2451
+ { flag: "--filter-created-after" },
2452
+ { flag: "--filter-created-before" },
2453
+ { flag: "--filter-assignee" },
2454
+ { flag: "--filter-assignee-filter" },
2455
+ { flag: "--filter-assignee_filter" },
2456
+ { flag: "--filter-parent" },
2457
+ { flag: "--filter-sprint" },
2458
+ { flag: "--filter-release" },
2459
+ { flag: "--ids", list: true },
2460
+ { flag: "--limit" },
2461
+ { flag: "--offset" },
2462
+ { flag: "--reason" },
2463
+ { flag: "--resolution" },
2464
+ { flag: "--expected-result", aliases: ["--expected_result", "--expected"] },
2465
+ { flag: "--actual-result", aliases: ["--actual_result", "--actual"] },
2466
+ { flag: "--validate-close" },
2467
+ { flag: "--author" },
2468
+ { flag: "--message" },
2469
+ { flag: "--force" },
2470
+ { flag: "--dry-run" },
2471
+ { flag: "--rollback" },
2472
+ { flag: "--no-checkpoint" }
2473
+ ];
2283
2474
  var APPEND_FLAG_CONTRACTS = [
2284
2475
  { flag: "--body", short: "-b" },
2285
2476
  { flag: "--author" },
@@ -2365,6 +2556,9 @@ var TEST_ALL_FLAG_CONTRACTS = [
2365
2556
  { flag: "--check-context" },
2366
2557
  { flag: "--auto-pm-context" }
2367
2558
  ];
2559
+ var TELEMETRY_FLAG_CONTRACTS = [
2560
+ { flag: "--limit" }
2561
+ ];
2368
2562
  var TEST_RUNS_FLAG_CONTRACTS = [
2369
2563
  { flag: "--status" },
2370
2564
  { flag: "--limit" },
@@ -2377,6 +2571,9 @@ var GC_FLAG_CONTRACTS = [
2377
2571
  { flag: "--dry-run" },
2378
2572
  { flag: "--scope" }
2379
2573
  ];
2574
+ var STATS_FLAG_CONTRACTS = [
2575
+ { flag: "--storage" }
2576
+ ];
2380
2577
  var HEALTH_FLAG_CONTRACTS = [
2381
2578
  { flag: "--strict-directories" },
2382
2579
  { flag: "--strict-exit" },
@@ -2407,6 +2604,7 @@ var VALIDATE_FLAG_CONTRACTS = [
2407
2604
  { flag: "--verbose-diagnostics" },
2408
2605
  { flag: "--strict-exit" },
2409
2606
  { flag: "--fail-on-warn" },
2607
+ { flag: "--fix-hints" },
2410
2608
  { flag: "--check-history-drift" },
2411
2609
  { flag: "--check-command-references" }
2412
2610
  ];
@@ -2421,7 +2619,7 @@ var CREATE_FLAG_CONTRACTS = [
2421
2619
  { flag: "--schedule_preset" },
2422
2620
  { short: "-s", flag: "--status" },
2423
2621
  { short: "-p", flag: "--priority" },
2424
- { flag: "--tags", list: true },
2622
+ { flag: "--tags", aliases: ["--tag"], list: true },
2425
2623
  // NOT list:true — these use Commander's repeatable collector. Marking them
2426
2624
  // list:true would make the bootstrap coalescer comma-join repeated
2427
2625
  // occurrences (`--add-tags '["a","b"]' --add-tags c` -> `["a","b"],c`),
@@ -2484,6 +2682,7 @@ var CREATE_FLAG_CONTRACTS = [
2484
2682
  { flag: "--dep" },
2485
2683
  { flag: "--type-option" },
2486
2684
  { flag: "--type_option" },
2685
+ { flag: "--field" },
2487
2686
  { flag: "--reminder" },
2488
2687
  { flag: "--event" },
2489
2688
  { flag: "--comment" },
@@ -2513,7 +2712,7 @@ var UPDATE_FLAG_CONTRACTS = [
2513
2712
  { flag: "--close_reason" },
2514
2713
  { short: "-p", flag: "--priority" },
2515
2714
  { flag: "--type" },
2516
- { flag: "--tags", list: true },
2715
+ { flag: "--tags", aliases: ["--tag"], list: true },
2517
2716
  // NOT list:true — Commander's repeatable collector accumulates these, so
2518
2717
  // bootstrap coalescing must not comma-join repeated occurrences (it would
2519
2718
  // corrupt JSON-array values like `--add-tags '["a","b"]' --add-tags c`).
@@ -2587,6 +2786,7 @@ var UPDATE_FLAG_CONTRACTS = [
2587
2786
  { flag: "--event" },
2588
2787
  { flag: "--type-option" },
2589
2788
  { flag: "--type_option" },
2789
+ { flag: "--field" },
2590
2790
  { flag: "--unset" },
2591
2791
  { flag: "--clear-deps" },
2592
2792
  { flag: "--clear-comments" },
@@ -2611,12 +2811,17 @@ var UPDATE_MANY_FLAG_CONTRACTS = [
2611
2811
  { flag: "--filter-priority" },
2612
2812
  { flag: "--filter-deadline-before" },
2613
2813
  { flag: "--filter-deadline-after" },
2814
+ { flag: "--filter-updated-after" },
2815
+ { flag: "--filter-updated-before" },
2816
+ { flag: "--filter-created-after" },
2817
+ { flag: "--filter-created-before" },
2614
2818
  { flag: "--filter-assignee" },
2615
2819
  { flag: "--filter-assignee-filter" },
2616
2820
  { flag: "--filter-assignee_filter" },
2617
2821
  { flag: "--filter-parent" },
2618
2822
  { flag: "--filter-sprint" },
2619
2823
  { flag: "--filter-release" },
2824
+ { flag: "--ids", list: true },
2620
2825
  { flag: "--limit" },
2621
2826
  { flag: "--offset" },
2622
2827
  { flag: "--dry-run" },
@@ -2627,7 +2832,7 @@ var UPDATE_MANY_FLAG_CONTRACTS = [
2627
2832
  { short: "-b", flag: "--body" },
2628
2833
  { short: "-p", flag: "--priority" },
2629
2834
  { flag: "--type" },
2630
- { flag: "--tags", list: true },
2835
+ { flag: "--tags", aliases: ["--tag"], list: true },
2631
2836
  // NOT list:true — Commander's repeatable collector accumulates these, so
2632
2837
  // bootstrap coalescing must not comma-join repeated occurrences (it would
2633
2838
  // corrupt JSON-array values like `--add-tags '["a","b"]' --add-tags c`).
@@ -2815,6 +3020,7 @@ var SEARCH_FLAG_CONTRACTS = [
2815
3020
  { flag: "--full" },
2816
3021
  { flag: "--fields", list: true },
2817
3022
  { flag: "--limit" },
3023
+ { flag: "--status", list: true },
2818
3024
  { flag: "--type" },
2819
3025
  { flag: "--tag" },
2820
3026
  { flag: "--priority" },
@@ -2862,7 +3068,6 @@ var LIST_COMMAND_NAME_CONTRACTS = /* @__PURE__ */ new Set([
2862
3068
  "list-canceled"
2863
3069
  ]);
2864
3070
  var NO_SURFACE_COMMAND_NAME_CONTRACTS = /* @__PURE__ */ new Set([
2865
- "stats",
2866
3071
  "reindex",
2867
3072
  "help"
2868
3073
  ]);
@@ -2895,6 +3100,37 @@ function resolveSubcommandFlagContractsForCommand(commandName) {
2895
3100
  if (normalized === "test-runs-worker") {
2896
3101
  return withSubcommandGlobalFlags(TEST_RUNS_FLAG_CONTRACTS);
2897
3102
  }
3103
+ const [rootCommand, lifecycleSubcommand, ...extraParts] = normalized.split(/\s+/);
3104
+ if ((rootCommand === "extension" || rootCommand === "package" || rootCommand === "packages") && lifecycleSubcommand && extraParts.length === 0) {
3105
+ switch (lifecycleSubcommand) {
3106
+ case "init":
3107
+ return withSubcommandGlobalFlags(EXTENSION_INIT_FLAG_CONTRACTS);
3108
+ case "install":
3109
+ return withSubcommandGlobalFlags(EXTENSION_INSTALL_FLAG_CONTRACTS);
3110
+ case "uninstall":
3111
+ return withSubcommandGlobalFlags(EXTENSION_UNINSTALL_FLAG_CONTRACTS);
3112
+ case "explore":
3113
+ return withSubcommandGlobalFlags(EXTENSION_EXPLORE_FLAG_CONTRACTS);
3114
+ case "manage":
3115
+ return withSubcommandGlobalFlags(EXTENSION_MANAGE_FLAG_CONTRACTS);
3116
+ case "reload":
3117
+ return withSubcommandGlobalFlags(EXTENSION_RELOAD_FLAG_CONTRACTS);
3118
+ case "doctor":
3119
+ return withSubcommandGlobalFlags(EXTENSION_DOCTOR_FLAG_CONTRACTS);
3120
+ case "catalog":
3121
+ return withSubcommandGlobalFlags(EXTENSION_CATALOG_FLAG_CONTRACTS);
3122
+ case "adopt":
3123
+ return withSubcommandGlobalFlags(EXTENSION_ADOPT_FLAG_CONTRACTS);
3124
+ case "adopt-all":
3125
+ return withSubcommandGlobalFlags(EXTENSION_ADOPT_ALL_FLAG_CONTRACTS);
3126
+ case "activate":
3127
+ return withSubcommandGlobalFlags(EXTENSION_ACTIVATE_FLAG_CONTRACTS);
3128
+ case "deactivate":
3129
+ return withSubcommandGlobalFlags(EXTENSION_DEACTIVATE_FLAG_CONTRACTS);
3130
+ default:
3131
+ return withSubcommandGlobalFlags([]);
3132
+ }
3133
+ }
2898
3134
  switch (normalized) {
2899
3135
  case "init":
2900
3136
  return withSubcommandGlobalFlags(INIT_FLAG_CONTRACTS);
@@ -2940,6 +3176,8 @@ function resolveSubcommandFlagContractsForCommand(commandName) {
2940
3176
  return withSubcommandGlobalFlags(UPDATE_MANY_FLAG_CONTRACTS);
2941
3177
  case "close":
2942
3178
  return withSubcommandGlobalFlags(CLOSE_FLAG_CONTRACTS);
3179
+ case "close-many":
3180
+ return withSubcommandGlobalFlags(CLOSE_MANY_FLAG_CONTRACTS);
2943
3181
  case "delete":
2944
3182
  return withSubcommandGlobalFlags(DELETE_FLAG_CONTRACTS);
2945
3183
  case "append":
@@ -2960,12 +3198,16 @@ function resolveSubcommandFlagContractsForCommand(commandName) {
2960
3198
  return withSubcommandGlobalFlags(TEST_FLAG_CONTRACTS);
2961
3199
  case "test-all":
2962
3200
  return withSubcommandGlobalFlags(TEST_ALL_FLAG_CONTRACTS);
3201
+ case "telemetry":
3202
+ return withSubcommandGlobalFlags(TELEMETRY_FLAG_CONTRACTS);
2963
3203
  case "health":
2964
3204
  return withSubcommandGlobalFlags(HEALTH_FLAG_CONTRACTS);
2965
3205
  case "validate":
2966
3206
  return withSubcommandGlobalFlags(VALIDATE_FLAG_CONTRACTS);
2967
3207
  case "gc":
2968
3208
  return withSubcommandGlobalFlags(GC_FLAG_CONTRACTS);
3209
+ case "stats":
3210
+ return withSubcommandGlobalFlags(STATS_FLAG_CONTRACTS);
2969
3211
  case "contracts":
2970
3212
  return withSubcommandGlobalFlags(CONTRACTS_FLAG_CONTRACTS);
2971
3213
  case "claim":
@@ -3012,6 +3254,20 @@ var NORMALIZE_CONTRACT_PARAMETER_KEYS = toSchemaKeyList([
3012
3254
  "allowAuditUpdate",
3013
3255
  "force"
3014
3256
  ]);
3257
+ var CLOSE_MANY_CONTRACT_PARAMETER_KEYS = toSchemaKeyList([
3258
+ ...TOOL_CLOSE_MANY_FILTER_OPTION_CONTRACTS.map((entry) => entry.param),
3259
+ "reason",
3260
+ "resolution",
3261
+ "expectedResult",
3262
+ "actualResult",
3263
+ "validateClose",
3264
+ "dryRun",
3265
+ "rollback",
3266
+ "noCheckpoint",
3267
+ "author",
3268
+ "message",
3269
+ "force"
3270
+ ]);
3015
3271
  var CONTEXT_CONTRACT_PARAMETER_KEYS = toSchemaKeyList([
3016
3272
  ...TOOL_CONTEXT_OPTION_CONTRACTS.map((entry) => entry.param),
3017
3273
  "past",
@@ -3049,7 +3305,7 @@ var SEARCH_CONTRACT_PARAMETER_KEYS = toSchemaKeyList([
3049
3305
  ]);
3050
3306
  var AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS = ["author", "message", "force"];
3051
3307
  var PM_TOOL_ACTION_SCHEMA_CONTRACTS = {
3052
- init: { optional: ["prefix", "preset", "defaults", "author", "agentGuidance", "withPackages"] },
3308
+ init: { optional: ["prefix", "preset", "typePreset", "defaults", "author", "agentGuidance", "withPackages", "verbose"] },
3053
3309
  config: {
3054
3310
  required: ["scope", "configAction"],
3055
3311
  optional: ["key", "value", "criterion", "clearCriteria", "format", "policy"]
@@ -3064,7 +3320,7 @@ var PM_TOOL_ACTION_SCHEMA_CONTRACTS = {
3064
3320
  "extension-manage": { optional: ["scope", "runtimeProbe", "fixManagedState"] },
3065
3321
  "extension-reload": { optional: ["scope", "watch"] },
3066
3322
  "extension-doctor": { optional: ["scope", "detail", "trace", "fixManagedState", "strictExit", "failOnWarn"] },
3067
- "extension-catalog": { optional: ["scope"] },
3323
+ "extension-catalog": { optional: ["scope", "fields"] },
3068
3324
  "extension-adopt": { required: ["target"], optional: ["scope", "github", "ref"] },
3069
3325
  "extension-adopt-all": { optional: ["scope"] },
3070
3326
  "extension-activate": { required: ["target"], optional: ["scope"] },
@@ -3106,7 +3362,7 @@ var PM_TOOL_ACTION_SCHEMA_CONTRACTS = {
3106
3362
  "package-manage": { optional: ["scope", "runtimeProbe", "fixManagedState"] },
3107
3363
  "package-reload": { optional: ["scope", "watch"] },
3108
3364
  "package-doctor": { optional: ["scope", "detail", "trace", "fixManagedState", "strictExit", "failOnWarn"] },
3109
- "package-catalog": { optional: ["scope"] },
3365
+ "package-catalog": { optional: ["scope", "fields"] },
3110
3366
  "package-adopt": { required: ["target"], optional: ["scope", "github", "ref"] },
3111
3367
  "package-adopt-all": { optional: ["scope"] },
3112
3368
  "package-activate": { required: ["target"], optional: ["scope"] },
@@ -3179,9 +3435,17 @@ var PM_TOOL_ACTION_SCHEMA_CONTRACTS = {
3179
3435
  optional: ["dryRun", ...AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS]
3180
3436
  },
3181
3437
  schema: {
3182
- required: ["subcommand", "name"],
3183
- // No --message: schema add-type writes a config file, not item history.
3184
- optional: ["description", "defaultStatus", "folder", "alias", "author", "force"]
3438
+ required: ["subcommand"],
3439
+ // No --message: schema mutations write config files, not item history.
3440
+ optional: ["name", "description", "defaultStatus", "folder", "alias", "role", "order", "author", "force"],
3441
+ conditionalRequired: [
3442
+ { property: "subcommand", value: "show", required: ["name"] },
3443
+ { property: "subcommand", value: "add-type", required: ["name"] },
3444
+ { property: "subcommand", value: "remove-type", required: ["name"] },
3445
+ // add-status/remove-status pass the status id as `name`.
3446
+ { property: "subcommand", value: "add-status", required: ["name"] },
3447
+ { property: "subcommand", value: "remove-status", required: ["name"] }
3448
+ ]
3185
3449
  },
3186
3450
  plan: {
3187
3451
  required: ["subcommand"],
@@ -3245,6 +3509,7 @@ var PM_TOOL_ACTION_SCHEMA_CONTRACTS = {
3245
3509
  "update-many": { optional: UPDATE_MANY_CONTRACT_PARAMETER_KEYS },
3246
3510
  normalize: { optional: NORMALIZE_CONTRACT_PARAMETER_KEYS },
3247
3511
  close: { required: ["id", "text"], optional: ["validateClose", ...AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS] },
3512
+ "close-many": { optional: CLOSE_MANY_CONTRACT_PARAMETER_KEYS },
3248
3513
  delete: { required: ["id"], optional: ["dryRun", ...AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS] },
3249
3514
  append: { required: ["id", "body"], optional: AUTHOR_MESSAGE_FORCE_PARAMETER_KEYS },
3250
3515
  comments: {
@@ -3341,6 +3606,9 @@ var PM_TOOL_ACTION_SCHEMA_CONTRACTS = {
3341
3606
  "autoPmContext"
3342
3607
  ]
3343
3608
  },
3609
+ telemetry: {
3610
+ optional: ["subcommand", "limit"]
3611
+ },
3344
3612
  "test-runs-list": {
3345
3613
  optional: ["status", "limit"]
3346
3614
  },
@@ -3359,7 +3627,7 @@ var PM_TOOL_ACTION_SCHEMA_CONTRACTS = {
3359
3627
  required: ["runId"],
3360
3628
  optional: ["author"]
3361
3629
  },
3362
- stats: {},
3630
+ stats: { optional: ["storage"] },
3363
3631
  health: {
3364
3632
  optional: [
3365
3633
  "strictDirectories",
@@ -3392,6 +3660,7 @@ var PM_TOOL_ACTION_SCHEMA_CONTRACTS = {
3392
3660
  "verboseDiagnostics",
3393
3661
  "strictExit",
3394
3662
  "failOnWarn",
3663
+ "fixHints",
3395
3664
  "checkHistoryDrift",
3396
3665
  "checkCommandReferences"
3397
3666
  ]
@@ -3471,6 +3740,19 @@ function buildActionScopedToolSchema(action) {
3471
3740
  required: [...requiredFields]
3472
3741
  }));
3473
3742
  }
3743
+ if (contract.conditionalRequired && contract.conditionalRequired.length > 0) {
3744
+ schema.allOf = contract.conditionalRequired.map((entry) => ({
3745
+ if: {
3746
+ properties: {
3747
+ [entry.property]: { const: entry.value }
3748
+ },
3749
+ required: [entry.property]
3750
+ },
3751
+ then: {
3752
+ required: entry.required
3753
+ }
3754
+ }));
3755
+ }
3474
3756
  return schema;
3475
3757
  }
3476
3758
  function createLazyContractSchema(build) {
@@ -3489,11 +3771,14 @@ function createLazyContractSchema(build) {
3489
3771
  }
3490
3772
  });
3491
3773
  }
3774
+ var PM_TOOL_PARAMETERS_SCHEMA_VERSION = "4.0.2";
3775
+ var PM_TOOL_PARAMETERS_SCHEMA_MAJOR = PM_TOOL_PARAMETERS_SCHEMA_VERSION.split(".")[0];
3776
+ var PM_PROVIDER_TOOL_PARAMETERS_SCHEMA_VERSION = "1.0.0";
3492
3777
  var PM_TOOL_PARAMETERS_SCHEMA = createLazyContractSchema(() => ({
3493
3778
  $schema: "https://json-schema.org/draft/2020-12/schema",
3494
- $id: "https://schema.unbrained.dev/pm-cli/tool-parameters-v4.schema.json",
3779
+ $id: `https://schema.unbrained.dev/pm-cli/tool-parameters-v${PM_TOOL_PARAMETERS_SCHEMA_MAJOR}.schema.json`,
3495
3780
  title: "pm-cli tool parameters (action-scoped strict schema)",
3496
- "x-schema-version": "4.0.1",
3781
+ "x-schema-version": PM_TOOL_PARAMETERS_SCHEMA_VERSION,
3497
3782
  type: "object",
3498
3783
  oneOf: PM_TOOL_ACTIONS.map((action) => buildActionScopedToolSchema(action))
3499
3784
  }));
@@ -3534,7 +3819,7 @@ function buildProviderCompatibleToolSchema() {
3534
3819
  }
3535
3820
  return {
3536
3821
  title: "pm-cli tool parameters (provider-compatible flat schema)",
3537
- "x-schema-version": "1.0.0",
3822
+ "x-schema-version": PM_PROVIDER_TOOL_PARAMETERS_SCHEMA_VERSION,
3538
3823
  type: "object",
3539
3824
  additionalProperties: false,
3540
3825
  required: ["action"],
@@ -3584,10 +3869,23 @@ export {
3584
3869
  INIT_FLAG_CONTRACTS,
3585
3870
  CONFIG_FLAG_CONTRACTS,
3586
3871
  EXTENSION_FLAG_CONTRACTS,
3872
+ EXTENSION_INIT_FLAG_CONTRACTS,
3873
+ EXTENSION_INSTALL_FLAG_CONTRACTS,
3874
+ EXTENSION_UNINSTALL_FLAG_CONTRACTS,
3875
+ EXTENSION_EXPLORE_FLAG_CONTRACTS,
3876
+ EXTENSION_ADOPT_ALL_FLAG_CONTRACTS,
3877
+ EXTENSION_ACTIVATE_FLAG_CONTRACTS,
3878
+ EXTENSION_DEACTIVATE_FLAG_CONTRACTS,
3879
+ EXTENSION_MANAGE_FLAG_CONTRACTS,
3880
+ EXTENSION_RELOAD_FLAG_CONTRACTS,
3881
+ EXTENSION_DOCTOR_FLAG_CONTRACTS,
3882
+ EXTENSION_CATALOG_FLAG_CONTRACTS,
3883
+ EXTENSION_ADOPT_FLAG_CONTRACTS,
3587
3884
  INSTALL_FLAG_CONTRACTS,
3588
3885
  UPGRADE_FLAG_CONTRACTS,
3589
3886
  REINDEX_FLAG_CONTRACTS,
3590
3887
  CLOSE_FLAG_CONTRACTS,
3888
+ CLOSE_MANY_FLAG_CONTRACTS,
3591
3889
  APPEND_FLAG_CONTRACTS,
3592
3890
  CLAIM_FLAG_CONTRACTS,
3593
3891
  RESTORE_FLAG_CONTRACTS,
@@ -3598,8 +3896,10 @@ export {
3598
3896
  CLOSE_TASK_FLAG_CONTRACTS,
3599
3897
  TEST_FLAG_CONTRACTS,
3600
3898
  TEST_ALL_FLAG_CONTRACTS,
3899
+ TELEMETRY_FLAG_CONTRACTS,
3601
3900
  TEST_RUNS_FLAG_CONTRACTS,
3602
3901
  GC_FLAG_CONTRACTS,
3902
+ STATS_FLAG_CONTRACTS,
3603
3903
  HEALTH_FLAG_CONTRACTS,
3604
3904
  VALIDATE_FLAG_CONTRACTS,
3605
3905
  CREATE_FLAG_CONTRACTS,
@@ -3618,4 +3918,4 @@ export {
3618
3918
  resolveSubcommandFlagContractsForCommand,
3619
3919
  PM_TOOL_PARAMETERS_SCHEMA
3620
3920
  };
3621
- //# sourceMappingURL=chunk-GN7IJPCD.js.map
3921
+ //# sourceMappingURL=chunk-PROOHX4K.js.map