vercel 64.7.0 → 65.1.0

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 (359) hide show
  1. package/dist/chunks/{add-J6YV6RJ7.js → add-G44L5OSZ.js} +1 -1
  2. package/dist/chunks/{add-LN5C4Y2G.js → add-JATTZAMX.js} +1 -1
  3. package/dist/chunks/add-QMLQDEWM.js +8 -0
  4. package/dist/chunks/{build-7QUO5T72.js → build-ODRPV34E.js} +1 -1
  5. package/dist/chunks/chunk-2N5LDFMR.js +10 -0
  6. package/dist/chunks/chunk-2NABMKFV.js +29 -0
  7. package/dist/chunks/{chunk-KYMABVTF.js → chunk-2PKEEQ5W.js} +2 -2
  8. package/dist/chunks/{chunk-OJKZ7EV3.js → chunk-3LIKVGFT.js} +1 -1
  9. package/dist/chunks/{chunk-JHB3TYKZ.js → chunk-3PMDNDOO.js} +2 -2
  10. package/dist/chunks/{chunk-2PSLXHNT.js → chunk-3V6MUBCO.js} +1 -1
  11. package/dist/chunks/{chunk-RRWEIG6B.js → chunk-3XW7N4W3.js} +1 -1
  12. package/dist/chunks/{chunk-SADXKDBI.js → chunk-4B45V3VM.js} +1 -1
  13. package/dist/chunks/chunk-4CKX6KUQ.js +21 -0
  14. package/dist/chunks/{chunk-VKXEOL4K.js → chunk-4NTBYNFR.js} +3 -2
  15. package/dist/chunks/{chunk-PPCFQQSU.js → chunk-4VFYJU37.js} +1 -1
  16. package/dist/chunks/chunk-4YDPE5DC.js +7 -0
  17. package/dist/chunks/chunk-572TYS62.js +7 -0
  18. package/dist/chunks/{chunk-N5SAC4AS.js → chunk-5A46JI25.js} +1 -1
  19. package/dist/chunks/chunk-5Q7PEC6C.js +7 -0
  20. package/dist/chunks/chunk-5RMIM4S2.js +7 -0
  21. package/dist/chunks/chunk-5WTGQDJ7.js +57 -0
  22. package/dist/chunks/chunk-64XCYUH7.js +7 -0
  23. package/dist/chunks/chunk-67NIX52O.js +7 -0
  24. package/dist/chunks/{chunk-PNR5J6ZW.js → chunk-6A4CDEBQ.js} +1 -1
  25. package/dist/chunks/chunk-6CXJXQ6W.js +8 -0
  26. package/dist/chunks/chunk-6HEPFWGT.js +7 -0
  27. package/dist/chunks/{chunk-T3GQAMBJ.js → chunk-6IDNVZZR.js} +1 -1
  28. package/dist/chunks/{chunk-GOVZY7W2.js → chunk-6KF43YYP.js} +1 -1
  29. package/dist/chunks/{chunk-WYI4VNXT.js → chunk-6OVX3PWM.js} +1 -1
  30. package/dist/chunks/{chunk-SCJH3KSQ.js → chunk-6RCYHBTM.js} +1 -1
  31. package/dist/chunks/{chunk-XSDAUM4F.js → chunk-6VH56CX2.js} +1 -1
  32. package/dist/chunks/chunk-6Y2ZL5XJ.js +98 -0
  33. package/dist/chunks/{chunk-VO6FF6DY.js → chunk-7MQHQTCJ.js} +1 -1
  34. package/dist/chunks/{chunk-WKZ6JSGZ.js → chunk-7YKFF6CE.js} +1 -1
  35. package/dist/chunks/{chunk-IJCCFLCQ.js → chunk-ADLBLGT3.js} +1 -1
  36. package/dist/chunks/{chunk-O5ZJ5YJP.js → chunk-AMUAIMYY.js} +1 -1
  37. package/dist/chunks/chunk-ANMDN3EG.js +9 -0
  38. package/dist/chunks/chunk-BLUPZPAS.js +7 -0
  39. package/dist/chunks/chunk-BTI5TG6Q.js +7 -0
  40. package/dist/chunks/chunk-BUJITHGZ.js +8 -0
  41. package/dist/chunks/chunk-C6GY2G73.js +7 -0
  42. package/dist/chunks/chunk-CBXS6UFD.js +10 -0
  43. package/dist/chunks/{chunk-EVXOSCYR.js → chunk-CGSHQ7QM.js} +1 -1
  44. package/dist/chunks/chunk-CKZLNL5F.js +8 -0
  45. package/dist/chunks/chunk-CS532HK4.js +7 -0
  46. package/dist/chunks/{chunk-EWK3VAME.js → chunk-CV333GGZ.js} +1 -1
  47. package/dist/chunks/chunk-CVDK3IYT.js +63 -0
  48. package/dist/chunks/{chunk-OGH32TS2.js → chunk-CWQJK5IX.js} +1 -1
  49. package/dist/chunks/chunk-D3M2JG5C.js +7 -0
  50. package/dist/chunks/{chunk-4XKEOH4J.js → chunk-DHYND2QH.js} +1 -1
  51. package/dist/chunks/chunk-DQYCNHTR.js +21 -0
  52. package/dist/chunks/{chunk-ZT2HVX54.js → chunk-DRT6ITIC.js} +1 -1
  53. package/dist/chunks/chunk-DWJRJK7I.js +7 -0
  54. package/dist/chunks/chunk-DWZBL4NK.js +7 -0
  55. package/dist/chunks/{chunk-OS62YRSW.js → chunk-E432NQGO.js} +1 -1
  56. package/dist/chunks/chunk-ECQIO5K3.js +7 -0
  57. package/dist/chunks/{chunk-4ITTBUCW.js → chunk-EKLONFSU.js} +1 -1
  58. package/dist/chunks/chunk-ESCYLPN6.js +7 -0
  59. package/dist/chunks/chunk-F2LZJWGH.js +9 -0
  60. package/dist/chunks/chunk-F53OKXYI.js +7 -0
  61. package/dist/chunks/{chunk-EWUSBHX5.js → chunk-F5QCUTBE.js} +1 -1
  62. package/dist/chunks/chunk-F7AVGV4Y.js +7 -0
  63. package/dist/chunks/{chunk-M2NKATEC.js → chunk-FDAMQA44.js} +2 -2
  64. package/dist/chunks/chunk-FDYDTFFM.js +7 -0
  65. package/dist/chunks/{chunk-Z5NJL63U.js → chunk-FGEWQYON.js} +1 -1
  66. package/dist/chunks/{chunk-EVQJ7SCV.js → chunk-FGFLTLEA.js} +1 -1
  67. package/dist/chunks/{chunk-WFJEWVTE.js → chunk-FQ5EU3ML.js} +1 -1
  68. package/dist/chunks/chunk-FUX6LKNP.js +7 -0
  69. package/dist/chunks/{chunk-GNV6PG6W.js → chunk-GA277JFB.js} +1 -1
  70. package/dist/chunks/chunk-GD7AV7BO.js +9 -0
  71. package/dist/chunks/chunk-GENXRXFN.js +10 -0
  72. package/dist/chunks/{chunk-QRCJKCMF.js → chunk-GENZ5QV5.js} +1 -1
  73. package/dist/chunks/{chunk-IULNLFPX.js → chunk-H2FI64HG.js} +1 -1
  74. package/dist/chunks/{chunk-JJSDTLBW.js → chunk-HBLBUOZ7.js} +2 -2
  75. package/dist/chunks/{chunk-HVUJNVPS.js → chunk-HCRD3JFL.js} +1 -1
  76. package/dist/chunks/{chunk-7ENWK2AH.js → chunk-HO6ECDO3.js} +2 -2
  77. package/dist/chunks/chunk-HRR57QNP.js +7 -0
  78. package/dist/chunks/{chunk-2IRZ2C5L.js → chunk-I26SSWTS.js} +1 -1
  79. package/dist/chunks/{chunk-X44OEPBR.js → chunk-IC27IY7N.js} +1 -1
  80. package/dist/chunks/{chunk-P4U47GXI.js → chunk-IPZHE3OU.js} +2 -2
  81. package/dist/chunks/{chunk-MZ3QGJH3.js → chunk-IQKGQ2Y2.js} +1 -1
  82. package/dist/chunks/chunk-IWVEHRIU.js +7 -0
  83. package/dist/chunks/chunk-IZWASLQ6.js +7 -0
  84. package/dist/chunks/{chunk-MGOPTP7N.js → chunk-J2RX4B5S.js} +1 -1
  85. package/dist/chunks/chunk-J52VRTEQ.js +10 -0
  86. package/dist/chunks/chunk-JB7ZP4L4.js +8 -0
  87. package/dist/chunks/{chunk-2EYJFHEL.js → chunk-JBUFVCTP.js} +1 -1
  88. package/dist/chunks/{chunk-6CXHR2ND.js → chunk-JELLVPCM.js} +2 -2
  89. package/dist/chunks/{chunk-CYV3X62I.js → chunk-JLEJB6KM.js} +1 -1
  90. package/dist/chunks/{chunk-SQXVQT2O.js → chunk-JP2W5MLV.js} +1 -1
  91. package/dist/chunks/chunk-JXLPHMKT.js +7 -0
  92. package/dist/chunks/chunk-JY4EKLND.js +7 -0
  93. package/dist/chunks/{chunk-KJWOXBZV.js → chunk-K246KRFS.js} +1 -1
  94. package/dist/chunks/chunk-K4AZWWRJ.js +7 -0
  95. package/dist/chunks/chunk-KINNDNJ3.js +9 -0
  96. package/dist/chunks/chunk-KKRTKV62.js +7 -0
  97. package/dist/chunks/chunk-KRPY5FHJ.js +7 -0
  98. package/dist/chunks/{chunk-DNDBPLLI.js → chunk-KW6GSQXV.js} +1 -1
  99. package/dist/chunks/chunk-L3FAM6KS.js +8 -0
  100. package/dist/chunks/chunk-L3T6AEPG.js +7 -0
  101. package/dist/chunks/{chunk-YE6WQYJH.js → chunk-L6TM45P4.js} +2 -2
  102. package/dist/chunks/chunk-M5WBBJRW.js +7 -0
  103. package/dist/chunks/{chunk-QW4W2UB6.js → chunk-MG7CRSO5.js} +3 -3
  104. package/dist/chunks/chunk-MTTYJO4W.js +8 -0
  105. package/dist/chunks/{chunk-54KLVDB5.js → chunk-NFEG7ONP.js} +1 -1
  106. package/dist/chunks/chunk-NFUAFRIC.js +7 -0
  107. package/dist/chunks/chunk-NHRZRW54.js +7 -0
  108. package/dist/chunks/chunk-NNH2H4LZ.js +15 -0
  109. package/dist/chunks/chunk-OAM5NJCU.js +9 -0
  110. package/dist/chunks/chunk-OCR5CRTH.js +10 -0
  111. package/dist/chunks/chunk-OFDTADPQ.js +7 -0
  112. package/dist/chunks/{chunk-ROPQIBWJ.js → chunk-OPORM35X.js} +1 -1
  113. package/dist/chunks/chunk-PA2A2V5Y.js +10 -0
  114. package/dist/chunks/{chunk-X5HOJBDL.js → chunk-PBC276AK.js} +1 -1
  115. package/dist/chunks/{chunk-CQQQSUQX.js → chunk-PCLWLNZC.js} +1 -1
  116. package/dist/chunks/chunk-PDY2YXG7.js +7 -0
  117. package/dist/chunks/{chunk-XGO6AXX5.js → chunk-PF6O7LHL.js} +2 -2
  118. package/dist/chunks/chunk-PFD7LETF.js +7 -0
  119. package/dist/chunks/chunk-PRAWMNTU.js +7 -0
  120. package/dist/chunks/chunk-PSOVLGHP.js +7 -0
  121. package/dist/chunks/chunk-PWNCGM6A.js +7 -0
  122. package/dist/chunks/chunk-PXGJGWVA.js +7 -0
  123. package/dist/chunks/chunk-QO7CBCML.js +7 -0
  124. package/dist/chunks/{chunk-D7X7W4F4.js → chunk-QWE7OFE7.js} +1 -1
  125. package/dist/chunks/{chunk-IVIZLWZQ.js → chunk-R6BEOVTU.js} +1 -1
  126. package/dist/chunks/chunk-RLKS5G6C.js +12 -0
  127. package/dist/chunks/{chunk-GH6O7YJ3.js → chunk-RX2VZBEZ.js} +1 -1
  128. package/dist/chunks/chunk-S3L2OHPO.js +7 -0
  129. package/dist/chunks/{chunk-TD7MFXUO.js → chunk-S3QPCSQR.js} +1 -1
  130. package/dist/chunks/{chunk-S76ILVQO.js → chunk-SDDKXGMK.js} +1 -1
  131. package/dist/chunks/{chunk-NBNZYZFM.js → chunk-SLI2O5X7.js} +3 -3
  132. package/dist/chunks/chunk-SSULKPUE.js +12 -0
  133. package/dist/chunks/chunk-TAAWMNNL.js +7 -0
  134. package/dist/chunks/chunk-THRWLZ3N.js +7 -0
  135. package/dist/chunks/chunk-TKBORMUF.js +7 -0
  136. package/dist/chunks/chunk-U4Z2MMOF.js +301 -0
  137. package/dist/chunks/chunk-UVHKXCR5.js +11 -0
  138. package/dist/chunks/chunk-UYOFNAH5.js +33 -0
  139. package/dist/chunks/{chunk-F2TLISI5.js → chunk-VG2AJII6.js} +1 -1
  140. package/dist/chunks/chunk-VPH6RJ5P.js +7 -0
  141. package/dist/chunks/chunk-VT3QK5IV.js +7 -0
  142. package/dist/chunks/chunk-VWIHFPW2.js +7 -0
  143. package/dist/chunks/{chunk-WX2KXEZV.js → chunk-W4FODG6F.js} +1 -1
  144. package/dist/chunks/{chunk-EVEH3L3V.js → chunk-W6RCABNS.js} +1 -1
  145. package/dist/chunks/{chunk-FZUNGPGO.js → chunk-WFAZDFAR.js} +1 -1
  146. package/dist/chunks/chunk-WSD53RLA.js +7 -0
  147. package/dist/chunks/chunk-XGTKHQTT.js +7 -0
  148. package/dist/chunks/{chunk-M774HRX5.js → chunk-XP3FT56R.js} +4 -4
  149. package/dist/chunks/chunk-XR6QY7RR.js +7 -0
  150. package/dist/chunks/chunk-XRRGT7CM.js +9 -0
  151. package/dist/chunks/chunk-Y3J6UDPB.js +7 -0
  152. package/dist/chunks/chunk-Y5RR6CRP.js +17 -0
  153. package/dist/chunks/chunk-YEYZP3IH.js +7 -0
  154. package/dist/chunks/{chunk-DX6PPIY7.js → chunk-YJXE7NJC.js} +1 -1
  155. package/dist/chunks/{chunk-AGH2CMUM.js → chunk-YPKKC232.js} +1 -1
  156. package/dist/chunks/chunk-ZF27J6FQ.js +7 -0
  157. package/dist/chunks/chunk-ZFRNVIHI.js +7 -0
  158. package/dist/chunks/chunk-ZPXMOZ4S.js +7 -0
  159. package/dist/chunks/{clear-HKGEIG6F.js → clear-REFHHJJB.js} +1 -1
  160. package/dist/chunks/compile-vercel-config-Q7JGV2RD.js +7 -0
  161. package/dist/chunks/config-DQ23X4AJ.js +7 -0
  162. package/dist/chunks/config-GKMT3G67.js +8 -0
  163. package/dist/chunks/config-validator.mjs +1 -1
  164. package/dist/chunks/connect-git-provider-FS5Q2HO4.js +7 -0
  165. package/dist/chunks/{constants-JAB7MRSK.js → constants-ICJL2EO5.js} +1 -1
  166. package/dist/chunks/delete-5H7AMGTE.js +10 -0
  167. package/dist/chunks/delete-MIDLGXPG.js +9 -0
  168. package/dist/chunks/detect-projects-NLAYKNQX.js +7 -0
  169. package/dist/chunks/detect-services-CNIBYXAN.js +7 -0
  170. package/dist/chunks/disable-45GKGBKT.js +7 -0
  171. package/dist/chunks/discard-ZHC6DXON.js +14 -0
  172. package/dist/chunks/dist-33WTJLVQ.js +7 -0
  173. package/dist/chunks/dist-RXYNZPEA.js +7 -0
  174. package/dist/chunks/edit-N6D2VXVA.js +9 -0
  175. package/dist/chunks/edit-TVSUOODD.js +8 -0
  176. package/dist/chunks/enable-SXFQAYFU.js +7 -0
  177. package/dist/chunks/{exec-NMRO6DIZ.js → exec-OZSY46V6.js} +1 -1
  178. package/dist/chunks/{export-LS4WTCAJ.js → export-5G7MAWTT.js} +1 -1
  179. package/dist/chunks/fetch-proxy-45DGILKR.js +67 -0
  180. package/dist/chunks/future-3BZKO5JV.js +7 -0
  181. package/dist/chunks/generate-cert-for-deploy-YAJHY6TW.js +7 -0
  182. package/dist/chunks/image-W5TWCF3B.js +7 -0
  183. package/dist/chunks/import-builders-PK2EHZ43.js +7 -0
  184. package/dist/chunks/{inspect-4OQTNJ46.js → inspect-5PNUHNL2.js} +1 -1
  185. package/dist/chunks/{inspect-FR333BCC.js → inspect-BNOMQCB4.js} +1 -1
  186. package/dist/chunks/inspect-IS5SYBTI.js +9 -0
  187. package/dist/chunks/{inspect-VEBZWYJL.js → inspect-NWAB6AGM.js} +1 -1
  188. package/dist/chunks/{inspect-2OWYT5HO.js → inspect-O5IKZFOG.js} +1 -1
  189. package/dist/chunks/{list-ZK7VDRVT.js → list-3Q5CBGFH.js} +1 -1
  190. package/dist/chunks/{list-Z43SODYP.js → list-JF2OEQON.js} +1 -1
  191. package/dist/chunks/list-OVHNSNGA.js +12 -0
  192. package/dist/chunks/login-3BXNN3JH.js +7 -0
  193. package/dist/chunks/{login-36BXMMDQ.js → login-5FKYBEVP.js} +1 -1
  194. package/dist/chunks/logs-ALPOUQZZ.js +7 -0
  195. package/dist/chunks/ls-4WMW65WV.js +8 -0
  196. package/dist/chunks/{ls-LYVIYO4J.js → ls-DVHKDVJJ.js} +1 -1
  197. package/dist/chunks/{ls-M7YO74RP.js → ls-GCFLDDFZ.js} +1 -1
  198. package/dist/chunks/{ls-H3ICVEYT.js → ls-MERY5XTJ.js} +1 -1
  199. package/dist/chunks/{ls-VWA57ZVD.js → ls-RO7VUFMS.js} +1 -1
  200. package/dist/chunks/{ls-QND7WBWE.js → ls-RWBJBEIJ.js} +1 -1
  201. package/dist/chunks/ls-YOXQDZ7X.js +11 -0
  202. package/dist/chunks/mutate-TGIOOZVQ.js +9 -0
  203. package/dist/chunks/notifications-J24CW3SD.js +7 -0
  204. package/dist/chunks/open-5U4GN2S4.js +7 -0
  205. package/dist/chunks/openapi-CZCUACZA.js +7 -0
  206. package/dist/chunks/permissions-B2RJ4FS6.js +7 -0
  207. package/dist/chunks/plugin-offer-E4DLD4HU.js +9 -0
  208. package/dist/chunks/prompt-missing-credentials-WWEM2TVX.js +7 -0
  209. package/dist/chunks/publish-BK3BK3PV.js +15 -0
  210. package/dist/chunks/pull-CSFLO6P5.js +7 -0
  211. package/dist/chunks/purchase-domain-if-available-7VAJB3SY.js +7 -0
  212. package/dist/chunks/{push-WSYAQQKI.js → push-ENXU4VFN.js} +1 -1
  213. package/dist/chunks/{query-ESQIFSJ6.js → query-RW2DLTO5.js} +1 -1
  214. package/dist/chunks/reauthenticate-QKPBNAAH.js +7 -0
  215. package/dist/chunks/reorder-XXOCBKOR.js +10 -0
  216. package/dist/chunks/reply-IJ4UMSYT.js +9 -0
  217. package/dist/chunks/resolve-FHUXU6TQ.js +12 -0
  218. package/dist/chunks/resolve-agent-team-3432OTOK.js +7 -0
  219. package/dist/chunks/{resolve-deployment-framework-preset-JPT2MRPA.js → resolve-deployment-framework-preset-AXXYBFCL.js} +1 -1
  220. package/dist/chunks/restore-V2KCZWP3.js +16 -0
  221. package/dist/chunks/rm-5CDEDJXM.js +8 -0
  222. package/dist/chunks/{rm-HUQFQOP2.js → rm-FN3G7ARM.js} +1 -1
  223. package/dist/chunks/{rm-WVA4E2BL.js → rm-MPREW2CR.js} +1 -1
  224. package/dist/chunks/rm-VDEXQXNO.js +8 -0
  225. package/dist/chunks/{rm-ZQWP6MUB.js → rm-XUEOPXWC.js} +1 -1
  226. package/dist/chunks/{routes-ZOLO53UC.js → routes-KHBSGELO.js} +1 -1
  227. package/dist/chunks/rule-inspect-27A23NWG.js +8 -0
  228. package/dist/chunks/schema-CE2N7SZP.js +14 -0
  229. package/dist/chunks/{schema-D2CWSXZU.js → schema-JCJF3AUI.js} +2 -2
  230. package/dist/chunks/select-org-IAA5ZTIS.js +7 -0
  231. package/dist/chunks/set-YP4JEPJQ.js +7 -0
  232. package/dist/chunks/setup-and-link-HS4GH2QQ.js +7 -0
  233. package/dist/chunks/{skills-C2WOCF5Q.js → skills-U52S6GRY.js} +1 -1
  234. package/dist/chunks/tags-7WRBB2U4.js +7 -0
  235. package/dist/chunks/token-W6P2KNI5.js +7 -0
  236. package/dist/chunks/token-util-JDQI37VN.js +7 -0
  237. package/dist/chunks/{types-6PREOZWK.js → types-LKCU7WSY.js} +1 -1
  238. package/dist/chunks/update-DUSQP2H7.js +8 -0
  239. package/dist/chunks/zod-2C2SXNIK.js +7 -0
  240. package/dist/commands/build/index.js +3 -3
  241. package/dist/commands/deploy/index.js +13 -12
  242. package/dist/commands/dev/index.js +29 -17
  243. package/dist/commands/env/index.js +8 -8
  244. package/dist/commands/link/index.js +1 -1
  245. package/dist/commands/list/index.js +1 -1
  246. package/dist/commands/project/index.js +113 -0
  247. package/dist/commands-account.js +185 -0
  248. package/dist/commands-ai.js +200 -0
  249. package/dist/commands-blob.js +107 -0
  250. package/dist/commands-core.js +222 -0
  251. package/dist/commands-deployments.js +84 -0
  252. package/dist/commands-flags.js +377 -0
  253. package/dist/commands-integrations.js +143 -0
  254. package/dist/commands-observability.js +93 -0
  255. package/dist/commands-routing.js +273 -0
  256. package/dist/help.js +1 -1
  257. package/dist/index.js +4 -4
  258. package/dist/internal-build-worker.js +1 -1
  259. package/dist/internal-build.js +2 -2
  260. package/dist/root-help-commands.mjs +1 -1
  261. package/dist/version.mjs +1 -1
  262. package/package.json +62 -61
  263. package/dist/chunks/add-UBG7IGYE.js +0 -8
  264. package/dist/chunks/chunk-2B2Z447M.js +0 -10
  265. package/dist/chunks/chunk-2LMIOQID.js +0 -7
  266. package/dist/chunks/chunk-2VBFQZ72.js +0 -7
  267. package/dist/chunks/chunk-3BTEMYLT.js +0 -7
  268. package/dist/chunks/chunk-4KYSK2MS.js +0 -7
  269. package/dist/chunks/chunk-A4NHFQVX.js +0 -20
  270. package/dist/chunks/chunk-AAFST44A.js +0 -7
  271. package/dist/chunks/chunk-ANUSL4ES.js +0 -7
  272. package/dist/chunks/chunk-AOWWC6WZ.js +0 -7
  273. package/dist/chunks/chunk-AOYNYH5D.js +0 -7
  274. package/dist/chunks/chunk-BMQREWR6.js +0 -10
  275. package/dist/chunks/chunk-BXHADCSX.js +0 -7
  276. package/dist/chunks/chunk-CFEJIJGS.js +0 -7
  277. package/dist/chunks/chunk-DD5XIW5T.js +0 -7
  278. package/dist/chunks/chunk-DQLWDDNU.js +0 -8
  279. package/dist/chunks/chunk-EU2FGSLR.js +0 -15
  280. package/dist/chunks/chunk-FOGLMAZE.js +0 -7
  281. package/dist/chunks/chunk-HGTMU34S.js +0 -7
  282. package/dist/chunks/chunk-HJV7CTD4.js +0 -31
  283. package/dist/chunks/chunk-I7KMJTOY.js +0 -8
  284. package/dist/chunks/chunk-JSCK6WWR.js +0 -20
  285. package/dist/chunks/chunk-JXKKJ5OI.js +0 -7
  286. package/dist/chunks/chunk-KJKM2UNP.js +0 -7
  287. package/dist/chunks/chunk-KKCBFBJK.js +0 -10
  288. package/dist/chunks/chunk-MP27ZZFO.js +0 -66
  289. package/dist/chunks/chunk-MVCAUS4F.js +0 -36
  290. package/dist/chunks/chunk-MY4MONOH.js +0 -7
  291. package/dist/chunks/chunk-N7YVHGLM.js +0 -7
  292. package/dist/chunks/chunk-O3AL3QFA.js +0 -7
  293. package/dist/chunks/chunk-O4FDRZ22.js +0 -7
  294. package/dist/chunks/chunk-P2O5DOYE.js +0 -7
  295. package/dist/chunks/chunk-PA5N7YTJ.js +0 -12
  296. package/dist/chunks/chunk-PE5BSEYV.js +0 -7
  297. package/dist/chunks/chunk-PPWMHBWP.js +0 -9
  298. package/dist/chunks/chunk-QQ6IA4O5.js +0 -9
  299. package/dist/chunks/chunk-R5QHLEAJ.js +0 -30
  300. package/dist/chunks/chunk-R6Y4Z5VL.js +0 -7
  301. package/dist/chunks/chunk-RD7VCVW5.js +0 -44
  302. package/dist/chunks/chunk-TVHFWIH4.js +0 -7
  303. package/dist/chunks/chunk-UI53O6MW.js +0 -7
  304. package/dist/chunks/chunk-VKPZP4LC.js +0 -8
  305. package/dist/chunks/chunk-Y4GLHDBA.js +0 -9
  306. package/dist/chunks/chunk-YROIQRYI.js +0 -9
  307. package/dist/chunks/chunk-YTDK6AHS.js +0 -7
  308. package/dist/chunks/chunk-ZOYMKZOR.js +0 -7
  309. package/dist/chunks/chunk-ZQME5XUJ.js +0 -7
  310. package/dist/chunks/chunk-ZS2WS4AM.js +0 -7
  311. package/dist/chunks/compile-vercel-config-ZY34MDLE.js +0 -7
  312. package/dist/chunks/config-33ZMAOLB.js +0 -8
  313. package/dist/chunks/config-VWDIXJZA.js +0 -7
  314. package/dist/chunks/connect-git-provider-2JIBL3ST.js +0 -7
  315. package/dist/chunks/delete-OMER3AX3.js +0 -10
  316. package/dist/chunks/delete-ZHGL7GGN.js +0 -9
  317. package/dist/chunks/detect-projects-PNODS4M7.js +0 -7
  318. package/dist/chunks/detect-services-ABFXK5B7.js +0 -7
  319. package/dist/chunks/disable-OIGHKAMI.js +0 -7
  320. package/dist/chunks/discard-XUMTJVVB.js +0 -14
  321. package/dist/chunks/edit-3DIEWIVC.js +0 -8
  322. package/dist/chunks/edit-IQ74VVWW.js +0 -9
  323. package/dist/chunks/enable-AVCTKWMV.js +0 -7
  324. package/dist/chunks/fetch-proxy-OC6B22AW.js +0 -7
  325. package/dist/chunks/future-BSDI3CNY.js +0 -7
  326. package/dist/chunks/generate-cert-for-deploy-FEZT4VSA.js +0 -7
  327. package/dist/chunks/image-BIOIWB4M.js +0 -7
  328. package/dist/chunks/import-builders-5TVTITKF.js +0 -7
  329. package/dist/chunks/inspect-WPYSJNEK.js +0 -9
  330. package/dist/chunks/list-LZCBVTIL.js +0 -12
  331. package/dist/chunks/login-HAND2C3L.js +0 -7
  332. package/dist/chunks/logs-JYROMZI7.js +0 -7
  333. package/dist/chunks/ls-IMAHWKOH.js +0 -8
  334. package/dist/chunks/ls-YWZLCIGC.js +0 -11
  335. package/dist/chunks/mutate-JQF3GLZP.js +0 -9
  336. package/dist/chunks/notifications-2SS4R53X.js +0 -7
  337. package/dist/chunks/open-RF3GYOHD.js +0 -7
  338. package/dist/chunks/openapi-GTAWN7OT.js +0 -7
  339. package/dist/chunks/permissions-G4F4PLFB.js +0 -7
  340. package/dist/chunks/prompt-missing-credentials-CV5NLAYI.js +0 -7
  341. package/dist/chunks/publish-KXUGNXEK.js +0 -15
  342. package/dist/chunks/pull-ELQ3GVJJ.js +0 -7
  343. package/dist/chunks/purchase-domain-if-available-QDQJOGOX.js +0 -7
  344. package/dist/chunks/reauthenticate-H7ZY6BVA.js +0 -7
  345. package/dist/chunks/reorder-SADHAXS4.js +0 -10
  346. package/dist/chunks/reply-UFH3BEMN.js +0 -9
  347. package/dist/chunks/resolve-5THDM4PN.js +0 -12
  348. package/dist/chunks/resolve-agent-team-MCTKBED5.js +0 -7
  349. package/dist/chunks/restore-3ZTRYEOV.js +0 -16
  350. package/dist/chunks/rm-GUSBRP6P.js +0 -8
  351. package/dist/chunks/rm-ZL4VR3BA.js +0 -8
  352. package/dist/chunks/rule-inspect-WJ6ENOME.js +0 -8
  353. package/dist/chunks/schema-7ACGW22H.js +0 -14
  354. package/dist/chunks/select-org-3BWXFGPH.js +0 -7
  355. package/dist/chunks/set-5I5CPDY3.js +0 -7
  356. package/dist/chunks/setup-and-link-HJSR6ANM.js +0 -7
  357. package/dist/chunks/tags-HTY22QMH.js +0 -7
  358. package/dist/chunks/update-6TDKMDKO.js +0 -8
  359. package/dist/commands-bulk.js +0 -1671
