@vercel/cli-support 65.15.0 → 65.16.0-snapshot-23cc3b13430e
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-WGP6UVQN.js → add-23XTYQVQ.js} +1 -1
- package/dist/chunks/{add-6T3KGMEH.js → add-GF5MLDMV.js} +1 -1
- package/dist/chunks/{add-LULORXI7.js → add-JMG5ZTBT.js} +1 -1
- package/dist/chunks/{alerts-IFUWVZU4.js → alerts-UZNNHH7L.js} +1 -1
- package/dist/chunks/{build-H5WTYJH4.js → build-GBNAYN3G.js} +1 -1
- package/dist/chunks/{chunk-HVQEYQWF.js → chunk-2AA6C37C.js} +1 -1
- package/dist/chunks/{chunk-6737KAJP.js → chunk-2GBU6ULJ.js} +1 -1
- package/dist/chunks/{chunk-UZXQY5X5.js → chunk-2Y5X7IPM.js} +1 -1
- package/dist/chunks/{chunk-5DEAFZBT.js → chunk-33P2H5LU.js} +1 -1
- package/dist/chunks/{chunk-HVBSYQDN.js → chunk-3Z7AGO42.js} +1 -1
- package/dist/chunks/{chunk-XDBRJ7H3.js → chunk-4K2IT6C4.js} +1 -1
- package/dist/chunks/{chunk-W25UARQV.js → chunk-5ZCSFPWG.js} +1 -1
- package/dist/chunks/{chunk-6MFLATDD.js → chunk-5ZJ6UU6P.js} +1 -1
- package/dist/chunks/{chunk-4TD2KH46.js → chunk-63FPHKCJ.js} +1 -1
- package/dist/chunks/{chunk-SP6E7PHW.js → chunk-6CJFPT4F.js} +1 -1
- package/dist/chunks/{chunk-2LOA3LC6.js → chunk-6FYPSSL4.js} +1 -1
- package/dist/chunks/chunk-6IZ2TU4N.js +12 -0
- package/dist/chunks/{chunk-HIK5CJTT.js → chunk-6QWHJPZE.js} +1 -1
- package/dist/chunks/{chunk-JZ4NMX3Z.js → chunk-75S4X4EB.js} +1 -1
- package/dist/chunks/{chunk-UXRRYYSD.js → chunk-7HLAWGY2.js} +1 -1
- package/dist/chunks/{chunk-ONXOTUO6.js → chunk-7IMGKZ7C.js} +1 -1
- package/dist/chunks/{chunk-4TAAEP5J.js → chunk-7JGDE2VF.js} +1 -1
- package/dist/chunks/{chunk-6C5KUHQP.js → chunk-7KCRYDGK.js} +1 -1
- package/dist/chunks/{chunk-IDHH6QTJ.js → chunk-7W2LEWKG.js} +13 -3
- package/dist/chunks/{chunk-SQ76HIB6.js → chunk-AB4WXRCO.js} +1 -1
- package/dist/chunks/{chunk-KRZBZ7PB.js → chunk-BAB2DG2I.js} +1 -1
- package/dist/chunks/{chunk-HFVCKK5P.js → chunk-BEMUW4DC.js} +1 -1
- package/dist/chunks/{chunk-JVGENO2R.js → chunk-BMIYC2MH.js} +1 -1
- package/dist/chunks/{chunk-2QYOZU6E.js → chunk-BNOIFCAR.js} +1 -1
- package/dist/chunks/{chunk-26EJ4FM6.js → chunk-BPIGFKNN.js} +1 -1
- package/dist/chunks/{chunk-VBGL7MZR.js → chunk-BPM6HU7K.js} +1 -1
- package/dist/chunks/{chunk-CJ6XPDSS.js → chunk-BPQUJWX5.js} +1 -1
- package/dist/chunks/{chunk-YE245S4O.js → chunk-C35SG42R.js} +1 -1
- package/dist/chunks/chunk-CFJBDBYH.js +7 -0
- package/dist/chunks/{chunk-ODM3YKPR.js → chunk-CJJ5SDVD.js} +1 -1
- package/dist/chunks/{chunk-B6WYIUOW.js → chunk-COG7BFSO.js} +1 -1
- package/dist/chunks/chunk-CQYRBFYU.js +12 -0
- package/dist/chunks/{chunk-AR3ADTVY.js → chunk-CY3IWRYB.js} +1 -1
- package/dist/chunks/{chunk-MSJA64LL.js → chunk-D44WCAOX.js} +1 -1
- package/dist/chunks/{chunk-DETGGKXT.js → chunk-D5A6WRSL.js} +1 -1
- package/dist/chunks/chunk-D66BF5UU.js +7 -0
- package/dist/chunks/{chunk-2V6UURUN.js → chunk-DDPH26ZO.js} +1 -1
- package/dist/chunks/{chunk-P333Z5AT.js → chunk-DEMXGBMX.js} +1 -1
- package/dist/chunks/{chunk-Z5FNUSWW.js → chunk-DOBV3XLO.js} +1 -1
- package/dist/chunks/{chunk-OFZUWHZW.js → chunk-DTUEHPME.js} +1 -1
- package/dist/chunks/{chunk-WKSXBH7X.js → chunk-DY643UZ7.js} +2 -1
- package/dist/chunks/chunk-EEXO7TUJ.js +27 -0
- package/dist/chunks/{chunk-554TYJKV.js → chunk-EHJJZKCB.js} +1 -1
- package/dist/chunks/{chunk-U3J3SJJ5.js → chunk-EJEW7ZD2.js} +2 -2
- package/dist/chunks/{chunk-O3DAPRJ3.js → chunk-EJLYDHT7.js} +1 -1
- package/dist/chunks/{chunk-4OO6TXBM.js → chunk-ELM2KPYX.js} +1 -1
- package/dist/chunks/{chunk-XEISEISC.js → chunk-FBLGDSCA.js} +6 -6
- package/dist/chunks/{chunk-UDKIA6WN.js → chunk-FH3QWE3H.js} +1 -1
- package/dist/chunks/chunk-G3W3H7G6.js +24 -0
- package/dist/chunks/{chunk-DCUWC7WP.js → chunk-G4X74FFJ.js} +1 -1
- package/dist/chunks/chunk-GLCSWIB4.js +7 -0
- package/dist/chunks/{chunk-PSPPENIK.js → chunk-GLHDSCKD.js} +1 -1
- package/dist/chunks/{chunk-LT3Z7YQX.js → chunk-GTHS3KJA.js} +1 -1
- package/dist/chunks/{chunk-7O2W7ILO.js → chunk-H6Z4VK22.js} +1 -1
- package/dist/chunks/{chunk-KVDSSSSF.js → chunk-HGMYWGTX.js} +1 -1
- package/dist/chunks/{chunk-N7NTAYBS.js → chunk-HLALNE7R.js} +1 -1
- package/dist/chunks/{chunk-MTJLZGL5.js → chunk-HQGD4PEO.js} +1 -1
- package/dist/chunks/{chunk-W45KFKUW.js → chunk-IG5ACFU6.js} +1 -1
- package/dist/chunks/{chunk-5L566FZB.js → chunk-IIK6GUVI.js} +1 -1
- package/dist/chunks/{chunk-3JM374FP.js → chunk-INICCBM4.js} +1 -1
- package/dist/chunks/{chunk-O3I6OKIE.js → chunk-IOQZ7HZM.js} +1 -1
- package/dist/chunks/chunk-IVZF2PMV.js +11 -0
- package/dist/chunks/{chunk-7GSB5AQE.js → chunk-IVZKAWUI.js} +1 -1
- package/dist/chunks/{chunk-SPV6M2GS.js → chunk-JOU5QETR.js} +1 -1
- package/dist/chunks/chunk-JWKFVECK.js +7 -0
- package/dist/chunks/{chunk-X5I33MJS.js → chunk-K7ZPHS55.js} +1 -1
- package/dist/chunks/{chunk-2W4ND5DH.js → chunk-KEGZOZE5.js} +1 -1
- package/dist/chunks/{chunk-BYJQPGPK.js → chunk-KJY57WAN.js} +1 -1
- package/dist/chunks/{chunk-XF3327G6.js → chunk-KTGYIM7Z.js} +1 -1
- package/dist/chunks/{chunk-GTOSMVDY.js → chunk-L7MSHLII.js} +1 -1
- package/dist/chunks/{chunk-T7XSLFZ6.js → chunk-LKKLTJCC.js} +1 -1
- package/dist/chunks/{chunk-HVZ5OOOP.js → chunk-LU65WWOQ.js} +1 -1
- package/dist/chunks/{chunk-NHB43235.js → chunk-LYL26S3N.js} +1 -1
- package/dist/chunks/{chunk-MCLT57FD.js → chunk-MFBZX4AZ.js} +1 -1
- package/dist/chunks/{chunk-TDHFWPK5.js → chunk-MKXE2IE4.js} +1 -1
- package/dist/chunks/{chunk-X5LOHZT5.js → chunk-MLUKTRNK.js} +1 -1
- package/dist/chunks/{chunk-A7YTYTWM.js → chunk-MXN736AL.js} +1 -1
- package/dist/chunks/{chunk-5THEFDOZ.js → chunk-NJFTAKDY.js} +1 -1
- package/dist/chunks/{chunk-EZ7CJF5G.js → chunk-ODNDNX4C.js} +1 -1
- package/dist/chunks/{chunk-Z2HYNJLC.js → chunk-OHNOZ6A2.js} +1 -1
- package/dist/chunks/{chunk-O47OWLP7.js → chunk-OKRQ2XLR.js} +1 -1
- package/dist/chunks/{chunk-KAYGNWHX.js → chunk-P2D7SOB3.js} +1 -1
- package/dist/chunks/{chunk-VHRQW57O.js → chunk-PDUIYEMP.js} +1 -1
- package/dist/chunks/{chunk-OKKG2FUS.js → chunk-PIDEH4SJ.js} +1 -1
- package/dist/chunks/{chunk-QFCYM4RS.js → chunk-PY4WWD6Z.js} +1 -1
- package/dist/chunks/{chunk-7OJMANDL.js → chunk-QLBFQ6ZO.js} +1 -1
- package/dist/chunks/{chunk-UZQJQXGJ.js → chunk-QOLGACFD.js} +1 -1
- package/dist/chunks/{chunk-3JFPC5MK.js → chunk-R46MWEQR.js} +1 -1
- package/dist/chunks/chunk-R4DN6SUD.js +10 -0
- package/dist/chunks/{chunk-JQHS743O.js → chunk-RGJ7HG4P.js} +1 -1
- package/dist/chunks/{chunk-YVIAN4VL.js → chunk-RMUI75QA.js} +1 -1
- package/dist/chunks/{chunk-U6P3UM3Z.js → chunk-RUGX7ONC.js} +1 -1
- package/dist/chunks/{chunk-TA4HB2ZR.js → chunk-SFLK67U5.js} +1 -1
- package/dist/chunks/{chunk-A3C67PNC.js → chunk-SKYIWHB5.js} +1 -1
- package/dist/chunks/{chunk-XHPIQGUS.js → chunk-SPPRQ753.js} +1 -1
- package/dist/chunks/{chunk-HR66URIC.js → chunk-SYJXONEV.js} +1 -1
- package/dist/chunks/chunk-T3SXUNB7.js +21 -0
- package/dist/chunks/{chunk-ATUJAOUR.js → chunk-T7KRHCGN.js} +1 -1
- package/dist/chunks/{chunk-YEQ7BBOS.js → chunk-TWHV3M4I.js} +1 -1
- package/dist/chunks/{chunk-ABSFPYM4.js → chunk-UDZJCD5W.js} +1 -1
- package/dist/chunks/{chunk-RWK4YZLO.js → chunk-UORINZ3U.js} +1 -1
- package/dist/chunks/chunk-UQZZX2J7.js +7 -0
- package/dist/chunks/chunk-VAZURK7Q.js +12 -0
- package/dist/chunks/{chunk-6Q2XEYCJ.js → chunk-VHSAI6FS.js} +1 -1
- package/dist/chunks/chunk-VRYJNBOR.js +7 -0
- package/dist/chunks/{chunk-QEZ6KFSY.js → chunk-W57EC3DP.js} +1 -1
- package/dist/chunks/chunk-WJX5PGNN.js +7 -0
- package/dist/chunks/{chunk-VTZH5DW3.js → chunk-WLHU7YRP.js} +1 -1
- package/dist/chunks/chunk-WZCLCG4J.js +7 -0
- package/dist/chunks/{chunk-PRNTZKYB.js → chunk-X5BSFW5D.js} +1 -1
- package/dist/chunks/{chunk-PL6TMRQZ.js → chunk-X65CXS2N.js} +1 -1
- package/dist/chunks/{chunk-GUSOYIW6.js → chunk-XDYVJWGX.js} +1 -1
- package/dist/chunks/{chunk-E7CEQ2PO.js → chunk-XECELSF5.js} +1 -1
- package/dist/chunks/chunk-XKPB27SC.js +8 -0
- package/dist/chunks/{chunk-C35XH6YM.js → chunk-YH5ALOQC.js} +1 -1
- package/dist/chunks/{chunk-6TYBUUO4.js → chunk-YUHU5XJW.js} +1 -1
- package/dist/chunks/{chunk-2OQD274E.js → chunk-YY7GJKYH.js} +7 -7
- package/dist/chunks/{chunk-7RAGU3PA.js → chunk-Z3P3P3FD.js} +1 -1
- package/dist/chunks/{chunk-6VUD3LZP.js → chunk-ZKQ47ZXI.js} +1 -1
- package/dist/chunks/{chunk-3EHJOZJB.js → chunk-ZQVRY5GV.js} +1 -1
- package/dist/chunks/{chunk-OFOZ5DBA.js → chunk-ZZD5W5KT.js} +1 -1
- package/dist/chunks/{clear-L4HSULAA.js → clear-UZIH2RGN.js} +1 -1
- package/dist/chunks/{cli-embedded-NCWN74UF.js → cli-embedded-6SKYFUXJ.js} +2 -3
- package/dist/chunks/{compile-vercel-config-3AD57TKS.js → compile-vercel-config-FI2MWKVY.js} +1 -1
- package/dist/chunks/{config-N4SB5PPU.js → config-DFZP6YNK.js} +1 -1
- package/dist/chunks/{config-E7OJDF2P.js → config-YRQIP7I4.js} +1 -1
- package/dist/chunks/config-validator.mjs +1 -1
- package/dist/chunks/{contract-EULMKZS4.js → contract-53UPOIEH.js} +1 -1
- package/dist/chunks/{delete-33WIMH3P.js → delete-G2MHXMJN.js} +1 -1
- package/dist/chunks/{delete-45EEPRWI.js → delete-YNS3RIYE.js} +1 -1
- package/dist/chunks/{describe-QAF4MI7I.js → describe-F7JJIYY2.js} +1 -1
- package/dist/chunks/{detect-projects-XGIE3YBG.js → detect-projects-4GK5I7QF.js} +1 -1
- package/dist/chunks/{detect-services-AAVP4EBS.js → detect-services-PJ6VFJLS.js} +1 -1
- package/dist/chunks/{disable-H3Z7OJJE.js → disable-QYXYWYJI.js} +1 -1
- package/dist/chunks/{discard-KIEAG7NI.js → discard-RVMZ4OSY.js} +1 -1
- package/dist/chunks/{edit-YQJNSZTX.js → edit-NBO46A2S.js} +1 -1
- package/dist/chunks/{edit-3Q36ZYIA.js → edit-VL5VFCYX.js} +1 -1
- package/dist/chunks/{enable-BMB5D7AO.js → enable-7473PGTC.js} +1 -1
- package/dist/chunks/{engine-DkdkXQEy-FDYYIXY7.js → engine-DkdkXQEy-VKQPUSSO.js} +1 -1
- package/dist/chunks/{export-QQAZAQOU.js → export-RI7CWLFY.js} +1 -1
- package/dist/chunks/{future-TZACZMSV.js → future-4EH6EYOT.js} +1 -1
- package/dist/chunks/{generate-cert-for-deploy-EZM5MW2G.js → generate-cert-for-deploy-HLSDDT3R.js} +1 -1
- package/dist/chunks/{image-YAMHIRFF.js → image-6KALMFIS.js} +1 -1
- package/dist/chunks/{import-builders-DE7NPR7N.js → import-builders-MQYKMGND.js} +1 -1
- package/dist/chunks/{inspect-QNZWH5O3.js → inspect-36SDAS3T.js} +1 -1
- package/dist/chunks/{inspect-VCJDESUJ.js → inspect-7LXD2QBY.js} +1 -1
- package/dist/chunks/{inspect-Y5LG6JUC.js → inspect-7W5YZQLF.js} +1 -1
- package/dist/chunks/{inspect-MFVWIQT4.js → inspect-RQFIEZCX.js} +1 -1
- package/dist/chunks/{inspect-DIH47SML.js → inspect-TBSVBZUN.js} +1 -1
- package/dist/chunks/{inspect-OHNQUBKI.js → inspect-ZBUCCNHT.js} +1 -1
- package/dist/chunks/{list-KB6YGNJZ.js → list-E3H5CO3F.js} +1 -1
- package/dist/chunks/{list-AYUHH7TO.js → list-PM65YO4H.js} +1 -1
- package/dist/chunks/{list-YJSC2ST6.js → list-QJZEUHZD.js} +1 -1
- package/dist/chunks/{list-C7GYUVSJ.js → list-WOGSQOWX.js} +1 -1
- package/dist/chunks/{login-T2VKRCUS.js → login-CKAOEOQ6.js} +1 -1
- package/dist/chunks/{login-E47LQVJN.js → login-UIUHQY7G.js} +1 -1
- package/dist/chunks/{logs-BLMH6Y45.js → logs-2THXE2UF.js} +1 -1
- package/dist/chunks/{ls-BPRVNFEB.js → ls-22ZYL2GV.js} +1 -1
- package/dist/chunks/{ls-CBV4C474.js → ls-HTIM3KWL.js} +1 -1
- package/dist/chunks/{ls-GI4HMBK6.js → ls-MNHUCTET.js} +1 -1
- package/dist/chunks/{ls-5KNEE66N.js → ls-ND2I2ZEU.js} +1 -1
- package/dist/chunks/{ls-V6KTI55Z.js → ls-WMHW6KAR.js} +1 -1
- package/dist/chunks/{ls-EBJTSOO7.js → ls-YKY7FCBX.js} +1 -1
- package/dist/chunks/{ls-JOOH2AF2.js → ls-ZHVWQR4N.js} +1 -1
- package/dist/chunks/{migrate-experimental-services-ZMZITRD4.js → migrate-experimental-services-QMEN4MUW.js} +1 -1
- package/dist/chunks/{mutate-5AQS53DH.js → mutate-634XBSAZ.js} +1 -1
- package/dist/chunks/{notifications-T74YEQUZ.js → notifications-MW7HIYJ4.js} +1 -1
- package/dist/chunks/{open-GUNAPG6S.js → open-AQJJC2OJ.js} +1 -1
- package/dist/chunks/openapi-XZOI5Q7B.js +7 -0
- package/dist/chunks/{permissions-BISSYSWA.js → permissions-EACJF7KK.js} +1 -1
- package/dist/chunks/{plugin-offer-NIDPSYYJ.js → plugin-offer-S5I4DOP7.js} +1 -1
- package/dist/chunks/{prompt-missing-credentials-YR5RBSGW.js → prompt-missing-credentials-VT7AY4KK.js} +1 -1
- package/dist/chunks/{publish-D7EXNS3C.js → publish-T77BHV6C.js} +1 -1
- package/dist/chunks/{pull-NQ2FQBCM.js → pull-7CG4KRWJ.js} +1 -1
- package/dist/chunks/{purchase-domain-if-available-YG3AOXZ7.js → purchase-domain-if-available-WPZGNUTC.js} +1 -1
- package/dist/chunks/{push-OCU3RUHV.js → push-DKH5ZSIF.js} +1 -1
- package/dist/chunks/query-BRFKKULP.js +7 -0
- package/dist/chunks/raw-query-WKQVXUOJ.js +8 -0
- package/dist/chunks/{reauthenticate-S7ZZYONP.js → reauthenticate-C23SIVQ3.js} +1 -1
- package/dist/chunks/{remove-LZTO47IA.js → remove-TRI7VSFC.js} +1 -1
- package/dist/chunks/{reorder-TMBGWMPR.js → reorder-IVMIEDO3.js} +1 -1
- package/dist/chunks/{reply-55HPMB6K.js → reply-VHVNWROQ.js} +1 -1
- package/dist/chunks/{resolve-BTBTAK33.js → resolve-4GYLG7OM.js} +1 -1
- package/dist/chunks/{resolve-agent-team-3QXPCCT7.js → resolve-agent-team-NQAKGG6R.js} +1 -1
- package/dist/chunks/{restore-K6LCLHTG.js → restore-MJ7HJKCB.js} +1 -1
- package/dist/chunks/{rm-I5PRDQHP.js → rm-E7ODXBY3.js} +1 -1
- package/dist/chunks/{rm-LL6X65SS.js → rm-LZ4HKXFF.js} +1 -1
- package/dist/chunks/{rm-CEUCQRIX.js → rm-P7Z5PH52.js} +1 -1
- package/dist/chunks/{rm-4PSIPJUA.js → rm-RE4MRNF5.js} +1 -1
- package/dist/chunks/{rm-UOP7BPBQ.js → rm-UJLSSWMI.js} +1 -1
- package/dist/chunks/{rule-inspect-DKODR7X2.js → rule-inspect-XUHXSWYP.js} +1 -1
- package/dist/chunks/{schema-L3YB2LQE.js → schema-2456IBUM.js} +1 -1
- package/dist/chunks/{schema-LRVPWIYU.js → schema-MSSFENBH.js} +1 -1
- package/dist/chunks/{select-org-JQBD5NDP.js → select-org-QY6NKEO5.js} +1 -1
- package/dist/chunks/{serving-DKny38LK-UNINNTL5.js → serving-DKny38LK-WG5QDDEJ.js} +1 -1
- package/dist/chunks/{set-YBCB2ZLD.js → set-K5RATVZR.js} +1 -1
- package/dist/chunks/{set-UMNUZAGG.js → set-NRTRIRMB.js} +1 -1
- package/dist/chunks/{setup-and-link-JRQ5DLOI.js → setup-and-link-LZVRQNPW.js} +1 -1
- package/dist/chunks/{skills-DDFYTBGG.js → skills-GICDAOI2.js} +3 -1
- package/dist/chunks/{tags-WRH47Z4W.js → tags-N3GVG4FB.js} +1 -1
- package/dist/chunks/token-MYYNOUIT.js +7 -0
- package/dist/chunks/{token-util-KL35LHLQ.js → token-util-OJHS52JP.js} +1 -1
- package/dist/chunks/{types-NQECZN4K.js → types-HBXTZZAC.js} +1 -1
- package/dist/chunks/{update-FAMBH7PW.js → update-G7FP6ZUH.js} +1 -1
- package/dist/chunks/{usage-YACGLTPY.js → usage-7T7NOCPO.js} +1 -1
- package/dist/chunks/{validate-config-X6DF35VG.js → validate-config-6RVSBIWX.js} +1 -1
- package/dist/commands/build/index.js +1 -1
- package/dist/commands/deploy/index.js +11 -10
- package/dist/commands/dev/index.js +5 -5
- package/dist/commands/env/index.js +3 -3
- package/dist/commands/link/index.js +1 -1
- package/dist/commands/list/index.js +1 -1
- package/dist/commands/project/index.js +31 -29
- package/dist/commands/tunnel/index.js +1 -1
- package/dist/commands-account.js +18 -18
- package/dist/commands-ai.js +10 -10
- package/dist/commands-blob.js +16 -16
- package/dist/commands-core.js +9 -9
- package/dist/commands-deployments.js +1 -1
- package/dist/commands-flags.js +164 -141
- package/dist/commands-integrations.js +6 -6
- package/dist/commands-observability.js +3 -3
- package/dist/commands-routing.js +7 -7
- package/dist/help.js +1 -1
- package/dist/index.js +4 -4
- package/dist/internal-build.js +1 -1
- package/dist/package.json +41 -41
- package/dist/version.mjs +1 -1
- package/package.json +44 -44
- package/dist/chunks/chunk-3S7H6NCV.js +0 -20
- package/dist/chunks/chunk-5PAMKYPV.js +0 -14
- package/dist/chunks/chunk-AY523IYR.js +0 -7
- package/dist/chunks/chunk-DIHB5BUY.js +0 -8
- package/dist/chunks/chunk-EB7744O7.js +0 -24
- package/dist/chunks/chunk-EI4CUIVA.js +0 -7
- package/dist/chunks/chunk-EZVNGJN5.js +0 -7
- package/dist/chunks/chunk-HOGVBY6Q.js +0 -11
- package/dist/chunks/chunk-HSCWCGL7.js +0 -7
- package/dist/chunks/chunk-IIMHD3FA.js +0 -7
- package/dist/chunks/chunk-KRVZKKJV.js +0 -12
- package/dist/chunks/chunk-LNQAOLNW.js +0 -10
- package/dist/chunks/chunk-MZ7ITRVR.js +0 -12
- package/dist/chunks/chunk-SEHERY6U.js +0 -7
- package/dist/chunks/chunk-U2ZNF6HN.js +0 -8
- package/dist/chunks/chunk-UIGZMWS6.js +0 -16
- package/dist/chunks/chunk-YANOBY2G.js +0 -7
- package/dist/chunks/openapi-5WTF7EXK.js +0 -7
- package/dist/chunks/query-FM6SRTQP.js +0 -12
- package/dist/chunks/token-3ILJZPAZ.js +0 -7
- package/dist/chunks/token-JJLQVXPI.js +0 -7
- package/dist/chunks/token-util-A4BSB3KP.js +0 -7
- /package/dist/chunks/{chunk-WFS3XBAA.js → chunk-MRCM5VF5.js} +0 -0
- /package/dist/chunks/{chunk-SNGM6NSO.js → chunk-TK7K6GCG.js} +0 -0
|
@@ -4,7 +4,7 @@ import { dirname as __dirname_ } from 'node:path';
|
|
|
4
4
|
const require = __createRequire(import.meta.url);
|
|
5
5
|
const __filename = __fileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
|
-
import{HttpError,Labels,MESSAGE_TEXT_MAX,MessageId}from"./chunk-
|
|
7
|
+
import{HttpError,Labels,MESSAGE_TEXT_MAX,MessageId}from"./chunk-MRCM5VF5.js";import{external_exports}from"./chunk-2AMO2VMV.js";var ExternalTarget=external_exports.string().min(3).max(300),Origin=external_exports.object({channel:ExternalTarget.optional(),thread:ExternalTarget,subthread:ExternalTarget.nullable(),message:external_exports.string().min(1).max(300),context:external_exports.string().max(300).nullable()}),LinkSnapshot=external_exports.object({author:external_exports.string().min(1).max(256),text:external_exports.string().max(MESSAGE_TEXT_MAX),createdAt:external_exports.string().max(64).nullable(),files:external_exports.array(external_exports.object({name:external_exports.string().min(1).max(1e3),url:external_exports.string().max(4e3).nullable()})).max(20)}),Link=external_exports.object({url:external_exports.string().min(1).max(4e3),message:MessageId.nullable(),snapshot:LinkSnapshot.nullable(),unavailable:external_exports.string().max(300).nullable()}),ExternalAuthor=external_exports.object({id:external_exports.string().min(1),handle:external_exports.string().min(1),name:external_exports.string().min(1),avatar:external_exports.string().nullable(),isBot:external_exports.boolean()}),ExternalFile=external_exports.object({type:external_exports.enum(["image","file","video","audio"]),name:external_exports.string().max(1e3).optional(),mimeType:external_exports.string().max(255).optional(),size:external_exports.number().int().nonnegative().optional(),url:external_exports.string().max(4e3).optional(),fetchMetadata:external_exports.record(external_exports.string(),external_exports.string().max(4e3)).optional()}),ExternalLink=external_exports.object({url:external_exports.string().min(1).max(4e3),thread:ExternalTarget,message:external_exports.string().min(1).max(300),snapshot:LinkSnapshot.nullable()}),ExternalLocation=external_exports.object({channel:ExternalTarget,thread:ExternalTarget,subthread:ExternalTarget.nullable()}),ExternalEvent=external_exports.discriminatedUnion("kind",[external_exports.object({kind:external_exports.literal("message"),...ExternalLocation.shape,message:external_exports.string(),isRoot:external_exports.boolean(),text:external_exports.string(),context:external_exports.string().nullable(),author:ExternalAuthor,files:external_exports.array(ExternalFile).max(20).optional(),links:external_exports.array(ExternalLink).max(10).optional()}),external_exports.object({kind:external_exports.literal("edited"),...ExternalLocation.shape,message:external_exports.string(),text:external_exports.string(),author:ExternalAuthor,links:external_exports.array(ExternalLink).max(10).optional(),linksOnly:external_exports.boolean().optional()}),external_exports.object({kind:external_exports.literal("deleted"),...ExternalLocation.shape,message:external_exports.string()}),external_exports.object({kind:external_exports.literal("reaction"),...ExternalLocation.shape,message:external_exports.string(),emoji:external_exports.string(),added:external_exports.boolean(),author:ExternalAuthor}),external_exports.object({kind:external_exports.literal("lifecycle"),...ExternalLocation.omit({subthread:!0}).shape,type:external_exports.string(),title:external_exports.string(),url:external_exports.string().nullable(),body:external_exports.string().nullable().optional(),labels:external_exports.record(external_exports.string(),external_exports.string()),unset:external_exports.array(external_exports.string()),owns:external_exports.array(external_exports.string()).optional(),reply:external_exports.string().nullable(),createRoot:external_exports.boolean(),retitled:external_exports.boolean().optional(),author:ExternalAuthor})]),isThreadTarget=target=>target.slice(target.indexOf(":")+1).includes(":"),channelOf=externalThread=>{let at=externalThread.indexOf(":"),colon=externalThread.slice(at+1).indexOf(":");return colon===-1?externalThread:externalThread.slice(0,at+1+colon)},externalMessageKey=(thread,message)=>`${thread}|${message}`;var hex=bytes=>Array.from(bytes,byte=>byte.toString(16).padStart(2,"0")).join("");async function sha256(text){return hex(new Uint8Array(await crypto.subtle.digest("SHA-256",new TextEncoder().encode(text))))}async function derivedId(...parts){let bytes=new Uint8Array(await crypto.subtle.digest("SHA-256",new TextEncoder().encode(JSON.stringify(parts)))).slice(0,16);bytes[6]=bytes[6]&15|128,bytes[8]=bytes[8]&63|128;let text=hex(bytes);return`${text.slice(0,8)}-${text.slice(8,12)}-${text.slice(12,16)}-${text.slice(16,20)}-${text.slice(20,32)}`}var DERIVED_ID=/^[0-9a-f]{8}-[0-9a-f]{4}-8[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/,keyId=async(principal,derived)=>`key:${principal}:${(await sha256(`board-key${derived}`)).slice(0,32)}`;function waitUntil(task){try{Reflect.get(globalThis,Symbol.for("@vercel/request-context"))?.get?.()?.waitUntil?.(task)}catch{}}var FENCED_CODE=/```[\s\S]*?```/g,INLINE_CODE=/`[^`\n]*`/g,NAME="[a-z0-9](?:[a-z0-9._-]*[a-z0-9])?",MENTION=new RegExp(`(?<![\\w@.-])@(${NAME}(?:/${NAME})?)(?!:|[a-z0-9_/-]|\\.(?=[a-z0-9]))`,"gi"),EXACT=/(?<![\w@.-])@\[([^\]\s]+)\]/g,proseOnly=text=>text.replace(FENCED_CODE,match=>" ".repeat(match.length)).replace(INLINE_CODE,match=>" ".repeat(match.length));function extractMentions(text){let prose=proseOnly(text),found=[];for(let match of prose.matchAll(EXACT)){let actor=match[1];actor!==void 0&&found.push({index:match.index,token:{kind:"actor",actor},key:`actor:${actor}`})}for(let match of prose.replace(EXACT,m=>" ".repeat(m.length)).matchAll(MENTION)){let handle=match[1]?.toLowerCase();handle!==void 0&&found.push({index:match.index,token:{kind:"handle",handle},key:`handle:${handle}`})}let seen=new Set;return found.sort((a,b)=>a.index-b.index).filter(({key})=>!seen.has(key)&&seen.add(key)).map(({token})=>token)}function replaceMentions(text,replace){let prose=proseOnly(text),found=[];for(let match of prose.matchAll(EXACT))found.push({index:match.index,length:match[0].length,token:{kind:"actor",actor:match[1]}});for(let match of prose.replace(EXACT,m=>" ".repeat(m.length)).matchAll(MENTION))found.push({index:match.index,length:match[0].length,token:{kind:"handle",handle:match[1].toLowerCase()}});let out="",at=0;for(let{index,length,token}of found.sort((a,b)=>a.index-b.index)){let written=text.slice(index,index+length);out+=text.slice(at,index)+(replace(token,written)??written),at=index+length}return out+text.slice(at)}var DroppedError=class extends HttpError{responses;constructor(responses){super(422,"dropped",responses.join(`
|
|
8
8
|
`)||"the board dropped this message"),this.responses=responses}},Patch=external_exports.object({text:external_exports.string().max(MESSAGE_TEXT_MAX).optional(),labels:Labels.optional()}).strict();async function runMiddleware(middleware,input,commit){let responses=[],committed=null,step=async(i,write)=>{if(i===middleware.length){if(write.text.trim()===""&&(write.kind==="edit"||write.attachments.length===0))return;committed={value:await commit(write)};return}let next=null;await middleware[i]({write:Object.freeze({...write}),author:Object.freeze({...input.author}),source:Object.freeze({...input.source}),board:input.board(),respond:async text=>{responses.push(text)},next:(patch={})=>{if(next)throw new Error("next() was already called");let{text,labels}=Patch.parse(patch);return next=step(i+1,{...write,...text!==void 0?{text}:{},...write.kind==="post"&&labels?{labels:{...write.labels,...labels}}:{}}),next}}),next&&await next};if(await step(0,input.write),!committed)throw new DroppedError(responses);return committed.value}var VERCEL_MARKER=/^\[vc\]: #\S*\r?\n/,LINK=/\[([^\]]+)\]\((https?:\/\/[^)\s]+)\)/g,STATUS=/!\[([^\]]+)\]\(https:\/\/vercel\.com\/static\/status\/[^)]+\)\s*(?:\[[^\]]*\]\((https?:\/\/[^)\s]+)\))?/;function vercelDeployments(text){if(!VERCEL_MARKER.test(text))return null;let skippedAt=text.search(/<details><summary>\d+ Skipped Deployments?<\/summary>/),deployments=[],offset=0;for(let line of text.split(/\r?\n/)){let at=offset;if(offset=text.indexOf(`
|
|
9
9
|
`,offset)+1||text.length,!line.startsWith("|")||/^\|\s*(Project|Name)\s*\|/.test(line)||/^\|\s*:?-/.test(line))continue;let cells=line.split("|").slice(1,-1).map(cell=>cell.trim());if(cells.length<2)continue;let status=STATUS.exec(cells[1]);if(!status)continue;let projectLink=[...cells[0].matchAll(LINK)].at(-1),project=projectLink?.[1]??cells[0].replace(/<[^>]*>/g,"").trim();if(!project)continue;let preview=cells[2]?[...cells[2].matchAll(LINK)].find(link2=>/preview/i.test(link2[1])):void 0,updated=cells[3]?.match(/<relative-time[^>]*>([^<]+)<\/relative-time>/)?.[1]?.trim()??(cells[3]?.replace(/<[^>]*>/g,"").trim()||null);deployments.push({project,projectUrl:projectLink?.[2]??null,status:status[1].trim(),deploymentUrl:status[2]??null,previewUrl:preview?.[2]??null,updated,skipped:skippedAt!==-1&&at>skippedAt})}return deployments.length>0?deployments:null}var ICONS={ready:"\u2705",building:"\u23F3",queued:"\u23F3",initializing:"\u23F3",error:"\u274C",failed:"\u274C",canceled:"\u26AA",ignored:"\u26AA"},link=(label,url)=>url?`[${label}](${url})`:label;function formatVercelDeployments(deployments){return deployments.map(d=>`- ${[`${ICONS[d.status.toLowerCase()]??"\u25B2"} **${link(d.project,d.projectUrl)}**`,`${link(d.status,d.deploymentUrl)}${d.skipped?" (skipped)":""}`,...d.previewUrl?[link("Preview",d.previewUrl)]:[],...d.updated?[d.updated]:[]].join(" \xB7 ")}`).join(`
|
|
10
10
|
`)}function displayText(text,actor){let deployments=actor==="github:user:35613825"?vercelDeployments(text):null;return deployments?`**\u25B2 Vercel**
|
|
@@ -4,4 +4,4 @@ import { dirname as __dirname_ } from 'node:path';
|
|
|
4
4
|
const require = __createRequire(import.meta.url);
|
|
5
5
|
const __filename = __fileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
|
-
import{packageName}from"./chunk-B4KA3ZH2.js";import{formatOption,jsonOption,limitOption,nextCursorOption,projectOption,sinceOption,untilOption,yesOption}from"./chunk-
|
|
7
|
+
import{packageName}from"./chunk-B4KA3ZH2.js";import{formatOption,jsonOption,limitOption,nextCursorOption,projectOption,sinceOption,untilOption,yesOption}from"./chunk-CFJBDBYH.js";var SCOPE_RULES={team:{perEntity:!1,canPause:!0},organization:{perEntity:!1,canPause:!1},project:{perEntity:!0,canPause:!0},product:{perEntity:!0,canPause:!1}},BUDGET_SCOPES=Object.keys(SCOPE_RULES),OPTION_SCOPES=BUDGET_SCOPES.filter(scope=>scope!=="team");function isBudgetScope(value){return typeof value=="string"&&Object.hasOwn(SCOPE_RULES,value)}function isPerEntityScope(scope){return isBudgetScope(scope)?SCOPE_RULES[scope].perEntity:!0}function scopeCanPause(scope){return SCOPE_RULES[scope].canPause}var organizationOption={name:"organization",shorthand:null,type:String,argument:"ORGANIZATION",deprecated:!1,description:"The organization budget, by organization slug or ID, from any team. Needs the organization admin or viewer role"},budgetProjectOption={...projectOption,description:"A project's budget, by project name or ID"},productOption={name:"product",shorthand:null,type:String,argument:"PRODUCT",deprecated:!1,description:"A product's budget, by product ID or name (case-insensitive), from the products that can have a budget"},scopeOptions=[organizationOption,budgetProjectOption,productOption],scopeFilterOptions=[{name:"type",shorthand:null,type:[String],argument:"TYPE",deprecated:!1,description:`Only budgets of these types: ${BUDGET_SCOPES.join(", ")}. Repeat or separate with commas for several`},{...organizationOption,description:"Only the organization budget, by organization slug or ID"},{...budgetProjectOption,description:"Only a project's budget, by name or ID"},{...productOption,description:"Only a product's budget, by product ID or name"}],inspectSubcommand={name:"inspect",aliases:["overview"],description:"Show a Spend Management budget and this cycle's spend against it: the team budget, or the one --organization, --project, or --product selects",arguments:[],options:[...scopeOptions,formatOption,jsonOption],examples:[{name:"Show this cycle's on-demand spend against the team budget",value:`${packageName} billing budgets inspect`},{name:"Show a project budget",value:`${packageName} billing budgets inspect --project my-app`}]},listSubcommand={name:"list",aliases:["ls"],description:"List Spend Management budgets on this team, from every scope unless --organization, --project, or --product narrows them",default:!0,arguments:[],options:[...scopeFilterOptions,formatOption,jsonOption],examples:[{name:"List Spend Management budgets",value:`${packageName} billing budgets`},{name:"List one project's budget",value:`${packageName} billing budgets list --project my-app`}]},setSubcommand={name:"set",aliases:["update"],description:"Create or update a Spend Management budget: the team budget, or the one --organization, --project, or --product selects",arguments:[],options:[...scopeOptions,{name:"amount",shorthand:null,type:Number,argument:"USD",deprecated:!1,description:"Budget amount in whole dollars (minimum 1). Creates with 50/75/100% alerts and notifications on; updates keep pause and webhook settings unless those options are also passed"},{name:"pause",shorthand:null,type:Boolean,deprecated:!1,description:"Pause at 100% of the budget amount: all projects for a team budget, or the project for a project budget. Organization and product budgets only notify"},{name:"no-pause",shorthand:null,type:Boolean,deprecated:!1,description:"Do not pause when the budget is reached"},{name:"webhook",shorthand:null,type:String,argument:"URL",deprecated:!1,description:"Webhook URL to notify when a threshold is reached"},{name:"no-webhook",shorthand:null,type:Boolean,deprecated:!1,description:"Remove the budget webhook"},formatOption,jsonOption],examples:[{name:"Create a $500 budget with default 50/75/100% alerts",value:`${packageName} billing budgets set --amount 500`},{name:"Change the budget amount",value:`${packageName} billing budgets set --amount 800`},{name:"Pause all projects and production deployments at 100% of the existing budget",value:`${packageName} billing budgets set --pause`},{name:"Notify a webhook without changing the amount",value:`${packageName} billing budgets set --webhook https://example.com/hook`},{name:"Remove the webhook",value:`${packageName} billing budgets set --no-webhook`},{name:"Create a $200 budget that pauses one project at 100%",value:`${packageName} billing budgets set --project my-app --amount 200 --pause`},{name:"Create a $10,000 organization budget",value:`${packageName} billing budgets set --organization acme --amount 10000`},{name:"Create a $100 budget on one product",value:`${packageName} billing budgets set --product "Function Duration" --amount 100`}]},removeSubcommand={name:"remove",aliases:["rm","delete","disable"],description:"Remove a Spend Management budget: the team budget, or the one --organization, --project, or --product selects",arguments:[],options:[...scopeOptions,yesOption,formatOption,jsonOption],examples:[{name:"Remove the team budget without confirmation",value:`${packageName} billing budgets remove --yes`},{name:"Remove a project budget",value:`${packageName} billing budgets remove --project my-app`}]},alertsDescription="List Spend Management alerts: each budget threshold reached, newest first, from every scope unless --organization, --project, or --product narrows them. For observability alerts, see `vercel alerts`.",alertsOptions=[{...sinceOption,description:"Show alerts triggered after this time (ISO 8601 or relative: 1d, 7d, 30d)"},{...untilOption,description:"Show alerts triggered before this time (ISO 8601 or relative)"},...scopeFilterOptions,limitOption,nextCursorOption,formatOption,jsonOption],alertsListSubcommand={name:"list",aliases:["ls"],description:alertsDescription,default:!0,hidden:!0,arguments:[],options:alertsOptions,examples:[]},alertsSubcommand={name:"alerts",aliases:[],description:alertsDescription,arguments:[],subcommands:[alertsListSubcommand],options:alertsOptions,examples:[{name:"List recent Spend Management alerts for this team",value:`${packageName} billing budgets alerts`},{name:"List one project budget's alerts",value:`${packageName} billing budgets alerts --project my-app`},{name:"List alerts from the last 30 days",value:`${packageName} billing budgets alerts --since 30d`},{name:"Output alerts as JSON",value:`${packageName} billing budgets alerts --json`}]},budgetCommand={name:"budgets",aliases:["budget"],summary:"Manage spending beyond included credit",description:"Show and manage Spend Management for on-demand charges after included credit",arguments:[],subcommands:[inspectSubcommand,listSubcommand,setSubcommand,removeSubcommand,alertsSubcommand],options:[],examples:[{name:"List Spend Management budgets",value:`${packageName} billing budgets`},{name:"Show this cycle's on-demand spend against Spend Management",value:`${packageName} billing budgets inspect`},{name:"Set a $500 budget that pauses all projects and production deployments at 100%",value:`${packageName} billing budgets set --amount 500 --pause`},{name:"Set a $200 budget on one project",value:`${packageName} billing budgets set --project my-app --amount 200`},{name:"Pause all projects and production deployments at 100% of the existing budget",value:`${packageName} billing budgets set --pause`},{name:"Remove the Spend Management budget",value:`${packageName} billing budgets remove --yes`},{name:"List recent Spend Management alerts",value:`${packageName} billing budgets alerts`}]},DEPRECATED_BUDGET_ACTIONS={overview:"inspect",update:"set",delete:"remove",disable:"remove"};export{BUDGET_SCOPES,OPTION_SCOPES,isBudgetScope,isPerEntityScope,scopeCanPause,inspectSubcommand,listSubcommand,setSubcommand,removeSubcommand,alertsListSubcommand,alertsSubcommand,budgetCommand,DEPRECATED_BUDGET_ACTIONS};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
+
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
+
import { dirname as __dirname_ } from 'node:path';
|
|
4
|
+
const require = __createRequire(import.meta.url);
|
|
5
|
+
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
+
const __dirname = __dirname_(__filename);
|
|
7
|
+
var DEPRECATED_SHORTHANDS=Symbol("deprecated shorthands"),SHORT_FLAG_LONG_NAMES={"-p":"--project","-n":"--limit"},commandFlagsSpecification;function setCommandFlagsSpecification(spec){commandFlagsSpecification=spec}function getShortFlagLongName(flag,spec=commandFlagsSpecification){if(!/^-[A-Za-z]+$/.test(flag))return;let letter=`-${flag.slice(-1)}`,name=SHORT_FLAG_LONG_NAMES[letter];if(!(name===void 0||spec!==void 0&&spec[letter]!==name))return name}function getShortFlags(option){return[option.shorthand,option.deprecatedShorthand].filter(letter=>!!letter).map(letter=>`-${letter}`)}function getFlagsSpecification(options){let flagsSpecification={},deprecatedShorthands=new Set;for(let option of options)flagsSpecification[`--${option.name}`]=option.type,option.shorthand&&(flagsSpecification[`-${option.shorthand}`]=`--${option.name}`),option.deprecatedShorthand&&(flagsSpecification[`-${option.deprecatedShorthand}`]=`--${option.name}`,deprecatedShorthands.add(`-${option.deprecatedShorthand}`));return flagsSpecification["--next"]&&!flagsSpecification["-N"]&&(flagsSpecification["-N"]="--next",deprecatedShorthands.add("-N")),deprecatedShorthands.size>0&&(flagsSpecification[DEPRECATED_SHORTHANDS]=[...deprecatedShorthands]),flagsSpecification}function quoteArg(value){return/^[A-Za-z0-9_./@:-]+$/.test(value)?value:`'${value.replace(/'/g,"'\\''")}'`}var SENSITIVE_AUTH_FLAG_NAMES=new Set(["--token","-t","--rw-token","--oidc-token"]),BLOB_CREDENTIAL_PLACEHOLDERS=new Map([["--rw-token","BLOB_READ_WRITE_TOKEN"],["--oidc-token","VERCEL_OIDC_TOKEN"]]),SDK_KEY_PATTERN=/^vf_(?:server|client)_/,ENV_PAIR_FLAG_NAMES=new Set(["--env","-e","--build-env","-b"]),ATTACHED_TOKEN=/^-t[^-=]/,SHORT_FLAG_CLUSTER=/^-[A-Za-z]{2,}$/;function normalizeFlagName(flag){return flag.includes("=")?flag.slice(0,flag.indexOf("=")):flag}var ENV_PLACEHOLDER="<VALUE>";function withoutEnvValue(pair){let equals=pair.indexOf("=");return equals<0||equals===pair.length-1?pair:`${pair.slice(0,equals+1)}${ENV_PLACEHOLDER}`}function quoteEnvPlaceholder(arg){return arg.endsWith(`=${ENV_PLACEHOLDER}`)?quoteArg(arg):arg}function stripSensitiveAuthArgs(args){let out=[],passthrough=!1;for(let i=0;i<args.length;i++){let arg=args[i];if(arg==="--"&&(passthrough=!0),!passthrough&&(arg.startsWith("--sdk-key=")||SDK_KEY_PATTERN.test(arg)))continue;if(!passthrough&&ATTACHED_TOKEN.test(arg)){SHORT_FLAG_CLUSTER.test(arg)&&i+1<args.length&&i++;continue}if(!passthrough&&SHORT_FLAG_CLUSTER.test(arg)){let letters=arg.slice(1),token=letters.indexOf("t");if(token>0){out.push(`-${letters.slice(0,token)}`),token===letters.length-1&&i+1<args.length&&i++;continue}out.push(arg);let last=`-${letters[letters.length-1]}`;ENV_PAIR_FLAG_NAMES.has(last)&&i+1<args.length&&!args[i+1].startsWith("-")&&out.push(withoutEnvValue(args[++i]));continue}let name=normalizeFlagName(arg),blobCredential=BLOB_CREDENTIAL_PLACEHOLDERS.get(name);if(blobCredential!==void 0){arg.includes("=")?out.push(`${name}=${blobCredential}`):(out.push(arg),i+1<args.length&&(out.push(blobCredential),i++));continue}if(SENSITIVE_AUTH_FLAG_NAMES.has(name)){!arg.includes("=")&&i+1<args.length&&i++;continue}if(!passthrough&&ENV_PAIR_FLAG_NAMES.has(name)){if(arg.includes("=")){out.push(`${name}=${withoutEnvValue(arg.slice(name.length+1))}`);continue}out.push(arg),i+1<args.length&&!args[i+1].startsWith("-")&&out.push(withoutEnvValue(args[++i]));continue}out.push(arg)}return out}var globalCommandOptions=[{name:"help",shorthand:"h",type:Boolean,description:"Output usage information",deprecated:!1},{name:"version",shorthand:"v",type:Boolean,description:"Output the version number",deprecated:!1},{name:"cwd",shorthand:null,type:String,argument:"DIR",description:"Run the command in another directory",deprecated:!1},{name:"local-config",shorthand:"A",type:String,argument:"FILE",description:"Path to the local `vercel.json` file",deprecated:!1},{name:"global-config",shorthand:"Q",type:String,argument:"DIR",description:"Path to the global `.vercel` directory",deprecated:!1},{name:"debug",shorthand:"d",type:Boolean,description:"Debug mode (default: off)",deprecated:!1},{name:"no-color",shorthand:null,type:Boolean,description:"No color mode (default: off)",deprecated:!1},{name:"non-interactive",shorthand:null,type:Boolean,description:"Run without interactive prompts (default: on when an agent is detected)",deprecated:!1},{name:"scope",shorthand:"S",type:String,argument:"TEAM",description:"Team to run the command in (slug or ID)",deprecated:!1},{name:"token",shorthand:"t",type:String,argument:"TOKEN",description:"Login token",deprecated:!1},{name:"team",shorthand:"T",type:String,deprecated:!1},{name:"api",shorthand:null,type:String,deprecated:!1}],GLOBAL_CLI_FLAG_NAMES=(()=>{let set=new Set;for(let opt of globalCommandOptions){set.add(`--${opt.name}`);for(let flag of getShortFlags(opt))set.add(flag)}return set})();function globalCliFlagTakesValue(flagName){let normalized=normalizeFlagName(flagName);for(let opt of globalCommandOptions)if(`--${opt.name}`===normalized||getShortFlags(opt).includes(normalized))return opt.type===String;return!1}var SUGGESTION_FLAGS_TAKING_VALUE=new Set(["--config","--deployment","--environment","--git-branch","--id","--value","--status","--name","--slug","--version","--search","--format","--project","--page","--per-page","--type","--visibility"]);function suggestionFlagTakesSeparateValue(flagName){let name=normalizeFlagName(flagName);return globalCliFlagTakesValue(name)?!0:SUGGESTION_FLAGS_TAKING_VALUE.has(getShortFlagLongName(name)??name)}function getSameSubcommandSuggestionFlags(args){let safeArgs=stripSensitiveAuthArgs(args),out=[];for(let i=0;i<safeArgs.length;i++){let a=safeArgs[i];if(!a.startsWith("-")||(out.push(a),a.includes("=")))continue;suggestionFlagTakesSeparateValue(a)&&i+1<safeArgs.length&&!safeArgs[i+1].startsWith("-")&&out.push(safeArgs[++i])}return out}var GLOBAL_OPTIONS=getFlagsSpecification(globalCommandOptions),arg_common_default=()=>GLOBAL_OPTIONS,yesOption={name:"yes",shorthand:"y",type:Boolean,deprecated:!1,description:"Accept default value for all prompts"},nextCursorOption={name:"next",shorthand:null,type:String,deprecated:!1,description:"Show the next page using the cursor from the previous output",argument:"CURSOR"},confirmOption={name:"confirm",shorthand:"c",type:Boolean,deprecated:!0},confirmNameOption={name:"confirm-name",shorthand:null,type:String,deprecated:!1,description:"Approve by naming what this acts on, without its team",argument:"NAME"},effectsDigestOption={name:"effects-digest",shorthand:null,type:String,deprecated:!1,description:"The effects digest from the preview. Agents must pass it; nothing changes if the effects changed since",argument:"DIGEST"},chargeAmountOption={name:"amount",shorthand:null,type:String,argument:"USD",deprecated:!1,description:"Exact price a person approved for this charge, in USD. Not a maximum: any other amount charges nothing. Required without a terminal"},limitOption={name:"limit",shorthand:"n",type:Number,deprecated:!1,description:"Number of results to return per page (default: 20, max: 100)",argument:"NUMBER"},sinceOption={name:"since",shorthand:"s",type:String,argument:"TIME",deprecated:!1,description:"Start time: ISO 8601 or relative, like 1h or 7d"},untilOption={name:"until",shorthand:"u",type:String,argument:"TIME",deprecated:!1,description:"End time: ISO 8601 or relative (default: now)"},environmentOption={name:"environment",shorthand:"e",type:String,argument:"ENVIRONMENT",deprecated:!1,description:"Environment: production, preview, development, or a custom environment"},targetOption={name:"target",shorthand:null,type:String,argument:"ENVIRONMENT",deprecated:!0,description:"Deprecated alias for `--environment`"},gitBranchOption={name:"git-branch",shorthand:null,type:String,argument:"BRANCH",deprecated:!1,description:"Git branch"},userOption={name:"user",shorthand:null,type:String,argument:"USER",deprecated:!1,description:"User"},forceOption={name:"force",shorthand:null,type:Boolean,deprecated:!1},formatOption={name:"format",shorthand:"F",type:String,argument:"FORMAT",description:"Specify the output format (json)",deprecated:!0},jsonOption={name:"json",shorthand:null,type:Boolean,deprecated:!1,description:"Output as JSON"};var allOption={name:"all",shorthand:"a",type:Boolean,deprecated:!1,description:"List resources across all projects"},projectOption={name:"project",shorthand:"p",type:String,argument:"NAME_OR_ID",description:"Project name or ID (default: linked project)",deprecated:!1},deploymentOption={name:"deployment",shorthand:null,type:String,deprecated:!1,description:"The deployment ID or URL to target",argument:"DEPLOYMENT"},protectionBypassOption={name:"protection-bypass",shorthand:null,type:String,deprecated:!1,description:"Protection bypass secret for accessing protected deployments",argument:"SECRET"},GLOBAL_LONG_TO_OPT=new Map,GLOBAL_SHORT_TO_OPT=new Map;for(let opt of globalCommandOptions){GLOBAL_LONG_TO_OPT.set(`--${opt.name}`,opt);for(let flag of getShortFlags(opt))GLOBAL_SHORT_TO_OPT.set(flag,opt)}function getGlobalFlagsFromArgs(args,options){let delimiterIndex=args.indexOf("--"),cliArgs=delimiterIndex===-1?args:args.slice(0,delimiterIndex),safeArgs=stripSensitiveAuthArgs(cliArgs),out=[];for(let i=0;i<safeArgs.length;i++){let a=safeArgs[i];if(options?.preserveYes&&(a==="--yes"||a==="-y")){out.push(a);continue}if(options?.preserveConfig&&(a==="--config"||a.startsWith("--config="))){if(out.push(a),a==="--config"){let next=safeArgs[i+1];next&&!next.startsWith("-")&&(out.push(next),i++)}continue}let opt;if(a.startsWith("--")&&a.includes("=")){let name=a.slice(2).split("=")[0];opt=GLOBAL_LONG_TO_OPT.get(`--${name}`),opt&&out.push(a);continue}if(opt=GLOBAL_LONG_TO_OPT.get(a)||GLOBAL_SHORT_TO_OPT.get(a),!!opt&&(out.push(a),opt.type===String&&!a.includes("="))){let next=safeArgs[i+1];next&&!next.startsWith("-")&&(out.push(next),i++)}}if(options?.preserveProject){let projectOption2=findProjectOption(safeArgs);projectOption2&&out.push(...projectOption2.args)}return out}function findProjectOption(args){for(let i=0;i<args.length;i++){let arg=args[i];if(arg==="--")return;if(arg.startsWith("--project="))return{value:arg.slice(10),args:[arg]};if(arg==="--project"||getShortFlagLongName(arg)==="--project"){let value=args[i+1];return value&&!value.startsWith("-")?{value,args:["--project",value]}:void 0}}}function getProjectOptionFromArgs(args){return findProjectOption(args)?.value}export{DEPRECATED_SHORTHANDS,setCommandFlagsSpecification,getShortFlagLongName,getShortFlags,getFlagsSpecification,quoteArg,SDK_KEY_PATTERN,normalizeFlagName,quoteEnvPlaceholder,stripSensitiveAuthArgs,globalCommandOptions,GLOBAL_CLI_FLAG_NAMES,globalCliFlagTakesValue,suggestionFlagTakesSeparateValue,getSameSubcommandSuggestionFlags,arg_common_default,yesOption,nextCursorOption,confirmOption,confirmNameOption,effectsDigestOption,chargeAmountOption,limitOption,sinceOption,untilOption,environmentOption,targetOption,gitBranchOption,userOption,forceOption,formatOption,jsonOption,allOption,projectOption,deploymentOption,protectionBypassOption,getGlobalFlagsFromArgs,getProjectOptionFromArgs};
|
|
@@ -4,4 +4,4 @@ import { dirname as __dirname_ } from 'node:path';
|
|
|
4
4
|
const require = __createRequire(import.meta.url);
|
|
5
5
|
const __filename = __fileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
|
-
import{performDeviceCodeFlow}from"./chunk-
|
|
7
|
+
import{performDeviceCodeFlow}from"./chunk-H6Z4VK22.js";import{isAPIError}from"./chunk-GOI2VVI7.js";import{output_manager_default}from"./chunk-AP6DZGTK.js";import{URLSearchParams}from"url";var RECOVERABLE_CHALLENGE_CODES=new Set(["challenge_required","challenge_required_email_otp","user_auth_required"]);async function withEnvChallengeRecovery(client,fn){let hadStoredSession=!!(client.authConfig.token||client.authConfig.refreshToken);try{return await fn()}catch(error){if(!isAPIError(error))throw error;let isRecoverableChallenge=RECOVERABLE_CHALLENGE_CODES.has(error.code),isRejectedStoredSession=hadStoredSession&&error.invalidToken===!0;if(!isRecoverableChallenge&&!isRejectedStoredSession||client.authConfig.tokenSource||!client.stdin.isTTY||client.nonInteractive)throw error;output_manager_default.stopSpinner(),output_manager_default.log("Sensitive Environment Variables require fresh authentication.");let refreshToken=client.authConfig.refreshToken,acrValues=getAcrValuesFromWWWAuthenticate(error.wwwAuthenticate),tokens=isRecoverableChallenge&&refreshToken&&acrValues?await performDeviceCodeFlow(client,{refreshToken,acrValues,fallbackToLoginOnStepUpFailure:!0}):await performDeviceCodeFlow(client);if(!tokens)throw error;return client.updateAuthConfig({token:tokens.access_token,userId:void 0,expiresAt:Math.floor(Date.now()/1e3)+tokens.expires_in,refreshToken:tokens.refresh_token,dpop:tokens.dpop}),client.persistAuthConfig(),await fn()}}function getAcrValuesFromWWWAuthenticate(header){if(!header)return;let lowerHeader=header.toLowerCase(),scheme=lowerHeader.includes("bearer")?"bearer":"dpop",schemeIndex=lowerHeader.indexOf(scheme);if(schemeIndex===-1)return;let match=header.slice(schemeIndex+scheme.length).match(/(?:^|[,\s])acr_values=(?:"((?:\\.|[^"\\])*)"|([^,\s]+))/i);return match?.[1]?.replace(/\\(.)/g,"$1")??match?.[2]}async function getEnvRecords(client,projectId,source,{target,gitBranch,decrypt}={}){output_manager_default.debug(`Fetching Environment Variables of project ${projectId} and target ${target}`);let query=new URLSearchParams;if(target){let targetParam="target";target!=="production"&&target!=="preview"&&target!=="development"&&(targetParam="customEnvironmentId"),query.set(targetParam,target)}gitBranch&&query.set("gitBranch",gitBranch),decrypt&&query.set("decrypt",decrypt.toString()),source&&query.set("source",source);let url=`/v10/projects/${projectId}/env?${query}`;return withEnvChallengeRecovery(client,()=>client.fetch(url))}async function pullEnvRecords(client,projectIdOrDeploymentId,source,{target,gitBranch}={}){output_manager_default.debug(`Fetching Environment Variables of ${projectIdOrDeploymentId} and target ${target}`);let query=new URLSearchParams,url=`/v3/env/pull/${projectIdOrDeploymentId}`;return projectIdOrDeploymentId.startsWith("dpl_")||target&&(url+=`/${encodeURIComponent(target)}`,gitBranch&&(url+=`/${encodeURIComponent(gitBranch)}`)),source&&query.set("source",source),Array.from(query).length>0&&(url+=`?${query}`),withEnvChallengeRecovery(client,()=>client.fetch(url))}export{getEnvRecords,pullEnvRecords};
|
|
@@ -4,7 +4,7 @@ import { dirname as __dirname_ } from 'node:path';
|
|
|
4
4
|
const require = __createRequire(import.meta.url);
|
|
5
5
|
const __filename = __fileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
|
-
import{require_slugify}from"./chunk-COD3WAUI.js";import{createProject}from"./chunk-ANIA2G6F.js";import{printProjectNotFoundError}from"./chunk-
|
|
7
|
+
import{require_slugify}from"./chunk-COD3WAUI.js";import{createProject}from"./chunk-ANIA2G6F.js";import{printProjectNotFoundError}from"./chunk-D5A6WRSL.js";import{canPrompt}from"./chunk-IQ7FPAI4.js";import{printError}from"./chunk-PDUIYEMP.js";import{detectExplicitScope,getScope,resolveOrg}from"./chunk-LU65WWOQ.js";import{AGENT_REASON,AGENT_STATUS,writeAgentError,writeTrackedActionRequired}from"./chunk-IVZF2PMV.js";import{getLinkedProject,getOrgById,isOwnerLookupUnavailableLink,require_dist2 as require_dist,require_lib}from"./chunk-YY7GJKYH.js";import{printAlignedLabel}from"./chunk-M7FED5YP.js";import{isAPIError}from"./chunk-GOI2VVI7.js";import{packageName}from"./chunk-B4KA3ZH2.js";import{output_manager_default}from"./chunk-AP6DZGTK.js";import{require_build_utils}from"./chunk-5MDNVAE6.js";import{normalizeFlagName,quoteArg,stripSensitiveAuthArgs}from"./chunk-CFJBDBYH.js";import{__toESM}from"./chunk-BZENIQ7N.js";var import_fs_extra=__toESM(require_lib(),1);import{readdir}from"fs/promises";import{join}from"path";function isStaticFolderDeploy(project,localConfig,rootDirectory){if(rootDirectory||localConfig.builds?.length||localConfig.routes?.length||localConfig.rewrites?.length||localConfig.proxy)return!1;let setting=key=>Object.hasOwn(localConfig,key)?localConfig[key]:project[key],outputDirectory=setting("outputDirectory");return!setting("framework")&&!setting("buildCommand")&&(!outputDirectory||outputDirectory===".")}async function aliasLonePageInOutput(outputDir){if(!await isPlainStaticOutput(outputDir))return;let staticDir=join(outputDir,"static"),entries;try{entries=(await readdir(staticDir,{recursive:!0})).map(entry=>entry.split("\\").join("/"))}catch{return}let pages=entries.filter(entry=>/\.html?$/i.test(entry));if(pages.length!==1)return;let[page]=pages;page.includes("/")||page==="index.html"||page==="index.htm"||(await import_fs_extra.default.stat(join(staticDir,page))).isFile()&&await writeIndexCopy(staticDir,page)}async function isPlainStaticOutput(outputDir){if(await import_fs_extra.default.pathExists(join(outputDir,"functions")))return!1;let readJSON=name=>import_fs_extra.default.readJSON(join(outputDir,name)).catch(()=>null),builds=(await readJSON("builds.json"))?.builds;if(!Array.isArray(builds)||builds.length===0||builds.some(build=>build?.use!=="@vercel/static"))return!1;let config=await readJSON("config.json"),routes=config?.routes??[];return!config||!Array.isArray(routes)?!1:routes.findIndex(route=>route?.handle==="error")===0||routes.length===0}async function writeIndexCopy(dir,name){let page=join(dir,name),index=join(dir,"index.html"),existing=await import_fs_extra.default.stat(index).catch(()=>null);if(existing&&existing.ino===(await import_fs_extra.default.stat(page)).ino){await import_fs_extra.default.rename(page,index);return}await import_fs_extra.default.copy(page,index)}var import_fs_extra2=__toESM(require_lib(),1),import_slugify=__toESM(require_slugify(),1),import_build_utils=__toESM(require_build_utils(),1),import_client=__toESM(require_dist(),1);import{basename,dirname,extname,isAbsolute,join as join2,relative,sep}from"path";var singleFileConfig={framework:null,buildCommand:"",installCommand:"",outputDirectory:null},singleFileProjectSettings={...singleFileConfig,rootDirectory:null};async function stageSingleFile(file,dir){let name=basename(file);await import_fs_extra2.default.copy(file,join2(dir,name)),servesAtRoot(name)&&await writeIndexCopy(dir,name)}function servesAtRoot(name){let ext=extname(name).toLowerCase();return(ext===".html"||ext===".htm")&&name!=="index.html"&&name!=="index.htm"}async function isIgnoredFile(file,cwd){let roots=new Set([dirname(file)]),fromCwd=relative(cwd,file);fromCwd&&!fromCwd.startsWith(`..${sep}`)&&!isAbsolute(fromCwd)&&roots.add(cwd);for(let root of roots){let{ig}=await(0,import_client.getVercelIgnore)(root);if(ig.ignores(relative(root,file).split(sep).join("/")))return!0}return!1}function getSingleFileProjectName(file){return(0,import_slugify.default)(basename(file,extname(file))).slice(0,100).replace(/-+$/,"")||void 0}var PROJECT_NAME_RULES="Project names can be up to 100 characters long and must be lowercase. They can include letters, digits, and the following characters: '.', '_', '-'. However, they cannot contain the sequence '---'.";function isValidProjectName(name){return/^[a-z0-9._-]{1,100}$/.test(name)&&!name.includes("---")}var singleFileMeta={singleFile:"1"};function isStaticProject(project){if(project.framework||project.link||project.rootDirectory||project.buildCommand||project.installCommand)return!1;if(project.outputDirectory===".")return!0;if(project.outputDirectory)return!1;let served=project.targets?.production??project.latestDeployments?.[0];return!served||served.meta?.singleFile===singleFileMeta.singleFile}var PROJECT_FLAGS=["--project","--name","-n"],SCOPE_FLAGS=["--scope","--team","-S","-T"];function argsWithout(client,flags){let args=stripSensitiveAuthArgs(client.argv.slice(2)),kept=[];for(let i=0;i<args.length;i++){let arg=args[i];if(flags.includes(normalizeFlagName(arg))){arg.includes("=")||i++;continue}kept.push(quoteArg(arg))}return kept.join(" ")}function retryWithProject(client,project){return`${packageName} ${argsWithout(client,PROJECT_FLAGS)} --project ${project}`}function singleFileTargetArgs(client,link){let{org,project}=link,scope=!detectExplicitScope(client)&&org.type==="team"&&org.slug&&!isOwnerLookupUnavailableLink(link)?` --scope ${quoteArg(org.slug)}`:"";return` --project ${quoteArg(project.id)}${scope}`}async function applyNameScope(client){if(detectExplicitScope(client))return;if(client.ignoresSavedTeam){await client.resolveCurrentTeam();return}let envOrgId=(0,import_build_utils.getPlatformEnv)("ORG_ID");if(envOrgId){client.config.currentTeam=envOrgId.startsWith("team_")?envOrgId:void 0;return}if(!client.config.currentTeam)try{await getScope(client)}catch(err){output_manager_default.debug(`Using the token's scope for single-file deploys: ${err}`)}}function fail(client,asJson,{headline,detail,next=[],...failure},exitCode){if(asJson){let{status,...rest}=failure,payload={...rest,message:detail?`${headline} ${detail}`:headline,...next.length>0&&{next:next.map(({command,when})=>({command,when}))}};status===AGENT_STATUS.ERROR?writeAgentError(client,{...payload,status}):writeTrackedActionRequired(client,{...payload,status})}else{output_manager_default.fatal(detail?`${headline}
|
|
8
8
|
${detail}`:headline);for(let{instruction,command}of next)output_manager_default.print(`
|
|
9
9
|
${instruction}:
|
|
10
10
|
${command}
|