@unbrained/pm-cli 2026.6.22 → 2026.6.24

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 (425) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/dist/cli/commands/completion.js +5 -4
  3. package/dist/cli/commands/completion.js.map +1 -1
  4. package/dist/cli/commands/contracts.js +4 -3
  5. package/dist/cli/commands/contracts.js.map +1 -1
  6. package/dist/cli/commands/extension/describe.d.ts +70 -0
  7. package/dist/cli/commands/extension/describe.js +76 -0
  8. package/dist/cli/commands/extension/describe.js.map +1 -0
  9. package/dist/cli/commands/extension/scaffold.js +183 -47
  10. package/dist/cli/commands/extension/scaffold.js.map +1 -1
  11. package/dist/cli/commands/extension.d.ts +2 -1
  12. package/dist/cli/commands/extension.js +36 -4
  13. package/dist/cli/commands/extension.js.map +1 -1
  14. package/dist/cli/help-content.js +6 -2
  15. package/dist/cli/help-content.js.map +1 -1
  16. package/dist/cli/register-setup.js +10 -2
  17. package/dist/cli/register-setup.js.map +1 -1
  18. package/dist/cli-bundle/chunks/activity-54TXGJ2T.js +18 -0
  19. package/dist/cli-bundle/chunks/{activity-DXS2XMQU.js → activity-N7RVTLBQ.js} +11 -11
  20. package/dist/cli-bundle/chunks/{aggregate-IHM4KMQ3.js → aggregate-63NWNIBR.js} +10 -10
  21. package/dist/cli-bundle/chunks/{aggregate-NMYDVQF7.js → aggregate-YHCYX2EV.js} +10 -10
  22. package/dist/cli-bundle/chunks/{append-3HY5G7ET.js → append-PUKREFV5.js} +8 -8
  23. package/dist/cli-bundle/chunks/{append-K54MDQYC.js → append-VLQQDHMJ.js} +8 -8
  24. package/dist/cli-bundle/chunks/{chunk-DU64SZUQ.js → chunk-2WCYE3IF.js} +2 -2
  25. package/dist/cli-bundle/chunks/{chunk-NKZOJPXK.js → chunk-3BKH2CL3.js} +3 -3
  26. package/dist/cli-bundle/chunks/{chunk-7MALIV5H.js → chunk-4XDGYFHL.js} +9 -9
  27. package/dist/cli-bundle/chunks/{chunk-VB54F347.js → chunk-5BBEWX6C.js} +2 -2
  28. package/dist/cli-bundle/chunks/{chunk-DHBPJ7VG.js → chunk-5S4ZGDB2.js} +2 -2
  29. package/dist/cli-bundle/chunks/{chunk-UKK2VTTH.js → chunk-6EBNFQOR.js} +9 -9
  30. package/dist/cli-bundle/chunks/{chunk-5SESR24H.js → chunk-6EL7SW5C.js} +8 -8
  31. package/dist/cli-bundle/chunks/{chunk-JLSC5NPC.js → chunk-6W3Y65PL.js} +10 -10
  32. package/dist/cli-bundle/chunks/{chunk-HYQV75IB.js → chunk-A66VYUOV.js} +7 -7
  33. package/dist/cli-bundle/chunks/{chunk-I367IDZP.js → chunk-ABYCA5VX.js} +7 -7
  34. package/dist/cli-bundle/chunks/{chunk-47HTJ6BU.js → chunk-AEACLRVH.js} +5 -5
  35. package/dist/cli-bundle/chunks/{chunk-MD7XKVWI.js → chunk-ALKFCIIB.js} +7 -7
  36. package/dist/cli-bundle/chunks/{chunk-B2KR24R4.js → chunk-ALQKV6U7.js} +9 -9
  37. package/dist/cli-bundle/chunks/{chunk-NIWY4V4Z.js → chunk-AYPQUFCX.js} +3 -3
  38. package/dist/cli-bundle/chunks/{chunk-AJXYOYJV.js → chunk-B74BP6IS.js} +2 -2
  39. package/dist/cli-bundle/chunks/{chunk-THKDPOS5.js → chunk-BFFO3AIB.js} +8 -8
  40. package/dist/cli-bundle/chunks/{chunk-CR7KFPAQ.js → chunk-C4C3EJCJ.js} +3 -3
  41. package/dist/cli-bundle/chunks/{chunk-J2TSPY5L.js → chunk-CG3KP6I5.js} +4 -4
  42. package/dist/cli-bundle/chunks/{chunk-CWPBGUC7.js → chunk-CZIFFMZI.js} +2 -2
  43. package/dist/cli-bundle/chunks/{chunk-75VEYQJS.js → chunk-DTABLLVE.js} +3 -3
  44. package/dist/cli-bundle/chunks/{chunk-TIKJAXQW.js → chunk-EOGBMLCE.js} +3 -3
  45. package/dist/cli-bundle/chunks/{chunk-YATDFWYK.js → chunk-EWRSXOIZ.js} +7 -7
  46. package/dist/cli-bundle/chunks/{chunk-RZZMSY4P.js → chunk-EYPINTFR.js} +151 -98
  47. package/dist/cli-bundle/chunks/chunk-EYPINTFR.js.map +7 -0
  48. package/dist/cli-bundle/chunks/{chunk-RPRFBXND.js → chunk-F32L4HR6.js} +3 -3
  49. package/dist/cli-bundle/chunks/{chunk-NVUATMTC.js → chunk-F4BNR2IN.js} +3 -3
  50. package/dist/cli-bundle/chunks/{chunk-Y4BZEND6.js → chunk-FBLT6WGK.js} +2 -2
  51. package/dist/cli-bundle/chunks/{chunk-PCH2JTEO.js → chunk-FMWW2JDU.js} +2 -2
  52. package/dist/cli-bundle/chunks/{chunk-WQDX7DVG.js → chunk-GDUMGZK3.js} +7 -7
  53. package/dist/cli-bundle/chunks/{chunk-KBTREGVO.js → chunk-GQYJEEFX.js} +8 -5
  54. package/dist/cli-bundle/chunks/{chunk-KBTREGVO.js.map → chunk-GQYJEEFX.js.map} +1 -1
  55. package/dist/cli-bundle/chunks/{chunk-FK6MV5F5.js → chunk-HBAEFWX3.js} +12 -12
  56. package/dist/cli-bundle/chunks/{chunk-6UPTNMVW.js → chunk-HC2S36NB.js} +5 -5
  57. package/dist/cli-bundle/chunks/{chunk-XKNF3VRJ.js → chunk-HZF5RLKX.js} +5 -5
  58. package/dist/cli-bundle/chunks/{chunk-4JXWVHMN.js → chunk-I6QMJ2XT.js} +2 -2
  59. package/dist/cli-bundle/chunks/{chunk-44O4JIN6.js → chunk-IAP5KYBQ.js} +13 -13
  60. package/dist/cli-bundle/chunks/{chunk-4YJA4LGU.js → chunk-INPHFO33.js} +160 -42
  61. package/dist/cli-bundle/chunks/chunk-INPHFO33.js.map +7 -0
  62. package/dist/cli-bundle/chunks/{chunk-A7E4ZXG2.js → chunk-IOT6WRL5.js} +2 -2
  63. package/dist/cli-bundle/chunks/{chunk-KRJJPDUO.js → chunk-IXAZI443.js} +2 -2
  64. package/dist/cli-bundle/chunks/{chunk-DMT4ODVN.js → chunk-J3NMWFIN.js} +2 -2
  65. package/dist/cli-bundle/chunks/{chunk-7PBGTIN3.js → chunk-J7I4C5ZB.js} +5 -5
  66. package/dist/cli-bundle/chunks/{chunk-7GCCDXXN.js → chunk-JKL6HRMV.js} +123 -8
  67. package/dist/cli-bundle/chunks/chunk-JKL6HRMV.js.map +7 -0
  68. package/dist/cli-bundle/chunks/{chunk-CLLVBO3I.js → chunk-JPJDP4VU.js} +2 -2
  69. package/dist/cli-bundle/chunks/{chunk-PJS2J7Z4.js → chunk-JV27C7OZ.js} +3 -3
  70. package/dist/cli-bundle/chunks/{chunk-K25UDYJ4.js → chunk-KIEAK7YE.js} +2 -2
  71. package/dist/cli-bundle/chunks/{chunk-GGAXE22C.js → chunk-KJZOSF7J.js} +6 -6
  72. package/dist/cli-bundle/chunks/{chunk-GXBSFKSX.js → chunk-KKX4Z2SE.js} +4 -4
  73. package/dist/cli-bundle/chunks/{chunk-D35LTIFR.js → chunk-L7UXKP2I.js} +110 -9
  74. package/dist/cli-bundle/chunks/chunk-L7UXKP2I.js.map +1 -0
  75. package/dist/cli-bundle/chunks/{chunk-C5SWTISA.js → chunk-LNEDHJNQ.js} +12 -12
  76. package/dist/cli-bundle/chunks/{chunk-YRLLL5TY.js → chunk-LU36E6GU.js} +8 -8
  77. package/dist/cli-bundle/chunks/{chunk-I6XE47J2.js → chunk-M6TUBOGW.js} +5 -5
  78. package/dist/cli-bundle/chunks/{chunk-DBQUQ3AS.js → chunk-MEXZ5XUM.js} +7 -4
  79. package/dist/cli-bundle/chunks/{chunk-DBQUQ3AS.js.map → chunk-MEXZ5XUM.js.map} +2 -2
  80. package/dist/cli-bundle/chunks/{chunk-YJICYNAV.js → chunk-MWMHZOZZ.js} +8 -8
  81. package/dist/cli-bundle/chunks/{chunk-SFKQAVZA.js → chunk-N5B6WZC5.js} +8 -8
  82. package/dist/cli-bundle/chunks/{chunk-3GL6LTUL.js → chunk-NJ73ALW2.js} +161 -43
  83. package/dist/cli-bundle/chunks/chunk-NJ73ALW2.js.map +1 -0
  84. package/dist/cli-bundle/chunks/{chunk-WBSYW3NT.js → chunk-NVXGVEFD.js} +2 -2
  85. package/dist/cli-bundle/chunks/{chunk-7MPTFYT3.js → chunk-OF7V47P3.js} +15 -4
  86. package/dist/cli-bundle/chunks/chunk-OF7V47P3.js.map +1 -0
  87. package/dist/cli-bundle/chunks/{chunk-GNDHOR64.js → chunk-OHDQNKJB.js} +6 -6
  88. package/dist/cli-bundle/chunks/{chunk-2LEYMXI6.js → chunk-OQ2E64FH.js} +4 -4
  89. package/dist/cli-bundle/chunks/{chunk-25XZN3JD.js → chunk-PEL2NLQE.js} +2 -2
  90. package/dist/cli-bundle/chunks/{chunk-H6FNDCDI.js → chunk-PRVTGX64.js} +5 -5
  91. package/dist/cli-bundle/chunks/{chunk-TZQKEBKF.js → chunk-QOUOMPHO.js} +2 -2
  92. package/dist/cli-bundle/chunks/{chunk-77VKGH4L.js → chunk-RAWA3Y7O.js} +10 -10
  93. package/dist/cli-bundle/chunks/{chunk-Y335KFHD.js → chunk-RRP6D345.js} +9 -9
  94. package/dist/cli-bundle/chunks/{chunk-4SDKF5BG.js → chunk-SKC4UTRP.js} +3 -3
  95. package/dist/cli-bundle/chunks/{chunk-TRUFOER3.js → chunk-SMXSDY7J.js} +15 -4
  96. package/dist/cli-bundle/chunks/chunk-SMXSDY7J.js.map +7 -0
  97. package/dist/cli-bundle/chunks/{chunk-JY25IOEZ.js → chunk-SUREE24M.js} +5 -5
  98. package/dist/cli-bundle/chunks/{chunk-A25LOPRG.js → chunk-TIM4OD74.js} +2 -2
  99. package/dist/cli-bundle/chunks/{chunk-KK4TQ3ZP.js → chunk-TKPP4GOO.js} +2 -2
  100. package/dist/cli-bundle/chunks/{chunk-6FQHNHQQ.js → chunk-TSI32UEL.js} +3 -3
  101. package/dist/cli-bundle/chunks/{chunk-TJABI6PR.js → chunk-UACWNBL2.js} +5 -5
  102. package/dist/cli-bundle/chunks/{chunk-EVPVCE4R.js → chunk-V4UYNSEM.js} +3 -3
  103. package/dist/cli-bundle/chunks/{chunk-QQWEROGS.js → chunk-VFJYVXHL.js} +7 -7
  104. package/dist/cli-bundle/chunks/{chunk-KL5ELX2X.js → chunk-VSAABFGQ.js} +144 -98
  105. package/dist/cli-bundle/chunks/chunk-VSAABFGQ.js.map +1 -0
  106. package/dist/cli-bundle/chunks/{chunk-YQSWTVZF.js → chunk-WB5BYQMF.js} +4 -4
  107. package/dist/cli-bundle/chunks/{chunk-MNGAQB2E.js → chunk-XVYKWZNL.js} +8 -8
  108. package/dist/cli-bundle/chunks/{chunk-V4SM4UAL.js → chunk-XXKV4UWE.js} +13 -13
  109. package/dist/cli-bundle/chunks/{chunk-GU7YHKYP.js → chunk-YV2OSAMS.js} +2 -2
  110. package/dist/cli-bundle/chunks/{chunk-P7ZU73BO.js → chunk-ZLWRPBOW.js} +3 -3
  111. package/dist/cli-bundle/chunks/{chunk-3VLPDG3J.js → chunk-ZV7IQ23N.js} +2 -2
  112. package/dist/cli-bundle/chunks/{claim-MPXNVBZQ.js → claim-FZZZCAY6.js} +10 -10
  113. package/dist/cli-bundle/chunks/{claim-SKHJDLW6.js → claim-XK5QBZE3.js} +10 -10
  114. package/dist/cli-bundle/chunks/close-JEBZXONN.js +15 -0
  115. package/dist/cli-bundle/chunks/{close-4RKSL5L6.js → close-QHMVWM7M.js} +8 -8
  116. package/dist/cli-bundle/chunks/{close-many-SXODYBDP.js → close-many-OIXJE2JZ.js} +15 -15
  117. package/dist/cli-bundle/chunks/{close-many-AWTPXLHJ.js → close-many-SUU5BS2C.js} +15 -15
  118. package/dist/cli-bundle/chunks/{comments-YYW5P7AG.js → comments-5YM62D75.js} +10 -10
  119. package/dist/cli-bundle/chunks/{comments-OOH64LWW.js → comments-RH3IBIRH.js} +10 -10
  120. package/dist/cli-bundle/chunks/{config-3445MCQQ.js → config-NCNNWF6R.js} +8 -8
  121. package/dist/cli-bundle/chunks/{config-LCDMKRB2.js → config-SW3U7XP2.js} +8 -8
  122. package/dist/cli-bundle/chunks/{context-PJCURODY.js → context-55VEOYI3.js} +13 -13
  123. package/dist/cli-bundle/chunks/{context-DZMIBIVP.js → context-5LB7UGKE.js} +13 -13
  124. package/dist/cli-bundle/chunks/{contracts-MP2P3HL5.js → contracts-JXFGBOYT.js} +8 -6
  125. package/dist/cli-bundle/chunks/contracts-JXFGBOYT.js.map +1 -0
  126. package/dist/cli-bundle/chunks/{contracts-7YDFEJB3.js → contracts-SY6PDFIK.js} +7 -5
  127. package/dist/cli-bundle/chunks/contracts-SY6PDFIK.js.map +7 -0
  128. package/dist/cli-bundle/chunks/{copy-63IQQRRS.js → copy-IEDBJOOX.js} +7 -7
  129. package/dist/cli-bundle/chunks/{copy-TASIH2AZ.js → copy-N3GE6FYS.js} +7 -7
  130. package/dist/cli-bundle/chunks/create-CLSCHGJJ.js +30 -0
  131. package/dist/cli-bundle/chunks/{create-TGSB5GV4.js → create-O4VONGPG.js} +14 -14
  132. package/dist/cli-bundle/chunks/{delete-ARILQQLB.js → delete-724EQ6OS.js} +7 -7
  133. package/dist/cli-bundle/chunks/{delete-ZQKBZYNK.js → delete-LPEIF7RU.js} +7 -7
  134. package/dist/cli-bundle/chunks/{deps-MSHQR2GY.js → deps-RSBU4SIU.js} +7 -7
  135. package/dist/cli-bundle/chunks/{deps-NJFJIMQ5.js → deps-T3Y6Y7RT.js} +7 -7
  136. package/dist/cli-bundle/chunks/{docs-XK2UVUXX.js → docs-75ZLCO3G.js} +9 -9
  137. package/dist/cli-bundle/chunks/{docs-SS4UKYYA.js → docs-IFS7HZPP.js} +9 -9
  138. package/dist/cli-bundle/chunks/{eval-JOTG2YHU.js → eval-L2KD7W3M.js} +12 -12
  139. package/dist/cli-bundle/chunks/{eval-FVZGX5IZ.js → eval-QGR7JCQO.js} +12 -12
  140. package/dist/cli-bundle/chunks/{extension-OQPS27B4.js → extension-3JYWJ5K2.js} +6 -6
  141. package/dist/cli-bundle/chunks/{extension-NLMS47I4.js → extension-YQF4CPIR.js} +6 -6
  142. package/dist/cli-bundle/chunks/{files-Y2P6LN5A.js → files-5BQWDRDT.js} +9 -9
  143. package/dist/cli-bundle/chunks/{files-3EVJQZ2N.js → files-EPEJMJHQ.js} +9 -9
  144. package/dist/cli-bundle/chunks/{focus-D5ZUPTII.js → focus-DQVJAPOE.js} +8 -8
  145. package/dist/cli-bundle/chunks/{focus-ZPIFTY4R.js → focus-RWGKD76E.js} +8 -8
  146. package/dist/cli-bundle/chunks/{gc-LXXDY456.js → gc-BEJMQT64.js} +3 -3
  147. package/dist/cli-bundle/chunks/{gc-RNOEQHSX.js → gc-JEFQDJPA.js} +3 -3
  148. package/dist/cli-bundle/chunks/{get-W23G7MJX.js → get-LQG6PEVG.js} +11 -11
  149. package/dist/cli-bundle/chunks/{get-Q3SZGQHD.js → get-WVN75H42.js} +11 -11
  150. package/dist/cli-bundle/chunks/{health-UDDGJLPP.js → health-JJJOY7DJ.js} +14 -14
  151. package/dist/cli-bundle/chunks/{health-5LHSX365.js → health-P67NZ6TT.js} +14 -14
  152. package/dist/cli-bundle/chunks/history-ALTM2RRP.js +20 -0
  153. package/dist/cli-bundle/chunks/{history-6CZVFIUJ.js → history-RUKPKNY7.js} +10 -10
  154. package/dist/cli-bundle/chunks/{history-compact-VWUSQH6Z.js → history-compact-NQ7VPRVT.js} +12 -12
  155. package/dist/cli-bundle/chunks/{history-compact-M35PDQ4G.js → history-compact-ZAOWR7GD.js} +12 -12
  156. package/dist/cli-bundle/chunks/history-redact-5YGLWUDH.js +21 -0
  157. package/dist/cli-bundle/chunks/{history-redact-AJGARHT3.js → history-redact-YY4XYVEP.js} +11 -11
  158. package/dist/cli-bundle/chunks/{history-repair-YUAHIPIN.js → history-repair-EHL4ODQY.js} +12 -12
  159. package/dist/cli-bundle/chunks/{history-repair-5RDMF7K4.js → history-repair-YSQH6SY6.js} +12 -12
  160. package/dist/cli-bundle/chunks/init-C4CRHW22.js +21 -0
  161. package/dist/cli-bundle/chunks/{init-HASX3YNJ.js → init-HBFGYS66.js} +11 -11
  162. package/dist/cli-bundle/chunks/{learnings-JNGUIJDK.js → learnings-J555ZFPD.js} +10 -10
  163. package/dist/cli-bundle/chunks/{learnings-M4KA6MQE.js → learnings-KFQO7GEZ.js} +10 -10
  164. package/dist/cli-bundle/chunks/{list-6FMKTIH3.js → list-C7R33MD5.js} +10 -10
  165. package/dist/cli-bundle/chunks/{list-5UU2W24O.js → list-DSN6UNFB.js} +10 -10
  166. package/dist/cli-bundle/chunks/{notes-PYCPLA5Y.js → notes-V4VNIQL4.js} +10 -10
  167. package/dist/cli-bundle/chunks/{notes-MODH5CBT.js → notes-VYJFN2A3.js} +10 -10
  168. package/dist/cli-bundle/chunks/{plan-DXRIRYRU.js → plan-DHRSVSHR.js} +14 -14
  169. package/dist/cli-bundle/chunks/{plan-EHQALWSC.js → plan-RBHQ5PO7.js} +14 -14
  170. package/dist/cli-bundle/chunks/{register-list-query-QAASVP2J.js → register-list-query-CCMHGZTF.js} +19 -19
  171. package/dist/cli-bundle/chunks/{register-list-query-WE54YJMH.js → register-list-query-OM3E2KMY.js} +19 -19
  172. package/dist/cli-bundle/chunks/{register-mutation-B6DZJTY2.js → register-mutation-N3CDEGZU.js} +33 -33
  173. package/dist/cli-bundle/chunks/{register-mutation-CPV4C2KR.js → register-mutation-UXTTWL6N.js} +33 -33
  174. package/dist/cli-bundle/chunks/{register-operations-RC4C3423.js → register-operations-R2FLOCRI.js} +32 -32
  175. package/dist/cli-bundle/chunks/{register-operations-AT3BVVX2.js → register-operations-UDIFMQKD.js} +32 -32
  176. package/dist/cli-bundle/chunks/{register-setup-JSMJEFCJ.js → register-setup-G5LTSFYK.js} +24 -20
  177. package/dist/cli-bundle/chunks/register-setup-G5LTSFYK.js.map +1 -0
  178. package/dist/cli-bundle/chunks/{register-setup-HXEHMDHE.js → register-setup-TWHKICM2.js} +23 -19
  179. package/dist/cli-bundle/chunks/register-setup-TWHKICM2.js.map +7 -0
  180. package/dist/cli-bundle/chunks/{restore-FNBV4GWE.js → restore-LL2WLEDG.js} +11 -11
  181. package/dist/cli-bundle/chunks/restore-LQHXBAY5.js +19 -0
  182. package/dist/cli-bundle/chunks/{scheduling-shortcuts-ECL6GBMZ.js → scheduling-shortcuts-255GI3BU.js} +14 -14
  183. package/dist/cli-bundle/chunks/{scheduling-shortcuts-JRIUREEU.js → scheduling-shortcuts-M4H2ZI64.js} +14 -14
  184. package/dist/cli-bundle/chunks/{schema-74YENAJL.js → schema-C6QA367T.js} +9 -9
  185. package/dist/cli-bundle/chunks/{schema-TCW3I7QR.js → schema-QO5I4FBL.js} +9 -9
  186. package/dist/cli-bundle/chunks/{search-7USZ6XZA.js → search-2EI6EAXH.js} +12 -12
  187. package/dist/cli-bundle/chunks/{search-GNAUE65M.js → search-QBFBLQRO.js} +12 -12
  188. package/dist/cli-bundle/chunks/{stats-CVHASAEU.js → stats-TCW2SZQG.js} +8 -8
  189. package/dist/cli-bundle/chunks/{stats-DQMKJMFT.js → stats-TKC6CAKB.js} +8 -8
  190. package/dist/cli-bundle/chunks/{telemetry-PQTL5YS2.js → telemetry-BT2VSWU2.js} +4 -4
  191. package/dist/cli-bundle/chunks/{telemetry-7P5EUWCS.js → telemetry-LQ6FRTUT.js} +4 -4
  192. package/dist/cli-bundle/chunks/{test-FDQZQNZ4.js → test-NV2DRPUS.js} +16 -16
  193. package/dist/cli-bundle/chunks/test-WA6RZGM2.js +36 -0
  194. package/dist/cli-bundle/chunks/{test-all-PIPPS4S5.js → test-all-DZ76VTPQ.js} +16 -16
  195. package/dist/cli-bundle/chunks/{test-all-WQIAZVA6.js → test-all-REW67LXT.js} +16 -16
  196. package/dist/cli-bundle/chunks/{test-runs-JS6DNCCI.js → test-runs-FQ5WNQLP.js} +5 -5
  197. package/dist/cli-bundle/chunks/{test-runs-NZD2QGL5.js → test-runs-PX73DMMI.js} +5 -5
  198. package/dist/cli-bundle/chunks/update-BSKMQOYH.js +28 -0
  199. package/dist/cli-bundle/chunks/update-FIGYNQ2I.js +24 -0
  200. package/dist/cli-bundle/chunks/{update-many-B3TH5TDS.js → update-many-2ILP6E4Y.js} +23 -23
  201. package/dist/cli-bundle/chunks/{update-many-6NTZ5J5D.js → update-many-Q5ZEI64S.js} +23 -23
  202. package/dist/cli-bundle/chunks/{upgrade-76IKZ6EZ.js → upgrade-DHL74PQH.js} +6 -6
  203. package/dist/cli-bundle/chunks/{upgrade-4C7VE7MS.js → upgrade-FOZKQTQF.js} +6 -6
  204. package/dist/cli-bundle/chunks/{validate-BPM6Z3OT.js → validate-54SYJ7QW.js} +21 -21
  205. package/dist/cli-bundle/chunks/{validate-AQU7OCL3.js → validate-HYZNIB6W.js} +21 -21
  206. package/dist/cli-bundle/main.js +22 -18
  207. package/dist/cli-bundle/main.js.map +2 -2
  208. package/dist/core/extensions/activation-summary.d.ts +109 -0
  209. package/dist/core/extensions/activation-summary.js +60 -0
  210. package/dist/core/extensions/activation-summary.js.map +1 -0
  211. package/dist/core/extensions/capability-usage.d.ts +10 -0
  212. package/dist/core/extensions/capability-usage.js +12 -3
  213. package/dist/core/extensions/capability-usage.js.map +1 -1
  214. package/dist/core/extensions/loader.d.ts +1 -2
  215. package/dist/core/extensions/loader.js +40 -103
  216. package/dist/core/extensions/loader.js.map +1 -1
  217. package/dist/core/extensions/version-compat.d.ts +107 -0
  218. package/dist/core/extensions/version-compat.js +130 -0
  219. package/dist/core/extensions/version-compat.js.map +1 -0
  220. package/dist/core/telemetry/runtime.js +5 -2
  221. package/dist/core/telemetry/runtime.js.map +1 -1
  222. package/dist/sdk/cli-contracts/enum-contracts.d.ts +1 -1
  223. package/dist/sdk/cli-contracts/enum-contracts.js +4 -2
  224. package/dist/sdk/cli-contracts/enum-contracts.js.map +1 -1
  225. package/dist/sdk/cli-contracts.d.ts +1 -0
  226. package/dist/sdk/cli-contracts.js +10 -2
  227. package/dist/sdk/cli-contracts.js.map +1 -1
  228. package/dist/sdk/compose.d.ts +636 -0
  229. package/dist/sdk/compose.js +841 -0
  230. package/dist/sdk/compose.js.map +1 -0
  231. package/dist/sdk/define.d.ts +195 -0
  232. package/dist/sdk/define.js +204 -0
  233. package/dist/sdk/define.js.map +1 -0
  234. package/dist/sdk/index.d.ts +4 -27
  235. package/dist/sdk/index.js +5 -12
  236. package/dist/sdk/index.js.map +1 -1
  237. package/dist/sdk/testing.d.ts +221 -2
  238. package/dist/sdk/testing.js +276 -2
  239. package/dist/sdk/testing.js.map +1 -1
  240. package/docs/COMMANDS.md +1 -0
  241. package/docs/EXTENSIONS.md +18 -14
  242. package/docs/SDK.md +445 -16
  243. package/package.json +1 -1
  244. package/dist/cli-bundle/chunks/activity-NEOI45NX.js +0 -18
  245. package/dist/cli-bundle/chunks/chunk-3GL6LTUL.js.map +0 -1
  246. package/dist/cli-bundle/chunks/chunk-4YJA4LGU.js.map +0 -7
  247. package/dist/cli-bundle/chunks/chunk-7GCCDXXN.js.map +0 -7
  248. package/dist/cli-bundle/chunks/chunk-7MPTFYT3.js.map +0 -1
  249. package/dist/cli-bundle/chunks/chunk-D35LTIFR.js.map +0 -1
  250. package/dist/cli-bundle/chunks/chunk-KL5ELX2X.js.map +0 -1
  251. package/dist/cli-bundle/chunks/chunk-RZZMSY4P.js.map +0 -7
  252. package/dist/cli-bundle/chunks/chunk-TRUFOER3.js.map +0 -7
  253. package/dist/cli-bundle/chunks/close-Z6AI736U.js +0 -15
  254. package/dist/cli-bundle/chunks/contracts-7YDFEJB3.js.map +0 -7
  255. package/dist/cli-bundle/chunks/contracts-MP2P3HL5.js.map +0 -1
  256. package/dist/cli-bundle/chunks/create-3BV2VA3Q.js +0 -30
  257. package/dist/cli-bundle/chunks/history-YRQUD4YM.js +0 -20
  258. package/dist/cli-bundle/chunks/history-redact-27OEOZRZ.js +0 -21
  259. package/dist/cli-bundle/chunks/init-DWAKYRXI.js +0 -21
  260. package/dist/cli-bundle/chunks/register-setup-HXEHMDHE.js.map +0 -7
  261. package/dist/cli-bundle/chunks/register-setup-JSMJEFCJ.js.map +0 -1
  262. package/dist/cli-bundle/chunks/restore-XY4YE2OV.js +0 -19
  263. package/dist/cli-bundle/chunks/test-COWPCGBE.js +0 -36
  264. package/dist/cli-bundle/chunks/update-7IYQHX4Q.js +0 -24
  265. package/dist/cli-bundle/chunks/update-IJKDRBIX.js +0 -28
  266. /package/dist/cli-bundle/chunks/{activity-NEOI45NX.js.map → activity-54TXGJ2T.js.map} +0 -0
  267. /package/dist/cli-bundle/chunks/{activity-DXS2XMQU.js.map → activity-N7RVTLBQ.js.map} +0 -0
  268. /package/dist/cli-bundle/chunks/{aggregate-IHM4KMQ3.js.map → aggregate-63NWNIBR.js.map} +0 -0
  269. /package/dist/cli-bundle/chunks/{aggregate-NMYDVQF7.js.map → aggregate-YHCYX2EV.js.map} +0 -0
  270. /package/dist/cli-bundle/chunks/{append-3HY5G7ET.js.map → append-PUKREFV5.js.map} +0 -0
  271. /package/dist/cli-bundle/chunks/{append-K54MDQYC.js.map → append-VLQQDHMJ.js.map} +0 -0
  272. /package/dist/cli-bundle/chunks/{chunk-DU64SZUQ.js.map → chunk-2WCYE3IF.js.map} +0 -0
  273. /package/dist/cli-bundle/chunks/{chunk-NKZOJPXK.js.map → chunk-3BKH2CL3.js.map} +0 -0
  274. /package/dist/cli-bundle/chunks/{chunk-7MALIV5H.js.map → chunk-4XDGYFHL.js.map} +0 -0
  275. /package/dist/cli-bundle/chunks/{chunk-VB54F347.js.map → chunk-5BBEWX6C.js.map} +0 -0
  276. /package/dist/cli-bundle/chunks/{chunk-DHBPJ7VG.js.map → chunk-5S4ZGDB2.js.map} +0 -0
  277. /package/dist/cli-bundle/chunks/{chunk-UKK2VTTH.js.map → chunk-6EBNFQOR.js.map} +0 -0
  278. /package/dist/cli-bundle/chunks/{chunk-5SESR24H.js.map → chunk-6EL7SW5C.js.map} +0 -0
  279. /package/dist/cli-bundle/chunks/{chunk-JLSC5NPC.js.map → chunk-6W3Y65PL.js.map} +0 -0
  280. /package/dist/cli-bundle/chunks/{chunk-HYQV75IB.js.map → chunk-A66VYUOV.js.map} +0 -0
  281. /package/dist/cli-bundle/chunks/{chunk-I367IDZP.js.map → chunk-ABYCA5VX.js.map} +0 -0
  282. /package/dist/cli-bundle/chunks/{chunk-47HTJ6BU.js.map → chunk-AEACLRVH.js.map} +0 -0
  283. /package/dist/cli-bundle/chunks/{chunk-MD7XKVWI.js.map → chunk-ALKFCIIB.js.map} +0 -0
  284. /package/dist/cli-bundle/chunks/{chunk-B2KR24R4.js.map → chunk-ALQKV6U7.js.map} +0 -0
  285. /package/dist/cli-bundle/chunks/{chunk-NIWY4V4Z.js.map → chunk-AYPQUFCX.js.map} +0 -0
  286. /package/dist/cli-bundle/chunks/{chunk-AJXYOYJV.js.map → chunk-B74BP6IS.js.map} +0 -0
  287. /package/dist/cli-bundle/chunks/{chunk-THKDPOS5.js.map → chunk-BFFO3AIB.js.map} +0 -0
  288. /package/dist/cli-bundle/chunks/{chunk-CR7KFPAQ.js.map → chunk-C4C3EJCJ.js.map} +0 -0
  289. /package/dist/cli-bundle/chunks/{chunk-J2TSPY5L.js.map → chunk-CG3KP6I5.js.map} +0 -0
  290. /package/dist/cli-bundle/chunks/{chunk-CWPBGUC7.js.map → chunk-CZIFFMZI.js.map} +0 -0
  291. /package/dist/cli-bundle/chunks/{chunk-75VEYQJS.js.map → chunk-DTABLLVE.js.map} +0 -0
  292. /package/dist/cli-bundle/chunks/{chunk-TIKJAXQW.js.map → chunk-EOGBMLCE.js.map} +0 -0
  293. /package/dist/cli-bundle/chunks/{chunk-YATDFWYK.js.map → chunk-EWRSXOIZ.js.map} +0 -0
  294. /package/dist/cli-bundle/chunks/{chunk-RPRFBXND.js.map → chunk-F32L4HR6.js.map} +0 -0
  295. /package/dist/cli-bundle/chunks/{chunk-NVUATMTC.js.map → chunk-F4BNR2IN.js.map} +0 -0
  296. /package/dist/cli-bundle/chunks/{chunk-Y4BZEND6.js.map → chunk-FBLT6WGK.js.map} +0 -0
  297. /package/dist/cli-bundle/chunks/{chunk-PCH2JTEO.js.map → chunk-FMWW2JDU.js.map} +0 -0
  298. /package/dist/cli-bundle/chunks/{chunk-WQDX7DVG.js.map → chunk-GDUMGZK3.js.map} +0 -0
  299. /package/dist/cli-bundle/chunks/{chunk-FK6MV5F5.js.map → chunk-HBAEFWX3.js.map} +0 -0
  300. /package/dist/cli-bundle/chunks/{chunk-6UPTNMVW.js.map → chunk-HC2S36NB.js.map} +0 -0
  301. /package/dist/cli-bundle/chunks/{chunk-XKNF3VRJ.js.map → chunk-HZF5RLKX.js.map} +0 -0
  302. /package/dist/cli-bundle/chunks/{chunk-4JXWVHMN.js.map → chunk-I6QMJ2XT.js.map} +0 -0
  303. /package/dist/cli-bundle/chunks/{chunk-44O4JIN6.js.map → chunk-IAP5KYBQ.js.map} +0 -0
  304. /package/dist/cli-bundle/chunks/{chunk-A7E4ZXG2.js.map → chunk-IOT6WRL5.js.map} +0 -0
  305. /package/dist/cli-bundle/chunks/{chunk-KRJJPDUO.js.map → chunk-IXAZI443.js.map} +0 -0
  306. /package/dist/cli-bundle/chunks/{chunk-DMT4ODVN.js.map → chunk-J3NMWFIN.js.map} +0 -0
  307. /package/dist/cli-bundle/chunks/{chunk-7PBGTIN3.js.map → chunk-J7I4C5ZB.js.map} +0 -0
  308. /package/dist/cli-bundle/chunks/{chunk-CLLVBO3I.js.map → chunk-JPJDP4VU.js.map} +0 -0
  309. /package/dist/cli-bundle/chunks/{chunk-PJS2J7Z4.js.map → chunk-JV27C7OZ.js.map} +0 -0
  310. /package/dist/cli-bundle/chunks/{chunk-K25UDYJ4.js.map → chunk-KIEAK7YE.js.map} +0 -0
  311. /package/dist/cli-bundle/chunks/{chunk-GGAXE22C.js.map → chunk-KJZOSF7J.js.map} +0 -0
  312. /package/dist/cli-bundle/chunks/{chunk-GXBSFKSX.js.map → chunk-KKX4Z2SE.js.map} +0 -0
  313. /package/dist/cli-bundle/chunks/{chunk-C5SWTISA.js.map → chunk-LNEDHJNQ.js.map} +0 -0
  314. /package/dist/cli-bundle/chunks/{chunk-YRLLL5TY.js.map → chunk-LU36E6GU.js.map} +0 -0
  315. /package/dist/cli-bundle/chunks/{chunk-I6XE47J2.js.map → chunk-M6TUBOGW.js.map} +0 -0
  316. /package/dist/cli-bundle/chunks/{chunk-YJICYNAV.js.map → chunk-MWMHZOZZ.js.map} +0 -0
  317. /package/dist/cli-bundle/chunks/{chunk-SFKQAVZA.js.map → chunk-N5B6WZC5.js.map} +0 -0
  318. /package/dist/cli-bundle/chunks/{chunk-WBSYW3NT.js.map → chunk-NVXGVEFD.js.map} +0 -0
  319. /package/dist/cli-bundle/chunks/{chunk-GNDHOR64.js.map → chunk-OHDQNKJB.js.map} +0 -0
  320. /package/dist/cli-bundle/chunks/{chunk-2LEYMXI6.js.map → chunk-OQ2E64FH.js.map} +0 -0
  321. /package/dist/cli-bundle/chunks/{chunk-25XZN3JD.js.map → chunk-PEL2NLQE.js.map} +0 -0
  322. /package/dist/cli-bundle/chunks/{chunk-H6FNDCDI.js.map → chunk-PRVTGX64.js.map} +0 -0
  323. /package/dist/cli-bundle/chunks/{chunk-TZQKEBKF.js.map → chunk-QOUOMPHO.js.map} +0 -0
  324. /package/dist/cli-bundle/chunks/{chunk-77VKGH4L.js.map → chunk-RAWA3Y7O.js.map} +0 -0
  325. /package/dist/cli-bundle/chunks/{chunk-Y335KFHD.js.map → chunk-RRP6D345.js.map} +0 -0
  326. /package/dist/cli-bundle/chunks/{chunk-4SDKF5BG.js.map → chunk-SKC4UTRP.js.map} +0 -0
  327. /package/dist/cli-bundle/chunks/{chunk-JY25IOEZ.js.map → chunk-SUREE24M.js.map} +0 -0
  328. /package/dist/cli-bundle/chunks/{chunk-A25LOPRG.js.map → chunk-TIM4OD74.js.map} +0 -0
  329. /package/dist/cli-bundle/chunks/{chunk-KK4TQ3ZP.js.map → chunk-TKPP4GOO.js.map} +0 -0
  330. /package/dist/cli-bundle/chunks/{chunk-6FQHNHQQ.js.map → chunk-TSI32UEL.js.map} +0 -0
  331. /package/dist/cli-bundle/chunks/{chunk-TJABI6PR.js.map → chunk-UACWNBL2.js.map} +0 -0
  332. /package/dist/cli-bundle/chunks/{chunk-EVPVCE4R.js.map → chunk-V4UYNSEM.js.map} +0 -0
  333. /package/dist/cli-bundle/chunks/{chunk-QQWEROGS.js.map → chunk-VFJYVXHL.js.map} +0 -0
  334. /package/dist/cli-bundle/chunks/{chunk-YQSWTVZF.js.map → chunk-WB5BYQMF.js.map} +0 -0
  335. /package/dist/cli-bundle/chunks/{chunk-MNGAQB2E.js.map → chunk-XVYKWZNL.js.map} +0 -0
  336. /package/dist/cli-bundle/chunks/{chunk-V4SM4UAL.js.map → chunk-XXKV4UWE.js.map} +0 -0
  337. /package/dist/cli-bundle/chunks/{chunk-GU7YHKYP.js.map → chunk-YV2OSAMS.js.map} +0 -0
  338. /package/dist/cli-bundle/chunks/{chunk-P7ZU73BO.js.map → chunk-ZLWRPBOW.js.map} +0 -0
  339. /package/dist/cli-bundle/chunks/{chunk-3VLPDG3J.js.map → chunk-ZV7IQ23N.js.map} +0 -0
  340. /package/dist/cli-bundle/chunks/{claim-MPXNVBZQ.js.map → claim-FZZZCAY6.js.map} +0 -0
  341. /package/dist/cli-bundle/chunks/{claim-SKHJDLW6.js.map → claim-XK5QBZE3.js.map} +0 -0
  342. /package/dist/cli-bundle/chunks/{close-Z6AI736U.js.map → close-JEBZXONN.js.map} +0 -0
  343. /package/dist/cli-bundle/chunks/{close-4RKSL5L6.js.map → close-QHMVWM7M.js.map} +0 -0
  344. /package/dist/cli-bundle/chunks/{close-many-SXODYBDP.js.map → close-many-OIXJE2JZ.js.map} +0 -0
  345. /package/dist/cli-bundle/chunks/{close-many-AWTPXLHJ.js.map → close-many-SUU5BS2C.js.map} +0 -0
  346. /package/dist/cli-bundle/chunks/{comments-YYW5P7AG.js.map → comments-5YM62D75.js.map} +0 -0
  347. /package/dist/cli-bundle/chunks/{comments-OOH64LWW.js.map → comments-RH3IBIRH.js.map} +0 -0
  348. /package/dist/cli-bundle/chunks/{config-3445MCQQ.js.map → config-NCNNWF6R.js.map} +0 -0
  349. /package/dist/cli-bundle/chunks/{config-LCDMKRB2.js.map → config-SW3U7XP2.js.map} +0 -0
  350. /package/dist/cli-bundle/chunks/{context-PJCURODY.js.map → context-55VEOYI3.js.map} +0 -0
  351. /package/dist/cli-bundle/chunks/{context-DZMIBIVP.js.map → context-5LB7UGKE.js.map} +0 -0
  352. /package/dist/cli-bundle/chunks/{copy-63IQQRRS.js.map → copy-IEDBJOOX.js.map} +0 -0
  353. /package/dist/cli-bundle/chunks/{copy-TASIH2AZ.js.map → copy-N3GE6FYS.js.map} +0 -0
  354. /package/dist/cli-bundle/chunks/{create-3BV2VA3Q.js.map → create-CLSCHGJJ.js.map} +0 -0
  355. /package/dist/cli-bundle/chunks/{create-TGSB5GV4.js.map → create-O4VONGPG.js.map} +0 -0
  356. /package/dist/cli-bundle/chunks/{delete-ARILQQLB.js.map → delete-724EQ6OS.js.map} +0 -0
  357. /package/dist/cli-bundle/chunks/{delete-ZQKBZYNK.js.map → delete-LPEIF7RU.js.map} +0 -0
  358. /package/dist/cli-bundle/chunks/{deps-MSHQR2GY.js.map → deps-RSBU4SIU.js.map} +0 -0
  359. /package/dist/cli-bundle/chunks/{deps-NJFJIMQ5.js.map → deps-T3Y6Y7RT.js.map} +0 -0
  360. /package/dist/cli-bundle/chunks/{docs-XK2UVUXX.js.map → docs-75ZLCO3G.js.map} +0 -0
  361. /package/dist/cli-bundle/chunks/{docs-SS4UKYYA.js.map → docs-IFS7HZPP.js.map} +0 -0
  362. /package/dist/cli-bundle/chunks/{eval-JOTG2YHU.js.map → eval-L2KD7W3M.js.map} +0 -0
  363. /package/dist/cli-bundle/chunks/{eval-FVZGX5IZ.js.map → eval-QGR7JCQO.js.map} +0 -0
  364. /package/dist/cli-bundle/chunks/{extension-OQPS27B4.js.map → extension-3JYWJ5K2.js.map} +0 -0
  365. /package/dist/cli-bundle/chunks/{extension-NLMS47I4.js.map → extension-YQF4CPIR.js.map} +0 -0
  366. /package/dist/cli-bundle/chunks/{files-Y2P6LN5A.js.map → files-5BQWDRDT.js.map} +0 -0
  367. /package/dist/cli-bundle/chunks/{files-3EVJQZ2N.js.map → files-EPEJMJHQ.js.map} +0 -0
  368. /package/dist/cli-bundle/chunks/{focus-D5ZUPTII.js.map → focus-DQVJAPOE.js.map} +0 -0
  369. /package/dist/cli-bundle/chunks/{focus-ZPIFTY4R.js.map → focus-RWGKD76E.js.map} +0 -0
  370. /package/dist/cli-bundle/chunks/{gc-LXXDY456.js.map → gc-BEJMQT64.js.map} +0 -0
  371. /package/dist/cli-bundle/chunks/{gc-RNOEQHSX.js.map → gc-JEFQDJPA.js.map} +0 -0
  372. /package/dist/cli-bundle/chunks/{get-W23G7MJX.js.map → get-LQG6PEVG.js.map} +0 -0
  373. /package/dist/cli-bundle/chunks/{get-Q3SZGQHD.js.map → get-WVN75H42.js.map} +0 -0
  374. /package/dist/cli-bundle/chunks/{health-UDDGJLPP.js.map → health-JJJOY7DJ.js.map} +0 -0
  375. /package/dist/cli-bundle/chunks/{health-5LHSX365.js.map → health-P67NZ6TT.js.map} +0 -0
  376. /package/dist/cli-bundle/chunks/{history-YRQUD4YM.js.map → history-ALTM2RRP.js.map} +0 -0
  377. /package/dist/cli-bundle/chunks/{history-6CZVFIUJ.js.map → history-RUKPKNY7.js.map} +0 -0
  378. /package/dist/cli-bundle/chunks/{history-compact-VWUSQH6Z.js.map → history-compact-NQ7VPRVT.js.map} +0 -0
  379. /package/dist/cli-bundle/chunks/{history-compact-M35PDQ4G.js.map → history-compact-ZAOWR7GD.js.map} +0 -0
  380. /package/dist/cli-bundle/chunks/{history-redact-27OEOZRZ.js.map → history-redact-5YGLWUDH.js.map} +0 -0
  381. /package/dist/cli-bundle/chunks/{history-redact-AJGARHT3.js.map → history-redact-YY4XYVEP.js.map} +0 -0
  382. /package/dist/cli-bundle/chunks/{history-repair-YUAHIPIN.js.map → history-repair-EHL4ODQY.js.map} +0 -0
  383. /package/dist/cli-bundle/chunks/{history-repair-5RDMF7K4.js.map → history-repair-YSQH6SY6.js.map} +0 -0
  384. /package/dist/cli-bundle/chunks/{init-DWAKYRXI.js.map → init-C4CRHW22.js.map} +0 -0
  385. /package/dist/cli-bundle/chunks/{init-HASX3YNJ.js.map → init-HBFGYS66.js.map} +0 -0
  386. /package/dist/cli-bundle/chunks/{learnings-JNGUIJDK.js.map → learnings-J555ZFPD.js.map} +0 -0
  387. /package/dist/cli-bundle/chunks/{learnings-M4KA6MQE.js.map → learnings-KFQO7GEZ.js.map} +0 -0
  388. /package/dist/cli-bundle/chunks/{list-6FMKTIH3.js.map → list-C7R33MD5.js.map} +0 -0
  389. /package/dist/cli-bundle/chunks/{list-5UU2W24O.js.map → list-DSN6UNFB.js.map} +0 -0
  390. /package/dist/cli-bundle/chunks/{notes-PYCPLA5Y.js.map → notes-V4VNIQL4.js.map} +0 -0
  391. /package/dist/cli-bundle/chunks/{notes-MODH5CBT.js.map → notes-VYJFN2A3.js.map} +0 -0
  392. /package/dist/cli-bundle/chunks/{plan-DXRIRYRU.js.map → plan-DHRSVSHR.js.map} +0 -0
  393. /package/dist/cli-bundle/chunks/{plan-EHQALWSC.js.map → plan-RBHQ5PO7.js.map} +0 -0
  394. /package/dist/cli-bundle/chunks/{register-list-query-QAASVP2J.js.map → register-list-query-CCMHGZTF.js.map} +0 -0
  395. /package/dist/cli-bundle/chunks/{register-list-query-WE54YJMH.js.map → register-list-query-OM3E2KMY.js.map} +0 -0
  396. /package/dist/cli-bundle/chunks/{register-mutation-B6DZJTY2.js.map → register-mutation-N3CDEGZU.js.map} +0 -0
  397. /package/dist/cli-bundle/chunks/{register-mutation-CPV4C2KR.js.map → register-mutation-UXTTWL6N.js.map} +0 -0
  398. /package/dist/cli-bundle/chunks/{register-operations-RC4C3423.js.map → register-operations-R2FLOCRI.js.map} +0 -0
  399. /package/dist/cli-bundle/chunks/{register-operations-AT3BVVX2.js.map → register-operations-UDIFMQKD.js.map} +0 -0
  400. /package/dist/cli-bundle/chunks/{restore-FNBV4GWE.js.map → restore-LL2WLEDG.js.map} +0 -0
  401. /package/dist/cli-bundle/chunks/{restore-XY4YE2OV.js.map → restore-LQHXBAY5.js.map} +0 -0
  402. /package/dist/cli-bundle/chunks/{scheduling-shortcuts-ECL6GBMZ.js.map → scheduling-shortcuts-255GI3BU.js.map} +0 -0
  403. /package/dist/cli-bundle/chunks/{scheduling-shortcuts-JRIUREEU.js.map → scheduling-shortcuts-M4H2ZI64.js.map} +0 -0
  404. /package/dist/cli-bundle/chunks/{schema-74YENAJL.js.map → schema-C6QA367T.js.map} +0 -0
  405. /package/dist/cli-bundle/chunks/{schema-TCW3I7QR.js.map → schema-QO5I4FBL.js.map} +0 -0
  406. /package/dist/cli-bundle/chunks/{search-7USZ6XZA.js.map → search-2EI6EAXH.js.map} +0 -0
  407. /package/dist/cli-bundle/chunks/{search-GNAUE65M.js.map → search-QBFBLQRO.js.map} +0 -0
  408. /package/dist/cli-bundle/chunks/{stats-CVHASAEU.js.map → stats-TCW2SZQG.js.map} +0 -0
  409. /package/dist/cli-bundle/chunks/{stats-DQMKJMFT.js.map → stats-TKC6CAKB.js.map} +0 -0
  410. /package/dist/cli-bundle/chunks/{telemetry-PQTL5YS2.js.map → telemetry-BT2VSWU2.js.map} +0 -0
  411. /package/dist/cli-bundle/chunks/{telemetry-7P5EUWCS.js.map → telemetry-LQ6FRTUT.js.map} +0 -0
  412. /package/dist/cli-bundle/chunks/{test-FDQZQNZ4.js.map → test-NV2DRPUS.js.map} +0 -0
  413. /package/dist/cli-bundle/chunks/{test-COWPCGBE.js.map → test-WA6RZGM2.js.map} +0 -0
  414. /package/dist/cli-bundle/chunks/{test-all-PIPPS4S5.js.map → test-all-DZ76VTPQ.js.map} +0 -0
  415. /package/dist/cli-bundle/chunks/{test-all-WQIAZVA6.js.map → test-all-REW67LXT.js.map} +0 -0
  416. /package/dist/cli-bundle/chunks/{test-runs-JS6DNCCI.js.map → test-runs-FQ5WNQLP.js.map} +0 -0
  417. /package/dist/cli-bundle/chunks/{test-runs-NZD2QGL5.js.map → test-runs-PX73DMMI.js.map} +0 -0
  418. /package/dist/cli-bundle/chunks/{update-IJKDRBIX.js.map → update-BSKMQOYH.js.map} +0 -0
  419. /package/dist/cli-bundle/chunks/{update-7IYQHX4Q.js.map → update-FIGYNQ2I.js.map} +0 -0
  420. /package/dist/cli-bundle/chunks/{update-many-B3TH5TDS.js.map → update-many-2ILP6E4Y.js.map} +0 -0
  421. /package/dist/cli-bundle/chunks/{update-many-6NTZ5J5D.js.map → update-many-Q5ZEI64S.js.map} +0 -0
  422. /package/dist/cli-bundle/chunks/{upgrade-76IKZ6EZ.js.map → upgrade-DHL74PQH.js.map} +0 -0
  423. /package/dist/cli-bundle/chunks/{upgrade-4C7VE7MS.js.map → upgrade-FOZKQTQF.js.map} +0 -0
  424. /package/dist/cli-bundle/chunks/{validate-BPM6Z3OT.js.map → validate-54SYJ7QW.js.map} +0 -0
  425. /package/dist/cli-bundle/chunks/{validate-AQU7OCL3.js.map → validate-HYZNIB6W.js.map} +0 -0
