cf 1.0.0-beta.6 → 1.0.0-beta.7
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/_meta/commands.json +119 -218
- package/dist/_meta/schemas.json +77 -126
- package/dist/{abuse-reports-BtI6fvRl.mjs → abuse-reports-D7Hrm0MV.mjs} +1 -1
- package/dist/{access-CqOyTHw4.mjs → access-_upGyV1N.mjs} +1 -1
- package/dist/{account-tags-7I77Dwsd.mjs → account-tags-CrijxKW6.mjs} +2 -2
- package/dist/{accounts-Cq-eOPzL.mjs → accounts-Db5SMjh2.mjs} +1 -1
- package/dist/{acm-CSXnlN6o.mjs → acm-9cXKVj2C.mjs} +1 -1
- package/dist/{addressing-C5XvjNhk.mjs → addressing-D_FtdMEM.mjs} +1 -1
- package/dist/{agent-memory-CSzr9gty.mjs → agent-memory-BygNv4aJ.mjs} +1 -1
- package/dist/{ai-C0xWIvsG.mjs → ai-D-55e3UD.mjs} +3 -3
- package/dist/{ai-audit-B43vm1KJ.mjs → ai-audit-DDQ68vrA.mjs} +1 -1
- package/dist/{ai-gateway-BK3MbIzT.mjs → ai-gateway-sP2B_8Ef.mjs} +1 -1
- package/dist/{ai-search-TrFTxBbn.mjs → ai-search-DvMUOhub.mjs} +1 -1
- package/dist/{ai-security-JrYa27qd.mjs → ai-security-BVWVxZmP.mjs} +1 -1
- package/dist/{alerting-B1-ZwfVT.mjs → alerting-DZ9gxuKS.mjs} +1 -1
- package/dist/{analytics-B-wlVtDV.mjs → analytics-Y2xckwX1.mjs} +1 -1
- package/dist/{analytics_engine-DWzzQzOs.mjs → analytics_engine-A8gMyUty.mjs} +1 -1
- package/dist/{api-security-BWFWWmXl.mjs → api-security-CNMyTBs-.mjs} +1 -1
- package/dist/{argo-DHPGTvCT.mjs → argo-Be_3wk6n.mjs} +1 -1
- package/dist/{artifacts-mmBDk3wO.mjs → artifacts-B8roQjRg.mjs} +1 -1
- package/dist/{audit-logs-CCF5e500.mjs → audit-logs-DgkSAyTu.mjs} +1 -1
- package/dist/{auth-Dnp10uLy.mjs → auth-B74oTm3b.mjs} +1 -1
- package/dist/{auth-gOCL6Pm0.mjs → auth-CHTMVVW3.mjs} +2 -2
- package/dist/{autoconfig-DqEPKpj0.mjs → autoconfig-DXXV-Xyz.mjs} +1 -1
- package/dist/{basin-catalog-hRY01t_Z.mjs → basin-catalog-85ubk7YB.mjs} +20 -18
- package/dist/{billing-C_ev-9nh.mjs → billing-Cc6_LzwM.mjs} +1 -1
- package/dist/{bot-management-CyYsXkZt.mjs → bot-management-DSJtyyh_.mjs} +1 -1
- package/dist/{botnet-feed-Dj5R5v2o.mjs → botnet-feed-BkhLL1Oz.mjs} +1 -1
- package/dist/{brand-protection-CmQ6Iu0I.mjs → brand-protection-Bldu6Tvz.mjs} +1 -1
- package/dist/{browser-run-sWHTsCSB.mjs → browser-run-B_0Fh5Cg.mjs} +1 -1
- package/dist/{build-_qqitpn0.mjs → build-SxtWgMkQ.mjs} +1 -1
- package/dist/build-VB6btUkb.mjs +2 -0
- package/dist/{builds-c21rTfcg.mjs → builds-BwP-UvyR.mjs} +1 -1
- package/dist/{cache-CuNjJl6m.mjs → cache-DQDer_pF.mjs} +1 -1
- package/dist/{certificate-authorities-DRUUzvI3.mjs → certificate-authorities-Dfc0QVyT.mjs} +1 -1
- package/dist/{cf-O3gEaXYZ.mjs → cf-Dw3HK_Qy.mjs} +2 -2
- package/dist/chunk-FT2NMTJB-1VFYM1Ro.mjs +97 -0
- package/dist/chunk-KKDV4JPS-DdzLLtnl.mjs +2 -0
- package/dist/{cli-Caa776EB.mjs → cli-B0_EbPK6.mjs} +1 -1
- package/dist/{client-certificates-BSi1CEGk.mjs → client-certificates-BVfmuFsa.mjs} +1 -1
- package/dist/{client-side-security-BdxUX3Y8.mjs → client-side-security-DiaSjw1y.mjs} +1 -1
- package/dist/{cloud-connector-B46ajuAj.mjs → cloud-connector-B6iUAIzF.mjs} +1 -1
- package/dist/{cloudflared-Ciq4L97v.mjs → cloudflared-C4KjWoEY.mjs} +1 -1
- package/dist/{cloudforce-one-adbVR2Ah.mjs → cloudforce-one-B2PweUyv.mjs} +1 -1
- package/dist/{command-C2bU5Etc.mjs → command-8lsstsSi.mjs} +1 -1
- package/dist/{command-BmXnByw9.mjs → command-BC7oCgWp.mjs} +1 -1
- package/dist/{command-DV196MKR.mjs → command-BOktUlKN.mjs} +1 -1
- package/dist/{command-eBmGBTA7.mjs → command-Bi0InjEd.mjs} +1 -1
- package/dist/{command-Bw-M_qxb.mjs → command-BtmIP6e1.mjs} +1 -1
- package/dist/{command-CkJvjkfK.mjs → command-CNfYJjg7.mjs} +1 -1
- package/dist/{command-B5Itp2BM.mjs → command-CnEF-7o0.mjs} +1 -1
- package/dist/{command-B47VlNBp.mjs → command-CrS8Q6U3.mjs} +1 -1
- package/dist/{command-CVg0qT13.mjs → command-CvzUv83h.mjs} +1 -1
- package/dist/{command-CRgQ0dM3.mjs → command-CzzAaOGK.mjs} +1 -1
- package/dist/{command-Du3MiYA7.mjs → command-D1S9Z0gV.mjs} +1 -1
- package/dist/{command-eqgT8zz4.mjs → command-DVSwnnMJ.mjs} +1 -1
- package/dist/{command-D1Z5uf_S.mjs → command-WCtue6i1.mjs} +1 -1
- package/dist/{command-CHcCSvVz.mjs → command-WrVIhg73.mjs} +1 -1
- package/dist/{completions-DbT6O2ol.mjs → completions-UDpzduKn.mjs} +1 -1
- package/dist/{connector-interrupts-BhfMiPcq.mjs → connector-interrupts-47IuSZFG.mjs} +1 -1
- package/dist/{connector-telemetry-events-CxKECRgO.mjs → connector-telemetry-events-BQb3Hsnt.mjs} +1 -1
- package/dist/{connector-telemetry-snapshots-BHi-jHE5.mjs → connector-telemetry-snapshots-CeFJqT4_.mjs} +1 -1
- package/dist/{connectors-gkP2aNSN.mjs → connectors-CF9n8yHv.mjs} +1 -1
- package/dist/{containers-BY8pinEV.mjs → containers-D4pJisp-.mjs} +7 -7
- package/dist/{containers-DUvBpnRo.mjs → containers-DBs5P8vO.mjs} +1 -1
- package/dist/{content-scan-BCPhAjMZ.mjs → content-scan-DLdl9ZpM.mjs} +1 -1
- package/dist/{context-CE7QFX-z.mjs → context-C71TA0Yp.mjs} +1 -1
- package/dist/{cps-B35EPUAk.mjs → cps-X4HFj7Qw.mjs} +1 -1
- package/dist/{csamScanner-DcTA9oLR.mjs → csamScanner-tkB73Sgi.mjs} +1 -1
- package/dist/{ct-alerting-B3CS-CPk.mjs → ct-alerting-HDZJVnZS.mjs} +1 -1
- package/dist/{custom-certificates-IjJJhl7_.mjs → custom-certificates-ClGBR4Oo.mjs} +1 -1
- package/dist/{custom-csrs-ChYOaEQg.mjs → custom-csrs-D3b2bNiX.mjs} +1 -1
- package/dist/{custom-hostnames-Bai3cqAD.mjs → custom-hostnames-CWyObX98.mjs} +1 -1
- package/dist/{custom-nameservers-DsukmLNZ.mjs → custom-nameservers-Di8z6ioQ.mjs} +1 -1
- package/dist/{custom-pages-CiboX-9D.mjs → custom-pages-D2l1rZfJ.mjs} +1 -1
- package/dist/{d1-s293SFAJ.mjs → d1-aDiX5BdB.mjs} +1 -1
- package/dist/{dcv-delegation-BfgvmpQT.mjs → dcv-delegation-D-vyZC0M.mjs} +1 -1
- package/dist/{deploy-CvxNMDbS.mjs → deploy-DBmw0fiq.mjs} +1 -1
- package/dist/{deploy-input-CNrImP7B.mjs → deploy-input-DxuYgPps.mjs} +1 -1
- package/dist/{dev-Z6vYszaT.mjs → dev-SpCmvb4M.mjs} +1 -1
- package/dist/{diagnostics-Ops0RjxG.mjs → diagnostics-nRYcfs30.mjs} +1 -1
- package/dist/dist-BuCJ_55d.mjs +366 -0
- package/dist/{dist-Dgnf_i4w.mjs → dist-Du72beRE.mjs} +3 -3
- package/dist/{dls-uo7NYEqE.mjs → dls-CANrS9Ke.mjs} +1 -1
- package/dist/{dns-B-NwBOpQ.mjs → dns-Vt3Dc_Vu.mjs} +1 -1
- package/dist/{dns-firewall-LTIP13nb.mjs → dns-firewall-CVSEaJZY.mjs} +1 -1
- package/dist/{durable-objects-o7uB3YYg.mjs → durable-objects-B-e7xqhL.mjs} +1 -1
- package/dist/{email-auth-BUdBDCaE.mjs → email-auth-hUz_5D2H.mjs} +1 -1
- package/dist/{email-routing-BPRliM3z.mjs → email-routing-By5Q7zP0.mjs} +1 -1
- package/dist/{email-security-dbLE3I5c.mjs → email-security-C9VhlZkz.mjs} +1 -1
- package/dist/{email-sending-BLlGy5Mn.mjs → email-sending-C7cVl025.mjs} +1 -1
- package/dist/{error-sanitization-CcNUzN1f.mjs → error-sanitization-BXqhvJsR.mjs} +1 -1
- package/dist/error-sanitization-CSlapZbU.mjs +2 -0
- package/dist/{fieldExtractors-M-KfLOGw.mjs → fieldExtractors-DMdnj9KA.mjs} +1 -1
- package/dist/{firewall-DzbLwqo3.mjs → firewall-C93JnCsO.mjs} +1 -1
- package/dist/{flagship-DcXWEywy.mjs → flagship-CVZWzLTv.mjs} +1 -1
- package/dist/{fraud-CGXRWANi.mjs → fraud-DJ3jnp3_.mjs} +1 -1
- package/dist/{google-tag-gateway-B3Z3Puwl.mjs → google-tag-gateway-DbE_3TkF.mjs} +1 -1
- package/dist/{healthchecks-BIiV29q7.mjs → healthchecks-DKWTVerg.mjs} +1 -1
- package/dist/{hostnames-ueWsZFwv.mjs → hostnames-VNPfazJd.mjs} +1 -1
- package/dist/hyperdrive-BKtLQf8J.mjs +37 -0
- package/dist/{iam-kA9gcv79.mjs → iam-BsZ7ORd5.mjs} +1 -1
- package/dist/{images-CK4J5as7.mjs → images-Bd3lRkGK.mjs} +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{init-COcG8sp5.mjs → init-D9pazuYJ.mjs} +1 -1
- package/dist/{intel-z7DkM9Xc.mjs → intel-ropzhmya.mjs} +1 -1
- package/dist/{ips-BXdBK4Co.mjs → ips-85Mq1qXg.mjs} +1 -1
- package/dist/{keyless-certificates-Dp9xTYtD.mjs → keyless-certificates-CRzCJ82O.mjs} +1 -1
- package/dist/{keys-DrVlj4VI.mjs → keys-CWUCTmsD.mjs} +1 -1
- package/dist/{kv-WX-dlUT1.mjs → kv-BT2uSv-y.mjs} +1 -1
- package/dist/{lazy-command-g04RHlS2.mjs → lazy-command-DjCioGYx.mjs} +1 -1
- package/dist/{leaked-credential-checks-BMQ0VhCd.mjs → leaked-credential-checks-DjDq1Toq.mjs} +1 -1
- package/dist/{load-balancers-BbkSL89c.mjs → load-balancers--4Ouz99G.mjs} +1 -1
- package/dist/{local-Cyk8fPvL.mjs → local-C9i1d0ma.mjs} +1 -1
- package/dist/local-j2uOZ8Uq.mjs +2 -0
- package/dist/{local-runtime-CWWJJB2E.mjs → local-runtime-WQyZe3ed.mjs} +1 -1
- package/dist/{login-DYQ8UgJQ.mjs → login-BDFpobb3.mjs} +1 -1
- package/dist/{login-CyU_ZTNI.mjs → login-CHjklzf2.mjs} +1 -1
- package/dist/{logo-matches-HFmD2hK6.mjs → logo-matches-DVQfRSCD.mjs} +1 -1
- package/dist/{logos-Di2PABE_.mjs → logos-BUEuiGuz.mjs} +1 -1
- package/dist/{logpush-DEqdt0I0.mjs → logpush-cKUA9fBU.mjs} +1 -1
- package/dist/{logs-Ckfw-3Q_.mjs → logs-2OJeMqWG.mjs} +3 -4
- package/dist/{magic-cloud-networking-C0yBJKMb.mjs → magic-cloud-networking-D29ITjYQ.mjs} +1 -1
- package/dist/{magic-network-monitoring-CLvaiI7s.mjs → magic-network-monitoring-Bva_tF2u.mjs} +1 -1
- package/dist/{magic-transit-Bhb1kxYj.mjs → magic-transit-DG_ZmEzW.mjs} +1 -1
- package/dist/{managed-defense-COL3aqXw.mjs → managed-defense-xGCISaB_.mjs} +1 -1
- package/dist/{managed-transforms-cK0strTK.mjs → managed-transforms-DDgqNWVJ.mjs} +1 -1
- package/dist/{matches-Df4WEz0x.mjs → matches-CxWA1zUN.mjs} +1 -1
- package/dist/{mcp-DK_5OUVl.mjs → mcp-DVoYs5z5.mjs} +1 -1
- package/dist/{mesh-CVXpTYED.mjs → mesh-qenm6AM4.mjs} +1 -1
- package/dist/{monetization-BHk0S5BF.mjs → monetization-CUWtxI_y.mjs} +1 -1
- package/dist/{mtls-certificates-8pzdxzOX.mjs → mtls-certificates-xUIkGtmX.mjs} +1 -1
- package/dist/{network-ClNeXTvG.mjs → network-Y8kCdzJC.mjs} +1 -1
- package/dist/{network-interconnects-t3jSoV7o.mjs → network-interconnects-CEvvsGwX.mjs} +1 -1
- package/dist/{oauth-CNSirGUu.mjs → oauth-J2zz9fHk.mjs} +1 -1
- package/dist/{oauth-clients-DBxdvlJC.mjs → oauth-clients-B7qfaBLY.mjs} +1 -1
- package/dist/{oauth-scopes-D39GYkt6.mjs → oauth-scopes-D7_xDwvo.mjs} +1 -1
- package/dist/{oauth-CJamdfrC.mjs → oauth-vj6qkLCC.mjs} +1 -1
- package/dist/{observability-ZV1yPflB.mjs → observability-_aI_XF0M.mjs} +1 -1
- package/dist/{organization-Bk-TkQlB.mjs → organization-C41nlZcO.mjs} +1 -1
- package/dist/{organizations-hXITNpPl.mjs → organizations-D15_q5u6.mjs} +1 -1
- package/dist/{origin-ca-certificates-DsLR_Z2e.mjs → origin-ca-certificates-DGSGDaNw.mjs} +1 -1
- package/dist/{origin-post-quantum-encryption-C_egsVQu.mjs → origin-post-quantum-encryption-C_9NBBkG.mjs} +1 -1
- package/dist/{origin-tls-client-auth-DPG6A6kz.mjs → origin-tls-client-auth-Dh9vTi_F.mjs} +1 -1
- package/dist/{page-rules-B8lrkiiF.mjs → page-rules-CWZJaKuz.mjs} +1 -1
- package/dist/{pages-Cx4doLvQ.mjs → pages-CVlGF6mj.mjs} +1 -1
- package/dist/{pay-per-crawl-BUVHqPPA.mjs → pay-per-crawl-BJ10CSH9.mjs} +1 -1
- package/dist/{pay-per-use-CzYgryid.mjs → pay-per-use-B3eQmzWv.mjs} +1 -1
- package/dist/{pipelines-CGHmwc4a.mjs → pipelines-VhDz1fDL.mjs} +1 -1
- package/dist/{precursor--Jim5u4y.mjs → precursor-CvYpYouB.mjs} +1 -1
- package/dist/{previews-BKO1pZyG.mjs → previews-CJHqRKPF.mjs} +1 -1
- package/dist/{progress-CRjK46r1.mjs → progress-BlxgG8Ss.mjs} +1 -1
- package/dist/{prompt-C_90YsVE.mjs → prompt-ClEoR47s.mjs} +1 -1
- package/dist/{queries-z2pjzXlA.mjs → queries-8m5UOv21.mjs} +1 -1
- package/dist/{queues-D0IXxSa7.mjs → queues-C8P3RI-3.mjs} +1 -1
- package/dist/{r2-DQ7w9dCM.mjs → r2-ChQ_GZA7.mjs} +27 -34
- package/dist/{radar-DyLO7Zg1.mjs → radar-B9PnH7nW.mjs} +1 -1
- package/dist/{raw-fetch-C8SdmQBp.mjs → raw-fetch-CWRDTVMr.mjs} +1 -1
- package/dist/{realtime-mQzLbDxe.mjs → realtime-31GZpgm5.mjs} +1 -1
- package/dist/{registrar-ClbtM5Dy.mjs → registrar-fBw5wh-I.mjs} +1 -1
- package/dist/{registrar-sandbox-BIEHm_Jp.mjs → registrar-sandbox-Bcr5l7Js.mjs} +1 -1
- package/dist/{registry-CSv7HR1J.mjs → registry-rtPfnFht.mjs} +1 -1
- package/dist/{reporting-CjkMzSsZ.mjs → reporting-BfpNLeGh.mjs} +1 -1
- package/dist/{request-headers-jr2VznA9.mjs → request-headers-DmiSqfLo.mjs} +1 -1
- package/dist/{request-tracers-BoSXOTox.mjs → request-tracers-DCpDftuC.mjs} +1 -1
- package/dist/{resource-sharing-CFS39nJq.mjs → resource-sharing-D-OCBlIj.mjs} +1 -1
- package/dist/{resource-tagging-CZ5mvMhE.mjs → resource-tagging-DCn8TwS0.mjs} +1 -1
- package/dist/{rules-CfqumI45.mjs → rules-DHeYlXlI.mjs} +1 -1
- package/dist/{rulesets-o3jsPv4U.mjs → rulesets-BMv5GVEt.mjs} +1 -1
- package/dist/{rum-BZ0rYlun.mjs → rum-CaTeqDsB.mjs} +1 -1
- package/dist/run-BJmOnVJI.mjs +2 -0
- package/dist/run-l2pCxS-W.mjs +2 -0
- package/dist/{schema-flags-nL7pHvaE.mjs → schema-flags-DBujG5kJ.mjs} +1 -1
- package/dist/{scim-0-eR9pvC.mjs → scim-DHwWD1nA.mjs} +1 -1
- package/dist/{sdk-Bmz7t_CD.mjs → sdk-DzVznUuv.mjs} +1 -1
- package/dist/{secrets-store-Duc29Zs-.mjs → secrets-store-DoH9JnqC.mjs} +1 -1
- package/dist/{security-insights-5CuLC-Yo.mjs → security-insights-oqJuf8MY.mjs} +1 -1
- package/dist/{security-txt-qm2PqCPz.mjs → security-txt-BY07I5Bx.mjs} +1 -1
- package/dist/{session-CjQFm10R.mjs → session-CZTuHcbm.mjs} +1 -1
- package/dist/{shared-BDIrEKWt.mjs → shared-D0PR8DbO.mjs} +1 -1
- package/dist/{smart-shield-BXLH9OM0.mjs → smart-shield-g5UHGdCQ.mjs} +1 -1
- package/dist/{snippets-DZG6UWeH.mjs → snippets-Bgn7ZKJo.mjs} +1 -1
- package/dist/{spawn-KZqyx6KK.mjs → spawn-BSnyZB0W.mjs} +1 -1
- package/dist/{spectrum-Be4ImAIY.mjs → spectrum-BmLwQKib.mjs} +1 -1
- package/dist/{speed-CNWujfIC.mjs → speed-CesLeufR.mjs} +1 -1
- package/dist/{src-CW6py11z.mjs → src-wDWeXeJp.mjs} +5 -5
- package/dist/{ssl-BIlS4Qs8.mjs → ssl-DrYK9KX-.mjs} +1 -1
- package/dist/startup-profile-CLmojOrn.mjs +2 -0
- package/dist/{startup-profile-DrV846S5.mjs → startup-profile-CR7GMuLx.mjs} +2 -2
- package/dist/state-50FyMVTz.mjs +2 -0
- package/dist/{state-DhHOAdTo.mjs → state-BDkCKOju.mjs} +1 -1
- package/dist/{stream-C5RvTAKF.mjs → stream-D0sXaEj7.mjs} +1 -1
- package/dist/{submit-Bpru4P79.mjs → submit-CpjZiCN9.mjs} +1 -1
- package/dist/{tags-Rv7X1rU9.mjs → tags-B17h1YBS.mjs} +1 -1
- package/dist/telemetry-BqtdHwmi.mjs +2 -0
- package/dist/{telemetry-0npQCuKc.mjs → telemetry-D84K-X2j.mjs} +1 -1
- package/dist/{tenant-CjYf6OPN.mjs → tenant-S7-Cb54D.mjs} +1 -1
- package/dist/{tenant-custom-nameservers-BbHaaEhv.mjs → tenant-custom-nameservers-CZ8qgnt_.mjs} +1 -1
- package/dist/{tunnels-CLWPaIIF.mjs → tunnels-DzSFv0qt.mjs} +1 -1
- package/dist/{turnstile-C5ezKSoz.mjs → turnstile-C5tc9QGH.mjs} +1 -1
- package/dist/update-check-7q-e6UWW.mjs +2 -0
- package/dist/{update-check-aOpHVlzB.mjs → update-check-CpGj0g5l.mjs} +1 -1
- package/dist/update-check-worker.mjs +1 -1
- package/dist/{url-info-Gcf8-MyB.mjs → url-info-lY7WbQzK.mjs} +1 -1
- package/dist/{url-normalization-Dvg8mZRk.mjs → url-normalization-BHVZ4ULQ.mjs} +1 -1
- package/dist/{url-scanner-BZCsgh0O.mjs → url-scanner-DRnPOsj9.mjs} +1 -1
- package/dist/{user-BnkvXmjc.mjs → user-DyT-q94n.mjs} +1 -1
- package/dist/{values-yUGls__L.mjs → values-BE3pRW6M.mjs} +1 -1
- package/dist/{vectorize-BiXngTuI.mjs → vectorize-CGl0BOXJ.mjs} +1 -1
- package/dist/version-DOZrLErk.mjs +2 -0
- package/dist/{waiting-rooms-BoLWF74U.mjs → waiting-rooms-DbhiDyp_.mjs} +1 -1
- package/dist/{web-assets-CEJ9Zne1.mjs → web-assets-noQwig7x.mjs} +1 -1
- package/dist/{web3-CIjm7EuJ.mjs → web3-Dts8-Peq.mjs} +1 -1
- package/dist/{workers-DdtWb7Ws.mjs → workers-DtZRm0HJ.mjs} +1 -1
- package/dist/{workers-builds-DT4tA-KT.mjs → workers-builds-ean9unEX.mjs} +1 -1
- package/dist/{workers-for-platforms-CaCr8ApU.mjs → workers-for-platforms-jdC-4D-X.mjs} +1 -1
- package/dist/{workers-vpc-DRtjG39D.mjs → workers-vpc-D2PZCegg.mjs} +1 -1
- package/dist/{workflows-DRme6yrC.mjs → workflows-C9QBOzZz.mjs} +1 -1
- package/dist/{zaraz-DmjDEnUJ.mjs → zaraz-DVLkn3fF.mjs} +1 -1
- package/dist/{zero-trust-BRAHExxa.mjs → zero-trust-DfwISsW4.mjs} +1 -1
- package/dist/{zone-CclLvb-g.mjs → zone-DQV-hfHN.mjs} +1 -1
- package/dist/{zones-C6tc2OOV.mjs → zones-By8IT3CV.mjs} +1 -1
- package/package.json +12 -12
- package/dist/build-Dyt1M_Ib.mjs +0 -2
- package/dist/chunk-M77HNR46-DPbhuhiy.mjs +0 -2
- package/dist/chunk-RV27PEH3-Cws_30ln.mjs +0 -97
- package/dist/dist-DfMipWKR.mjs +0 -366
- package/dist/error-sanitization-CEf4JTNN.mjs +0 -2
- package/dist/hyperdrive-Bxk9LZf5.mjs +0 -37
- package/dist/local-BWhuu9TH.mjs +0 -2
- package/dist/run-D0_7wBp2.mjs +0 -2
- package/dist/run-huwFFwXd.mjs +0 -2
- package/dist/startup-profile-B0UCc9_J.mjs +0 -2
- package/dist/state-Dyo8DcW7.mjs +0 -2
- package/dist/telemetry-B4_YhD82.mjs +0 -2
- package/dist/update-check-CebyUyqG.mjs +0 -2
- package/dist/version-C3q1GMTe.mjs +0 -2
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./local-Cyk8fPvL.mjs";import{a as t,t as n}from"./context-CE7QFX-z.mjs";import{r}from"./auth-gOCL6Pm0.mjs";import{t as i}from"./output-CvQFJkvi.mjs";import{t as a}from"./dry-run-Bq0JAsbX.mjs";import{t as o}from"./progress-CRjK46r1.mjs";import{t as s}from"./run-huwFFwXd.mjs";import"./telemetry-B4_YhD82.mjs";import{n as c,t as l}from"./body-parser-hh2avzkz.mjs";import{n as u}from"./input-validation-Dk52b0me.mjs";import{a as d,i as f,n as p}from"./prompt-C_90YsVE.mjs";function m(e){return e.usage(`$0 hyperdrive create-database-signature <integration>
|
|
3
|
-
|
|
4
|
-
Returns a short-lived signed authorization for creating a database that is billed through Cloudflare. The caller passes these values to the integration partner's own CLI, which verifies the signature before creating the database. Requires the account to be entitled to Cloudflare-billed databases for the integration.`).positional(`integration`,{type:`string`,description:`The database integration to authorize against. This value is case-insensitive.`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const h={command:`create-database-signature <integration>`,describe:`Create Database Signature`,builder:m,handler:async c=>s({command:`hyperdrive create-database-signature`,classification:{safeFlags:[`dry-run`]}},c,async()=>{if(c.dryRun){a({command:`cf hyperdrive create-database-signature`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/hyperdrive/integrationsOperations/${c.integration==null?`<integration>`:encodeURIComponent(String(c.integration))}/createDatabaseSignature`,pathParams:{integration:String(c.integration??``)},bodyKind:`none`});return}let s=await r(c),l=c.local?e:await n();c.accountId=l,i(await o(`Creating`,async()=>s.hyperdrive.createDatabaseSignature({account_id:l,integration:c.integration})),{successLabel:`Created`})})};function g(e){return e.usage(`$0 hyperdrive create
|
|
5
|
-
|
|
6
|
-
Creates and returns a new Hyperdrive configuration. For a PlanetScale integration, the Cloudflare account must already be linked to PlanetScale in the Hyperdrive dashboard.`).option(`mtls-ca-certificate-id`,{type:`string`,description:`Define CA certificate ID obtained after uploading CA cert.`}).option(`mtls-mtls-certificate-id`,{type:`string`,description:`Define mTLS certificate ID obtained after uploading client cert.`}).option(`mtls-sslmode`,{type:`string`,description:"PostgreSQL accepts `require`, `verify-ca`, and `verify-full`. MySQL accepts `REQUIRED`, `VERIFY_CA`, and `VERIFY_IDENTITY`. The verify modes require a CA certificate; the require modes cannot be used with a CA certificate.",choices:[`require`,`verify-ca`,`verify-full`,`REQUIRED`,`VERIFY_CA`,`VERIFY_IDENTITY`]}).option(`name`,{type:`string`,description:`The name of the Hyperdrive configuration. Used to identify the configuration in the Cloudflare dashboard and API.`}).option(`origin-connection-limit`,{type:`number`,description:`The (soft) maximum number of connections the Hyperdrive is allowed to make to the origin database.
|
|
7
|
-
|
|
8
|
-
Maximum allowed: 20 for free tier accounts, 100 for paid tier accounts.
|
|
9
|
-
If not specified, defaults to 20 for free tier and 60 for paid tier.
|
|
10
|
-
Certain Cloudflare-managed origins may be permitted a higher limit.
|
|
11
|
-
Contact Cloudflare if you need a higher limit.
|
|
12
|
-
`}).option(`integration-custom-database-name`,{type:`string`,description:"The database name to use when connecting. Defaults to `postgres` for PostgreSQL and `mysql` for MySQL."}).option(`integration-database-branch-name`,{type:`string`,description:`The name of the PlanetScale database branch.`}).option(`integration-database-name`,{type:`string`,description:`The name of the PlanetScale database.`}).option(`integration-integration`,{type:`string`,description:`The database integration used by this operation.`,choices:[`planetscale`]}).option(`integration-organization-name`,{type:`string`,description:`The name of the PlanetScale organization.`}).option(`integration-scheme`,{type:`string`,description:`Specifies the URL scheme used to connect to your origin database.`,choices:[`postgres`,`postgresql`,`mysql`]}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`A request to create a Hyperdrive configuration using exactly one of caller-supplied origin credentials or a managed integration.`})}const _={command:`create`,describe:`Create Hyperdrive`,builder:g,handler:async f=>s({command:`hyperdrive create`,classification:{safeFlags:[`mtls-sslmode`,`integration-integration`,`integration-scheme`,`dry-run`]}},f,async()=>{if(f.dryRun){a({command:`cf hyperdrive create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/hyperdrive/configs`,pathParams:{},bodyKind:`json`,body:f.body===void 0?l({mtls:{ca_certificate_id:u(f[`mtls-ca-certificate-id`],`mtls-ca-certificate-id`,`text`),mtls_certificate_id:u(f[`mtls-mtls-certificate-id`],`mtls-mtls-certificate-id`,`text`),sslmode:u(f[`mtls-sslmode`],`mtls-sslmode`,`text`)},name:u(f.name,`name`,`text`),origin_connection_limit:f[`origin-connection-limit`],integration:{custom_database_name:u(f[`integration-custom-database-name`],`integration-custom-database-name`,`text`),database_branch_name:u(f[`integration-database-branch-name`],`integration-database-branch-name`,`text`),database_name:u(f[`integration-database-name`],`integration-database-name`,`text`),integration:u(f[`integration-integration`],`integration-integration`,`text`),organization_name:u(f[`integration-organization-name`],`integration-organization-name`,`text`),scheme:u(f[`integration-scheme`],`integration-scheme`,`text`)}}):c(f.body)});return}let s=await r(f),p=f.local?e:await n();if(f.accountId=p,f.body){let e=c(f.body);i(await o(`Creating`,async()=>s.hyperdrive.create({body:e,account_id:p})),{successLabel:`Created`});return}f.name===void 0&&(f.name=await d(`name`,`The name of the Hyperdrive configuration. Used to identify the configuration in the Cloudflare dashboard and API.`));let m=l({mtls:{ca_certificate_id:u(f[`mtls-ca-certificate-id`],`mtls-ca-certificate-id`,`text`),mtls_certificate_id:u(f[`mtls-mtls-certificate-id`],`mtls-mtls-certificate-id`,`text`),sslmode:u(f[`mtls-sslmode`],`mtls-sslmode`,`text`)},name:u(f.name,`name`,`text`),origin_connection_limit:f[`origin-connection-limit`],integration:{custom_database_name:u(f[`integration-custom-database-name`],`integration-custom-database-name`,`text`),database_branch_name:u(f[`integration-database-branch-name`],`integration-database-branch-name`,`text`),database_name:u(f[`integration-database-name`],`integration-database-name`,`text`),integration:u(f[`integration-integration`],`integration-integration`,`text`),organization_name:u(f[`integration-organization-name`],`integration-organization-name`,`text`),scheme:u(f[`integration-scheme`],`integration-scheme`,`text`)}});i(await o(`Creating`,async()=>s.hyperdrive.create({body:m,account_id:p})),{successLabel:`Created`})})};function v(e){return e.usage(`$0 hyperdrive delete <hyperdrive-id>
|
|
13
|
-
|
|
14
|
-
Deletes the specified Hyperdrive.`).positional(`hyperdrive-id`,{type:`string`,description:`The unique identifier of the Hyperdrive configuration.`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`force`,{type:`boolean`,alias:`f`,description:`Skip confirmation (useful in scripts and CI)`,default:!1})}const y={command:`delete <hyperdrive-id>`,describe:`Delete Hyperdrive`,builder:v,handler:async c=>s({command:`hyperdrive delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},c,async()=>{if(c.dryRun){a({command:`cf hyperdrive delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/hyperdrive/configs/${c[`hyperdrive-id`]==null?`<hyperdrive-id>`:encodeURIComponent(String(c[`hyperdrive-id`]))}`,pathParams:{"hyperdrive-id":String(c[`hyperdrive-id`]??``)},bodyKind:`none`});return}let s=await r(c),l=c.local?e:await n();if(c.accountId=l,!await p({force:!!c.force,message:`This operation deletes an existing Hyperdrive configuration.`})){process.stderr.write(`Aborted.
|
|
15
|
-
`);return}i(await o(`Deleting`,async()=>s.hyperdrive.delete({account_id:l,hyperdrive_id:c[`hyperdrive-id`]})),{successLabel:`Deleted`})})};function b(e){return e.usage(`$0 hyperdrive get <hyperdrive-id>
|
|
16
|
-
|
|
17
|
-
Returns the specified Hyperdrive configuration.`).positional(`hyperdrive-id`,{type:`string`,description:`The unique identifier of the Hyperdrive configuration.`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const x={command:`get <hyperdrive-id>`,describe:`Get Hyperdrive`,builder:b,handler:async c=>s({command:`hyperdrive get`,classification:{safeFlags:[`dry-run`]}},c,async()=>{if(c.dryRun){a({command:`cf hyperdrive get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/hyperdrive/configs/${c[`hyperdrive-id`]==null?`<hyperdrive-id>`:encodeURIComponent(String(c[`hyperdrive-id`]))}`,pathParams:{"hyperdrive-id":String(c[`hyperdrive-id`]??``)},bodyKind:`none`});return}let s=await r(c),l=c.local?e:await n();c.accountId=l,i(await o(`Loading`,async()=>s.hyperdrive.get({account_id:l,hyperdrive_id:c[`hyperdrive-id`]})),{successLabel:`Loaded`})})};function S(e){return e.usage(`$0 hyperdrive list
|
|
18
|
-
|
|
19
|
-
Returns a list of Hyperdrives.`).option(`page`,{type:`number`,description:`Page number of paginated results.`}).option(`per-page`,{type:`number`,description:`Maximum number of results per page.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const C={command:`list`,describe:`List Hyperdrives`,builder:S,handler:async c=>s({command:`hyperdrive list`,classification:{safeFlags:[`dry-run`]}},c,async()=>{let s={page:c.page,per_page:c[`per-page`]};if(c.dryRun){a({command:`cf hyperdrive list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/hyperdrive/configs`,pathParams:{},query:s,bodyKind:`none`});return}let l=await r(c),u=c.local?e:await n();c.accountId=u,i(await o(`Loading`,async()=>l.hyperdrive.list({account_id:u,...s})),{successLabel:`Loaded`})})};function w(e){return e.usage(`$0 hyperdrive replace <hyperdrive-id>
|
|
20
|
-
|
|
21
|
-
Replaces and returns the specified Hyperdrive configuration. The request must include the name and complete origin connection details. Omitted caching settings are reset to their defaults, while omitted mTLS settings and origin connection limits are preserved. Use the update operation to modify only selected fields.`).positional(`hyperdrive-id`,{type:`string`,description:`The unique identifier of the Hyperdrive configuration.`,demandOption:!0}).option(`caching-disabled`,{type:`boolean`,description:`Set to true to disable caching of SQL responses. Default is false.`}).option(`caching-max-age`,{type:`number`,description:`Specify the maximum duration (in seconds) items should persist in the cache. Defaults to 60 seconds if not specified.`}).option(`caching-stale-while-revalidate`,{type:`number`,description:`Specify the number of seconds the cache may serve a stale response. Defaults to 15 seconds if not specified.`}).option(`mtls-ca-certificate-id`,{type:`string`,description:`Define CA certificate ID obtained after uploading CA cert.`}).option(`mtls-mtls-certificate-id`,{type:`string`,description:`Define mTLS certificate ID obtained after uploading client cert.`}).option(`mtls-sslmode`,{type:`string`,description:"PostgreSQL accepts `require`, `verify-ca`, and `verify-full`. MySQL accepts `REQUIRED`, `VERIFY_CA`, and `VERIFY_IDENTITY`. The verify modes require a CA certificate; the require modes cannot be used with a CA certificate.",choices:[`require`,`verify-ca`,`verify-full`,`REQUIRED`,`VERIFY_CA`,`VERIFY_IDENTITY`]}).option(`name`,{type:`string`,description:`The name of the Hyperdrive configuration. Used to identify the configuration in the Cloudflare dashboard and API.`}).option(`origin-database`,{type:`string`,description:`Set the name of your origin database.`}).option(`origin-password`,{type:`string`,description:`Set the password needed to access your origin database. The API never returns this write-only value.`}).option(`origin-scheme`,{type:`string`,description:`Specifies the URL scheme used to connect to your origin database.`,choices:[`postgres`,`postgresql`,`mysql`]}).option(`origin-user`,{type:`string`,description:`Set the user of your origin database.`}).option(`origin-host`,{type:`string`,description:`Defines the publicly reachable hostname or IP of your origin database. Private, loopback, and link-local IP addresses are not allowed.`}).option(`origin-port`,{type:`number`,description:`Defines the port of your origin database. Defaults to 5432 for PostgreSQL or 3306 for MySQL if not specified.`}).option(`origin-access-client-id`,{type:`string`,description:`Defines the Client ID of the Access token to use when connecting to the origin database.`}).option(`origin-access-client-secret`,{type:`string`,description:`Defines the Client Secret of the Access Token to use when connecting to the origin database. The API never returns this write-only value.`}).option(`origin-service-id`,{type:`string`,description:`The identifier of the Workers VPC Service to connect through. Hyperdrive will egress through the specified VPC Service to reach the origin database.`}).option(`origin-connection-limit`,{type:`number`,description:`The (soft) maximum number of connections the Hyperdrive is allowed to make to the origin database.
|
|
22
|
-
|
|
23
|
-
Maximum allowed: 20 for free tier accounts, 100 for paid tier accounts.
|
|
24
|
-
If not specified, defaults to 20 for free tier and 60 for paid tier.
|
|
25
|
-
Certain Cloudflare-managed origins may be permitted a higher limit.
|
|
26
|
-
Contact Cloudflare if you need a higher limit.
|
|
27
|
-
`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`}).conflicts(`origin-host`,[`origin-service-id`]).conflicts(`origin-port`,[`origin-access-client-id`,`origin-access-client-secret`,`origin-service-id`]).implies(`origin-port`,[`origin-host`]).conflicts(`origin-access-client-id`,[`origin-port`,`origin-service-id`]).implies(`origin-access-client-id`,[`origin-host`,`origin-access-client-secret`]).conflicts(`origin-access-client-secret`,[`origin-port`,`origin-service-id`]).implies(`origin-access-client-secret`,[`origin-host`,`origin-access-client-id`]).conflicts(`origin-service-id`,[`origin-host`,`origin-port`,`origin-access-client-id`,`origin-access-client-secret`])}const T={command:`replace <hyperdrive-id>`,describe:`Replace Hyperdrive`,builder:w,handler:async p=>s({command:`hyperdrive replace`,classification:{safeFlags:[`caching-disabled`,`mtls-sslmode`,`origin-scheme`,`dry-run`]}},p,async()=>{if(p.dryRun){a({command:`cf hyperdrive replace`,method:`PUT`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/hyperdrive/configs/${p[`hyperdrive-id`]==null?`<hyperdrive-id>`:encodeURIComponent(String(p[`hyperdrive-id`]))}`,pathParams:{"hyperdrive-id":String(p[`hyperdrive-id`]??``)},bodyKind:`json`,body:p.body===void 0?l({caching:{disabled:p[`caching-disabled`],max_age:p[`caching-max-age`],stale_while_revalidate:p[`caching-stale-while-revalidate`]},mtls:{ca_certificate_id:u(p[`mtls-ca-certificate-id`],`mtls-ca-certificate-id`,`text`),mtls_certificate_id:u(p[`mtls-mtls-certificate-id`],`mtls-mtls-certificate-id`,`text`),sslmode:u(p[`mtls-sslmode`],`mtls-sslmode`,`text`)},name:u(p.name,`name`,`text`),origin:{database:u(p[`origin-database`],`origin-database`,`text`),password:u(p[`origin-password`],`origin-password`,`text`),scheme:u(p[`origin-scheme`],`origin-scheme`,`text`),user:u(p[`origin-user`],`origin-user`,`text`),host:u(p[`origin-host`],`origin-host`,`text`),port:p[`origin-port`],access_client_id:u(p[`origin-access-client-id`],`origin-access-client-id`,`text`),access_client_secret:u(p[`origin-access-client-secret`],`origin-access-client-secret`,`text`),service_id:u(p[`origin-service-id`],`origin-service-id`,`text`)},origin_connection_limit:p[`origin-connection-limit`]}):c(p.body)});return}let s=await r(p),m=p.local?e:await n();if(p.accountId=m,p.body){let e=c(p.body);i(await o(`Updating`,async()=>s.hyperdrive.replace({...e,account_id:m,hyperdrive_id:p[`hyperdrive-id`]})),{successLabel:`Updated`});return}p.name===void 0&&(p.name=await d(`name`,`The name of the Hyperdrive configuration. Used to identify the configuration in the Cloudflare dashboard and API.`)),p[`origin-database`]===void 0&&(p[`origin-database`]=await d(`origin-database`,`Set the name of your origin database.`)),p[`origin-password`]===void 0&&(p[`origin-password`]=await d(`origin-password`,`Set the password needed to access your origin database. The API never returns this write-only value.`,{kind:`secret`})),p[`origin-scheme`]===void 0&&(p[`origin-scheme`]=await f(`origin-scheme`,`Specifies the URL scheme used to connect to your origin database.`,[`postgres`,`postgresql`,`mysql`])),p[`origin-user`]===void 0&&(p[`origin-user`]=await d(`origin-user`,`Set the user of your origin database.`));let h=l({caching:{disabled:p[`caching-disabled`],max_age:p[`caching-max-age`],stale_while_revalidate:p[`caching-stale-while-revalidate`]},mtls:{ca_certificate_id:u(p[`mtls-ca-certificate-id`],`mtls-ca-certificate-id`,`text`),mtls_certificate_id:u(p[`mtls-mtls-certificate-id`],`mtls-mtls-certificate-id`,`text`),sslmode:u(p[`mtls-sslmode`],`mtls-sslmode`,`text`)},name:u(p.name,`name`,`text`),origin:{database:u(p[`origin-database`],`origin-database`,`text`),password:u(p[`origin-password`],`origin-password`,`text`),scheme:u(p[`origin-scheme`],`origin-scheme`,`text`),user:u(p[`origin-user`],`origin-user`,`text`),host:u(p[`origin-host`],`origin-host`,`text`),port:p[`origin-port`],access_client_id:u(p[`origin-access-client-id`],`origin-access-client-id`,`text`),access_client_secret:u(p[`origin-access-client-secret`],`origin-access-client-secret`,`text`),service_id:u(p[`origin-service-id`],`origin-service-id`,`text`)},origin_connection_limit:p[`origin-connection-limit`]});i(await o(`Updating`,async()=>s.hyperdrive.replace({...h,account_id:m,hyperdrive_id:p[`hyperdrive-id`]})),{successLabel:`Updated`})})};function E(e){return e.usage(`$0 hyperdrive restart <hyperdrive-id>
|
|
28
|
-
|
|
29
|
-
Restarts the connection pool for the specified Hyperdrive configuration without changing its configuration. Existing connections are drained and a new pool is established at the edge.`).positional(`hyperdrive-id`,{type:`string`,description:`The unique identifier of the Hyperdrive configuration.`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const D={command:`restart <hyperdrive-id>`,describe:`Restart Hyperdrive`,builder:E,handler:async c=>s({command:`hyperdrive restart`,classification:{safeFlags:[`dry-run`]}},c,async()=>{if(c.dryRun){a({command:`cf hyperdrive restart`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/hyperdrive/configs/${c[`hyperdrive-id`]==null?`<hyperdrive-id>`:encodeURIComponent(String(c[`hyperdrive-id`]))}/restart`,pathParams:{"hyperdrive-id":String(c[`hyperdrive-id`]??``)},bodyKind:`none`});return}let s=await r(c),l=c.local?e:await n();c.accountId=l,i(await o(`Creating`,async()=>s.hyperdrive.restart({account_id:l,hyperdrive_id:c[`hyperdrive-id`]})),{successLabel:`Created`})})};function O(e){return e.usage(`$0 hyperdrive update <hyperdrive-id>
|
|
30
|
-
|
|
31
|
-
Updates and returns the specified fields of the Hyperdrive configuration. Custom caching settings are not kept if caching is disabled.`).positional(`hyperdrive-id`,{type:`string`,description:`The unique identifier of the Hyperdrive configuration.`,demandOption:!0}).option(`caching-disabled`,{type:`boolean`,description:`Set to true to disable caching of SQL responses. Default is false.`}).option(`caching-max-age`,{type:`number`,description:`Specify the maximum duration (in seconds) items should persist in the cache. Defaults to 60 seconds if not specified.`}).option(`caching-stale-while-revalidate`,{type:`number`,description:`Specify the number of seconds the cache may serve a stale response. Defaults to 15 seconds if not specified.`}).option(`mtls-ca-certificate-id`,{type:`string`,description:`Define CA certificate ID obtained after uploading CA cert.`}).option(`mtls-mtls-certificate-id`,{type:`string`,description:`Define mTLS certificate ID obtained after uploading client cert.`}).option(`mtls-sslmode`,{type:`string`,description:"PostgreSQL accepts `require`, `verify-ca`, and `verify-full`. MySQL accepts `REQUIRED`, `VERIFY_CA`, and `VERIFY_IDENTITY`. The verify modes require a CA certificate; the require modes cannot be used with a CA certificate.",choices:[`require`,`verify-ca`,`verify-full`,`REQUIRED`,`VERIFY_CA`,`VERIFY_IDENTITY`]}).option(`name`,{type:`string`,description:`The name of the Hyperdrive configuration. Used to identify the configuration in the Cloudflare dashboard and API. An empty value leaves the name unchanged.`}).option(`origin-connection-limit`,{type:`number`,description:`The (soft) maximum number of connections the Hyperdrive is allowed to make to the origin database.
|
|
32
|
-
|
|
33
|
-
Maximum allowed: 20 for free tier accounts, 100 for paid tier accounts.
|
|
34
|
-
If not specified, defaults to 20 for free tier and 60 for paid tier.
|
|
35
|
-
Certain Cloudflare-managed origins may be permitted a higher limit.
|
|
36
|
-
Contact Cloudflare if you need a higher limit.
|
|
37
|
-
`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const k={command:`update <hyperdrive-id>`,describe:`Update Hyperdrive`,builder:O,handler:async d=>s({command:`hyperdrive update`,classification:{safeFlags:[`caching-disabled`,`mtls-sslmode`,`dry-run`]}},d,async()=>{if(d.dryRun){a({command:`cf hyperdrive update`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/hyperdrive/configs/${d[`hyperdrive-id`]==null?`<hyperdrive-id>`:encodeURIComponent(String(d[`hyperdrive-id`]))}`,pathParams:{"hyperdrive-id":String(d[`hyperdrive-id`]??``)},bodyKind:`json`,body:d.body===void 0?l({caching:{disabled:d[`caching-disabled`],max_age:d[`caching-max-age`],stale_while_revalidate:d[`caching-stale-while-revalidate`]},mtls:{ca_certificate_id:u(d[`mtls-ca-certificate-id`],`mtls-ca-certificate-id`,`text`),mtls_certificate_id:u(d[`mtls-mtls-certificate-id`],`mtls-mtls-certificate-id`,`text`),sslmode:u(d[`mtls-sslmode`],`mtls-sslmode`,`text`)},name:u(d.name,`name`,`text`),origin_connection_limit:d[`origin-connection-limit`]}):c(d.body)});return}let s=await r(d),f=d.local?e:await n();if(d.accountId=f,d.body){let e=c(d.body);i(await o(`Updating`,async()=>s.hyperdrive.update({...e,account_id:f,hyperdrive_id:d[`hyperdrive-id`]})),{successLabel:`Updated`});return}let p=l({caching:{disabled:d[`caching-disabled`],max_age:d[`caching-max-age`],stale_while_revalidate:d[`caching-stale-while-revalidate`]},mtls:{ca_certificate_id:u(d[`mtls-ca-certificate-id`],`mtls-ca-certificate-id`,`text`),mtls_certificate_id:u(d[`mtls-mtls-certificate-id`],`mtls-mtls-certificate-id`,`text`),sslmode:u(d[`mtls-sslmode`],`mtls-sslmode`,`text`)},name:u(d.name,`name`,`text`),origin_connection_limit:d[`origin-connection-limit`]});i(await o(`Updating`,async()=>s.hyperdrive.update({...p,account_id:f,hyperdrive_id:d[`hyperdrive-id`]})),{successLabel:`Updated`})})},A={command:`hyperdrive`,describe:`Accelerate access to existing databases by caching queries and pooling connections at the edge`,builder:e=>e.command(_).command(h).command(y).command(x).command(C).command(T).command(D).command(k).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};export{A as default};
|
package/dist/local-BWhuu9TH.mjs
DELETED
package/dist/run-D0_7wBp2.mjs
DELETED
package/dist/run-huwFFwXd.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./agent-context-GRiQ4zRU.mjs";import{t}from"./cli-exit-Dqoo6Jgb.mjs";import{Q as n}from"./dist-DfMipWKR.mjs";import{n as r}from"./version-C3q1GMTe.mjs";import{t as i}from"./delegate-B6LetRpZ.mjs";import{i as a,r as o}from"./lifecycle-C7tAC1Mn.mjs";import{i as s,t as c}from"./interactive-C-o16XQs.mjs";import{t as l}from"./request-headers-jr2VznA9.mjs";import{n as u,t as d}from"./state-DhHOAdTo.mjs";import{t as f}from"./error-sanitization-CcNUzN1f.mjs";import p from"node:os";import{createHash as m,randomUUID as h}from"node:crypto";const g=new Date(`2026-01-01T00:00:00.000Z`),_=`CF_SEND_TELEMETRY`,v=`WRANGLER_SEND_METRICS`,y=/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;function b(e){if(e===void 0)return;let t=e.trim().toLowerCase();if(t===`true`||t===`1`)return!0;if(t===`false`||t===`0`)return!1}function x(){let e=b(process.env[_]);if(e!==void 0)return{enabled:e,source:`env`};let t=b(process.env[v]);if(t!==void 0)return{enabled:t,source:`wrangler-env`}}function S(){return x()?.enabled}function C(){let e=d();if(typeof e.deviceId==`string`&&y.test(e.deviceId))return e.deviceId;let t=h();return u({deviceId:t}),t}function w(){return d().deviceId===void 0}function T(){if(n())return{enabled:!1,source:`do-not-track`};let e=x();if(e!==void 0)return e;let t=d().telemetry?.preference;return t?.enabled===!1?{enabled:!1,source:`config`}:t?.enabled===!0&&typeof t.date==`string`&&new Date(t.date)>=g?{enabled:!0,source:`config`}:{enabled:!0,source:`default`}}function E(e){switch(e){case`do-not-track`:return`DO_NOT_TRACK`;case`env`:return _;case`wrangler-env`:return v;default:return}}function D(e){u({telemetry:{preference:{enabled:e,date:new Date().toISOString()}}})}function O(){return d().telemetry?.bannerLastShown}function k(e){u({telemetry:{bannerLastShown:e}})}function A(){switch(process.platform){case`win32`:return`Windows`;case`darwin`:return`Mac OS`;case`linux`:return`Linux`;default:return`Others: ${process.platform}`}}function j(){return p.version()}function M(){return process.arch}function N(){return Number.parseInt(process.versions.node.split(`.`)[0]??`0`,10)}function P(){let e=process.env.npm_config_user_agent??``;return e.startsWith(`pnpm`)?`pnpm`:e.startsWith(`yarn`)?`yarn`:e.startsWith(`bun`)?`bun`:e.startsWith(`npm`)?`npm`:`unknown`}function F(e,t,n){return m(`sha256`).update(`cf-agent-session-v1\0`).update(e).update(`\0`).update(t).update(`\0`).update(n).digest(`hex`).slice(0,32)}function I(){return typeof PACKAGE_PRERELEASE_LABEL==`string`?PACKAGE_PRERELEASE_LABEL:void 0}let L;function R(){if(L)return L;let[t,n,o]=r.split(`.`).map(e=>{let t=Number.parseInt(e,10);return Number.isNaN(t)?0:t}),u=Date.now(),d=0,f=w(),{enabled:p}=T(),m=e(),h=m.harness?.id??null,g=m.matches.find(e=>e.sessionId);function _(){let e=I(),a=C();return{product:`cf`,cliVersion:r,cliMajor:t??0,cliMinor:n??0,cliPatch:o??0,...e?{prereleaseLabel:e}:{},osPlatform:A(),osVersion:j(),arch:M(),nodeVersion:N(),packageManager:P(),deviceId:a,amplitude_session_id:u,amplitude_event_id:d++,...g?.sessionId?{agentSessionKey:F(a,g.harness.id,g.sessionId)}:{},isFirstUsage:f,isCI:c,isInteractive:s(),cliMode:l(),agent:h,delegated:!!process.env[i]}}function v(e,t){let n={deviceId:t.deviceId,event:e,timestamp:Date.now(),properties:t};process.env.DEBUG&&console.error(`Telemetry would send: ${JSON.stringify(n)}`)}return L={enabled:p,sendCommandEvent(e,t){if(p)try{a(v(e,{..._(),...t}))}catch(e){process.env.DEBUG&&console.error(`Telemetry failed to prepare:`,e)}},sendAdhocEvent(e,t={}){if(p)try{a(v(e,{..._(),...t}))}catch(e){process.env.DEBUG&&console.error(`Telemetry failed to prepare:`,e)}}},L}const z={q:{canonical:`quiet`,type:`boolean`},z:{canonical:`zone`,type:`value`},m:{canonical:`mode`,type:`value`},h:{canonical:`help`,type:`boolean`},v:{canonical:`version`,type:`boolean`}};function B(e){return e.replace(/-([a-z0-9])/g,(e,t)=>t.toUpperCase())}function V(e,t){let n=[];for(let r of e){if(r===`--`)break;if(r.startsWith(`--`)){let e=r.slice(2).split(`=`)[0]??``,t=e.startsWith(`no-`)?e.slice(3):e;t&&n.push(t);continue}if(!r.startsWith(`-`)||r===`-`)continue;let e=r.slice(1);for(let r of e){let e=t[r];if(!e||(n.push(e.canonical),e.type===`value`))break}}return n}function H(e,t,n){let r=new Set([...n.safeFlags,`quiet`,`local`]),i={...z,...n.shortFlagAliases},a=new Set,o={};for(let n of V(t,i)){a.add(n);let t=e[n]??e[B(n)];o[n]=r.has(n)?t:`<REDACTED>`}let s=[...a].sort();return{sanitizedArgs:o,argsUsed:s,argsCombination:s.join(`, `)}}const U=new Set([`SIGINT`,`SIGTERM`]),W=1024;function G(e){if(e instanceof t)return e.cancelled||e.signal&&U.has(e.signal)?`cancelled`:e.code===0?`success`:`error`}async function K(e,t,n){let r;try{r=R()}catch{return n()}if(o(),e.sendMetrics===!1||!r.enabled)return n();let i={...e.recordArgs===!1?{sanitizedArgs:{},argsUsed:[],argsCombination:``}:H(t,process.argv.slice(2),e.classification),command:e.command};r.sendCommandEvent(`cf command started`,i);let a=e.searchQuery===void 0?{}:{searchQuery:e.searchQuery.slice(0,W),...e.searchQuery.length>W?{searchQueryTruncated:!0}:{}},s=Date.now();try{let e=await n();return r.sendCommandEvent(`cf command finished`,{...i,...a,outcome:`success`,durationMs:Date.now()-s}),e}catch(e){let t=G(e)??`error`;throw r.sendCommandEvent(`cf command finished`,{...i,...a,outcome:t,durationMs:Date.now()-s,...t===`error`?f(e):{}}),e}}function q(e,t){return{...e,handler:n=>K(t,n,()=>e.handler(n))}}export{_ as a,C as c,w as d,T as f,R as i,S as l,D as m,q as n,g as o,k as p,H as r,O as s,K as t,E as u};
|
package/dist/state-Dyo8DcW7.mjs
DELETED