@vercel/cli-support 65.17.0 → 66.0.0-snapshot-f90d5a1ebf99

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 (198) hide show
  1. package/README.md +6 -3
  2. package/dist/chunks/{add-6M3AALI3.js → add-2FSKW22V.js} +1 -1
  3. package/dist/chunks/{add-C6VTEFXX.js → add-COPZ3FPF.js} +1 -1
  4. package/dist/chunks/{add-NU6HG5B7.js → add-FIBV3KLT.js} +1 -1
  5. package/dist/chunks/alerts-7YJBYDMI.js +8 -0
  6. package/dist/chunks/api-endpoints-A6O4YT4B.js +7 -0
  7. package/dist/chunks/{build-6ZQB7L52.js → build-2Z7LPR3D.js} +1 -1
  8. package/dist/chunks/{chunk-UDQBYPFA.js → chunk-3DQEBAXQ.js} +1 -1
  9. package/dist/chunks/chunk-3FVMCV7T.js +7 -0
  10. package/dist/chunks/{chunk-4IRZBCXZ.js → chunk-3KNARS4W.js} +1 -1
  11. package/dist/chunks/{chunk-6VSZ6NDD.js → chunk-3M5PFRXQ.js} +1 -1
  12. package/dist/chunks/{chunk-6MQAEEY6.js → chunk-3MU3JC2I.js} +1 -1
  13. package/dist/chunks/{chunk-W5MWGVQT.js → chunk-3U7XYLSN.js} +1 -1
  14. package/dist/chunks/{chunk-2A6NUKKE.js → chunk-3XTN2FNA.js} +1 -1
  15. package/dist/chunks/{chunk-OS3Y2WGS.js → chunk-4BTYJMGY.js} +1 -1
  16. package/dist/chunks/{chunk-K3FIH7VS.js → chunk-4CIPMTB6.js} +2 -2
  17. package/dist/chunks/{chunk-4E2SYQVZ.js → chunk-4OU5MBMP.js} +1 -1
  18. package/dist/chunks/{chunk-5ZOZ6UI3.js → chunk-4WXR3W6D.js} +1 -1
  19. package/dist/chunks/{chunk-FENHM66N.js → chunk-5QNMP64F.js} +1 -1
  20. package/dist/chunks/{chunk-PPAXB7AB.js → chunk-62MZ4RMI.js} +1 -1
  21. package/dist/chunks/{chunk-JCMUCY6R.js → chunk-666NINFO.js} +2 -2
  22. package/dist/chunks/{chunk-UGHD3ALY.js → chunk-66VYZZTY.js} +1 -1
  23. package/dist/chunks/{chunk-5XWTMJ5A.js → chunk-7CWCAPEU.js} +1 -1
  24. package/dist/chunks/{chunk-XDPSUC2N.js → chunk-7ECYJHY4.js} +1 -1
  25. package/dist/chunks/{chunk-2UV736RO.js → chunk-7GJKRQV2.js} +1 -1
  26. package/dist/chunks/{chunk-GSEOOO5M.js → chunk-7THDUCSM.js} +1 -1
  27. package/dist/chunks/{chunk-3PNXCIIV.js → chunk-AH4NS3JJ.js} +1 -1
  28. package/dist/chunks/{chunk-CDDG77YO.js → chunk-APSIPJAY.js} +1 -1
  29. package/dist/chunks/{chunk-2RPWRZMR.js → chunk-AQTNGHTB.js} +1 -1
  30. package/dist/chunks/{chunk-IYBBF4IU.js → chunk-AVRED7XL.js} +2 -2
  31. package/dist/chunks/{chunk-L7OQ5CUT.js → chunk-B4MRD6RJ.js} +1 -1
  32. package/dist/chunks/{chunk-OXD4SLRA.js → chunk-BBR5M3EZ.js} +1 -1
  33. package/dist/chunks/chunk-CT7EIS3H.js +10 -0
  34. package/dist/chunks/chunk-CY5KJ42N.js +13 -0
  35. package/dist/chunks/{chunk-TJ5F4BSH.js → chunk-DW5AXCVQ.js} +1 -1
  36. package/dist/chunks/{chunk-4BCU4KFD.js → chunk-EA55QLHA.js} +1 -1
  37. package/dist/chunks/{chunk-H5G36TLP.js → chunk-F2UIIWKS.js} +1 -1
  38. package/dist/chunks/chunk-FCTTEFC5.js +7 -0
  39. package/dist/chunks/{chunk-TJYRGELW.js → chunk-FRKDI2ZH.js} +1 -1
  40. package/dist/chunks/{chunk-CDGGZKIG.js → chunk-FSZJSIOF.js} +1 -1
  41. package/dist/chunks/{chunk-Y2CSNIOJ.js → chunk-FZBYQQQQ.js} +1 -1
  42. package/dist/chunks/chunk-GQU7IE6F.js +12 -0
  43. package/dist/chunks/{chunk-AKFCJNJF.js → chunk-GYXHNS2O.js} +1 -1
  44. package/dist/chunks/{chunk-YERISP3L.js → chunk-H4QCL7P4.js} +1 -1
  45. package/dist/chunks/{chunk-VHVBGL5G.js → chunk-HQWR3EDU.js} +1 -1
  46. package/dist/chunks/{chunk-JYEKC35M.js → chunk-IHVN6YZJ.js} +1 -1
  47. package/dist/chunks/{chunk-QIWCDJY6.js → chunk-IIOIVUQV.js} +1 -1
  48. package/dist/chunks/{chunk-YKZ4N2KF.js → chunk-IL27CVNF.js} +1 -1
  49. package/dist/chunks/{chunk-2PQM7TCT.js → chunk-JV4KLSS2.js} +1 -1
  50. package/dist/chunks/{chunk-IUO6VPHD.js → chunk-JVHNHBIE.js} +1 -1
  51. package/dist/chunks/chunk-KK5C7HVP.js +7 -0
  52. package/dist/chunks/{chunk-65YRE7OX.js → chunk-KTWGUBNP.js} +1 -1
  53. package/dist/chunks/{chunk-WZCLCG4J.js → chunk-KXK4TF6L.js} +1 -1
  54. package/dist/chunks/{chunk-ITMLCNB4.js → chunk-LTW7KZBV.js} +1 -1
  55. package/dist/chunks/{chunk-R4QGGO5B.js → chunk-MQKAVUTX.js} +1 -1
  56. package/dist/chunks/{chunk-ACUK5DV4.js → chunk-NZNC5EU4.js} +1 -1
  57. package/dist/chunks/{chunk-K36E52T6.js → chunk-OFZYIAUF.js} +1 -1
  58. package/dist/chunks/{chunk-J4S66QK6.js → chunk-OH2A2APZ.js} +1 -1
  59. package/dist/chunks/{chunk-54XPSLKL.js → chunk-OYB676KT.js} +6 -6
  60. package/dist/chunks/{chunk-4EYMHKPB.js → chunk-OYQOYJSJ.js} +1 -1
  61. package/dist/chunks/{chunk-RXEXEY5E.js → chunk-P35EU77P.js} +1 -1
  62. package/dist/chunks/{chunk-7BZRYBNY.js → chunk-PEIULHMW.js} +1 -1
  63. package/dist/chunks/chunk-PJSTANJI.js +7 -0
  64. package/dist/chunks/chunk-PNWRO3XW.js +11 -0
  65. package/dist/chunks/{chunk-L3FMGAEY.js → chunk-Q2R3VQER.js} +1 -1
  66. package/dist/chunks/{chunk-W44QMOQF.js → chunk-QYUKDP2E.js} +1 -1
  67. package/dist/chunks/{chunk-JENTVCIM.js → chunk-QZHSJ43U.js} +1 -1
  68. package/dist/chunks/{chunk-4UZDMIRB.js → chunk-R2JNS7E3.js} +1 -1
  69. package/dist/chunks/{chunk-YSUBZ4H6.js → chunk-RLSTNUAE.js} +1 -1
  70. package/dist/chunks/{chunk-V6O3MHVH.js → chunk-RYR72TZY.js} +1 -1
  71. package/dist/chunks/{chunk-2XLCSCWH.js → chunk-SJ5BMZE5.js} +1 -1
  72. package/dist/chunks/{chunk-B3AVML3E.js → chunk-SW26TCUB.js} +1 -1
  73. package/dist/chunks/{chunk-ISFOL3XU.js → chunk-TIPYUIAC.js} +1 -1
  74. package/dist/chunks/{chunk-DMU3EFXU.js → chunk-U7MSPEXO.js} +1 -1
  75. package/dist/chunks/{chunk-SYI4LBMR.js → chunk-UEJ332R4.js} +1 -1
  76. package/dist/chunks/{chunk-M2HZOFN5.js → chunk-UK7P2E6X.js} +1 -1
  77. package/dist/chunks/{chunk-ZBBATLPQ.js → chunk-UQ3FLLMH.js} +1 -1
  78. package/dist/chunks/{chunk-I2RMTV2E.js → chunk-UVPYKYFW.js} +1 -1
  79. package/dist/chunks/{chunk-FUASV2IR.js → chunk-WEQK6GS2.js} +1 -1
  80. package/dist/chunks/{chunk-AMHVWM5D.js → chunk-WOD4NOA2.js} +1 -1
  81. package/dist/chunks/{chunk-KFFXZGVC.js → chunk-XD73SQ24.js} +1 -1
  82. package/dist/chunks/{chunk-ZC4E5ZZT.js → chunk-XQNFBZZW.js} +1 -1
  83. package/dist/chunks/{chunk-GLGJWYR5.js → chunk-XRUKC3AS.js} +1 -1
  84. package/dist/chunks/{chunk-LJHCDSQE.js → chunk-XU55SQAN.js} +1 -1
  85. package/dist/chunks/{chunk-OCLUZVEL.js → chunk-YCFIEWWM.js} +1 -1
  86. package/dist/chunks/{chunk-ODHZ2KFO.js → chunk-Z7LKJDWH.js} +1 -1
  87. package/dist/chunks/{chunk-ISPY2QPO.js → chunk-Z7O5ETSL.js} +1 -1
  88. package/dist/chunks/{chunk-52AG3KYV.js → chunk-ZTBJHHYO.js} +1 -1
  89. package/dist/chunks/{clear-3DUM5NVE.js → clear-N24S2QWU.js} +1 -1
  90. package/dist/chunks/{compile-vercel-config-7EGD4KID.js → compile-vercel-config-25LLK6AQ.js} +1 -1
  91. package/dist/chunks/{config-CM5FGY56.js → config-ANILUDFP.js} +1 -1
  92. package/dist/chunks/config-TNWHWWVG.js +7 -0
  93. package/dist/chunks/{contract-UXF35JHG.js → contract-7FW34GJR.js} +1 -1
  94. package/dist/chunks/{delete-L22JUSLG.js → delete-EECRNXXE.js} +1 -1
  95. package/dist/chunks/{delete-7PAC36H5.js → delete-SYBPS5N6.js} +1 -1
  96. package/dist/chunks/{describe-BVOVNTIK.js → describe-QNG3GF3O.js} +1 -1
  97. package/dist/chunks/{detect-services-RLGDB3XS.js → detect-services-RO5UT2MD.js} +1 -1
  98. package/dist/chunks/{disable-2ILULETZ.js → disable-EPEVAMOU.js} +1 -1
  99. package/dist/chunks/{discard-ZQDVF2BV.js → discard-Z3ULRZ6X.js} +1 -1
  100. package/dist/chunks/{edit-B5HKAA3Y.js → edit-4I6JSZCQ.js} +1 -1
  101. package/dist/chunks/{edit-2THCJXU6.js → edit-SPMRQUYE.js} +1 -1
  102. package/dist/chunks/{enable-KFEAC56T.js → enable-3Q2QJ3PH.js} +1 -1
  103. package/dist/chunks/{export-DWSSJSHN.js → export-526HEFAF.js} +1 -1
  104. package/dist/chunks/{future-27CSSTSM.js → future-YDPYOXO6.js} +1 -1
  105. package/dist/chunks/{generate-cert-for-deploy-5HKKOLXE.js → generate-cert-for-deploy-FKWT3Z2T.js} +1 -1
  106. package/dist/chunks/image-M7BU6IJH.js +7 -0
  107. package/dist/chunks/{import-builders-5RBWN5OQ.js → import-builders-EINRCTXS.js} +1 -1
  108. package/dist/chunks/{inspect-V4I6FLTI.js → inspect-2YFBZIXH.js} +1 -1
  109. package/dist/chunks/{inspect-CJREE2KA.js → inspect-CCILGGZK.js} +1 -1
  110. package/dist/chunks/{inspect-Q3UKNIAX.js → inspect-EBSRI3SL.js} +1 -1
  111. package/dist/chunks/{inspect-CRP6NH6E.js → inspect-EUK2S5FJ.js} +1 -1
  112. package/dist/chunks/{inspect-RVJWMV2P.js → inspect-G6ATTJHN.js} +1 -1
  113. package/dist/chunks/{inspect-IGX2RQZF.js → inspect-SOXSES5T.js} +1 -1
  114. package/dist/chunks/{list-ECJGXPCX.js → list-7CSLDIXH.js} +1 -1
  115. package/dist/chunks/{list-NWCLD63A.js → list-ANE5NF4G.js} +1 -1
  116. package/dist/chunks/{list-MLXQFP32.js → list-LRV6CWNG.js} +1 -1
  117. package/dist/chunks/{list-EE5LP3XI.js → list-RTHOJV4K.js} +1 -1
  118. package/dist/chunks/{login-FX3HON7Y.js → login-PPBUHDQK.js} +1 -1
  119. package/dist/chunks/{login-KC2GH746.js → login-VCWQXNKH.js} +1 -1
  120. package/dist/chunks/{logs-LT5VYAYH.js → logs-5MZFROAK.js} +1 -1
  121. package/dist/chunks/{ls-IVYLE77U.js → ls-4DY2PURD.js} +1 -1
  122. package/dist/chunks/{ls-SNCO5B5A.js → ls-EMESQVFD.js} +1 -1
  123. package/dist/chunks/{ls-SAFP4AEL.js → ls-OVV7AOJQ.js} +1 -1
  124. package/dist/chunks/{ls-IO7UILP7.js → ls-Q5DBF27O.js} +1 -1
  125. package/dist/chunks/{ls-2R2MR3CO.js → ls-QI4X6DCM.js} +1 -1
  126. package/dist/chunks/{ls-ULSRILNF.js → ls-SYW6TU5B.js} +1 -1
  127. package/dist/chunks/{ls-X6LE4ZFD.js → ls-XBL6OZOC.js} +1 -1
  128. package/dist/chunks/{migrate-experimental-services-AJ6GVF6O.js → migrate-experimental-services-OSV2ELWS.js} +1 -1
  129. package/dist/chunks/{mutate-3NJKAHAD.js → mutate-YSH4SBHS.js} +1 -1
  130. package/dist/chunks/{notifications-73Y6R45H.js → notifications-N7UYURAZ.js} +1 -1
  131. package/dist/chunks/{open-VIVK2UDK.js → open-R6OAIKVV.js} +1 -1
  132. package/dist/chunks/{openapi-SUHPIPUZ.js → openapi-4KMLRPJV.js} +1 -1
  133. package/dist/chunks/{permissions-GZZN7UUK.js → permissions-CQTL4HKM.js} +1 -1
  134. package/dist/chunks/{plugin-offer-2SMMNBHS.js → plugin-offer-F5HLZ3OL.js} +1 -1
  135. package/dist/chunks/{prompt-missing-credentials-UFFTUCXU.js → prompt-missing-credentials-5XBS5NDG.js} +1 -1
  136. package/dist/chunks/{publish-QUC6TMRK.js → publish-2QPK4WOF.js} +1 -1
  137. package/dist/chunks/{pull-67X4FSMU.js → pull-VETLKX67.js} +1 -1
  138. package/dist/chunks/{purchase-domain-if-available-Z6JVVRSD.js → purchase-domain-if-available-TQXTNTV4.js} +1 -1
  139. package/dist/chunks/{push-QVHS7FDF.js → push-V5H2NOK5.js} +1 -1
  140. package/dist/chunks/{query-BDDPR2EX.js → query-AXIRIY5Z.js} +1 -1
  141. package/dist/chunks/{raw-query-NE7NWCB7.js → raw-query-WMZFHB3U.js} +1 -1
  142. package/dist/chunks/{reauthenticate-IC7BSJ3P.js → reauthenticate-UQL2TX2N.js} +1 -1
  143. package/dist/chunks/{remove-BHN6WPUV.js → remove-T4EBT5XK.js} +1 -1
  144. package/dist/chunks/{reorder-EIDH4EJE.js → reorder-YW6DXYDQ.js} +1 -1
  145. package/dist/chunks/{reply-WDAJW5SL.js → reply-WLOPDMDJ.js} +1 -1
  146. package/dist/chunks/{resolve-V47ENQW3.js → resolve-A7EQGQCL.js} +1 -1
  147. package/dist/chunks/{resolve-agent-team-MFQQGFOV.js → resolve-agent-team-HGSKBZ3F.js} +1 -1
  148. package/dist/chunks/{restore-ROZT6YF2.js → restore-5HQ7IMHH.js} +1 -1
  149. package/dist/chunks/{rm-2QIQDOGW.js → rm-DBPDFQYV.js} +1 -1
  150. package/dist/chunks/{rm-RILNS5CN.js → rm-MJ2FA6FH.js} +1 -1
  151. package/dist/chunks/{rm-3KID2JH7.js → rm-MZSCODYC.js} +1 -1
  152. package/dist/chunks/{rm-5TR2TCLE.js → rm-W7TMJPPY.js} +1 -1
  153. package/dist/chunks/{rm-JLFAI2BI.js → rm-YN2BG552.js} +1 -1
  154. package/dist/chunks/{rule-inspect-S2V5GLHH.js → rule-inspect-364N4DO6.js} +1 -1
  155. package/dist/chunks/{schema-UW2SZTDK.js → schema-FHK3FRRZ.js} +1 -1
  156. package/dist/chunks/{schema-BACGWLK7.js → schema-VUCPXOJM.js} +1 -1
  157. package/dist/chunks/{select-org-PENSE6DG.js → select-org-EHWFPSAI.js} +1 -1
  158. package/dist/chunks/{set-T44OQCFV.js → set-P4UCYA2I.js} +1 -1
  159. package/dist/chunks/{set-VCRWNXA2.js → set-PKLCP3YM.js} +1 -1
  160. package/dist/chunks/{setup-and-link-KBW7TFOU.js → setup-and-link-DQUZFSDI.js} +1 -1
  161. package/dist/chunks/{skills-MWEEGIZS.js → skills-DO7WMK5K.js} +6 -44
  162. package/dist/chunks/{tags-SU3K34BB.js → tags-T7YTLRJG.js} +1 -1
  163. package/dist/chunks/{types-VZQUPHE4.js → types-S7I5EBVX.js} +1 -1
  164. package/dist/chunks/{update-LCBI7RYJ.js → update-X4BFNY7R.js} +1 -1
  165. package/dist/chunks/{usage-IIY5U3TT.js → usage-KI7ILI3G.js} +1 -1
  166. package/dist/commands/build/index.js +5 -5
  167. package/dist/commands/deploy/index.js +4 -4
  168. package/dist/commands/dev/index.js +3 -3
  169. package/dist/commands/env/index.js +1 -1
  170. package/dist/commands/link/index.js +1 -1
  171. package/dist/commands/list/index.js +1 -1
  172. package/dist/commands/project/index.js +24 -8
  173. package/dist/commands/tunnel/index.js +1 -1
  174. package/dist/commands-account.js +4 -4
  175. package/dist/commands-ai.js +3 -3
  176. package/dist/commands-blob.js +1 -1
  177. package/dist/commands-core.js +64 -52
  178. package/dist/commands-deployments.js +1 -1
  179. package/dist/commands-flags.js +18 -16
  180. package/dist/commands-integrations.js +4 -4
  181. package/dist/commands-observability.js +2 -2
  182. package/dist/commands-routing.js +2 -2
  183. package/dist/help.js +1 -1
  184. package/dist/index.js +5 -5
  185. package/dist/internal-build.js +1 -1
  186. package/dist/package.json +40 -40
  187. package/dist/root-help-commands.mjs +1 -1
  188. package/dist/runtime-assets/node-preloads/next-dev-websocket.cjs +1 -2
  189. package/dist/version.mjs +1 -1
  190. package/package.json +57 -42
  191. package/dist/chunks/alerts-JNBP5ZOD.js +0 -8
  192. package/dist/chunks/chunk-57INWX4T.js +0 -7
  193. package/dist/chunks/chunk-7YNV6Q6G.js +0 -12
  194. package/dist/chunks/chunk-LZ3KMDYM.js +0 -9
  195. package/dist/chunks/chunk-N465KVPA.js +0 -11
  196. package/dist/chunks/chunk-NJFTAKDY.js +0 -10
  197. package/dist/chunks/config-Q6RCDUPL.js +0 -7
  198. package/dist/chunks/image-ZTFQVIWL.js +0 -7