package/docs/COMMANDS.md CHANGED
@@ -65,6 +65,7 @@ pm package # bare command defaults to --explore (list instal
65
65
  pm install '*' --project
66
66
  pm package catalog --project
67
67
  pm install npm:@scope/pm-package --project
68
+ pm package describe --project # by-name surface map of every loaded package
68
69
  pm package doctor --project --detail summary
69
70
  pm upgrade --dry-run
70
71
  pm upgrade --packages-only
@@ -87,7 +87,7 @@ Package roots declare resources in `package.json` under `pm`:
87
87
 
88
88
  Installation activates `pm.extensions`. `pm.docs`, `pm.examples`, `pm.assets`, and `pm.prompts` are catalog metadata (metadata-only — they are discovered and surfaced in the catalog but not executed). Declare agent-facing prompt/slash-command markdown under `pm.prompts` and non-code assets (images, skills, fixtures) under `pm.assets`; their conventional roots are `prompts/` (also `.agents/pm/prompts/`) and `assets/` (also `.agents/pm/assets/`).
89
89
 
90
- `pm package init` emits a root extension (`"extensions": ["."]`) so local package installs can activate without dependency bootstrapping. The default `--capability commands` scaffold registers a starter command and a colocated `node:test` suite. `--capability hooks` keeps the starter command and adds an `after_command` lifecycle hook plus SDK testing coverage with `assertRegisteredHook` and `runRegisteredHookForTest`, giving package authors a runnable template for reacting to pm mutations when project management is context management. `--capability search` keeps the starter command and adds a deterministic search provider/vector-store adapter pair plus SDK tests with `assertRegisteredSearchProvider`, `assertRegisteredVectorStoreAdapter`, `runRegisteredSearchProviderForTest`, and `runRegisteredVectorStoreAdapterForTest`, giving retrieval packages a copyable context-management primitive without external services. `--capability importers` keeps the starter command and adds paired import/export command registrations plus SDK tests with `assertRegisteredImporter`, `assertRegisteredExporter`, `runRegisteredImporterForTest`, and `runRegisteredExporterForTest`, giving integration packages a copyable context-movement primitive for synchronizing external project systems; the generated manifest declares both `importers` and `schema` because the starter includes schema-governed flag metadata. Starter manifests use the same least-privilege policy metadata as pure first-party command packages: `trusted: true`, `sandbox_profile: "strict"`, and explicit `false` permissions for `fs_read`, `fs_write`, `network`, `env_read`, `env_write`, and `process_spawn`. Larger packages may point at nested extension directories after declaring runtime dependencies, relaxing only the permissions they actually need, and validating with `pm package doctor`.
90
+ `pm package init` emits a root extension (`"extensions": ["."]`) authored fully in TypeScript (ADR [pm-2c28](../.agents/pm/decisions/pm-2c28.toon)): a typed `index.ts`, a strict `tsconfig.json`, and `build`/`test` scripts, with the manifest `entry` pointing at the compiled `./index.js`. Run `npm install && npm run build` to produce that entry before `pm install`. The generated README shows how to author exported command/hook definitions with the SDK [define* builders](../.agents/pm/decisions/pm-3mph.toon). The default `--capability commands` scaffold registers a starter command and a colocated `node:test` suite. `--capability hooks` keeps the starter command and adds an `after_command` lifecycle hook plus SDK testing coverage with `assertRegisteredHook` and `runRegisteredHookForTest`, giving package authors a runnable template for reacting to pm mutations when project management is context management. `--capability search` keeps the starter command and adds a deterministic search provider/vector-store adapter pair plus SDK tests with `assertRegisteredSearchProvider`, `assertRegisteredVectorStoreAdapter`, `runRegisteredSearchProviderForTest`, and `runRegisteredVectorStoreAdapterForTest`, giving retrieval packages a copyable context-management primitive without external services. `--capability importers` keeps the starter command and adds paired import/export command registrations plus SDK tests with `assertRegisteredImporter`, `assertRegisteredExporter`, `runRegisteredImporterForTest`, and `runRegisteredExporterForTest`, giving integration packages a copyable context-movement primitive for synchronizing external project systems; the generated manifest declares both `importers` and `schema` because the starter includes schema-governed flag metadata. Starter manifests use the same least-privilege policy metadata as pure first-party command packages: `trusted: true`, `sandbox_profile: "strict"`, and explicit `false` permissions for `fs_read`, `fs_write`, `network`, `env_read`, `env_write`, and `process_spawn`. Larger packages may point at nested extension directories after declaring runtime dependencies, relaxing only the permissions they actually need, and validating with `pm package doctor`.
91
91
 
