@unbrained/pm-cli 2026.7.14 → 2026.7.16

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 (708) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/CHANGELOG.md +54 -0
  3. package/README.md +14 -11
  4. package/dist/cli/argv-utils.d.ts +1 -4
  5. package/dist/cli/argv-utils.js +3 -13
  6. package/dist/cli/argv-utils.js.map +1 -1
  7. package/dist/cli/bootstrap-args.d.ts +6 -4
  8. package/dist/cli/bootstrap-args.js +51 -16
  9. package/dist/cli/bootstrap-args.js.map +1 -1
  10. package/dist/cli/bundle-integrity.d.ts +49 -0
  11. package/dist/cli/bundle-integrity.js +111 -0
  12. package/dist/cli/bundle-integrity.js.map +1 -0
  13. package/dist/cli/commands/completion.js +7 -2
  14. package/dist/cli/commands/completion.js.map +1 -1
  15. package/dist/cli/commands/config.d.ts +6 -163
  16. package/dist/cli/commands/config.js +4 -1133
  17. package/dist/cli/commands/config.js.map +1 -1
  18. package/dist/cli/commands/context.d.ts +2 -4
  19. package/dist/cli/commands/context.js +10 -85
  20. package/dist/cli/commands/context.js.map +1 -1
  21. package/dist/cli/commands/create.d.ts +1 -0
  22. package/dist/cli/commands/create.js +3 -2
  23. package/dist/cli/commands/create.js.map +1 -1
  24. package/dist/cli/commands/extension/describe.d.ts +2 -91
  25. package/dist/cli/commands/extension/describe.js +4 -142
  26. package/dist/cli/commands/extension/describe.js.map +1 -1
  27. package/dist/cli/commands/extension/scaffold.d.ts +2 -36
  28. package/dist/cli/commands/extension/scaffold.js +4 -2435
  29. package/dist/cli/commands/extension/scaffold.js.map +1 -1
  30. package/dist/cli/commands/extension/shared.d.ts +2 -28
  31. package/dist/cli/commands/extension/shared.js +4 -130
  32. package/dist/cli/commands/extension/shared.js.map +1 -1
  33. package/dist/cli/commands/extension.d.ts +3 -400
  34. package/dist/cli/commands/extension.js +4 -2183
  35. package/dist/cli/commands/extension.js.map +1 -1
  36. package/dist/cli/commands/gc.d.ts +6 -56
  37. package/dist/cli/commands/gc.js +4 -270
  38. package/dist/cli/commands/gc.js.map +1 -1
  39. package/dist/cli/commands/get.d.ts +18 -5
  40. package/dist/cli/commands/get.js +117 -58
  41. package/dist/cli/commands/get.js.map +1 -1
  42. package/dist/cli/commands/health.d.ts +6 -184
  43. package/dist/cli/commands/health.js +4 -1747
  44. package/dist/cli/commands/health.js.map +1 -1
  45. package/dist/cli/commands/history-compact.d.ts +4 -139
  46. package/dist/cli/commands/history-compact.js +5 -510
  47. package/dist/cli/commands/history-compact.js.map +1 -1
  48. package/dist/cli/commands/history-redact.d.ts +8 -120
  49. package/dist/cli/commands/history-redact.js +6 -581
  50. package/dist/cli/commands/history-redact.js.map +1 -1
  51. package/dist/cli/commands/history-repair.d.ts +7 -89
  52. package/dist/cli/commands/history-repair.js +5 -257
  53. package/dist/cli/commands/history-repair.js.map +1 -1
  54. package/dist/cli/commands/history.d.ts +1 -2
  55. package/dist/cli/commands/history.js +6 -48
  56. package/dist/cli/commands/history.js.map +1 -1
  57. package/dist/cli/commands/index.d.ts +1 -0
  58. package/dist/cli/commands/index.js +3 -2
  59. package/dist/cli/commands/index.js.map +1 -1
  60. package/dist/cli/commands/init-agent-guidance.d.ts +6 -113
  61. package/dist/cli/commands/init-agent-guidance.js +4 -431
  62. package/dist/cli/commands/init-agent-guidance.js.map +1 -1
  63. package/dist/cli/commands/init.d.ts +6 -181
  64. package/dist/cli/commands/init.js +4 -690
  65. package/dist/cli/commands/init.js.map +1 -1
  66. package/dist/cli/commands/next.js +3 -3
  67. package/dist/cli/commands/next.js.map +1 -1
  68. package/dist/cli/commands/profile.d.ts +4 -174
  69. package/dist/cli/commands/profile.js +4 -425
  70. package/dist/cli/commands/profile.js.map +1 -1
  71. package/dist/cli/commands/restore.d.ts +4 -19
  72. package/dist/cli/commands/restore.js +9 -158
  73. package/dist/cli/commands/restore.js.map +1 -1
  74. package/dist/cli/commands/schema.d.ts +7 -507
  75. package/dist/cli/commands/schema.js +5 -1254
  76. package/dist/cli/commands/schema.js.map +1 -1
  77. package/dist/cli/commands/test.d.ts +2 -4
  78. package/dist/cli/commands/test.js +7 -97
  79. package/dist/cli/commands/test.js.map +1 -1
  80. package/dist/cli/commands/validate.d.ts +9 -249
  81. package/dist/cli/commands/validate.js +9 -2150
  82. package/dist/cli/commands/validate.js.map +1 -1
  83. package/dist/cli/extension-command-help.js +18 -4
  84. package/dist/cli/extension-command-help.js.map +1 -1
  85. package/dist/cli/extension-command-options.js +3 -3
  86. package/dist/cli/extension-command-options.js.map +1 -1
  87. package/dist/cli/help-content.js +7 -3
  88. package/dist/cli/help-content.js.map +1 -1
  89. package/dist/cli/main.js +20 -30
  90. package/dist/cli/main.js.map +1 -1
  91. package/dist/cli/register-list-query.js +4 -2
  92. package/dist/cli/register-list-query.js.map +1 -1
  93. package/dist/cli/register-mutation.js +11 -3
  94. package/dist/cli/register-mutation.js.map +1 -1
  95. package/dist/cli/register-setup.js +4 -2
  96. package/dist/cli/register-setup.js.map +1 -1
  97. package/dist/cli/registration-helpers.js +3 -2
  98. package/dist/cli/registration-helpers.js.map +1 -1
  99. package/dist/cli-bundle/bundle-manifest.json +782 -0
  100. package/dist/cli-bundle/chunks/{append-PVZJDM6J.js → append-OJQFUQ4T.js} +5 -5
  101. package/dist/cli-bundle/chunks/append-UZVHUO74.js +11 -0
  102. package/dist/cli-bundle/chunks/{chunk-MQZ3PLCF.js → chunk-2IFFUZLC.js} +2 -2
  103. package/dist/cli-bundle/chunks/{chunk-P6MYFH6K.js → chunk-2JKGO6QX.js} +4 -4
  104. package/dist/cli-bundle/chunks/{chunk-X3GYR4P2.js → chunk-2NCIPMQP.js} +2 -2
  105. package/dist/cli-bundle/chunks/{chunk-Q7E6OYZK.js → chunk-2VPAVL7O.js} +2 -2
  106. package/dist/cli-bundle/chunks/{chunk-DRNJPEPQ.js → chunk-2WSE6PO2.js} +4 -4
  107. package/dist/cli-bundle/chunks/{chunk-FDSBDNYE.js → chunk-34L5OT3Y.js} +2 -2
  108. package/dist/cli-bundle/chunks/{chunk-TH7U4KLY.js → chunk-3AUGG2DP.js} +3 -3
  109. package/dist/cli-bundle/chunks/{chunk-NKW36AMT.js → chunk-3CLU2XZO.js} +4 -4
  110. package/dist/cli-bundle/chunks/{chunk-N3CMP4NI.js → chunk-3S5QVM5H.js} +43 -7
  111. package/dist/cli-bundle/chunks/chunk-3S5QVM5H.js.map +1 -0
  112. package/dist/cli-bundle/chunks/chunk-3U7ZR6M4.js +64 -0
  113. package/dist/cli-bundle/chunks/chunk-3U7ZR6M4.js.map +7 -0
  114. package/dist/cli-bundle/chunks/{chunk-ABRCOSDC.js → chunk-3WM75PWC.js} +3 -3
  115. package/dist/cli-bundle/chunks/chunk-4223PVZT.js +121 -0
  116. package/dist/cli-bundle/chunks/chunk-4223PVZT.js.map +7 -0
  117. package/dist/cli-bundle/chunks/{chunk-5URI7TPJ.js → chunk-4XQ3BDV4.js} +281 -164
  118. package/dist/cli-bundle/chunks/chunk-4XQ3BDV4.js.map +7 -0
  119. package/dist/cli-bundle/chunks/{chunk-X6BVXQ52.js → chunk-5JLUII3O.js} +13 -13
  120. package/dist/cli-bundle/chunks/{chunk-MKL4CP2I.js → chunk-5ZSLZLDN.js} +631 -246
  121. package/dist/cli-bundle/chunks/chunk-5ZSLZLDN.js.map +1 -0
  122. package/dist/cli-bundle/chunks/{chunk-Q37E63AM.js → chunk-6CFNAVTF.js} +21 -141
  123. package/dist/cli-bundle/chunks/chunk-6CFNAVTF.js.map +7 -0
  124. package/dist/cli-bundle/chunks/{chunk-3TL7WOEF.js → chunk-6N2VXVTQ.js} +2 -2
  125. package/dist/cli-bundle/chunks/{chunk-ERL2YFJ2.js → chunk-6S3YSUYG.js} +3 -3
  126. package/dist/cli-bundle/chunks/{chunk-ZUKSZVBW.js → chunk-7B67ZL4N.js} +8 -7
  127. package/dist/cli-bundle/chunks/chunk-7B67ZL4N.js.map +7 -0
  128. package/dist/cli-bundle/chunks/{chunk-IA3YFTXT.js → chunk-7PIWCHTW.js} +11 -13
  129. package/dist/cli-bundle/chunks/chunk-7PIWCHTW.js.map +1 -0
  130. package/dist/cli-bundle/chunks/{chunk-BPD26E3P.js → chunk-7Z4LKRS4.js} +291 -81
  131. package/dist/cli-bundle/chunks/chunk-7Z4LKRS4.js.map +1 -0
  132. package/dist/cli-bundle/chunks/{chunk-IFZA4VB5.js → chunk-AHVTB5I5.js} +4 -4
  133. package/dist/cli-bundle/chunks/{chunk-DO5RGJXT.js → chunk-APRVSW2O.js} +3 -3
  134. package/dist/cli-bundle/chunks/{chunk-NAQYVWSQ.js → chunk-B7PE22W6.js} +4 -4
  135. package/dist/cli-bundle/chunks/{chunk-MD6ULIPJ.js → chunk-BCOFWYW4.js} +3 -3
  136. package/dist/cli-bundle/chunks/{chunk-KADLSPIU.js → chunk-BEP7WJA2.js} +4 -4
  137. package/dist/cli-bundle/chunks/chunk-BKVG6XOA.js +1114 -0
  138. package/dist/cli-bundle/chunks/chunk-BKVG6XOA.js.map +7 -0
  139. package/dist/cli-bundle/chunks/{chunk-AFWZRL7M.js → chunk-BSEQUTQP.js} +2 -2
  140. package/dist/cli-bundle/chunks/{chunk-AFWZRL7M.js.map → chunk-BSEQUTQP.js.map} +2 -2
  141. package/dist/cli-bundle/chunks/{chunk-OBDLEQG5.js → chunk-CRVF2JDM.js} +10 -10
  142. package/dist/cli-bundle/chunks/{chunk-FJZDA6MS.js → chunk-DM4H7FP4.js} +3 -3
  143. package/dist/cli-bundle/chunks/chunk-DUT67M43.js +5 -0
  144. package/dist/cli-bundle/chunks/{chunk-44LNIULG.js → chunk-DYH63FX7.js} +4 -4
  145. package/dist/cli-bundle/chunks/{chunk-LWTIRS3Y.js → chunk-E2OJMKML.js} +306 -82
  146. package/dist/cli-bundle/chunks/chunk-E2OJMKML.js.map +7 -0
  147. package/dist/cli-bundle/chunks/{chunk-HAMLIWAF.js → chunk-EAB64KLB.js} +4 -4
  148. package/dist/cli-bundle/chunks/{chunk-CIOZ376P.js → chunk-EACOH7AU.js} +10 -10
  149. package/dist/cli-bundle/chunks/{chunk-HL7V2PHX.js → chunk-EH2OPHBI.js} +10 -10
  150. package/dist/cli-bundle/chunks/{chunk-HL7V2PHX.js.map → chunk-EH2OPHBI.js.map} +1 -1
  151. package/dist/cli-bundle/chunks/{chunk-QK2ZN6UL.js → chunk-EJEXHTY5.js} +2 -2
  152. package/dist/cli-bundle/chunks/{chunk-WQUEHPZB.js → chunk-EYLCSJAI.js} +2 -2
  153. package/dist/cli-bundle/chunks/{chunk-655STMGA.js → chunk-FMBNM2EN.js} +2 -2
  154. package/dist/cli-bundle/chunks/{chunk-RMF3IOYQ.js → chunk-FNSPG7MU.js} +12 -12
  155. package/dist/cli-bundle/chunks/{chunk-5CT5BW6E.js → chunk-GM5QHQU6.js} +46 -40
  156. package/dist/cli-bundle/chunks/chunk-GM5QHQU6.js.map +7 -0
  157. package/dist/cli-bundle/chunks/{chunk-FTQLW4JD.js → chunk-GOSLKLFE.js} +418 -24
  158. package/dist/cli-bundle/chunks/chunk-GOSLKLFE.js.map +1 -0
  159. package/dist/cli-bundle/chunks/{chunk-KB726FMH.js → chunk-H2Z3FYXQ.js} +4 -4
  160. package/dist/cli-bundle/chunks/chunk-H3EIEWGR.js +162 -0
  161. package/dist/cli-bundle/chunks/chunk-H3EIEWGR.js.map +1 -0
  162. package/dist/cli-bundle/chunks/{chunk-2QIQGYPW.js → chunk-H5APFTHZ.js} +53 -10
  163. package/dist/cli-bundle/chunks/chunk-H5APFTHZ.js.map +7 -0
  164. package/dist/cli-bundle/chunks/chunk-HDH3JUGG.js +118 -0
  165. package/dist/cli-bundle/chunks/chunk-HDH3JUGG.js.map +1 -0
  166. package/dist/cli-bundle/chunks/{chunk-ZAYYDNB3.js → chunk-HO4KXD6I.js} +22 -142
  167. package/dist/cli-bundle/chunks/chunk-HO4KXD6I.js.map +1 -0
  168. package/dist/cli-bundle/chunks/{chunk-ILLUE5DI.js → chunk-HYB5AZ63.js} +203 -62
  169. package/dist/cli-bundle/chunks/{chunk-ILLUE5DI.js.map → chunk-HYB5AZ63.js.map} +3 -3
  170. package/dist/cli-bundle/chunks/{chunk-BN62TO2S.js → chunk-IA5FKNII.js} +2 -2
  171. package/dist/cli-bundle/chunks/{chunk-JL7WZ4O2.js → chunk-IG3SWA4A.js} +33 -9
  172. package/dist/cli-bundle/chunks/chunk-IG3SWA4A.js.map +7 -0
  173. package/dist/cli-bundle/chunks/{chunk-W6HZ55JO.js → chunk-IJIICKVW.js} +2 -2
  174. package/dist/cli-bundle/chunks/{chunk-IGED7NH2.js → chunk-ILX33QXL.js} +668 -251
  175. package/dist/cli-bundle/chunks/chunk-ILX33QXL.js.map +7 -0
  176. package/dist/cli-bundle/chunks/{chunk-UGTVWL3E.js → chunk-INU6DKT5.js} +47 -41
  177. package/dist/cli-bundle/chunks/chunk-INU6DKT5.js.map +1 -0
  178. package/dist/cli-bundle/chunks/{chunk-UB2QYSTO.js → chunk-J5AOEGDC.js} +26 -18
  179. package/dist/cli-bundle/chunks/chunk-J5AOEGDC.js.map +1 -0
  180. package/dist/cli-bundle/chunks/{chunk-4DY4KPQI.js → chunk-J6364LFM.js} +1330 -937
  181. package/dist/cli-bundle/chunks/chunk-J6364LFM.js.map +7 -0
  182. package/dist/cli-bundle/chunks/{chunk-DVOLZJ3C.js → chunk-J6EY5V4N.js} +1295 -939
  183. package/dist/cli-bundle/chunks/chunk-J6EY5V4N.js.map +1 -0
  184. package/dist/cli-bundle/chunks/chunk-JFTKLTEF.js +1097 -0
  185. package/dist/cli-bundle/chunks/chunk-JFTKLTEF.js.map +1 -0
  186. package/dist/cli-bundle/chunks/{chunk-M7EWN4TF.js → chunk-JOUQZENX.js} +3 -3
  187. package/dist/cli-bundle/chunks/{chunk-J4NZOP3I.js → chunk-JXQUXVMI.js} +9 -8
  188. package/dist/cli-bundle/chunks/chunk-JXQUXVMI.js.map +1 -0
  189. package/dist/cli-bundle/chunks/{chunk-2FNWQXZ2.js → chunk-JYFOV7FC.js} +4 -4
  190. package/dist/cli-bundle/chunks/{chunk-HLHSQ5CA.js → chunk-K2X6U4UA.js} +4 -4
  191. package/dist/cli-bundle/chunks/{chunk-6OTZMORS.js → chunk-K3WII2ME.js} +27 -27
  192. package/dist/cli-bundle/chunks/chunk-K3WII2ME.js.map +7 -0
  193. package/dist/cli-bundle/chunks/{chunk-M6ASXYCU.js → chunk-KG44YSKD.js} +4 -4
  194. package/dist/cli-bundle/chunks/{chunk-YVKE5ZDM.js → chunk-KPMKHGEA.js} +4 -4
  195. package/dist/cli-bundle/chunks/{chunk-QASRVKUQ.js → chunk-LPYWLWDS.js} +257 -163
  196. package/dist/cli-bundle/chunks/chunk-LPYWLWDS.js.map +1 -0
  197. package/dist/cli-bundle/chunks/{chunk-RGXD5JJR.js → chunk-LSG2U345.js} +19 -12
  198. package/dist/cli-bundle/chunks/chunk-LSG2U345.js.map +7 -0
  199. package/dist/cli-bundle/chunks/chunk-MIQDDLB5.js +5 -0
  200. package/dist/cli-bundle/chunks/{chunk-UJ4HJYWL.js → chunk-NLDFBC6J.js} +2 -2
  201. package/dist/cli-bundle/chunks/{chunk-WRKB56FC.js → chunk-NP22ERDF.js} +3 -3
  202. package/dist/cli-bundle/chunks/{chunk-YQYG2V23.js → chunk-NU3IMIEA.js} +2 -2
  203. package/dist/cli-bundle/chunks/{chunk-3I3LRT2G.js → chunk-NVPZIJVR.js} +2 -2
  204. package/dist/cli-bundle/chunks/{chunk-JAF4TUQ7.js → chunk-ODALILG3.js} +2 -2
  205. package/dist/cli-bundle/chunks/{chunk-CDJYP7OQ.js → chunk-ONG5V5CI.js} +190 -63
  206. package/dist/cli-bundle/chunks/chunk-ONG5V5CI.js.map +1 -0
  207. package/dist/cli-bundle/chunks/{chunk-QZ7LT3XE.js → chunk-ONREO4ST.js} +3 -3
  208. package/dist/cli-bundle/chunks/chunk-OW4JWD5M.js +61 -0
  209. package/dist/cli-bundle/chunks/chunk-OW4JWD5M.js.map +1 -0
  210. package/dist/cli-bundle/chunks/{chunk-3CMRNVTO.js → chunk-P74IZQ7A.js} +12 -12
  211. package/dist/cli-bundle/chunks/chunk-PENXZX3U.js +172 -0
  212. package/dist/cli-bundle/chunks/chunk-PENXZX3U.js.map +7 -0
  213. package/dist/cli-bundle/chunks/{chunk-ZTRBSABY.js → chunk-PGY23YTC.js} +3 -3
  214. package/dist/cli-bundle/chunks/{chunk-H2QBAKLQ.js → chunk-PMOSXADO.js} +3 -3
  215. package/dist/cli-bundle/chunks/chunk-PNTULOGU.js +9 -0
  216. package/dist/cli-bundle/chunks/{chunk-GSEADLRH.js → chunk-Q7A43DS4.js} +2 -2
  217. package/dist/cli-bundle/chunks/{chunk-QSPARJWF.js → chunk-QEHQ2GVG.js} +2 -2
  218. package/dist/cli-bundle/chunks/{chunk-VJTAEIPC.js → chunk-QIPLHNP7.js} +7 -7
  219. package/dist/cli-bundle/chunks/{chunk-GXXC7QSK.js → chunk-QKECXBBG.js} +3 -3
  220. package/dist/cli-bundle/chunks/{chunk-GXXC7QSK.js.map → chunk-QKECXBBG.js.map} +1 -1
  221. package/dist/cli-bundle/chunks/{chunk-K7WNZ7KD.js → chunk-QKJGPFAF.js} +3 -3
  222. package/dist/cli-bundle/chunks/{chunk-F7PSHRNO.js → chunk-QKXHFPYM.js} +27 -10
  223. package/dist/cli-bundle/chunks/chunk-QKXHFPYM.js.map +1 -0
  224. package/dist/cli-bundle/chunks/{chunk-ZNP64HOW.js → chunk-RLCHOOHC.js} +2 -2
  225. package/dist/cli-bundle/chunks/{chunk-IAPHYPRL.js → chunk-RMLWNPH2.js} +2 -2
  226. package/dist/cli-bundle/chunks/{chunk-UVBA6F5A.js → chunk-RRM5JYJC.js} +2 -2
  227. package/dist/cli-bundle/chunks/{chunk-6IIVBC56.js → chunk-S6MQESFR.js} +4 -4
  228. package/dist/cli-bundle/chunks/{chunk-QABYZYLU.js → chunk-SDQLJWBO.js} +4 -4
  229. package/dist/cli-bundle/chunks/{chunk-ANSJHDOZ.js → chunk-SELVXEZK.js} +2 -2
  230. package/dist/cli-bundle/chunks/{chunk-DYEX6NFH.js → chunk-TD3LVC7D.js} +438 -23
  231. package/dist/cli-bundle/chunks/chunk-TD3LVC7D.js.map +7 -0
  232. package/dist/cli-bundle/chunks/{chunk-WD6MSYMP.js → chunk-TKOVBP6C.js} +2 -2
  233. package/dist/cli-bundle/chunks/{chunk-TZ2PSLLT.js → chunk-TQSZFPIS.js} +4 -4
  234. package/dist/cli-bundle/chunks/{chunk-WPAWZW7S.js → chunk-TSMHDIW4.js} +2 -2
  235. package/dist/cli-bundle/chunks/{chunk-TZRTLMWM.js → chunk-UFXU44HV.js} +4 -4
  236. package/dist/cli-bundle/chunks/{chunk-TWLDBKQU.js → chunk-ULTHRDBP.js} +3 -3
  237. package/dist/cli-bundle/chunks/{chunk-OI4S4KCI.js → chunk-UMOPHQSU.js} +9 -9
  238. package/dist/cli-bundle/chunks/{chunk-OI4S4KCI.js.map → chunk-UMOPHQSU.js.map} +2 -2
  239. package/dist/cli-bundle/chunks/{chunk-RA5AIAMP.js → chunk-UOHFKBUV.js} +3 -3
  240. package/dist/cli-bundle/chunks/{chunk-PHKP3AGR.js → chunk-UWQHLMEB.js} +35 -18
  241. package/dist/cli-bundle/chunks/chunk-UWQHLMEB.js.map +7 -0
  242. package/dist/cli-bundle/chunks/{chunk-6TTOHMTB.js → chunk-UXONS674.js} +45 -112
  243. package/dist/cli-bundle/chunks/chunk-UXONS674.js.map +1 -0
  244. package/dist/cli-bundle/chunks/{chunk-4RXTMU57.js → chunk-UY2ACEMF.js} +7 -7
  245. package/dist/cli-bundle/chunks/{chunk-6PKA3SJQ.js → chunk-WQPUU7XD.js} +19 -28
  246. package/dist/cli-bundle/chunks/chunk-WQPUU7XD.js.map +1 -0
  247. package/dist/cli-bundle/chunks/{chunk-7TQMR6LK.js → chunk-WT3ZEOGH.js} +70 -20
  248. package/dist/cli-bundle/chunks/chunk-WT3ZEOGH.js.map +7 -0
  249. package/dist/cli-bundle/chunks/{chunk-FIGXOCEQ.js → chunk-WUJQK4YV.js} +4 -4
  250. package/dist/cli-bundle/chunks/{chunk-T4BRCB6Z.js → chunk-XSJUSQAE.js} +2 -2
  251. package/dist/cli-bundle/chunks/{chunk-6MHSBDGD.js → chunk-XXXF6PAQ.js} +50 -117
  252. package/dist/cli-bundle/chunks/chunk-XXXF6PAQ.js.map +7 -0
  253. package/dist/cli-bundle/chunks/{chunk-UKUIIBDW.js → chunk-YAQEBNY7.js} +4 -4
  254. package/dist/cli-bundle/chunks/{chunk-7QDSYUMF.js → chunk-YAROI3PD.js} +44 -21
  255. package/dist/cli-bundle/chunks/chunk-YAROI3PD.js.map +1 -0
  256. package/dist/cli-bundle/chunks/{chunk-E2WC6S4P.js → chunk-YBLZ2VE7.js} +13 -13
  257. package/dist/cli-bundle/chunks/{chunk-Y72FV7RM.js → chunk-YCQET3OT.js} +2 -2
  258. package/dist/cli-bundle/chunks/chunk-YUSOJDWM.js +9 -0
  259. package/dist/cli-bundle/chunks/chunk-YXSHIAUJ.js +58 -0
  260. package/dist/cli-bundle/chunks/chunk-YXSHIAUJ.js.map +1 -0
  261. package/dist/cli-bundle/chunks/{chunk-FS6UM5WH.js → chunk-ZI6VQWQ7.js} +4 -4
  262. package/dist/cli-bundle/chunks/chunk-ZKRZY773.js +68 -0
  263. package/dist/cli-bundle/chunks/chunk-ZKRZY773.js.map +7 -0
  264. package/dist/cli-bundle/chunks/{close-LZECOMHO.js → close-CWODTPKG.js} +5 -5
  265. package/dist/cli-bundle/chunks/close-W6LI2PKM.js +12 -0
  266. package/dist/cli-bundle/chunks/{close-many-ZHI6A5TN.js → close-many-CQFUY7MR.js} +15 -13
  267. package/dist/cli-bundle/chunks/close-many-DLDDVSH5.js +23 -0
  268. package/dist/cli-bundle/chunks/comments-E3TNTK24.js +13 -0
  269. package/dist/cli-bundle/chunks/{comments-AJWRTFZ5.js → comments-WGLHR7LB.js} +7 -7
  270. package/dist/cli-bundle/chunks/{copy-GMXYKBXT.js → copy-LXVDXH7B.js} +4 -4
  271. package/dist/cli-bundle/chunks/copy-Q5ZJPUKR.js +9 -0
  272. package/dist/cli-bundle/chunks/{create-F53OBTOU.js → create-J5U6ND4K.js} +9 -9
  273. package/dist/cli-bundle/chunks/{create-HU4Q7RJX.js → create-LBVCYMEG.js} +9 -9
  274. package/dist/cli-bundle/chunks/{delete-GSDZLTRC.js → delete-PMJBNY5G.js} +4 -4
  275. package/dist/cli-bundle/chunks/delete-WNHB3LYW.js +10 -0
  276. package/dist/cli-bundle/chunks/{deps-WWB7P2GT.js → deps-JZ7TMVCB.js} +7 -4
  277. package/dist/cli-bundle/chunks/{deps-U57I7EAK.js → deps-OA26IS25.js} +7 -4
  278. package/dist/cli-bundle/chunks/{docs-MQIY2ZQS.js → docs-FEWB2DQB.js} +6 -6
  279. package/dist/cli-bundle/chunks/docs-HA2AIDBB.js +14 -0
  280. package/dist/cli-bundle/chunks/{files-TBZD7V6H.js → files-6YFBJRBG.js} +6 -6
  281. package/dist/cli-bundle/chunks/{files-TTY6N2AV.js → files-EFIWKFTM.js} +6 -6
  282. package/dist/cli-bundle/chunks/{focus-XT6YVFFX.js → focus-4QJR7FOQ.js} +5 -5
  283. package/dist/cli-bundle/chunks/focus-POIW5LTJ.js +10 -0
  284. package/dist/cli-bundle/chunks/{history-compact-KKVUWB4V.js → history-compact-CKRPDTJN.js} +6 -10
  285. package/dist/cli-bundle/chunks/history-compact-FWG2C7FZ.js +16 -0
  286. package/dist/cli-bundle/chunks/history-redact-BB3TGDAE.js +15 -0
  287. package/dist/cli-bundle/chunks/{history-redact-3DVZOILD.js → history-redact-D225BHOZ.js} +5 -6
  288. package/dist/cli-bundle/chunks/history-repair-6GEAM7HE.js +16 -0
  289. package/dist/cli-bundle/chunks/{history-repair-ITDUMK4N.js → history-repair-RQXKQHL4.js} +6 -8
  290. package/dist/cli-bundle/chunks/{learnings-FGO3NSFW.js → learnings-JLNLCOL5.js} +7 -7
  291. package/dist/cli-bundle/chunks/learnings-RSNLSWDC.js +13 -0
  292. package/dist/cli-bundle/chunks/notes-2WDH6DXU.js +13 -0
  293. package/dist/cli-bundle/chunks/{notes-NQ6RXVW6.js → notes-GB47XXQQ.js} +7 -7
  294. package/dist/cli-bundle/chunks/plan-DOVI2VMW.js +24 -0
  295. package/dist/cli-bundle/chunks/{plan-2NNEO46V.js → plan-VDCJ2PCN.js} +10 -10
  296. package/dist/cli-bundle/chunks/{profile-AAQUU6T3.js → profile-FAU7NZML.js} +10 -10
  297. package/dist/cli-bundle/chunks/{profile-U725ATWZ.js → profile-IVXQEL3D.js} +10 -10
  298. package/dist/cli-bundle/chunks/{register-list-query-BUWCYHBT.js → register-list-query-DKA3EH5D.js} +22 -19
  299. package/dist/cli-bundle/chunks/register-list-query-DKA3EH5D.js.map +7 -0
  300. package/dist/cli-bundle/chunks/{register-list-query-KTZ6AGE7.js → register-list-query-UL4UKBBN.js} +23 -20
  301. package/dist/cli-bundle/chunks/register-list-query-UL4UKBBN.js.map +1 -0
  302. package/dist/cli-bundle/chunks/{register-mutation-UELYYOR7.js → register-mutation-ARFHRW55.js} +36 -32
  303. package/dist/cli-bundle/chunks/{register-mutation-UELYYOR7.js.map → register-mutation-ARFHRW55.js.map} +2 -2
  304. package/dist/cli-bundle/chunks/{register-mutation-4FMGJJF7.js → register-mutation-RBBJ52DK.js} +37 -33
  305. package/dist/cli-bundle/chunks/register-mutation-RBBJ52DK.js.map +1 -0
  306. package/dist/cli-bundle/chunks/{register-operations-JVW24J2Y.js → register-operations-ZIBBRSED.js} +41 -39
  307. package/dist/cli-bundle/chunks/{register-operations-JVW24J2Y.js.map → register-operations-ZIBBRSED.js.map} +1 -1
  308. package/dist/cli-bundle/chunks/{register-operations-ISUX6LY5.js → register-operations-ZUJ5JWPE.js} +39 -37
  309. package/dist/cli-bundle/chunks/{register-operations-ISUX6LY5.js.map → register-operations-ZUJ5JWPE.js.map} +1 -1
  310. package/dist/cli-bundle/chunks/{register-setup-5XNGKJ22.js → register-setup-BCVLFEYS.js} +29 -17
  311. package/dist/cli-bundle/chunks/{register-setup-5XNGKJ22.js.map → register-setup-BCVLFEYS.js.map} +2 -2
  312. package/dist/cli-bundle/chunks/{register-setup-ZTNY6S7R.js → register-setup-TDCGWIOS.js} +19 -18
  313. package/dist/cli-bundle/chunks/{register-setup-ZTNY6S7R.js.map → register-setup-TDCGWIOS.js.map} +1 -1
  314. package/dist/cli-bundle/chunks/{restore-B3BAB6X2.js → restore-25DLT2Q2.js} +6 -6
  315. package/dist/cli-bundle/chunks/restore-YPMVUUEX.js +14 -0
  316. package/dist/cli-bundle/chunks/{schema-U7IM2DXV.js → schema-FNU3WE4O.js} +7 -6
  317. package/dist/cli-bundle/chunks/{schema-LZNUYHDB.js → schema-NBCM3RAD.js} +7 -6
  318. package/dist/cli-bundle/chunks/update-WWBYOPXO.js +21 -0
  319. package/dist/cli-bundle/chunks/update-WWBYOPXO.js.map +7 -0
  320. package/dist/cli-bundle/chunks/{update-Q3UCILNR.js → update-XHSIAIXE.js} +12 -12
  321. package/dist/cli-bundle/chunks/update-XHSIAIXE.js.map +1 -0
  322. package/dist/cli-bundle/chunks/update-many-OUGIU5SF.js +32 -0
  323. package/dist/cli-bundle/chunks/update-many-OUGIU5SF.js.map +7 -0
  324. package/dist/cli-bundle/chunks/update-many-TA7NGQBO.js +36 -0
  325. package/dist/cli-bundle/chunks/update-many-TA7NGQBO.js.map +1 -0
  326. package/dist/cli-bundle/main.js +826 -43
  327. package/dist/cli-bundle/main.js.map +4 -4
  328. package/dist/cli-bundle/sdk-runtime.js +70 -57
  329. package/dist/cli-bundle/sdk-testing.js +6 -6
  330. package/dist/cli-bundle/sdk.js +876 -74
  331. package/dist/cli-bundle/sdk.js.map +4 -4
  332. package/dist/cli.js +5 -4
  333. package/dist/cli.js.map +1 -1
  334. package/dist/core/diagnostics/remediation.js +12 -2
  335. package/dist/core/diagnostics/remediation.js.map +1 -1
  336. package/dist/core/history/projection.d.ts +39 -0
  337. package/dist/core/history/projection.js +164 -0
  338. package/dist/core/history/projection.js.map +1 -0
  339. package/dist/core/history/read.d.ts +3 -0
  340. package/dist/core/history/read.js +55 -0
  341. package/dist/core/history/read.js.map +1 -0
  342. package/dist/core/output/output-control.d.ts +18 -0
  343. package/dist/core/output/output-control.js +26 -0
  344. package/dist/core/output/output-control.js.map +1 -0
  345. package/dist/core/output/output.js +20 -8
  346. package/dist/core/output/output.js.map +1 -1
  347. package/dist/core/sentry/helpers.js +10 -2
  348. package/dist/core/sentry/helpers.js.map +1 -1
  349. package/dist/core/shared/command-types.d.ts +2 -0
  350. package/dist/core/shared/command-types.js +2 -2
  351. package/dist/core/shared/command-types.js.map +1 -1
  352. package/dist/core/shared/errors.d.ts +11 -0
  353. package/dist/core/shared/errors.js +2 -2
  354. package/dist/core/shared/errors.js.map +1 -1
  355. package/dist/mcp/server.d.ts +2 -2
  356. package/dist/mcp/tool-definitions.js +5 -5
  357. package/dist/mcp/tool-definitions.js.map +1 -1
  358. package/dist/sdk/author-attribution.d.ts +35 -0
  359. package/dist/sdk/author-attribution.js +118 -0
  360. package/dist/sdk/author-attribution.js.map +1 -0
  361. package/dist/sdk/cli-contracts/command-aliases.d.ts +7 -0
  362. package/dist/sdk/cli-contracts/command-aliases.js +17 -0
  363. package/dist/sdk/cli-contracts/command-aliases.js.map +1 -0
  364. package/dist/sdk/cli-contracts/flag-contracts.js +5 -2
  365. package/dist/sdk/cli-contracts/flag-contracts.js.map +1 -1
  366. package/dist/sdk/cli-contracts/tool-option-contracts.js +6 -2
  367. package/dist/sdk/cli-contracts/tool-option-contracts.js.map +1 -1
  368. package/dist/sdk/cli-contracts/tool-parameter-tables.js +21 -2
  369. package/dist/sdk/cli-contracts/tool-parameter-tables.js.map +1 -1
  370. package/dist/sdk/cli-contracts/tool-schema.js +3 -3
  371. package/dist/sdk/cli-contracts/tool-schema.js.map +1 -1
  372. package/dist/sdk/cli-contracts.d.ts +1 -0
  373. package/dist/sdk/cli-contracts.js +3 -2
  374. package/dist/sdk/cli-contracts.js.map +1 -1
  375. package/dist/sdk/cli-program.d.ts +8 -0
  376. package/dist/sdk/cli-program.js +39 -0
  377. package/dist/sdk/cli-program.js.map +1 -0
  378. package/dist/sdk/command-line.d.ts +11 -0
  379. package/dist/sdk/command-line.js +40 -0
  380. package/dist/sdk/command-line.js.map +1 -0
  381. package/dist/sdk/config.d.ts +163 -0
  382. package/dist/sdk/config.js +1087 -0
  383. package/dist/sdk/config.js.map +1 -0
  384. package/dist/sdk/context-relevance.d.ts +21 -0
  385. package/dist/sdk/context-relevance.js +70 -2
  386. package/dist/sdk/context-relevance.js.map +1 -1
  387. package/dist/sdk/dependencies.d.ts +15 -2
  388. package/dist/sdk/dependencies.js +97 -8
  389. package/dist/sdk/dependencies.js.map +1 -1
  390. package/dist/{cli/commands → sdk}/extension/bundled-catalog.d.ts +1 -1
  391. package/dist/{cli/commands → sdk}/extension/bundled-catalog.js +12 -12
  392. package/dist/sdk/extension/bundled-catalog.js.map +1 -0
  393. package/dist/sdk/extension/concurrency.d.ts +7 -0
  394. package/dist/sdk/extension/concurrency.js +26 -0
  395. package/dist/sdk/extension/concurrency.js.map +1 -0
  396. package/dist/sdk/extension/describe.d.ts +91 -0
  397. package/dist/sdk/extension/describe.js +144 -0
  398. package/dist/sdk/extension/describe.js.map +1 -0
  399. package/dist/{cli/commands → sdk}/extension/doctor.d.ts +3 -3
  400. package/dist/{cli/commands → sdk}/extension/doctor.js +7 -7
  401. package/dist/sdk/extension/doctor.js.map +1 -0
  402. package/dist/sdk/extension/install-runtime.d.ts +26 -0
  403. package/dist/sdk/extension/install-runtime.js +269 -0
  404. package/dist/sdk/extension/install-runtime.js.map +1 -0
  405. package/dist/sdk/extension/install-snapshot.d.ts +23 -0
  406. package/dist/sdk/extension/install-snapshot.js +66 -0
  407. package/dist/sdk/extension/install-snapshot.js.map +1 -0
  408. package/dist/{cli/commands → sdk}/extension/install-sources.d.ts +3 -3
  409. package/dist/{cli/commands → sdk}/extension/install-sources.js +15 -12
  410. package/dist/sdk/extension/install-sources.js.map +1 -0
  411. package/dist/{cli/commands → sdk}/extension/managed-state.js +6 -6
  412. package/dist/sdk/extension/managed-state.js.map +1 -0
  413. package/dist/sdk/extension/scaffold.d.ts +36 -0
  414. package/dist/sdk/extension/scaffold.js +2436 -0
  415. package/dist/sdk/extension/scaffold.js.map +1 -0
  416. package/dist/sdk/extension/shared.d.ts +28 -0
  417. package/dist/sdk/extension/shared.js +140 -0
  418. package/dist/sdk/extension/shared.js.map +1 -0
  419. package/dist/sdk/extension/update-check.d.ts +15 -0
  420. package/dist/sdk/extension/update-check.js +68 -0
  421. package/dist/sdk/extension/update-check.js.map +1 -0
  422. package/dist/sdk/extension.d.ts +367 -0
  423. package/dist/sdk/extension.js +2174 -0
  424. package/dist/sdk/extension.js.map +1 -0
  425. package/dist/sdk/governance/gc.d.ts +56 -0
  426. package/dist/sdk/governance/gc.js +276 -0
  427. package/dist/sdk/governance/gc.js.map +1 -0
  428. package/dist/sdk/governance/health.d.ts +187 -0
  429. package/dist/sdk/governance/health.js +1796 -0
  430. package/dist/sdk/governance/health.js.map +1 -0
  431. package/dist/sdk/governance/validate.d.ts +255 -0
  432. package/dist/sdk/governance/validate.js +2175 -0
  433. package/dist/sdk/governance/validate.js.map +1 -0
  434. package/dist/sdk/history-compact.d.ts +142 -0
  435. package/dist/sdk/history-compact.js +508 -0
  436. package/dist/sdk/history-compact.js.map +1 -0
  437. package/dist/sdk/history-mcp.d.ts +17 -0
  438. package/dist/sdk/history-mcp.js +68 -0
  439. package/dist/sdk/history-mcp.js.map +1 -0
  440. package/dist/sdk/history-read.d.ts +31 -0
  441. package/dist/sdk/history-read.js +58 -0
  442. package/dist/sdk/history-read.js.map +1 -0
  443. package/dist/sdk/history-redact.d.ts +120 -0
  444. package/dist/sdk/history-redact.js +577 -0
  445. package/dist/sdk/history-redact.js.map +1 -0
  446. package/dist/sdk/history-repair.d.ts +89 -0
  447. package/dist/sdk/history-repair.js +263 -0
  448. package/dist/sdk/history-repair.js.map +1 -0
  449. package/dist/sdk/index.d.ts +25 -1
  450. package/dist/sdk/index.js +27 -3
  451. package/dist/sdk/index.js.map +1 -1
  452. package/dist/sdk/init-agent-guidance.d.ts +113 -0
  453. package/dist/sdk/init-agent-guidance.js +437 -0
  454. package/dist/sdk/init-agent-guidance.js.map +1 -0
  455. package/dist/sdk/init.d.ts +186 -0
  456. package/dist/sdk/init.js +733 -0
  457. package/dist/sdk/init.js.map +1 -0
  458. package/dist/sdk/invocation-author.d.ts +2 -0
  459. package/dist/sdk/invocation-author.js +39 -0
  460. package/dist/sdk/invocation-author.js.map +1 -0
  461. package/dist/sdk/item-children.d.ts +45 -0
  462. package/dist/sdk/item-children.js +75 -0
  463. package/dist/sdk/item-children.js.map +1 -0
  464. package/dist/sdk/item-schedule.d.ts +26 -0
  465. package/dist/sdk/item-schedule.js +28 -0
  466. package/dist/sdk/item-schedule.js.map +1 -0
  467. package/dist/sdk/output.d.ts +7 -0
  468. package/dist/sdk/output.js +11 -0
  469. package/dist/sdk/output.js.map +1 -0
  470. package/dist/sdk/pagination.d.ts +4 -1
  471. package/dist/sdk/pagination.js +13 -5
  472. package/dist/sdk/pagination.js.map +1 -1
  473. package/dist/sdk/profile.d.ts +176 -0
  474. package/dist/sdk/profile.js +431 -0
  475. package/dist/sdk/profile.js.map +1 -0
  476. package/dist/sdk/relationship-analytics.d.ts +108 -0
  477. package/dist/sdk/relationship-analytics.js +292 -0
  478. package/dist/sdk/relationship-analytics.js.map +1 -0
  479. package/dist/sdk/relationship-context.d.ts +67 -0
  480. package/dist/sdk/relationship-context.js +207 -0
  481. package/dist/sdk/relationship-context.js.map +1 -0
  482. package/dist/sdk/relationship-history.d.ts +109 -0
  483. package/dist/sdk/relationship-history.js +401 -0
  484. package/dist/sdk/relationship-history.js.map +1 -0
  485. package/dist/sdk/relationships.d.ts +145 -0
  486. package/dist/sdk/relationships.js +551 -0
  487. package/dist/sdk/relationships.js.map +1 -0
  488. package/dist/sdk/runtime-input.d.ts +10 -0
  489. package/dist/sdk/runtime-input.js +60 -0
  490. package/dist/sdk/runtime-input.js.map +1 -0
  491. package/dist/sdk/runtime.d.ts +31 -8
  492. package/dist/sdk/runtime.js +61 -57
  493. package/dist/sdk/runtime.js.map +1 -1
  494. package/dist/sdk/schema.d.ts +507 -0
  495. package/dist/sdk/schema.js +1269 -0
  496. package/dist/sdk/schema.js.map +1 -0
  497. package/dist/{cli/commands → sdk}/templates.d.ts +1 -1
  498. package/dist/{cli/commands → sdk}/templates.js +9 -9
  499. package/dist/sdk/templates.js.map +1 -0
  500. package/dist/{cli/commands → sdk}/test/linked-command-detection.d.ts +10 -2
  501. package/dist/sdk/test/linked-command-detection.js +525 -0
  502. package/dist/sdk/test/linked-command-detection.js.map +1 -0
  503. package/docs/COMMANDS.md +58 -40
  504. package/docs/EXTENSIONS.md +10 -1
  505. package/docs/RELATIONSHIP_GRAPH.md +113 -0
  506. package/docs/RELEASING.md +2 -0
  507. package/docs/SDK.md +156 -9
  508. package/docs/SDK_CUSTOMIZATION_PRIMITIVES.md +79 -0
  509. package/marketplace.json +2 -2
  510. package/package.json +3 -2
  511. package/packages/pm-beads/package.json +1 -1
  512. package/packages/pm-calendar/package.json +1 -1
  513. package/packages/pm-command-kit/package.json +1 -1
  514. package/packages/pm-governance-audit/extensions/governance-audit/runtime-utils.ts +76 -16
  515. package/packages/pm-governance-audit/extensions/governance-audit/sdk.ts +8 -0
  516. package/packages/pm-governance-audit/package.json +1 -1
  517. package/packages/pm-guide-shell/package.json +1 -1
  518. package/packages/pm-kanban/package.json +1 -1
  519. package/packages/pm-lifecycle-hooks/package.json +1 -1
  520. package/packages/pm-linked-test-adapters/package.json +1 -1
  521. package/packages/pm-search-advanced/package.json +1 -1
  522. package/packages/pm-templates/package.json +1 -1
  523. package/packages/pm-todos/package.json +1 -1
  524. package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
  525. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  526. package/scripts/bundle-cli.mjs +66 -23
  527. package/dist/cli/commands/extension/bundled-catalog.js.map +0 -1
  528. package/dist/cli/commands/extension/doctor.js.map +0 -1
  529. package/dist/cli/commands/extension/install-sources.js.map +0 -1
  530. package/dist/cli/commands/extension/managed-state.js.map +0 -1
  531. package/dist/cli/commands/templates.js.map +0 -1
  532. package/dist/cli/commands/test/linked-command-detection.js +0 -248
  533. package/dist/cli/commands/test/linked-command-detection.js.map +0 -1
  534. package/dist/cli-bundle/chunks/append-DYQWQK2J.js +0 -11
  535. package/dist/cli-bundle/chunks/chunk-2GA3NK35.js +0 -530
  536. package/dist/cli-bundle/chunks/chunk-2GA3NK35.js.map +0 -1
  537. package/dist/cli-bundle/chunks/chunk-2QIQGYPW.js.map +0 -7
  538. package/dist/cli-bundle/chunks/chunk-4DY4KPQI.js.map +0 -7
  539. package/dist/cli-bundle/chunks/chunk-4WREH7RT.js +0 -554
  540. package/dist/cli-bundle/chunks/chunk-4WREH7RT.js.map +0 -7
  541. package/dist/cli-bundle/chunks/chunk-5CT5BW6E.js.map +0 -7
  542. package/dist/cli-bundle/chunks/chunk-5URI7TPJ.js.map +0 -7
  543. package/dist/cli-bundle/chunks/chunk-6MHSBDGD.js.map +0 -7
  544. package/dist/cli-bundle/chunks/chunk-6OTZMORS.js.map +0 -7
  545. package/dist/cli-bundle/chunks/chunk-6PKA3SJQ.js.map +0 -1
  546. package/dist/cli-bundle/chunks/chunk-6TTOHMTB.js.map +0 -1
  547. package/dist/cli-bundle/chunks/chunk-7QDSYUMF.js.map +0 -1
  548. package/dist/cli-bundle/chunks/chunk-7TQMR6LK.js.map +0 -7
  549. package/dist/cli-bundle/chunks/chunk-B5DZYTT3.js +0 -312
  550. package/dist/cli-bundle/chunks/chunk-B5DZYTT3.js.map +0 -7
  551. package/dist/cli-bundle/chunks/chunk-BPD26E3P.js.map +0 -1
  552. package/dist/cli-bundle/chunks/chunk-CDJYP7OQ.js.map +0 -1
  553. package/dist/cli-bundle/chunks/chunk-DBZVUJTK.js +0 -858
  554. package/dist/cli-bundle/chunks/chunk-DBZVUJTK.js.map +0 -1
  555. package/dist/cli-bundle/chunks/chunk-DVOLZJ3C.js.map +0 -1
  556. package/dist/cli-bundle/chunks/chunk-DYEX6NFH.js.map +0 -7
  557. package/dist/cli-bundle/chunks/chunk-F7PSHRNO.js.map +0 -1
  558. package/dist/cli-bundle/chunks/chunk-FO7GMJKG.js +0 -875
  559. package/dist/cli-bundle/chunks/chunk-FO7GMJKG.js.map +0 -7
  560. package/dist/cli-bundle/chunks/chunk-FTQLW4JD.js.map +0 -1
  561. package/dist/cli-bundle/chunks/chunk-IA3YFTXT.js.map +0 -1
  562. package/dist/cli-bundle/chunks/chunk-IGED7NH2.js.map +0 -7
  563. package/dist/cli-bundle/chunks/chunk-J4NZOP3I.js.map +0 -1
  564. package/dist/cli-bundle/chunks/chunk-JL7WZ4O2.js.map +0 -7
  565. package/dist/cli-bundle/chunks/chunk-L24HCJFC.js +0 -309
  566. package/dist/cli-bundle/chunks/chunk-L24HCJFC.js.map +0 -1
  567. package/dist/cli-bundle/chunks/chunk-LWTIRS3Y.js.map +0 -7
  568. package/dist/cli-bundle/chunks/chunk-MKL4CP2I.js.map +0 -1
  569. package/dist/cli-bundle/chunks/chunk-N3CMP4NI.js.map +0 -1
  570. package/dist/cli-bundle/chunks/chunk-PHKP3AGR.js.map +0 -7
  571. package/dist/cli-bundle/chunks/chunk-Q37E63AM.js.map +0 -7
  572. package/dist/cli-bundle/chunks/chunk-QASRVKUQ.js.map +0 -1
  573. package/dist/cli-bundle/chunks/chunk-RGXD5JJR.js.map +0 -7
  574. package/dist/cli-bundle/chunks/chunk-UB2QYSTO.js.map +0 -1
  575. package/dist/cli-bundle/chunks/chunk-UGTVWL3E.js.map +0 -1
  576. package/dist/cli-bundle/chunks/chunk-ZAYYDNB3.js.map +0 -1
  577. package/dist/cli-bundle/chunks/chunk-ZUKSZVBW.js.map +0 -7
  578. package/dist/cli-bundle/chunks/close-RI4JQQHU.js +0 -12
  579. package/dist/cli-bundle/chunks/close-many-LY2XJ52M.js +0 -21
  580. package/dist/cli-bundle/chunks/comments-35M273DN.js +0 -13
  581. package/dist/cli-bundle/chunks/copy-NPYM7M7U.js +0 -9
  582. package/dist/cli-bundle/chunks/delete-ODRWJWAM.js +0 -10
  583. package/dist/cli-bundle/chunks/docs-G7N4E2JO.js +0 -14
  584. package/dist/cli-bundle/chunks/focus-U5TRVCRS.js +0 -10
  585. package/dist/cli-bundle/chunks/history-compact-M7GHYVFN.js +0 -20
  586. package/dist/cli-bundle/chunks/history-redact-JIHZLHDP.js +0 -16
  587. package/dist/cli-bundle/chunks/history-repair-NAFCHLH7.js +0 -18
  588. package/dist/cli-bundle/chunks/learnings-SONGPSHI.js +0 -13
  589. package/dist/cli-bundle/chunks/notes-BSD53H2W.js +0 -13
  590. package/dist/cli-bundle/chunks/plan-AWLYGBNV.js +0 -24
  591. package/dist/cli-bundle/chunks/register-list-query-BUWCYHBT.js.map +0 -7
  592. package/dist/cli-bundle/chunks/register-list-query-KTZ6AGE7.js.map +0 -1
  593. package/dist/cli-bundle/chunks/register-mutation-4FMGJJF7.js.map +0 -1
  594. package/dist/cli-bundle/chunks/restore-66GLMHIX.js +0 -14
  595. package/dist/cli-bundle/chunks/update-2XGHIVQ2.js +0 -21
  596. package/dist/cli-bundle/chunks/update-many-75K57FS3.js +0 -34
  597. package/dist/cli-bundle/chunks/update-many-U42YA445.js +0 -30
  598. /package/dist/cli-bundle/chunks/{append-PVZJDM6J.js.map → append-OJQFUQ4T.js.map} +0 -0
  599. /package/dist/cli-bundle/chunks/{append-DYQWQK2J.js.map → append-UZVHUO74.js.map} +0 -0
  600. /package/dist/cli-bundle/chunks/{chunk-MQZ3PLCF.js.map → chunk-2IFFUZLC.js.map} +0 -0
  601. /package/dist/cli-bundle/chunks/{chunk-P6MYFH6K.js.map → chunk-2JKGO6QX.js.map} +0 -0
  602. /package/dist/cli-bundle/chunks/{chunk-X3GYR4P2.js.map → chunk-2NCIPMQP.js.map} +0 -0
  603. /package/dist/cli-bundle/chunks/{chunk-Q7E6OYZK.js.map → chunk-2VPAVL7O.js.map} +0 -0
  604. /package/dist/cli-bundle/chunks/{chunk-DRNJPEPQ.js.map → chunk-2WSE6PO2.js.map} +0 -0
  605. /package/dist/cli-bundle/chunks/{chunk-FDSBDNYE.js.map → chunk-34L5OT3Y.js.map} +0 -0
  606. /package/dist/cli-bundle/chunks/{chunk-TH7U4KLY.js.map → chunk-3AUGG2DP.js.map} +0 -0
  607. /package/dist/cli-bundle/chunks/{chunk-NKW36AMT.js.map → chunk-3CLU2XZO.js.map} +0 -0
  608. /package/dist/cli-bundle/chunks/{chunk-ABRCOSDC.js.map → chunk-3WM75PWC.js.map} +0 -0
  609. /package/dist/cli-bundle/chunks/{chunk-X6BVXQ52.js.map → chunk-5JLUII3O.js.map} +0 -0
  610. /package/dist/cli-bundle/chunks/{chunk-3TL7WOEF.js.map → chunk-6N2VXVTQ.js.map} +0 -0
  611. /package/dist/cli-bundle/chunks/{chunk-ERL2YFJ2.js.map → chunk-6S3YSUYG.js.map} +0 -0
  612. /package/dist/cli-bundle/chunks/{chunk-IFZA4VB5.js.map → chunk-AHVTB5I5.js.map} +0 -0
  613. /package/dist/cli-bundle/chunks/{chunk-DO5RGJXT.js.map → chunk-APRVSW2O.js.map} +0 -0
  614. /package/dist/cli-bundle/chunks/{chunk-NAQYVWSQ.js.map → chunk-B7PE22W6.js.map} +0 -0
  615. /package/dist/cli-bundle/chunks/{chunk-MD6ULIPJ.js.map → chunk-BCOFWYW4.js.map} +0 -0
  616. /package/dist/cli-bundle/chunks/{chunk-KADLSPIU.js.map → chunk-BEP7WJA2.js.map} +0 -0
  617. /package/dist/cli-bundle/chunks/{chunk-OBDLEQG5.js.map → chunk-CRVF2JDM.js.map} +0 -0
  618. /package/dist/cli-bundle/chunks/{chunk-FJZDA6MS.js.map → chunk-DM4H7FP4.js.map} +0 -0
  619. /package/dist/cli-bundle/chunks/{close-LZECOMHO.js.map → chunk-DUT67M43.js.map} +0 -0
  620. /package/dist/cli-bundle/chunks/{chunk-44LNIULG.js.map → chunk-DYH63FX7.js.map} +0 -0
  621. /package/dist/cli-bundle/chunks/{chunk-HAMLIWAF.js.map → chunk-EAB64KLB.js.map} +0 -0
  622. /package/dist/cli-bundle/chunks/{chunk-CIOZ376P.js.map → chunk-EACOH7AU.js.map} +0 -0
  623. /package/dist/cli-bundle/chunks/{chunk-QK2ZN6UL.js.map → chunk-EJEXHTY5.js.map} +0 -0
  624. /package/dist/cli-bundle/chunks/{chunk-WQUEHPZB.js.map → chunk-EYLCSJAI.js.map} +0 -0
  625. /package/dist/cli-bundle/chunks/{chunk-655STMGA.js.map → chunk-FMBNM2EN.js.map} +0 -0
  626. /package/dist/cli-bundle/chunks/{chunk-RMF3IOYQ.js.map → chunk-FNSPG7MU.js.map} +0 -0
  627. /package/dist/cli-bundle/chunks/{chunk-KB726FMH.js.map → chunk-H2Z3FYXQ.js.map} +0 -0
  628. /package/dist/cli-bundle/chunks/{chunk-BN62TO2S.js.map → chunk-IA5FKNII.js.map} +0 -0
  629. /package/dist/cli-bundle/chunks/{chunk-W6HZ55JO.js.map → chunk-IJIICKVW.js.map} +0 -0
  630. /package/dist/cli-bundle/chunks/{chunk-M7EWN4TF.js.map → chunk-JOUQZENX.js.map} +0 -0
  631. /package/dist/cli-bundle/chunks/{chunk-2FNWQXZ2.js.map → chunk-JYFOV7FC.js.map} +0 -0
  632. /package/dist/cli-bundle/chunks/{chunk-HLHSQ5CA.js.map → chunk-K2X6U4UA.js.map} +0 -0
  633. /package/dist/cli-bundle/chunks/{chunk-M6ASXYCU.js.map → chunk-KG44YSKD.js.map} +0 -0
  634. /package/dist/cli-bundle/chunks/{chunk-YVKE5ZDM.js.map → chunk-KPMKHGEA.js.map} +0 -0
  635. /package/dist/cli-bundle/chunks/{close-many-ZHI6A5TN.js.map → chunk-MIQDDLB5.js.map} +0 -0
  636. /package/dist/cli-bundle/chunks/{chunk-UJ4HJYWL.js.map → chunk-NLDFBC6J.js.map} +0 -0
  637. /package/dist/cli-bundle/chunks/{chunk-WRKB56FC.js.map → chunk-NP22ERDF.js.map} +0 -0
  638. /package/dist/cli-bundle/chunks/{chunk-YQYG2V23.js.map → chunk-NU3IMIEA.js.map} +0 -0
  639. /package/dist/cli-bundle/chunks/{chunk-3I3LRT2G.js.map → chunk-NVPZIJVR.js.map} +0 -0
  640. /package/dist/cli-bundle/chunks/{chunk-JAF4TUQ7.js.map → chunk-ODALILG3.js.map} +0 -0
  641. /package/dist/cli-bundle/chunks/{chunk-QZ7LT3XE.js.map → chunk-ONREO4ST.js.map} +0 -0
  642. /package/dist/cli-bundle/chunks/{chunk-3CMRNVTO.js.map → chunk-P74IZQ7A.js.map} +0 -0
  643. /package/dist/cli-bundle/chunks/{chunk-ZTRBSABY.js.map → chunk-PGY23YTC.js.map} +0 -0
  644. /package/dist/cli-bundle/chunks/{chunk-H2QBAKLQ.js.map → chunk-PMOSXADO.js.map} +0 -0
  645. /package/dist/cli-bundle/chunks/{close-RI4JQQHU.js.map → chunk-PNTULOGU.js.map} +0 -0
  646. /package/dist/cli-bundle/chunks/{chunk-GSEADLRH.js.map → chunk-Q7A43DS4.js.map} +0 -0
  647. /package/dist/cli-bundle/chunks/{chunk-QSPARJWF.js.map → chunk-QEHQ2GVG.js.map} +0 -0
  648. /package/dist/cli-bundle/chunks/{chunk-VJTAEIPC.js.map → chunk-QIPLHNP7.js.map} +0 -0
  649. /package/dist/cli-bundle/chunks/{chunk-K7WNZ7KD.js.map → chunk-QKJGPFAF.js.map} +0 -0
  650. /package/dist/cli-bundle/chunks/{chunk-ZNP64HOW.js.map → chunk-RLCHOOHC.js.map} +0 -0
  651. /package/dist/cli-bundle/chunks/{chunk-IAPHYPRL.js.map → chunk-RMLWNPH2.js.map} +0 -0
  652. /package/dist/cli-bundle/chunks/{chunk-UVBA6F5A.js.map → chunk-RRM5JYJC.js.map} +0 -0
  653. /package/dist/cli-bundle/chunks/{chunk-6IIVBC56.js.map → chunk-S6MQESFR.js.map} +0 -0
  654. /package/dist/cli-bundle/chunks/{chunk-QABYZYLU.js.map → chunk-SDQLJWBO.js.map} +0 -0
  655. /package/dist/cli-bundle/chunks/{chunk-ANSJHDOZ.js.map → chunk-SELVXEZK.js.map} +0 -0
  656. /package/dist/cli-bundle/chunks/{chunk-WD6MSYMP.js.map → chunk-TKOVBP6C.js.map} +0 -0
  657. /package/dist/cli-bundle/chunks/{chunk-TZ2PSLLT.js.map → chunk-TQSZFPIS.js.map} +0 -0
  658. /package/dist/cli-bundle/chunks/{chunk-WPAWZW7S.js.map → chunk-TSMHDIW4.js.map} +0 -0
  659. /package/dist/cli-bundle/chunks/{chunk-TZRTLMWM.js.map → chunk-UFXU44HV.js.map} +0 -0
  660. /package/dist/cli-bundle/chunks/{chunk-TWLDBKQU.js.map → chunk-ULTHRDBP.js.map} +0 -0
  661. /package/dist/cli-bundle/chunks/{chunk-RA5AIAMP.js.map → chunk-UOHFKBUV.js.map} +0 -0
  662. /package/dist/cli-bundle/chunks/{chunk-4RXTMU57.js.map → chunk-UY2ACEMF.js.map} +0 -0
  663. /package/dist/cli-bundle/chunks/{chunk-FIGXOCEQ.js.map → chunk-WUJQK4YV.js.map} +0 -0
  664. /package/dist/cli-bundle/chunks/{chunk-T4BRCB6Z.js.map → chunk-XSJUSQAE.js.map} +0 -0
  665. /package/dist/cli-bundle/chunks/{chunk-UKUIIBDW.js.map → chunk-YAQEBNY7.js.map} +0 -0
  666. /package/dist/cli-bundle/chunks/{chunk-E2WC6S4P.js.map → chunk-YBLZ2VE7.js.map} +0 -0
  667. /package/dist/cli-bundle/chunks/{chunk-Y72FV7RM.js.map → chunk-YCQET3OT.js.map} +0 -0
  668. /package/dist/cli-bundle/chunks/{close-many-LY2XJ52M.js.map → chunk-YUSOJDWM.js.map} +0 -0
  669. /package/dist/cli-bundle/chunks/{chunk-FS6UM5WH.js.map → chunk-ZI6VQWQ7.js.map} +0 -0
  670. /package/dist/cli-bundle/chunks/{comments-AJWRTFZ5.js.map → close-CWODTPKG.js.map} +0 -0
  671. /package/dist/cli-bundle/chunks/{comments-35M273DN.js.map → close-W6LI2PKM.js.map} +0 -0
  672. /package/dist/cli-bundle/chunks/{copy-GMXYKBXT.js.map → close-many-CQFUY7MR.js.map} +0 -0
  673. /package/dist/cli-bundle/chunks/{copy-NPYM7M7U.js.map → close-many-DLDDVSH5.js.map} +0 -0
  674. /package/dist/cli-bundle/chunks/{create-F53OBTOU.js.map → comments-E3TNTK24.js.map} +0 -0
  675. /package/dist/cli-bundle/chunks/{create-HU4Q7RJX.js.map → comments-WGLHR7LB.js.map} +0 -0
  676. /package/dist/cli-bundle/chunks/{delete-GSDZLTRC.js.map → copy-LXVDXH7B.js.map} +0 -0
  677. /package/dist/cli-bundle/chunks/{delete-ODRWJWAM.js.map → copy-Q5ZJPUKR.js.map} +0 -0
  678. /package/dist/cli-bundle/chunks/{deps-U57I7EAK.js.map → create-J5U6ND4K.js.map} +0 -0
  679. /package/dist/cli-bundle/chunks/{deps-WWB7P2GT.js.map → create-LBVCYMEG.js.map} +0 -0
  680. /package/dist/cli-bundle/chunks/{docs-MQIY2ZQS.js.map → delete-PMJBNY5G.js.map} +0 -0
  681. /package/dist/cli-bundle/chunks/{docs-G7N4E2JO.js.map → delete-WNHB3LYW.js.map} +0 -0
  682. /package/dist/cli-bundle/chunks/{files-TTY6N2AV.js.map → deps-JZ7TMVCB.js.map} +0 -0
  683. /package/dist/cli-bundle/chunks/{files-TBZD7V6H.js.map → deps-OA26IS25.js.map} +0 -0
  684. /package/dist/cli-bundle/chunks/{focus-XT6YVFFX.js.map → docs-FEWB2DQB.js.map} +0 -0
  685. /package/dist/cli-bundle/chunks/{focus-U5TRVCRS.js.map → docs-HA2AIDBB.js.map} +0 -0
  686. /package/dist/cli-bundle/chunks/{history-compact-M7GHYVFN.js.map → files-6YFBJRBG.js.map} +0 -0
  687. /package/dist/cli-bundle/chunks/{history-compact-KKVUWB4V.js.map → files-EFIWKFTM.js.map} +0 -0
  688. /package/dist/cli-bundle/chunks/{history-redact-3DVZOILD.js.map → focus-4QJR7FOQ.js.map} +0 -0
  689. /package/dist/cli-bundle/chunks/{history-redact-JIHZLHDP.js.map → focus-POIW5LTJ.js.map} +0 -0
  690. /package/dist/cli-bundle/chunks/{history-repair-ITDUMK4N.js.map → history-compact-CKRPDTJN.js.map} +0 -0
  691. /package/dist/cli-bundle/chunks/{history-repair-NAFCHLH7.js.map → history-compact-FWG2C7FZ.js.map} +0 -0
  692. /package/dist/cli-bundle/chunks/{learnings-SONGPSHI.js.map → history-redact-BB3TGDAE.js.map} +0 -0
  693. /package/dist/cli-bundle/chunks/{learnings-FGO3NSFW.js.map → history-redact-D225BHOZ.js.map} +0 -0
  694. /package/dist/cli-bundle/chunks/{notes-BSD53H2W.js.map → history-repair-6GEAM7HE.js.map} +0 -0
  695. /package/dist/cli-bundle/chunks/{notes-NQ6RXVW6.js.map → history-repair-RQXKQHL4.js.map} +0 -0
  696. /package/dist/cli-bundle/chunks/{plan-2NNEO46V.js.map → learnings-JLNLCOL5.js.map} +0 -0
  697. /package/dist/cli-bundle/chunks/{plan-AWLYGBNV.js.map → learnings-RSNLSWDC.js.map} +0 -0
  698. /package/dist/cli-bundle/chunks/{profile-U725ATWZ.js.map → notes-2WDH6DXU.js.map} +0 -0
  699. /package/dist/cli-bundle/chunks/{profile-AAQUU6T3.js.map → notes-GB47XXQQ.js.map} +0 -0
  700. /package/dist/cli-bundle/chunks/{restore-66GLMHIX.js.map → plan-DOVI2VMW.js.map} +0 -0
  701. /package/dist/cli-bundle/chunks/{restore-B3BAB6X2.js.map → plan-VDCJ2PCN.js.map} +0 -0
  702. /package/dist/cli-bundle/chunks/{schema-U7IM2DXV.js.map → profile-FAU7NZML.js.map} +0 -0
  703. /package/dist/cli-bundle/chunks/{schema-LZNUYHDB.js.map → profile-IVXQEL3D.js.map} +0 -0
  704. /package/dist/cli-bundle/chunks/{update-Q3UCILNR.js.map → restore-25DLT2Q2.js.map} +0 -0
  705. /package/dist/cli-bundle/chunks/{update-2XGHIVQ2.js.map → restore-YPMVUUEX.js.map} +0 -0
  706. /package/dist/cli-bundle/chunks/{update-many-75K57FS3.js.map → schema-FNU3WE4O.js.map} +0 -0
  707. /package/dist/cli-bundle/chunks/{update-many-U42YA445.js.map → schema-NBCM3RAD.js.map} +0 -0
  708. /package/dist/{cli/commands → sdk}/extension/managed-state.d.ts +0 -0