@@ -1,7 +0,0 @@
1
- import { createRequire as __createRequire } from 'node:module';
2
- import { fileURLToPath as __fileURLToPath } from 'node:url';
3
- import { dirname as __dirname_ } from 'node:path';
4
- const require = __createRequire(import.meta.url);
5
- const __filename = __fileURLToPath(import.meta.url);
6
- const __dirname = __dirname_(__filename);
7
- import{imageAggregateCommand}from"./chunk-TVHFWIH4.js";import{permissionsAggregateCommand}from"./chunk-CFEJIJGS.js";import{tagsAggregateCommand}from"./chunk-2LMIOQID.js";import{formatOption,jsonOption,limitOption,projectOption,yesOption}from"./chunk-4KYSK2MS.js";import{packageName}from"./chunk-JESNVRVR.js";var projectScopeOption={...projectOption,shorthand:"p",description:"Project name or ID (defaults to the linked project)."},nextOption={name:"next",shorthand:null,type:String,deprecated:!1,description:"Continue from a previous response",argument:"CURSOR"},cursorOption={name:"cursor",shorthand:"c",type:String,deprecated:!0,description:"Cursor from a previous page to continue listing from",argument:"STRING"},platformOption={name:"platform",shorthand:null,type:String,deprecated:!1,description:"Target platform for the build (defaults to linux/amd64).",argument:"PLATFORM"},pushOption={name:"push",shorthand:null,type:Boolean,deprecated:!1,description:"Push the image after building. With Docker this builds and pushes in one step (Buildx enables zstd compression); Podman and Buildah build, then push with zstd compression."},publicOption={name:"public",shorthand:null,type:String,deprecated:!1,description:"Set the repository visibility: `true` for public, `false` for private.",argument:"BOOLEAN",choices:["true","false"]},listSubcommand={name:"ls",aliases:["list"],description:"List container registry repositories for a project",arguments:[],options:[projectScopeOption,limitOption,nextOption,cursorOption,formatOption,jsonOption],examples:[{name:"List repositories in the linked project",value:`${packageName} vcr ls`},{name:"List repositories for a specific project as JSON",value:`${packageName} vcr ls --project my-app --json`}]},inspectSubcommand={name:"inspect",aliases:["get"],description:"Show details for a single repository",arguments:[{name:"repository",required:!0}],options:[projectScopeOption,formatOption,jsonOption],examples:[{name:"Inspect a repository by name",value:`${packageName} vcr inspect my-repository`}]},addSubcommand={name:"create",aliases:["add"],description:"Create a container registry repository",arguments:[{name:"name",required:!0}],options:[projectScopeOption,formatOption,jsonOption],examples:[{name:"Create a repository",value:`${packageName} vcr create my-repository`}]},configSubcommand={name:"update",aliases:["config"],description:"Update a container registry repository, such as the repository's visibility",arguments:[{name:"repository",required:!0}],options:[publicOption,projectScopeOption,formatOption,jsonOption],examples:[{name:"Make a repository public",value:`${packageName} vcr update my-repository --public true`},{name:"Make a repository private",value:`${packageName} vcr update my-repository --public false`}]},removeSubcommand={name:"delete",aliases:["rm","del","remove"],description:"Delete a container registry repository",arguments:[{name:"repository",required:!0}],options:[projectScopeOption,yesOption,formatOption,jsonOption],examples:[{name:"Delete a repository",value:`${packageName} vcr delete my-repository`},{name:"Delete a repository without the confirmation prompt",value:`${packageName} vcr delete my-repository --yes`}]},loginSubcommand={name:"login",aliases:[],description:"Authenticate a container tool (docker, podman, or buildah) with the Vercel Container Registry",arguments:[{name:"engine",required:!0}],options:[projectScopeOption,formatOption,jsonOption],examples:[{name:"Log in with Docker",value:`${packageName} vcr login docker`},{name:"Log in with Podman",value:`${packageName} vcr login podman`},{name:"Log in with Buildah",value:`${packageName} vcr login buildah`},{name:"Log in for a specific project",value:`${packageName} vcr login docker --project my-app`}]},buildSubcommand={name:"build",aliases:[],description:"Build a container image tagged for the Vercel Container Registry by shelling out to your container tool (docker, podman, or buildah)",arguments:[{name:"engine",required:!0},{name:"path",required:!1},{name:"name",required:!1}],options:[projectScopeOption,platformOption,pushOption],examples:[{name:"Build the current directory into the linked project (repository defaults to the project name, tag to latest)",value:`${packageName} vcr build docker`},{name:"Build and push in one step (Docker Buildx enables zstd compression)",value:`${packageName} vcr build docker --push`},{name:"Build a specific context path with a repository and tag",value:`${packageName} vcr build docker ./app my-api:1.2.3`},{name:"Pass extra flags through to the container tool",value:`${packageName} vcr build docker . -- --no-cache --build-arg KEY=value`}]},pushSubcommand={name:"push",aliases:[],description:"Push a container image to the Vercel Container Registry by shelling out to your container tool (docker, podman, or buildah)",arguments:[{name:"engine",required:!0},{name:"name",required:!1}],options:[projectScopeOption],examples:[{name:"Push the linked project image (repository defaults to the project name, tag to latest)",value:`${packageName} vcr push docker`},{name:"Push a specific repository and tag",value:`${packageName} vcr push docker my-api:1.2.3`}]},vcrCommand={name:"vcr",aliases:[],description:"Manage Vercel Container Registry repositories and images (see `vcr image`).",arguments:[],subcommands:[listSubcommand,inspectSubcommand,addSubcommand,configSubcommand,removeSubcommand,loginSubcommand,buildSubcommand,pushSubcommand,tagsAggregateCommand,imageAggregateCommand,permissionsAggregateCommand],options:[],examples:[{name:"List repositories in the linked project",value:`${packageName} vcr ls`},{name:"Create a repository",value:`${packageName} vcr create my-app`},{name:"List images in a repository",value:`${packageName} vcr image ls my-app`}]};export{listSubcommand,inspectSubcommand,addSubcommand,configSubcommand,removeSubcommand,loginSubcommand,buildSubcommand,pushSubcommand,vcrCommand};
@@ -1,7 +0,0 @@
1
- import { createRequire as __createRequire } from 'node:module';
2
- import { fileURLToPath as __fileURLToPath } from 'node:url';
3
- import { dirname as __dirname_ } from 'node:path';
4
- const require = __createRequire(import.meta.url);
5
- const __filename = __fileURLToPath(import.meta.url);
6
- const __dirname = __dirname_(__filename);
7
- import{formatOption,jsonOption,limitOption,projectOption,yesOption}from"./chunk-4KYSK2MS.js";import{packageName}from"./chunk-JESNVRVR.js";var PERMISSIONS_ACTIONS={ls:["ls","list"],add:["add"],rm:["rm","remove"],clear:["clear"]},projectScopeOption={...projectOption,shorthand:"p",description:"Project name or ID (defaults to the linked project)."},nextOption={name:"next",shorthand:null,type:String,deprecated:!1,description:"Continue from a previous response",argument:"CURSOR"},cursorOption={name:"cursor",shorthand:"c",type:String,deprecated:!0,description:"Cursor from a previous page to continue listing from",argument:"STRING"},permissionsLsSubcommand={name:"ls",aliases:["list"],description:"List teams with access to a repository",arguments:[],options:[projectScopeOption,limitOption,nextOption,cursorOption,formatOption,jsonOption],examples:[{name:"List teams with access to a repository",value:`${packageName} vcr permissions my-app ls`},{name:"List teams with access as JSON",value:`${packageName} vcr permissions my-app ls --json`}]},permissionsAddSubcommand={name:"add",aliases:[],description:"Give one or more teams access to pull images from a repository",arguments:[{name:"team",required:!0,multiple:!0}],options:[projectScopeOption,formatOption,jsonOption],examples:[{name:"Share a repository with a team by id",value:`${packageName} vcr permissions my-app add team_1a2b3c4d`},{name:"Share a repository with a team by slug",value:`${packageName} vcr permissions my-app add my-team`},{name:"Share a repository with multiple teams",value:`${packageName} vcr permissions my-app add team_1a2b3c4d,other-team`}]},permissionsRmSubcommand={name:"remove",aliases:["rm"],description:"Remove one or more teams' access to a repository",arguments:[{name:"team",required:!0,multiple:!0}],options:[projectScopeOption,formatOption,jsonOption],examples:[{name:"Remove a team's access by id",value:`${packageName} vcr permissions my-app remove team_1a2b3c4d`},{name:"Remove multiple teams' access",value:`${packageName} vcr permissions my-app remove team_1a2b3c4d,other-team`}]},permissionsClearSubcommand={name:"clear",aliases:[],description:"Remove access to a repository for every team",arguments:[],options:[projectScopeOption,yesOption,formatOption,jsonOption],examples:[{name:"Clear all repository permissions",value:`${packageName} vcr permissions my-app clear`},{name:"Clear all repository permissions without the confirmation prompt",value:`${packageName} vcr permissions my-app clear --yes`}]},permissionsAggregateCommand={name:"permissions",aliases:["permission"],argumentsBeforeSubcommand:!0,description:"Manage which teams can pull images from a container registry repository",arguments:[{name:"repository",required:!0}],subcommands:[permissionsLsSubcommand,permissionsAddSubcommand,permissionsRmSubcommand,permissionsClearSubcommand],options:[],examples:[{name:"List teams with access to a repository",value:`${packageName} vcr permissions my-app ls`},{name:"Share a repository with a team",value:`${packageName} vcr permissions my-app add team_1a2b3c4d`},{name:"Remove a team's access to a repository",value:`${packageName} vcr permissions my-app remove team_1a2b3c4d`},{name:"Clear all repository permissions",value:`${packageName} vcr permissions my-app clear`}]};export{PERMISSIONS_ACTIONS,permissionsLsSubcommand,permissionsAddSubcommand,permissionsRmSubcommand,permissionsClearSubcommand,permissionsAggregateCommand};
@@ -1,7 +0,0 @@
1
- import { createRequire as __createRequire } from 'node:module';
2
- import { fileURLToPath as __fileURLToPath } from 'node:url';
3
- import { dirname as __dirname_ } from 'node:path';
4
- const require = __createRequire(import.meta.url);
5
- const __filename = __fileURLToPath(import.meta.url);
6
- const __dirname = __dirname_(__filename);
7
- import{jsonOption,projectOption,yesOption}from"./chunk-4KYSK2MS.js";import{packageName}from"./chunk-JESNVRVR.js";var listSubcommand={name:"list",aliases:["ls"],description:"List all routing rules for the current project. These routes apply to all deployments and environments.",arguments:[],options:[projectOption,jsonOption,{name:"search",description:"Search by name, description, source, or destination",shorthand:"s",type:String,argument:"QUERY",deprecated:!1},{name:"filter",description:"Filter by type: rewrite, redirect, set_status, transform",shorthand:"f",type:String,argument:"TYPE",deprecated:!1},{name:"production",description:"List routes from the live production version",shorthand:null,type:Boolean,deprecated:!1},{name:"version-id",description:"List routes from a specific version ID",shorthand:null,type:String,argument:"VERSION_ID",deprecated:!1},{name:"diff",description:"Compare staged changes against production. Use with --version-id to compare a specific version.",shorthand:null,type:Boolean,deprecated:!1},{name:"expand",description:"Show expanded details for each route",shorthand:"e",type:Boolean,deprecated:!1}],examples:[{name:"List all routes",value:`${packageName} routes list`},{name:"Search for routes",value:`${packageName} routes list --search "api"`},{name:"Filter by type",value:`${packageName} routes list --filter rewrite`},{name:"Show staged changes",value:`${packageName} routes list --diff`},{name:"Show live production routes",value:`${packageName} routes list --production`},{name:"Show expanded details",value:`${packageName} routes list --expand`}]},listVersionsSubcommand={name:"list-versions",aliases:["ls-versions"],description:"List all versions of routing rules",arguments:[],options:[projectOption,jsonOption,{name:"count",description:"Number of versions to fetch (default: 20, max: 100)",shorthand:null,type:Number,argument:"NUMBER",deprecated:!1}],examples:[{name:"List route versions",value:`${packageName} routes list-versions`},{name:"List more versions",value:`${packageName} routes list-versions --count 50`}]},inspectSubcommand={name:"inspect",aliases:[],description:"Show detailed information about a specific route",arguments:[{name:"name-or-id",required:!0}],options:[projectOption,jsonOption,{name:"diff",description:"Compare staged changes against production for this route",shorthand:null,type:Boolean,deprecated:!1}],examples:[{name:"Inspect a route by name",value:`${packageName} routes inspect "API rewrite"`},{name:"Inspect a route by ID",value:`${packageName} routes inspect abc123`},{name:"Show staged changes for a route",value:`${packageName} routes inspect "My route" --diff`}]},addSubcommand={name:"add",aliases:[],description:"Add a new routing rule to the project",arguments:[{name:"name",required:!1}],options:[projectOption,{name:"src",description:"Path pattern (required in non-interactive mode)",shorthand:null,type:String,argument:"PATTERN",deprecated:!1},{name:"src-syntax",description:"Path syntax: regex (default), path-to-regexp, equals",shorthand:null,type:String,argument:"TYPE",deprecated:!1},{name:"action",description:"Action type: rewrite, redirect, or set-status (required with --dest/--status)",shorthand:null,type:String,argument:"TYPE",deprecated:!1},{name:"dest",description:"Destination URL for rewrite or redirect",shorthand:null,type:String,argument:"URL",deprecated:!1},{name:"status",description:"Status code (301/302/307/308 for redirect, or any for set-status)",shorthand:null,type:Number,argument:"CODE",deprecated:!1},{name:"set-response-header",description:"Set response header: key=value (repeatable)",shorthand:null,type:[String],argument:"HEADER",deprecated:!1},{name:"append-response-header",description:"Append to response header: key=value (repeatable)",shorthand:null,type:[String],argument:"HEADER",deprecated:!1},{name:"delete-response-header",description:"Delete response header: key (repeatable)",shorthand:null,type:[String],argument:"KEY",deprecated:!1},{name:"set-request-header",description:"Set request header: key=value (repeatable)",shorthand:null,type:[String],argument:"HEADER",deprecated:!1},{name:"append-request-header",description:"Append to request header: key=value (repeatable)",shorthand:null,type:[String],argument:"HEADER",deprecated:!1},{name:"delete-request-header",description:"Delete request header: key (repeatable)",shorthand:null,type:[String],argument:"KEY",deprecated:!1},{name:"set-request-query",description:"Set query parameter: key=value (repeatable)",shorthand:null,type:[String],argument:"PARAM",deprecated:!1},{name:"append-request-query",description:"Append to query parameter: key=value (repeatable)",shorthand:null,type:[String],argument:"PARAM",deprecated:!1},{name:"delete-request-query",description:"Delete query parameter: key (repeatable)",shorthand:null,type:[String],argument:"KEY",deprecated:!1},{name:"has",description:"Condition that must match: type:key or type:key:value (repeatable)",shorthand:null,type:[String],argument:"CONDITION",deprecated:!1},{name:"missing",description:'"Does not have" condition: type:key or type:key:value (repeatable)',shorthand:null,type:[String],argument:"CONDITION",deprecated:!1},{name:"description",description:"Route description (max 1024 chars)",shorthand:null,type:String,argument:"TEXT",deprecated:!1},{name:"disabled",description:"Create route in disabled state",shorthand:null,type:Boolean,deprecated:!1},{name:"ai",description:"Generate route from a natural language description (AI-powered)",shorthand:null,type:String,argument:"PROMPT",deprecated:!1},{name:"position",description:"Position: start, end, after:<id>, before:<id>",shorthand:null,type:String,argument:"POSITION",deprecated:!1},{name:"yes",description:"Skip confirmation prompts",shorthand:"y",type:Boolean,deprecated:!1}],examples:[{name:"Interactive mode",value:`${packageName} routes add`},{name:"Create with AI",value:`${packageName} routes add --ai "Rewrite /api/* to https://backend.internal/*"`},{name:"Add a rewrite",value:`${packageName} routes add "API Proxy" --src "/api/:path*" --src-syntax path-to-regexp --action rewrite --dest "https://api.example.com/:path*" --yes`},{name:"Add a redirect",value:`${packageName} routes add "Old Blog" --src "/blog" --src-syntax equals --action redirect --dest "/articles" --status 301 --yes`},{name:"Add CORS headers",value:`${packageName} routes add "CORS" --src "^/api/.*$" --set-response-header "Access-Control-Allow-Origin=*" --yes`},{name:"Block access (set status)",value:`${packageName} routes add "Block Admin" --src "^/admin/.*$" --action set-status --status 403 --yes`},{name:"Conditional redirect",value:`${packageName} routes add "Auth Required" --src "/protected/:path*" --src-syntax path-to-regexp --action redirect --dest "/login" --status 307 --missing "cookie:session" --yes`},{name:"Rewrite with request headers",value:`${packageName} routes add "Backend Proxy" --src "/backend/:path*" --src-syntax path-to-regexp --action rewrite --dest "https://internal.example.com/:path*" --set-request-header "X-Forwarded-Host=myapp.com" --yes`},{name:"Add route at start",value:`${packageName} routes add "Priority Route" --src "/priority" --src-syntax equals --action rewrite --dest "/handler" --position start --yes`}]},publishSubcommand={name:"publish",aliases:[],description:"Publish all staged routing changes to production",arguments:[],options:[projectOption,{...yesOption,description:"Skip the confirmation prompt when publishing"}],examples:[{name:"Publish staged changes",value:`${packageName} routes publish`},{name:"Publish without confirmation",value:`${packageName} routes publish --yes`}]},restoreSubcommand={name:"restore",aliases:[],description:"Restore a previous routing version to production",arguments:[{name:"version-id",required:!0}],options:[projectOption,{...yesOption,description:"Skip the confirmation prompt when restoring"}],examples:[{name:"Restore a previous version",value:`${packageName} routes restore <version-id>`},{name:"Restore without confirmation",value:`${packageName} routes restore <version-id> --yes`}]},discardSubcommand={name:"discard-staging",aliases:[],description:"Discard staged routing changes",arguments:[],options:[projectOption,{...yesOption,description:"Skip the confirmation prompt when discarding"}],examples:[{name:"Discard staged changes",value:`${packageName} routes discard-staging`},{name:"Discard without confirmation",value:`${packageName} routes discard-staging --yes`}]},deleteSubcommand={name:"remove",aliases:["rm","delete"],description:"Remove one or more routing rules",arguments:[{name:"name-or-id",required:!0,multiple:!0}],options:[projectOption,{...yesOption,description:"Skip the confirmation prompt when removing"}],examples:[{name:"Remove a route by name",value:`${packageName} routes remove "Old Redirect"`},{name:"Remove a route by ID",value:`${packageName} routes remove abc123`},{name:"Remove multiple routes",value:`${packageName} routes remove "Route A" "Route B"`},{name:"Remove without confirmation",value:`${packageName} routes remove "Old Route" --yes`}]},enableSubcommand={name:"enable",aliases:[],description:"Enable a disabled routing rule",arguments:[{name:"name-or-id",required:!0}],options:[projectOption],examples:[{name:"Enable a route by name",value:`${packageName} routes enable "API Proxy"`},{name:"Enable a route by ID",value:`${packageName} routes enable abc123`}]},disableSubcommand={name:"disable",aliases:[],description:"Disable a routing rule without deleting it",arguments:[{name:"name-or-id",required:!0}],options:[projectOption],examples:[{name:"Disable a route by name",value:`${packageName} routes disable "API Proxy"`},{name:"Disable a route by ID",value:`${packageName} routes disable abc123`}]},reorderSubcommand={name:"reorder",aliases:["move"],description:"Move a routing rule to a different position",arguments:[{name:"name-or-id",required:!0}],options:[projectOption,{name:"position",description:"Target position: start, end, a number (1-based), before:<id>, after:<id>",shorthand:null,type:String,argument:"POSITION",deprecated:!1},{name:"first",description:"Move to the first position (highest priority)",shorthand:null,type:Boolean,deprecated:!1},{name:"last",description:"Move to the last position (lowest priority)",shorthand:null,type:Boolean,deprecated:!1},{...yesOption,description:"Skip the confirmation prompt when reordering"}],examples:[{name:"Move to first position",value:`${packageName} routes reorder "Catch All" --first`},{name:"Move to last position",value:`${packageName} routes reorder "Catch All" --last`},{name:"Move to a specific position",value:`${packageName} routes reorder "API Proxy" --position 3`},{name:"Move after another route",value:`${packageName} routes reorder "API Proxy" --position after:route-id-123`},{name:"Interactive reorder (prompts for position)",value:`${packageName} routes reorder "API Proxy"`}]},editSubcommand={name:"update",aliases:["edit"],description:"Update an existing routing rule",arguments:[{name:"name-or-id",required:!0}],options:[projectOption,{name:"name",description:"Change route name",shorthand:null,type:String,argument:"NAME",deprecated:!1},{name:"description",description:'Change description (use "" to clear)',shorthand:null,type:String,argument:"TEXT",deprecated:!1},{name:"src",description:"Change source path pattern",shorthand:null,type:String,argument:"PATTERN",deprecated:!1},{name:"src-syntax",description:"Change path syntax: regex, path-to-regexp, equals",shorthand:null,type:String,argument:"TYPE",deprecated:!1},{name:"action",description:"Set action type: rewrite, redirect, or set-status (required when switching types)",shorthand:null,type:String,argument:"TYPE",deprecated:!1},{name:"dest",description:"Set destination URL",shorthand:null,type:String,argument:"URL",deprecated:!1},{name:"status",description:"Set status code",shorthand:null,type:Number,argument:"CODE",deprecated:!1},{name:"no-dest",description:"Remove destination",shorthand:null,type:Boolean,deprecated:!1},{name:"no-status",description:"Remove status code",shorthand:null,type:Boolean,deprecated:!1},{name:"set-response-header",description:"Set response header: key=value (repeatable)",shorthand:null,type:[String],argument:"HEADER",deprecated:!1},{name:"append-response-header",description:"Append to response header: key=value (repeatable)",shorthand:null,type:[String],argument:"HEADER",deprecated:!1},{name:"delete-response-header",description:"Delete response header: key (repeatable)",shorthand:null,type:[String],argument:"KEY",deprecated:!1},{name:"set-request-header",description:"Set request header: key=value (repeatable)",shorthand:null,type:[String],argument:"HEADER",deprecated:!1},{name:"append-request-header",description:"Append to request header: key=value (repeatable)",shorthand:null,type:[String],argument:"HEADER",deprecated:!1},{name:"delete-request-header",description:"Delete request header: key (repeatable)",shorthand:null,type:[String],argument:"KEY",deprecated:!1},{name:"set-request-query",description:"Set query parameter: key=value (repeatable)",shorthand:null,type:[String],argument:"PARAM",deprecated:!1},{name:"append-request-query",description:"Append to query parameter: key=value (repeatable)",shorthand:null,type:[String],argument:"PARAM",deprecated:!1},{name:"delete-request-query",description:"Delete query parameter: key (repeatable)",shorthand:null,type:[String],argument:"KEY",deprecated:!1},{name:"has",description:"Add a has condition: type:key or type:key:value (repeatable)",shorthand:null,type:[String],argument:"CONDITION",deprecated:!1},{name:"missing",description:'Add a "does not have" condition: type:key or type:key:value (repeatable)',shorthand:null,type:[String],argument:"CONDITION",deprecated:!1},{name:"clear-conditions",description:"Remove all has/does-not-have conditions",shorthand:null,type:Boolean,deprecated:!1},{name:"clear-headers",description:"Remove all response headers",shorthand:null,type:Boolean,deprecated:!1},{name:"clear-transforms",description:"Remove all transforms (request headers, request query)",shorthand:null,type:Boolean,deprecated:!1},{name:"ai",description:"Describe changes using natural language (AI-powered)",shorthand:null,type:String,argument:"PROMPT",deprecated:!1},{...yesOption,description:"Skip confirmation prompts"}],examples:[{name:"Interactive mode",value:`${packageName} routes update "API Proxy"`},{name:"Update with AI",value:`${packageName} routes update "API Proxy" --ai "Add CORS headers and change status to 308"`},{name:"Change destination",value:`${packageName} routes update "API Proxy" --dest "https://new-api.example.com/:path*"`},{name:"Switch to redirect",value:`${packageName} routes update "Old Route" --action redirect --dest "/new" --status 301`},{name:"Add a response header",value:`${packageName} routes update "My Route" --set-response-header "Cache-Control=public, max-age=3600"`},{name:"Clear all conditions and add new ones",value:`${packageName} routes update "My Route" --clear-conditions --has "header:Authorization"`}]},exportSubcommand={name:"export",aliases:[],description:"Export routes to a vercel.json or vercel.ts file",arguments:[{name:"name-or-id",required:!1}],options:[projectOption,{name:"output",description:"Output file format: .json (default) or .ts",shorthand:"o",type:String,argument:"json|ts",deprecated:!1}],examples:[{name:"Export as vercel.json format",value:`${packageName} routes export`},{name:"Export as vercel.ts format",value:`${packageName} routes export --output ts`},{name:"Export a specific route",value:`${packageName} routes export "API Proxy"`},{name:"Export to a file",value:`${packageName} routes export > routes.json`}]},routesCommand={name:"routes",aliases:[],description:"Manage routing rules for a project. Routes managed at the project level apply to all deployments and environments.",arguments:[],subcommands:[listSubcommand,listVersionsSubcommand,inspectSubcommand,addSubcommand,editSubcommand,deleteSubcommand,enableSubcommand,disableSubcommand,reorderSubcommand,exportSubcommand,publishSubcommand,restoreSubcommand,discardSubcommand],options:[],examples:[]};export{listSubcommand,listVersionsSubcommand,inspectSubcommand,addSubcommand,publishSubcommand,restoreSubcommand,discardSubcommand,deleteSubcommand,enableSubcommand,disableSubcommand,reorderSubcommand,editSubcommand,exportSubcommand,routesCommand};
@@ -1,8 +0,0 @@
1
- import { createRequire as __createRequire } from 'node:module';
2
- import { fileURLToPath as __fileURLToPath } from 'node:url';
3
- import { dirname as __dirname_ } from 'node:path';
4
- const require = __createRequire(import.meta.url);
5
- const __filename = __fileURLToPath(import.meta.url);
6
- const __dirname = __dirname_(__filename);
7
- import{require_ms}from"./chunk-MXTC4ZAQ.js";import{output_manager_default}from"./chunk-M774HRX5.js";import{__toESM}from"./chunk-BZENIQ7N.js";var import_ms=__toESM(require_ms(),1);function parseTimeFlag(input,now=Date.now()){if(input.trim()==="now")return new Date(now);let milliseconds=(0,import_ms.default)(input);if(milliseconds!==void 0)return new Date(now-milliseconds);let date=new Date(input);if(isNaN(date.getTime()))throw new Error(`Invalid time format "${input}". Use relative (1h, 30m, 2d, 1w), ISO 8601 datetime, or now.`);return date}function resolveTimeRange(since="1h",until,now=Date.now()){let startTime=parseTimeFlag(since,now),endTime=until?parseTimeFlag(until,now):new Date(now);return{startTime,endTime}}function validateAllProjectMutualExclusivity(all,project){return all&&project?{valid:!1,code:"MUTUAL_EXCLUSIVITY",message:"Cannot specify both --all and --project. Use one or the other."}:{valid:!0}}function validateTimeBound(input){if(!input)return{valid:!0,value:void 0};try{return{valid:!0,value:parseTimeFlag(input)}}catch(err){return{valid:!1,code:"INVALID_TIME",message:err.message}}}function validateTimeOrder(since,until){return since&&until&&since.getTime()>until.getTime()?{valid:!1,code:"INVALID_TIME_RANGE",message:"`--since` must be earlier than `--until`."}:{valid:!0}}function normalizeRepeatableStringFilters(filters){if(!filters||filters.length===0)return[];let normalized=filters.flatMap(filter=>filter.split(",")).map(filter=>filter.trim()).filter(Boolean);return[...new Set(normalized)]}function validateIntegerRangeWithDefault(value,opts){return value===void 0?{valid:!0,value:opts.defaultValue}:Number.isNaN(value)?{valid:!1,code:"INVALID_LIMIT",message:`Please provide a number for flag \`${opts.flag}\`.`}:!Number.isInteger(value)||value<opts.min||value>opts.max?{valid:!1,code:"INVALID_LIMIT",message:`\`${opts.flag}\` must be an integer between ${opts.min} and ${opts.max}.`}:{valid:!0,value}}function validateOptionalIntegerRange(value,opts){return value===void 0?{valid:!0,value:void 0}:Number.isNaN(value)?{valid:!1,code:opts.code||"INVALID_LIMIT",message:`Please provide a number for flag \`${opts.flag}\`.`}:!Number.isInteger(value)||value<opts.min||value>opts.max?{valid:!1,code:opts.code||"INVALID_LIMIT",message:`\`${opts.flag}\` must be an integer between ${opts.min} and ${opts.max}.`}:{valid:!0,value}}function formatJsonError(code,message){return`${JSON.stringify({error:{code,message}},null,2)}
8
- `}function writeJsonError(client,code,message){client.stdout.write(formatJsonError(code,message))}var USAGE_ERROR_CODES=new Set(["CONFLICTING_CONTENT","INVALID_AGGREGATION","INVALID_ARGUMENTS","INVALID_ATTACHMENT","INVALID_GRANULARITY","INVALID_GROUP_BY","INVALID_LIMIT","INVALID_NEXT","INVALID_RULE_TYPE","INVALID_STATUS","INVALID_THREAD","INVALID_TIME","INVALID_TIME_RANGE","MESSAGE_WITH_MULTIPLE_THREADS","MISSING_ARGUMENT","MISSING_ARGUMENTS","MISSING_CONTENT","MISSING_FLAG","MISSING_THREAD","MUTUAL_EXCLUSIVITY"]);function getExitCodeForErrorCode(code){return USAGE_ERROR_CODES.has(code)?2:1}function outputError(client,jsonOutput,code,message){return jsonOutput?writeJsonError(client,code,message):output_manager_default.error(message),getExitCodeForErrorCode(code)}function handleValidationError(result,jsonOutput,client){return outputError(client,jsonOutput,result.code,result.message)}export{parseTimeFlag,resolveTimeRange,validateAllProjectMutualExclusivity,validateTimeBound,validateTimeOrder,normalizeRepeatableStringFilters,validateIntegerRangeWithDefault,validateOptionalIntegerRange,writeJsonError,getExitCodeForErrorCode,outputError,handleValidationError};