@vercel/cli-support 0.0.0 → 65.3.1
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/LICENSE +202 -0
- package/README.md +100 -3
- package/dist/chunks/add-5YZQTIQM.js +8 -0
- package/dist/chunks/add-A524QQ2H.js +8 -0
- package/dist/chunks/add-V4JMUHKO.js +8 -0
- package/dist/chunks/build-K2PVDJZ4.js +7 -0
- package/dist/chunks/chunk-22FDWPWY.js +7 -0
- package/dist/chunks/chunk-25565AGS.js +7 -0
- package/dist/chunks/chunk-2ACMWVTB.js +12 -0
- package/dist/chunks/chunk-2EYYB6YN.js +7 -0
- package/dist/chunks/chunk-2GHZGOWT.js +7 -0
- package/dist/chunks/chunk-2H3SB5RP.js +9 -0
- package/dist/chunks/chunk-2NABMKFV.js +29 -0
- package/dist/chunks/chunk-2PKEEQ5W.js +25 -0
- package/dist/chunks/chunk-2S6PE6GB.js +7 -0
- package/dist/chunks/chunk-2U7DJZSQ.js +21 -0
- package/dist/chunks/chunk-2WYYGGEO.js +7 -0
- package/dist/chunks/chunk-3ADDGPEN.js +7 -0
- package/dist/chunks/chunk-3AYYFYZG.js +7 -0
- package/dist/chunks/chunk-3G3FQYMW.js +7 -0
- package/dist/chunks/chunk-3JGBBS6V.js +7 -0
- package/dist/chunks/chunk-3KKFLKQG.js +7 -0
- package/dist/chunks/chunk-3LIKVGFT.js +8 -0
- package/dist/chunks/chunk-3XW7N4W3.js +9 -0
- package/dist/chunks/chunk-43GBAKL2.js +86 -0
- package/dist/chunks/chunk-4CACOKMS.js +7 -0
- package/dist/chunks/chunk-4NTBYNFR.js +17 -0
- package/dist/chunks/chunk-4SAVH3H7.js +7 -0
- package/dist/chunks/chunk-4UGHFESV.js +8 -0
- package/dist/chunks/chunk-4VFYJU37.js +7 -0
- package/dist/chunks/chunk-5IASAERQ.js +7 -0
- package/dist/chunks/chunk-5RMIM4S2.js +7 -0
- package/dist/chunks/chunk-67GZ5REA.js +7 -0
- package/dist/chunks/chunk-6IDNVZZR.js +7 -0
- package/dist/chunks/chunk-6ISAISGD.js +16 -0
- package/dist/chunks/chunk-6KVHNQW4.js +17 -0
- package/dist/chunks/chunk-6OVX3PWM.js +7 -0
- package/dist/chunks/chunk-6QKS6QK7.js +7 -0
- package/dist/chunks/chunk-6VH56CX2.js +19 -0
- package/dist/chunks/chunk-6Y2ZL5XJ.js +98 -0
- package/dist/chunks/chunk-76KGQU2G.js +7 -0
- package/dist/chunks/chunk-76SVVWPH.js +7 -0
- package/dist/chunks/chunk-773GOZIR.js +13 -0
- package/dist/chunks/chunk-7BGKE3JW.js +10 -0
- package/dist/chunks/chunk-7EJQLVWX.js +7 -0
- package/dist/chunks/chunk-7HV7O6DM.js +7 -0
- package/dist/chunks/chunk-7L2K4OKM.js +63 -0
- package/dist/chunks/chunk-7Y46LB43.js +14 -0
- package/dist/chunks/chunk-7YKFF6CE.js +7 -0
- package/dist/chunks/chunk-7Z3WUAO5.js +10 -0
- package/dist/chunks/chunk-A2RZZQEP.js +7 -0
- package/dist/chunks/chunk-ABZEMNDR.js +7 -0
- package/dist/chunks/chunk-ADLBLGT3.js +8 -0
- package/dist/chunks/chunk-AM46JVVN.js +7 -0
- package/dist/chunks/chunk-ANMDN3EG.js +9 -0
- package/dist/chunks/chunk-APZULWJC.js +8 -0
- package/dist/chunks/chunk-AWMQGOS2.js +7 -0
- package/dist/chunks/chunk-B4UE4LVE.js +7 -0
- package/dist/chunks/chunk-B4YYOSPY.js +7 -0
- package/dist/chunks/chunk-BBKEP7RO.js +7 -0
- package/dist/chunks/chunk-BL3HBRF6.js +12 -0
- package/dist/chunks/chunk-BLUPZPAS.js +7 -0
- package/dist/chunks/chunk-BPUANOGW.js +7 -0
- package/dist/chunks/chunk-BRQUZ5NC.js +7 -0
- package/dist/chunks/chunk-BS32OUOC.js +7 -0
- package/dist/chunks/chunk-BTI5TG6Q.js +7 -0
- package/dist/chunks/chunk-BUJITHGZ.js +8 -0
- package/dist/chunks/chunk-BVH2AEFE.js +7 -0
- package/dist/chunks/chunk-BZENIQ7N.js +7 -0
- package/dist/chunks/chunk-C6GY2G73.js +7 -0
- package/dist/chunks/chunk-CEMPU323.js +7 -0
- package/dist/chunks/chunk-COD3WAUI.js +7 -0
- package/dist/chunks/chunk-COM5YCHF.js +9 -0
- package/dist/chunks/chunk-CZSOZKHX.js +7 -0
- package/dist/chunks/chunk-D2BZMGHP.js +7 -0
- package/dist/chunks/chunk-D3AHZ5LI.js +7 -0
- package/dist/chunks/chunk-D6REP5QQ.js +15 -0
- package/dist/chunks/chunk-DFVNL5ML.js +7 -0
- package/dist/chunks/chunk-DGYHWXD2.js +10 -0
- package/dist/chunks/chunk-DUT4U5YY.js +7 -0
- package/dist/chunks/chunk-DWZBL4NK.js +7 -0
- package/dist/chunks/chunk-E2SADN6I.js +7 -0
- package/dist/chunks/chunk-E6CO6TUM.js +7 -0
- package/dist/chunks/chunk-EAUDC24V.js +9 -0
- package/dist/chunks/chunk-ECQIO5K3.js +7 -0
- package/dist/chunks/chunk-ETV3C2CV.js +7 -0
- package/dist/chunks/chunk-F2SWJEYV.js +8 -0
- package/dist/chunks/chunk-F4KY2TOK.js +7 -0
- package/dist/chunks/chunk-F53OKXYI.js +7 -0
- package/dist/chunks/chunk-F7AVGV4Y.js +7 -0
- package/dist/chunks/chunk-FBYA6LLM.js +7 -0
- package/dist/chunks/chunk-FDNYYENK.js +11 -0
- package/dist/chunks/chunk-FGFLTLEA.js +7 -0
- package/dist/chunks/chunk-FUX6LKNP.js +7 -0
- package/dist/chunks/chunk-G4T7VBGN.js +9 -0
- package/dist/chunks/chunk-GA277JFB.js +20 -0
- package/dist/chunks/chunk-GD7AV7BO.js +9 -0
- package/dist/chunks/chunk-GG5RME4X.js +7 -0
- package/dist/chunks/chunk-GHAY4PSD.js +7 -0
- package/dist/chunks/chunk-GVTXA6HG.js +7 -0
- package/dist/chunks/chunk-GYVJIIYL.js +7 -0
- package/dist/chunks/chunk-GZNDA6SV.js +8 -0
- package/dist/chunks/chunk-HCRD3JFL.js +7 -0
- package/dist/chunks/chunk-HEGJZJO7.js +7 -0
- package/dist/chunks/chunk-HRR57QNP.js +7 -0
- package/dist/chunks/chunk-IA3MXJRC.js +8 -0
- package/dist/chunks/chunk-ID663OJ7.js +7 -0
- package/dist/chunks/chunk-IEPW2YRH.js +7 -0
- package/dist/chunks/chunk-IGDG5CWT.js +7 -0
- package/dist/chunks/chunk-IKQTP764.js +7 -0
- package/dist/chunks/chunk-IQ7FPAI4.js +7 -0
- package/dist/chunks/chunk-IQKGQ2Y2.js +15 -0
- package/dist/chunks/chunk-ISWW3DKF.js +7 -0
- package/dist/chunks/chunk-IUXSJWL3.js +7 -0
- package/dist/chunks/chunk-IVSC7ZFJ.js +7 -0
- package/dist/chunks/chunk-IVSSTHB6.js +7 -0
- package/dist/chunks/chunk-J24BABG4.js +21 -0
- package/dist/chunks/chunk-JALVF3C2.js +7 -0
- package/dist/chunks/chunk-JELLVPCM.js +8 -0
- package/dist/chunks/chunk-JESNVRVR.js +7 -0
- package/dist/chunks/chunk-JLEJB6KM.js +7 -0
- package/dist/chunks/chunk-KH6565YH.js +8 -0
- package/dist/chunks/chunk-KNLGWGUE.js +57 -0
- package/dist/chunks/chunk-KRPY5FHJ.js +7 -0
- package/dist/chunks/chunk-KW6GSQXV.js +7 -0
- package/dist/chunks/chunk-L4NSF346.js +22 -0
- package/dist/chunks/chunk-LCHECISY.js +7 -0
- package/dist/chunks/chunk-LJBUJ23M.js +7 -0
- package/dist/chunks/chunk-LKLH6DZP.js +9 -0
- package/dist/chunks/chunk-LRYGNQ6C.js +8 -0
- package/dist/chunks/chunk-LSF7FY6X.js +7 -0
- package/dist/chunks/chunk-LSQREJXO.js +11 -0
- package/dist/chunks/chunk-LT3UK4K6.js +10 -0
- package/dist/chunks/chunk-LUBUI5GF.js +7 -0
- package/dist/chunks/chunk-MCRKBVZA.js +7 -0
- package/dist/chunks/chunk-MVGTMPMI.js +23 -0
- package/dist/chunks/chunk-MXTC4ZAQ.js +7 -0
- package/dist/chunks/chunk-NB2WLB3J.js +12 -0
- package/dist/chunks/chunk-NEFDNROD.js +7 -0
- package/dist/chunks/chunk-NQWGRKF4.js +7 -0
- package/dist/chunks/chunk-NTZ5WWYV.js +7 -0
- package/dist/chunks/chunk-NWGBDBZI.js +7 -0
- package/dist/chunks/chunk-NZ2TFADV.js +7 -0
- package/dist/chunks/chunk-OAM5NJCU.js +9 -0
- package/dist/chunks/chunk-OCQPXOTX.js +11 -0
- package/dist/chunks/chunk-OCR5CRTH.js +10 -0
- package/dist/chunks/chunk-OFDTADPQ.js +7 -0
- package/dist/chunks/chunk-OGPENBY2.js +7 -0
- package/dist/chunks/chunk-OKEBIUKZ.js +7 -0
- package/dist/chunks/chunk-OMCGXRSA.js +21 -0
- package/dist/chunks/chunk-OO572JUC.js +7 -0
- package/dist/chunks/chunk-OPORM35X.js +7 -0
- package/dist/chunks/chunk-OQCMRU3J.js +10 -0
- package/dist/chunks/chunk-OQPXJCMK.js +32 -0
- package/dist/chunks/chunk-OWOWPOIE.js +23 -0
- package/dist/chunks/chunk-PADL3C6Z.js +7 -0
- package/dist/chunks/chunk-PFD7LETF.js +7 -0
- package/dist/chunks/chunk-PFNYWWLI.js +7 -0
- package/dist/chunks/chunk-PFPJLIFF.js +33 -0
- package/dist/chunks/chunk-PSOVLGHP.js +7 -0
- package/dist/chunks/chunk-PUKYAALC.js +7 -0
- package/dist/chunks/chunk-PVASGBEF.js +7 -0
- package/dist/chunks/chunk-Q5ODLDCU.js +7 -0
- package/dist/chunks/chunk-Q7D7RGXM.js +7 -0
- package/dist/chunks/chunk-QB7F3UAP.js +7 -0
- package/dist/chunks/chunk-QHJLRTVY.js +7 -0
- package/dist/chunks/chunk-QMCHGGDX.js +10 -0
- package/dist/chunks/chunk-QZX7VG2V.js +9 -0
- package/dist/chunks/chunk-R6BEOVTU.js +7 -0
- package/dist/chunks/chunk-RLKS5G6C.js +12 -0
- package/dist/chunks/chunk-RM3ZDRYE.js +7 -0
- package/dist/chunks/chunk-RRDNKB2X.js +7 -0
- package/dist/chunks/chunk-RRREFECI.js +7 -0
- package/dist/chunks/chunk-RUXO73ON.js +7 -0
- package/dist/chunks/chunk-RW3X523R.js +8 -0
- package/dist/chunks/chunk-S3L2OHPO.js +7 -0
- package/dist/chunks/chunk-S4SJ7GIZ.js +7 -0
- package/dist/chunks/chunk-S5IWVPYT.js +32 -0
- package/dist/chunks/chunk-SACGQMVQ.js +13 -0
- package/dist/chunks/chunk-SCV7XEEO.js +7 -0
- package/dist/chunks/chunk-SF4E3AQ3.js +7 -0
- package/dist/chunks/chunk-SKYDLHEZ.js +7 -0
- package/dist/chunks/chunk-SLI2O5X7.js +63 -0
- package/dist/chunks/chunk-SXOSF4O6.js +39 -0
- package/dist/chunks/chunk-TAAWMNNL.js +7 -0
- package/dist/chunks/chunk-TG2RCYTH.js +7 -0
- package/dist/chunks/chunk-TKBORMUF.js +7 -0
- package/dist/chunks/chunk-TO5PJDEN.js +7 -0
- package/dist/chunks/chunk-TPNOSQZ3.js +15 -0
- package/dist/chunks/chunk-TZFDVQ72.js +27 -0
- package/dist/chunks/chunk-U4Z2MMOF.js +301 -0
- package/dist/chunks/chunk-U56NHYAH.js +7 -0
- package/dist/chunks/chunk-UJSW56GS.js +9 -0
- package/dist/chunks/chunk-UKQMYTWW.js +9 -0
- package/dist/chunks/chunk-ULHNMQ7C.js +7 -0
- package/dist/chunks/chunk-UNEGQPD3.js +7 -0
- package/dist/chunks/chunk-URPEIX6M.js +7 -0
- package/dist/chunks/chunk-UVHKXCR5.js +11 -0
- package/dist/chunks/chunk-V6Y6UK6B.js +43 -0
- package/dist/chunks/chunk-V7BEC3E4.js +10 -0
- package/dist/chunks/chunk-VMMMBWD3.js +7 -0
- package/dist/chunks/chunk-VOCZ34ON.js +7 -0
- package/dist/chunks/chunk-VQSLPYAF.js +7 -0
- package/dist/chunks/chunk-VT6RIZJH.js +7 -0
- package/dist/chunks/chunk-WBF36MYT.js +16 -0
- package/dist/chunks/chunk-WCWP4GBR.js +7 -0
- package/dist/chunks/chunk-WGXKX24Q.js +7 -0
- package/dist/chunks/chunk-X4762EE4.js +7 -0
- package/dist/chunks/chunk-XB4SKARZ.js +29 -0
- package/dist/chunks/chunk-XGTKHQTT.js +7 -0
- package/dist/chunks/chunk-XOETL6DB.js +96 -0
- package/dist/chunks/chunk-XP3FT56R.js +27 -0
- package/dist/chunks/chunk-XR6QY7RR.js +7 -0
- package/dist/chunks/chunk-XXXRTHTP.js +8 -0
- package/dist/chunks/chunk-XZV4BFM5.js +7 -0
- package/dist/chunks/chunk-Y6AGOERS.js +8 -0
- package/dist/chunks/chunk-YHPPP3SF.js +7 -0
- package/dist/chunks/chunk-YHQ7PPXP.js +7 -0
- package/dist/chunks/chunk-YK7XLFU2.js +24 -0
- package/dist/chunks/chunk-YN3C5BL5.js +7 -0
- package/dist/chunks/chunk-ZF27J6FQ.js +7 -0
- package/dist/chunks/chunk-ZFRNVIHI.js +7 -0
- package/dist/chunks/chunk-ZH6KHD55.js +20 -0
- package/dist/chunks/cjs-2SMN43VH.js +54 -0
- package/dist/chunks/clear-ZS4KQ7OT.js +8 -0
- package/dist/chunks/compile-vercel-config-3IYM2CHC.js +7 -0
- package/dist/chunks/config-N2SBVW4T.js +8 -0
- package/dist/chunks/config-ZFIC7N4D.js +7 -0
- package/dist/chunks/config-validator.mjs +1 -0
- package/dist/chunks/connect-git-provider-FS5Q2HO4.js +7 -0
- package/dist/chunks/constants-ICJL2EO5.js +7 -0
- package/dist/chunks/create-project-IKCB6MB2.js +7 -0
- package/dist/chunks/delete-2ZE2NVHI.js +10 -0
- package/dist/chunks/delete-AL57HZDQ.js +9 -0
- package/dist/chunks/detect-projects-OD4JEAW2.js +7 -0
- package/dist/chunks/detect-services-MOXTX5XG.js +7 -0
- package/dist/chunks/disable-MKI3BKNH.js +7 -0
- package/dist/chunks/discard-SI4H7ST3.js +14 -0
- package/dist/chunks/dist-33WTJLVQ.js +7 -0
- package/dist/chunks/dist-RXYNZPEA.js +7 -0
- package/dist/chunks/edit-DNWH6SPE.js +8 -0
- package/dist/chunks/edit-WYNWDFUJ.js +9 -0
- package/dist/chunks/enable-J6MMYPYF.js +7 -0
- package/dist/chunks/esm-33752ISR.js +7 -0
- package/dist/chunks/esm-4JKEE7PC.js +7 -0
- package/dist/chunks/esm-BYG5BWYH.js +9 -0
- package/dist/chunks/esm-DFFBNKNU.js +20 -0
- package/dist/chunks/esm-IF453UWS.js +7 -0
- package/dist/chunks/esm-LABWDJ72.js +7 -0
- package/dist/chunks/esm-TG37FXTU.js +9 -0
- package/dist/chunks/exec-OZSY46V6.js +16372 -0
- package/dist/chunks/export-MHSH7QCX.js +19 -0
- package/dist/chunks/fetch-proxy-45DGILKR.js +67 -0
- package/dist/chunks/future-FFOGTKMF.js +7 -0
- package/dist/chunks/generate-cert-for-deploy-YZKNGAEQ.js +7 -0
- package/dist/chunks/image-7METSS6F.js +7 -0
- package/dist/chunks/import-builders-GM2SERWV.js +7 -0
- package/dist/chunks/inspect-A7WJQQZO.js +15 -0
- package/dist/chunks/inspect-DI434TAM.js +19 -0
- package/dist/chunks/inspect-H2Q7XOWN.js +13 -0
- package/dist/chunks/inspect-H5JC2XKI.js +9 -0
- package/dist/chunks/inspect-IAWVHJXQ.js +20 -0
- package/dist/chunks/list-ELEUTZWJ.js +12 -0
- package/dist/chunks/list-INRPH25K.js +10 -0
- package/dist/chunks/list-WWU734RK.js +16 -0
- package/dist/chunks/login-R5NQRPQC.js +7 -0
- package/dist/chunks/login-ZF2TLCQB.js +9 -0
- package/dist/chunks/logs-UD7FEXZ7.js +7 -0
- package/dist/chunks/ls-5ZEAKKPQ.js +8 -0
- package/dist/chunks/ls-IXRLAJ4L.js +11 -0
- package/dist/chunks/ls-LIGIBVAT.js +12 -0
- package/dist/chunks/ls-MCQ2NS65.js +8 -0
- package/dist/chunks/ls-S5E2NQMI.js +12 -0
- package/dist/chunks/ls-V2ZSIVO3.js +12 -0
- package/dist/chunks/ls-VXH4QYF5.js +12 -0
- package/dist/chunks/mutate-OQWOKLIW.js +9 -0
- package/dist/chunks/notifications-KFZ333V5.js +7 -0
- package/dist/chunks/open-HH6K7ZRC.js +7 -0
- package/dist/chunks/openapi-JGYEFJJV.js +7 -0
- package/dist/chunks/permissions-ZSHKMXBZ.js +7 -0
- package/dist/chunks/pkg-EDJQLCNP.js +7 -0
- package/dist/chunks/plugin-offer-Z6FCPQFD.js +9 -0
- package/dist/chunks/prompt-missing-credentials-KOA7C4QC.js +7 -0
- package/dist/chunks/publish-FPNQ2US4.js +15 -0
- package/dist/chunks/pull-7OGOIKB3.js +7 -0
- package/dist/chunks/purchase-domain-if-available-F4LKHVBD.js +7 -0
- package/dist/chunks/push-NY3SIK2C.js +7 -0
- package/dist/chunks/query-JGPO7TNY.js +12 -0
- package/dist/chunks/reauthenticate-OZRQFR66.js +7 -0
- package/dist/chunks/reorder-4J2STFUS.js +10 -0
- package/dist/chunks/reply-EO4NTTPW.js +9 -0
- package/dist/chunks/repo-info-to-url-XQSULSEO.js +7 -0
- package/dist/chunks/resolve-RPHHRPNM.js +12 -0
- package/dist/chunks/resolve-agent-team-KX77HEAF.js +7 -0
- package/dist/chunks/resolve-deployment-framework-preset-AXXYBFCL.js +7 -0
- package/dist/chunks/restore-TEA6TSVK.js +16 -0
- package/dist/chunks/rm-BPILSPUI.js +8 -0
- package/dist/chunks/rm-F6XVUDBM.js +8 -0
- package/dist/chunks/rm-JCPXV2FN.js +8 -0
- package/dist/chunks/rm-LPQRGX7N.js +8 -0
- package/dist/chunks/rm-WHUGT6TE.js +8 -0
- package/dist/chunks/routes-P6LKQCWH.js +7 -0
- package/dist/chunks/rule-inspect-BOETGPFO.js +8 -0
- package/dist/chunks/schema-BEUO7G52.js +44 -0
- package/dist/chunks/schema-YOEAK4VX.js +14 -0
- package/dist/chunks/select-org-OMLGQEKK.js +7 -0
- package/dist/chunks/set-5XY27S7R.js +7 -0
- package/dist/chunks/setup-and-link-A7M3QT52.js +7 -0
- package/dist/chunks/skills-4J2NC2QI.js +590 -0
- package/dist/chunks/slugify-NMMUASYK.js +7 -0
- package/dist/chunks/stamp-TKONNIJ5.js +7 -0
- package/dist/chunks/tags-ZXZQEXOV.js +7 -0
- package/dist/chunks/token-W6P2KNI5.js +7 -0
- package/dist/chunks/token-util-JDQI37VN.js +7 -0
- package/dist/chunks/types-SK6J2HFE.js +14 -0
- package/dist/chunks/update-25CKNOY5.js +8 -0
- package/dist/chunks/update-route-version-KWK5S4UW.js +7 -0
- package/dist/chunks/utils-IQZEE4DT.js +86 -0
- package/dist/chunks/vlt-builder-graph-XL2XRO4V.js +7 -0
- package/dist/chunks/vlt-builder-importer-RBUPAB6J.js +11 -0
- package/dist/chunks/zod-2C2SXNIK.js +7 -0
- package/dist/commands/build/builder-worker.cjs +281 -0
- package/dist/commands/build/index.js +34 -0
- package/dist/commands/deploy/index.js +72 -0
- package/dist/commands/dev/builder-worker.cjs +110 -0
- package/dist/commands/dev/index.js +157 -0
- package/dist/commands/env/index.js +40 -0
- package/dist/commands/link/index.js +10 -0
- package/dist/commands/list/index.js +14 -0
- package/dist/commands/project/index.js +113 -0
- package/dist/commands-account.js +209 -0
- package/dist/commands-ai.js +200 -0
- package/dist/commands-blob.js +107 -0
- package/dist/commands-core.js +222 -0
- package/dist/commands-deployments.js +84 -0
- package/dist/commands-flags.js +377 -0
- package/dist/commands-integrations.js +143 -0
- package/dist/commands-observability.js +122 -0
- package/dist/commands-routing.js +273 -0
- package/dist/fetch-dist-tags.cjs +60 -0
- package/dist/get-latest-worker.cjs +222 -0
- package/dist/help.js +7 -0
- package/dist/index.js +25 -0
- package/dist/internal-build-worker.js +10 -0
- package/dist/internal-build.js +11 -0
- package/dist/package.json +265 -0
- package/dist/root-help-commands.mjs +1 -0
- package/dist/runtime-assets/dev-tunnel/api/tunnel.ts +443 -0
- package/dist/runtime-assets/dev-tunnel/lib/env.ts +25 -0
- package/dist/runtime-assets/dev-tunnel/lib/tunnel_pb.ts +505 -0
- package/dist/runtime-assets/node-preloads/next-dev-websocket.cjs +220 -0
- package/dist/vc.js +393 -0
- package/dist/version.mjs +2 -0
- package/package.json +224 -14
- package/index.js +0 -1
|
@@ -0,0 +1,505 @@
|
|
|
1
|
+
// Vendored from vercel/api: services/api-dev-tunnel/src/gen/tunnel/v1/tunnel_pb.ts,
|
|
2
|
+
// generated from proto/tunnel/v1/tunnel.proto. Regenerate it there and copy it
|
|
3
|
+
// here rather than editing it.
|
|
4
|
+
|
|
5
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts,import_extension=none"
|
|
6
|
+
// @generated from file tunnel/v1/tunnel.proto (package vercel.api.dev_tunnel.v1, syntax proto3)
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
|
|
9
|
+
import type {
|
|
10
|
+
GenEnum,
|
|
11
|
+
GenFile,
|
|
12
|
+
GenMessage,
|
|
13
|
+
GenService,
|
|
14
|
+
} from '@bufbuild/protobuf/codegenv2';
|
|
15
|
+
import {
|
|
16
|
+
enumDesc,
|
|
17
|
+
fileDesc,
|
|
18
|
+
messageDesc,
|
|
19
|
+
serviceDesc,
|
|
20
|
+
} from '@bufbuild/protobuf/codegenv2';
|
|
21
|
+
import type { Message } from '@bufbuild/protobuf';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Describes the file tunnel/v1/tunnel.proto.
|
|
25
|
+
*/
|
|
26
|
+
export const file_tunnel_v1_tunnel: GenFile /*@__PURE__*/ = fileDesc(
|
|
27
|
+
'ChZ0dW5uZWwvdjEvdHVubmVsLnByb3RvEhh2ZXJjZWwuYXBpLmRldl90dW5uZWwudjEimwIKDkNvbm5lY3RSZXF1ZXN0Ei4KBGRhdGEYASABKAsyHi52ZXJjZWwuYXBpLmRldl90dW5uZWwudjEuRGF0YUgAEjAKBWNsb3NlGAIgASgLMh8udmVyY2VsLmFwaS5kZXZfdHVubmVsLnYxLkNsb3NlSAASMAoFcmVzZXQYAyABKAsyHy52ZXJjZWwuYXBpLmRldl90dW5uZWwudjEuUmVzZXRIABI4CgloZWFydGJlYXQYBCABKAsyIy52ZXJjZWwuYXBpLmRldl90dW5uZWwudjEuSGVhcnRiZWF0SAASMgoGd2luZG93GAUgASgLMiAudmVyY2VsLmFwaS5kZXZfdHVubmVsLnYxLldpbmRvd0gAQgcKBWZyYW1lIoYDCg9Db25uZWN0UmVzcG9uc2USLgoEb3BlbhgBIAEoCzIeLnZlcmNlbC5hcGkuZGV2X3R1bm5lbC52MS5PcGVuSAASLgoEZGF0YRgCIAEoCzIeLnZlcmNlbC5hcGkuZGV2X3R1bm5lbC52MS5EYXRhSAASMAoFY2xvc2UYAyABKAsyHy52ZXJjZWwuYXBpLmRldl90dW5uZWwudjEuQ2xvc2VIABIwCgVyZXNldBgEIAEoCzIfLnZlcmNlbC5hcGkuZGV2X3R1bm5lbC52MS5SZXNldEgAEjgKCWhlYXJ0YmVhdBgFIAEoCzIjLnZlcmNlbC5hcGkuZGV2X3R1bm5lbC52MS5IZWFydGJlYXRIABIyCgZ3aW5kb3cYBiABKAsyIC52ZXJjZWwuYXBpLmRldl90dW5uZWwudjEuV2luZG93SAASOAoJcmVjb25uZWN0GAcgASgLMiMudmVyY2VsLmFwaS5kZXZfdHVubmVsLnYxLlJlY29ubmVjdEgAQgcKBWZyYW1lIlsKBE9wZW4SDwoHY29ubl9pZBgBIAEoBBI0Cghwcm90b2NvbBgCIAEoDjIiLnZlcmNlbC5hcGkuZGV2X3R1bm5lbC52MS5Qcm90b2NvbBIMCgRwb3J0GAMgASgNIigKBERhdGESDwoHY29ubl9pZBgBIAEoBBIPCgdwYXlsb2FkGAIgASgMIhgKBUNsb3NlEg8KB2Nvbm5faWQYASABKAQiKAoFUmVzZXQSDwoHY29ubl9pZBgBIAEoBBIOCgZyZWFzb24YAiABKAkiKAoGV2luZG93Eg8KB2Nvbm5faWQYASABKAQSDQoFYnl0ZXMYAiABKA0iCwoJSGVhcnRiZWF0IgsKCVJlY29ubmVjdCJhCgtEaWFsUmVxdWVzdBI2CgZ0YXJnZXQYASABKAsyJC52ZXJjZWwuYXBpLmRldl90dW5uZWwudjEuRGlhbFRhcmdldEgAEhEKB3BheWxvYWQYAiABKAxIAEIHCgVmcmFtZSJQCgpEaWFsVGFyZ2V0EjQKCHByb3RvY29sGAEgASgOMiIudmVyY2VsLmFwaS5kZXZfdHVubmVsLnYxLlByb3RvY29sEgwKBHBvcnQYAiABKA0iXAoMRGlhbFJlc3BvbnNlEhEKB3BheWxvYWQYASABKAxIABIwCgNlbmQYAiABKAsyIS52ZXJjZWwuYXBpLmRldl90dW5uZWwudjEuRGlhbEVuZEgAQgcKBWZyYW1lIgkKB0RpYWxFbmQqNgoIUHJvdG9jb2wSGAoUUFJPVE9DT0xfVU5TUEVDSUZJRUQQABIQCgxQUk9UT0NPTF9UQ1AQATLOAQoNVHVubmVsU2VydmljZRJiCgdDb25uZWN0EigudmVyY2VsLmFwaS5kZXZfdHVubmVsLnYxLkNvbm5lY3RSZXF1ZXN0GikudmVyY2VsLmFwaS5kZXZfdHVubmVsLnYxLkNvbm5lY3RSZXNwb25zZSgBMAESWQoERGlhbBIlLnZlcmNlbC5hcGkuZGV2X3R1bm5lbC52MS5EaWFsUmVxdWVzdBomLnZlcmNlbC5hcGkuZGV2X3R1bm5lbC52MS5EaWFsUmVzcG9uc2UoATABYgZwcm90bzM'
|
|
28
|
+
);
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* CLI to service.
|
|
32
|
+
*
|
|
33
|
+
* @generated from message vercel.api.dev_tunnel.v1.ConnectRequest
|
|
34
|
+
*/
|
|
35
|
+
export type ConnectRequest =
|
|
36
|
+
Message<'vercel.api.dev_tunnel.v1.ConnectRequest'> & {
|
|
37
|
+
/**
|
|
38
|
+
* @generated from oneof vercel.api.dev_tunnel.v1.ConnectRequest.frame
|
|
39
|
+
*/
|
|
40
|
+
frame:
|
|
41
|
+
| {
|
|
42
|
+
/**
|
|
43
|
+
* @generated from field: vercel.api.dev_tunnel.v1.Data data = 1;
|
|
44
|
+
*/
|
|
45
|
+
value: Data;
|
|
46
|
+
case: 'data';
|
|
47
|
+
}
|
|
48
|
+
| {
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: vercel.api.dev_tunnel.v1.Close close = 2;
|
|
51
|
+
*/
|
|
52
|
+
value: Close;
|
|
53
|
+
case: 'close';
|
|
54
|
+
}
|
|
55
|
+
| {
|
|
56
|
+
/**
|
|
57
|
+
* @generated from field: vercel.api.dev_tunnel.v1.Reset reset = 3;
|
|
58
|
+
*/
|
|
59
|
+
value: Reset;
|
|
60
|
+
case: 'reset';
|
|
61
|
+
}
|
|
62
|
+
| {
|
|
63
|
+
/**
|
|
64
|
+
* @generated from field: vercel.api.dev_tunnel.v1.Heartbeat heartbeat = 4;
|
|
65
|
+
*/
|
|
66
|
+
value: Heartbeat;
|
|
67
|
+
case: 'heartbeat';
|
|
68
|
+
}
|
|
69
|
+
| {
|
|
70
|
+
/**
|
|
71
|
+
* @generated from field: vercel.api.dev_tunnel.v1.Window window = 5;
|
|
72
|
+
*/
|
|
73
|
+
value: Window;
|
|
74
|
+
case: 'window';
|
|
75
|
+
}
|
|
76
|
+
| { case: undefined; value?: undefined };
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Describes the message vercel.api.dev_tunnel.v1.ConnectRequest.
|
|
81
|
+
* Use `create(ConnectRequestSchema)` to create a new message.
|
|
82
|
+
*/
|
|
83
|
+
export const ConnectRequestSchema: GenMessage<ConnectRequest> /*@__PURE__*/ =
|
|
84
|
+
messageDesc(file_tunnel_v1_tunnel, 0);
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Service to CLI.
|
|
88
|
+
*
|
|
89
|
+
* @generated from message vercel.api.dev_tunnel.v1.ConnectResponse
|
|
90
|
+
*/
|
|
91
|
+
export type ConnectResponse =
|
|
92
|
+
Message<'vercel.api.dev_tunnel.v1.ConnectResponse'> & {
|
|
93
|
+
/**
|
|
94
|
+
* @generated from oneof vercel.api.dev_tunnel.v1.ConnectResponse.frame
|
|
95
|
+
*/
|
|
96
|
+
frame:
|
|
97
|
+
| {
|
|
98
|
+
/**
|
|
99
|
+
* @generated from field: vercel.api.dev_tunnel.v1.Open open = 1;
|
|
100
|
+
*/
|
|
101
|
+
value: Open;
|
|
102
|
+
case: 'open';
|
|
103
|
+
}
|
|
104
|
+
| {
|
|
105
|
+
/**
|
|
106
|
+
* @generated from field: vercel.api.dev_tunnel.v1.Data data = 2;
|
|
107
|
+
*/
|
|
108
|
+
value: Data;
|
|
109
|
+
case: 'data';
|
|
110
|
+
}
|
|
111
|
+
| {
|
|
112
|
+
/**
|
|
113
|
+
* @generated from field: vercel.api.dev_tunnel.v1.Close close = 3;
|
|
114
|
+
*/
|
|
115
|
+
value: Close;
|
|
116
|
+
case: 'close';
|
|
117
|
+
}
|
|
118
|
+
| {
|
|
119
|
+
/**
|
|
120
|
+
* @generated from field: vercel.api.dev_tunnel.v1.Reset reset = 4;
|
|
121
|
+
*/
|
|
122
|
+
value: Reset;
|
|
123
|
+
case: 'reset';
|
|
124
|
+
}
|
|
125
|
+
| {
|
|
126
|
+
/**
|
|
127
|
+
* @generated from field: vercel.api.dev_tunnel.v1.Heartbeat heartbeat = 5;
|
|
128
|
+
*/
|
|
129
|
+
value: Heartbeat;
|
|
130
|
+
case: 'heartbeat';
|
|
131
|
+
}
|
|
132
|
+
| {
|
|
133
|
+
/**
|
|
134
|
+
* @generated from field: vercel.api.dev_tunnel.v1.Window window = 6;
|
|
135
|
+
*/
|
|
136
|
+
value: Window;
|
|
137
|
+
case: 'window';
|
|
138
|
+
}
|
|
139
|
+
| {
|
|
140
|
+
/**
|
|
141
|
+
* @generated from field: vercel.api.dev_tunnel.v1.Reconnect reconnect = 7;
|
|
142
|
+
*/
|
|
143
|
+
value: Reconnect;
|
|
144
|
+
case: 'reconnect';
|
|
145
|
+
}
|
|
146
|
+
| { case: undefined; value?: undefined };
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Describes the message vercel.api.dev_tunnel.v1.ConnectResponse.
|
|
151
|
+
* Use `create(ConnectResponseSchema)` to create a new message.
|
|
152
|
+
*/
|
|
153
|
+
export const ConnectResponseSchema: GenMessage<ConnectResponse> /*@__PURE__*/ =
|
|
154
|
+
messageDesc(file_tunnel_v1_tunnel, 1);
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* A new conn. The CLI connects to `port` on the developer's machine, or resets
|
|
158
|
+
* the conn if it doesn't serve that port.
|
|
159
|
+
*
|
|
160
|
+
* @generated from message vercel.api.dev_tunnel.v1.Open
|
|
161
|
+
*/
|
|
162
|
+
export type Open = Message<'vercel.api.dev_tunnel.v1.Open'> & {
|
|
163
|
+
/**
|
|
164
|
+
* @generated from field: uint64 conn_id = 1;
|
|
165
|
+
*/
|
|
166
|
+
connId: bigint;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* @generated from field: vercel.api.dev_tunnel.v1.Protocol protocol = 2;
|
|
170
|
+
*/
|
|
171
|
+
protocol: Protocol;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* @generated from field: uint32 port = 3;
|
|
175
|
+
*/
|
|
176
|
+
port: number;
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Describes the message vercel.api.dev_tunnel.v1.Open.
|
|
181
|
+
* Use `create(OpenSchema)` to create a new message.
|
|
182
|
+
*/
|
|
183
|
+
export const OpenSchema: GenMessage<Open> /*@__PURE__*/ = messageDesc(
|
|
184
|
+
file_tunnel_v1_tunnel,
|
|
185
|
+
2
|
|
186
|
+
);
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* No more than the conn's window allows (see Window).
|
|
190
|
+
*
|
|
191
|
+
* @generated from message vercel.api.dev_tunnel.v1.Data
|
|
192
|
+
*/
|
|
193
|
+
export type Data = Message<'vercel.api.dev_tunnel.v1.Data'> & {
|
|
194
|
+
/**
|
|
195
|
+
* @generated from field: uint64 conn_id = 1;
|
|
196
|
+
*/
|
|
197
|
+
connId: bigint;
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* @generated from field: bytes payload = 2;
|
|
201
|
+
*/
|
|
202
|
+
payload: Uint8Array;
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Describes the message vercel.api.dev_tunnel.v1.Data.
|
|
207
|
+
* Use `create(DataSchema)` to create a new message.
|
|
208
|
+
*/
|
|
209
|
+
export const DataSchema: GenMessage<Data> /*@__PURE__*/ = messageDesc(
|
|
210
|
+
file_tunnel_v1_tunnel,
|
|
211
|
+
3
|
|
212
|
+
);
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* The sender has nothing more to send (TCP half-close). A conn is over once
|
|
216
|
+
* both sides have closed, or either has reset.
|
|
217
|
+
*
|
|
218
|
+
* @generated from message vercel.api.dev_tunnel.v1.Close
|
|
219
|
+
*/
|
|
220
|
+
export type Close = Message<'vercel.api.dev_tunnel.v1.Close'> & {
|
|
221
|
+
/**
|
|
222
|
+
* @generated from field: uint64 conn_id = 1;
|
|
223
|
+
*/
|
|
224
|
+
connId: bigint;
|
|
225
|
+
};
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Describes the message vercel.api.dev_tunnel.v1.Close.
|
|
229
|
+
* Use `create(CloseSchema)` to create a new message.
|
|
230
|
+
*/
|
|
231
|
+
export const CloseSchema: GenMessage<Close> /*@__PURE__*/ = messageDesc(
|
|
232
|
+
file_tunnel_v1_tunnel,
|
|
233
|
+
4
|
|
234
|
+
);
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Abandons the conn in both directions, e.g. connection refused.
|
|
238
|
+
*
|
|
239
|
+
* @generated from message vercel.api.dev_tunnel.v1.Reset
|
|
240
|
+
*/
|
|
241
|
+
export type Reset = Message<'vercel.api.dev_tunnel.v1.Reset'> & {
|
|
242
|
+
/**
|
|
243
|
+
* @generated from field: uint64 conn_id = 1;
|
|
244
|
+
*/
|
|
245
|
+
connId: bigint;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* @generated from field: string reason = 2;
|
|
249
|
+
*/
|
|
250
|
+
reason: string;
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* Describes the message vercel.api.dev_tunnel.v1.Reset.
|
|
255
|
+
* Use `create(ResetSchema)` to create a new message.
|
|
256
|
+
*/
|
|
257
|
+
export const ResetSchema: GenMessage<Reset> /*@__PURE__*/ = messageDesc(
|
|
258
|
+
file_tunnel_v1_tunnel,
|
|
259
|
+
5
|
|
260
|
+
);
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* Lets the peer send `bytes` more of a conn's Data, as the sender of this
|
|
264
|
+
* consumes what it received. Each side starts each conn able to send 256 KiB.
|
|
265
|
+
* A client that sends past its window, or grants back more than it was sent,
|
|
266
|
+
* has the conn reset.
|
|
267
|
+
*
|
|
268
|
+
* @generated from message vercel.api.dev_tunnel.v1.Window
|
|
269
|
+
*/
|
|
270
|
+
export type Window = Message<'vercel.api.dev_tunnel.v1.Window'> & {
|
|
271
|
+
/**
|
|
272
|
+
* @generated from field: uint64 conn_id = 1;
|
|
273
|
+
*/
|
|
274
|
+
connId: bigint;
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* @generated from field: uint32 bytes = 2;
|
|
278
|
+
*/
|
|
279
|
+
bytes: number;
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Describes the message vercel.api.dev_tunnel.v1.Window.
|
|
284
|
+
* Use `create(WindowSchema)` to create a new message.
|
|
285
|
+
*/
|
|
286
|
+
export const WindowSchema: GenMessage<Window> /*@__PURE__*/ = messageDesc(
|
|
287
|
+
file_tunnel_v1_tunnel,
|
|
288
|
+
6
|
|
289
|
+
);
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* Sent both ways every 30s, inside the ALB's idle timeout. The service drops a
|
|
293
|
+
* client it hasn't heard from in three. The service also sends one as soon as
|
|
294
|
+
* a Connect stream holds the tunnel, so the CLI knows it's live.
|
|
295
|
+
*
|
|
296
|
+
* @generated from message vercel.api.dev_tunnel.v1.Heartbeat
|
|
297
|
+
*/
|
|
298
|
+
export type Heartbeat = Message<'vercel.api.dev_tunnel.v1.Heartbeat'> & {};
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* Describes the message vercel.api.dev_tunnel.v1.Heartbeat.
|
|
302
|
+
* Use `create(HeartbeatSchema)` to create a new message.
|
|
303
|
+
*/
|
|
304
|
+
export const HeartbeatSchema: GenMessage<Heartbeat> /*@__PURE__*/ = messageDesc(
|
|
305
|
+
file_tunnel_v1_tunnel,
|
|
306
|
+
7
|
|
307
|
+
);
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* This pod is shutting down. The CLI opens a new stream now, and keeps this one
|
|
311
|
+
* until the service ends it: it still carries the conns already open on it.
|
|
312
|
+
*
|
|
313
|
+
* @generated from message vercel.api.dev_tunnel.v1.Reconnect
|
|
314
|
+
*/
|
|
315
|
+
export type Reconnect = Message<'vercel.api.dev_tunnel.v1.Reconnect'> & {};
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* Describes the message vercel.api.dev_tunnel.v1.Reconnect.
|
|
319
|
+
* Use `create(ReconnectSchema)` to create a new message.
|
|
320
|
+
*/
|
|
321
|
+
export const ReconnectSchema: GenMessage<Reconnect> /*@__PURE__*/ = messageDesc(
|
|
322
|
+
file_tunnel_v1_tunnel,
|
|
323
|
+
8
|
|
324
|
+
);
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* @generated from message vercel.api.dev_tunnel.v1.DialRequest
|
|
328
|
+
*/
|
|
329
|
+
export type DialRequest = Message<'vercel.api.dev_tunnel.v1.DialRequest'> & {
|
|
330
|
+
/**
|
|
331
|
+
* @generated from oneof vercel.api.dev_tunnel.v1.DialRequest.frame
|
|
332
|
+
*/
|
|
333
|
+
frame:
|
|
334
|
+
| {
|
|
335
|
+
/**
|
|
336
|
+
* First message only.
|
|
337
|
+
*
|
|
338
|
+
* @generated from field: vercel.api.dev_tunnel.v1.DialTarget target = 1;
|
|
339
|
+
*/
|
|
340
|
+
value: DialTarget;
|
|
341
|
+
case: 'target';
|
|
342
|
+
}
|
|
343
|
+
| {
|
|
344
|
+
/**
|
|
345
|
+
* @generated from field: bytes payload = 2;
|
|
346
|
+
*/
|
|
347
|
+
value: Uint8Array;
|
|
348
|
+
case: 'payload';
|
|
349
|
+
}
|
|
350
|
+
| { case: undefined; value?: undefined };
|
|
351
|
+
};
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* Describes the message vercel.api.dev_tunnel.v1.DialRequest.
|
|
355
|
+
* Use `create(DialRequestSchema)` to create a new message.
|
|
356
|
+
*/
|
|
357
|
+
export const DialRequestSchema: GenMessage<DialRequest> /*@__PURE__*/ =
|
|
358
|
+
messageDesc(file_tunnel_v1_tunnel, 9);
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* @generated from message vercel.api.dev_tunnel.v1.DialTarget
|
|
362
|
+
*/
|
|
363
|
+
export type DialTarget = Message<'vercel.api.dev_tunnel.v1.DialTarget'> & {
|
|
364
|
+
/**
|
|
365
|
+
* @generated from field: vercel.api.dev_tunnel.v1.Protocol protocol = 1;
|
|
366
|
+
*/
|
|
367
|
+
protocol: Protocol;
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* @generated from field: uint32 port = 2;
|
|
371
|
+
*/
|
|
372
|
+
port: number;
|
|
373
|
+
};
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* Describes the message vercel.api.dev_tunnel.v1.DialTarget.
|
|
377
|
+
* Use `create(DialTargetSchema)` to create a new message.
|
|
378
|
+
*/
|
|
379
|
+
export const DialTargetSchema: GenMessage<DialTarget> /*@__PURE__*/ =
|
|
380
|
+
messageDesc(file_tunnel_v1_tunnel, 10);
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* @generated from message vercel.api.dev_tunnel.v1.DialResponse
|
|
384
|
+
*/
|
|
385
|
+
export type DialResponse = Message<'vercel.api.dev_tunnel.v1.DialResponse'> & {
|
|
386
|
+
/**
|
|
387
|
+
* @generated from oneof vercel.api.dev_tunnel.v1.DialResponse.frame
|
|
388
|
+
*/
|
|
389
|
+
frame:
|
|
390
|
+
| {
|
|
391
|
+
/**
|
|
392
|
+
* @generated from field: bytes payload = 1;
|
|
393
|
+
*/
|
|
394
|
+
value: Uint8Array;
|
|
395
|
+
case: 'payload';
|
|
396
|
+
}
|
|
397
|
+
| {
|
|
398
|
+
/**
|
|
399
|
+
* The developer's side has nothing more to send. Sent once; more payload
|
|
400
|
+
* may still go the other way.
|
|
401
|
+
*
|
|
402
|
+
* @generated from field: vercel.api.dev_tunnel.v1.DialEnd end = 2;
|
|
403
|
+
*/
|
|
404
|
+
value: DialEnd;
|
|
405
|
+
case: 'end';
|
|
406
|
+
}
|
|
407
|
+
| { case: undefined; value?: undefined };
|
|
408
|
+
};
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* Describes the message vercel.api.dev_tunnel.v1.DialResponse.
|
|
412
|
+
* Use `create(DialResponseSchema)` to create a new message.
|
|
413
|
+
*/
|
|
414
|
+
export const DialResponseSchema: GenMessage<DialResponse> /*@__PURE__*/ =
|
|
415
|
+
messageDesc(file_tunnel_v1_tunnel, 11);
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* @generated from message vercel.api.dev_tunnel.v1.DialEnd
|
|
419
|
+
*/
|
|
420
|
+
export type DialEnd = Message<'vercel.api.dev_tunnel.v1.DialEnd'> & {};
|
|
421
|
+
|
|
422
|
+
/**
|
|
423
|
+
* Describes the message vercel.api.dev_tunnel.v1.DialEnd.
|
|
424
|
+
* Use `create(DialEndSchema)` to create a new message.
|
|
425
|
+
*/
|
|
426
|
+
export const DialEndSchema: GenMessage<DialEnd> /*@__PURE__*/ = messageDesc(
|
|
427
|
+
file_tunnel_v1_tunnel,
|
|
428
|
+
12
|
|
429
|
+
);
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* @generated from enum vercel.api.dev_tunnel.v1.Protocol
|
|
433
|
+
*/
|
|
434
|
+
export enum Protocol {
|
|
435
|
+
/**
|
|
436
|
+
* @generated from enum value: PROTOCOL_UNSPECIFIED = 0;
|
|
437
|
+
*/
|
|
438
|
+
UNSPECIFIED = 0,
|
|
439
|
+
|
|
440
|
+
/**
|
|
441
|
+
* @generated from enum value: PROTOCOL_TCP = 1;
|
|
442
|
+
*/
|
|
443
|
+
TCP = 1,
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* Describes the enum vercel.api.dev_tunnel.v1.Protocol.
|
|
448
|
+
*/
|
|
449
|
+
export const ProtocolSchema: GenEnum<Protocol> /*@__PURE__*/ = enumDesc(
|
|
450
|
+
file_tunnel_v1_tunnel,
|
|
451
|
+
0
|
|
452
|
+
);
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* Relays TCP connections between the tunnel's deployment and the developer's
|
|
456
|
+
* machine. Payloads are opaque bytes; nothing here interprets them.
|
|
457
|
+
*
|
|
458
|
+
* @generated from service vercel.api.dev_tunnel.v1.TunnelService
|
|
459
|
+
*/
|
|
460
|
+
export const TunnelService: GenService<{
|
|
461
|
+
/**
|
|
462
|
+
* The stream `vc dev --tunnel` holds open, carrying every conn the
|
|
463
|
+
* deployment dials. Authenticated with the client token
|
|
464
|
+
* (`authorization: Bearer`), which the next create-session replaces: a CLI
|
|
465
|
+
* refused with UNAUTHENTICATED on a reconnect asks for a new one.
|
|
466
|
+
*
|
|
467
|
+
* One client per tunnel: another stream fails with ALREADY_EXISTS, unless it
|
|
468
|
+
* carries the same `x-vercel-dev-tunnel-instance` (1 to 64 letters, digits
|
|
469
|
+
* or dashes, one per CLI process). Then it replaces the old stream, which
|
|
470
|
+
* ends with ABORTED, so a CLI can reconnect while its old stream is still
|
|
471
|
+
* open on the service. The CLI sends a Heartbeat at least every 30s; a
|
|
472
|
+
* stream silent for three ends with DEADLINE_EXCEEDED, and one ending with
|
|
473
|
+
* UNAVAILABLE means reconnect. A CLI that stops reading the stream while
|
|
474
|
+
* the service has frames for it has it end with RESOURCE_EXHAUSTED.
|
|
475
|
+
*
|
|
476
|
+
* A pod shutting down sends Reconnect and refuses new streams with
|
|
477
|
+
* UNAVAILABLE. Once the CLI's new stream holds the tunnel elsewhere, the old
|
|
478
|
+
* one gets no new conns and ends with ABORTED when its open ones are done.
|
|
479
|
+
*
|
|
480
|
+
* @generated from rpc vercel.api.dev_tunnel.v1.TunnelService.Connect
|
|
481
|
+
*/
|
|
482
|
+
connect: {
|
|
483
|
+
methodKind: 'bidi_streaming';
|
|
484
|
+
input: typeof ConnectRequestSchema;
|
|
485
|
+
output: typeof ConnectResponseSchema;
|
|
486
|
+
};
|
|
487
|
+
/**
|
|
488
|
+
* One conn from the deployment: a TCP connection to a port on the
|
|
489
|
+
* developer's machine. The first message is the target; the rest carry
|
|
490
|
+
* payload. Ending the request stream half-closes the conn, and `end` says the
|
|
491
|
+
* developer's side has; the call ends once both have, and fails if either
|
|
492
|
+
* side resets. With no client connected, it waits up to 5s for one, then
|
|
493
|
+
* fails with UNAVAILABLE. A tunnel carries at most 256 conns at once; more
|
|
494
|
+
* wait up to 30s for one to end, then fail with RESOURCE_EXHAUSTED, as do
|
|
495
|
+
* any past 256 waiting. Authenticated with the server token
|
|
496
|
+
* (`authorization: Bearer`).
|
|
497
|
+
*
|
|
498
|
+
* @generated from rpc vercel.api.dev_tunnel.v1.TunnelService.Dial
|
|
499
|
+
*/
|
|
500
|
+
dial: {
|
|
501
|
+
methodKind: 'bidi_streaming';
|
|
502
|
+
input: typeof DialRequestSchema;
|
|
503
|
+
output: typeof DialResponseSchema;
|
|
504
|
+
};
|
|
505
|
+
}> /*@__PURE__*/ = serviceDesc(file_tunnel_v1_tunnel, 0);
|