@@ -2,7 +2,7 @@ import {
2
2
  assertHistoryRepairTarget,
3
3
  runHistoryRepair,
4
4
  runHistoryRepairAll
5
- } from "./chunk-RGXD5JJR.js";
5
+ } from "./chunk-LSG2U345.js";
6
6
  import {
7
7
  resolveStartTaskInProgressStatus,
8
8
  runClaim,
@@ -16,77 +16,73 @@ import {
16
16
  runTest,
17
17
  runTestAll,
18
18
  runValidate
19
- } from "./chunk-IGED7NH2.js";
20
- import {
21
- runFiles,
22
- runFilesDiscover
23
- } from "./chunk-FS6UM5WH.js";
19
+ } from "./chunk-ILX33QXL.js";
24
20
  import {
25
21
  runDocs
26
- } from "./chunk-JAF4TUQ7.js";
22
+ } from "./chunk-ODALILG3.js";
27
23
  import {
28
24
  runDeps
29
- } from "./chunk-B5DZYTT3.js";
30
- import {
31
- runComments
32
- } from "./chunk-KADLSPIU.js";
25
+ } from "./chunk-BKVG6XOA.js";
33
26
  import {
34
27
  runCopy
35
- } from "./chunk-ERL2YFJ2.js";
28
+ } from "./chunk-6S3YSUYG.js";
36
29
  import {
37
30
  runFocus
38
- } from "./chunk-KB726FMH.js";
31
+ } from "./chunk-H2Z3FYXQ.js";
39
32
  import {
40
33
  runDelete
41
- } from "./chunk-TH7U4KLY.js";
34
+ } from "./chunk-3AUGG2DP.js";
42
35
  import {
43
36
  runAppend
44
- } from "./chunk-IFZA4VB5.js";
37
+ } from "./chunk-AHVTB5I5.js";
45
38
  import {
46
39
  runProfileApply,
47
40
  runProfileLint,
48
41
  runProfileList,
49
42
  runProfileShow
50
- } from "./chunk-PHKP3AGR.js";
43
+ } from "./chunk-UWQHLMEB.js";
51
44
  import {
52
45
  runNotes
53
- } from "./chunk-655STMGA.js";
46
+ } from "./chunk-FMBNM2EN.js";
54
47
  import {
55
48
  runLearnings
56
- } from "./chunk-FDSBDNYE.js";
49
+ } from "./chunk-34L5OT3Y.js";
50
+ import {
51
+ runFiles,
52
+ runFilesDiscover
53
+ } from "./chunk-ZI6VQWQ7.js";
57
54
  import {
58
55
  runCloseMany
59
- } from "./chunk-RMF3IOYQ.js";
56
+ } from "./chunk-FNSPG7MU.js";
60
57
  import {
61
58
  runUpdateMany
62
- } from "./chunk-E2WC6S4P.js";
59
+ } from "./chunk-YBLZ2VE7.js";
63
60
  import {
64
61
  runRestore
65
- } from "./chunk-Q37E63AM.js";
62
+ } from "./chunk-6CFNAVTF.js";
66
63
  import {
67
64
  runUpdate
68
- } from "./chunk-OBDLEQG5.js";
69
- import {
70
- runClose
71
- } from "./chunk-DRNJPEPQ.js";
65
+ } from "./chunk-CRVF2JDM.js";
72
66
  import {
73
67
  runPlan
74
- } from "./chunk-HLHSQ5CA.js";
68
+ } from "./chunk-K2X6U4UA.js";
75
69
  import {
76
- runHistoryCompact
77
- } from "./chunk-6OTZMORS.js";
70
+ assertHistoryCompactTarget,
71
+ runHistoryCompact,
72
+ runHistoryCompactBulk
73
+ } from "./chunk-K3WII2ME.js";
78
74
  import {
79
- runHistoryRedact
80
- } from "./chunk-DYEX6NFH.js";
75
+ runComments
76
+ } from "./chunk-BEP7WJA2.js";
81
77
  import {
82
78
  runConfig,
83
79
  runUpgrade
84
- } from "./chunk-7TQMR6LK.js";
80
+ } from "./chunk-WT3ZEOGH.js";
85
81
  import {
86
82
  SCAFFOLD_CAPABILITIES,
87
83
  runExtension,
88
84
  runInit
89
- } from "./chunk-4DY4KPQI.js";
85
+ } from "./chunk-J6364LFM.js";
90
86
  import {
91
87
  runSchemaAddField,
92
88
  runSchemaAddStatus,
@@ -101,23 +97,24 @@ import {
101
97
  runSchemaShow,
102
98
  runSchemaShowField,
103
99
  runSchemaShowStatus
104
- } from "./chunk-5CT5BW6E.js";
100
+ } from "./chunk-GM5QHQU6.js";
105
101
  import {
106
102
  runAggregate,
107
103
  runGet,
108
104
  runSearch
109
- } from "./chunk-ILLUE5DI.js";
105
+ } from "./chunk-HYB5AZ63.js";
110
106
  import {
111
107
  runActivity,
112
108
  runContext,
109
+ runHistory,
113
110
  runNext
114
- } from "./chunk-LWTIRS3Y.js";
111
+ } from "./chunk-E2OJMKML.js";
115
112
  import {
116
113
  runList
117
- } from "./chunk-6MHSBDGD.js";
114
+ } from "./chunk-XXXF6PAQ.js";
118
115
  import {
119
- runHistory
120
- } from "./chunk-4WREH7RT.js";
116
+ runHistoryRedact
117
+ } from "./chunk-TD3LVC7D.js";
121
118
  import {
122
119
  resolveRegisteredSearchProvider,
123
120
  resolveRegisteredVectorStoreAdapter
@@ -144,7 +141,7 @@ import {
144
141
  resolveSettingsWithSemanticRuntimeDefaults,
145
142
  resolveVectorStores,
146
143
  writeVectorizationStatusLedger
147
- } from "./chunk-ZUKSZVBW.js";
144
+ } from "./chunk-7B67ZL4N.js";
148
145
  import {
149
146
  ACTIVITY_FLAG_CONTRACTS,
150
147
  AGGREGATE_FLAG_CONTRACTS,
@@ -176,16 +173,19 @@ import {
176
173
  UPDATE_FLAG_CONTRACTS,
177
174
  UPDATE_MANY_FLAG_CONTRACTS,
178
175
  toCompletionFlagString
179
- } from "./chunk-2QIQGYPW.js";
176
+ } from "./chunk-H5APFTHZ.js";
180
177
  import {
181
178
  runCreate
182
- } from "./chunk-OI4S4KCI.js";
179
+ } from "./chunk-UMOPHQSU.js";
183
180
  import {
184
181
  parseTags
185
- } from "./chunk-WD6MSYMP.js";
182
+ } from "./chunk-TKOVBP6C.js";
186
183
  import {
187
184
  projectMutationResult
188
- } from "./chunk-JL7WZ4O2.js";
185
+ } from "./chunk-IG3SWA4A.js";
186
+ import {
187
+ runClose
188
+ } from "./chunk-2WSE6PO2.js";
189
189
  import {
190
190
  acquireLock,
191
191
  appendHistoryEntry,
@@ -208,7 +208,7 @@ import {
208
208
  setActiveExtensionRegistrations,
209
209
  setActiveExtensionRenderers,
210
210
  setActiveExtensionServices
211
- } from "./chunk-T4BRCB6Z.js";
211
+ } from "./chunk-XSJUSQAE.js";
212
212
  import {
213
213
  BUILTIN_ITEM_TYPE_VALUES,
214
214
  EXIT_CODE,
@@ -236,7 +236,7 @@ import {
236
236
  resolveRuntimeStatusRegistry,
237
237
  toNonEmptyStringOrUndefined,
238
238
  writeFileAtomic
239
- } from "./chunk-AFWZRL7M.js";
239
+ } from "./chunk-BSEQUTQP.js";
240
240
 
