cf 1.0.0-beta.1 → 1.0.0-beta.3
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/README.md +12 -0
- package/dist/_meta/commands.json +7481 -10370
- package/dist/_meta/hand-written-commands.json +578 -40
- package/dist/_meta/schemas.json +29048 -31332
- package/dist/{abuse-reports-Dd6kJM7r.mjs → abuse-reports-CWX7WKhe.mjs} +11 -11
- package/dist/access-2aKv_Dya.mjs +2 -0
- package/dist/{account-CZ9SPVdz.mjs → account-CnZO9-bl.mjs} +5 -5
- package/dist/{account-tags-DAf-hq1m.mjs → account-tags-ClLZOfTA.mjs} +4 -4
- package/dist/{accounts-BDIKjiG2.mjs → accounts-Cbj9aFyY.mjs} +59 -59
- package/dist/{acm-D-q1FVWJ.mjs → acm-wGJ9cnzE.mjs} +3 -3
- package/dist/{addressing-0w2U1NEy.mjs → addressing-YvHX2dAb.mjs} +50 -50
- package/dist/agent-context-GRiQ4zRU.mjs +2 -0
- package/dist/{agent-memory-Drumm4qd.mjs → agent-memory-B4N-lmLb.mjs} +15 -15
- package/dist/{ai-audit-CPrmohqf.mjs → ai-audit-CG_DG6N7.mjs} +1 -1
- package/dist/ai-gateway-DUttjxrN.mjs +80 -0
- package/dist/{ai-ARwLeQ1O.mjs → ai-lziiVEGR.mjs} +14 -14
- package/dist/{ai-search-B5l4IDSR.mjs → ai-search-k63uopiK.mjs} +37 -37
- package/dist/{ai-security-C7_IGDDl.mjs → ai-security-D10lzYTn.mjs} +1 -1
- package/dist/{alerting-B6m1Rhf4.mjs → alerting-c4ICS8KO.mjs} +26 -26
- package/dist/{analytics-nnzFBB_7.mjs → analytics-CEQ0EVTq.mjs} +9 -9
- package/dist/{analytics_engine-BvjKCwn1.mjs → analytics_engine-B9kiAPbY.mjs} +2 -2
- package/dist/{api-security-B9IozS2a.mjs → api-security-6LlxeiOi.mjs} +61 -61
- package/dist/{argo-C_QcqR6P.mjs → argo-BCcp1ybr.mjs} +1 -1
- package/dist/args-CXgkQKK7.mjs +2 -0
- package/dist/{artifacts-DDFNpYBz.mjs → artifacts-PoO3rAvo.mjs} +20 -20
- package/dist/{audit-logs-cTzNV0DV.mjs → audit-logs-Vt3NbAA1.mjs} +2 -2
- package/dist/auth-3bFlHTVl.mjs +8 -0
- package/dist/auth-BfYtTyXo.mjs +2 -0
- package/dist/autoconfig-DqgOi1kW.mjs +511 -0
- package/dist/banner-ClclgnBn.mjs +2 -0
- package/dist/{billing-DU2X-q-x.mjs → billing-DVrpin2a.mjs} +10 -10
- package/dist/{bot-management-BHAAoZOh.mjs → bot-management-Bw-GZWoT.mjs} +1 -1
- package/dist/{botnet-feed-DOOnGVVY.mjs → botnet-feed-ov970cZf.mjs} +5 -5
- package/dist/{brand-protection-C_DYa7IK.mjs → brand-protection-C7WOvdx6.mjs} +13 -13
- package/dist/browser-extension-C1zmKFDG.mjs +2 -0
- package/dist/{browser-run-Dw-vgWGR.mjs → browser-run-DhnKUXVv.mjs} +23 -23
- package/dist/build-CVvo9BvP.mjs +2 -0
- package/dist/build-vfD1txJe.mjs +2 -0
- package/dist/{builds-CO0MmSd3.mjs → builds-BIqfNXEE.mjs} +31 -31
- package/dist/{cache-XxusQxXe.mjs → cache-Dzl3kth1.mjs} +1 -1
- package/dist/{certificate-authorities-Dmxh7w-Z.mjs → certificate-authorities-CQinLiq_.mjs} +1 -1
- package/dist/cf-O3gEaXYZ.mjs +18 -0
- package/dist/chunk-M77HNR46-DPbhuhiy.mjs +2 -0
- package/dist/chunk-RV27PEH3-Cws_30ln.mjs +97 -0
- package/dist/chunk-U6NEESU5-BhF4rnpx.mjs +2 -0
- package/dist/chunk-WMOON6TZ-D_ToS88f.mjs +2 -0
- package/dist/cli-ZXrxm369.mjs +6 -0
- package/dist/cli-exit-Dqoo6Jgb.mjs +2 -0
- package/dist/client-certificates--vw-4vvy.mjs +13 -0
- package/dist/{client-side-security-D7NWV0YH.mjs → client-side-security-YCsdeK3e.mjs} +1 -1
- package/dist/{cloud-connector-XMFOTNqT.mjs → cloud-connector-CwSi4zZI.mjs} +1 -1
- package/dist/{cloudflared-DhItYrCq.mjs → cloudflared-CH8rOneA.mjs} +1 -1
- package/dist/{cloudforce-one-Cew4MHvA.mjs → cloudforce-one-hEykJeqy.mjs} +214 -214
- package/dist/command-Axp5Wfpj.mjs +2 -0
- package/dist/command-BH-TMJWp.mjs +2 -0
- package/dist/command-C1CwuI4O.mjs +2 -0
- package/dist/command-CIZDQPmS.mjs +2 -0
- package/dist/command-CeL8kQCM.mjs +2 -0
- package/dist/command-ChDtawgh.mjs +2 -0
- package/dist/command-D5nZoVE1.mjs +2 -0
- package/dist/command-DBCoI1fN.mjs +2 -0
- package/dist/command-DBpr6U4L.mjs +2 -0
- package/dist/command-DrQKTf1O.mjs +2 -0
- package/dist/command-IuYNIUk9.mjs +2 -0
- package/dist/command-L0y09SE5.mjs +2 -0
- package/dist/{command-RiZ_LYcm.mjs → command-ZSxcR8-J.mjs} +1 -1
- package/dist/command-egPOyKbx.mjs +2 -0
- package/dist/command-jJKEah9i.mjs +2 -0
- package/dist/{completions-xPLd1cvL.mjs → completions-DNisLHie.mjs} +26 -26
- package/dist/{connector-interrupts-BfQN_pm6.mjs → connector-interrupts-uIHLde10.mjs} +3 -3
- package/dist/{connector-telemetry-events-B7qLZsZJ.mjs → connector-telemetry-events-D2MH0OSs.mjs} +3 -3
- package/dist/{connector-telemetry-snapshots-Ckvg9BPc.mjs → connector-telemetry-snapshots-CQICQaGf.mjs} +3 -3
- package/dist/{connectors-BhvAP5fb.mjs → connectors-BXwvP7SF.mjs} +7 -7
- package/dist/{containers-Cq1gtnq6.mjs → containers-ClK7HGfx.mjs} +70 -72
- package/dist/{containers-Bl3EY-cy.mjs → containers-DOyOrVV9.mjs} +17 -17
- package/dist/{content-scan-BYGe9fFj.mjs → content-scan-B71JZ7G6.mjs} +1 -1
- package/dist/context-5JRcefHh.mjs +7 -0
- package/dist/{cps-BWMDWeVq.mjs → cps-CzNfFv-5.mjs} +1 -1
- package/dist/{csamScanner-DMYGzLNi.mjs → csamScanner-BfZcrcjk.mjs} +1 -1
- package/dist/{ct-alerting-Vq4l2s7n.mjs → ct-alerting-Cm8YLmXE.mjs} +1 -1
- package/dist/{custom-certificates-BDEHH0Ym.mjs → custom-certificates-DFMRe9_D.mjs} +4 -4
- package/dist/{custom-csrs-CHSkZNdX.mjs → custom-csrs-B5njuvdd.mjs} +5 -5
- package/dist/{custom-hostnames-Bch3iQZC.mjs → custom-hostnames-D06jQfNs.mjs} +6 -6
- package/dist/{custom-nameservers-Tdvu1-vr.mjs → custom-nameservers-CKwKLqbF.mjs} +5 -5
- package/dist/{custom-pages-rFsiIXlr.mjs → custom-pages-D339_r6I.mjs} +10 -10
- package/dist/{d1-C1GK7DsW.mjs → d1-CHXmF-Ga.mjs} +14 -14
- package/dist/{dcv-delegation-D6xiYj2l.mjs → dcv-delegation-BAnTwW8J.mjs} +1 -1
- package/dist/{delegate-GctF_lrq.mjs → delegate-B6LetRpZ.mjs} +1 -1
- package/dist/delegate.mjs +1 -1
- package/dist/{deploy-D04Xvm0m.mjs → deploy-CsQbufsL.mjs} +1 -1
- package/dist/{deploy-input-COEKxOA1.mjs → deploy-input-dwBe8pSi.mjs} +1 -1
- package/dist/dev-BpvWl6pG.mjs +4 -0
- package/dist/{diagnostics-BZVAAguV.mjs → diagnostics-BEUAWeLH.mjs} +7 -7
- package/dist/dialog-BlUXJKbA.mjs +2 -0
- package/dist/discover-DmIsaE54.mjs +2 -0
- package/dist/dist-CpufWpsP.mjs +48 -0
- package/dist/{dist-BpadEMNY.mjs → dist-DW47TUGh.mjs} +35 -35
- package/dist/dist-DfMipWKR.mjs +366 -0
- package/dist/{dls-BsnURYja.mjs → dls-CXS7bPlj.mjs} +8 -8
- package/dist/{dns-B_nTXhuM.mjs → dns-Dx7oPdtH.mjs} +63 -63
- package/dist/{dns-firewall-DDsrdulo.mjs → dns-firewall-wcP1fgB-.mjs} +8 -8
- package/dist/dot-prop-IITUZ2XW-BilKo4kO.mjs +2 -0
- package/dist/dotenv-CcQjGlV0.mjs +4 -0
- package/dist/dry-run-Bq0JAsbX.mjs +2 -0
- package/dist/{durable-objects-8U8DpF9q.mjs → durable-objects-DmieQflu.mjs} +4 -4
- package/dist/{email-auth-CzjtGH6g.mjs → email-auth-DiO-k5wt.mjs} +1 -1
- package/dist/{email-routing-B92fty1-.mjs → email-routing-CycPV4UR.mjs} +24 -24
- package/dist/{email-security-keTqF0nJ.mjs → email-security-DhtBU1X_.mjs} +77 -79
- package/dist/{email-sending-B7f95epu.mjs → email-sending-BjgiwUht.mjs} +23 -23
- package/dist/error-sanitization-Cu-8OKRA.mjs +2 -0
- package/dist/error-sanitization-Dc4bLj8k.mjs +2 -0
- package/dist/{fieldExtractors-DL_H1m7E.mjs → fieldExtractors-BOBRZ8gw.mjs} +4 -4
- package/dist/firewall-Dc0Xm26N.mjs +36 -0
- package/dist/{flagship-CjC3dF7L.mjs → flagship-BRqR3ioN.mjs} +13 -13
- package/dist/{fraud-DU_YCLC5.mjs → fraud-Czu1ed5n.mjs} +1 -1
- package/dist/generate-BAHK895m.mjs +2 -0
- package/dist/generate-DWW1YPjv.mjs +3 -0
- package/dist/{google-tag-gateway-xqN-QudN.mjs → google-tag-gateway-DsZA0a1r.mjs} +1 -1
- package/dist/gt-DmcMNPX6.mjs +2 -0
- package/dist/{healthchecks-COnq1YOx.mjs → healthchecks-CFH5bIAG.mjs} +1 -1
- package/dist/{hostnames-CxRAY_Pp.mjs → hostnames-CKDSQsXT.mjs} +1 -1
- package/dist/{hyperdrive-DPWyiXpj.mjs → hyperdrive-BLiI7eoy.mjs} +9 -9
- package/dist/{iam-CtX9NPCy.mjs → iam-B5mdfq5e.mjs} +24 -24
- package/dist/{images-CuWFOsGw.mjs → images-IVRjrB4_.mjs} +38 -38
- package/dist/index.mjs +1 -1
- package/dist/init-C6pA2OKl.mjs +39 -0
- package/dist/{intel-BeGV3VXt.mjs → intel-CvesITo3.mjs} +38 -38
- package/dist/interactive-C-o16XQs.mjs +32 -0
- package/dist/interactive-SgAjen2z.mjs +2 -0
- package/dist/{ips-d6aoKAI4.mjs → ips-DT9GaimG.mjs} +1 -1
- package/dist/keyless-certificates-B0Xe5WqA.mjs +13 -0
- package/dist/{keys-Fyf3vWcA.mjs → keys-BfcwaSGe.mjs} +2 -2
- package/dist/kv-BAKDr9h1.mjs +15 -0
- package/dist/lazy-command-BR3u8SQ2.mjs +2 -0
- package/dist/{leaked-credential-checks-B7ewx3W-.mjs → leaked-credential-checks-gRpF7J9-.mjs} +1 -1
- package/dist/{load-balancers-DHD4f2CT.mjs → load-balancers-CLVWIN9d.mjs} +39 -39
- package/dist/local-22UA5g9y.mjs +2 -0
- package/dist/{local-B6b2OIBW.mjs → local-CxYne8s2.mjs} +1 -1
- package/dist/{local-runtime-DD8DAIlm.mjs → local-runtime-C_fR3pz4.mjs} +1 -1
- package/dist/login-B2IW-LZC.mjs +5 -0
- package/dist/login-BKQI53YQ.mjs +2 -0
- package/dist/{logo-matches-BAX8v3iL.mjs → logo-matches-CmCWQC_j.mjs} +3 -3
- package/dist/{logos-BWBVGwU6.mjs → logos-DoGIvvML.mjs} +3 -3
- package/dist/{logpush-CZKR8DHO.mjs → logpush-C2fS4mz8.mjs} +23 -23
- package/dist/{logs-CiDyrqEu.mjs → logs-DOchrxC9.mjs} +16 -16
- package/dist/{magic-cloud-networking-DttrBXqd.mjs → magic-cloud-networking-BTWKttlB.mjs} +34 -34
- package/dist/{magic-network-monitoring-9VXDSYuL.mjs → magic-network-monitoring-C_6hCn_f.mjs} +17 -17
- package/dist/{magic-transit-Dsu_cSGM.mjs → magic-transit-B-Rmmg-Z.mjs} +139 -139
- package/dist/{managed-defense-SYreve4W.mjs → managed-defense-BPSLbGgV.mjs} +9 -9
- package/dist/{managed-transforms-CzSy_xPw.mjs → managed-transforms-BqiDVQD6.mjs} +1 -1
- package/dist/{matches-qf7GReyu.mjs → matches-wLc335So.mjs} +3 -3
- package/dist/{mcp-DYSk5_gc.mjs → mcp-CmQOrkzP.mjs} +15 -15
- package/dist/{mesh-DdY07OYt.mjs → mesh-DRuFq2pw.mjs} +12 -12
- package/dist/migrate-DBwOnU6B.mjs +2 -0
- package/dist/mtls-certificates-BUcQwJGQ.mjs +13 -0
- package/dist/{network-DpaZ5LJL.mjs → network-BuXy0ysq.mjs} +24 -24
- package/dist/{network-interconnects-C4uUoeNa.mjs → network-interconnects-BzfPaxkW.mjs} +17 -17
- package/dist/oauth-BYmfy7l7.mjs +9 -0
- package/dist/{oauth-nsTDJ0dF.mjs → oauth-BlFK0DPZ.mjs} +1 -1
- package/dist/{oauth-clients-D7Ou7oAS.mjs → oauth-clients-CnABE4xT.mjs} +7 -7
- package/dist/{oauth-scopes-BFoE82Mv.mjs → oauth-scopes-BFy1Hw7K.mjs} +1 -1
- package/dist/{observability-smcOFbC1.mjs → observability-B1IkzeE0.mjs} +44 -44
- package/dist/open-PCXX3ZDZ-BKRik1gi.mjs +4 -0
- package/dist/{organization-Dyf_0mq4.mjs → organization-DeIzTyFr.mjs} +1 -1
- package/dist/{organizations-D7zGPLVm.mjs → organizations-dpNO5XaQ.mjs} +1 -1
- package/dist/{origin-ca-certificates-DJrp29gv.mjs → origin-ca-certificates-B-1YtC61.mjs} +3 -3
- package/dist/{origin-post-quantum-encryption-BYj3kJiq.mjs → origin-post-quantum-encryption-DdvwucsG.mjs} +1 -1
- package/dist/{origin-tls-client-auth-j0tGh6Fy.mjs → origin-tls-client-auth-CzfpVmTE.mjs} +5 -5
- package/dist/output-CvQFJkvi.mjs +2 -0
- package/dist/{page-rules-CLzba_nr.mjs → page-rules--wnIp30C.mjs} +1 -1
- package/dist/pages-DvhJZv5S.mjs +60 -0
- package/dist/{pay-per-crawl-DbaTVI8V.mjs → pay-per-crawl-lqX3Rwt9.mjs} +32 -32
- package/dist/{pay-per-use-BEvtoppJ.mjs → pay-per-use-BRKnBlz2.mjs} +3 -3
- package/dist/{pipelines-lps71uoA.mjs → pipelines-CvePummb.mjs} +20 -20
- package/dist/precursor-DgotmHQd.mjs +4 -0
- package/dist/previews-Brsuhzmk.mjs +4 -0
- package/dist/progress-DUeNqM-j.mjs +2 -0
- package/dist/prompt-DV6YTdoa.mjs +3 -0
- package/dist/{queries-EJYlFw8m.mjs → queries-CLqy4AM6.mjs} +4 -4
- package/dist/{queues-CozKGaA4.mjs → queues-D0Y4LNP1.mjs} +29 -35
- package/dist/r2-D_FuuTGm.mjs +132 -0
- package/dist/{r2-data-catalog-Bfn3AWzn.mjs → r2-data-catalog-D5Fvpr3C.mjs} +16 -16
- package/dist/{radar-NmpdyMo5.mjs → radar-B6bYFNVn.mjs} +1 -1
- package/dist/raw-fetch-Cp3EaTcj.mjs +2 -0
- package/dist/{realtime-iWTz8WbH.mjs → realtime-BTBZoZNW.mjs} +78 -78
- package/dist/{registrar-Cza1L8i_.mjs → registrar-CFh4TCkC.mjs} +8 -8
- package/dist/{registrar-sandbox-BP4GQg5s.mjs → registrar-sandbox-By6ukXxf.mjs} +6 -6
- package/dist/{registry-vreNkX6u.mjs → registry-kYRASukx.mjs} +1 -1
- package/dist/{reporting-gvXX2MxY.mjs → reporting-Cf3q4cuO.mjs} +7 -7
- package/dist/request-headers-jdUlF-_S.mjs +2 -0
- package/dist/{request-tracers-F8a_aj32.mjs → request-tracers-CqNmb-dS.mjs} +2 -2
- package/dist/resolve-PZuJ878-.mjs +2 -0
- package/dist/{resource-sharing-D6XWIDmb.mjs → resource-sharing-vDvq5J5a.mjs} +14 -14
- package/dist/{resource-tagging-c_z4VZt0.mjs → resource-tagging-DRCkpRmf.mjs} +2 -2
- package/dist/{rules-_QDaG3U5.mjs → rules-D-IfU82u.mjs} +8 -8
- package/dist/{rulesets-Bc4ZuPG_.mjs → rulesets-ezJUnXm7.mjs} +17 -17
- package/dist/{rum-ChPyfpM2.mjs → rum-G42H7AXu.mjs} +14 -14
- package/dist/run-BhfDNWCI.mjs +2 -0
- package/dist/run-djd1-6kN.mjs +2 -0
- package/dist/{schema-flags-C9lbLgE-.mjs → schema-flags-yDMur8UR.mjs} +2 -2
- package/dist/schema-s22s29sJ.mjs +2 -0
- package/dist/{scim-BjiswXbC.mjs → scim-DgRlqTtE.mjs} +10 -10
- package/dist/{sdk-CsWOex96.mjs → sdk-Bx29ZKK3.mjs} +2 -2
- package/dist/{secrets-store-Cn3D5a0d.mjs → secrets-store-DcNmMGG2.mjs} +11 -11
- package/dist/{security-center-DP4GC1cG.mjs → security-center-CZwVaL7t.mjs} +15 -15
- package/dist/{security-txt-CaR5Idmz.mjs → security-txt-CD0RAEsU.mjs} +1 -1
- package/dist/session-CjQFm10R.mjs +2 -0
- package/dist/shared-Cfuwhk19.mjs +2 -0
- package/dist/{smart-shield-CphSzoh4.mjs → smart-shield-C72SYuAe.mjs} +1 -1
- package/dist/{snippets-r-Mre0cE.mjs → snippets-Bl4Rfvdf.mjs} +1 -1
- package/dist/source-38bULAR8.mjs +6 -0
- package/dist/spawn-PBhhCQdl.mjs +10 -0
- package/dist/{spectrum-BhjCVFZk.mjs → spectrum-BgOMd04u.mjs} +1 -1
- package/dist/{speed-CPgypY7n.mjs → speed-dahwVmv-.mjs} +1 -1
- package/dist/src-npcmT3gh.mjs +109 -0
- package/dist/{ssl-DsMrXyqK.mjs → ssl-BMZZPgJx.mjs} +4 -4
- package/dist/startup-profile-B0UCc9_J.mjs +2 -0
- package/dist/startup-profile-DrV846S5.mjs +17 -0
- package/dist/{state-BxCejn42.mjs → state-DhHOAdTo.mjs} +1 -1
- package/dist/state-Dyo8DcW7.mjs +2 -0
- package/dist/{stream-L2NmGPby.mjs → stream-CsQ8wMMF.mjs} +45 -45
- package/dist/{submit-KN0Ul5fV.mjs → submit-DdoTeeRt.mjs} +2 -2
- package/dist/{tags-CZMFKGdP.mjs → tags-BESTUjkv.mjs} +2 -2
- package/dist/telemetry-CVjp5qaj.mjs +2 -0
- package/dist/telemetry-iBZ-f6og.mjs +2 -0
- package/dist/{tenant-Cu4P-foo.mjs → tenant-COyp8x56.mjs} +1 -1
- package/dist/{tenant-custom-nameservers-Nx59Buv0.mjs → tenant-custom-nameservers-BdrnvyTk.mjs} +1 -1
- package/dist/{theme-BiIYWOed.mjs → theme-BIWQFmZ0.mjs} +2 -2
- package/dist/tools-LlzHD_86.mjs +2 -0
- package/dist/{tunnels-C-mMZy4v.mjs → tunnels-CjDCYR0_.mjs} +15 -15
- package/dist/turnstile-crX-kMig.mjs +33 -0
- package/dist/ui-BQxRjahW.mjs +5 -0
- package/dist/update-check-BpLdkJeA.mjs +2 -0
- package/dist/update-check-CtmTFJ-O.mjs +2 -0
- package/dist/update-check-worker.mjs +1 -1
- package/dist/{url-info-7ikewAnp.mjs → url-info-CSU3TaVe.mjs} +2 -2
- package/dist/{url-normalization-B0D7Fhf3.mjs → url-normalization-DKZYH3Tv.mjs} +1 -1
- package/dist/{url-scanner-DpKIqkin.mjs → url-scanner-mtiMlSyE.mjs} +8 -8
- package/dist/{user-BFq8UM1s.mjs → user-DuDnsFvs.mjs} +1 -1
- package/dist/{values-DnBYV1ZD.mjs → values-B4gL0UvN.mjs} +2 -2
- package/dist/{vectorize-BpZ4UsUj.mjs → vectorize-CEC7tpRJ.mjs} +15 -15
- package/dist/version-CPwqVR_p.mjs +2 -0
- package/dist/{waiting-rooms-DJfqehy9.mjs → waiting-rooms-CosskYpi.mjs} +25 -25
- package/dist/{web-assets-CCSSW_JH.mjs → web-assets-Do2JEl4p.mjs} +1 -1
- package/dist/{web3-bbT1REPc.mjs → web3-C3sb4DR8.mjs} +1 -1
- package/dist/{workers-CXuyjZB8.mjs → workers-ByA4Nddg.mjs} +20 -20
- package/dist/{workers-builds-TRF3K416.mjs → workers-builds-CDE-wcw-.mjs} +7 -7
- package/dist/{workers-for-platforms-B57iKiSN.mjs → workers-for-platforms-CvZI2B1d.mjs} +11 -11
- package/dist/{workers-vpc-kgryQ48l.mjs → workers-vpc-WbwBVV_L.mjs} +6 -6
- package/dist/{workflows-CKdPlIkK.mjs → workflows-Ch7cNhhq.mjs} +20 -20
- package/dist/{zaraz-BXFlEWSx.mjs → zaraz-BO7WT_U7.mjs} +1 -1
- package/dist/{zero-trust-M08mBsYd.mjs → zero-trust-CTKtzxxW.mjs} +466 -426
- package/dist/{zone-DHmrotGW.mjs → zone-DSHj2Vv2.mjs} +1 -1
- package/dist/{zones-C0eKBTqG.mjs → zones-CeFb9USG.mjs} +1 -1
- package/package.json +13 -11
- package/dist/access-C_2rEi0H.mjs +0 -27
- package/dist/ai-gateway-DNY4FPF2.mjs +0 -147
- package/dist/auth-DJhSjNNL.mjs +0 -8
- package/dist/auth-sAorfdWU.mjs +0 -2
- package/dist/browser-extension-C48pKh3t.mjs +0 -15
- package/dist/build-1a8CiNIT.mjs +0 -2
- package/dist/build-Ca_drQY2.mjs +0 -2
- package/dist/cf-oadujOtC.mjs +0 -18
- package/dist/chunk-6EUZQHAF-QVTL_mC-.mjs +0 -2
- package/dist/chunk-DL5FNmn1.mjs +0 -2
- package/dist/chunk-Q72B4Q5Z-Cr1H_iK6.mjs +0 -2
- package/dist/chunk-Q72B4Q5Z-DKhx_4ok.mjs +0 -2
- package/dist/chunk-QBZBEHZB-Byagrlop.mjs +0 -2
- package/dist/chunk-XLADBZ7F-BXKOjWbx.mjs +0 -374
- package/dist/client-certificates-CgaIc3zN.mjs +0 -13
- package/dist/command-CF0giIIc.mjs +0 -3
- package/dist/command-CsZFRm3P.mjs +0 -2
- package/dist/command-DBz8QiFk.mjs +0 -2
- package/dist/config-B4vIa0zp.mjs +0 -2
- package/dist/data-security-DDhPnX8Z.mjs +0 -71
- package/dist/dev-CVD3BVUG.mjs +0 -4
- package/dist/dialog--iw0F2s-.mjs +0 -2
- package/dist/dist-CUUGKvjh.mjs +0 -48
- package/dist/dist-dc4E1u01.mjs +0 -272
- package/dist/dot-prop-6SRZBKHT-Dj7YOlwR.mjs +0 -2
- package/dist/dry-run-CLX6Pbtq.mjs +0 -2
- package/dist/error-sanitization-Cbd_oegl.mjs +0 -2
- package/dist/error-sanitization-DwOlM3R7.mjs +0 -2
- package/dist/firewall-67qoXiqD.mjs +0 -56
- package/dist/interactive-B6woOLo-.mjs +0 -32
- package/dist/interactive-DnUvQHjc.mjs +0 -2
- package/dist/keyless-certificates-Dvib4jhw.mjs +0 -13
- package/dist/kv-CA4J7cCq.mjs +0 -21
- package/dist/local-BrfySqnx.mjs +0 -2
- package/dist/login-CLW108XX.mjs +0 -5
- package/dist/login-xgRjiyJa.mjs +0 -2
- package/dist/mtls-certificates-LXlgdkf1.mjs +0 -13
- package/dist/oauth-Dzk6Gy-6.mjs +0 -14
- package/dist/open-PBXRGS4R-C4CKEADM.mjs +0 -4
- package/dist/open-PBXRGS4R-C_-G_4DC.mjs +0 -4
- package/dist/output-Bia1u2k5.mjs +0 -2
- package/dist/pages-pah6dZBJ.mjs +0 -60
- package/dist/precursor-DTTYLDEa.mjs +0 -4
- package/dist/previews-B89cUmpr.mjs +0 -4
- package/dist/progress-D_mL-Kcy.mjs +0 -2
- package/dist/prompt-sL_yMZbI.mjs +0 -3
- package/dist/r2-Chn_JQUM.mjs +0 -127
- package/dist/raw-fetch-lSVttVJF.mjs +0 -2
- package/dist/request-headers-POBKmu93.mjs +0 -2
- package/dist/resolve-BXemCSyA.mjs +0 -2
- package/dist/run-DtN51G2A.mjs +0 -2
- package/dist/run-oACgYK8I.mjs +0 -2
- package/dist/schema-DZSSJaY0.mjs +0 -2
- package/dist/shared-W9uoX1-W.mjs +0 -2
- package/dist/source-BR4_k2ad.mjs +0 -6
- package/dist/spawn-BWEuIO-w.mjs +0 -523
- package/dist/src-Hw-TlVAO.mjs +0 -108
- package/dist/startup-profile-CYEokTVe.mjs +0 -2
- package/dist/startup-profile-CgWHy4rE.mjs +0 -17
- package/dist/state-DSzkxXML.mjs +0 -2
- package/dist/telemetry-CSj_ezpk.mjs +0 -2
- package/dist/telemetry-DAf9gLyH.mjs +0 -2
- package/dist/telemetry-Dk1GcQ0u.mjs +0 -5
- package/dist/tools-BMKpYraQ.mjs +0 -2
- package/dist/turnstile-39JL9tMt.mjs +0 -33
- package/dist/ui-DH95w1Qk.mjs +0 -5
- package/dist/undici-DTSBJHNS.mjs +0 -96
- package/dist/update-check-BKQBD4MQ.mjs +0 -2
- package/dist/update-check-CE9XB6gf.mjs +0 -2
- package/dist/version-Bh3b9vTa.mjs +0 -2
- /package/dist/{Page-C-JHZnIy.mjs → Page-CjJht2qT.mjs} +0 -0
- /package/dist/{alerts-CstOk8n0.mjs → alerts-DqZgVSCT.mjs} +0 -0
- /package/dist/{autorag-PRTwXGgn.mjs → autorag-Cq9k9Ye6.mjs} +0 -0
- /package/dist/{body-parser-CUWbw_Tq.mjs → body-parser-hh2avzkz.mjs} +0 -0
- /package/dist/{brands-BHRXlWDm.mjs → brands-DeLbFxSt.mjs} +0 -0
- /package/dist/{clear-UvKESVx3.mjs → clear-CRfI7WS7.mjs} +0 -0
- /package/dist/{cli-types-tt_LZMbn.mjs → cli-types-DoVT5q_M.mjs} +0 -0
- /package/dist/{connector-telemetry-events-latest-DwnFeZg0.mjs → connector-telemetry-events-latest-D8p_dR8s.mjs} +0 -0
- /package/dist/{connector-telemetry-snapshots-latest-Dv6rZlxs.mjs → connector-telemetry-snapshots-latest-COFmzmlk.mjs} +0 -0
- /package/dist/{domain-info-BqTDXNBo.mjs → domain-info-aiwP60Fo.mjs} +0 -0
- /package/dist/{health-CwPzzrV6.mjs → health-Bz33n-_F.mjs} +0 -0
- /package/dist/{input-validation-Ch4Vllrm.mjs → input-validation-Dk52b0me.mjs} +0 -0
- /package/dist/{internal-WLHfxX64.mjs → internal-BHrJbbdA.mjs} +0 -0
- /package/dist/{lifecycle-Ichnb2x1.mjs → lifecycle-C7tAC1Mn.mjs} +0 -0
- /package/dist/{live-D_k7eHdv.mjs → live-a01OfPf9.mjs} +0 -0
- /package/dist/{metadata-APBiectA.mjs → metadata-C33s4rc-.mjs} +0 -0
- /package/dist/{project-settings-DSXevRvj.mjs → project-settings-DO6njFg_.mjs} +0 -0
- /package/dist/{rate-limit-analytics-CDTPxSET.mjs → rate-limit-analytics-Bw9qmxMx.mjs} +0 -0
- /package/dist/{rate-limits-C3K9smdl.mjs → rate-limits-CDm_xzKt.mjs} +0 -0
- /package/dist/{ready-CvwvbdTX.mjs → ready-BXGqY1Wi.mjs} +0 -0
- /package/dist/{recent-submissions-CjzcT-iH.mjs → recent-submissions-AhGZD3a3.mjs} +0 -0
- /package/dist/{refute-CIAFMj00.mjs → refute-D_w5Gw20.mjs} +0 -0
- /package/dist/{resolve-CUDKxUrW.mjs → resolve-BCTrtcx7.mjs} +0 -0
- /package/dist/{scan-logo-zFkphtQ3.mjs → scan-logo-BZzFam-Q.mjs} +0 -0
- /package/dist/{scan-page-CLl2MAkZ.mjs → scan-page-BPA8nSPM.mjs} +0 -0
- /package/dist/{search-12jA1b4l.mjs → search-De0UlXYN.mjs} +0 -0
- /package/dist/{signed-url-U0T_PEMR.mjs → signed-url-ziDz9frX.mjs} +0 -0
- /package/dist/{submission-info-CZ84a3Nb.mjs → submission-info-83D2DCCG.mjs} +0 -0
- /package/dist/{total-queries-CJTc9Pde.mjs → total-queries-Dhol31Kn.mjs} +0 -0
- /package/dist/{tracked-domains-BKLxnnSv.mjs → tracked-domains-DoOPs6Vd.mjs} +0 -0
- /package/dist/{verify-CZW5Fo1q.mjs → verify-CxpGEnJb.mjs} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./local-
|
|
2
|
+
import{t as e}from"./local-CxYne8s2.mjs";import{a as t,t as n}from"./context-5JRcefHh.mjs";import{a as r,r as i}from"./auth-3bFlHTVl.mjs";import{t as a}from"./output-CvQFJkvi.mjs";import{t as o}from"./dry-run-Bq0JAsbX.mjs";import{t as s}from"./progress-DUeNqM-j.mjs";import{t as c}from"./run-BhfDNWCI.mjs";import"./telemetry-iBZ-f6og.mjs";import{n as l,t as u}from"./body-parser-hh2avzkz.mjs";import{n as d,t as f}from"./input-validation-Dk52b0me.mjs";import{a as p,i as m,n as h}from"./prompt-DV6YTdoa.mjs";function g(e){return e.usage(`$0 vectorize create
|
|
3
3
|
|
|
4
|
-
Creates and returns a new Vectorize Index.`).option(`config-dimensions`,{type:`number`,description:`Specifies the number of dimensions for the index`}).option(`config-metric`,{type:`string`,description:`Specifies the type of metric to use calculating distance.`,choices:[`cosine`,`euclidean`,`dot-product`]}).option(`config-preset`,{type:`string`,description:`Specifies the preset to use for the index.`,choices:[`@cf/baai/bge-small-en-v1.5`,`@cf/baai/bge-base-en-v1.5`,`@cf/baai/bge-large-en-v1.5`,`openai/text-embedding-ada-002`,`cohere/embed-multilingual-v2.0`]}).option(`description`,{type:`string`,description:`Specifies the description of the index.`}).option(`name`,{type:`string`,description:`The name field`}).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(`config-dimensions`,[`config-preset`]).implies(`config-dimensions`,[`config-metric`]).conflicts(`config-metric`,[`config-preset`]).implies(`config-metric`,[`config-dimensions`]).conflicts(`config-preset`,[`config-dimensions`,`config-metric`])}const _={command:`create`,describe:`Create Vectorize Index`,builder:g,handler:async r=>c({command:`vectorize create`,classification:{safeFlags:[`config-metric`,`config-preset`,`dry-run`]}},r,async()=>{if(r.dryRun){o({command:`cf vectorize create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await
|
|
4
|
+
Creates and returns a new Vectorize Index.`).option(`config-dimensions`,{type:`number`,description:`Specifies the number of dimensions for the index`}).option(`config-metric`,{type:`string`,description:`Specifies the type of metric to use calculating distance.`,choices:[`cosine`,`euclidean`,`dot-product`]}).option(`config-preset`,{type:`string`,description:`Specifies the preset to use for the index.`,choices:[`@cf/baai/bge-small-en-v1.5`,`@cf/baai/bge-base-en-v1.5`,`@cf/baai/bge-large-en-v1.5`,`openai/text-embedding-ada-002`,`cohere/embed-multilingual-v2.0`]}).option(`description`,{type:`string`,description:`Specifies the description of the index.`}).option(`name`,{type:`string`,description:`The name field`}).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(`config-dimensions`,[`config-preset`]).implies(`config-dimensions`,[`config-metric`]).conflicts(`config-metric`,[`config-preset`]).implies(`config-metric`,[`config-dimensions`]).conflicts(`config-preset`,[`config-dimensions`,`config-metric`])}const _={command:`create`,describe:`Create Vectorize Index`,builder:g,handler:async r=>c({command:`vectorize create`,classification:{safeFlags:[`config-metric`,`config-preset`,`dry-run`]}},r,async()=>{if(r.dryRun){o({command:`cf vectorize create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/vectorize/v2/indexes`,pathParams:{},bodyKind:`json`,body:r.body===void 0?u({config:{dimensions:r[`config-dimensions`],metric:d(r[`config-metric`],`config-metric`,`text`),preset:d(r[`config-preset`],`config-preset`,`text`)},description:d(r.description,`description`,`text`),name:d(r.name,`name`,`text`)}):l(r.body)});return}let c=await i(r),f=r.local?e:await n();if(r.accountId=f,r.body){let e=l(r.body);a(await s(`Creating`,async()=>c.vectorize.create({body:e,account_id:f})),{successLabel:`Created`});return}r.name===void 0&&(r.name=await p(`name`,`The name field`));let m=u({config:{dimensions:r[`config-dimensions`],metric:d(r[`config-metric`],`config-metric`,`text`),preset:d(r[`config-preset`],`config-preset`,`text`)},description:d(r.description,`description`,`text`),name:d(r.name,`name`,`text`)});a(await s(`Creating`,async()=>c.vectorize.create({body:m,account_id:f})),{successLabel:`Created`})})};function v(e){return e.usage(`$0 vectorize delete-by-ids <index-name>
|
|
5
5
|
|
|
6
|
-
Delete a set of vectors from an index by their vector identifiers.`).positional(`index-name`,{type:`string`,description:`Index name`,demandOption:!0}).option(`ids`,{type:`string`,array:!0,description:`A list of vector identifiers to delete from the index indicated by the path.`}).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 y={command:`delete-by-ids <index-name>`,describe:`Delete Vectors By Identifier`,builder:v,handler:async r=>c({command:`vectorize delete-by-ids`,classification:{safeFlags:[`dry-run`]}},r,async()=>{if(r.dryRun){o({command:`cf vectorize delete-by-ids`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await
|
|
6
|
+
Delete a set of vectors from an index by their vector identifiers.`).positional(`index-name`,{type:`string`,description:`Index name`,demandOption:!0}).option(`ids`,{type:`string`,array:!0,description:`A list of vector identifiers to delete from the index indicated by the path.`}).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 y={command:`delete-by-ids <index-name>`,describe:`Delete Vectors By Identifier`,builder:v,handler:async r=>c({command:`vectorize delete-by-ids`,classification:{safeFlags:[`dry-run`]}},r,async()=>{if(r.dryRun){o({command:`cf vectorize delete-by-ids`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/vectorize/v2/indexes/${r[`index-name`]==null?`<index-name>`:encodeURIComponent(String(r[`index-name`]))}/delete_by_ids`,pathParams:{"index-name":String(r[`index-name`]??``)},bodyKind:`json`,body:r.body===void 0?u({ids:r.ids}):l(r.body)});return}let c=await i(r),d=r.local?e:await n();if(r.accountId=d,r.body){let e=l(r.body);a(await s(`Creating`,async()=>c.vectorize.deleteByIds({body:e,account_id:d,index_name:r[`index-name`]})),{successLabel:`Created`});return}let f=u({ids:r.ids});a(await s(`Creating`,async()=>c.vectorize.deleteByIds({body:f,account_id:d,index_name:r[`index-name`]})),{successLabel:`Created`})})};function b(e){return e.usage(`$0 vectorize delete <index-name>
|
|
7
7
|
|
|
8
|
-
Deletes the specified Vectorize Index.`).positional(`index-name`,{type:`string`,description:`Index name`,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 x={command:`delete <index-name>`,describe:`Delete Vectorize Index`,builder:b,handler:async r=>c({command:`vectorize delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},r,async()=>{if(r.dryRun){o({command:`cf vectorize delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/accounts/${await
|
|
8
|
+
Deletes the specified Vectorize Index.`).positional(`index-name`,{type:`string`,description:`Index name`,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 x={command:`delete <index-name>`,describe:`Delete Vectorize Index`,builder:b,handler:async r=>c({command:`vectorize delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},r,async()=>{if(r.dryRun){o({command:`cf vectorize delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/vectorize/v2/indexes/${r[`index-name`]==null?`<index-name>`:encodeURIComponent(String(r[`index-name`]))}`,pathParams:{"index-name":String(r[`index-name`]??``)},bodyKind:`none`});return}let c=await i(r),l=r.local?e:await n();if(r.accountId=l,!await h({force:!!r.force})){process.stderr.write(`Aborted.
|
|
9
9
|
`);return}a(await s(`Deleting`,async()=>c.vectorize.delete({account_id:l,index_name:r[`index-name`]})),{successLabel:`Deleted`})})};function S(e){return e.usage(`$0 vectorize get-by-ids <index-name>
|
|
10
10
|
|
|
11
|
-
Get a set of vectors from an index by their vector identifiers.`).positional(`index-name`,{type:`string`,description:`Index name`,demandOption:!0}).option(`ids`,{type:`string`,array:!0,description:`A list of vector identifiers to retrieve from the index indicated by the path.`}).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 C={command:`get-by-ids <index-name>`,describe:`Get Vectors By Identifier`,builder:S,handler:async r=>c({command:`vectorize get-by-ids`,classification:{safeFlags:[`dry-run`]}},r,async()=>{if(r.dryRun){o({command:`cf vectorize get-by-ids`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await
|
|
11
|
+
Get a set of vectors from an index by their vector identifiers.`).positional(`index-name`,{type:`string`,description:`Index name`,demandOption:!0}).option(`ids`,{type:`string`,array:!0,description:`A list of vector identifiers to retrieve from the index indicated by the path.`}).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 C={command:`get-by-ids <index-name>`,describe:`Get Vectors By Identifier`,builder:S,handler:async r=>c({command:`vectorize get-by-ids`,classification:{safeFlags:[`dry-run`]}},r,async()=>{if(r.dryRun){o({command:`cf vectorize get-by-ids`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/vectorize/v2/indexes/${r[`index-name`]==null?`<index-name>`:encodeURIComponent(String(r[`index-name`]))}/get_by_ids`,pathParams:{"index-name":String(r[`index-name`]??``)},bodyKind:`json`,body:r.body===void 0?u({ids:r.ids}):l(r.body)});return}let c=await i(r),d=r.local?e:await n();if(r.accountId=d,r.body){let e=l(r.body);a(await s(`Creating`,async()=>c.vectorize.getByIds({body:e,account_id:d,index_name:r[`index-name`]})),{successLabel:`Created`});return}let f=u({ids:r.ids});a(await s(`Creating`,async()=>c.vectorize.getByIds({body:f,account_id:d,index_name:r[`index-name`]})),{successLabel:`Created`})})};function w(e){return e.usage(`$0 vectorize get <index-name>
|
|
12
12
|
|
|
13
|
-
Returns the specified Vectorize Index.`).positional(`index-name`,{type:`string`,description:`Index name`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const T={command:`get <index-name>`,describe:`Get Vectorize Index`,builder:w,handler:async r=>c({command:`vectorize get`,classification:{safeFlags:[`dry-run`]}},r,async()=>{if(r.dryRun){o({command:`cf vectorize get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${await
|
|
13
|
+
Returns the specified Vectorize Index.`).positional(`index-name`,{type:`string`,description:`Index name`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const T={command:`get <index-name>`,describe:`Get Vectorize Index`,builder:w,handler:async r=>c({command:`vectorize get`,classification:{safeFlags:[`dry-run`]}},r,async()=>{if(r.dryRun){o({command:`cf vectorize get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/vectorize/v2/indexes/${r[`index-name`]==null?`<index-name>`:encodeURIComponent(String(r[`index-name`]))}`,pathParams:{"index-name":String(r[`index-name`]??``)},bodyKind:`none`});return}let c=await i(r),l=r.local?e:await n();r.accountId=l,a(await s(`Loading`,async()=>c.vectorize.get({account_id:l,index_name:r[`index-name`]})),{successLabel:`Loaded`})})};function E(e){return e.usage(`$0 vectorize info <index-name>
|
|
14
14
|
|
|
15
|
-
Get information about a vectorize index.`).positional(`index-name`,{type:`string`,description:`Index name`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const D={command:`info <index-name>`,describe:`Get Vectorize Index Info`,builder:E,handler:async r=>c({command:`vectorize info`,classification:{safeFlags:[`dry-run`]}},r,async()=>{if(r.dryRun){o({command:`cf vectorize info`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${await
|
|
15
|
+
Get information about a vectorize index.`).positional(`index-name`,{type:`string`,description:`Index name`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const D={command:`info <index-name>`,describe:`Get Vectorize Index Info`,builder:E,handler:async r=>c({command:`vectorize info`,classification:{safeFlags:[`dry-run`]}},r,async()=>{if(r.dryRun){o({command:`cf vectorize info`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/vectorize/v2/indexes/${r[`index-name`]==null?`<index-name>`:encodeURIComponent(String(r[`index-name`]))}/info`,pathParams:{"index-name":String(r[`index-name`]??``)},bodyKind:`none`});return}let c=await i(r),l=r.local?e:await n();r.accountId=l,a(await s(`Loading`,async()=>c.vectorize.info({account_id:l,index_name:r[`index-name`]})),{successLabel:`Loaded`})})};function O(e){return e.usage(`$0 vectorize insert <index-name>
|
|
16
16
|
|
|
17
|
-
Inserts vectors into the specified index and returns a mutation id corresponding to the vectors enqueued for insertion.`).positional(`index-name`,{type:`string`,description:`Index name`,demandOption:!0}).option(`unparsable-behavior`,{type:`string`,description:`Behavior for ndjson parse failures.`,choices:[`error`,`discard`]}).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)`}).option(`file`,{type:`string`,description:`Path to a file to upload as the request body`})}const k={command:`insert <index-name>`,describe:`Insert Vectors`,builder:O,handler:async l=>c({command:`vectorize insert`,classification:{safeFlags:[`unparsable-behavior`,`dry-run`]}},l,async()=>{let c={"unparsable-behavior":l[`unparsable-behavior`]};if(l.dryRun){o({command:`cf vectorize insert`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await
|
|
17
|
+
Inserts vectors into the specified index and returns a mutation id corresponding to the vectors enqueued for insertion.`).positional(`index-name`,{type:`string`,description:`Index name`,demandOption:!0}).option(`unparsable-behavior`,{type:`string`,description:`Behavior for ndjson parse failures.`,choices:[`error`,`discard`]}).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)`}).option(`file`,{type:`string`,description:`Path to a file to upload as the request body`})}const k={command:`insert <index-name>`,describe:`Insert Vectors`,builder:O,handler:async l=>c({command:`vectorize insert`,classification:{safeFlags:[`unparsable-behavior`,`dry-run`]}},l,async()=>{let c={"unparsable-behavior":l[`unparsable-behavior`]};if(l.dryRun){o({command:`cf vectorize insert`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/vectorize/v2/indexes/${l[`index-name`]==null?`<index-name>`:encodeURIComponent(String(l[`index-name`]))}/insert`,pathParams:{"index-name":String(l[`index-name`]??``)},query:c,bodyKind:`octet-stream`,body:l.body});return}let u=await i(l),p=l.local?e:await n();if(l.accountId=p,l.file){let e=f(l.file);a(await s(`Creating`,async()=>r(u,`POST`,`/accounts/${p}/vectorize/v2/indexes/${encodeURIComponent(String(l[`index-name`]))}/insert`,{body:e,headers:{"Content-Type":`application/x-ndjson`}})),{successLabel:`Created`});return}if(l.body){let e=d(l.body,`body`,`binary`),t=new URLSearchParams(Object.entries(c).filter(([,e])=>e!==void 0).map(([e,t])=>[e,String(t)])).toString();a(await s(`Creating`,async()=>r(u,`POST`,`/accounts/${p}/vectorize/v2/indexes/${encodeURIComponent(String(l[`index-name`]))}/insert${t?`?`+t:``}`,{body:e,headers:{"Content-Type":`application/x-ndjson`}})),{successLabel:`Created`});return}if(l.body===void 0)throw Error(`--body is required for this command. Pass --body '<json>' or --body @path/to/file.json.`)})};function A(e){return e.usage(`$0 vectorize list-vectors <index-name>
|
|
18
18
|
|
|
19
|
-
Returns a paginated list of vector identifiers from the specified index.`).positional(`index-name`,{type:`string`,description:`Index name`,demandOption:!0}).option(`count`,{type:`number`,description:`Maximum number of vectors to return`}).option(`cursor`,{type:`string`,description:`Cursor for pagination to get the next page of results`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const j={command:`list-vectors <index-name>`,describe:`List Vectors`,builder:A,handler:async r=>c({command:`vectorize list-vectors`,classification:{safeFlags:[`dry-run`]}},r,async()=>{let c={count:r.count,cursor:r.cursor};if(r.dryRun){o({command:`cf vectorize list-vectors`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${await
|
|
19
|
+
Returns a paginated list of vector identifiers from the specified index.`).positional(`index-name`,{type:`string`,description:`Index name`,demandOption:!0}).option(`count`,{type:`number`,description:`Maximum number of vectors to return`}).option(`cursor`,{type:`string`,description:`Cursor for pagination to get the next page of results`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const j={command:`list-vectors <index-name>`,describe:`List Vectors`,builder:A,handler:async r=>c({command:`vectorize list-vectors`,classification:{safeFlags:[`dry-run`]}},r,async()=>{let c={count:r.count,cursor:r.cursor};if(r.dryRun){o({command:`cf vectorize list-vectors`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/vectorize/v2/indexes/${r[`index-name`]==null?`<index-name>`:encodeURIComponent(String(r[`index-name`]))}/list`,pathParams:{"index-name":String(r[`index-name`]??``)},query:c,bodyKind:`none`});return}let l=await i(r),u=r.local?e:await n();r.accountId=u,a(await s(`Loading`,async()=>l.vectorize.listVectors({account_id:u,index_name:r[`index-name`],...c})),{successLabel:`Loaded`})})};function M(e){return e.usage(`$0 vectorize list
|
|
20
20
|
|
|
21
|
-
Returns a list of Vectorize Indexes`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const N={command:`list`,describe:`List Vectorize Indexes`,builder:M,handler:async r=>c({command:`vectorize list`,classification:{safeFlags:[`dry-run`]}},r,async()=>{if(r.dryRun){o({command:`cf vectorize list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${await
|
|
21
|
+
Returns a list of Vectorize Indexes`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const N={command:`list`,describe:`List Vectorize Indexes`,builder:M,handler:async r=>c({command:`vectorize list`,classification:{safeFlags:[`dry-run`]}},r,async()=>{if(r.dryRun){o({command:`cf vectorize list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/vectorize/v2/indexes`,pathParams:{},bodyKind:`none`});return}let c=await i(r),l=r.local?e:await n();r.accountId=l,a(await s(`Loading`,async()=>c.vectorize.list({account_id:l})),{successLabel:`Loaded`})})};function P(e){return e.usage(`$0 vectorize metadata-index create <index-name>
|
|
22
22
|
|
|
23
|
-
Enable metadata filtering based on metadata property. Limited to 10 properties.`).positional(`index-name`,{type:`string`,description:`Index name`,demandOption:!0}).option(`index-type`,{type:`string`,description:`Specifies the type of metadata property to index.`,choices:[`string`,`number`,`boolean`]}).option(`property-name`,{type:`string`,description:`Specifies the metadata property to index.`}).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 F={command:`create <index-name>`,describe:`Create Metadata Index`,builder:P,handler:async r=>c({command:`vectorize metadata-index create`,classification:{safeFlags:[`index-type`,`dry-run`]}},r,async()=>{if(r.dryRun){o({command:`cf vectorize metadata-index create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await
|
|
23
|
+
Enable metadata filtering based on metadata property. Limited to 10 properties.`).positional(`index-name`,{type:`string`,description:`Index name`,demandOption:!0}).option(`index-type`,{type:`string`,description:`Specifies the type of metadata property to index.`,choices:[`string`,`number`,`boolean`]}).option(`property-name`,{type:`string`,description:`Specifies the metadata property to index.`}).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 F={command:`create <index-name>`,describe:`Create Metadata Index`,builder:P,handler:async r=>c({command:`vectorize metadata-index create`,classification:{safeFlags:[`index-type`,`dry-run`]}},r,async()=>{if(r.dryRun){o({command:`cf vectorize metadata-index create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/vectorize/v2/indexes/${r[`index-name`]==null?`<index-name>`:encodeURIComponent(String(r[`index-name`]))}/metadata_index/create`,pathParams:{"index-name":String(r[`index-name`]??``)},bodyKind:`json`,body:r.body===void 0?u({indexType:d(r[`index-type`],`index-type`,`text`),propertyName:d(r[`property-name`],`property-name`,`text`)}):l(r.body)});return}let c=await i(r),f=r.local?e:await n();if(r.accountId=f,r.body){let e=l(r.body);a(await s(`Creating`,async()=>c.vectorize.metadataIndex.create({...e,account_id:f,index_name:r[`index-name`]})),{successLabel:`Created`});return}r[`index-type`]===void 0&&(r[`index-type`]=await m(`index-type`,`Specifies the type of metadata property to index.`,[`string`,`number`,`boolean`])),r[`property-name`]===void 0&&(r[`property-name`]=await p(`property-name`,`Specifies the metadata property to index.`));let h=u({indexType:d(r[`index-type`],`index-type`,`text`),propertyName:d(r[`property-name`],`property-name`,`text`)});a(await s(`Creating`,async()=>c.vectorize.metadataIndex.create({...h,account_id:f,index_name:r[`index-name`]})),{successLabel:`Created`})})};function I(e){return e.usage(`$0 vectorize metadata-index delete <index-name>
|
|
24
24
|
|
|
25
|
-
Allow Vectorize to delete the specified metadata index.`).positional(`index-name`,{type:`string`,description:`Index name`,demandOption:!0}).option(`property-name`,{type:`string`,description:`Specifies the metadata property for which the index must be deleted.`}).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}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const L={command:`delete <index-name>`,describe:`Delete Metadata Index`,builder:I,handler:async r=>c({command:`vectorize metadata-index delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},r,async()=>{if(r.dryRun){o({command:`cf vectorize metadata-index delete`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await
|
|
25
|
+
Allow Vectorize to delete the specified metadata index.`).positional(`index-name`,{type:`string`,description:`Index name`,demandOption:!0}).option(`property-name`,{type:`string`,description:`Specifies the metadata property for which the index must be deleted.`}).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}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const L={command:`delete <index-name>`,describe:`Delete Metadata Index`,builder:I,handler:async r=>c({command:`vectorize metadata-index delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},r,async()=>{if(r.dryRun){o({command:`cf vectorize metadata-index delete`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/vectorize/v2/indexes/${r[`index-name`]==null?`<index-name>`:encodeURIComponent(String(r[`index-name`]))}/metadata_index/delete`,pathParams:{"index-name":String(r[`index-name`]??``)},bodyKind:`json`,body:r.body===void 0?u({propertyName:d(r[`property-name`],`property-name`,`text`)}):l(r.body)});return}let c=await i(r),f=r.local?e:await n();if(r.accountId=f,!await h({force:!!r.force,message:`This operation deletes a metadata index destructively.`})){process.stderr.write(`Aborted.
|
|
26
26
|
`);return}if(r.body){let e=l(r.body);a(await s(`Deleting`,async()=>c.vectorize.metadataIndex.delete({...e,account_id:f,index_name:r[`index-name`]})),{successLabel:`Deleted`});return}r[`property-name`]===void 0&&(r[`property-name`]=await p(`property-name`,`Specifies the metadata property for which the index must be deleted.`));let m=u({propertyName:d(r[`property-name`],`property-name`,`text`)});a(await s(`Deleting`,async()=>c.vectorize.metadataIndex.delete({...m,account_id:f,index_name:r[`index-name`]})),{successLabel:`Deleted`})})};function R(e){return e.usage(`$0 vectorize metadata-index list
|
|
27
27
|
|
|
28
|
-
List Metadata Indexes for the specified Vectorize Index.`).option(`index-name`,{type:`string`,description:`Index name`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const z={command:`list`,describe:`List Metadata Indexes`,builder:R,handler:async r=>c({command:`vectorize metadata-index list`,classification:{safeFlags:[`dry-run`]}},r,async()=>{if(r.dryRun){o({command:`cf vectorize metadata-index list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${await
|
|
28
|
+
List Metadata Indexes for the specified Vectorize Index.`).option(`index-name`,{type:`string`,description:`Index name`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const z={command:`list`,describe:`List Metadata Indexes`,builder:R,handler:async r=>c({command:`vectorize metadata-index list`,classification:{safeFlags:[`dry-run`]}},r,async()=>{if(r.dryRun){o({command:`cf vectorize metadata-index list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/vectorize/v2/indexes/${r[`index-name`]==null?`<index-name>`:encodeURIComponent(String(r[`index-name`]))}/metadata_index/list`,pathParams:{"index-name":String(r[`index-name`]??``)},bodyKind:`none`});return}let c=await i(r),l=r.local?e:await n();r.accountId=l,a(await s(`Loading`,async()=>c.vectorize.metadataIndex.list({account_id:l,index_name:r[`index-name`]})),{successLabel:`Loaded`})})},B={command:`metadata-index`,describe:`Operations for metadata-index`,builder:e=>e.command(F).command(L).command(z).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function V(e){return e.usage(`$0 vectorize query <index-name>
|
|
29
29
|
|
|
30
|
-
Finds vectors closest to a given vector in an index.`).positional(`index-name`,{type:`string`,description:`Index name`,demandOption:!0}).option(`return-metadata`,{type:`string`,description:`Whether to return no metadata, indexed metadata or all metadata associated with the closest vectors.`,choices:[`none`,`indexed`,`all`],default:`none`}).option(`return-values`,{type:`boolean`,description:`Whether to return the values associated with the closest vectors.`,default:!1}).option(`top-k`,{type:`number`,description:`The number of nearest neighbors to find.`,default:5}).option(`vector`,{type:`string`,array:!0,description:`The search vector that will be used to find the nearest neighbors.`}).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 H={command:`query <index-name>`,describe:`Query Vectors`,builder:V,handler:async r=>c({command:`vectorize query`,classification:{safeFlags:[`return-metadata`,`return-values`,`dry-run`]}},r,async()=>{if(r.dryRun){o({command:`cf vectorize query`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await
|
|
30
|
+
Finds vectors closest to a given vector in an index.`).positional(`index-name`,{type:`string`,description:`Index name`,demandOption:!0}).option(`return-metadata`,{type:`string`,description:`Whether to return no metadata, indexed metadata or all metadata associated with the closest vectors.`,choices:[`none`,`indexed`,`all`],default:`none`}).option(`return-values`,{type:`boolean`,description:`Whether to return the values associated with the closest vectors.`,default:!1}).option(`top-k`,{type:`number`,description:`The number of nearest neighbors to find.`,default:5}).option(`vector`,{type:`string`,array:!0,description:`The search vector that will be used to find the nearest neighbors.`}).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 H={command:`query <index-name>`,describe:`Query Vectors`,builder:V,handler:async r=>c({command:`vectorize query`,classification:{safeFlags:[`return-metadata`,`return-values`,`dry-run`]}},r,async()=>{if(r.dryRun){o({command:`cf vectorize query`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/vectorize/v2/indexes/${r[`index-name`]==null?`<index-name>`:encodeURIComponent(String(r[`index-name`]))}/query`,pathParams:{"index-name":String(r[`index-name`]??``)},bodyKind:`json`,body:r.body===void 0?u({returnMetadata:d(r[`return-metadata`],`return-metadata`,`text`),returnValues:r[`return-values`],topK:r[`top-k`],vector:r.vector}):l(r.body)});return}let c=await i(r),f=r.local?e:await n();if(r.accountId=f,r.body){let e=l(r.body);a(await s(`Loading`,async()=>c.vectorize.query({...e,account_id:f,index_name:r[`index-name`]})),{successLabel:`Loaded`});return}if(r.vector===void 0)throw Error(`--vector is required (or pass --body with this field set).`);let p=u({returnMetadata:d(r[`return-metadata`],`return-metadata`,`text`),returnValues:r[`return-values`],topK:r[`top-k`],vector:r.vector});a(await s(`Loading`,async()=>c.vectorize.query({...p,account_id:f,index_name:r[`index-name`]})),{successLabel:`Loaded`})})};function U(e){return e.usage(`$0 vectorize upsert <index-name>
|
|
31
31
|
|
|
32
|
-
Upserts vectors into the specified index, creating them if they do not exist and returns a mutation id corresponding to the vectors enqueued for upsertion.`).positional(`index-name`,{type:`string`,description:`Index name`,demandOption:!0}).option(`unparsable-behavior`,{type:`string`,description:`Behavior for ndjson parse failures.`,choices:[`error`,`discard`]}).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)`}).option(`file`,{type:`string`,description:`Path to a file to upload as the request body`})}const W={command:`upsert <index-name>`,describe:`Upsert Vectors`,builder:U,handler:async l=>c({command:`vectorize upsert`,classification:{safeFlags:[`unparsable-behavior`,`dry-run`]}},l,async()=>{let c={"unparsable-behavior":l[`unparsable-behavior`]};if(l.dryRun){o({command:`cf vectorize upsert`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await
|
|
32
|
+
Upserts vectors into the specified index, creating them if they do not exist and returns a mutation id corresponding to the vectors enqueued for upsertion.`).positional(`index-name`,{type:`string`,description:`Index name`,demandOption:!0}).option(`unparsable-behavior`,{type:`string`,description:`Behavior for ndjson parse failures.`,choices:[`error`,`discard`]}).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)`}).option(`file`,{type:`string`,description:`Path to a file to upload as the request body`})}const W={command:`upsert <index-name>`,describe:`Upsert Vectors`,builder:U,handler:async l=>c({command:`vectorize upsert`,classification:{safeFlags:[`unparsable-behavior`,`dry-run`]}},l,async()=>{let c={"unparsable-behavior":l[`unparsable-behavior`]};if(l.dryRun){o({command:`cf vectorize upsert`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/vectorize/v2/indexes/${l[`index-name`]==null?`<index-name>`:encodeURIComponent(String(l[`index-name`]))}/upsert`,pathParams:{"index-name":String(l[`index-name`]??``)},query:c,bodyKind:`octet-stream`,body:l.body});return}let u=await i(l),p=l.local?e:await n();if(l.accountId=p,l.file){let e=f(l.file);a(await s(`Creating`,async()=>r(u,`POST`,`/accounts/${p}/vectorize/v2/indexes/${encodeURIComponent(String(l[`index-name`]))}/upsert`,{body:e,headers:{"Content-Type":`application/x-ndjson`}})),{successLabel:`Created`});return}if(l.body){let e=d(l.body,`body`,`binary`),t=new URLSearchParams(Object.entries(c).filter(([,e])=>e!==void 0).map(([e,t])=>[e,String(t)])).toString();a(await s(`Creating`,async()=>r(u,`POST`,`/accounts/${p}/vectorize/v2/indexes/${encodeURIComponent(String(l[`index-name`]))}/upsert${t?`?`+t:``}`,{body:e,headers:{"Content-Type":`application/x-ndjson`}})),{successLabel:`Created`});return}if(l.body===void 0)throw Error(`--body is required for this command. Pass --body '<json>' or --body @path/to/file.json.`)})},G={command:`vectorize`,describe:`vectorize`,builder:e=>e.command(_).command(x).command(y).command(T).command(C).command(D).command(k).command(N).command(j).command(H).command(W).command(B).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};export{G as default};
|