@vercel/cli-support 68.0.0 → 68.1.0-snapshot-f8c293166d1f

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 (467) hide show
  1. package/dist/chunks/{add-RH3RQPGP.js → add-56T4ON6W.js} +1 -1
  2. package/dist/chunks/{add-4ZXS4RRN.js → add-CDHMIDYR.js} +1 -1
  3. package/dist/chunks/{add-G2LGF4HL.js → add-JC2KSFHX.js} +1 -1
  4. package/dist/chunks/{alerts-3352VWDL.js → alerts-TMFON3SU.js} +1 -1
  5. package/dist/chunks/{api-endpoints-2IYXPLEG.js → api-endpoints-EY2DO75S.js} +1 -1
  6. package/dist/chunks/auth-4A5CXZOA.js +7 -0
  7. package/dist/chunks/auth-ZJV6OHMS.js +7 -0
  8. package/dist/chunks/{build-3UFKTTS5.js → build-ALEGEJFV.js} +1 -1
  9. package/dist/chunks/{chunk-JDDPCL3K.js → chunk-245QYIHU.js} +1 -1
  10. package/dist/chunks/{chunk-SGNDE4YS.js → chunk-2ACABADL.js} +1 -1
  11. package/dist/chunks/{chunk-D6REP5QQ.js → chunk-2GXP676X.js} +1 -1
  12. package/dist/chunks/{chunk-MXTC4ZAQ.js → chunk-2ILZM77F.js} +1 -1
  13. package/dist/chunks/{chunk-OFDTADPQ.js → chunk-2K7U64CN.js} +1 -1
  14. package/dist/chunks/{chunk-DTCQWGHE.js → chunk-2KJIWBJQ.js} +2 -2
  15. package/dist/chunks/{chunk-T4DOV5S4.js → chunk-2V5IP6A5.js} +1 -1
  16. package/dist/chunks/{chunk-L46V6VL3.js → chunk-37SWAKIV.js} +1 -1
  17. package/dist/chunks/{chunk-ZXSZH7N5.js → chunk-3GKXXGSO.js} +1 -1
  18. package/dist/chunks/{chunk-QSL6AG2B.js → chunk-3HP6FOOL.js} +1 -1
  19. package/dist/chunks/{chunk-M32HBBPK.js → chunk-3WXQHKSS.js} +1 -1
  20. package/dist/chunks/{chunk-JELLVPCM.js → chunk-3XMKTJ5T.js} +1 -1
  21. package/dist/chunks/{chunk-KLBSCTLL.js → chunk-3YD5WA5R.js} +1 -1
  22. package/dist/chunks/{chunk-KIDGOY4F.js → chunk-3YNMC7FF.js} +1 -1
  23. package/dist/chunks/{chunk-YLXXGQQQ.js → chunk-42D3CPWB.js} +1 -1
  24. package/dist/chunks/{chunk-HRR57QNP.js → chunk-46R47IE5.js} +1 -1
  25. package/dist/chunks/{chunk-ZRFDZO7Y.js → chunk-4D4IP557.js} +1 -1
  26. package/dist/chunks/{chunk-OOPF73RV.js → chunk-4FPYV37P.js} +1 -1
  27. package/dist/chunks/{chunk-HR4ID3MU.js → chunk-4HNNFJLO.js} +1 -1
  28. package/dist/chunks/{chunk-5WYJSLCF.js → chunk-4HYZZASG.js} +1 -1
  29. package/dist/chunks/{chunk-AMZ7AUYX.js → chunk-4JPDCF2O.js} +1 -1
  30. package/dist/chunks/{chunk-CAJ2OUSR.js → chunk-4L7AKIX7.js} +1 -1
  31. package/dist/chunks/chunk-4SI66IFC.js +7 -0
  32. package/dist/chunks/{chunk-MCYG7CCE.js → chunk-4SIQE2W4.js} +1 -1
  33. package/dist/chunks/chunk-4WEKKDOL.js +8 -0
  34. package/dist/chunks/{chunk-Q6YPC3GK.js → chunk-57H5KQGN.js} +1 -1
  35. package/dist/chunks/{chunk-NWGBDBZI.js → chunk-5F4RJ32E.js} +1 -1
  36. package/dist/chunks/{chunk-GXWBL6YV.js → chunk-5KGALAC2.js} +1 -1
  37. package/dist/chunks/{chunk-KRPY5FHJ.js → chunk-5QC4IKRZ.js} +1 -1
  38. package/dist/chunks/{chunk-VBANKZWM.js → chunk-5RRSLENO.js} +1 -1
  39. package/dist/chunks/{chunk-2AMO2VMV.js → chunk-64GNDWWX.js} +1 -1
  40. package/dist/chunks/{chunk-J24BABG4.js → chunk-6G2AZBW5.js} +1 -1
  41. package/dist/chunks/{chunk-DY643UZ7.js → chunk-6JBKQ5LR.js} +2 -3
  42. package/dist/chunks/{chunk-X755TPX6.js → chunk-6O2LDFGJ.js} +1 -1
  43. package/dist/chunks/chunk-6OOJFAF5.js +20 -0
  44. package/dist/chunks/{chunk-T44RB754.js → chunk-6SX4TE7Y.js} +1 -1
  45. package/dist/chunks/{chunk-AW5KOUD7.js → chunk-6SYKGWTJ.js} +1 -1
  46. package/dist/chunks/chunk-6ZD6IARJ.js +33 -0
  47. package/dist/chunks/{chunk-O3YZLVC6.js → chunk-72CSJCJX.js} +3 -3
  48. package/dist/chunks/chunk-75TGTOZQ.js +8 -0
  49. package/dist/chunks/{chunk-GRRVPFSB.js → chunk-7JQBC2HB.js} +1 -1
  50. package/dist/chunks/{chunk-Y3V4JYK6.js → chunk-7MBJ4YIK.js} +1 -1
  51. package/dist/chunks/{chunk-PSOVLGHP.js → chunk-7O3D3XED.js} +1 -1
  52. package/dist/chunks/{chunk-FXLZM6Q7.js → chunk-7PK2JFEH.js} +1 -1
  53. package/dist/chunks/chunk-7Q5I3L37.js +68 -0
  54. package/dist/chunks/{chunk-24SIHFEW.js → chunk-7QHUMMBA.js} +1 -1
  55. package/dist/chunks/{chunk-4HR3I3ML.js → chunk-7TRHPXCG.js} +1 -1
  56. package/dist/chunks/{chunk-BLUPZPAS.js → chunk-7Y572CPZ.js} +1 -1
  57. package/dist/chunks/{chunk-ATSAMHUZ.js → chunk-A3WRF4AB.js} +1 -1
  58. package/dist/chunks/{chunk-6DBLXAJI.js → chunk-AGFG7WHE.js} +1 -1
  59. package/dist/chunks/{chunk-YFOBGEOW.js → chunk-AI32LWRL.js} +1 -1
  60. package/dist/chunks/chunk-AJ3KPZLM.js +18 -0
  61. package/dist/chunks/{chunk-MYVALJ4D.js → chunk-AJJIPBAG.js} +1 -1
  62. package/dist/chunks/{chunk-TGIIE2L3.js → chunk-AP2JY545.js} +1 -1
  63. package/dist/chunks/{chunk-Z73UJVGD.js → chunk-AU54JBLF.js} +1 -1
  64. package/dist/chunks/{chunk-SQ62IODX.js → chunk-AUCQKYL2.js} +1 -1
  65. package/dist/chunks/{chunk-ZBOTJT5S.js → chunk-AULX6RDR.js} +1 -1
  66. package/dist/chunks/{chunk-37P7O3AQ.js → chunk-AWB4IKVC.js} +1 -1
  67. package/dist/chunks/{chunk-SCV7XEEO.js → chunk-AX6UCTOC.js} +1 -1
  68. package/dist/chunks/{chunk-MDXG7T7M.js → chunk-B4IOZL3K.js} +1 -1
  69. package/dist/chunks/{chunk-Y4YBQUQM.js → chunk-B6QW2OXJ.js} +1 -1
  70. package/dist/chunks/{chunk-YBAGKQXC.js → chunk-BCD4TRQF.js} +1 -1
  71. package/dist/chunks/{chunk-OQXHBPPS.js → chunk-BCRZI5IM.js} +1 -1
  72. package/dist/chunks/chunk-BFS4K2RF.js +7 -0
  73. package/dist/chunks/chunk-BKJ4H6KK.js +8 -0
  74. package/dist/chunks/{chunk-O3GQG2ML.js → chunk-BLA6V5UN.js} +2 -2
  75. package/dist/chunks/{chunk-COD3WAUI.js → chunk-BNWEJZAC.js} +1 -1
  76. package/dist/chunks/{chunk-5MDNVAE6.js → chunk-BVFFSUG3.js} +1 -1
  77. package/dist/chunks/{chunk-X6JQI64G.js → chunk-C6AOL5RF.js} +1 -1
  78. package/dist/chunks/{chunk-F7L5SXJM.js → chunk-CDO5IECP.js} +1 -1
  79. package/dist/chunks/{chunk-XOETL6DB.js → chunk-CHY2NJU4.js} +1 -1
  80. package/dist/chunks/{chunk-H24KFNPB.js → chunk-CKPY7TAQ.js} +1 -1
  81. package/dist/chunks/chunk-COOA33HY.js +7 -0
  82. package/dist/chunks/{chunk-PVASGBEF.js → chunk-CSU46B7Q.js} +1 -1
  83. package/dist/chunks/{chunk-DDZEKNQR.js → chunk-CX4WJVNY.js} +1 -1
  84. package/dist/chunks/{chunk-AVCLYJNC.js → chunk-CX6QYE3Y.js} +1 -1
  85. package/dist/chunks/{chunk-4SAVH3H7.js → chunk-DCFCPAFQ.js} +1 -1
  86. package/dist/chunks/{chunk-2FUGD6J7.js → chunk-DTEWQLNP.js} +1 -1
  87. package/dist/chunks/chunk-DXFFWNK4.js +8 -0
  88. package/dist/chunks/{chunk-F4KY2TOK.js → chunk-EAQLOKZX.js} +1 -1
  89. package/dist/chunks/{chunk-ZGM4K3B5.js → chunk-ECQW2R5M.js} +1 -1
  90. package/dist/chunks/{chunk-B4KA3ZH2.js → chunk-EFGZK6OY.js} +1 -1
  91. package/dist/chunks/{chunk-N3ZNAMGR.js → chunk-EFQCGYZF.js} +1 -1
  92. package/dist/chunks/{chunk-ID663OJ7.js → chunk-EL65DTVZ.js} +1 -1
  93. package/dist/chunks/{chunk-PAHYNO73.js → chunk-ELQO7254.js} +1 -1
  94. package/dist/chunks/{chunk-3G3FQYMW.js → chunk-ERMHTPO4.js} +1 -1
  95. package/dist/chunks/chunk-EV2VKG2V.js +8 -0
  96. package/dist/chunks/{chunk-LDDXXDN5.js → chunk-EYCKXHL4.js} +1 -1
  97. package/dist/chunks/{chunk-5727HGA6.js → chunk-F2VXECRT.js} +1 -1
  98. package/dist/chunks/{chunk-NMY2YZ6M.js → chunk-F5FBLRH3.js} +1 -1
  99. package/dist/chunks/{chunk-TU54LHNW.js → chunk-F6BUBFV2.js} +1 -1
  100. package/dist/chunks/{chunk-VWKA6RKB.js → chunk-FHNHVEOX.js} +1 -1
  101. package/dist/chunks/{chunk-D3M2JG5C.js → chunk-FIICEEXO.js} +1 -1
  102. package/dist/chunks/{chunk-QPNTR3PA.js → chunk-FVMRKUWL.js} +1 -1
  103. package/dist/chunks/{chunk-H3ZSF2P3.js → chunk-FWYKEEQK.js} +1 -1
  104. package/dist/chunks/{chunk-ZHGKJCQ2.js → chunk-G7RQVFID.js} +5 -5
  105. package/dist/chunks/chunk-GB77JTTX.js +8 -0
  106. package/dist/chunks/{chunk-FTNLCQC6.js → chunk-GHZ4YQCI.js} +1 -1
  107. package/dist/chunks/{chunk-7RABG6HV.js → chunk-GOH7QCG3.js} +1 -1
  108. package/dist/chunks/{chunk-4NTBYNFR.js → chunk-GOXGA37R.js} +1 -1
  109. package/dist/chunks/{chunk-23FY4PR3.js → chunk-GTBPHJRJ.js} +1 -1
  110. package/dist/chunks/{chunk-YTSGFU5T.js → chunk-GUFRGEM5.js} +1 -1
  111. package/dist/chunks/{chunk-U43WXZBP.js → chunk-H2O53DAZ.js} +1 -1
  112. package/dist/chunks/chunk-HAM7ZPEC.js +7 -0
  113. package/dist/chunks/{chunk-4SWS7RKX.js → chunk-HG7NRFC5.js} +1 -1
  114. package/dist/chunks/{chunk-BTI5TG6Q.js → chunk-HGXM4UBQ.js} +1 -1
  115. package/dist/chunks/{chunk-PX3V7X3Q.js → chunk-HI5PLVKM.js} +1 -1
  116. package/dist/chunks/chunk-HIEFNLLO.js +7 -0
  117. package/dist/chunks/{chunk-NMIB4JYP.js → chunk-HJCMNBDK.js} +1 -1
  118. package/dist/chunks/{chunk-6WBEU34Y.js → chunk-HLJ2UIG6.js} +1 -1
  119. package/dist/chunks/{chunk-DH4A4QMD.js → chunk-HMNIFPU2.js} +1 -1
  120. package/dist/chunks/{chunk-2KXLL3DX.js → chunk-HSQPQ5RV.js} +1 -1
  121. package/dist/chunks/{chunk-6NC2JFUQ.js → chunk-I254SHTL.js} +1 -1
  122. package/dist/chunks/{chunk-YN3HZJXW.js → chunk-I3NEZRVW.js} +1 -1
  123. package/dist/chunks/{chunk-WHEA5VLX.js → chunk-ICPRMAKB.js} +1 -1
  124. package/dist/chunks/{chunk-OPORM35X.js → chunk-IFMPBA4K.js} +1 -1
  125. package/dist/chunks/{chunk-MCRKBVZA.js → chunk-IMLHRJ4K.js} +1 -1
  126. package/dist/chunks/{chunk-KA2KG3SY.js → chunk-IR3E37HD.js} +1 -1
  127. package/dist/chunks/chunk-IVJEYHF5.js +8 -0
  128. package/dist/chunks/{chunk-BPUANOGW.js → chunk-IZV6K7RR.js} +1 -1
  129. package/dist/chunks/{chunk-OZKP3WKT.js → chunk-J4WXRM2Y.js} +1 -1
  130. package/dist/chunks/chunk-J5MGMWRV.js +9 -0
  131. package/dist/chunks/{chunk-4FBOQLPZ.js → chunk-J7DIPT7M.js} +1 -1
  132. package/dist/chunks/{chunk-BOJDM3O7.js → chunk-JCDPMWKO.js} +1 -1
  133. package/dist/chunks/{chunk-FB37TFVF.js → chunk-JEACGNHI.js} +1 -1
  134. package/dist/chunks/{chunk-MGKNSTU4.js → chunk-JJNTYM7J.js} +1 -1
  135. package/dist/chunks/{chunk-76NL3ZRJ.js → chunk-K45TGFUJ.js} +1 -1
  136. package/dist/chunks/{chunk-LUX4PBJL.js → chunk-K5GE24PG.js} +1 -1
  137. package/dist/chunks/{chunk-25565AGS.js → chunk-K7YK4PZP.js} +1 -1
  138. package/dist/chunks/{chunk-D6NVKMRP.js → chunk-KEFF3BL3.js} +1 -1
  139. package/dist/chunks/{chunk-FBYA6LLM.js → chunk-KHJWQ4WP.js} +1 -1
  140. package/dist/chunks/{chunk-EHAS6SQB.js → chunk-KMTQYFJF.js} +1 -1
  141. package/dist/chunks/{chunk-JCHZRW4N.js → chunk-KVZR24QI.js} +1 -1
  142. package/dist/chunks/{chunk-BRQUZ5NC.js → chunk-L4CSJDG7.js} +1 -1
  143. package/dist/chunks/{chunk-ISWW3DKF.js → chunk-L6MWUMWZ.js} +1 -1
  144. package/dist/chunks/{chunk-KKYNEEM7.js → chunk-LKXPJLOP.js} +1 -1
  145. package/dist/chunks/{chunk-Q7D7RGXM.js → chunk-LLHXL3SV.js} +1 -1
  146. package/dist/chunks/{chunk-EYRBV6RM.js → chunk-LNRKGW7S.js} +1 -1
  147. package/dist/chunks/{chunk-BS32OUOC.js → chunk-LPYHYTYI.js} +1 -1
  148. package/dist/chunks/{chunk-A2RZZQEP.js → chunk-LY3EY2VG.js} +1 -1
  149. package/dist/chunks/chunk-M2XLLWK7.js +7 -0
  150. package/dist/chunks/{chunk-7WDSOKOY.js → chunk-MAAJGMXM.js} +1 -1
  151. package/dist/chunks/{chunk-DWZBL4NK.js → chunk-MAIZY5BV.js} +1 -1
  152. package/dist/chunks/{chunk-BUBVZ6SQ.js → chunk-MDWUJ7TA.js} +1 -1
  153. package/dist/chunks/{chunk-YHPPP3SF.js → chunk-MF43WTDT.js} +1 -1
  154. package/dist/chunks/{chunk-V3YNYCRV.js → chunk-MHVM4VKT.js} +2 -2
  155. package/dist/chunks/chunk-MJ2HLVVL.js +13 -0
  156. package/dist/chunks/{chunk-6Z5REGCM.js → chunk-MMMX3KE2.js} +1 -1
  157. package/dist/chunks/{chunk-ISSNEDG5.js → chunk-MN2F4NPH.js} +1 -1
  158. package/dist/chunks/{chunk-QFE3RPMA.js → chunk-MTPHHAPR.js} +1 -1
  159. package/dist/chunks/{slugify-NMMUASYK.js → chunk-N3COHC7T.js} +1 -1
  160. package/dist/chunks/{chunk-27FVSW45.js → chunk-N7IBUNFY.js} +1 -1
  161. package/dist/chunks/{chunk-BZENIQ7N.js → chunk-NBPLUP7C.js} +1 -1
  162. package/dist/chunks/chunk-NE5RTEMC.js +7 -0
  163. package/dist/chunks/{chunk-CTBSRTJW.js → chunk-NFPO75IP.js} +1 -1
  164. package/dist/chunks/{chunk-XE4SLG5H.js → chunk-NNPXYFMY.js} +1 -1
  165. package/dist/chunks/{chunk-D6O5O3CW.js → chunk-NQPQRYHS.js} +1 -1
  166. package/dist/chunks/{chunk-3SF3ILIT.js → chunk-NUS3WWST.js} +1 -1
  167. package/dist/chunks/chunk-NVU7XTNI.js +11 -0
  168. package/dist/chunks/{chunk-ZBZQEDZY.js → chunk-NXFYKZVZ.js} +1 -1
  169. package/dist/chunks/chunk-NXUDP37D.js +7 -0
  170. package/dist/chunks/chunk-O7AF7CLE.js +8 -0
  171. package/dist/chunks/{chunk-MWFHS4HV.js → chunk-O7FAYZU6.js} +1 -1
  172. package/dist/chunks/{chunk-MDRI27KN.js → chunk-OCX4QZ3X.js} +1 -1
  173. package/dist/chunks/{chunk-YOKTRWQX.js → chunk-OD4RCBDD.js} +1 -1
  174. package/dist/chunks/{chunk-OAM5NJCU.js → chunk-OK52DDU5.js} +1 -1
  175. package/dist/chunks/{chunk-PFD7LETF.js → chunk-OM6NML7C.js} +1 -1
  176. package/dist/chunks/{chunk-HYAIA5YC.js → chunk-OVIWCH3S.js} +2 -2
  177. package/dist/chunks/chunk-OVVHONX7.js +8 -0
  178. package/dist/chunks/{chunk-J5SINMVO.js → chunk-P5IKPNRJ.js} +1 -1
  179. package/dist/chunks/chunk-PG3WQGEK.js +181 -0
  180. package/dist/chunks/{chunk-AW33SRYY.js → chunk-PH2MLBQO.js} +1 -1
  181. package/dist/chunks/{chunk-XHBZITV4.js → chunk-PKECY4JZ.js} +1 -1
  182. package/dist/chunks/{chunk-DGLE44KA.js → chunk-PKWSWWVW.js} +1 -1
  183. package/dist/chunks/{chunk-RHFNVIFD.js → chunk-PNN2Y2ZQ.js} +1 -1
  184. package/dist/chunks/{chunk-5A3DDLQR.js → chunk-PNTKMD3A.js} +1 -1
  185. package/dist/chunks/{chunk-XC25DYA7.js → chunk-PQQRSUUG.js} +2 -2
  186. package/dist/chunks/{chunk-BKFRN6C2.js → chunk-PR4NNS3O.js} +1 -1
  187. package/dist/chunks/{chunk-QHGPFYWQ.js → chunk-PROENC6V.js} +1 -1
  188. package/dist/chunks/chunk-PW67ZNDU.js +8 -0
  189. package/dist/chunks/{chunk-Z436ZYLV.js → chunk-Q2FGBONA.js} +1 -1
  190. package/dist/chunks/{chunk-U5SZQUYO.js → chunk-QCYCLWNG.js} +1 -1
  191. package/dist/chunks/{chunk-6TEYSBCT.js → chunk-QDSDYOMV.js} +1 -1
  192. package/dist/chunks/{chunk-S3L2OHPO.js → chunk-QNMWYJQW.js} +1 -1
  193. package/dist/chunks/{chunk-MMMJO2M3.js → chunk-QOIG2FJP.js} +1 -1
  194. package/dist/chunks/{chunk-MTZYPCZ7.js → chunk-QRPBDCDH.js} +1 -1
  195. package/dist/chunks/{chunk-INIZJZ3O.js → chunk-RDTWDVFO.js} +1 -1
  196. package/dist/chunks/{chunk-GD7AV7BO.js → chunk-RFD7CEL6.js} +1 -1
  197. package/dist/chunks/{chunk-TSIKSHYG.js → chunk-RIVRPVTH.js} +1 -1
  198. package/dist/chunks/{chunk-RYSO5U3E.js → chunk-RIXTYUYN.js} +1 -1
  199. package/dist/chunks/{chunk-7HQZRU25.js → chunk-RRX2AMWY.js} +1 -1
  200. package/dist/chunks/{chunk-CEA5NDJC.js → chunk-RTIVLPN7.js} +1 -1
  201. package/dist/chunks/chunk-RWVYBRVF.js +13 -0
  202. package/dist/chunks/chunk-S4ARHJGW.js +9 -0
  203. package/dist/chunks/chunk-S7FMMAST.js +7 -0
  204. package/dist/chunks/{chunk-Q4R34AVE.js → chunk-SHLKM7EZ.js} +1 -1
  205. package/dist/chunks/chunk-SIWT2MBT.js +8 -0
  206. package/dist/chunks/{chunk-7SLMNM55.js → chunk-SPPOQ54P.js} +1 -1
  207. package/dist/chunks/{chunk-BIABM3FB.js → chunk-SSOWIDKG.js} +1 -1
  208. package/dist/chunks/{chunk-AZVSMIPP.js → chunk-STDRVWDW.js} +1 -1
  209. package/dist/chunks/{chunk-M2Q2DUHO.js → chunk-SUD5V67L.js} +1 -1
  210. package/dist/chunks/{chunk-7EJQLVWX.js → chunk-SUT2PTL3.js} +1 -1
  211. package/dist/chunks/chunk-SWWLPWX7.js +17 -0
  212. package/dist/chunks/chunk-SX2JJDHM.js +17 -0
  213. package/dist/chunks/{chunk-3RFQ2NXZ.js → chunk-T4257EDB.js} +1 -1
  214. package/dist/chunks/{chunk-G24EKATW.js → chunk-T5DQCNBC.js} +1 -1
  215. package/dist/chunks/chunk-TASNZYJU.js +14 -0
  216. package/dist/chunks/{chunk-YTSUDTAK.js → chunk-TNNCGRBK.js} +1 -1
  217. package/dist/chunks/{chunk-D5JQZXL7.js → chunk-TR3M42DX.js} +1 -1
  218. package/dist/chunks/chunk-TTM4VQ4T.js +7 -0
  219. package/dist/chunks/{chunk-BYBELFCP.js → chunk-UAPEASRH.js} +1 -1
  220. package/dist/chunks/{chunk-DXFP22OK.js → chunk-UE6M2VKP.js} +1 -1
  221. package/dist/chunks/chunk-UGJRAFRA.js +8 -0
  222. package/dist/chunks/{chunk-3AFEVHHY.js → chunk-UGVOMXYR.js} +1 -1
  223. package/dist/chunks/{chunk-NB2WLB3J.js → chunk-UJ7YUIEJ.js} +1 -1
  224. package/dist/chunks/{chunk-7OZ7OKPS.js → chunk-UJINL7VK.js} +1 -1
  225. package/dist/chunks/{chunk-6KNWKZR4.js → chunk-UVBRWYYJ.js} +1 -1
  226. package/dist/chunks/{chunk-KNNIA3PS.js → chunk-UXAPG6IX.js} +1 -1
  227. package/dist/chunks/{chunk-6FEMU5YF.js → chunk-V45KKYNK.js} +1 -1
  228. package/dist/chunks/{chunk-A6CMQOL7.js → chunk-V7EJ7O6E.js} +1 -1
  229. package/dist/chunks/chunk-VB6SQWSB.js +9 -0
  230. package/dist/chunks/{chunk-E5A7E7X6.js → chunk-VBCWRNS4.js} +1 -1
  231. package/dist/chunks/{chunk-5U2YLD56.js → chunk-VG44VJB5.js} +1 -1
  232. package/dist/chunks/{chunk-DOOBZO4W.js → chunk-VJM3WCEC.js} +1 -1
  233. package/dist/chunks/{chunk-BYYNR34Q.js → chunk-VNS4Z72T.js} +1 -1
  234. package/dist/chunks/{chunk-CTMTO2W4.js → chunk-VQAIH2X5.js} +1 -1
  235. package/dist/chunks/{chunk-D2JNI6UB.js → chunk-VSDLCOK3.js} +1 -1
  236. package/dist/chunks/chunk-VUB4NBD4.js +15 -0
  237. package/dist/chunks/{chunk-KXMFGDO4.js → chunk-VV5TYUAT.js} +1 -1
  238. package/dist/chunks/chunk-W2YAOE3Z.js +7 -0
  239. package/dist/chunks/{chunk-JALVF3C2.js → chunk-WMIZ6Y4E.js} +1 -1
  240. package/dist/chunks/{chunk-R43H4T4L.js → chunk-WPWGH5CA.js} +1 -1
  241. package/dist/chunks/{chunk-22ZRVWYP.js → chunk-WU22X5RO.js} +2 -2
  242. package/dist/chunks/{chunk-TLKBGAOL.js → chunk-WWEUGL6W.js} +1 -1
  243. package/dist/chunks/{chunk-S6TAO4MD.js → chunk-X3A324UF.js} +1 -1
  244. package/dist/chunks/{chunk-JUAHDOL6.js → chunk-X5YKQ2RJ.js} +1 -1
  245. package/dist/chunks/{chunk-VJNTVPUV.js → chunk-X5ZBXCCY.js} +1 -1
  246. package/dist/chunks/{chunk-J3U2QD2L.js → chunk-X72FHJ6W.js} +1 -1
  247. package/dist/chunks/{chunk-E3AML3VR.js → chunk-XBT7X2Q4.js} +1 -1
  248. package/dist/chunks/{chunk-CDJ25IKC.js → chunk-XGCCTSBW.js} +1 -1
  249. package/dist/chunks/chunk-XHXWUAJE.js +32 -0
  250. package/dist/chunks/{chunk-U4Z2MMOF.js → chunk-XKVKG7CW.js} +1 -1
  251. package/dist/chunks/{chunk-4F73GVJZ.js → chunk-XO2CZXGA.js} +1 -1
  252. package/dist/chunks/{chunk-E3WP42P2.js → chunk-XPEWDJV6.js} +1 -1
  253. package/dist/chunks/{chunk-DNONVY2L.js → chunk-XXPUBGJZ.js} +2 -2
  254. package/dist/chunks/{chunk-UPDIZCP3.js → chunk-Y2J2ESAE.js} +1 -1
  255. package/dist/chunks/chunk-Y2KAVMM4.js +10 -0
  256. package/dist/chunks/{chunk-46ISU3XI.js → chunk-Y3ETQZSK.js} +2 -2
  257. package/dist/chunks/{chunk-5RMIM4S2.js → chunk-Y7SZI3JV.js} +1 -1
  258. package/dist/chunks/chunk-YBWLW6SW.js +7 -0
  259. package/dist/chunks/{chunk-B7IUFV5P.js → chunk-YDCILYRC.js} +1 -1
  260. package/dist/chunks/{chunk-67GZ5REA.js → chunk-YHZXIBS7.js} +1 -1
  261. package/dist/chunks/{chunk-5CVEW3HD.js → chunk-YLQCB6XY.js} +1 -1
  262. package/dist/chunks/{chunk-47E5IB3C.js → chunk-YNNU3GPR.js} +1 -1
  263. package/dist/chunks/{chunk-IVZNPSHU.js → chunk-YTBNOSND.js} +1 -1
  264. package/dist/chunks/{chunk-WAOS5OCB.js → chunk-YU33PPKX.js} +1 -1
  265. package/dist/chunks/{chunk-7JU5RJ3H.js → chunk-ZEBOIM34.js} +1 -1
  266. package/dist/chunks/{chunk-E7IN2DGU.js → chunk-ZEGUFI44.js} +1 -1
  267. package/dist/chunks/{chunk-NZ2TFADV.js → chunk-ZOJI7HYA.js} +1 -1
  268. package/dist/chunks/{clear-GL4SZ2XR.js → clear-FQ4L2ACT.js} +1 -1
  269. package/dist/chunks/{cli-embedded-NR5F35LW.js → cli-embedded-CZYKFQ6U.js} +2 -2
  270. package/dist/chunks/cli-truncate-CylqKOGj-WE5OLB6Q.js +7 -0
  271. package/dist/chunks/commands-Bx-lrmie-KJI5MSFW.js +10 -0
  272. package/dist/chunks/compile-vercel-config-GUTXMJOP.js +7 -0
  273. package/dist/chunks/{config-U4GLPYDY.js → config-4KECSIYK.js} +1 -1
  274. package/dist/chunks/{config-KSQQQMQQ.js → config-EEYAOPDR.js} +1 -1
  275. package/dist/chunks/config-HiWLfXRQ-G4JC3PIR.js +43 -0
  276. package/dist/chunks/connect-U3yG4EtI-KWEUMGCU.js +7 -0
  277. package/dist/chunks/connect-git-provider-MPYSAOTH.js +7 -0
  278. package/dist/chunks/cp-aFe-HVrK-JGQPCT5R.js +12 -0
  279. package/dist/chunks/create-ilHWvzSk-MPW7HE43.js +7 -0
  280. package/dist/chunks/create-project-FMUOSSNP.js +7 -0
  281. package/dist/chunks/{delete-D2WLQHVB.js → delete-JRMGVHFJ.js} +1 -1
  282. package/dist/chunks/{delete-O2VWRQC3.js → delete-LP4N4BXX.js} +1 -1
  283. package/dist/chunks/{describe-N36SISDN.js → describe-5M3XKRMV.js} +1 -1
  284. package/dist/chunks/detect-projects-DHS2E3N4.js +7 -0
  285. package/dist/chunks/detect-services-HCUFI3RJ.js +7 -0
  286. package/dist/chunks/{disable-EHRVY24G.js → disable-ZFDARZAF.js} +1 -1
  287. package/dist/chunks/{discard-QW5TMTXX.js → discard-PE5SSIDJ.js} +1 -1
  288. package/dist/chunks/dist-BGUQ47VG.js +7 -0
  289. package/dist/chunks/{dist-33WTJLVQ.js → dist-E4BMK7BO.js} +1 -1
  290. package/dist/chunks/{dist-RXYNZPEA.js → dist-S7GEJ656.js} +1 -1
  291. package/dist/chunks/domain-DGvr_U55-AZYOJW3J.js +8 -0
  292. package/dist/chunks/drives-Bi-Mnt2z-JAGBYE6W.js +14 -0
  293. package/dist/chunks/{edit-WM6KJPSI.js → edit-7S67WBSE.js} +1 -1
  294. package/dist/chunks/{edit-IZR537PS.js → edit-BATH6ETJ.js} +1 -1
  295. package/dist/chunks/{enable-5Z72O3NI.js → enable-JWLWXAZP.js} +1 -1
  296. package/dist/chunks/{engine-C8wCzkw--PYVABGU4.js → engine-C8wCzkw--72P7UD6T.js} +1 -1
  297. package/dist/chunks/{esm-IYH32MTQ.js → esm-B3P7PUFJ.js} +1 -1
  298. package/dist/chunks/{esm-5GQXHN7C.js → esm-CMSQLK7G.js} +1 -1
  299. package/dist/chunks/{esm-LEQXRLFV.js → esm-KWMRMP74.js} +1 -1
  300. package/dist/chunks/{esm-NHCCFW7Z.js → esm-LRBNA4QO.js} +1 -1
  301. package/dist/chunks/{esm-FJCIOBBV.js → esm-NVIK2MSG.js} +1 -1
  302. package/dist/chunks/{esm-T655CG6O.js → esm-RAS56M3I.js} +1 -1
  303. package/dist/chunks/{esm-QQ3MUOW4.js → esm-WU2ZS2IW.js} +1 -1
  304. package/dist/chunks/{exec-PCSP64LR.js → exec-6WGVP2E2.js} +1 -1
  305. package/dist/chunks/exec-Bwv4MDyN-SMCC4JHS.js +7 -0
  306. package/dist/chunks/{export-IWVMWM2H.js → export-DASZMUUD.js} +1 -1
  307. package/dist/chunks/extend-D9tq9Cot-Z4ORB3B2.js +8 -0
  308. package/dist/chunks/{fetch-proxy-MOKBS56A.js → fetch-proxy-ZIHXTNFP.js} +1 -1
  309. package/dist/chunks/fork-DQ6qfKqB-AJCZOGQR.js +9 -0
  310. package/dist/chunks/future-CNLTCF2D.js +7 -0
  311. package/dist/chunks/generate-cert-for-deploy-TCH3OY6G.js +7 -0
  312. package/dist/chunks/groups-B8JVEeKk-J5CCQYWU.js +10 -0
  313. package/dist/chunks/image-CDRXKTJG.js +7 -0
  314. package/dist/chunks/import-builders-XI6CYID6.js +7 -0
  315. package/dist/chunks/{inspect-6Y672OQ3.js → inspect-DSTHAT43.js} +1 -1
  316. package/dist/chunks/{inspect-SW2I7D6E.js → inspect-FCJC7XCN.js} +1 -1
  317. package/dist/chunks/{inspect-QT3QEFBW.js → inspect-FODCPYHT.js} +1 -1
  318. package/dist/chunks/{inspect-6J5DGZZ4.js → inspect-I7NZH44Z.js} +1 -1
  319. package/dist/chunks/{inspect-ALC2J4BF.js → inspect-JFRSCAAW.js} +1 -1
  320. package/dist/chunks/{inspect-47FM3OWG.js → inspect-RSSQ5YKF.js} +1 -1
  321. package/dist/chunks/{list-CXXDI5UV.js → list-7K3LEJXV.js} +1 -1
  322. package/dist/chunks/{list-BIFH4KO5.js → list-HWDVPR4V.js} +1 -1
  323. package/dist/chunks/{list-TGDHJKDT.js → list-NT2RHNIB.js} +1 -1
  324. package/dist/chunks/{list-2CMCXXP4.js → list-QDBAXYKL.js} +1 -1
  325. package/dist/chunks/list-iqQFvOHx-EWWTMITV.js +7 -0
  326. package/dist/chunks/log-update-DsqoChS1-DG7F5XJ4.js +11 -0
  327. package/dist/chunks/login-DGxA9ez--ZRIJ24TS.js +13 -0
  328. package/dist/chunks/login-RWXYD2CO.js +7 -0
  329. package/dist/chunks/{login-IUQDG334.js → login-WHXNCPDU.js} +1 -1
  330. package/dist/chunks/logout-OEbPJLu2-7NPM6ALK.js +8 -0
  331. package/dist/chunks/logs-RDOQVAER.js +7 -0
  332. package/dist/chunks/{ls-YTKJRKD3.js → ls-2OYMFZIB.js} +1 -1
  333. package/dist/chunks/{ls-7D73WVOF.js → ls-2PCKZKR7.js} +1 -1
  334. package/dist/chunks/{ls-GC5MX2HZ.js → ls-7DUE3OKC.js} +1 -1
  335. package/dist/chunks/{ls-C75Z5FBX.js → ls-ASWAYYAI.js} +1 -1
  336. package/dist/chunks/{ls-ERDQLUT2.js → ls-PEFQHSG3.js} +1 -1
  337. package/dist/chunks/{ls-4DNFF35I.js → ls-UQZB42CA.js} +1 -1
  338. package/dist/chunks/{ls-IQUZ6GWG.js → ls-XJZFHHWA.js} +1 -1
  339. package/dist/chunks/migrate-experimental-services-2E5TRQU6.js +7 -0
  340. package/dist/chunks/{mutate-YJNE2733.js → mutate-QXTPOGVD.js} +1 -1
  341. package/dist/chunks/{native-self-update-Q3EN6NZK.js → native-self-update-T75AUBHJ.js} +1 -1
  342. package/dist/chunks/{notifications-2HU4L7WA.js → notifications-F2BUWHH4.js} +1 -1
  343. package/dist/chunks/{open-MA7QGJKO.js → open-5FUW57NF.js} +1 -1
  344. package/dist/chunks/{openapi-POBVCXS3.js → openapi-NZLMBOMR.js} +1 -1
  345. package/dist/chunks/{permissions-AU5M5A6G.js → permissions-ABXSL4I4.js} +1 -1
  346. package/dist/chunks/{plugin-offer-E53UQXXX.js → plugin-offer-IMTYE365.js} +1 -1
  347. package/dist/chunks/prompt-missing-credentials-3MKVB7HN.js +7 -0
  348. package/dist/chunks/{publish-G7NQESCE.js → publish-5AE7VXIO.js} +1 -1
  349. package/dist/chunks/pull-MGQ2TMA3.js +7 -0
  350. package/dist/chunks/purchase-domain-if-available-MU5TGXLG.js +7 -0
  351. package/dist/chunks/{push-BG7UEIKY.js → push-SBTMPRZE.js} +1 -1
  352. package/dist/chunks/query-5Q6ZV2TP.js +7 -0
  353. package/dist/chunks/{raw-query-QHFSKN55.js → raw-query-OAYC3OTN.js} +1 -1
  354. package/dist/chunks/read-BTA5slYO-TGRGDUB5.js +8 -0
  355. package/dist/chunks/{reauthenticate-U2LOFDFP.js → reauthenticate-PXEYMV7G.js} +1 -1
  356. package/dist/chunks/remove-CCa99nz9-52C5X3OV.js +7 -0
  357. package/dist/chunks/{remove-IB7C6LII.js → remove-WSK5OYNV.js} +1 -1
  358. package/dist/chunks/{reorder-E5UYNMML.js → reorder-DT32UBAI.js} +1 -1
  359. package/dist/chunks/{reply-DSDFBUAX.js → reply-AMZ3Y3U5.js} +1 -1
  360. package/dist/chunks/{repo-info-to-url-XQSULSEO.js → repo-info-to-url-S2YOQIRM.js} +1 -1
  361. package/dist/chunks/{repo-root-DZ6WFHMP.js → repo-root-STNOAHCH.js} +1 -1
  362. package/dist/chunks/{resolve-VK5QTUII.js → resolve-NPE5HKCT.js} +1 -1
  363. package/dist/chunks/{resolve-agent-team-D7RFR6WL.js → resolve-agent-team-75WZ2VDR.js} +1 -1
  364. package/dist/chunks/{resolve-deployment-framework-preset-BLMQLCIN.js → resolve-deployment-framework-preset-SCQCWANF.js} +1 -1
  365. package/dist/chunks/{restore-IVNZOVU3.js → restore-IZHGW3NV.js} +1 -1
  366. package/dist/chunks/{rm-LWEITUDD.js → rm-G4U54YJT.js} +1 -1
  367. package/dist/chunks/{rm-GYS4DS2Z.js → rm-HVDZJXME.js} +1 -1
  368. package/dist/chunks/{rm-L2KCHMLS.js → rm-ILDCA66K.js} +1 -1
  369. package/dist/chunks/{rm-PDJE63VV.js → rm-JWMYMOKD.js} +1 -1
  370. package/dist/chunks/{rm-PAI3WZXJ.js → rm-MBWOLQZJ.js} +1 -1
  371. package/dist/chunks/routes-GTTTHCOL.js +7 -0
  372. package/dist/chunks/rule-inspect-KZ7FNV26.js +8 -0
  373. package/dist/chunks/run-D8obqfKw-VBME5UHC.js +7 -0
  374. package/dist/chunks/{schema-ZIK2W4AX.js → schema-5FNNQEU5.js} +1 -1
  375. package/dist/chunks/{schema-ZOPJJLJC.js → schema-SKHPOMD7.js} +1 -1
  376. package/dist/chunks/select-org-YRCPH5Z5.js +7 -0
  377. package/dist/chunks/{serving-C1mhZQqH-73TMEGEB.js → serving-C1mhZQqH-XEQUVQZK.js} +1 -1
  378. package/dist/chunks/sessions-cvWvPgzc-XIYLOGFI.js +7 -0
  379. package/dist/chunks/{set-MC2CLSA2.js → set-V6QX5AZQ.js} +1 -1
  380. package/dist/chunks/{set-B5MPNYXG.js → set-WWREM57F.js} +1 -1
  381. package/dist/chunks/setup-and-link-STBOP67J.js +7 -0
  382. package/dist/chunks/sh-7olsIyJh-PKP4FF4F.js +7 -0
  383. package/dist/chunks/{skills-X5MN3OH2.js → skills-5TXXGKN5.js} +1 -1
  384. package/dist/chunks/slugify-OEOEYGDL.js +7 -0
  385. package/dist/chunks/snapshot-D9MAspub-SROFKNVE.js +9 -0
  386. package/dist/chunks/snapshots-DQjvm6St-4DTYO2IQ.js +9 -0
  387. package/dist/chunks/stamp-THWCZ5IQ.js +7 -0
  388. package/dist/chunks/{statuspage-K5SC7KAQ.js → statuspage-NCYXH7DR.js} +1 -1
  389. package/dist/chunks/stop-SQX-uC-Q-MCMKSJVQ.js +10 -0
  390. package/dist/chunks/table-3DCL552W.js +7 -0
  391. package/dist/chunks/{tags-WRVKKRN7.js → tags-SVOY7QEN.js} +1 -1
  392. package/dist/chunks/telemetry-KLbte3YE-OAFHJTWE.js +13 -0
  393. package/dist/chunks/token-DGNBXqnR-37H4S563.js +7 -0
  394. package/dist/chunks/token-EYEJQ7AP.js +7 -0
  395. package/dist/chunks/token-LNLX4V5J.js +7 -0
  396. package/dist/chunks/token-MZBD3R2S.js +7 -0
  397. package/dist/chunks/token-util-4P4GUSTT.js +7 -0
  398. package/dist/chunks/token-util-DAhLJ1X4-NJBLJROT.js +7 -0
  399. package/dist/chunks/token-util-XC5K3DNT.js +7 -0
  400. package/dist/chunks/token-util-XO4H5VLL.js +7 -0
  401. package/dist/chunks/{types-PC3JIYPX.js → types-NX7G6YBW.js} +1 -1
  402. package/dist/chunks/{update-QDIZFM4T.js → update-AVWVPYK5.js} +1 -1
  403. package/dist/chunks/{update-route-version-KWK5S4UW.js → update-route-version-MKFTZPKQ.js} +1 -1
  404. package/dist/chunks/{usage-JUP36KHN.js → usage-RUCM3AMF.js} +1 -1
  405. package/dist/chunks/users-CGEsQ4G8-BEKXN56N.js +9 -0
  406. package/dist/chunks/{utils-IQZEE4DT.js → utils-XXR7KIRB.js} +1 -1
  407. package/dist/chunks/validate-config-MJQI5EMD.js +7 -0
  408. package/dist/chunks/{vercel-cli-3UQLDU2S.js → vercel-cli-RW4WHHOS.js} +1 -1
  409. package/dist/chunks/{vlt-builder-graph-XL2XRO4V.js → vlt-builder-graph-EU5EX7KY.js} +1 -1
  410. package/dist/chunks/{vlt-builder-importer-RBUPAB6J.js → vlt-builder-importer-2YSRGPFC.js} +1 -1
  411. package/dist/chunks/wrap-ansi-CaN_P_HT-MAPHF26X.js +7 -0
  412. package/dist/chunks/write-DixEhGqz-D34NI34B.js +10 -0
  413. package/dist/chunks/{zod-Y3ZBY67C.js → zod-H7KW2D5Z.js} +1 -1
  414. package/dist/commands/build/index.js +1 -1
  415. package/dist/commands/deploy/index.js +11 -11
  416. package/dist/commands/dev/index.js +5 -9
  417. package/dist/commands/env/index.js +1 -1
  418. package/dist/commands/link/index.js +1 -1
  419. package/dist/commands/list/index.js +1 -1
  420. package/dist/commands/project/index.js +102 -80
  421. package/dist/commands/tunnel/index.js +1 -1
  422. package/dist/commands-account.js +5 -5
  423. package/dist/commands-ai.js +6 -6
  424. package/dist/commands-blob.js +3 -3
  425. package/dist/commands-core.js +9 -9
  426. package/dist/commands-deployments.js +1 -1
  427. package/dist/commands-flags.js +1 -1
  428. package/dist/commands-integrations.js +11 -11
  429. package/dist/commands-observability.js +2 -2
  430. package/dist/commands-routing.js +9 -9
  431. package/dist/help.js +1 -1
  432. package/dist/index.js +5 -5
  433. package/dist/internal-build-worker.js +1 -1
  434. package/dist/internal-build.js +2 -2
  435. package/dist/package.json +8 -8
  436. package/dist/version.mjs +1 -1
  437. package/package.json +16 -16
  438. package/dist/chunks/chunk-3ARTWVQV.js +0 -11
  439. package/dist/chunks/chunk-6UJIJLQC.js +0 -13
  440. package/dist/chunks/chunk-EMTZZXMH.js +0 -13
  441. package/dist/chunks/chunk-XKPB27SC.js +0 -8
  442. package/dist/chunks/chunk-Z3XKNZDP.js +0 -9
  443. package/dist/chunks/compile-vercel-config-HMKEDWC4.js +0 -7
  444. package/dist/chunks/connect-git-provider-WGKVFXW2.js +0 -7
  445. package/dist/chunks/create-project-BTOHPKZB.js +0 -7
  446. package/dist/chunks/detect-projects-I7NEHWSM.js +0 -7
  447. package/dist/chunks/detect-services-4ONC2DH3.js +0 -7
  448. package/dist/chunks/future-3AUPMPY7.js +0 -7
  449. package/dist/chunks/generate-cert-for-deploy-OZWVIWOO.js +0 -7
  450. package/dist/chunks/image-EFBQXTAP.js +0 -7
  451. package/dist/chunks/import-builders-2G4KVI4T.js +0 -7
  452. package/dist/chunks/login-WYDX5KZN.js +0 -7
  453. package/dist/chunks/logs-E3RZLAT2.js +0 -7
  454. package/dist/chunks/migrate-experimental-services-GPGYPN66.js +0 -7
  455. package/dist/chunks/prompt-missing-credentials-7F7MUAWK.js +0 -7
  456. package/dist/chunks/pull-4LISUHDN.js +0 -7
  457. package/dist/chunks/purchase-domain-if-available-QH2OHRLZ.js +0 -7
  458. package/dist/chunks/query-QCIU5IB4.js +0 -7
  459. package/dist/chunks/routes-SBMN6SDF.js +0 -7
  460. package/dist/chunks/rule-inspect-LQISNCBT.js +0 -8
  461. package/dist/chunks/select-org-EKDOS2CQ.js +0 -7
  462. package/dist/chunks/setup-and-link-FHHZAU65.js +0 -7
  463. package/dist/chunks/stamp-TKONNIJ5.js +0 -7
  464. package/dist/chunks/table-SCLK33K7.js +0 -7
  465. package/dist/chunks/token-MYYNOUIT.js +0 -7
  466. package/dist/chunks/token-util-OJHS52JP.js +0 -7
  467. package/dist/chunks/validate-config-K42CVRCZ.js +0 -7
