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
package/dist/_meta/schemas.json
CHANGED
|
@@ -4684,7 +4684,7 @@
|
|
|
4684
4684
|
"hasRequestBody": false,
|
|
4685
4685
|
"requestBodyFields": []
|
|
4686
4686
|
},
|
|
4687
|
-
"ai
|
|
4687
|
+
"ai list-markdown-supported-formats": {
|
|
4688
4688
|
"operationId": "workers-ai-get-to-markdown-supported",
|
|
4689
4689
|
"httpMethod": "GET",
|
|
4690
4690
|
"path": "/accounts/{account_id}/ai/tomarkdown/supported",
|
|
@@ -12984,6 +12984,26 @@
|
|
|
12984
12984
|
}
|
|
12985
12985
|
]
|
|
12986
12986
|
},
|
|
12987
|
+
"basin-catalog credentials status": {
|
|
12988
|
+
"operationId": "basin-get-credential-status",
|
|
12989
|
+
"httpMethod": "GET",
|
|
12990
|
+
"path": "/accounts/{account_id}/basin-catalog/{bucket_name}/credential/status",
|
|
12991
|
+
"pathParams": [
|
|
12992
|
+
{
|
|
12993
|
+
"name": "account_id",
|
|
12994
|
+
"type": "string",
|
|
12995
|
+
"required": true
|
|
12996
|
+
},
|
|
12997
|
+
{
|
|
12998
|
+
"name": "bucket_name",
|
|
12999
|
+
"type": "string",
|
|
13000
|
+
"required": true
|
|
13001
|
+
}
|
|
13002
|
+
],
|
|
13003
|
+
"queryParams": [],
|
|
13004
|
+
"hasRequestBody": false,
|
|
13005
|
+
"requestBodyFields": []
|
|
13006
|
+
},
|
|
12987
13007
|
"basin-catalog delete": {
|
|
12988
13008
|
"operationId": "basin-delete-catalog",
|
|
12989
13009
|
"httpMethod": "POST",
|
|
@@ -13124,6 +13144,18 @@
|
|
|
13124
13144
|
"queryParams": [],
|
|
13125
13145
|
"hasRequestBody": true,
|
|
13126
13146
|
"requestBodyFields": [
|
|
13147
|
+
{
|
|
13148
|
+
"name": "compaction-state",
|
|
13149
|
+
"type": "string",
|
|
13150
|
+
"required": false,
|
|
13151
|
+
"description": "Specifies the state of maintenance operations."
|
|
13152
|
+
},
|
|
13153
|
+
{
|
|
13154
|
+
"name": "compaction-target-size-mb",
|
|
13155
|
+
"type": "string",
|
|
13156
|
+
"required": false,
|
|
13157
|
+
"description": "Sets the target file size for compaction in megabytes. Defaults to \"128\"."
|
|
13158
|
+
},
|
|
13127
13159
|
{
|
|
13128
13160
|
"name": "snapshot-expiration-max-snapshot-age",
|
|
13129
13161
|
"type": "string",
|
|
@@ -13135,6 +13167,12 @@
|
|
|
13135
13167
|
"type": "number",
|
|
13136
13168
|
"required": false,
|
|
13137
13169
|
"description": "Updates the minimum number of snapshots to retain optionally."
|
|
13170
|
+
},
|
|
13171
|
+
{
|
|
13172
|
+
"name": "snapshot-expiration-state",
|
|
13173
|
+
"type": "string",
|
|
13174
|
+
"required": false,
|
|
13175
|
+
"description": "Specifies the state of maintenance operations."
|
|
13138
13176
|
}
|
|
13139
13177
|
]
|
|
13140
13178
|
},
|
|
@@ -13384,6 +13422,12 @@
|
|
|
13384
13422
|
"type": "number",
|
|
13385
13423
|
"required": false,
|
|
13386
13424
|
"description": "Updates the minimum number of snapshots to retain optionally."
|
|
13425
|
+
},
|
|
13426
|
+
{
|
|
13427
|
+
"name": "snapshot-expiration-state",
|
|
13428
|
+
"type": "string",
|
|
13429
|
+
"required": false,
|
|
13430
|
+
"description": "Specifies the state of maintenance operations."
|
|
13387
13431
|
}
|
|
13388
13432
|
]
|
|
13389
13433
|
},
|
|
@@ -38289,7 +38333,7 @@
|
|
|
38289
38333
|
"description": "Define CA certificate ID obtained after uploading CA cert."
|
|
38290
38334
|
},
|
|
38291
38335
|
{
|
|
38292
|
-
"name": "mtls-
|
|
38336
|
+
"name": "mtls-certificate-id",
|
|
38293
38337
|
"type": "string",
|
|
38294
38338
|
"required": false,
|
|
38295
38339
|
"description": "Define mTLS certificate ID obtained after uploading client cert."
|
|
@@ -38331,16 +38375,16 @@
|
|
|
38331
38375
|
"description": "The name of the PlanetScale database."
|
|
38332
38376
|
},
|
|
38333
38377
|
{
|
|
38334
|
-
"name": "integration-
|
|
38378
|
+
"name": "integration-organization-name",
|
|
38335
38379
|
"type": "string",
|
|
38336
38380
|
"required": false,
|
|
38337
|
-
"description": "The
|
|
38381
|
+
"description": "The name of the PlanetScale organization."
|
|
38338
38382
|
},
|
|
38339
38383
|
{
|
|
38340
|
-
"name": "integration-
|
|
38384
|
+
"name": "integration-provider",
|
|
38341
38385
|
"type": "string",
|
|
38342
38386
|
"required": false,
|
|
38343
|
-
"description": "The
|
|
38387
|
+
"description": "The database integration provider used by this operation."
|
|
38344
38388
|
},
|
|
38345
38389
|
{
|
|
38346
38390
|
"name": "integration-scheme",
|
|
@@ -38350,10 +38394,10 @@
|
|
|
38350
38394
|
}
|
|
38351
38395
|
]
|
|
38352
38396
|
},
|
|
38353
|
-
"hyperdrive
|
|
38354
|
-
"operationId": "
|
|
38355
|
-
"httpMethod": "
|
|
38356
|
-
"path": "/accounts/{account_id}/hyperdrive/
|
|
38397
|
+
"hyperdrive delete": {
|
|
38398
|
+
"operationId": "delete-hyperdrive",
|
|
38399
|
+
"httpMethod": "DELETE",
|
|
38400
|
+
"path": "/accounts/{account_id}/hyperdrive/configs/{hyperdrive_id}",
|
|
38357
38401
|
"pathParams": [
|
|
38358
38402
|
{
|
|
38359
38403
|
"name": "account_id",
|
|
@@ -38361,7 +38405,7 @@
|
|
|
38361
38405
|
"required": true
|
|
38362
38406
|
},
|
|
38363
38407
|
{
|
|
38364
|
-
"name": "
|
|
38408
|
+
"name": "hyperdrive_id",
|
|
38365
38409
|
"type": "string",
|
|
38366
38410
|
"required": true
|
|
38367
38411
|
}
|
|
@@ -38370,9 +38414,9 @@
|
|
|
38370
38414
|
"hasRequestBody": false,
|
|
38371
38415
|
"requestBodyFields": []
|
|
38372
38416
|
},
|
|
38373
|
-
"hyperdrive
|
|
38374
|
-
"operationId": "
|
|
38375
|
-
"httpMethod": "
|
|
38417
|
+
"hyperdrive get": {
|
|
38418
|
+
"operationId": "get-hyperdrive",
|
|
38419
|
+
"httpMethod": "GET",
|
|
38376
38420
|
"path": "/accounts/{account_id}/hyperdrive/configs/{hyperdrive_id}",
|
|
38377
38421
|
"pathParams": [
|
|
38378
38422
|
{
|
|
@@ -38390,20 +38434,15 @@
|
|
|
38390
38434
|
"hasRequestBody": false,
|
|
38391
38435
|
"requestBodyFields": []
|
|
38392
38436
|
},
|
|
38393
|
-
"hyperdrive
|
|
38394
|
-
"operationId": "
|
|
38395
|
-
"httpMethod": "
|
|
38396
|
-
"path": "/accounts/{account_id}/hyperdrive/
|
|
38437
|
+
"hyperdrive integration planetscale signature": {
|
|
38438
|
+
"operationId": "create-hyperdrive-database-signature",
|
|
38439
|
+
"httpMethod": "POST",
|
|
38440
|
+
"path": "/accounts/{account_id}/hyperdrive/integrationsOperations/planetScale/createDatabaseSignature",
|
|
38397
38441
|
"pathParams": [
|
|
38398
38442
|
{
|
|
38399
38443
|
"name": "account_id",
|
|
38400
38444
|
"type": "string",
|
|
38401
38445
|
"required": true
|
|
38402
|
-
},
|
|
38403
|
-
{
|
|
38404
|
-
"name": "hyperdrive_id",
|
|
38405
|
-
"type": "string",
|
|
38406
|
-
"required": true
|
|
38407
38446
|
}
|
|
38408
38447
|
],
|
|
38409
38448
|
"queryParams": [],
|
|
@@ -38480,7 +38519,7 @@
|
|
|
38480
38519
|
"description": "Define CA certificate ID obtained after uploading CA cert."
|
|
38481
38520
|
},
|
|
38482
38521
|
{
|
|
38483
|
-
"name": "mtls-
|
|
38522
|
+
"name": "mtls-certificate-id",
|
|
38484
38523
|
"type": "string",
|
|
38485
38524
|
"required": false,
|
|
38486
38525
|
"description": "Define mTLS certificate ID obtained after uploading client cert."
|
|
@@ -38623,7 +38662,7 @@
|
|
|
38623
38662
|
"description": "Define CA certificate ID obtained after uploading CA cert."
|
|
38624
38663
|
},
|
|
38625
38664
|
{
|
|
38626
|
-
"name": "mtls-
|
|
38665
|
+
"name": "mtls-certificate-id",
|
|
38627
38666
|
"type": "string",
|
|
38628
38667
|
"required": false,
|
|
38629
38668
|
"description": "Define mTLS certificate ID obtained after uploading client cert."
|
|
@@ -45004,7 +45043,13 @@
|
|
|
45004
45043
|
"name": "filter",
|
|
45005
45044
|
"type": "string",
|
|
45006
45045
|
"required": false,
|
|
45007
|
-
"description": "Optional Logpush filter predicate to restrict which events are ingested.\
|
|
45046
|
+
"description": "Optional Logpush filter predicate to restrict which events are ingested.\nSee [Logpush filters](https://developers.cloudflare.com/logs/reference/filters/)\nfor syntax and examples.\n"
|
|
45047
|
+
},
|
|
45048
|
+
{
|
|
45049
|
+
"name": "filter-attack-traffic",
|
|
45050
|
+
"type": "boolean",
|
|
45051
|
+
"required": false,
|
|
45052
|
+
"description": "Whether to filter attack traffic from the Logpush job. Defaults to\n`true` for supported datasets when omitted. Supported datasets are\n`http_requests`, `firewall_events`, and `network_analytics_logs`.\n"
|
|
45008
45053
|
}
|
|
45009
45054
|
]
|
|
45010
45055
|
},
|
|
@@ -45131,6 +45176,12 @@
|
|
|
45131
45176
|
"type": "string",
|
|
45132
45177
|
"required": false,
|
|
45133
45178
|
"description": "Optional Logpush filter predicate to restrict which events are\ningested. If omitted, the existing filter is left unchanged. Set\nto an empty string (`\"\"`) to clear the filter. Otherwise,\nreplaces the dataset's filter entirely.\nSee [Logpush filters](https://developers.cloudflare.com/logs/reference/filters/)\nfor syntax and examples.\n"
|
|
45179
|
+
},
|
|
45180
|
+
{
|
|
45181
|
+
"name": "filter-attack-traffic",
|
|
45182
|
+
"type": "boolean",
|
|
45183
|
+
"required": false,
|
|
45184
|
+
"description": "Whether to filter attack traffic from the Logpush job. If omitted,\nthe existing setting is left unchanged. Supported datasets are\n`http_requests`, `firewall_events`, and `network_analytics_logs`.\n"
|
|
45134
45185
|
}
|
|
45135
45186
|
]
|
|
45136
45187
|
},
|
|
@@ -62489,106 +62540,6 @@
|
|
|
62489
62540
|
}
|
|
62490
62541
|
]
|
|
62491
62542
|
},
|
|
62492
|
-
"r2 buckets storage-class-migration-jobs create": {
|
|
62493
|
-
"operationId": "r2-create-storage-class-migration-job",
|
|
62494
|
-
"httpMethod": "POST",
|
|
62495
|
-
"path": "/accounts/{account_id}/r2/buckets/{bucket_name}/storage-class-migration-jobs",
|
|
62496
|
-
"pathParams": [
|
|
62497
|
-
{
|
|
62498
|
-
"name": "account_id",
|
|
62499
|
-
"type": "string",
|
|
62500
|
-
"required": true
|
|
62501
|
-
},
|
|
62502
|
-
{
|
|
62503
|
-
"name": "bucket_name",
|
|
62504
|
-
"type": "string",
|
|
62505
|
-
"required": true
|
|
62506
|
-
}
|
|
62507
|
-
],
|
|
62508
|
-
"queryParams": [],
|
|
62509
|
-
"hasRequestBody": true,
|
|
62510
|
-
"requestBodyFields": [
|
|
62511
|
-
{
|
|
62512
|
-
"name": "destination-storage-class",
|
|
62513
|
-
"type": "string",
|
|
62514
|
-
"required": false,
|
|
62515
|
-
"description": "Storage class to migrate objects to. Provide together with sourceStorageClass; the two classes must differ."
|
|
62516
|
-
},
|
|
62517
|
-
{
|
|
62518
|
-
"name": "job-type",
|
|
62519
|
-
"type": "string",
|
|
62520
|
-
"required": true,
|
|
62521
|
-
"description": "The jobType field"
|
|
62522
|
-
},
|
|
62523
|
-
{
|
|
62524
|
-
"name": "source-storage-class",
|
|
62525
|
-
"type": "string",
|
|
62526
|
-
"required": false,
|
|
62527
|
-
"description": "Storage class to migrate objects from. Provide together with destinationStorageClass; the two classes must differ."
|
|
62528
|
-
}
|
|
62529
|
-
]
|
|
62530
|
-
},
|
|
62531
|
-
"r2 buckets storage-class-migration-jobs get": {
|
|
62532
|
-
"operationId": "r2-get-storage-class-migration-job",
|
|
62533
|
-
"httpMethod": "GET",
|
|
62534
|
-
"path": "/accounts/{account_id}/r2/buckets/{bucket_name}/storage-class-migration-jobs/{job_id}",
|
|
62535
|
-
"pathParams": [
|
|
62536
|
-
{
|
|
62537
|
-
"name": "account_id",
|
|
62538
|
-
"type": "string",
|
|
62539
|
-
"required": true
|
|
62540
|
-
},
|
|
62541
|
-
{
|
|
62542
|
-
"name": "bucket_name",
|
|
62543
|
-
"type": "string",
|
|
62544
|
-
"required": true
|
|
62545
|
-
},
|
|
62546
|
-
{
|
|
62547
|
-
"name": "job_id",
|
|
62548
|
-
"type": "string",
|
|
62549
|
-
"required": true
|
|
62550
|
-
}
|
|
62551
|
-
],
|
|
62552
|
-
"queryParams": [],
|
|
62553
|
-
"hasRequestBody": false,
|
|
62554
|
-
"requestBodyFields": []
|
|
62555
|
-
},
|
|
62556
|
-
"r2 buckets storage-class-migration-jobs list": {
|
|
62557
|
-
"operationId": "r2-list-storage-class-migration-jobs",
|
|
62558
|
-
"httpMethod": "GET",
|
|
62559
|
-
"path": "/accounts/{account_id}/r2/buckets/{bucket_name}/storage-class-migration-jobs",
|
|
62560
|
-
"pathParams": [
|
|
62561
|
-
{
|
|
62562
|
-
"name": "account_id",
|
|
62563
|
-
"type": "string",
|
|
62564
|
-
"required": true
|
|
62565
|
-
},
|
|
62566
|
-
{
|
|
62567
|
-
"name": "bucket_name",
|
|
62568
|
-
"type": "string",
|
|
62569
|
-
"required": true
|
|
62570
|
-
}
|
|
62571
|
-
],
|
|
62572
|
-
"queryParams": [
|
|
62573
|
-
{
|
|
62574
|
-
"name": "status",
|
|
62575
|
-
"type": "string",
|
|
62576
|
-
"required": false
|
|
62577
|
-
},
|
|
62578
|
-
{
|
|
62579
|
-
"name": "maxKeys",
|
|
62580
|
-
"type": "number",
|
|
62581
|
-
"required": false
|
|
62582
|
-
},
|
|
62583
|
-
{
|
|
62584
|
-
"name": "continuationToken",
|
|
62585
|
-
"type": "string",
|
|
62586
|
-
"required": false
|
|
62587
|
-
}
|
|
62588
|
-
],
|
|
62589
|
-
"hasRequestBody": false,
|
|
62590
|
-
"requestBodyFields": []
|
|
62591
|
-
},
|
|
62592
62543
|
"r2 objects bulk-delete": {
|
|
62593
62544
|
"operationId": "r2-delete-objects",
|
|
62594
62545
|
"httpMethod": "DELETE",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./local-
|
|
2
|
+
import{t as e}from"./local-C9i1d0ma.mjs";import{a as t,t as n}from"./context-C71TA0Yp.mjs";import{a as r,r as i}from"./auth-CHTMVVW3.mjs";import{t as a}from"./output-CvQFJkvi.mjs";import{t as o}from"./dry-run-Bq0JAsbX.mjs";import{t as s}from"./progress-BlxgG8Ss.mjs";import{t as c}from"./run-l2pCxS-W.mjs";import"./telemetry-BqtdHwmi.mjs";import{i as l,n as u,r as d,t as f}from"./body-parser-hh2avzkz.mjs";import{n as p}from"./input-validation-Dk52b0me.mjs";import{a as m,i as h}from"./prompt-ClEoR47s.mjs";import{t as g}from"./cli-types-DoVT5q_M.mjs";function _(e){return e.usage(`$0 abuse-reports appeals eligibility <report-id>
|
|
3
3
|
|
|
4
4
|
Returns whether the report is currently appealable, along with the signals behind that decision: whether it already has an open appeal, how many appeals have been submitted against it, and whether it has at least one mitigation that an appeal could reverse. Report-level appeals are currently available only for DMCA (copyright) reports. For other report types this operation returns the same \`404 Report not found\` response as a report that does not exist for the account.`).positional(`report-id`,{type:`string`,description:`Abuse Report ID`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const v={command:`eligibility <report-id>`,describe:`Check whether a report can be appealed`,builder:_,handler:async r=>c({command:`abuse-reports appeals eligibility`,classification:{safeFlags:[`dry-run`]}},r,async()=>{if(r.dryRun){o({command:`cf abuse-reports appeals eligibility`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/abuse-reports/${r[`report-id`]==null?`<report-id>`:encodeURIComponent(String(r[`report-id`]))}/appeals/eligibility`,pathParams:{"report-id":String(r[`report-id`]??``)},bodyKind:`none`});return}let c=await i(r),l=r.local?e:await n();r.accountId=l,a(await s(`Loading`,async()=>c.abuseReports.appeals.eligibility({account_id:l,report_id:r[`report-id`]})),{successLabel:`Loaded`})})},y={command:`appeals`,describe:`Appeal eligibility for abuse reports`,builder:e=>e.command(v).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function b(e){return e.usage("$0 abuse-reports create <report-type>\n\nSubmit an abuse report of a particular type. Requires the abuse-reports entitlement on the account (Enterprise accounts have it by default; other accounts must request access) and an API token with the `Trust and Safety Write` permission. If the account is not entitled, the request is rejected with an HTTP `401` response (see below).").positional(`report-type`,{type:`string`,description:`The report type to be submitted. Example: abuse_general`,demandOption:!0}).option(`act`,{type:`string`,description:`The act field`,choices:[`abuse_dmca`,`abuse_trademark`,`abuse_general`,`abuse_phishing`,`abuse_children`,`abuse_threat`,`abuse_registrar_whois`,`abuse_ncsei`]}).option(`comments`,{type:`string`,description:`Any additional comments about the infringement not exceeding 2000 characters`}).option(`company`,{type:`string`,description:`Text not exceeding 100 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).`}).option(`email`,{type:`string`,description:`A valid email of the abuse reporter. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).`}).option(`email2`,{type:`string`,description:"Should match the value provided in `email`"}).option(`name`,{type:`string`,description:`Text not exceeding 255 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).`}).option(`reported-country`,{type:`string`,description:`Text containing 2 characters`}).option(`reported-user-agent`,{type:`string`,description:`Text not exceeding 255 characters`}).option(`tele`,{type:`string`,description:`Text not exceeding 20 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).`}).option(`title`,{type:`string`,description:`Text not exceeding 255 characters`}).option(`urls`,{type:`string`,description:`A list of valid URLs separated by ‘\\n’ (new line character). The list of the URLs should not exceed 250 URLs. All URLs should have the same hostname. Each URL should be unique. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).`}).option(`address1`,{type:`string`,description:`Text not exceeding 100 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).`}).option(`agent-name`,{type:`string`,description:`The name of the copyright holder. Text not exceeding 60 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).`}).option(`agree`,{type:`number`,description:"Can be `0` for false or `1` for true. Must be value: 1 for DMCA reports"}).option(`city`,{type:`string`,description:`Text not exceeding 255 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).`}).option(`country`,{type:`string`,description:`Text not exceeding 255 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).
|
|
5
5
|
`}).option(`host-notification`,{type:`string`,description:`Notification type based on the abuse type. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./lazy-command-
|
|
2
|
+
import{t as e}from"./lazy-command-DjCioGYx.mjs";var t=e(`curl <url>`,`Run curl against an Access-protected application with its JWT injected by cloudflared.`,()=>import(`./command-CnEF-7o0.mjs`),{command:`access curl`,recordArgs:!1}),n=e(`login <url>`,`Authenticate with an Access application and store its JWT through cloudflared.`,()=>import(`./command-DVSwnnMJ.mjs`),{command:`access login`,recordArgs:!1}),r=e(`ssh-config`,`Print an example SSH configuration for an Access application.`,()=>import(`./command-BC7oCgWp.mjs`),{command:`access ssh-config`,recordArgs:!1}),i=e(`ssh-gen`,`Generate a short-lived certificate for an Access SSH application.`,()=>import(`./command-D1S9Z0gV.mjs`),{command:`access ssh-gen`,recordArgs:!1}),a={...e(`tcp`,`Proxy a TCP connection through Access. The command is also available as ssh, rdp, and smb.`,()=>import(`./command-CNfYJjg7.mjs`),{command:`access tcp`,recordArgs:!1}),aliases:[`ssh`,`rdp`,`smb`]},o=e(`token <url>`,`Print a JWT for authenticating with an Access application.`,()=>import(`./command-WrVIhg73.mjs`),{command:`access token`,recordArgs:!1});const s={command:`access`,describe:`Access protected applications and services`,builder:e=>e.command(t).command(n).command(r).command(i).command(a).command(o).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};export{s as default};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./local-
|
|
2
|
+
import{t as e}from"./local-C9i1d0ma.mjs";import{a as t,i as n,t as r}from"./context-C71TA0Yp.mjs";import{a as i,r as a}from"./auth-CHTMVVW3.mjs";import{t as o}from"./output-CvQFJkvi.mjs";import{t as s}from"./dry-run-Bq0JAsbX.mjs";import{t as c}from"./progress-BlxgG8Ss.mjs";import{t as l}from"./run-l2pCxS-W.mjs";import"./telemetry-BqtdHwmi.mjs";import{i as u,n as d,t as f}from"./body-parser-hh2avzkz.mjs";import{n as p}from"./input-validation-Dk52b0me.mjs";import{a as m,i as h,n as g}from"./prompt-ClEoR47s.mjs";import{t as _}from"./cli-types-DoVT5q_M.mjs";function v(e){return e.usage(`$0 account-tags delete
|
|
3
3
|
|
|
4
4
|
Removes all tags from a specific account or zone-level resource.`).option(`if-match`,{type:`string`,description:`ETag value for optimistic concurrency control. When provided, the server will
|
|
5
5
|
verify the current resource ETag matches before applying the write. Returns
|
|
@@ -9,7 +9,7 @@ obtained. Omit this header for unconditional writes.`}).option(`resource-id`,{ty
|
|
|
9
9
|
|
|
10
10
|
Retrieves tags for a specific account or zone-level resource.`).option(`resource-id`,{type:`string`,description:`The ID of the resource to retrieve tags for.`,demandOption:!0}).option(`resource-type`,{type:`string`,description:`The type of the resource.`,choices:`access_application.access_group.account.account_ruleset.ai_gateway.alerting_policy.alerting_webhook.cloudflared_tunnel.cws_deployment.cws_policy.cws_policy_set.cws_workload.d1_database.durable_object_namespace.gateway_list.gateway_rule.image.infrastructure_target.kv_namespace.load_balancer_monitor.load_balancer_pool.pages_project.queue.r2_bucket.resource_share.stream_live_input.stream_video.vectorize_index.worker.worker_version`.split(`.`),demandOption:!0}).option(`worker-id`,{type:`string`,description:`Worker identifier. Required for worker_version resources.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const x={command:`get`,describe:`Get tags for an account or zone-level resource`,builder:_(b),handler:async i=>l({command:`account-tags get`,classification:{safeFlags:[`resource-type`,`dry-run`]}},i,async()=>{let l={resource_id:i[`resource-id`],resource_type:i[`resource-type`],worker_id:i[`worker-id`]};if(i.dryRun){let e=i.zone===void 0?await t():void 0,n=i.zone===void 0?`accounts`:`zones`,r=i.zone??e??`<account-id>`;s({command:`cf account-tags get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/${n}/${r}/tags`,pathParams:{"account-or-zone":String(n),"account-or-zone-id":String(r)},query:l,bodyKind:`none`});return}let u=await a(i),d=i.zone===void 0?`accounts`:`zones`,f=d===`zones`?await n({zone:i.zone},u,{quiet:i.quiet}):i.local?e:await r();d===`zones`?i.zoneId=f:i.accountId=f,o(await c(`Loading`,async()=>u.accountTags.get({account_or_zone:d,account_or_zone_id:f,...l})),{successLabel:`Loaded`})})};function S(e){return e.usage(`$0 account-tags update
|
|
11
11
|
|
|
12
|
-
Creates or updates tags for a specific account or zone-level resource.`).option(`if-match`,{type:`string`,description:`ETag value for optimistic concurrency control. When provided, the server will
|
|
12
|
+
Creates or updates tags for a specific account or zone-level resource. Replaces all existing tags for the resource.`).option(`if-match`,{type:`string`,description:`ETag value for optimistic concurrency control. When provided, the server will
|
|
13
13
|
verify the current resource ETag matches before applying the write. Returns
|
|
14
14
|
412 Precondition Failed if the resource has been modified since the ETag was
|
|
15
15
|
obtained. Omit this header for unconditional writes.`}).option(`resource-id`,{type:`string`,description:`Identifies the unique resource.`}).option(`resource-type`,{type:`string`,description:`Enum for worker_version resource type.`,choices:`worker_version.access_application.access_group.account.account_ruleset.ai_gateway.alerting_policy.alerting_webhook.cloudflared_tunnel.cws_deployment.cws_policy.cws_policy_set.cws_workload.d1_database.durable_object_namespace.gateway_list.gateway_rule.image.infrastructure_target.kv_namespace.load_balancer_monitor.load_balancer_pool.pages_project.queue.r2_bucket.resource_share.stream_live_input.stream_video.vectorize_index.worker`.split(`.`)}).option(`worker-id`,{type:`string`,description:`Worker ID is required only for worker_version resources`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Request body schema for setting tags on account-level resources.`})}const C={command:`update`,describe:`Set tags for an account or zone-level resource`,builder:S,handler:async g=>l({command:`account-tags update`,classification:{safeFlags:[`resource-type`,`dry-run`]}},g,async()=>{let l={};if(g[`if-match`]!==void 0&&(l[`If-Match`]=String(g[`if-match`])),g.dryRun){let e=g.zone===void 0?await t():void 0,n=g.zone===void 0?`accounts`:`zones`,r=g.zone??e??`<account-id>`;s({command:`cf account-tags update`,method:`PUT`,url:`https://api.cloudflare.com/client/v4/${n}/${r}/tags`,pathParams:{"account-or-zone":String(n),"account-or-zone-id":String(r)},bodyKind:`json`,body:g.body===void 0?f({resource_id:p(g[`resource-id`],`resource-id`,`text`),resource_type:p(g[`resource-type`],`resource-type`,`text`),worker_id:p(g[`worker-id`],`worker-id`,`text`)}):d(g.body)});return}let _=await a(g),v=g.zone===void 0?`accounts`:`zones`,y=v===`zones`?await n({zone:g.zone},_,{quiet:g.quiet}):g.local?e:await r();if(v===`zones`?g.zoneId=y:g.accountId=y,g.body){let e=d(g.body);o(await c(`Updating`,async()=>i(_,`PUT`,`/${v}/${y}/tags`,{body:e,headers:Object.keys(l).length>0?l:void 0})),{successLabel:`Updated`});return}g[`resource-id`]===void 0&&(g[`resource-id`]=await m(`resource-id`,`Identifies the unique resource.`)),g[`resource-type`]===void 0&&(g[`resource-type`]=await h(`resource-type`,`Enum for worker_version resource type.`,`worker_version.access_application.access_group.account.account_ruleset.ai_gateway.alerting_policy.alerting_webhook.cloudflared_tunnel.cws_deployment.cws_policy.cws_policy_set.cws_workload.d1_database.durable_object_namespace.gateway_list.gateway_rule.image.infrastructure_target.kv_namespace.load_balancer_monitor.load_balancer_pool.pages_project.queue.r2_bucket.resource_share.stream_live_input.stream_video.vectorize_index.worker`.split(`.`))),g[`resource-type`]===`worker_version`&&g[`worker-id`]===void 0&&(g[`worker-id`]=await m(`worker-id`,`Worker ID is required only for worker_version resources`,{question:`Enter value for --worker-id`}));let b={};g[`resource-id`]!==void 0&&u(b,[`resource_id`],p(g[`resource-id`],`resource-id`,`text`)),g[`resource-type`]!==void 0&&u(b,[`resource_type`],p(g[`resource-type`],`resource-type`,`text`)),g[`worker-id`]!==void 0&&u(b,[`worker_id`],p(g[`worker-id`],`worker-id`,`text`)),o(await c(`Updating`,async()=>i(_,`PUT`,`/${v}/${y}/tags`,{body:Object.keys(b).length>0?b:void 0,headers:Object.keys(l).length>0?l:void 0})),{successLabel:`Updated`})})},w={command:`account-tags`,describe:`account-tags`,builder:e=>e.command(y).command(x).command(C).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};export{w as default};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./local-
|
|
2
|
+
import{t as e}from"./local-C9i1d0ma.mjs";import{a as t,i as n,t as r}from"./context-C71TA0Yp.mjs";import{a as i,r as a}from"./auth-CHTMVVW3.mjs";import{t as o}from"./output-CvQFJkvi.mjs";import{t as s}from"./dry-run-Bq0JAsbX.mjs";import{t as c}from"./progress-BlxgG8Ss.mjs";import{t as l}from"./run-l2pCxS-W.mjs";import"./telemetry-BqtdHwmi.mjs";import{i as u,n as d,r as f,t as p}from"./body-parser-hh2avzkz.mjs";import{n as m}from"./input-validation-Dk52b0me.mjs";import{a as h,i as g,n as _}from"./prompt-ClEoR47s.mjs";import{t as v}from"./cli-types-DoVT5q_M.mjs";import{n as ee,t as te}from"./raw-fetch-CWRDTVMr.mjs";function y(e){return e.usage(`$0 accounts applications create
|
|
3
3
|
|
|
4
4
|
Create a custom application for an account.`).option(`category-id`,{type:`number`,description:`Returns the category ID.`}).option(`hostnames`,{type:`string`,array:!0,description:`Hostnames matched by the application.`}).option(`human-id`,{type:`string`,description:`Returns the human readable ID.`}).option(`ip-subnets`,{type:`string`,array:!0,description:`IP subnets for this application. Custom application create and update requests accept IPv4 prefix lengths /8 through /32 and IPv6 prefix lengths /32 through /128.`}).option(`name`,{type:`string`,description:`Returns the application name.`}).option(`port-protocols`,{type:`string`,array:!0,description:`Port and protocol pairs matched by the application.`}).option(`support-domains`,{type:`string`,array:!0,description:`Support domains matched by the application.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Defines a custom application. At least one hostname or IP subnet is required. Support domains and port/protocol pairs do not satisfy this requirement. `})}const b={command:`create`,describe:`Create application`,builder:y,handler:async n=>l({command:`accounts applications create`,classification:{safeFlags:[`dry-run`]}},n,async()=>{if(n.dryRun){s({command:`cf accounts applications create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/resource-library/applications`,pathParams:{},bodyKind:`json`,body:n.body===void 0?p({category_id:n[`category-id`],hostnames:n.hostnames,human_id:m(n[`human-id`],`human-id`,`text`),ip_subnets:n[`ip-subnets`],name:m(n.name,`name`,`text`),port_protocols:n[`port-protocols`],support_domains:n[`support-domains`]}):d(n.body)});return}let i=await a(n),l=n.local?e:await r();if(n.accountId=l,n.body){let e=d(n.body);o(await c(`Creating`,async()=>i.accounts.applications.create({body:e,account_id:l})),{successLabel:`Created`});return}if(n[`category-id`]===void 0)throw Error(`--category-id is required (or pass --body with this field set).`);n[`human-id`]===void 0&&(n[`human-id`]=await h(`human-id`,`Returns the human readable ID.`)),n.name===void 0&&(n.name=await h(`name`,`Returns the application name.`));let u=p({category_id:n[`category-id`],hostnames:n.hostnames,human_id:m(n[`human-id`],`human-id`,`text`),ip_subnets:n[`ip-subnets`],name:m(n.name,`name`,`text`),port_protocols:n[`port-protocols`],support_domains:n[`support-domains`]});o(await c(`Creating`,async()=>i.accounts.applications.create({body:u,account_id:l})),{successLabel:`Created`})})};function x(e){return e.usage(`$0 accounts applications delete <id>
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{i as e}from"./context-
|
|
2
|
+
import{i as e}from"./context-C71TA0Yp.mjs";import{r as t}from"./auth-CHTMVVW3.mjs";import{t as n}from"./output-CvQFJkvi.mjs";import{t as r}from"./dry-run-Bq0JAsbX.mjs";import{t as i}from"./progress-BlxgG8Ss.mjs";import{t as a}from"./run-l2pCxS-W.mjs";import"./telemetry-BqtdHwmi.mjs";import{n as o,t as s}from"./body-parser-hh2avzkz.mjs";import{n as c}from"./input-validation-Dk52b0me.mjs";import{a as l,n as u}from"./prompt-ClEoR47s.mjs";function d(e){return e.usage(`$0 acm custom-trust-store create
|
|
3
3
|
|
|
4
4
|
Upload a root CA certificate to the Custom Origin Trust Store for a Zone. Only root CA certificates are accepted.`).option(`certificate`,{type:`string`,description:`The root CA certificate in PEM format. Only root CA certificates are accepted; intermediate and leaf certificates are not supported.`}).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`,describe:`Upload Custom Origin Trust Store`,builder:d,handler:async u=>a({command:`acm custom-trust-store create`,classification:{safeFlags:[`dry-run`]}},u,async()=>{if(u.dryRun){r({command:`cf acm custom-trust-store create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/zones/${u.zone??u.zoneId??`<zone>`}/acm/custom_trust_store`,pathParams:{"zone-id":String(u.zone??u[`zone-id`]??``)},bodyKind:`json`,body:u.body===void 0?s({certificate:c(u.certificate,`certificate`,`text`)}):o(u.body)});return}let a=await t(u),d=await e({zone:u.zone},a,{quiet:u.quiet});if(u.zoneId=d,u.body){let e=o(u.body);n(await i(`Creating`,async()=>a.acm.customTrustStore.create({...e,zone_id:d})),{successLabel:`Created`});return}u.certificate===void 0&&(u.certificate=await l(`certificate`,`The root CA certificate in PEM format. Only root CA certificates are accepted; intermediate and leaf certificates are not supported.`));let f=s({certificate:c(u.certificate,`certificate`,`text`)});n(await i(`Creating`,async()=>a.acm.customTrustStore.create({...f,zone_id:d})),{successLabel:`Created`})})};function p(e){return e.usage(`$0 acm custom-trust-store delete <custom-origin-trust-store-id>
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./local-
|
|
2
|
+
import{t as e}from"./local-C9i1d0ma.mjs";import{a as t,i as n,t as r}from"./context-C71TA0Yp.mjs";import{a as i,r as a}from"./auth-CHTMVVW3.mjs";import{t as o}from"./output-CvQFJkvi.mjs";import{t as s}from"./dry-run-Bq0JAsbX.mjs";import{t as c}from"./progress-BlxgG8Ss.mjs";import{t as l}from"./run-l2pCxS-W.mjs";import"./telemetry-BqtdHwmi.mjs";import{n as u,r as d,t as f}from"./body-parser-hh2avzkz.mjs";import{n as p,t as m}from"./input-validation-Dk52b0me.mjs";import{a as h,n as g}from"./prompt-ClEoR47s.mjs";import{n as ee,t as te}from"./raw-fetch-CWRDTVMr.mjs";function _(e){return e.usage(`$0 addressing address-maps accounts delete <member-account-id>
|
|
3
3
|
|
|
4
4
|
Remove an account as a member of a particular address map.`).positional(`member-account-id`,{type:`string`,description:`Identifier of a Cloudflare account.`,demandOption:!0}).option(`address-map-id`,{type:`string`,description:`Identifier of an Address Map.`,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 v={command:`delete <member-account-id>`,describe:`Remove an account membership from an Address Map`,builder:_,handler:async n=>l({command:`addressing address-maps accounts delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},n,async()=>{if(n.dryRun){s({command:`cf addressing address-maps accounts delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/addressing/address_maps/${n[`address-map-id`]==null?`<address-map-id>`:encodeURIComponent(String(n[`address-map-id`]))}/accounts/${n[`member-account-id`]==null?`<member-account-id>`:encodeURIComponent(String(n[`member-account-id`]))}`,pathParams:{"address-map-id":String(n[`address-map-id`]??``),"member-account-id":String(n[`member-account-id`]??``)},bodyKind:`none`});return}let i=await a(n),l=n.local?e:await r();if(n.accountId=l,!await g({force:!!n.force})){process.stderr.write(`Aborted.
|
|
5
5
|
`);return}o(await c(`Deleting`,async()=>i.addressing.addressMaps.accounts.delete({account_id:l,address_map_id:n[`address-map-id`],member_account_id:n[`member-account-id`]})),{successLabel:`Deleted`})})};function y(e){return e.usage(`$0 addressing address-maps accounts update <member-account-id>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./local-
|
|
2
|
+
import{t as e}from"./local-C9i1d0ma.mjs";import{a as t,t as n}from"./context-C71TA0Yp.mjs";import{r}from"./auth-CHTMVVW3.mjs";import{t as i}from"./output-CvQFJkvi.mjs";import{t as a}from"./dry-run-Bq0JAsbX.mjs";import{t as o}from"./progress-BlxgG8Ss.mjs";import{t as s}from"./run-l2pCxS-W.mjs";import"./telemetry-BqtdHwmi.mjs";import{n as c,r as l,t as u}from"./body-parser-hh2avzkz.mjs";import{n as d}from"./input-validation-Dk52b0me.mjs";import{a as f,n as p}from"./prompt-ClEoR47s.mjs";import{t as m}from"./cli-types-DoVT5q_M.mjs";function h(e){return e.usage(`$0 agent-memory create-namespace
|
|
3
3
|
|
|
4
4
|
Creates a new memory namespace owned by the account.`).option(`name`,{type:`string`,description:`Namespace name.`}).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 g={command:`create-namespace`,describe:`Create a namespace`,builder:h,handler:async l=>s({command:`agent-memory create-namespace`,classification:{safeFlags:[`dry-run`]}},l,async()=>{if(l.dryRun){a({command:`cf agent-memory create-namespace`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/agent-memory/namespaces`,pathParams:{},bodyKind:`json`,body:l.body===void 0?u({name:d(l.name,`name`,`text`)}):c(l.body)});return}let s=await r(l),p=l.local?e:await n();if(l.accountId=p,l.body){let e=c(l.body);i(await o(`Creating`,async()=>s.agentMemory.createNamespace({...e,account_id:p})),{successLabel:`Created`});return}l.name===void 0&&(l.name=await f(`name`,`Namespace name.`));let m=u({name:d(l.name,`name`,`text`)});i(await o(`Creating`,async()=>s.agentMemory.createNamespace({...m,account_id:p})),{successLabel:`Created`})})};function _(e){return e.usage(`$0 agent-memory delete-memory <memory-id>
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{r as e}from"./theme-BIWQFmZ0.mjs";import{n as t,t as n}from"./local-
|
|
2
|
+
import{r as e}from"./theme-BIWQFmZ0.mjs";import{n as t,t as n}from"./local-C9i1d0ma.mjs";import{a as r,t as i}from"./context-C71TA0Yp.mjs";import{a,o,r as s}from"./auth-CHTMVVW3.mjs";import{t as c}from"./output-CvQFJkvi.mjs";import{t as l}from"./dry-run-Bq0JAsbX.mjs";import{t as u}from"./progress-BlxgG8Ss.mjs";import{n as d,t as f}from"./run-l2pCxS-W.mjs";import"./telemetry-BqtdHwmi.mjs";import{n as p,t as m}from"./body-parser-hh2avzkz.mjs";import{n as h,t as g}from"./input-validation-Dk52b0me.mjs";import{a as _,i as v,n as y}from"./prompt-ClEoR47s.mjs";import{t as b}from"./cli-types-DoVT5q_M.mjs";import{n as x}from"./raw-fetch-CWRDTVMr.mjs";import{_ as S,c as C,d as w,f as T,g as ee,h as E,i as D,l as O,m as k,n as A,o as j,p as M,r as N,s as P,t as F}from"./schema-flags-DBujG5kJ.mjs";const I=`ai-model-schema`;async function L(e,t,n,r){let i=ee(I,[t,e]);if(i)return{ok:!0,schema:i};let a;try{let i=await n();if(r===void 0)a=await i.ai.getModelSchema({account_id:t,model:e});else{let n=r-Date.now();if(n<=0)return{ok:!1,reason:`the request timed out`};a=await i.ai.getModelSchema({account_id:t,model:e},{timeoutInSeconds:n/1e3,maxRetries:0})}}catch(e){return{ok:!1,reason:k(e)}}let o=E(a,`input`);return o?(S(I,[t,e],o),{ok:!0,schema:o}):{ok:!1,reason:`the API returned no input schema`}}const R="Run `cf ai models list` to see the models you can run.",z=[`model-name`,`modelName`];let B;function V(e){return B=e,e.positional(`model-name`,{type:`string`,description:`Model ID, e.g. @cf/meta/llama-3.1-8b-instruct`}).option(`body`,{type:`string`,description:`Raw JSON request body, or @path to a JSON file`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).strictOptions(!1).help(!1).option(`help`,{type:`boolean`,alias:`h`,description:`Show help, including this model's input flags`}).epilogue(`Input flags depend on the model: run \`cf ai run <model> --help\`.\n${R}`)}async function H(n){n.local&&console.log(`${t}\n`),B?.showHelp(`log`);let r=n[`model-name`];if(!r||n.local)return;let i=Date.now()+M,a=await o(i);if(!a){console.log(`\n${e.muted(`Set \`CLOUDFLARE_ACCOUNT_ID\` or sign in with \`cf auth login\` to see the input flags for ${r}.`)}`);return}let c=await L(r,a,()=>s(n),i);console.log(c.ok?`\n${j(C(c.schema),`Input flags for ${r}`)}`:`\n${e.muted(`Could not load the input flags for ${r}: ${c.reason}.`)}`)}var U=d({command:`run [model-name]`,describe:"Run inference on a Workers AI model. Input flags are model-specific — see `cf ai run <model> --help`",builder:V,handler:async e=>{if(e.help){await H(e);return}if(e.local)throw Error(t);let n=e[`model-name`];if(!n)throw Error(`A model is required: cf ai run <model>. ${R}`);let o=e.dryRun?await r()??`<account-id>`:await i(),d;if(e.body!==void 0){if(O(e,z).length>0)throw Error(`--body cannot be combined with model input flags. Pass one or the other.`);d=p(e.body)}else{let t=await L(n,o,()=>s(e));if(!t.ok)throw Error(`Could not load the input schema for ${n}: ${t.reason}.\nPass the request body directly instead: cf ai run ${n} --body '{…}'`);let r=C(t.schema),i=O(e,[...z,...A(r)]);if(i.length>0)throw Error(`${i.map(e=>`Unknown flag --${e}`).join(`
|
|
3
3
|
`)}\n\nRun \`cf ai run ${n} --help\` for this model's input flags.`);let a=new Set;for(;;){let t=D(r,e).find(e=>!a.has(e.name)&&(e.choices!==void 0||e.type===`string`));if(!t)break;a.add(t.name),t.choices?e[t.name]=await v(t.name,P(t),t.choices,t.choiceLabels):e[t.name]=await _(t.name,P(t))}let c=N(t.schema),l=F(r,e,{reserved:z}),u=l.errors.length===0?c?w(t.schema,l.body):T(t.schema,l.body):l.errors;if(u.length>0)throw Error(`${u.join(`
|
|
4
4
|
`)}\n\nRun \`cf ai run ${n} --help\` for this model's input flags.`);d=l.body}if(e.dryRun){let e={model:n,input:d};l({command:`cf ai run`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${o}/ai/run`,pathParams:{},bodyKind:`json`,body:e});return}let f=await s(e);e.accountId=o;let m=await u(`Running`,async()=>a(f,`POST`,`/accounts/${o}/ai/run`,{body:{model:n,input:d},preserveNonJsonBytes:!0}));if(Buffer.isBuffer(m)){x(m);return}c(m,{successLabel:`Ran`})}},{command:`ai run`,recordArgs:!1});function W(e){return e.usage(`$0 ai authors list
|
|
5
5
|
|
|
@@ -18,9 +18,9 @@ Lists all fine-tuning jobs created by the account, including status and metrics.
|
|
|
18
18
|
|
|
19
19
|
Lists publicly available fine-tuned models that can be used with Workers AI.`).option(`limit`,{type:`number`,description:`Pagination Limit.`}).option(`offset`,{type:`number`,description:`Pagination Offset.`}).option(`order-by`,{type:`string`,description:`Order By Column Name.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const se={command:`list`,describe:`List Public Finetunes`,builder:oe,handler:async e=>f({command:`ai finetunes public list`,classification:{safeFlags:[`dry-run`]}},e,async()=>{let t={limit:e.limit,offset:e.offset,orderBy:e[`order-by`]};if(e.dryRun){l({command:`cf ai finetunes public list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${await r()??`<account-id>`}/ai/finetunes/public`,pathParams:{},query:t,bodyKind:`none`});return}let a=await s(e),o=e.local?n:await i();e.accountId=o,c(await u(`Loading`,async()=>a.ai.finetunes.public.list({account_id:o,...t})),{successLabel:`Loaded`})})},ce={command:`public`,describe:`Operations for finetunes.public`,builder:e=>e.command(se).demandCommand(1,`Please specify a subcommand`),handler:()=>{}},le={command:`finetunes`,describe:`Operations for finetunes`,builder:e=>e.command(Q).command(re).command(ae).command(X).command(ce).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function ue(e){return e.usage(`$0 ai get-model-schema
|
|
20
20
|
|
|
21
|
-
Retrieves the input and output JSON Schema definitions for an AI model. Use these definitions to determine the model-specific request fields and response format.`).option(`model`,{type:`string`,description:`AI model identifier, including its namespace and model name.`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const de={command:`get-model-schema`,describe:`Get an AI model's input and output schemas`,builder:ue,handler:async e=>f({command:`ai get-model-schema`,classification:{safeFlags:[`dry-run`]}},e,async()=>{let t={model:e.model};if(e.dryRun){l({command:`cf ai get-model-schema`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${await r()??`<account-id>`}/ai/models/schema`,pathParams:{},query:t,bodyKind:`none`});return}let a=await s(e),o=e.local?n:await i();e.accountId=o,c(await u(`Loading`,async()=>a.ai.getModelSchema({account_id:o,...t})),{successLabel:`Loaded`})})};function fe(e){return e.usage(`$0 ai
|
|
21
|
+
Retrieves the input and output JSON Schema definitions for an AI model. Use these definitions to determine the model-specific request fields and response format.`).option(`model`,{type:`string`,description:`AI model identifier, including its namespace and model name.`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const de={command:`get-model-schema`,describe:`Get an AI model's input and output schemas`,builder:ue,handler:async e=>f({command:`ai get-model-schema`,classification:{safeFlags:[`dry-run`]}},e,async()=>{let t={model:e.model};if(e.dryRun){l({command:`cf ai get-model-schema`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${await r()??`<account-id>`}/ai/models/schema`,pathParams:{},query:t,bodyKind:`none`});return}let a=await s(e),o=e.local?n:await i();e.accountId=o,c(await u(`Loading`,async()=>a.ai.getModelSchema({account_id:o,...t})),{successLabel:`Loaded`})})};function fe(e){return e.usage(`$0 ai list-markdown-supported-formats
|
|
22
22
|
|
|
23
|
-
Lists the file extensions and MIME types accepted by Workers AI's Markdown conversion endpoint. Use this list to check whether a file can be converted before uploading it.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const pe={command:`
|
|
23
|
+
Lists the file extensions and MIME types accepted by Workers AI's Markdown conversion endpoint. Use this list to check whether a file can be converted before uploading it.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const pe={command:`list-markdown-supported-formats`,describe:`List supported Markdown conversion formats`,builder:fe,handler:async e=>f({command:`ai list-markdown-supported-formats`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){l({command:`cf ai list-markdown-supported-formats`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${await r()??`<account-id>`}/ai/tomarkdown/supported`,pathParams:{},bodyKind:`none`});return}let t=await s(e),a=e.local?n:await i();e.accountId=a,c(await u(`Loading`,async()=>t.ai.listMarkdownSupportedFormats({account_id:a})),{successLabel:`Loaded`})})};function $(e){return e.usage(`$0 ai models list
|
|
24
24
|
|
|
25
25
|
Searches Workers AI models by name or description.`).option(`per-page`,{type:`number`,description:`Per page`}).option(`page`,{type:`number`,description:`Page`}).option(`task`,{type:`string`,description:`Filter by Task Name.`}).option(`author`,{type:`string`,description:`Filter by Author.`}).option(`source`,{type:`number`,description:`Filter by Source Id.`}).option(`hide-experimental`,{type:`boolean`,description:`Filter to hide experimental models.`}).option(`search`,{type:`string`,description:`Search.`}).option(`include-deprecated`,{type:`boolean`,description:`If true, include models for up to three months after their deprecation date. Defaults to false.`}).option(`format`,{type:`string`,description:`If set, return models in the requested marketplace format instead of the default response.`,choices:[`openrouter`]}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const me={command:`list`,describe:`Model Search`,builder:b($),handler:async e=>f({command:`ai models list`,classification:{safeFlags:[`hide-experimental`,`include-deprecated`,`format`,`dry-run`]}},e,async()=>{let t={per_page:e[`per-page`],page:e.page,task:e.task,author:e.author,source:e.source,hide_experimental:e[`hide-experimental`],search:e.search,include_deprecated:e[`include-deprecated`],format:e.format};if(e.dryRun){l({command:`cf ai models list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${await r()??`<account-id>`}/ai/models/search`,pathParams:{},query:t,bodyKind:`none`});return}let a=await s(e),o=e.local?n:await i();e.accountId=o,c(await u(`Loading`,async()=>a.ai.models.list({account_id:o,...t})),{successLabel:`Loaded`})})},he={command:`models`,describe:`Operations for models`,builder:e=>e.command(me).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function ge(e){return e.usage(`$0 ai tasks list
|
|
26
26
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{i as e}from"./context-
|
|
2
|
+
import{i as e}from"./context-C71TA0Yp.mjs";import{a as t,r as n}from"./auth-CHTMVVW3.mjs";import{t as r}from"./output-CvQFJkvi.mjs";import{t as i}from"./dry-run-Bq0JAsbX.mjs";import{t as a}from"./progress-BlxgG8Ss.mjs";import{t as o}from"./run-l2pCxS-W.mjs";import"./telemetry-BqtdHwmi.mjs";import{n as s}from"./body-parser-hh2avzkz.mjs";function c(e){return e.usage(`$0 ai-audit robots bulk-get
|
|
3
3
|
|
|
4
4
|
Fetches and parses robots.txt files for multiple domains within a zone in a single request. Each domain must belong to the specified zone. Results are keyed by hostname.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Array of domain hostnames to fetch robots.txt for. Each domain must end with the zone name. Maximum 25 domains per request.`})}const l={command:`bulk-get`,describe:`Bulk get robots.txt rules`,builder:c,handler:async c=>o({command:`ai-audit robots bulk-get`,classification:{safeFlags:[`dry-run`]}},c,async()=>{if(c.dryRun){i({command:`cf ai-audit robots bulk-get`,method:`POST`,url:`https://api.cloudflare.com/client/v4/zones/${c.zone??c.zoneId??`<zone>`}/ai-audit/robots/bulk`,pathParams:{"zone-id":String(c.zone??c[`zone-id`]??``)},bodyKind:`json`,body:c.body===void 0?void 0:s(c.body)});return}let o=await n(c);if(c.zoneId=await e({zone:c.zone},o,{quiet:c.quiet}),c.body){let e=s(c.body);if(Array.isArray(e)&&e.length>25){let n=Math.ceil(e.length/25),i=null;for(let r=0;r<e.length;r+=25){let s=e.slice(r,r+25);i=await a(`Loading: batch ${Math.floor(r/25)+1}/${n}`,async()=>t(o,`POST`,`/zones/${c.zoneId}/ai-audit/robots/bulk`,{body:s}))}r(i,{successLabel:`Loaded`});return}r(await a(`Loading`,async()=>t(o,`POST`,`/zones/${c.zoneId}/ai-audit/robots/bulk`,{body:e})),{successLabel:`Loaded`});return}if(c.body===void 0)throw Error(`--body is required for this command. Pass --body '<json>' or --body @path/to/file.json.`)})};function u(e){return e.usage(`$0 ai-audit robots get
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./local-
|
|
2
|
+
import{t as e}from"./local-C9i1d0ma.mjs";import{a as t,t as n}from"./context-C71TA0Yp.mjs";import{a as r,r as i}from"./auth-CHTMVVW3.mjs";import{t as a}from"./output-CvQFJkvi.mjs";import{t as o}from"./dry-run-Bq0JAsbX.mjs";import{t as s}from"./progress-BlxgG8Ss.mjs";import{t as c}from"./run-l2pCxS-W.mjs";import"./telemetry-BqtdHwmi.mjs";import{i as l,n as u,r as d,t as f}from"./body-parser-hh2avzkz.mjs";import{n as p}from"./input-validation-Dk52b0me.mjs";import{a as m,n as h}from"./prompt-ClEoR47s.mjs";import{t as g}from"./cli-types-DoVT5q_M.mjs";function ee(e){return e.usage(`$0 ai-gateway custom-domains create <gateway-id>
|
|
3
3
|
|
|
4
4
|
Provisions a Cloudflare-for-SaaS custom hostname and returns the CNAME target to point DNS at.`).positional(`gateway-id`,{type:`string`,description:`Unique identifier of the AI Gateway within the account.`,demandOption:!0}).option(`domain`,{type:`string`,description:"Custom hostname that you own, such as `ai.example.com`."}).option(`min-tls`,{type:`string`,description:`The minTLS field`,choices:[`1.0`,`1.1`,`1.2`,`1.3`]}).option(`zone-id`,{type:`string`,description:`ID of the Cloudflare zone that contains the custom hostname.`}).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 te={command:`create <gateway-id>`,describe:`Create a custom domain for a gateway`,builder:ee,handler:async r=>c({command:`ai-gateway custom-domains create`,classification:{safeFlags:[`min-tls`,`dry-run`]}},r,async()=>{if(r.dryRun){o({command:`cf ai-gateway custom-domains create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/ai-gateway/gateways/${r[`gateway-id`]==null?`<gateway-id>`:encodeURIComponent(String(r[`gateway-id`]))}/custom-domains`,pathParams:{"gateway-id":String(r[`gateway-id`]??``)},bodyKind:`json`,body:r.body===void 0?f({domain:p(r.domain,`domain`,`text`),minTLS:p(r[`min-tls`],`min-tls`,`text`),zone_id:p(r[`zone-id`],`zone-id`,`text`)}):u(r.body)});return}let c=await i(r),l=r.local?e:await n();if(r.accountId=l,r.body){let e=u(r.body);a(await s(`Creating`,async()=>c.aiGateway.customDomains.create({...e,account_id:l,gateway_id:r[`gateway-id`]})),{successLabel:`Created`});return}r.domain===void 0&&(r.domain=await m(`domain`,"Custom hostname that you own, such as `ai.example.com`.")),r[`zone-id`]===void 0&&(r[`zone-id`]=await m(`zone-id`,`ID of the Cloudflare zone that contains the custom hostname.`));let d=f({domain:p(r.domain,`domain`,`text`),minTLS:p(r[`min-tls`],`min-tls`,`text`),zone_id:p(r[`zone-id`],`zone-id`,`text`)});a(await s(`Creating`,async()=>c.aiGateway.customDomains.create({...d,account_id:l,gateway_id:r[`gateway-id`]})),{successLabel:`Created`})})};function _(e){return e.usage(`$0 ai-gateway custom-domains delete <hostname>
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./local-
|
|
2
|
+
import{t as e}from"./local-C9i1d0ma.mjs";import{a as t,t as n}from"./context-C71TA0Yp.mjs";import{a as r,r as i}from"./auth-CHTMVVW3.mjs";import{t as a}from"./output-CvQFJkvi.mjs";import{t as o}from"./dry-run-Bq0JAsbX.mjs";import{t as s}from"./progress-BlxgG8Ss.mjs";import{t as c}from"./run-l2pCxS-W.mjs";import"./telemetry-BqtdHwmi.mjs";import{n as l,r as u,t as d}from"./body-parser-hh2avzkz.mjs";import{n as f,t as p}from"./input-validation-Dk52b0me.mjs";import{a as m,i as h,n as g}from"./prompt-ClEoR47s.mjs";import{t as _}from"./cli-types-DoVT5q_M.mjs";import{n as ee,t as te}from"./raw-fetch-CWRDTVMr.mjs";function v(e){return e.usage(`$0 ai-search chat-completions <id>
|
|
3
3
|
|
|
4
4
|
Performs a chat completion request against an AI Search instance, using indexed content as context for generating responses.`).positional(`id`,{type:`string`,description:`AI Search instance ID.`,demandOption:!0}).option(`name`,{type:`string`,description:`Namespace to use for this operation.`,demandOption:!0}).option(`ai-search-options-cache-cache-threshold`,{type:`string`,description:`The ai_search_options.cache.cache_threshold field`,choices:[`super_strict_match`,`close_enough`,`flexible_friend`,`anything_goes`]}).option(`ai-search-options-cache-enabled`,{type:`boolean`,description:`The ai_search_options.cache.enabled field`}).option(`ai-search-options-query-rewrite-enabled`,{type:`boolean`,description:`The ai_search_options.query_rewrite.enabled field`}).option(`ai-search-options-query-rewrite-model`,{type:`string`,description:`A Workers AI model ID or an AI Gateway model ID compatible with the OpenAI Chat Completions API. An empty string uses the configured or default model.`}).option(`ai-search-options-query-rewrite-rewrite-prompt`,{type:`string`,description:`The ai_search_options.query_rewrite.rewrite_prompt field`}).option(`ai-search-options-reranking-enabled`,{type:`boolean`,description:`The ai_search_options.reranking.enabled field`}).option(`ai-search-options-reranking-match-threshold`,{type:`number`,description:`The ai_search_options.reranking.match_threshold field`}).option(`ai-search-options-reranking-model`,{type:`string`,description:`The ai_search_options.reranking.model field`}).option(`ai-search-options-retrieval-context-expansion`,{type:`number`,description:`The ai_search_options.retrieval.context_expansion field`}).option(`ai-search-options-retrieval-fusion-method`,{type:`string`,description:`The ai_search_options.retrieval.fusion_method field`,choices:[`max`,`rrf`]}).option(`ai-search-options-retrieval-keyword-match-mode`,{type:`string`,description:`Controls which documents are candidates for BM25 scoring. 'and' restricts candidates to documents containing all query terms; 'or' includes any document containing at least one term, ranked by BM25 relevance. When omitted, falls back to the instance-level retrieval_options.keyword_match_mode, then to 'and'.`,choices:[`and`,`or`]}).option(`ai-search-options-retrieval-match-threshold`,{type:`number`,description:`The ai_search_options.retrieval.match_threshold field`}).option(`ai-search-options-retrieval-max-num-results`,{type:`number`,description:`The ai_search_options.retrieval.max_num_results field`}).option(`ai-search-options-retrieval-retrieval-type`,{type:`string`,description:`The ai_search_options.retrieval.retrieval_type field`,choices:[`vector`,`keyword`,`hybrid`]}).option(`ai-search-options-retrieval-return-on-failure`,{type:`boolean`,description:`The ai_search_options.retrieval.return_on_failure field`}).option(`messages`,{type:`string`,description:`The messages field. Provide as a JSON array of objects or @path/to/file.json.`}).option(`model`,{type:`string`,description:`A Workers AI model ID or an AI Gateway model ID compatible with the OpenAI Chat Completions API. An empty string uses the configured or default model.`}).option(`stream`,{type:`boolean`,description:`The stream 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)`})}const y={command:`chat-completions <id>`,describe:`Chat Completions`,builder:v,handler:async r=>c({command:`ai-search chat-completions`,classification:{safeFlags:[`ai-search-options-cache-cache-threshold`,`ai-search-options-cache-enabled`,`ai-search-options-query-rewrite-enabled`,`ai-search-options-reranking-enabled`,`ai-search-options-retrieval-fusion-method`,`ai-search-options-retrieval-keyword-match-mode`,`ai-search-options-retrieval-retrieval-type`,`ai-search-options-retrieval-return-on-failure`,`stream`,`dry-run`]}},r,async()=>{if(r.dryRun){o({command:`cf ai-search chat-completions`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/ai-search/namespaces/${r.name==null?`<name>`:encodeURIComponent(String(r.name))}/instances/${r.id==null?`<id>`:encodeURIComponent(String(r.id))}/chat/completions`,pathParams:{id:String(r.id??``),name:String(r.name??``)},bodyKind:`json`,body:r.body===void 0?d({ai_search_options:{cache:{cache_threshold:f(r[`ai-search-options-cache-cache-threshold`],`ai-search-options-cache-cache-threshold`,`text`),enabled:r[`ai-search-options-cache-enabled`]},query_rewrite:{enabled:r[`ai-search-options-query-rewrite-enabled`],model:f(r[`ai-search-options-query-rewrite-model`],`ai-search-options-query-rewrite-model`,`text`),rewrite_prompt:f(r[`ai-search-options-query-rewrite-rewrite-prompt`],`ai-search-options-query-rewrite-rewrite-prompt`,`text`)},reranking:{enabled:r[`ai-search-options-reranking-enabled`],match_threshold:r[`ai-search-options-reranking-match-threshold`],model:f(r[`ai-search-options-reranking-model`],`ai-search-options-reranking-model`,`text`)},retrieval:{context_expansion:r[`ai-search-options-retrieval-context-expansion`],fusion_method:f(r[`ai-search-options-retrieval-fusion-method`],`ai-search-options-retrieval-fusion-method`,`text`),keyword_match_mode:f(r[`ai-search-options-retrieval-keyword-match-mode`],`ai-search-options-retrieval-keyword-match-mode`,`text`),match_threshold:r[`ai-search-options-retrieval-match-threshold`],max_num_results:r[`ai-search-options-retrieval-max-num-results`],retrieval_type:f(r[`ai-search-options-retrieval-retrieval-type`],`ai-search-options-retrieval-retrieval-type`,`text`),return_on_failure:r[`ai-search-options-retrieval-return-on-failure`]}},messages:u(r.messages,`messages`),model:f(r.model,`model`,`text`),stream:r.stream}):l(r.body)});return}let c=await i(r),p=r.local?e:await n();if(r.accountId=p,r.body){let e=l(r.body);a(await s(`Creating`,async()=>c.aiSearch.chatCompletions({...e,account_id:p,name:r.name,id:r.id})),{successLabel:`Created`});return}if(r.messages===void 0)throw Error(`--messages is required (or pass --body with this field set).`);let m=d({ai_search_options:{cache:{cache_threshold:f(r[`ai-search-options-cache-cache-threshold`],`ai-search-options-cache-cache-threshold`,`text`),enabled:r[`ai-search-options-cache-enabled`]},query_rewrite:{enabled:r[`ai-search-options-query-rewrite-enabled`],model:f(r[`ai-search-options-query-rewrite-model`],`ai-search-options-query-rewrite-model`,`text`),rewrite_prompt:f(r[`ai-search-options-query-rewrite-rewrite-prompt`],`ai-search-options-query-rewrite-rewrite-prompt`,`text`)},reranking:{enabled:r[`ai-search-options-reranking-enabled`],match_threshold:r[`ai-search-options-reranking-match-threshold`],model:f(r[`ai-search-options-reranking-model`],`ai-search-options-reranking-model`,`text`)},retrieval:{context_expansion:r[`ai-search-options-retrieval-context-expansion`],fusion_method:f(r[`ai-search-options-retrieval-fusion-method`],`ai-search-options-retrieval-fusion-method`,`text`),keyword_match_mode:f(r[`ai-search-options-retrieval-keyword-match-mode`],`ai-search-options-retrieval-keyword-match-mode`,`text`),match_threshold:r[`ai-search-options-retrieval-match-threshold`],max_num_results:r[`ai-search-options-retrieval-max-num-results`],retrieval_type:f(r[`ai-search-options-retrieval-retrieval-type`],`ai-search-options-retrieval-retrieval-type`,`text`),return_on_failure:r[`ai-search-options-retrieval-return-on-failure`]}},messages:u(r.messages,`messages`),model:f(r.model,`model`,`text`),stream:r.stream});a(await s(`Creating`,async()=>c.aiSearch.chatCompletions({...m,account_id:p,name:r.name,id:r.id})),{successLabel:`Created`})})};function b(e){return e.usage(`$0 ai-search create <name> <id>
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{i as e}from"./context-
|
|
2
|
+
import{i as e}from"./context-C71TA0Yp.mjs";import{r as t}from"./auth-CHTMVVW3.mjs";import{t as n}from"./output-CvQFJkvi.mjs";import{t as r}from"./dry-run-Bq0JAsbX.mjs";import{t as i}from"./progress-BlxgG8Ss.mjs";import{t as a}from"./run-l2pCxS-W.mjs";import"./telemetry-BqtdHwmi.mjs";import{n as o,r as s,t as c}from"./body-parser-hh2avzkz.mjs";import{n as l}from"./prompt-ClEoR47s.mjs";function u(e){return e.usage(`$0 ai-security custom-topics get
|
|
3
3
|
|
|
4
4
|
Get the custom topic categories defined for the zone. While AI Security for Apps is enabled, it scores every incoming prompt against these topics and writes the scores to the \`cf.llm.prompt.custom_topic_categories\` field, keyed by topic label. Topics can be configured while the detection is disabled, but no prompt is scored until you enable it.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const d={command:`get`,describe:`Get the AI Security for Apps custom topics of a zone.`,builder:u,handler:async o=>a({command:`ai-security custom-topics get`,classification:{safeFlags:[`dry-run`]}},o,async()=>{if(o.dryRun){r({command:`cf ai-security custom-topics get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/ai-security/custom-topics`,pathParams:{"zone-id":String(o.zone??o[`zone-id`]??``)},bodyKind:`none`});return}let a=await t(o),s=await e({zone:o.zone},a,{quiet:o.quiet});o.zoneId=s,n(await i(`Loading`,async()=>a.aiSecurity.customTopics.get({zone_id:s})),{successLabel:`Loaded`})})};function f(e){return e.usage("$0 ai-security custom-topics update\n\nUpdate the custom topic list of the zone, overwriting it entirely with the topics in the request, so include every topic you want to keep. Changes can take up to a minute to propagate. Each entry has a `label`, used to reference the topic in rule expressions and analytics, and a `topic` description, which the classifier scores prompts against while AI Security for Apps is enabled. The following rules apply: - A zone can hold at most 20 topics. - `label` must be 2–20 characters, using only lowercase letters (a–z), digits (0–9), and hyphens. - `topic` must be 2–50 printable ASCII characters. - Labels must be unique within the zone, and so must topic descriptions.").option(`topics`,{type:`string`,description:`Custom topic categories for AI Security for Apps content detection. Provide as a JSON array of objects or @path/to/file.json.`}).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 p={command:`update`,describe:`Update the AI Security for Apps custom topics of a zone.`,builder:f,handler:async u=>a({command:`ai-security custom-topics update`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},u,async()=>{if(u.dryRun){r({command:`cf ai-security custom-topics update`,method:`PUT`,url:`https://api.cloudflare.com/client/v4/zones/${u.zone??u.zoneId??`<zone>`}/ai-security/custom-topics`,pathParams:{"zone-id":String(u.zone??u[`zone-id`]??``)},bodyKind:`json`,body:u.body===void 0?c({topics:s(u.topics,`topics`)}):o(u.body)});return}let a=await t(u),d=await e({zone:u.zone},a,{quiet:u.quiet});if(u.zoneId=d,!await l({force:!!u.force,message:`This operation overwrites the AI Security for Apps custom topics for a zone.`})){process.stderr.write(`Aborted.
|
|
5
5
|
`);return}if(u.body){let e=o(u.body);n(await i(`Deleting`,async()=>a.aiSecurity.customTopics.update({body:e,zone_id:d})),{successLabel:`Deleted`});return}let f=c({topics:s(u.topics,`topics`)});n(await i(`Deleting`,async()=>a.aiSecurity.customTopics.update({body:f,zone_id:d})),{successLabel:`Deleted`})})},m={command:`custom-topics`,describe:`Organization-specific topic categories used by AI Security for Apps content detection`,builder:e=>e.command(d).command(p).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function h(e){return e.usage(`$0 ai-security get
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./local-
|
|
2
|
+
import{t as e}from"./local-C9i1d0ma.mjs";import{a as t,t as n}from"./context-C71TA0Yp.mjs";import{r}from"./auth-CHTMVVW3.mjs";import{t as i}from"./output-CvQFJkvi.mjs";import{t as a}from"./dry-run-Bq0JAsbX.mjs";import{t as o}from"./progress-BlxgG8Ss.mjs";import{t as s}from"./run-l2pCxS-W.mjs";import"./telemetry-BqtdHwmi.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-ClEoR47s.mjs";import{n as m,t as h}from"./raw-fetch-CWRDTVMr.mjs";function ee(e){return e.usage(`$0 alerting available-alerts list
|
|
3
3
|
|
|
4
4
|
Gets a list of all alert types for which an account is eligible.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const g={command:`list`,describe:`Get Alert Types`,builder:ee,handler:async c=>s({command:`alerting available-alerts list`,classification:{safeFlags:[`dry-run`]}},c,async()=>{if(c.dryRun){a({command:`cf alerting available-alerts list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/alerting/v3/available_alerts`,pathParams:{},bodyKind:`none`});return}let s=await r(c),l=c.local?e:await n();c.accountId=l,i(await o(`Loading`,async()=>s.alerting.availableAlerts.list({account_id:l})),{successLabel:`Loaded`})})},_={command:`available-alerts`,describe:`Operations for available-alerts`,builder:e=>e.command(g).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function v(e){return e.usage(`$0 alerting destinations eligible get
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./local-
|
|
2
|
+
import{t as e}from"./local-C9i1d0ma.mjs";import{a as t,i as n,t as r}from"./context-C71TA0Yp.mjs";import{a as i,r as a}from"./auth-CHTMVVW3.mjs";import{t as o}from"./output-CvQFJkvi.mjs";import{t as s}from"./dry-run-Bq0JAsbX.mjs";import{t as c}from"./progress-BlxgG8Ss.mjs";import{t as l}from"./run-l2pCxS-W.mjs";import"./telemetry-BqtdHwmi.mjs";import{i as u,n as d,r as f,t as p}from"./body-parser-hh2avzkz.mjs";import{n as m,t as h}from"./input-validation-Dk52b0me.mjs";import{a as g}from"./prompt-ClEoR47s.mjs";function _(e){return e.usage(`$0 analytics latency colos get
|
|
3
3
|
|
|
4
4
|
Retrieves Argo Smart Routing analytics broken down by geographic points of presence (PoPs). Shows latency improvements and routing efficiency per location.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const v={command:`get`,describe:`Argo Analytics for a zone at different PoPs`,builder:_,handler:async e=>l({command:`analytics latency colos get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){s({command:`cf analytics latency colos get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/analytics/latency/colos`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let t=await a(e),r=await n({zone:e.zone},t,{quiet:e.quiet});e.zoneId=r,o(await c(`Loading`,async()=>t.analytics.latency.colos.get({zone_id:r})),{successLabel:`Loaded`})})},y={command:`colos`,describe:`Operations for latency.colos`,builder:e=>e.command(v).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function b(e){return e.usage(`$0 analytics latency get
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./local-
|
|
2
|
+
import{t as e}from"./local-C9i1d0ma.mjs";import{a as t,t as n}from"./context-C71TA0Yp.mjs";import{a as r,r as i}from"./auth-CHTMVVW3.mjs";import{t as a}from"./output-CvQFJkvi.mjs";import{t as o}from"./dry-run-Bq0JAsbX.mjs";import{t as s}from"./progress-BlxgG8Ss.mjs";import{t as c}from"./run-l2pCxS-W.mjs";import"./telemetry-BqtdHwmi.mjs";import{n as l,t as u}from"./input-validation-Dk52b0me.mjs";function d(e){return e.usage(`$0 analytics_engine sql query
|
|
3
3
|
|
|
4
4
|
Executes a SQL query against Workers Analytics Engine data. Pass the SQL query in the request body as plain text. The response uses newline-delimited JSON (NDJSON) by default, or a single JSON object when the query includes a FORMAT JSON clause. Prefer this method for longer queries that may exceed URL length limits.`).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 f={command:`query`,describe:`Execute an Analytics Engine SQL query via request body`,builder:d,handler:async d=>c({command:`analytics_engine sql query`,classification:{safeFlags:[`dry-run`]}},d,async()=>{if(d.dryRun){o({command:`cf analytics_engine sql query`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/analytics_engine/sql`,pathParams:{},bodyKind:`octet-stream`,body:d.body});return}let c=await i(d),f=d.local?e:await n();if(d.accountId=f,d.file){let e=u(d.file);a(await s(`Loading`,async()=>r(c,`POST`,`/accounts/${f}/analytics_engine/sql`,{body:e,headers:{"Content-Type":`text/plain`}})),{successLabel:`Loaded`});return}if(d.body){let e=l(d.body,`body`,`binary`);a(await s(`Loading`,async()=>r(c,`POST`,`/accounts/${f}/analytics_engine/sql`,{body:e,headers:{"Content-Type":`text/plain`}})),{successLabel:`Loaded`});return}a(await s(`Loading`,async()=>c.analyticsEngine.sql.query({account_id:f})),{successLabel:`Loaded`})})},p={command:`sql`,describe:`Operations for sql`,builder:e=>e.command(f).demandCommand(1,`Please specify a subcommand`),handler:()=>{}},m={command:`analytics_engine`,describe:`analytics_engine`,builder:e=>e.command(p).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};export{m as default};
|