@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,109 @@
1
+ /**
2
+ * @module core/extensions/activation-summary
3
+ *
4
+ * Enumerates *what* an extension activation registered, by name, in one pass.
5
+ *
6
+ * {@link ./extension-types.js#ExtensionActivationResult | `ExtensionActivationResult`}
7
+ * already carries per-surface *counts* (`hook_counts`, `registration_counts`,
8
+ * the various `*_count` fields), but answering "what does this extension
9
+ * register?" otherwise means walking fifteen-plus sub-registries by hand
10
+ * (`registrations.commands`/`flags`/`item_types`/`item_fields`/`migrations`/
11
+ * `importers`/`exporters`/`search_providers`/`vector_store_adapters`,
12
+ * `commands.overrides`/`handlers`, the `parsers`/`preflight`/`services`/
13
+ * `renderers` override registries, and the five `hooks.*` arrays).
14
+ *
15
+ * {@link describeExtensionActivation} flattens all of them into one sorted,
16
+ * deterministic {@link ExtensionActivationSummary} of identifiers — the
17
+ * `describe` (enumerate-all) verb that complements the SDK's `assert*`
18
+ * (verify-one) and `run*` (invoke-one) testing helpers. It serves two callers:
19
+ *
20
+ * - **Agents** get a single token-efficient view of an activation instead of
21
+ * traversing every registry ("project management = context management").
22
+ * - **Package authors** can assert their *entire* registration surface in one
23
+ * `deepEqual` — a least-privilege "I register exactly these surfaces and
24
+ * nothing more" check, the positive counterpart to
25
+ * {@link ./capability-usage.js#reconcileExtensionCapabilityUsage}.
26
+ */
27
+ import type { ExtensionActivationResult, ExtensionCapability, ExtensionServiceName, OutputRendererFormat } from "./extension-types.js";
28
+ /**
29
+ * Flat, name-level enumeration of every surface an activation registered.
30
+ *
31
+ * Arrays are de-duplicated for deterministic equality. Most are locale-sorted;
32
+ * {@link ExtensionActivationSummary.hooks} is the exception — it is emitted in
33
+ * canonical lifecycle order to mirror `ExtensionActivationResult.hook_counts`,
34
+ * not alphabetically. The three command fields capture distinct dimensions and
35
+ * can overlap: a command
36
+ * registered via `api.registerCommand(definition)` appears in both
37
+ * {@link ExtensionActivationSummary.commands} (its declared definition) and
38
+ * {@link ExtensionActivationSummary.command_handlers} (its executable handler),
39
+ * whereas a built-in command replaced via `api.registerCommand(name, override)`
40
+ * appears only in {@link ExtensionActivationSummary.command_overrides}.
41
+ */
42
+ export interface ExtensionActivationSummary {
43
+ /** Known capabilities the registered surfaces exercise (sorted, de-duplicated). */
44
+ capabilities: ExtensionCapability[];
45
+ /** Full command paths declared via `registerCommand`'s definition form. */
46
+ commands: string[];
47
+ /** Built-in command paths replaced by an `registerCommand(name, override)` handler. */
48
+ command_overrides: string[];
49
+ /**
50
+ * Full command paths backed by an extension-provided handler. A superset of
51
+ * {@link ExtensionActivationSummary.commands} that also includes the
52
+ * `<name> import`/`<name> export` paths synthesized for importers/exporters.
53
+ */
54
+ command_handlers: string[];
55
+ /** Lifecycle hook kinds with at least one registered hook (canonical order). */
56
+ hooks: string[];
57
+ /** Command paths that received extension-registered flags. */
58
+ flag_commands: string[];
59
+ /** Custom item-type names registered via `registerItemTypes`. */
60
+ item_types: string[];
61
+ /** Custom front-matter field names registered via `registerItemFields`. */
62
+ item_fields: string[];
63
+ /** Schema migration ids registered via `registerMigration` (id-less migrations are omitted — they carry no identifier). */
64
+ migrations: string[];
65
+ /** Importer names registered via `registerImporter`. */
66
+ importers: string[];
67
+ /** Exporter names registered via `registerExporter`. */
68
+ exporters: string[];
69
+ /** Search-provider names registered via `registerSearchProvider`. */
70
+ search_providers: string[];
71
+ /** Vector-store adapter names registered via `registerVectorStoreAdapter`. */
72
+ vector_store_adapters: string[];
73
+ /** Command paths with a parser override registered via `registerParser`. */
74
+ parser_overrides: string[];
75
+ /** Built-in service names overridden via `registerService`. */
76
+ service_overrides: ExtensionServiceName[];
77
+ /** Output formats with a renderer override registered via `registerRenderer`. */
78
+ renderer_overrides: OutputRendererFormat[];
79
+ /**
80
+ * Count of registered preflight overrides. The surface carries no per-entry
81
+ * identifier, so this is a `number` rather than `string[]` — the only numeric
82
+ * field in the summary.
83
+ */
84
+ preflight_overrides: number;
85
+ }
86
+ /**
87
+ * Options for {@link describeExtensionActivation}.
88
+ */
89
+ export interface DescribeExtensionActivationOptions {
90
+ /**
91
+ * Restrict the summary to a single extension by name. Names are matched
92
+ * case-insensitively after trimming, mirroring
93
+ * {@link ./capability-usage.js#collectUsedExtensionCapabilities}. Omit to
94
+ * union across every extension in the activation result.
95
+ */
96
+ extensionName?: string;
97
+ }
98
+ /**
99
+ * Summarize, by name, every registration surface an activation exercised.
100
+ *
101
+ * Walks the same sub-registries the loader populates and the capability
102
+ * reconciler attributes, returning a flat {@link ExtensionActivationSummary}
103
+ * whose arrays are sorted and de-duplicated. With
104
+ * {@link DescribeExtensionActivationOptions.extensionName} only the matching
105
+ * extension's registrations contribute (across both layers); without it the
106
+ * summary unions every extension in the activation. Failed activations register
107
+ * nothing, so they contribute only an empty summary.
108
+ */
109
+ export declare function describeExtensionActivation(activation: ExtensionActivationResult, options?: DescribeExtensionActivationOptions): ExtensionActivationSummary;
@@ -0,0 +1,60 @@
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]="13c88992-4da1-549d-8644-3ac448f6960e")}catch(e){}}();
3
+ import { collectUsedExtensionCapabilities, normalizeExtensionName } from "./capability-usage.js";
4
+ /**
5
+ * Canonical lifecycle hook kinds paired with their {@link ExtensionHookRegistry}
6
+ * field, ordered to match `ExtensionActivationResult.hook_counts` so a summary's
7
+ * `hooks` list reads in the same stable order the runtime reports counts in.
8
+ */
9
+ const HOOK_REGISTRY_FIELD_TO_KIND = [
10
+ ["beforeCommand", "before_command"],
11
+ ["afterCommand", "after_command"],
12
+ ["onWrite", "on_write"],
13
+ ["onRead", "on_read"],
14
+ ["onIndex", "on_index"],
15
+ ];
16
+ /**
17
+ * Summarize, by name, every registration surface an activation exercised.
18
+ *
19
+ * Walks the same sub-registries the loader populates and the capability
20
+ * reconciler attributes, returning a flat {@link ExtensionActivationSummary}
21
+ * whose arrays are sorted and de-duplicated. With
22
+ * {@link DescribeExtensionActivationOptions.extensionName} only the matching
23
+ * extension's registrations contribute (across both layers); without it the
24
+ * summary unions every extension in the activation. Failed activations register
25
+ * nothing, so they contribute only an empty summary.
26
+ */
27
+ export function describeExtensionActivation(activation, options = {}) {
28
+ // Match both sides with the same normalizer collectUsedExtensionCapabilities
29
+ // uses for the `capabilities` field below, so a filtered summary's named
30
+ // surfaces and capabilities never disagree for a stored name with whitespace.
31
+ const filter = options.extensionName !== undefined ? normalizeExtensionName(options.extensionName) : null;
32
+ const matches = (name) => filter === null || normalizeExtensionName(name) === filter;
33
+ const collect = (entries, identify) => sortUnique(entries.filter((entry) => matches(entry.name)).map(identify));
34
+ const collectFlat = (entries, expand) => sortUnique(entries.filter((entry) => matches(entry.name)).flatMap(expand));
35
+ const { registrations, commands, parsers, preflight, services, renderers, hooks } = activation;
36
+ return {
37
+ capabilities: collectUsedExtensionCapabilities(activation, options),
38
+ commands: collect(registrations.commands, (entry) => entry.command),
39
+ command_overrides: collect(commands.overrides, (entry) => entry.command),
40
+ command_handlers: collect(commands.handlers, (entry) => entry.command),
41
+ hooks: HOOK_REGISTRY_FIELD_TO_KIND.filter(([field]) => hooks[field].some((entry) => matches(entry.name))).map(([, kind]) => kind),
42
+ flag_commands: collect(registrations.flags, (entry) => entry.target_command),
43
+ item_types: collectFlat(registrations.item_types, (entry) => entry.types.map((type) => type.name)),
44
+ item_fields: collectFlat(registrations.item_fields, (entry) => entry.fields.map((field) => field.name)),
45
+ migrations: collectFlat(registrations.migrations, (entry) => typeof entry.definition.id === "string" ? [entry.definition.id] : []),
46
+ importers: collect(registrations.importers, (entry) => entry.importer),
47
+ exporters: collect(registrations.exporters, (entry) => entry.exporter),
48
+ search_providers: collect(registrations.search_providers, (entry) => entry.definition.name),
49
+ vector_store_adapters: collect(registrations.vector_store_adapters, (entry) => entry.definition.name),
50
+ parser_overrides: collect(parsers.overrides, (entry) => entry.command),
51
+ service_overrides: collect(services.overrides, (entry) => entry.service),
52
+ renderer_overrides: collect(renderers.overrides, (entry) => entry.format),
53
+ preflight_overrides: preflight.overrides.filter((entry) => matches(entry.name)).length,
54
+ };
55
+ }
56
+ function sortUnique(values) {
57
+ return [...new Set(values)].sort((left, right) => left.localeCompare(right));
58
+ }
59
+ //# sourceMappingURL=activation-summary.js.map
60
+ //# debugId=13c88992-4da1-549d-8644-3ac448f6960e
@@ -0,0 +1 @@
1
+ {"version":3,"file":"activation-summary.js","sources":["core/extensions/activation-summary.ts"],"sourceRoot":"/","sourcesContent":["/**\n * @module core/extensions/activation-summary\n *\n * Enumerates *what* an extension activation registered, by name, in one pass.\n *\n * {@link ./extension-types.js#ExtensionActivationResult | `ExtensionActivationResult`}\n * already carries per-surface *counts* (`hook_counts`, `registration_counts`,\n * the various `*_count` fields), but answering \"what does this extension\n * register?\" otherwise means walking fifteen-plus sub-registries by hand\n * (`registrations.commands`/`flags`/`item_types`/`item_fields`/`migrations`/\n * `importers`/`exporters`/`search_providers`/`vector_store_adapters`,\n * `commands.overrides`/`handlers`, the `parsers`/`preflight`/`services`/\n * `renderers` override registries, and the five `hooks.*` arrays).\n *\n * {@link describeExtensionActivation} flattens all of them into one sorted,\n * deterministic {@link ExtensionActivationSummary} of identifiers — the\n * `describe` (enumerate-all) verb that complements the SDK's `assert*`\n * (verify-one) and `run*` (invoke-one) testing helpers. It serves two callers:\n *\n * - **Agents** get a single token-efficient view of an activation instead of\n * traversing every registry (\"project management = context management\").\n * - **Package authors** can assert their *entire* registration surface in one\n * `deepEqual` — a least-privilege \"I register exactly these surfaces and\n * nothing more\" check, the positive counterpart to\n * {@link ./capability-usage.js#reconcileExtensionCapabilityUsage}.\n */\nimport type {\n ExtensionActivationResult,\n ExtensionCapability,\n ExtensionHookRegistry,\n ExtensionServiceName,\n OutputRendererFormat,\n} from \"./extension-types.js\";\nimport { collectUsedExtensionCapabilities, normalizeExtensionName } from \"./capability-usage.js\";\n\n/**\n * Canonical lifecycle hook kinds paired with their {@link ExtensionHookRegistry}\n * field, ordered to match `ExtensionActivationResult.hook_counts` so a summary's\n * `hooks` list reads in the same stable order the runtime reports counts in.\n */\nconst HOOK_REGISTRY_FIELD_TO_KIND = [\n [\"beforeCommand\", \"before_command\"],\n [\"afterCommand\", \"after_command\"],\n [\"onWrite\", \"on_write\"],\n [\"onRead\", \"on_read\"],\n [\"onIndex\", \"on_index\"],\n] as const satisfies ReadonlyArray<readonly [keyof ExtensionHookRegistry, string]>;\n\n/**\n * Flat, name-level enumeration of every surface an activation registered.\n *\n * Arrays are de-duplicated for deterministic equality. Most are locale-sorted;\n * {@link ExtensionActivationSummary.hooks} is the exception — it is emitted in\n * canonical lifecycle order to mirror `ExtensionActivationResult.hook_counts`,\n * not alphabetically. The three command fields capture distinct dimensions and\n * can overlap: a command\n * registered via `api.registerCommand(definition)` appears in both\n * {@link ExtensionActivationSummary.commands} (its declared definition) and\n * {@link ExtensionActivationSummary.command_handlers} (its executable handler),\n * whereas a built-in command replaced via `api.registerCommand(name, override)`\n * appears only in {@link ExtensionActivationSummary.command_overrides}.\n */\nexport interface ExtensionActivationSummary {\n /** Known capabilities the registered surfaces exercise (sorted, de-duplicated). */\n capabilities: ExtensionCapability[];\n /** Full command paths declared via `registerCommand`'s definition form. */\n commands: string[];\n /** Built-in command paths replaced by an `registerCommand(name, override)` handler. */\n command_overrides: string[];\n /**\n * Full command paths backed by an extension-provided handler. A superset of\n * {@link ExtensionActivationSummary.commands} that also includes the\n * `<name> import`/`<name> export` paths synthesized for importers/exporters.\n */\n command_handlers: string[];\n /** Lifecycle hook kinds with at least one registered hook (canonical order). */\n hooks: string[];\n /** Command paths that received extension-registered flags. */\n flag_commands: string[];\n /** Custom item-type names registered via `registerItemTypes`. */\n item_types: string[];\n /** Custom front-matter field names registered via `registerItemFields`. */\n item_fields: string[];\n /** Schema migration ids registered via `registerMigration` (id-less migrations are omitted — they carry no identifier). */\n migrations: string[];\n /** Importer names registered via `registerImporter`. */\n importers: string[];\n /** Exporter names registered via `registerExporter`. */\n exporters: string[];\n /** Search-provider names registered via `registerSearchProvider`. */\n search_providers: string[];\n /** Vector-store adapter names registered via `registerVectorStoreAdapter`. */\n vector_store_adapters: string[];\n /** Command paths with a parser override registered via `registerParser`. */\n parser_overrides: string[];\n /** Built-in service names overridden via `registerService`. */\n service_overrides: ExtensionServiceName[];\n /** Output formats with a renderer override registered via `registerRenderer`. */\n renderer_overrides: OutputRendererFormat[];\n /**\n * Count of registered preflight overrides. The surface carries no per-entry\n * identifier, so this is a `number` rather than `string[]` — the only numeric\n * field in the summary.\n */\n preflight_overrides: number;\n}\n\n/**\n * Options for {@link describeExtensionActivation}.\n */\nexport interface DescribeExtensionActivationOptions {\n /**\n * Restrict the summary to a single extension by name. Names are matched\n * case-insensitively after trimming, mirroring\n * {@link ./capability-usage.js#collectUsedExtensionCapabilities}. Omit to\n * union across every extension in the activation result.\n */\n extensionName?: string;\n}\n\n/**\n * Summarize, by name, every registration surface an activation exercised.\n *\n * Walks the same sub-registries the loader populates and the capability\n * reconciler attributes, returning a flat {@link ExtensionActivationSummary}\n * whose arrays are sorted and de-duplicated. With\n * {@link DescribeExtensionActivationOptions.extensionName} only the matching\n * extension's registrations contribute (across both layers); without it the\n * summary unions every extension in the activation. Failed activations register\n * nothing, so they contribute only an empty summary.\n */\nexport function describeExtensionActivation(\n activation: ExtensionActivationResult,\n options: DescribeExtensionActivationOptions = {},\n): ExtensionActivationSummary {\n // Match both sides with the same normalizer collectUsedExtensionCapabilities\n // uses for the `capabilities` field below, so a filtered summary's named\n // surfaces and capabilities never disagree for a stored name with whitespace.\n const filter = options.extensionName !== undefined ? normalizeExtensionName(options.extensionName) : null;\n const matches = (name: string): boolean => filter === null || normalizeExtensionName(name) === filter;\n const collect = <TEntry extends { name: string }, TValue extends string>(\n entries: readonly TEntry[],\n identify: (entry: TEntry) => TValue,\n ): TValue[] => sortUnique(entries.filter((entry) => matches(entry.name)).map(identify));\n const collectFlat = <TEntry extends { name: string }>(\n entries: readonly TEntry[],\n expand: (entry: TEntry) => readonly string[],\n ): string[] => sortUnique(entries.filter((entry) => matches(entry.name)).flatMap(expand));\n const { registrations, commands, parsers, preflight, services, renderers, hooks } = activation;\n return {\n capabilities: collectUsedExtensionCapabilities(activation, options),\n commands: collect(registrations.commands, (entry) => entry.command),\n command_overrides: collect(commands.overrides, (entry) => entry.command),\n command_handlers: collect(commands.handlers, (entry) => entry.command),\n hooks: HOOK_REGISTRY_FIELD_TO_KIND.filter(([field]) => hooks[field].some((entry) => matches(entry.name))).map(\n ([, kind]) => kind,\n ),\n flag_commands: collect(registrations.flags, (entry) => entry.target_command),\n item_types: collectFlat(registrations.item_types, (entry) => entry.types.map((type) => type.name)),\n item_fields: collectFlat(registrations.item_fields, (entry) => entry.fields.map((field) => field.name)),\n migrations: collectFlat(registrations.migrations, (entry) =>\n typeof entry.definition.id === \"string\" ? [entry.definition.id] : [],\n ),\n importers: collect(registrations.importers, (entry) => entry.importer),\n exporters: collect(registrations.exporters, (entry) => entry.exporter),\n search_providers: collect(registrations.search_providers, (entry) => entry.definition.name),\n vector_store_adapters: collect(registrations.vector_store_adapters, (entry) => entry.definition.name),\n parser_overrides: collect(parsers.overrides, (entry) => entry.command),\n service_overrides: collect(services.overrides, (entry) => entry.service),\n renderer_overrides: collect(renderers.overrides, (entry) => entry.format),\n preflight_overrides: preflight.overrides.filter((entry) => matches(entry.name)).length,\n };\n}\n\nfunction sortUnique<TValue extends string>(values: readonly TValue[]): TValue[] {\n return [...new Set(values)].sort((left, right) => left.localeCompare(right));\n}\n"],"names":[],"mappings":";;AAiCA,OAAO,EAAE,gCAAgC,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAEjG;;;;GAIG;AACH,MAAM,2BAA2B,GAAG;IAClC,CAAC,eAAe,EAAE,gBAAgB,CAAC;IACnC,CAAC,cAAc,EAAE,eAAe,CAAC;IACjC,CAAC,SAAS,EAAE,UAAU,CAAC;IACvB,CAAC,QAAQ,EAAE,SAAS,CAAC;IACrB,CAAC,SAAS,EAAE,UAAU,CAAC;CACyD,CAAC;AA0EnF;;;;;;;;;;GAUG;AACH,MAAM,UAAU,2BAA2B,CACzC,UAAqC,EACrC,UAA8C,EAAE;IAEhD,6EAA6E;IAC7E,yEAAyE;IACzE,8EAA8E;IAC9E,MAAM,MAAM,GAAG,OAAO,CAAC,aAAa,KAAK,SAAS,CAAC,CAAC,CAAC,sBAAsB,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAC1G,MAAM,OAAO,GAAG,CAAC,IAAY,EAAW,EAAE,CAAC,MAAM,KAAK,IAAI,IAAI,sBAAsB,CAAC,IAAI,CAAC,KAAK,MAAM,CAAC;IACtG,MAAM,OAAO,GAAG,CACd,OAA0B,EAC1B,QAAmC,EACzB,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC;IACxF,MAAM,WAAW,GAAG,CAClB,OAA0B,EAC1B,MAA4C,EAClC,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,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CAAC,CAAC,CAAC,MAAM;KACvF,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAwB,MAAyB;IAClE,OAAO,CAAC,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC;AAC/E,CAAC","debugId":"13c88992-4da1-549d-8644-3ac448f6960e"}
@@ -59,6 +59,16 @@ export interface CollectUsedExtensionCapabilitiesOptions {
59
59
  */
60
60
  extensionName?: string;
61
61
  }