241
241
  // dist/sdk/runtime.js
242
242
  import path3 from "node:path";
@@ -311,15 +311,126 @@ function memoizeWorkspaceExtensionRegistrations(cacheKey, loadRegistrations) {
311
311
  return registrations;
312
312
  }
313
313
 
314
+ // dist/cli/commands/init-agent-guidance.js
315
+ !(function() {
316
+ try {
317
+ var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
318
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "97c08949-302b-52cc-a5a3-9f274864c1d9");
319
+ } catch (e2) {
320
+ }
321
+ })();
322
+
314
323
  // dist/cli/commands/index.js
315
324
  !(function() {
316
325
  try {
317
326
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
318
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6d1b0e84-6deb-50ac-88dc-86cdeccf724f");
327
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a2c3675b-3c03-501f-8d2f-2405db17fabb");
319
328
  } catch (e2) {
320
329
  }
321
330
  })();
322
331
 
332
+ // dist/sdk/runtime-input.js
333
+ !(function() {
334
+ try {
335
+ var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
336
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "246cb97d-1f47-52a8-bf9a-012d5ab982c4");
337
+ } catch (e2) {
338
+ }
339
+ })();
340
+ function readRuntimeString(args, key) {
341
+ const value = args[key];
342
+ return typeof value === "string" && value.trim().length > 0 ? value : void 0;
343
+ }
344
+ function readRuntimeScalarString(args, key) {
345
+ const value = args[key];
346
+ if (typeof value === "string") {
347
+ return value.trim().length > 0 ? value : void 0;
348
+ }
349
+ return typeof value === "number" && Number.isFinite(value) ? String(value) : void 0;
350
+ }
351
+ function readRuntimeScalarStringAllowBlank(args, key) {
352
+ const value = args[key];
353
+ if (typeof value === "string") {
354
+ return value;
355
+ }
356
+ return typeof value === "number" && Number.isFinite(value) ? String(value) : void 0;
357
+ }
358
+ function isRuntimeRecord(value) {
359
+ return value !== null && typeof value === "object" && !Array.isArray(value);
360
+ }
361
+ function parseRuntimeInteger(value, label) {
362
+ if (typeof value === "number") {
363
+ if (!Number.isInteger(value)) {
364
+ throw new PmCliError(`${label} must be a finite integer.`, EXIT_CODE.USAGE);
365
+ }
366
+ return value;
367
+ }
368
+ if (typeof value === "string" && value.trim().length > 0) {
369
+ const parsed = Number(value);
370
+ if (!Number.isInteger(parsed)) {
371
+ throw new PmCliError(`${label} must be a finite integer.`, EXIT_CODE.USAGE);
372
+ }
373
+ return parsed;
374
+ }
375
+ return void 0;
376
+ }
377
+
378
+ // dist/sdk/history-mcp.js
379
+ !(function() {
380
+ try {
381
+ var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
382
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00e24636-c03a-5c14-a9cd-bb67ef4caf6d");
383
+ } catch (e2) {
384
+ }
385
+ })();
386
+ function runMcpHistoryRepairAction(context2) {
387
+ const repairAll = context2.options.all === true;
388
+ const repairId = context2.id ?? readRuntimeString(context2.options, "id");
389
+ assertHistoryRepairTarget(repairId, repairAll);
390
+ return repairAll ? runHistoryRepairAll(context2.options, context2.global) : runHistoryRepair(repairId, context2.options, context2.global);
391
+ }
392
+ function runMcpHistoryCompactAction(context2) {
393
+ const idsSource = context2.options.ids;
394
+ const ids = Array.isArray(idsSource) ? idsSource.map(String).filter((value) => value.trim().length > 0) : typeof idsSource === "string" ? idsSource.split(",").map((value) => value.trim()).filter(Boolean) : void 0;
395
+ const allOver = parseRuntimeInteger(context2.options.allOver ?? context2.options.all_over, "history-compact allOver");
396
+ const minEntries = parseRuntimeInteger(context2.options.minEntries ?? context2.options.min_entries, "history-compact minEntries");
397
+ const explicitScope = readRuntimeString(context2.options, "scope");
398
+ const requestedScopes = [];
399
+ if (context2.options.closed === true)
400
+ requestedScopes.push("closed");
401
+ if (context2.options.allStreams === true || context2.options.all_streams === true) {
402
+ requestedScopes.push("all-streams");
403
+ }
404
+ if (explicitScope === "closed" || explicitScope === "all-streams") {
405
+ requestedScopes.push(explicitScope);
406
+ }
407
+ const distinctScopes = [...new Set(requestedScopes)];
408
+ if (distinctScopes.length > 1) {
409
+ throw new PmCliError("history-compact: closed and all-streams scopes are mutually exclusive.", EXIT_CODE.USAGE);
410
+ }
411
+ const scope = distinctScopes[0];
412
+ assertHistoryCompactTarget(context2.id, { ids, allOver, scope });
413
+ if (context2.id !== void 0) {
414
+ return runHistoryCompact(context2.id, {
415
+ before: readRuntimeString(context2.options, "before"),
416
+ dryRun: context2.options.dryRun === true || context2.options.dry_run === true,
417
+ author: readRuntimeString(context2.options, "author"),
418
+ message: readRuntimeString(context2.options, "message"),
419
+ force: context2.force
420
+ }, context2.global);
421
+ }
422
+ return runHistoryCompactBulk({
423
+ ids,
424
+ scope,
425
+ allOver,
426
+ minEntries,
427
+ dryRun: context2.options.dryRun === true || context2.options.dry_run === true,
428
+ author: readRuntimeString(context2.options, "author"),
429
+ message: readRuntimeString(context2.options, "message"),
430
+ force: context2.force
431
+ }, context2.global);
432
+ }
433
+
323
434
  // dist/sdk/package-runtime-options.js
