@unbrained/pm-cli 2026.6.22 → 2026.6.23

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 (416) hide show
  1. package/CHANGELOG.md +22 -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 +50 -2
  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 +28 -3
  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-DXS2XMQU.js → activity-H2LMOSSW.js} +11 -11
  19. package/dist/cli-bundle/chunks/activity-XUZ2AHCW.js +18 -0
  20. package/dist/cli-bundle/chunks/{aggregate-NMYDVQF7.js → aggregate-EGJLZQBI.js} +10 -10
  21. package/dist/cli-bundle/chunks/{aggregate-IHM4KMQ3.js → aggregate-R725FC3S.js} +10 -10
  22. package/dist/cli-bundle/chunks/{append-3HY5G7ET.js → append-5J345QGU.js} +8 -8
  23. package/dist/cli-bundle/chunks/{append-K54MDQYC.js → append-O5HPBMRN.js} +8 -8
  24. package/dist/cli-bundle/chunks/{chunk-GU7YHKYP.js → chunk-2A34E3BA.js} +2 -2
  25. package/dist/cli-bundle/chunks/{chunk-7MPTFYT3.js → chunk-2BFPAUAF.js} +15 -4
  26. package/dist/cli-bundle/chunks/chunk-2BFPAUAF.js.map +1 -0
  27. package/dist/cli-bundle/chunks/{chunk-DHBPJ7VG.js → chunk-2CKH2LMV.js} +2 -2
  28. package/dist/cli-bundle/chunks/{chunk-2LEYMXI6.js → chunk-2RDVQEWV.js} +4 -4
  29. package/dist/cli-bundle/chunks/{chunk-PCH2JTEO.js → chunk-2T3JG6V4.js} +2 -2
  30. package/dist/cli-bundle/chunks/{chunk-TZQKEBKF.js → chunk-34EONI5F.js} +2 -2
  31. package/dist/cli-bundle/chunks/{chunk-DU64SZUQ.js → chunk-3VY3YQO6.js} +2 -2
  32. package/dist/cli-bundle/chunks/{chunk-SFKQAVZA.js → chunk-46G6RSB6.js} +8 -8
  33. package/dist/cli-bundle/chunks/{chunk-DMT4ODVN.js → chunk-4BHT5VDC.js} +2 -2
  34. package/dist/cli-bundle/chunks/{chunk-UKK2VTTH.js → chunk-4KD54S3Z.js} +9 -9
  35. package/dist/cli-bundle/chunks/{chunk-DBQUQ3AS.js → chunk-55ISXAQH.js} +7 -4
  36. package/dist/cli-bundle/chunks/{chunk-DBQUQ3AS.js.map → chunk-55ISXAQH.js.map} +2 -2
  37. package/dist/cli-bundle/chunks/{chunk-GGAXE22C.js → chunk-5UVVASSA.js} +6 -6
  38. package/dist/cli-bundle/chunks/{chunk-25XZN3JD.js → chunk-5VOINNKT.js} +2 -2
  39. package/dist/cli-bundle/chunks/{chunk-KRJJPDUO.js → chunk-66MEDTUD.js} +2 -2
  40. package/dist/cli-bundle/chunks/{chunk-MD7XKVWI.js → chunk-7AUB5HNA.js} +7 -7
  41. package/dist/cli-bundle/chunks/{chunk-TJABI6PR.js → chunk-7K2XXO4I.js} +5 -5
  42. package/dist/cli-bundle/chunks/{chunk-AJXYOYJV.js → chunk-7MRQ4HMK.js} +2 -2
  43. package/dist/cli-bundle/chunks/{chunk-THKDPOS5.js → chunk-7SV63ZHD.js} +8 -8
  44. package/dist/cli-bundle/chunks/{chunk-7MALIV5H.js → chunk-7UGEAPRY.js} +9 -9
  45. package/dist/cli-bundle/chunks/{chunk-TIKJAXQW.js → chunk-7XGQXHFB.js} +3 -3
  46. package/dist/cli-bundle/chunks/{chunk-YJICYNAV.js → chunk-AD3A7ZD6.js} +8 -8
  47. package/dist/cli-bundle/chunks/{chunk-FK6MV5F5.js → chunk-AONIHR2C.js} +12 -12
  48. package/dist/cli-bundle/chunks/{chunk-YRLLL5TY.js → chunk-BB6MDVNQ.js} +8 -8
  49. package/dist/cli-bundle/chunks/{chunk-3GL6LTUL.js → chunk-C5AOG6D2.js} +53 -5
  50. package/dist/cli-bundle/chunks/{chunk-3GL6LTUL.js.map → chunk-C5AOG6D2.js.map} +1 -1
  51. package/dist/cli-bundle/chunks/{chunk-I6XE47J2.js → chunk-CE5P2NQR.js} +5 -5
  52. package/dist/cli-bundle/chunks/{chunk-GXBSFKSX.js → chunk-CIIK67GW.js} +4 -4
  53. package/dist/cli-bundle/chunks/{chunk-TRUFOER3.js → chunk-CKGNPJAG.js} +15 -4
  54. package/dist/cli-bundle/chunks/chunk-CKGNPJAG.js.map +7 -0
  55. package/dist/cli-bundle/chunks/{chunk-XKNF3VRJ.js → chunk-DT5LPYOD.js} +5 -5
  56. package/dist/cli-bundle/chunks/{chunk-4SDKF5BG.js → chunk-FIGAZ4Y7.js} +3 -3
  57. package/dist/cli-bundle/chunks/{chunk-CWPBGUC7.js → chunk-FXR67XVQ.js} +2 -2
  58. package/dist/cli-bundle/chunks/{chunk-NIWY4V4Z.js → chunk-G6N5VEOK.js} +3 -3
  59. package/dist/cli-bundle/chunks/{chunk-7GCCDXXN.js → chunk-G6PYHBBR.js} +117 -7
  60. package/dist/cli-bundle/chunks/chunk-G6PYHBBR.js.map +7 -0
  61. package/dist/cli-bundle/chunks/{chunk-C5SWTISA.js → chunk-GAJVRGGA.js} +12 -12
  62. package/dist/cli-bundle/chunks/{chunk-B2KR24R4.js → chunk-H2IP4QLJ.js} +9 -9
  63. package/dist/cli-bundle/chunks/{chunk-VB54F347.js → chunk-H4IIJDE4.js} +2 -2
  64. package/dist/cli-bundle/chunks/{chunk-7PBGTIN3.js → chunk-HFFUQR73.js} +5 -5
  65. package/dist/cli-bundle/chunks/{chunk-RPRFBXND.js → chunk-IB3GYLQE.js} +3 -3
  66. package/dist/cli-bundle/chunks/{chunk-GNDHOR64.js → chunk-IPKJ6B36.js} +6 -6
  67. package/dist/cli-bundle/chunks/{chunk-V4SM4UAL.js → chunk-JR2LV3M4.js} +13 -13
  68. package/dist/cli-bundle/chunks/{chunk-JY25IOEZ.js → chunk-KFWBJPSG.js} +5 -5
  69. package/dist/cli-bundle/chunks/{chunk-D35LTIFR.js → chunk-KQMUV6LX.js} +104 -8
  70. package/dist/cli-bundle/chunks/chunk-KQMUV6LX.js.map +1 -0
  71. package/dist/cli-bundle/chunks/{chunk-Y335KFHD.js → chunk-LRKKONT2.js} +9 -9
  72. package/dist/cli-bundle/chunks/{chunk-QQWEROGS.js → chunk-M4T5DXD5.js} +7 -7
  73. package/dist/cli-bundle/chunks/{chunk-JLSC5NPC.js → chunk-MJTINN54.js} +10 -10
  74. package/dist/cli-bundle/chunks/{chunk-RZZMSY4P.js → chunk-MJTSZKK5.js} +21 -2
  75. package/dist/cli-bundle/chunks/{chunk-RZZMSY4P.js.map → chunk-MJTSZKK5.js.map} +2 -2
  76. package/dist/cli-bundle/chunks/{chunk-4YJA4LGU.js → chunk-MVKFOLLM.js} +52 -4
  77. package/dist/cli-bundle/chunks/{chunk-4YJA4LGU.js.map → chunk-MVKFOLLM.js.map} +2 -2
  78. package/dist/cli-bundle/chunks/{chunk-CR7KFPAQ.js → chunk-NCVCO3NZ.js} +3 -3
  79. package/dist/cli-bundle/chunks/{chunk-CLLVBO3I.js → chunk-NK3UPBVG.js} +2 -2
  80. package/dist/cli-bundle/chunks/{chunk-A25LOPRG.js → chunk-O6LLO73I.js} +2 -2
  81. package/dist/cli-bundle/chunks/{chunk-4JXWVHMN.js → chunk-P77P2ILI.js} +2 -2
  82. package/dist/cli-bundle/chunks/{chunk-I367IDZP.js → chunk-Q2KNGP7C.js} +7 -7
  83. package/dist/cli-bundle/chunks/{chunk-77VKGH4L.js → chunk-QH3PJYON.js} +10 -10
  84. package/dist/cli-bundle/chunks/{chunk-5SESR24H.js → chunk-QL5RVYOA.js} +8 -8
  85. package/dist/cli-bundle/chunks/{chunk-WBSYW3NT.js → chunk-S26C36QC.js} +2 -2
  86. package/dist/cli-bundle/chunks/{chunk-Y4BZEND6.js → chunk-S2RUQSX2.js} +2 -2
  87. package/dist/cli-bundle/chunks/{chunk-NVUATMTC.js → chunk-SBQTAVJZ.js} +3 -3
  88. package/dist/cli-bundle/chunks/{chunk-A7E4ZXG2.js → chunk-SKH7OGE5.js} +2 -2
  89. package/dist/cli-bundle/chunks/{chunk-H6FNDCDI.js → chunk-SKN7LC5W.js} +5 -5
  90. package/dist/cli-bundle/chunks/{chunk-MNGAQB2E.js → chunk-SR3EKWZG.js} +8 -8
  91. package/dist/cli-bundle/chunks/{chunk-PJS2J7Z4.js → chunk-T5472OMV.js} +3 -3
  92. package/dist/cli-bundle/chunks/{chunk-6FQHNHQQ.js → chunk-T72AZDBA.js} +3 -3
  93. package/dist/cli-bundle/chunks/{chunk-YATDFWYK.js → chunk-TQZH6OD6.js} +7 -7
  94. package/dist/cli-bundle/chunks/{chunk-HYQV75IB.js → chunk-U2Z5YUSO.js} +7 -7
  95. package/dist/cli-bundle/chunks/{chunk-KL5ELX2X.js → chunk-UELRKQQU.js} +22 -3
  96. package/dist/cli-bundle/chunks/chunk-UELRKQQU.js.map +1 -0
  97. package/dist/cli-bundle/chunks/{chunk-J2TSPY5L.js → chunk-UVC5LOR7.js} +4 -4
  98. package/dist/cli-bundle/chunks/{chunk-P7ZU73BO.js → chunk-VAYA4XFX.js} +3 -3
  99. package/dist/cli-bundle/chunks/{chunk-47HTJ6BU.js → chunk-VFAQ4LMN.js} +5 -5
  100. package/dist/cli-bundle/chunks/{chunk-WQDX7DVG.js → chunk-W72GHSJE.js} +7 -7
  101. package/dist/cli-bundle/chunks/{chunk-EVPVCE4R.js → chunk-WBRKK5QR.js} +3 -3
  102. package/dist/cli-bundle/chunks/{chunk-YQSWTVZF.js → chunk-WM5ZVBPE.js} +4 -4
  103. package/dist/cli-bundle/chunks/{chunk-NKZOJPXK.js → chunk-WZQWHN4R.js} +3 -3
  104. package/dist/cli-bundle/chunks/{chunk-75VEYQJS.js → chunk-XVF4YARA.js} +3 -3
  105. package/dist/cli-bundle/chunks/{chunk-KBTREGVO.js → chunk-Y4SUQQYH.js} +8 -5
  106. package/dist/cli-bundle/chunks/{chunk-KBTREGVO.js.map → chunk-Y4SUQQYH.js.map} +1 -1
  107. package/dist/cli-bundle/chunks/{chunk-KK4TQ3ZP.js → chunk-YDEXO24S.js} +2 -2
  108. package/dist/cli-bundle/chunks/{chunk-3VLPDG3J.js → chunk-YJ3SUEPD.js} +2 -2
  109. package/dist/cli-bundle/chunks/{chunk-6UPTNMVW.js → chunk-YUDJD3XO.js} +5 -5
  110. package/dist/cli-bundle/chunks/{chunk-K25UDYJ4.js → chunk-ZQ3ZVXX2.js} +2 -2
  111. package/dist/cli-bundle/chunks/{chunk-44O4JIN6.js → chunk-ZRK4O56R.js} +13 -13
  112. package/dist/cli-bundle/chunks/{claim-MPXNVBZQ.js → claim-4KHAA2RN.js} +10 -10
  113. package/dist/cli-bundle/chunks/{claim-SKHJDLW6.js → claim-CSPJFLNH.js} +10 -10
  114. package/dist/cli-bundle/chunks/close-A3EMKBBY.js +15 -0
  115. package/dist/cli-bundle/chunks/{close-4RKSL5L6.js → close-W56IOGYG.js} +8 -8
  116. package/dist/cli-bundle/chunks/{close-many-SXODYBDP.js → close-many-BX5DCSVV.js} +15 -15
  117. package/dist/cli-bundle/chunks/{close-many-AWTPXLHJ.js → close-many-TQU5F4E4.js} +15 -15
  118. package/dist/cli-bundle/chunks/{comments-YYW5P7AG.js → comments-U5KUC4EU.js} +10 -10
  119. package/dist/cli-bundle/chunks/{comments-OOH64LWW.js → comments-VRECH75R.js} +10 -10
  120. package/dist/cli-bundle/chunks/{config-3445MCQQ.js → config-D3OKQO52.js} +8 -8
  121. package/dist/cli-bundle/chunks/{config-LCDMKRB2.js → config-MMJA4LLK.js} +8 -8
  122. package/dist/cli-bundle/chunks/{context-DZMIBIVP.js → context-BLBD3PUB.js} +13 -13
  123. package/dist/cli-bundle/chunks/{context-PJCURODY.js → context-DHLVPXN3.js} +13 -13
  124. package/dist/cli-bundle/chunks/{contracts-7YDFEJB3.js → contracts-C3SZCXXG.js} +7 -5
  125. package/dist/cli-bundle/chunks/contracts-C3SZCXXG.js.map +7 -0
  126. package/dist/cli-bundle/chunks/{contracts-MP2P3HL5.js → contracts-XGVMMPC5.js} +8 -6
  127. package/dist/cli-bundle/chunks/contracts-XGVMMPC5.js.map +1 -0
  128. package/dist/cli-bundle/chunks/{copy-63IQQRRS.js → copy-5D5DX3VK.js} +7 -7
  129. package/dist/cli-bundle/chunks/{copy-TASIH2AZ.js → copy-HHL3K4QP.js} +7 -7
  130. package/dist/cli-bundle/chunks/{create-TGSB5GV4.js → create-IXY43O4H.js} +14 -14
  131. package/dist/cli-bundle/chunks/create-QVGFYA2X.js +30 -0
  132. package/dist/cli-bundle/chunks/{delete-ARILQQLB.js → delete-IBUR3M42.js} +7 -7
  133. package/dist/cli-bundle/chunks/{delete-ZQKBZYNK.js → delete-QQC2FGUH.js} +7 -7
  134. package/dist/cli-bundle/chunks/{deps-NJFJIMQ5.js → deps-KWKRHXIN.js} +7 -7
  135. package/dist/cli-bundle/chunks/{deps-MSHQR2GY.js → deps-VTPO4BSE.js} +7 -7
  136. package/dist/cli-bundle/chunks/{docs-XK2UVUXX.js → docs-7CHFHXLN.js} +9 -9
  137. package/dist/cli-bundle/chunks/{docs-SS4UKYYA.js → docs-IIO3FEUO.js} +9 -9
  138. package/dist/cli-bundle/chunks/{eval-FVZGX5IZ.js → eval-CEYYEPSX.js} +12 -12
  139. package/dist/cli-bundle/chunks/{eval-JOTG2YHU.js → eval-IO7LREOL.js} +12 -12
  140. package/dist/cli-bundle/chunks/{extension-OQPS27B4.js → extension-KCPUWSY2.js} +6 -6
  141. package/dist/cli-bundle/chunks/{extension-NLMS47I4.js → extension-UTTQDUYI.js} +6 -6
  142. package/dist/cli-bundle/chunks/{files-3EVJQZ2N.js → files-TPUL6KWB.js} +9 -9
  143. package/dist/cli-bundle/chunks/{files-Y2P6LN5A.js → files-Z2HHEFGP.js} +9 -9
  144. package/dist/cli-bundle/chunks/{focus-D5ZUPTII.js → focus-JVJCGC2D.js} +8 -8
  145. package/dist/cli-bundle/chunks/{focus-ZPIFTY4R.js → focus-YRNNH7IP.js} +8 -8
  146. package/dist/cli-bundle/chunks/{gc-LXXDY456.js → gc-O5GUO3SU.js} +3 -3
  147. package/dist/cli-bundle/chunks/{gc-RNOEQHSX.js → gc-PYVVEELM.js} +3 -3
  148. package/dist/cli-bundle/chunks/{get-Q3SZGQHD.js → get-ENLTEGTX.js} +11 -11
  149. package/dist/cli-bundle/chunks/{get-W23G7MJX.js → get-X4O3HBEY.js} +11 -11
  150. package/dist/cli-bundle/chunks/{health-5LHSX365.js → health-5EXTY44Q.js} +14 -14
  151. package/dist/cli-bundle/chunks/{health-UDDGJLPP.js → health-BOTB7YSU.js} +14 -14
  152. package/dist/cli-bundle/chunks/{history-6CZVFIUJ.js → history-AJTXLT6S.js} +10 -10
  153. package/dist/cli-bundle/chunks/history-AK3E5Z3C.js +20 -0
  154. package/dist/cli-bundle/chunks/{history-compact-VWUSQH6Z.js → history-compact-43OOUAWD.js} +12 -12
  155. package/dist/cli-bundle/chunks/{history-compact-M35PDQ4G.js → history-compact-46MRHW3I.js} +12 -12
  156. package/dist/cli-bundle/chunks/{history-redact-AJGARHT3.js → history-redact-KUUUVUFM.js} +11 -11
  157. package/dist/cli-bundle/chunks/history-redact-TWIYQV5J.js +21 -0
  158. package/dist/cli-bundle/chunks/{history-repair-5RDMF7K4.js → history-repair-B5PZBOPU.js} +12 -12
  159. package/dist/cli-bundle/chunks/{history-repair-YUAHIPIN.js → history-repair-VQTYOSRS.js} +12 -12
  160. package/dist/cli-bundle/chunks/{init-HASX3YNJ.js → init-BNLVFPRG.js} +11 -11
  161. package/dist/cli-bundle/chunks/init-RCRKW5PL.js +21 -0
  162. package/dist/cli-bundle/chunks/{learnings-M4KA6MQE.js → learnings-MUUU5KMC.js} +10 -10
  163. package/dist/cli-bundle/chunks/{learnings-JNGUIJDK.js → learnings-XSGX52S7.js} +10 -10
  164. package/dist/cli-bundle/chunks/{list-6FMKTIH3.js → list-32U7BSKE.js} +10 -10
  165. package/dist/cli-bundle/chunks/{list-5UU2W24O.js → list-ZEEOHLTQ.js} +10 -10
  166. package/dist/cli-bundle/chunks/{notes-PYCPLA5Y.js → notes-NJ45OZGF.js} +10 -10
  167. package/dist/cli-bundle/chunks/{notes-MODH5CBT.js → notes-OHU25L3M.js} +10 -10
  168. package/dist/cli-bundle/chunks/{plan-DXRIRYRU.js → plan-KQA7CAKI.js} +14 -14
  169. package/dist/cli-bundle/chunks/{plan-EHQALWSC.js → plan-LWWAEV5Y.js} +14 -14
  170. package/dist/cli-bundle/chunks/{register-list-query-QAASVP2J.js → register-list-query-DDCHPONM.js} +19 -19
  171. package/dist/cli-bundle/chunks/{register-list-query-WE54YJMH.js → register-list-query-YNPBVIKM.js} +19 -19
  172. package/dist/cli-bundle/chunks/{register-mutation-B6DZJTY2.js → register-mutation-7ALWDDAX.js} +33 -33
  173. package/dist/cli-bundle/chunks/{register-mutation-CPV4C2KR.js → register-mutation-LAVKYY63.js} +33 -33
  174. package/dist/cli-bundle/chunks/{register-operations-AT3BVVX2.js → register-operations-R4VOQ6EF.js} +32 -32
  175. package/dist/cli-bundle/chunks/{register-operations-RC4C3423.js → register-operations-U5JAW3WE.js} +32 -32
  176. package/dist/cli-bundle/chunks/{register-setup-HXEHMDHE.js → register-setup-KBXQDCXE.js} +23 -19
  177. package/dist/cli-bundle/chunks/register-setup-KBXQDCXE.js.map +7 -0
  178. package/dist/cli-bundle/chunks/{register-setup-JSMJEFCJ.js → register-setup-RCRUHMSZ.js} +24 -20
  179. package/dist/cli-bundle/chunks/register-setup-RCRUHMSZ.js.map +1 -0
  180. package/dist/cli-bundle/chunks/restore-2ZKT6UDC.js +19 -0
  181. package/dist/cli-bundle/chunks/{restore-FNBV4GWE.js → restore-6K53WOWO.js} +11 -11
  182. package/dist/cli-bundle/chunks/{scheduling-shortcuts-JRIUREEU.js → scheduling-shortcuts-NJ5UVJFB.js} +14 -14
  183. package/dist/cli-bundle/chunks/{scheduling-shortcuts-ECL6GBMZ.js → scheduling-shortcuts-OQVJXG3M.js} +14 -14
  184. package/dist/cli-bundle/chunks/{schema-TCW3I7QR.js → schema-MNTAVQCY.js} +9 -9
  185. package/dist/cli-bundle/chunks/{schema-74YENAJL.js → schema-RBTJ2YXW.js} +9 -9
  186. package/dist/cli-bundle/chunks/{search-7USZ6XZA.js → search-6HOIVZDU.js} +12 -12
  187. package/dist/cli-bundle/chunks/{search-GNAUE65M.js → search-ZWYEMASC.js} +12 -12
  188. package/dist/cli-bundle/chunks/{stats-DQMKJMFT.js → stats-FS742AMA.js} +8 -8
  189. package/dist/cli-bundle/chunks/{stats-CVHASAEU.js → stats-R5OAJVZK.js} +8 -8
  190. package/dist/cli-bundle/chunks/{telemetry-7P5EUWCS.js → telemetry-7DIGDQUO.js} +4 -4
  191. package/dist/cli-bundle/chunks/{telemetry-PQTL5YS2.js → telemetry-FWEXSJLQ.js} +4 -4
  192. package/dist/cli-bundle/chunks/{test-FDQZQNZ4.js → test-NZF7OT2F.js} +16 -16
  193. package/dist/cli-bundle/chunks/test-QJXLKV26.js +36 -0
  194. package/dist/cli-bundle/chunks/{test-all-WQIAZVA6.js → test-all-DPN62TX7.js} +16 -16
  195. package/dist/cli-bundle/chunks/{test-all-PIPPS4S5.js → test-all-KL7TLMJF.js} +16 -16
  196. package/dist/cli-bundle/chunks/{test-runs-JS6DNCCI.js → test-runs-C6CFIVOS.js} +5 -5
  197. package/dist/cli-bundle/chunks/{test-runs-NZD2QGL5.js → test-runs-IAJDL6CA.js} +5 -5
  198. package/dist/cli-bundle/chunks/update-2XCQNOD6.js +28 -0
  199. package/dist/cli-bundle/chunks/update-IWUCXVH2.js +24 -0
  200. package/dist/cli-bundle/chunks/{update-many-6NTZ5J5D.js → update-many-MUTIOAP3.js} +23 -23
  201. package/dist/cli-bundle/chunks/{update-many-B3TH5TDS.js → update-many-YEH2DQL6.js} +23 -23
  202. package/dist/cli-bundle/chunks/{upgrade-4C7VE7MS.js → upgrade-HYJ3SWWU.js} +6 -6
  203. package/dist/cli-bundle/chunks/{upgrade-76IKZ6EZ.js → upgrade-UBNLBZNR.js} +6 -6
  204. package/dist/cli-bundle/chunks/{validate-AQU7OCL3.js → validate-6QWQVCX2.js} +21 -21
  205. package/dist/cli-bundle/chunks/{validate-BPM6Z3OT.js → validate-W5V5ZGQX.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/telemetry/runtime.js +5 -2
  215. package/dist/core/telemetry/runtime.js.map +1 -1
  216. package/dist/sdk/cli-contracts/enum-contracts.d.ts +1 -1
  217. package/dist/sdk/cli-contracts/enum-contracts.js +4 -2
  218. package/dist/sdk/cli-contracts/enum-contracts.js.map +1 -1
  219. package/dist/sdk/cli-contracts.d.ts +1 -0
  220. package/dist/sdk/cli-contracts.js +10 -2
  221. package/dist/sdk/cli-contracts.js.map +1 -1
  222. package/dist/sdk/compose.d.ts +297 -0
  223. package/dist/sdk/compose.js +420 -0
  224. package/dist/sdk/compose.js.map +1 -0
  225. package/dist/sdk/define.d.ts +194 -0
  226. package/dist/sdk/define.js +205 -0
  227. package/dist/sdk/define.js.map +1 -0
  228. package/dist/sdk/index.d.ts +4 -27
  229. package/dist/sdk/index.js +5 -12
  230. package/dist/sdk/index.js.map +1 -1
  231. package/dist/sdk/testing.d.ts +147 -1
  232. package/dist/sdk/testing.js +179 -2
  233. package/dist/sdk/testing.js.map +1 -1
  234. package/docs/COMMANDS.md +1 -0
  235. package/docs/EXTENSIONS.md +8 -5
  236. package/docs/SDK.md +245 -16
  237. package/package.json +1 -1
  238. package/dist/cli-bundle/chunks/activity-NEOI45NX.js +0 -18
  239. package/dist/cli-bundle/chunks/chunk-7GCCDXXN.js.map +0 -7
  240. package/dist/cli-bundle/chunks/chunk-7MPTFYT3.js.map +0 -1
  241. package/dist/cli-bundle/chunks/chunk-D35LTIFR.js.map +0 -1
  242. package/dist/cli-bundle/chunks/chunk-KL5ELX2X.js.map +0 -1
  243. package/dist/cli-bundle/chunks/chunk-TRUFOER3.js.map +0 -7
  244. package/dist/cli-bundle/chunks/close-Z6AI736U.js +0 -15
  245. package/dist/cli-bundle/chunks/contracts-7YDFEJB3.js.map +0 -7
  246. package/dist/cli-bundle/chunks/contracts-MP2P3HL5.js.map +0 -1
  247. package/dist/cli-bundle/chunks/create-3BV2VA3Q.js +0 -30
  248. package/dist/cli-bundle/chunks/history-YRQUD4YM.js +0 -20
  249. package/dist/cli-bundle/chunks/history-redact-27OEOZRZ.js +0 -21
  250. package/dist/cli-bundle/chunks/init-DWAKYRXI.js +0 -21
  251. package/dist/cli-bundle/chunks/register-setup-HXEHMDHE.js.map +0 -7
  252. package/dist/cli-bundle/chunks/register-setup-JSMJEFCJ.js.map +0 -1
  253. package/dist/cli-bundle/chunks/restore-XY4YE2OV.js +0 -19
  254. package/dist/cli-bundle/chunks/test-COWPCGBE.js +0 -36
  255. package/dist/cli-bundle/chunks/update-7IYQHX4Q.js +0 -24
  256. package/dist/cli-bundle/chunks/update-IJKDRBIX.js +0 -28
  257. /package/dist/cli-bundle/chunks/{activity-DXS2XMQU.js.map → activity-H2LMOSSW.js.map} +0 -0
  258. /package/dist/cli-bundle/chunks/{activity-NEOI45NX.js.map → activity-XUZ2AHCW.js.map} +0 -0
  259. /package/dist/cli-bundle/chunks/{aggregate-NMYDVQF7.js.map → aggregate-EGJLZQBI.js.map} +0 -0
  260. /package/dist/cli-bundle/chunks/{aggregate-IHM4KMQ3.js.map → aggregate-R725FC3S.js.map} +0 -0
  261. /package/dist/cli-bundle/chunks/{append-3HY5G7ET.js.map → append-5J345QGU.js.map} +0 -0
  262. /package/dist/cli-bundle/chunks/{append-K54MDQYC.js.map → append-O5HPBMRN.js.map} +0 -0
  263. /package/dist/cli-bundle/chunks/{chunk-GU7YHKYP.js.map → chunk-2A34E3BA.js.map} +0 -0
  264. /package/dist/cli-bundle/chunks/{chunk-DHBPJ7VG.js.map → chunk-2CKH2LMV.js.map} +0 -0
  265. /package/dist/cli-bundle/chunks/{chunk-2LEYMXI6.js.map → chunk-2RDVQEWV.js.map} +0 -0
  266. /package/dist/cli-bundle/chunks/{chunk-PCH2JTEO.js.map → chunk-2T3JG6V4.js.map} +0 -0
  267. /package/dist/cli-bundle/chunks/{chunk-TZQKEBKF.js.map → chunk-34EONI5F.js.map} +0 -0
  268. /package/dist/cli-bundle/chunks/{chunk-DU64SZUQ.js.map → chunk-3VY3YQO6.js.map} +0 -0
  269. /package/dist/cli-bundle/chunks/{chunk-SFKQAVZA.js.map → chunk-46G6RSB6.js.map} +0 -0
  270. /package/dist/cli-bundle/chunks/{chunk-DMT4ODVN.js.map → chunk-4BHT5VDC.js.map} +0 -0
  271. /package/dist/cli-bundle/chunks/{chunk-UKK2VTTH.js.map → chunk-4KD54S3Z.js.map} +0 -0
  272. /package/dist/cli-bundle/chunks/{chunk-GGAXE22C.js.map → chunk-5UVVASSA.js.map} +0 -0
  273. /package/dist/cli-bundle/chunks/{chunk-25XZN3JD.js.map → chunk-5VOINNKT.js.map} +0 -0
  274. /package/dist/cli-bundle/chunks/{chunk-KRJJPDUO.js.map → chunk-66MEDTUD.js.map} +0 -0
  275. /package/dist/cli-bundle/chunks/{chunk-MD7XKVWI.js.map → chunk-7AUB5HNA.js.map} +0 -0
  276. /package/dist/cli-bundle/chunks/{chunk-TJABI6PR.js.map → chunk-7K2XXO4I.js.map} +0 -0
  277. /package/dist/cli-bundle/chunks/{chunk-AJXYOYJV.js.map → chunk-7MRQ4HMK.js.map} +0 -0
  278. /package/dist/cli-bundle/chunks/{chunk-THKDPOS5.js.map → chunk-7SV63ZHD.js.map} +0 -0
  279. /package/dist/cli-bundle/chunks/{chunk-7MALIV5H.js.map → chunk-7UGEAPRY.js.map} +0 -0
  280. /package/dist/cli-bundle/chunks/{chunk-TIKJAXQW.js.map → chunk-7XGQXHFB.js.map} +0 -0
  281. /package/dist/cli-bundle/chunks/{chunk-YJICYNAV.js.map → chunk-AD3A7ZD6.js.map} +0 -0
  282. /package/dist/cli-bundle/chunks/{chunk-FK6MV5F5.js.map → chunk-AONIHR2C.js.map} +0 -0
  283. /package/dist/cli-bundle/chunks/{chunk-YRLLL5TY.js.map → chunk-BB6MDVNQ.js.map} +0 -0
  284. /package/dist/cli-bundle/chunks/{chunk-I6XE47J2.js.map → chunk-CE5P2NQR.js.map} +0 -0
  285. /package/dist/cli-bundle/chunks/{chunk-GXBSFKSX.js.map → chunk-CIIK67GW.js.map} +0 -0
  286. /package/dist/cli-bundle/chunks/{chunk-XKNF3VRJ.js.map → chunk-DT5LPYOD.js.map} +0 -0
  287. /package/dist/cli-bundle/chunks/{chunk-4SDKF5BG.js.map → chunk-FIGAZ4Y7.js.map} +0 -0
  288. /package/dist/cli-bundle/chunks/{chunk-CWPBGUC7.js.map → chunk-FXR67XVQ.js.map} +0 -0
  289. /package/dist/cli-bundle/chunks/{chunk-NIWY4V4Z.js.map → chunk-G6N5VEOK.js.map} +0 -0
  290. /package/dist/cli-bundle/chunks/{chunk-C5SWTISA.js.map → chunk-GAJVRGGA.js.map} +0 -0
  291. /package/dist/cli-bundle/chunks/{chunk-B2KR24R4.js.map → chunk-H2IP4QLJ.js.map} +0 -0
  292. /package/dist/cli-bundle/chunks/{chunk-VB54F347.js.map → chunk-H4IIJDE4.js.map} +0 -0
  293. /package/dist/cli-bundle/chunks/{chunk-7PBGTIN3.js.map → chunk-HFFUQR73.js.map} +0 -0
  294. /package/dist/cli-bundle/chunks/{chunk-RPRFBXND.js.map → chunk-IB3GYLQE.js.map} +0 -0
  295. /package/dist/cli-bundle/chunks/{chunk-GNDHOR64.js.map → chunk-IPKJ6B36.js.map} +0 -0
  296. /package/dist/cli-bundle/chunks/{chunk-V4SM4UAL.js.map → chunk-JR2LV3M4.js.map} +0 -0
  297. /package/dist/cli-bundle/chunks/{chunk-JY25IOEZ.js.map → chunk-KFWBJPSG.js.map} +0 -0
  298. /package/dist/cli-bundle/chunks/{chunk-Y335KFHD.js.map → chunk-LRKKONT2.js.map} +0 -0
  299. /package/dist/cli-bundle/chunks/{chunk-QQWEROGS.js.map → chunk-M4T5DXD5.js.map} +0 -0
  300. /package/dist/cli-bundle/chunks/{chunk-JLSC5NPC.js.map → chunk-MJTINN54.js.map} +0 -0
  301. /package/dist/cli-bundle/chunks/{chunk-CR7KFPAQ.js.map → chunk-NCVCO3NZ.js.map} +0 -0
  302. /package/dist/cli-bundle/chunks/{chunk-CLLVBO3I.js.map → chunk-NK3UPBVG.js.map} +0 -0
  303. /package/dist/cli-bundle/chunks/{chunk-A25LOPRG.js.map → chunk-O6LLO73I.js.map} +0 -0
  304. /package/dist/cli-bundle/chunks/{chunk-4JXWVHMN.js.map → chunk-P77P2ILI.js.map} +0 -0
  305. /package/dist/cli-bundle/chunks/{chunk-I367IDZP.js.map → chunk-Q2KNGP7C.js.map} +0 -0
  306. /package/dist/cli-bundle/chunks/{chunk-77VKGH4L.js.map → chunk-QH3PJYON.js.map} +0 -0
  307. /package/dist/cli-bundle/chunks/{chunk-5SESR24H.js.map → chunk-QL5RVYOA.js.map} +0 -0
  308. /package/dist/cli-bundle/chunks/{chunk-WBSYW3NT.js.map → chunk-S26C36QC.js.map} +0 -0
  309. /package/dist/cli-bundle/chunks/{chunk-Y4BZEND6.js.map → chunk-S2RUQSX2.js.map} +0 -0
  310. /package/dist/cli-bundle/chunks/{chunk-NVUATMTC.js.map → chunk-SBQTAVJZ.js.map} +0 -0
  311. /package/dist/cli-bundle/chunks/{chunk-A7E4ZXG2.js.map → chunk-SKH7OGE5.js.map} +0 -0
  312. /package/dist/cli-bundle/chunks/{chunk-H6FNDCDI.js.map → chunk-SKN7LC5W.js.map} +0 -0
  313. /package/dist/cli-bundle/chunks/{chunk-MNGAQB2E.js.map → chunk-SR3EKWZG.js.map} +0 -0
  314. /package/dist/cli-bundle/chunks/{chunk-PJS2J7Z4.js.map → chunk-T5472OMV.js.map} +0 -0
  315. /package/dist/cli-bundle/chunks/{chunk-6FQHNHQQ.js.map → chunk-T72AZDBA.js.map} +0 -0
  316. /package/dist/cli-bundle/chunks/{chunk-YATDFWYK.js.map → chunk-TQZH6OD6.js.map} +0 -0
  317. /package/dist/cli-bundle/chunks/{chunk-HYQV75IB.js.map → chunk-U2Z5YUSO.js.map} +0 -0
  318. /package/dist/cli-bundle/chunks/{chunk-J2TSPY5L.js.map → chunk-UVC5LOR7.js.map} +0 -0
  319. /package/dist/cli-bundle/chunks/{chunk-P7ZU73BO.js.map → chunk-VAYA4XFX.js.map} +0 -0
  320. /package/dist/cli-bundle/chunks/{chunk-47HTJ6BU.js.map → chunk-VFAQ4LMN.js.map} +0 -0
  321. /package/dist/cli-bundle/chunks/{chunk-WQDX7DVG.js.map → chunk-W72GHSJE.js.map} +0 -0
  322. /package/dist/cli-bundle/chunks/{chunk-EVPVCE4R.js.map → chunk-WBRKK5QR.js.map} +0 -0
  323. /package/dist/cli-bundle/chunks/{chunk-YQSWTVZF.js.map → chunk-WM5ZVBPE.js.map} +0 -0
  324. /package/dist/cli-bundle/chunks/{chunk-NKZOJPXK.js.map → chunk-WZQWHN4R.js.map} +0 -0
  325. /package/dist/cli-bundle/chunks/{chunk-75VEYQJS.js.map → chunk-XVF4YARA.js.map} +0 -0
  326. /package/dist/cli-bundle/chunks/{chunk-KK4TQ3ZP.js.map → chunk-YDEXO24S.js.map} +0 -0
  327. /package/dist/cli-bundle/chunks/{chunk-3VLPDG3J.js.map → chunk-YJ3SUEPD.js.map} +0 -0
  328. /package/dist/cli-bundle/chunks/{chunk-6UPTNMVW.js.map → chunk-YUDJD3XO.js.map} +0 -0
  329. /package/dist/cli-bundle/chunks/{chunk-K25UDYJ4.js.map → chunk-ZQ3ZVXX2.js.map} +0 -0
  330. /package/dist/cli-bundle/chunks/{chunk-44O4JIN6.js.map → chunk-ZRK4O56R.js.map} +0 -0
  331. /package/dist/cli-bundle/chunks/{claim-MPXNVBZQ.js.map → claim-4KHAA2RN.js.map} +0 -0
  332. /package/dist/cli-bundle/chunks/{claim-SKHJDLW6.js.map → claim-CSPJFLNH.js.map} +0 -0
  333. /package/dist/cli-bundle/chunks/{close-Z6AI736U.js.map → close-A3EMKBBY.js.map} +0 -0
  334. /package/dist/cli-bundle/chunks/{close-4RKSL5L6.js.map → close-W56IOGYG.js.map} +0 -0
  335. /package/dist/cli-bundle/chunks/{close-many-SXODYBDP.js.map → close-many-BX5DCSVV.js.map} +0 -0
  336. /package/dist/cli-bundle/chunks/{close-many-AWTPXLHJ.js.map → close-many-TQU5F4E4.js.map} +0 -0
  337. /package/dist/cli-bundle/chunks/{comments-YYW5P7AG.js.map → comments-U5KUC4EU.js.map} +0 -0
  338. /package/dist/cli-bundle/chunks/{comments-OOH64LWW.js.map → comments-VRECH75R.js.map} +0 -0
  339. /package/dist/cli-bundle/chunks/{config-3445MCQQ.js.map → config-D3OKQO52.js.map} +0 -0
  340. /package/dist/cli-bundle/chunks/{config-LCDMKRB2.js.map → config-MMJA4LLK.js.map} +0 -0
  341. /package/dist/cli-bundle/chunks/{context-DZMIBIVP.js.map → context-BLBD3PUB.js.map} +0 -0
  342. /package/dist/cli-bundle/chunks/{context-PJCURODY.js.map → context-DHLVPXN3.js.map} +0 -0
  343. /package/dist/cli-bundle/chunks/{copy-63IQQRRS.js.map → copy-5D5DX3VK.js.map} +0 -0
  344. /package/dist/cli-bundle/chunks/{copy-TASIH2AZ.js.map → copy-HHL3K4QP.js.map} +0 -0
  345. /package/dist/cli-bundle/chunks/{create-TGSB5GV4.js.map → create-IXY43O4H.js.map} +0 -0
  346. /package/dist/cli-bundle/chunks/{create-3BV2VA3Q.js.map → create-QVGFYA2X.js.map} +0 -0
  347. /package/dist/cli-bundle/chunks/{delete-ARILQQLB.js.map → delete-IBUR3M42.js.map} +0 -0
  348. /package/dist/cli-bundle/chunks/{delete-ZQKBZYNK.js.map → delete-QQC2FGUH.js.map} +0 -0
  349. /package/dist/cli-bundle/chunks/{deps-NJFJIMQ5.js.map → deps-KWKRHXIN.js.map} +0 -0
  350. /package/dist/cli-bundle/chunks/{deps-MSHQR2GY.js.map → deps-VTPO4BSE.js.map} +0 -0
  351. /package/dist/cli-bundle/chunks/{docs-XK2UVUXX.js.map → docs-7CHFHXLN.js.map} +0 -0
  352. /package/dist/cli-bundle/chunks/{docs-SS4UKYYA.js.map → docs-IIO3FEUO.js.map} +0 -0
  353. /package/dist/cli-bundle/chunks/{eval-FVZGX5IZ.js.map → eval-CEYYEPSX.js.map} +0 -0
  354. /package/dist/cli-bundle/chunks/{eval-JOTG2YHU.js.map → eval-IO7LREOL.js.map} +0 -0
  355. /package/dist/cli-bundle/chunks/{extension-OQPS27B4.js.map → extension-KCPUWSY2.js.map} +0 -0
  356. /package/dist/cli-bundle/chunks/{extension-NLMS47I4.js.map → extension-UTTQDUYI.js.map} +0 -0
  357. /package/dist/cli-bundle/chunks/{files-3EVJQZ2N.js.map → files-TPUL6KWB.js.map} +0 -0
  358. /package/dist/cli-bundle/chunks/{files-Y2P6LN5A.js.map → files-Z2HHEFGP.js.map} +0 -0
  359. /package/dist/cli-bundle/chunks/{focus-D5ZUPTII.js.map → focus-JVJCGC2D.js.map} +0 -0
  360. /package/dist/cli-bundle/chunks/{focus-ZPIFTY4R.js.map → focus-YRNNH7IP.js.map} +0 -0
  361. /package/dist/cli-bundle/chunks/{gc-LXXDY456.js.map → gc-O5GUO3SU.js.map} +0 -0
  362. /package/dist/cli-bundle/chunks/{gc-RNOEQHSX.js.map → gc-PYVVEELM.js.map} +0 -0
  363. /package/dist/cli-bundle/chunks/{get-Q3SZGQHD.js.map → get-ENLTEGTX.js.map} +0 -0
  364. /package/dist/cli-bundle/chunks/{get-W23G7MJX.js.map → get-X4O3HBEY.js.map} +0 -0
  365. /package/dist/cli-bundle/chunks/{health-5LHSX365.js.map → health-5EXTY44Q.js.map} +0 -0
  366. /package/dist/cli-bundle/chunks/{health-UDDGJLPP.js.map → health-BOTB7YSU.js.map} +0 -0
  367. /package/dist/cli-bundle/chunks/{history-6CZVFIUJ.js.map → history-AJTXLT6S.js.map} +0 -0
  368. /package/dist/cli-bundle/chunks/{history-YRQUD4YM.js.map → history-AK3E5Z3C.js.map} +0 -0
  369. /package/dist/cli-bundle/chunks/{history-compact-VWUSQH6Z.js.map → history-compact-43OOUAWD.js.map} +0 -0
  370. /package/dist/cli-bundle/chunks/{history-compact-M35PDQ4G.js.map → history-compact-46MRHW3I.js.map} +0 -0
  371. /package/dist/cli-bundle/chunks/{history-redact-AJGARHT3.js.map → history-redact-KUUUVUFM.js.map} +0 -0
  372. /package/dist/cli-bundle/chunks/{history-redact-27OEOZRZ.js.map → history-redact-TWIYQV5J.js.map} +0 -0
  373. /package/dist/cli-bundle/chunks/{history-repair-5RDMF7K4.js.map → history-repair-B5PZBOPU.js.map} +0 -0
  374. /package/dist/cli-bundle/chunks/{history-repair-YUAHIPIN.js.map → history-repair-VQTYOSRS.js.map} +0 -0
  375. /package/dist/cli-bundle/chunks/{init-HASX3YNJ.js.map → init-BNLVFPRG.js.map} +0 -0
  376. /package/dist/cli-bundle/chunks/{init-DWAKYRXI.js.map → init-RCRKW5PL.js.map} +0 -0
  377. /package/dist/cli-bundle/chunks/{learnings-M4KA6MQE.js.map → learnings-MUUU5KMC.js.map} +0 -0
  378. /package/dist/cli-bundle/chunks/{learnings-JNGUIJDK.js.map → learnings-XSGX52S7.js.map} +0 -0
  379. /package/dist/cli-bundle/chunks/{list-6FMKTIH3.js.map → list-32U7BSKE.js.map} +0 -0
  380. /package/dist/cli-bundle/chunks/{list-5UU2W24O.js.map → list-ZEEOHLTQ.js.map} +0 -0
  381. /package/dist/cli-bundle/chunks/{notes-PYCPLA5Y.js.map → notes-NJ45OZGF.js.map} +0 -0
  382. /package/dist/cli-bundle/chunks/{notes-MODH5CBT.js.map → notes-OHU25L3M.js.map} +0 -0
  383. /package/dist/cli-bundle/chunks/{plan-DXRIRYRU.js.map → plan-KQA7CAKI.js.map} +0 -0
  384. /package/dist/cli-bundle/chunks/{plan-EHQALWSC.js.map → plan-LWWAEV5Y.js.map} +0 -0
  385. /package/dist/cli-bundle/chunks/{register-list-query-QAASVP2J.js.map → register-list-query-DDCHPONM.js.map} +0 -0
  386. /package/dist/cli-bundle/chunks/{register-list-query-WE54YJMH.js.map → register-list-query-YNPBVIKM.js.map} +0 -0
  387. /package/dist/cli-bundle/chunks/{register-mutation-B6DZJTY2.js.map → register-mutation-7ALWDDAX.js.map} +0 -0
  388. /package/dist/cli-bundle/chunks/{register-mutation-CPV4C2KR.js.map → register-mutation-LAVKYY63.js.map} +0 -0
  389. /package/dist/cli-bundle/chunks/{register-operations-AT3BVVX2.js.map → register-operations-R4VOQ6EF.js.map} +0 -0
  390. /package/dist/cli-bundle/chunks/{register-operations-RC4C3423.js.map → register-operations-U5JAW3WE.js.map} +0 -0
  391. /package/dist/cli-bundle/chunks/{restore-XY4YE2OV.js.map → restore-2ZKT6UDC.js.map} +0 -0
  392. /package/dist/cli-bundle/chunks/{restore-FNBV4GWE.js.map → restore-6K53WOWO.js.map} +0 -0
  393. /package/dist/cli-bundle/chunks/{scheduling-shortcuts-JRIUREEU.js.map → scheduling-shortcuts-NJ5UVJFB.js.map} +0 -0
  394. /package/dist/cli-bundle/chunks/{scheduling-shortcuts-ECL6GBMZ.js.map → scheduling-shortcuts-OQVJXG3M.js.map} +0 -0
  395. /package/dist/cli-bundle/chunks/{schema-TCW3I7QR.js.map → schema-MNTAVQCY.js.map} +0 -0
  396. /package/dist/cli-bundle/chunks/{schema-74YENAJL.js.map → schema-RBTJ2YXW.js.map} +0 -0
  397. /package/dist/cli-bundle/chunks/{search-7USZ6XZA.js.map → search-6HOIVZDU.js.map} +0 -0
  398. /package/dist/cli-bundle/chunks/{search-GNAUE65M.js.map → search-ZWYEMASC.js.map} +0 -0
  399. /package/dist/cli-bundle/chunks/{stats-DQMKJMFT.js.map → stats-FS742AMA.js.map} +0 -0
  400. /package/dist/cli-bundle/chunks/{stats-CVHASAEU.js.map → stats-R5OAJVZK.js.map} +0 -0
  401. /package/dist/cli-bundle/chunks/{telemetry-7P5EUWCS.js.map → telemetry-7DIGDQUO.js.map} +0 -0
  402. /package/dist/cli-bundle/chunks/{telemetry-PQTL5YS2.js.map → telemetry-FWEXSJLQ.js.map} +0 -0
  403. /package/dist/cli-bundle/chunks/{test-FDQZQNZ4.js.map → test-NZF7OT2F.js.map} +0 -0
  404. /package/dist/cli-bundle/chunks/{test-COWPCGBE.js.map → test-QJXLKV26.js.map} +0 -0
  405. /package/dist/cli-bundle/chunks/{test-all-WQIAZVA6.js.map → test-all-DPN62TX7.js.map} +0 -0
  406. /package/dist/cli-bundle/chunks/{test-all-PIPPS4S5.js.map → test-all-KL7TLMJF.js.map} +0 -0
  407. /package/dist/cli-bundle/chunks/{test-runs-JS6DNCCI.js.map → test-runs-C6CFIVOS.js.map} +0 -0
  408. /package/dist/cli-bundle/chunks/{test-runs-NZD2QGL5.js.map → test-runs-IAJDL6CA.js.map} +0 -0
  409. /package/dist/cli-bundle/chunks/{update-IJKDRBIX.js.map → update-2XCQNOD6.js.map} +0 -0
  410. /package/dist/cli-bundle/chunks/{update-7IYQHX4Q.js.map → update-IWUCXVH2.js.map} +0 -0
  411. /package/dist/cli-bundle/chunks/{update-many-6NTZ5J5D.js.map → update-many-MUTIOAP3.js.map} +0 -0
  412. /package/dist/cli-bundle/chunks/{update-many-B3TH5TDS.js.map → update-many-YEH2DQL6.js.map} +0 -0
  413. /package/dist/cli-bundle/chunks/{upgrade-4C7VE7MS.js.map → upgrade-HYJ3SWWU.js.map} +0 -0
  414. /package/dist/cli-bundle/chunks/{upgrade-76IKZ6EZ.js.map → upgrade-UBNLBZNR.js.map} +0 -0
  415. /package/dist/cli-bundle/chunks/{validate-AQU7OCL3.js.map → validate-6QWQVCX2.js.map} +0 -0
  416. /package/dist/cli-bundle/chunks/{validate-BPM6Z3OT.js.map → validate-W5V5ZGQX.js.map} +0 -0
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../../../cli/register-setup.ts"],
4
+ "sourcesContent": ["/**\n * @module cli/register-setup\n *\n * Provides CLI runtime support for Register Setup.\n */\nimport type { Command } from \"commander\";\nimport fs from \"node:fs/promises\";\nimport type { GlobalOptions } from \"../core/shared/command-types.js\";\nimport { EXIT_CODE } from \"../core/shared/constants.js\";\nimport { PmCliError } from \"../core/shared/errors.js\";\nimport {\n collect,\n getGlobalOptions,\n printError,\n printResult,\n} from \"./registration-helpers.js\";\nimport { SCAFFOLD_CAPABILITIES } from \"./commands/extension/scaffold.js\";\n\n\n\ntype ExtensionSubcommandAction =\n | \"init\"\n | \"install\"\n | \"uninstall\"\n | \"explore\"\n | \"manage\"\n | \"describe\"\n | \"reload\"\n | \"doctor\"\n | \"catalog\"\n | \"adopt\"\n | \"adopt-all\"\n | \"activate\"\n | \"deactivate\";\n\ntype LifecycleCommandVocabulary = \"extension\" | \"package\";\n\nfunction normalizeExtensionOptions(\n options: Record<string, unknown>,\n forcedAction?: ExtensionSubcommandAction,\n vocabulary: LifecycleCommandVocabulary = \"extension\",\n): Record<string, unknown> {\n const isForcedAction = (action: ExtensionSubcommandAction): boolean => forcedAction === action;\n const readBoolean = (...keys: string[]): boolean => keys.some((key) => options[key] === true);\n const readString = (...keys: string[]): string | undefined => {\n for (const key of keys) {\n if (typeof options[key] === \"string\") {\n return options[key] as string;\n }\n }\n return undefined;\n };\n return {\n init: isForcedAction(\"init\") || readBoolean(\"init\"),\n scaffold: readBoolean(\"scaffold\"),\n install: isForcedAction(\"install\") || readBoolean(\"install\"),\n uninstall: isForcedAction(\"uninstall\") || readBoolean(\"uninstall\"),\n explore: isForcedAction(\"explore\") || readBoolean(\"explore\", \"list\"),\n manage: isForcedAction(\"manage\") || readBoolean(\"manage\"),\n describe: isForcedAction(\"describe\") || readBoolean(\"describe\"),\n reload: isForcedAction(\"reload\") || readBoolean(\"reload\"),\n doctor: isForcedAction(\"doctor\") || readBoolean(\"doctor\"),\n catalog: isForcedAction(\"catalog\") || readBoolean(\"catalog\"),\n adopt: isForcedAction(\"adopt\") || readBoolean(\"adopt\"),\n adoptAll: isForcedAction(\"adopt-all\") || readBoolean(\"adoptAll\", \"adopt_all\", \"adopt-all\"),\n activate: isForcedAction(\"activate\") || readBoolean(\"activate\"),\n deactivate: isForcedAction(\"deactivate\") || readBoolean(\"deactivate\"),\n project: readBoolean(\"project\"),\n local: readBoolean(\"local\"),\n global: readBoolean(\"global\"),\n gh: readString(\"gh\"),\n github: readString(\"github\"),\n ref: readString(\"ref\"),\n capability: readString(\"capability\"),\n fields: readString(\"fields\"),\n detail: readString(\"detail\"),\n trace: readBoolean(\"trace\"),\n watch: readBoolean(\"watch\"),\n runtimeProbe: readBoolean(\"runtimeProbe\", \"runtime_probe\", \"runtime-probe\"),\n fixManagedState: readBoolean(\"fixManagedState\", \"fix_managed_state\", \"fix-managed-state\"),\n strictExit: readBoolean(\"strictExit\", \"strict_exit\", \"strict-exit\"),\n failOnWarn: readBoolean(\"failOnWarn\", \"fail_on_warn\", \"fail-on-warn\"),\n vocabulary,\n };\n}\n\nasync function looksLikeShellExpandedWildcard(targets: string[]): Promise<boolean> {\n // Only ever called by normalizeInstallTargets after it has already returned\n // early for length <= 1, so targets always has more than one entry here.\n const visibleEntries = (await fs.readdir(process.cwd()))\n .filter((entry) => !entry.startsWith(\".\"))\n .sort((left, right) => left.localeCompare(right));\n const normalizedTargets = [...targets].sort((left, right) => left.localeCompare(right));\n return (\n visibleEntries.length === normalizedTargets.length &&\n visibleEntries.every((entry, index) => entry === normalizedTargets[index])\n );\n}\n\nasync function normalizeInstallTargets(targets: string[] | undefined): Promise<string | undefined> {\n // Commander variadic `[targets...]` always yields an array (empty when no\n // targets are given), so a single nullish coalesce covers every input.\n /* c8 ignore start -- commander variadic `[targets...]` always passes an array; the `?? []` arm is an unreachable nullish guard */\n const normalizedTargets = (targets ?? [])\n .map((target) => target.trim())\n .filter((target) => target.length > 0);\n /* c8 ignore stop */\n if (normalizedTargets.length <= 1) {\n return normalizedTargets[0];\n }\n if (await looksLikeShellExpandedWildcard(normalizedTargets)) {\n return \"*\";\n }\n throw new PmCliError(\n `Install accepts one package source at a time. To install bundled first-party packages, quote the wildcard: pm install '*'`,\n EXIT_CODE.USAGE,\n );\n}\n\nasync function executeExtensionCommand(\n target: string | undefined,\n options: Record<string, unknown>,\n command: Command,\n forcedAction?: ExtensionSubcommandAction,\n vocabulary: LifecycleCommandVocabulary = \"extension\",\n): Promise<void> {\n const globalOptions = getGlobalOptions(command);\n const startedAt = Date.now();\n const normalizedOptions = normalizeExtensionOptions(options, forcedAction, vocabulary);\n const { runExtension } = await import(\"./commands/extension.js\");\n const result = await runExtension(target, normalizedOptions, globalOptions);\n printResult(result, globalOptions);\n const strictExit = Boolean(normalizedOptions.strictExit) || Boolean(normalizedOptions.failOnWarn);\n if (result.action === \"doctor\" && strictExit) {\n const detailsRecord = result.details as Record<string, unknown>;\n const summary = (detailsRecord.summary ?? null) as Record<string, unknown> | null;\n const summaryStatus = summary && typeof summary.status === \"string\" ? summary.status : undefined;\n const shouldFail = summaryStatus ? summaryStatus !== \"ok\" : result.warnings.length > 0;\n if (shouldFail) {\n process.exitCode = EXIT_CODE.GENERIC_FAILURE;\n }\n }\n if (globalOptions.profile) {\n printError(`profile:command=extension took_ms=${Date.now() - startedAt}`);\n }\n}\n\nfunction addExtensionScopeOptions<T extends Command>(command: T): T {\n return command\n .option(\"--project\", \"Use project extension scope (default)\")\n .option(\"--local\", \"Alias for --project\")\n .option(\"--global\", \"Use global extension scope\");\n}\n\nfunction addPackageScopeOptions<T extends Command>(command: T): T {\n return command\n .option(\"--project\", \"Use project package scope (default)\")\n .option(\"--local\", \"Alias for --project\")\n .option(\"--global\", \"Use global package scope\");\n}\n\nfunction addLifecycleScopeOptions<T extends Command>(command: T, vocabulary: LifecycleCommandVocabulary): T {\n return vocabulary === \"package\" ? addPackageScopeOptions(command) : addExtensionScopeOptions(command);\n}\n\nfunction registerLifecycleCommand(\n program: Command,\n vocabulary: LifecycleCommandVocabulary,\n): void {\n const noun = vocabulary === \"package\" ? \"package\" : \"extension\";\n const plural = vocabulary === \"package\" ? \"packages\" : \"extensions\";\n const commandName = vocabulary;\n const lifecycleCommand = program\n .command(commandName)\n .argument(\"[target]\", `${noun[0]!.toUpperCase()}${noun.slice(1)} source/name or scaffold target path (for --init/--scaffold)`)\n .option(\"--init\", `Generate a starter ${noun} scaffold at target path`)\n .option(\"--scaffold\", \"Alias for --init\")\n .option(\"--capability <kind>\", `Capability the --init starter targets (${SCAFFOLD_CAPABILITIES.join(\"|\")}; default commands)`)\n .option(\"--install\", `Install ${noun} from local path, bundled alias, npm: source, wildcard, or GitHub source`)\n .option(\"--uninstall\", `Uninstall an installed ${noun}`)\n .option(\"--explore\", `List discovered ${plural} in selected scope`)\n .option(\"--list\", \"Alias for --explore\")\n .option(\"--manage\", `List managed ${plural} with update-check metadata`)\n .option(\"--describe\", `Map every surface a loaded ${noun} registers (optionally one by name)`)\n .option(\"--reload\", `Reload ${plural} with cache-busted module imports`)\n .option(\"--watch\", \"Use watch mode with --reload\")\n .option(\"--doctor\", `Run consolidated ${noun} diagnostics (summary/deep modes)`)\n .option(\"--catalog\", `List bundled first-party ${noun} catalog metadata`)\n .option(\"--adopt\", `Adopt an existing unmanaged ${noun} into managed metadata`)\n .option(\"--adopt-all\", `Adopt all unmanaged ${plural} into managed metadata`)\n .option(\"--activate\", `Activate a ${noun} in selected scope settings`)\n .option(\"--deactivate\", `Deactivate a ${noun} in selected scope settings`)\n .option(\"--project\", `Use project ${noun} scope (default)`)\n .option(\"--local\", \"Alias for --project\")\n .option(\"--global\", `Use global ${noun} scope`)\n .option(\"--gh <github-source>\", \"Install from GitHub shorthand source (owner/repo[/path])\")\n .option(\"--github <github-source>\", \"Alias for --gh\")\n .option(\"--ref <ref>\", \"Git ref/branch/tag for GitHub install sources\")\n .option(\"--detail <mode>\", `${noun[0]!.toUpperCase()}${noun.slice(1)} diagnostics detail mode (summary|deep)`)\n .option(\"--trace\", \"Include actionable registration traces in doctor deep diagnostics\")\n .option(\"--runtime-probe\", \"Opt-in runtime activation probe for manage output parity\")\n .option(\"--fix-managed-state\", `Adopt unmanaged ${plural} before diagnostics/update checks`)\n .option(\"--strict-exit\", \"Return non-zero exit when doctor warnings are present (ok=false)\")\n .option(\"--fail-on-warn\", \"Alias for --strict-exit (doctor)\")\n .description(\n vocabulary === \"package\"\n ? \"Manage package lifecycle operations for project or global scope. Backward-compatible with extension packages.\"\n : \"Manage extension lifecycle operations for project or global scope.\",\n )\n .action(async (target: string | undefined, _options: Record<string, unknown>, command) => {\n await executeExtensionCommand(target, command.optsWithGlobals() as Record<string, unknown>, command, undefined, vocabulary);\n });\n\n if (vocabulary === \"package\") {\n lifecycleCommand.alias(\"packages\");\n }\n\n addLifecycleScopeOptions(\n lifecycleCommand\n .command(\"init\")\n .alias(\"scaffold\")\n .argument(\"<target>\", `Scaffold target directory path`)\n .option(\"--capability <kind>\", `Capability the starter targets (${SCAFFOLD_CAPABILITIES.join(\"|\")}; default commands)`)\n .description(\n vocabulary === \"package\"\n ? \"Generate a starter package scaffold with package metadata, manifest, and entrypoint.\"\n : \"Generate a starter extension scaffold with manifest and entrypoint.\",\n ),\n vocabulary,\n ).action(async (target: string, _options: Record<string, unknown>, command) => {\n await executeExtensionCommand(target, command.optsWithGlobals() as Record<string, unknown>, command, \"init\", vocabulary);\n });\n\n addLifecycleScopeOptions(\n lifecycleCommand\n .command(\"install\")\n .argument(\"[targets...]\", `${noun[0]!.toUpperCase()}${noun.slice(1)} source (local path, bundled alias, npm: source, wildcard, or GitHub source)`)\n .option(\"--gh <github-source>\", \"Install from GitHub shorthand source (owner/repo[/path])\")\n .option(\"--github <github-source>\", \"Alias for --gh\")\n .option(\"--ref <ref>\", \"Git ref/branch/tag for GitHub install sources\")\n .description(`Install ${noun} from local path, bundled alias, npm: source, wildcard, or GitHub source.`),\n vocabulary,\n ).action(async (targets: string[] | undefined, _options: Record<string, unknown>, command) => {\n const target = await normalizeInstallTargets(targets);\n await executeExtensionCommand(target, command.optsWithGlobals() as Record<string, unknown>, command, \"install\", vocabulary);\n });\n\n addLifecycleScopeOptions(\n lifecycleCommand.command(\"uninstall\").argument(\"<target>\", `${noun[0]!.toUpperCase()}${noun.slice(1)} name`).description(`Uninstall an installed ${noun}.`),\n vocabulary,\n ).action(async (target: string, _options: Record<string, unknown>, command) => {\n await executeExtensionCommand(target, command.optsWithGlobals() as Record<string, unknown>, command, \"uninstall\", vocabulary);\n });\n\n addLifecycleScopeOptions(lifecycleCommand.command(\"explore\").description(`List discovered ${plural} in selected scope.`), vocabulary).action(\n async (_options: Record<string, unknown>, command) => {\n await executeExtensionCommand(undefined, command.optsWithGlobals() as Record<string, unknown>, command, \"explore\", vocabulary);\n },\n );\n\n addLifecycleScopeOptions(\n lifecycleCommand\n .command(\"manage\")\n .option(\"--runtime-probe\", \"Opt-in runtime activation probe for manage output parity\")\n .option(\"--fix-managed-state\", `Adopt unmanaged ${plural} before diagnostics/update checks`)\n .description(`List managed ${plural} with update-check metadata.`),\n vocabulary,\n ).action(async (_options: Record<string, unknown>, command) => {\n await executeExtensionCommand(undefined, command.optsWithGlobals() as Record<string, unknown>, command, \"manage\", vocabulary);\n });\n\n addLifecycleScopeOptions(\n lifecycleCommand\n .command(\"describe\")\n .argument(\"[target]\", `${noun[0]!.toUpperCase()}${noun.slice(1)} name to describe (omit for every loaded ${noun})`)\n .description(`Map every surface a loaded ${noun} registers (commands, hooks, item types, providers, overrides, ...).`),\n vocabulary,\n ).action(async (target: string | undefined, _options: Record<string, unknown>, command) => {\n await executeExtensionCommand(target, command.optsWithGlobals() as Record<string, unknown>, command, \"describe\", vocabulary);\n });\n\n addLifecycleScopeOptions(\n lifecycleCommand\n .command(\"reload\")\n .option(\"--watch\", \"Use watch mode for repeated reload checks\")\n .description(`Reload ${plural} with cache-busted module imports.`),\n vocabulary,\n ).action(async (_options: Record<string, unknown>, command) => {\n await executeExtensionCommand(undefined, command.optsWithGlobals() as Record<string, unknown>, command, \"reload\", vocabulary);\n });\n\n addLifecycleScopeOptions(\n lifecycleCommand\n .command(\"doctor\")\n .option(\"--detail <mode>\", `Detail mode for ${noun} diagnostics (summary|deep)`)\n .option(\"--trace\", \"Include actionable registration traces in doctor deep diagnostics\")\n .option(\"--fix-managed-state\", `Adopt unmanaged ${plural} before diagnostics/update checks`)\n .option(\"--strict-exit\", \"Return non-zero exit when doctor warnings are present (ok=false)\")\n .option(\"--fail-on-warn\", \"Alias for --strict-exit (doctor)\")\n .description(`Run consolidated ${noun} diagnostics (summary/deep modes).`),\n vocabulary,\n ).action(async (_options: Record<string, unknown>, command) => {\n await executeExtensionCommand(undefined, command.optsWithGlobals() as Record<string, unknown>, command, \"doctor\", vocabulary);\n });\n\n addLifecycleScopeOptions(\n lifecycleCommand\n .command(\"catalog\")\n .alias(\"list\")\n .option(\"--fields <value>\", \"Render compact comma-separated catalog fields, for example: alias,installed,install_command\")\n .description(`List bundled first-party ${noun} catalog metadata.`),\n vocabulary,\n ).action(async (_options: Record<string, unknown>, command) => {\n await executeExtensionCommand(undefined, command.optsWithGlobals() as Record<string, unknown>, command, \"catalog\", vocabulary);\n });\n\n addLifecycleScopeOptions(\n lifecycleCommand\n .command(\"adopt\")\n .argument(\"<target>\", `${noun[0]!.toUpperCase()}${noun.slice(1)} name`)\n .option(\"--gh <owner/repo[/path]>\", `GitHub provenance shorthand for adopted ${noun}`)\n .option(\"--github <owner/repo[/path]>\", \"Alias for --gh\")\n .option(\"--ref <ref>\", \"Git ref/branch/tag for GitHub shorthand source\")\n .description(`Adopt an existing unmanaged ${noun} into managed metadata.`),\n vocabulary,\n ).action(async (target: string, _options: Record<string, unknown>, command) => {\n await executeExtensionCommand(target, command.optsWithGlobals() as Record<string, unknown>, command, \"adopt\", vocabulary);\n });\n\n addLifecycleScopeOptions(\n lifecycleCommand.command(\"adopt-all\").description(`Adopt all unmanaged ${plural} into managed metadata.`),\n vocabulary,\n ).action(async (_options: Record<string, unknown>, command) => {\n await executeExtensionCommand(undefined, command.optsWithGlobals() as Record<string, unknown>, command, \"adopt-all\", vocabulary);\n });\n\n addLifecycleScopeOptions(\n lifecycleCommand.command(\"activate\").argument(\"<target>\", `${noun[0]!.toUpperCase()}${noun.slice(1)} name`).description(`Activate a ${noun} in selected scope settings.`),\n vocabulary,\n ).action(async (target: string, _options: Record<string, unknown>, command) => {\n await executeExtensionCommand(target, command.optsWithGlobals() as Record<string, unknown>, command, \"activate\", vocabulary);\n });\n\n addLifecycleScopeOptions(\n lifecycleCommand.command(\"deactivate\").argument(\"<target>\", `${noun[0]!.toUpperCase()}${noun.slice(1)} name`).description(`Deactivate a ${noun} in selected scope settings.`),\n vocabulary,\n ).action(async (target: string, _options: Record<string, unknown>, command) => {\n await executeExtensionCommand(target, command.optsWithGlobals() as Record<string, unknown>, command, \"deactivate\", vocabulary);\n });\n}\n\n/**\n * Implements register setup commands for the public runtime surface of this module.\n */\nexport function registerSetupCommands(program: Command): void {\n program\n .command(\"init\")\n .argument(\"[prefix-or-path]\", \"Optional id prefix, or path-like tracker target such as ./pm-sandbox\")\n .option(\"--preset <value>\", \"Governance preset for new setups: minimal|default|strict\")\n .option(\"--defaults\", \"Use non-interactive setup defaults without opening the wizard\")\n .option(\"-y, --yes\", \"Alias for --defaults (non-interactive setup)\")\n .option(\"--author <value>\", \"Set the default mutation author for this project\")\n .option(\"--agent-guidance <mode>\", \"Agent guidance mode: ask|add|skip|status\")\n .option(\"--type-preset <name>\", \"Register domain item types during init: agile|ops|research\")\n .option(\"--with-packages\", \"Install all bundled first-party packages during initialization\")\n .option(\"--force\", \"Allow initializing tracker files directly in a directory that looks like a workspace root\")\n .option(\"--verbose\", \"Include the full resolved settings tree in the output (default output is a concise summary)\")\n .description(\"Initialize pm storage and defaults for the current workspace or a path-like tracker target.\")\n .action(async (prefix: string | undefined, options: Record<string, unknown>, command) => {\n const globalOptions = getGlobalOptions(command);\n const startedAt = Date.now();\n const { runInit, summarizeInitResult } = await import(\"./commands/init.js\");\n const result = await runInit(\n prefix,\n globalOptions,\n {\n preset: typeof options.preset === \"string\" ? options.preset : undefined,\n defaults: options.defaults === true || options.yes === true,\n author: typeof options.author === \"string\" ? options.author : undefined,\n agentGuidance: typeof options.agentGuidance === \"string\" ? options.agentGuidance : undefined,\n typePreset: typeof options.typePreset === \"string\" ? options.typePreset : undefined,\n withPackages: options.withPackages === true,\n force: options.force === true,\n },\n );\n // Default (toon) output is a concise summary to minimize agent token cost.\n // --json consumers and --verbose both receive the full settings tree.\n const verbose = options.verbose === true;\n const emitFullTree = verbose || globalOptions.json === true;\n printResult(emitFullTree ? result : summarizeInitResult(result), globalOptions);\n if (globalOptions.profile) {\n printError(`profile:command=init took_ms=${Date.now() - startedAt}`);\n }\n });\n\n program\n .command(\"config\")\n .argument(\"[scope]\", \"Config scope: project|global, or action shorthand list|export|get|set for project scope\")\n .argument(\"[action]\", \"Config action: get|set|list|export\")\n .argument(\n \"[key]\",\n \"Config key for get|set: definition-of-done|item-format|history-missing-stream-policy|sprint-release-format-policy|parent-reference-policy|metadata-validation-profile|metadata-required-fields|lifecycle-stale-blocker-reason-patterns|lifecycle-closure-like-blocked-reason-patterns|lifecycle-closure-like-resolution-patterns|lifecycle-closure-like-actual-result-patterns|governance-preset|governance-ownership-enforcement|governance-create-mode-default|governance-close-validation-default|governance-require-close-reason|governance-parent-reference-policy|governance-metadata-validation-profile|governance-force-required-for-stale-lock|test-result-tracking|telemetry-tracking|context\",\n )\n .argument(\n \"[value]\",\n \"Optional value for set: routed to the right typed flag by key (e.g. config set telemetry-tracking off, config set item-format toon, config set definition-of-done \\\"Tests pass\\\"). Equivalent to --policy/--format/--criterion. context keys still require --default-depth/--section-* flags.\",\n )\n .option(\n \"--criterion <text>\",\n \"Criteria value for definition-of-done, metadata-required-fields, or lifecycle pattern keys (repeatable for set)\",\n collect,\n )\n .option(\"--clear-criteria\", \"Clear criteria-list keys for config set operations\")\n .option(\"--format <value>\", \"Item format for item-format key: toon\")\n .option(\n \"--policy <value>\",\n \"Policy key values: history-missing-stream-policy=auto_create|strict_error; sprint-release-format-policy=warn|strict_error; parent-reference-policy=warn|strict_error; governance-preset=minimal|default|strict|custom; governance-ownership-enforcement=none|warn|strict; governance-create-mode-default=progressive|strict; governance-close-validation-default=off|warn|strict; governance-require-close-reason=enabled|disabled; governance-parent-reference-policy=warn|strict_error; governance-metadata-validation-profile=core|strict|custom; governance-force-required-for-stale-lock=enabled|disabled; test-result-tracking=enabled|disabled; telemetry-tracking=enabled|disabled\",\n )\n .option(\n \"--value <value>\",\n \"Value for nested leaf settings keys (search_provider, search_mutation_refresh_policy, search_query_expansion_enabled, search_rerank_enabled, openai_base_url, ollama_model, vector_store_adapter, vector_store_collection_name, qdrant_url, lancedb_path, etc.). Equivalent to the positional value.\",\n )\n .option(\"--default-depth <value>\", \"Context default depth: brief|standard|deep\")\n .option(\"--activity-limit <n>\", \"Context default activity limit\")\n .option(\"--stale-threshold-days <n>\", \"Context staleness cutoff in days\")\n .option(\"--section-hierarchy <value>\", \"Enable/disable context hierarchy section (true|false)\")\n .option(\"--section-activity <value>\", \"Enable/disable context activity section (true|false)\")\n .option(\"--section-progress <value>\", \"Enable/disable context progress section (true|false)\")\n .option(\"--section-blockers <value>\", \"Enable/disable context blockers section (true|false)\")\n .option(\"--section-files <value>\", \"Enable/disable context files section (true|false)\")\n .option(\"--section-workload <value>\", \"Enable/disable context workload section (true|false)\")\n .option(\"--section-staleness <value>\", \"Enable/disable context staleness section (true|false)\")\n .option(\"--section-tests <value>\", \"Enable/disable context tests section (true|false)\")\n .description(\"Read or update pm settings for the current workspace or global profile.\")\n .action(async (scope: string | undefined, action: string | undefined, key: string | undefined, value: string | undefined, options: Record<string, unknown>, command) => {\n const globalOptions = getGlobalOptions(command);\n const startedAt = Date.now();\n const criteria = Array.isArray(options.criterion) ? (options.criterion as string[]) : [];\n const { runConfig } = await import(\"./commands/config.js\");\n const actionShorthands = new Set([\"get\", \"set\", \"list\", \"export\"]);\n const scopeShorthand = scope !== undefined && actionShorthands.has(scope);\n const resolvedScope = scopeShorthand ? \"project\" : (scope ?? \"project\");\n const resolvedAction = scopeShorthand ? scope : (action ?? \"list\");\n // When scope is an action shorthand, positionals shift left by one:\n // [set] [key] [value] -> action=set, key=key, value=value.\n const resolvedKey = scopeShorthand ? action : key;\n const resolvedValue = scopeShorthand ? key : value;\n const result = await runConfig(\n resolvedScope,\n resolvedAction,\n resolvedKey,\n {\n criterion: criteria,\n format: typeof options.format === \"string\" ? options.format : undefined,\n policy: typeof options.policy === \"string\" ? options.policy : undefined,\n value: typeof options.value === \"string\" ? options.value : undefined,\n clearCriteria: options.clearCriteria === true,\n defaultDepth: typeof options.defaultDepth === \"string\" ? options.defaultDepth : undefined,\n activityLimit: typeof options.activityLimit === \"string\" ? options.activityLimit : undefined,\n staleThresholdDays: typeof options.staleThresholdDays === \"string\" ? options.staleThresholdDays : undefined,\n sectionHierarchy: typeof options.sectionHierarchy === \"string\" ? options.sectionHierarchy : undefined,\n sectionActivity: typeof options.sectionActivity === \"string\" ? options.sectionActivity : undefined,\n sectionProgress: typeof options.sectionProgress === \"string\" ? options.sectionProgress : undefined,\n sectionBlockers: typeof options.sectionBlockers === \"string\" ? options.sectionBlockers : undefined,\n sectionFiles: typeof options.sectionFiles === \"string\" ? options.sectionFiles : undefined,\n sectionWorkload: typeof options.sectionWorkload === \"string\" ? options.sectionWorkload : undefined,\n sectionStaleness: typeof options.sectionStaleness === \"string\" ? options.sectionStaleness : undefined,\n sectionTests: typeof options.sectionTests === \"string\" ? options.sectionTests : undefined,\n },\n globalOptions,\n typeof resolvedValue === \"string\" ? resolvedValue : undefined,\n );\n printResult(result, globalOptions);\n if (globalOptions.profile) {\n printError(`profile:command=config took_ms=${Date.now() - startedAt}`);\n }\n });\n\n registerLifecycleCommand(program, \"extension\");\n registerLifecycleCommand(program, \"package\");\n\n addPackageScopeOptions(\n program\n .command(\"install\")\n .argument(\"[targets...]\", \"Package source (local path, bundled alias, npm: source, wildcard, or GitHub source)\")\n .option(\"--gh <github-source>\", \"Install from GitHub shorthand source (owner/repo[/path])\")\n .option(\"--github <github-source>\", \"Alias for --gh\")\n .option(\"--ref <ref>\", \"Git ref/branch/tag for GitHub install sources\")\n .description(\"Install a pm package into the project package scope by default.\"),\n ).action(async (targets: string[] | undefined, _options: Record<string, unknown>, command) => {\n const target = await normalizeInstallTargets(targets);\n await executeExtensionCommand(target, command.optsWithGlobals() as Record<string, unknown>, command, \"install\", \"package\");\n });\n\n addPackageScopeOptions(\n program\n .command(\"upgrade\")\n .argument(\"[target]\", \"Optional managed package name/source to upgrade; omit to upgrade pm CLI and all managed packages\")\n .option(\"--dry-run\", \"Plan CLI/package upgrades without running npm or reinstalling packages\")\n .option(\"--cli-only\", \"Upgrade only the pm CLI/SDK npm package\")\n .option(\"--packages-only\", \"Upgrade only managed pm packages\")\n .option(\"--repair\", \"Force npm global reinstall when upgrading the pm CLI/SDK\")\n .option(\"--tag <value>\", \"npm dist-tag/version for CLI and registry package upgrades\")\n .option(\"--package-name <value>\", \"Override the CLI package name for self-upgrade testing\")\n .description(\"Upgrade the pm CLI/SDK and refresh managed installable pm packages.\"),\n ).action(async (target: string | undefined, _options: Record<string, unknown>, command) => {\n const globalOptions = getGlobalOptions(command);\n const startedAt = Date.now();\n const { runUpgrade } = await import(\"./commands/upgrade.js\");\n const result = await runUpgrade(target, command.opts() as Record<string, unknown>, globalOptions);\n printResult(result, globalOptions);\n if (!result.ok) {\n process.exitCode = EXIT_CODE.GENERIC_FAILURE;\n }\n if (globalOptions.profile) {\n printError(`profile:command=upgrade took_ms=${Date.now() - startedAt}`);\n }\n });\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;AAMA,OAAO,QAAQ;;;;;;;;AA+Bf,SAAS,0BACP,SACA,cACA,aAAyC,aAAW;AAEpD,QAAM,iBAAiB,CAAC,WAA+C,iBAAiB;AACxF,QAAM,cAAc,IAAI,SAA4B,KAAK,KAAK,CAAC,QAAQ,QAAQ,GAAG,MAAM,IAAI;AAC5F,QAAM,aAAa,IAAI,SAAsC;AAC3D,eAAW,OAAO,MAAM;AACtB,UAAI,OAAO,QAAQ,GAAG,MAAM,UAAU;AACpC,eAAO,QAAQ,GAAG;MACpB;IACF;AACA,WAAO;EACT;AACA,SAAO;IACL,MAAM,eAAe,MAAM,KAAK,YAAY,MAAM;IAClD,UAAU,YAAY,UAAU;IAChC,SAAS,eAAe,SAAS,KAAK,YAAY,SAAS;IAC3D,WAAW,eAAe,WAAW,KAAK,YAAY,WAAW;IACjE,SAAS,eAAe,SAAS,KAAK,YAAY,WAAW,MAAM;IACnE,QAAQ,eAAe,QAAQ,KAAK,YAAY,QAAQ;IACxD,UAAU,eAAe,UAAU,KAAK,YAAY,UAAU;IAC9D,QAAQ,eAAe,QAAQ,KAAK,YAAY,QAAQ;IACxD,QAAQ,eAAe,QAAQ,KAAK,YAAY,QAAQ;IACxD,SAAS,eAAe,SAAS,KAAK,YAAY,SAAS;IAC3D,OAAO,eAAe,OAAO,KAAK,YAAY,OAAO;IACrD,UAAU,eAAe,WAAW,KAAK,YAAY,YAAY,aAAa,WAAW;IACzF,UAAU,eAAe,UAAU,KAAK,YAAY,UAAU;IAC9D,YAAY,eAAe,YAAY,KAAK,YAAY,Y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A+B,UAAmC,YAAW;AAC3F,UAAM,SAAS,MAAM,wBAAwB,OAAO;AACpD,UAAM,wBAAwB,QAAQ,QAAQ,gBAAe,GAA+B,SAAS,WAAW,SAAS;EAC3H,CAAC;AAED,yBACE,QACG,QAAQ,SAAS,EACjB,SAAS,YAAY,kGAAkG,EACvH,OAAO,aAAa,wEAAwE,EAC5F,OAAO,cAAc,yCAAyC,EAC9D,OAAO,mBAAmB,kCAAkC,EAC5D,OAAO,YAAY,0DAA0D,EAC7E,OAAO,iBAAiB,4DAA4D,EACpF,OAAO,0BAA0B,wDAAwD,EACzF,YAAY,qEAAqE,CAAC,EACrF,OAAO,OAAO,QAA4B,UAAmC,YAAW;AACxF,UAAM,gBAAgB,iBAAiB,OAAO;AAC9C,UAAM,YAAY,KAAK,IAAG;AAC1B,UAAM,EAAE,WAAU,IAAK,MAAM,OAAO,uBAAuB;AAC3D,UAAM,SAAS,MAAM,WAAW,QAAQ,QAAQ,KAAI,GAA+B,aAAa;AAChG,gBAAY,QAAQ,aAAa;AACjC,QAAI,CAAC,OAAO,IAAI;AACd,cAAQ,WAAW,UAAU;IAC/B;AACA,QAAI,cAAc,SAAS;AACzB,iBAAW,mCAAmC,KAAK,IAAG,IAAK,SAAS,EAAE;IACxE;EACF,CAAC;AACH;",
6
+ "names": []
7
+ }
@@ -1,28 +1,28 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="359d921a-b667-5351-80c8-0ab2a782f37b")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="269b58b5-580f-5937-a240-9bd4b8bd6414")}catch(e){}}();
3
3
  import {
4
4
  collect,
5
5
  getGlobalOptions
6
- } from "./chunk-6UPTNMVW.js";
7
- import "./chunk-7MPTFYT3.js";
8
- import "./chunk-TJABI6PR.js";
6
+ } from "./chunk-YUDJD3XO.js";
7
+ import "./chunk-2BFPAUAF.js";
8
+ import "./chunk-7K2XXO4I.js";
9
9
  import {
10
10
  printError,
11
11
  printResult
12
- } from "./chunk-CLLVBO3I.js";
12
+ } from "./chunk-NK3UPBVG.js";
13
13
  import {
14
14
  SCAFFOLD_CAPABILITIES
15
- } from "./chunk-3GL6LTUL.js";
16
- import "./chunk-DMT4ODVN.js";
17
- import "./chunk-GGAXE22C.js";
18
- import "./chunk-Y4BZEND6.js";
19
- import "./chunk-P7ZU73BO.js";
20
- import "./chunk-KK4TQ3ZP.js";
21
- import "./chunk-PCH2JTEO.js";
15
+ } from "./chunk-C5AOG6D2.js";
16
+ import "./chunk-4BHT5VDC.js";
17
+ import "./chunk-5UVVASSA.js";
18
+ import "./chunk-S2RUQSX2.js";
19
+ import "./chunk-VAYA4XFX.js";
20
+ import "./chunk-YDEXO24S.js";
21
+ import "./chunk-2T3JG6V4.js";
22
22
  import {
23
23
  EXIT_CODE,
24
24
  PmCliError
25
- } from "./chunk-KL5ELX2X.js";
25
+ } from "./chunk-UELRKQQU.js";
26
26
 
