@unbrained/pm-cli 2026.6.7 → 2026.6.9

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 (494) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/AGENTS.md +1 -1
  3. package/CHANGELOG.md +68 -6
  4. package/CONTRIBUTING.md +1 -1
  5. package/README.md +1 -1
  6. package/dist/cli/bootstrap-args.js +30 -13
  7. package/dist/cli/bootstrap-args.js.map +1 -1
  8. package/dist/cli/commands/close-many.js +9 -3
  9. package/dist/cli/commands/close-many.js.map +1 -1
  10. package/dist/cli/commands/close.js +15 -3
  11. package/dist/cli/commands/close.js.map +1 -1
  12. package/dist/cli/commands/comments-audit.js +4 -3
  13. package/dist/cli/commands/comments-audit.js.map +1 -1
  14. package/dist/cli/commands/completion.js +40 -33
  15. package/dist/cli/commands/completion.js.map +1 -1
  16. package/dist/cli/commands/extension/scaffold.js +6 -14
  17. package/dist/cli/commands/extension/scaffold.js.map +1 -1
  18. package/dist/cli/commands/gc.js +10 -2
  19. package/dist/cli/commands/gc.js.map +1 -1
  20. package/dist/cli/commands/health.js +10 -2
  21. package/dist/cli/commands/health.js.map +1 -1
  22. package/dist/cli/commands/index.d.ts +1 -1
  23. package/dist/cli/commands/index.js +3 -3
  24. package/dist/cli/commands/index.js.map +1 -1
  25. package/dist/cli/commands/init.d.ts +1 -0
  26. package/dist/cli/commands/init.js +48 -2
  27. package/dist/cli/commands/init.js.map +1 -1
  28. package/dist/cli/commands/list.d.ts +11 -2
  29. package/dist/cli/commands/list.js +104 -2
  30. package/dist/cli/commands/list.js.map +1 -1
  31. package/dist/cli/commands/normalize.js +6 -4
  32. package/dist/cli/commands/normalize.js.map +1 -1
  33. package/dist/cli/commands/schema.d.ts +13 -2
  34. package/dist/cli/commands/schema.js +66 -12
  35. package/dist/cli/commands/schema.js.map +1 -1
  36. package/dist/cli/commands/search.d.ts +10 -2
  37. package/dist/cli/commands/search.js +94 -5
  38. package/dist/cli/commands/search.js.map +1 -1
  39. package/dist/cli/commands/upgrade.js +4 -12
  40. package/dist/cli/commands/upgrade.js.map +1 -1
  41. package/dist/cli/extension-command-options.js +40 -17
  42. package/dist/cli/extension-command-options.js.map +1 -1
  43. package/dist/cli/main.js +7 -18
  44. package/dist/cli/main.js.map +1 -1
  45. package/dist/cli/register-list-query.js +5 -3
  46. package/dist/cli/register-list-query.js.map +1 -1
  47. package/dist/cli/register-mutation.js +33 -24
  48. package/dist/cli/register-mutation.js.map +1 -1
  49. package/dist/cli/register-setup.js +4 -2
  50. package/dist/cli/register-setup.js.map +1 -1
  51. package/dist/cli/registration-helpers.js +7 -3
  52. package/dist/cli/registration-helpers.js.map +1 -1
  53. package/dist/cli-bundle/chunks/activity-HF3VJYKH.js +16 -0
  54. package/dist/cli-bundle/chunks/{activity-YVB3QRTE.js → activity-RUJATACW.js} +11 -11
  55. package/dist/cli-bundle/chunks/{aggregate-LH66F75F.js → aggregate-IQ27NFBI.js} +10 -11
  56. package/dist/cli-bundle/chunks/{aggregate-LH66F75F.js.map → aggregate-IQ27NFBI.js.map} +1 -1
  57. package/dist/cli-bundle/chunks/{aggregate-OHSWFQJM.js → aggregate-TT7OCHHT.js} +12 -13
  58. package/dist/cli-bundle/chunks/{aggregate-OHSWFQJM.js.map → aggregate-TT7OCHHT.js.map} +1 -1
  59. package/dist/cli-bundle/chunks/{append-2PPYFAG5.js → append-CWQZBUWV.js} +8 -8
  60. package/dist/cli-bundle/chunks/{append-AUGT5W6J.js → append-E7AJ5RTR.js} +8 -8
  61. package/dist/cli-bundle/chunks/{chunk-UIIQC5YO.js → chunk-23WNCJBA.js} +2 -2
  62. package/dist/cli-bundle/chunks/{chunk-GPXQBR3H.js → chunk-3RHE76G6.js} +12 -12
  63. package/dist/cli-bundle/chunks/{chunk-GUZBNB3G.js → chunk-42IULX44.js} +2 -2
  64. package/dist/cli-bundle/chunks/{chunk-HLC3KTLP.js → chunk-44JP4PYY.js} +2 -2
  65. package/dist/cli-bundle/chunks/{chunk-MWRS7Z4P.js → chunk-4LRVXVJK.js} +15 -13
  66. package/dist/cli-bundle/chunks/chunk-4LRVXVJK.js.map +7 -0
  67. package/dist/cli-bundle/chunks/{chunk-HV5SSZXF.js → chunk-4TJWRPIH.js} +2 -2
  68. package/dist/cli-bundle/chunks/{chunk-UYQ7HXH4.js → chunk-5ATRWEZO.js} +3 -3
  69. package/dist/cli-bundle/chunks/{chunk-X4IZKYHP.js → chunk-5JF76OJF.js} +246 -17
  70. package/dist/cli-bundle/chunks/chunk-5JF76OJF.js.map +1 -0
  71. package/dist/cli-bundle/chunks/{chunk-WYEXLDDY.js → chunk-5MMLINZB.js} +3 -3
  72. package/dist/cli-bundle/chunks/{chunk-2IF7WLB7.js → chunk-6IGTNFE3.js} +2 -2
  73. package/dist/cli-bundle/chunks/{chunk-UT6WFXW2.js → chunk-7CR4GAYN.js} +2 -2
  74. package/dist/cli-bundle/chunks/{chunk-NHR2QXXZ.js → chunk-7YTWXGE3.js} +20 -8
  75. package/dist/cli-bundle/chunks/chunk-7YTWXGE3.js.map +1 -0
  76. package/dist/cli-bundle/chunks/{chunk-SQPKRA54.js → chunk-A5342JVL.js} +12 -12
  77. package/dist/cli-bundle/chunks/{chunk-H7EO3QA3.js → chunk-AM2AXVFS.js} +5 -5
  78. package/dist/cli-bundle/chunks/{chunk-LIN2BPJ7.js → chunk-ANKG2JKL.js} +2 -2
  79. package/dist/cli-bundle/chunks/{chunk-YBZW2QQ7.js → chunk-AVGOVJGV.js} +10 -13
  80. package/dist/cli-bundle/chunks/chunk-AVGOVJGV.js.map +1 -0
  81. package/dist/cli-bundle/chunks/{chunk-4GHZR3BA.js → chunk-BACSNVWE.js} +10 -14
  82. package/dist/cli-bundle/chunks/chunk-BACSNVWE.js.map +1 -0
  83. package/dist/cli-bundle/chunks/{chunk-NQL32HQ5.js → chunk-BIRVSIM2.js} +12 -12
  84. package/dist/cli-bundle/chunks/{chunk-UJUT6AHZ.js → chunk-C72IQIBT.js} +271 -21
  85. package/dist/cli-bundle/chunks/chunk-C72IQIBT.js.map +7 -0
  86. package/dist/cli-bundle/chunks/{chunk-42LOFGJS.js → chunk-CAXUGAAF.js} +108 -9
  87. package/dist/cli-bundle/chunks/chunk-CAXUGAAF.js.map +7 -0
  88. package/dist/cli-bundle/chunks/{chunk-QQL5QSTZ.js → chunk-D5D7VKIC.js} +6 -5
  89. package/dist/cli-bundle/chunks/chunk-D5D7VKIC.js.map +1 -0
  90. package/dist/cli-bundle/chunks/{chunk-C5W2UH56.js → chunk-E7LOIIFP.js} +3 -3
  91. package/dist/cli-bundle/chunks/{chunk-TINUJMWN.js → chunk-EFRHTZO4.js} +109 -10
  92. package/dist/cli-bundle/chunks/chunk-EFRHTZO4.js.map +1 -0
  93. package/dist/cli-bundle/chunks/{chunk-LXO6V66E.js → chunk-ENCVPOID.js} +12 -12
  94. package/dist/cli-bundle/chunks/{chunk-4CHEG6UK.js → chunk-EQ6N6IDR.js} +8 -8
  95. package/dist/cli-bundle/chunks/{chunk-B5RF3IP7.js → chunk-F2REA7VW.js} +4 -6
  96. package/dist/cli-bundle/chunks/{chunk-B5RF3IP7.js.map → chunk-F2REA7VW.js.map} +1 -1
  97. package/dist/cli-bundle/chunks/{chunk-6J4K6JLA.js → chunk-FHUI7AXS.js} +6 -8
  98. package/dist/cli-bundle/chunks/{chunk-6J4K6JLA.js.map → chunk-FHUI7AXS.js.map} +1 -1
  99. package/dist/cli-bundle/chunks/{chunk-6RZXO5M2.js → chunk-FJNJEWU4.js} +8 -8
  100. package/dist/cli-bundle/chunks/{chunk-R3V3YCMH.js → chunk-FKH7K6YP.js} +9 -9
  101. package/dist/cli-bundle/chunks/{chunk-CLD3XNCH.js → chunk-GPOSGWCN.js} +14 -12
  102. package/dist/cli-bundle/chunks/chunk-GPOSGWCN.js.map +1 -0
  103. package/dist/cli-bundle/chunks/{chunk-3EOBJOF4.js → chunk-H37YPWLM.js} +4 -4
  104. package/dist/cli-bundle/chunks/{chunk-XYNT7UFP.js → chunk-I26E6XA7.js} +17 -7
  105. package/dist/cli-bundle/chunks/chunk-I26E6XA7.js.map +1 -0
  106. package/dist/cli-bundle/chunks/{chunk-THDEID2Z.js → chunk-I3UILOUU.js} +2 -2
  107. package/dist/cli-bundle/chunks/{chunk-YPH4ESA2.js → chunk-I4FGL3K2.js} +11 -6
  108. package/dist/cli-bundle/chunks/chunk-I4FGL3K2.js.map +1 -0
  109. package/dist/cli-bundle/chunks/{chunk-HMMMWBK2.js → chunk-JEGFLKSI.js} +2 -2
  110. package/dist/cli-bundle/chunks/{chunk-OKSKJKHX.js → chunk-JN3BT7UY.js} +9 -9
  111. package/dist/cli-bundle/chunks/{chunk-XS3O2TFJ.js → chunk-JVMAOD54.js} +8 -8
  112. package/dist/cli-bundle/chunks/chunk-JVMAOD54.js.map +1 -0
  113. package/dist/cli-bundle/chunks/{chunk-KNGVP5WJ.js → chunk-KDX6VC3P.js} +3 -3
  114. package/dist/cli-bundle/chunks/{chunk-TNPBPNII.js → chunk-KTVXLI54.js} +7 -7
  115. package/dist/cli-bundle/chunks/{chunk-TP4DDY27.js → chunk-LF2VNLEZ.js} +9 -12
  116. package/dist/cli-bundle/chunks/chunk-LF2VNLEZ.js.map +7 -0
  117. package/dist/cli-bundle/chunks/{chunk-X7UHMKPE.js → chunk-LU2HE272.js} +3 -3
  118. package/dist/cli-bundle/chunks/{chunk-WAA7UI6M.js → chunk-LU54Z4QI.js} +10 -14
  119. package/dist/cli-bundle/chunks/chunk-LU54Z4QI.js.map +7 -0
  120. package/dist/cli-bundle/chunks/{chunk-MOYM2C3J.js → chunk-MNXJ6YDO.js} +9 -9
  121. package/dist/cli-bundle/chunks/{chunk-WCQZBDDH.js → chunk-NHRZSYAA.js} +3 -3
  122. package/dist/cli-bundle/chunks/{chunk-3A2CMEM7.js → chunk-NJRZIJ4N.js} +4 -4
  123. package/dist/cli-bundle/chunks/{chunk-2OJHLWBZ.js → chunk-NUGAWYEN.js} +2 -2
  124. package/dist/cli-bundle/chunks/{chunk-LQHBENVW.js → chunk-O4L7Z6LB.js} +3 -3
  125. package/dist/cli-bundle/chunks/{chunk-V6EYFTRL.js → chunk-OPYA2HIU.js} +7 -7
  126. package/dist/cli-bundle/chunks/{chunk-KR6R465K.js → chunk-OT6XAMO5.js} +17 -7
  127. package/dist/cli-bundle/chunks/chunk-OT6XAMO5.js.map +7 -0
  128. package/dist/cli-bundle/chunks/{chunk-FY6Z3FYY.js → chunk-P2NVFE4L.js} +3 -3
  129. package/dist/cli-bundle/chunks/{chunk-UEWA73ZZ.js → chunk-PUSOAQCR.js} +5 -5
  130. package/dist/cli-bundle/chunks/{chunk-B2KZGPM2.js → chunk-PW7C262O.js} +2 -2
  131. package/dist/cli-bundle/chunks/{chunk-AVJD6VTA.js → chunk-RE2JQJZJ.js} +3 -3
  132. package/dist/cli-bundle/chunks/{chunk-GNIUOLZ2.js → chunk-RKCJ2JMA.js} +7 -7
  133. package/dist/cli-bundle/chunks/{chunk-5AXMRKN5.js → chunk-RLVI7KDW.js} +8 -8
  134. package/dist/cli-bundle/chunks/{chunk-IMCJBN2Q.js → chunk-RMTI5R76.js} +19 -7
  135. package/dist/cli-bundle/chunks/chunk-RMTI5R76.js.map +7 -0
  136. package/dist/cli-bundle/chunks/{chunk-FHHBD7PN.js → chunk-SAUXUI6U.js} +2 -2
  137. package/dist/cli-bundle/chunks/{chunk-O7HSSFCC.js → chunk-SD6H3RLA.js} +10 -5
  138. package/dist/cli-bundle/chunks/{chunk-O7HSSFCC.js.map → chunk-SD6H3RLA.js.map} +2 -2
  139. package/dist/cli-bundle/chunks/{chunk-M2PW7EZU.js → chunk-T7B5VAKD.js} +7 -7
  140. package/dist/cli-bundle/chunks/chunk-T7B5VAKD.js.map +7 -0
  141. package/dist/cli-bundle/chunks/{chunk-YO3THIJF.js → chunk-T7NWFVOA.js} +7 -7
  142. package/dist/cli-bundle/chunks/{chunk-WR5567FH.js → chunk-TLD3UYGY.js} +5 -4
  143. package/dist/cli-bundle/chunks/chunk-TLD3UYGY.js.map +7 -0
  144. package/dist/cli-bundle/chunks/{chunk-HRMHZ4RV.js → chunk-U3Z4OCZC.js} +2 -2
  145. package/dist/cli-bundle/chunks/{chunk-SFFVGNHC.js → chunk-VDVVOLR6.js} +3 -3
  146. package/dist/cli-bundle/chunks/{chunk-2IXCHCLM.js → chunk-WCWIDJII.js} +2 -2
  147. package/dist/cli-bundle/chunks/{chunk-LI65XLJR.js → chunk-WQZCEEQN.js} +8 -8
  148. package/dist/cli-bundle/chunks/{chunk-RVPTZKBC.js → chunk-XEOO6K5J.js} +9 -9
  149. package/dist/cli-bundle/chunks/{chunk-TYJJOTUA.js → chunk-YI6W2DBN.js} +54 -8
  150. package/dist/cli-bundle/chunks/chunk-YI6W2DBN.js.map +1 -0
  151. package/dist/cli-bundle/chunks/{chunk-UAQOQ7IE.js → chunk-YSANBZAE.js} +2 -2
  152. package/dist/cli-bundle/chunks/{chunk-LMTOY5HE.js → chunk-YX5LAKFJ.js} +2 -2
  153. package/dist/cli-bundle/chunks/{chunk-CKLBZHS7.js → chunk-ZPXDD6RQ.js} +53 -7
  154. package/dist/cli-bundle/chunks/chunk-ZPXDD6RQ.js.map +7 -0
  155. package/dist/cli-bundle/chunks/{claim-BJ4QMPJC.js → claim-RV6WYUF7.js} +10 -10
  156. package/dist/cli-bundle/chunks/{claim-KW743OSW.js → claim-UXFGCF3P.js} +10 -10
  157. package/dist/cli-bundle/chunks/close-JTTGW7TS.js +13 -0
  158. package/dist/cli-bundle/chunks/{close-SYHSRZDC.js → close-O4JK2JKD.js} +8 -8
  159. package/dist/cli-bundle/chunks/{close-many-LAC5VR4G.js → close-many-EQO4TPIE.js} +24 -19
  160. package/dist/cli-bundle/chunks/close-many-EQO4TPIE.js.map +1 -0
  161. package/dist/cli-bundle/chunks/{close-many-DBLEYFOY.js → close-many-SRDBV3SI.js} +23 -18
  162. package/dist/cli-bundle/chunks/close-many-SRDBV3SI.js.map +7 -0
  163. package/dist/cli-bundle/chunks/{comments-YT2PQ5DD.js → comments-OMB7YE27.js} +10 -10
  164. package/dist/cli-bundle/chunks/{comments-JEO6HHVM.js → comments-TTZUIB2O.js} +10 -10
  165. package/dist/cli-bundle/chunks/{config-RZRVS3ZV.js → config-5VPR42A6.js} +10 -11
  166. package/dist/cli-bundle/chunks/config-5VPR42A6.js.map +1 -0
  167. package/dist/cli-bundle/chunks/{config-YJSAAADD.js → config-NNLXVGVC.js} +9 -10
  168. package/dist/cli-bundle/chunks/config-NNLXVGVC.js.map +7 -0
  169. package/dist/cli-bundle/chunks/{context-ZUH5IOOI.js → context-4N7GYTVQ.js} +16 -18
  170. package/dist/cli-bundle/chunks/{context-ZUH5IOOI.js.map → context-4N7GYTVQ.js.map} +1 -1
  171. package/dist/cli-bundle/chunks/{context-LGYEEKAW.js → context-4QK6GRXO.js} +14 -16
  172. package/dist/cli-bundle/chunks/{context-LGYEEKAW.js.map → context-4QK6GRXO.js.map} +1 -1
  173. package/dist/cli-bundle/chunks/{contracts-YXJ6NXKH.js → contracts-AOBNEBVT.js} +4 -4
  174. package/dist/cli-bundle/chunks/{contracts-ZIBXROPE.js → contracts-DXCWXOSP.js} +4 -4
  175. package/dist/cli-bundle/chunks/{copy-BZALX5MQ.js → copy-5NM3SVJA.js} +7 -7
  176. package/dist/cli-bundle/chunks/{copy-YPWEIAPD.js → copy-XSYEQTLA.js} +7 -7
  177. package/dist/cli-bundle/chunks/{create-CF7EVRX7.js → create-FCCAATQV.js} +13 -13
  178. package/dist/cli-bundle/chunks/create-JAPLFDGJ.js +27 -0
  179. package/dist/cli-bundle/chunks/{delete-XLZRTRKR.js → delete-5JFP6OG7.js} +7 -7
  180. package/dist/cli-bundle/chunks/{delete-KR4VBWVE.js → delete-PQXJQXQ7.js} +7 -7
  181. package/dist/cli-bundle/chunks/{deps-GZMFMTGS.js → deps-S5322EOQ.js} +7 -7
  182. package/dist/cli-bundle/chunks/{deps-2YTXD3VM.js → deps-XXKBOQUA.js} +7 -7
  183. package/dist/cli-bundle/chunks/{docs-SLROFEQ4.js → docs-C7CCVWAJ.js} +9 -9
  184. package/dist/cli-bundle/chunks/{docs-ZHISRR2D.js → docs-DZRPAW5S.js} +9 -9
  185. package/dist/cli-bundle/chunks/{extension-3C7OOI4F.js → extension-CSHP6FZX.js} +5 -5
  186. package/dist/cli-bundle/chunks/{extension-XYCUXICD.js → extension-XNNVUVAY.js} +5 -5
  187. package/dist/cli-bundle/chunks/{files-J4I5IU4O.js → files-OBWYYPKM.js} +9 -9
  188. package/dist/cli-bundle/chunks/{files-FUWF2FYJ.js → files-UPCNKEIZ.js} +9 -9
  189. package/dist/cli-bundle/chunks/{gc-34NXSNSN.js → gc-FA2ONELT.js} +13 -5
  190. package/dist/cli-bundle/chunks/gc-FA2ONELT.js.map +1 -0
  191. package/dist/cli-bundle/chunks/{gc-SPIIZX3A.js → gc-KXK6KBRN.js} +12 -4
  192. package/dist/cli-bundle/chunks/gc-KXK6KBRN.js.map +7 -0
  193. package/dist/cli-bundle/chunks/{get-VITKYP6S.js → get-FLHYTOBA.js} +11 -11
  194. package/dist/cli-bundle/chunks/{get-SZKNRHMA.js → get-PNTSONGB.js} +11 -11
  195. package/dist/cli-bundle/chunks/{health-7G3EPM57.js → health-CS5RNTJX.js} +21 -14
  196. package/dist/cli-bundle/chunks/health-CS5RNTJX.js.map +1 -0
  197. package/dist/cli-bundle/chunks/{health-4SNTA2TF.js → health-KCRVYIYY.js} +20 -13
  198. package/dist/cli-bundle/chunks/health-KCRVYIYY.js.map +7 -0
  199. package/dist/cli-bundle/chunks/history-6624XISO.js +20 -0
  200. package/dist/cli-bundle/chunks/{history-SDAWYZR3.js → history-COQTPBEU.js} +10 -10
  201. package/dist/cli-bundle/chunks/{history-compact-POTZGG7K.js → history-compact-66PSRYL3.js} +11 -11
  202. package/dist/cli-bundle/chunks/{history-compact-DMW536VH.js → history-compact-PVS2A3FS.js} +11 -11
  203. package/dist/cli-bundle/chunks/{history-redact-EPJ7GENL.js → history-redact-DCXAWGTF.js} +11 -11
  204. package/dist/cli-bundle/chunks/history-redact-ZRQTI7NB.js +19 -0
  205. package/dist/cli-bundle/chunks/{history-repair-YNESJRT6.js → history-repair-SEQDFTGW.js} +11 -11
  206. package/dist/cli-bundle/chunks/{history-repair-IJ7LLBET.js → history-repair-TA3NRIFO.js} +11 -11
  207. package/dist/cli-bundle/chunks/{init-YHVBTEET.js → init-IQJE3EKJ.js} +9 -9
  208. package/dist/cli-bundle/chunks/init-ZVE2HMKK.js +17 -0
  209. package/dist/cli-bundle/chunks/{learnings-T4PF24YN.js → learnings-RJPGH2ME.js} +10 -10
  210. package/dist/cli-bundle/chunks/{learnings-4YBMIVCZ.js → learnings-XC6EMW5E.js} +10 -10
  211. package/dist/cli-bundle/chunks/{list-3KEVBOYW.js → list-NJV6WBT4.js} +10 -11
  212. package/dist/cli-bundle/chunks/list-OO5P472O.js +19 -0
  213. package/dist/cli-bundle/chunks/{notes-GJKALVZM.js → notes-2KWHADK3.js} +10 -10
  214. package/dist/cli-bundle/chunks/{notes-FLUCNJSH.js → notes-FNCDMZW2.js} +10 -10
  215. package/dist/cli-bundle/chunks/{plan-T5MMZLI3.js → plan-CYK2P5PD.js} +13 -13
  216. package/dist/cli-bundle/chunks/{plan-YYMIL3HV.js → plan-MQO5JTSV.js} +13 -13
  217. package/dist/cli-bundle/chunks/{register-list-query-I65EZ3HB.js → register-list-query-6RA24SIZ.js} +23 -21
  218. package/dist/cli-bundle/chunks/register-list-query-6RA24SIZ.js.map +1 -0
  219. package/dist/cli-bundle/chunks/{register-list-query-OECMHO4G.js → register-list-query-IO3RR5K6.js} +22 -20
  220. package/dist/cli-bundle/chunks/register-list-query-IO3RR5K6.js.map +7 -0
  221. package/dist/cli-bundle/chunks/{register-mutation-5GPDEKHR.js → register-mutation-KVFUXCAZ.js} +40 -36
  222. package/dist/cli-bundle/chunks/{register-mutation-5GPDEKHR.js.map → register-mutation-KVFUXCAZ.js.map} +2 -2
  223. package/dist/cli-bundle/chunks/{register-mutation-2FLXORLR.js → register-mutation-VV2SC2KL.js} +41 -37
  224. package/dist/cli-bundle/chunks/{register-mutation-2FLXORLR.js.map → register-mutation-VV2SC2KL.js.map} +1 -1
  225. package/dist/cli-bundle/chunks/{register-operations-BNGAUMGK.js → register-operations-DFNVRSJ5.js} +30 -30
  226. package/dist/cli-bundle/chunks/{register-operations-GQKT35H5.js → register-operations-TAUUTRJ4.js} +30 -30
  227. package/dist/cli-bundle/chunks/{register-setup-DNDCGZ4O.js → register-setup-GAQZZRUA.js} +20 -19
  228. package/dist/cli-bundle/chunks/register-setup-GAQZZRUA.js.map +1 -0
  229. package/dist/cli-bundle/chunks/{register-setup-EJY44FPH.js → register-setup-X2R5CFDV.js} +19 -18
  230. package/dist/cli-bundle/chunks/{register-setup-EJY44FPH.js.map → register-setup-X2R5CFDV.js.map} +2 -2
  231. package/dist/cli-bundle/chunks/{restore-DDJGVZIN.js → restore-E3GZKRRK.js} +11 -11
  232. package/dist/cli-bundle/chunks/restore-F4ALFV4D.js +17 -0
  233. package/dist/cli-bundle/chunks/{schema-HEGYH6CE.js → schema-3CPFLDAY.js} +77 -21
  234. package/dist/cli-bundle/chunks/schema-3CPFLDAY.js.map +1 -0
  235. package/dist/cli-bundle/chunks/{schema-B7NQ6XVP.js → schema-7EHBPNXM.js} +76 -20
  236. package/dist/cli-bundle/chunks/schema-7EHBPNXM.js.map +7 -0
  237. package/dist/cli-bundle/chunks/{search-DVVQ4UO2.js → search-2T3NCCUR.js} +104 -16
  238. package/dist/cli-bundle/chunks/search-2T3NCCUR.js.map +1 -0
  239. package/dist/cli-bundle/chunks/{search-JNEZJV7H.js → search-OBZVYJJ2.js} +103 -15
  240. package/dist/cli-bundle/chunks/search-OBZVYJJ2.js.map +7 -0
  241. package/dist/cli-bundle/chunks/{stats-SYTJRR4Z.js → stats-6LVK4JER.js} +7 -7
  242. package/dist/cli-bundle/chunks/{stats-7JDIJRDH.js → stats-ULGQACF7.js} +7 -7
  243. package/dist/cli-bundle/chunks/{telemetry-4HHWD5Y7.js → telemetry-6G27FLCP.js} +4 -4
  244. package/dist/cli-bundle/chunks/{telemetry-EGWP7ZUX.js → telemetry-HHKRTMZA.js} +4 -4
  245. package/dist/cli-bundle/chunks/{test-IIELLSZX.js → test-2PP4YBV6.js} +14 -14
  246. package/dist/cli-bundle/chunks/test-PPOLRIBA.js +32 -0
  247. package/dist/cli-bundle/chunks/{test-all-7DNCMML7.js → test-all-6Z272JRI.js} +14 -14
  248. package/dist/cli-bundle/chunks/{test-all-IHTUJRRC.js → test-all-NETGVNM6.js} +14 -14
  249. package/dist/cli-bundle/chunks/{test-runs-RNKZ37PS.js → test-runs-CRPQVMMG.js} +5 -5
  250. package/dist/cli-bundle/chunks/{test-runs-5FEMBV3A.js → test-runs-M24WA6TI.js} +5 -5
  251. package/dist/cli-bundle/chunks/update-MCPCPMHV.js +25 -0
  252. package/dist/cli-bundle/chunks/update-O7TBOUVQ.js +21 -0
  253. package/dist/cli-bundle/chunks/{update-many-BSZZZYXY.js → update-many-JSRF5EH5.js} +22 -23
  254. package/dist/cli-bundle/chunks/{update-many-BSZZZYXY.js.map → update-many-JSRF5EH5.js.map} +1 -1
  255. package/dist/cli-bundle/chunks/{update-many-BWKJJEBF.js → update-many-Y3HOL7WA.js} +24 -25
  256. package/dist/cli-bundle/chunks/{update-many-BWKJJEBF.js.map → update-many-Y3HOL7WA.js.map} +1 -1
  257. package/dist/cli-bundle/chunks/{upgrade-YWI5DJFA.js → upgrade-5RTQVKKE.js} +8 -15
  258. package/dist/cli-bundle/chunks/upgrade-5RTQVKKE.js.map +7 -0
  259. package/dist/cli-bundle/chunks/{upgrade-RSE5PC44.js → upgrade-ECB6GH3M.js} +9 -16
  260. package/dist/cli-bundle/chunks/upgrade-ECB6GH3M.js.map +1 -0
  261. package/dist/cli-bundle/chunks/{validate-NK3WKB7C.js → validate-J6Q444SD.js} +16 -16
  262. package/dist/cli-bundle/chunks/{validate-UCEOB7S6.js → validate-MCNMAXVA.js} +16 -16
  263. package/dist/cli-bundle/main.js +77 -81
  264. package/dist/cli-bundle/main.js.map +3 -3
  265. package/dist/core/config/nested-settings.d.ts +0 -2
  266. package/dist/core/config/nested-settings.js +2 -4
  267. package/dist/core/config/nested-settings.js.map +1 -1
  268. package/dist/core/diagnostics/remediation.js +7 -2
  269. package/dist/core/diagnostics/remediation.js.map +1 -1
  270. package/dist/core/extensions/extension-types.d.ts +59 -1
  271. package/dist/core/extensions/extension-types.js +2 -2
  272. package/dist/core/extensions/extension-types.js.map +1 -1
  273. package/dist/core/extensions/flag-value-types.d.ts +29 -0
  274. package/dist/core/extensions/flag-value-types.js +78 -0
  275. package/dist/core/extensions/flag-value-types.js.map +1 -0
  276. package/dist/core/extensions/item-field-types.d.ts +22 -0
  277. package/dist/core/extensions/item-field-types.js +43 -0
  278. package/dist/core/extensions/item-field-types.js.map +1 -0
  279. package/dist/core/extensions/item-fields.js +4 -11
  280. package/dist/core/extensions/item-fields.js.map +1 -1
  281. package/dist/core/extensions/loader.d.ts +14 -1
  282. package/dist/core/extensions/loader.js +141 -10
  283. package/dist/core/extensions/loader.js.map +1 -1
  284. package/dist/core/fs/fs-utils.js +29 -4
  285. package/dist/core/fs/fs-utils.js.map +1 -1
  286. package/dist/core/packages/manifest.d.ts +1 -1
  287. package/dist/core/packages/manifest.js +12 -2
  288. package/dist/core/packages/manifest.js.map +1 -1
  289. package/dist/core/packages/root.d.ts +10 -0
  290. package/dist/core/packages/root.js +24 -2
  291. package/dist/core/packages/root.js.map +1 -1
  292. package/dist/core/schema/runtime-schema.js +3 -6
  293. package/dist/core/schema/runtime-schema.js.map +1 -1
  294. package/dist/core/search/background-refresh.d.ts +0 -8
  295. package/dist/core/search/background-refresh.js +2 -9
  296. package/dist/core/search/background-refresh.js.map +1 -1
  297. package/dist/core/search/vector-stores.js +6 -8
  298. package/dist/core/search/vector-stores.js.map +1 -1
  299. package/dist/core/sentry/instrument.js +4 -17
  300. package/dist/core/sentry/instrument.js.map +1 -1
  301. package/dist/core/store/paths.js +17 -3
  302. package/dist/core/store/paths.js.map +1 -1
  303. package/dist/core/telemetry/runtime.d.ts +1 -0
  304. package/dist/core/telemetry/runtime.js +3 -3
  305. package/dist/core/telemetry/runtime.js.map +1 -1
  306. package/dist/mcp/server.js +131 -42
  307. package/dist/mcp/server.js.map +1 -1
  308. package/dist/sdk/cli-contracts/commander-types.js +4 -4
  309. package/dist/sdk/cli-contracts/commander-types.js.map +1 -1
  310. package/dist/sdk/cli-contracts/tool-parameter-tables.js +3 -3
  311. package/dist/sdk/cli-contracts/tool-parameter-tables.js.map +1 -1
  312. package/dist/sdk/cli-contracts.js +10 -8
  313. package/dist/sdk/cli-contracts.js.map +1 -1
  314. package/dist/sdk/index.d.ts +7 -2
  315. package/dist/sdk/index.js +3 -3
  316. package/dist/sdk/index.js.map +1 -1
  317. package/dist/sdk/testing.d.ts +55 -1
  318. package/dist/sdk/testing.js +92 -2
  319. package/dist/sdk/testing.js.map +1 -1
  320. package/docs/AGENT_GUIDE.md +3 -1
  321. package/docs/CLAUDE_CODE_PLUGIN.md +2 -2
  322. package/docs/COMMANDS.md +6 -4
  323. package/docs/CONFIGURATION.md +6 -0
  324. package/docs/EXTENSIONS.md +7 -8
  325. package/docs/RELEASING.md +17 -0
  326. package/docs/SDK.md +98 -0
  327. package/marketplace.json +1 -1
  328. package/package.json +1 -1
  329. package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
  330. package/plugins/pm-claude/README.md +3 -3
  331. package/plugins/pm-claude/commands/pm-init.md +1 -1
  332. package/dist/cli-bundle/chunks/activity-5UROHJ3D.js +0 -16
  333. package/dist/cli-bundle/chunks/chunk-42LOFGJS.js.map +0 -7
  334. package/dist/cli-bundle/chunks/chunk-4GHZR3BA.js.map +0 -1
  335. package/dist/cli-bundle/chunks/chunk-CKLBZHS7.js.map +0 -7
  336. package/dist/cli-bundle/chunks/chunk-CLD3XNCH.js.map +0 -1
  337. package/dist/cli-bundle/chunks/chunk-EAOG77HM.js +0 -56
  338. package/dist/cli-bundle/chunks/chunk-EAOG77HM.js.map +0 -7
  339. package/dist/cli-bundle/chunks/chunk-IMCJBN2Q.js.map +0 -7
  340. package/dist/cli-bundle/chunks/chunk-KR6R465K.js.map +0 -7
  341. package/dist/cli-bundle/chunks/chunk-M2PW7EZU.js.map +0 -7
  342. package/dist/cli-bundle/chunks/chunk-MWRS7Z4P.js.map +0 -7
  343. package/dist/cli-bundle/chunks/chunk-NHR2QXXZ.js.map +0 -1
  344. package/dist/cli-bundle/chunks/chunk-QQL5QSTZ.js.map +0 -1
  345. package/dist/cli-bundle/chunks/chunk-TINUJMWN.js.map +0 -1
  346. package/dist/cli-bundle/chunks/chunk-TP4DDY27.js.map +0 -7
  347. package/dist/cli-bundle/chunks/chunk-TYJJOTUA.js.map +0 -1
  348. package/dist/cli-bundle/chunks/chunk-UJUT6AHZ.js.map +0 -7
  349. package/dist/cli-bundle/chunks/chunk-WAA7UI6M.js.map +0 -7
  350. package/dist/cli-bundle/chunks/chunk-WR5567FH.js.map +0 -7
  351. package/dist/cli-bundle/chunks/chunk-X4IZKYHP.js.map +0 -1
  352. package/dist/cli-bundle/chunks/chunk-XS3O2TFJ.js.map +0 -1
  353. package/dist/cli-bundle/chunks/chunk-XSLQSXAH.js +0 -53
  354. package/dist/cli-bundle/chunks/chunk-XSLQSXAH.js.map +0 -1
  355. package/dist/cli-bundle/chunks/chunk-XYNT7UFP.js.map +0 -1
  356. package/dist/cli-bundle/chunks/chunk-YBZW2QQ7.js.map +0 -1
  357. package/dist/cli-bundle/chunks/chunk-YPH4ESA2.js.map +0 -1
  358. package/dist/cli-bundle/chunks/close-P4ZBKODL.js +0 -13
  359. package/dist/cli-bundle/chunks/close-many-DBLEYFOY.js.map +0 -7
  360. package/dist/cli-bundle/chunks/close-many-LAC5VR4G.js.map +0 -1
  361. package/dist/cli-bundle/chunks/config-RZRVS3ZV.js.map +0 -1
  362. package/dist/cli-bundle/chunks/config-YJSAAADD.js.map +0 -7
  363. package/dist/cli-bundle/chunks/create-4DS2QWQC.js +0 -27
  364. package/dist/cli-bundle/chunks/gc-34NXSNSN.js.map +0 -1
  365. package/dist/cli-bundle/chunks/gc-SPIIZX3A.js.map +0 -7
  366. package/dist/cli-bundle/chunks/health-4SNTA2TF.js.map +0 -7
  367. package/dist/cli-bundle/chunks/health-7G3EPM57.js.map +0 -1
  368. package/dist/cli-bundle/chunks/history-YDUEILKP.js +0 -20
  369. package/dist/cli-bundle/chunks/history-redact-KASLLPE7.js +0 -19
  370. package/dist/cli-bundle/chunks/init-IGSS4GNH.js +0 -17
  371. package/dist/cli-bundle/chunks/list-E44O2K64.js +0 -20
  372. package/dist/cli-bundle/chunks/register-list-query-I65EZ3HB.js.map +0 -1
  373. package/dist/cli-bundle/chunks/register-list-query-OECMHO4G.js.map +0 -7
  374. package/dist/cli-bundle/chunks/register-setup-DNDCGZ4O.js.map +0 -1
  375. package/dist/cli-bundle/chunks/restore-SJSASGZP.js +0 -17
  376. package/dist/cli-bundle/chunks/schema-B7NQ6XVP.js.map +0 -7
  377. package/dist/cli-bundle/chunks/schema-HEGYH6CE.js.map +0 -1
  378. package/dist/cli-bundle/chunks/search-DVVQ4UO2.js.map +0 -1
  379. package/dist/cli-bundle/chunks/search-JNEZJV7H.js.map +0 -7
  380. package/dist/cli-bundle/chunks/test-ML5RLWXE.js +0 -32
  381. package/dist/cli-bundle/chunks/update-6C67X4KS.js +0 -21
  382. package/dist/cli-bundle/chunks/update-VF26YPT3.js +0 -25
  383. package/dist/cli-bundle/chunks/upgrade-RSE5PC44.js.map +0 -1
  384. package/dist/cli-bundle/chunks/upgrade-YWI5DJFA.js.map +0 -7
  385. /package/dist/cli-bundle/chunks/{activity-5UROHJ3D.js.map → activity-HF3VJYKH.js.map} +0 -0
  386. /package/dist/cli-bundle/chunks/{activity-YVB3QRTE.js.map → activity-RUJATACW.js.map} +0 -0
  387. /package/dist/cli-bundle/chunks/{append-2PPYFAG5.js.map → append-CWQZBUWV.js.map} +0 -0
  388. /package/dist/cli-bundle/chunks/{append-AUGT5W6J.js.map → append-E7AJ5RTR.js.map} +0 -0
  389. /package/dist/cli-bundle/chunks/{chunk-UIIQC5YO.js.map → chunk-23WNCJBA.js.map} +0 -0
  390. /package/dist/cli-bundle/chunks/{chunk-GPXQBR3H.js.map → chunk-3RHE76G6.js.map} +0 -0
  391. /package/dist/cli-bundle/chunks/{chunk-GUZBNB3G.js.map → chunk-42IULX44.js.map} +0 -0
  392. /package/dist/cli-bundle/chunks/{chunk-HLC3KTLP.js.map → chunk-44JP4PYY.js.map} +0 -0
  393. /package/dist/cli-bundle/chunks/{chunk-HV5SSZXF.js.map → chunk-4TJWRPIH.js.map} +0 -0
  394. /package/dist/cli-bundle/chunks/{chunk-UYQ7HXH4.js.map → chunk-5ATRWEZO.js.map} +0 -0
  395. /package/dist/cli-bundle/chunks/{chunk-WYEXLDDY.js.map → chunk-5MMLINZB.js.map} +0 -0
  396. /package/dist/cli-bundle/chunks/{chunk-2IF7WLB7.js.map → chunk-6IGTNFE3.js.map} +0 -0
  397. /package/dist/cli-bundle/chunks/{chunk-UT6WFXW2.js.map → chunk-7CR4GAYN.js.map} +0 -0
  398. /package/dist/cli-bundle/chunks/{chunk-SQPKRA54.js.map → chunk-A5342JVL.js.map} +0 -0
  399. /package/dist/cli-bundle/chunks/{chunk-H7EO3QA3.js.map → chunk-AM2AXVFS.js.map} +0 -0
  400. /package/dist/cli-bundle/chunks/{chunk-LIN2BPJ7.js.map → chunk-ANKG2JKL.js.map} +0 -0
  401. /package/dist/cli-bundle/chunks/{chunk-NQL32HQ5.js.map → chunk-BIRVSIM2.js.map} +0 -0
  402. /package/dist/cli-bundle/chunks/{chunk-C5W2UH56.js.map → chunk-E7LOIIFP.js.map} +0 -0
  403. /package/dist/cli-bundle/chunks/{chunk-LXO6V66E.js.map → chunk-ENCVPOID.js.map} +0 -0
  404. /package/dist/cli-bundle/chunks/{chunk-4CHEG6UK.js.map → chunk-EQ6N6IDR.js.map} +0 -0
  405. /package/dist/cli-bundle/chunks/{chunk-6RZXO5M2.js.map → chunk-FJNJEWU4.js.map} +0 -0
  406. /package/dist/cli-bundle/chunks/{chunk-R3V3YCMH.js.map → chunk-FKH7K6YP.js.map} +0 -0
  407. /package/dist/cli-bundle/chunks/{chunk-3EOBJOF4.js.map → chunk-H37YPWLM.js.map} +0 -0
  408. /package/dist/cli-bundle/chunks/{chunk-THDEID2Z.js.map → chunk-I3UILOUU.js.map} +0 -0
  409. /package/dist/cli-bundle/chunks/{chunk-HMMMWBK2.js.map → chunk-JEGFLKSI.js.map} +0 -0
  410. /package/dist/cli-bundle/chunks/{chunk-OKSKJKHX.js.map → chunk-JN3BT7UY.js.map} +0 -0
  411. /package/dist/cli-bundle/chunks/{chunk-KNGVP5WJ.js.map → chunk-KDX6VC3P.js.map} +0 -0
  412. /package/dist/cli-bundle/chunks/{chunk-TNPBPNII.js.map → chunk-KTVXLI54.js.map} +0 -0
  413. /package/dist/cli-bundle/chunks/{chunk-X7UHMKPE.js.map → chunk-LU2HE272.js.map} +0 -0
  414. /package/dist/cli-bundle/chunks/{chunk-MOYM2C3J.js.map → chunk-MNXJ6YDO.js.map} +0 -0
  415. /package/dist/cli-bundle/chunks/{chunk-WCQZBDDH.js.map → chunk-NHRZSYAA.js.map} +0 -0
  416. /package/dist/cli-bundle/chunks/{chunk-3A2CMEM7.js.map → chunk-NJRZIJ4N.js.map} +0 -0
  417. /package/dist/cli-bundle/chunks/{chunk-2OJHLWBZ.js.map → chunk-NUGAWYEN.js.map} +0 -0
  418. /package/dist/cli-bundle/chunks/{chunk-LQHBENVW.js.map → chunk-O4L7Z6LB.js.map} +0 -0
  419. /package/dist/cli-bundle/chunks/{chunk-V6EYFTRL.js.map → chunk-OPYA2HIU.js.map} +0 -0
  420. /package/dist/cli-bundle/chunks/{chunk-FY6Z3FYY.js.map → chunk-P2NVFE4L.js.map} +0 -0
  421. /package/dist/cli-bundle/chunks/{chunk-UEWA73ZZ.js.map → chunk-PUSOAQCR.js.map} +0 -0
  422. /package/dist/cli-bundle/chunks/{chunk-B2KZGPM2.js.map → chunk-PW7C262O.js.map} +0 -0
  423. /package/dist/cli-bundle/chunks/{chunk-AVJD6VTA.js.map → chunk-RE2JQJZJ.js.map} +0 -0
  424. /package/dist/cli-bundle/chunks/{chunk-GNIUOLZ2.js.map → chunk-RKCJ2JMA.js.map} +0 -0
  425. /package/dist/cli-bundle/chunks/{chunk-5AXMRKN5.js.map → chunk-RLVI7KDW.js.map} +0 -0
  426. /package/dist/cli-bundle/chunks/{chunk-FHHBD7PN.js.map → chunk-SAUXUI6U.js.map} +0 -0
  427. /package/dist/cli-bundle/chunks/{chunk-YO3THIJF.js.map → chunk-T7NWFVOA.js.map} +0 -0
  428. /package/dist/cli-bundle/chunks/{chunk-HRMHZ4RV.js.map → chunk-U3Z4OCZC.js.map} +0 -0
  429. /package/dist/cli-bundle/chunks/{chunk-SFFVGNHC.js.map → chunk-VDVVOLR6.js.map} +0 -0
  430. /package/dist/cli-bundle/chunks/{chunk-2IXCHCLM.js.map → chunk-WCWIDJII.js.map} +0 -0
  431. /package/dist/cli-bundle/chunks/{chunk-LI65XLJR.js.map → chunk-WQZCEEQN.js.map} +0 -0
  432. /package/dist/cli-bundle/chunks/{chunk-RVPTZKBC.js.map → chunk-XEOO6K5J.js.map} +0 -0
  433. /package/dist/cli-bundle/chunks/{chunk-UAQOQ7IE.js.map → chunk-YSANBZAE.js.map} +0 -0
  434. /package/dist/cli-bundle/chunks/{chunk-LMTOY5HE.js.map → chunk-YX5LAKFJ.js.map} +0 -0
  435. /package/dist/cli-bundle/chunks/{claim-BJ4QMPJC.js.map → claim-RV6WYUF7.js.map} +0 -0
  436. /package/dist/cli-bundle/chunks/{claim-KW743OSW.js.map → claim-UXFGCF3P.js.map} +0 -0
  437. /package/dist/cli-bundle/chunks/{close-P4ZBKODL.js.map → close-JTTGW7TS.js.map} +0 -0
  438. /package/dist/cli-bundle/chunks/{close-SYHSRZDC.js.map → close-O4JK2JKD.js.map} +0 -0
  439. /package/dist/cli-bundle/chunks/{comments-YT2PQ5DD.js.map → comments-OMB7YE27.js.map} +0 -0
  440. /package/dist/cli-bundle/chunks/{comments-JEO6HHVM.js.map → comments-TTZUIB2O.js.map} +0 -0
  441. /package/dist/cli-bundle/chunks/{contracts-YXJ6NXKH.js.map → contracts-AOBNEBVT.js.map} +0 -0
  442. /package/dist/cli-bundle/chunks/{contracts-ZIBXROPE.js.map → contracts-DXCWXOSP.js.map} +0 -0
  443. /package/dist/cli-bundle/chunks/{copy-BZALX5MQ.js.map → copy-5NM3SVJA.js.map} +0 -0
  444. /package/dist/cli-bundle/chunks/{copy-YPWEIAPD.js.map → copy-XSYEQTLA.js.map} +0 -0
  445. /package/dist/cli-bundle/chunks/{create-CF7EVRX7.js.map → create-FCCAATQV.js.map} +0 -0
  446. /package/dist/cli-bundle/chunks/{create-4DS2QWQC.js.map → create-JAPLFDGJ.js.map} +0 -0
  447. /package/dist/cli-bundle/chunks/{delete-XLZRTRKR.js.map → delete-5JFP6OG7.js.map} +0 -0
  448. /package/dist/cli-bundle/chunks/{delete-KR4VBWVE.js.map → delete-PQXJQXQ7.js.map} +0 -0
  449. /package/dist/cli-bundle/chunks/{deps-GZMFMTGS.js.map → deps-S5322EOQ.js.map} +0 -0
  450. /package/dist/cli-bundle/chunks/{deps-2YTXD3VM.js.map → deps-XXKBOQUA.js.map} +0 -0
  451. /package/dist/cli-bundle/chunks/{docs-SLROFEQ4.js.map → docs-C7CCVWAJ.js.map} +0 -0
  452. /package/dist/cli-bundle/chunks/{docs-ZHISRR2D.js.map → docs-DZRPAW5S.js.map} +0 -0
  453. /package/dist/cli-bundle/chunks/{extension-3C7OOI4F.js.map → extension-CSHP6FZX.js.map} +0 -0
  454. /package/dist/cli-bundle/chunks/{extension-XYCUXICD.js.map → extension-XNNVUVAY.js.map} +0 -0
  455. /package/dist/cli-bundle/chunks/{files-J4I5IU4O.js.map → files-OBWYYPKM.js.map} +0 -0
  456. /package/dist/cli-bundle/chunks/{files-FUWF2FYJ.js.map → files-UPCNKEIZ.js.map} +0 -0
  457. /package/dist/cli-bundle/chunks/{get-VITKYP6S.js.map → get-FLHYTOBA.js.map} +0 -0
  458. /package/dist/cli-bundle/chunks/{get-SZKNRHMA.js.map → get-PNTSONGB.js.map} +0 -0
  459. /package/dist/cli-bundle/chunks/{history-YDUEILKP.js.map → history-6624XISO.js.map} +0 -0
  460. /package/dist/cli-bundle/chunks/{history-SDAWYZR3.js.map → history-COQTPBEU.js.map} +0 -0
  461. /package/dist/cli-bundle/chunks/{history-compact-POTZGG7K.js.map → history-compact-66PSRYL3.js.map} +0 -0
  462. /package/dist/cli-bundle/chunks/{history-compact-DMW536VH.js.map → history-compact-PVS2A3FS.js.map} +0 -0
  463. /package/dist/cli-bundle/chunks/{history-redact-EPJ7GENL.js.map → history-redact-DCXAWGTF.js.map} +0 -0
  464. /package/dist/cli-bundle/chunks/{history-redact-KASLLPE7.js.map → history-redact-ZRQTI7NB.js.map} +0 -0
  465. /package/dist/cli-bundle/chunks/{history-repair-YNESJRT6.js.map → history-repair-SEQDFTGW.js.map} +0 -0
  466. /package/dist/cli-bundle/chunks/{history-repair-IJ7LLBET.js.map → history-repair-TA3NRIFO.js.map} +0 -0
  467. /package/dist/cli-bundle/chunks/{init-YHVBTEET.js.map → init-IQJE3EKJ.js.map} +0 -0
  468. /package/dist/cli-bundle/chunks/{init-IGSS4GNH.js.map → init-ZVE2HMKK.js.map} +0 -0
  469. /package/dist/cli-bundle/chunks/{learnings-T4PF24YN.js.map → learnings-RJPGH2ME.js.map} +0 -0
  470. /package/dist/cli-bundle/chunks/{learnings-4YBMIVCZ.js.map → learnings-XC6EMW5E.js.map} +0 -0
  471. /package/dist/cli-bundle/chunks/{list-3KEVBOYW.js.map → list-NJV6WBT4.js.map} +0 -0
  472. /package/dist/cli-bundle/chunks/{list-E44O2K64.js.map → list-OO5P472O.js.map} +0 -0
  473. /package/dist/cli-bundle/chunks/{notes-GJKALVZM.js.map → notes-2KWHADK3.js.map} +0 -0
  474. /package/dist/cli-bundle/chunks/{notes-FLUCNJSH.js.map → notes-FNCDMZW2.js.map} +0 -0
  475. /package/dist/cli-bundle/chunks/{plan-T5MMZLI3.js.map → plan-CYK2P5PD.js.map} +0 -0
  476. /package/dist/cli-bundle/chunks/{plan-YYMIL3HV.js.map → plan-MQO5JTSV.js.map} +0 -0
  477. /package/dist/cli-bundle/chunks/{register-operations-BNGAUMGK.js.map → register-operations-DFNVRSJ5.js.map} +0 -0
  478. /package/dist/cli-bundle/chunks/{register-operations-GQKT35H5.js.map → register-operations-TAUUTRJ4.js.map} +0 -0
  479. /package/dist/cli-bundle/chunks/{restore-DDJGVZIN.js.map → restore-E3GZKRRK.js.map} +0 -0
  480. /package/dist/cli-bundle/chunks/{restore-SJSASGZP.js.map → restore-F4ALFV4D.js.map} +0 -0
  481. /package/dist/cli-bundle/chunks/{stats-SYTJRR4Z.js.map → stats-6LVK4JER.js.map} +0 -0
  482. /package/dist/cli-bundle/chunks/{stats-7JDIJRDH.js.map → stats-ULGQACF7.js.map} +0 -0
  483. /package/dist/cli-bundle/chunks/{telemetry-4HHWD5Y7.js.map → telemetry-6G27FLCP.js.map} +0 -0
  484. /package/dist/cli-bundle/chunks/{telemetry-EGWP7ZUX.js.map → telemetry-HHKRTMZA.js.map} +0 -0
  485. /package/dist/cli-bundle/chunks/{test-IIELLSZX.js.map → test-2PP4YBV6.js.map} +0 -0
  486. /package/dist/cli-bundle/chunks/{test-ML5RLWXE.js.map → test-PPOLRIBA.js.map} +0 -0
  487. /package/dist/cli-bundle/chunks/{test-all-7DNCMML7.js.map → test-all-6Z272JRI.js.map} +0 -0
  488. /package/dist/cli-bundle/chunks/{test-all-IHTUJRRC.js.map → test-all-NETGVNM6.js.map} +0 -0
  489. /package/dist/cli-bundle/chunks/{test-runs-RNKZ37PS.js.map → test-runs-CRPQVMMG.js.map} +0 -0
  490. /package/dist/cli-bundle/chunks/{test-runs-5FEMBV3A.js.map → test-runs-M24WA6TI.js.map} +0 -0
  491. /package/dist/cli-bundle/chunks/{update-VF26YPT3.js.map → update-MCPCPMHV.js.map} +0 -0
  492. /package/dist/cli-bundle/chunks/{update-6C67X4KS.js.map → update-O7TBOUVQ.js.map} +0 -0
  493. /package/dist/cli-bundle/chunks/{validate-NK3WKB7C.js.map → validate-J6Q444SD.js.map} +0 -0
  494. /package/dist/cli-bundle/chunks/{validate-UCEOB7S6.js.map → validate-MCNMAXVA.js.map} +0 -0