324
435
  !(function() {
325
436
  try {
@@ -1423,7 +1534,7 @@ function renderGuideMarkdown(result) {
1423
1534
  !(function() {
1424
1535
  try {
1425
1536
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
1426
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "74d572ce-ab89-5323-b812-91f1b4f2c398");
1537
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c129d790-a418-5226-8a6e-eea642855314");
1427
1538
  } catch (e2) {
1428
1539
  }
1429
1540
  })();
@@ -2770,6 +2881,9 @@ ${zshSearchRuntimeFieldFlags} '--json[Output JSON]' \\
2770
2881
  ;;
2771
2882
  init)
2772
2883
  _arguments \\
2884
+ '(1)--id-prefix[Set the item ID prefix]:prefix' \\
2885
+ '(1)--prefix[Alias for --id-prefix]:prefix' \\
2886
+ '1:optional id prefix or tracker path' \\
2773
2887
  '--preset[Governance preset for new setups]:preset:(minimal default strict)' \\
2774
2888
  '--defaults[Use non-interactive setup defaults]' \\
2775
2889
  '-y[Alias for --defaults]' \\
@@ -3765,6 +3879,8 @@ complete -c pm -n '__fish_seen_subcommand_from validate' -l prune-missing -d 'Re
3765
3879
  complete -c pm -n '__fish_seen_subcommand_from validate' -l check-history-drift -d 'Run item/history hash drift checks'
3766
3880
  complete -c pm -n '__fish_seen_subcommand_from validate' -l check-command-references -d 'Run linked-command PM-ID reference checks'
3767
3881
  complete -c pm -n '__fish_seen_subcommand_from init' -l preset -d 'Governance preset for new setups' -r -a 'minimal default strict'
3882
+ complete -c pm -n '__fish_seen_subcommand_from init' -l id-prefix -d 'Set the item ID prefix' -r
3883
+ complete -c pm -n '__fish_seen_subcommand_from init' -l prefix -d 'Alias for --id-prefix' -r
3768
3884
  complete -c pm -n '__fish_seen_subcommand_from init' -l defaults -d 'Use non-interactive setup defaults'
3769
3885
  complete -c pm -n '__fish_seen_subcommand_from init' -s y -l yes -d 'Alias for --defaults'
3770
3886
  complete -c pm -n '__fish_seen_subcommand_from init' -l author -d 'Set the default mutation author for this project' -r
@@ -4589,7 +4705,7 @@ async function runReindex(options, global2) {
4589
4705
  !(function() {
4590
4706
  try {
4591
4707
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
4592
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9c1f10e3-4133-54a5-a291-2da372570428");
4708
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "40c78d4e-1d6c-5910-a925-95fb87ebad82");
4593
4709
  } catch (e2) {
4594
4710
  }
4595
4711
  })();
@@ -4814,6 +4930,28 @@ var PmClient = class {
4814
4930
  gc(options = {}) {
4815
4931
  return this.runTyped("gc", { options });
4816
4932
  }
4933
+ /** Redact sensitive values while preserving an audited, verified history chain. */
4934
+ historyRedact(id, options) {
4935
+ return this.runTyped("history-redact", { id, options });
4936
+ }
4937
+ /** Repair and re-anchor one drifted history stream. */
4938
+ historyRepair(id, options = {}) {
4939
+ return this.runTyped("history-repair", { id, options });
4940
+ }
4941
+ /** Scan and repair every drifted history stream in one resilient pass. */
4942
+ historyRepairAll(options = {}) {
4943
+ return this.runTyped("history-repair", {
4944
+ options: { ...options, all: true }
4945
+ });
4946
+ }
4947
+ /** Compact one history stream into a verified checkpoint and retained tail. */
4948
+ historyCompact(id, options = {}) {
4949
+ return this.runTyped("history-compact", { id, options });
4950
+ }
4951
+ /** Compact an explicit or policy-selected set of history streams. */
4952
+ historyCompactBulk(options) {
4953
+ return this.runTyped("history-compact", { options });
4954
+ }
4817
4955
  /** Run any typed plan workflow primitive through the shared CLI/MCP engine. */
4818
4956
  plan(subcommand, id, options = {}, stepRef, reorderTo) {
4819
4957
  return this.runTyped("plan", {
@@ -5175,6 +5313,21 @@ function health(options = {}, clientOptions = {}) {
5175
5313
  function gc(options = {}, clientOptions = {}) {
5176
5314
  return new PmClient(clientOptions).gc(options);
5177
5315
  }
5316
+ function historyRedact(id, options, clientOptions = {}) {
5317
+ return new PmClient(clientOptions).historyRedact(id, options);
5318
+ }
5319
+ function historyRepair(id, options = {}, clientOptions = {}) {
5320
+ return new PmClient(clientOptions).historyRepair(id, options);
5321
+ }
5322
+ function historyRepairAll(options = {}, clientOptions = {}) {
5323
+ return new PmClient(clientOptions).historyRepairAll(options);
5324
+ }
5325
+ function historyCompact(id, options = {}, clientOptions = {}) {
5326
+ return new PmClient(clientOptions).historyCompact(id, options);
5327
+ }
5328
+ function historyCompactBulk(options, clientOptions = {}) {
5329
+ return new PmClient(clientOptions).historyCompactBulk(options);
5330
+ }
5178
5331
  function create(options = {}, clientOptions = {}) {
5179
5332
  return new PmClient(clientOptions).create(options);
5180
5333
  }
@@ -5300,29 +5453,8 @@ async function getContracts(pmRootOrOptions, options = {}) {
5300
5453
  };
5301
5454
  return runContracts(resolvedOptions, global2);
5302
5455
  }
5303
- function readString(args, key) {
5304
- const value = args[key];
5305
- return typeof value === "string" && value.trim().length > 0 ? value : void 0;
5306
- }
5307
- function readScalarString(args, key) {
5308
- const value = args[key];
5309
- if (typeof value === "string") {
5310
- return value.trim().length > 0 ? value : void 0;
5311
- }
5312
- return typeof value === "number" && Number.isFinite(value) ? String(value) : void 0;
5313
- }
5314
- function readScalarStringAllowBlank(args, key) {
5315
- const value = args[key];
5316
- if (typeof value === "string") {
5317
- return value;
5318
- }
5319
- return typeof value === "number" && Number.isFinite(value) ? String(value) : void 0;
5320
- }
5321
- function isRecord2(value) {
5322
- return value !== null && typeof value === "object" && !Array.isArray(value);
5323
- }
5324
5456
  function readRequiredString(args, key) {
5325
- const value = readString(args, key);
5457
+ const value = readRuntimeString(args, key);
5326
5458
  if (!value) {
5327
5459
  throw new PmCliError(`Missing required argument: ${key}`, 64);
5328
5460
  }
@@ -5332,7 +5464,7 @@ function globalOptions(args) {
5332
5464
  return {
5333
5465
  json: true,
5334
5466
  quiet: true,
5335
- path: readString(args, "path"),
5467
+ path: readRuntimeString(args, "path"),
5336
5468
  noExtensions: args.noExtensions === true || args.no_extensions === true,
5337
5469
  noPager: true
5338
5470
  };
@@ -5445,8 +5577,8 @@ function optionsWithAuthor(args, action) {
5445
5577
  hoistKey("body");
5446
5578
  }
5447
5579
  const options = normalizeMcpOptionsArrays({ ...hoistedTopLevel, ...baseOptions }, action);
5448
- const author = readString(args, "author");
5449
- const authorFromAssignee = action !== void 0 && LIFECYCLE_AUTHOR_ALIAS_ACTIONS.has(action) ? readString(args, "assignee") ?? readString(options, "assignee") : void 0;
5580
+ const author = readRuntimeString(args, "author");
5581
+ const authorFromAssignee = action !== void 0 && LIFECYCLE_AUTHOR_ALIAS_ACTIONS.has(action) ? readRuntimeString(args, "assignee") ?? readRuntimeString(options, "assignee") : void 0;
5450
5582
  if (author && options.author === void 0) {
5451
5583
  return { ...options, author };
5452
5584
  }
@@ -5632,39 +5764,39 @@ function withMutationCompaction(args, options) {
5632
5764
  }
5633
5765
  function mutationListOptions(options) {
5634
5766
  return {
5635
- type: readScalarString(options, "filterType"),
5636
- tag: readScalarString(options, "filterTag"),
5637
- priority: readScalarString(options, "filterPriority"),
5638
- deadlineBefore: readScalarString(options, "filterDeadlineBefore"),
5639
- deadlineAfter: readScalarString(options, "filterDeadlineAfter"),
5640
- updatedAfter: readScalarString(options, "filterUpdatedAfter"),
5641
- updatedBefore: readScalarString(options, "filterUpdatedBefore"),
5642
- createdAfter: readScalarString(options, "filterCreatedAfter"),
5643
- createdBefore: readScalarString(options, "filterCreatedBefore"),
5644
- ids: readScalarStringAllowBlank(options, "ids"),
5645
- assignee: readScalarString(options, "filterAssignee"),
5646
- assigneeFilter: readScalarString(options, "filterAssigneeFilter") ?? readScalarString(options, "filterAssignee_filter"),
5647
- parent: readScalarString(options, "filterParent"),
5648
- sprint: readScalarString(options, "filterSprint"),
5649
- release: readScalarString(options, "filterRelease"),
5650
- limit: readScalarString(options, "limit"),
5651
- offset: readScalarString(options, "offset")
5767
+ type: readRuntimeScalarString(options, "filterType"),
5768
+ tag: readRuntimeScalarString(options, "filterTag"),
5769
+ priority: readRuntimeScalarString(options, "filterPriority"),
5770
+ deadlineBefore: readRuntimeScalarString(options, "filterDeadlineBefore"),
5771
+ deadlineAfter: readRuntimeScalarString(options, "filterDeadlineAfter"),
5772
+ updatedAfter: readRuntimeScalarString(options, "filterUpdatedAfter"),
5773
+ updatedBefore: readRuntimeScalarString(options, "filterUpdatedBefore"),
5774
+ createdAfter: readRuntimeScalarString(options, "filterCreatedAfter"),
5775
+ createdBefore: readRuntimeScalarString(options, "filterCreatedBefore"),
5776
+ ids: readRuntimeScalarStringAllowBlank(options, "ids"),
5777
+ assignee: readRuntimeScalarString(options, "filterAssignee"),
5778
+ assigneeFilter: readRuntimeScalarString(options, "filterAssigneeFilter") ?? readRuntimeScalarString(options, "filterAssignee_filter"),
5779
+ parent: readRuntimeScalarString(options, "filterParent"),
5780
+ sprint: readRuntimeScalarString(options, "filterSprint"),
5781
+ release: readRuntimeScalarString(options, "filterRelease"),
5782
+ limit: readRuntimeScalarString(options, "limit"),
5783
+ offset: readRuntimeScalarString(options, "offset")
5652
5784
  };
5653
5785
  }
5654
5786
  function closeManyOptionsFromFlat(options) {
5655
5787
  return {
5656
- status: readString(options, "filterStatus"),
5657
- list: isRecord2(options.list) ? normalizeListOptions(options.list) : mutationListOptions(options),
5658
- reason: readString(options, "reason"),
5659
- resolution: readString(options, "resolution"),
5660
- expectedResult: readString(options, "expectedResult") ?? readString(options, "expected_result") ?? readString(options, "expected"),
5661
- actualResult: readString(options, "actualResult") ?? readString(options, "actual_result") ?? readString(options, "actual"),
5662
- validateClose: readString(options, "validateClose") ?? readString(options, "validate_close"),
5663
- author: readString(options, "author"),
5664
- message: readString(options, "message"),
5788
+ status: readRuntimeString(options, "filterStatus"),
5789
+ list: isRuntimeRecord(options.list) ? normalizeListOptions(options.list) : mutationListOptions(options),
5790
+ reason: readRuntimeString(options, "reason"),
5791
+ resolution: readRuntimeString(options, "resolution"),
5792
+ expectedResult: readRuntimeString(options, "expectedResult") ?? readRuntimeString(options, "expected_result") ?? readRuntimeString(options, "expected"),
5793
+ actualResult: readRuntimeString(options, "actualResult") ?? readRuntimeString(options, "actual_result") ?? readRuntimeString(options, "actual"),
5794
+ validateClose: readRuntimeString(options, "validateClose") ?? readRuntimeString(options, "validate_close"),
5795
+ author: readRuntimeString(options, "author"),
5796
+ message: readRuntimeString(options, "message"),
5665
5797
  force: options.force === true ? true : void 0,
5666
5798
  dryRun: options.dryRun === true || options.dry_run === true ? true : void 0,
5667
- rollback: readString(options, "rollback"),
5799
+ rollback: readRuntimeString(options, "rollback"),
5668
5800
  checkpoint: options.checkpoint === false || options.noCheckpoint === true || options.no_checkpoint === true ? false : void 0
5669
5801
  };
5670
5802
  }
@@ -5720,23 +5852,23 @@ function normalizeMcpUpdateOptions(options) {
5720
5852
  return normalizeUpdateOptions(normalizedInput);
5721
5853
  }
5722
5854
  function updateManyOptionsFromFlat(options) {
5723
- if (isRecord2(options.list) || isRecord2(options.update)) {
5724
- const updateSource = isRecord2(options.update) ? options.update : updateManyUpdateOptionsFromFlat(options);
5855
+ if (isRuntimeRecord(options.list) || isRuntimeRecord(options.update)) {
5856
+ const updateSource = isRuntimeRecord(options.update) ? options.update : updateManyUpdateOptionsFromFlat(options);
5725
5857
  return {
5726
- status: readScalarString(options, "filterStatus"),
5727
- list: isRecord2(options.list) ? normalizeListOptions(options.list) : mutationListOptions(options),
5858
+ status: readRuntimeScalarString(options, "filterStatus"),
5859
+ list: isRuntimeRecord(options.list) ? normalizeListOptions(options.list) : mutationListOptions(options),
5728
5860
  update: normalizeMcpUpdateOptions(updateSource),
5729
5861
  dryRun: options.dryRun === true || options.dry_run === true ? true : void 0,
5730
- rollback: readString(options, "rollback"),
5862
+ rollback: readRuntimeString(options, "rollback"),
5731
5863
  checkpoint: options.checkpoint === false || options.noCheckpoint === true || options.no_checkpoint === true ? false : void 0
5732
5864
  };
5733
5865
  }
5734
5866
  return {
5735
- status: readScalarString(options, "filterStatus"),
5867
+ status: readRuntimeScalarString(options, "filterStatus"),
5736
5868
  list: mutationListOptions(options),
5737
5869
  update: updateManyUpdateOptionsFromFlat(options),
5738
5870
  dryRun: options.dryRun === true || options.dry_run === true ? true : void 0,
5739
- rollback: readString(options, "rollback"),
5871
+ rollback: readRuntimeString(options, "rollback"),
5740
5872
  checkpoint: options.checkpoint === false || options.noCheckpoint === true || options.no_checkpoint === true ? false : void 0
5741
5873
  };
5742
5874
  }
@@ -5886,7 +6018,7 @@ async function runAction(args) {
5886
6018
  const resolved = resolveSdkActionInput(args);
5887
6019
  const global2 = globalOptions(resolved.args);
5888
6020
  const invalidateWorkspaceContractsCache = shouldInvalidateWorkspaceContractsCacheAfterAction(resolved.action);
5889
- const explicitCwd = readString(resolved.args, "cwd");
6021
+ const explicitCwd = readRuntimeString(resolved.args, "cwd");
5890
6022
  const resolutionCwd = explicitCwd ?? process.cwd();
5891
6023
  try {
5892
6024
  return await withActiveExtensions(global2, explicitCwd, resolutionCwd, (activeExtensions) => dispatchAction(resolved.action, resolved.args, global2, activeExtensions));
@@ -5900,7 +6032,7 @@ function getOwnHandler(handlers, key) {
5900
6032
  return Object.prototype.hasOwnProperty.call(handlers, key) ? handlers[key] : void 0;
5901
6033
  }
5902
6034
  function readMcpTarget(ctx) {
5903
- return readString(ctx.args, "target") ?? readString(ctx.options, "target");
6035
+ return readRuntimeString(ctx.args, "target") ?? readRuntimeString(ctx.options, "target");
5904
6036
  }
5905
6037
  function requireMcpItemId(ctx, source = ctx.options) {
5906
6038
  return ctx.id ?? readRequiredString(source, "id");
@@ -5910,7 +6042,7 @@ async function runMcpListAction(ctx) {
5910
6042
  if (listOptions.compact === void 0 && listOptions.brief === void 0 && listOptions.fields === void 0 && listOptions.includeBody === void 0) {
5911
6043
  listOptions.compact = true;
5912
6044
  }
5913
- return withQuerySummary(await runList(readString(ctx.args, "status") ?? readString(listOptions, "status"), listOptions, ctx.global), listOptions);
6045
+ return withQuerySummary(await runList(readRuntimeString(ctx.args, "status") ?? readRuntimeString(listOptions, "status"), listOptions, ctx.global), listOptions);
5914
6046
  }
5915
6047
  async function runMcpSearchAction(ctx) {
5916
6048
  const searchOptions = { ...ctx.options };
@@ -5944,7 +6076,7 @@ async function runMcpUpdateAction(ctx) {
5944
6076
  }
5945
6077
  async function runMcpCloseAction(ctx) {
5946
6078
  const { changedFields, idOnly, runnerOptions } = withMutationCompaction(ctx.args, ctx.options);
5947
- const closeReason = readString(ctx.args, "reason") ?? readString(ctx.args, "text") ?? readString(runnerOptions, "reason") ?? readString(runnerOptions, "text");
6079
+ const closeReason = readRuntimeString(ctx.args, "reason") ?? readRuntimeString(ctx.args, "text") ?? readRuntimeString(runnerOptions, "reason") ?? readRuntimeString(runnerOptions, "text");
5948
6080
  return projectMutationResult(await runClose(requireMcpItemId(ctx, runnerOptions), closeReason, runnerOptions, ctx.global), { changedFields, idOnly });
5949
6081
  }
5950
6082
  function runMcpCommentsAction(ctx) {
@@ -5965,7 +6097,7 @@ function runMcpFilesAction(ctx) {
5965
6097
  }
5966
6098
  function runMcpTelemetryAction(ctx) {
5967
6099
  return runTelemetry({
5968
- subcommand: readString(ctx.args, "subcommand") ?? readString(ctx.options, "subcommand"),
6100
+ subcommand: readRuntimeString(ctx.args, "subcommand") ?? readRuntimeString(ctx.options, "subcommand"),
5969
6101
  limit: resolveMcpTelemetryLimit(ctx.args, ctx.options)
5970
6102
  }, ctx.global);
5971
6103
  }
@@ -5976,7 +6108,7 @@ function resolveMcpTelemetryLimit(args, options) {
5976
6108
  if (typeof options.limit === "number" && Number.isFinite(options.limit)) {
5977
6109
  return options.limit;
5978
6110
  }
5979
- return readString(args, "limit") ?? readString(options, "limit");
6111
+ return readRuntimeString(args, "limit") ?? readRuntimeString(options, "limit");
5980
6112
  }
5981
6113
  function runMcpHealthAction(ctx) {
5982
6114
  const healthOptions = { ...ctx.options };
@@ -5986,11 +6118,11 @@ function runMcpHealthAction(ctx) {
5986
6118
  return runHealth(ctx.global, healthOptions);
5987
6119
  }
5988
6120
  function runMcpConfigAction(ctx) {
5989
- const configAction = readString(ctx.args, "configAction") ?? readString(ctx.options, "configAction") ?? readString(ctx.options, "action");
6121
+ const configAction = readRuntimeString(ctx.args, "configAction") ?? readRuntimeString(ctx.options, "configAction") ?? readRuntimeString(ctx.options, "action");
5990
6122
  if (configAction === void 0) {
5991
6123
  throw new PmCliError("Missing required argument: configAction", 64);
5992
6124
  }
5993
- return runConfig(readString(ctx.args, "scope") ?? readString(ctx.options, "scope") ?? "project", configAction, readString(ctx.args, "key") ?? readString(ctx.options, "key"), ctx.options, ctx.global, readString(ctx.args, "value") ?? readString(ctx.options, "value"));
6125
+ return runConfig(readRuntimeString(ctx.args, "scope") ?? readRuntimeString(ctx.options, "scope") ?? "project", configAction, readRuntimeString(ctx.args, "key") ?? readRuntimeString(ctx.options, "key"), ctx.options, ctx.global, readRuntimeString(ctx.args, "value") ?? readRuntimeString(ctx.options, "value"));
5994
6126
  }
5995
6127
  function runMcpActivityAction(ctx) {
5996
6128
  const activityOptions = { ...ctx.options };
@@ -6000,28 +6132,6 @@ function runMcpActivityAction(ctx) {
6000
6132
  delete activityOptions.full;
6001
6133
  return runActivity(activityOptions, ctx.global);
6002
6134
  }
6003
- function runMcpHistoryRepairAction(ctx) {
6004
- const repairAll = ctx.options.all === true;
6005
- const repairId = ctx.id ?? readString(ctx.options, "id");
6006
- assertHistoryRepairTarget(repairId, repairAll);
6007
- return repairAll ? runHistoryRepairAll(ctx.options, ctx.global) : runHistoryRepair(repairId, ctx.options, ctx.global);
6008
- }
6009
- function parseMcpInteger(value, label) {
6010
- if (typeof value === "number") {
6011
- if (!Number.isInteger(value)) {
6012
- throw new PmCliError(`${label} must be a finite integer.`, 64);
6013
- }
6014
- return value;
6015
- }
6016
- if (typeof value === "string" && value.trim().length > 0) {
6017
- const parsed = Number(value);
6018
- if (!Number.isInteger(parsed)) {
6019
- throw new PmCliError(`${label} must be a finite integer.`, 64);
6020
- }
6021
- return parsed;
6022
- }
6023
- return void 0;
6024
- }
6025
6135
  function parseMcpIntegerPrefix(value, label) {
6026
6136
  if (typeof value === "number") {
6027
6137
  if (!Number.isFinite(value) || !Number.isInteger(value)) {
@@ -6043,7 +6153,7 @@ function parseMcpIntegerPrefix(value, label) {
6043
6153
  return void 0;
6044
6154
  }
6045
6155
  function runMcpPlanAction(ctx) {
6046
- const subcommand = readString(ctx.args, "subcommand") ?? readRequiredString(ctx.options, "subcommand");
6156
+ const subcommand = readRuntimeString(ctx.args, "subcommand") ?? readRequiredString(ctx.options, "subcommand");
6047
6157
  const planRecord = ctx.options;
6048
6158
  return runPlan({
6049
6159
  subcommand,
@@ -6058,13 +6168,13 @@ function readMcpPlanStepRef(ctx) {
6058
6168
  return typeof ctx.options.stepRef === "string" ? ctx.options.stepRef : typeof ctx.args.stepRef === "string" ? ctx.args.stepRef : void 0;
6059
6169
  }
6060
6170
  function createMcpSchemaContext(ctx) {
6061
- const subcommand = readString(ctx.args, "subcommand") ?? readRequiredString(ctx.options, "subcommand");
6171
+ const subcommand = readRuntimeString(ctx.args, "subcommand") ?? readRequiredString(ctx.options, "subcommand");
6062
6172
  const aliasSource = ctx.args.alias ?? ctx.options.alias;
6063
6173
  return {
6064
6174
  ctx,
6065
6175
  subcommand: subcommand.trim().toLowerCase(),
6066
- name: readString(ctx.args, "name") ?? readString(ctx.options, "name"),
6067
- author: readString(ctx.args, "author") ?? readString(ctx.options, "author"),
6176
+ name: readRuntimeString(ctx.args, "name") ?? readRuntimeString(ctx.options, "name"),
6177
+ author: readRuntimeString(ctx.args, "author") ?? readRuntimeString(ctx.options, "author"),
6068
6178
  force: ctx.args.force === true || ctx.options.force === true,
6069
6179
  aliases: aliasSource === void 0 ? void 0 : readStringArray(aliasSource)
6070
6180
  };
@@ -6080,7 +6190,7 @@ function runMcpSchemaReadOrRemoveAction(schema2) {
6080
6190
  "remove-type": () => runSchemaRemoveType(name, { author, force }, ctx.global),
6081
6191
  "remove-field": () => runSchemaRemoveField(name, { author, force }, ctx.global),
6082
6192
  "remove-status": () => runSchemaRemoveStatus(name, { author, force }, ctx.global),
6083
- "apply-preset": () => runSchemaApplyPreset(readString(ctx.args, "typePreset") ?? readString(ctx.options, "typePreset"), { author, force }, ctx.global)
6193
+ "apply-preset": () => runSchemaApplyPreset(readRuntimeString(ctx.args, "typePreset") ?? readRuntimeString(ctx.options, "typePreset"), { author, force }, ctx.global)
6084
6194
  };
6085
6195
  const handler = getOwnHandler(simpleHandlers, subcommand);
6086
6196
  return handler ? handler() : null;
@@ -6090,10 +6200,10 @@ function runMcpSchemaAddFieldAction(schema2) {
6090
6200
  const commandsSource = ctx.args.commands ?? ctx.options.commands;
6091
6201
  const requiredTypesSource = ctx.args.requiredTypes ?? ctx.options.requiredTypes;
6092
6202
  return runSchemaAddField(name, {
6093
- type: readString(ctx.args, "fieldType") ?? readString(ctx.options, "fieldType"),
6203
+ type: readRuntimeString(ctx.args, "fieldType") ?? readRuntimeString(ctx.options, "fieldType"),
6094
6204
  commands: commandsSource === void 0 ? void 0 : readStringArray(commandsSource),
6095
- description: readString(ctx.args, "description") ?? readString(ctx.options, "description"),
6096
- cliFlag: readString(ctx.args, "cliFlag") ?? readString(ctx.options, "cliFlag"),
6205
+ description: readRuntimeString(ctx.args, "description") ?? readRuntimeString(ctx.options, "description"),
6206
+ cliFlag: readRuntimeString(ctx.args, "cliFlag") ?? readRuntimeString(ctx.options, "cliFlag"),
6097
6207
  alias: aliases,
6098
6208
  required: ctx.args.required === true || ctx.options.required === true,
6099
6209
  requiredOnCreate: ctx.args.requiredOnCreate === true || ctx.options.requiredOnCreate === true,
@@ -6109,8 +6219,8 @@ function runMcpSchemaAddStatusAction(schema2) {
6109
6219
  return runSchemaAddStatus(name, {
6110
6220
  role: roleSource === void 0 ? void 0 : readStringArray(roleSource),
6111
6221
  alias: aliases,
6112
- description: readString(ctx.args, "description") ?? readString(ctx.options, "description"),
6113
- order: parseMcpInteger(ctx.args.order ?? ctx.options.order, "schema add-status order"),
6222
+ description: readRuntimeString(ctx.args, "description") ?? readRuntimeString(ctx.options, "description"),
6223
+ order: parseRuntimeInteger(ctx.args.order ?? ctx.options.order, "schema add-status order"),
6114
6224
  author,
6115
6225
  force
6116
6226
  }, ctx.global);
@@ -6118,9 +6228,9 @@ function runMcpSchemaAddStatusAction(schema2) {
6118
6228
  function runMcpSchemaAddTypeAction(schema2) {
6119
6229
  const { ctx, name, author, force, aliases } = schema2;
6120
6230
  return runSchemaAddType(name, {
6121
- description: readString(ctx.args, "description") ?? readString(ctx.options, "description"),
6122
- defaultStatus: readString(ctx.args, "defaultStatus") ?? readString(ctx.args, "default_status") ?? readString(ctx.options, "defaultStatus") ?? readString(ctx.options, "default_status"),
6123
- folder: readString(ctx.args, "folder") ?? readString(ctx.options, "folder"),
6231
+ description: readRuntimeString(ctx.args, "description") ?? readRuntimeString(ctx.options, "description"),
6232
+ defaultStatus: readRuntimeString(ctx.args, "defaultStatus") ?? readRuntimeString(ctx.args, "default_status") ?? readRuntimeString(ctx.options, "defaultStatus") ?? readRuntimeString(ctx.options, "default_status"),
6233
+ folder: readRuntimeString(ctx.args, "folder") ?? readRuntimeString(ctx.options, "folder"),
6124
6234
  alias: aliases,
6125
6235
  author,
6126
6236
  force
@@ -6141,7 +6251,7 @@ function runMcpSchemaAction(ctx) {
6141
6251
  if (schema2.subcommand === "add-type") {
6142
6252
  if (ctx.args.infer === true || ctx.options.infer === true) {
6143
6253
  return runSchemaInferTypes({
6144
- minCount: parseMcpInteger(ctx.args.minCount ?? ctx.options.minCount, "schema infer minCount"),
6254
+ minCount: parseRuntimeInteger(ctx.args.minCount ?? ctx.options.minCount, "schema infer minCount"),
6145
6255
  apply: ctx.args.apply === true || ctx.options.apply === true,
6146
6256
  author: schema2.author,
6147
6257
  force: schema2.force
@@ -6152,16 +6262,16 @@ function runMcpSchemaAction(ctx) {
6152
6262
  throw new PmCliError(`Unknown pm schema subcommand "${schema2.subcommand}". Allowed: add-type, remove-type, add-status, remove-status, add-field, remove-field, list-fields, show-field, apply-preset, list, show, show-status`, 64);
6153
6263
  }
6154
6264
  function runMcpProfileAction(ctx) {
6155
- const subcommand = readString(ctx.args, "subcommand") ?? readRequiredString(ctx.options, "subcommand");
6265
+ const subcommand = readRuntimeString(ctx.args, "subcommand") ?? readRequiredString(ctx.options, "subcommand");
6156
6266
  const normalizedSubcommand = subcommand.trim().toLowerCase();
6157
- const profileName = readString(ctx.args, "name") ?? readString(ctx.options, "name");
6267
+ const profileName = readRuntimeString(ctx.args, "name") ?? readRuntimeString(ctx.options, "name");
6158
6268
  const handlers = {
6159
6269
  list: () => runProfileList(),
6160
6270
  show: () => runProfileShow(profileName),
6161
6271
  lint: () => runProfileLint(profileName),
6162
6272
  apply: () => runProfileApply(profileName, {
6163
6273
  dryRun: ctx.args.dryRun === true || ctx.options.dryRun === true,
6164
- author: readString(ctx.args, "author") ?? readString(ctx.options, "author"),
6274
+ author: readRuntimeString(ctx.args, "author") ?? readRuntimeString(ctx.options, "author"),
6165
6275
  force: ctx.args.force === true || ctx.options.force === true
6166
6276
  }, ctx.global)
6167
6277
  };
@@ -6194,7 +6304,7 @@ async function runMcpUpdateManyAction(ctx) {
6194
6304
  }
6195
6305
  async function runMcpCloseManyAction(ctx) {
6196
6306
  const { changedFields, runnerOptions } = withMutationCompaction(ctx.args, ctx.options);
6197
- const topLevelReason = readString(ctx.args, "reason");
6307
+ const topLevelReason = readRuntimeString(ctx.args, "reason");
6198
6308
  const closeManyRunnerOptions = topLevelReason !== void 0 && runnerOptions.reason === void 0 ? { ...runnerOptions, reason: topLevelReason } : { ...runnerOptions };
6199
6309
  if (ctx.force && closeManyRunnerOptions.force === void 0) {
6200
6310
  closeManyRunnerOptions.force = true;
@@ -6203,7 +6313,7 @@ async function runMcpCloseManyAction(ctx) {
6203
6313
  }
6204
6314
  async function runMcpRestoreAction(ctx) {
6205
6315
  const { changedFields, idOnly, runnerOptions } = withMutationCompaction(ctx.args, ctx.options);
6206
- const target = readString(runnerOptions, "target") ?? readRequiredString(ctx.args, "target");
6316
+ const target = readRuntimeString(runnerOptions, "target") ?? readRequiredString(ctx.args, "target");
6207
6317
  return projectMutationResult(await runRestore(requireMcpItemId(ctx, runnerOptions), target, runnerOptions, ctx.global), {
6208
6318
  changedFields,
6209
6319
  idOnly
@@ -6247,7 +6357,7 @@ async function runMcpPauseTaskAction(ctx) {
6247
6357
  }
6248
6358
  async function runMcpCloseTaskAction(ctx) {
6249
6359
  const id = requireMcpItemId(ctx);
6250
- const closeReason = readString(ctx.args, "reason") ?? readString(ctx.args, "text") ?? readString(ctx.options, "reason") ?? readString(ctx.options, "text");
6360
+ const closeReason = readRuntimeString(ctx.args, "reason") ?? readRuntimeString(ctx.args, "text") ?? readRuntimeString(ctx.options, "reason") ?? readRuntimeString(ctx.options, "text");
6251
6361
  const closeResult = await runClose(id, closeReason, { ...ctx.options, force: ctx.force }, ctx.global);
6252
6362
  const releaseResult = await runRelease(id, ctx.force, ctx.global, ctx.options);
6253
6363
  return {
@@ -6258,7 +6368,7 @@ async function runMcpCloseTaskAction(ctx) {
6258
6368
  };
6259
6369
  }
6260
6370
  var SDK_ACTION_HANDLERS = {
6261
- init: (ctx) => runInit(readString(ctx.args, "prefix"), ctx.global, ctx.options),
6371
+ init: (ctx) => runInit(readRuntimeString(ctx.args, "prefix"), ctx.global, ctx.options),
6262
6372
  context: (ctx) => runContext(ctx.options, ctx.global),
6263
6373
  next: (ctx) => runNext(ctx.options, ctx.global),
6264
6374
  list: runMcpListAction,
@@ -6283,7 +6393,9 @@ var SDK_ACTION_HANDLERS = {
6283
6393
  test: (ctx) => runTest(requireMcpItemId(ctx), ctx.options, ctx.global),
6284
6394
  "test-all": (ctx) => runTestAll(ctx.options, ctx.global),
6285
6395
  telemetry: runMcpTelemetryAction,
6286
- validate: (ctx) => runValidate(ctx.options, ctx.global),
6396
+ validate: (ctx) => runValidate(ctx.options, ctx.global, {
6397
+ runUpdate: (id, options, global2) => runUpdate(id, options, global2)
6398
+ }),
6287
6399
  health: runMcpHealthAction,
6288
6400
  contracts: (ctx) => runContracts(ctx.options, ctx.global),
6289
6401
  config: runMcpConfigAction,
@@ -6299,7 +6411,7 @@ var SDK_ACTION_HANDLERS = {
6299
6411
  history: (ctx) => runHistory(requireMcpItemId(ctx), ctx.options, ctx.global),
6300
6412
  "history-redact": (ctx) => runHistoryRedact(requireMcpItemId(ctx), ctx.options, ctx.global),
6301
6413
  "history-repair": runMcpHistoryRepairAction,
6302
- "history-compact": (ctx) => runHistoryCompact(requireMcpItemId(ctx), ctx.options, ctx.global),
6414
+ "history-compact": runMcpHistoryCompactAction,
6303
6415
  plan: runMcpPlanAction,
6304
6416
  schema: runMcpSchemaAction,
6305
6417
  profile: runMcpProfileAction,
@@ -6315,7 +6427,7 @@ async function dispatchAction(action, args, global2, activeExtensions) {
6315
6427
  action,
6316
6428
  args,
6317
6429
  options,
6318
- id: readString(args, "id"),
6430
+ id: readRuntimeString(args, "id"),
6319
6431
  force: args.force === true || options.force === true,
6320
6432
  global: global2,
6321
6433
  activeExtensions
@@ -6334,8 +6446,8 @@ var actionRunnerTestHooks = {
6334
6446
  normalizeMcpOptionsArrays,
6335
6447
  optionsWithAuthor,
6336
6448
  readRequiredString,
6337
- readScalarString,
6338
- readScalarStringAllowBlank,
6449
+ readScalarString: readRuntimeScalarString,
6450
+ readScalarStringAllowBlank: readRuntimeScalarStringAllowBlank,
6339
6451
  readStringArray,
6340
6452
  updateManyOptionsFromFlat,
6341
6453
  withAddNoteOption,
@@ -6436,6 +6548,11 @@ export {
6436
6548
  validate,
6437
6549
  health,
6438
6550
  gc,
6551
+ historyRedact,
6552
+ historyRepair,
6553
+ historyRepairAll,
6554
+ historyCompact,
6555
+ historyCompactBulk,
6439
6556
  create,
6440
6557
  update,
6441
6558
  close,
@@ -6470,4 +6587,4 @@ export {
6470
6587
  readRequiredString,
6471
6588
  runAction
6472
6589
  };
6473
- //# sourceMappingURL=chunk-5URI7TPJ.js.map
6590
+ //# sourceMappingURL=chunk-4XQ3BDV4.js.map