@@ -0,0 +1,13 @@
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{require_cjs}from"./chunk-KMTQYFJF.js";import{CONTACT_FIELDS,billingFieldsUsed,collectContactInformation,getBillingContact,getDomainPrice,getDomainStatus,isPurchasedSince,mergeContact,missingContactFields,purchaseDomain,readContactFlags}from"./chunk-RIVRPVTH.js";import{stamp_default}from"./chunk-LY3EY2VG.js";import{amountMatchesPrice,canPromptForCharge,chargeFailureReason,chargeFlagWithValue,formatAmountArg,formatTerm,orderStatusStep,parseAmount,parseOrderWait,printChargeRecovery,refuseUnnamedTeam,reportChargeFailure,reportOrderPending,reportPriceChanged,reportUnknownOutcome,reportUsageError,trackApprovalOutcome,writeChargeAction}from"./chunk-MHVM4VKT.js";import{formatUsd}from"./chunk-NFPO75IP.js";import{param}from"./chunk-ERMHTPO4.js";import{buySubcommand}from"./chunk-MJ2HLVVL.js";import{getScope}from"./chunk-HG7NRFC5.js";import{TelemetryClient}from"./chunk-LNRKGW7S.js";import{printError}from"./chunk-Y2J2ESAE.js";import{parseArguments}from"./chunk-RDTWDVFO.js";import{AGENT_ACTION,AGENT_REASON,AGENT_STATUS,buildCommandWithGlobalFlags,outputAgentError}from"./chunk-NVU7XTNI.js";import{validateJsonOutput}from"./chunk-IR3E37HD.js";import{DomainChargeOutcomeUnknown,DomainPaymentAuthenticationRequired,DomainPriceChanged,DomainPurchaseInProgress,isAPIError}from"./chunk-MTPHHAPR.js";import{getCommandName,getCommandNamePlain}from"./chunk-EFGZK6OY.js";import{output_manager_default}from"./chunk-RIXTYUYN.js";import{require_dist}from"./chunk-4SIQE2W4.js";import{getFlagsSpecification,getGlobalFlagsFromArgs,quoteArg}from"./chunk-DORCX7UB.js";import{require_source}from"./chunk-UJ7YUIEJ.js";import{require_strip_ansi}from"./chunk-LPYHYTYI.js";import{__toESM}from"./chunk-NBPLUP7C.js";var import_chalk=__toESM(require_source(),1),import_strip_ansi=__toESM(require_strip_ansi(),1),import_tldts=__toESM(require_cjs(),1),import_error_utils=__toESM(require_dist(),1);var DomainsBuyTelemetryClient=class extends TelemetryClient{trackCliArgumentDomain(v){v&&this.trackCliArgument({arg:"domain",value:this.redactedValue})}trackCliOptionAmount(v){this.trackRedactedCliOption("amount",v)}trackCliFlagUseBillingDetails(v){v&&this.trackCliFlag("use-billing-details")}trackCliOptionFirstName(v){this.trackRedactedCliOption("first-name",v)}trackCliOptionLastName(v){this.trackRedactedCliOption("last-name",v)}trackCliOptionEmail(v){this.trackRedactedCliOption("email",v)}trackCliOptionPhone(v){this.trackRedactedCliOption("phone",v)}trackCliOptionAddress(v){this.trackRedactedCliOption("address",v)}trackCliOptionCity(v){this.trackRedactedCliOption("city",v)}trackCliOptionState(v){this.trackRedactedCliOption("state",v)}trackCliOptionZip(v){this.trackRedactedCliOption("zip",v)}trackCliOptionCountry(v){this.trackRedactedCliOption("country",v)}trackCliOptionCompany(v){this.trackRedactedCliOption("company",v)}trackCliFlagAutoRenew(v){v&&this.trackCliFlag("auto-renew")}trackCliFlagNoAutoRenew(v){v&&this.trackCliFlag("no-auto-renew")}trackCliFlagJson(v){v&&this.trackCliFlag("json")}trackCliOptionTimeout(timeout){timeout&&this.trackCliOption({option:"timeout",value:"[TIME]"})}trackCliFlagNoWait(noWait){noWait&&this.trackCliFlag("no-wait")}};function buildBuyCommand(client,domain,opts){let parts=[`domains buy ${domain}`];opts.team&&parts.push(`--scope ${opts.team}`),opts.amount!==void 0&&parts.push(`--amount ${formatAmountArg(opts.amount)}`),opts.useBilling&&parts.push("--use-billing-details");for(let{field,flag}of CONTACT_FIELDS){let value=opts.contact[field];value!==void 0?parts.push(`${flag} ${quoteArg(value)}`):opts.missing.includes(field)&&parts.push(`${flag} <${flag.slice(2)}>`)}return opts.autoRenew===!0&&parts.push("--auto-renew"),opts.autoRenew===!1&&parts.push("--no-auto-renew"),opts.wait?.noWait?parts.push("--no-wait"):opts.wait?.timeout&&parts.push(`--timeout ${quoteArg(opts.wait.timeout)}`),opts.json&&parts.push("--json"),buildCommandWithGlobalFlags(client.argv,parts.join(" "))}function flagFor(field){return CONTACT_FIELDS.find(f=>f.field===field).flag}function usageError(client,message){return reportUsageError(client,AGENT_REASON.INVALID_ARGUMENTS,message)}async function buy(client,argv){let telemetry=new DomainsBuyTelemetryClient({opts:{store:client.telemetryEventStore}}),parsedArgs,flagsSpecification=getFlagsSpecification(buySubcommand.options);try{parsedArgs=parseArguments(argv,flagsSpecification)}catch(error){return client.nonInteractive&&outputAgentError(client,{status:"error",reason:"invalid_arguments",message:error instanceof Error?error.message:String(error)},2),printError(error),2}let{args,flags}=parsedArgs,[domainName]=args;if(telemetry.trackCliArgumentDomain(domainName),telemetry.trackCliOptionAmount(flags["--amount"]),telemetry.trackCliFlagUseBillingDetails(flags["--use-billing-details"]),telemetry.trackCliOptionFirstName(flags["--first-name"]),telemetry.trackCliOptionLastName(flags["--last-name"]),telemetry.trackCliOptionEmail(flags["--email"]),telemetry.trackCliOptionPhone(flags["--phone"]),telemetry.trackCliOptionAddress(flags["--address"]),telemetry.trackCliOptionCity(flags["--city"]),telemetry.trackCliOptionState(flags["--state"]),telemetry.trackCliOptionZip(flags["--zip"]),telemetry.trackCliOptionCountry(flags["--country"]),telemetry.trackCliOptionCompany(flags["--company"]),telemetry.trackCliFlagAutoRenew(flags["--auto-renew"]),telemetry.trackCliFlagNoAutoRenew(flags["--no-auto-renew"]),telemetry.trackCliOptionTimeout(flags["--timeout"]),telemetry.trackCliFlagNoWait(flags["--no-wait"]),telemetry.trackCliOptionFormat(flags["--format"]),telemetry.trackCliFlagJson(flags["--json"]),!domainName){if(client.nonInteractive){let globalFlags=getGlobalFlagsFromArgs(client.argv.slice(2)),cmd=getCommandNamePlain(`domains buy <domain> ${globalFlags.join(" ")}`.trim());outputAgentError(client,{status:"error",reason:"missing_arguments",message:`Missing domain name. Run: ${cmd}`,next:[{command:cmd,when:"Replace <domain> with the domain to buy"}]},2)}return output_manager_default.error(`Missing domain name. Run ${getCommandName("domains --help")}`),2}if(args.length>1){let extra=args[1].toLowerCase();return usageError(client,extra==="true"||extra==="false"?"Unexpected extra argument. On/off options like --auto-renew don't take a value: pass --auto-renew or --no-auto-renew.":'Unexpected extra argument. domains buy takes one domain; quote option values that contain spaces, like --address "1 Main St".')}let formatResult=validateJsonOutput(flags);if(!formatResult.valid)return usageError(client,formatResult.error);let asJson=formatResult.jsonOutput,{domain:rootDomain,subdomain}=(0,import_tldts.parse)(domainName);if(subdomain||!rootDomain)return client.nonInteractive&&outputAgentError(client,{status:"error",reason:"invalid_domain",message:`Invalid domain name '${domainName}'. Use a registrable root domain (no subdomain).`},1),output_manager_default.error(`Invalid domain name "${domainName}". Run ${getCommandName("domains --help")}`),1;let amount=parseAmount(flags["--amount"]);if(amount instanceof Error)return usageError(client,amount.message);let wait=parseOrderWait(flags);if(typeof wait=="string")return usageError(client,wait);let fromFlags=readContactFlags(flags);if(typeof fromFlags=="string")return usageError(client,fromFlags);let valuedFlag=chargeFlagWithValue(argv,["--auto-renew","--no-auto-renew","--use-billing-details"]);if(valuedFlag)return usageError(client,valuedFlag);let useBilling=!!flags["--use-billing-details"];if(flags["--auto-renew"]&&flags["--no-auto-renew"])return usageError(client,"Can't use --auto-renew with --no-auto-renew.");let autoRenewChoice=flags["--auto-renew"]?!0:flags["--no-auto-renew"]?!1:void 0,{contextName,team}=await getScope(client),commandOptions={team:team?.slug,useBilling,contact:fromFlags,autoRenew:autoRenewChoice,wait:{noWait:wait.noWait,timeout:flags["--timeout"]===void 0?void 0:wait.timeout},json:asJson},availableStamp=stamp_default(),[domainPrice,domainStatus]=await Promise.all([getDomainPrice(client,domainName),getDomainStatus(client,domainName)]);if(!domainStatus.available){if(await isPurchasedSince(client,domainName,0)){if(!canPromptForCharge(client,asJson)&&team){let refused=refuseUnnamedTeam(client,asJson,{verb:"buy",domain:domainName,team,nextCommand:buildBuyCommand(client,domainName,{...commandOptions,amount,missing:[]})});if(refused!==void 0)return refused}return reportAlreadyOwned(client,asJson,domainName,contextName,{autoRenew:autoRenewChoice})}return reportChargeFailure(client,asJson,{reason:AGENT_REASON.DOMAIN_NOT_AVAILABLE,message:`The domain ${domainName} is unavailable.`})}if(domainPrice instanceof Error)return reportChargeFailure(client,asJson,{reason:chargeFailureReason(domainPrice),message:domainPrice.message});let{years,purchasePrice,renewalPrice}=domainPrice;if(purchasePrice===null||renewalPrice===null)return reportChargeFailure(client,asJson,{reason:AGENT_REASON.API_ERROR,message:`The price of ${domainName} was not found.`});output_manager_default.log(`The domain ${param(domainName)} is ${import_chalk.default.underline("available")} to buy under ${import_chalk.default.bold(contextName)}! ${availableStamp()}`);let billing=getBillingContact(team),contact=mergeContact(fromFlags,useBilling?billing:{});if(amount!==void 0&&!amountMatchesPrice(amount,purchasePrice))return reportPriceChanged(client,{verb:"buy",domain:domainName,amount,price:purchasePrice,nextCommand:buildBuyCommand(client,domainName,{...commandOptions,amount:purchasePrice,missing:missingContactFields(contact)}),json:asJson});let autoRenew,contactInformation;if(canPromptForCharge(client,asJson)){if(amount===void 0&&!await client.input.confirm(`Buy now for ${import_chalk.default.bold(formatUsd(purchasePrice))} (${formatTerm(years)})?`,!1))return trackApprovalOutcome(client,"purchase","declined"),0;autoRenew=autoRenewChoice??await client.input.confirm(years===1?`Auto renew yearly for ${import_chalk.default.bold(formatUsd(renewalPrice))}?`:`Auto renew every ${years} years for ${import_chalk.default.bold(formatUsd(renewalPrice))}?`,!0),contactInformation=await collectContactInformation(client,{provided:contact,defaults:mergeContact(fromFlags,billing)})}else{let missing=missingContactFields(contact);if(amount===void 0||missing.length>0||autoRenewChoice===void 0)return refuseWithoutApproval(client,{domain:domainName,team:team?.slug,contextName,price:purchasePrice,renewalPrice,years,amount,fromFlags,billing,useBilling,autoRenew:autoRenewChoice,wait:commandOptions.wait,json:asJson});if(team){let refused=refuseUnnamedTeam(client,asJson,{verb:"buy",domain:domainName,team,nextCommand:buildBuyCommand(client,domainName,{...commandOptions,amount,missing:[]})});if(refused!==void 0)return refused}autoRenew=autoRenewChoice,contactInformation={...contact,companyName:contact.companyName||void 0}}let inspectCommand=buildCommandWithGlobalFlags(client.argv,`domains inspect ${domainName}`),buyResult,purchaseStamp=stamp_default();output_manager_default.spinner("Purchasing");try{buyResult=await purchaseDomain(client,domainName,purchasePrice,years,autoRenew,contactInformation,{waitMs:wait.waitMs,onOrderAccepted:orderId=>{asJson||wait.noWait||(output_manager_default.stopSpinner(),output_manager_default.log(`Order ${orderId} accepted.`),output_manager_default.spinner(`Waiting on the registrar to register ${domainName}`))}})}catch(err){output_manager_default.stopSpinner(),output_manager_default.debug(`Server response: ${(0,import_error_utils.errorToString)(err)}`);let apiError=isAPIError(err)?err:void 0;return reportChargeFailure(client,asJson,{reason:AGENT_REASON.API_ERROR,message:apiError?`Couldn't buy ${domainName}. The API returned an error (${apiError.code}). Nothing was charged.`:`Couldn't buy ${domainName}. The order wasn't sent, so nothing was charged.`},{apiMessage:apiError?.serverMessage})}if(output_manager_default.stopSpinner(),buyResult instanceof DomainPriceChanged)return reportPriceChanged(client,{verb:"buy",domain:domainName,amount:purchasePrice,nextCommand:buildBuyCommand(client,domainName,{...commandOptions,missing:[]}),json:asJson});if(buyResult instanceof DomainChargeOutcomeUnknown)return reportUnknownOutcome(client,asJson,{verb:"buy",domain:domainName,inspectCommand,orderId:buyResult.meta.orderId});if(buyResult instanceof DomainPurchaseInProgress){let{orderId}=buyResult.meta;return reportChargeFailure(client,asJson,{reason:AGENT_REASON.PURCHASE_IN_PROGRESS,message:buyResult.message,retryable:!1,data:{domain:domainName,remote:"none",...orderId&&{orderId}},next:[...orderId?[orderStatusStep(client,{verb:"buy",domain:domainName,orderId})]:[],{command:inspectCommand,when:"Once that order finishes, see the domain"}]})}return buyResult instanceof DomainPaymentAuthenticationRequired?reportChargeFailure(client,asJson,{reason:AGENT_REASON.PAYMENT_AUTHENTICATION_REQUIRED,message:buyResult.message,userActionRequired:!0,verification_uri:buyResult.meta.url}):buyResult instanceof Error?reportChargeFailure(client,asJson,{reason:chargeFailureReason(buyResult),message:buyResult.message}):buyResult.status==="already_owned"?reportAlreadyOwned(client,asJson,domainName,contextName,{autoRenew,duplicate:{orderId:buyResult.orderId,orderOutcome:buyResult.orderOutcome}}):buyResult.status==="pending"?reportOrderPending(client,asJson,{verb:"buy",domain:domainName,orderId:buyResult.orderId,lastStatus:buyResult.lastStatus,readError:buyResult.readError,inspectCommand,wait}):asJson?(client.stdout.write(`${JSON.stringify({status:AGENT_STATUS.OK,domain:domainName,years,charge:{amount:purchasePrice,currency:"USD"},orderId:buyResult.orderId,autoRenew,renewalPrice,message:`Domain ${domainName} purchased.`},null,2)}
8
+ `),0):(client.stdout.write(`${domainName}
9
+ `),output_manager_default.success(`Domain ${param(domainName)} purchased ${purchaseStamp()}`),output_manager_default.log(`Charged ${formatUsd(purchasePrice)} for ${formatTerm(years)}. Registered to ${contactInformation.firstName} ${contactInformation.lastName} (${contactInformation.email}).`),output_manager_default.note(`You may now use your domain as an alias to your deployments. Run ${getCommandName("alias --help")}`),0)}function reportAlreadyOwned(client,json,domain,contextName,opts={}){let{duplicate,autoRenew}=opts,autoRenewCommand=autoRenew===void 0?void 0:buildCommandWithGlobalFlags(client.argv,`domains auto-renew ${autoRenew?"enable":"disable"} ${domain}`),message=[duplicate?`${domain} is already registered to ${contextName} by an earlier purchase. This run's order ${duplicate.orderId} ${duplicate.orderOutcome==="refunded"?"failed, and its charge was refunded":"failed"}.`:`${domain} is already registered to ${contextName}. Nothing was charged.`,autoRenewCommand?`This run didn't change its auto-renew setting; to turn it ${autoRenew?"on":"off"}, run ${autoRenewCommand}.`:""].filter(Boolean).join(" ");return json?(client.stdout.write(`${JSON.stringify({status:AGENT_STATUS.OK,domain,outcome:"unchanged",...duplicate&&{orderId:duplicate.orderId,orderStatus:duplicate.orderOutcome},message,...autoRenewCommand&&{next:[{command:autoRenewCommand,when:`To turn auto-renew ${autoRenew?"on":"off"} for the existing registration`}]}},null,2)}
10
+ `),0):(client.stdout.write(`${domain}
11
+ `),output_manager_default.log(message),0)}function refuseWithoutApproval(client,opts){let{domain,price,renewalPrice,years,billing,autoRenew}=opts,shown=billingFieldsUsed(opts.fromFlags,billing),shownFields=CONTACT_FIELDS.filter(({field})=>shown[field]),hasBilling=shownFields.length>0,useBilling=opts.useBilling||hasBilling,missing=missingContactFields(mergeContact(opts.fromFlags,useBilling?billing:{})),missingFlags=missing.map(flagFor),missingNow=missingContactFields(mergeContact(opts.fromFlags,opts.useBilling?billing:{})),needs=[...opts.amount===void 0?["an approved price (--amount)"]:[],...autoRenew===void 0?["an auto-renew choice (--auto-renew or --no-auto-renew)"]:[],...missingNow.length>0?["registrant details"]:[]],headline=`Can't buy ${domain} without ${needs.join(" and ")} in non-interactive mode.`,every=years===1?"year":formatTerm(years),renewal=autoRenew===void 0?`Auto-renew isn't chosen: --auto-renew renews it every ${every} (currently ${formatUsd(renewalPrice)}), --no-auto-renew lets it expire.`:autoRenew?`Then it auto-renews every ${every} (currently ${formatUsd(renewalPrice)}).`:"Auto-renew is off.",priceLine=`Price: ${formatUsd(price)} for ${formatTerm(years)}, charged to ${opts.contextName}. ${renewal}`,stillNeeded=missingFlags.length>0?`Still needed: ${missingFlags.join(", ")}.`:"",next=(autoRenew===void 0?[!0,!1]:[autoRenew]).map(renews=>({command:buildBuyCommand(client,domain,{team:opts.team,amount:price,useBilling,contact:opts.fromFlags,missing,autoRenew:renews,wait:opts.wait,json:opts.json}),when:`Only after a human approves: charges ${formatUsd(price)} now${renews?` and renews every ${every} (currently ${formatUsd(renewalPrice)})`:", with no renewal"}`})),needsConsent=opts.amount===void 0||autoRenew===void 0;needsConsent&&trackApprovalOutcome(client,"purchase","stopped"),writeChargeAction(client,opts.json,{status:AGENT_STATUS.ACTION_REQUIRED,reason:needsConsent?AGENT_REASON.CONFIRMATION_REQUIRED:AGENT_REASON.MISSING_REQUIREMENTS,action:AGENT_ACTION.CONFIRMATION_REQUIRED,message:[headline,priceLine,hasBilling?`The team's billing info has the registrant ${shownFields.map(({label})=>label.toLowerCase()).join(", ")} (data.billingDetails). Confirm them with the user; --use-billing-details uses them, and any contact option you pass replaces them.`:"",stillNeeded].filter(Boolean).join(" "),userActionRequired:!0,hint:"Show the user the price, renewal terms, and registrant details, and get their approval before running next[]. Domain registrations are non-refundable.",data:{domain,...opts.team&&{team:opts.team},amount:price,currency:"USD",years,autoRenew:autoRenew??null,renewalAmount:renewalPrice,...hasBilling&&{billingDetails:shown}},missing:[...opts.amount===void 0?["--amount"]:[],...autoRenew===void 0?["--auto-renew|--no-auto-renew"]:[],...useBilling&&!opts.useBilling?["--use-billing-details"]:[],...missingFlags],next});let billingRows=hasBilling?[`From ${opts.contextName}'s billing info:`,...shownFields.map(({field,label})=>` ${label.padEnd(10)}${(0,import_strip_ansi.default)(shown[field])}`)]:[];return printChargeRecovery([headline,priceLine,...billingRows,stillNeeded].filter(Boolean).join(`
12
+ `),next.length>1?"Once a person approves the price, details, and auto-renew choice, run one of":"Once a person approves the price and details, run",next.map(({command})=>command).join(`
13
+ `)),1}async function removeAliasById(client,id){return client.fetch(`/now/aliases/${id}`,{method:"DELETE"})}function isDomainExternal(domain){return domain.serviceType!=="zeit.world"}function getProjectDomain(client,projectIdOrName,domainName,options={}){return fetchProjectDomain(client,`/v9/projects/${encodeURIComponent(projectIdOrName)}/domains/${encodeURIComponent(domainName)}`,options)}function getProjectDomainByName(client,domainName,options={}){return fetchProjectDomain(client,`/project-domains/${encodeURIComponent(domainName)}`,options)}function verifyProjectDomain(client,projectIdOrName,domainName,options={}){return fetchProjectDomain(client,`/v9/projects/${encodeURIComponent(projectIdOrName)}/domains/${encodeURIComponent(domainName)}/verify`,{...options,method:"POST"})}async function fetchProjectDomain(client,url,init){try{return await client.fetch(url,init)}catch(err){if(isAPIError(err)&&err.status<500)return err;throw err}}async function deleteCertById(client,id){return client.fetch(`/v5/certs/${id}`,{method:"DELETE"})}async function getDomains(client,next,limit=20){let domainUrl=`/v5/domains?limit=${limit}`;return next&&(domainUrl+=`&until=${next}`),await client.fetch(domainUrl)}export{removeAliasById,isDomainExternal,getProjectDomain,getProjectDomainByName,verifyProjectDomain,buy,deleteCertById,getDomains};
@@ -0,0 +1,9 @@
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{__commonJS,__require}from"./chunk-NBPLUP7C.js";var require_parser=__commonJS({"../../node_modules/.pnpm/jsonlines@0.1.1/node_modules/jsonlines/lib/parser.js"(exports,module){var Transform=__require("stream").Transform;function Parser(options){if(!(this instanceof Parser))throw new TypeError("Cannot call a class as a function");options=options||{},Transform.call(this,{objectMode:!0}),this._memory="",this._emitInvalidLines=options.emitInvalidLines||!1}Parser.prototype=Object.create(Transform.prototype);Parser.prototype._handleLines=function(lines,cb){for(var i=0;i<lines.length;i++)if(lines[i]!==""){var err=null,json=null;try{json=JSON.parse(lines[i])}catch(_err){_err.source=lines[i],err=_err}if(err)if(this._emitInvalidLines)this.emit("invalid-line",err);else return cb(err);else this.push(json)}cb(null)};Parser.prototype._transform=function(chunk,encoding,cb){var lines=(this._memory+chunk.toString()).split(`
8
+ `);this._memory=lines.pop(),this._handleLines(lines,cb)};Parser.prototype._flush=function(cb){if(!this._memory)return cb(null);var line=this._memory;this._memory="",this._handleLines([line],cb)};module.exports=Parser}});var require_stringifier=__commonJS({"../../node_modules/.pnpm/jsonlines@0.1.1/node_modules/jsonlines/lib/stringifier.js"(exports,module){var Transform=__require("stream").Transform;function Stringifier(){if(!(this instanceof Stringifier))throw new TypeError("Cannot call a class as a function");Transform.call(this,{objectMode:!0})}Stringifier.prototype=Object.create(Transform.prototype);Stringifier.prototype._transform=function(data,_,cb){var value;try{value=JSON.stringify(data)}catch(err){return err.source=data,cb(err)}cb(null,value+`
9
+ `)};module.exports=Stringifier}});var require_jsonlines=__commonJS({"../../node_modules/.pnpm/jsonlines@0.1.1/node_modules/jsonlines/index.js"(exports){var Parser=require_parser(),Stringifier=require_stringifier();exports.parse=function(options){return new Parser(options)};exports.stringify=function(){return new Stringifier}}});export{require_jsonlines};
@@ -0,0 +1,7 @@
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
+ var e={list:{name:"list",description:"List all sandboxes for the specified account and project.",aliases:["ls"],positionals:[]},create:{name:"create",description:"Create a sandbox in the specified account and project.",positionals:["[agent]"]},sh:{name:"sh",description:"Create a sandbox and start an interactive shell",positionals:[]},fork:{name:"fork",description:"Fork an existing sandbox into a new one. The fork starts from the source's latest snapshot (or a fresh copy of its image when it has none) and copies its config (cpu, timeout, network policy, tags, env vars, etc.); any flag passed here overrides the copied value. Changes made in a running source since its last snapshot are not included: run `sandbox snapshot --stop <source>` first to fork the current filesystem.",positionals:["<source>"]},config:{name:"config",description:"View and update sandbox configuration",positionals:[]},copy:{name:"copy",description:"Copy files between your local filesystem and a remote sandbox",aliases:["cp"],positionals:["<src>","<dst>"]},read:{name:"read",description:"Print a file from a sandbox to stdout.",aliases:["cat"],positionals:["<name>","<path>"]},write:{name:"write",description:"Write stdin to a file in a sandbox, replacing it if it exists.",positionals:["<name>","<path>"]},exec:{name:"exec",description:"Execute a command in an existing sandbox",positionals:["<name>","<command>","[...args]"]},connect:{name:"connect",description:"Start an interactive shell in an existing sandbox",aliases:["ssh","shell"],positionals:["<name>"]},stop:{name:"stop",description:"Stop the current session of one or more sandboxes",positionals:["<name>","[...name]"]},extend:{name:"extend",description:"Add time to a running session without changing its default timeout",positionals:["<name>","<num UNIT>"]},commands:{name:"commands",description:"Inspect and control commands in a running sandbox session",positionals:[]},domain:{name:"domain",description:"Print the public domain for a port in a running sandbox",positionals:["<name>","<port>"]},users:{name:"users",description:"Create users and run commands as a user",positionals:[]},groups:{name:"groups",description:"Create shared groups and manage membership",positionals:[]},remove:{name:"remove",description:"Permanently remove one or more sandboxes",aliases:["rm"],positionals:["<name>","[...name]"]},run:{name:"run",description:"Create and run a command in a sandbox",positionals:["<command>","[...args]"]},snapshot:{name:"snapshot",description:"Take a snapshot of the filesystem of a sandbox",positionals:["<name>"]},snapshots:{name:"snapshots",description:"Manage sandbox snapshots",positionals:[]},sessions:{name:"sessions",description:"Manage sandbox sessions",positionals:[]},drives:{name:"drives",description:"Manage sandbox drives (deprecated, use the `vercel drives` CLI)",positionals:[]},telemetry:{name:"telemetry",description:"Manage telemetry collection status",positionals:[]},login:{name:"login",description:"Log in to the Sandbox CLI",positionals:[]},logout:{name:"logout",description:"Log out of the Sandbox CLI",positionals:[]}};export{e};
@@ -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{isGuidanceEnabled}from"./chunk-TAAWMNNL.js";import{jsonNextStep,writeJsonFailure}from"./chunk-ZHGKJCQ2.js";import{ua_default}from"./chunk-MTZYPCZ7.js";import{fetch}from"./chunk-MY4MONOH.js";import{AGENT_REASON,AGENT_STATUS,getExitCodeForReason,omitGlobalFlagsFromArgs}from"./chunk-3ARTWVQV.js";import{output_manager_default}from"./chunk-RYSO5U3E.js";import{remoteText}from"./chunk-SQ62IODX.js";import{require_source}from"./chunk-NB2WLB3J.js";import{__toESM}from"./chunk-BZENIQ7N.js";var import_chalk=__toESM(require_source(),1);function styledCommand(step){return step.template?step.command:import_chalk.default.cyan(step.command)}function formatNextSteps(steps){if(steps.length===0)return"";if(steps.length===1)return`
7
+ import{isGuidanceEnabled}from"./chunk-TAAWMNNL.js";import{jsonNextStep,writeJsonFailure}from"./chunk-G7RQVFID.js";import{ua_default}from"./chunk-QRPBDCDH.js";import{fetch}from"./chunk-MY4MONOH.js";import{AGENT_REASON,AGENT_STATUS,getExitCodeForReason,omitGlobalFlagsFromArgs}from"./chunk-NVU7XTNI.js";import{output_manager_default}from"./chunk-RIXTYUYN.js";import{remoteText}from"./chunk-AUCQKYL2.js";import{require_source}from"./chunk-UJ7YUIEJ.js";import{__toESM}from"./chunk-NBPLUP7C.js";var import_chalk=__toESM(require_source(),1);function styledCommand(step){return step.template?step.command:import_chalk.default.cyan(step.command)}function formatNextSteps(steps){if(steps.length===0)return"";if(steps.length===1)return`
8
8
  ${steps[0].label}:
9
9
  ${styledCommand(steps[0])}
10
10
  `;let list=steps.map(step=>` ${step.label}:
@@ -0,0 +1,8 @@
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{N,X,Z}from"./chunk-6OOJFAF5.js";import{d}from"./chunk-YBWLW6SW.js";var i=d(N());Z();var a=i.extendType(i.string,{displayName:"snapshot_id",description:"The ID of the snapshot",async from(e){if(!e.startsWith("snap_"))throw Error([`Malformed snapshot ID: "${e}".`,`${X.bold("hint:")} Snapshot IDs must start with 'snap_' (e.g., snap_abc123def456).`].join(`
8
+ `));return e}});export{a};
@@ -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{events_default}from"./chunk-Z3XKNZDP.js";import{output_manager_default}from"./chunk-RYSO5U3E.js";import{require_source}from"./chunk-NB2WLB3J.js";import{require_strip_ansi}from"./chunk-BS32OUOC.js";import{__toESM}from"./chunk-BZENIQ7N.js";var import_chalk=__toESM(require_source(),1);var import_strip_ansi=__toESM(require_strip_ansi(),1);function displayBuildLogs(client,deployment,follow=!0,onAliasAssigned){let abortController=new AbortController;return{promise:events_default(client,deployment.id,{mode:"logs",onEvent:event=>printBuildLog(event,output_manager_default.print),onAliasAssigned,quiet:!1,findOpts:{direction:"forward",follow}},abortController),abortController}}function collectBuildLogs(client,deployment,follow=!0){let logs=[],abortController=new AbortController;return{promise:events_default(client,deployment.id,{mode:"logs",onEvent:event=>{event.created&&logs.push(event)},quiet:!0,findOpts:{direction:"forward",follow}},abortController).then(()=>logs),abortController}}async function displayBuildLogsUntilFinalError(client,deployment,error){let abortController=new AbortController;return events_default(client,deployment.id,{mode:"logs",onEvent:event=>{printBuildLog(event,output_manager_default.print),event.level==="error"&&event.text?.includes(error)&&abortController.abort()},quiet:!1,findOpts:{direction:"forward",follow:!0}},abortController)}function printBuildLog(log,print){if(!log.created)return;let date=new Date(log.created).toISOString(),cleanText=parseLogLines(log).join(`
7
+ import{events_default}from"./chunk-4SI66IFC.js";import{output_manager_default}from"./chunk-RIXTYUYN.js";import{require_source}from"./chunk-UJ7YUIEJ.js";import{require_strip_ansi}from"./chunk-LPYHYTYI.js";import{__toESM}from"./chunk-NBPLUP7C.js";var import_chalk=__toESM(require_source(),1);var import_strip_ansi=__toESM(require_strip_ansi(),1);function displayBuildLogs(client,deployment,follow=!0,onAliasAssigned){let abortController=new AbortController;return{promise:events_default(client,deployment.id,{mode:"logs",onEvent:event=>printBuildLog(event,output_manager_default.print),onAliasAssigned,quiet:!1,findOpts:{direction:"forward",follow}},abortController),abortController}}function collectBuildLogs(client,deployment,follow=!0){let logs=[],abortController=new AbortController;return{promise:events_default(client,deployment.id,{mode:"logs",onEvent:event=>{event.created&&logs.push(event)},quiet:!0,findOpts:{direction:"forward",follow}},abortController).then(()=>logs),abortController}}async function displayBuildLogsUntilFinalError(client,deployment,error){let abortController=new AbortController;return events_default(client,deployment.id,{mode:"logs",onEvent:event=>{printBuildLog(event,output_manager_default.print),event.level==="error"&&event.text?.includes(error)&&abortController.abort()},quiet:!1,findOpts:{direction:"forward",follow:!0}},abortController)}function printBuildLog(log,print){if(!log.created)return;let date=new Date(log.created).toISOString(),cleanText=parseLogLines(log).join(`
8
8
  `);for(let line of colorize(cleanText,log).split(`
9
9
  `))print(`${import_chalk.default.dim(date)} ${line}
10
10
  `)}function sanitize(log){return(0,import_strip_ansi.default)(log.text||"").replace(/\n$/,"").replace(/^\n/,"")}function parseLogLines(log){return sanitize(log).split(`
@@ -4,4 +4,4 @@ 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{teamCache}from"./chunk-3ARTWVQV.js";import{APIError,InvalidToken}from"./chunk-QFE3RPMA.js";import{URLSearchParams}from"url";async function getTeams(client,opts={}){let{apiVersion=1}=opts;if(apiVersion===1){if(client.teams)return client.teams;if(client.teamsPromise)return client.teamsPromise;client.teamsPromise=fetchTeams(client,opts).then(result=>{let teams=Array.isArray(result)?result:result.teams;return client.teams=teams,teams});try{return await client.teamsPromise}finally{client.teamsPromise=void 0}}return fetchTeams(client,opts)}async function fetchTeams(client,opts={}){let{apiVersion=1}=opts,query="";if(opts.apiVersion===2){let params=new URLSearchParams({limit:String(typeof opts.limit=="number"?opts.limit:20)});opts.next&&params.set("next",String(opts.next)),query=`?${params}`}try{let body=await client.fetch(`/v${apiVersion}/teams${query}`,{useCurrentTeam:!1});if(apiVersion===1){let teams=body.teams||[];for(let team of teams)teamCache.set(team.id,team);return teams}return body}catch(error){throw error instanceof APIError&&error.status===403?new InvalidToken(client.authConfig.tokenSource):error}}export{getTeams};
7
+ import{teamCache}from"./chunk-NVU7XTNI.js";import{APIError,InvalidToken}from"./chunk-MTPHHAPR.js";import{URLSearchParams}from"url";async function getTeams(client,opts={}){let{apiVersion=1}=opts;if(apiVersion===1){if(client.teams)return client.teams;if(client.teamsPromise)return client.teamsPromise;client.teamsPromise=fetchTeams(client,opts).then(result=>{let teams=Array.isArray(result)?result:result.teams;return client.teams=teams,teams});try{return await client.teamsPromise}finally{client.teamsPromise=void 0}}return fetchTeams(client,opts)}async function fetchTeams(client,opts={}){let{apiVersion=1}=opts,query="";if(opts.apiVersion===2){let params=new URLSearchParams({limit:String(typeof opts.limit=="number"?opts.limit:20)});opts.next&&params.set("next",String(opts.next)),query=`?${params}`}try{let body=await client.fetch(`/v${apiVersion}/teams${query}`,{useCurrentTeam:!1});if(apiVersion===1){let teams=body.teams||[];for(let team of teams)teamCache.set(team.id,team);return teams}return body}catch(error){throw error instanceof APIError&&error.status===403?new InvalidToken(client.authConfig.tokenSource):error}}export{getTeams};
@@ -4,4 +4,4 @@ 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{STANDARD_ENVIRONMENTS}from"./chunk-7YKFF6CE.js";import{require_lib}from"./chunk-B4KA3ZH2.js";import{output_manager_default}from"./chunk-RYSO5U3E.js";import{require_source}from"./chunk-NB2WLB3J.js";import{__toESM}from"./chunk-BZENIQ7N.js";var import_chalk=__toESM(require_source(),1);var import_title=__toESM(require_lib(),1);function formatEnvironment(orgSlug,projectSlug,environment){let projectUrl=`https://vercel.com/${orgSlug}/${projectSlug}`,boldName=import_chalk.default.bold(STANDARD_ENVIRONMENTS.includes(environment.slug)?(0,import_title.default)(environment.slug):environment.slug);return output_manager_default.link(boldName,`${projectUrl}/settings/environments/${environment.slug}`,{fallback:()=>boldName,color:!1})}export{formatEnvironment};
7
+ import{STANDARD_ENVIRONMENTS}from"./chunk-7YKFF6CE.js";import{require_lib}from"./chunk-EFGZK6OY.js";import{output_manager_default}from"./chunk-RIXTYUYN.js";import{require_source}from"./chunk-UJ7YUIEJ.js";import{__toESM}from"./chunk-NBPLUP7C.js";var import_chalk=__toESM(require_source(),1);var import_title=__toESM(require_lib(),1);function formatEnvironment(orgSlug,projectSlug,environment){let projectUrl=`https://vercel.com/${orgSlug}/${projectSlug}`,boldName=import_chalk.default.bold(STANDARD_ENVIRONMENTS.includes(environment.slug)?(0,import_title.default)(environment.slug):environment.slug);return output_manager_default.link(boldName,`${projectUrl}/settings/environments/${environment.slug}`,{fallback:()=>boldName,color:!1})}export{formatEnvironment};
@@ -4,5 +4,5 @@ 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{output_manager_default}from"./chunk-RYSO5U3E.js";import{require_source}from"./chunk-NB2WLB3J.js";import{__toESM}from"./chunk-BZENIQ7N.js";var import_chalk=__toESM(require_source(),1);var ALIGNED_LABEL_WIDTH=16;function formatAlignedLabel(label,value,options={}){let gutter=options.gutter==="\u2713"?import_chalk.default.green("\u2713"):options.gutter,prefix=gutter?`${gutter} `:" ",labelWidth=Math.max(ALIGNED_LABEL_WIDTH,options.labelWidth??ALIGNED_LABEL_WIDTH),paddedLabel=label.length<labelWidth?label.padEnd(labelWidth):`${label} `,format=options.emphasis==="subtle"?import_chalk.default.dim:import_chalk.default.bold;return`${prefix}${format(paddedLabel)}${format(value)}`}function printAlignedLabel(label,value,options={}){output_manager_default.print(`${formatAlignedLabel(label,value,options)}
7
+ import{output_manager_default}from"./chunk-RIXTYUYN.js";import{require_source}from"./chunk-UJ7YUIEJ.js";import{__toESM}from"./chunk-NBPLUP7C.js";var import_chalk=__toESM(require_source(),1);var ALIGNED_LABEL_WIDTH=16;function formatAlignedLabel(label,value,options={}){let gutter=options.gutter==="\u2713"?import_chalk.default.green("\u2713"):options.gutter,prefix=gutter?`${gutter} `:" ",labelWidth=Math.max(ALIGNED_LABEL_WIDTH,options.labelWidth??ALIGNED_LABEL_WIDTH),paddedLabel=label.length<labelWidth?label.padEnd(labelWidth):`${label} `,format=options.emphasis==="subtle"?import_chalk.default.dim:import_chalk.default.bold;return`${prefix}${format(paddedLabel)}${format(value)}`}function printAlignedLabel(label,value,options={}){output_manager_default.print(`${formatAlignedLabel(label,value,options)}
8
8
  `)}export{ALIGNED_LABEL_WIDTH,formatAlignedLabel,printAlignedLabel};
@@ -4,4 +4,4 @@ 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{__commonJS,__require}from"./chunk-BZENIQ7N.js";var require_inherits_browser=__commonJS({"../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js"(exports,module){typeof Object.create=="function"?module.exports=function(ctor,superCtor){superCtor&&(ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}}))}:module.exports=function(ctor,superCtor){if(superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype,ctor.prototype=new TempCtor,ctor.prototype.constructor=ctor}}}});var require_inherits=__commonJS({"../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits.js"(exports,module){try{if(util=__require("util"),typeof util.inherits!="function")throw"";module.exports=util.inherits}catch{module.exports=require_inherits_browser()}var util}});export{require_inherits};
7
+ import{__commonJS,__require}from"./chunk-NBPLUP7C.js";var require_inherits_browser=__commonJS({"../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js"(exports,module){typeof Object.create=="function"?module.exports=function(ctor,superCtor){superCtor&&(ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}}))}:module.exports=function(ctor,superCtor){if(superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype,ctor.prototype=new TempCtor,ctor.prototype.constructor=ctor}}}});var require_inherits=__commonJS({"../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits.js"(exports,module){try{if(util=__require("util"),typeof util.inherits!="function")throw"";module.exports=util.inherits}catch{module.exports=require_inherits_browser()}var util}});export{require_inherits};
@@ -0,0 +1,17 @@
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{oe}from"./chunk-6ZD6IARJ.js";import{o}from"./chunk-IVJEYHF5.js";import{N,X,Z}from"./chunk-6OOJFAF5.js";import{d}from"./chunk-YBWLW6SW.js";var o2=d(N()),s={snapshotExpiration:o2.option({long:"snapshot-expiration",type:o2.optional(oe),description:'Default snapshot expiration. Use "none" or 0 for no expiration. Example: 7d, 30d'}),keepLastSnapshots:o2.option({long:"keep-last-snapshots",type:o2.optional(o2.extendType(o2.number,{displayName:"COUNT",async from(e){if(!Number.isInteger(e)||e<1||e>10)throw Error(`Invalid --keep-last-snapshots value: ${e}. Must be an integer between 1 and 10.`);return e}})),description:"Keep only the N most recent snapshots of this sandbox (1-10)."}),keepLastSnapshotsFor:o2.option({long:"keep-last-snapshots-for",type:o2.optional(oe),description:'Expiration applied to kept snapshots. Use "none" or 0 for no expiration. Example: 7d, 30d'}),deleteEvictedSnapshots:o2.option({long:"delete-evicted-snapshots",type:o2.optional({...o2.oneOf(["true","false"]),displayName:"true|false"}),description:'When "true" (the default), evicted snapshots are deleted immediately; when "false", they keep the default expiration.'})},c=d(o());Z();function l(e){let{keepLastSnapshots:n,keepLastSnapshotsFor:r,deleteEvictedSnapshots:i}=e;if(n===void 0&&(r!==void 0||i!==void 0))throw Error(["--keep-last-snapshots-for and --delete-evicted-snapshots require --keep-last-snapshots.",`${X.bold("hint:")} Pass --keep-last-snapshots <count> to enable the retention policy.`].join(`
8
+ `));if(n!==void 0)return{count:n,expiration:r===void 0?void 0:(0,c.default)(r),deleteEvicted:i===void 0?void 0:i==="true"}}Z();function u(e){let{sandbox:n,scope:r,action:i,connectHint:a}=e,o3=r.teamSlug??r.team,s2=r.projectSlug??r.project,c2=n.routes.filter(e2=>e2.port!==n.interactivePort),l2=c2.length>0;process.stderr.write("\u2705 Sandbox "),process.stdout.write(X.cyan(n.name)),process.stderr.write(" "+i+`.
9
+ `),process.stderr.write(X.dim(" \u2502 ")+"team: "+X.cyan(o3)+`
10
+ `),process.stderr.write(X.dim(" \u2502 ")+"region: "+X.cyan(n.region)+`
11
+ `),n.networkId&&process.stderr.write(X.dim(" \u2502 ")+"secure compute network: "+X.cyan(n.networkId)+`
12
+ `);let u2=e2=>X.dim(e2&&!a?" \u2570 ":" \u2502 ");if(l2){process.stderr.write(X.dim(" \u2502 ")+"project: "+X.cyan(s2)+`
13
+ `),process.stderr.write(X.dim(" \u2502 ")+`ports:
14
+ `);for(let e2=0;e2<c2.length;e2++){let n2=c2[e2],r2=e2===c2.length-1;process.stderr.write(u2(r2)+"\u2022 "+n2.port+" -> "+X.cyan(n2.url)+`
15
+ `)}}else process.stderr.write(u2(!0)+"project: "+X.cyan(s2)+`
16
+ `);a&&process.stderr.write(X.dim(" \u2570 ")+"connect with: "+X.cyan(`sandbox ssh ${n.name}`)+`
17
+ `)}export{s,l,u};
@@ -0,0 +1,17 @@
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
+ var e={command:"sh",args:["-ic",`shell="\${SHELL:-}"
8
+ if [ -z "$shell" ]; then
9
+ entry="$(getent passwd "$(id -u 2>/dev/null)" 2>/dev/null)"
10
+ shell="\${entry##*:}"
11
+ case "\${shell##*/}" in nologin|false) shell= ;; esac
12
+ [ -x "$shell" ] || shell=sh
13
+ fi
14
+ case "\${shell##*/}" in
15
+ bash) exec "$shell" --norc -i ;;
16
+ *) exec "$shell" -i ;;
17
+ esac`]};export{e};
@@ -4,4 +4,4 @@ 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{getCommandName}from"./chunk-B4KA3ZH2.js";import{output_manager_default}from"./chunk-RYSO5U3E.js";import{require_source}from"./chunk-NB2WLB3J.js";import{__toESM}from"./chunk-BZENIQ7N.js";var import_chalk=__toESM(require_source(),1);function validateLsArgs(options){let{commandName,args,maxArgs=0,exitCode=1,usageString}=options;if(args.length>maxArgs){let usage=usageString||getCommandName(commandName);return output_manager_default.error(`Invalid number of arguments. Usage: ${import_chalk.default.cyan(usage)}`),exitCode}return 0}export{validateLsArgs};
7
+ import{getCommandName}from"./chunk-EFGZK6OY.js";import{output_manager_default}from"./chunk-RIXTYUYN.js";import{require_source}from"./chunk-UJ7YUIEJ.js";import{__toESM}from"./chunk-NBPLUP7C.js";var import_chalk=__toESM(require_source(),1);function validateLsArgs(options){let{commandName,args,maxArgs=0,exitCode=1,usageString}=options;if(args.length>maxArgs){let usage=usageString||getCommandName(commandName);return output_manager_default.error(`Invalid number of arguments. Usage: ${import_chalk.default.cyan(usage)}`),exitCode}return 0}export{validateLsArgs};
@@ -4,4 +4,4 @@ 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{getEnvTargetPlaceholder}from"./chunk-BYBELFCP.js";import{packageName}from"./chunk-B4KA3ZH2.js";import{deploymentOption,environmentOption,gitBranchOption,jsonOption,projectOption,targetOption,yesOption}from"./chunk-DORCX7UB.js";var buildCommand={name:"build",aliases:[],description:"Build the project.",arguments:[],options:[{name:"prod",description:"Build a production deployment",shorthand:null,type:Boolean,deprecated:!1},{...environmentOption,description:"Environment to build for: production, preview, or a custom environment (default: preview)"},targetOption,{name:"output",description:"Directory where built assets will be written to",shorthand:"o",argument:"DIR",type:String,deprecated:!1},{...yesOption,description:"Skip the confirmation prompt about pulling environment variables and project settings when not found locally"},{name:"standalone",description:"Create a standalone build with all dependencies inlined into function output folders",shorthand:null,type:Boolean,deprecated:!1},{...deploymentOption,description:"Deployment ID to pull environment variables from (e.g. dpl_xxx)"},{name:"id",shorthand:null,type:String,deprecated:!0},projectOption],examples:[{name:"Build the project",value:`${packageName} build`},{name:"Build the project in a specific directory",value:`${packageName} build --cwd ./path-to-project`},{name:"Build with deployment-scoped environment variables",value:`${packageName} build --deployment dpl_xxx`}]};var pullCommand={name:"pull",aliases:[],description:"Pull Environment Variables and project settings into .vercel",arguments:[{name:"project-path",required:!1}],options:[{name:"environment",description:"Deployment environment (default: development)",argument:"ENVIRONMENT",shorthand:"e",type:String,deprecated:!1},{...gitBranchOption,description:"Specify the Git branch to pull specific Environment Variables for"},{name:"prod",shorthand:null,type:Boolean,deprecated:!0},{...yesOption,description:"Skip questions when setting up new project using default scope and settings"},projectOption,jsonOption],examples:[{name:"Pull the latest Environment Variables and Project Settings from the cloud",value:`${packageName} pull`},{name:"Pull the latest Environment Variables and Project Settings from the cloud targeting a directory",value:`${packageName} pull ./path-to-project`},{name:"Pull for a specific environment",placeholders:[getEnvTargetPlaceholder()],value:`${packageName} pull --environment=${getEnvTargetPlaceholder()}`},{name:"Pull for a preview feature branch",value:`${packageName} pull --environment=preview --git-branch=feature-branch`},{name:"Pull Environment Variables into an application env file with `vercel env pull`",value:`${packageName} env pull`}]};export{buildCommand,pullCommand};
7
+ import{getEnvTargetPlaceholder}from"./chunk-UAPEASRH.js";import{packageName}from"./chunk-EFGZK6OY.js";import{deploymentOption,environmentOption,gitBranchOption,jsonOption,projectOption,targetOption,yesOption}from"./chunk-DORCX7UB.js";var buildCommand={name:"build",aliases:[],description:"Build the project.",arguments:[],options:[{name:"prod",description:"Build a production deployment",shorthand:null,type:Boolean,deprecated:!1},{...environmentOption,description:"Environment to build for: production, preview, or a custom environment (default: preview)"},targetOption,{name:"output",description:"Directory where built assets will be written to",shorthand:"o",argument:"DIR",type:String,deprecated:!1},{...yesOption,description:"Skip the confirmation prompt about pulling environment variables and project settings when not found locally"},{name:"standalone",description:"Create a standalone build with all dependencies inlined into function output folders",shorthand:null,type:Boolean,deprecated:!1},{...deploymentOption,description:"Deployment ID to pull environment variables from (e.g. dpl_xxx)"},{name:"id",shorthand:null,type:String,deprecated:!0},projectOption],examples:[{name:"Build the project",value:`${packageName} build`},{name:"Build the project in a specific directory",value:`${packageName} build --cwd ./path-to-project`},{name:"Build with deployment-scoped environment variables",value:`${packageName} build --deployment dpl_xxx`}]};var pullCommand={name:"pull",aliases:[],description:"Pull Environment Variables and project settings into .vercel",arguments:[{name:"project-path",required:!1}],options:[{name:"environment",description:"Deployment environment (default: development)",argument:"ENVIRONMENT",shorthand:"e",type:String,deprecated:!1},{...gitBranchOption,description:"Specify the Git branch to pull specific Environment Variables for"},{name:"prod",shorthand:null,type:Boolean,deprecated:!0},{...yesOption,description:"Skip questions when setting up new project using default scope and settings"},projectOption,jsonOption],examples:[{name:"Pull the latest Environment Variables and Project Settings from the cloud",value:`${packageName} pull`},{name:"Pull the latest Environment Variables and Project Settings from the cloud targeting a directory",value:`${packageName} pull ./path-to-project`},{name:"Pull for a specific environment",placeholders:[getEnvTargetPlaceholder()],value:`${packageName} pull --environment=${getEnvTargetPlaceholder()}`},{name:"Pull for a preview feature branch",value:`${packageName} pull --environment=preview --git-branch=feature-branch`},{name:"Pull Environment Variables into an application env file with `vercel env pull`",value:`${packageName} env pull`}]};export{buildCommand,pullCommand};
@@ -0,0 +1,14 @@
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{s as s2}from"./chunk-HIEFNLLO.js";import{p}from"./chunk-NE5RTEMC.js";import{a,s}from"./chunk-NXUDP37D.js";s();var i=new Set(["\x1B","\x9B"]),a2="]8;;",o=e=>`${i.values().next().value}[${e}m`,s3=e=>`${i.values().next().value}${a2}${e}\x07`,c=e=>e.split(" ").map(e2=>p(e2)),l=(t,n,o2)=>{let s4=[...n],c2=!1,l2=!1,u2=p(a(t.at(-1)));for(let[e,n2]of s4.entries()){let d2=p(n2);if(u2+d2<=o2?t[t.length-1]+=n2:(t.push(n2),u2=0),i.has(n2)&&(c2=!0,l2=s4.slice(e+1,e+1+4).join("")===a2),c2){l2?n2==="\x07"&&(c2=!1,l2=!1):n2==="m"&&(c2=!1);continue}u2+=d2,u2===o2&&e<s4.length-1&&(t.push(""),u2=0)}!u2&&t.at(-1).length>0&&t.length>1&&(t[t.length-2]+=t.pop())},u=e=>{let t=e.split(" "),n=t.length;for(;n>0&&!(p(t[n-1])>0);)n--;return n===t.length?e:t.slice(0,n).join(" ")+t.slice(n).join("")},d=(e,t,d2={})=>{if(d2.trim!==!1&&e.trim()==="")return"";let f2="",p2,m,h=c(e),g=[""];for(let[n,i2]of e.split(" ").entries()){d2.trim!==!1&&(g[g.length-1]=g.at(-1).trimStart());let e2=p(g.at(-1));if(n!==0&&(e2>=t&&(d2.wordWrap===!1||d2.trim===!1)&&(g.push(""),e2=0),(e2>0||d2.trim===!1)&&(g[g.length-1]+=" ",e2++)),d2.hard&&h[n]>t){let r=t-e2,a3=1+Math.floor((h[n]-r-1)/t);Math.floor((h[n]-1)/t)<a3&&g.push(""),l(g,i2,t);continue}if(e2+h[n]>t&&e2>0&&h[n]>0){if(d2.wordWrap===!1&&e2<t){l(g,i2,t);continue}g.push("")}if(e2+h[n]>t&&d2.wordWrap===!1){l(g,i2,t);continue}g[g.length-1]+=i2}d2.trim!==!1&&(g=g.map(e2=>u(e2)));let _=g.join(`
8
+ `),v=[..._],y=0;for(let[e2,t2]of v.entries()){if(f2+=t2,i.has(t2)){let{groups:e3}=RegExp(`(?:\\[(?<code>\\d+)m|\\${a2}(?<uri>.*)\x07)`).exec(_.slice(y))||{groups:{}};if(e3.code!==void 0){let t3=Number.parseFloat(e3.code);p2=t3===39?void 0:t3}else e3.uri!==void 0&&(m=e3.uri.length===0?void 0:e3.uri)}let r=s2.codes.get(Number(p2));v[e2+1]===`
9
+ `?(m&&(f2+=s3("")),p2&&r&&(f2+=o(r))):t2===`
10
+ `&&(p2&&r&&(f2+=o(p2)),m&&(f2+=s3(m))),y+=t2.length}return f2};function f(e,t,n){return String(e).normalize().replaceAll(`\r
11
+ `,`
12
+ `).split(`
13
+ `).map(e2=>d(e2,t,n)).join(`
14
+ `)}export{f};
@@ -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{ROOT_HELP_GROUPS}from"./chunk-RHFNVIFD.js";import{buildCommandExampleLines,buildCommandOptionLines,createHelpTheme,helpColumns,helpLiterals,helpRows,helpSection,helpUsage}from"./chunk-5727HGA6.js";import{globalCommandOptions}from"./chunk-DORCX7UB.js";var ROOT_HELP_EXAMPLES=[{name:"Deploy the current directory",value:"vercel"},{name:"Deploy a linked project without prompts",value:"vercel deploy --yes --non-interactive"},{name:"Show help for a command",value:"vercel domains --help"},{name:"Find the command for a task and show its help page",value:'vercel help search "add a domain" --with-help'}];function help(commands,columns=80,theme=createHelpTheme()){columns=helpColumns(columns);let sections=Object.keys(ROOT_HELP_GROUPS).flatMap(group=>{let rows=commands.filter(command=>command.group===group);return rows.length?[helpSection(group,helpRows(rows.map(command=>({syntax:helpLiterals(command.names),description:`${command.description}${command.default?" (default)":""}`})),columns,theme),theme)]:[]});return[`${helpUsage(theme)} ${theme.reference("vercel")} [options] [command | path]`,...sections,buildCommandOptionLines([...globalCommandOptions,{name:"changelog",shorthand:null,type:Boolean,deprecated:!1,description:"Show the 5 latest Vercel product updates"}],{columns,theme},"Global Options"),buildCommandExampleLines({examples:ROOT_HELP_EXAMPLES},columns,theme)].filter(Boolean).join(`
7
+ import{ROOT_HELP_GROUPS}from"./chunk-PNN2Y2ZQ.js";import{buildCommandExampleLines,buildCommandOptionLines,createHelpTheme,helpColumns,helpLiterals,helpRows,helpSection,helpUsage}from"./chunk-F2VXECRT.js";import{globalCommandOptions}from"./chunk-DORCX7UB.js";var ROOT_HELP_EXAMPLES=[{name:"Deploy the current directory",value:"vercel"},{name:"Deploy a linked project without prompts",value:"vercel deploy --yes --non-interactive"},{name:"Show help for a command",value:"vercel domains --help"},{name:"Find the command for a task and show its help page",value:'vercel help search "add a domain" --with-help'}];function help(commands,columns=80,theme=createHelpTheme()){columns=helpColumns(columns);let sections=Object.keys(ROOT_HELP_GROUPS).flatMap(group=>{let rows=commands.filter(command=>command.group===group);return rows.length?[helpSection(group,helpRows(rows.map(command=>({syntax:helpLiterals(command.names),description:`${command.description}${command.default?" (default)":""}`})),columns,theme),theme)]:[]});return[`${helpUsage(theme)} ${theme.reference("vercel")} [options] [command | path]`,...sections,buildCommandOptionLines([...globalCommandOptions,{name:"changelog",shorthand:null,type:Boolean,deprecated:!1,description:"Show the 5 latest Vercel product updates"}],{columns,theme},"Global Options"),buildCommandExampleLines({examples:ROOT_HELP_EXAMPLES},columns,theme)].filter(Boolean).join(`
8
8
 
9
9
  `)+`
10
10
  `}export{ROOT_HELP_EXAMPLES,help};
@@ -4,4 +4,4 @@ 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{packageName}from"./chunk-B4KA3ZH2.js";import{formatOption,jsonOption,yesOption}from"./chunk-DORCX7UB.js";var agentOption={name:"agent",shorthand:null,type:[String],argument:"NAME",deprecated:!1,description:"Select a coding agent (repeatable)"},dryRunOption={name:"dry-run",shorthand:null,type:Boolean,deprecated:!1,description:"Preview configuration changes without applying them"},pluginSubcommand={name:"plugin",aliases:[],description:"Install the Vercel plugin for detected coding agents",arguments:[],options:[{...agentOption,description:"Select a coding agent (repeatable)"},dryRunOption,yesOption],examples:[{name:"Install the Vercel plugin for Claude Code",value:`${packageName} setup plugin --agent claude-code`},{name:"Install the Vercel plugin for every detected agent",value:`${packageName} setup plugin`},{name:"Install the Vercel plugin for Codex",value:`${packageName} setup plugin --agent codex`}]},gatewaySubcommand={name:"gateway",aliases:[],description:"Connect local coding agents to the AI Gateway",arguments:[],options:[{...agentOption,description:"Select a coding agent (repeatable)"},{name:"all",shorthand:"a",type:Boolean,deprecated:!1,description:"Configure every supported coding agent"},{name:"key",shorthand:null,type:String,argument:"KEY",deprecated:!1,description:"Use an existing AI Gateway API key instead of creating one"},{name:"reconfigure",shorthand:null,type:Boolean,deprecated:!1,description:"Re-run even if already configured, to rotate the key or switch team"},{name:"no-session-migration",shorthand:null,type:Boolean,deprecated:!1,description:"Do not copy existing Codex Desktop sessions for use with the Vercel AI Gateway provider."},dryRunOption,yesOption],examples:[{name:"Connect detected coding agents to the AI Gateway",value:`${packageName} setup gateway`},{name:"Preview the AI Gateway changes for Claude Code",value:`${packageName} setup gateway --agent claude-code --dry-run`}]},skillsSubcommand={name:"skills",aliases:[],description:"Write the vercel-cli agent skill that ships with this CLI version to ~/.agents/skills, or to --output",arguments:[],options:[{name:"output",shorthand:"o",type:String,argument:"PATH",deprecated:!1,description:"Directory to write the skill into (default: ~/.agents/skills/vercel-cli)"},{name:"dry-run",shorthand:null,type:Boolean,deprecated:!1,description:"Preview configuration changes without applying them"},formatOption,jsonOption],examples:[{name:"Write the Vercel CLI skill to ~/.agents/skills/vercel-cli",value:`${packageName} setup skills`},{name:"Update the skill after upgrading the CLI",value:`${packageName} setup skills`},{name:"Preview what would change",value:`${packageName} setup skills --dry-run`},{name:"Write the skill into a project or custom agent directory",value:`${packageName} setup skills --output .agents/skills/vercel-cli`}]},setupCommand={name:"setup",aliases:[],summary:"Set up coding agents for Vercel",description:"Set up your machine for Vercel: configure the Vercel plugin for local coding agents and connect them to the AI Gateway",arguments:[],runsWithoutSubcommand:!0,subcommands:[pluginSubcommand,gatewaySubcommand,skillsSubcommand],options:[{name:"plugin",shorthand:null,type:Boolean,deprecated:!0,description:"DEPRECATED: Use `vercel setup plugin` instead"},{name:"gateway",shorthand:null,type:Boolean,deprecated:!0,description:"DEPRECATED: Use `vercel setup gateway` instead"},agentOption,dryRunOption,yesOption],examples:[{name:"Set up everything (prompts for each step)",value:`${packageName} setup`},{name:"Only connect coding agents to the AI Gateway",value:`${packageName} setup gateway`},{name:"Install the Vercel plugin for Codex",value:`${packageName} setup plugin --agent codex`},{name:"Preview what setup would change",value:`${packageName} setup --dry-run`},{name:"Run setup without prompts",value:`${packageName} setup --yes`},{name:"Write the Vercel CLI skill that matches this CLI version",value:`${packageName} setup skills`}]};export{pluginSubcommand,gatewaySubcommand,skillsSubcommand,setupCommand};
7
+ import{packageName}from"./chunk-EFGZK6OY.js";import{formatOption,jsonOption,yesOption}from"./chunk-DORCX7UB.js";var agentOption={name:"agent",shorthand:null,type:[String],argument:"NAME",deprecated:!1,description:"Select a coding agent (repeatable)"},dryRunOption={name:"dry-run",shorthand:null,type:Boolean,deprecated:!1,description:"Preview configuration changes without applying them"},pluginSubcommand={name:"plugin",aliases:[],description:"Install the Vercel plugin for detected coding agents",arguments:[],options:[{...agentOption,description:"Select a coding agent (repeatable)"},dryRunOption,yesOption],examples:[{name:"Install the Vercel plugin for Claude Code",value:`${packageName} setup plugin --agent claude-code`},{name:"Install the Vercel plugin for every detected agent",value:`${packageName} setup plugin`},{name:"Install the Vercel plugin for Codex",value:`${packageName} setup plugin --agent codex`}]},gatewaySubcommand={name:"gateway",aliases:[],description:"Connect local coding agents to the AI Gateway",arguments:[],options:[{...agentOption,description:"Select a coding agent (repeatable)"},{name:"all",shorthand:"a",type:Boolean,deprecated:!1,description:"Configure every supported coding agent"},{name:"key",shorthand:null,type:String,argument:"KEY",deprecated:!1,description:"Use an existing AI Gateway API key instead of creating one"},{name:"reconfigure",shorthand:null,type:Boolean,deprecated:!1,description:"Re-run even if already configured, to rotate the key or switch team"},{name:"no-session-migration",shorthand:null,type:Boolean,deprecated:!1,description:"Do not copy existing Codex Desktop sessions for use with the Vercel AI Gateway provider."},dryRunOption,yesOption],examples:[{name:"Connect detected coding agents to the AI Gateway",value:`${packageName} setup gateway`},{name:"Preview the AI Gateway changes for Claude Code",value:`${packageName} setup gateway --agent claude-code --dry-run`}]},skillsSubcommand={name:"skills",aliases:[],description:"Write the vercel-cli agent skill that ships with this CLI version to ~/.agents/skills, or to --output",arguments:[],options:[{name:"output",shorthand:"o",type:String,argument:"PATH",deprecated:!1,description:"Directory to write the skill into (default: ~/.agents/skills/vercel-cli)"},{name:"dry-run",shorthand:null,type:Boolean,deprecated:!1,description:"Preview configuration changes without applying them"},formatOption,jsonOption],examples:[{name:"Write the Vercel CLI skill to ~/.agents/skills/vercel-cli",value:`${packageName} setup skills`},{name:"Update the skill after upgrading the CLI",value:`${packageName} setup skills`},{name:"Preview what would change",value:`${packageName} setup skills --dry-run`},{name:"Write the skill into a project or custom agent directory",value:`${packageName} setup skills --output .agents/skills/vercel-cli`}]},setupCommand={name:"setup",aliases:[],summary:"Set up coding agents for Vercel",description:"Set up your machine for Vercel: configure the Vercel plugin for local coding agents and connect them to the AI Gateway",arguments:[],runsWithoutSubcommand:!0,subcommands:[pluginSubcommand,gatewaySubcommand,skillsSubcommand],options:[{name:"plugin",shorthand:null,type:Boolean,deprecated:!0,description:"DEPRECATED: Use `vercel setup plugin` instead"},{name:"gateway",shorthand:null,type:Boolean,deprecated:!0,description:"DEPRECATED: Use `vercel setup gateway` instead"},agentOption,dryRunOption,yesOption],examples:[{name:"Set up everything (prompts for each step)",value:`${packageName} setup`},{name:"Only connect coding agents to the AI Gateway",value:`${packageName} setup gateway`},{name:"Install the Vercel plugin for Codex",value:`${packageName} setup plugin --agent codex`},{name:"Preview what setup would change",value:`${packageName} setup --dry-run`},{name:"Run setup without prompts",value:`${packageName} setup --yes`},{name:"Write the Vercel CLI skill that matches this CLI version",value:`${packageName} setup skills`}]};export{pluginSubcommand,gatewaySubcommand,skillsSubcommand,setupCommand};