@@ -4,7 +4,7 @@ import { dirname as __dirname_ } from 'node:path';
4
4
  const require = __createRequire(import.meta.url);
5
5
  const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
- import{earlyGetConfig,exitWithUnexpectedError,handleUnexpectedError,installProcessGuards,isOutputDebugEnabled,recordDirectBuildFallback,registerUnexpectedErrorHandlers}from"./chunks/chunk-H5G36TLP.js";import"./chunks/chunk-ACUK5DV4.js";import"./chunks/chunk-WZCLCG4J.js";import"./chunks/chunk-25565AGS.js";import{param}from"./chunks/chunk-3G3FQYMW.js";import"./chunks/chunk-2A6NUKKE.js";import{TelemetryEventStore}from"./chunks/chunk-KDCODXVL.js";import{isNativeBinaryInstall}from"./chunks/chunk-NWGBDBZI.js";import"./chunks/chunk-N465KVPA.js";import"./chunks/chunk-DTUEHPME.js";import{Client,getAuthConfigFilePath,getConfigFilePath,hasLocalProjectLink,highlight,humanizePath,readAuthConfigFile,readConfigFile,require_lib,writeToConfigFile}from"./chunks/chunk-54XPSLKL.js";import"./chunks/chunk-4HR3I3ML.js";import"./chunks/chunk-LOA7SZWH.js";import"./chunks/chunk-M7FED5YP.js";import"./chunks/chunk-MTZYPCZ7.js";import"./chunks/chunk-D6REP5QQ.js";import{getGlobalPathConfig}from"./chunks/chunk-7HLAWGY2.js";import{parseArguments}from"./chunks/chunk-LYL26S3N.js";import"./chunks/chunk-2VBFQZ72.js";import{shouldPrintVersionBanner,wantsMachineReadableOutput}from"./chunks/chunk-6GKP6VUF.js";import"./chunks/chunk-LUX4PBJL.js";import"./chunks/chunk-OPORM35X.js";import"./chunks/chunk-FBYA6LLM.js";import{setFetchDispatcher}from"./chunks/chunk-MY4MONOH.js";import"./chunks/chunk-MXTC4ZAQ.js";import"./chunks/chunk-4NTBYNFR.js";import{require_cli_config}from"./chunks/chunk-4SAVH3H7.js";import{CantFindConfig,CantParseJSONFile}from"./chunks/chunk-GOI2VVI7.js";import{getTitleName}from"./chunks/chunk-B4KA3ZH2.js";import{pkg_default}from"./chunks/chunk-BOJDM3O7.js";import{output_manager_default}from"./chunks/chunk-AP6DZGTK.js";import"./chunks/chunk-BLUPZPAS.js";import"./chunks/chunk-AW33SRYY.js";import{require_build_utils}from"./chunks/chunk-5MDNVAE6.js";import"./chunks/chunk-OCR5CRTH.js";import"./chunks/chunk-7EJQLVWX.js";import"./chunks/chunk-SCV7XEEO.js";import{require_dist}from"./chunks/chunk-MCYG7CCE.js";import"./chunks/chunk-YHPPP3SF.js";import"./chunks/chunk-24SIHFEW.js";import{getShortFlagLongName}from"./chunks/chunk-CFJBDBYH.js";import"./chunks/chunk-2BKALEOP.js";import{require_source}from"./chunks/chunk-NB2WLB3J.js";import"./chunks/chunk-ISWW3DKF.js";import"./chunks/chunk-BRQUZ5NC.js";import"./chunks/chunk-BULSRTQE.js";import{__toESM}from"./chunks/chunk-BZENIQ7N.js";var import_chalk=__toESM(require_source(),1),import_fs_extra=__toESM(require_lib(),1),import_error_utils=__toESM(require_dist(),1),import_cli_config=__toESM(require_cli_config(),1),import_build_utils=__toESM(require_build_utils(),1);import{existsSync}from"node:fs";import{mkdir,writeFile}from"node:fs/promises";import{join}from"node:path";import{determineAgent}from"@vercel/detect-agent";var DIRECT_GLOBAL_FLAGS=new Set(["--cwd","--debug","--global-config","--local-config","--no-color","--non-interactive","--scope","--token"]),PROXY_ENV_VARS=["HTTP_PROXY","HTTPS_PROXY","http_proxy","https_proxy","ALL_PROXY","all_proxy"],InMemoryReporter=class{constructor(){this.events=[]}report(event){this.events.push(event)}};function parseInitialArgs(argv){return parseArguments(argv,{"--version":Boolean,"-v":"--version","--changelog":Boolean,"--non-interactive":Boolean},{permissive:!0})}function getDirectBuildFallbackReason(argv=process.argv,env=process.env){let parsedArgs;try{parsedArgs=parseInitialArgs(argv)}catch{return"invalid_arguments"}if(parsedArgs.args[2]!=="build"||argv[2]!=="build")return"not_build";for(let[flag,value]of Object.entries(parsedArgs.flags))if(value!==void 0&&!DIRECT_GLOBAL_FLAGS.has(flag))return`flag:${flag}`;let separatorIndex=argv.indexOf("--");if((separatorIndex===-1?argv:argv.slice(0,separatorIndex)).some(arg=>arg==="--project"||arg.startsWith("--project=")||getShortFlagLongName(arg)==="--project"))return"project_scope";if(env.FORCE_TTY==="1")return"force_tty";if(env.FF_GUIDANCE_MODE)return"guidance_mode";if(!env.VERCEL_TELEMETRY_DISABLED)return"telemetry_enabled";if(env.VERCEL_TELEMETRY_DEBUG==="1")return"telemetry_debug";if(!env.NO_UPDATE_NOTIFIER&&!env.VERCEL&&!isNativeBinaryInstall())return"update_check"}async function runInternalBuild(){let fallbackReason=getDirectBuildFallbackReason();if(fallbackReason!==void 0){recordDirectBuildFallback(fallbackReason);return}installProcessGuards();let client;registerUnexpectedErrorHandlers(()=>client),process.env.CLAUDECODE&&process.stderr.write(`<claude-code-hint v="1" type="plugin" value="vercel@claude-plugins-official" />
7
+ import{earlyGetConfig,exitWithUnexpectedError,handleUnexpectedError,installProcessGuards,isOutputDebugEnabled,recordDirectBuildFallback,registerUnexpectedErrorHandlers}from"./chunks/chunk-F2UIIWKS.js";import"./chunks/chunk-NZNC5EU4.js";import"./chunks/chunk-KXK4TF6L.js";import"./chunks/chunk-25565AGS.js";import{param}from"./chunks/chunk-3G3FQYMW.js";import"./chunks/chunk-3XTN2FNA.js";import{TelemetryEventStore}from"./chunks/chunk-KDCODXVL.js";import{isNativeBinaryInstall}from"./chunks/chunk-NWGBDBZI.js";import"./chunks/chunk-PNWRO3XW.js";import"./chunks/chunk-DTUEHPME.js";import{Client,getAuthConfigFilePath,getConfigFilePath,hasLocalProjectLink,highlight,humanizePath,readAuthConfigFile,readConfigFile,require_lib,writeToConfigFile}from"./chunks/chunk-OYB676KT.js";import"./chunks/chunk-M7FED5YP.js";import"./chunks/chunk-4HR3I3ML.js";import"./chunks/chunk-LOA7SZWH.js";import"./chunks/chunk-LUX4PBJL.js";import"./chunks/chunk-MTZYPCZ7.js";import"./chunks/chunk-OPORM35X.js";import"./chunks/chunk-D6REP5QQ.js";import"./chunks/chunk-FBYA6LLM.js";import{setFetchDispatcher}from"./chunks/chunk-MY4MONOH.js";import{getGlobalPathConfig}from"./chunks/chunk-7HLAWGY2.js";import"./chunks/chunk-MXTC4ZAQ.js";import{parseArguments}from"./chunks/chunk-LYL26S3N.js";import"./chunks/chunk-2VBFQZ72.js";import{shouldPrintVersionBanner,wantsMachineReadableOutput}from"./chunks/chunk-6GKP6VUF.js";import"./chunks/chunk-4NTBYNFR.js";import{require_cli_config}from"./chunks/chunk-4SAVH3H7.js";import{CantFindConfig,CantParseJSONFile}from"./chunks/chunk-GOI2VVI7.js";import{getTitleName}from"./chunks/chunk-B4KA3ZH2.js";import{pkg_default}from"./chunks/chunk-BOJDM3O7.js";import{output_manager_default}from"./chunks/chunk-AP6DZGTK.js";import"./chunks/chunk-BLUPZPAS.js";import"./chunks/chunk-AW33SRYY.js";import{require_build_utils}from"./chunks/chunk-5MDNVAE6.js";import"./chunks/chunk-OCR5CRTH.js";import"./chunks/chunk-7EJQLVWX.js";import"./chunks/chunk-SCV7XEEO.js";import{require_dist}from"./chunks/chunk-MCYG7CCE.js";import"./chunks/chunk-YHPPP3SF.js";import"./chunks/chunk-24SIHFEW.js";import{getShortFlagLongName}from"./chunks/chunk-CFJBDBYH.js";import"./chunks/chunk-2BKALEOP.js";import{require_source}from"./chunks/chunk-NB2WLB3J.js";import"./chunks/chunk-ISWW3DKF.js";import"./chunks/chunk-BRQUZ5NC.js";import"./chunks/chunk-BULSRTQE.js";import{__toESM}from"./chunks/chunk-BZENIQ7N.js";var import_chalk=__toESM(require_source(),1),import_fs_extra=__toESM(require_lib(),1),import_error_utils=__toESM(require_dist(),1),import_cli_config=__toESM(require_cli_config(),1),import_build_utils=__toESM(require_build_utils(),1);import{existsSync}from"node:fs";import{mkdir,writeFile}from"node:fs/promises";import{join}from"node:path";import{determineAgent}from"@vercel/detect-agent";var DIRECT_GLOBAL_FLAGS=new Set(["--cwd","--debug","--global-config","--local-config","--no-color","--non-interactive","--scope","--token"]),PROXY_ENV_VARS=["HTTP_PROXY","HTTPS_PROXY","http_proxy","https_proxy","ALL_PROXY","all_proxy"],InMemoryReporter=class{constructor(){this.events=[]}report(event){this.events.push(event)}};function parseInitialArgs(argv){return parseArguments(argv,{"--version":Boolean,"-v":"--version","--changelog":Boolean,"--non-interactive":Boolean},{permissive:!0})}function getDirectBuildFallbackReason(argv=process.argv,env=process.env){let parsedArgs;try{parsedArgs=parseInitialArgs(argv)}catch{return"invalid_arguments"}if(parsedArgs.args[2]!=="build"||argv[2]!=="build")return"not_build";for(let[flag,value]of Object.entries(parsedArgs.flags))if(value!==void 0&&!DIRECT_GLOBAL_FLAGS.has(flag))return`flag:${flag}`;let separatorIndex=argv.indexOf("--");if((separatorIndex===-1?argv:argv.slice(0,separatorIndex)).some(arg=>arg==="--project"||arg.startsWith("--project=")||getShortFlagLongName(arg)==="--project"))return"project_scope";if(env.FORCE_TTY==="1")return"force_tty";if(env.FF_GUIDANCE_MODE)return"guidance_mode";if(!env.VERCEL_TELEMETRY_DISABLED)return"telemetry_enabled";if(env.VERCEL_TELEMETRY_DEBUG==="1")return"telemetry_debug";if(!env.NO_UPDATE_NOTIFIER&&!env.VERCEL&&!isNativeBinaryInstall())return"update_check"}async function runInternalBuild(){let fallbackReason=getDirectBuildFallbackReason();if(fallbackReason!==void 0){recordDirectBuildFallback(fallbackReason);return}installProcessGuards();let client;registerUnexpectedErrorHandlers(()=>client),process.env.CLAUDECODE&&process.stderr.write(`<claude-code-hint v="1" type="plugin" value="vercel@claude-plugins-official" />
8
8
  `);try{let exitCode=await main(c=>{client=c});return process.exitCode=exitCode,exitCode??0}catch(error){return await handleUnexpectedError(client,error),exitWithUnexpectedError(error)}}async function main(setClient){let vercelDir=getGlobalPathConfig(),traceReporter=new InMemoryReporter,rootSpan=new import_build_utils.Span({name:"vc.cli",reporter:traceReporter,attrs:{directBuild:"true"}}),parsedArgs=parseInitialArgs(process.argv);output_manager_default.initialize({debug:isOutputDebugEnabled(parsedArgs.flags["--debug"]),noColor:parsedArgs.flags["--no-color"]});let localConfigPath=parsedArgs.flags["--local-config"],localConfig=await earlyGetConfig(localConfigPath);if(localConfig instanceof CantParseJSONFile)return output_manager_default.error(`Couldn't parse JSON file ${localConfig.meta.file}.`),1;if(localConfig instanceof CantFindConfig){if(localConfigPath)return output_manager_default.error(`Couldn't find a project configuration file at
9
9
  ${localConfig.meta.paths.join(` or
10
10
  `)}`),1;localConfig=void 0}if(localConfig instanceof Error)return output_manager_default.prettyError(localConfig),1;let shortBuildLabel=void 0?` (${(void 0).split(" ")[0]})`:"",versionBanner=isNativeBinaryInstall()?`${getTitleName()} CLI ${pkg_default.version}${shortBuildLabel}`:`${getTitleName()} CLI ${pkg_default.version}${shortBuildLabel} (Node.js ${process.versions.node})`;shouldPrintVersionBanner("build",process.argv)&&output_manager_default.print(`${import_chalk.default.dim(versionBanner)}
package/dist/package.json CHANGED
@@ -1,35 +1,35 @@
1
1
  {
2
2
  "name": "vercel",
3
- "version": "65.17.0",
3
+ "version": "66.0.0-snapshot-f90d5a1ebf99",
4
4
  "type": "module",
5
5
  "dependencies": {
6
- "@vercel/backends": "26.0.1",
6
+ "@vercel/backends": "26.0.2-snapshot-f90d5a1ebf99",
7
7
  "@vercel/blob": "2.9.0",
8
- "@vercel/build-utils": "15.4.1",
8
+ "@vercel/build-utils": "15.4.2-snapshot-f90d5a1ebf99",
9
9
  "@vercel/cli-auth": "0.4.2",
10
10
  "@vercel/cli-config": "0.4.0",
11
- "@vercel/container": "26.0.1",
11
+ "@vercel/container": "26.1.0-snapshot-f90d5a1ebf99",
12
12
  "@vercel/detect-agent": "1.2.7",
13
- "@vercel/elysia": "26.0.1",
14
- "@vercel/express": "26.0.1",
15
- "@vercel/fastify": "26.0.1",
13
+ "@vercel/elysia": "26.0.2-snapshot-f90d5a1ebf99",
14
+ "@vercel/express": "26.0.2-snapshot-f90d5a1ebf99",
15
+ "@vercel/fastify": "26.0.2-snapshot-f90d5a1ebf99",
16
16
  "@vercel/fun": "1.3.6",
17
- "@vercel/go": "29.0.1",
18
- "@vercel/h3": "26.0.1",
19
- "@vercel/hono": "26.0.1",
20
- "@vercel/hydrogen": "27.0.1",
21
- "@vercel/koa": "26.0.1",
22
- "@vercel/nestjs": "26.0.1",
23
- "@vercel/next": "30.0.1",
24
- "@vercel/node": "31.0.1",
17
+ "@vercel/go": "29.0.2-snapshot-f90d5a1ebf99",
18
+ "@vercel/h3": "26.0.2-snapshot-f90d5a1ebf99",
19
+ "@vercel/hono": "26.0.2-snapshot-f90d5a1ebf99",
20
+ "@vercel/hydrogen": "27.0.2-snapshot-f90d5a1ebf99",
21
+ "@vercel/koa": "26.0.2-snapshot-f90d5a1ebf99",
22
+ "@vercel/nestjs": "26.0.2-snapshot-f90d5a1ebf99",
23
+ "@vercel/next": "30.1.0-snapshot-f90d5a1ebf99",
24
+ "@vercel/node": "31.0.2-snapshot-f90d5a1ebf99",
25
25
  "@vercel/prepare-flags-definitions": "0.6.1",
26
- "@vercel/python": "32.0.1",
26
+ "@vercel/python": "32.0.2-snapshot-f90d5a1ebf99",
27
27
  "@vercel/python-analysis": "0.15.3",
28
- "@vercel/redwood": "28.0.1",
29
- "@vercel/remix-builder": "31.0.1",
30
- "@vercel/ruby": "28.0.1",
31
- "@vercel/rust": "27.0.1",
32
- "@vercel/static-build": "28.0.1",
28
+ "@vercel/redwood": "28.0.2-snapshot-f90d5a1ebf99",
29
+ "@vercel/remix-builder": "31.0.2-snapshot-f90d5a1ebf99",
30
+ "@vercel/ruby": "28.0.2-snapshot-f90d5a1ebf99",
31
+ "@vercel/rust": "27.0.2-snapshot-f90d5a1ebf99",
32
+ "@vercel/static-build": "28.0.2-snapshot-f90d5a1ebf99",
33
33
  "chokidar": "4.0.0",
34
34
  "esbuild": "0.27.0",
35
35
  "jose": "5.9.6",
@@ -42,24 +42,24 @@
42
42
  "zod": "4.6.7"
43
43
  },
44
44
  "builders": {
45
- "@vercel/backends": "26.0.1",
46
- "@vercel/container": "26.0.1",
47
- "@vercel/elysia": "26.0.1",
48
- "@vercel/express": "26.0.1",
49
- "@vercel/fastify": "26.0.1",
50
- "@vercel/go": "29.0.1",
51
- "@vercel/h3": "26.0.1",
52
- "@vercel/hono": "26.0.1",
53
- "@vercel/hydrogen": "27.0.1",
54
- "@vercel/koa": "26.0.1",
55
- "@vercel/nestjs": "26.0.1",
56
- "@vercel/next": "30.0.1",
57
- "@vercel/node": "31.0.1",
58
- "@vercel/python": "32.0.1",
59
- "@vercel/redwood": "28.0.1",
60
- "@vercel/remix-builder": "31.0.1",
61
- "@vercel/ruby": "28.0.1",
62
- "@vercel/rust": "27.0.1",
63
- "@vercel/static-build": "28.0.1"
45
+ "@vercel/backends": "26.0.2-snapshot-f90d5a1ebf99",
46
+ "@vercel/container": "26.1.0-snapshot-f90d5a1ebf99",
47
+ "@vercel/elysia": "26.0.2-snapshot-f90d5a1ebf99",
48
+ "@vercel/express": "26.0.2-snapshot-f90d5a1ebf99",
49
+ "@vercel/fastify": "26.0.2-snapshot-f90d5a1ebf99",
50
+ "@vercel/go": "29.0.2-snapshot-f90d5a1ebf99",
51
+ "@vercel/h3": "26.0.2-snapshot-f90d5a1ebf99",
52
+ "@vercel/hono": "26.0.2-snapshot-f90d5a1ebf99",
53
+ "@vercel/hydrogen": "27.0.2-snapshot-f90d5a1ebf99",
54
+ "@vercel/koa": "26.0.2-snapshot-f90d5a1ebf99",
55
+ "@vercel/nestjs": "26.0.2-snapshot-f90d5a1ebf99",
56
+ "@vercel/next": "30.1.0-snapshot-f90d5a1ebf99",
57
+ "@vercel/node": "31.0.2-snapshot-f90d5a1ebf99",
58
+ "@vercel/python": "32.0.2-snapshot-f90d5a1ebf99",
59
+ "@vercel/redwood": "28.0.2-snapshot-f90d5a1ebf99",
60
+ "@vercel/remix-builder": "31.0.2-snapshot-f90d5a1ebf99",
61
+ "@vercel/ruby": "28.0.2-snapshot-f90d5a1ebf99",
62
+ "@vercel/rust": "27.0.2-snapshot-f90d5a1ebf99",
63
+ "@vercel/static-build": "28.0.2-snapshot-f90d5a1ebf99"
64
64
  }
65
65
  }
@@ -1 +1 @@
1
- export const rootHelpCommands = [{"names":["deploy"],"description":"Deploy your project to Vercel","group":"Deploy and Develop","default":true},{"names":["activity"],"description":"List user activity events","group":"Operations and Security","default":false},{"names":["agent"],"description":"Generate Vercel deployment guidance in AGENTS.md","group":"CLI and Integrations","default":false},{"names":["agent-runs"],"description":"Inspect Agent Runs observability data","group":"Operations and Security","default":false},{"names":["ai-gateway"],"description":"Manage AI Gateway resources","group":"Data and Compute","default":false},{"names":["alerts"],"description":"List alert groups or inspect a group","group":"Operations and Security","default":false},{"names":["alias"],"description":"Interact with deployment aliases","group":"Domains and Traffic","default":false},{"names":["api"],"description":"Make authenticated HTTP requests to the Vercel API","group":"CLI and Integrations","default":false},{"names":["billing"],"description":"Manage billing for a team","group":"Account and Billing","default":false},{"names":["bisect"],"description":"Bisect the current project interactively or via an automated test script","group":"Deploy and Develop","default":false},{"names":["blob"],"description":"Interact with Vercel Blob","group":"Data and Compute","default":false},{"names":["build"],"description":"Build the project","group":"Deploy and Develop","default":false},{"names":["buy"],"description":"Purchase Vercel products for your team","group":"Account and Billing","default":false},{"names":["cache"],"description":"Manage cache for a Project","group":"Projects and Configuration","default":false},{"names":["certs"],"description":"Interact with SSL certificates","group":"Domains and Traffic","default":false},{"names":["changelog"],"description":"Show the latest Vercel product updates","group":"CLI and Integrations","default":false},{"names":["ci"],"description":"Inspect Vercel CI and rerun runs","group":"Deploy and Develop","default":false},{"names":["comments"],"description":"Review and act on Vercel Toolbar comments from the command line","group":"Operations and Security","default":false},{"names":["connect"],"description":"Manage connectors","group":"CLI and Integrations","default":false},{"names":["crons"],"description":"Manage cron jobs for a project [beta]","group":"Data and Compute","default":false},{"names":["curl"],"description":"Request deployments with protection bypass","group":"Deploy and Develop","default":false},{"names":["daemons"],"description":"Manage daemons for a project [beta]","group":"Data and Compute","default":false},{"names":["deploy-hooks"],"description":"Manage deploy hooks for Git-triggered builds","group":"Projects and Configuration","default":false},{"names":["dev"],"description":"Starts the `vercel dev` server","group":"Deploy and Develop","default":false},{"names":["dns"],"description":"Manage DNS records for your domains","group":"Domains and Traffic","default":false},{"names":["docs"],"description":"Search and read the Vercel docs","group":"CLI and Integrations","default":false},{"names":["doctor"],"description":"Check your CLI setup and show how to fix problems","group":"CLI and Integrations","default":false},{"names":["domains"],"description":"Manage domains","group":"Domains and Traffic","default":false},{"names":["drains"],"description":"Manage drains for logs, traces, analytics, and speed insights","group":"Operations and Security","default":false},{"names":["env"],"description":"Interact with Environment Variables for a Project","group":"Projects and Configuration","default":false},{"names":["environments"],"description":"Manage custom environments for a Project","group":"Projects and Configuration","default":false},{"names":["feedback"],"description":"Send bugs, friction, and feature requests to the Vercel team","group":"CLI and Integrations","default":false},{"names":["firewall"],"description":"Manage firewall rules and bypass settings","group":"Operations and Security","default":false},{"names":["flags"],"description":"Manage feature flags for a Vercel project","group":"Projects and Configuration","default":false},{"names":["git"],"description":"Manage your Git repository connection to the current Project","group":"Projects and Configuration","default":false},{"names":["global-config"],"description":"Manage Global Config stores (dashboard API parity)","group":"Data and Compute","default":false},{"names":["health"],"description":"Show the current Vercel platform status and recent incidents","group":"Operations and Security","default":false},{"names":["help"],"description":"Show help for a command","group":"CLI and Integrations","default":false},{"names":["httpstat"],"description":"Show deployment HTTP timing","group":"Deploy and Develop","default":false},{"names":["init"],"description":"Initialize example Vercel Projects","group":"Deploy and Develop","default":false},{"names":["inspect"],"description":"Show information about a deployment","group":"Deploy and Develop","default":false},{"names":["install"],"description":"Install a marketplace integration","group":"CLI and Integrations","default":false},{"names":["integration"],"description":"Manage marketplace integrations","group":"CLI and Integrations","default":false},{"names":["kb"],"description":"Show the latest Vercel Knowledge Base guides, newest first","group":"CLI and Integrations","default":false},{"names":["kms"],"description":"Manage KMS issuers, signing keys, and project grants [beta]","group":"Operations and Security","default":false},{"names":["link"],"description":"Link a local directory to a Vercel project","group":"Projects and Configuration","default":false},{"names":["list"],"description":"List deployments","group":"Deploy and Develop","default":false},{"names":["login"],"description":"Sign in to your Vercel account","group":"Account and Billing","default":false},{"names":["logout"],"description":"Sign out the currently authenticated user","group":"Account and Billing","default":false},{"names":["logs"],"description":"Display logs","group":"Operations and Security","default":false},{"names":["mcp"],"description":"Set up MCP agents for Vercel","group":"CLI and Integrations","default":false},{"names":["metrics"],"description":"Query observability metrics for your Vercel project or team","group":"Operations and Security","default":false},{"names":["microfrontends"],"description":"Manage microfrontends groups","group":"Projects and Configuration","default":false},{"names":["monitors"],"description":"Add, inspect, list, update, and remove monitors, and manage their notification destinations","group":"Operations and Security","default":false},{"names":["open"],"description":"Opens the current project in the Vercel Dashboard","group":"Projects and Configuration","default":false},{"names":["organizations"],"description":"Manage Vercel organizations","group":"Account and Billing","default":false},{"names":["pricing"],"description":"Compare public plan features","group":"Account and Billing","default":false},{"names":["project"],"description":"Manage your Vercel projects","group":"Projects and Configuration","default":false},{"names":["promote"],"description":"Promote an existing Deployment to current","group":"Deploy and Develop","default":false},{"names":["pull"],"description":"Pull Environment Variables and project settings into .vercel","group":"Projects and Configuration","default":false},{"names":["redeploy"],"description":"Rebuild and deploy a previous deployment","group":"Deploy and Develop","default":false},{"names":["redirects"],"description":"Manage redirects for a project","group":"Domains and Traffic","default":false},{"names":["remove"],"description":"Delete deployment(s) by project name or deployment ID","group":"Deploy and Develop","default":false},{"names":["rollback"],"description":"Roll back to a previous deployment","group":"Deploy and Develop","default":false},{"names":["rolling-release"],"description":"Shift deployment traffic in stages","group":"Deploy and Develop","default":false},{"names":["routes"],"description":"Manage routing rules for a project","group":"Domains and Traffic","default":false},{"names":["sandbox"],"description":"Interact with Vercel Sandbox","group":"Data and Compute","default":false},{"names":["schedules"],"description":"Manage schedules for the current project [beta]","group":"Data and Compute","default":false},{"names":["security"],"description":"Inspect the security posture of the current team","group":"Operations and Security","default":false},{"names":["setup"],"description":"Set up coding agents for Vercel","group":"CLI and Integrations","default":false},{"names":["signup"],"description":"Create a Vercel account and sign in","group":"Account and Billing","default":false},{"names":["skills"],"description":"Discover agent skills relevant to your project","group":"CLI and Integrations","default":false},{"names":["storage"],"description":"Manage project storage resources","group":"Data and Compute","default":false},{"names":["switch"],"description":"Switch to a different team","group":"Account and Billing","default":false},{"names":["teams"],"description":"Manage Teams under your Vercel account","group":"Account and Billing","default":false},{"names":["telemetry"],"description":"Allows you to enable or disable telemetry collection","group":"CLI and Integrations","default":false},{"names":["templates"],"description":"Find, inspect, and deploy Vercel templates","group":"Deploy and Develop","default":false},{"names":["token-pass"],"description":"Set up a coding agent with Vercel Token Pass","group":"CLI and Integrations","default":false},{"names":["tokens"],"description":"Manage your personal Vercel authentication tokens","group":"Account and Billing","default":false},{"names":["traces"],"description":"Inspect project traces and search spans across a Vercel team","group":"Operations and Security","default":false},{"names":["upgrade"],"description":"Upgrade the current global or native Vercel CLI installation","group":"CLI and Integrations","default":false},{"names":["vcr"],"description":"Manage Vercel Container Registry repositories and images (see `vcr image`)","group":"Data and Compute","default":false},{"names":["version"],"description":"Manages the installed Vercel CLI version","group":"CLI and Integrations","default":false},{"names":["webhooks"],"description":"Manage webhooks","group":"Operations and Security","default":false},{"names":["whoami"],"description":"Shows the username of the currently logged in user","group":"Account and Billing","default":false}];
1
+ export const rootHelpCommands = [{"names":["deploy"],"description":"Deploy your project to Vercel","group":"Deploy and Develop","default":true},{"names":["activity"],"description":"List user activity events","group":"Operations and Security","default":false},{"names":["agent"],"description":"Generate Vercel deployment guidance in AGENTS.md","group":"CLI and Integrations","default":false},{"names":["agent-runs"],"description":"Inspect Agent Runs observability data","group":"Operations and Security","default":false},{"names":["ai-gateway"],"description":"Manage AI Gateway resources","group":"Data and Compute","default":false},{"names":["alerts"],"description":"List alert groups or inspect a group","group":"Operations and Security","default":false},{"names":["alias"],"description":"Interact with deployment aliases","group":"Domains and Traffic","default":false},{"names":["api"],"description":"Make authenticated HTTP requests to the Vercel API","group":"CLI and Integrations","default":false},{"names":["billing"],"description":"Manage billing for a team","group":"Account and Billing","default":false},{"names":["bisect"],"description":"Bisect the current project interactively or via an automated test script","group":"Deploy and Develop","default":false},{"names":["blob"],"description":"Interact with Vercel Blob","group":"Data and Compute","default":false},{"names":["build"],"description":"Build the project","group":"Deploy and Develop","default":false},{"names":["buy"],"description":"Purchase Vercel products for your team","group":"Account and Billing","default":false},{"names":["cache"],"description":"Manage cache for a Project","group":"Projects and Configuration","default":false},{"names":["certs"],"description":"Interact with SSL certificates","group":"Domains and Traffic","default":false},{"names":["changelog"],"description":"Show the latest Vercel product updates","group":"CLI and Integrations","default":false},{"names":["ci"],"description":"Inspect Vercel CI and rerun runs","group":"Deploy and Develop","default":false},{"names":["comments"],"description":"Review and act on Vercel Toolbar comments from the command line","group":"Operations and Security","default":false},{"names":["connect"],"description":"Manage connectors","group":"CLI and Integrations","default":false},{"names":["crons"],"description":"Manage cron jobs for a project [beta]","group":"Data and Compute","default":false},{"names":["curl"],"description":"Request deployments with protection bypass","group":"Deploy and Develop","default":false},{"names":["daemons"],"description":"Manage daemons for a project [beta]","group":"Data and Compute","default":false},{"names":["deploy-hooks"],"description":"Manage deploy hooks for Git-triggered builds","group":"Projects and Configuration","default":false},{"names":["dev"],"description":"Starts the `vercel dev` server","group":"Deploy and Develop","default":false},{"names":["dns"],"description":"Manage DNS records for your domains","group":"Domains and Traffic","default":false},{"names":["docs"],"description":"Search and read the Vercel docs","group":"CLI and Integrations","default":false},{"names":["doctor"],"description":"Check your CLI setup and show how to fix problems","group":"CLI and Integrations","default":false},{"names":["domains"],"description":"Manage domains","group":"Domains and Traffic","default":false},{"names":["drains"],"description":"Manage drains for logs, traces, analytics, and speed insights","group":"Operations and Security","default":false},{"names":["env"],"description":"Interact with Environment Variables for a Project","group":"Projects and Configuration","default":false},{"names":["environments"],"description":"Manage custom environments for a Project","group":"Projects and Configuration","default":false},{"names":["feedback"],"description":"Send bugs, friction, and feature requests to the Vercel team","group":"CLI and Integrations","default":false},{"names":["firewall"],"description":"Manage firewall rules and bypass settings","group":"Operations and Security","default":false},{"names":["flags"],"description":"Manage feature flags for a Vercel project","group":"Projects and Configuration","default":false},{"names":["git"],"description":"Manage your Git repository connection to the current Project","group":"Projects and Configuration","default":false},{"names":["global-config"],"description":"Manage Global Config stores (dashboard API parity)","group":"Data and Compute","default":false},{"names":["health"],"description":"Show the current Vercel platform status and recent incidents","group":"Operations and Security","default":false},{"names":["help"],"description":"Show help for a command, or find a command by task","group":"CLI and Integrations","default":false},{"names":["httpstat"],"description":"Show deployment HTTP timing","group":"Deploy and Develop","default":false},{"names":["init"],"description":"Initialize example Vercel Projects","group":"Deploy and Develop","default":false},{"names":["inspect"],"description":"Show information about a deployment","group":"Deploy and Develop","default":false},{"names":["install"],"description":"Install a marketplace integration","group":"CLI and Integrations","default":false},{"names":["integration"],"description":"Manage marketplace integrations","group":"CLI and Integrations","default":false},{"names":["kb"],"description":"Show the latest Vercel Knowledge Base guides, newest first","group":"CLI and Integrations","default":false},{"names":["kms"],"description":"Manage KMS issuers, signing keys, and project grants [beta]","group":"Operations and Security","default":false},{"names":["link"],"description":"Link a local directory to a Vercel project","group":"Projects and Configuration","default":false},{"names":["list"],"description":"List deployments","group":"Deploy and Develop","default":false},{"names":["login"],"description":"Sign in to your Vercel account","group":"Account and Billing","default":false},{"names":["logout"],"description":"Sign out the currently authenticated user","group":"Account and Billing","default":false},{"names":["logs"],"description":"Display logs","group":"Operations and Security","default":false},{"names":["mcp"],"description":"Set up MCP agents for Vercel","group":"CLI and Integrations","default":false},{"names":["metrics"],"description":"Query observability metrics for your Vercel project or team","group":"Operations and Security","default":false},{"names":["microfrontends"],"description":"Manage microfrontends groups","group":"Projects and Configuration","default":false},{"names":["monitors"],"description":"Add, inspect, list, update, and remove monitors, and manage their notification destinations","group":"Operations and Security","default":false},{"names":["open"],"description":"Opens the current project in the Vercel Dashboard","group":"Projects and Configuration","default":false},{"names":["organizations"],"description":"Manage Vercel organizations","group":"Account and Billing","default":false},{"names":["pricing"],"description":"Compare public plan features","group":"Account and Billing","default":false},{"names":["project"],"description":"Manage your Vercel projects","group":"Projects and Configuration","default":false},{"names":["promote"],"description":"Promote an existing Deployment to current","group":"Deploy and Develop","default":false},{"names":["pull"],"description":"Pull Environment Variables and project settings into .vercel","group":"Projects and Configuration","default":false},{"names":["redeploy"],"description":"Rebuild and deploy a previous deployment","group":"Deploy and Develop","default":false},{"names":["redirects"],"description":"Manage redirects for a project","group":"Domains and Traffic","default":false},{"names":["remove"],"description":"Delete deployment(s) by project name or deployment ID","group":"Deploy and Develop","default":false},{"names":["rollback"],"description":"Roll back to a previous deployment","group":"Deploy and Develop","default":false},{"names":["rolling-release"],"description":"Shift deployment traffic in stages","group":"Deploy and Develop","default":false},{"names":["routes"],"description":"Manage routing rules for a project","group":"Domains and Traffic","default":false},{"names":["sandbox"],"description":"Interact with Vercel Sandbox","group":"Data and Compute","default":false},{"names":["schedules"],"description":"Manage schedules for the current project [beta]","group":"Data and Compute","default":false},{"names":["security"],"description":"Inspect the security posture of the current team","group":"Operations and Security","default":false},{"names":["setup"],"description":"Set up coding agents for Vercel","group":"CLI and Integrations","default":false},{"names":["signup"],"description":"Create a Vercel account and sign in","group":"Account and Billing","default":false},{"names":["skills"],"description":"Discover agent skills relevant to your project","group":"CLI and Integrations","default":false},{"names":["storage"],"description":"Manage project storage resources","group":"Data and Compute","default":false},{"names":["switch"],"description":"Switch to a different team","group":"Account and Billing","default":false},{"names":["teams"],"description":"Manage Teams under your Vercel account","group":"Account and Billing","default":false},{"names":["telemetry"],"description":"Allows you to enable or disable telemetry collection","group":"CLI and Integrations","default":false},{"names":["templates"],"description":"Find, inspect, and deploy Vercel templates","group":"Deploy and Develop","default":false},{"names":["token-pass"],"description":"Set up a coding agent with Vercel Token Pass","group":"CLI and Integrations","default":false},{"names":["tokens"],"description":"Manage your personal Vercel authentication tokens","group":"Account and Billing","default":false},{"names":["traces"],"description":"Inspect project traces and search spans across a Vercel team","group":"Operations and Security","default":false},{"names":["upgrade"],"description":"Upgrade the current global or native Vercel CLI installation","group":"CLI and Integrations","default":false},{"names":["vcr"],"description":"Manage Vercel Container Registry repositories and images (see `vcr image`)","group":"Data and Compute","default":false},{"names":["version"],"description":"Manages the installed Vercel CLI version","group":"CLI and Integrations","default":false},{"names":["webhooks"],"description":"Manage webhooks","group":"Operations and Security","default":false},{"names":["whoami"],"description":"Shows the username of the currently logged in user","group":"Account and Billing","default":false}];
@@ -78,6 +78,7 @@ function emitWebSocketRequest({
78
78
  requestContext,
79
79
  originalEmit,
80
80
  }) {
81
+ socket.once('error', noop);
81
82
  socket.setTimeout(0);
82
83
  socket.setNoDelay(true);
83
84
 
@@ -134,8 +135,6 @@ function emitWebSocketRequest({
134
135
  // callbacks can register after() work before Next drains that work.
135
136
  setImmediate(() => requestContext.run(context, closeResponse));
136
137
  });
137
- socket.once('error', noop);
138
-
139
138
  return { req, socket, head };
140
139
  },
141
140
  };
package/dist/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const version = "65.17.0";
1
+ export const version = "66.0.0-snapshot-f90d5a1ebf99";
2
2
  export const buildLabel = "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/cli-support",
3
- "version": "65.17.0",
3
+ "version": "66.0.0-snapshot-f90d5a1ebf99",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "The JavaScript Vercel CLI, installed by vercel to run where its native binary can't",
@@ -33,55 +33,70 @@
33
33
  "undici": "5.29.0",
34
34
  "uuid": "14.0.1",
35
35
  "zod": "4.6.7",
36
- "@vercel/build-utils": "15.4.1",
36
+ "@vercel/build-utils": "15.4.2-snapshot-f90d5a1ebf99",
37
+ "@vercel/cli-auth": "0.4.2",
37
38
  "@vercel/cli-config": "0.4.0",
39
+ "@vercel/container": "26.1.0-snapshot-f90d5a1ebf99",
40
+ "@vercel/backends": "26.0.2-snapshot-f90d5a1ebf99",
38
41
  "@vercel/detect-agent": "1.2.7",
39
- "@vercel/cli-auth": "0.4.2",
40
- "@vercel/elysia": "26.0.1",
41
- "@vercel/backends": "26.0.1",
42
- "@vercel/container": "26.0.1",
43
- "@vercel/fastify": "26.0.1",
44
- "@vercel/go": "29.0.1",
45
- "@vercel/hono": "26.0.1",
46
- "@vercel/express": "26.0.1",
47
- "@vercel/h3": "26.0.1",
48
- "@vercel/hydrogen": "27.0.1",
49
- "@vercel/koa": "26.0.1",
50
- "@vercel/nestjs": "26.0.1",
51
- "@vercel/next": "30.0.1",
52
- "@vercel/node": "31.0.1",
53
- "@vercel/redwood": "28.0.1",
42
+ "@vercel/elysia": "26.0.2-snapshot-f90d5a1ebf99",
43
+ "@vercel/express": "26.0.2-snapshot-f90d5a1ebf99",
44
+ "@vercel/fastify": "26.0.2-snapshot-f90d5a1ebf99",
45
+ "@vercel/go": "29.0.2-snapshot-f90d5a1ebf99",
46
+ "@vercel/hono": "26.0.2-snapshot-f90d5a1ebf99",
47
+ "@vercel/hydrogen": "27.0.2-snapshot-f90d5a1ebf99",
48
+ "@vercel/nestjs": "26.0.2-snapshot-f90d5a1ebf99",
49
+ "@vercel/koa": "26.0.2-snapshot-f90d5a1ebf99",
50
+ "@vercel/next": "30.1.0-snapshot-f90d5a1ebf99",
51
+ "@vercel/h3": "26.0.2-snapshot-f90d5a1ebf99",
52
+ "@vercel/node": "31.0.2-snapshot-f90d5a1ebf99",
53
+ "@vercel/python": "32.0.2-snapshot-f90d5a1ebf99",
54
+ "@vercel/redwood": "28.0.2-snapshot-f90d5a1ebf99",
55
+ "@vercel/ruby": "28.0.2-snapshot-f90d5a1ebf99",
56
+ "@vercel/remix-builder": "31.0.2-snapshot-f90d5a1ebf99",
57
+ "@vercel/static-build": "28.0.2-snapshot-f90d5a1ebf99",
54
58
  "@vercel/python-analysis": "0.15.3",
55
- "@vercel/remix-builder": "31.0.1",
56
- "@vercel/ruby": "28.0.1",
57
- "@vercel/rust": "27.0.1",
58
- "@vercel/python": "32.0.1",
59
- "@vercel/static-build": "28.0.1"
59
+ "@vercel/rust": "27.0.2-snapshot-f90d5a1ebf99"
60
60
  },
