vercel 59.14.0 → 59.15.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.
- package/dist/chunks/add-7XFD2OHW.js +8 -0
- package/dist/chunks/add-HZC7AUBY.js +8 -0
- package/dist/chunks/add-PYUNJZ6K.js +8 -0
- package/dist/chunks/build-EFKQ6BND.js +7 -0
- package/dist/chunks/chunk-2B2MN3U5.js +8 -0
- package/dist/chunks/chunk-2H77IRPI.js +9 -0
- package/dist/chunks/chunk-2I64AYHG.js +7 -0
- package/dist/chunks/chunk-2PPXY24N.js +20 -0
- package/dist/chunks/chunk-2S6PE6GB.js +7 -0
- package/dist/chunks/{chunk-PIMIVJYK.js → chunk-3FMJYJUR.js} +7 -32
- package/dist/chunks/chunk-3IAQUNQH.js +7 -0
- package/dist/chunks/chunk-3QHJYVCY.js +7 -0
- package/dist/chunks/chunk-3QT7VOE3.js +7 -0
- package/dist/chunks/chunk-3TXEXPUW.js +7 -0
- package/dist/chunks/chunk-4MZK6JT6.js +7 -0
- package/dist/chunks/chunk-4NE5IQ25.js +7 -0
- package/dist/chunks/chunk-4PNSSS3L.js +7 -0
- package/dist/chunks/chunk-4QX77CP7.js +7 -0
- package/dist/chunks/chunk-57GHYR4Y.js +25 -0
- package/dist/chunks/chunk-5QQNYN4N.js +7 -0
- package/dist/chunks/chunk-5XJNPXQK.js +7 -0
- package/dist/chunks/chunk-6L236MNA.js +7 -0
- package/dist/chunks/chunk-6PFC3KWQ.js +7 -0
- package/dist/chunks/chunk-6QKS6QK7.js +7 -0
- package/dist/chunks/chunk-6RIQPTJA.js +8 -0
- package/dist/chunks/chunk-6TAQ6OWD.js +13 -0
- package/dist/chunks/chunk-6YAADRQB.js +9 -0
- package/dist/chunks/chunk-75CPY75D.js +15 -0
- package/dist/chunks/chunk-7HL2RPUO.js +7 -0
- package/dist/chunks/chunk-7PNYOSDU.js +9 -0
- package/dist/chunks/chunk-7R5FEXZ5.js +7 -0
- package/dist/chunks/chunk-7RMCBXBB.js +62 -0
- package/dist/chunks/chunk-7RR7MIMT.js +7 -0
- package/dist/chunks/chunk-7T6TL3GQ.js +7 -0
- package/dist/chunks/chunk-ADUYPK2G.js +13 -0
- package/dist/chunks/chunk-AFPOIDM5.js +7 -0
- package/dist/chunks/chunk-AM46JVVN.js +7 -0
- package/dist/chunks/chunk-AVSPFBLM.js +7 -0
- package/dist/chunks/chunk-B4ATVYZW.js +7 -0
- package/dist/chunks/chunk-BATE73HA.js +9 -0
- package/dist/chunks/{chunk-64IF634X.js → chunk-BRK4OB4B.js} +1 -12
- package/dist/chunks/chunk-BVH2AEFE.js +7 -0
- package/dist/chunks/chunk-CN2QZO4U.js +7 -0
- package/dist/chunks/chunk-COQGD2EI.js +8 -0
- package/dist/chunks/chunk-CUAIEGNE.js +7 -0
- package/dist/chunks/chunk-CVKB54WW.js +7 -0
- package/dist/chunks/{chunk-A3NYPUKZ.js → chunk-CZSOZKHX.js} +1 -11
- package/dist/chunks/chunk-D4MW3RDW.js +7 -0
- package/dist/chunks/chunk-DFVNL5ML.js +7 -0
- package/dist/chunks/chunk-EE3FVJLV.js +16 -0
- package/dist/chunks/chunk-EGMJRU5P.js +28 -0
- package/dist/chunks/chunk-ENBTTYJR.js +7 -0
- package/dist/chunks/chunk-ENS6KX2F.js +7 -0
- package/dist/chunks/chunk-EOBD4ZEG.js +8 -0
- package/dist/chunks/chunk-EOCTK4EA.js +7 -0
- package/dist/chunks/chunk-EQ52F4LH.js +7 -0
- package/dist/chunks/chunk-ETV3C2CV.js +7 -0
- package/dist/chunks/chunk-EVZRQGNK.js +7 -0
- package/dist/chunks/chunk-F2ZWW2IO.js +8 -0
- package/dist/chunks/chunk-FAW6NBLQ.js +7 -0
- package/dist/chunks/chunk-FI772UVH.js +7 -0
- package/dist/chunks/chunk-FKCOBJFH.js +7 -0
- package/dist/chunks/chunk-FVGESGJI.js +45 -0
- package/dist/chunks/chunk-G5FC5ZCO.js +9 -0
- package/dist/chunks/chunk-G6CTAHKY.js +39 -0
- package/dist/chunks/chunk-G7Y77DFH.js +7 -0
- package/dist/chunks/chunk-GHAY4PSD.js +7 -0
- package/dist/chunks/chunk-GHM7V3GG.js +7 -0
- package/dist/chunks/chunk-GRNTLNC7.js +7 -0
- package/dist/chunks/chunk-GTRGQIY2.js +10 -0
- package/dist/chunks/chunk-GU6VIFR5.js +7 -0
- package/dist/chunks/{constants-YMCRE6IG.js → chunk-GZNDA6SV.js} +2 -9
- package/dist/chunks/chunk-HBFPLBTX.js +10 -0
- package/dist/chunks/chunk-HEGJZJO7.js +7 -0
- package/dist/chunks/chunk-HSJ6AHWG.js +12 -0
- package/dist/chunks/chunk-HTC6KO2B.js +7 -0
- package/dist/chunks/chunk-HVUHCRZB.js +18 -0
- package/dist/chunks/chunk-HZZ5L472.js +7 -0
- package/dist/chunks/chunk-IVSSTHB6.js +7 -0
- package/dist/chunks/chunk-IVWPQYIH.js +7 -0
- package/dist/chunks/chunk-J3U3L45Y.js +7 -0
- package/dist/chunks/chunk-JAJW3P42.js +7 -0
- package/dist/chunks/chunk-JEIMW3CO.js +7 -0
- package/dist/chunks/chunk-JIYY3B4C.js +7 -0
- package/dist/chunks/chunk-JKTQV2QJ.js +7 -0
- package/dist/chunks/chunk-JTVVBRW7.js +7 -0
- package/dist/chunks/chunk-JYAUUIR4.js +7 -0
- package/dist/chunks/chunk-JZRMH5UA.js +7 -0
- package/dist/chunks/chunk-K2RAW5DI.js +10 -0
- package/dist/chunks/chunk-K3KJZLBD.js +7 -0
- package/dist/chunks/chunk-KK4AJES5.js +36 -0
- package/dist/chunks/chunk-KKS7XWEX.js +7 -0
- package/dist/chunks/chunk-KNEWCUWF.js +14 -0
- package/dist/chunks/chunk-KO733OJG.js +9 -0
- package/dist/chunks/chunk-L243RUIR.js +19 -0
- package/dist/chunks/chunk-L3JDEHCQ.js +7 -0
- package/dist/chunks/chunk-LDM3SQAU.js +13 -0
- package/dist/chunks/chunk-LNPMDXBJ.js +7 -0
- package/dist/chunks/chunk-M2W3HKV3.js +23 -0
- package/dist/chunks/chunk-M2XARQBF.js +9 -0
- package/dist/chunks/chunk-M5AV545M.js +7 -0
- package/dist/chunks/chunk-MAVRGZQP.js +7 -0
- package/dist/chunks/chunk-MBL6TXEJ.js +7 -0
- package/dist/chunks/chunk-MEAY2K5Z.js +11 -0
- package/dist/chunks/chunk-MY4MONOH.js +7 -0
- package/dist/chunks/chunk-N3N5UHIL.js +7 -0
- package/dist/chunks/chunk-N3ZZ7FHQ.js +7 -0
- package/dist/chunks/chunk-N6CNMMSZ.js +7 -0
- package/dist/chunks/chunk-NBVY237X.js +7 -0
- package/dist/chunks/chunk-NGNOUPWS.js +25 -0
- package/dist/chunks/chunk-NHTF332K.js +7 -0
- package/dist/chunks/chunk-NNP5NITU.js +15 -0
- package/dist/chunks/chunk-NS4FH2TY.js +11 -0
- package/dist/chunks/chunk-NUGLE4QY.js +11 -0
- package/dist/chunks/chunk-NWFHHUKZ.js +7 -0
- package/dist/chunks/chunk-O7G3CZ42.js +7 -0
- package/dist/chunks/chunk-OD6RZ3XZ.js +8 -0
- package/dist/chunks/chunk-OHDEHZLX.js +7 -0
- package/dist/chunks/chunk-OK3S6KFX.js +16 -0
- package/dist/chunks/chunk-OKZDOANA.js +23 -0
- package/dist/chunks/chunk-OSCCYU74.js +7 -0
- package/dist/chunks/chunk-OUHPDA7Q.js +7 -0
- package/dist/chunks/chunk-P2O5DOYE.js +7 -0
- package/dist/chunks/chunk-PHW54NU5.js +13 -0
- package/dist/chunks/chunk-PPCFQQSU.js +7 -0
- package/dist/chunks/chunk-QGIGNMII.js +8 -0
- package/dist/chunks/chunk-QGIQK47P.js +7 -0
- package/dist/chunks/chunk-QHJLRTVY.js +7 -0
- package/dist/chunks/{chunk-2473DUBR.js → chunk-QR7QPUFN.js} +1 -9
- package/dist/chunks/chunk-QTKJC2O5.js +7 -0
- package/dist/chunks/chunk-R2TGGVCT.js +19 -0
- package/dist/chunks/chunk-RAIBQIKB.js +7 -0
- package/dist/chunks/chunk-RCTYVKM5.js +16 -0
- package/dist/chunks/chunk-RKAUVPOQ.js +86 -0
- package/dist/chunks/chunk-S5CEIACD.js +7 -0
- package/dist/chunks/chunk-SGWVKRSR.js +8 -0
- package/dist/chunks/chunk-SOJCELXH.js +7 -0
- package/dist/chunks/chunk-SXUEGVWB.js +7 -0
- package/dist/chunks/{chunk-GGPE5377.js → chunk-T3GQAMBJ.js} +1 -9
- package/dist/chunks/chunk-T52FMXWC.js +7 -0
- package/dist/chunks/chunk-TG2RCYTH.js +7 -0
- package/dist/chunks/chunk-TJCIHDPZ.js +9 -0
- package/dist/chunks/chunk-TKBXN4H3.js +9 -0
- package/dist/chunks/chunk-TRTEXGVN.js +7 -0
- package/dist/chunks/chunk-TXELFFNK.js +15 -0
- package/dist/chunks/chunk-U56NHYAH.js +7 -0
- package/dist/chunks/chunk-U7KCDTCH.js +12 -0
- package/dist/chunks/chunk-UETTIYUQ.js +8 -0
- package/dist/chunks/chunk-UGMZQZJE.js +24 -0
- package/dist/chunks/chunk-ULLWCOYC.js +7 -0
- package/dist/chunks/chunk-UXTHEQVJ.js +21 -0
- package/dist/chunks/chunk-VLZ47RWM.js +44 -0
- package/dist/chunks/chunk-WKZ6JSGZ.js +7 -0
- package/dist/chunks/chunk-WPS6JZF6.js +7 -0
- package/dist/chunks/chunk-WRILLB46.js +7 -0
- package/dist/chunks/chunk-WUZD4KBL.js +7 -0
- package/dist/chunks/chunk-XCJDGQO7.js +7 -0
- package/dist/chunks/{pkg-56KRLZ5K.js → chunk-XD2LZRBS.js} +1 -7
- package/dist/chunks/chunk-XFVGX5HG.js +7 -0
- package/dist/chunks/chunk-XHOGOH6N.js +7 -0
- package/dist/chunks/{update-route-version-E3V47KNI.js → chunk-XPXOV5UO.js} +1 -7
- package/dist/chunks/chunk-XQ73QIQ3.js +7 -0
- package/dist/chunks/chunk-XSVBYDYI.js +8 -0
- package/dist/chunks/chunk-YKZLKOOD.js +12 -0
- package/dist/chunks/chunk-YMVDWVMO.js +7 -0
- package/dist/chunks/chunk-YPTLSODC.js +7 -0
- package/dist/chunks/chunk-YV6CTDHR.js +7 -0
- package/dist/chunks/chunk-Z6Y55QJW.js +23 -0
- package/dist/chunks/chunk-ZDX75YNZ.js +7 -0
- package/dist/chunks/chunk-ZIPVX7LD.js +7 -0
- package/dist/chunks/chunk-ZKYS7EAB.js +7 -0
- package/dist/chunks/chunk-ZT6KDLLY.js +20 -0
- package/dist/chunks/chunk-ZXE4XYIV.js +7 -0
- package/dist/chunks/chunk-ZZQRMRWD.js +20 -0
- package/dist/chunks/cjs-GOQHXIHX.js +54 -0
- package/dist/chunks/clear-5NQAVWIF.js +8 -0
- package/dist/chunks/compile-vercel-config-6J2XUFRK.js +7 -0
- package/dist/chunks/config-CKYRXZXL.js +7 -0
- package/dist/chunks/config-VNUY4RJ4.js +8 -0
- package/dist/chunks/connect-git-provider-GIU5WZ52.js +7 -0
- package/dist/chunks/constants-G4UYVLOF.js +7 -0
- package/dist/chunks/create-project-SRQGD4JY.js +7 -0
- package/dist/chunks/delete-GTXXCSKQ.js +10 -0
- package/dist/chunks/delete-HRJEO4MI.js +9 -0
- package/dist/chunks/detect-projects-2GNCZ4CS.js +7 -0
- package/dist/chunks/detect-services-GHILEGNU.js +7 -0
- package/dist/chunks/disable-RWCRVG5O.js +7 -0
- package/dist/chunks/discard-SHFIYCJU.js +14 -0
- package/dist/chunks/edit-DMO3NSO2.js +9 -0
- package/dist/chunks/edit-EVQI2RSS.js +8 -0
- package/dist/chunks/enable-AWDU6STD.js +7 -0
- package/dist/chunks/esm-7HVUFWMN.js +7 -0
- package/dist/chunks/esm-BZBEM7YA.js +7 -0
- package/dist/chunks/esm-CXICLFA3.js +9 -0
- package/dist/chunks/esm-HDEHVK7I.js +9 -0
- package/dist/chunks/esm-NQRLKALI.js +20 -0
- package/dist/chunks/esm-SZZI53W7.js +7 -0
- package/dist/chunks/esm-WGJFGCLK.js +7 -0
- package/dist/chunks/exec-4AISDHUV.js +16372 -0
- package/dist/chunks/export-IQKTA4RS.js +19 -0
- package/dist/chunks/fetch-proxy-AEAWC6MD.js +7 -0
- package/dist/chunks/future-E2FHKPJN.js +7 -0
- package/dist/chunks/generate-cert-for-deploy-VKOWC4PZ.js +7 -0
- package/dist/chunks/image-LDFYNOCA.js +7 -0
- package/dist/chunks/import-builders-P7CXSX2D.js +7 -0
- package/dist/chunks/inspect-3N47ODIH.js +15 -0
- package/dist/chunks/inspect-53SGDDAH.js +20 -0
- package/dist/chunks/inspect-5INZDUQS.js +19 -0
- package/dist/chunks/inspect-WMT2M335.js +9 -0
- package/dist/chunks/inspect-Y6BUCOUV.js +13 -0
- package/dist/chunks/list-BIAPHKFM.js +11 -0
- package/dist/chunks/list-DMOCRRSE.js +16 -0
- package/dist/chunks/list-K5J7OULR.js +10 -0
- package/dist/chunks/login-DEAEVUHM.js +7 -0
- package/dist/chunks/login-SRVNHI4Y.js +9 -0
- package/dist/chunks/logs-GK7CJBYY.js +7 -0
- package/dist/chunks/ls-7ZX6DCJW.js +12 -0
- package/dist/chunks/ls-AJWN5ZR4.js +12 -0
- package/dist/chunks/ls-BFJWCRLZ.js +12 -0
- package/dist/chunks/ls-KGIE6HCO.js +12 -0
- package/dist/chunks/ls-UVKTHBTE.js +8 -0
- package/dist/chunks/ls-WEG45IOC.js +8 -0
- package/dist/chunks/native-self-update-KOJVRMHR.js +7 -0
- package/dist/chunks/open-OEWPI5G6.js +7 -0
- package/dist/chunks/openapi-MO5HYMHR.js +7 -0
- package/dist/chunks/permissions-EPQBQFE3.js +7 -0
- package/dist/chunks/pkg-YFU67U7I.js +7 -0
- package/dist/chunks/prompt-missing-credentials-IUHLYSQU.js +7 -0
- package/dist/chunks/publish-JG7MEPWT.js +15 -0
- package/dist/chunks/pull-MRKXG6TO.js +7 -0
- package/dist/chunks/purchase-domain-if-available-O5ARXEZ5.js +7 -0
- package/dist/chunks/push-XOXJDFYO.js +7 -0
- package/dist/chunks/query-AL7C6WV2.js +12 -0
- package/dist/chunks/reauthenticate-SH4XR7NH.js +7 -0
- package/dist/chunks/reorder-5DMRFDBY.js +10 -0
- package/dist/chunks/reply-WSRNZWFD.js +9 -0
- package/dist/chunks/repo-info-to-url-SK3VX6UL.js +7 -0
- package/dist/chunks/resolve-YJUXQVOZ.js +12 -0
- package/dist/chunks/resolve-deployment-framework-preset-XF3NJIDS.js +7 -0
- package/dist/chunks/restore-QT3DBGKU.js +16 -0
- package/dist/chunks/rm-MHPIUEZ5.js +8 -0
- package/dist/chunks/rm-MVZFU6RG.js +8 -0
- package/dist/chunks/rm-PXR4J2US.js +8 -0
- package/dist/chunks/rm-WB2AIP3N.js +8 -0
- package/dist/chunks/rm-XRP6MRUT.js +8 -0
- package/dist/chunks/routes-5DERZV5M.js +7 -0
- package/dist/chunks/rule-inspect-TT3DRGCS.js +8 -0
- package/dist/chunks/rules-B5GW4KJH.js +7 -0
- package/dist/chunks/schema-JY5QTZOG.js +14 -0
- package/dist/chunks/schema-KCNKVFT3.js +44 -0
- package/dist/chunks/select-org-KSCYSESV.js +7 -0
- package/dist/chunks/set-7BANEWEL.js +7 -0
- package/dist/chunks/setup-and-link-ZAV3EFGC.js +7 -0
- package/dist/chunks/slugify-O5DBATYT.js +7 -0
- package/dist/chunks/stamp-OX4YO3KY.js +7 -0
- package/dist/chunks/tags-VZR66NUC.js +7 -0
- package/dist/chunks/types-LRXQEDYI.js +14 -0
- package/dist/chunks/update-RBFNNSWE.js +8 -0
- package/dist/chunks/update-route-version-XZAFPQJC.js +7 -0
- package/dist/chunks/utils-B5ZTMQKY.js +58 -0
- package/dist/chunks/vlt-builder-importer-YVCYYRVV.js +11 -0
- package/dist/commands/build/index.js +24 -4925
- package/dist/commands/deploy/index.js +43 -2875
- package/dist/commands/dev/index.js +56 -23857
- package/dist/commands/env/index.js +26 -3411
- package/dist/commands/link/index.js +4 -284
- package/dist/commands/list/index.js +6 -566
- package/dist/commands-bulk.js +1187 -87691
- package/dist/help.js +1 -8
- package/dist/index.js +19 -2591
- package/dist/version.mjs +1 -1
- package/package.json +50 -51
- package/dist/chunks/add-EQZRT4XL.js +0 -221
- package/dist/chunks/add-KMDROZC3.js +0 -196
- package/dist/chunks/add-QPJ3XMBV.js +0 -145
- package/dist/chunks/build-W4HPTAOB.js +0 -251
- package/dist/chunks/chunk-26CU4Q3C.js +0 -598
- package/dist/chunks/chunk-2HSQ7YUK.js +0 -93
- package/dist/chunks/chunk-2JIX6UMI.js +0 -4626
- package/dist/chunks/chunk-2LCFOK66.js +0 -1536
- package/dist/chunks/chunk-332LMJLZ.js +0 -16014
- package/dist/chunks/chunk-3HZLXCVL.js +0 -137
- package/dist/chunks/chunk-3VM7HWF6.js +0 -104
- package/dist/chunks/chunk-3ZE5CFVM.js +0 -346
- package/dist/chunks/chunk-4IALDGB7.js +0 -22
- package/dist/chunks/chunk-4KD5BYHB.js +0 -127
- package/dist/chunks/chunk-4TUMNBEE.js +0 -231
- package/dist/chunks/chunk-4WG2MYCI.js +0 -163
- package/dist/chunks/chunk-57RHXXXG.js +0 -150
- package/dist/chunks/chunk-5AJPMLDV.js +0 -28
- package/dist/chunks/chunk-5EIV6LPQ.js +0 -305
- package/dist/chunks/chunk-5NF5HOBJ.js +0 -1854
- package/dist/chunks/chunk-653QRQAD.js +0 -417
- package/dist/chunks/chunk-67CRVWDF.js +0 -81
- package/dist/chunks/chunk-6E6KPBXY.js +0 -43
- package/dist/chunks/chunk-75VENWDN.js +0 -1892
- package/dist/chunks/chunk-7MRDIPJY.js +0 -107
- package/dist/chunks/chunk-7NRNFV77.js +0 -875
- package/dist/chunks/chunk-7Q45OKWR.js +0 -149
- package/dist/chunks/chunk-AHU7WNL2.js +0 -24
- package/dist/chunks/chunk-AINIBIP4.js +0 -39
- package/dist/chunks/chunk-AJ5HUOWB.js +0 -14059
- package/dist/chunks/chunk-AKLTIZCU.js +0 -46
- package/dist/chunks/chunk-AQ6P3IGG.js +0 -49
- package/dist/chunks/chunk-B5NH7SLK.js +0 -324
- package/dist/chunks/chunk-B5XLQKHI.js +0 -849
- package/dist/chunks/chunk-BEQV3X2L.js +0 -86
- package/dist/chunks/chunk-CAHP7UGE.js +0 -79
- package/dist/chunks/chunk-CFDDM4TX.js +0 -13618
- package/dist/chunks/chunk-CJV7J7B5.js +0 -314
- package/dist/chunks/chunk-CV5YC2EN.js +0 -867
- package/dist/chunks/chunk-CXFY6A6W.js +0 -255
- package/dist/chunks/chunk-D5SMZXVO.js +0 -233
- package/dist/chunks/chunk-E336ZXPP.js +0 -43
- package/dist/chunks/chunk-EDMW7SBH.js +0 -246
- package/dist/chunks/chunk-EFYMIIER.js +0 -40
- package/dist/chunks/chunk-EKPSCRJZ.js +0 -26
- package/dist/chunks/chunk-EOZFDJSY.js +0 -18
- package/dist/chunks/chunk-EWBCSDTM.js +0 -1708
- package/dist/chunks/chunk-EZKW5YJ2.js +0 -177
- package/dist/chunks/chunk-F2QLCXCF.js +0 -2399
- package/dist/chunks/chunk-FGDKMNEN.js +0 -21
- package/dist/chunks/chunk-FRVG4OW3.js +0 -7438
- package/dist/chunks/chunk-FVF4UHDM.js +0 -1288
- package/dist/chunks/chunk-G5FBSUL4.js +0 -822
- package/dist/chunks/chunk-GDOUDU6O.js +0 -74
- package/dist/chunks/chunk-GGP5R3FU.js +0 -129
- package/dist/chunks/chunk-GVNCVKCI.js +0 -68
- package/dist/chunks/chunk-GY5I4AYD.js +0 -122
- package/dist/chunks/chunk-GZLPFESR.js +0 -48
- package/dist/chunks/chunk-HB4UKFDO.js +0 -1295
- package/dist/chunks/chunk-HD4DR3DA.js +0 -818
- package/dist/chunks/chunk-HKHXKSXQ.js +0 -152
- package/dist/chunks/chunk-HM24ZWQL.js +0 -174
- package/dist/chunks/chunk-HRXRELD3.js +0 -338
- package/dist/chunks/chunk-IB5L4LKZ.js +0 -1082
- package/dist/chunks/chunk-IIMSID24.js +0 -104
- package/dist/chunks/chunk-J7JKZM4T.js +0 -58
- package/dist/chunks/chunk-JC2O346E.js +0 -137
- package/dist/chunks/chunk-JSD4EZL3.js +0 -34
- package/dist/chunks/chunk-JZXJZX7O.js +0 -257
- package/dist/chunks/chunk-K3RED3VO.js +0 -566
- package/dist/chunks/chunk-KFWQ3EFH.js +0 -151
- package/dist/chunks/chunk-KW7BS25T.js +0 -466
- package/dist/chunks/chunk-KXDWXXJH.js +0 -70
- package/dist/chunks/chunk-LERVNZTD.js +0 -90
- package/dist/chunks/chunk-LYAAQDNS.js +0 -242
- package/dist/chunks/chunk-M5I6INNF.js +0 -61
- package/dist/chunks/chunk-N6HP5BLI.js +0 -18190
- package/dist/chunks/chunk-ND5CF2H3.js +0 -53
- package/dist/chunks/chunk-NFU4XJIR.js +0 -120
- package/dist/chunks/chunk-NW34PW6V.js +0 -1772
- package/dist/chunks/chunk-OAMU5QO6.js +0 -18
- package/dist/chunks/chunk-OCIZ6ZYA.js +0 -253
- package/dist/chunks/chunk-ORQZKIIB.js +0 -2914
- package/dist/chunks/chunk-P3SKP5WM.js +0 -27
- package/dist/chunks/chunk-P4QNYOFB.js +0 -96
- package/dist/chunks/chunk-P7VSBDR4.js +0 -827
- package/dist/chunks/chunk-PEC3CQSK.js +0 -90
- package/dist/chunks/chunk-PMSMUMUO.js +0 -30
- package/dist/chunks/chunk-PNGVSHR3.js +0 -40
- package/dist/chunks/chunk-POOO7W47.js +0 -916
- package/dist/chunks/chunk-PRWJUY5U.js +0 -848
- package/dist/chunks/chunk-Q2DGFCO7.js +0 -579
- package/dist/chunks/chunk-RBF2NPUP.js +0 -577
- package/dist/chunks/chunk-RBIFXFZX.js +0 -52
- package/dist/chunks/chunk-RDTRWLWB.js +0 -11441
- package/dist/chunks/chunk-RN6V5ODW.js +0 -114
- package/dist/chunks/chunk-RNSMTWA6.js +0 -122
- package/dist/chunks/chunk-RTJASENB.js +0 -59
- package/dist/chunks/chunk-RVBZ64EQ.js +0 -52
- package/dist/chunks/chunk-S7KYDPEM.js +0 -1564
- package/dist/chunks/chunk-SLPSPYVR.js +0 -334
- package/dist/chunks/chunk-SM3F3PYJ.js +0 -522
- package/dist/chunks/chunk-TO7QZGYK.js +0 -105
- package/dist/chunks/chunk-TSBUHSN7.js +0 -3495
- package/dist/chunks/chunk-TSFWMUCY.js +0 -506
- package/dist/chunks/chunk-TZ2YI2VH.js +0 -87
- package/dist/chunks/chunk-UG2WOB5L.js +0 -150
- package/dist/chunks/chunk-UNKHOYMF.js +0 -559
- package/dist/chunks/chunk-UOVWUSLG.js +0 -2099
- package/dist/chunks/chunk-V4RMJKQP.js +0 -36
- package/dist/chunks/chunk-VGIMO3ZK.js +0 -17
- package/dist/chunks/chunk-VGKSIKCC.js +0 -92
- package/dist/chunks/chunk-VP5Y3SZG.js +0 -106
- package/dist/chunks/chunk-VXYGCOKL.js +0 -28
- package/dist/chunks/chunk-W7FGI2GZ.js +0 -233
- package/dist/chunks/chunk-WGGABYO5.js +0 -31
- package/dist/chunks/chunk-XDGOOW3K.js +0 -60
- package/dist/chunks/chunk-XFF5TGRA.js +0 -303
- package/dist/chunks/chunk-XNIZGCN5.js +0 -58
- package/dist/chunks/chunk-XPJLPUKO.js +0 -117
- package/dist/chunks/chunk-XUAWTW4W.js +0 -467
- package/dist/chunks/chunk-YPQSDAEW.js +0 -29
- package/dist/chunks/chunk-YS76T533.js +0 -270
- package/dist/chunks/chunk-ZDU2NODC.js +0 -104
- package/dist/chunks/chunk-ZW6HETRE.js +0 -97
- package/dist/chunks/cjs-DV4RM7XU.js +0 -20743
- package/dist/chunks/clear-4IACMLFU.js +0 -141
- package/dist/chunks/compile-vercel-config-PQQ3OCLV.js +0 -33
- package/dist/chunks/config-BQQKMQBP.js +0 -168
- package/dist/chunks/config-OCPNHXQL.js +0 -127
- package/dist/chunks/delete-HRKIYPCO.js +0 -159
- package/dist/chunks/delete-P2UL3KTU.js +0 -226
- package/dist/chunks/detect-projects-ODNU4PK2.js +0 -18
- package/dist/chunks/detect-services-U7QGT7VO.js +0 -40
- package/dist/chunks/disable-3NYMICQ3.js +0 -198
- package/dist/chunks/discard-RNVEJUK3.js +0 -145
- package/dist/chunks/edit-63S2RQHR.js +0 -162
- package/dist/chunks/edit-CTENFZ7H.js +0 -647
- package/dist/chunks/enable-WILWXAHV.js +0 -204
- package/dist/chunks/exec-4IPHZ55G.js +0 -1291
- package/dist/chunks/export-YHGV3EPK.js +0 -177
- package/dist/chunks/fetch-proxy-R3JZNXBZ.js +0 -99
- package/dist/chunks/image-MWKS2YMB.js +0 -75
- package/dist/chunks/import-builders-H55X5VYD.js +0 -39
- package/dist/chunks/inspect-JTJMK6TO.js +0 -596
- package/dist/chunks/inspect-KBIPLMGR.js +0 -216
- package/dist/chunks/inspect-OP26FDBY.js +0 -171
- package/dist/chunks/inspect-SW4UMWTB.js +0 -175
- package/dist/chunks/inspect-WPLZPVBO.js +0 -145
- package/dist/chunks/list-HE7DWAWH.js +0 -387
- package/dist/chunks/list-OUG7WCT7.js +0 -404
- package/dist/chunks/list-QUSEURJZ.js +0 -426
- package/dist/chunks/login-MIIQJVF3.js +0 -233
- package/dist/chunks/ls-24N3DUK4.js +0 -183
- package/dist/chunks/ls-3Y7KEFKT.js +0 -175
- package/dist/chunks/ls-75F5HIJ5.js +0 -188
- package/dist/chunks/ls-REN6X2X5.js +0 -204
- package/dist/chunks/ls-W4STUDXK.js +0 -223
- package/dist/chunks/ls-Z4CTSD6C.js +0 -210
- package/dist/chunks/open-ARMCLPBK.js +0 -116
- package/dist/chunks/permissions-JKI67F62.js +0 -99
- package/dist/chunks/publish-SMSQ7OX2.js +0 -155
- package/dist/chunks/pull-4QZJZELD.js +0 -45
- package/dist/chunks/push-T6IYQY2J.js +0 -191
- package/dist/chunks/query-CP3JK5LW.js +0 -725
- package/dist/chunks/reorder-RAWKFGLV.js +0 -412
- package/dist/chunks/reply-235UHUD4.js +0 -176
- package/dist/chunks/resolve-5KCLN7QV.js +0 -237
- package/dist/chunks/resolve-deployment-framework-preset-NPE6RLV3.js +0 -36
- package/dist/chunks/restore-D24WAUAN.js +0 -252
- package/dist/chunks/rm-DBQDXSOC.js +0 -162
- package/dist/chunks/rm-G5INO77R.js +0 -148
- package/dist/chunks/rm-NLKSEKZ5.js +0 -195
- package/dist/chunks/rm-QV76CJA4.js +0 -322
- package/dist/chunks/rm-TZ4PDDUK.js +0 -147
- package/dist/chunks/routes-QVMBXOSX.js +0 -24
- package/dist/chunks/rule-inspect-76MC7I2D.js +0 -123
- package/dist/chunks/rules-IDUXVTPG.js +0 -89
- package/dist/chunks/schema-AV6BHGKY.js +0 -237
- package/dist/chunks/schema-QJVQTNB4.js +0 -381
- package/dist/chunks/set-L5NFQSCF.js +0 -250
- package/dist/chunks/setup-and-link-USSVDKCM.js +0 -65
- package/dist/chunks/stamp-AA7R3MZS.js +0 -16
- package/dist/chunks/tags-2NLUU4EC.js +0 -69
- package/dist/chunks/types-4GAJ7XQQ.js +0 -116
- package/dist/chunks/update-WGLBB65M.js +0 -224
- package/dist/chunks/vlt-builder-importer-USCFHWPL.js +0 -322
|
@@ -1,598 +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 {
|
|
8
|
-
LinkRequiredError,
|
|
9
|
-
ProjectNotFound,
|
|
10
|
-
isAPIError
|
|
11
|
-
} from "./chunk-CV5YC2EN.js";
|
|
12
|
-
import {
|
|
13
|
-
getGlobalFlagsFromArgs,
|
|
14
|
-
packageName,
|
|
15
|
-
stripSensitiveAuthArgs,
|
|
16
|
-
suggestionFlagTakesSeparateValue
|
|
17
|
-
} from "./chunk-Q2DGFCO7.js";
|
|
18
|
-
import {
|
|
19
|
-
require_dist
|
|
20
|
-
} from "./chunk-ZW6HETRE.js";
|
|
21
|
-
import {
|
|
22
|
-
__toESM
|
|
23
|
-
} from "./chunk-TZ2YI2VH.js";
|
|
24
|
-
|
|
25
|
-
// src/util/flags/quote-arg.ts
|
|
26
|
-
function quoteArg(value) {
|
|
27
|
-
if (/^[A-Za-z0-9_./@:-]+$/.test(value)) {
|
|
28
|
-
return value;
|
|
29
|
-
}
|
|
30
|
-
return `'${value.replace(/'/g, `'\\''`)}'`;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
// src/util/agent-output.ts
|
|
34
|
-
var import_error_utils = __toESM(require_dist(), 1);
|
|
35
|
-
function buildCommandWithYes(argv, pkgName = packageName) {
|
|
36
|
-
const args = stripSensitiveAuthArgs(argv.slice(2));
|
|
37
|
-
const hasYes = args.some((a) => a === "--yes" || a === "-y");
|
|
38
|
-
const out = hasYes ? args : [...args, "--yes"];
|
|
39
|
-
return `${pkgName} ${out.join(" ")}`.trim();
|
|
40
|
-
}
|
|
41
|
-
function redactEnvValueArgs(argv) {
|
|
42
|
-
const redacted = [...argv];
|
|
43
|
-
for (let i = 0; i < redacted.length; i++) {
|
|
44
|
-
if (redacted[i] === "--value" && i + 1 < redacted.length) {
|
|
45
|
-
redacted[i + 1] = '"<value>"';
|
|
46
|
-
i++;
|
|
47
|
-
} else if (redacted[i].startsWith("--value=")) {
|
|
48
|
-
redacted[i] = '--value="<value>"';
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
return redacted;
|
|
52
|
-
}
|
|
53
|
-
var GLOBAL_FLAG_NAMES = /* @__PURE__ */ new Set([
|
|
54
|
-
"--cwd",
|
|
55
|
-
"--config",
|
|
56
|
-
"--yes",
|
|
57
|
-
"-y",
|
|
58
|
-
"--non-interactive",
|
|
59
|
-
"--scope",
|
|
60
|
-
"--team",
|
|
61
|
-
"-S",
|
|
62
|
-
"-T"
|
|
63
|
-
// --token/-t are intentionally excluded and stripped via stripSensitiveAuthArgs.
|
|
64
|
-
]);
|
|
65
|
-
var GLOBAL_FLAG_SHORTHANDS = {
|
|
66
|
-
"-y": "--yes",
|
|
67
|
-
"-S": "--scope",
|
|
68
|
-
"-T": "--team"
|
|
69
|
-
};
|
|
70
|
-
function canonicalGlobalFlagName(name) {
|
|
71
|
-
return GLOBAL_FLAG_SHORTHANDS[name] ?? name;
|
|
72
|
-
}
|
|
73
|
-
function getGlobalFlagsFromArgv(argv) {
|
|
74
|
-
const args = getGlobalFlagsFromArgs(argv.slice(2), {
|
|
75
|
-
preserveConfig: true,
|
|
76
|
-
preserveYes: true
|
|
77
|
-
});
|
|
78
|
-
const out = [];
|
|
79
|
-
for (let i = 0; i < args.length; i++) {
|
|
80
|
-
const arg = args[i];
|
|
81
|
-
const name = arg.startsWith("--") ? arg.split("=")[0] : arg;
|
|
82
|
-
if (GLOBAL_FLAG_NAMES.has(name)) {
|
|
83
|
-
out.push(arg);
|
|
84
|
-
const takesSeparateValue = suggestionFlagTakesSeparateValue(name) && !arg.includes("=") && i + 1 < args.length && !args[i + 1].startsWith("-");
|
|
85
|
-
if (takesSeparateValue) {
|
|
86
|
-
out.push(args[i + 1]);
|
|
87
|
-
i++;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
return out;
|
|
92
|
-
}
|
|
93
|
-
function omitGlobalFlagsFromArgs(args) {
|
|
94
|
-
const safeArgs = stripSensitiveAuthArgs(args);
|
|
95
|
-
const out = [];
|
|
96
|
-
for (let i = 0; i < safeArgs.length; i++) {
|
|
97
|
-
const arg = safeArgs[i];
|
|
98
|
-
const name = arg.startsWith("--") ? arg.split("=")[0] : arg;
|
|
99
|
-
if (GLOBAL_FLAG_NAMES.has(name)) {
|
|
100
|
-
const skipSeparateValue = suggestionFlagTakesSeparateValue(name) && !arg.includes("=") && i + 1 < safeArgs.length && !safeArgs[i + 1].startsWith("-");
|
|
101
|
-
if (skipSeparateValue) {
|
|
102
|
-
i++;
|
|
103
|
-
}
|
|
104
|
-
continue;
|
|
105
|
-
}
|
|
106
|
-
out.push(arg);
|
|
107
|
-
}
|
|
108
|
-
return out;
|
|
109
|
-
}
|
|
110
|
-
function buildIntegrationCommandTailFromArgv(argv) {
|
|
111
|
-
const args = argv.slice(2);
|
|
112
|
-
const idx = args.indexOf("integration");
|
|
113
|
-
if (idx === -1) {
|
|
114
|
-
return "integration";
|
|
115
|
-
}
|
|
116
|
-
return omitGlobalFlagsFromArgs(args.slice(idx)).join(" ");
|
|
117
|
-
}
|
|
118
|
-
function buildCommandWithGlobalFlags(argv, commandTemplate, pkgName = packageName, options) {
|
|
119
|
-
let preserved = options?.globalFlags === "all" ? getGlobalFlagsFromArgs(argv.slice(2), {
|
|
120
|
-
preserveProject: options.preserveProject
|
|
121
|
-
}) : getGlobalFlagsFromArgv(argv);
|
|
122
|
-
if (options?.globalFlags !== "all" && options?.preserveProject) {
|
|
123
|
-
const globalArgs = getGlobalFlagsFromArgs(argv.slice(2));
|
|
124
|
-
const contextArgs = getGlobalFlagsFromArgs(argv.slice(2), {
|
|
125
|
-
preserveProject: true
|
|
126
|
-
});
|
|
127
|
-
preserved.push(...contextArgs.slice(globalArgs.length));
|
|
128
|
-
}
|
|
129
|
-
const exclude = new Set(
|
|
130
|
-
commandTemplate.split(/\s+/).filter((token) => token.startsWith("-")).map((token) => canonicalGlobalFlagName(token.split("=")[0]))
|
|
131
|
-
);
|
|
132
|
-
for (const flag of options?.excludeFlags ?? []) {
|
|
133
|
-
exclude.add(canonicalGlobalFlagName(flag));
|
|
134
|
-
}
|
|
135
|
-
if (exclude.size) {
|
|
136
|
-
const out = [];
|
|
137
|
-
for (let i = 0; i < preserved.length; i++) {
|
|
138
|
-
const arg = preserved[i];
|
|
139
|
-
const name = arg.startsWith("--") ? arg.split("=")[0] : arg;
|
|
140
|
-
if (exclude.has(canonicalGlobalFlagName(name))) {
|
|
141
|
-
if (!arg.includes("=") && i + 1 < preserved.length && !preserved[i + 1].startsWith("-")) {
|
|
142
|
-
i++;
|
|
143
|
-
}
|
|
144
|
-
continue;
|
|
145
|
-
}
|
|
146
|
-
out.push(arg);
|
|
147
|
-
}
|
|
148
|
-
preserved = out;
|
|
149
|
-
}
|
|
150
|
-
const base = `${pkgName} ${commandTemplate}`;
|
|
151
|
-
if (preserved.length === 0) {
|
|
152
|
-
return base;
|
|
153
|
-
}
|
|
154
|
-
if (options?.prependGlobalFlags) {
|
|
155
|
-
return `${pkgName} ${preserved.join(" ")} ${commandTemplate}`;
|
|
156
|
-
}
|
|
157
|
-
return `${base} ${preserved.join(" ")}`;
|
|
158
|
-
}
|
|
159
|
-
function withGlobalFlags(client, commandTemplate, options = {}) {
|
|
160
|
-
return buildCommandWithGlobalFlags(
|
|
161
|
-
client.argv,
|
|
162
|
-
commandTemplate,
|
|
163
|
-
packageName,
|
|
164
|
-
{
|
|
165
|
-
globalFlags: "all",
|
|
166
|
-
preserveProject: options.preserveProject
|
|
167
|
-
}
|
|
168
|
-
);
|
|
169
|
-
}
|
|
170
|
-
function getPreservedArgsAfterEnvSubcommand(argv, subcommands, positionalCount) {
|
|
171
|
-
const args = stripSensitiveAuthArgs(argv.slice(2));
|
|
172
|
-
const envIdx = args.findIndex(
|
|
173
|
-
(arg, index) => arg === "env" && subcommands.includes(args[index + 1])
|
|
174
|
-
);
|
|
175
|
-
const subcommandIdx = envIdx + 1;
|
|
176
|
-
if (envIdx === -1) {
|
|
177
|
-
return args;
|
|
178
|
-
}
|
|
179
|
-
const preserved = [];
|
|
180
|
-
let positionals = 0;
|
|
181
|
-
let optionsEnded = false;
|
|
182
|
-
for (let i = subcommandIdx + 1; i < args.length; i++) {
|
|
183
|
-
const arg = args[i];
|
|
184
|
-
if (arg === "--" && !optionsEnded) {
|
|
185
|
-
optionsEnded = true;
|
|
186
|
-
continue;
|
|
187
|
-
}
|
|
188
|
-
if (!optionsEnded && arg.startsWith("-")) {
|
|
189
|
-
preserved.push(arg);
|
|
190
|
-
if (!arg.includes("=") && suggestionFlagTakesSeparateValue(arg) && i + 1 < args.length && !args[i + 1].startsWith("-")) {
|
|
191
|
-
preserved.push(args[++i]);
|
|
192
|
-
}
|
|
193
|
-
continue;
|
|
194
|
-
}
|
|
195
|
-
if (positionals < positionalCount) {
|
|
196
|
-
positionals++;
|
|
197
|
-
continue;
|
|
198
|
-
}
|
|
199
|
-
if (optionsEnded && !preserved.includes("--")) {
|
|
200
|
-
preserved.push("--");
|
|
201
|
-
}
|
|
202
|
-
preserved.push(arg);
|
|
203
|
-
}
|
|
204
|
-
return preserved;
|
|
205
|
-
}
|
|
206
|
-
function omitPreservedFlagsAlreadyInTemplate(args, commandTemplate) {
|
|
207
|
-
const templateFlags = new Set(
|
|
208
|
-
commandTemplate.split(/\s+/).filter((token) => token.startsWith("-")).map((token) => canonicalGlobalFlagName(token.split("=")[0]))
|
|
209
|
-
);
|
|
210
|
-
const out = [];
|
|
211
|
-
for (let i = 0; i < args.length; i++) {
|
|
212
|
-
const arg = args[i];
|
|
213
|
-
const name = arg.startsWith("-") ? arg.split("=")[0] : arg;
|
|
214
|
-
if (!templateFlags.has(canonicalGlobalFlagName(name))) {
|
|
215
|
-
out.push(arg);
|
|
216
|
-
continue;
|
|
217
|
-
}
|
|
218
|
-
if (!arg.includes("=") && suggestionFlagTakesSeparateValue(name) && i + 1 < args.length && !args[i + 1].startsWith("-")) {
|
|
219
|
-
i++;
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
return out;
|
|
223
|
-
}
|
|
224
|
-
function getPreservedArgsForEnvAdd(argv) {
|
|
225
|
-
return getPreservedArgsAfterEnvSubcommand(argv, ["add"], 3);
|
|
226
|
-
}
|
|
227
|
-
function buildEnvAddCommandWithPreservedArgs(argv, commandTemplate, pkgName = packageName) {
|
|
228
|
-
const preserved = omitPreservedFlagsAlreadyInTemplate(
|
|
229
|
-
getPreservedArgsForEnvAdd(argv),
|
|
230
|
-
commandTemplate
|
|
231
|
-
);
|
|
232
|
-
const base = `${pkgName} ${commandTemplate}`;
|
|
233
|
-
if (preserved.length === 0)
|
|
234
|
-
return base;
|
|
235
|
-
return `${base} ${preserved.map(quoteArg).join(" ")}`;
|
|
236
|
-
}
|
|
237
|
-
function getPreservedArgsForEnvPull(argv) {
|
|
238
|
-
return getPreservedArgsAfterEnvSubcommand(argv, ["pull"], 1);
|
|
239
|
-
}
|
|
240
|
-
function getPreservedArgsForEnvRm(argv) {
|
|
241
|
-
return getPreservedArgsAfterEnvSubcommand(argv, ["rm", "remove"], 3);
|
|
242
|
-
}
|
|
243
|
-
function buildEnvRmCommandWithPreservedArgs(argv, commandTemplate, pkgName = packageName) {
|
|
244
|
-
const preserved = omitPreservedFlagsAlreadyInTemplate(
|
|
245
|
-
getPreservedArgsForEnvRm(argv),
|
|
246
|
-
commandTemplate
|
|
247
|
-
);
|
|
248
|
-
const base = `${pkgName} ${commandTemplate}`;
|
|
249
|
-
if (preserved.length === 0)
|
|
250
|
-
return base;
|
|
251
|
-
return `${base} ${preserved.map(quoteArg).join(" ")}`;
|
|
252
|
-
}
|
|
253
|
-
function getPreservedArgsForEnvUpdate(argv) {
|
|
254
|
-
return getPreservedArgsAfterEnvSubcommand(argv, ["update"], 3);
|
|
255
|
-
}
|
|
256
|
-
function buildEnvUpdateCommandWithPreservedArgs(argv, commandTemplate, pkgName = packageName) {
|
|
257
|
-
const preserved = omitPreservedFlagsAlreadyInTemplate(
|
|
258
|
-
getPreservedArgsForEnvUpdate(argv),
|
|
259
|
-
commandTemplate
|
|
260
|
-
);
|
|
261
|
-
const base = `${pkgName} ${commandTemplate}`;
|
|
262
|
-
if (preserved.length === 0)
|
|
263
|
-
return base;
|
|
264
|
-
return `${base} ${preserved.map(quoteArg).join(" ")}`;
|
|
265
|
-
}
|
|
266
|
-
function buildCommandWithScope(argv, scopeSlug, pkgName = packageName) {
|
|
267
|
-
const args = stripSensitiveAuthArgs(argv.slice(2));
|
|
268
|
-
const out = [];
|
|
269
|
-
for (let i = 0; i < args.length; i++) {
|
|
270
|
-
if (args[i] === "--scope" || args[i] === "--team" || args[i] === "-S" || args[i] === "-T") {
|
|
271
|
-
i++;
|
|
272
|
-
continue;
|
|
273
|
-
}
|
|
274
|
-
if (args[i].startsWith("--scope=") || args[i].startsWith("--team=")) {
|
|
275
|
-
continue;
|
|
276
|
-
}
|
|
277
|
-
out.push(args[i]);
|
|
278
|
-
}
|
|
279
|
-
out.push("--scope", scopeSlug);
|
|
280
|
-
return `${pkgName} ${out.join(" ")}`;
|
|
281
|
-
}
|
|
282
|
-
function enrichActionRequiredWithInvokingCommand(payload, argv) {
|
|
283
|
-
if (!payload.choices?.length) {
|
|
284
|
-
return payload;
|
|
285
|
-
}
|
|
286
|
-
const next = [];
|
|
287
|
-
const linkArgv = [...argv.slice(0, 2), "link", ...argv.slice(3)];
|
|
288
|
-
for (const choice of payload.choices) {
|
|
289
|
-
const slug = choice.name;
|
|
290
|
-
next.push({
|
|
291
|
-
command: buildCommandWithScope(linkArgv, slug),
|
|
292
|
-
when: "Link first (then run any command without --scope)"
|
|
293
|
-
});
|
|
294
|
-
next.push({
|
|
295
|
-
command: buildCommandWithScope(argv, slug),
|
|
296
|
-
when: "Run this command with scope (no link)"
|
|
297
|
-
});
|
|
298
|
-
}
|
|
299
|
-
return { ...payload, next };
|
|
300
|
-
}
|
|
301
|
-
function outputActionRequired(client, payload, exitCode = 1) {
|
|
302
|
-
if (!shouldEmitNonInteractiveCommandError(client)) {
|
|
303
|
-
return;
|
|
304
|
-
}
|
|
305
|
-
const enriched = enrichActionRequiredWithInvokingCommand(
|
|
306
|
-
payload,
|
|
307
|
-
client.argv
|
|
308
|
-
);
|
|
309
|
-
if (!enriched.hint && enriched.next?.length) {
|
|
310
|
-
enriched.hint = "Run one of the commands in next[] to complete without prompting.";
|
|
311
|
-
}
|
|
312
|
-
client.stdout.write(`${JSON.stringify(enriched, null, 2)}
|
|
313
|
-
`);
|
|
314
|
-
process.exit(exitCode);
|
|
315
|
-
}
|
|
316
|
-
function argvHasNonInteractive(argv) {
|
|
317
|
-
if (!argv?.length) {
|
|
318
|
-
return false;
|
|
319
|
-
}
|
|
320
|
-
for (let i = 0; i < argv.length; i++) {
|
|
321
|
-
const a = argv[i];
|
|
322
|
-
if (a === "--non-interactive") {
|
|
323
|
-
return argv[i + 1] !== "false";
|
|
324
|
-
}
|
|
325
|
-
if (a.startsWith("--non-interactive=")) {
|
|
326
|
-
return a.slice("--non-interactive=".length) !== "false";
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
return false;
|
|
330
|
-
}
|
|
331
|
-
function shouldEmitNonInteractiveCommandError(client) {
|
|
332
|
-
return client.nonInteractive || argvHasNonInteractive(client.argv ?? []);
|
|
333
|
-
}
|
|
334
|
-
function outputAgentError(client, payload, exitCode = 1) {
|
|
335
|
-
if (!shouldEmitNonInteractiveCommandError(client)) {
|
|
336
|
-
return;
|
|
337
|
-
}
|
|
338
|
-
client.stdout.write(`${JSON.stringify(payload, null, 2)}
|
|
339
|
-
`);
|
|
340
|
-
process.exit(exitCode);
|
|
341
|
-
}
|
|
342
|
-
function outputAgentSuccess(client, payload, exitCode = 0) {
|
|
343
|
-
if (!shouldEmitNonInteractiveCommandError(client)) {
|
|
344
|
-
return;
|
|
345
|
-
}
|
|
346
|
-
if (!payload.hint && payload.next?.length) {
|
|
347
|
-
payload.hint = "Follow up with one of the commands in next[].";
|
|
348
|
-
}
|
|
349
|
-
client.stdout.write(`${JSON.stringify(payload, null, 2)}
|
|
350
|
-
`);
|
|
351
|
-
process.exit(exitCode);
|
|
352
|
-
}
|
|
353
|
-
function buildNextStepsForGlobalConfig(client) {
|
|
354
|
-
return [
|
|
355
|
-
{
|
|
356
|
-
command: buildCommandWithGlobalFlags(client.argv, "global-config list"),
|
|
357
|
-
when: "List Global Config stores in the current team scope"
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
command: buildCommandWithGlobalFlags(client.argv, "teams switch"),
|
|
361
|
-
when: "Switch to the team that owns the Global Config"
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
command: buildCommandWithGlobalFlags(client.argv, "whoami"),
|
|
365
|
-
when: "Verify the current team or user scope"
|
|
366
|
-
}
|
|
367
|
-
];
|
|
368
|
-
}
|
|
369
|
-
var GLOBAL_CONFIG_NON_INTERACTIVE_HINT = "Global Config commands use your current team scope. Pass --scope or run `vercel teams switch` if the store is missing.";
|
|
370
|
-
var LIST_ERROR_HINT = "Project names are team-scoped. Use --scope when the project belongs to another team, or `list --all` to list deployments across all projects.";
|
|
371
|
-
function buildNextStepsForList(client, projectName) {
|
|
372
|
-
return [
|
|
373
|
-
projectName ? {
|
|
374
|
-
command: buildCommandWithGlobalFlags(
|
|
375
|
-
client.argv,
|
|
376
|
-
`project ls --filter ${projectName}`
|
|
377
|
-
),
|
|
378
|
-
when: "Search projects matching the attempted name to find the right one"
|
|
379
|
-
} : {
|
|
380
|
-
command: buildCommandWithGlobalFlags(
|
|
381
|
-
client.argv,
|
|
382
|
-
"project ls --filter <name>"
|
|
383
|
-
),
|
|
384
|
-
when: "Search projects by name substring to find the right one (replace <name>)"
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
command: buildCommandWithGlobalFlags(client.argv, "list --all"),
|
|
388
|
-
when: "List deployments across all projects in the current scope"
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
command: buildCommandWithGlobalFlags(client.argv, "link"),
|
|
392
|
-
when: "Re-link this directory to the correct Vercel project"
|
|
393
|
-
}
|
|
394
|
-
];
|
|
395
|
-
}
|
|
396
|
-
function buildNextStepsForProjectSubcommands(client, variant) {
|
|
397
|
-
const byName = variant === "access-groups" ? {
|
|
398
|
-
template: "project access-groups <name>",
|
|
399
|
-
when: "List access groups by project name (replace <name>)"
|
|
400
|
-
} : variant === "access-summary" ? {
|
|
401
|
-
template: "project access-summary <name>",
|
|
402
|
-
when: "Show role counts by project name (replace <name>)"
|
|
403
|
-
} : variant === "protection" ? {
|
|
404
|
-
template: "project protection <name>",
|
|
405
|
-
when: "Show deployment protection by project name (replace <name>)"
|
|
406
|
-
} : variant === "update" ? {
|
|
407
|
-
template: "project update <name> --framework <slug>",
|
|
408
|
-
when: "Update a framework preset by project name (replace <name> and <slug>)"
|
|
409
|
-
} : variant === "speed-insights" ? {
|
|
410
|
-
template: "project speed-insights <name>",
|
|
411
|
-
when: "Enable Speed Insights by project name (replace <name>)"
|
|
412
|
-
} : variant === "web-analytics" ? {
|
|
413
|
-
template: "project web-analytics <name>",
|
|
414
|
-
when: "Enable Web Analytics by project name (replace <name>)"
|
|
415
|
-
} : variant === "observability" ? {
|
|
416
|
-
template: "project observability enable <name>",
|
|
417
|
-
when: "Enable Observability Plus by project name (replace <name>)"
|
|
418
|
-
} : variant === "checks" ? {
|
|
419
|
-
template: "project checks add <name>",
|
|
420
|
-
when: "Create a deployment check by project name (replace <name>)"
|
|
421
|
-
} : variant === "inspect" ? {
|
|
422
|
-
template: "project inspect <name>",
|
|
423
|
-
when: "Inspect a project by name (replace <name>)"
|
|
424
|
-
} : variant === "resume" ? {
|
|
425
|
-
template: "project resume <name>",
|
|
426
|
-
when: "Resume production traffic by project name (replace <name>)"
|
|
427
|
-
} : {
|
|
428
|
-
template: "project members <name>",
|
|
429
|
-
when: "List members by project name (replace <name>)"
|
|
430
|
-
};
|
|
431
|
-
return [
|
|
432
|
-
{
|
|
433
|
-
command: buildCommandWithGlobalFlags(client.argv, "link"),
|
|
434
|
-
when: "Re-link this directory to the correct Vercel project"
|
|
435
|
-
},
|
|
436
|
-
{
|
|
437
|
-
command: buildCommandWithGlobalFlags(client.argv, byName.template),
|
|
438
|
-
when: byName.when
|
|
439
|
-
},
|
|
440
|
-
{
|
|
441
|
-
command: buildCommandWithGlobalFlags(client.argv, "project ls"),
|
|
442
|
-
when: "List projects in the current team to pick a name"
|
|
443
|
-
}
|
|
444
|
-
];
|
|
445
|
-
}
|
|
446
|
-
var PROJECT_SUBCOMMAND_ERROR_HINT = "If you use --cwd, ensure that folder is linked to the right project, or pass an explicit project name. Use --scope when the project belongs to another team.";
|
|
447
|
-
function resolveNonInteractiveDefaults(client, variant) {
|
|
448
|
-
if (variant === "global-config") {
|
|
449
|
-
return {
|
|
450
|
-
next: buildNextStepsForGlobalConfig(client),
|
|
451
|
-
hint: GLOBAL_CONFIG_NON_INTERACTIVE_HINT
|
|
452
|
-
};
|
|
453
|
-
}
|
|
454
|
-
if (variant === "list") {
|
|
455
|
-
return {
|
|
456
|
-
next: buildNextStepsForList(client),
|
|
457
|
-
hint: LIST_ERROR_HINT
|
|
458
|
-
};
|
|
459
|
-
}
|
|
460
|
-
return {
|
|
461
|
-
next: buildNextStepsForProjectSubcommands(client, variant),
|
|
462
|
-
hint: PROJECT_SUBCOMMAND_ERROR_HINT
|
|
463
|
-
};
|
|
464
|
-
}
|
|
465
|
-
function writeAgentErrorPayloadAndExit(client, payload, exitCode, variant) {
|
|
466
|
-
const defaults = resolveNonInteractiveDefaults(client, variant);
|
|
467
|
-
const out = {
|
|
468
|
-
...payload,
|
|
469
|
-
next: payload.next ?? defaults.next,
|
|
470
|
-
hint: payload.hint ?? defaults.hint
|
|
471
|
-
};
|
|
472
|
-
client.stdout.write(`${JSON.stringify(out, null, 2)}
|
|
473
|
-
`);
|
|
474
|
-
process.exit(exitCode);
|
|
475
|
-
}
|
|
476
|
-
function isProjectNotFoundLike(err) {
|
|
477
|
-
if (err instanceof ProjectNotFound) {
|
|
478
|
-
return true;
|
|
479
|
-
}
|
|
480
|
-
if ((0, import_error_utils.isError)(err) && "code" in err && err.code === "PROJECT_NOT_FOUND") {
|
|
481
|
-
return true;
|
|
482
|
-
}
|
|
483
|
-
return false;
|
|
484
|
-
}
|
|
485
|
-
function isLinkRequiredLike(err) {
|
|
486
|
-
return err instanceof LinkRequiredError;
|
|
487
|
-
}
|
|
488
|
-
function normalizeApiErrorText(message) {
|
|
489
|
-
return message.replace(/\s*\(\d{3}\)\s*$/, "").trim();
|
|
490
|
-
}
|
|
491
|
-
function exitWithNonInteractiveError(client, err, exitCode = 1, options = {
|
|
492
|
-
variant: "members"
|
|
493
|
-
}) {
|
|
494
|
-
if (!shouldEmitNonInteractiveCommandError(client)) {
|
|
495
|
-
return;
|
|
496
|
-
}
|
|
497
|
-
const { variant } = options;
|
|
498
|
-
if (isLinkRequiredLike(err)) {
|
|
499
|
-
if (variant === "global-config") {
|
|
500
|
-
writeAgentErrorPayloadAndExit(
|
|
501
|
-
client,
|
|
502
|
-
{
|
|
503
|
-
status: "error",
|
|
504
|
-
reason: "link_required",
|
|
505
|
-
message: err instanceof Error ? err.message : String(err),
|
|
506
|
-
next: buildNextStepsForGlobalConfig(client),
|
|
507
|
-
hint: GLOBAL_CONFIG_NON_INTERACTIVE_HINT
|
|
508
|
-
},
|
|
509
|
-
exitCode,
|
|
510
|
-
"global-config"
|
|
511
|
-
);
|
|
512
|
-
return;
|
|
513
|
-
}
|
|
514
|
-
writeAgentErrorPayloadAndExit(
|
|
515
|
-
client,
|
|
516
|
-
{
|
|
517
|
-
status: "error",
|
|
518
|
-
reason: "link_required",
|
|
519
|
-
message: err instanceof Error ? err.message : String(err)
|
|
520
|
-
},
|
|
521
|
-
exitCode,
|
|
522
|
-
variant
|
|
523
|
-
);
|
|
524
|
-
return;
|
|
525
|
-
}
|
|
526
|
-
if (isProjectNotFoundLike(err)) {
|
|
527
|
-
writeAgentErrorPayloadAndExit(
|
|
528
|
-
client,
|
|
529
|
-
{
|
|
530
|
-
status: "error",
|
|
531
|
-
reason: "project_not_found",
|
|
532
|
-
message: err instanceof Error ? err.message : String(err),
|
|
533
|
-
...variant === "list" && options.projectName ? { next: buildNextStepsForList(client, options.projectName) } : {}
|
|
534
|
-
},
|
|
535
|
-
exitCode,
|
|
536
|
-
variant
|
|
537
|
-
);
|
|
538
|
-
return;
|
|
539
|
-
}
|
|
540
|
-
if (isAPIError(err)) {
|
|
541
|
-
const rawMessage = err.serverMessage || err.message;
|
|
542
|
-
const message = normalizeApiErrorText(rawMessage);
|
|
543
|
-
const reason = err.status === 403 ? "forbidden" : err.status === 401 ? "not_authorized" : err.status === 404 ? variant === "global-config" ? "not_found" : "project_not_found" : err.status === 429 ? "rate_limited" : "api_error";
|
|
544
|
-
writeAgentErrorPayloadAndExit(
|
|
545
|
-
client,
|
|
546
|
-
{
|
|
547
|
-
status: "error",
|
|
548
|
-
reason,
|
|
549
|
-
message,
|
|
550
|
-
...err.action && { action: err.action },
|
|
551
|
-
...err.resource && { resource: err.resource }
|
|
552
|
-
},
|
|
553
|
-
exitCode,
|
|
554
|
-
variant
|
|
555
|
-
);
|
|
556
|
-
}
|
|
557
|
-
writeAgentErrorPayloadAndExit(
|
|
558
|
-
client,
|
|
559
|
-
{
|
|
560
|
-
status: "error",
|
|
561
|
-
reason: "unexpected_error",
|
|
562
|
-
message: err instanceof Error ? err.message : String(err)
|
|
563
|
-
},
|
|
564
|
-
exitCode,
|
|
565
|
-
variant
|
|
566
|
-
);
|
|
567
|
-
}
|
|
568
|
-
function openUrlInBrowserCommand(url) {
|
|
569
|
-
if (process.platform === "win32")
|
|
570
|
-
return `start ${url}`;
|
|
571
|
-
if (process.platform === "darwin")
|
|
572
|
-
return `open '${url}'`;
|
|
573
|
-
return `xdg-open '${url}'`;
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
export {
|
|
577
|
-
quoteArg,
|
|
578
|
-
buildCommandWithYes,
|
|
579
|
-
redactEnvValueArgs,
|
|
580
|
-
omitGlobalFlagsFromArgs,
|
|
581
|
-
buildIntegrationCommandTailFromArgv,
|
|
582
|
-
buildCommandWithGlobalFlags,
|
|
583
|
-
withGlobalFlags,
|
|
584
|
-
getPreservedArgsForEnvAdd,
|
|
585
|
-
buildEnvAddCommandWithPreservedArgs,
|
|
586
|
-
getPreservedArgsForEnvPull,
|
|
587
|
-
getPreservedArgsForEnvRm,
|
|
588
|
-
buildEnvRmCommandWithPreservedArgs,
|
|
589
|
-
getPreservedArgsForEnvUpdate,
|
|
590
|
-
buildEnvUpdateCommandWithPreservedArgs,
|
|
591
|
-
outputActionRequired,
|
|
592
|
-
argvHasNonInteractive,
|
|
593
|
-
shouldEmitNonInteractiveCommandError,
|
|
594
|
-
outputAgentError,
|
|
595
|
-
outputAgentSuccess,
|
|
596
|
-
exitWithNonInteractiveError,
|
|
597
|
-
openUrlInBrowserCommand
|
|
598
|
-
};
|
|
@@ -1,93 +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 {
|
|
8
|
-
__commonJS,
|
|
9
|
-
__require
|
|
10
|
-
} from "./chunk-TZ2YI2VH.js";
|
|
11
|
-
|
|
12
|
-
// ../../node_modules/.pnpm/async-listen@3.0.0/node_modules/async-listen/dist/index.js
|
|
13
|
-
var require_dist = __commonJS({
|
|
14
|
-
"../../node_modules/.pnpm/async-listen@3.0.0/node_modules/async-listen/dist/index.js"(exports) {
|
|
15
|
-
"use strict";
|
|
16
|
-
var __awaiter = exports && exports.__awaiter || function(thisArg, _arguments, P, generator) {
|
|
17
|
-
function adopt(value) {
|
|
18
|
-
return value instanceof P ? value : new P(function(resolve) {
|
|
19
|
-
resolve(value);
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
return new (P || (P = Promise))(function(resolve, reject) {
|
|
23
|
-
function fulfilled(value) {
|
|
24
|
-
try {
|
|
25
|
-
step(generator.next(value));
|
|
26
|
-
} catch (e) {
|
|
27
|
-
reject(e);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
function rejected(value) {
|
|
31
|
-
try {
|
|
32
|
-
step(generator["throw"](value));
|
|
33
|
-
} catch (e) {
|
|
34
|
-
reject(e);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
function step(result) {
|
|
38
|
-
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
39
|
-
}
|
|
40
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
41
|
-
});
|
|
42
|
-
};
|
|
43
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
44
|
-
exports.listen = void 0;
|
|
45
|
-
var http = __require("http");
|
|
46
|
-
var https = __require("https");
|
|
47
|
-
var path_1 = __require("path");
|
|
48
|
-
var events_1 = __require("events");
|
|
49
|
-
var getProtocol = (server) => {
|
|
50
|
-
if (typeof server.protocol === "string")
|
|
51
|
-
return server.protocol;
|
|
52
|
-
if (server instanceof http.Server)
|
|
53
|
-
return "http";
|
|
54
|
-
if (server instanceof https.Server)
|
|
55
|
-
return "https";
|
|
56
|
-
};
|
|
57
|
-
function listen(server, ...args) {
|
|
58
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
59
|
-
server.listen(...args, () => {
|
|
60
|
-
});
|
|
61
|
-
yield (0, events_1.once)(server, "listening");
|
|
62
|
-
const addressInfo = server.address();
|
|
63
|
-
if (!addressInfo) {
|
|
64
|
-
throw new Error("Server not listening");
|
|
65
|
-
}
|
|
66
|
-
let host;
|
|
67
|
-
let protocol = getProtocol(server);
|
|
68
|
-
if (typeof addressInfo === "string") {
|
|
69
|
-
host = encodeURIComponent((0, path_1.resolve)(addressInfo));
|
|
70
|
-
if (protocol) {
|
|
71
|
-
protocol += "+unix";
|
|
72
|
-
} else {
|
|
73
|
-
protocol = "unix";
|
|
74
|
-
}
|
|
75
|
-
} else {
|
|
76
|
-
const { address, port, family } = addressInfo;
|
|
77
|
-
host = family === "IPv6" ? `[${address}]` : address;
|
|
78
|
-
host += `:${port}`;
|
|
79
|
-
if (!protocol) {
|
|
80
|
-
protocol = "tcp";
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
return new URL(`${protocol}://${host}`);
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
exports.listen = listen;
|
|
87
|
-
exports.default = listen;
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
|
|
91
|
-
export {
|
|
92
|
-
require_dist
|
|
93
|
-
};
|