27
27
  // dist/cli/register-setup.js
28
28
  import fs from "node:fs/promises";
@@ -44,6 +44,7 @@ function normalizeExtensionOptions(options, forcedAction, vocabulary = "extensio
44
44
  uninstall: isForcedAction("uninstall") || readBoolean("uninstall"),
45
45
  explore: isForcedAction("explore") || readBoolean("explore", "list"),
46
46
  manage: isForcedAction("manage") || readBoolean("manage"),
47
+ describe: isForcedAction("describe") || readBoolean("describe"),
47
48
  reload: isForcedAction("reload") || readBoolean("reload"),
48
49
  doctor: isForcedAction("doctor") || readBoolean("doctor"),
49
50
  catalog: isForcedAction("catalog") || readBoolean("catalog"),
@@ -88,7 +89,7 @@ async function executeExtensionCommand(target, options, command, forcedAction, v
88
89
  const globalOptions = getGlobalOptions(command);
89
90
  const startedAt = Date.now();
90
91
  const normalizedOptions = normalizeExtensionOptions(options, forcedAction, vocabulary);
91
- const { runExtension } = await import("./extension-OQPS27B4.js");
92
+ const { runExtension } = await import("./extension-KCPUWSY2.js");
92
93
  const result = await runExtension(target, normalizedOptions, globalOptions);
93
94
  printResult(result, globalOptions);
94
95
  const strictExit = Boolean(normalizedOptions.strictExit) || Boolean(normalizedOptions.failOnWarn);
@@ -118,7 +119,7 @@ function registerLifecycleCommand(program, vocabulary) {
118
119
  const noun = vocabulary === "package" ? "package" : "extension";
119
120
  const plural = vocabulary === "package" ? "packages" : "extensions";
120
121
  const commandName = vocabulary;
121
- const lifecycleCommand = program.command(commandName).argument("[target]", `${noun[0].toUpperCase()}${noun.slice(1)} source/name or scaffold target path (for --init/--scaffold)`).option("--init", `Generate a starter ${noun} scaffold at target path`).option("--scaffold", "Alias for --init").option("--capability <kind>", `Capability the --init starter targets (${SCAFFOLD_CAPABILITIES.join("|")}; default commands)`).option("--install", `Install ${noun} from local path, bundled alias, npm: source, wildcard, or GitHub source`).option("--uninstall", `Uninstall an installed ${noun}`).option("--explore", `List discovered ${plural} in selected scope`).option("--list", "Alias for --explore").option("--manage", `List managed ${plural} with update-check metadata`).option("--reload", `Reload ${plural} with cache-busted module imports`).option("--watch", "Use watch mode with --reload").option("--doctor", `Run consolidated ${noun} diagnostics (summary/deep modes)`).option("--catalog", `List bundled first-party ${noun} catalog metadata`).option("--adopt", `Adopt an existing unmanaged ${noun} into managed metadata`).option("--adopt-all", `Adopt all unmanaged ${plural} into managed metadata`).option("--activate", `Activate a ${noun} in selected scope settings`).option("--deactivate", `Deactivate a ${noun} in selected scope settings`).option("--project", `Use project ${noun} scope (default)`).option("--local", "Alias for --project").option("--global", `Use global ${noun} scope`).option("--gh <github-source>", "Install from GitHub shorthand source (owner/repo[/path])").option("--github <github-source>", "Alias for --gh").option("--ref <ref>", "Git ref/branch/tag for GitHub install sources").option("--detail <mode>", `${noun[0].toUpperCase()}${noun.slice(1)} diagnostics detail mode (summary|deep)`).option("--trace", "Include actionable registration traces in doctor deep diagnostics").option("--runtime-probe", "Opt-in runtime activation probe for manage output parity").option("--fix-managed-state", `Adopt unmanaged ${plural} before diagnostics/update checks`).option("--strict-exit", "Return non-zero exit when doctor warnings are present (ok=false)").option("--fail-on-warn", "Alias for --strict-exit (doctor)").description(vocabulary === "package" ? "Manage package lifecycle operations for project or global scope. Backward-compatible with extension packages." : "Manage extension lifecycle operations for project or global scope.").action(async (target, _options, command) => {
122
+ const lifecycleCommand = program.command(commandName).argument("[target]", `${noun[0].toUpperCase()}${noun.slice(1)} source/name or scaffold target path (for --init/--scaffold)`).option("--init", `Generate a starter ${noun} scaffold at target path`).option("--scaffold", "Alias for --init").option("--capability <kind>", `Capability the --init starter targets (${SCAFFOLD_CAPABILITIES.join("|")}; default commands)`).option("--install", `Install ${noun} from local path, bundled alias, npm: source, wildcard, or GitHub source`).option("--uninstall", `Uninstall an installed ${noun}`).option("--explore", `List discovered ${plural} in selected scope`).option("--list", "Alias for --explore").option("--manage", `List managed ${plural} with update-check metadata`).option("--describe", `Map every surface a loaded ${noun} registers (optionally one by name)`).option("--reload", `Reload ${plural} with cache-busted module imports`).option("--watch", "Use watch mode with --reload").option("--doctor", `Run consolidated ${noun} diagnostics (summary/deep modes)`).option("--catalog", `List bundled first-party ${noun} catalog metadata`).option("--adopt", `Adopt an existing unmanaged ${noun} into managed metadata`).option("--adopt-all", `Adopt all unmanaged ${plural} into managed metadata`).option("--activate", `Activate a ${noun} in selected scope settings`).option("--deactivate", `Deactivate a ${noun} in selected scope settings`).option("--project", `Use project ${noun} scope (default)`).option("--local", "Alias for --project").option("--global", `Use global ${noun} scope`).option("--gh <github-source>", "Install from GitHub shorthand source (owner/repo[/path])").option("--github <github-source>", "Alias for --gh").option("--ref <ref>", "Git ref/branch/tag for GitHub install sources").option("--detail <mode>", `${noun[0].toUpperCase()}${noun.slice(1)} diagnostics detail mode (summary|deep)`).option("--trace", "Include actionable registration traces in doctor deep diagnostics").option("--runtime-probe", "Opt-in runtime activation probe for manage output parity").option("--fix-managed-state", `Adopt unmanaged ${plural} before diagnostics/update checks`).option("--strict-exit", "Return non-zero exit when doctor warnings are present (ok=false)").option("--fail-on-warn", "Alias for --strict-exit (doctor)").description(vocabulary === "package" ? "Manage package lifecycle operations for project or global scope. Backward-compatible with extension packages." : "Manage extension lifecycle operations for project or global scope.").action(async (target, _options, command) => {
122
123
  await executeExtensionCommand(target, command.optsWithGlobals(), command, void 0, vocabulary);
123
124
  });
124
125
  if (vocabulary === "package") {
@@ -140,6 +141,9 @@ function registerLifecycleCommand(program, vocabulary) {
140
141
  addLifecycleScopeOptions(lifecycleCommand.command("manage").option("--runtime-probe", "Opt-in runtime activation probe for manage output parity").option("--fix-managed-state", `Adopt unmanaged ${plural} before diagnostics/update checks`).description(`List managed ${plural} with update-check metadata.`), vocabulary).action(async (_options, command) => {
141
142
  await executeExtensionCommand(void 0, command.optsWithGlobals(), command, "manage", vocabulary);
142
143
  });
144
+ addLifecycleScopeOptions(lifecycleCommand.command("describe").argument("[target]", `${noun[0].toUpperCase()}${noun.slice(1)} name to describe (omit for every loaded ${noun})`).description(`Map every surface a loaded ${noun} registers (commands, hooks, item types, providers, overrides, ...).`), vocabulary).action(async (target, _options, command) => {
145
+ await executeExtensionCommand(target, command.optsWithGlobals(), command, "describe", vocabulary);
146
+ });
143
147
  addLifecycleScopeOptions(lifecycleCommand.command("reload").option("--watch", "Use watch mode for repeated reload checks").description(`Reload ${plural} with cache-busted module imports.`), vocabulary).action(async (_options, command) => {
144
148
  await executeExtensionCommand(void 0, command.optsWithGlobals(), command, "reload", vocabulary);
145
149
  });
@@ -166,7 +170,7 @@ function registerSetupCommands(program) {
166
170
  program.command("init").argument("[prefix-or-path]", "Optional id prefix, or path-like tracker target such as ./pm-sandbox").option("--preset <value>", "Governance preset for new setups: minimal|default|strict").option("--defaults", "Use non-interactive setup defaults without opening the wizard").option("-y, --yes", "Alias for --defaults (non-interactive setup)").option("--author <value>", "Set the default mutation author for this project").option("--agent-guidance <mode>", "Agent guidance mode: ask|add|skip|status").option("--type-preset <name>", "Register domain item types during init: agile|ops|research").option("--with-packages", "Install all bundled first-party packages during initialization").option("--force", "Allow initializing tracker files directly in a directory that looks like a workspace root").option("--verbose", "Include the full resolved settings tree in the output (default output is a concise summary)").description("Initialize pm storage and defaults for the current workspace or a path-like tracker target.").action(async (prefix, options, command) => {
167
171
  const globalOptions = getGlobalOptions(command);
168
172
  const startedAt = Date.now();
169
- const { runInit, summarizeInitResult } = await import("./init-HASX3YNJ.js");
173
+ const { runInit, summarizeInitResult } = await import("./init-BNLVFPRG.js");
170
174
  const result = await runInit(prefix, globalOptions, {
171
175
  preset: typeof options.preset === "string" ? options.preset : void 0,
172
176
  defaults: options.defaults === true || options.yes === true,
@@ -187,7 +191,7 @@ function registerSetupCommands(program) {
187
191
  const globalOptions = getGlobalOptions(command);
188
192
  const startedAt = Date.now();
189
193
  const criteria = Array.isArray(options.criterion) ? options.criterion : [];
190
- const { runConfig } = await import("./config-LCDMKRB2.js");
194
+ const { runConfig } = await import("./config-MMJA4LLK.js");
191
195
  const actionShorthands = /* @__PURE__ */ new Set(["get", "set", "list", "export"]);
192
196
  const scopeShorthand = scope !== void 0 && actionShorthands.has(scope);
193
197
  const resolvedScope = scopeShorthand ? "project" : scope ?? "project";
@@ -226,7 +230,7 @@ function registerSetupCommands(program) {
226
230
  addPackageScopeOptions(program.command("upgrade").argument("[target]", "Optional managed package name/source to upgrade; omit to upgrade pm CLI and all managed packages").option("--dry-run", "Plan CLI/package upgrades without running npm or reinstalling packages").option("--cli-only", "Upgrade only the pm CLI/SDK npm package").option("--packages-only", "Upgrade only managed pm packages").option("--repair", "Force npm global reinstall when upgrading the pm CLI/SDK").option("--tag <value>", "npm dist-tag/version for CLI and registry package upgrades").option("--package-name <value>", "Override the CLI package name for self-upgrade testing").description("Upgrade the pm CLI/SDK and refresh managed installable pm packages.")).action(async (target, _options, command) => {
227
231
  const globalOptions = getGlobalOptions(command);
228
232
  const startedAt = Date.now();
229
- const { runUpgrade } = await import("./upgrade-4C7VE7MS.js");
233
+ const { runUpgrade } = await import("./upgrade-HYJ3SWWU.js");
230
234
  const result = await runUpgrade(target, command.opts(), globalOptions);
231
235
  printResult(result, globalOptions);
232
236
  if (!result.ok) {
@@ -240,6 +244,6 @@ function registerSetupCommands(program) {
240
244
  export {
241
245
  registerSetupCommands
242
246
  };
243
- //# sourceMappingURL=register-setup-JSMJEFCJ.js.map
247
+ //# sourceMappingURL=register-setup-RCRUHMSZ.js.map
244
248
 
245
- //# debugId=359d921a-b667-5351-80c8-0ab2a782f37b
249
+ //# debugId=269b58b5-580f-5937-a240-9bd4b8bd6414
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../../../cli/register-setup.ts"],"sourcesContent":["/**\n * @module cli/register-setup\n *\n * Provides CLI runtime support for Register Setup.\n */\nimport type { Command } from \"commander\";\nimport fs from \"node:fs/promises\";\nimport type { GlobalOptions } from \"../core/shared/command-types.js\";\nimport { EXIT_CODE } from \"../core/shared/constants.js\";\nimport { PmCliError } from \"../core/shared/errors.js\";\nimport {\n collect,\n getGlobalOptions,\n printError,\n printResult,\n} from \"./registration-helpers.js\";\nimport { SCAFFOLD_CAPABILITIES } from \"./commands/extension/scaffold.js\";\n\n\n\ntype ExtensionSubcommandAction =\n | \"init\"\n | \"install\"\n | \"uninstall\"\n | \"explore\"\n | \"manage\"\n | \"describe\"\n | \"reload\"\n | \"doctor\"\n | \"catalog\"\n | \"adopt\"\n | \"adopt-all\"\n | \"activate\"\n | \"deactivate\";\n\ntype LifecycleCommandVocabulary = \"extension\" | \"package\";\n\nfunction normalizeExtensionOptions(\n options: Record<string, unknown>,\n forcedAction?: ExtensionSubcommandAction,\n vocabulary: LifecycleCommandVocabulary = \"extension\",\n): Record<string, unknown> {\n const isForcedAction = (action: ExtensionSubcommandAction): boolean => forcedAction === action;\n const readBoolean = (...keys: string[]): boolean => keys.some((key) => options[key] === true);\n const readString = (...keys: string[]): string | undefined => {\n for (const key of keys) {\n if (typeof options[key] === \"string\") {\n return options[key] as string;\n }\n }\n return undefined;\n };\n return {\n init: isForcedAction(\"init\") || readBoolean(\"init\"),\n scaffold: readBoolean(\"scaffold\"),\n install: isForcedAction(\"install\") || readBoolean(\"install\"),\n uninstall: isForcedAction(\"uninstall\") || readBoolean(\"uninstall\"),\n explore: isForcedAction(\"explore\") || readBoolean(\"explore\", \"list\"),\n manage: isForcedAction(\"manage\") || readBoolean(\"manage\"),\n describe: isForcedAction(\"describe\") || readBoolean(\"describe\"),\n reload: isForcedAction(\"reload\") || readBoolean(\"reload\"),\n doctor: isForcedAction(\"doctor\") || readBoolean(\"doctor\"),\n catalog: isForcedAction(\"catalog\") || readBoolean(\"catalog\"),\n adopt: isForcedAction(\"adopt\") || readBoolean(\"adopt\"),\n adoptAll: isForcedAction(\"adopt-all\") || readBoolean(\"adoptAll\", \"adopt_all\", \"adopt-all\"),\n activate: isForcedAction(\"activate\") || readBoolean(\"activate\"),\n deactivate: isForcedAction(\"deactivate\") || readBoolean(\"deactivate\"),\n project: readBoolean(\"project\"),\n local: readBoolean(\"local\"),\n global: readBoolean(\"global\"),\n gh: readString(\"gh\"),\n github: readString(\"github\"),\n ref: readString(\"ref\"),\n capability: readString(\"capability\"),\n fields: readString(\"fields\"),\n detail: readString(\"detail\"),\n trace: readBoolean(\"trace\"),\n watch: readBoolean(\"watch\"),\n runtimeProbe: readBoolean(\"runtimeProbe\", \"runtime_probe\", \"runtime-probe\"),\n fixManagedState: readBoolean(\"fixManagedState\", \"fix_managed_state\", \"fix-managed-state\"),\n strictExit: readBoolean(\"strictExit\", \"strict_exit\", \"strict-exit\"),\n failOnWarn: readBoolean(\"failOnWarn\", \"fail_on_warn\", \"fail-on-warn\"),\n vocabulary,\n };\n}\n\nasync function looksLikeShellExpandedWildcard(targets: string[]): Promise<boolean> {\n // Only ever called by normalizeInstallTargets after it has already returned\n // early for length <= 1, so targets always has more than one entry here.\n const visibleEntries = (await fs.readdir(process.cwd()))\n .filter((entry) => !entry.startsWith(\".\"))\n .sort((left, right) => left.localeCompare(right));\n const normalizedTargets = [...targets].sort((left, right) => left.localeCompare(right));\n return (\n visibleEntries.length === normalizedTargets.length &&\n visibleEntries.every((entry, index) => entry === normalizedTargets[index])\n );\n}\n\nasync function normalizeInstallTargets(targets: string[] | undefined): Promise<string | undefined> {\n // Commander variadic `[targets...]` always yields an array (empty when no\n // targets are given), so a single nullish coalesce covers every input.\n /* c8 ignore start -- commander variadic `[targets...]` always passes an array; the `?? []` arm is an unreachable nullish guard */\n const normalizedTargets = (targets ?? [])\n .map((target) => target.trim())\n .filter((target) => target.length > 0);\n /* c8 ignore stop */\n if (normalizedTargets.length <= 1) {\n return normalizedTargets[0];\n }\n if (await looksLikeShellExpandedWildcard(normalizedTargets)) {\n return \"*\";\n }\n throw new PmCliError(\n `Install accepts one package source at a time. To install bundled first-party packages, quote the wildcard: pm install '*'`,\n EXIT_CODE.USAGE,\n );\n}\n\nasync function executeExtensionCommand(\n target: string | undefined,\n options: Record<string, unknown>,\n command: Command,\n forcedAction?: ExtensionSubcommandAction,\n vocabulary: LifecycleCommandVocabulary = \"extension\",\n): Promise<void> {\n const globalOptions = getGlobalOptions(command);\n const startedAt = Date.now();\n const normalizedOptions = normalizeExtensionOptions(options, forcedAction, vocabulary);\n const { runExtension } = await import(\"./commands/extension.js\");\n const result = await runExtension(target, normalizedOptions, globalOptions);\n printResult(result, globalOptions);\n const strictExit = Boolean(normalizedOptions.strictExit) || Boolean(normalizedOptions.failOnWarn);\n if (result.action === \"doctor\" && strictExit) {\n const detailsRecord = result.details as Record<string, unknown>;\n const summary = (detailsRecord.summary ?? null) as Record<string, unknown> | null;\n const summaryStatus = summary && typeof summary.status === \"string\" ? summary.status : undefined;\n const shouldFail = summaryStatus ? summaryStatus !== \"ok\" : result.warnings.length > 0;\n if (shouldFail) {\n process.exitCode = EXIT_CODE.GENERIC_FAILURE;\n }\n }\n if (globalOptions.profile) {\n printError(`profile:command=extension took_ms=${Date.now() - startedAt}`);\n }\n}\n\nfunction addExtensionScopeOptions<T extends Command>(command: T): T {\n return command\n .option(\"--project\", \"Use project extension scope (default)\")\n .option(\"--local\", \"Alias for --project\")\n .option(\"--global\", \"Use global extension scope\");\n}\n\nfunction addPackageScopeOptions<T extends Command>(command: T): T {\n return command\n .option(\"--project\", \"Use project package scope (default)\")\n .option(\"--local\", \"Alias for --project\")\n .option(\"--global\", \"Use global package scope\");\n}\n\nfunction addLifecycleScopeOptions<T extends Command>(command: T, vocabulary: LifecycleCommandVocabulary): T {\n return vocabulary === \"package\" ? addPackageScopeOptions(command) : addExtensionScopeOptions(command);\n}\n\nfunction registerLifecycleCommand(\n program: Command,\n vocabulary: LifecycleCommandVocabulary,\n): void {\n const noun = vocabulary === \"package\" ? \"package\" : \"extension\";\n const plural = vocabulary === \"package\" ? \"packages\" : \"extensions\";\n const commandName = vocabulary;\n const lifecycleCommand = program\n .command(commandName)\n .argument(\"[target]\", `${noun[0]!.toUpperCase()}${noun.slice(1)} source/name or scaffold target path (for --init/--scaffold)`)\n .option(\"--init\", `Generate a starter ${noun} scaffold at target path`)\n .option(\"--scaffold\", \"Alias for --init\")\n .option(\"--capability <kind>\", `Capability the --init starter targets (${SCAFFOLD_CAPABILITIES.join(\"|\")}; default commands)`)\n .option(\"--install\", `Install ${noun} from local path, bundled alias, npm: source, wildcard, or GitHub source`)\n .option(\"--uninstall\", `Uninstall an installed ${noun}`)\n .option(\"--explore\", `List discovered ${plural} in selected scope`)\n .option(\"--list\", \"Alias for --explore\")\n .option(\"--manage\", `List managed ${plural} with update-check metadata`)\n .option(\"--describe\", `Map every surface a loaded ${noun} registers (optionally one by name)`)\n .option(\"--reload\", `Reload ${plural} with cache-busted module imports`)\n .option(\"--watch\", \"Use watch mode with --reload\")\n .option(\"--doctor\", `Run consolidated ${noun} diagnostics (summary/deep modes)`)\n .option(\"--catalog\", `List bundled first-party ${noun} catalog metadata`)\n .option(\"--adopt\", `Adopt an existing unmanaged ${noun} into managed metadata`)\n .option(\"--adopt-all\", `Adopt all unmanaged ${plural} into managed metadata`)\n .option(\"--activate\", `Activate a ${noun} in selected scope settings`)\n .option(\"--deactivate\", `Deactivate a ${noun} in selected scope settings`)\n .option(\"--project\", `Use project ${noun} scope (default)`)\n .option(\"--local\", \"Alias for --project\")\n .option(\"--global\", `Use global ${noun} scope`)\n .option(\"--gh <github-source>\", \"Install from GitHub shorthand source (owner/repo[/path])\")\n .option(\"--github <github-source>\", \"Alias for --gh\")\n .option(\"--ref <ref>\", \"Git ref/branch/tag for GitHub install sources\")\n .option(\"--detail <mode>\", `${noun[0]!.toUpperCase()}${noun.slice(1)} diagnostics detail mode (summary|deep)`)\n .option(\"--trace\", \"Include actionable registration traces in doctor deep diagnostics\")\n .option(\"--runtime-probe\", \"Opt-in runtime activation probe for manage output parity\")\n .option(\"--fix-managed-state\", `Adopt unmanaged ${plural} before diagnostics/update checks`)\n .option(\"--strict-exit\", \"Return non-zero exit when doctor warnings are present (ok=false)\")\n .option(\"--fail-on-warn\", \"Alias for --strict-exit (doctor)\")\n .description(\n vocabulary === \"package\"\n ? \"Manage package lifecycle operations for project or global scope. Backward-compatible with extension packages.\"\n : \"Manage extension lifecycle operations for project or global scope.\",\n )\n .action(async (target: string | undefined, _options: Record<string, unknown>, command) => {\n await executeExtensionCommand(target, command.optsWithGlobals() as Record<string, unknown>, command, undefined, vocabulary);\n });\n\n if (vocabulary === \"package\") {\n lifecycleCommand.alias(\"packages\");\n }\n\n addLifecycleScopeOptions(\n lifecycleCommand\n .command(\"init\")\n .alias(\"scaffold\")\n .argument(\"<target>\", `Scaffold target directory path`)\n .option(\"--capability <kind>\", `Capability the starter targets (${SCAFFOLD_CAPABILITIES.join(\"|\")}; default commands)`)\n .description(\n vocabulary === \"package\"\n ? \"Generate a starter package scaffold with package metadata, manifest, and entrypoint.\"\n : \"Generate a starter extension scaffold with manifest and entrypoint.\",\n ),\n vocabulary,\n ).action(async (target: string, _options: Record<string, unknown>, command) => {\n await executeExtensionCommand(target, command.optsWithGlobals() as Record<string, unknown>, command, \"init\", vocabulary);\n });\n\n addLifecycleScopeOptions(\n lifecycleCommand\n .command(\"install\")\n .argument(\"[targets...]\", `${noun[0]!.toUpperCase()}${noun.slice(1)} source (local path, bundled alias, npm: source, wildcard, or GitHub source)`)\n .option(\"--gh <github-source>\", \"Install from GitHub shorthand source (owner/repo[/path])\")\n .option(\"--github <github-source>\", \"Alias for --gh\")\n .option(\"--ref <ref>\", \"Git ref/branch/tag for GitHub install sources\")\n .description(`Install ${noun} from local path, bundled alias, npm: source, wildcard, or GitHub source.`),\n vocabulary,\n ).action(async (targets: string[] | undefined, _options: Record<string, unknown>, command) => {\n const target = await normalizeInstallTargets(targets);\n await executeExtensionCommand(target, command.optsWithGlobals() as Record<string, unknown>, command, \"install\", vocabulary);\n });\n\n addLifecycleScopeOptions(\n lifecycleCommand.command(\"uninstall\").argument(\"<target>\", `${noun[0]!.toUpperCase()}${noun.slice(1)} name`).description(`Uninstall an installed ${noun}.`),\n vocabulary,\n ).action(async (target: string, _options: Record<string, unknown>, command) => {\n await executeExtensionCommand(target, command.optsWithGlobals() as Record<string, unknown>, command, \"uninstall\", vocabulary);\n });\n\n addLifecycleScopeOptions(lifecycleCommand.command(\"explore\").description(`List discovered ${plural} in selected scope.`), vocabulary).action(\n async (_options: Record<string, unknown>, command) => {\n await executeExtensionCommand(undefined, command.optsWithGlobals() as Record<string, unknown>, command, \"explore\", vocabulary);\n },\n );\n\n addLifecycleScopeOptions(\n lifecycleCommand\n .command(\"manage\")\n .option(\"--runtime-probe\", \"Opt-in runtime activation probe for manage output parity\")\n .option(\"--fix-managed-state\", `Adopt unmanaged ${plural} before diagnostics/update checks`)\n .description(`List managed ${plural} with update-check metadata.`),\n vocabulary,\n ).action(async (_options: Record<string, unknown>, command) => {\n await executeExtensionCommand(undefined, command.optsWithGlobals() as Record<string, unknown>, command, \"manage\", vocabulary);\n });\n\n addLifecycleScopeOptions(\n lifecycleCommand\n .command(\"describe\")\n .argument(\"[target]\", `${noun[0]!.toUpperCase()}${noun.slice(1)} name to describe (omit for every loaded ${noun})`)\n .description(`Map every surface a loaded ${noun} registers (commands, hooks, item types, providers, overrides, ...).`),\n vocabulary,\n ).action(async (target: string | undefined, _options: Record<string, unknown>, command) => {\n await executeExtensionCommand(target, command.optsWithGlobals() as Record<string, unknown>, command, \"describe\", vocabulary);\n });\n\n addLifecycleScopeOptions(\n lifecycleCommand\n .command(\"reload\")\n .option(\"--watch\", \"Use watch mode for repeated reload checks\")\n .description(`Reload ${plural} with cache-busted module imports.`),\n vocabulary,\n ).action(async (_options: Record<string, unknown>, command) => {\n await executeExtensionCommand(undefined, command.optsWithGlobals() as Record<string, unknown>, command, \"reload\", vocabulary);\n });\n\n addLifecycleScopeOptions(\n lifecycleCommand\n .command(\"doctor\")\n .option(\"--detail <mode>\", `Detail mode for ${noun} diagnostics (summary|deep)`)\n .option(\"--trace\", \"Include actionable registration traces in doctor deep diagnostics\")\n .option(\"--fix-managed-state\", `Adopt unmanaged ${plural} before diagnostics/update checks`)\n .option(\"--strict-exit\", \"Return non-zero exit when doctor warnings are present (ok=false)\")\n .option(\"--fail-on-warn\", \"Alias for --strict-exit (doctor)\")\n .description(`Run consolidated ${noun} diagnostics (summary/deep modes).`),\n vocabulary,\n ).action(async (_options: Record<string, unknown>, command) => {\n await executeExtensionCommand(undefined, command.optsWithGlobals() as Record<string, unknown>, command, \"doctor\", vocabulary);\n });\n\n addLifecycleScopeOptions(\n lifecycleCommand\n .command(\"catalog\")\n .alias(\"list\")\n .option(\"--fields <value>\", \"Render compact comma-separated catalog fields, for example: alias,installed,install_command\")\n .description(`List bundled first-party ${noun} catalog metadata.`),\n vocabulary,\n ).action(async (_options: Record<string, unknown>, command) => {\n await executeExtensionCommand(undefined, command.optsWithGlobals() as Record<string, unknown>, command, \"catalog\", vocabulary);\n });\n\n addLifecycleScopeOptions(\n lifecycleCommand\n .command(\"adopt\")\n .argument(\"<target>\", `${noun[0]!.toUpperCase()}${noun.slice(1)} name`)\n .option(\"--gh <owner/repo[/path]>\", `GitHub provenance shorthand for adopted ${noun}`)\n .option(\"--github <owner/repo[/path]>\", \"Alias for --gh\")\n .option(\"--ref <ref>\", \"Git ref/branch/tag for GitHub shorthand source\")\n .description(`Adopt an existing unmanaged ${noun} into managed metadata.`),\n vocabulary,\n ).action(async (target: string, _options: Record<string, unknown>, command) => {\n await executeExtensionCommand(target, command.optsWithGlobals() as Record<string, unknown>, command, \"adopt\", vocabulary);\n });\n\n addLifecycleScopeOptions(\n lifecycleCommand.command(\"adopt-all\").description(`Adopt all unmanaged ${plural} into managed metadata.`),\n vocabulary,\n ).action(async (_options: Record<string, unknown>, command) => {\n await executeExtensionCommand(undefined, command.optsWithGlobals() as Record<string, unknown>, command, \"adopt-all\", vocabulary);\n });\n\n addLifecycleScopeOptions(\n lifecycleCommand.command(\"activate\").argument(\"<target>\", `${noun[0]!.toUpperCase()}${noun.slice(1)} name`).description(`Activate a ${noun} in selected scope settings.`),\n vocabulary,\n ).action(async (target: string, _options: Record<string, unknown>, command) => {\n await executeExtensionCommand(target, command.optsWithGlobals() as Record<string, unknown>, command, \"activate\", vocabulary);\n });\n\n addLifecycleScopeOptions(\n lifecycleCommand.command(\"deactivate\").argument(\"<target>\", `${noun[0]!.toUpperCase()}${noun.slice(1)} name`).description(`Deactivate a ${noun} in selected scope settings.`),\n vocabulary,\n ).action(async (target: string, _options: Record<string, unknown>, command) => {\n await executeExtensionCommand(target, command.optsWithGlobals() as Record<string, unknown>, command, \"deactivate\", vocabulary);\n });\n}\n\n/**\n * Implements register setup commands for the public runtime surface of this module.\n */\nexport function registerSetupCommands(program: Command): void {\n program\n .command(\"init\")\n .argument(\"[prefix-or-path]\", \"Optional id prefix, or path-like tracker target such as ./pm-sandbox\")\n .option(\"--preset <value>\", \"Governance preset for new setups: minimal|default|strict\")\n .option(\"--defaults\", \"Use non-interactive setup defaults without opening the wizard\")\n .option(\"-y, --yes\", \"Alias for --defaults (non-interactive setup)\")\n .option(\"--author <value>\", \"Set the default mutation author for this project\")\n .option(\"--agent-guidance <mode>\", \"Agent guidance mode: ask|add|skip|status\")\n .option(\"--type-preset <name>\", \"Register domain item types during init: agile|ops|research\")\n .option(\"--with-packages\", \"Install all bundled first-party packages during initialization\")\n .option(\"--force\", \"Allow initializing tracker files directly in a directory that looks like a workspace root\")\n .option(\"--verbose\", \"Include the full resolved settings tree in the output (default output is a concise summary)\")\n .description(\"Initialize pm storage and defaults for the current workspace or a path-like tracker target.\")\n .action(async (prefix: string | undefined, options: Record<string, unknown>, command) => {\n const globalOptions = getGlobalOptions(command);\n const startedAt = Date.now();\n const { runInit, summarizeInitResult } = await import(\"./commands/init.js\");\n const result = await runInit(\n prefix,\n globalOptions,\n {\n preset: typeof options.preset === \"string\" ? options.preset : undefined,\n defaults: options.defaults === true || options.yes === true,\n author: typeof options.author === \"string\" ? options.author : undefined,\n agentGuidance: typeof options.agentGuidance === \"string\" ? options.agentGuidance : undefined,\n typePreset: typeof options.typePreset === \"string\" ? options.typePreset : undefined,\n withPackages: options.withPackages === true,\n force: options.force === true,\n },\n );\n // Default (toon) output is a concise summary to minimize agent token cost.\n // --json consumers and --verbose both receive the full settings tree.\n const verbose = options.verbose === true;\n const emitFullTree = verbose || globalOptions.json === true;\n printResult(emitFullTree ? result : summarizeInitResult(result), globalOptions);\n if (globalOptions.profile) {\n printError(`profile:command=init took_ms=${Date.now() - startedAt}`);\n }\n });\n\n program\n .command(\"config\")\n .argument(\"[scope]\", \"Config scope: project|global, or action shorthand list|export|get|set for project scope\")\n .argument(\"[action]\", \"Config action: get|set|list|export\")\n .argument(\n \"[key]\",\n \"Config key for get|set: definition-of-done|item-format|history-missing-stream-policy|sprint-release-format-policy|parent-reference-policy|metadata-validation-profile|metadata-required-fields|lifecycle-stale-blocker-reason-patterns|lifecycle-closure-like-blocked-reason-patterns|lifecycle-closure-like-resolution-patterns|lifecycle-closure-like-actual-result-patterns|governance-preset|governance-ownership-enforcement|governance-create-mode-default|governance-close-validation-default|governance-require-close-reason|governance-parent-reference-policy|governance-metadata-validation-profile|governance-force-required-for-stale-lock|test-result-tracking|telemetry-tracking|context\",\n )\n .argument(\n \"[value]\",\n \"Optional value for set: routed to the right typed flag by key (e.g. config set telemetry-tracking off, config set item-format toon, config set definition-of-done \\\"Tests pass\\\"). Equivalent to --policy/--format/--criterion. context keys still require --default-depth/--section-* flags.\",\n )\n .option(\n \"--criterion <text>\",\n \"Criteria value for definition-of-done, metadata-required-fields, or lifecycle pattern keys (repeatable for set)\",\n collect,\n )\n .option(\"--clear-criteria\", \"Clear criteria-list keys for config set operations\")\n .option(\"--format <value>\", \"Item format for item-format key: toon\")\n .option(\n \"--policy <value>\",\n \"Policy key values: history-missing-stream-policy=auto_create|strict_error; sprint-release-format-policy=warn|strict_error; parent-reference-policy=warn|strict_error; governance-preset=minimal|default|strict|custom; governance-ownership-enforcement=none|warn|strict; governance-create-mode-default=progressive|strict; governance-close-validation-default=off|warn|strict; governance-require-close-reason=enabled|disabled; governance-parent-reference-policy=warn|strict_error; governance-metadata-validation-profile=core|strict|custom; governance-force-required-for-stale-lock=enabled|disabled; test-result-tracking=enabled|disabled; telemetry-tracking=enabled|disabled\",\n )\n .option(\n \"--value <value>\",\n \"Value for nested leaf settings keys (search_provider, search_mutation_refresh_policy, search_query_expansion_enabled, search_rerank_enabled, openai_base_url, ollama_model, vector_store_adapter, vector_store_collection_name, qdrant_url, lancedb_path, etc.). Equivalent to the positional value.\",\n )\n .option(\"--default-depth <value>\", \"Context default depth: brief|standard|deep\")\n .option(\"--activity-limit <n>\", \"Context default activity limit\")\n .option(\"--stale-threshold-days <n>\", \"Context staleness cutoff in days\")\n .option(\"--section-hierarchy <value>\", \"Enable/disable context hierarchy section (true|false)\")\n .option(\"--section-activity <value>\", \"Enable/disable context activity section (true|false)\")\n .option(\"--section-progress <value>\", \"Enable/disable context progress section (true|false)\")\n .option(\"--section-blockers <value>\", \"Enable/disable context blockers section (true|false)\")\n .option(\"--section-files <value>\", \"Enable/disable context files section (true|false)\")\n .option(\"--section-workload <value>\", \"Enable/disable context workload section (true|false)\")\n .option(\"--section-staleness <value>\", \"Enable/disable context staleness section (true|false)\")\n .option(\"--section-tests <value>\", \"Enable/disable context tests section (true|false)\")\n .description(\"Read or update pm settings for the current workspace or global profile.\")\n .action(async (scope: string | undefined, action: string | undefined, key: string | undefined, value: string | undefined, options: Record<string, unknown>, command) => {\n const globalOptions = getGlobalOptions(command);\n const startedAt = Date.now();\n const criteria = Array.isArray(options.criterion) ? (options.criterion as string[]) : [];\n const { runConfig } = await import(\"./commands/config.js\");\n const actionShorthands = new Set([\"get\", \"set\", \"list\", \"export\"]);\n const scopeShorthand = scope !== undefined && actionShorthands.has(scope);\n const resolvedScope = scopeShorthand ? \"project\" : (scope ?? \"project\");\n const resolvedAction = scopeShorthand ? scope : (action ?? \"list\");\n // When scope is an action shorthand, positionals shift left by one:\n // [set] [key] [value] -> action=set, key=key, value=value.\n const resolvedKey = scopeShorthand ? action : key;\n const resolvedValue = scopeShorthand ? key : value;\n const result = await runConfig(\n resolvedScope,\n resolvedAction,\n resolvedKey,\n {\n criterion: criteria,\n format: typeof options.format === \"string\" ? options.format : undefined,\n policy: typeof options.policy === \"string\" ? options.policy : undefined,\n value: typeof options.value === \"string\" ? options.value : undefined,\n clearCriteria: options.clearCriteria === true,\n defaultDepth: typeof options.defaultDepth === \"string\" ? options.defaultDepth : undefined,\n activityLimit: typeof options.activityLimit === \"string\" ? options.activityLimit : undefined,\n staleThresholdDays: typeof options.staleThresholdDays === \"string\" ? options.staleThresholdDays : undefined,\n sectionHierarchy: typeof options.sectionHierarchy === \"string\" ? options.sectionHierarchy : undefined,\n sectionActivity: typeof options.sectionActivity === \"string\" ? options.sectionActivity : undefined,\n sectionProgress: typeof options.sectionProgress === \"string\" ? options.sectionProgress : undefined,\n sectionBlockers: typeof options.sectionBlockers === \"string\" ? options.sectionBlockers : undefined,\n sectionFiles: typeof options.sectionFiles === \"string\" ? options.sectionFiles : undefined,\n sectionWorkload: typeof options.sectionWorkload === \"string\" ? options.sectionWorkload : undefined,\n sectionStaleness: typeof options.sectionStaleness === \"string\" ? options.sectionStaleness : undefined,\n sectionTests: typeof options.sectionTests === \"string\" ? options.sectionTests : undefined,\n },\n globalOptions,\n typeof resolvedValue === \"string\" ? resolvedValue : undefined,\n );\n printResult(result, globalOptions);\n if (globalOptions.profile) {\n printError(`profile:command=config took_ms=${Date.now() - startedAt}`);\n }\n });\n\n registerLifecycleCommand(program, \"extension\");\n registerLifecycleCommand(program, \"package\");\n\n addPackageScopeOptions(\n program\n .command(\"install\")\n .argument(\"[targets...]\", \"Package source (local path, bundled alias, npm: source, wildcard, or GitHub source)\")\n .option(\"--gh <github-source>\", \"Install from GitHub shorthand source (owner/repo[/path])\")\n .option(\"--github <github-source>\", \"Alias for --gh\")\n .option(\"--ref <ref>\", \"Git ref/branch/tag for GitHub install sources\")\n .description(\"Install a pm package into the project package scope by default.\"),\n ).action(async (targets: string[] | undefined, _options: Record<string, unknown>, command) => {\n const target = await normalizeInstallTargets(targets);\n await executeExtensionCommand(target, command.optsWithGlobals() as Record<string, unknown>, command, \"install\", \"package\");\n });\n\n addPackageScopeOptions(\n program\n .command(\"upgrade\")\n .argument(\"[target]\", \"Optional managed package name/source to upgrade; omit to upgrade pm CLI and all managed packages\")\n .option(\"--dry-run\", \"Plan CLI/package upgrades without running npm or reinstalling packages\")\n .option(\"--cli-only\", \"Upgrade only the pm CLI/SDK npm package\")\n .option(\"--packages-only\", \"Upgrade only managed pm packages\")\n .option(\"--repair\", \"Force npm global reinstall when upgrading the pm CLI/SDK\")\n .option(\"--tag <value>\", \"npm dist-tag/version for CLI and registry package upgrades\")\n .option(\"--package-name <value>\", \"Override the CLI package name for self-upgrade testing\")\n .description(\"Upgrade the pm CLI/SDK and refresh managed installable pm packages.\"),\n ).action(async (target: string | undefined, _options: Record<string, unknown>, command) => {\n const globalOptions = getGlobalOptions(command);\n const startedAt = Date.now();\n const { runUpgrade } = await import(\"./commands/upgrade.js\");\n const result = await runUpgrade(target, command.opts() as Record<string, unknown>, globalOptions);\n printResult(result, globalOptions);\n if (!result.ok) {\n process.exitCode = EXIT_CODE.GENERIC_FAILURE;\n }\n if (globalOptions.profile) {\n printError(`profile:command=upgrade took_ms=${Date.now() - startedAt}`);\n }\n });\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,OAAO,QAAQ;AA+Bf,SAAS,0BACP,SACA,cACA,aAAyC,aAAW;AAEpD,QAAM,iBAAiB,CAAC,WAA+C,iBAAiB;AACxF,QAAM,cAAc,IAAI,SAA4B,KAAK,KAAK,CAAC,QAAQ,QAAQ,GAAG,MAAM,IAAI;AAC5F,QAAM,aAAa,IAAI,SAAsC;AAC3D,eAAW,OAAO,MAAM;AACtB,UAAI,OAAO,QAAQ,GAAG,MAAM,UAAU;AACpC,eAAO,QAAQ,GAAG;MACpB;IACF;AACA,WAAO;EACT;AACA,SAAO;IACL,MAAM,eAAe,MAAM,KAAK,YAAY,MAAM;IAClD,UAAU,YAAY,UAAU;IAChC,SAAS,eAAe,SAAS,KAAK,YAAY,SAAS;IAC3D,WAAW,eAAe,WAAW,KAAK,YAAY,WAAW;IACjE,SAAS,eAAe,SAAS,KAAK,YAAY,WAAW,MAAM;IACnE,QAAQ,eAAe,QAAQ,KAAK,YAAY,QAAQ;IACxD,UAAU,eAAe,UAAU,KAAK,YAAY,UAAU;IAC9D,QAAQ,eAAe,QAAQ,KAAK,YAAY,QAAQ;IACxD,QAAQ,eAAe,QAAQ,KAAK,YAAY,QAAQ;IACxD,SAAS,eAAe,SAAS,KAAK,YAAY,SAAS;IAC3D,OAAO,eAAe,OAAO,KAAK,YAAY,OAAO;IACrD,UAAU,eAAe,WAAW,KAAK,YAAY,YAAY,aAAa,WAAW;IACzF,UAAU,eAAe,U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eAAe,+CAA+C,EACrE,YAAY,iEAAiE,CAAC,EACjF,OAAO,OAAO,SAA+B,UAAmC,YAAW;AAC3F,UAAM,SAAS,MAAM,wBAAwB,OAAO;AACpD,UAAM,wBAAwB,QAAQ,QAAQ,gBAAe,GAA+B,SAAS,WAAW,SAAS;EAC3H,CAAC;AAED,yBACE,QACG,QAAQ,SAAS,EACjB,SAAS,YAAY,kGAAkG,EACvH,OAAO,aAAa,wEAAwE,EAC5F,OAAO,cAAc,yCAAyC,EAC9D,OAAO,mBAAmB,kCAAkC,EAC5D,OAAO,YAAY,0DAA0D,EAC7E,OAAO,iBAAiB,4DAA4D,EACpF,OAAO,0BAA0B,wDAAwD,EACzF,YAAY,qEAAqE,CAAC,EACrF,OAAO,OAAO,QAA4B,UAAmC,YAAW;AACxF,UAAM,gBAAgB,iBAAiB,OAAO;AAC9C,UAAM,YAAY,KAAK,IAAG;AAC1B,UAAM,EAAE,WAAU,IAAK,MAAM,OAAO,uBAAuB;AAC3D,UAAM,SAAS,MAAM,WAAW,QAAQ,QAAQ,KAAI,GAA+B,aAAa;AAChG,gBAAY,QAAQ,aAAa;AACjC,QAAI,CAAC,OAAO,IAAI;AACd,cAAQ,WAAW,UAAU;IAC/B;AACA,QAAI,cAAc,SAAS;AACzB,iBAAW,mCAAmC,KAAK,IAAG,IAAK,SAAS,EAAE;IACxE;EACF,CAAC;AACH","debugId":"269b58b5-580f-5937-a240-9bd4b8bd6414"}
@@ -0,0 +1,19 @@
1
+ import {
2
+ _testOnlyRestoreCommand,
3
+ runRestore
4
+ } from "./chunk-7UGEAPRY.js";
5
+ import "./chunk-WW4E2DC3.js";
6
+ import "./chunk-BB6MDVNQ.js";
7
+ import "./chunk-UVC5LOR7.js";
8
+ import "./chunk-T5472OMV.js";
9
+ import "./chunk-IPKJ6B36.js";
10
+ import "./chunk-7MRQ4HMK.js";
11
+ import "./chunk-NCVCO3NZ.js";
12
+ import "./chunk-YJ3SUEPD.js";
13
+ import "./chunk-P77P2ILI.js";
14
+ import "./chunk-MJTSZKK5.js";
15
+ export {
16
+ _testOnlyRestoreCommand,
17
+ runRestore
18
+ };
19
+ //# sourceMappingURL=restore-2ZKT6UDC.js.map
@@ -3,21 +3,21 @@
3
3
  import {
4
4
  _testOnlyRestoreCommand,
5
5
  runRestore
6
- } from "./chunk-Y335KFHD.js";
6
+ } from "./chunk-LRKKONT2.js";
7
7
  import "./chunk-T5RRNDA7.js";
8
- import "./chunk-YJICYNAV.js";
9
- import "./chunk-YQSWTVZF.js";
10
- import "./chunk-EVPVCE4R.js";
11
- import "./chunk-GGAXE22C.js";
12
- import "./chunk-Y4BZEND6.js";
13
- import "./chunk-P7ZU73BO.js";
14
- import "./chunk-KK4TQ3ZP.js";
15
- import "./chunk-PCH2JTEO.js";
16
- import "./chunk-KL5ELX2X.js";
8
+ import "./chunk-AD3A7ZD6.js";
9
+ import "./chunk-WM5ZVBPE.js";
10
+ import "./chunk-WBRKK5QR.js";
11
+ import "./chunk-5UVVASSA.js";
12
+ import "./chunk-S2RUQSX2.js";
13
+ import "./chunk-VAYA4XFX.js";
14
+ import "./chunk-YDEXO24S.js";
15
+ import "./chunk-2T3JG6V4.js";
16
+ import "./chunk-UELRKQQU.js";
17
17
  export {
18
18
  _testOnlyRestoreCommand,
19
19
  runRestore
20
20
  };
21
- //# sourceMappingURL=restore-FNBV4GWE.js.map
21
+ //# sourceMappingURL=restore-6K53WOWO.js.map
22
22
 
23
23
  //# debugId=45eac7fa-f181-5cca-93b7-cfb58909dbb3
@@ -2,20 +2,20 @@
2
2
  !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b0405b47-9ba9-57b1-91cc-c5565c218c44")}catch(e){}}();
3
3
  import {
4
4
  runCreate
5
- } from "./chunk-44O4JIN6.js";
6
- import "./chunk-NIWY4V4Z.js";
7
- import "./chunk-K25UDYJ4.js";
8
- import "./chunk-DHBPJ7VG.js";
9
- import "./chunk-DU64SZUQ.js";
10
- import "./chunk-6FQHNHQQ.js";
11
- import "./chunk-CLLVBO3I.js";
5
+ } from "./chunk-ZRK4O56R.js";
6
+ import "./chunk-G6N5VEOK.js";
7
+ import "./chunk-ZQ3ZVXX2.js";
8
+ import "./chunk-2CKH2LMV.js";
9
+ import "./chunk-3VY3YQO6.js";
10
+ import "./chunk-T72AZDBA.js";
11
+ import "./chunk-NK3UPBVG.js";
12
12
  import "./chunk-P4SESZGT.js";
13
- import "./chunk-GGAXE22C.js";
14
- import "./chunk-Y4BZEND6.js";
15
- import "./chunk-P7ZU73BO.js";
16
- import "./chunk-KK4TQ3ZP.js";
17
- import "./chunk-PCH2JTEO.js";
18
- import "./chunk-KL5ELX2X.js";
13
+ import "./chunk-5UVVASSA.js";
14
+ import "./chunk-S2RUQSX2.js";
15
+ import "./chunk-VAYA4XFX.js";
16
+ import "./chunk-YDEXO24S.js";
17
+ import "./chunk-2T3JG6V4.js";
18
+ import "./chunk-UELRKQQU.js";
19
19
 
20
20
  // dist/cli/commands/scheduling-shortcuts.js
21
21
  var DEFAULT_DURATION = "1h";
@@ -83,6 +83,6 @@ export {
83
83
  runMeet,
84
84
  runRemind
85
85
  };
86
- //# sourceMappingURL=scheduling-shortcuts-JRIUREEU.js.map
86
+ //# sourceMappingURL=scheduling-shortcuts-NJ5UVJFB.js.map
87
87
 
88
88
  //# debugId=b0405b47-9ba9-57b1-91cc-c5565c218c44
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  runCreate
3
- } from "./chunk-V4SM4UAL.js";
4
- import "./chunk-NVUATMTC.js";
5
- import "./chunk-CWPBGUC7.js";
6
- import "./chunk-GU7YHKYP.js";
7
- import "./chunk-TZQKEBKF.js";
8
- import "./chunk-75VEYQJS.js";
9
- import "./chunk-A25LOPRG.js";
3
+ } from "./chunk-JR2LV3M4.js";
4
+ import "./chunk-SBQTAVJZ.js";
5
+ import "./chunk-FXR67XVQ.js";
6
+ import "./chunk-2A34E3BA.js";
7
+ import "./chunk-34EONI5F.js";
8
+ import "./chunk-XVF4YARA.js";
9
+ import "./chunk-O6LLO73I.js";
10
10
  import "./chunk-5HIZDR5A.js";
11
- import "./chunk-GNDHOR64.js";
12
- import "./chunk-AJXYOYJV.js";
13
- import "./chunk-CR7KFPAQ.js";
14
- import "./chunk-3VLPDG3J.js";
15
- import "./chunk-4JXWVHMN.js";
16
- import "./chunk-RZZMSY4P.js";
11
+ import "./chunk-IPKJ6B36.js";
12
+ import "./chunk-7MRQ4HMK.js";
13
+ import "./chunk-NCVCO3NZ.js";
14
+ import "./chunk-YJ3SUEPD.js";
15
+ import "./chunk-P77P2ILI.js";
16
+ import "./chunk-MJTSZKK5.js";
17
17
 
18
18
  // dist/cli/commands/scheduling-shortcuts.js
19
19
  !(function() {
@@ -88,4 +88,4 @@ export {
88
88
  runMeet,
89
89
  runRemind
90
90
  };
91
- //# sourceMappingURL=scheduling-shortcuts-ECL6GBMZ.js.map
91
+ //# sourceMappingURL=scheduling-shortcuts-OQVJXG3M.js.map
@@ -4,7 +4,7 @@ import {
4
4
  TYPE_PRESET_NAMES,
5
5
  normalizeTypePresetName,
6
6
  resolveTypePresetDefinitions
7
- } from "./chunk-WBSYW3NT.js";
7
+ } from "./chunk-S26C36QC.js";
8
8
  import {
9
9
  assertAliasesAvailable,
10
10
  assertTypeFolderAvailable,
@@ -16,20 +16,20 @@ import {
16
16
  removeItemType,
17
17
  serializeItemTypesFile,
18
18
  upsertItemType
19
- } from "./chunk-6FQHNHQQ.js";
19
+ } from "./chunk-T72AZDBA.js";
20
20
  import {
21
21
  acquireLock,
22
22
  listAllFrontMatterLight
23
- } from "./chunk-GGAXE22C.js";
24
- import "./chunk-Y4BZEND6.js";
25
- import "./chunk-P7ZU73BO.js";
23
+ } from "./chunk-5UVVASSA.js";
24
+ import "./chunk-S2RUQSX2.js";
25
+ import "./chunk-VAYA4XFX.js";
26
26
  import {
27
27
  resolveItemTypeRegistry,
28
28
  toDefaultFolder
29
- } from "./chunk-KK4TQ3ZP.js";
29
+ } from "./chunk-YDEXO24S.js";
30
30
  import {
31
31
  nowIso
32
- } from "./chunk-PCH2JTEO.js";
32
+ } from "./chunk-2T3JG6V4.js";
33
33
  import {
34
34
  DEFAULT_RUNTIME_SCHEMA_FILE_PATHS,
35
35
  DEFAULT_RUNTIME_STATUS_DEFINITIONS,
@@ -51,7 +51,7 @@ import {
51
51
  resolveRuntimeStatusRegistry,
52
52
  runActiveOnWriteHooks,
53
53
  writeFileAtomic
54
- } from "./chunk-KL5ELX2X.js";
54
+ } from "./chunk-UELRKQQU.js";
55
55
 
56
56
  // dist/cli/commands/schema.js
57
57
  import path from "node:path";
@@ -1631,6 +1631,6 @@ export {
1631
1631
  runSchemaShowField,
1632
1632
  runSchemaShowStatus
1633
1633
  };
1634
- //# sourceMappingURL=schema-TCW3I7QR.js.map
1634
+ //# sourceMappingURL=schema-MNTAVQCY.js.map
1635
1635
 
1636
1636
  //# debugId=f5df32b2-3a3e-5516-993f-e28cdedf0e24
@@ -2,7 +2,7 @@ import {
2
2
  TYPE_PRESET_NAMES,
3
3
  normalizeTypePresetName,
4
4
  resolveTypePresetDefinitions
5
- } from "./chunk-A7E4ZXG2.js";
5
+ } from "./chunk-SKH7OGE5.js";
6
6
  import {
7
7
  assertAliasesAvailable,
8
8
  assertTypeFolderAvailable,
@@ -14,20 +14,20 @@ import {
14
14
  removeItemType,
15
15
  serializeItemTypesFile,
16
16
  upsertItemType
17
- } from "./chunk-75VEYQJS.js";
17
+ } from "./chunk-XVF4YARA.js";
18
18
  import {
19
19
  acquireLock,
20
20
  listAllFrontMatterLight
21
- } from "./chunk-GNDHOR64.js";
22
- import "./chunk-AJXYOYJV.js";
23
- import "./chunk-CR7KFPAQ.js";
21
+ } from "./chunk-IPKJ6B36.js";
22
+ import "./chunk-7MRQ4HMK.js";
23
+ import "./chunk-NCVCO3NZ.js";
24
24
  import {
25
25
  resolveItemTypeRegistry,
26
26
  toDefaultFolder
27
- } from "./chunk-3VLPDG3J.js";
27
+ } from "./chunk-YJ3SUEPD.js";
28
28
  import {
29
29
  nowIso
30
- } from "./chunk-4JXWVHMN.js";
30
+ } from "./chunk-P77P2ILI.js";
31
31
  import {
32
32
  DEFAULT_RUNTIME_SCHEMA_FILE_PATHS,
33
33
  DEFAULT_RUNTIME_STATUS_DEFINITIONS,
@@ -49,7 +49,7 @@ import {
49
49
  resolveRuntimeStatusRegistry,
50
50
  runActiveOnWriteHooks,
51
51
  writeFileAtomic
52
- } from "./chunk-RZZMSY4P.js";
52
+ } from "./chunk-MJTSZKK5.js";
53
53
 
54
54
  // dist/cli/commands/schema.js
55
55
  import path from "node:path";
@@ -1657,4 +1657,4 @@ export {
1657
1657
  runSchemaShowField,
1658
1658
  runSchemaShowStatus
1659
1659
  };
1660
- //# sourceMappingURL=schema-74YENAJL.js.map
1660
+ //# sourceMappingURL=schema-RBTJ2YXW.js.map
@@ -9,19 +9,19 @@ import {
9
9
  resolveSearchScoreThreshold,
10
10
  resolveSearchTuning,
11
11
  runSearch
12
- } from "./chunk-77VKGH4L.js";
12
+ } from "./chunk-QH3PJYON.js";
13
13
  import "./chunk-ROGZTCCB.js";
14
- import "./chunk-TJABI6PR.js";
15
- import "./chunk-THKDPOS5.js";
14
+ import "./chunk-7K2XXO4I.js";
15
+ import "./chunk-7SV63ZHD.js";
16
16
  import "./chunk-QB7XMHJW.js";
17
- import "./chunk-VB54F347.js";
18
- import "./chunk-EVPVCE4R.js";
19
- import "./chunk-GGAXE22C.js";
20
- import "./chunk-Y4BZEND6.js";
21
- import "./chunk-P7ZU73BO.js";
22
- import "./chunk-KK4TQ3ZP.js";
23
- import "./chunk-PCH2JTEO.js";
24
- import "./chunk-KL5ELX2X.js";
17
+ import "./chunk-H4IIJDE4.js";
18
+ import "./chunk-WBRKK5QR.js";
19
+ import "./chunk-5UVVASSA.js";
20
+ import "./chunk-S2RUQSX2.js";
21
+ import "./chunk-VAYA4XFX.js";
22
+ import "./chunk-YDEXO24S.js";
23
+ import "./chunk-2T3JG6V4.js";
24
+ import "./chunk-UELRKQQU.js";
25
25
  export {
26
26
  _testOnlySearchCommand,
27
27
  classifyImplicitSemanticFallbackReason,
@@ -32,6 +32,6 @@ export {
32
32
  resolveSearchTuning,
33
33
  runSearch
34
34
  };
35
- //# sourceMappingURL=search-7USZ6XZA.js.map
35
+ //# sourceMappingURL=search-6HOIVZDU.js.map
36
36
 
37
37
  //# debugId=45eac7fa-f181-5cca-93b7-cfb58909dbb3