62
+ /**
63
+ * Canonical extension-name normalization (trim + lowercase) used to match an
64
+ * `extensionName` filter against a registration's stored `name`.
65
+ *
66
+ * Activation stores `extension.name` verbatim — the synthetic test-activation
67
+ * path (`activateExtensionForTest`) never trims it — so any helper that filters
68
+ * by extension name must normalize both sides with this function to stay
69
+ * consistent, including {@link ../extensions/activation-summary.js#describeExtensionActivation}.
70
+ */
71
+ export declare function normalizeExtensionName(name: string): string;
62
72
  /**
63
73
  * Collect the known capabilities exercised across an activation result.
64
74
  *
@@ -1,5 +1,5 @@
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]="b74f7cd3-95ed-5473-a724-d3afb634a68b")}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]="f6134b79-a7d0-57d9-b25a-8e3e7b4af416")}catch(e){}}();
3
3
  import { normalizeKnownExtensionCapability } from "./extension-capability-aliases.js";
4
4
  /**
5
5
  * Canonical map from each known extension capability to the human-readable
@@ -31,7 +31,16 @@ function usageKey(layer, name) {
31
31
  function usageKeyName(key) {
32
32
  return key.slice(key.indexOf(USAGE_KEY_SEPARATOR) + 1);
33
33
  }
34
- function normalizeExtensionName(name) {
34
+ /**
35
+ * Canonical extension-name normalization (trim + lowercase) used to match an
36
+ * `extensionName` filter against a registration's stored `name`.
37
+ *
38
+ * Activation stores `extension.name` verbatim — the synthetic test-activation
39
+ * path (`activateExtensionForTest`) never trims it — so any helper that filters
40
+ * by extension name must normalize both sides with this function to stay
41
+ * consistent, including {@link ../extensions/activation-summary.js#describeExtensionActivation}.
42
+ */
43
+ export function normalizeExtensionName(name) {
35
44
  return name.trim().toLowerCase();
36
45
  }