92
92
  Package tests can pair `readPmPackageManifest(packageRoot)` with
93
93
  `assertPackageManifest(manifest, { resources: ... })` from
@@ -112,7 +112,7 @@ Runtime path overrides:
112
112
  - `PM_PATH`: project tracker root
113
113
  - `PM_GLOBAL_PATH`: global profile root
114
114
 
115
- A minimal standalone extension has a `manifest.json` and an import-free entrypoint. Standalone entries are loaded by file URL from the extension directory, so they should not import `@unbrained/pm-cli` unless the extension is installed as a package with its own dependencies.
115
+ Extensions are authored fully in TypeScript (ADR [pm-2c28](../.agents/pm/decisions/pm-2c28.toon)): a minimal standalone extension has a `manifest.json` and a TypeScript `index.ts` entrypoint compiled to the `./index.js` the loader imports by file URL. Author against the SDK types with `import type { ExtensionApi }` — the type-only import is erased at compile time, so the emitted `index.js` carries **no runtime import** of `@unbrained/pm-cli` (standalone entries are loaded outside any `node_modules`, so a runtime SDK import would fail). Compile with `npx tsc` after installing `typescript` and `@unbrained/pm-cli` for the type resolution.
116
116
 
117
117
  ```json
118
118
  {
@@ -136,9 +136,10 @@ A minimal standalone extension has a `manifest.json` and an import-free entrypoi
136
136
  }
137
137
  ```