@@ -6,20 +6,20 @@ import {
6
6
  collect,
7
7
  getGlobalOptions,
8
8
  invalidateSearchCachesForMutation
9
- } from "./chunk-XS3O2TFJ.js";
10
- import "./chunk-CLD3XNCH.js";
11
- import "./chunk-4GHZR3BA.js";
9
+ } from "./chunk-JVMAOD54.js";
10
+ import "./chunk-GPOSGWCN.js";
11
+ import "./chunk-BACSNVWE.js";
12
12
  import {
13
13
  printError,
14
14
  printResult
15
- } from "./chunk-LIN2BPJ7.js";
16
- import "./chunk-YBZW2QQ7.js";
17
- import "./chunk-UT6WFXW2.js";
15
+ } from "./chunk-ANKG2JKL.js";
16
+ import "./chunk-AVGOVJGV.js";
17
+ import "./chunk-7CR4GAYN.js";
18
18
  import {
19
19
  normalizeStatusInput
20
- } from "./chunk-UYQ7HXH4.js";
21
- import "./chunk-GUZBNB3G.js";
22
- import "./chunk-B2KZGPM2.js";
20
+ } from "./chunk-5ATRWEZO.js";
21
+ import "./chunk-42IULX44.js";
22
+ import "./chunk-PW7C262O.js";
23
23
  import {
24
24
  EXIT_CODE,
25
25
  PmCliError,
@@ -27,7 +27,7 @@ import {
27
27
  resolvePmRoot,
28
28
  resolveRuntimeStatusRegistry,
29
29
  setActiveCommandResult
30
- } from "./chunk-X4IZKYHP.js";
30
+ } from "./chunk-5JF76OJF.js";
31
31
 
32
32
  // dist/cli/register-operations.js
33
33
  function resolveTelemetrySubcommand(namespaceOrSubcommand, subcommand) {
@@ -67,7 +67,7 @@ function registerOperationCommands(program) {
67
67
  throw new PmCliError("--background does not support --add/--remove; update linked tests first, then run in background", EXIT_CODE.USAGE);
68
68
  }
69
69
  if (runInBackground) {
70
- const { runStartBackgroundRun } = await import("./test-runs-5FEMBV3A.js");
70
+ const { runStartBackgroundRun } = await import("./test-runs-M24WA6TI.js");
71
71
  const result2 = await runStartBackgroundRun({
72
72
  kind: "test",
73
73
  commandArgs: buildBackgroundTestCommandArgs(id, { ...options, add: addValues, remove: removeValues }),
@@ -81,7 +81,7 @@ function registerOperationCommands(program) {
81
81
  }
82
82
  return;
83
83
  }
84
- const { runTest } = await import("./test-IIELLSZX.js");
84
+ const { runTest } = await import("./test-2PP4YBV6.js");
85
85
  const result = await runTest(id, {
86
86
  add: addValues,
87
87
  remove: removeValues,
@@ -120,7 +120,7 @@ function registerOperationCommands(program) {
120
120
  const startedAt = Date.now();
121
121
  const runInBackground = options.background === true;
122
122
  if (runInBackground) {
123
- const { runStartBackgroundRun } = await import("./test-runs-5FEMBV3A.js");
123
+ const { runStartBackgroundRun } = await import("./test-runs-M24WA6TI.js");
124
124
  const result2 = await runStartBackgroundRun({
125
125
  kind: "test-all",
126
126
  commandArgs: buildBackgroundTestAllCommandArgs(options),
@@ -133,7 +133,7 @@ function registerOperationCommands(program) {
133
133
  }
134
134
  return;
135
135
  }
136
- const { runTestAll } = await import("./test-all-IHTUJRRC.js");
136
+ const { runTestAll } = await import("./test-all-NETGVNM6.js");
137
137
  const result = await runTestAll({
138
138
  status: typeof options.status === "string" ? options.status : void 0,
139
139
  limit: typeof options.limit === "string" ? options.limit : void 0,
@@ -163,13 +163,13 @@ function registerOperationCommands(program) {
163
163
  });
164
164
  program.command("test-runs-worker", { hidden: true }).argument("<runId>", "Background run id").description("Internal background worker command.").action(async (runId, _options, command) => {
165
165
  const globalOptions = getGlobalOptions(command);
166
- const { runTestRunsWorker } = await import("./test-runs-5FEMBV3A.js");
166
+ const { runTestRunsWorker } = await import("./test-runs-M24WA6TI.js");
167
167
  await runTestRunsWorker(runId, globalOptions);
168
168
  });
169
169
  program.command("telemetry").argument("[namespaceOrSubcommand]", "Telemetry subcommand: status, flush, stats, clear (default: status)").argument("[subcommand]", "Compatibility alias target for local-analytics: status, flush, stats, clear").option("--limit <n>", "Maximum command groups returned by telemetry stats").description("Inspect and manage local telemetry queue/runtime state.").action(async (namespaceOrSubcommand, subcommand, options, command) => {
170
170
  const globalOptions = getGlobalOptions(command);
171
171
  const startedAt = Date.now();
172
- const { runTelemetry } = await import("./telemetry-EGWP7ZUX.js");
172
+ const { runTelemetry } = await import("./telemetry-HHKRTMZA.js");
173
173
  const result = await runTelemetry({
174
174
  subcommand: resolveTelemetrySubcommand(namespaceOrSubcommand, subcommand),
175
175
  limit: typeof options.limit === "string" ? options.limit : typeof options.limit === "number" && Number.isFinite(options.limit) ? options.limit : void 0
@@ -182,7 +182,7 @@ function registerOperationCommands(program) {
182
182
  program.command("stats").description("Show project tracker statistics.").option("--storage", "Include aggregate history-stream storage metrics (total streams/lines/bytes, largest + deepest streams, oldest/newest entries)").action(async (options, command) => {
183
183
  const globalOptions = getGlobalOptions(command);
184
184
  const startedAt = Date.now();
185
- const { runStats } = await import("./stats-7JDIJRDH.js");
185
+ const { runStats } = await import("./stats-ULGQACF7.js");
186
186
  const result = await runStats(globalOptions, { storage: options.storage === true });
187
187
  printResult(result, globalOptions);
188
188
  if (globalOptions.profile) {
@@ -192,7 +192,7 @@ function registerOperationCommands(program) {
192
192
  program.command("health").description("Show project tracker health checks.").option("--strict-directories", "Treat optional item-type directories as required failures").option("--check-only", "Run read-only health diagnostics without refreshing vectors").option("--check-telemetry", "Probe telemetry endpoint health and include network diagnostics").option("--no-refresh", "Disable automatic vector refresh attempts during health checks").option("--refresh-vectors", "Explicitly enable vector refresh attempts during health checks").option("--verbose-stale-items", "Include full stale vectorization ID lists in health output").option("--brief", "Emit compact health details for low-token agent checks").option("--summary", "Emit one-line-style health status with check names and warning count").option("--skip-vectors", "Skip vectorization check for a faster run").option("--skip-integrity", "Skip item/history file integrity check for a faster run").option("--skip-drift", "Skip history drift hash check for a faster run").option("--full", "Run all checks including slow integrity, drift, and vectorization checks").option("--strict-exit", "Return non-zero exit when health is not ok (advisory telemetry warnings are excluded; see warnings[])").option("--fail-on-warn", "Alias for --strict-exit").action(async (options, command) => {
193
193
  const globalOptions = getGlobalOptions(command);
194
194
  const startedAt = Date.now();
195
- const { runHealth } = await import("./health-7G3EPM57.js");
195
+ const { runHealth } = await import("./health-CS5RNTJX.js");
196
196
  const result = await runHealth(globalOptions, {
197
197
  strictDirectories: Boolean(options.strictDirectories),
198
198
  checkOnly: Boolean(options.checkOnly),
@@ -227,7 +227,7 @@ function registerOperationCommands(program) {
227
227
  program.command("validate").description("Run standalone metadata, resolution, lifecycle, files, linked-command reference, and history drift validation checks.").option("--check-metadata", "Run metadata completeness checks").option("--metadata-profile <value>", "Select metadata validation profile for --check-metadata (core|strict|custom)").option("--check-resolution", "Run closed-item resolution metadata checks").option("--check-lifecycle", "Run active-item lifecycle governance drift checks").option("--check-stale-blockers", "Include stale blocker-pattern diagnostics in lifecycle checks").option("--dependency-cycle-severity <value>", "Set dependency-cycle warning policy for lifecycle checks (off|warn|error)").option("--check-files", "Run linked-file and orphaned-file checks").option("--check-command-references", "Run linked-command PM-ID reference checks").option("--scan-mode <value>", "Select file candidate scan mode for --check-files (default|tracked-all|tracked-all-strict)").option("--include-pm-internals", "Include PM storage internals in tracked-all candidate scans").option("--verbose-file-lists", "Include full file-path lists for validate --check-files details").option("--verbose-diagnostics", "Include full validate diagnostic ID lists instead of compact summaries").option("--strict-exit", "Return non-zero exit when validation warnings are present").option("--fail-on-warn", "Alias for --strict-exit").option("--fix-hints", "Add a machine-executable fix_hints[] of pm commands to each failing check's details").option("--check-history-drift", "Run item/history hash drift checks").action(async (options, command) => {
228
228
  const globalOptions = getGlobalOptions(command);
229
229
  const startedAt = Date.now();
230
- const { runValidate } = await import("./validate-UCEOB7S6.js");
230
+ const { runValidate } = await import("./validate-MCNMAXVA.js");
231
231
  const result = await runValidate({
232
232
  checkMetadata: Boolean(options.checkMetadata),
233
233
  metadataProfile: typeof options.metadataProfile === "string" ? options.metadataProfile : void 0,
@@ -264,7 +264,7 @@ function registerOperationCommands(program) {
264
264
  program.command("gc").option("--dry-run", "Preview cleanup targets without deleting files; without this flag, pm gc deletes matched artifacts").option("--scope <value>", "Limit cleanup to one or more scopes (comma-separated or repeatable): index, embeddings, runtime, locks", collect).description("Delete optional cache artifacts by default (including expired lock debris) and show a summary.").action(async (options, command) => {
265
265
  const globalOptions = getGlobalOptions(command);
266
266
  const startedAt = Date.now();
267
- const { runGc } = await import("./gc-34NXSNSN.js");
267
+ const { runGc } = await import("./gc-FA2ONELT.js");
268
268
  const result = await runGc(globalOptions, {
269
269
  dryRun: options.dryRun === true,
270
270
  scope: Array.isArray(options.scope) ? options.scope : []
@@ -277,7 +277,7 @@ function registerOperationCommands(program) {
277
277
  program.command("contracts").description("Show machine-readable command and schema contracts for agents.").option("--action <value>", "Filter tool schema branches to a specific action").option("--command <value>", "Scope contracts output to one CLI command (narrow-by-default)").option("--schema-only", "Return schema-focused output only").option("--flags-only", "Return command flag contracts only").option("--availability-only", "Return action availability surface only").option("--runtime-only", "Include only actions invocable in the current runtime").option("--active-only", "Alias for --runtime-only").option("--full", "Include full schema and command-flag surfaces (large; default brief output omits heavy sections for unfiltered queries)").action(async (options, command) => {
278
278
  const globalOptions = getGlobalOptions(command);
279
279
  const startedAt = Date.now();
280
- const { runContracts } = await import("./contracts-ZIBXROPE.js");
280
+ const { runContracts } = await import("./contracts-DXCWXOSP.js");
281
281
  const result = await runContracts({
282
282
  action: typeof options.action === "string" ? options.action : void 0,
283
283
  command: typeof options.command === "string" ? options.command : void 0,
@@ -295,7 +295,7 @@ function registerOperationCommands(program) {
295
295
  program.command("claim").argument("<id>", "Item id").option("--author <value>", "Mutation author").option("--message <value>", "History message").option("--force", "Force claim override").option("--if-available", "Skip silently when the item is already claimed by another author (returns skipped=true)").description("Claim an item for active work.").action(async (id, options, command) => {
296
296
  const globalOptions = getGlobalOptions(command);
297
297
  const startedAt = Date.now();
298
- const { runClaim } = await import("./claim-BJ4QMPJC.js");
298
+ const { runClaim } = await import("./claim-RV6WYUF7.js");
299
299
  const result = await runClaim(id, Boolean(options.force), globalOptions, {
300
300
  author: typeof options.author === "string" ? options.author : void 0,
301
301
  message: typeof options.message === "string" ? options.message : void 0,
@@ -310,7 +310,7 @@ function registerOperationCommands(program) {
310
310
  program.command("release").argument("<id>", "Item id").option("--author <value>", "Mutation author").option("--message <value>", "History message").option("--allow-audit-release", "Allow non-owner release handoffs without requiring --force").option("--force", "Force release override").description("Release an item's active claim.").action(async (id, options, command) => {
311
311
  const globalOptions = getGlobalOptions(command);
312
312
  const startedAt = Date.now();
313
- const { runRelease } = await import("./claim-BJ4QMPJC.js");
313
+ const { runRelease } = await import("./claim-RV6WYUF7.js");
314
314
  const result = await runRelease(id, Boolean(options.force), globalOptions, {
315
315
  author: typeof options.author === "string" ? options.author : void 0,
316
316
  message: typeof options.message === "string" ? options.message : void 0,
@@ -335,8 +335,8 @@ function registerOperationCommands(program) {
335
335
  message: typeof options.message === "string" ? options.message : void 0
336
336
  };
337
337
  const [{ runClaim }, { runUpdate }] = await Promise.all([
338
- import("./claim-BJ4QMPJC.js"),
339
- import("./update-VF26YPT3.js")
338
+ import("./claim-RV6WYUF7.js"),
339
+ import("./update-MCPCPMHV.js")
340
340
  ]);
341
341
  const claimResult = await runClaim(id, force, globalOptions, mutationOptions);
342
342
  await invalidateSearchCachesForMutation(globalOptions, claimResult);
@@ -360,8 +360,8 @@ function registerOperationCommands(program) {
360
360
  message: typeof options.message === "string" ? options.message : void 0
361
361
  };
362
362
  const [{ runUpdate }, { runRelease }] = await Promise.all([
363
- import("./update-VF26YPT3.js"),
364
- import("./claim-BJ4QMPJC.js")
363
+ import("./update-MCPCPMHV.js"),
364
+ import("./claim-RV6WYUF7.js")
365
365
  ]);
366
366
  const updateResult = await runUpdate(id, { ...mutationOptions, status: openStatus, force }, globalOptions);
367
367
  await invalidateSearchCachesForMutation(globalOptions, updateResult);
@@ -381,8 +381,8 @@ function registerOperationCommands(program) {
381
381
  message: typeof options.message === "string" ? options.message : void 0
382
382
  };
383
383
  const [{ runClose }, { runRelease }] = await Promise.all([
384
- import("./close-SYHSRZDC.js"),
385
- import("./claim-BJ4QMPJC.js")
384
+ import("./close-O4JK2JKD.js"),
385
+ import("./claim-RV6WYUF7.js")
386
386
  ]);
387
387
  const closeResult = await runClose(id, reason, {
388
388
  ...mutationOptions,
@@ -401,6 +401,6 @@ function registerOperationCommands(program) {
401
401
  export {
402
402
  registerOperationCommands
403
403
  };
404
- //# sourceMappingURL=register-operations-BNGAUMGK.js.map
404
+ //# sourceMappingURL=register-operations-DFNVRSJ5.js.map
405
405
 
406
406
  //# debugId=862b113d-52a1-5f9b-ae83-c7544af3128c
@@ -4,20 +4,20 @@ import {
4
4
  collect,
5
5
  getGlobalOptions,
6
6
  invalidateSearchCachesForMutation
7
- } from "./chunk-M2PW7EZU.js";
8
- import "./chunk-MWRS7Z4P.js";
9
- import "./chunk-WAA7UI6M.js";
7
+ } from "./chunk-T7B5VAKD.js";
8
+ import "./chunk-4LRVXVJK.js";
9
+ import "./chunk-LU54Z4QI.js";
10
10
  import {
11
11
  printError,
12
12
  printResult
13
- } from "./chunk-UAQOQ7IE.js";
14
- import "./chunk-TP4DDY27.js";
15
- import "./chunk-2IXCHCLM.js";
13
+ } from "./chunk-YSANBZAE.js";
14
+ import "./chunk-LF2VNLEZ.js";
15
+ import "./chunk-WCWIDJII.js";
16
16
  import {
17
17
  normalizeStatusInput
18
- } from "./chunk-WCQZBDDH.js";
19
- import "./chunk-HRMHZ4RV.js";
20
- import "./chunk-FHHBD7PN.js";
18
+ } from "./chunk-NHRZSYAA.js";
19
+ import "./chunk-U3Z4OCZC.js";
20
+ import "./chunk-SAUXUI6U.js";
21
21
  import {
22
22
  EXIT_CODE,
23
23
  PmCliError,
@@ -25,7 +25,7 @@ import {
25
25
  resolvePmRoot,
26
26
  resolveRuntimeStatusRegistry,
27
27
  setActiveCommandResult
28
- } from "./chunk-UJUT6AHZ.js";
28
+ } from "./chunk-C72IQIBT.js";
29
29
 
30
30
  // dist/cli/register-operations.js
31
31
  !(function() {
@@ -72,7 +72,7 @@ function registerOperationCommands(program) {
72
72
  throw new PmCliError("--background does not support --add/--remove; update linked tests first, then run in background", EXIT_CODE.USAGE);
73
73
  }
74
74
  if (runInBackground) {
75
- const { runStartBackgroundRun } = await import("./test-runs-RNKZ37PS.js");
75
+ const { runStartBackgroundRun } = await import("./test-runs-CRPQVMMG.js");
76
76
  const result2 = await runStartBackgroundRun({
77
77
  kind: "test",
78
78
  commandArgs: buildBackgroundTestCommandArgs(id, { ...options, add: addValues, remove: removeValues }),
@@ -86,7 +86,7 @@ function registerOperationCommands(program) {
86
86
  }
87
87
  return;
88
88
  }
89
- const { runTest } = await import("./test-ML5RLWXE.js");
89
+ const { runTest } = await import("./test-PPOLRIBA.js");
90
90
  const result = await runTest(id, {
91
91
  add: addValues,
92
92
  remove: removeValues,
@@ -125,7 +125,7 @@ function registerOperationCommands(program) {
125
125
  const startedAt = Date.now();
126
126
  const runInBackground = options.background === true;
127
127
  if (runInBackground) {
128
- const { runStartBackgroundRun } = await import("./test-runs-RNKZ37PS.js");
128
+ const { runStartBackgroundRun } = await import("./test-runs-CRPQVMMG.js");
129
129
  const result2 = await runStartBackgroundRun({
130
130
  kind: "test-all",
131
131
  commandArgs: buildBackgroundTestAllCommandArgs(options),
@@ -138,7 +138,7 @@ function registerOperationCommands(program) {
138
138
  }
139
139
  return;
140
140
  }
141
- const { runTestAll } = await import("./test-all-7DNCMML7.js");
141
+ const { runTestAll } = await import("./test-all-6Z272JRI.js");
142
142
  const result = await runTestAll({
143
143
  status: typeof options.status === "string" ? options.status : void 0,
144
144
  limit: typeof options.limit === "string" ? options.limit : void 0,
@@ -168,13 +168,13 @@ function registerOperationCommands(program) {
168
168
  });
169
169
  program.command("test-runs-worker", { hidden: true }).argument("<runId>", "Background run id").description("Internal background worker command.").action(async (runId, _options, command) => {
170
170
  const globalOptions = getGlobalOptions(command);
171
- const { runTestRunsWorker } = await import("./test-runs-RNKZ37PS.js");
171
+ const { runTestRunsWorker } = await import("./test-runs-CRPQVMMG.js");
172
172
  await runTestRunsWorker(runId, globalOptions);
173
173
  });
174
174
  program.command("telemetry").argument("[namespaceOrSubcommand]", "Telemetry subcommand: status, flush, stats, clear (default: status)").argument("[subcommand]", "Compatibility alias target for local-analytics: status, flush, stats, clear").option("--limit <n>", "Maximum command groups returned by telemetry stats").description("Inspect and manage local telemetry queue/runtime state.").action(async (namespaceOrSubcommand, subcommand, options, command) => {
175
175
  const globalOptions = getGlobalOptions(command);
176
176
  const startedAt = Date.now();
177
- const { runTelemetry } = await import("./telemetry-4HHWD5Y7.js");
177
+ const { runTelemetry } = await import("./telemetry-6G27FLCP.js");
178
178
  const result = await runTelemetry({
179
179
  subcommand: resolveTelemetrySubcommand(namespaceOrSubcommand, subcommand),
180
180
  limit: typeof options.limit === "string" ? options.limit : typeof options.limit === "number" && Number.isFinite(options.limit) ? options.limit : void 0
@@ -187,7 +187,7 @@ function registerOperationCommands(program) {
187
187
  program.command("stats").description("Show project tracker statistics.").option("--storage", "Include aggregate history-stream storage metrics (total streams/lines/bytes, largest + deepest streams, oldest/newest entries)").action(async (options, command) => {
188
188
  const globalOptions = getGlobalOptions(command);
189
189
  const startedAt = Date.now();
190
- const { runStats } = await import("./stats-SYTJRR4Z.js");
190
+ const { runStats } = await import("./stats-6LVK4JER.js");
191
191
  const result = await runStats(globalOptions, { storage: options.storage === true });
192
192
  printResult(result, globalOptions);
193
193
  if (globalOptions.profile) {
@@ -197,7 +197,7 @@ function registerOperationCommands(program) {
197
197
  program.command("health").description("Show project tracker health checks.").option("--strict-directories", "Treat optional item-type directories as required failures").option("--check-only", "Run read-only health diagnostics without refreshing vectors").option("--check-telemetry", "Probe telemetry endpoint health and include network diagnostics").option("--no-refresh", "Disable automatic vector refresh attempts during health checks").option("--refresh-vectors", "Explicitly enable vector refresh attempts during health checks").option("--verbose-stale-items", "Include full stale vectorization ID lists in health output").option("--brief", "Emit compact health details for low-token agent checks").option("--summary", "Emit one-line-style health status with check names and warning count").option("--skip-vectors", "Skip vectorization check for a faster run").option("--skip-integrity", "Skip item/history file integrity check for a faster run").option("--skip-drift", "Skip history drift hash check for a faster run").option("--full", "Run all checks including slow integrity, drift, and vectorization checks").option("--strict-exit", "Return non-zero exit when health is not ok (advisory telemetry warnings are excluded; see warnings[])").option("--fail-on-warn", "Alias for --strict-exit").action(async (options, command) => {
198
198
  const globalOptions = getGlobalOptions(command);
199
199
  const startedAt = Date.now();
200
- const { runHealth } = await import("./health-4SNTA2TF.js");
200
+ const { runHealth } = await import("./health-KCRVYIYY.js");
201
201
  const result = await runHealth(globalOptions, {
202
202
  strictDirectories: Boolean(options.strictDirectories),
203
203
  checkOnly: Boolean(options.checkOnly),
@@ -232,7 +232,7 @@ function registerOperationCommands(program) {
232
232
  program.command("validate").description("Run standalone metadata, resolution, lifecycle, files, linked-command reference, and history drift validation checks.").option("--check-metadata", "Run metadata completeness checks").option("--metadata-profile <value>", "Select metadata validation profile for --check-metadata (core|strict|custom)").option("--check-resolution", "Run closed-item resolution metadata checks").option("--check-lifecycle", "Run active-item lifecycle governance drift checks").option("--check-stale-blockers", "Include stale blocker-pattern diagnostics in lifecycle checks").option("--dependency-cycle-severity <value>", "Set dependency-cycle warning policy for lifecycle checks (off|warn|error)").option("--check-files", "Run linked-file and orphaned-file checks").option("--check-command-references", "Run linked-command PM-ID reference checks").option("--scan-mode <value>", "Select file candidate scan mode for --check-files (default|tracked-all|tracked-all-strict)").option("--include-pm-internals", "Include PM storage internals in tracked-all candidate scans").option("--verbose-file-lists", "Include full file-path lists for validate --check-files details").option("--verbose-diagnostics", "Include full validate diagnostic ID lists instead of compact summaries").option("--strict-exit", "Return non-zero exit when validation warnings are present").option("--fail-on-warn", "Alias for --strict-exit").option("--fix-hints", "Add a machine-executable fix_hints[] of pm commands to each failing check's details").option("--check-history-drift", "Run item/history hash drift checks").action(async (options, command) => {
233
233
  const globalOptions = getGlobalOptions(command);
234
234
  const startedAt = Date.now();
235
- const { runValidate } = await import("./validate-NK3WKB7C.js");
235
+ const { runValidate } = await import("./validate-J6Q444SD.js");
236
236
  const result = await runValidate({
237
237
  checkMetadata: Boolean(options.checkMetadata),
238
238
  metadataProfile: typeof options.metadataProfile === "string" ? options.metadataProfile : void 0,
@@ -269,7 +269,7 @@ function registerOperationCommands(program) {
269
269
  program.command("gc").option("--dry-run", "Preview cleanup targets without deleting files; without this flag, pm gc deletes matched artifacts").option("--scope <value>", "Limit cleanup to one or more scopes (comma-separated or repeatable): index, embeddings, runtime, locks", collect).description("Delete optional cache artifacts by default (including expired lock debris) and show a summary.").action(async (options, command) => {
270
270
  const globalOptions = getGlobalOptions(command);
271
271
  const startedAt = Date.now();
272
- const { runGc } = await import("./gc-SPIIZX3A.js");
272
+ const { runGc } = await import("./gc-KXK6KBRN.js");
273
273
  const result = await runGc(globalOptions, {
274
274
  dryRun: options.dryRun === true,
275
275
  scope: Array.isArray(options.scope) ? options.scope : []
@@ -282,7 +282,7 @@ function registerOperationCommands(program) {
282
282
  program.command("contracts").description("Show machine-readable command and schema contracts for agents.").option("--action <value>", "Filter tool schema branches to a specific action").option("--command <value>", "Scope contracts output to one CLI command (narrow-by-default)").option("--schema-only", "Return schema-focused output only").option("--flags-only", "Return command flag contracts only").option("--availability-only", "Return action availability surface only").option("--runtime-only", "Include only actions invocable in the current runtime").option("--active-only", "Alias for --runtime-only").option("--full", "Include full schema and command-flag surfaces (large; default brief output omits heavy sections for unfiltered queries)").action(async (options, command) => {
283
283
  const globalOptions = getGlobalOptions(command);
284
284
  const startedAt = Date.now();
285
- const { runContracts } = await import("./contracts-YXJ6NXKH.js");
285
+ const { runContracts } = await import("./contracts-AOBNEBVT.js");
286
286
  const result = await runContracts({
287
287
  action: typeof options.action === "string" ? options.action : void 0,
288
288
  command: typeof options.command === "string" ? options.command : void 0,
@@ -300,7 +300,7 @@ function registerOperationCommands(program) {
300
300
  program.command("claim").argument("<id>", "Item id").option("--author <value>", "Mutation author").option("--message <value>", "History message").option("--force", "Force claim override").option("--if-available", "Skip silently when the item is already claimed by another author (returns skipped=true)").description("Claim an item for active work.").action(async (id, options, command) => {
301
301
  const globalOptions = getGlobalOptions(command);
302
302
  const startedAt = Date.now();
303
- const { runClaim } = await import("./claim-KW743OSW.js");
303
+ const { runClaim } = await import("./claim-UXFGCF3P.js");
304
304
  const result = await runClaim(id, Boolean(options.force), globalOptions, {
305
305
  author: typeof options.author === "string" ? options.author : void 0,
306
306
  message: typeof options.message === "string" ? options.message : void 0,
@@ -315,7 +315,7 @@ function registerOperationCommands(program) {
315
315
  program.command("release").argument("<id>", "Item id").option("--author <value>", "Mutation author").option("--message <value>", "History message").option("--allow-audit-release", "Allow non-owner release handoffs without requiring --force").option("--force", "Force release override").description("Release an item's active claim.").action(async (id, options, command) => {
316
316
  const globalOptions = getGlobalOptions(command);
317
317
  const startedAt = Date.now();
318
- const { runRelease } = await import("./claim-KW743OSW.js");
318
+ const { runRelease } = await import("./claim-UXFGCF3P.js");
319
319
  const result = await runRelease(id, Boolean(options.force), globalOptions, {
320
320
  author: typeof options.author === "string" ? options.author : void 0,
321
321
  message: typeof options.message === "string" ? options.message : void 0,
@@ -340,8 +340,8 @@ function registerOperationCommands(program) {
340
340
  message: typeof options.message === "string" ? options.message : void 0
341
341
  };
342
342
  const [{ runClaim }, { runUpdate }] = await Promise.all([
343
- import("./claim-KW743OSW.js"),
344
- import("./update-6C67X4KS.js")
343
+ import("./claim-UXFGCF3P.js"),
344
+ import("./update-O7TBOUVQ.js")
345
345
  ]);
346
346
  const claimResult = await runClaim(id, force, globalOptions, mutationOptions);
347
347
  await invalidateSearchCachesForMutation(globalOptions, claimResult);
@@ -365,8 +365,8 @@ function registerOperationCommands(program) {
365
365
  message: typeof options.message === "string" ? options.message : void 0
366
366
  };
367
367
  const [{ runUpdate }, { runRelease }] = await Promise.all([
368
- import("./update-6C67X4KS.js"),
369
- import("./claim-KW743OSW.js")
368
+ import("./update-O7TBOUVQ.js"),
369
+ import("./claim-UXFGCF3P.js")
370
370
  ]);
371
371
  const updateResult = await runUpdate(id, { ...mutationOptions, status: openStatus, force }, globalOptions);
372
372
  await invalidateSearchCachesForMutation(globalOptions, updateResult);
@@ -386,8 +386,8 @@ function registerOperationCommands(program) {
386
386
  message: typeof options.message === "string" ? options.message : void 0
387
387
  };
388
388
  const [{ runClose }, { runRelease }] = await Promise.all([
389
- import("./close-P4ZBKODL.js"),
390
- import("./claim-KW743OSW.js")
389
+ import("./close-JTTGW7TS.js"),
390
+ import("./claim-UXFGCF3P.js")
391
391
  ]);
392
392
  const closeResult = await runClose(id, reason, {
393
393
  ...mutationOptions,
@@ -406,4 +406,4 @@ function registerOperationCommands(program) {
406
406
  export {
407
407
  registerOperationCommands
408
408
  };
409
- //# sourceMappingURL=register-operations-GQKT35H5.js.map
409
+ //# sourceMappingURL=register-operations-TAUUTRJ4.js.map
@@ -1,24 +1,24 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8edefcf7-2b7f-5518-af6d-7fd8952adb64")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7e687114-c0d5-55d7-a197-fa48845797d4")}catch(e){}}();
3
3
  import {
4
4
  collect,
5
5
  getGlobalOptions
6
- } from "./chunk-XS3O2TFJ.js";
7
- import "./chunk-CLD3XNCH.js";
8
- import "./chunk-4GHZR3BA.js";
6
+ } from "./chunk-JVMAOD54.js";
7
+ import "./chunk-GPOSGWCN.js";
8
+ import "./chunk-BACSNVWE.js";
9
9
  import {
10
10
  printError,
11
11
  printResult
12
- } from "./chunk-LIN2BPJ7.js";
13
- import "./chunk-YBZW2QQ7.js";
14
- import "./chunk-UT6WFXW2.js";
15
- import "./chunk-UYQ7HXH4.js";
16
- import "./chunk-GUZBNB3G.js";
17
- import "./chunk-B2KZGPM2.js";
12
+ } from "./chunk-ANKG2JKL.js";
13
+ import "./chunk-AVGOVJGV.js";
14
+ import "./chunk-7CR4GAYN.js";
15
+ import "./chunk-5ATRWEZO.js";
16
+ import "./chunk-42IULX44.js";
17
+ import "./chunk-PW7C262O.js";
18
18
  import {
19
19
  EXIT_CODE,
20
20
  PmCliError
21
- } from "./chunk-X4IZKYHP.js";
21
+ } from "./chunk-5JF76OJF.js";
22
22
 
23
23
  // dist/cli/register-setup.js
24
24
  import fs from "node:fs/promises";
@@ -86,7 +86,7 @@ async function executeExtensionCommand(target, options, command, forcedAction, v
86
86
  const globalOptions = getGlobalOptions(command);
87
87
  const startedAt = Date.now();
88
88
  const normalizedOptions = normalizeExtensionOptions(options, forcedAction, vocabulary);
89
- const { runExtension } = await import("./extension-XYCUXICD.js");
89
+ const { runExtension } = await import("./extension-XNNVUVAY.js");
90
90
  const result = await runExtension(target, normalizedOptions, globalOptions);
91
91
  printResult(result, globalOptions);
92
92
  const strictExit = Boolean(normalizedOptions.strictExit) || Boolean(normalizedOptions.failOnWarn);
@@ -161,17 +161,18 @@ function registerLifecycleCommand(program, vocabulary) {
161
161
  });
162
162
  }
163
163
  function registerSetupCommands(program) {
164
- program.command("init").argument("[prefix]", "Optional id prefix").option("--preset <value>", "Governance preset for new setups: minimal|default|strict").option("--defaults", "Use non-interactive setup defaults without opening the wizard").option("-y, --yes", "Alias for --defaults (non-interactive setup)").option("--author <value>", "Set the default mutation author for this project").option("--agent-guidance <mode>", "Agent guidance mode: ask|add|skip|status").option("--type-preset <name>", "Register domain item types during init: agile|ops|research").option("--with-packages", "Install all bundled first-party packages during initialization").option("--verbose", "Include the full resolved settings tree in the output (default output is a concise summary)").description("Initialize pm storage and defaults for the current workspace.").action(async (prefix, options, command) => {
164
+ program.command("init").argument("[prefix]", "Optional id prefix").option("--preset <value>", "Governance preset for new setups: minimal|default|strict").option("--defaults", "Use non-interactive setup defaults without opening the wizard").option("-y, --yes", "Alias for --defaults (non-interactive setup)").option("--author <value>", "Set the default mutation author for this project").option("--agent-guidance <mode>", "Agent guidance mode: ask|add|skip|status").option("--type-preset <name>", "Register domain item types during init: agile|ops|research").option("--with-packages", "Install all bundled first-party packages during initialization").option("--force", "Allow initializing tracker files directly in a directory that looks like a workspace root").option("--verbose", "Include the full resolved settings tree in the output (default output is a concise summary)").description("Initialize pm storage and defaults for the current workspace.").action(async (prefix, options, command) => {
165
165
  const globalOptions = getGlobalOptions(command);
166
166
  const startedAt = Date.now();
167
- const { runInit, summarizeInitResult } = await import("./init-YHVBTEET.js");
167
+ const { runInit, summarizeInitResult } = await import("./init-IQJE3EKJ.js");
168
168
  const result = await runInit(prefix, globalOptions, {
169
169
  preset: typeof options.preset === "string" ? options.preset : void 0,
170
170
  defaults: options.defaults === true || options.yes === true,
171
171
  author: typeof options.author === "string" ? options.author : void 0,
172
172
  agentGuidance: typeof options.agentGuidance === "string" ? options.agentGuidance : void 0,
173
173
  typePreset: typeof options.typePreset === "string" ? options.typePreset : void 0,
174
- withPackages: options.withPackages === true
174
+ withPackages: options.withPackages === true,
175
+ force: options.force === true
175
176
  });
176
177
  const verbose = options.verbose === true;
177
178
  const emitFullTree = verbose || globalOptions.json === true;
@@ -184,7 +185,7 @@ function registerSetupCommands(program) {
184
185
  const globalOptions = getGlobalOptions(command);
185
186
  const startedAt = Date.now();
186
187
  const criteria = Array.isArray(options.criterion) ? options.criterion : [];
187
- const { runConfig } = await import("./config-RZRVS3ZV.js");
188
+ const { runConfig } = await import("./config-5VPR42A6.js");
188
189
  const actionShorthands = /* @__PURE__ */ new Set(["get", "set", "list", "export"]);
189
190
  const scopeShorthand = scope !== void 0 && actionShorthands.has(scope);
190
191
  const resolvedScope = scopeShorthand ? "project" : scope ?? "project";
@@ -223,7 +224,7 @@ function registerSetupCommands(program) {
223
224
  addPackageScopeOptions(program.command("upgrade").argument("[target]", "Optional managed package name/source to upgrade; omit to upgrade pm CLI and all managed packages").option("--dry-run", "Plan CLI/package upgrades without running npm or reinstalling packages").option("--cli-only", "Upgrade only the pm CLI/SDK npm package").option("--packages-only", "Upgrade only managed pm packages").option("--repair", "Force npm global reinstall when upgrading the pm CLI/SDK").option("--tag <value>", "npm dist-tag/version for CLI and registry package upgrades").option("--package-name <value>", "Override the CLI package name for self-upgrade testing").description("Upgrade the pm CLI/SDK and refresh managed installable pm packages.")).action(async (target, _options, command) => {
224
225
  const globalOptions = getGlobalOptions(command);
225
226
  const startedAt = Date.now();
226
- const { runUpgrade } = await import("./upgrade-RSE5PC44.js");
227
+ const { runUpgrade } = await import("./upgrade-ECB6GH3M.js");
227
228
  const result = await runUpgrade(target, command.opts(), globalOptions);
228
229
  printResult(result, globalOptions);
229
230
  if (!result.ok) {
@@ -237,6 +238,6 @@ function registerSetupCommands(program) {
237
238
  export {
238
239
  registerSetupCommands
239
240
  };
240
- //# sourceMappingURL=register-setup-DNDCGZ4O.js.map
241
+ //# sourceMappingURL=register-setup-GAQZZRUA.js.map
241
242
 
242
- //# debugId=8edefcf7-2b7f-5518-af6d-7fd8952adb64
243
+ //# debugId=7e687114-c0d5-55d7-a197-fa48845797d4
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../../../cli/register-setup.ts"],"sourcesContent":["import type { Command } from \"commander\";\nimport fs from \"node:fs/promises\";\nimport type { GlobalOptions } from \"../core/shared/command-types.js\";\nimport { EXIT_CODE } from \"../core/shared/constants.js\";\nimport { PmCliError } from \"../core/shared/errors.js\";\nimport {\n collect,\n getGlobalOptions,\n printError,\n printResult,\n} from \"./registration-helpers.js\";\n\n\n\ntype ExtensionSubcommandAction =\n | \"init\"\n | \"install\"\n | \"uninstall\"\n | \"explore\"\n | \"manage\"\n | \"reload\"\n | \"doctor\"\n | \"catalog\"\n | \"adopt\"\n | \"adopt-all\"\n | \"activate\"\n | \"deactivate\";\n\ntype LifecycleCommandVocabulary = \"extension\" | \"package\";\n\nfunction normalizeExtensionOptions(\n options: Record<string, unknown>,\n forcedAction?: ExtensionSubcommandAction,\n vocabulary: LifecycleCommandVocabulary = \"extension\",\n): Record<string, unknown> {\n const isForcedAction = (action: ExtensionSubcommandAction): boolean => forcedAction === action;\n const readBoolean = (...keys: string[]): boolean => keys.some((key) => options[key] === true);\n const readString = (...keys: string[]): string | undefined => {\n for (const key of keys) {\n if (typeof options[key] === \"string\") {\n return options[key] as string;\n }\n }\n return undefined;\n };\n return {\n init: isForcedAction(\"init\") || readBoolean(\"init\"),\n scaffold: readBoolean(\"scaffold\"),\n install: isForcedAction(\"install\") || readBoolean(\"install\"),\n uninstall: isForcedAction(\"uninstall\") || readBoolean(\"uninstall\"),\n explore: isForcedAction(\"explore\") || readBoolean(\"explore\", \"list\"),\n manage: isForcedAction(\"manage\") || readBoolean(\"manage\"),\n reload: isForcedAction(\"reload\") || readBoolean(\"reload\"),\n doctor: isForcedAction(\"doctor\") || readBoolean(\"doctor\"),\n catalog: isForcedAction(\"catalog\") || readBoolean(\"catalog\"),\n adopt: isForcedAction(\"adopt\") || readBoolean(\"adopt\"),\n adoptAll: isForcedAction(\"adopt-all\") || readBoolean(\"adoptAll\", \"adopt_all\", \"adopt-all\"),\n activate: isForcedAction(\"activate\") || readBoolean(\"activate\"),\n deactivate: isForcedAction(\"deactivate\") || readBoolean(\"deactivate\"),\n project: readBoolean(\"project\"),\n local: readBoolean(\"local\"),\n global: readBoolean(\"global\"),\n gh: readString(\"gh\"),\n github: readString(\"github\"),\n ref: readString(\"ref\"),\n fields: readString(\"fields\"),\n detail: readString(\"detail\"),\n trace: readBoolean(\"trace\"),\n watch: readBoolean(\"watch\"),\n runtimeProbe: readBoolean(\"runtimeProbe\", \"runtime_probe\", \"runtime-probe\"),\n fixManagedState: readBoolean(\"fixManagedState\", \"fix_managed_state\", \"fix-managed-state\"),\n strictExit: readBoolean(\"strictExit\", \"strict_exit\", \"strict-exit\"),\n failOnWarn: readBoolean(\"failOnWarn\", \"fail_on_warn\", \"fail-on-warn\"),\n vocabulary,\n };\n}\n\nasync function looksLikeShellExpandedWildcard(targets: string[]): Promise<boolean> {\n if (targets.length <= 1) {\n return false;\n }\n const visibleEntries = (await fs.readdir(process.cwd()))\n .filter((entry) => !entry.startsWith(\".\"))\n .sort((left, right) => left.localeCompare(right));\n const normalizedTargets = [...targets].sort((left, right) => left.localeCompare(right));\n return (\n visibleEntries.length === normalizedTargets.length &&\n visibleEntries.every((entry, index) => entry === normalizedTargets[index])\n );\n}\n\nasync function normalizeInstallTargets(targets: string[] | string | undefined): Promise<string | undefined> {\n const normalizedTargets = (Array.isArray(targets) ? targets : typeof targets === \"string\" ? [targets] : [])\n .map((target) => target.trim())\n .filter((target) => target.length > 0);\n if (normalizedTargets.length <= 1) {\n return normalizedTargets[0];\n }\n if (await looksLikeShellExpandedWildcard(normalizedTargets)) {\n return \"*\";\n }\n throw new PmCliError(\n `Install accepts one package source at a time. To install bundled first-party packages, quote the wildcard: pm install '*'`,\n EXIT_CODE.USAGE,\n );\n}\n\nasync function executeExtensionCommand(\n target: string | undefined,\n options: Record<string, unknown>,\n command: Command,\n forcedAction?: ExtensionSubcommandAction,\n vocabulary: LifecycleCommandVocabulary = \"extension\",\n): Promise<void> {\n const globalOptions = getGlobalOptions(command);\n const startedAt = Date.now();\n const normalizedOptions = normalizeExtensionOptions(options, forcedAction, vocabulary);\n const { runExtension } = await import(\"./commands/extension.js\");\n const result = await runExtension(target, normalizedOptions, globalOptions);\n printResult(result, globalOptions);\n const strictExit = Boolean(normalizedOptions.strictExit) || Boolean(normalizedOptions.failOnWarn);\n if (result.action === \"doctor\" && strictExit) {\n const detailsRecord = result.details as Record<string, unknown>;\n const summary = (detailsRecord.summary ?? null) as Record<string, unknown> | null;\n const summaryStatus = summary && typeof summary.status === \"string\" ? summary.status : undefined;\n const shouldFail = summaryStatus ? summaryStatus !== \"ok\" : result.warnings.length > 0;\n if (shouldFail) {\n process.exitCode = EXIT_CODE.GENERIC_FAILURE;\n }\n }\n if (globalOptions.profile) {\n printError(`profile:command=extension took_ms=${Date.now() - startedAt}`);\n }\n}\n\nfunction addExtensionScopeOptions<T extends Command>(command: T): T {\n return command\n .option(\"--project\", \"Use project extension scope (default)\")\n .option(\"--local\", \"Alias for --project\")\n .option(\"--global\", \"Use global extension scope\");\n}\n\nfunction addPackageScopeOptions<T extends Command>(command: T): T {\n return command\n .option(\"--project\", \"Use project package scope (default)\")\n .option(\"--local\", \"Alias for --project\")\n .option(\"--global\", \"Use global package scope\");\n}\n\nfunction addLifecycleScopeOptions<T extends Command>(command: T, vocabulary: LifecycleCommandVocabulary): T {\n return vocabulary === \"package\" ? addPackageScopeOptions(command) : addExtensionScopeOptions(command);\n}\n\nfunction registerLifecycleCommand(\n program: Command,\n vocabulary: LifecycleCommandVocabulary,\n): void {\n const noun = vocabulary === \"package\" ? \"package\" : \"extension\";\n const plural = vocabulary === \"package\" ? \"packages\" : \"extensions\";\n const commandName = vocabulary;\n const lifecycleCommand = program\n .command(commandName)\n .argument(\"[target]\", `${noun[0]!.toUpperCase()}${noun.slice(1)} source/name or scaffold target path (for --init/--scaffold)`)\n .option(\"--init\", `Generate a starter ${noun} scaffold at target path`)\n .option(\"--scaffold\", \"Alias for --init\")\n .option(\"--install\", `Install ${noun} from local path, bundled alias, npm: source, wildcard, or GitHub source`)\n .option(\"--uninstall\", `Uninstall an installed ${noun}`)\n .option(\"--explore\", `List discovered ${plural} in selected scope`)\n .option(\"--list\", \"Alias for --explore\")\n .option(\"--manage\", `List managed ${plural} with update-check metadata`)\n .option(\"--reload\", `Reload ${plural} with cache-busted module imports`)\n .option(\"--watch\", \"Use watch mode with --reload\")\n .option(\"--doctor\", `Run consolidated ${noun} diagnostics (summary/deep modes)`)\n .option(\"--catalog\", `List bundled first-party ${noun} catalog metadata`)\n .option(\"--adopt\", `Adopt an existing unmanaged ${noun} into managed metadata`)\n .option(\"--adopt-all\", `Adopt all unmanaged ${plural} into managed metadata`)\n .option(\"--activate\", `Activate a ${noun} in selected scope settings`)\n .option(\"--deactivate\", `Deactivate a ${noun} in selected scope settings`)\n .option(\"--project\", `Use project ${noun} scope (default)`)\n .option(\"--local\", \"Alias for --project\")\n .option(\"--global\", `Use global ${noun} scope`)\n .option(\"--gh <github-source>\", \"Install from GitHub shorthand source (owner/repo[/path])\")\n .option(\"--github <github-source>\", \"Alias for --gh\")\n .option(\"--ref <ref>\", \"Git ref/branch/tag for GitHub install sources\")\n .option(\"--detail <mode>\", `${noun[0]!.toUpperCase()}${noun.slice(1)} diagnostics detail mode (summary|deep)`)\n .option(\"--trace\", \"Include actionable registration traces in doctor deep diagnostics\")\n .option(\"--runtime-probe\", \"Opt-in runtime activation probe for manage output parity\")\n .option(\"--fix-managed-state\", `Adopt unmanaged ${plural} before diagnostics/update checks`)\n .option(\"--strict-exit\", \"Return non-zero exit when doctor warnings are present (ok=false)\")\n .option(\"--fail-on-warn\", \"Alias for --strict-exit (doctor)\")\n .description(\n vocabulary === \"package\"\n ? \"Manage package lifecycle operations for project or global scope. Backward-compatible with extension packages.\"\n : \"Manage extension lifecycle operations for project or global scope.\",\n )\n .action(async (target: string | undefined, _options: Record<string, unknown>, command) => {\n await executeExtensionCommand(target, command.opts() as Record<string, unknown>, command, undefined, vocabulary);\n });\n\n if (vocabulary === \"package\") {\n lifecycleCommand.alias(\"packages\");\n }\n\n addLifecycleScopeOptions(\n lifecycleCommand\n .command(\"init\")\n .alias(\"scaffold\")\n .argument(\"<target>\", `Scaffold target directory path`)\n .description(\n vocabulary === \"package\"\n ? \"Generate a starter package scaffold with package metadata, manifest, and entrypoint.\"\n : \"Generate a starter extension scaffold with manifest and entrypoint.\",\n ),\n vocabulary,\n ).action(async (target: string, _options: Record<string, unknown>, command) => {\n await executeExtensionCommand(target, command.opts() as Record<string, unknown>, command, \"init\", vocabulary);\n });\n\n addLifecycleScopeOptions(\n lifecycleCommand\n .command(\"install\")\n .argument(\"[targets...]\", `${noun[0]!.toUpperCase()}${noun.slice(1)} source (local path, bundled alias, npm: source, wildcard, or GitHub source)`)\n .option(\"--gh <github-source>\", \"Install from GitHub shorthand source (owner/repo[/path])\")\n .option(\"--github <github-source>\", \"Alias for --gh\")\n .option(\"--ref <ref>\", \"Git ref/branch/tag for GitHub install sources\")\n .description(`Install ${noun} from local path, bundled alias, npm: source, wildcard, or GitHub source.`),\n vocabulary,\n ).action(async (targets: string[] | undefined, _options: Record<string, unknown>, command) => {\n const target = await normalizeInstallTargets(targets);\n await executeExtensionCommand(target, command.opts() as Record<string, unknown>, command, \"install\", vocabulary);\n });\n\n addLifecycleScopeOptions(\n lifecycleCommand.command(\"uninstall\").argument(\"<target>\", `${noun[0]!.toUpperCase()}${noun.slice(1)} name`).description(`Uninstall an installed ${noun}.`),\n vocabulary,\n ).action(async (target: string, _options: Record<string, unknown>, command) => {\n await executeExtensionCommand(target, command.opts() as Record<string, unknown>, command, \"uninstall\", vocabulary);\n });\n\n addLifecycleScopeOptions(lifecycleCommand.command(\"explore\").description(`List discovered ${plural} in selected scope.`), vocabulary).action(\n async (_options: Record<string, unknown>, command) => {\n await executeExtensionCommand(undefined, command.opts() as Record<string, unknown>, command, \"explore\", vocabulary);\n },\n );\n\n addLifecycleScopeOptions(\n lifecycleCommand\n .command(\"manage\")\n .option(\"--runtime-probe\", \"Opt-in runtime activation probe for manage output parity\")\n .option(\"--fix-managed-state\", `Adopt unmanaged ${plural} before diagnostics/update checks`)\n .description(`List managed ${plural} with update-check metadata.`),\n vocabulary,\n ).action(async (_options: Record<string, unknown>, command) => {\n await executeExtensionCommand(undefined, command.opts() as Record<string, unknown>, command, \"manage\", vocabulary);\n });\n\n addLifecycleScopeOptions(\n lifecycleCommand\n .command(\"reload\")\n .option(\"--watch\", \"Use watch mode for repeated reload checks\")\n .description(`Reload ${plural} with cache-busted module imports.`),\n vocabulary,\n ).action(async (_options: Record<string, unknown>, command) => {\n await executeExtensionCommand(undefined, command.opts() as Record<string, unknown>, command, \"reload\", vocabulary);\n });\n\n addLifecycleScopeOptions(\n lifecycleCommand\n .command(\"doctor\")\n .option(\"--detail <mode>\", `Detail mode for ${noun} diagnostics (summary|deep)`)\n .option(\"--trace\", \"Include actionable registration traces in doctor deep diagnostics\")\n .option(\"--fix-managed-state\", `Adopt unmanaged ${plural} before diagnostics/update checks`)\n .option(\"--strict-exit\", \"Return non-zero exit when doctor warnings are present (ok=false)\")\n .option(\"--fail-on-warn\", \"Alias for --strict-exit (doctor)\")\n .description(`Run consolidated ${noun} diagnostics (summary/deep modes).`),\n vocabulary,\n ).action(async (_options: Record<string, unknown>, command) => {\n await executeExtensionCommand(undefined, command.opts() as Record<string, unknown>, command, \"doctor\", vocabulary);\n });\n\n addLifecycleScopeOptions(\n lifecycleCommand\n .command(\"catalog\")\n .alias(\"list\")\n .option(\"--fields <value>\", \"Render compact comma-separated catalog fields, for example: alias,installed,install_command\")\n .description(`List bundled first-party ${noun} catalog metadata.`),\n vocabulary,\n ).action(async (_options: Record<string, unknown>, command) => {\n await executeExtensionCommand(undefined, command.opts() as Record<string, unknown>, command, \"catalog\", vocabulary);\n });\n\n addLifecycleScopeOptions(\n lifecycleCommand\n .command(\"adopt\")\n .argument(\"<target>\", `${noun[0]!.toUpperCase()}${noun.slice(1)} name`)\n .option(\"--gh <owner/repo[/path]>\", `GitHub provenance shorthand for adopted ${noun}`)\n .option(\"--github <owner/repo[/path]>\", \"Alias for --gh\")\n .option(\"--ref <ref>\", \"Git ref/branch/tag for GitHub shorthand source\")\n .description(`Adopt an existing unmanaged ${noun} into managed metadata.`),\n vocabulary,\n ).action(async (target: string, _options: Record<string, unknown>, command) => {\n await executeExtensionCommand(target, command.opts() as Record<string, unknown>, command, \"adopt\", vocabulary);\n });\n\n addLifecycleScopeOptions(\n lifecycleCommand.command(\"adopt-all\").description(`Adopt all unmanaged ${plural} into managed metadata.`),\n vocabulary,\n ).action(async (_options: Record<string, unknown>, command) => {\n await executeExtensionCommand(undefined, command.opts() as Record<string, unknown>, command, \"adopt-all\", vocabulary);\n });\n\n addLifecycleScopeOptions(\n lifecycleCommand.command(\"activate\").argument(\"<target>\", `${noun[0]!.toUpperCase()}${noun.slice(1)} name`).description(`Activate a ${noun} in selected scope settings.`),\n vocabulary,\n ).action(async (target: string, _options: Record<string, unknown>, command) => {\n await executeExtensionCommand(target, command.opts() as Record<string, unknown>, command, \"activate\", vocabulary);\n });\n\n addLifecycleScopeOptions(\n lifecycleCommand.command(\"deactivate\").argument(\"<target>\", `${noun[0]!.toUpperCase()}${noun.slice(1)} name`).description(`Deactivate a ${noun} in selected scope settings.`),\n vocabulary,\n ).action(async (target: string, _options: Record<string, unknown>, command) => {\n await executeExtensionCommand(target, command.opts() as Record<string, unknown>, command, \"deactivate\", vocabulary);\n });\n}\n\nexport function registerSetupCommands(program: Command): void {\n program\n .command(\"init\")\n .argument(\"[prefix]\", \"Optional id prefix\")\n .option(\"--preset <value>\", \"Governance preset for new setups: minimal|default|strict\")\n .option(\"--defaults\", \"Use non-interactive setup defaults without opening the wizard\")\n .option(\"-y, --yes\", \"Alias for --defaults (non-interactive setup)\")\n .option(\"--author <value>\", \"Set the default mutation author for this project\")\n .option(\"--agent-guidance <mode>\", \"Agent guidance mode: ask|add|skip|status\")\n .option(\"--type-preset <name>\", \"Register domain item types during init: agile|ops|research\")\n .option(\"--with-packages\", \"Install all bundled first-party packages during initialization\")\n .option(\"--force\", \"Allow initializing tracker files directly in a directory that looks like a workspace root\")\n .option(\"--verbose\", \"Include the full resolved settings tree in the output (default output is a concise summary)\")\n .description(\"Initialize pm storage and defaults for the current workspace.\")\n .action(async (prefix: string | undefined, options: Record<string, unknown>, command) => {\n const globalOptions = getGlobalOptions(command);\n const startedAt = Date.now();\n const { runInit, summarizeInitResult } = await import(\"./commands/init.js\");\n const result = await runInit(\n prefix,\n globalOptions,\n {\n preset: typeof options.preset === \"string\" ? options.preset : undefined,\n defaults: options.defaults === true || options.yes === true,\n author: typeof options.author === \"string\" ? options.author : undefined,\n agentGuidance: typeof options.agentGuidance === \"string\" ? options.agentGuidance : undefined,\n typePreset: typeof options.typePreset === \"string\" ? options.typePreset : undefined,\n withPackages: options.withPackages === true,\n force: options.force === true,\n },\n );\n // Default (toon) output is a concise summary to minimize agent token cost.\n // --json consumers and --verbose both receive the full settings tree.\n const verbose = options.verbose === true;\n const emitFullTree = verbose || globalOptions.json === true;\n printResult(emitFullTree ? result : summarizeInitResult(result), globalOptions);\n if (globalOptions.profile) {\n printError(`profile:command=init took_ms=${Date.now() - startedAt}`);\n }\n });\n\n program\n .command(\"config\")\n .argument(\"[scope]\", \"Config scope: project|global, or action shorthand list|export|get|set for project scope\")\n .argument(\"[action]\", \"Config action: get|set|list|export\")\n .argument(\n \"[key]\",\n \"Config key for get|set: definition-of-done|item-format|history-missing-stream-policy|sprint-release-format-policy|parent-reference-policy|metadata-validation-profile|metadata-required-fields|lifecycle-stale-blocker-reason-patterns|lifecycle-closure-like-blocked-reason-patterns|lifecycle-closure-like-resolution-patterns|lifecycle-closure-like-actual-result-patterns|governance-preset|governance-ownership-enforcement|governance-create-mode-default|governance-close-validation-default|governance-require-close-reason|governance-parent-reference-policy|governance-metadata-validation-profile|governance-force-required-for-stale-lock|test-result-tracking|telemetry-tracking|context\",\n )\n .argument(\n \"[value]\",\n \"Optional value for set: routed to the right typed flag by key (e.g. config set telemetry-tracking off, config set item-format toon, config set definition-of-done \\\"Tests pass\\\"). Equivalent to --policy/--format/--criterion. context keys still require --default-depth/--section-* flags.\",\n )\n .option(\n \"--criterion <text>\",\n \"Criteria value for definition-of-done, metadata-required-fields, or lifecycle pattern keys (repeatable for set)\",\n collect,\n )\n .option(\"--clear-criteria\", \"Clear criteria-list keys for config set operations\")\n .option(\"--format <value>\", \"Item format for item-format key: toon\")\n .option(\n \"--policy <value>\",\n \"Policy key values: history-missing-stream-policy=auto_create|strict_error; sprint-release-format-policy=warn|strict_error; parent-reference-policy=warn|strict_error; governance-preset=minimal|default|strict|custom; governance-ownership-enforcement=none|warn|strict; governance-create-mode-default=progressive|strict; governance-close-validation-default=off|warn|strict; governance-require-close-reason=enabled|disabled; governance-parent-reference-policy=warn|strict_error; governance-metadata-validation-profile=core|strict|custom; governance-force-required-for-stale-lock=enabled|disabled; test-result-tracking=enabled|disabled; telemetry-tracking=enabled|disabled\",\n )\n .option(\n \"--value <value>\",\n \"Value for nested leaf settings keys (search_provider, search_mutation_refresh_policy, search_query_expansion_enabled, search_rerank_enabled, openai_base_url, ollama_model, vector_store_adapter, vector_store_collection_name, qdrant_url, lancedb_path, etc.). Equivalent to the positional value.\",\n )\n .option(\"--default-depth <value>\", \"Context default depth: brief|standard|deep\")\n .option(\"--activity-limit <n>\", \"Context default activity limit\")\n .option(\"--stale-threshold-days <n>\", \"Context staleness cutoff in days\")\n .option(\"--section-hierarchy <value>\", \"Enable/disable context hierarchy section (true|false)\")\n .option(\"--section-activity <value>\", \"Enable/disable context activity section (true|false)\")\n .option(\"--section-progress <value>\", \"Enable/disable context progress section (true|false)\")\n .option(\"--section-blockers <value>\", \"Enable/disable context blockers section (true|false)\")\n .option(\"--section-files <value>\", \"Enable/disable context files section (true|false)\")\n .option(\"--section-workload <value>\", \"Enable/disable context workload section (true|false)\")\n .option(\"--section-staleness <value>\", \"Enable/disable context staleness section (true|false)\")\n .option(\"--section-tests <value>\", \"Enable/disable context tests section (true|false)\")\n .description(\"Read or update pm settings for the current workspace or global profile.\")\n .action(async (scope: string | undefined, action: string | undefined, key: string | undefined, value: string | undefined, options: Record<string, unknown>, command) => {\n const globalOptions = getGlobalOptions(command);\n const startedAt = Date.now();\n const criteria = Array.isArray(options.criterion) ? (options.criterion as string[]) : [];\n const { runConfig } = await import(\"./commands/config.js\");\n const actionShorthands = new Set([\"get\", \"set\", \"list\", \"export\"]);\n const scopeShorthand = scope !== undefined && actionShorthands.has(scope);\n const resolvedScope = scopeShorthand ? \"project\" : (scope ?? \"project\");\n const resolvedAction = scopeShorthand ? scope : (action ?? \"list\");\n // When scope is an action shorthand, positionals shift left by one:\n // [set] [key] [value] -> action=set, key=key, value=value.\n const resolvedKey = scopeShorthand ? action : key;\n const resolvedValue = scopeShorthand ? key : value;\n const result = await runConfig(\n resolvedScope,\n resolvedAction,\n resolvedKey,\n {\n criterion: criteria,\n format: typeof options.format === \"string\" ? options.format : undefined,\n policy: typeof options.policy === \"string\" ? options.policy : undefined,\n value: typeof options.value === \"string\" ? options.value : undefined,\n clearCriteria: options.clearCriteria === true,\n defaultDepth: typeof options.defaultDepth === \"string\" ? options.defaultDepth : undefined,\n activityLimit: typeof options.activityLimit === \"string\" ? options.activityLimit : undefined,\n staleThresholdDays: typeof options.staleThresholdDays === \"string\" ? options.staleThresholdDays : undefined,\n sectionHierarchy: typeof options.sectionHierarchy === \"string\" ? options.sectionHierarchy : undefined,\n sectionActivity: typeof options.sectionActivity === \"string\" ? options.sectionActivity : undefined,\n sectionProgress: typeof options.sectionProgress === \"string\" ? options.sectionProgress : undefined,\n sectionBlockers: typeof options.sectionBlockers === \"string\" ? options.sectionBlockers : undefined,\n sectionFiles: typeof options.sectionFiles === \"string\" ? options.sectionFiles : undefined,\n sectionWorkload: typeof options.sectionWorkload === \"string\" ? options.sectionWorkload : undefined,\n sectionStaleness: typeof options.sectionStaleness === \"string\" ? options.sectionStaleness : undefined,\n sectionTests: typeof options.sectionTests === \"string\" ? options.sectionTests : undefined,\n },\n globalOptions,\n typeof resolvedValue === \"string\" ? resolvedValue : undefined,\n );\n printResult(result, globalOptions);\n if (globalOptions.profile) {\n printError(`profile:command=config took_ms=${Date.now() - startedAt}`);\n }\n });\n\n registerLifecycleCommand(program, \"extension\");\n registerLifecycleCommand(program, \"package\");\n\n addPackageScopeOptions(\n program\n .command(\"install\")\n .argument(\"[targets...]\", \"Package source (local path, bundled alias, npm: source, wildcard, or GitHub source)\")\n .option(\"--gh <github-source>\", \"Install from GitHub shorthand source (owner/repo[/path])\")\n .option(\"--github <github-source>\", \"Alias for --gh\")\n .option(\"--ref <ref>\", \"Git ref/branch/tag for GitHub install sources\")\n .description(\"Install a pm package into the project package scope by default.\"),\n ).action(async (targets: string[] | undefined, _options: Record<string, unknown>, command) => {\n const target = await normalizeInstallTargets(targets);\n await executeExtensionCommand(target, command.opts() as Record<string, unknown>, command, \"install\", \"package\");\n });\n\n addPackageScopeOptions(\n program\n .command(\"upgrade\")\n .argument(\"[target]\", \"Optional managed package name/source to upgrade; omit to upgrade pm CLI and all managed packages\")\n .option(\"--dry-run\", \"Plan CLI/package upgrades without running npm or reinstalling packages\")\n .option(\"--cli-only\", \"Upgrade only the pm CLI/SDK npm package\")\n .option(\"--packages-only\", \"Upgrade only managed pm packages\")\n .option(\"--repair\", \"Force npm global reinstall when upgrading the pm CLI/SDK\")\n .option(\"--tag <value>\", \"npm dist-tag/version for CLI and registry package upgrades\")\n .option(\"--package-name <value>\", \"Override the CLI package name for self-upgrade testing\")\n .description(\"Upgrade the pm CLI/SDK and refresh managed installable pm packages.\"),\n ).action(async (target: string | undefined, _options: Record<string, unknown>, command) => {\n const globalOptions = getGlobalOptions(command);\n const startedAt = Date.now();\n const { runUpgrade } = await import(\"./commands/upgrade.js\");\n const result = await runUpgrade(target, command.opts() as Record<string, unknown>, globalOptions);\n printResult(result, globalOptions);\n if (!result.ok) {\n process.exitCode = EXIT_CODE.GENERIC_FAILURE;\n }\n if (globalOptions.profile) {\n printError(`profile:command=upgrade took_ms=${Date.now() - startedAt}`);\n }\n });\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,QAAQ;AA6Bf,SAAS,0BACP,SACA,cACA,aAAyC,aAAW;AAEpD,QAAM,iBAAiB,CAAC,WAA+C,iBAAiB;AACxF,QAAM,cAAc,IAAI,SAA4B,KAAK,KAAK,CAAC,QAAQ,QA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