61
61
  "builders": {
62
- "@vercel/backends": "26.0.1",
63
- "@vercel/container": "26.0.1",
64
- "@vercel/elysia": "26.0.1",
65
- "@vercel/express": "26.0.1",
66
- "@vercel/fastify": "26.0.1",
67
- "@vercel/go": "29.0.1",
68
- "@vercel/h3": "26.0.1",
69
- "@vercel/hono": "26.0.1",
70
- "@vercel/hydrogen": "27.0.1",
71
- "@vercel/koa": "26.0.1",
72
- "@vercel/nestjs": "26.0.1",
73
- "@vercel/next": "30.0.1",
74
- "@vercel/node": "31.0.1",
75
- "@vercel/python": "32.0.1",
76
- "@vercel/redwood": "28.0.1",
77
- "@vercel/remix-builder": "31.0.1",
78
- "@vercel/ruby": "28.0.1",
79
- "@vercel/rust": "27.0.1",
80
- "@vercel/static-build": "28.0.1"
62
+ "@vercel/backends": "26.0.2-snapshot-f90d5a1ebf99",
63
+ "@vercel/container": "26.1.0-snapshot-f90d5a1ebf99",
64
+ "@vercel/elysia": "26.0.2-snapshot-f90d5a1ebf99",
65
+ "@vercel/express": "26.0.2-snapshot-f90d5a1ebf99",
66
+ "@vercel/fastify": "26.0.2-snapshot-f90d5a1ebf99",
67
+ "@vercel/go": "29.0.2-snapshot-f90d5a1ebf99",
68
+ "@vercel/h3": "26.0.2-snapshot-f90d5a1ebf99",
69
+ "@vercel/hono": "26.0.2-snapshot-f90d5a1ebf99",
70
+ "@vercel/hydrogen": "27.0.2-snapshot-f90d5a1ebf99",
71
+ "@vercel/koa": "26.0.2-snapshot-f90d5a1ebf99",
72
+ "@vercel/nestjs": "26.0.2-snapshot-f90d5a1ebf99",
73
+ "@vercel/next": "30.1.0-snapshot-f90d5a1ebf99",
74
+ "@vercel/node": "31.0.2-snapshot-f90d5a1ebf99",
75
+ "@vercel/python": "32.0.2-snapshot-f90d5a1ebf99",
76
+ "@vercel/redwood": "28.0.2-snapshot-f90d5a1ebf99",
77
+ "@vercel/remix-builder": "31.0.2-snapshot-f90d5a1ebf99",
78
+ "@vercel/ruby": "28.0.2-snapshot-f90d5a1ebf99",
79
+ "@vercel/rust": "27.0.2-snapshot-f90d5a1ebf99",
80
+ "@vercel/static-build": "28.0.2-snapshot-f90d5a1ebf99"
81
81
  },
