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,152 +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
|
-
rulesAggregateCommand
|
|
9
|
-
} from "./chunk-EDMW7SBH.js";
|
|
10
|
-
import {
|
|
11
|
-
formatOption,
|
|
12
|
-
jsonOption,
|
|
13
|
-
limitOption,
|
|
14
|
-
packageName,
|
|
15
|
-
projectOption
|
|
16
|
-
} from "./chunk-Q2DGFCO7.js";
|
|
17
|
-
|
|
18
|
-
// src/commands/alerts/command.ts
|
|
19
|
-
var listSubcommand = {
|
|
20
|
-
name: "ls",
|
|
21
|
-
aliases: ["list"],
|
|
22
|
-
description: "",
|
|
23
|
-
default: true,
|
|
24
|
-
hidden: true,
|
|
25
|
-
arguments: [],
|
|
26
|
-
options: [],
|
|
27
|
-
examples: []
|
|
28
|
-
};
|
|
29
|
-
var inspectSubcommand = {
|
|
30
|
-
name: "inspect",
|
|
31
|
-
aliases: [],
|
|
32
|
-
description: "Show details for a single alert group",
|
|
33
|
-
arguments: [
|
|
34
|
-
{
|
|
35
|
-
name: "groupId",
|
|
36
|
-
required: true
|
|
37
|
-
}
|
|
38
|
-
],
|
|
39
|
-
options: [
|
|
40
|
-
formatOption,
|
|
41
|
-
jsonOption,
|
|
42
|
-
{
|
|
43
|
-
...projectOption,
|
|
44
|
-
shorthand: "p",
|
|
45
|
-
description: "Filter by project (overrides auto-detected linked project)."
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
name: "all",
|
|
49
|
-
shorthand: "a",
|
|
50
|
-
type: Boolean,
|
|
51
|
-
deprecated: false,
|
|
52
|
-
description: "Use team-wide scope (ignore linked project auto-scoping)."
|
|
53
|
-
}
|
|
54
|
-
],
|
|
55
|
-
examples: [
|
|
56
|
-
{
|
|
57
|
-
name: "Inspect a group in the linked project",
|
|
58
|
-
value: `${packageName} alerts inspect grp_abc123`
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
name: "Inspect as JSON",
|
|
62
|
-
value: `${packageName} alerts inspect grp_abc123 --json`
|
|
63
|
-
}
|
|
64
|
-
]
|
|
65
|
-
};
|
|
66
|
-
var alertsCommand = {
|
|
67
|
-
name: "alerts",
|
|
68
|
-
aliases: [],
|
|
69
|
-
description: "List alert groups, inspect a group, or manage alert rules (see `alerts rules`).",
|
|
70
|
-
arguments: [],
|
|
71
|
-
subcommands: [listSubcommand, inspectSubcommand, rulesAggregateCommand],
|
|
72
|
-
options: [
|
|
73
|
-
{
|
|
74
|
-
name: "type",
|
|
75
|
-
shorthand: null,
|
|
76
|
-
type: [String],
|
|
77
|
-
argument: "TYPE",
|
|
78
|
-
deprecated: false,
|
|
79
|
-
description: "Filter by alert type. Repeatable and comma-separated (for example --type usage_anomaly,error_anomaly)."
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
...projectOption,
|
|
83
|
-
shorthand: "p",
|
|
84
|
-
description: "Filter by project (overrides auto-detected linked project)."
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
name: "all",
|
|
88
|
-
shorthand: "a",
|
|
89
|
-
type: Boolean,
|
|
90
|
-
deprecated: false,
|
|
91
|
-
description: "Show team-wide alerts (ignore linked project auto-scoping)."
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
name: "ai",
|
|
95
|
-
shorthand: null,
|
|
96
|
-
type: Boolean,
|
|
97
|
-
deprecated: false,
|
|
98
|
-
description: "Print AI-focused sections (title, resolved time, summary, key findings) instead of table output."
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
name: "since",
|
|
102
|
-
shorthand: null,
|
|
103
|
-
type: String,
|
|
104
|
-
argument: "ISO_DATE",
|
|
105
|
-
deprecated: false,
|
|
106
|
-
description: "Start of time range (ISO-8601). Defaults to 24 hours ago if not provided."
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
name: "until",
|
|
110
|
-
shorthand: null,
|
|
111
|
-
type: String,
|
|
112
|
-
argument: "ISO_DATE",
|
|
113
|
-
deprecated: false,
|
|
114
|
-
description: "End of time range (ISO-8601). Defaults to now."
|
|
115
|
-
},
|
|
116
|
-
limitOption,
|
|
117
|
-
formatOption,
|
|
118
|
-
jsonOption
|
|
119
|
-
],
|
|
120
|
-
examples: [
|
|
121
|
-
{
|
|
122
|
-
name: "List alerts for the linked project",
|
|
123
|
-
value: `${packageName} alerts`
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
name: "List team-wide alerts",
|
|
127
|
-
value: `${packageName} alerts --all`
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
name: "Filter by type",
|
|
131
|
-
value: `${packageName} alerts --type usage_anomaly --type error_anomaly`
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
name: "List custom alert groups",
|
|
135
|
-
value: `${packageName} alerts --type custom_alert`
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
name: "Output JSON",
|
|
139
|
-
value: `${packageName} alerts --json`
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
name: "Custom time range",
|
|
143
|
-
value: `${packageName} alerts --since 2026-03-01T00:00:00.000Z --until 2026-03-02T00:00:00.000Z`
|
|
144
|
-
}
|
|
145
|
-
]
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
export {
|
|
149
|
-
listSubcommand,
|
|
150
|
-
inspectSubcommand,
|
|
151
|
-
alertsCommand
|
|
152
|
-
};
|
|
@@ -1,174 +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
|
-
formatErrorJson,
|
|
9
|
-
handleApiError
|
|
10
|
-
} from "./chunk-7MRDIPJY.js";
|
|
11
|
-
import {
|
|
12
|
-
isAPIError
|
|
13
|
-
} from "./chunk-CV5YC2EN.js";
|
|
14
|
-
import {
|
|
15
|
-
output_manager_default
|
|
16
|
-
} from "./chunk-2JIX6UMI.js";
|
|
17
|
-
|
|
18
|
-
// src/commands/metrics/schema-api.ts
|
|
19
|
-
var OBSERVABILITY_METRICS_PATH = "/metrics/v1";
|
|
20
|
-
var METRIC_CATALOG_PAGE_SIZE = 250;
|
|
21
|
-
function toMetricDetail(metric) {
|
|
22
|
-
return {
|
|
23
|
-
id: metric.id,
|
|
24
|
-
description: metric.description,
|
|
25
|
-
dimensions: metric.dimensions,
|
|
26
|
-
unit: metric.unit,
|
|
27
|
-
aggregations: metric.aggregations,
|
|
28
|
-
defaultAggregation: metric.defaultAggregation
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
function getDefaultAggregation(detail, metricId) {
|
|
32
|
-
return detail.find((metric) => metric.id === metricId)?.defaultAggregation;
|
|
33
|
-
}
|
|
34
|
-
async function fetchMetricList(client, accountId) {
|
|
35
|
-
const { metrics } = await client.fetch(
|
|
36
|
-
"/v2/observability/schema",
|
|
37
|
-
{ accountId }
|
|
38
|
-
);
|
|
39
|
-
return metrics;
|
|
40
|
-
}
|
|
41
|
-
async function fetchMetricCatalog(client, accountId, kind, search, activeSince) {
|
|
42
|
-
const metrics = [];
|
|
43
|
-
let cursor = null;
|
|
44
|
-
do {
|
|
45
|
-
const searchParams = new URLSearchParams({
|
|
46
|
-
limit: String(METRIC_CATALOG_PAGE_SIZE),
|
|
47
|
-
kind
|
|
48
|
-
});
|
|
49
|
-
if (search) {
|
|
50
|
-
searchParams.set("search", search);
|
|
51
|
-
}
|
|
52
|
-
if (activeSince) {
|
|
53
|
-
searchParams.set("activeSince", activeSince);
|
|
54
|
-
}
|
|
55
|
-
if (cursor) {
|
|
56
|
-
searchParams.set("cursor", cursor);
|
|
57
|
-
}
|
|
58
|
-
const response = await client.fetch(
|
|
59
|
-
`${OBSERVABILITY_METRICS_PATH}?${searchParams}`,
|
|
60
|
-
{ accountId, bailOn429: true }
|
|
61
|
-
);
|
|
62
|
-
metrics.push(
|
|
63
|
-
...response.metrics.map((metric) => ({
|
|
64
|
-
id: metric.id,
|
|
65
|
-
description: metric.description,
|
|
66
|
-
dimensions: metric.dimensions,
|
|
67
|
-
unit: metric.unit,
|
|
68
|
-
aggregations: metric.aggregations
|
|
69
|
-
}))
|
|
70
|
-
);
|
|
71
|
-
cursor = response.pagination.hasMore ? response.pagination.nextCursor : null;
|
|
72
|
-
} while (cursor);
|
|
73
|
-
return metrics.filter(
|
|
74
|
-
(metric) => (kind === "all" || (kind === "system" ? metric.id.startsWith("vercel.") : !metric.id.startsWith("vercel."))) && (!search || metric.id.startsWith(search))
|
|
75
|
-
).sort((left, right) => left.id.localeCompare(right.id));
|
|
76
|
-
}
|
|
77
|
-
function fetchCustomMetricCatalog(client, accountId, search, activeSince) {
|
|
78
|
-
return fetchMetricCatalog(client, accountId, "custom", search, activeSince);
|
|
79
|
-
}
|
|
80
|
-
async function fetchCatalogMetricDetail(client, accountId, metricId, kind, activeSince) {
|
|
81
|
-
const metrics = await fetchMetricCatalog(
|
|
82
|
-
client,
|
|
83
|
-
accountId,
|
|
84
|
-
kind,
|
|
85
|
-
metricId,
|
|
86
|
-
activeSince
|
|
87
|
-
);
|
|
88
|
-
const exactMetric = metrics.find((metric) => metric.id === metricId);
|
|
89
|
-
return exactMetric ? [exactMetric] : metrics;
|
|
90
|
-
}
|
|
91
|
-
async function fetchMetricDetail(client, accountId, metricId) {
|
|
92
|
-
const detail = await client.fetch(
|
|
93
|
-
`/v2/observability/schema/${encodeURIComponent(metricId)}`,
|
|
94
|
-
{ accountId }
|
|
95
|
-
);
|
|
96
|
-
return detail.map(toMetricDetail);
|
|
97
|
-
}
|
|
98
|
-
async function fetchSchemaOrExit(client, jsonOutput, operation) {
|
|
99
|
-
try {
|
|
100
|
-
return await operation();
|
|
101
|
-
} catch (err) {
|
|
102
|
-
if (isAPIError(err)) {
|
|
103
|
-
return handleApiError(err, jsonOutput, client, {
|
|
104
|
-
401: {
|
|
105
|
-
code: "SCHEMA_UNAUTHORIZED",
|
|
106
|
-
message: "The metrics schema API request was not authorized. Run `vercel login` to authenticate and `vercel switch` to select a team, then try again."
|
|
107
|
-
},
|
|
108
|
-
403: {
|
|
109
|
-
code: "SCHEMA_UNAUTHORIZED",
|
|
110
|
-
message: "The metrics schema API request was not authorized. Run `vercel login` to authenticate and `vercel switch` to select a team, then try again."
|
|
111
|
-
}
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
const message = err instanceof Error ? `Failed to fetch metrics schema: ${err.message}` : `Failed to fetch metrics schema: ${String(err)}`;
|
|
115
|
-
if (jsonOutput) {
|
|
116
|
-
client.stdout.write(formatErrorJson("SCHEMA_FETCH_FAILED", message));
|
|
117
|
-
} else {
|
|
118
|
-
output_manager_default.error(message);
|
|
119
|
-
}
|
|
120
|
-
return 1;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
function fetchCustomMetricDetailOrExit(client, accountId, jsonOutput, metricId) {
|
|
124
|
-
return fetchSchemaOrExit(
|
|
125
|
-
client,
|
|
126
|
-
jsonOutput,
|
|
127
|
-
() => fetchCatalogMetricDetail(client, accountId, metricId, "custom")
|
|
128
|
-
);
|
|
129
|
-
}
|
|
130
|
-
function fetchCatalogMetricDetailOrExit(client, accountId, jsonOutput, metricId, kind, activeSince) {
|
|
131
|
-
return fetchSchemaOrExit(
|
|
132
|
-
client,
|
|
133
|
-
jsonOutput,
|
|
134
|
-
() => fetchCatalogMetricDetail(client, accountId, metricId, kind, activeSince)
|
|
135
|
-
);
|
|
136
|
-
}
|
|
137
|
-
function fetchMetricCatalogListOrExit(client, accountId, jsonOutput) {
|
|
138
|
-
return fetchSchemaOrExit(
|
|
139
|
-
client,
|
|
140
|
-
jsonOutput,
|
|
141
|
-
() => fetchMetricCatalog(client, accountId, "all").then(
|
|
142
|
-
(metrics) => metrics.map(({ id, description }) => ({ id, description }))
|
|
143
|
-
)
|
|
144
|
-
);
|
|
145
|
-
}
|
|
146
|
-
function fetchCombinedMetricListOrExit(client, accountId, jsonOutput) {
|
|
147
|
-
return fetchSchemaOrExit(client, jsonOutput, async () => {
|
|
148
|
-
const [platformMetrics, customMetrics] = await Promise.all([
|
|
149
|
-
fetchMetricList(client, accountId),
|
|
150
|
-
fetchCustomMetricCatalog(client, accountId).catch(() => [])
|
|
151
|
-
]);
|
|
152
|
-
return [
|
|
153
|
-
...platformMetrics.filter((metric) => metric.id.startsWith("vercel.")),
|
|
154
|
-
...customMetrics.map(({ id, description }) => ({ id, description }))
|
|
155
|
-
].sort((left, right) => left.id.localeCompare(right.id));
|
|
156
|
-
});
|
|
157
|
-
}
|
|
158
|
-
async function fetchMetricDetailOrExit(client, accountId, metricId, jsonOutput) {
|
|
159
|
-
return fetchSchemaOrExit(
|
|
160
|
-
client,
|
|
161
|
-
jsonOutput,
|
|
162
|
-
() => fetchMetricDetail(client, accountId, metricId)
|
|
163
|
-
);
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
export {
|
|
167
|
-
OBSERVABILITY_METRICS_PATH,
|
|
168
|
-
getDefaultAggregation,
|
|
169
|
-
fetchCustomMetricDetailOrExit,
|
|
170
|
-
fetchCatalogMetricDetailOrExit,
|
|
171
|
-
fetchMetricCatalogListOrExit,
|
|
172
|
-
fetchCombinedMetricListOrExit,
|
|
173
|
-
fetchMetricDetailOrExit
|
|
174
|
-
};
|
|
@@ -1,338 +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/is-docker@2.2.1/node_modules/is-docker/index.js
|
|
13
|
-
var require_is_docker = __commonJS({
|
|
14
|
-
"../../node_modules/.pnpm/is-docker@2.2.1/node_modules/is-docker/index.js"(exports, module) {
|
|
15
|
-
"use strict";
|
|
16
|
-
var fs = __require("fs");
|
|
17
|
-
var isDocker;
|
|
18
|
-
function hasDockerEnv() {
|
|
19
|
-
try {
|
|
20
|
-
fs.statSync("/.dockerenv");
|
|
21
|
-
return true;
|
|
22
|
-
} catch (_) {
|
|
23
|
-
return false;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
function hasDockerCGroup() {
|
|
27
|
-
try {
|
|
28
|
-
return fs.readFileSync("/proc/self/cgroup", "utf8").includes("docker");
|
|
29
|
-
} catch (_) {
|
|
30
|
-
return false;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
module.exports = () => {
|
|
34
|
-
if (isDocker === void 0) {
|
|
35
|
-
isDocker = hasDockerEnv() || hasDockerCGroup();
|
|
36
|
-
}
|
|
37
|
-
return isDocker;
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
// ../../node_modules/.pnpm/is-wsl@2.2.0/node_modules/is-wsl/index.js
|
|
43
|
-
var require_is_wsl = __commonJS({
|
|
44
|
-
"../../node_modules/.pnpm/is-wsl@2.2.0/node_modules/is-wsl/index.js"(exports, module) {
|
|
45
|
-
"use strict";
|
|
46
|
-
var os = __require("os");
|
|
47
|
-
var fs = __require("fs");
|
|
48
|
-
var isDocker = require_is_docker();
|
|
49
|
-
var isWsl = () => {
|
|
50
|
-
if (process.platform !== "linux") {
|
|
51
|
-
return false;
|
|
52
|
-
}
|
|
53
|
-
if (os.release().toLowerCase().includes("microsoft")) {
|
|
54
|
-
if (isDocker()) {
|
|
55
|
-
return false;
|
|
56
|
-
}
|
|
57
|
-
return true;
|
|
58
|
-
}
|
|
59
|
-
try {
|
|
60
|
-
return fs.readFileSync("/proc/version", "utf8").toLowerCase().includes("microsoft") ? !isDocker() : false;
|
|
61
|
-
} catch (_) {
|
|
62
|
-
return false;
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
if (process.env.__IS_WSL_TEST__) {
|
|
66
|
-
module.exports = isWsl;
|
|
67
|
-
} else {
|
|
68
|
-
module.exports = isWsl();
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
|
|
73
|
-
// ../../node_modules/.pnpm/define-lazy-prop@2.0.0/node_modules/define-lazy-prop/index.js
|
|
74
|
-
var require_define_lazy_prop = __commonJS({
|
|
75
|
-
"../../node_modules/.pnpm/define-lazy-prop@2.0.0/node_modules/define-lazy-prop/index.js"(exports, module) {
|
|
76
|
-
"use strict";
|
|
77
|
-
module.exports = (object, propertyName, fn) => {
|
|
78
|
-
const define = (value) => Object.defineProperty(object, propertyName, { value, enumerable: true, writable: true });
|
|
79
|
-
Object.defineProperty(object, propertyName, {
|
|
80
|
-
configurable: true,
|
|
81
|
-
enumerable: true,
|
|
82
|
-
get() {
|
|
83
|
-
const result = fn();
|
|
84
|
-
define(result);
|
|
85
|
-
return result;
|
|
86
|
-
},
|
|
87
|
-
set(value) {
|
|
88
|
-
define(value);
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
|
-
return object;
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
});
|
|
95
|
-
|
|
96
|
-
// ../../node_modules/.pnpm/open@8.4.0/node_modules/open/index.js
|
|
97
|
-
var require_open = __commonJS({
|
|
98
|
-
"../../node_modules/.pnpm/open@8.4.0/node_modules/open/index.js"(exports, module) {
|
|
99
|
-
var path = __require("path");
|
|
100
|
-
var childProcess = __require("child_process");
|
|
101
|
-
var { promises: fs, constants: fsConstants } = __require("fs");
|
|
102
|
-
var isWsl = require_is_wsl();
|
|
103
|
-
var isDocker = require_is_docker();
|
|
104
|
-
var defineLazyProperty = require_define_lazy_prop();
|
|
105
|
-
var localXdgOpenPath = path.join(__dirname, "xdg-open");
|
|
106
|
-
var { platform, arch } = process;
|
|
107
|
-
var getWslDrivesMountPoint = (() => {
|
|
108
|
-
const defaultMountPoint = "/mnt/";
|
|
109
|
-
let mountPoint;
|
|
110
|
-
return async function() {
|
|
111
|
-
if (mountPoint) {
|
|
112
|
-
return mountPoint;
|
|
113
|
-
}
|
|
114
|
-
const configFilePath = "/etc/wsl.conf";
|
|
115
|
-
let isConfigFileExists = false;
|
|
116
|
-
try {
|
|
117
|
-
await fs.access(configFilePath, fsConstants.F_OK);
|
|
118
|
-
isConfigFileExists = true;
|
|
119
|
-
} catch {
|
|
120
|
-
}
|
|
121
|
-
if (!isConfigFileExists) {
|
|
122
|
-
return defaultMountPoint;
|
|
123
|
-
}
|
|
124
|
-
const configContent = await fs.readFile(configFilePath, { encoding: "utf8" });
|
|
125
|
-
const configMountPoint = /(?<!#.*)root\s*=\s*(?<mountPoint>.*)/g.exec(configContent);
|
|
126
|
-
if (!configMountPoint) {
|
|
127
|
-
return defaultMountPoint;
|
|
128
|
-
}
|
|
129
|
-
mountPoint = configMountPoint.groups.mountPoint.trim();
|
|
130
|
-
mountPoint = mountPoint.endsWith("/") ? mountPoint : `${mountPoint}/`;
|
|
131
|
-
return mountPoint;
|
|
132
|
-
};
|
|
133
|
-
})();
|
|
134
|
-
var pTryEach = async (array, mapper) => {
|
|
135
|
-
let latestError;
|
|
136
|
-
for (const item of array) {
|
|
137
|
-
try {
|
|
138
|
-
return await mapper(item);
|
|
139
|
-
} catch (error) {
|
|
140
|
-
latestError = error;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
throw latestError;
|
|
144
|
-
};
|
|
145
|
-
var baseOpen = async (options) => {
|
|
146
|
-
options = {
|
|
147
|
-
wait: false,
|
|
148
|
-
background: false,
|
|
149
|
-
newInstance: false,
|
|
150
|
-
allowNonzeroExitCode: false,
|
|
151
|
-
...options
|
|
152
|
-
};
|
|
153
|
-
if (Array.isArray(options.app)) {
|
|
154
|
-
return pTryEach(options.app, (singleApp) => baseOpen({
|
|
155
|
-
...options,
|
|
156
|
-
app: singleApp
|
|
157
|
-
}));
|
|
158
|
-
}
|
|
159
|
-
let { name: app, arguments: appArguments = [] } = options.app || {};
|
|
160
|
-
appArguments = [...appArguments];
|
|
161
|
-
if (Array.isArray(app)) {
|
|
162
|
-
return pTryEach(app, (appName) => baseOpen({
|
|
163
|
-
...options,
|
|
164
|
-
app: {
|
|
165
|
-
name: appName,
|
|
166
|
-
arguments: appArguments
|
|
167
|
-
}
|
|
168
|
-
}));
|
|
169
|
-
}
|
|
170
|
-
let command;
|
|
171
|
-
const cliArguments = [];
|
|
172
|
-
const childProcessOptions = {};
|
|
173
|
-
if (platform === "darwin") {
|
|
174
|
-
command = "open";
|
|
175
|
-
if (options.wait) {
|
|
176
|
-
cliArguments.push("--wait-apps");
|
|
177
|
-
}
|
|
178
|
-
if (options.background) {
|
|
179
|
-
cliArguments.push("--background");
|
|
180
|
-
}
|
|
181
|
-
if (options.newInstance) {
|
|
182
|
-
cliArguments.push("--new");
|
|
183
|
-
}
|
|
184
|
-
if (app) {
|
|
185
|
-
cliArguments.push("-a", app);
|
|
186
|
-
}
|
|
187
|
-
} else if (platform === "win32" || isWsl && !isDocker()) {
|
|
188
|
-
const mountPoint = await getWslDrivesMountPoint();
|
|
189
|
-
command = isWsl ? `${mountPoint}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe` : `${process.env.SYSTEMROOT}\\System32\\WindowsPowerShell\\v1.0\\powershell`;
|
|
190
|
-
cliArguments.push(
|
|
191
|
-
"-NoProfile",
|
|
192
|
-
"-NonInteractive",
|
|
193
|
-
"\u2013ExecutionPolicy",
|
|
194
|
-
"Bypass",
|
|
195
|
-
"-EncodedCommand"
|
|
196
|
-
);
|
|
197
|
-
if (!isWsl) {
|
|
198
|
-
childProcessOptions.windowsVerbatimArguments = true;
|
|
199
|
-
}
|
|
200
|
-
const encodedArguments = ["Start"];
|
|
201
|
-
if (options.wait) {
|
|
202
|
-
encodedArguments.push("-Wait");
|
|
203
|
-
}
|
|
204
|
-
if (app) {
|
|
205
|
-
encodedArguments.push(`"\`"${app}\`""`, "-ArgumentList");
|
|
206
|
-
if (options.target) {
|
|
207
|
-
appArguments.unshift(options.target);
|
|
208
|
-
}
|
|
209
|
-
} else if (options.target) {
|
|
210
|
-
encodedArguments.push(`"${options.target}"`);
|
|
211
|
-
}
|
|
212
|
-
if (appArguments.length > 0) {
|
|
213
|
-
appArguments = appArguments.map((arg) => `"\`"${arg}\`""`);
|
|
214
|
-
encodedArguments.push(appArguments.join(","));
|
|
215
|
-
}
|
|
216
|
-
options.target = Buffer.from(encodedArguments.join(" "), "utf16le").toString("base64");
|
|
217
|
-
} else {
|
|
218
|
-
if (app) {
|
|
219
|
-
command = app;
|
|
220
|
-
} else {
|
|
221
|
-
const isBundled = !__dirname || __dirname === "/";
|
|
222
|
-
let exeLocalXdgOpen = false;
|
|
223
|
-
try {
|
|
224
|
-
await fs.access(localXdgOpenPath, fsConstants.X_OK);
|
|
225
|
-
exeLocalXdgOpen = true;
|
|
226
|
-
} catch {
|
|
227
|
-
}
|
|
228
|
-
const useSystemXdgOpen = process.versions.electron || platform === "android" || isBundled || !exeLocalXdgOpen;
|
|
229
|
-
command = useSystemXdgOpen ? "xdg-open" : localXdgOpenPath;
|
|
230
|
-
}
|
|
231
|
-
if (appArguments.length > 0) {
|
|
232
|
-
cliArguments.push(...appArguments);
|
|
233
|
-
}
|
|
234
|
-
if (!options.wait) {
|
|
235
|
-
childProcessOptions.stdio = "ignore";
|
|
236
|
-
childProcessOptions.detached = true;
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
if (options.target) {
|
|
240
|
-
cliArguments.push(options.target);
|
|
241
|
-
}
|
|
242
|
-
if (platform === "darwin" && appArguments.length > 0) {
|
|
243
|
-
cliArguments.push("--args", ...appArguments);
|
|
244
|
-
}
|
|
245
|
-
const subprocess = childProcess.spawn(command, cliArguments, childProcessOptions);
|
|
246
|
-
if (options.wait) {
|
|
247
|
-
return new Promise((resolve, reject) => {
|
|
248
|
-
subprocess.once("error", reject);
|
|
249
|
-
subprocess.once("close", (exitCode) => {
|
|
250
|
-
if (options.allowNonzeroExitCode && exitCode > 0) {
|
|
251
|
-
reject(new Error(`Exited with code ${exitCode}`));
|
|
252
|
-
return;
|
|
253
|
-
}
|
|
254
|
-
resolve(subprocess);
|
|
255
|
-
});
|
|
256
|
-
});
|
|
257
|
-
}
|
|
258
|
-
subprocess.unref();
|
|
259
|
-
return subprocess;
|
|
260
|
-
};
|
|
261
|
-
var open = (target, options) => {
|
|
262
|
-
if (typeof target !== "string") {
|
|
263
|
-
throw new TypeError("Expected a `target`");
|
|
264
|
-
}
|
|
265
|
-
return baseOpen({
|
|
266
|
-
...options,
|
|
267
|
-
target
|
|
268
|
-
});
|
|
269
|
-
};
|
|
270
|
-
var openApp = (name, options) => {
|
|
271
|
-
if (typeof name !== "string") {
|
|
272
|
-
throw new TypeError("Expected a `name`");
|
|
273
|
-
}
|
|
274
|
-
const { arguments: appArguments = [] } = options || {};
|
|
275
|
-
if (appArguments !== void 0 && appArguments !== null && !Array.isArray(appArguments)) {
|
|
276
|
-
throw new TypeError("Expected `appArguments` as Array type");
|
|
277
|
-
}
|
|
278
|
-
return baseOpen({
|
|
279
|
-
...options,
|
|
280
|
-
app: {
|
|
281
|
-
name,
|
|
282
|
-
arguments: appArguments
|
|
283
|
-
}
|
|
284
|
-
});
|
|
285
|
-
};
|
|
286
|
-
function detectArchBinary(binary) {
|
|
287
|
-
if (typeof binary === "string" || Array.isArray(binary)) {
|
|
288
|
-
return binary;
|
|
289
|
-
}
|
|
290
|
-
const { [arch]: archBinary } = binary;
|
|
291
|
-
if (!archBinary) {
|
|
292
|
-
throw new Error(`${arch} is not supported`);
|
|
293
|
-
}
|
|
294
|
-
return archBinary;
|
|
295
|
-
}
|
|
296
|
-
function detectPlatformBinary({ [platform]: platformBinary }, { wsl }) {
|
|
297
|
-
if (wsl && isWsl) {
|
|
298
|
-
return detectArchBinary(wsl);
|
|
299
|
-
}
|
|
300
|
-
if (!platformBinary) {
|
|
301
|
-
throw new Error(`${platform} is not supported`);
|
|
302
|
-
}
|
|
303
|
-
return detectArchBinary(platformBinary);
|
|
304
|
-
}
|
|
305
|
-
var apps = {};
|
|
306
|
-
defineLazyProperty(apps, "chrome", () => detectPlatformBinary({
|
|
307
|
-
darwin: "google chrome",
|
|
308
|
-
win32: "chrome",
|
|
309
|
-
linux: ["google-chrome", "google-chrome-stable", "chromium"]
|
|
310
|
-
}, {
|
|
311
|
-
wsl: {
|
|
312
|
-
ia32: "/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe",
|
|
313
|
-
x64: ["/mnt/c/Program Files/Google/Chrome/Application/chrome.exe", "/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe"]
|
|
314
|
-
}
|
|
315
|
-
}));
|
|
316
|
-
defineLazyProperty(apps, "firefox", () => detectPlatformBinary({
|
|
317
|
-
darwin: "firefox",
|
|
318
|
-
win32: "C:\\Program Files\\Mozilla Firefox\\firefox.exe",
|
|
319
|
-
linux: "firefox"
|
|
320
|
-
}, {
|
|
321
|
-
wsl: "/mnt/c/Program Files/Mozilla Firefox/firefox.exe"
|
|
322
|
-
}));
|
|
323
|
-
defineLazyProperty(apps, "edge", () => detectPlatformBinary({
|
|
324
|
-
darwin: "microsoft edge",
|
|
325
|
-
win32: "msedge",
|
|
326
|
-
linux: ["microsoft-edge", "microsoft-edge-dev"]
|
|
327
|
-
}, {
|
|
328
|
-
wsl: "/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe"
|
|
329
|
-
}));
|
|
330
|
-
open.apps = apps;
|
|
331
|
-
open.openApp = openApp;
|
|
332
|
-
module.exports = open;
|
|
333
|
-
}
|
|
334
|
-
});
|
|
335
|
-
|
|
336
|
-
export {
|
|
337
|
-
require_open
|
|
338
|
-
};
|