37
46
  function normalizeDeclaredCapabilities(capabilities) {
@@ -130,4 +139,4 @@ export function reconcileExtensionCapabilityUsage(loaded, activation) {
130
139
  return reconciliations;
131
140
  }
132
141
  //# sourceMappingURL=capability-usage.js.map
133
- //# debugId=b74f7cd3-95ed-5473-a724-d3afb634a68b
142
+ //# debugId=f6134b79-a7d0-57d9-b25a-8e3e7b4af416
@@ -1 +1 @@
1
- {"version":3,"file":"capability-usage.js","sources":["core/extensions/capability-usage.ts"],"sourceRoot":"/","sourcesContent":["/**\n * @module core/extensions/capability-usage\n *\n * Reconciles the capabilities an extension manifest *declares* against the\n * capabilities it actually *exercises* during activation.\n *\n * The loader already enforces the opposite direction — registering a surface\n * whose capability is absent from `manifest.capabilities` throws an\n * `extension_capability_missing` activation failure. This module closes the\n * least-privilege loop by detecting capabilities a manifest declares but never\n * registers against, so package authors can trim manifests to the minimum\n * grant. Every declared-but-unused capability is an over-broad permission a\n * reviewer would otherwise have to catch by hand.\n */\nimport type { ExtensionActivationResult, ExtensionCapability, ExtensionLayer } from \"./extension-types.js\";\nimport { normalizeKnownExtensionCapability } from \"./extension-capability-aliases.js\";\n\n/**\n * Canonical map from each known extension capability to the human-readable\n * registration surfaces that exercise it.\n *\n * The `satisfies Record<ExtensionCapability, ...>` guard makes this exhaustive\n * at compile time: adding a capability to `KNOWN_EXTENSION_CAPABILITIES`\n * without giving it a registration surface here fails the build, which prevents\n * a capability that has *no* surface from being perpetually flagged as unused.\n */\nexport const EXTENSION_CAPABILITY_REGISTRATION_SURFACES = {\n commands: [\"registerCommand\", \"command override\", \"command handler\"],\n renderers: [\"registerRenderer\"],\n hooks: [\"hooks.beforeCommand\", \"hooks.afterCommand\", \"hooks.onWrite\", \"hooks.onRead\", \"hooks.onIndex\"],\n schema: [\"registerFlags\", \"registerItemFields\", \"registerItemTypes\", \"registerMigration\"],\n importers: [\"registerImporter\", \"registerExporter\"],\n search: [\"registerSearchProvider\", \"registerVectorStoreAdapter\"],\n parser: [\"registerParser\"],\n preflight: [\"registerPreflight\"],\n services: [\"registerService\"],\n} as const satisfies Record<ExtensionCapability, readonly string[]>;\n\n/**\n * Per-extension reconciliation of declared versus exercised capabilities.\n */\nexport interface ExtensionCapabilityUsageReconciliation {\n /** Layer the extension was loaded from (`global` or `project`). */\n layer: ExtensionLayer;\n /** Extension name as it appears in the manifest. */\n name: string;\n /** Known capabilities declared in the manifest, sorted and de-duplicated. */\n declared: ExtensionCapability[];\n /** Known capabilities the extension actually registered against, sorted. */\n used: ExtensionCapability[];\n /** Declared capabilities with no matching registration (least-privilege gap). */\n unused: ExtensionCapability[];\n}\n\n/**\n * Options for {@link collectUsedExtensionCapabilities}.\n */\nexport interface CollectUsedExtensionCapabilitiesOptions {\n /**\n * Restrict the result to a single extension by name. Names are matched\n * case-insensitively after trimming. Omit to union across every extension in\n * the activation result.\n */\n extensionName?: string;\n}\n\n// `layer` is a closed enum (`\"global\" | \"project\"`) that never contains a\n// colon, so the first colon always separates the layer from the (possibly\n// colon-bearing) name — making the key collision-proof without serialization.\nconst USAGE_KEY_SEPARATOR = \":\";\n\nfunction usageKey(layer: ExtensionLayer, name: string): string {\n return `${layer}${USAGE_KEY_SEPARATOR}${normalizeExtensionName(name)}`;\n}\n\nfunction usageKeyName(key: string): string {\n return key.slice(key.indexOf(USAGE_KEY_SEPARATOR) + 1);\n}\n\nfunction normalizeExtensionName(name: string): string {\n return name.trim().toLowerCase();\n}\n\nfunction normalizeDeclaredCapabilities(capabilities: readonly string[] | undefined): ExtensionCapability[] {\n if (!Array.isArray(capabilities)) {\n return [];\n }\n const known = new Set<ExtensionCapability>();\n for (const capability of capabilities) {\n // Unknown capabilities are reported by the separate unknown-capability\n // diagnostic; reconciling them here would double-report a typo as \"unused\".\n const normalized = normalizeKnownExtensionCapability(capability);\n if (normalized !== null) {\n known.add(normalized);\n }\n }\n return [...known].sort((left, right) => left.localeCompare(right));\n}\n\nfunction attributeCapabilityUsage(activation: ExtensionActivationResult): Map<string, Set<ExtensionCapability>> {\n const usage = new Map<string, Set<ExtensionCapability>>();\n const record = (\n entries: ReadonlyArray<{ layer: ExtensionLayer; name: string }>,\n capability: ExtensionCapability,\n ): void => {\n for (const entry of entries) {\n const key = usageKey(entry.layer, entry.name);\n let exercised = usage.get(key);\n if (exercised === undefined) {\n exercised = new Set<ExtensionCapability>();\n usage.set(key, exercised);\n }\n exercised.add(capability);\n }\n };\n const { registrations, commands, parsers, preflight, services, renderers, hooks } = activation;\n record(registrations.commands, \"commands\");\n record(commands.overrides, \"commands\");\n record(commands.handlers, \"commands\");\n record(registrations.flags, \"schema\");\n record(registrations.item_fields, \"schema\");\n record(registrations.item_types, \"schema\");\n record(registrations.migrations, \"schema\");\n record(registrations.importers, \"importers\");\n record(registrations.exporters, \"importers\");\n record(registrations.search_providers, \"search\");\n record(registrations.vector_store_adapters, \"search\");\n record(parsers.overrides, \"parser\");\n record(preflight.overrides, \"preflight\");\n record(services.overrides, \"services\");\n record(renderers.overrides, \"renderers\");\n record(hooks.beforeCommand, \"hooks\");\n record(hooks.afterCommand, \"hooks\");\n record(hooks.onWrite, \"hooks\");\n record(hooks.onRead, \"hooks\");\n record(hooks.onIndex, \"hooks\");\n return usage;\n}\n\n/**\n * Collect the known capabilities exercised across an activation result.\n *\n * Without {@link CollectUsedExtensionCapabilitiesOptions.extensionName} the\n * result unions every extension in the activation; with it, only the matching\n * extension's registrations contribute (across both layers).\n */\nexport function collectUsedExtensionCapabilities(\n activation: ExtensionActivationResult,\n options: CollectUsedExtensionCapabilitiesOptions = {},\n): ExtensionCapability[] {\n const usage = attributeCapabilityUsage(activation);\n const filter = options.extensionName !== undefined ? normalizeExtensionName(options.extensionName) : null;\n const used = new Set<ExtensionCapability>();\n for (const [key, capabilities] of usage) {\n if (filter !== null && usageKeyName(key) !== filter) {\n continue;\n }\n for (const capability of capabilities) {\n used.add(capability);\n }\n }\n return [...used].sort((left, right) => left.localeCompare(right));\n}\n\n/**\n * Reconcile each loaded extension's declared capabilities against what it\n * exercised during activation.\n *\n * Extensions with no known declared capabilities are skipped — there is nothing\n * to reconcile. The returned entries preserve every reconcilable extension even\n * when `unused` is empty so callers can report fully-minimal manifests too.\n */\nexport function reconcileExtensionCapabilityUsage(\n loaded: ReadonlyArray<{ layer: ExtensionLayer; name: string; capabilities?: readonly string[] }>,\n activation: ExtensionActivationResult,\n): ExtensionCapabilityUsageReconciliation[] {\n const usage = attributeCapabilityUsage(activation);\n const reconciliations: ExtensionCapabilityUsageReconciliation[] = [];\n for (const extension of loaded) {\n const declared = normalizeDeclaredCapabilities(extension.capabilities);\n if (declared.length === 0) {\n continue;\n }\n const exercised = usage.get(usageKey(extension.layer, extension.name)) ?? new Set<ExtensionCapability>();\n const used = [...exercised].sort((left, right) => left.localeCompare(right));\n const unused = declared.filter((capability) => !exercised.has(capability));\n reconciliations.push({ layer: extension.layer, name: extension.name, declared, used, unused });\n }\n return reconciliations;\n}\n"],"names":[],"mappings":";;AAeA,OAAO,EAAE,iCAAiC,EAAE,MAAM,mCAAmC,CAAC;AAEtF;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAG;IACxD,QAAQ,EAAE,CAAC,iBAAiB,EAAE,kBAAkB,EAAE,iBAAiB,CAAC;IACpE,SAAS,EAAE,CAAC,kBAAkB,CAAC;IAC/B,KAAK,EAAE,CAAC,qB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,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC;QAC3E,eAAe,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC;IACjG,CAAC;IACD,OAAO,eAAe,CAAC;AACzB,CAAC","debugId":"b74f7cd3-95ed-5473-a724-d3afb634a68b"}
1
+ {"version":3,"file":"capability-usage.js","sources":["core/extensions/capability-usage.ts"],"sourceRoot":"/","sourcesContent":["/**\n * @module core/extensions/capability-usage\n *\n * Reconciles the capabilities an extension manifest *declares* against the\n * capabilities it actually *exercises* during activation.\n *\n * The loader already enforces the opposite direction — registering a surface\n * whose capability is absent from `manifest.capabilities` throws an\n * `extension_capability_missing` activation failure. This module closes the\n * least-privilege loop by detecting capabilities a manifest declares but never\n * registers against, so package authors can trim manifests to the minimum\n * grant. Every declared-but-unused capability is an over-broad permission a\n * reviewer would otherwise have to catch by hand.\n */\nimport type { ExtensionActivationResult, ExtensionCapability, ExtensionLayer } from \"./extension-types.js\";\nimport { normalizeKnownExtensionCapability } from \"./extension-capability-aliases.js\";\n\n/**\n * Canonical map from each known extension capability to the human-readable\n * registration surfaces that exercise it.\n *\n * The `satisfies Record<ExtensionCapability, ...>` guard makes this exhaustive\n * at compile time: adding a capability to `KNOWN_EXTENSION_CAPABILITIES`\n * without giving it a registration surface here fails the build, which prevents\n * a capability that has *no* surface from being perpetually flagged as unused.\n */\nexport const EXTENSION_CAPABILITY_REGISTRATION_SURFACES = {\n commands: [\"registerCommand\", \"command override\", \"command handler\"],\n renderers: [\"registerRenderer\"],\n hooks: [\"hooks.beforeCommand\", \"hooks.afterCommand\", \"hooks.onWrite\", \"hooks.onRead\", \"hooks.onIndex\"],\n schema: [\"registerFlags\", \"registerItemFields\", \"registerItemTypes\", \"registerMigration\"],\n importers: [\"registerImporter\", \"registerExporter\"],\n search: [\"registerSearchProvider\", \"registerVectorStoreAdapter\"],\n parser: [\"registerParser\"],\n preflight: [\"registerPreflight\"],\n services: [\"registerService\"],\n} as const satisfies Record<ExtensionCapability, readonly string[]>;\n\n/**\n * Per-extension reconciliation of declared versus exercised capabilities.\n */\nexport interface ExtensionCapabilityUsageReconciliation {\n /** Layer the extension was loaded from (`global` or `project`). */\n layer: ExtensionLayer;\n /** Extension name as it appears in the manifest. */\n name: string;\n /** Known capabilities declared in the manifest, sorted and de-duplicated. */\n declared: ExtensionCapability[];\n /** Known capabilities the extension actually registered against, sorted. */\n used: ExtensionCapability[];\n /** Declared capabilities with no matching registration (least-privilege gap). */\n unused: ExtensionCapability[];\n}\n\n/**\n * Options for {@link collectUsedExtensionCapabilities}.\n */\nexport interface CollectUsedExtensionCapabilitiesOptions {\n /**\n * Restrict the result to a single extension by name. Names are matched\n * case-insensitively after trimming. Omit to union across every extension in\n * the activation result.\n */\n extensionName?: string;\n}\n\n// `layer` is a closed enum (`\"global\" | \"project\"`) that never contains a\n// colon, so the first colon always separates the layer from the (possibly\n// colon-bearing) name — making the key collision-proof without serialization.\nconst USAGE_KEY_SEPARATOR = \":\";\n\nfunction usageKey(layer: ExtensionLayer, name: string): string {\n return `${layer}${USAGE_KEY_SEPARATOR}${normalizeExtensionName(name)}`;\n}\n\nfunction usageKeyName(key: string): string {\n return key.slice(key.indexOf(USAGE_KEY_SEPARATOR) + 1);\n}\n\n/**\n * Canonical extension-name normalization (trim + lowercase) used to match an\n * `extensionName` filter against a registration's stored `name`.\n *\n * Activation stores `extension.name` verbatim — the synthetic test-activation\n * path (`activateExtensionForTest`) never trims it — so any helper that filters\n * by extension name must normalize both sides with this function to stay\n * consistent, including {@link ../extensions/activation-summary.js#describeExtensionActivation}.\n */\nexport function normalizeExtensionName(name: string): string {\n return name.trim().toLowerCase();\n}\n\nfunction normalizeDeclaredCapabilities(capabilities: readonly string[] | undefined): ExtensionCapability[] {\n if (!Array.isArray(capabilities)) {\n return [];\n }\n const known = new Set<ExtensionCapability>();\n for (const capability of capabilities) {\n // Unknown capabilities are reported by the separate unknown-capability\n // diagnostic; reconciling them here would double-report a typo as \"unused\".\n const normalized = normalizeKnownExtensionCapability(capability);\n if (normalized !== null) {\n known.add(normalized);\n }\n }\n return [...known].sort((left, right) => left.localeCompare(right));\n}\n\nfunction attributeCapabilityUsage(activation: ExtensionActivationResult): Map<string, Set<ExtensionCapability>> {\n const usage = new Map<string, Set<ExtensionCapability>>();\n const record = (\n entries: ReadonlyArray<{ layer: ExtensionLayer; name: string }>,\n capability: ExtensionCapability,\n ): void => {\n for (const entry of entries) {\n const key = usageKey(entry.layer, entry.name);\n let exercised = usage.get(key);\n if (exercised === undefined) {\n exercised = new Set<ExtensionCapability>();\n usage.set(key, exercised);\n }\n exercised.add(capability);\n }\n };\n const { registrations, commands, parsers, preflight, services, renderers, hooks } = activation;\n record(registrations.commands, \"commands\");\n record(commands.overrides, \"commands\");\n record(commands.handlers, \"commands\");\n record(registrations.flags, \"schema\");\n record(registrations.item_fields, \"schema\");\n record(registrations.item_types, \"schema\");\n record(registrations.migrations, \"schema\");\n record(registrations.importers, \"importers\");\n record(registrations.exporters, \"importers\");\n record(registrations.search_providers, \"search\");\n record(registrations.vector_store_adapters, \"search\");\n record(parsers.overrides, \"parser\");\n record(preflight.overrides, \"preflight\");\n record(services.overrides, \"services\");\n record(renderers.overrides, \"renderers\");\n record(hooks.beforeCommand, \"hooks\");\n record(hooks.afterCommand, \"hooks\");\n record(hooks.onWrite, \"hooks\");\n record(hooks.onRead, \"hooks\");\n record(hooks.onIndex, \"hooks\");\n return usage;\n}\n\n/**\n * Collect the known capabilities exercised across an activation result.\n *\n * Without {@link CollectUsedExtensionCapabilitiesOptions.extensionName} the\n * result unions every extension in the activation; with it, only the matching\n * extension's registrations contribute (across both layers).\n */\nexport function collectUsedExtensionCapabilities(\n activation: ExtensionActivationResult,\n options: CollectUsedExtensionCapabilitiesOptions = {},\n): ExtensionCapability[] {\n const usage = attributeCapabilityUsage(activation);\n const filter = options.extensionName !== undefined ? normalizeExtensionName(options.extensionName) : null;\n const used = new Set<ExtensionCapability>();\n for (const [key, capabilities] of usage) {\n if (filter !== null && usageKeyName(key) !== filter) {\n continue;\n }\n for (const capability of capabilities) {\n used.add(capability);\n }\n }\n return [...used].sort((left, right) => left.localeCompare(right));\n}\n\n/**\n * Reconcile each loaded extension's declared capabilities against what it\n * exercised during activation.\n *\n * Extensions with no known declared capabilities are skipped — there is nothing\n * to reconcile. The returned entries preserve every reconcilable extension even\n * when `unused` is empty so callers can report fully-minimal manifests too.\n */\nexport function reconcileExtensionCapabilityUsage(\n loaded: ReadonlyArray<{ layer: ExtensionLayer; name: string; capabilities?: readonly string[] }>,\n activation: ExtensionActivationResult,\n): ExtensionCapabilityUsageReconciliation[] {\n const usage = attributeCapabilityUsage(activation);\n const reconciliations: ExtensionCapabilityUsageReconciliation[] = [];\n for (const extension of loaded) {\n const declared = normalizeDeclaredCapabilities(extension.capabilities);\n if (declared.length === 0) {\n continue;\n }\n const exercised = usage.get(usageKey(extension.layer, extension.name)) ?? new Set<ExtensionCapability>();\n const used = [...exercised].sort((left, right) => left.localeCompare(right));\n const unused = declared.filter((capability) => !exercised.has(capability));\n reconciliations.push({ layer: extension.layer, name: extension.name, declared, used, unused });\n }\n return reconciliations;\n}\n"],"names":[],"mappings":";;AAeA,OAAO,EAAE,iCAAiC,EAAE,MAAM,mCAAmC,CAAC;AAEtF;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAG;IACxD,QAAQ,EAAE,CAAC,iBAAiB,EAAE,kBAAkB,EAAE,iBAAiB,CAAC;IACpE,SAAS,EAAE,CAAC,kBAAkB,CAAC;IAC/B,KAAK,EAAE,CAAC,qBAAqB,EAAE,oBAAoB,EAAE,eAAe,EAAE,cAAc,EAAE,eAAe,CAAC;IACtG,MAAM,EAAE,CAAC,eAAe,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,m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EAAE,KAAK,EAAE,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC;IACjG,CAAC;IACD,OAAO,eAAe,CAAC;AACzB,CAAC","debugId":"f6134b79-a7d0-57d9-b25a-8e3e7b4af416"}
@@ -4,7 +4,7 @@
4
4
  * Captures consent-aware telemetry and observability events for Runtime.
5
5
  */
6
6
 
7
- !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]="c9bc7128-34dd-52d4-beeb-f22d46b1053d")}catch(e){}}();
7
+ !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]="dbba82ab-8052-5828-babf-094b3f066810")}catch(e){}}();
8
8
  import crypto from "node:crypto";
9
9
  import { spawn } from "node:child_process";
10
10
  import { mkdirSync, rmSync, statSync } from "node:fs";
@@ -1538,6 +1538,9 @@ function scheduleTelemetryFlush(globalPmRoot, endpoint, retentionDays) {
1538
1538
  const child = spawn(process.execPath, [telemetryFlushRunnerPath()], {
1539
1539
  detached: true,
1540
1540
  stdio: "ignore",
1541
+ // Detached workers inherit cwd by default. On Windows that can keep a
1542
+ // disposable project directory locked after the foreground command exits.
1543
+ cwd: os.tmpdir(),
1541
1544
  env: {
1542
1545
  ...process.env,
1543
1546
  PM_GLOBAL_PATH: globalPmRoot,
@@ -1789,4 +1792,4 @@ export async function emitTelemetryErrorEvent(context) {
1789
1792
  }
1790
1793
  }
1791
1794
  //# sourceMappingURL=runtime.js.map
1792
- //# debugId=c9bc7128-34dd-52d4-beeb-f22d46b1053d
1795
+ //# debugId=dbba82ab-8052-5828-babf-094b3f066810