82
82
  "devDependencies": {
83
- "@vercel-internals/cli-core": "65.17.0"
83
+ "@vercel-internals/cli-core": "66.0.0-snapshot-f90d5a1ebf99"
84
84
  },
85
+ "os": [
86
+ "aix",
87
+ "android",
88
+ "cloudabi",
89
+ "cygwin",
90
+ "freebsd",
91
+ "haiku",
92
+ "ios",
93
+ "netbsd",
94
+ "openbsd",
95
+ "openharmony",
96
+ "os390",
97
+ "os400",
98
+ "sunos"
99
+ ],
85
100
  "scripts": {
86
101
  "build": "node scripts/build.mjs"
87
102
  }
@@ -1,8 +0,0 @@
1
- import { createRequire as __createRequire } from 'node:module';
2
- import { fileURLToPath as __fileURLToPath } from 'node:url';
3
- import { dirname as __dirname_ } from 'node:path';
4
- const require = __createRequire(import.meta.url);
5
- const __filename = __fileURLToPath(import.meta.url);
6
- const __dirname = __dirname_(__filename);
7
- import{loadScopeNames,printBudgetAlertsTable,scopeNameOf}from"./chunk-L3FMGAEY.js";import{organizationTarget,parseBudgetFilterOptions,rejectUnexpectedArgs,resolveBudgetFilter,resolveBudgetOwner,trackScopeOptions,typeFilter}from"./chunk-UGHD3ALY.js";import{handleValidationError,outputError,validateOptionalIntegerRange,validateTimeBound,validateTimeOrder}from"./chunk-ZJNDLFZ7.js";import"./chunk-VHVBGL5G.js";import"./chunk-ZKQ47ZXI.js";import"./chunk-D3M2JG5C.js";import"./chunk-2AMO2VMV.js";import{INVALID_NEXT_MESSAGE}from"./chunk-C6GY2G73.js";import{budgetAlertJson,listBudgetAlerts,ownerJson}from"./chunk-IG5ACFU6.js";import{getSubcommand}from"./chunk-ETV3C2CV.js";import"./chunk-CJZE7647.js";import{MAX_LIST_LIMIT,getNextPageCommand,printNextPageCommand}from"./chunk-D44WCAOX.js";import{getCommandAliases}from"./chunk-7YNV6Q6G.js";import"./chunk-DDPH26ZO.js";import"./chunk-PIDEH4SJ.js";import"./chunk-IIK6GUVI.js";import{alertsListSubcommand,alertsSubcommand,isBudgetScope}from"./chunk-C35SG42R.js";import"./chunk-2GBU6ULJ.js";import"./chunk-EJLYDHT7.js";import"./chunk-QOLGACFD.js";import"./chunk-TK7K6GCG.js";import"./chunk-BMIYC2MH.js";import"./chunk-6CJFPT4F.js";import"./chunk-ZZD5W5KT.js";import"./chunk-VHSAI6FS.js";import"./chunk-GLCSWIB4.js";import"./chunk-6FYPSSL4.js";import"./chunk-XECELSF5.js";import"./chunk-5ZCSFPWG.js";import"./chunk-DOBV3XLO.js";import"./chunk-UDZJCD5W.js";import"./chunk-UQZZX2J7.js";import"./chunk-F7L5SXJM.js";import"./chunk-PY4WWD6Z.js";import"./chunk-XDYVJWGX.js";import"./chunk-JALVF3C2.js";import"./chunk-BPIGFKNN.js";import"./chunk-AB4WXRCO.js";import"./chunk-SYJXONEV.js";import{printError}from"./chunk-LZ3KMDYM.js";import"./chunk-7KCRYDGK.js";import"./chunk-GLIQ4KNY.js";import{TelemetryClient}from"./chunk-KDCODXVL.js";import"./chunk-NWGBDBZI.js";import{AGENT_REASON}from"./chunk-N465KVPA.js";import"./chunk-DTUEHPME.js";import{require_pluralize}from"./chunk-4HR3I3ML.js";import"./chunk-LOA7SZWH.js";import{parseArguments,takeCommand}from"./chunk-LYL26S3N.js";import"./chunk-2VBFQZ72.js";import{validateJsonOutput}from"./chunk-6GKP6VUF.js";import"./chunk-MXTC4ZAQ.js";import"./chunk-4NTBYNFR.js";import"./chunk-4SAVH3H7.js";import{isAPIError}from"./chunk-GOI2VVI7.js";import"./chunk-B4KA3ZH2.js";import"./chunk-BOJDM3O7.js";import{output_manager_default}from"./chunk-AP6DZGTK.js";import"./chunk-BLUPZPAS.js";import"./chunk-5MDNVAE6.js";import"./chunk-MCYG7CCE.js";import"./chunk-YHPPP3SF.js";import"./chunk-24SIHFEW.js";import{getFlagsSpecification}from"./chunk-CFJBDBYH.js";import"./chunk-2BKALEOP.js";import"./chunk-NB2WLB3J.js";import"./chunk-ISWW3DKF.js";import"./chunk-BRQUZ5NC.js";import"./chunk-BULSRTQE.js";import{__toESM}from"./chunk-BZENIQ7N.js";var import_pluralize=__toESM(require_pluralize(),1);function encodeBudgetAlertsCursor(value){return Buffer.from(JSON.stringify({c:value.cursor,t:value.teamId,o:value.owner==="organization"?value.owner:void 0,s:value.since,u:value.until,sc:value.selector?.scope,si:value.selector&&"scopeId"in value.selector?value.selector.scopeId:void 0})).toString("base64url")}function decodeBudgetAlertsCursor(value){if(value===void 0)return{valid:!0,value:void 0};let invalid={valid:!1,code:"INVALID_NEXT",message:INVALID_NEXT_MESSAGE},raw;try{raw=JSON.parse(Buffer.from(value,"base64url").toString("utf8"))}catch{return invalid}if(typeof raw!="object"||raw===null)return invalid;let{c,t,o,s,u,sc,si}=raw;if(typeof c!="string"||typeof t!="string"||!(o===void 0||o==="organization"&&sc==="organization"&&si===void 0)||!isOptionalMs(s)||!isOptionalMs(u)||!(sc===void 0||isBudgetScope(sc)||isScopeList(sc))||!(si===void 0||typeof si=="string"&&isBudgetScope(sc)))return invalid;let selector;return isScopeList(sc)?selector={scope:sc}:isBudgetScope(sc)&&(selector=si===void 0?{scope:sc}:{scope:sc,scopeId:si}),o==="organization"?{valid:!0,value:{cursor:c,teamId:t,owner:o,since:s,until:u,selector:{scope:"organization",orgId:t}}}:{valid:!0,value:{cursor:c,teamId:t,since:s,until:u,selector}}}function isScopeList(value){return Array.isArray(value)&&value.length>0&&value.every(isBudgetScope)}function isOptionalMs(value){return value===void 0||Number.isFinite(value)}var BudgetAlertsTelemetryClient=class extends TelemetryClient{trackCliOptionOrganization(organization){organization&&this.trackCliOption({option:"organization",value:this.redactedValue})}trackCliOptionProject(project){project&&this.trackCliOption({option:"project",value:this.redactedValue})}trackCliOptionType(types){types?.length&&this.trackCliOption({option:"type",value:types.join(",")})}trackCliOptionProduct(product){product&&this.trackCliOption({option:"product",value:this.redactedValue})}trackCliSubcommandList(actual){this.trackCliSubcommand({subcommand:"list",value:actual})}trackCliOptionSince(since){since&&this.trackCliOption({option:"since",value:this.redactedValue})}trackCliOptionUntil(until){until&&this.trackCliOption({option:"until",value:this.redactedValue})}trackCliOptionLimit(limit){limit!==void 0&&this.trackCliOption({option:"limit",value:String(limit)})}trackCliOptionNext(next){next&&this.trackCliOption({option:"next",value:this.redactedValue})}trackCliOptionFormat(format){format&&this.trackCliOption({option:"format",value:format})}trackCliFlagJson(json){json&&this.trackCliFlag("json")}};async function alerts(client,argv){let telemetry=new BudgetAlertsTelemetryClient({opts:{store:client.telemetryEventStore}}),action,parsedArgs,flagsSpecification=getFlagsSpecification(alertsSubcommand.options);try{let selected=takeCommand(argv,flagsSpecification);action=getSubcommand(selected.command?[selected.command]:[],{list:getCommandAliases(alertsListSubcommand)}),parsedArgs=parseArguments(action.subcommand?selected.args:argv,flagsSpecification)}catch(error){return printError(error),2}let{flags:opts,args}=parsedArgs;action.subcommand==="list"&&telemetry.trackCliSubcommandList(action.subcommandOriginal);let formatResult=validateJsonOutput(opts);if(!formatResult.valid)return output_manager_default.error(formatResult.error),2;let asJson=formatResult.jsonOutput;if(rejectUnexpectedArgs(args,"billing budgets alerts"))return 2;let scopeArgs=parseBudgetFilterOptions(opts);if("error"in scopeArgs)return outputError(client,asJson,"INVALID_ARGUMENTS",scopeArgs.error);trackScopeOptions(telemetry,opts),telemetry.trackCliOptionType(opts["--type"]),telemetry.trackCliOptionSince(opts["--since"]),telemetry.trackCliOptionUntil(opts["--until"]),telemetry.trackCliOptionLimit(opts["--limit"]),telemetry.trackCliOptionNext(opts["--next"]),telemetry.trackCliOptionFormat(opts["--format"]?"json":void 0),telemetry.trackCliFlagJson(opts["--json"]);let nextResult=decodeBudgetAlertsCursor(opts["--next"]);if(!nextResult.valid)return handleValidationError(nextResult,asJson,client);let cursor=nextResult.value,{types}=scopeArgs.value;if(cursor&&types&&!sameSelector(cursor.selector,{scope:types}))return outputError(client,asJson,"INVALID_NEXT",OTHER_FILTER_CURSOR);let warnings=[],limit=opts["--limit"];if(typeof limit=="number"&&Number.isInteger(limit)&&limit>MAX_LIST_LIMIT){let message=`--limit ${limit} is above the maximum of ${MAX_LIST_LIMIT}. Using ${MAX_LIST_LIMIT}.`;warnings.push({reason:AGENT_REASON.LIMIT_CLAMPED,message}),asJson||output_manager_default.warning(message),limit=MAX_LIST_LIMIT}let limitResult=validateOptionalIntegerRange(limit,{flag:"--limit",min:1,max:MAX_LIST_LIMIT});if(!limitResult.valid)return handleValidationError(limitResult,asJson,client);let sinceResult=validateTimeBound(opts["--since"]);if(!sinceResult.valid)return handleValidationError(sinceResult,asJson,client);let untilResult=validateTimeBound(opts["--until"]);if(!untilResult.valid)return handleValidationError(untilResult,asJson,client);let order=validateTimeOrder(sinceResult.value,untilResult.value);if(!order.valid)return handleValidationError(order,asJson,client);let resolvedOwner=await resolveBudgetOwner(client,scopeArgs.value.input??(cursor?.owner==="organization"?{scope:"organization",value:cursor.teamId}:null));if(!resolvedOwner)return 2;if("error"in resolvedOwner)return outputError(client,asJson,resolvedOwner.usage?"INVALID_ARGUMENTS":"API_ERROR",resolvedOwner.error);let owner=resolvedOwner.value;if(cursor&&cursor.teamId!==owner.id)return outputError(client,asJson,"INVALID_NEXT",`This --next cursor is from another team or organization, not ${owner.slug}. Use the --scope or --organization it was printed with.`);let since=cursor?cursor.since:sinceResult.value?.getTime(),until=cursor?cursor.until:untilResult.value?.getTime();output_manager_default.spinner("Fetching budget alerts\u2026");let resolved=cursor&&!scopeArgs.value.input&&!scopeArgs.value.types?{value:cursorFilter(owner,cursor.selector)}:await resolveBudgetFilter(client,owner,scopeArgs.value);if("error"in resolved)return output_manager_default.stopSpinner(),outputError(client,asJson,resolved.usage?"INVALID_ARGUMENTS":"API_ERROR",resolved.error);let filter=resolved.value;if(cursor&&!sameSelector(cursor.selector,filter.selector))return output_manager_default.stopSpinner(),outputError(client,asJson,"INVALID_NEXT",OTHER_FILTER_CURSOR);let page;try{page=await listBudgetAlerts(client,filter.selector,{since,until,limit:limitResult.value,next:cursor?.cursor})}catch(err){if(output_manager_default.stopSpinner(),isAPIError(err))return err.code==="invalid_cursor"?outputError(client,asJson,"INVALID_NEXT",INVALID_NEXT_MESSAGE):outputError(client,asJson,err.code||"API_ERROR",err.message);throw err}let names=await loadScopeNames(client,owner,page.data);output_manager_default.stopSpinner();let next=page.next?encodeBudgetAlertsCursor({cursor:page.next,teamId:owner.id,owner:owner.type,since,until,selector:filter.selector}):null;if(asJson)return client.stdout.write(`${JSON.stringify({...ownerJson(owner),...filter.selector?{filter:filter.json}:{},alerts:page.data.map(alert=>budgetAlertJson(alert,scopeNameOf(names,alert))),pagination:{next},...warnings.length>0?{warnings}:{}},null,2)}
8
- `),0;let{where}=filter;return page.data.length===0?(output_manager_default.log(cursor?`No more budget alerts ${where}.`:`No budget alerts found ${where}.`),0):(output_manager_default.log(`${(0,import_pluralize.default)("budget alert",page.data.length,!0)} ${where}`),client.stdout.write(printBudgetAlertsTable(page.data,names)),next&&printNextPageCommand(getNextPageCommand(client.argv,next,WINDOW_FLAGS)),0)}function cursorFilter(owner,selector){if(owner.type==="organization")return organizationTarget(owner);if(!selector)return typeFilter(owner,null);if(Array.isArray(selector.scope))return typeFilter(owner,selector.scope);let{scope}=selector,scopeId="scopeId"in selector?selector.scopeId:void 0;return{selector,args:"",where:scopeId?`on ${scope} ${scopeId}`:`on ${scope}`,json:{scope,scopeId:scopeId??null,name:null}}}var OTHER_FILTER_CURSOR="This --next cursor is from a list with a different --type, --organization, --project, or --product. Use the options it was printed with.";function sameSelector(a,b){return queryKey(a)===queryKey(b)}function queryKey(query){return query?Array.isArray(query.scope)?query.scope.join(","):"scopeId"in query&&query.scopeId?`${query.scope}:${query.scopeId}`:query.scope:""}var WINDOW_FLAGS=["--since","-s","--until","-u"];export{alerts as default};
@@ -1,7 +0,0 @@
1
- import { createRequire as __createRequire } from 'node:module';
2
- import { fileURLToPath as __fileURLToPath } from 'node:url';
3
- import { dirname as __dirname_ } from 'node:path';
4
- const require = __createRequire(import.meta.url);
5
- const __filename = __fileURLToPath(import.meta.url);
6
- const __dirname = __dirname_(__filename);
7
- import{js_yaml_default}from"./chunk-V6Y6UK6B.js";import{require_minimatch}from"./chunk-REJLEESP.js";import{pullEnvRecords}from"./chunk-6MQAEEY6.js";import{output_manager_default}from"./chunk-AP6DZGTK.js";import{__toESM}from"./chunk-BZENIQ7N.js";var INTEGRATIONS_POLL_INTERVAL_MS=5e3,INTEGRATIONS_POLL_TIMEOUT_MS=3*60*1e3;async function fetchDeploymentBuildEnv(client,deploymentId,{quiet=!1}={}){let deadline=Date.now()+INTEGRATIONS_POLL_TIMEOUT_MS,isPolling=!1;for(;Date.now()<deadline;)try{return await pullEnvRecords(client,deploymentId,"vercel-cli:pull")}catch(err){if(err&&typeof err=="object"&&"integrationsStatus"in err&&err.integrationsStatus==="pending"){!isPolling&&!quiet&&(output_manager_default.spinner("Waiting for deployment integrations to finish provisioning..."),isPolling=!0),await new Promise(resolve=>setTimeout(resolve,INTEGRATIONS_POLL_INTERVAL_MS));continue}throw err}throw new Error("Timed out waiting for deployment integrations to complete provisioning.")}import{existsSync,readFileSync}from"node:fs";import{dirname,join,parse,relative}from"node:path";var import_minimatch=__toESM(require_minimatch(),1);function findWorkspaceRootCandidates(startDir){let{root}=parse(startDir),candidates=[],dir=startDir;for(let i=0;i<64;i++){let type=workspaceTypeOf(dir);if(type&&candidates.unshift({dir,type}),dir===root)break;let parent=dirname(dir);if(parent===dir)break;dir=parent}return candidates}function workspaceTypeOf(dir){if(existsSync(join(dir,"pnpm-workspace.yaml")))return"pnpm";let pkgPath=join(dir,"package.json");if(existsSync(pkgPath))try{let pkg=JSON.parse(readFileSync(pkgPath,"utf8")),{workspaces}=pkg;if(Array.isArray(workspaces)&&workspaces.length>0||workspaces&&typeof workspaces=="object"&&Array.isArray(workspaces.packages)&&workspaces.packages.length>0)return"npm"}catch{}return null}function readWorkspacePatterns(candidate){try{if(candidate.type==="pnpm"){let packages2=js_yaml_default.load(readFileSync(join(candidate.dir,"pnpm-workspace.yaml"),"utf8"))?.packages;return Array.isArray(packages2)?packages2.filter(p=>typeof p=="string"):null}let pkg=JSON.parse(readFileSync(join(candidate.dir,"package.json"),"utf8")),{workspaces}=pkg,packages=Array.isArray(workspaces)?workspaces:workspaces?.packages;return Array.isArray(packages)?packages.filter(p=>typeof p=="string"):null}catch{return null}}function workspaceClaims(candidate,memberDir){let rel=normalizeRelative(relative(candidate.dir,memberDir));if(rel==="")return!1;let patterns=readWorkspacePatterns(candidate);if(!patterns||patterns.length===0)return!1;let positives=[],negatives=[];for(let pattern of patterns)pattern.startsWith("!")?negatives.push(normalizeRelative(pattern.slice(1))):positives.push(normalizeRelative(pattern));let matches=pattern=>(0,import_minimatch.default)(rel,pattern,{dot:!1});return!positives.some(matches)||negatives.some(matches)?!1:existsSync(join(memberDir,"package.json"))}function resolvePerDirectoryLinkRoot(anchorDir,rootDirectorySetting){let repoRoot=anchorDir;for(let candidate of findWorkspaceRootCandidates(anchorDir))if(workspaceClaims(candidate,anchorDir)){repoRoot=candidate.dir;break}let linkLocation=normalizeRelative(relative(repoRoot,anchorDir));if(linkLocation==="")return{repoRoot,resolvedRootDirectory:""};let setting=normalizeRelative(rootDirectorySetting??"");return setting===""?{repoRoot,resolvedRootDirectory:linkLocation}:existsSync(join(anchorDir,setting))?{repoRoot,resolvedRootDirectory:normalizeRelative(relative(repoRoot,join(anchorDir,setting)))}:{repoRoot,resolvedRootDirectory:linkLocation,advisory:`Ignoring "rootDirectory" setting "${setting}" for the project linked in "${anchorDir}": "${join(anchorDir,setting)}" does not exist, so the build will use the linked directory "${linkLocation}" instead. Remove the "rootDirectory" setting, or configure it at the repository root.`}}function normalizeRelative(p){let normalized=p.replace(/\\/g,"/").replace(/^\.\//,"").replace(/^\/+/,"").replace(/\/+$/,"");return normalized==="."?"":normalized}export{fetchDeploymentBuildEnv,resolvePerDirectoryLinkRoot};