@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
@@ -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{require_dist as require_dist2}from"./chunk-46ISU3XI.js";import{require_dist}from"./chunk-ISSNEDG5.js";import{require_types}from"./chunk-AW33SRYY.js";import{require_build_utils}from"./chunk-5MDNVAE6.js";import{__commonJS,__require,__toESM}from"./chunk-BZENIQ7N.js";var require_constants=__commonJS({"../runtimes/dist/constants.js"(exports,module){"use strict";var __defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__hasOwnProp=Object.prototype.hasOwnProperty,__export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})},__copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to},__toCommonJS=mod=>__copyProps(__defProp({},"__esModule",{value:!0}),mod),constants_exports={};__export(constants_exports,{BUILDER_RUNTIMES:()=>BUILDER_RUNTIMES,CONTAINER_ENTRYPOINT_CANDIDATES:()=>CONTAINER_ENTRYPOINT_CANDIDATES,ENTRYPOINT_EXTENSIONS:()=>ENTRYPOINT_EXTENSIONS,ROUTE_OWNING_BUILDERS:()=>ROUTE_OWNING_BUILDERS,RUNTIME_BUILDERS:()=>RUNTIME_BUILDERS,RUNTIME_MANIFESTS:()=>RUNTIME_MANIFESTS,STATIC_BUILDERS:()=>STATIC_BUILDERS});module.exports=__toCommonJS(constants_exports);var RUNTIME_BUILDERS={node:"@vercel/backends",python:"@vercel/python",go:"@vercel/go",rust:"@vercel/rust",ruby:"@vercel/ruby",container:"@vercel/container"},RUNTIME_MANIFESTS={node:["package.json"],python:["pyproject.toml","requirements.txt","Pipfile","pylock.yml","uv.lock","setup.py"],go:["go.mod"],ruby:["Gemfile"],rust:["Cargo.toml"]},ENTRYPOINT_EXTENSIONS={".ts":"node",".mts":"node",".js":"node",".mjs":"node",".cjs":"node",".py":"python",".go":"go",".rs":"rust",".rb":"ruby",".ru":"ruby"},BUILDER_RUNTIMES={...Object.fromEntries(Object.entries(RUNTIME_BUILDERS).map(([runtime,builder])=>[builder,runtime])),"@vercel/node":"node","@vercel/next":"node","@vercel/remix-builder":"node","@vercel/redwood":"node","@vercel/hydrogen":"node","@vercel/express":"node","@vercel/hono":"node","@vercel/h3":"node","@vercel/koa":"node","@vercel/nestjs":"node","@vercel/fastify":"node","@vercel/elysia":"node"},STATIC_BUILDERS=new Set(["@vercel/static-build","@vercel/static"]),ROUTE_OWNING_BUILDERS=new Set(["@vercel/next","@vercel/backends"]),CONTAINER_ENTRYPOINT_CANDIDATES=["Dockerfile.vercel","Containerfile.vercel","Dockerfile","Containerfile"]}});var require_entrypoint=__commonJS({"../runtimes/dist/entrypoint.js"(exports,module){"use strict";var __defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__hasOwnProp=Object.prototype.hasOwnProperty,__export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})},__copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to},__toCommonJS=mod=>__copyProps(__defProp({},"__esModule",{value:!0}),mod),entrypoint_exports={};__export(entrypoint_exports,{isDockerfileEntrypoint:()=>isDockerfileEntrypoint,isNodeScheduleEntrypoint:()=>isNodeScheduleEntrypoint2,parsePyModuleAttrEntrypoint:()=>parsePyModuleAttrEntrypoint,parsePythonScheduleModule:()=>parsePythonScheduleModule2,stripTrailingSlash:()=>stripTrailingSlash});module.exports=__toCommonJS(entrypoint_exports);var import_path=__require("path"),import_constants=require_constants(),PYTHON_MODULE_ATTR_RE=/^([A-Za-z_][\w]*(?:\.[A-Za-z_][\w]*)*):([A-Za-z_][\w]*)$/,PYTHON_MODULE_RE=/^[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*$/,SOURCE_FILE_RE=/\.(?:py|[cm]?[jt]s)$/,NODE_SOURCE_FILE_RE=/\.(?:m?js|[cm]?ts)$/;function parsePyModuleAttrEntrypoint(entrypoint){let match=PYTHON_MODULE_ATTR_RE.exec(entrypoint);if(!match)return null;let[,modulePart,attrName]=match;return!modulePart||!attrName?null:{attrName,filePath:modulePart.replace(/\./g,"/")+".py",moduleName:modulePart}}function parsePythonScheduleModule2(entrypoint){if(!PYTHON_MODULE_RE.test(entrypoint)||SOURCE_FILE_RE.test(entrypoint))return null;let path=entrypoint.replace(/\./g,"/");return{moduleName:entrypoint,sourceFiles:[`${path}/__init__.py`,`${path}.py`]}}function isNodeScheduleEntrypoint2(entrypoint){return NODE_SOURCE_FILE_RE.test(entrypoint)}var CONTAINER_ENTRYPOINT_BASENAMES=new Set(import_constants.CONTAINER_ENTRYPOINT_CANDIDATES.map(name=>name.toLowerCase()));function isDockerfileEntrypoint(entrypoint){return CONTAINER_ENTRYPOINT_BASENAMES.has(import_path.posix.basename(entrypoint).toLowerCase())}function stripTrailingSlash(p){let stripped=p.replace(/\/+$/,"");return stripped===""?".":stripped}}});var import_routing_utils=__toESM(require_dist(),1),import_build_utils=__toESM(require_build_utils(),1),import_types=__toESM(require_types(),1),import_fs_detectors=__toESM(require_dist2(),1),import_entrypoint=__toESM(require_entrypoint(),1);import{getConfigValidator}from"./config-validator.mjs";var imagesSchema={type:"object",additionalProperties:!1,required:["sizes"],properties:{contentDispositionType:{enum:["inline","attachment"]},contentSecurityPolicy:{type:"string",minLength:1,maxLength:256},dangerouslyAllowSVG:{type:"boolean"},domains:{type:"array",minItems:0,maxItems:50,items:{type:"string",minLength:1,maxLength:256}},formats:{type:"array",minItems:1,maxItems:4,items:{enum:["image/avif","image/webp","image/jpeg","image/png"]}},localPatterns:{type:"array",minItems:0,maxItems:25,items:{type:"object",additionalProperties:!1,properties:{pathname:{type:"string",minLength:1,maxLength:256},search:{type:"string",minLength:0,maxLength:256}}}},minimumCacheTTL:{type:"integer",minimum:1,maximum:31536e4},qualities:{type:"array",minItems:1,maxItems:20,items:{type:"integer",minimum:1,maximum:100}},remotePatterns:{type:"array",minItems:0,maxItems:50,items:{type:"object",additionalProperties:!1,required:["hostname"],properties:{protocol:{enum:["http","https"]},hostname:{type:"string",minLength:1,maxLength:256},port:{type:"string",minLength:0,maxLength:5},pathname:{type:"string",minLength:1,maxLength:256},search:{type:"string",minLength:0,maxLength:256}}}},sizes:{type:"array",minItems:1,maxItems:50,items:{type:"number"}}}},cronsSchema={type:"array",minItems:0,items:{type:"object",additionalProperties:!1,required:["path","schedule"],properties:{path:{type:"string",minLength:1,maxLength:512,pattern:"^/.*"},schedule:{type:"string",minLength:9,maxLength:256}}}},envVarNamesSchema={pattern:"^[A-Za-z_][A-Za-z0-9_]*$",maxLength:256},servicesBindingSchema={type:"object",additionalProperties:!1,required:["service","format","env"],properties:{type:{description:"Optional binding type marker. Currently the only supported type is `service`. When present this must be `service`.",const:"service"},service:{type:"string",minLength:1,maxLength:64,pattern:import_build_utils.SERVICE_NAME_PATTERN},format:{const:"url"},env:{type:"string",...envVarNamesSchema}}},servicesBindingsSchema={type:"array",maxItems:100,items:servicesBindingSchema},typedBindingsSchema={...servicesBindingsSchema,items:{...servicesBindingSchema,required:["type",...servicesBindingSchema.required]}},scheduleNameSchema={type:"string",minLength:1,maxLength:256,pattern:"^[0-9A-Za-z][0-9A-Za-z._-]*$"},scheduleDefinitionSchema={type:"object",additionalProperties:!1,properties:{schedule:{type:"string",minLength:9,maxLength:256},timezone:{type:"string",minLength:1,maxLength:50,description:"IANA timezone for cron evaluation. Defaults to UTC."},jitter:{type:"integer",minimum:1,maximum:15},path:{description:"Deployment path to invoke over HTTP, like `crons[].path`. Must start with `/`.",type:"string",maxLength:512,pattern:"^/"},requestMethod:{description:"HTTP method used to invoke `path`. Only valid with `path`. Defaults to `POST`.",enum:["GET","POST"]},function:{type:"string",minLength:1},service:{description:"Service that owns `function`, from `services`. When set, `function` is the path within that service. Only valid with `function`.",type:"string",minLength:1,maxLength:64,pattern:"^[a-z]([a-z_-]*[a-z])?$"},topic:{type:"string",minLength:1,maxLength:256,pattern:"^[A-Za-z0-9_-]+$"},run:{description:"Command to run for each firing. Only valid with a Dockerfile or Containerfile entrypoint.",type:"array",minItems:1,items:[{type:"string",pattern:"\\S"}],additionalItems:{type:"string"}},root:{description:"Directory of the service that runs the schedule's `entrypoint`, which is relative to it. Required with `entrypoint`.",type:"string",minLength:1,maxLength:512},entrypoint:{type:"string",minLength:1,maxLength:512},runtime:{description:"Runtime of an `entrypoint` without `run`: `python` for a module path like `jobs.tasks`, or `node` for a JavaScript or TypeScript file.",enum:["python","node"]},bindings:typedBindingsSchema},dependencies:{requestMethod:["path"],service:["function"],run:["entrypoint"],entrypoint:["root"],root:["entrypoint"],bindings:["entrypoint"]},oneOf:[{required:["path"]},{required:["function"]},{required:["topic"]},{required:["entrypoint"]}]},maxSchedules=500,schedulesSchema={type:"object",maxProperties:maxSchedules,propertyNames:scheduleNameSchema,additionalProperties:scheduleDefinitionSchema},experimentalServicesMountSchema={oneOf:[{type:"string",minLength:1,maxLength:512},{type:"object",additionalProperties:!1,properties:{path:{type:"string",minLength:1,maxLength:512},subdomain:{type:"string",minLength:1,maxLength:63}},anyOf:[{required:["path"]},{required:["subdomain"]}]}]},staticExperimentalServiceScheduleSchema={type:"string",minLength:9,maxLength:256,not:{const:"<dynamic>"}},experimentalServiceScheduleSchema={oneOf:[{type:"string",minLength:9,maxLength:256},{type:"array",minItems:1,items:staticExperimentalServiceScheduleSchema}]},experimentalServiceQueueTopicSchema={type:"object",additionalProperties:!1,required:["topic"],properties:{topic:{type:"string",minLength:1,maxLength:256},retryAfterSeconds:{type:"integer",minimum:1,maximum:86400},initialDelaySeconds:{type:"integer",minimum:0,maximum:86400}}},experimentalServiceTopicsSchema={oneOf:[{type:"array",minItems:1,items:{type:"string",minLength:1,maxLength:256}},{type:"array",minItems:1,items:experimentalServiceQueueTopicSchema}]},getExperimentalServicesCommonProperties=()=>({entrypoint:{type:"string",minLength:1,maxLength:512},root:{type:"string",minLength:1,maxLength:512},workspace:{type:"string",minLength:1,maxLength:512},framework:{type:"string",minLength:1,maxLength:256},builder:{type:"string",minLength:1,maxLength:256},runtime:{type:"string",minLength:1,maxLength:256},buildCommand:{type:"string",minLength:1,maxLength:2048},installCommand:{type:"string",minLength:1,maxLength:2048},preDeployCommand:{type:"string",minLength:1,maxLength:2048},command:{oneOf:[{type:"string",minLength:1,maxLength:2048},{type:"array",minItems:1,items:{type:"string",minLength:1,maxLength:2048}}]},memory:{type:"integer",minimum:128,maximum:10240},maxDuration:(0,import_build_utils.getMaxDurationSchema)(),includeFiles:{oneOf:[{type:"string",minLength:1},{type:"array",items:{type:"string",minLength:1}}]},excludeFiles:{oneOf:[{type:"string",minLength:1},{type:"array",items:{type:"string",minLength:1}}]}}),experimentalServicesRoutableProperties={mount:experimentalServicesMountSchema,routePrefix:{type:"string",minLength:1,maxLength:512},subdomain:{type:"string",minLength:1,maxLength:63}},getExperimentalServicesServiceConfigSchema=()=>({oneOf:[{type:"object",additionalProperties:!1,properties:{...getExperimentalServicesCommonProperties(),...experimentalServicesRoutableProperties,type:{enum:["web"]}}},{type:"object",additionalProperties:!1,required:["type","trigger","schedule"],properties:{...getExperimentalServicesCommonProperties(),type:{const:"job"},trigger:{const:"schedule"},schedule:experimentalServiceScheduleSchema}},{type:"object",additionalProperties:!1,required:["type","trigger","topics"],properties:{...getExperimentalServicesCommonProperties(),type:{const:"job"},trigger:{const:"queue"},topics:experimentalServiceTopicsSchema,consumer:{type:"string",minLength:1,maxLength:256}}},{type:"object",additionalProperties:!1,required:["type","trigger","entrypoint"],properties:{...getExperimentalServicesCommonProperties(),type:{const:"job"},trigger:{const:"workflow"}}},{type:"object",additionalProperties:!1,required:["type"],properties:{...getExperimentalServicesCommonProperties(),type:{const:"worker"},topics:{type:"array",items:{type:"string",minLength:1,maxLength:256},minItems:1},consumer:{type:"string",minLength:1,maxLength:256}}},{type:"object",additionalProperties:!1,required:["type","schedule"],properties:{...getExperimentalServicesCommonProperties(),type:{const:"cron"},schedule:experimentalServiceScheduleSchema}}]}),getExperimentalServicesSchema=()=>({type:"object",propertyNames:{pattern:"^[a-zA-Z]([a-zA-Z0-9_-]*[a-zA-Z0-9])?$",maxLength:64},additionalProperties:getExperimentalServicesServiceConfigSchema()}),experimentalServiceGroupsSchema={type:"object",propertyNames:{pattern:"^[a-zA-Z]([a-zA-Z0-9_-]*[a-zA-Z0-9])?$",maxLength:64},additionalProperties:{type:"array",items:{type:"string",minLength:1,maxLength:256}}},servicesPathSchema={type:"string",minLength:1,maxLength:512},servicesCommandSchema={type:"string",minLength:1,maxLength:2048},containerImageSchema={type:"string",minLength:1,maxLength:1024},getServicesServiceConfigSchema=()=>({type:"object",additionalProperties:!1,anyOf:[{required:["root"]},{required:["image"]}],properties:{root:servicesPathSchema,framework:{type:"string",minLength:1,maxLength:256},runtime:{type:"string",minLength:1,maxLength:256},entrypoint:servicesPathSchema,image:containerImageSchema,command:{oneOf:[{type:"string",minLength:1,maxLength:4096},{type:"array",minItems:1,maxItems:128,items:{type:"string",minLength:1,maxLength:4096}}]},installCommand:servicesCommandSchema,buildCommand:servicesCommandSchema,devCommand:servicesCommandSchema,ignoreCommand:servicesCommandSchema,outputDirectory:servicesPathSchema,bindings:servicesBindingsSchema,functions:(0,import_build_utils.getFunctionsSchema)(),proxy:proxySchema,headers:import_routing_utils.headersSchema,redirects:import_routing_utils.redirectsSchema,rewrites:import_routing_utils.rewritesSchema,routes:import_routing_utils.routesSchema,cleanUrls:import_routing_utils.cleanUrlsSchema,trailingSlash:import_routing_utils.trailingSlashSchema}}),daemonConfigSchema={type:"object",additionalProperties:!1,anyOf:[{required:["instances"]},{required:["replicas"]}],properties:{root:servicesPathSchema,entrypoint:servicesPathSchema,image:containerImageSchema,command:{type:"array",minItems:1,maxItems:128,items:{type:"string",minLength:1,maxLength:4096}},instances:{type:"object",additionalProperties:{type:"integer",minimum:0}},replicas:{description:"Deprecated. Use `instances`. Ignored when `instances` is set.",deprecated:!0,type:"object",additionalProperties:{type:"integer",minimum:0}},resources:{type:"object",additionalProperties:!1,required:["requests"],properties:{requests:{type:"object",additionalProperties:!1,required:["memory"],properties:{memory:{enum:["1Gi","2Gi","4Gi","8Gi"]}}}}},terminationGracePeriodSeconds:{type:"integer",minimum:0},livenessProbe:{type:"object",additionalProperties:!1,required:["httpGet"],properties:{httpGet:{type:"object",additionalProperties:!1,required:["port"],properties:{path:{type:"string",minLength:1},port:{type:"integer",minimum:1,maximum:65535},host:{type:"string",minLength:1},scheme:{enum:["HTTP","HTTPS"]},httpHeaders:{type:"array",items:{type:"object",additionalProperties:!1,required:["name","value"],properties:{name:{type:"string",minLength:1},value:{type:"string"}}}}}},initialDelaySeconds:{type:"integer",minimum:0,maximum:86400},periodSeconds:{type:"integer",minimum:1,maximum:86400},timeoutSeconds:{type:"integer",minimum:1,maximum:86400},successThreshold:{type:"integer",minimum:1,maximum:10},failureThreshold:{type:"integer",minimum:1,maximum:10}}},bindings:typedBindingsSchema}},getServicesSchema=()=>({type:"object",propertyNames:{pattern:import_build_utils.SERVICE_NAME_PATTERN,maxLength:64},additionalProperties:getServicesServiceConfigSchema()}),maxDaemons=100,daemonsSchema={type:"object",maxProperties:maxDaemons,propertyNames:{pattern:import_build_utils.DAEMON_NAME_PATTERN,maxLength:64},additionalProperties:daemonConfigSchema},proxySchema={type:"object",additionalProperties:!1,required:["entrypoint"],properties:{entrypoint:{type:"string",minLength:1},matcher:{oneOf:[{type:"string",minLength:1},{type:"array",minItems:1,items:{type:"string",minLength:1}}]}}};function buildVercelConfigSchema(){return{type:"object",additionalProperties:!0,properties:{builds:import_build_utils.buildsSchema,routes:import_routing_utils.routesSchema,cleanUrls:import_routing_utils.cleanUrlsSchema,headers:import_routing_utils.headersSchema,redirects:import_routing_utils.redirectsSchema,rewrites:import_routing_utils.rewritesSchema,trailingSlash:import_routing_utils.trailingSlashSchema,functions:(0,import_build_utils.getFunctionsSchema)(),images:imagesSchema,crons:cronsSchema,schedules:schedulesSchema,bunVersion:{type:"string"},proxy:proxySchema,experimentalServices:getExperimentalServicesSchema(),experimentalServiceGroups:experimentalServiceGroupsSchema,services:getServicesSchema(),experimentalServicesV2:getServicesSchema(),daemons:daemonsSchema}}}var isDockerfilePath=entrypoint=>/(docker|container)file/i.test((0,import_build_utils.splitDockerfileEntrypoint)(entrypoint).path.split(/[\\/]/).pop()??""),toPythonModulePath=entrypoint=>entrypoint.replace(/\.py$/,"").replace(/[\\/]+/g,".").replace(/(^|\.)__init__$/,""),hasInvalidDockerfileStage=entrypoint=>{let{buildTarget}=(0,import_build_utils.splitDockerfileEntrypoint)(entrypoint);return buildTarget!==void 0&&!(0,import_build_utils.isValidDockerfileStage)(buildTarget)};function validateConfig(config){let validate=getConfigValidator(buildVercelConfigSchema);if(!validate(config)&&validate.errors&&validate.errors[0]){let error=validate.errors[0],fileName=config[import_types.fileNameSymbol]||"vercel.json",niceError=(0,import_build_utils.getPrettyError)(error);return niceError.message=`Invalid ${fileName} - ${niceError.message}`,niceError}let serviceNames=new Set([...Object.keys(config.services??{}),...Object.keys(config.daemons??{})]),scheduleServices=getScheduleServiceNames(config),destinationServices=new Set(getDestinationServices(config)),invalidSchedule=(code,message)=>new import_build_utils.NowBuildError({code,message:`Invalid ${config[import_types.fileNameSymbol]||"vercel.json"} - ${message}`}),invalidCommand=message=>invalidSchedule("INVALID_SCHEDULE_COMMAND",message),invalidEntrypoint=message=>invalidSchedule("INVALID_SCHEDULE_ENTRYPOINT",message);for(let[name,schedule]of Object.entries(config.schedules??{})){let path=`schedules.${name}`;if("runtime"in schedule&&("run"in schedule||!("entrypoint"in schedule)))return invalidEntrypoint(`\`${path}.runtime\` is only valid with an \`entrypoint\` and without \`run\`.`);if("entrypoint"in schedule&&!("run"in schedule)){let{entrypoint,runtime}=schedule;if(!runtime)return isDockerfilePath(entrypoint)?invalidEntrypoint(`\`${path}.entrypoint\` names a Dockerfile, so \`${path}\` must set \`run\`.`):invalidEntrypoint(`\`${path}\` must set \`runtime\` to run its \`entrypoint\`: "python" for a module path like "jobs.tasks", or "node" for a .js, .mjs, .ts, .mts or .cts file.`);if(runtime==="python"&&!(0,import_entrypoint.parsePythonScheduleModule)(entrypoint)){let suggestion=entrypoint.endsWith(".py")?toPythonModulePath(entrypoint):"";return invalidEntrypoint(`\`${path}.entrypoint\` "${entrypoint}" must be a Python module path like "${(0,import_entrypoint.parsePythonScheduleModule)(suggestion)?suggestion:"jobs.tasks"}", since \`${path}.runtime\` is "python".`)}if(runtime==="node"&&!(0,import_entrypoint.isNodeScheduleEntrypoint)(entrypoint))return invalidEntrypoint(`\`${path}.entrypoint\` "${entrypoint}" must be a .js, .mjs, .ts, .mts or .cts file, since \`${path}.runtime\` is "node".`);let configured=["schedule","timezone","jitter"].find(key=>key in schedule);if(configured)return invalidEntrypoint(runtime==="node"?`\`${path}\` runs "${entrypoint}", whose \`export const config\` sets its cron, timezone and jitter. Remove \`${path}.${configured}\`.`:`\`${path}\` runs the Python module "${entrypoint}", whose \`@schedule\` handlers set their own cron, timezone and jitter. Remove \`${path}.${configured}\`.`)}else if(!("schedule"in schedule))return invalidSchedule("INVALID_SCHEDULE_EXPRESSION",`\`${path}\` is missing required property \`schedule\`.`);if("run"in schedule){if(!isDockerfilePath(schedule.entrypoint))return invalidCommand(`\`${path}.run\` requires a Dockerfile or Containerfile \`entrypoint\`.`);if(hasInvalidDockerfileStage(schedule.entrypoint))return invalidCommand(`\`${path}.entrypoint\` "${schedule.entrypoint}" is invalid. ${import_build_utils.DOCKERFILE_STAGE_HINT}`)}if(scheduleServices.has(name)){if(name.length>64||!new RegExp(import_build_utils.SERVICE_NAME_PATTERN).test(name))return invalidScheduleService(config,`\`${path}\` runs as a service, so its name must be a valid service name: lowercase letters, \`-\` and \`_\`, at most 64 characters.`);if(serviceNames.has(name))return invalidScheduleService(config,`\`${path}\` runs as service "${name}", which is already the name of a service or daemon.`);if(destinationServices.has(name))return invalidScheduleService(config,`Rewrites and routes cannot target schedule "${name}" because schedules do not receive traffic.`)}if(!(!("timezone"in schedule)||schedule.timezone===void 0))try{if(!/^[A-Za-z][A-Za-z0-9_+/-]*$/.test(schedule.timezone))throw new RangeError("Expected a named timezone");new Intl.DateTimeFormat("en-US",{timeZone:schedule.timezone})}catch{return new import_build_utils.NowBuildError({code:"INVALID_SCHEDULE_TIMEZONE",message:`Invalid ${config[import_types.fileNameSymbol]||"vercel.json"} - \`schedules.${name}.timezone\` must be a valid IANA timezone, such as "America/New_York". Omit it to use UTC.`})}}let functionMaps=[config.functions,...Object.values(config.services??{}).map(service=>service.functions),...Object.values(config.experimentalServicesV2??{}).map(service=>service.functions)];for(let functions of functionMaps)for(let[pattern,fn]of Object.entries(functions??{})){let regions=[...new Set(fn.regions)];if(fn.affinity?.mode==="strict"&&(regions.includes("all")||regions.length>1))return new import_build_utils.NowBuildError({code:"INVALID_FUNCTION_AFFINITY_REGIONS",message:`Function affinity mode "strict" requires at most one statically configured region. Update \`functions[${JSON.stringify(pattern)}].regions\` to contain a single region.`,link:"https://vercel.com/docs/concepts/projects/project-configuration#functions"})}if(config.proxy){let proxyError=(0,import_fs_detectors.validateProxyConfig)(config.proxy,{field:"proxy",level:"project"});if(proxyError)return new import_build_utils.NowBuildError({code:proxyError.code.toUpperCase(),message:proxyError.message})}if(config.functions&&config.builds)return new import_build_utils.NowBuildError({code:"FUNCTIONS_AND_BUILDS",message:"The `functions` property cannot be used in conjunction with the `builds` property. Please remove one of them.",link:"https://vercel.link/functions-and-builds"});if(config.proxy&&config.builds)return new import_build_utils.NowBuildError({code:"PROXY_AND_BUILDS",message:"The `proxy` property cannot be used with the `builds` property. Remove `builds` to use an explicit proxy entrypoint."});let hasExperimentalServices=!!config.experimentalServices;if(hasExperimentalServices&&config.builds)return new import_build_utils.NowBuildError({code:"EXPERIMENTAL_SERVICES_AND_BUILDS",message:"The `experimentalServices` property cannot be used in conjunction with the `builds` property. Please remove one of them."});if(hasExperimentalServices&&config.functions)return new import_build_utils.NowBuildError({code:"EXPERIMENTAL_SERVICES_AND_FUNCTIONS",message:"The `experimentalServices` property cannot be used in conjunction with the `functions` property. Please remove one of them."});if(config.experimentalServiceGroups&&!config.experimentalServices)return new import_build_utils.NowBuildError({code:"SERVICE_GROUPS_WITHOUT_SERVICES",message:"The `experimentalServiceGroups` property requires `experimentalServices` to be defined. Service groups reference services by name."});let hasServices=config.services!=null,hasExperimentalServicesV2=config.experimentalServicesV2!=null;if(hasServices&&hasExperimentalServicesV2)return new import_build_utils.NowBuildError({code:"SERVICES_AND_EXPERIMENTAL_SERVICES_V2",message:"The `services` property cannot be used in conjunction with its deprecated alias `experimentalServicesV2`. Please use only `services`."});let servicesConfig=config.services??config.experimentalServicesV2,servicesConfigKey=hasServices?"services":"experimentalServicesV2",servicesErrorCodePrefix=hasServices?"SERVICES":"EXPERIMENTAL_SERVICES_V2";if(servicesConfig&&hasExperimentalServices)return new import_build_utils.NowBuildError({code:`${servicesErrorCodePrefix}_AND_EXPERIMENTAL_SERVICES`,message:`The \`${servicesConfigKey}\` property cannot be used in conjunction with the \`experimentalServices\` property. Please use only one services configuration.`});if(servicesConfig&&config.builds)return new import_build_utils.NowBuildError({code:`${servicesErrorCodePrefix}_AND_BUILDS`,message:`The \`${servicesConfigKey}\` property cannot be used in conjunction with the \`builds\` property. Please remove one of them.`});if(servicesConfig){let ambiguousTopLevel=[];if(config.functions!=null&&ambiguousTopLevel.push("functions"),config.installCommand!=null&&ambiguousTopLevel.push("installCommand"),config.buildCommand!=null&&ambiguousTopLevel.push("buildCommand"),config.devCommand!=null&&ambiguousTopLevel.push("devCommand"),config.ignoreCommand!=null&&ambiguousTopLevel.push("ignoreCommand"),config.outputDirectory!=null&&ambiguousTopLevel.push("outputDirectory"),config.framework!=null&&ambiguousTopLevel.push("framework"),ambiguousTopLevel.length>0){let count=ambiguousTopLevel.length,fields=ambiguousTopLevel.map(field=>`\`${field}\``).join(", ");return new import_build_utils.NowBuildError({code:`${servicesErrorCodePrefix}_AND_TOP_LEVEL_BUILD_SETTINGS`,message:`The top-level ${count>1?"properties":"property"} ${fields} cannot be used with \`${servicesConfigKey}\` because the owning service is ambiguous. Move ${count>1?"them":"it"} under the relevant service in \`${servicesConfigKey}\`.`})}}if(config.daemons){let daemonError=validateDaemons(config,config.daemons);if(daemonError)return daemonError}for(let[name,schedule]of Object.entries(config.schedules??{})){if(!("entrypoint"in schedule))continue;let bindingError=validateCallerBindings(config,`Schedule "${name}"`,schedule.bindings,message=>invalidScheduleService(config,message));if(bindingError)return bindingError}if(servicesConfig){let imageError=validateImageServices(config,servicesConfig,servicesConfigKey);if(imageError)return imageError;let serviceNames2=new Set(Object.keys(servicesConfig));for(let[serviceName,serviceConfig]of Object.entries(servicesConfig))for(let binding of serviceConfig.bindings??[])if(!serviceNames2.has(binding.service))return scheduleServices.has(binding.service)?scheduleBindingError(config,`Service "${serviceName}"`,binding.service):new import_build_utils.NowBuildError({code:`${servicesErrorCodePrefix}_BINDING_UNKNOWN_SERVICE`,message:`Service "${serviceName}" declares a binding to unknown service "${binding.service}". Add "${binding.service}" to \`${servicesConfigKey}\` or fix the binding.`})}return null}function validateDaemons(config,daemons){let invalid=message=>new import_build_utils.NowBuildError({code:"INVALID_DAEMON",message}),daemonNames=new Set(Object.keys(daemons));for(let[name,daemon]of Object.entries(daemons)){if(daemon.image!==void 0){let imageProblem=(0,import_build_utils.getVcrImageProblem)(daemon.image);if(imageProblem)return invalidImage(config,`daemons.${name}.image`,imageProblem);if(daemon.entrypoint!==void 0)return invalid(`Daemon "${name}" can set \`image\` or \`entrypoint\`, not both.`);continue}if(daemon.root===void 0||daemon.entrypoint===void 0)return invalid(`Daemon "${name}" must set \`image\`, or \`root\` and \`entrypoint\` to build one.`);if(!isDockerfilePath(daemon.entrypoint))return invalid(`Daemon "${name}" must set \`entrypoint\` to a Dockerfile or Containerfile.`);if(hasInvalidDockerfileStage(daemon.entrypoint))return invalid(`Daemon "${name}" has invalid \`entrypoint\` "${daemon.entrypoint}". ${import_build_utils.DOCKERFILE_STAGE_HINT}`)}let services={...config.experimentalServicesV2,...config.services},isDaemonTarget=name=>daemonNames.has(name)&&!Object.prototype.hasOwnProperty.call(services,name);for(let[name,service]of Object.entries(services)){let binding=service.bindings?.find(binding2=>isDaemonTarget(binding2.service));if(binding)return invalid(`Service "${name}" cannot bind to daemon "${binding.service}" because daemons do not receive traffic.`)}for(let[name,daemon]of Object.entries(daemons)){let bindingError=validateCallerBindings(config,`Daemon "${name}"`,daemon.bindings,invalid);if(bindingError)return bindingError}let daemonTarget=getDestinationServices(config).find(isDaemonTarget);return daemonTarget?invalid(`Rewrites and routes cannot target daemon "${daemonTarget}" because daemons do not receive traffic.`):null}function validateCallerBindings(config,caller,bindings,invalid){let services={...config.experimentalServicesV2,...config.services},scheduleServices=getScheduleServiceNames(config),envs=new Set;for(let binding of bindings??[]){if(!Object.prototype.hasOwnProperty.call(services,binding.service))return scheduleServices.has(binding.service)?scheduleBindingError(config,caller,binding.service):invalid(`${caller} declares a binding to unknown service "${binding.service}". Add "${binding.service}" to \`services\` or fix the binding.`);if(envs.has(binding.env))return invalid(`${caller} declares more than one binding for the environment variable "${binding.env}".`);envs.add(binding.env)}return null}function invalidImage(config,path,problem){return new import_build_utils.NowBuildError({code:"INVALID_CONTAINER_IMAGE",message:`Invalid ${config[import_types.fileNameSymbol]||"vercel.json"} - \`${path}\` ${problem}`})}function validateImageServices(config,services,servicesConfigKey){let fileName=config[import_types.fileNameSymbol]||"vercel.json";for(let[name,service]of Object.entries(services)){if(service.image===void 0)continue;let path=`${servicesConfigKey}.${name}`,imageProblem=(0,import_build_utils.getVcrImageProblem)(service.image);if(imageProblem)return invalidImage(config,`${path}.image`,imageProblem);let invalid=(code,problem)=>new import_build_utils.NowBuildError({code,message:`Invalid ${fileName} - \`${path}\` sets \`image\`, so ${problem}`}),buildSettings=import_build_utils.SERVICE_IMAGE_BUILD_SETTINGS.filter(field=>service[field]!==void 0);if(buildSettings.length>0){let fields=buildSettings.map(field=>`\`${field}\``).join(", ");return invalid("SERVICE_IMAGE_WITH_BUILD_SETTINGS",`it isn't built and can't set ${fields}.`)}if(service.runtime!==void 0&&service.runtime!=="container")return invalid("SERVICE_IMAGE_WITH_RUNTIME",'its `runtime` can only be "container".');if(service.functions!==void 0)return invalid("SERVICE_IMAGE_WITH_FUNCTIONS","it can't set `functions`. The functions configuration isn't supported for image services.")}return null}function getScheduleServiceNames(config){return new Set(Object.entries(config.schedules??{}).filter(([,schedule])=>"entrypoint"in schedule||"run"in schedule).map(([name])=>name))}function invalidScheduleService(config,message){return new import_build_utils.NowBuildError({code:"INVALID_SCHEDULE_SERVICE",message:`Invalid ${config[import_types.fileNameSymbol]||"vercel.json"} - ${message}`})}function scheduleBindingError(config,binder,schedule){return invalidScheduleService(config,`${binder} cannot bind to schedule "${schedule}" because schedules do not receive traffic.`)}function getDestinationServices(config){let services={...config.experimentalServicesV2,...config.services};return[...config.rewrites??[],...config.routes??[],...Object.values(services).flatMap(service=>[...service.rewrites??[],...service.routes??[]])].flatMap(entry=>{let destination="destination"in entry?entry.destination:void 0;return typeof destination=="object"&&destination!==null?[destination.service]:[]})}export{require_constants,require_entrypoint,buildVercelConfigSchema,validateConfig};
7
+ import{require_dist as require_dist2}from"./chunk-Y3ETQZSK.js";import{require_dist}from"./chunk-MN2F4NPH.js";import{require_types}from"./chunk-PH2MLBQO.js";import{require_build_utils}from"./chunk-BVFFSUG3.js";import{__commonJS,__require,__toESM}from"./chunk-NBPLUP7C.js";var require_constants=__commonJS({"../runtimes/dist/constants.js"(exports,module){"use strict";var __defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__hasOwnProp=Object.prototype.hasOwnProperty,__export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})},__copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to},__toCommonJS=mod=>__copyProps(__defProp({},"__esModule",{value:!0}),mod),constants_exports={};__export(constants_exports,{BUILDER_RUNTIMES:()=>BUILDER_RUNTIMES,CONTAINER_ENTRYPOINT_CANDIDATES:()=>CONTAINER_ENTRYPOINT_CANDIDATES,ENTRYPOINT_EXTENSIONS:()=>ENTRYPOINT_EXTENSIONS,ROUTE_OWNING_BUILDERS:()=>ROUTE_OWNING_BUILDERS,RUNTIME_BUILDERS:()=>RUNTIME_BUILDERS,RUNTIME_MANIFESTS:()=>RUNTIME_MANIFESTS,STATIC_BUILDERS:()=>STATIC_BUILDERS});module.exports=__toCommonJS(constants_exports);var RUNTIME_BUILDERS={node:"@vercel/backends",python:"@vercel/python",go:"@vercel/go",rust:"@vercel/rust",ruby:"@vercel/ruby",container:"@vercel/container"},RUNTIME_MANIFESTS={node:["package.json"],python:["pyproject.toml","requirements.txt","Pipfile","pylock.yml","uv.lock","setup.py"],go:["go.mod"],ruby:["Gemfile"],rust:["Cargo.toml"]},ENTRYPOINT_EXTENSIONS={".ts":"node",".mts":"node",".js":"node",".mjs":"node",".cjs":"node",".py":"python",".go":"go",".rs":"rust",".rb":"ruby",".ru":"ruby"},BUILDER_RUNTIMES={...Object.fromEntries(Object.entries(RUNTIME_BUILDERS).map(([runtime,builder])=>[builder,runtime])),"@vercel/node":"node","@vercel/next":"node","@vercel/remix-builder":"node","@vercel/redwood":"node","@vercel/hydrogen":"node","@vercel/express":"node","@vercel/hono":"node","@vercel/h3":"node","@vercel/koa":"node","@vercel/nestjs":"node","@vercel/fastify":"node","@vercel/elysia":"node"},STATIC_BUILDERS=new Set(["@vercel/static-build","@vercel/static"]),ROUTE_OWNING_BUILDERS=new Set(["@vercel/next","@vercel/backends"]),CONTAINER_ENTRYPOINT_CANDIDATES=["Dockerfile.vercel","Containerfile.vercel","Dockerfile","Containerfile"]}});var require_entrypoint=__commonJS({"../runtimes/dist/entrypoint.js"(exports,module){"use strict";var __defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__hasOwnProp=Object.prototype.hasOwnProperty,__export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})},__copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to},__toCommonJS=mod=>__copyProps(__defProp({},"__esModule",{value:!0}),mod),entrypoint_exports={};__export(entrypoint_exports,{isDockerfileEntrypoint:()=>isDockerfileEntrypoint,isNodeScheduleEntrypoint:()=>isNodeScheduleEntrypoint2,parsePyModuleAttrEntrypoint:()=>parsePyModuleAttrEntrypoint,parsePythonScheduleModule:()=>parsePythonScheduleModule2,stripTrailingSlash:()=>stripTrailingSlash});module.exports=__toCommonJS(entrypoint_exports);var import_path=__require("path"),import_constants=require_constants(),PYTHON_MODULE_ATTR_RE=/^([A-Za-z_][\w]*(?:\.[A-Za-z_][\w]*)*):([A-Za-z_][\w]*)$/,PYTHON_MODULE_RE=/^[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*$/,SOURCE_FILE_RE=/\.(?:py|[cm]?[jt]s)$/,NODE_SOURCE_FILE_RE=/\.(?:m?js|[cm]?ts)$/;function parsePyModuleAttrEntrypoint(entrypoint){let match=PYTHON_MODULE_ATTR_RE.exec(entrypoint);if(!match)return null;let[,modulePart,attrName]=match;return!modulePart||!attrName?null:{attrName,filePath:modulePart.replace(/\./g,"/")+".py",moduleName:modulePart}}function parsePythonScheduleModule2(entrypoint){if(!PYTHON_MODULE_RE.test(entrypoint)||SOURCE_FILE_RE.test(entrypoint))return null;let path=entrypoint.replace(/\./g,"/");return{moduleName:entrypoint,sourceFiles:[`${path}/__init__.py`,`${path}.py`]}}function isNodeScheduleEntrypoint2(entrypoint){return NODE_SOURCE_FILE_RE.test(entrypoint)}var CONTAINER_ENTRYPOINT_BASENAMES=new Set(import_constants.CONTAINER_ENTRYPOINT_CANDIDATES.map(name=>name.toLowerCase()));function isDockerfileEntrypoint(entrypoint){return CONTAINER_ENTRYPOINT_BASENAMES.has(import_path.posix.basename(entrypoint).toLowerCase())}function stripTrailingSlash(p){let stripped=p.replace(/\/+$/,"");return stripped===""?".":stripped}}});var import_routing_utils=__toESM(require_dist(),1),import_build_utils=__toESM(require_build_utils(),1),import_types=__toESM(require_types(),1),import_fs_detectors=__toESM(require_dist2(),1),import_entrypoint=__toESM(require_entrypoint(),1);import{getConfigValidator}from"./config-validator.mjs";var imagesSchema={type:"object",additionalProperties:!1,required:["sizes"],properties:{contentDispositionType:{enum:["inline","attachment"]},contentSecurityPolicy:{type:"string",minLength:1,maxLength:256},dangerouslyAllowSVG:{type:"boolean"},domains:{type:"array",minItems:0,maxItems:50,items:{type:"string",minLength:1,maxLength:256}},formats:{type:"array",minItems:1,maxItems:4,items:{enum:["image/avif","image/webp","image/jpeg","image/png"]}},localPatterns:{type:"array",minItems:0,maxItems:25,items:{type:"object",additionalProperties:!1,properties:{pathname:{type:"string",minLength:1,maxLength:256},search:{type:"string",minLength:0,maxLength:256}}}},minimumCacheTTL:{type:"integer",minimum:1,maximum:31536e4},qualities:{type:"array",minItems:1,maxItems:20,items:{type:"integer",minimum:1,maximum:100}},remotePatterns:{type:"array",minItems:0,maxItems:50,items:{type:"object",additionalProperties:!1,required:["hostname"],properties:{protocol:{enum:["http","https"]},hostname:{type:"string",minLength:1,maxLength:256},port:{type:"string",minLength:0,maxLength:5},pathname:{type:"string",minLength:1,maxLength:256},search:{type:"string",minLength:0,maxLength:256}}}},sizes:{type:"array",minItems:1,maxItems:50,items:{type:"number"}}}},cronsSchema={type:"array",minItems:0,items:{type:"object",additionalProperties:!1,required:["path","schedule"],properties:{path:{type:"string",minLength:1,maxLength:512,pattern:"^/.*"},schedule:{type:"string",minLength:9,maxLength:256}}}},envVarNamesSchema={pattern:"^[A-Za-z_][A-Za-z0-9_]*$",maxLength:256},servicesBindingSchema={type:"object",additionalProperties:!1,required:["service","format","env"],properties:{type:{description:"Optional binding type marker. Currently the only supported type is `service`. When present this must be `service`.",const:"service"},service:{type:"string",minLength:1,maxLength:64,pattern:import_build_utils.SERVICE_NAME_PATTERN},format:{const:"url"},env:{type:"string",...envVarNamesSchema}}},servicesBindingsSchema={type:"array",maxItems:100,items:servicesBindingSchema},typedBindingsSchema={...servicesBindingsSchema,items:{...servicesBindingSchema,required:["type",...servicesBindingSchema.required]}},scheduleNameSchema={type:"string",minLength:1,maxLength:256,pattern:"^[0-9A-Za-z][0-9A-Za-z._-]*$"},scheduleDefinitionSchema={type:"object",additionalProperties:!1,properties:{schedule:{type:"string",minLength:9,maxLength:256},timezone:{type:"string",minLength:1,maxLength:50,description:"IANA timezone for cron evaluation. Defaults to UTC."},jitter:{type:"integer",minimum:1,maximum:15},path:{description:"Deployment path to invoke over HTTP, like `crons[].path`. Must start with `/`.",type:"string",maxLength:512,pattern:"^/"},requestMethod:{description:"HTTP method used to invoke `path`. Only valid with `path`. Defaults to `POST`.",enum:["GET","POST"]},function:{type:"string",minLength:1},service:{description:"Service that owns `function`, from `services`. When set, `function` is the path within that service. Only valid with `function`.",type:"string",minLength:1,maxLength:64,pattern:"^[a-z]([a-z_-]*[a-z])?$"},topic:{type:"string",minLength:1,maxLength:256,pattern:"^[A-Za-z0-9_-]+$"},run:{description:"Command to run for each firing. Only valid with a Dockerfile or Containerfile entrypoint.",type:"array",minItems:1,items:[{type:"string",pattern:"\\S"}],additionalItems:{type:"string"}},root:{description:"Directory of the service that runs the schedule's `entrypoint`, which is relative to it. Required with `entrypoint`.",type:"string",minLength:1,maxLength:512},entrypoint:{type:"string",minLength:1,maxLength:512},runtime:{description:"Runtime of an `entrypoint` without `run`: `python` for a module path like `jobs.tasks`, or `node` for a JavaScript or TypeScript file.",enum:["python","node"]},bindings:typedBindingsSchema},dependencies:{requestMethod:["path"],service:["function"],run:["entrypoint"],entrypoint:["root"],root:["entrypoint"],bindings:["entrypoint"]},oneOf:[{required:["path"]},{required:["function"]},{required:["topic"]},{required:["entrypoint"]}]},maxSchedules=500,schedulesSchema={type:"object",maxProperties:maxSchedules,propertyNames:scheduleNameSchema,additionalProperties:scheduleDefinitionSchema},experimentalServicesMountSchema={oneOf:[{type:"string",minLength:1,maxLength:512},{type:"object",additionalProperties:!1,properties:{path:{type:"string",minLength:1,maxLength:512},subdomain:{type:"string",minLength:1,maxLength:63}},anyOf:[{required:["path"]},{required:["subdomain"]}]}]},staticExperimentalServiceScheduleSchema={type:"string",minLength:9,maxLength:256,not:{const:"<dynamic>"}},experimentalServiceScheduleSchema={oneOf:[{type:"string",minLength:9,maxLength:256},{type:"array",minItems:1,items:staticExperimentalServiceScheduleSchema}]},experimentalServiceQueueTopicSchema={type:"object",additionalProperties:!1,required:["topic"],properties:{topic:{type:"string",minLength:1,maxLength:256},retryAfterSeconds:{type:"integer",minimum:1,maximum:86400},initialDelaySeconds:{type:"integer",minimum:0,maximum:86400}}},experimentalServiceTopicsSchema={oneOf:[{type:"array",minItems:1,items:{type:"string",minLength:1,maxLength:256}},{type:"array",minItems:1,items:experimentalServiceQueueTopicSchema}]},getExperimentalServicesCommonProperties=()=>({entrypoint:{type:"string",minLength:1,maxLength:512},root:{type:"string",minLength:1,maxLength:512},workspace:{type:"string",minLength:1,maxLength:512},framework:{type:"string",minLength:1,maxLength:256},builder:{type:"string",minLength:1,maxLength:256},runtime:{type:"string",minLength:1,maxLength:256},buildCommand:{type:"string",minLength:1,maxLength:2048},installCommand:{type:"string",minLength:1,maxLength:2048},preDeployCommand:{type:"string",minLength:1,maxLength:2048},command:{oneOf:[{type:"string",minLength:1,maxLength:2048},{type:"array",minItems:1,items:{type:"string",minLength:1,maxLength:2048}}]},memory:{type:"integer",minimum:128,maximum:10240},maxDuration:(0,import_build_utils.getMaxDurationSchema)(),includeFiles:{oneOf:[{type:"string",minLength:1},{type:"array",items:{type:"string",minLength:1}}]},excludeFiles:{oneOf:[{type:"string",minLength:1},{type:"array",items:{type:"string",minLength:1}}]}}),experimentalServicesRoutableProperties={mount:experimentalServicesMountSchema,routePrefix:{type:"string",minLength:1,maxLength:512},subdomain:{type:"string",minLength:1,maxLength:63}},getExperimentalServicesServiceConfigSchema=()=>({oneOf:[{type:"object",additionalProperties:!1,properties:{...getExperimentalServicesCommonProperties(),...experimentalServicesRoutableProperties,type:{enum:["web"]}}},{type:"object",additionalProperties:!1,required:["type","trigger","schedule"],properties:{...getExperimentalServicesCommonProperties(),type:{const:"job"},trigger:{const:"schedule"},schedule:experimentalServiceScheduleSchema}},{type:"object",additionalProperties:!1,required:["type","trigger","topics"],properties:{...getExperimentalServicesCommonProperties(),type:{const:"job"},trigger:{const:"queue"},topics:experimentalServiceTopicsSchema,consumer:{type:"string",minLength:1,maxLength:256}}},{type:"object",additionalProperties:!1,required:["type","trigger","entrypoint"],properties:{...getExperimentalServicesCommonProperties(),type:{const:"job"},trigger:{const:"workflow"}}},{type:"object",additionalProperties:!1,required:["type"],properties:{...getExperimentalServicesCommonProperties(),type:{const:"worker"},topics:{type:"array",items:{type:"string",minLength:1,maxLength:256},minItems:1},consumer:{type:"string",minLength:1,maxLength:256}}},{type:"object",additionalProperties:!1,required:["type","schedule"],properties:{...getExperimentalServicesCommonProperties(),type:{const:"cron"},schedule:experimentalServiceScheduleSchema}}]}),getExperimentalServicesSchema=()=>({type:"object",propertyNames:{pattern:"^[a-zA-Z]([a-zA-Z0-9_-]*[a-zA-Z0-9])?$",maxLength:64},additionalProperties:getExperimentalServicesServiceConfigSchema()}),experimentalServiceGroupsSchema={type:"object",propertyNames:{pattern:"^[a-zA-Z]([a-zA-Z0-9_-]*[a-zA-Z0-9])?$",maxLength:64},additionalProperties:{type:"array",items:{type:"string",minLength:1,maxLength:256}}},servicesPathSchema={type:"string",minLength:1,maxLength:512},servicesCommandSchema={type:"string",minLength:1,maxLength:2048},containerImageSchema={type:"string",minLength:1,maxLength:1024},getServicesServiceConfigSchema=()=>({type:"object",additionalProperties:!1,anyOf:[{required:["root"]},{required:["image"]}],properties:{root:servicesPathSchema,framework:{type:"string",minLength:1,maxLength:256},runtime:{type:"string",minLength:1,maxLength:256},entrypoint:servicesPathSchema,image:containerImageSchema,command:{oneOf:[{type:"string",minLength:1,maxLength:4096},{type:"array",minItems:1,maxItems:128,items:{type:"string",minLength:1,maxLength:4096}}]},installCommand:servicesCommandSchema,buildCommand:servicesCommandSchema,devCommand:servicesCommandSchema,ignoreCommand:servicesCommandSchema,outputDirectory:servicesPathSchema,bindings:servicesBindingsSchema,functions:(0,import_build_utils.getFunctionsSchema)(),proxy:proxySchema,headers:import_routing_utils.headersSchema,redirects:import_routing_utils.redirectsSchema,rewrites:import_routing_utils.rewritesSchema,routes:import_routing_utils.routesSchema,cleanUrls:import_routing_utils.cleanUrlsSchema,trailingSlash:import_routing_utils.trailingSlashSchema}}),daemonConfigSchema={type:"object",additionalProperties:!1,anyOf:[{required:["instances"]},{required:["replicas"]}],properties:{root:servicesPathSchema,entrypoint:servicesPathSchema,image:containerImageSchema,command:{type:"array",minItems:1,maxItems:128,items:{type:"string",minLength:1,maxLength:4096}},instances:{type:"object",additionalProperties:{type:"integer",minimum:0}},replicas:{description:"Deprecated. Use `instances`. Ignored when `instances` is set.",deprecated:!0,type:"object",additionalProperties:{type:"integer",minimum:0}},resources:{type:"object",additionalProperties:!1,required:["requests"],properties:{requests:{type:"object",additionalProperties:!1,required:["memory"],properties:{memory:{enum:["1Gi","2Gi","4Gi","8Gi"]}}}}},terminationGracePeriodSeconds:{type:"integer",minimum:0},livenessProbe:{type:"object",additionalProperties:!1,required:["httpGet"],properties:{httpGet:{type:"object",additionalProperties:!1,required:["port"],properties:{path:{type:"string",minLength:1},port:{type:"integer",minimum:1,maximum:65535},host:{type:"string",minLength:1},scheme:{enum:["HTTP","HTTPS"]},httpHeaders:{type:"array",items:{type:"object",additionalProperties:!1,required:["name","value"],properties:{name:{type:"string",minLength:1},value:{type:"string"}}}}}},initialDelaySeconds:{type:"integer",minimum:0,maximum:86400},periodSeconds:{type:"integer",minimum:1,maximum:86400},timeoutSeconds:{type:"integer",minimum:1,maximum:86400},successThreshold:{type:"integer",minimum:1,maximum:10},failureThreshold:{type:"integer",minimum:1,maximum:10}}},bindings:typedBindingsSchema}},getServicesSchema=()=>({type:"object",propertyNames:{pattern:import_build_utils.SERVICE_NAME_PATTERN,maxLength:64},additionalProperties:getServicesServiceConfigSchema()}),maxDaemons=100,daemonsSchema={type:"object",maxProperties:maxDaemons,propertyNames:{pattern:import_build_utils.DAEMON_NAME_PATTERN,maxLength:64},additionalProperties:daemonConfigSchema},proxySchema={type:"object",additionalProperties:!1,required:["entrypoint"],properties:{entrypoint:{type:"string",minLength:1},matcher:{oneOf:[{type:"string",minLength:1},{type:"array",minItems:1,items:{type:"string",minLength:1}}]}}};function buildVercelConfigSchema(){return{type:"object",additionalProperties:!0,properties:{builds:import_build_utils.buildsSchema,routes:import_routing_utils.routesSchema,cleanUrls:import_routing_utils.cleanUrlsSchema,headers:import_routing_utils.headersSchema,redirects:import_routing_utils.redirectsSchema,rewrites:import_routing_utils.rewritesSchema,trailingSlash:import_routing_utils.trailingSlashSchema,functions:(0,import_build_utils.getFunctionsSchema)(),images:imagesSchema,crons:cronsSchema,schedules:schedulesSchema,bunVersion:{type:"string"},proxy:proxySchema,experimentalServices:getExperimentalServicesSchema(),experimentalServiceGroups:experimentalServiceGroupsSchema,services:getServicesSchema(),experimentalServicesV2:getServicesSchema(),daemons:daemonsSchema}}}var isDockerfilePath=entrypoint=>/(docker|container)file/i.test((0,import_build_utils.splitDockerfileEntrypoint)(entrypoint).path.split(/[\\/]/).pop()??""),toPythonModulePath=entrypoint=>entrypoint.replace(/\.py$/,"").replace(/[\\/]+/g,".").replace(/(^|\.)__init__$/,""),hasInvalidDockerfileStage=entrypoint=>{let{buildTarget}=(0,import_build_utils.splitDockerfileEntrypoint)(entrypoint);return buildTarget!==void 0&&!(0,import_build_utils.isValidDockerfileStage)(buildTarget)};function validateConfig(config){let validate=getConfigValidator(buildVercelConfigSchema);if(!validate(config)&&validate.errors&&validate.errors[0]){let error=validate.errors[0],fileName=config[import_types.fileNameSymbol]||"vercel.json",niceError=(0,import_build_utils.getPrettyError)(error);return niceError.message=`Invalid ${fileName} - ${niceError.message}`,niceError}let serviceNames=new Set([...Object.keys(config.services??{}),...Object.keys(config.daemons??{})]),scheduleServices=getScheduleServiceNames(config),destinationServices=new Set(getDestinationServices(config)),invalidSchedule=(code,message)=>new import_build_utils.NowBuildError({code,message:`Invalid ${config[import_types.fileNameSymbol]||"vercel.json"} - ${message}`}),invalidCommand=message=>invalidSchedule("INVALID_SCHEDULE_COMMAND",message),invalidEntrypoint=message=>invalidSchedule("INVALID_SCHEDULE_ENTRYPOINT",message);for(let[name,schedule]of Object.entries(config.schedules??{})){let path=`schedules.${name}`;if("runtime"in schedule&&("run"in schedule||!("entrypoint"in schedule)))return invalidEntrypoint(`\`${path}.runtime\` is only valid with an \`entrypoint\` and without \`run\`.`);if("entrypoint"in schedule&&!("run"in schedule)){let{entrypoint,runtime}=schedule;if(!runtime)return isDockerfilePath(entrypoint)?invalidEntrypoint(`\`${path}.entrypoint\` names a Dockerfile, so \`${path}\` must set \`run\`.`):invalidEntrypoint(`\`${path}\` must set \`runtime\` to run its \`entrypoint\`: "python" for a module path like "jobs.tasks", or "node" for a .js, .mjs, .ts, .mts or .cts file.`);if(runtime==="python"&&!(0,import_entrypoint.parsePythonScheduleModule)(entrypoint)){let suggestion=entrypoint.endsWith(".py")?toPythonModulePath(entrypoint):"";return invalidEntrypoint(`\`${path}.entrypoint\` "${entrypoint}" must be a Python module path like "${(0,import_entrypoint.parsePythonScheduleModule)(suggestion)?suggestion:"jobs.tasks"}", since \`${path}.runtime\` is "python".`)}if(runtime==="node"&&!(0,import_entrypoint.isNodeScheduleEntrypoint)(entrypoint))return invalidEntrypoint(`\`${path}.entrypoint\` "${entrypoint}" must be a .js, .mjs, .ts, .mts or .cts file, since \`${path}.runtime\` is "node".`);let configured=["schedule","timezone","jitter"].find(key=>key in schedule);if(configured)return invalidEntrypoint(runtime==="node"?`\`${path}\` runs "${entrypoint}", whose \`export const config\` sets its cron, timezone and jitter. Remove \`${path}.${configured}\`.`:`\`${path}\` runs the Python module "${entrypoint}", whose \`@schedule\` handlers set their own cron, timezone and jitter. Remove \`${path}.${configured}\`.`)}else if(!("schedule"in schedule))return invalidSchedule("INVALID_SCHEDULE_EXPRESSION",`\`${path}\` is missing required property \`schedule\`.`);if("run"in schedule){if(!isDockerfilePath(schedule.entrypoint))return invalidCommand(`\`${path}.run\` requires a Dockerfile or Containerfile \`entrypoint\`.`);if(hasInvalidDockerfileStage(schedule.entrypoint))return invalidCommand(`\`${path}.entrypoint\` "${schedule.entrypoint}" is invalid. ${import_build_utils.DOCKERFILE_STAGE_HINT}`)}if(scheduleServices.has(name)){if(name.length>64||!new RegExp(import_build_utils.SERVICE_NAME_PATTERN).test(name))return invalidScheduleService(config,`\`${path}\` runs as a service, so its name must be a valid service name: lowercase letters, \`-\` and \`_\`, at most 64 characters.`);if(serviceNames.has(name))return invalidScheduleService(config,`\`${path}\` runs as service "${name}", which is already the name of a service or daemon.`);if(destinationServices.has(name))return invalidScheduleService(config,`Rewrites and routes cannot target schedule "${name}" because schedules do not receive traffic.`)}if(!(!("timezone"in schedule)||schedule.timezone===void 0))try{if(!/^[A-Za-z][A-Za-z0-9_+/-]*$/.test(schedule.timezone))throw new RangeError("Expected a named timezone");new Intl.DateTimeFormat("en-US",{timeZone:schedule.timezone})}catch{return new import_build_utils.NowBuildError({code:"INVALID_SCHEDULE_TIMEZONE",message:`Invalid ${config[import_types.fileNameSymbol]||"vercel.json"} - \`schedules.${name}.timezone\` must be a valid IANA timezone, such as "America/New_York". Omit it to use UTC.`})}}let functionMaps=[config.functions,...Object.values(config.services??{}).map(service=>service.functions),...Object.values(config.experimentalServicesV2??{}).map(service=>service.functions)];for(let functions of functionMaps)for(let[pattern,fn]of Object.entries(functions??{})){let regions=[...new Set(fn.regions)];if(fn.affinity?.mode==="strict"&&(regions.includes("all")||regions.length>1))return new import_build_utils.NowBuildError({code:"INVALID_FUNCTION_AFFINITY_REGIONS",message:`Function affinity mode "strict" requires at most one statically configured region. Update \`functions[${JSON.stringify(pattern)}].regions\` to contain a single region.`,link:"https://vercel.com/docs/concepts/projects/project-configuration#functions"})}if(config.proxy){let proxyError=(0,import_fs_detectors.validateProxyConfig)(config.proxy,{field:"proxy",level:"project"});if(proxyError)return new import_build_utils.NowBuildError({code:proxyError.code.toUpperCase(),message:proxyError.message})}if(config.functions&&config.builds)return new import_build_utils.NowBuildError({code:"FUNCTIONS_AND_BUILDS",message:"The `functions` property cannot be used in conjunction with the `builds` property. Please remove one of them.",link:"https://vercel.link/functions-and-builds"});if(config.proxy&&config.builds)return new import_build_utils.NowBuildError({code:"PROXY_AND_BUILDS",message:"The `proxy` property cannot be used with the `builds` property. Remove `builds` to use an explicit proxy entrypoint."});let hasExperimentalServices=!!config.experimentalServices;if(hasExperimentalServices&&config.builds)return new import_build_utils.NowBuildError({code:"EXPERIMENTAL_SERVICES_AND_BUILDS",message:"The `experimentalServices` property cannot be used in conjunction with the `builds` property. Please remove one of them."});if(hasExperimentalServices&&config.functions)return new import_build_utils.NowBuildError({code:"EXPERIMENTAL_SERVICES_AND_FUNCTIONS",message:"The `experimentalServices` property cannot be used in conjunction with the `functions` property. Please remove one of them."});if(config.experimentalServiceGroups&&!config.experimentalServices)return new import_build_utils.NowBuildError({code:"SERVICE_GROUPS_WITHOUT_SERVICES",message:"The `experimentalServiceGroups` property requires `experimentalServices` to be defined. Service groups reference services by name."});let hasServices=config.services!=null,hasExperimentalServicesV2=config.experimentalServicesV2!=null;if(hasServices&&hasExperimentalServicesV2)return new import_build_utils.NowBuildError({code:"SERVICES_AND_EXPERIMENTAL_SERVICES_V2",message:"The `services` property cannot be used in conjunction with its deprecated alias `experimentalServicesV2`. Please use only `services`."});let servicesConfig=config.services??config.experimentalServicesV2,servicesConfigKey=hasServices?"services":"experimentalServicesV2",servicesErrorCodePrefix=hasServices?"SERVICES":"EXPERIMENTAL_SERVICES_V2";if(servicesConfig&&hasExperimentalServices)return new import_build_utils.NowBuildError({code:`${servicesErrorCodePrefix}_AND_EXPERIMENTAL_SERVICES`,message:`The \`${servicesConfigKey}\` property cannot be used in conjunction with the \`experimentalServices\` property. Please use only one services configuration.`});if(servicesConfig&&config.builds)return new import_build_utils.NowBuildError({code:`${servicesErrorCodePrefix}_AND_BUILDS`,message:`The \`${servicesConfigKey}\` property cannot be used in conjunction with the \`builds\` property. Please remove one of them.`});if(servicesConfig){let ambiguousTopLevel=[];if(config.functions!=null&&ambiguousTopLevel.push("functions"),config.installCommand!=null&&ambiguousTopLevel.push("installCommand"),config.buildCommand!=null&&ambiguousTopLevel.push("buildCommand"),config.devCommand!=null&&ambiguousTopLevel.push("devCommand"),config.ignoreCommand!=null&&ambiguousTopLevel.push("ignoreCommand"),config.outputDirectory!=null&&ambiguousTopLevel.push("outputDirectory"),config.framework!=null&&ambiguousTopLevel.push("framework"),ambiguousTopLevel.length>0){let count=ambiguousTopLevel.length,fields=ambiguousTopLevel.map(field=>`\`${field}\``).join(", ");return new import_build_utils.NowBuildError({code:`${servicesErrorCodePrefix}_AND_TOP_LEVEL_BUILD_SETTINGS`,message:`The top-level ${count>1?"properties":"property"} ${fields} cannot be used with \`${servicesConfigKey}\` because the owning service is ambiguous. Move ${count>1?"them":"it"} under the relevant service in \`${servicesConfigKey}\`.`})}}if(config.daemons){let daemonError=validateDaemons(config,config.daemons);if(daemonError)return daemonError}for(let[name,schedule]of Object.entries(config.schedules??{})){if(!("entrypoint"in schedule))continue;let bindingError=validateCallerBindings(config,`Schedule "${name}"`,schedule.bindings,message=>invalidScheduleService(config,message));if(bindingError)return bindingError}if(servicesConfig){let imageError=validateImageServices(config,servicesConfig,servicesConfigKey);if(imageError)return imageError;let serviceNames2=new Set(Object.keys(servicesConfig));for(let[serviceName,serviceConfig]of Object.entries(servicesConfig))for(let binding of serviceConfig.bindings??[])if(!serviceNames2.has(binding.service))return scheduleServices.has(binding.service)?scheduleBindingError(config,`Service "${serviceName}"`,binding.service):new import_build_utils.NowBuildError({code:`${servicesErrorCodePrefix}_BINDING_UNKNOWN_SERVICE`,message:`Service "${serviceName}" declares a binding to unknown service "${binding.service}". Add "${binding.service}" to \`${servicesConfigKey}\` or fix the binding.`})}return null}function validateDaemons(config,daemons){let invalid=message=>new import_build_utils.NowBuildError({code:"INVALID_DAEMON",message}),daemonNames=new Set(Object.keys(daemons));for(let[name,daemon]of Object.entries(daemons)){if(daemon.image!==void 0){let imageProblem=(0,import_build_utils.getVcrImageProblem)(daemon.image);if(imageProblem)return invalidImage(config,`daemons.${name}.image`,imageProblem);if(daemon.entrypoint!==void 0)return invalid(`Daemon "${name}" can set \`image\` or \`entrypoint\`, not both.`);continue}if(daemon.root===void 0||daemon.entrypoint===void 0)return invalid(`Daemon "${name}" must set \`image\`, or \`root\` and \`entrypoint\` to build one.`);if(!isDockerfilePath(daemon.entrypoint))return invalid(`Daemon "${name}" must set \`entrypoint\` to a Dockerfile or Containerfile.`);if(hasInvalidDockerfileStage(daemon.entrypoint))return invalid(`Daemon "${name}" has invalid \`entrypoint\` "${daemon.entrypoint}". ${import_build_utils.DOCKERFILE_STAGE_HINT}`)}let services={...config.experimentalServicesV2,...config.services},isDaemonTarget=name=>daemonNames.has(name)&&!Object.prototype.hasOwnProperty.call(services,name);for(let[name,service]of Object.entries(services)){let binding=service.bindings?.find(binding2=>isDaemonTarget(binding2.service));if(binding)return invalid(`Service "${name}" cannot bind to daemon "${binding.service}" because daemons do not receive traffic.`)}for(let[name,daemon]of Object.entries(daemons)){let bindingError=validateCallerBindings(config,`Daemon "${name}"`,daemon.bindings,invalid);if(bindingError)return bindingError}let daemonTarget=getDestinationServices(config).find(isDaemonTarget);return daemonTarget?invalid(`Rewrites and routes cannot target daemon "${daemonTarget}" because daemons do not receive traffic.`):null}function validateCallerBindings(config,caller,bindings,invalid){let services={...config.experimentalServicesV2,...config.services},scheduleServices=getScheduleServiceNames(config),envs=new Set;for(let binding of bindings??[]){if(!Object.prototype.hasOwnProperty.call(services,binding.service))return scheduleServices.has(binding.service)?scheduleBindingError(config,caller,binding.service):invalid(`${caller} declares a binding to unknown service "${binding.service}". Add "${binding.service}" to \`services\` or fix the binding.`);if(envs.has(binding.env))return invalid(`${caller} declares more than one binding for the environment variable "${binding.env}".`);envs.add(binding.env)}return null}function invalidImage(config,path,problem){return new import_build_utils.NowBuildError({code:"INVALID_CONTAINER_IMAGE",message:`Invalid ${config[import_types.fileNameSymbol]||"vercel.json"} - \`${path}\` ${problem}`})}function validateImageServices(config,services,servicesConfigKey){let fileName=config[import_types.fileNameSymbol]||"vercel.json";for(let[name,service]of Object.entries(services)){if(service.image===void 0)continue;let path=`${servicesConfigKey}.${name}`,imageProblem=(0,import_build_utils.getVcrImageProblem)(service.image);if(imageProblem)return invalidImage(config,`${path}.image`,imageProblem);let invalid=(code,problem)=>new import_build_utils.NowBuildError({code,message:`Invalid ${fileName} - \`${path}\` sets \`image\`, so ${problem}`}),buildSettings=import_build_utils.SERVICE_IMAGE_BUILD_SETTINGS.filter(field=>service[field]!==void 0);if(buildSettings.length>0){let fields=buildSettings.map(field=>`\`${field}\``).join(", ");return invalid("SERVICE_IMAGE_WITH_BUILD_SETTINGS",`it isn't built and can't set ${fields}.`)}if(service.runtime!==void 0&&service.runtime!=="container")return invalid("SERVICE_IMAGE_WITH_RUNTIME",'its `runtime` can only be "container".');if(service.functions!==void 0)return invalid("SERVICE_IMAGE_WITH_FUNCTIONS","it can't set `functions`. The functions configuration isn't supported for image services.")}return null}function getScheduleServiceNames(config){return new Set(Object.entries(config.schedules??{}).filter(([,schedule])=>"entrypoint"in schedule||"run"in schedule).map(([name])=>name))}function invalidScheduleService(config,message){return new import_build_utils.NowBuildError({code:"INVALID_SCHEDULE_SERVICE",message:`Invalid ${config[import_types.fileNameSymbol]||"vercel.json"} - ${message}`})}function scheduleBindingError(config,binder,schedule){return invalidScheduleService(config,`${binder} cannot bind to schedule "${schedule}" because schedules do not receive traffic.`)}function getDestinationServices(config){let services={...config.experimentalServicesV2,...config.services};return[...config.rewrites??[],...config.routes??[],...Object.values(services).flatMap(service=>[...service.rewrites??[],...service.routes??[]])].flatMap(entry=>{let destination="destination"in entry?entry.destination:void 0;return typeof destination=="object"&&destination!==null?[destination.service]:[]})}export{require_constants,require_entrypoint,buildVercelConfigSchema,validateConfig};
@@ -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{pkg_default}from"./chunk-BOJDM3O7.js";import{require_source}from"./chunk-NB2WLB3J.js";import{__commonJS,__toESM}from"./chunk-BZENIQ7N.js";var require_lower_case=__commonJS({"../../node_modules/.pnpm/title@3.4.1/node_modules/title/lib/lower-case.js"(exports,module){var conjunctions=["for","and","nor","but","or","yet","so"],articles=["a","an","the"],prepositions=["aboard","about","above","across","after","against","along","amid","among","anti","around","as","at","before","behind","below","beneath","beside","besides","between","beyond","but","by","concerning","considering","despite","down","during","except","excepting","excluding","following","for","from","in","inside","into","like","minus","near","of","off","on","onto","opposite","over","past","per","plus","regarding","round","save","since","than","through","to","toward","towards","under","underneath","unlike","until","up","upon","versus","via","with","within","without"];module.exports=new Set([...conjunctions,...articles,...prepositions])}});var require_specials=__commonJS({"../../node_modules/.pnpm/title@3.4.1/node_modules/title/lib/specials.js"(exports,module){var intended=["ZEIT","ZEIT Inc.","CLI","API","HTTP","HTTPS","JSX","DNS","URL","now.sh","now.json","CI","CDN","package.json","GitHub","CSS","JS","HTML","WordPress","JavaScript","Next.js","Node.js"];module.exports=intended}});var require_lib=__commonJS({"../../node_modules/.pnpm/title@3.4.1/node_modules/title/lib/index.js"(exports,module){var lowerCase=require_lower_case(),specials=require_specials(),regex=/(?:(?:(\s?(?:^|[.\(\)!?;:"-])\s*)(\w))|(\w))(\w*[’']*\w*)/g,convertToRegExp=specials2=>specials2.map(s=>[new RegExp(`\\b${s}\\b`,"gi"),s]);function parseMatch(match){let firstCharacter=match[0];return/\s/.test(firstCharacter)?match.substr(1):/[\(\)]/.test(firstCharacter)?null:match}module.exports=(str,options={})=>{str=str.toLowerCase().replace(regex,(m,lead="",forced,lower,rest)=>{let parsedMatch=parseMatch(m);if(!parsedMatch)return m;if(!forced){let fullLower=lower+rest;if(lowerCase.has(fullLower))return parsedMatch}return lead+(lower||forced).toUpperCase()+rest});let customSpecials=options.special||[],replace=[...specials,...customSpecials];return convertToRegExp(replace).forEach(([pattern,s])=>{str=str.replace(pattern,s)}),str}}});var import_chalk=__toESM(require_source(),1);function cmd(text){return`${import_chalk.default.gray("`")}${import_chalk.default.cyan(text)}${import_chalk.default.gray("`")}`}var import_title=__toESM(require_lib(),1);var packageName=pkg_default.name;function getTitleName(){return(0,import_title.default)(packageName)}function getCommandName(subcommands){let vercel=packageName;return subcommands&&(vercel=`${vercel} ${subcommands}`),cmd(vercel)}function getCommandNamePlain(subcommands){return subcommands?`${packageName} ${subcommands}`:packageName}export{require_lib,cmd,packageName,getTitleName,getCommandName,getCommandNamePlain};
7
+ import{pkg_default}from"./chunk-JCDPMWKO.js";import{require_source}from"./chunk-UJ7YUIEJ.js";import{__commonJS,__toESM}from"./chunk-NBPLUP7C.js";var require_lower_case=__commonJS({"../../node_modules/.pnpm/title@3.4.1/node_modules/title/lib/lower-case.js"(exports,module){var conjunctions=["for","and","nor","but","or","yet","so"],articles=["a","an","the"],prepositions=["aboard","about","above","across","after","against","along","amid","among","anti","around","as","at","before","behind","below","beneath","beside","besides","between","beyond","but","by","concerning","considering","despite","down","during","except","excepting","excluding","following","for","from","in","inside","into","like","minus","near","of","off","on","onto","opposite","over","past","per","plus","regarding","round","save","since","than","through","to","toward","towards","under","underneath","unlike","until","up","upon","versus","via","with","within","without"];module.exports=new Set([...conjunctions,...articles,...prepositions])}});var require_specials=__commonJS({"../../node_modules/.pnpm/title@3.4.1/node_modules/title/lib/specials.js"(exports,module){var intended=["ZEIT","ZEIT Inc.","CLI","API","HTTP","HTTPS","JSX","DNS","URL","now.sh","now.json","CI","CDN","package.json","GitHub","CSS","JS","HTML","WordPress","JavaScript","Next.js","Node.js"];module.exports=intended}});var require_lib=__commonJS({"../../node_modules/.pnpm/title@3.4.1/node_modules/title/lib/index.js"(exports,module){var lowerCase=require_lower_case(),specials=require_specials(),regex=/(?:(?:(\s?(?:^|[.\(\)!?;:"-])\s*)(\w))|(\w))(\w*[’']*\w*)/g,convertToRegExp=specials2=>specials2.map(s=>[new RegExp(`\\b${s}\\b`,"gi"),s]);function parseMatch(match){let firstCharacter=match[0];return/\s/.test(firstCharacter)?match.substr(1):/[\(\)]/.test(firstCharacter)?null:match}module.exports=(str,options={})=>{str=str.toLowerCase().replace(regex,(m,lead="",forced,lower,rest)=>{let parsedMatch=parseMatch(m);if(!parsedMatch)return m;if(!forced){let fullLower=lower+rest;if(lowerCase.has(fullLower))return parsedMatch}return lead+(lower||forced).toUpperCase()+rest});let customSpecials=options.special||[],replace=[...specials,...customSpecials];return convertToRegExp(replace).forEach(([pattern,s])=>{str=str.replace(pattern,s)}),str}}});var import_chalk=__toESM(require_source(),1);function cmd(text){return`${import_chalk.default.gray("`")}${import_chalk.default.cyan(text)}${import_chalk.default.gray("`")}`}var import_title=__toESM(require_lib(),1);var packageName=pkg_default.name;function getTitleName(){return(0,import_title.default)(packageName)}function getCommandName(subcommands){let vercel=packageName;return subcommands&&(vercel=`${vercel} ${subcommands}`),cmd(vercel)}function getCommandNamePlain(subcommands){return subcommands?`${packageName} ${subcommands}`:packageName}export{require_lib,cmd,packageName,getTitleName,getCommandName,getCommandNamePlain};
@@ -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{humanizeReference,renderAlertTable}from"./chunk-MMMJO2M3.js";import{truncateEnd,truncateMiddle}from"./chunk-ID663OJ7.js";import{formatDate}from"./chunk-HRR57QNP.js";import{printAlignedLabel}from"./chunk-M2Q2DUHO.js";import{buildCommandWithGlobalFlags}from"./chunk-3ARTWVQV.js";import{output_manager_default}from"./chunk-RYSO5U3E.js";import{quoteArg}from"./chunk-DORCX7UB.js";import{require_source}from"./chunk-NB2WLB3J.js";import{__toESM}from"./chunk-BZENIQ7N.js";var import_chalk=__toESM(require_source(),1);function formatBoolean(value){return value?"yes":"no"}function formatOperator(operator){return{gt:">",gte:">=",lt:"<",lte:"<="}[operator]??operator}function formatPublicRuleScope(rule){let scope=rule.ruleScope;return scope.type==="all"?"all projects":scope.type==="project"?`project: ${scope.projectId}`:`${scope.type}: ${scope.projectIds.join(", ")}`}function formatMetricSelection(metric){let modifiers=[metric.per?`per ${metric.per}`:void 0,metric.normalize?`normalize ${metric.normalize}`:void 0,metric.dimensions?.length?`dimensions ${metric.dimensions.join(", ")}`:void 0].filter(Boolean);return`${metric.aggregation} ${metric.metric}${modifiers.length?` (${modifiers.join("; ")})`:""}`}function formatCustomTrigger(trigger){let minimum=trigger.minimum?`; minimum ${trigger.minimum.output} >= ${trigger.minimum.threshold}`:"";return trigger.type==="anomaly"?`${trigger.output} ${formatAnomalyDirection(trigger)} anomaly at ${trigger.standardDeviations} standard deviations${minimum}`:`${trigger.output} ${formatOperator(trigger.operator)} ${trigger.threshold}${minimum}`}function formatAnomalyDirection(trigger){return trigger.direction==="below"?"drop":"spike"}function formatCustomCondition(rule){if(!rule.querySupported)return"Query unavailable via API";let query=rule.evaluation.query,output=query.outputs[0];return`${query.formulas?.[output]?`${output} = ${query.formulas[output]}`:query.metrics[output]?formatMetricSelection(query.metrics[output]):output}; ${formatCustomTrigger(rule.trigger)}; ${rule.evaluation.window}`}function formatBuiltInCondition(rule){return`${rule.triggers.mode==="all"?"all triggers":rule.triggers.items.map(trigger=>humanizeReference(trigger.type)).join(", ")}; minimum ${rule.matchMinimumSeverityLevel}`}function formatRuleCondition(rule){return rule.type==="built-in"?formatBuiltInCondition(rule):formatCustomCondition(rule)}function printRules(rules){let rows=[["Name","Monitor ID","Type","Scope","Condition"].map(header=>import_chalk.default.cyan(header)),...rules.map(rule=>[import_chalk.default.bold(truncateEnd(rule.name,36)),import_chalk.default.dim(rule.id),rule.isDefault?`${rule.type} (default)`:rule.type,truncateMiddle(formatPublicRuleScope(rule),38),truncateEnd(formatRuleCondition(rule),72)])];output_manager_default.print(`
7
+ import{humanizeReference,renderAlertTable}from"./chunk-QOIG2FJP.js";import{truncateEnd,truncateMiddle}from"./chunk-EL65DTVZ.js";import{formatDate}from"./chunk-46R47IE5.js";import{printAlignedLabel}from"./chunk-SUD5V67L.js";import{buildCommandWithGlobalFlags}from"./chunk-NVU7XTNI.js";import{output_manager_default}from"./chunk-RIXTYUYN.js";import{quoteArg}from"./chunk-DORCX7UB.js";import{require_source}from"./chunk-UJ7YUIEJ.js";import{__toESM}from"./chunk-NBPLUP7C.js";var import_chalk=__toESM(require_source(),1);function formatBoolean(value){return value?"yes":"no"}function formatOperator(operator){return{gt:">",gte:">=",lt:"<",lte:"<="}[operator]??operator}function formatPublicRuleScope(rule){let scope=rule.ruleScope;return scope.type==="all"?"all projects":scope.type==="project"?`project: ${scope.projectId}`:`${scope.type}: ${scope.projectIds.join(", ")}`}function formatMetricSelection(metric){let modifiers=[metric.per?`per ${metric.per}`:void 0,metric.normalize?`normalize ${metric.normalize}`:void 0,metric.dimensions?.length?`dimensions ${metric.dimensions.join(", ")}`:void 0].filter(Boolean);return`${metric.aggregation} ${metric.metric}${modifiers.length?` (${modifiers.join("; ")})`:""}`}function formatCustomTrigger(trigger){let minimum=trigger.minimum?`; minimum ${trigger.minimum.output} >= ${trigger.minimum.threshold}`:"";return trigger.type==="anomaly"?`${trigger.output} ${formatAnomalyDirection(trigger)} anomaly at ${trigger.standardDeviations} standard deviations${minimum}`:`${trigger.output} ${formatOperator(trigger.operator)} ${trigger.threshold}${minimum}`}function formatAnomalyDirection(trigger){return trigger.direction==="below"?"drop":"spike"}function formatCustomCondition(rule){if(!rule.querySupported)return"Query unavailable via API";let query=rule.evaluation.query,output=query.outputs[0];return`${query.formulas?.[output]?`${output} = ${query.formulas[output]}`:query.metrics[output]?formatMetricSelection(query.metrics[output]):output}; ${formatCustomTrigger(rule.trigger)}; ${rule.evaluation.window}`}function formatBuiltInCondition(rule){return`${rule.triggers.mode==="all"?"all triggers":rule.triggers.items.map(trigger=>humanizeReference(trigger.type)).join(", ")}; minimum ${rule.matchMinimumSeverityLevel}`}function formatRuleCondition(rule){return rule.type==="built-in"?formatBuiltInCondition(rule):formatCustomCondition(rule)}function printRules(rules){let rows=[["Name","Monitor ID","Type","Scope","Condition"].map(header=>import_chalk.default.cyan(header)),...rules.map(rule=>[import_chalk.default.bold(truncateEnd(rule.name,36)),import_chalk.default.dim(rule.id),rule.isDefault?`${rule.type} (default)`:rule.type,truncateMiddle(formatPublicRuleScope(rule),38),truncateEnd(formatRuleCondition(rule),72)])];output_manager_default.print(`
8
8
  ${renderAlertTable(rows,2)}
9
9
  `)}function commonRows(rule){return[["Name",rule.name],["Monitor ID",rule.id],["Type",rule.type],["Scope",formatPublicRuleScope(rule)],["Default",formatBoolean(rule.isDefault)],...rule.createdAt?[["Created",formatDate(rule.createdAt)]]:[],...rule.updatedAt?[["Updated",formatDate(rule.updatedAt)]]:[]]}function notificationRows(rule){return[["Team owner notifications",formatBoolean(rule.notificationSettings.enableTeamOwnerNotifications)],...rule.notificationSettings.incidentIoRoutingKey?[["Incident.io routing key",rule.notificationSettings.incidentIoRoutingKey]]:[]]}function printBuiltInRule(rule){output_manager_default.print(`${import_chalk.default.cyan("Built-in conditions")}
10
10
 
@@ -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{require_strip_ansi}from"./chunk-BS32OUOC.js";import{__toESM}from"./chunk-BZENIQ7N.js";var import_strip_ansi=__toESM(require_strip_ansi(),1);function truncateEnd(value,maxLength,opts={}){let omission=opts.omission??"...";return value.length<=maxLength?value:maxLength<=omission.length?value.slice(0,maxLength):`${value.slice(0,maxLength-omission.length)}${omission}`}function truncateMiddle(value,maxLength,opts={}){let omission=opts.omission??"...",comparable=opts.useVisibleLength?(0,import_strip_ansi.default)(value):value;if(comparable.length<=maxLength)return value;if(maxLength<=omission.length)return comparable.slice(0,maxLength);let available=maxLength-omission.length,start=Math.ceil(available/2),end=Math.floor(available/2);return`${comparable.slice(0,start)}${omission}${comparable.slice(comparable.length-end)}`}function ellipsizeMiddle(value,maxLength,useVisibleLength=!1){return truncateMiddle(value,maxLength,{omission:"\u2026",useVisibleLength})}export{truncateEnd,truncateMiddle,ellipsizeMiddle};
7
+ import{require_strip_ansi}from"./chunk-LPYHYTYI.js";import{__toESM}from"./chunk-NBPLUP7C.js";var import_strip_ansi=__toESM(require_strip_ansi(),1);function truncateEnd(value,maxLength,opts={}){let omission=opts.omission??"...";return value.length<=maxLength?value:maxLength<=omission.length?value.slice(0,maxLength):`${value.slice(0,maxLength-omission.length)}${omission}`}function truncateMiddle(value,maxLength,opts={}){let omission=opts.omission??"...",comparable=opts.useVisibleLength?(0,import_strip_ansi.default)(value):value;if(comparable.length<=maxLength)return value;if(maxLength<=omission.length)return comparable.slice(0,maxLength);let available=maxLength-omission.length,start=Math.ceil(available/2),end=Math.floor(available/2);return`${comparable.slice(0,start)}${omission}${comparable.slice(comparable.length-end)}`}function ellipsizeMiddle(value,maxLength,useVisibleLength=!1){return truncateMiddle(value,maxLength,{omission:"\u2026",useVisibleLength})}export{truncateEnd,truncateMiddle,ellipsizeMiddle};
@@ -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{LoginTelemetryClient,login}from"./chunk-J5SINMVO.js";import{loginCommand}from"./chunk-F7L5SXJM.js";import{printError}from"./chunk-UPDIZCP3.js";import{parseArguments}from"./chunk-INIZJZ3O.js";import{output_manager_default}from"./chunk-RYSO5U3E.js";import{help}from"./chunk-5727HGA6.js";import{getFlagsSpecification}from"./chunk-DORCX7UB.js";import{require_source}from"./chunk-NB2WLB3J.js";import{__toESM}from"./chunk-BZENIQ7N.js";var import_chalk=__toESM(require_source(),1);async function login2(client,options){let parsedArgs=null,flagsSpecification=getFlagsSpecification(loginCommand.options),telemetry=new LoginTelemetryClient({opts:{store:client.telemetryEventStore}});try{options.shouldParseArgs&&(parsedArgs=parseArguments(client.argv.slice(2),flagsSpecification))}catch(error){return printError(error),2}if(parsedArgs?.flags["--help"])return telemetry.trackCliFlagHelp("login"),output_manager_default.print(help(loginCommand,{stream:client.stderr,columns:client.stderr.columns})),0;if(parsedArgs?.flags["--token"])return output_manager_default.error('`--token` may not be used with the "login" command'),2;if(options.shouldParseArgs&&parsedArgs){let obsoleteFlags=Object.keys(parsedArgs.flags).filter(flag=>{let flagKey=flag.replace("--",""),option=loginCommand.options.find(o=>o.name===flagKey);if(!(!option||typeof option=="number"))return"deprecated"in option&&option.deprecated});if(obsoleteFlags.length){let flags=obsoleteFlags.map(f=>import_chalk.default.bold(f)).join(", ");output_manager_default.warn(`The following options are deprecated: ${flags}`)}let obsoleteArguments=parsedArgs.args.slice(1);if(obsoleteArguments.length){let args=obsoleteArguments.map(a=>import_chalk.default.bold(a)).join(", ");output_manager_default.warn(`The following arguments are deprecated: ${args}`)}(obsoleteArguments.length||obsoleteFlags.length)&&output_manager_default.print(`Read more in our ${output_manager_default.link("changelog","https://vercel.com/changelog/new-vercel-cli-login-flow")}.
7
+ import{LoginTelemetryClient,login}from"./chunk-P5IKPNRJ.js";import{loginCommand}from"./chunk-CDO5IECP.js";import{printError}from"./chunk-Y2J2ESAE.js";import{parseArguments}from"./chunk-RDTWDVFO.js";import{output_manager_default}from"./chunk-RIXTYUYN.js";import{help}from"./chunk-F2VXECRT.js";import{getFlagsSpecification}from"./chunk-DORCX7UB.js";import{require_source}from"./chunk-UJ7YUIEJ.js";import{__toESM}from"./chunk-NBPLUP7C.js";var import_chalk=__toESM(require_source(),1);async function login2(client,options){let parsedArgs=null,flagsSpecification=getFlagsSpecification(loginCommand.options),telemetry=new LoginTelemetryClient({opts:{store:client.telemetryEventStore}});try{options.shouldParseArgs&&(parsedArgs=parseArguments(client.argv.slice(2),flagsSpecification))}catch(error){return printError(error),2}if(parsedArgs?.flags["--help"])return telemetry.trackCliFlagHelp("login"),output_manager_default.print(help(loginCommand,{stream:client.stderr,columns:client.stderr.columns})),0;if(parsedArgs?.flags["--token"])return output_manager_default.error('`--token` may not be used with the "login" command'),2;if(options.shouldParseArgs&&parsedArgs){let obsoleteFlags=Object.keys(parsedArgs.flags).filter(flag=>{let flagKey=flag.replace("--",""),option=loginCommand.options.find(o=>o.name===flagKey);if(!(!option||typeof option=="number"))return"deprecated"in option&&option.deprecated});if(obsoleteFlags.length){let flags=obsoleteFlags.map(f=>import_chalk.default.bold(f)).join(", ");output_manager_default.warn(`The following options are deprecated: ${flags}`)}let obsoleteArguments=parsedArgs.args.slice(1);if(obsoleteArguments.length){let args=obsoleteArguments.map(a=>import_chalk.default.bold(a)).join(", ");output_manager_default.warn(`The following arguments are deprecated: ${args}`)}(obsoleteArguments.length||obsoleteFlags.length)&&output_manager_default.print(`Read more in our ${output_manager_default.link("changelog","https://vercel.com/changelog/new-vercel-cli-login-flow")}.
8
8
  `)}telemetry.trackState("started");let scope=parsedArgs?.flags["--scope"]||parsedArgs?.flags["--team"];return await login(client,telemetry,options.shouldParseArgs,scope)}export{login2 as login};
@@ -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{require_source}from"./chunk-NB2WLB3J.js";import{__toESM}from"./chunk-BZENIQ7N.js";var import_chalk=__toESM(require_source(),1);function param(text){return`${import_chalk.default.gray('"')}${import_chalk.default.bold(text)}${import_chalk.default.gray('"')}`}export{param};
7
+ import{require_source}from"./chunk-UJ7YUIEJ.js";import{__toESM}from"./chunk-NBPLUP7C.js";var import_chalk=__toESM(require_source(),1);function param(text){return`${import_chalk.default.gray('"')}${import_chalk.default.bold(text)}${import_chalk.default.gray('"')}`}export{param};
@@ -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{X,Z}from"./chunk-6OOJFAF5.js";import n from"node:path";import r from"node:fs/promises";Z();async function i(e){let t=await r.readdir(e,{recursive:!0,withFileTypes:!0}),i2=[];for(let a2 of t){let t2=n.join(a2.parentPath,a2.name),o2=await r.lstat(t2),s2={abs:t2,rel:n.relative(e,t2).split(n.sep).join("/"),mode:o2.mode&511,size:o2.size};if(o2.isFile())i2.push({...s2,type:"file"});else if(o2.isDirectory())i2.push({...s2,type:"directory",size:0});else if(o2.isSymbolicLink())i2.push({...s2,type:"symlink",size:0,target:await r.readlink(t2)});else throw Error(`Unsupported file type: ${t2}`)}return i2.sort((e2,t2)=>e2.rel.localeCompare(t2.rel))}function a(e,t){let n2=[],r2=[],i2=0;for(let a2 of e)r2.length>0&&i2+a2.size>t&&(n2.push(r2),r2=[],i2=0),r2.push(a2),i2+=a2.size;return r2.length>0&&n2.push(r2),n2}function o(e,t=process.platform){if(e==="")return[];let n2=e.split("\0");if(n2.at(-1)===""&&n2.pop(),n2.length%4!=0)throw Error("Invalid file listing returned by sandbox");let r2=[];for(let e2=0;e2<n2.length;e2+=4){let[i2,a2,o2,s2]=n2.slice(e2,e2+4);if(t==="win32"&&/[\\:]/.test(a2))throw Error(`Cannot copy filename ${JSON.stringify(a2)} on Windows`);let c2=parseInt(o2,8);if(!Number.isFinite(c2))throw Error(`Invalid file mode returned by sandbox: ${o2}`);if(i2==="f")r2.push({type:"file",rel:a2,mode:c2});else if(i2==="d")r2.push({type:"directory",rel:a2,mode:c2});else if(i2==="l")r2.push({type:"symlink",rel:a2,mode:c2,target:s2});else throw Error(`Unsupported remote file type: ${i2}`)}return r2}function s(t){if(!/^0?[0-7]{3}$/.test(t))throw Error([`Invalid file mode: "${t}".`,`${X.bold("hint:")} Use an octal mode such as 644 or 755.`].join(`
8
+ `));return parseInt(t,8)}async function c(e,t,n2){let r2=0,i2=Array(e.length),a2=Array.from({length:Math.min(t,e.length)},async()=>{for(;r2<e.length;){let t2=r2++;i2[t2]=await n2(e[t2])}});return await Promise.all(a2),i2}export{i,a,o,s,c};
@@ -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{trackCreatedId}from"./chunk-BUBVZ6SQ.js";var PROJECT_EXPIRATION_TIMEFRAMES={"1h":"1-hour","1d":"1-day","1w":"1-week","2w":"2-week","30d":"1-month"};async function createProject(client,settings){let{vercelAuth,v0,expiration,...rest}=settings,project=await client.fetch("/v1/projects",{method:"POST",body:{...rest,...vercelAuth==="none"?{ssoProtection:null}:void 0,...v0?{v0:!0}:void 0,...expiration?{expiration:{timeframe:expiration}}:void 0}});return trackCreatedId(client,"project",project.id),project}export{PROJECT_EXPIRATION_TIMEFRAMES,createProject};
7
+ import{trackCreatedId}from"./chunk-MDWUJ7TA.js";var PROJECT_EXPIRATION_TIMEFRAMES={"1h":"1-hour","1d":"1-day","1w":"1-week","2w":"2-week","30d":"1-month"};async function createProject(client,settings){let{vercelAuth,v0,expiration,...rest}=settings,project=await client.fetch("/v1/projects",{method:"POST",body:{...rest,...vercelAuth==="none"?{ssoProtection:null}:void 0,...v0?{v0:!0}:void 0,...expiration?{expiration:{timeframe:expiration}}:void 0}});return trackCreatedId(client,"project",project.id),project}export{PROJECT_EXPIRATION_TIMEFRAMES,createProject};
@@ -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{require_dist}from"./chunk-24SIHFEW.js";import{remoteText}from"./chunk-SQ62IODX.js";import{getShortFlags,globalCommandOptions}from"./chunk-DORCX7UB.js";import{chars_default}from"./chunk-2BKALEOP.js";import{require_source}from"./chunk-NB2WLB3J.js";import{require_string_width}from"./chunk-67GZ5REA.js";import{__toESM}from"./chunk-BZENIQ7N.js";var import_chalk=__toESM(require_source(),1),stdoutLevel=import_chalk.default.supportsColor?import_chalk.default.supportsColor.level:0,stderrLevel=import_chalk.default.stderr.supportsColor?import_chalk.default.stderr.supportsColor.level:0,noColorFlag=!1;function configureHelpOutput(noColor){noColorFlag=!!noColor}function createHelpTheme(stream=process.stdout,options={}){let disabled=(options.noColor??noColorFlag)||!!process.env.NO_COLOR||process.env.FORCE_COLOR==="0"||process.env.TERM==="dumb"||!stream.isTTY,detected=stream===process.stderr?stderrLevel:stdoutLevel,level=disabled?0:options.level??(/^[123]$/.test(process.env.FORCE_COLOR??"")?1:detected),style=new import_chalk.default.Instance({level});return{description:text=>style.dim(text),heading:text=>style.bold.magenta(text),emphasis:text=>style.bold(text),reference:text=>style.bold(text),command:text=>style.cyan(text),link:text=>style.underline(text)}}var import_string_width=__toESM(require_string_width(),1);function helpLiterals(values){return values.flatMap((text,index)=>[...index?[{text:" | "}]:[],{text,literal:!0}])}function helpSyntaxWidth(values){return Math.max(0,...values.map(value=>(0,import_string_width.default)(remoteText(value))))}function helpPlaceholders(values,markers=[]){let commands=values.map(remoteText);return[...new Set(markers.map(remoteText))].filter(marker=>/^<[^<>\r\n]+>$/.test(marker)&&commands.some(command=>command.includes(marker)))}function helpColumns(columns=80){return Number.isFinite(columns)&&columns>0?Math.max(1,Math.floor(columns)):80}function helpHeading(title,theme=createHelpTheme()){return theme.heading(`${remoteText(title)}:`)}function helpUsage(theme=createHelpTheme()){return theme.emphasis(chars_default.triangle)}function helpInlineCommand(command){return`\`${remoteText(command)}\``}function wrapHelpText(text,columns,indent=" "){return text.split(`
7
+ import{require_dist}from"./chunk-7QHUMMBA.js";import{remoteText}from"./chunk-AUCQKYL2.js";import{getShortFlags,globalCommandOptions}from"./chunk-DORCX7UB.js";import{chars_default}from"./chunk-2BKALEOP.js";import{require_source}from"./chunk-UJ7YUIEJ.js";import{require_string_width}from"./chunk-YHZXIBS7.js";import{__toESM}from"./chunk-NBPLUP7C.js";var import_chalk=__toESM(require_source(),1),stdoutLevel=import_chalk.default.supportsColor?import_chalk.default.supportsColor.level:0,stderrLevel=import_chalk.default.stderr.supportsColor?import_chalk.default.stderr.supportsColor.level:0,noColorFlag=!1;function configureHelpOutput(noColor){noColorFlag=!!noColor}function createHelpTheme(stream=process.stdout,options={}){let disabled=(options.noColor??noColorFlag)||!!process.env.NO_COLOR||process.env.FORCE_COLOR==="0"||process.env.TERM==="dumb"||!stream.isTTY,detected=stream===process.stderr?stderrLevel:stdoutLevel,level=disabled?0:options.level??(/^[123]$/.test(process.env.FORCE_COLOR??"")?1:detected),style=new import_chalk.default.Instance({level});return{description:text=>style.dim(text),heading:text=>style.bold.magenta(text),emphasis:text=>style.bold(text),reference:text=>style.bold(text),command:text=>style.cyan(text),link:text=>style.underline(text)}}var import_string_width=__toESM(require_string_width(),1);function helpLiterals(values){return values.flatMap((text,index)=>[...index?[{text:" | "}]:[],{text,literal:!0}])}function helpSyntaxWidth(values){return Math.max(0,...values.map(value=>(0,import_string_width.default)(remoteText(value))))}function helpPlaceholders(values,markers=[]){let commands=values.map(remoteText);return[...new Set(markers.map(remoteText))].filter(marker=>/^<[^<>\r\n]+>$/.test(marker)&&commands.some(command=>command.includes(marker)))}function helpColumns(columns=80){return Number.isFinite(columns)&&columns>0?Math.max(1,Math.floor(columns)):80}function helpHeading(title,theme=createHelpTheme()){return theme.heading(`${remoteText(title)}:`)}function helpUsage(theme=createHelpTheme()){return theme.emphasis(chars_default.triangle)}function helpInlineCommand(command){return`\`${remoteText(command)}\``}function wrapHelpText(text,columns,indent=" "){return text.split(`
8
8
  `).flatMap(paragraph=>{let safe=remoteText(paragraph.replace(/\t/g," "));if(/^ *$/.test(safe))return[""];let prefix=indent+(safe.match(/^ */)?.[0]??""),lines=[],line=prefix;for(let match of safe.replace(/^ +| +$/g,"").matchAll(/( *)([^ ]+)/g)){let[,whitespace,word]=match,separator=line===prefix?"":whitespace;line!==prefix&&(0,import_string_width.default)(`${line}${separator}${word}`)>columns?(lines.push(line),line=prefix+word):line+=separator+word}return lines.push(line),lines}).join(`
9
9
  `)}function helpRows(rows,columns,theme=createHelpTheme(),minimumSyntaxWidth=0){if(!rows.length)return"";let safeRows=rows.map(row=>{let safe=(typeof row.syntax=="string"?[{text:row.syntax}]:row.syntax).map(span=>({...span,text:remoteText(span.text)}));return{syntax:safe.map(span=>span.text).join(""),styled:safe.map(span=>span.literal?theme.reference(span.text):span.text).join(""),description:row.description.trim()}}),syntaxWidth=Math.max(minimumSyntaxWidth,...safeRows.map(row=>(0,import_string_width.default)(row.syntax))),descriptionColumn=syntaxWidth+4,stacked=columns-descriptionColumn<28;return safeRows.map(({syntax,styled,description})=>{if(!description)return` ${styled}`;if(stacked)return` ${styled}
10
10
  ${wrapHelpText(description,columns," ")}`;let prefix=" ".repeat(descriptionColumn),wrapped=wrapHelpText(description,columns,prefix);return` ${styled}${" ".repeat(syntaxWidth-(0,import_string_width.default)(syntax)+2)}${wrapped.slice(prefix.length)}`}).join(`