138
138
 
139
- ```js
140
- /** @param {import("@unbrained/pm-cli/sdk").ExtensionApi} api */
141
- export function activate(api) {
139
+ ```ts
140
+ // index.ts — `import type` is erased at compile; the emitted index.js has no runtime import.
141
+ import type { ExtensionApi } from "@unbrained/pm-cli/sdk";
142
+ export function activate(api: ExtensionApi): void {
142
143
  api.registerCommand({
143
144
  name: "hello",
144
145
  description: "Print a deterministic hello payload.",
@@ -151,9 +152,9 @@ export function activate(api) {
151
152
  }
152
153
  ```
153
154
 
154
- Package-backed extensions can use the SDK helper after declaring `@unbrained/pm-cli` in `package.json` and installing dependencies. Registry installs satisfy that SDK import from the running host CLI instead of downloading a nested CLI copy into each project extension directory, so package authors can declare `@unbrained/pm-cli` as a peer dependency without adding the CLI's own telemetry/runtime dependencies to every workspace. Use this shape for packages published to npm or installed from a package root:
155
+ Package-backed extensions can also import the SDK's runtime helpers (e.g. `defineExtension`, `composeExtension`) after declaring `@unbrained/pm-cli` in `package.json` and installing dependencies. Registry installs satisfy that SDK import from the running host CLI instead of downloading a nested CLI copy into each project extension directory, so package authors can declare `@unbrained/pm-cli` as a peer dependency without adding the CLI's own telemetry/runtime dependencies to every workspace. Use this shape for packages published to npm or installed from a package root:
155
156
 
156
- ```js
157
+ ```ts
157
158
  import { defineExtension } from "@unbrained/pm-cli/sdk";
158
159
 
159
160
  export default defineExtension({
@@ -196,7 +197,7 @@ Rules:
196
197
  - `manifest_version` is an optional integer identifying the manifest schema generation. Runtime contracts currently support manifest versions `1` and `2`, and first-party runnable examples use `2`. First-party packages declare it; the manifest governance test requires it on every first-party package.
197
198
  - `pm_min_version` is an inclusive minimum pm CLI version. If the running CLI is older, discovery emits `extension_pm_min_version_unmet:<layer>:<name>:required=<version>:current=<version>` and skips the extension before import.
198
199
  - `pm_max_version` is an optional inclusive maximum pm CLI version (the upper compatibility bound). If the running CLI is newer than this value, discovery emits `extension_pm_max_version_exceeded:<layer>:<name>:allowed=<version>:current=<version>` and skips the extension before import. Use it to stop a CLI major release from loading a stale package that would crash at activation. Operators can temporarily set `extensions.policy.pm_max_version_exceeded_mode` to `"warn"` (or `{ "project": "warn" }`) during controlled upgrade windows; the default remains `"block"`.
199
- - Both bounds share the same warning-code shapes: `*_invalid` blocks, `*_unchecked` allows with a warning, and `extension_pm_min_version_unmet` / `extension_pm_max_version_exceeded` blocks unless the max-version warn mode is enabled.
200
+ - Both bounds share the same warning-code shapes: `*_invalid` blocks, `*_unchecked` allows with a warning, and `extension_pm_min_version_unmet` / `extension_pm_max_version_exceeded` blocks unless the max-version warn mode is enabled. Verify the supported window at author time — before publishing — with the `checkExtensionManifestCompatibility` SDK helper (or its throwing `assertExtensionManifestCompatible` test guard), which mirrors these exact outcomes against a target pm version. To check the version window, the blueprint lint, and the synthesized manifest in one call, use the `preflightExtension` capstone (or its throwing `assertExtensionPreflight` CI guard).
200
201
  - An empty-string or non-string `pm_min_version`/`pm_max_version` makes the whole manifest malformed (`extension_manifest_invalid:<layer>:<name>`). Omit the field instead of leaving it blank.
201
202
  - Optional `engines.pm` and `engines.node` metadata is accepted for tooling, but `pm_min_version`/`pm_max_version` are the loader-enforced compatibility fields.
202
203
  - Declare only capabilities the extension actually uses. Declaring a capability it never registers against is over-broad: `pm package doctor` emits an advisory `extension_capability_unused:<layer>:<name>:<capability>` warning (never blocking) so you can trim the manifest, while the inverse — registering a surface whose capability is undeclared — is the blocking `extension_capability_missing` activation failure. Catch over-declaration earlier with the `assertExtensionCapabilityUsage` SDK testing helper.
@@ -287,7 +288,7 @@ Doctor JSON also includes `triage.collision_plan` with grouped surfaces, ranked
287
288
 
288
289
  Use the public SDK barrel. Do not deep-import from `src/core` or `dist/core`.
289
290
 
290
- ```js
291
+ ```ts
291
292
  import { defineExtension } from "@unbrained/pm-cli/sdk";
292
293
  ```
293
294
 
@@ -334,11 +335,12 @@ surface guarantees.
334
335
 
335
336
  ## Lifecycle Commands
336
337
 
337
- Explore installed runtime entries:
338
+ Explore installed runtime entries, or describe exactly what each loaded package registers (commands, hooks, item types, providers, overrides) as a by-name surface map:
338
339
 
339
340
  ```bash
340
341
  pm package explore --project
341
- pm package explore --project --json
342
+ pm package describe --project # every loaded package
343
+ pm package describe my-extension # one package's surface map
342
344
  ```
343
345
 
344
346
  Run diagnostics:
@@ -414,14 +416,16 @@ If a package-owned command is invoked before installation, usage guidance includ
414
416
 
415
417
  Third-party packages should import only stable public SDK subpaths:
416
418
 
417
- ```js
419
+ ```ts
418
420
  import { defineExtension, createPmCliExpectedError } from "@unbrained/pm-cli/sdk";
419
- import { activateExtensionForTest, assertRegisteredCommandContract } from "@unbrained/pm-cli/sdk/testing";
421
+ import { createExtensionTestHarness, activateExtensionForTest } from "@unbrained/pm-cli/sdk/testing";
420
422
  ```
421
423
 
422
424
  Use `createPmCliExpectedError(message, { exitCode, context })` for expected user/action failures from package commands. It creates an `Error` named `PmCliError` with a structural `exitCode`, so separately installed package code still gets expected-error handling and Sentry filtering.
423
425
 
424
- Use `activateExtensionForTest(module)` in package unit tests when you need an `activation.registrations` or `activation.hooks` object for assertion helpers. Then `runRegisteredCommandForTest(activation.commands, { command })` invokes a registered command handler through pm's real dispatch engine to assert behavior, not just wiring; the matching `runRegisteredHookForTest` (lifecycle hooks), `runRegistered{Parser,Preflight,Command,Renderer,Service}OverrideForTest` (override surfaces), and `runRegistered{SearchProvider,VectorStoreAdapter,Migration,Importer,Exporter}ForTest` (executable registrations the importer/exporter helpers take the whole `activation` and resolve by name, deriving the command path internally) helpers extend that invoke verb to every other runtime surface. Keep `pm package doctor --project --detail deep --trace` and runtime contracts for integration tests against installed packages.
426
+ Prefer the `define*` builders for exported registration definitions (`defineCommand`, `defineFlag`, `defineSearchProvider`, `defineAfterCommandHook`, and the matching override/import/export/hook helpers; see ADR [pm-3mph](../.agents/pm/decisions/pm-3mph.toon)). They are zero-cost identity functions that preserve object literal types and contextually type function parameters before the definitions reach `api.register*`; runtime validation remains in the loader, and behavior validation remains in `sdk/testing`.
427
+
428
+ Prefer `createExtensionTestHarness(module, { capabilities })` in package unit tests: it activates the module once and returns a fluent fixture whose `assert*`/`run*` methods are already bound to the right activation sub-registry (so you never thread `activation.registrations` vs `activation.commands` vs `activation.hooks` by hand), plus a `deactivate()` that runs the real teardown engine — e.g. `harness.assertCommandContract({ command })`, `await harness.runCommand({ command })`, `await harness.deactivate()`. The methods do not use `this`, so they are safe to destructure. For finer control, the standalone helpers remain public: `activateExtensionForTest(module)` returns the raw `activation`, then `runRegisteredCommandForTest(activation.commands, { command })` invokes a registered command handler through pm's real dispatch engine to assert behavior, not just wiring; the matching `runRegisteredHookForTest` (lifecycle hooks), `runRegistered{Parser,Preflight,Command,Renderer,Service}OverrideForTest` (override surfaces), and `runRegistered{SearchProvider,VectorStoreAdapter,Migration,Importer,Exporter}ForTest` (executable registrations — the importer/exporter helpers take the whole `activation` and resolve by name, deriving the command path internally) helpers extend that invoke verb to every other runtime surface. Keep `pm package doctor --project --detail deep --trace` and runtime contracts for integration tests against installed packages.
425
429
 
426
430
  `PM_CLI_PACKAGE_ROOT` is first-party only. Bundled packages in this repository use it to find the running CLI's `dist/sdk/runtime.js` before they are published or installed independently. External packages must not read this environment variable or import from `dist/` or `src/core`; use `@unbrained/pm-cli/sdk`, `@unbrained/pm-cli/sdk/runtime`, and `@unbrained/pm-cli/sdk/testing`. During `pm install npm:<package>`, pm links the installed package's `@unbrained/pm-cli` dependency back to the running host CLI so SDK imports resolve without a duplicate nested CLI install.
427
431
 
package/docs/SDK.md CHANGED
@@ -36,6 +36,13 @@ Source of truth:
36
36
  Common authoring exports:
37
37
 
38
38
  - `defineExtension`
39
+ - `composeExtension` / `deriveExtensionCapabilities`
40
+ - `mergeExtensionBlueprints` (combine partial blueprints into one for modular authoring)
41
+ - `composeExtensionPackage` (author-once capstone: returns both the module and its synthesized manifest)
42
+ - `synthesizeExtensionManifest` (generate a complete least-privilege manifest from a blueprint)
43
+ - `describeExtensionBlueprint` (static surface map of a blueprint) / `lintExtensionBlueprint` (author-time preflight)
44
+ - `checkExtensionManifestCompatibility` (author-time `pm_min_version`/`pm_max_version` check against a target pm version)
45
+ - `preflightExtension` (one-call capstone: lint + manifest synthesis + version-compat in a single consolidated report)
39
46
  - `EXTENSION_CAPABILITIES`
40
47
  - `EXTENSION_CAPABILITY_CONTRACT`
41
48
  - `EXTENSION_CAPABILITY_CONTRACT_VERSION`
@@ -48,6 +55,14 @@ Common authoring exports:
48
55
  - `createPmCliExpectedError`
49
56
  - `isPmCliExpectedError`
50
57
 
58
+ Registration builders (`define*`, zero-cost identity — see [Authoring Builders](#authoring-builders)):
59
+
60
+ - `defineCommand` / `defineFlag` / `defineItemType` / `defineItemField` / `defineMigration`
61
+ - `defineSearchProvider` / `defineVectorStoreAdapter`
62
+ - `defineCommandOverride` / `defineParserOverride` / `definePreflightOverride` / `defineServiceOverride` / `defineRendererOverride`
63
+ - `defineImporter` / `defineExporter`
64
+ - `defineBeforeCommandHook` / `defineAfterCommandHook` / `defineOnWriteHook` / `defineOnReadHook` / `defineOnIndexHook`
65
+
51
66
  Package manifest exports:
52
67
 
53
68
  - `PM_PACKAGE_RESOURCE_KINDS` (`extensions`, `docs`, `examples`, `assets`, `prompts`)
@@ -73,6 +88,7 @@ Command/action contract exports:
73
88
 
74
89
  Testing helper exports (also under `@unbrained/pm-cli/sdk/testing`):
75
90
 
91
+ - `createExtensionTestHarness`
76
92
  - `activateExtensionForTest`
77
93
  - `deactivateExtensionForTest`
78
94
  - `runRegisteredCommandForTest`
@@ -105,6 +121,26 @@ Testing helper exports (also under `@unbrained/pm-cli/sdk/testing`):
105
121
  - `assertRegisteredServiceOverride`
106
122
  - `assertRegisteredMigration`
107
123
  - `assertExtensionCapabilityUsage`
124
+ - `assertExtensionBlueprint` (throwing preflight; pairs with `lintExtensionBlueprint`)
125
+ - `assertExtensionManifestMatchesBlueprint` (strict manifest↔blueprint capability guard)
126
+ - `assertExtensionManifestCompatible` (throwing version-bound guard; pairs with `checkExtensionManifestCompatibility`)
127
+ - `assertExtensionPreflight` (one-line throwing capstone over `preflightExtension`; replaces chaining the three asserts above)
128
+ - `describeExtensionActivation`
129
+ - `describeExtensionBlueprint` / `lintExtensionBlueprint` (also surfaced here for the full author → describe → preflight → test loop)
130
+
131
+ `createExtensionTestHarness(module, options)` is the recommended entry point and
132
+ the ergonomic capstone over every standalone helper below: it activates the
133
+ module once and returns a fluent `ExtensionTestHarness` whose `assert*`/`run*`
134
+ methods are pre-bound to the correct activation sub-registry, so a package author
135
+ never threads `activation.registrations` vs `activation.commands` vs
136
+ `activation.hooks` (etc.) by hand — picking the wrong one is a common footgun that
137
+ surfaces as a confusing `available: (none)` error. Write
138
+ `const ext = await createExtensionTestHarness(module, { capabilities: ["commands"] })`,
139
+ then `ext.assertCommandContract({ command })`, `await ext.runCommand({ command })`,
140
+ and `await ext.deactivate()`. The methods do not use `this`, so they remain safe
141
+ to destructure (`const { runCommand } = ext;`), and the raw `ext.activation`
142
+ stays public as an escape hatch to the standalone helpers for any surface a
143
+ convenience method does not cover.
108
144
 
109
145
  `assertExtensionCapabilityUsage(activation, { declared })` is the least-privilege
110
146
  counterpart of the per-surface `assertRegistered*` helpers: pass the same
@@ -208,6 +244,51 @@ importer / exporter is registered (and, for providers and adapters, implements t
208
244
  requested operation), so a typo surfaces as a descriptive error rather than a
209
245
  silent no-op. All invoke helpers are `async`, so a test always `await`s them.
210
246
 
247
+ `describeExtensionActivation(activation, { extensionName })` is the **describe**
248
+ (enumerate-all) verb that complements the `assertRegistered*` (verify-one) and
249
+ `runRegistered*ForTest` (invoke-one) helpers. The activation result already
250
+ carries per-surface *counts*; this returns the *names*. It walks every
251
+ sub-registry once and returns a flat `ExtensionActivationSummary` whose arrays
252
+ are de-duplicated and locale-sorted (except `hooks`, emitted in canonical
253
+ lifecycle order to mirror `hook_counts`) of every registered surface's
254
+ identifiers — command paths, hook kinds, item-type /
255
+ field names, migration ids, importer / exporter / provider / adapter names,
256
+ overridden service names and renderer formats, flag target-commands, and the
257
+ preflight-override count — plus the `capabilities` those surfaces exercise. Two
258
+ uses:
259
+
260
+ ```ts
261
+ import { describeExtensionActivation } from "@unbrained/pm-cli/sdk/testing";
262
+
263
+ const summary = describeExtensionActivation(activation);
264
+ // Least-privilege check: assert the WHOLE registration surface in one deepEqual.
265
+ assert.deepEqual(summary.commands, ["greet hello"]);
266
+ assert.deepEqual(summary.hooks, ["after_command"]);
267
+ assert.deepEqual(summary.capabilities, ["commands", "hooks"]);
268
+ ```
269
+
270
+ Without `extensionName` the summary unions every extension in the activation;
271
+ with it (matched case-insensitively after trimming, like
272
+ `collectUsedExtensionCapabilities`) only that extension's registrations
273
+ contribute. The three command fields capture distinct dimensions and can
274
+ overlap: `commands` lists definitions declared via `registerCommand(definition)`,
275
+ `command_handlers` lists every command path backed by an extension handler (a
276
+ superset that also includes the synthesized `"<name> import"` / `"<name> export"`
277
+ importer/exporter paths), and `command_overrides` lists built-in commands
278
+ replaced via `registerCommand(name, override)`. For agents, one call returns the
279
+ entire surface instead of traversing fifteen-plus sub-registries — keeping the context
280
+ window lean ("project management = context management").
281
+
282
+ The same verb is reachable from the CLI and MCP without writing a test:
283
+ `pm extension describe [name]` / `pm package describe [name]` (and `pm_run` with
284
+ `action: "extension"`/`"package"` and `describe: true`) activate the workspace's
285
+ extensions and return each loaded extension's `ExtensionActivationSummary` under
286
+ `details.extensions[].surfaces`, plus a deduplicated `details.union`. Omit the name
287
+ to map every loaded package; pass one to scope to it. This is the agent-facing answer
288
+ to "what does this installed package add to my context?" — distinct from
289
+ `pm package doctor` (errors/policy) and `pm package manage` (update metadata), which
290
+ report only command/action paths, not the full registration surface.
291
+
211
292
  Commander option contract exports:
212
293
 
213
294
  - `CREATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS`
@@ -243,6 +324,7 @@ the registration surfaces a package actually exercises at activation):
243
324
  Common types:
244
325
 
245
326
  - `ExtensionApi`
327
+ - `ExtensionActivationSummary`
246
328
  - `ExtensionManifest`
247
329
  - `ExtensionManifestEngines`
248
330
  - `CommandDefinition`
@@ -320,26 +402,18 @@ assertPackageManifest(manifest, {
320
402
  ```
321
403
 
322
404
  Package tests can also assert extension registrations without importing private
323
- loader internals. Use `activateExtensionForTest` plus the targeted assertion for
324
- the surface your package owns:
405
+ loader internals. Prefer `createExtensionTestHarness` its `assert*`/`run*`
406
+ methods bind to the right sub-registry for you:
325
407
 
326
408
  ```ts
327
- import {
328
- activateExtensionForTest,
329
- assertRegisteredCommandContract,
330
- assertRegisteredFlags,
331
- } from "@unbrained/pm-cli/sdk/testing";
409
+ import { createExtensionTestHarness } from "@unbrained/pm-cli/sdk/testing";
332
410
 
333
- const activation = await activateExtensionForTest(extensionModule);
411
+ const ext = await createExtensionTestHarness(extensionModule, { capabilities: ["commands", "schema"] });
334
412
 
335
- assertRegisteredCommandContract(activation.registrations, {
336
- command: "incident triage",
337
- flags: ["--severity"],
338
- });
339
- assertRegisteredFlags(activation.registrations, {
340
- targetCommand: "list",
341
- flags: ["--incident-filter"],
342
- });
413
+ ext.assertCommandContract({ command: "incident triage", flags: ["--severity"] });
414
+ ext.assertFlags({ targetCommand: "list", flags: ["--incident-filter"] });
415
+ const { result } = await ext.runCommand({ command: "incident triage", options: { severity: "high" } });
416
+ await ext.deactivate();
343
417
  ```
344
418
 
345
419
  For provider-safe schemas, use `PM_PROVIDER_TOOL_PARAMETERS_SCHEMA`. It is flat and avoids advanced schema constructs such as root `oneOf`.
@@ -560,6 +634,265 @@ import { createPmCliExpectedError } from "@unbrained/pm-cli/sdk/runtime";
560
634
 
561
635
  `PM_CLI_PACKAGE_ROOT` is reserved for first-party packages bundled inside this repository. Those packages use it to locate the running CLI's `dist/sdk/runtime.js` before they are installed as independent npm packages. External packages must not depend on `PM_CLI_PACKAGE_ROOT`, `dist/` paths, or `src/core/...`; declare `@unbrained/pm-cli` as a dependency or peer dependency and import the public SDK subpaths instead. When pm installs a registry package, it links that dependency to the running host CLI so the package gets the active SDK without downloading a second CLI copy into the project.
562
636
 
637
+ ## Authoring Builders
638
+
639
+ Tracked: [pm-12tj](../.agents/pm/features/pm-12tj.toon) (design rationale: ADR [pm-3mph](../.agents/pm/decisions/pm-3mph.toon)).
640
+
641
+ The `define*` builders are the authoring half of the `author → register → test`
642
+ loop: they type a registration definition where you write it, before it ever
643
+ reaches `api.register*`. Each is a zero-cost identity function (it returns its
644
+ argument unchanged), exactly like `defineExtension` and the wider
645
+ `defineConfig`/`defineComponent` ecosystem convention — the value is entirely at
646
+ the type level.
647
+
648
+ pm packages are authored fully in TypeScript (ADR
649
+ [pm-2c28](../.agents/pm/decisions/pm-2c28.toon)). A bare `const cmd = { ... }`
650
+ satisfies the registration types only structurally and widens its literals;
651
+ wrapping it in a builder checks the object against the contract *and* preserves
652
+ the narrow literal types, while inferring the nested handler's `context`
653
+ parameter from the builder signature — the same ergonomics `defineConfig` gives a
654
+ Vite config. It also lets you colocate, export, reuse, and unit-test a definition
655
+ apart from `activate`:
656
+
657
+ ```ts
658
+ import { defineCommand, defineAfterCommandHook } from "@unbrained/pm-cli/sdk";
659
+ import type { ExtensionApi } from "@unbrained/pm-cli/sdk";
660
+
661
+ // `context` is inferred from the builder signature; the literal name/action are preserved.
662
+ export const greetCommand = defineCommand({
663
+ name: "greet hello",
664
+ action: "greet-hello",
665
+ description: "Say hello.",
666
+ run: (context) => ({ greeting: `hi ${context.args[0] ?? "world"}` }),
667
+ });
668
+
669
+ export const auditHook = defineAfterCommandHook((context) => {
670
+ if (!context.ok) return;
671
+ // react to context.affected — "project management = context management"
672
+ });
673
+
674
+ export function activate(api: ExtensionApi): void {
675
+ api.registerCommand(greetCommand);
676
+ api.hooks.afterCommand(auditHook);
677
+ }
678
+ ```
679
+
680
+ Object-definition builders (`defineExtensionManifest`, `defineCommand`,
681
+ `defineFlag`, `defineItemType`, `defineItemField`, `defineMigration`,
682
+ `defineSearchProvider`, `defineVectorStoreAdapter`) preserve the narrow literal
683
+ type. `defineExtensionManifest` additionally contract-checks the in-module
684
+ manifest mirror where it is authored and pairs with `deriveExtensionCapabilities`
685
+ (see [Declarative Authoring](#declarative-authoring)). Function-definition
686
+ builders (`defineCommandOverride`, `defineParserOverride`,
687
+ `definePreflightOverride`, `defineServiceOverride`, `defineRendererOverride`,
688
+ `defineImporter`, `defineExporter`, and the five hook builders
689
+ `defineBeforeCommandHook` / `defineAfterCommandHook` / `defineOnWriteHook` /
690
+ `defineOnReadHook` / `defineOnIndexHook`) are non-generic so a bare arrow's
691
+ parameter is contextually typed instead of falling back to `any`. The
692
+ [`assertRegistered*`](#testing-helpers) helpers below verify these same
693
+ definitions once registered.
694
+
695
+ ## Declarative Authoring
696
+
697
+ Tracked: [pm-iqq0](../.agents/pm/features/pm-iqq0.toon).
698
+
699
+ `composeExtension` is the capstone of the `author → register → test` loop. Instead
700
+ of hand-wiring each `api.register*` call inside an imperative `activate(api)`
701
+ body — calling the right method, in the right order, without forgetting one —
702
+ describe **what** to register as a plain `ExtensionBlueprint` object and let the
703
+ SDK generate the `activate` for you. Every field is optional; populate the
704
+ surfaces you use (ideally with `define*`-authored definitions) and leave the rest
705
+ out:
706
+
707
+ ```ts
708
+ import { composeExtension, defineCommand, deriveExtensionCapabilities } from "@unbrained/pm-cli/sdk";
709
+ import type { ExtensionBlueprint } from "@unbrained/pm-cli/sdk";
710
+
711
+ const echo = defineCommand({
712
+ name: "command-kit echo",
713
+ action: "command-kit-echo",
714
+ description: "Echo a message as structured output.",
715
+ run: (context) => ({ message: context.args.join(" ") }),
716
+ });
717
+
718
+ const blueprint: ExtensionBlueprint = {
719
+ commands: [echo],
720
+ parsers: { "command-kit echo": (context) => ({ options: context.options }) },
721
+ flags: { list: [{ long: "--kit-note", value_type: "string", value_name: "text" }] },
722
+ };
723
+
724
+ // The generated `activate` registers commands → overrides → flags → parsers →
725
+ // renderers → services → preflights → item types → item fields → migrations →
726
+ // search providers → vector store adapters → importers → exporters → hooks, then
727
+ // awaits any imperative `activate` you also pass (an escape hatch run last).
728
+ export default composeExtension(blueprint);
729
+ ```
730
+
731
+ `deriveExtensionCapabilities(blueprint)` returns the exact least-privilege
732
+ capability set the blueprint exercises (sorted, de-duplicated), so you can author
733
+ `manifest.json` `capabilities` with zero declared-but-unused or used-but-undeclared
734
+ drift. It is the author-time inverse of the runtime
735
+ [`reconcileExtensionCapabilityUsage`](#capability-requirements) check, and the set
736
+ it returns is the set `composeExtension`'s generated `activate` requires — they
737
+ agree by construction:
738
+
739
+ ```ts
740
+ deriveExtensionCapabilities(blueprint); // ["commands", "parser", "schema"]
741
+ ```
742
+
743
+ The blueprint's record-keyed fields (`commandOverrides`, `flags`, `parsers`,
744
+ `renderers`, `services`) map a routing key to its handler, mirroring the
745
+ two-argument `api.register*` overloads; `hooks` groups the five lifecycle kinds.
746
+ `composeExtension` is a pure assembler: it does not validate definitions —
747
+ per-surface contract enforcement stays in `api.register*` and the loader, so a
748
+ malformed definition surfaces the same activation diagnostic as a hand-written
749
+ `activate`. The bundled first-party packages intentionally keep import-free
750
+ hand-written `activate` bodies so they load in extension-only installs; reach for
751
+ `composeExtension` in npm package-mode authoring where the SDK is a dependency.
752
+
753
+ ### Modular blueprints
754
+
755
+ Tracked: [pm-high](../.agents/pm/tasks/pm-high.toon),
756
+ [pm-nvgy](../.agents/pm/tasks/pm-nvgy.toon).
757
+
758
+ A large extension's surface does not have to live in one object. `mergeExtensionBlueprints(...blueprints)`
759
+ combines several partial blueprints into one — a commands module, a search module,
760
+ a hooks module — so each concern is authored (and tested) in its own file and
761
+ assembled at the entry point. Wrap each fragment in `defineExtensionBlueprint(...)`
762
+ so it is contract-checked at its own definition site (with editor completion) —
763
+ the blueprint-level companion to `defineExtension` (a whole module) and
764
+ `defineExtensionManifest` (a manifest):
765
+
766
+ ```ts
767
+ // commands.ts
768
+ import { defineExtensionBlueprint } from "@unbrained/pm-cli/sdk";
769
+ export const commandsModule = defineExtensionBlueprint({
770
+ commands: [{ name: "kit run", action: "kit-run", run: () => ({ ok: true }) }],
771
+ });
772
+ ```
773
+
774
+ ```ts
775
+ // index.ts — NodeNext import specifiers keep the .js extension; they resolve to the .ts source.
776
+ import { composeExtension, mergeExtensionBlueprints } from "@unbrained/pm-cli/sdk";
777
+ import { commandsModule } from "./commands.js";
778
+ import { searchModule } from "./search.js";
779
+
780
+ export default composeExtension(mergeExtensionBlueprints(commandsModule, searchModule));
781
+ ```
782
+
783
+ The merge is pure, deterministic, and never mutates an input. Each surface combines
784
+ the way its `api.register*` call composes: array surfaces (`commands`, `itemTypes`,
785
+ `migrations`, `searchProviders`, `importers`, …) concatenate in order; `flags`
786
+ concatenates the flag arrays of a shared target command; single-handler records
787
+ (`commandOverrides`, `parsers`, `renderers`, `services`) take last-defined-wins
788
+ precedence on a key collision; `hooks` concatenate per lifecycle kind; imperative
789
+ `activate` hatches chain forward (acquisition order) while `deactivate` hooks chain
790
+ in reverse (LIFO teardown); the `manifest` mirror is last-defined-wins. Because the
791
+ result is an ordinary blueprint, every downstream helper (`deriveExtensionCapabilities`,
792
+ `describeExtensionBlueprint`, `lintExtensionBlueprint`, `preflightExtension`) reads it
793
+ exactly as it would a hand-written one — a command two modules both define survives
794
+ as a duplicate and `lintExtensionBlueprint` flags it. Merging zero blueprints returns
795
+ an empty blueprint (`{}`).
796
+
797
+ ### Generate the manifest (author once)
798
+
799
+ Tracked: [pm-u5le](../.agents/pm/features/pm-u5le.toon).
800
+
801
+ `deriveExtensionCapabilities` gives you only the capability set; every other
802
+ manifest field is still yours to hand-write. `synthesizeExtensionManifest(blueprint, identity)`
803
+ closes that gap — it is the **generate** verb that completes the declarative loop
804
+ (`compose → derive → describe/lint → synthesize`). Supply the identity fields a
805
+ blueprint cannot determine (`name`, `version`, `entry`, `priority`, plus any
806
+ optional `engines`/`permissions`/version floors/etc.) and it returns a complete
807
+ `ExtensionManifest` with `capabilities` derived, sorted, and de-duplicated. Write
808
+ the blueprint once; never hand-sync `capabilities` again:
809
+
810
+ ```ts
811
+ import { synthesizeExtensionManifest } from "@unbrained/pm-cli/sdk";
812
+
813
+ const manifest = synthesizeExtensionManifest(blueprint, {
814
+ name: "command-kit",
815
+ version: "1.0.0",
816
+ entry: "./index.js",
817
+ priority: 0,
818
+ });
819
+ manifest.capabilities; // ["commands", "parser", "schema"] — derived, not hand-written
820
+ ```
821
+
822
+ Where `defineExtensionManifest` only *types* a manifest you wrote by hand, this
823
+ *generates* it. For the rare surface registered through the imperative `activate`
824
+ escape hatch (invisible to static derivation — e.g. a renderer wired in
825
+ `activate`), pass `additionalCapabilities` and they are unioned in (legacy-alias
826
+ resolved, unknown names dropped). Use the result as the on-disk `manifest.json`
827
+ content or the in-module `manifest` mirror; guard a hand-maintained manifest
828
+ against drift with `assertExtensionManifestMatchesBlueprint` (below).
829
+
830
+ ### Ship both halves (author once)
831
+
832
+ Tracked: [pm-cn0c](../.agents/pm/tasks/pm-cn0c.toon).
833
+
834
+ `composeExtension` produces the runtime module; `synthesizeExtensionManifest`
835
+ produces the manifest. `composeExtensionPackage(blueprint, identity)` is the
836
+ author-once capstone that returns both halves of a shippable package from one call,
837
+ with the synthesized manifest set as the module's authoritative in-module mirror —
838
+ so the runtime module and the on-disk `manifest.json` are generated from one source
839
+ and cannot drift:
840
+
841
+ ```ts
842
+ import { composeExtensionPackage } from "@unbrained/pm-cli/sdk";
843
+
844
+ const { module, manifest } = composeExtensionPackage(blueprint, {
845
+ name: "command-kit",
846
+ version: "1.0.0",
847
+ entry: "./index.js",
848
+ priority: 0,
849
+ });
850
+ export default module; // the package entry's default export
851
+ // write `manifest` verbatim as manifest.json — capabilities derived, never hand-synced
852
+ ```
853
+
854
+ It is a pure assembler (no validation, loading, or filesystem access), exactly like
855
+ the two functions it composes; pair it with `preflightExtension` /
856
+ `assertExtensionPreflight` for the author-time verify step. Combined with
857
+ `mergeExtensionBlueprints`, the full declarative loop is: author each concern with
858
+ `define*`, assemble them modularly with `mergeExtensionBlueprints`, then ship both
859
+ halves with `composeExtensionPackage`.
860
+
861
+ ### Author-time introspection and preflight
862
+
863
+ Tracked: [pm-tlpv](../.agents/pm/features/pm-tlpv.toon),
864
+ [pm-9ect](../.agents/pm/features/pm-9ect.toon),
865
+ [pm-4oio](../.agents/pm/decisions/pm-4oio.toon).
866
+
867
+ Two pure, no-activation helpers complete the loop, so a blueprint is fully
868
+ inspectable and verifiable before it is ever loaded — the author-time inverse of
869
+ the runtime guardrails (the same discipline as `deriveExtensionCapabilities`
870
+ inverting [`reconcileExtensionCapabilityUsage`](#capability-requirements)):
871
+
872
+ ```ts
873
+ import { describeExtensionBlueprint, lintExtensionBlueprint } from "@unbrained/pm-cli/sdk";
874
+
875
+ // describeExtensionBlueprint returns the same ExtensionActivationSummary shape as
876
+ // the runtime describeExtensionActivation — but from the blueprint data alone, no
877
+ // activation. It is to the named surfaces what deriveExtensionCapabilities is to
878
+ // the capability set.
879
+ describeExtensionBlueprint(blueprint).command_handlers; // ["command-kit echo", ...]
880
+
881
+ // lintExtensionBlueprint preflights for the footguns activation would otherwise
882
+ // surface late: a capability a surface exercises but the manifest omits is an
883
+ // `error` (the loader throws extension_capability_missing); a declared-but-unused
884
+ // capability, a duplicate command, a command/override conflict, and a present-but-
885
+ // empty surface are `warning`s. Pass declaredCapabilities or set manifest.capabilities.
886
+ const report = lintExtensionBlueprint(blueprint, { declaredCapabilities: ["commands", "parser", "schema"] });
887
+ report.ok; // false if any error-severity finding
888
+ report.findings; // [{ code, severity, message, capability?/command?/field? }, ...]
889
+ ```
890
+
891
+ Both read only the declarative data, so the imperative `activate` escape hatch is
892
+ invisible to them — a blueprint that registers everything through that hatch
893
+ summarizes as empty and lints clean. In a package test, `assertExtensionBlueprint`
894
+ (below) turns the lint into a one-line CI guard.
895
+
563
896
  ## Testing Helpers
564
897
 
565
898
  Package tests can assert registration contracts without depending on Vitest-specific
@@ -607,6 +940,102 @@ guardrails, but it does not discover files or install packages. Use it for unit
607
940
  tests of extension registration shape; keep `pm package doctor` and runtime
608
941
  contracts in integration tests.
609
942
 
943
+ For declarative (`composeExtension`) packages, `assertExtensionBlueprint(blueprint, options?)`
944
+ is the `assert*` family member that preflights the blueprint *without* activating
945
+ it — it runs `lintExtensionBlueprint` and throws if any finding is error-severity
946
+ (today: a capability a surface exercises but the declared set omits, which would
947
+ fail activation with `extension_capability_missing`). It returns the full
948
+ `ExtensionBlueprintLintResult` on success so a test can still inspect advisory
949
+ warnings:
950
+
951
+ ```ts
952
+ import { assertExtensionBlueprint } from "@unbrained/pm-cli/sdk/testing";
953
+
954
+ // Throws if the blueprint and its declared capabilities have drifted; otherwise
955
+ // returns the lint result (including any non-blocking warnings) for inspection.
956
+ const report = assertExtensionBlueprint(blueprint);
957
+ ```
958
+
959
+ `assertExtensionManifestMatchesBlueprint(manifest, blueprint)` is the **strict**
960
+ bookend to that lenient preflight: where `assertExtensionBlueprint` only fails on
961
+ an *undeclared* capability and merely warns on an unused one, this assertion fails
962
+ on **both** — so a hand-maintained `manifest.json` stays exactly the least-privilege
963
+ set the blueprint requires (assert what `synthesizeExtensionManifest` would
964
+ otherwise generate). Only `capabilities` are reconciled, since that is the one
965
+ manifest field a blueprint determines:
966
+
967
+ ```ts
968
+ import { assertExtensionManifestMatchesBlueprint } from "@unbrained/pm-cli/sdk/testing";
969
+
970
+ // Throws if manifest.capabilities is missing any capability the blueprint uses, or
971
+ // declares any the blueprint never exercises. Returns { used, declared, missing,
972
+ // unused, findings } on an exact match.
973
+ assertExtensionManifestMatchesBlueprint(manifest, blueprint);
974
+ ```
975
+
976
+ Where the blueprint guards `capabilities`, a manifest's `pm_min_version` /
977
+ `pm_max_version` bounds guard *which pm CLI versions the package supports*.
978
+ Tracker references: `pm-knma` introduced `checkExtensionManifestCompatibility`;
979
+ `pm-hng2` introduced `assertExtensionManifestCompatible`.
980
+ `checkExtensionManifestCompatibility(manifest, { pmVersion, pmMaxVersionExceededMode? })`
981
+ is the author-time inverse of the loader's runtime version gate: it takes the pm
982
+ version you target and returns structured per-bound findings (the same
983
+ `extension_pm_*_version_*` outcomes the loader emits), so you can verify the window
984
+ without installing the package against a real CLI. `assertExtensionManifestCompatible`
985
+ is the throwing CI guard — it fails on a blocking incompatibility (a malformed
986
+ bound, a `pm_min_version` the target is below, or a `block`-mode `pm_max_version`
987
+ the target exceeds) and stays quiet on advisory `*_unchecked` / `*_exceeded_warn`
988
+ warnings, which still load:
989
+
990
+ ```ts
991
+ import { checkExtensionManifestCompatibility } from "@unbrained/pm-cli/sdk";
992
+ import { assertExtensionManifestCompatible } from "@unbrained/pm-cli/sdk/testing";
993
+
994
+ // Inspect every bound outcome against a target version…
995
+ const report = checkExtensionManifestCompatibility(manifest, { pmVersion: "2026.6.23" });
996
+ // report.compatible === false, report.findings[0].code === "pm_min_version_unmet", …
997
+
998
+ // …or fail the package's own suite when a bound would block the load.
999
+ assertExtensionManifestCompatible(manifest, { pmVersion: "2026.6.23" });
1000
+ ```
1001
+
1002
+ Tracked: [pm-ozaf](../.agents/pm/features/pm-ozaf.toon).
1003
+
1004
+ `preflightExtension(blueprint, { identity?, target?, declaredCapabilities? })` is the
1005
+ author-time **capstone** that runs all of the above in one call — the static analog
1006
+ of `createExtensionTestHarness`, which unified the runtime-test helpers. Rather than
1007
+ chaining `lintExtensionBlueprint`, `synthesizeExtensionManifest`, and
1008
+ `checkExtensionManifestCompatibility` (and reconciling their separate results)
1009
+ before publishing, you read one `ExtensionPreflightReport`: the blueprint is always
1010
+ linted; when `identity` is given the complete least-privilege manifest is synthesized
1011
+ and returned; when `target` is given the synthesized bounds (or, absent an identity,
1012
+ the blueprint's in-module `manifest` mirror) are version-checked. The per-stage
1013
+ results are exposed unmodified (`report.blueprint` / `report.manifest` /
1014
+ `report.compatibility`) alongside a flattened `report.findings` where each entry is
1015
+ tagged by `source` (`"blueprint"` | `"compatibility"`); `report.ok` is `false` if any
1016
+ stage produced an `error`. `assertExtensionPreflight(blueprint, options?)` is the
1017
+ throwing one-line CI guard over it — it fails listing every blocking finding tagged
1018
+ `[source:code]` and stays quiet on advisory warnings, returning the full report on
1019
+ success:
1020
+
1021
+ ```ts
1022
+ import { preflightExtension } from "@unbrained/pm-cli/sdk";
1023
+ import { assertExtensionPreflight } from "@unbrained/pm-cli/sdk/testing";
1024
+
1025
+ // Inspect every author-time stage in one report…
1026
+ const report = preflightExtension(blueprint, {
1027
+ identity: { name: "command-kit", version: "1.0.0", entry: "./index.js", priority: 0 },
1028
+ target: { pmVersion: "2026.6.23" },
1029
+ });
1030
+ // report.manifest.capabilities (derived), report.compatibility.compatible, report.findings[]
1031
+
1032
+ // …or guard the whole package in one CI line.
1033
+ assertExtensionPreflight(blueprint, {
1034
+ identity: { name: "command-kit", version: "1.0.0", entry: "./index.js", priority: 0 },
1035
+ target: { pmVersion: "2026.6.23" },
1036
+ });
1037
+ ```
1038
+
610
1039
  Invoke a registered command handler to assert its behavior (not just that it was
611
1040
  registered). `runRegisteredCommandForTest` dispatches through pm's real engine and
612
1041
  returns the `CommandHandlerResult`: