cf 1.0.0-beta.29 → 1.0.0-beta.30
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 +584 -96
- package/dist/_meta/hand-written-commands.json +7 -1
- package/dist/_meta/schemas.json +182 -48
- package/dist/{abuse-reports-DqXYX_6F.mjs → abuse-reports-Dzop8iDe.mjs} +1 -1
- package/dist/{access-Cte4yyIz.mjs → access-2NeD3Gu8.mjs} +1 -1
- package/dist/{accounts-G-x-_cEx.mjs → accounts-CeJbhhX4.mjs} +1 -1
- package/dist/{acm-Bg3HqMGG.mjs → acm-Dub0B14J.mjs} +1 -1
- package/dist/{addressing-BwEofGEm.mjs → addressing-BzWJU8m6.mjs} +1 -1
- package/dist/{agent-memory-DhwZ2KRw.mjs → agent-memory-2l9zyQFA.mjs} +1 -1
- package/dist/{ai-audit-CMEBz6ZP.mjs → ai-audit-rgNePq5W.mjs} +1 -1
- package/dist/{ai-gateway-D2s0isU-.mjs → ai-gateway-e9b8CcL6.mjs} +2 -2
- package/dist/{ai-DWWRIQIt.mjs → ai-laLv3daG.mjs} +1 -1
- package/dist/{ai-search-a0uqr9yJ.mjs → ai-search-DZ0AqoPe.mjs} +1 -1
- package/dist/{ai-security-H_RqjRoL.mjs → ai-security-CQuBTtmw.mjs} +1 -1
- package/dist/{alerting-Bgp9rE4I.mjs → alerting-_4ra-f_v.mjs} +1 -1
- package/dist/{analytics-CFYM82FD.mjs → analytics-DLNn4bJ4.mjs} +1 -1
- package/dist/{analytics-engine-BLiEaLxb.mjs → analytics-engine-CY45yWuL.mjs} +1 -1
- package/dist/{api-security-B0YtHglt.mjs → api-security-BSvJAjJV.mjs} +1 -1
- package/dist/{argo-BPwbzHY7.mjs → argo-xzl0p--1.mjs} +1 -1
- package/dist/{artifacts-B6UwC2PH.mjs → artifacts-DAS14gcM.mjs} +1 -1
- package/dist/{audit-logs-kG97iEnI.mjs → audit-logs-3nYyCGQA.mjs} +1 -1
- package/dist/auth-B0mFB6nU.mjs +3 -0
- package/dist/auth-CXR2vsII.mjs +2 -0
- package/dist/{auth-DA1PHaHi.mjs → auth-cj71dGxS.mjs} +1 -1
- package/dist/{auth-token-CE3Wa5-b.mjs → auth-token-D9MnaZ-L.mjs} +1 -1
- package/dist/{autoconfig-B4tFR6ua.mjs → autoconfig-DoLQ5ct8.mjs} +1 -1
- package/dist/{basin-catalog-DzVEPupy.mjs → basin-catalog-BbCsAKyZ.mjs} +1 -1
- package/dist/{billing-TERxOuLR.mjs → billing-BsiLsjWJ.mjs} +1 -1
- package/dist/{blocks-C3Im7AT0.mjs → blocks-DK5qAzLe.mjs} +1 -1
- package/dist/{body-unions-D9OSaf4M.mjs → body-unions-QFGGUlIr.mjs} +1 -1
- package/dist/{bot-management-SZw9jTOC.mjs → bot-management-DkErOsIO.mjs} +1 -1
- package/dist/{botnet-feed-DjdAeUtb.mjs → botnet-feed-CK4_PKrf.mjs} +1 -1
- package/dist/{brand-protection-BpA7Gmf1.mjs → brand-protection-Czt-2Ei5.mjs} +1 -1
- package/dist/{browser-run-BvjfMK3f.mjs → browser-run-DLMdEaSJ.mjs} +20 -20
- package/dist/build-ByjJ6yIB.mjs +2 -0
- package/dist/{build-yQOzZg6Z.mjs → build-DiEXOgHH.mjs} +1 -1
- package/dist/{builds-tMa3sbQU.mjs → builds-D--zUbR2.mjs} +1 -1
- package/dist/{cache-b_EPh6Is.mjs → cache-C8PQmkjD.mjs} +1 -1
- package/dist/{cf-DmvZ2L51.mjs → cf-QIG83e0V.mjs} +6 -6
- package/dist/{chunk-DSGVRFIS-Cj7pO-YQ.mjs → chunk-DSGVRFIS-CeCM3XGQ.mjs} +1 -1
- package/dist/{chunk-Q5KVZMHK-WOCEMyET.mjs → chunk-Q5KVZMHK-Bjvrcihk.mjs} +2 -2
- package/dist/{cli-Cc7ujzAy.mjs → cli-BBv5YMan.mjs} +1 -1
- package/dist/{client-side-security-DVkeCzcC.mjs → client-side-security-CFxePUL9.mjs} +1 -1
- package/dist/{cloud-connector-MVf4acRR.mjs → cloud-connector-BitfLQ3s.mjs} +1 -1
- package/dist/{cloudflared-BOkMl8Gm.mjs → cloudflared-DKh4JK7j.mjs} +1 -1
- package/dist/{cloudforce-one-KrCfQbRx.mjs → cloudforce-one-D2dzA7VD.mjs} +1 -1
- package/dist/{command-C4_lMRkw.mjs → command-B6ustzcW.mjs} +1 -1
- package/dist/{command-DqOU7Ql2.mjs → command-BC_nezLE.mjs} +1 -1
- package/dist/{command-CJ3ldWrA.mjs → command-BORazCDG.mjs} +1 -1
- package/dist/{command-DONwHpqZ.mjs → command-BwcAuPBr.mjs} +1 -1
- package/dist/{command-HW7k43qu.mjs → command-C2HYwGn_.mjs} +1 -1
- package/dist/{command-NqM0lo4a.mjs → command-CQhD3Q1t.mjs} +1 -1
- package/dist/{command-DHODgfFZ.mjs → command-D5FrTb2N.mjs} +1 -1
- package/dist/{command-D2XkyO1e.mjs → command-DoXuskBZ.mjs} +1 -1
- package/dist/{command-bwVDyMv4.mjs → command-Xqidhyr_.mjs} +1 -1
- package/dist/{command-BQbZw4Kx.mjs → command-aeKPI1bt.mjs} +1 -1
- package/dist/{command-yzqs4m83.mjs → command-b1KxgQwf.mjs} +1 -1
- package/dist/{command-DdYnSf-8.mjs → command-iwrZ2Sb1.mjs} +1 -1
- package/dist/{command-DIIaZx_f.mjs → command-n7QausoH.mjs} +1 -1
- package/dist/{command-BVct0Dvr.mjs → command-s15KaL-x.mjs} +1 -1
- package/dist/{command-CyOdBNur.mjs → command-ycXauMSv.mjs} +1 -1
- package/dist/{completions-0YKvIyBT.mjs → completions-BAUSggys.mjs} +1 -1
- package/dist/{connector-interrupts-CsunbRsr.mjs → connector-interrupts-D9tI84Fk.mjs} +1 -1
- package/dist/{connector-telemetry-events-DmQPD7xC.mjs → connector-telemetry-events-Bs9wLYwc.mjs} +1 -1
- package/dist/{connector-telemetry-snapshots-C62iHjC9.mjs → connector-telemetry-snapshots-CbwE4lrE.mjs} +1 -1
- package/dist/{connectors-Bg0MU6ZT.mjs → connectors-LyJN1htu.mjs} +1 -1
- package/dist/{containers-BiA_bpPR.mjs → containers-CKs7ZyZq.mjs} +2 -2
- package/dist/{content-scan-4SA2nacB.mjs → content-scan-BQRz7C7Z.mjs} +1 -1
- package/dist/{context-BGm5_wTT.mjs → context-DlFhI9cN.mjs} +1 -1
- package/dist/{cps-WDmD3V5I.mjs → cps-DYlXx89C.mjs} +1 -1
- package/dist/{csam-scanner-Rmy-hBEA.mjs → csam-scanner-BFANxGD-.mjs} +1 -1
- package/dist/{custom-csrs-D-lvkyRV.mjs → custom-csrs-BX4aCeof.mjs} +1 -1
- package/dist/{custom-hostnames-B5BQX5m6.mjs → custom-hostnames-BRYABKN3.mjs} +1 -1
- package/dist/{custom-nameservers-CZrRjcjx.mjs → custom-nameservers-CP1Vf1TD.mjs} +1 -1
- package/dist/{custom-pages-CWwjtfbj.mjs → custom-pages-BNL69ToU.mjs} +1 -1
- package/dist/{d1-N81q-FAr.mjs → d1-D4AZsUKn.mjs} +1 -1
- package/dist/{delegate-livNdiwK.mjs → delegate-BKlomUk6.mjs} +1 -1
- package/dist/delegate.mjs +1 -1
- package/dist/{deploy-Ok4ncy06.mjs → deploy-LbXgSfAd.mjs} +1 -1
- package/dist/{deploy-context-B_lLfxt7.mjs → deploy-context-BYw6gbl-.mjs} +9 -9
- package/dist/{deploy-input-JZlEJwKB.mjs → deploy-input-BFWpjDVr.mjs} +1 -1
- package/dist/{dev-DxbkJkzc.mjs → dev-DaFSd8WC.mjs} +1 -1
- package/dist/{diagnostics-DlJzpO8b.mjs → diagnostics-Dk3pyWx_.mjs} +1 -1
- package/dist/disk-cache-nbuwH1Dh.mjs +2 -0
- package/dist/{dist-BxhwE-W1.mjs → dist-DwxlJ9Ms.mjs} +4 -1
- package/dist/{dls-5OXuxLAB.mjs → dls-DU6EdhQK.mjs} +1 -1
- package/dist/{dns-Burep9O7.mjs → dns-3QDtCu6f.mjs} +1 -1
- package/dist/{dns-firewall-hUHaQ0DE.mjs → dns-firewall-Bbrr_0_a.mjs} +1 -1
- package/dist/{docs-BFVK88kB.mjs → docs-lLLKcLr_.mjs} +1 -1
- package/dist/{dry-run-qsnRlRk6.mjs → dry-run-mrA7FFLR.mjs} +1 -1
- package/dist/{durable-objects-D6R8S2Dk.mjs → durable-objects-DPf1DMeq.mjs} +1 -1
- package/dist/{email-auth--2KCzZNA.mjs → email-auth-DOlEoi8q.mjs} +1 -1
- package/dist/{email-routing-DzaExfVf.mjs → email-routing-D56SPGty.mjs} +1 -1
- package/dist/{email-security-DwQJszzy.mjs → email-security-CSawx0kD.mjs} +1 -1
- package/dist/{email-sending-mQd2qB-o.mjs → email-sending-CgFi0cLA.mjs} +1 -1
- package/dist/{errors-C_bGcR0X.mjs → errors-CilNjDVk.mjs} +1 -1
- package/dist/{field-extractors-MVOizTlB.mjs → field-extractors-FvIgySB4.mjs} +1 -1
- package/dist/{firewall-DtSIlkfL.mjs → firewall-BrTvywhW.mjs} +1 -1
- package/dist/{flagship-9E5gwNki.mjs → flagship-BGFN1Epo.mjs} +1 -1
- package/dist/{fraud-DjqhVJdf.mjs → fraud-DzK6OIO3.mjs} +1 -1
- package/dist/{google-tag-gateway-BM5GmCZa.mjs → google-tag-gateway-Cd9v8A7Z.mjs} +1 -1
- package/dist/{healthchecks-CEZ5f3XJ.mjs → healthchecks-Cm7EHaBA.mjs} +1 -1
- package/dist/{hyperdrive-Da8hCcUw.mjs → hyperdrive-CVaSt0qX.mjs} +1 -1
- package/dist/{iam-BK6N7NdQ.mjs → iam-CWN62Mi4.mjs} +1 -1
- package/dist/{images-3bCWE6Ml.mjs → images-Bo_pdvQC.mjs} +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{init-BgCF9K8h.mjs → init-Dwmpc_S-.mjs} +1 -1
- package/dist/{intel-BQ58CJLt.mjs → intel-CQFYeGEA.mjs} +1 -1
- package/dist/{interactive-JBA3qOUa.mjs → interactive-DCbIwYxy.mjs} +1 -1
- package/dist/{internal-CWPz0sBF.mjs → internal-CYrPZ9IX.mjs} +1 -1
- package/dist/{ips-3WYegiVW.mjs → ips-jTSzoqMU.mjs} +1 -1
- package/dist/{k2-Bc_hjmiv.mjs → k2-utE2lCYd.mjs} +1 -1
- package/dist/{kv-DbShBhhg.mjs → kv-Cdh5hHte.mjs} +1 -1
- package/dist/{lazy-command-CbGyEqFK.mjs → lazy-command-QoHlmXHW.mjs} +1 -1
- package/dist/{leaked-credential-checks-DgPefxP9.mjs → leaked-credential-checks-CqApscD3.mjs} +1 -1
- package/dist/{live-BTtMv1a6.mjs → live-hZgMkXJf.mjs} +1 -1
- package/dist/{load-balancers-C2hg52WA.mjs → load-balancers-w_4Uz9Gi.mjs} +1 -1
- package/dist/login-BBSJytOt.mjs +2 -0
- package/dist/{login-DiR-buzS.mjs → login-CS3KxVbk.mjs} +2 -2
- package/dist/{logpush-CitvUX-J.mjs → logpush-C76I5dgN.mjs} +1 -1
- package/dist/{logs-CfWHu4Ir.mjs → logs-B5aCYVCv.mjs} +1 -1
- package/dist/{magic-network-monitoring-gU6yzzML.mjs → magic-network-monitoring-CGf7cVQ9.mjs} +1 -1
- package/dist/{magic-transit-B3JY9u5o.mjs → magic-transit-CN5noqOR.mjs} +1 -1
- package/dist/{managed-defense-C_EQ-NYp.mjs → managed-defense-DAGr0UGm.mjs} +1 -1
- package/dist/{managed-transforms-DIGl6JkM.mjs → managed-transforms-_SuwzZ-5.mjs} +1 -1
- package/dist/{mcp-DqhQJVaz.mjs → mcp-CzedsjOf.mjs} +1 -1
- package/dist/{mesh-DXVZBNDC.mjs → mesh-DXX1S3pX.mjs} +1 -1
- package/dist/{migrate-CmXyk9vX.mjs → migrate-CvRQ4x3_.mjs} +1 -1
- package/dist/{monetization-CWg-mySr.mjs → monetization-8nt9PYln.mjs} +1 -1
- package/dist/{network-jtgq5eb4.mjs → network-CaiRDY2e.mjs} +1 -1
- package/dist/{network-interconnects-DhfKL5tG.mjs → network-interconnects-Ad6JbAVd.mjs} +1 -1
- package/dist/{o11y-eYYs59X9.mjs → o11y-DD2Hfnzi.mjs} +1 -1
- package/dist/{oauth-BgDZMd72.mjs → oauth-BUcV_xbm.mjs} +1 -1
- package/dist/{oauth-V37G-PaV.mjs → oauth-CQRlNgt5.mjs} +1 -1
- package/dist/{observability-CB72eC4T.mjs → observability-BzKBUUSf.mjs} +1 -1
- package/dist/{ohttp-gateway-K9ToEft8.mjs → ohttp-gateway-Sej9-GCm.mjs} +1 -1
- package/dist/{organizations-BllV7l_c.mjs → organizations-DwYsCbYD.mjs} +1 -1
- package/dist/{output-hFMAotFl.mjs → output-PRKYaJuo.mjs} +1 -1
- package/dist/package-DXaRIx2f.mjs +2 -0
- package/dist/{page-rules-BVmi-ZFW.mjs → page-rules-CjufEmIt.mjs} +1 -1
- package/dist/{pages-5spcBpX1.mjs → pages-Dj0Cdf3G.mjs} +2 -2
- package/dist/{pay-per-crawl-BgsdGcBi.mjs → pay-per-crawl-DPVlluRA.mjs} +1 -1
- package/dist/{pay-per-use-CzmI1kEA.mjs → pay-per-use-DhuLjaoo.mjs} +1 -1
- package/dist/{pipelines-CbtmLRxt.mjs → pipelines-D2pM69oq.mjs} +12 -10
- package/dist/{precursor-Dk8YOKf_.mjs → precursor-DzuA1m8D.mjs} +1 -1
- package/dist/{previews-Bv1HMMtO.mjs → previews-CHHd5Rx7.mjs} +1 -1
- package/dist/{progress-DE_G09u2.mjs → progress-AML-AVs4.mjs} +1 -1
- package/dist/prompt-Bnon9lfK.mjs +4 -0
- package/dist/{queues-DGCYUr4g.mjs → queues-GDwznw0o.mjs} +1 -1
- package/dist/{r2-DtCk-Nfi.mjs → r2-B3Xkb0S4.mjs} +49 -49
- package/dist/{radar-1CwqOsMZ.mjs → radar-fBT7VIO2.mjs} +1 -1
- package/dist/{raw-fetch-DhlyWQtk.mjs → raw-fetch-0T1SwPa1.mjs} +1 -1
- package/dist/{ready-CcoEA7M7.mjs → ready-BkXNDNTd.mjs} +1 -1
- package/dist/{realtime-DFUxwIG5.mjs → realtime-B7mR3XtY.mjs} +1 -1
- package/dist/{registrar-Cl1snz8z.mjs → registrar-DOoxlZc7.mjs} +9 -9
- package/dist/{registrar-sandbox-Cne9BVCZ.mjs → registrar-sandbox-DC7xAqqc.mjs} +1 -1
- package/dist/{reporting-D9FC-Z-3.mjs → reporting-DlD7J6Pq.mjs} +1 -1
- package/dist/{request-headers-Bopp5lH_.mjs → request-headers-BEYXy4JN.mjs} +1 -1
- package/dist/{request-tracers-CSSB9_aW.mjs → request-tracers-DYCGkszp.mjs} +1 -1
- package/dist/{resource-sharing-D8yuzJm7.mjs → resource-sharing-D_bUv7E8.mjs} +1 -1
- package/dist/{rules-DzmOQ3MB.mjs → rules-C4cu3_jr.mjs} +1 -1
- package/dist/{rulesets-DsTGcgbc.mjs → rulesets-Bl4mLnXA.mjs} +1 -1
- package/dist/{rum-DrJLI93T.mjs → rum-DE_uJb09.mjs} +1 -1
- package/dist/run-Cg9utScS.mjs +2 -0
- package/dist/{run-CXWkMU3x.mjs → run-DAg7dfIW.mjs} +1 -1
- package/dist/sanitize-DHx5dAJu.mjs +2 -0
- package/dist/{schema-CfZOW8Zw.mjs → schema-BX822YfT.mjs} +1 -1
- package/dist/schema-cache-CTVUtkAl.mjs +3 -0
- package/dist/{schema-flags-DO3kLYBu.mjs → schema-flags-YgeJ6Bey.mjs} +1 -1
- package/dist/{scim-0OufLKru.mjs → scim-Dz4r0fnH.mjs} +1 -1
- package/dist/{secrets-store-BQeLzFxv.mjs → secrets-store-C2GwCUKs.mjs} +1 -1
- package/dist/{security-insights-D2pj8-O-.mjs → security-insights-DZCm5D3U.mjs} +1 -1
- package/dist/{security-txt-SKtgW4n-.mjs → security-txt-Dbi9KxNc.mjs} +1 -1
- package/dist/session-BEsQIuwP.mjs +2 -0
- package/dist/{shared-D_2KLpP3.mjs → shared-DqW2vICA.mjs} +1 -1
- package/dist/{signed-url-CcE2zQ4Y.mjs → signed-url-BhHSAUam.mjs} +1 -1
- package/dist/{smart-shield-Dod9Gs6T.mjs → smart-shield-C2uSFcGN.mjs} +1 -1
- package/dist/{snippets-DrrdpLnS.mjs → snippets-BoaGEAC6.mjs} +1 -1
- package/dist/{spawn-DNf-Ge8d.mjs → spawn-B4y5Urjv.mjs} +1 -1
- package/dist/{spectrum-CHBGZbZF.mjs → spectrum-Bb0KXA8R.mjs} +1 -1
- package/dist/{speed-vOlHyG3v.mjs → speed-zKYgLTHA.mjs} +1 -1
- package/dist/{sql-BCuLxGSf.mjs → sql-pjWozuvl.mjs} +1 -1
- package/dist/src-B8i6_XGg.mjs +133 -0
- package/dist/{ssl-BA_dcVwF.mjs → ssl-C5bg1X0i.mjs} +1 -1
- package/dist/{startup-profile-uh-F0HRS.mjs → startup-profile-CyIelqtC.mjs} +1 -1
- package/dist/startup-profile-Dif7XOsU.mjs +2 -0
- package/dist/{state-CTLznbVs.mjs → state-BI_wSuID.mjs} +1 -1
- package/dist/state-xUh3Z77T.mjs +2 -0
- package/dist/{static-assets-DGDoaJf1.mjs → static-assets-CTv7XwIQ.mjs} +3 -3
- package/dist/{stream-CzlqY8hq.mjs → stream-C_FiNrLV.mjs} +1 -1
- package/dist/string-width-D6-CGlwN.mjs +2 -0
- package/dist/{tags-BLeaslAb.mjs → tags-CXlivF3y.mjs} +1 -1
- package/dist/{telemetry-DF7A5Bpk.mjs → telemetry-CtQWhsmy.mjs} +1 -1
- package/dist/telemetry-DDs3zhdw.mjs +2 -0
- package/dist/{tenant-custom-nameservers-C5rh6jPf.mjs → tenant-custom-nameservers-DBg9Hzvn.mjs} +1 -1
- package/dist/{tenants-CRirmhxS.mjs → tenants-89Q0u5_Q.mjs} +1 -1
- package/dist/{tools-BRjRgZnj.mjs → tools-aVtEAIvu.mjs} +1 -1
- package/dist/{tunnels-nLfIWPYT.mjs → tunnels-CL2fIINH.mjs} +2 -2
- package/dist/{turnstile-CZjXtBCr.mjs → turnstile-D6GtQULo.mjs} +1 -1
- package/dist/ui-CY75N4Tm.mjs +2 -0
- package/dist/{update-check-CXMdVBhW.mjs → update-check-0kpbTLvy.mjs} +1 -1
- package/dist/{update-check-D_Oky9-u.mjs → update-check-D3axIoUi.mjs} +1 -1
- package/dist/update-check-worker.mjs +1 -1
- package/dist/{url-normalization-DTKgJHE8.mjs → url-normalization--iS57OT_.mjs} +1 -1
- package/dist/{url-scanner-9XW3zLaU.mjs → url-scanner-C6AtXGc2.mjs} +1 -1
- package/dist/{user-Bk1BIqZ5.mjs → user-C5vRYIta.mjs} +1 -1
- package/dist/{vectorize-CgOfmWYq.mjs → vectorize-C1Kxb1Ou.mjs} +1 -1
- package/dist/version-pcpa_kv3.mjs +2 -0
- package/dist/{waiting-rooms-C3nTKfK9.mjs → waiting-rooms-BCVZY9vI.mjs} +1 -1
- package/dist/{web-assets-CWU3jrit.mjs → web-assets-D2gXqKZS.mjs} +1 -1
- package/dist/{web3-CRpQ5sl4.mjs → web3-CJDZQCOk.mjs} +1 -1
- package/dist/whoami-2eFTt0-Y.mjs +2 -0
- package/dist/whoami-BEad9QUB.mjs +8 -0
- package/dist/{workers-BZMvamn0.mjs → workers-DzXSJMv9.mjs} +2 -2
- package/dist/{workers-for-platforms-C7F2ev-5.mjs → workers-for-platforms-CvazgrqD.mjs} +2 -2
- package/dist/{workers-vpc-ztEKvWmq.mjs → workers-vpc-DP4QC6UC.mjs} +1 -1
- package/dist/{workflows-Dd88_Nqc.mjs → workflows-BSOj56io.mjs} +1 -1
- package/dist/{wrangler-migration-BzMTJPdI.mjs → wrangler-migration-DZ9Oelof.mjs} +6 -3
- package/dist/{zaraz-BFK0p28R.mjs → zaraz-BnQvKXFy.mjs} +1 -1
- package/dist/{zero-trust-Cdjfp0Ie.mjs → zero-trust-DsslXRub.mjs} +1 -1
- package/dist/{zones-DDn5jk6I.mjs → zones-DQ3SjGsZ.mjs} +1 -1
- package/package.json +14 -13
- package/dist/auth-Czr8ChBB.mjs +0 -2
- package/dist/auth-Dwfa4S3h.mjs +0 -7
- package/dist/build-CCwo_ydV.mjs +0 -2
- package/dist/login-CK3nn9a5.mjs +0 -2
- package/dist/package-oNVeacC9.mjs +0 -2
- package/dist/prompt-D274Im1O.mjs +0 -4
- package/dist/run-C5yPsiO2.mjs +0 -2
- package/dist/schema-cache-CtqAs0PP.mjs +0 -3
- package/dist/session-COdP8BXD.mjs +0 -2
- package/dist/src-ByCoEqOw.mjs +0 -133
- package/dist/startup-profile-CyQk_f_L.mjs +0 -2
- package/dist/state-B6r-b_-d.mjs +0 -2
- package/dist/telemetry-COlodX5Z.mjs +0 -2
- package/dist/ui-dWsVmFCG.mjs +0 -2
- package/dist/version-CcuBNjqg.mjs +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import"./api-Dnt6lRJG.mjs";import{i as e,n as t}from"./auth-
|
|
2
|
+
import"./api-Dnt6lRJG.mjs";import{i as e,n as t}from"./auth-cj71dGxS.mjs";import{t as n}from"./dry-run-mrA7FFLR.mjs";import{t as r}from"./local-B3zt9PXR.mjs";import{t as i}from"./output-PRKYaJuo.mjs";import{t as a}from"./progress-AML-AVs4.mjs";import{t as o}from"./path-DRw6Y-nd.mjs";import{a as s,i as c,n as l}from"./prompt-Bnon9lfK.mjs";import"./telemetry-DDs3zhdw.mjs";import{r as u}from"./theme-BGHWSKCw.mjs";import{c as d,i as f,n as p,o as m,r as h,t as g}from"./body-parser-HN91kAf0.mjs";import{a as _,r as v,t as y}from"./context-DlFhI9cN.mjs";import{t as b}from"./body-unions-QFGGUlIr.mjs";import{n as x,t as S}from"./input-validation-D7z60HJH.mjs";import{n as C,t as w}from"./raw-fetch-0T1SwPa1.mjs";import{n as T,t as E}from"./shared-DqW2vICA.mjs";import{n as D,t as O}from"./run-DAg7dfIW.mjs";import{a as k,f as A,n as ee,t as te,u as ne}from"./static-assets-CTv7XwIQ.mjs";import{t as j}from"./hand-written-dry-run-B82fRl2N.mjs";import{t as M}from"./lazy-command-QoHlmXHW.mjs";import{X as N}from"./dist-DwxlJ9Ms.mjs";import{a as P,i as F,n as I,o as L,r as R,s as z}from"./build-DiEXOgHH.mjs";import{t as B}from"./deploy-context-BYw6gbl-.mjs";import{r as V}from"./deploy-input-BFWpjDVr.mjs";import{r as H}from"./dotenv-DKRemNCH.mjs";import{t as U}from"./log-Brx-wjJW.mjs";import{readBuildOutput as W}from"@cloudflare/build-output-utils";var G={method:`DELETE`,path:e=>o`/accounts/${e.account_id}/workers/workers/${e.worker_id}`,query:[`force`],errors:{400:`BadRequestError`,401:`UnauthorizedError`,404:`NotFoundError`,500:`InternalServerError`}};function K(e){return e.usage(`$0 workers delete [worker]
|
|
3
3
|
|
|
4
4
|
Delete a Worker and all its associated resources (versions, deployments, etc.).`).positional(`worker`,{type:`string`,description:`Identifier for the Worker, which can be ID or name.`}).option(`worker`,{type:`string`,alias:[`script-name`,`worker-id`],description:`Identifier for the Worker, which can be ID or name.`}).group(`worker`,u.brand(`Options`)).option(`delete-with-references`,{type:`boolean`,description:`If true, delete the Worker even when other Workers still reference it. Service bindings in those Workers may be left broken. Durable Object namespaces implemented by the deleted Worker are deleted even if other Workers reference them.`}).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 q={command:`delete [worker]`,describe:`Delete Worker`,builder:K,handler:async e=>O({command:`workers delete`,classification:{safeFlags:[`delete-with-references`,`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},e,async()=>{let o=v({scriptName:e.worker});e.worker=o;let s={force:e[`delete-with-references`]};if(e.dryRun){let t=await _();n({command:`cf workers delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workers/workers/${encodeURIComponent(o)}`,pathParams:{worker:String(e.worker??``)},query:s,bodyKind:`none`});return}let c=await t(e),u=e.local?r:await y();if(e.accountId=u,!await l({force:!!e.force,message:`This will permanently delete the Worker and its associated versions and deployments.`}))return;let d=await a(`Deleting`,async()=>c.send(G,{account_id:u,worker_id:o,...s}));i(d,{successLabel:`Deleted`})})};var J={method:`POST`,path:e=>o`/accounts/${e.account_id}/workers/scripts/${e.script_name}/deployments`,query:[`force`],body:`json`,constants:{strategy:`percentage`}};function Y(e){return e.usage(`$0 workers deployments create
|
|
5
5
|
|
|
@@ -36,4 +36,4 @@ Get details about a specific Worker version.`).positional(`version-id`,{type:`st
|
|
|
36
36
|
|
|
37
37
|
List all versions for a Worker.`).option(`worker`,{type:`string`,alias:[`script-name`,`worker-id`],description:`Identifier for the Worker, which can be ID or name.`}).option(`page`,{type:`number`,description:`Current page.`}).option(`per-page`,{type:`number`,description:`Items per-page.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const We={command:`list`,describe:`List Worker Versions`,builder:Ue,handler:async e=>O({command:`workers versions list`,classification:{safeFlags:[`dry-run`]}},e,async()=>{let o=v({scriptName:e.worker});e.worker=o;let s={page:e.page,per_page:e[`per-page`]};if(e.dryRun){let t=await _();n({command:`cf workers versions list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workers/workers/${encodeURIComponent(o)}/versions`,pathParams:{worker:String(e.worker??``)},query:s,bodyKind:`none`});return}let c=await t(e),l=e.local?r:await y();e.accountId=l;let u=await a(`Loading`,async()=>c.send(He,{account_id:l,worker_id:o,...s}));i(u,{successLabel:`Loaded`})})};function Ge(e){return e.usage(`$0 workers versions profile <version-id>
|
|
38
38
|
|
|
39
|
-
Captures a CPU or heap profile from a recently active isolate running the specified Worker version. This endpoint requires the Worker profiling feature to be enabled for the account.`).positional(`version-id`,{type:`string`,description:`Identifies the version by UUID or UUID prefix with a minimum length of eight characters. Use "latest" to select the most recently created version, which may not be deployed. Use "latest-deployed" to profile a version in the active deployment. Versions are tried in order of traffic share until one has a loaded isolate.`,demandOption:!0}).option(`worker`,{type:`string`,alias:[`script-name`,`worker-id`],description:`Identifies the Worker by ID or name.`}).option(`actor-id`,{type:`string`,description:`Identifies the exact Durable Object actor to profile. Must be specified together with namespace_id. The actor must currently be active and running the requested version.`}).option(`duration-ms`,{type:`number`,description:`Profile duration in milliseconds.`}).option(`namespace-id`,{type:`string`,description:`Identifies the Durable Object namespace containing the actor to profile. Must be specified together with actor_id.`}).option(`profile-type`,{type:`string`,description:`The profile_type field`,choices:[`cpu`,`heap`],default:`cpu`}).coerce(`profile-type`,e=>x(e,`profile-type`,`text`)).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(`text`,{type:`boolean`,description:`Decode the response body as UTF-8 text instead of writing raw bytes`,default:!1})}const Ke={command:`profile <version-id>`,describe:`Profile Worker Version`,builder:Ge,handler:async e=>O({command:`workers versions profile`,classification:{safeFlags:[`profile-type`,`dry-run`,`text`]}},e,async()=>{let i=v({scriptName:e.worker});if(e.worker=i,e.dryRun){let t=await _();n({command:`cf workers versions profile`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workers/workers/${encodeURIComponent(i)}/versions/${e[`version-id`]==null?`<version-id>`:encodeURIComponent(String(e[`version-id`]))}/profile`,pathParams:{worker:String(e.worker??``),"version-id":String(e[`version-id`]??``)},bodyKind:`json`,body:e.body===void 0?g({actor_id:x(e[`actor-id`],`actor-id`,`text`),duration_ms:e[`duration-ms`],namespace_id:x(e[`namespace-id`],`namespace-id`,`text`),profile_type:e[`profile-type`]}):h(e.body)});return}let o=e.body===void 0?void 0:h(e.body);await t(e);let s=e.local?r:await y();if(e.accountId=s,e.body!==void 0){let t=o,n=await a(`Creating`,async()=>w(`/accounts/${s}/workers/workers/${encodeURIComponent(i)}/versions/${encodeURIComponent(String(e[`version-id`]))}/profile`,{method:`POST`,local:e.local===!0,persistTo:e.persistTo,body:JSON.stringify(t),contentType:`application/json`}));C(e.text===!0?n.toString(`utf-8`):n);return}if(e[`duration-ms`]===void 0)throw Error(`--duration-ms is required (or pass --body with this field set).`);let c={};e[`actor-id`]!==void 0&&d(c,[`actor_id`],x(e[`actor-id`],`actor-id`,`text`)),e[`duration-ms`]!==void 0&&d(c,[`duration_ms`],e[`duration-ms`]),e[`namespace-id`]!==void 0&&d(c,[`namespace_id`],x(e[`namespace-id`],`namespace-id`,`text`)),e[`profile-type`]!==void 0&&d(c,[`profile_type`],e[`profile-type`]);let l=await a(`Creating`,async()=>w(`/accounts/${s}/workers/workers/${encodeURIComponent(i)}/versions/${encodeURIComponent(String(e[`version-id`]))}/profile`,{method:`POST`,local:e.local===!0,persistTo:e.persistTo,body:Object.keys(c).length>0?c:void 0}));C(e.text===!0?l.toString(`utf-8`):l)})};function qe(e){return T(e).positional(`directory`,ee).hide(`local`).hide(`persist-to`).epilogue(`Local simulation (--local) is not supported by this command.`).option(`preview-alias`,{type:`string`,description:`Preview alias for this Worker Version`,requiresArg:!0})}var Je=D({command:`create [directory]`,describe:`Upload a new Worker Version without deploying it`,builder:qe,handler:async e=>{if(e.local)throw Error(`--local is not supported by cf workers versions create.`);let t=await te(e,{isPreview:!1});await E(t?{...e,prebuilt:!0}:e,{command:`Version upload`})}},{command:`workers versions create`,classification:{safeFlags:[`dry-run`,`prebuilt`]}});const Ye={command:`versions`,describe:`Create, list, inspect, and manage Worker versions`,builder:e=>e.command(j(Je,`native`)).command(ze).command($).command(We).command(Ke).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var Xe=M(`check`,`Profile a Worker's startup performance`,()=>import(`./command-
|
|
39
|
+
Captures a CPU or heap profile from a recently active isolate running the specified Worker version. This endpoint requires the Worker profiling feature to be enabled for the account.`).positional(`version-id`,{type:`string`,description:`Identifies the version by UUID or UUID prefix with a minimum length of eight characters. Use "latest" to select the most recently created version, which may not be deployed. Use "latest-deployed" to profile a version in the active deployment. Versions are tried in order of traffic share until one has a loaded isolate.`,demandOption:!0}).option(`worker`,{type:`string`,alias:[`script-name`,`worker-id`],description:`Identifies the Worker by ID or name.`}).option(`actor-id`,{type:`string`,description:`Identifies the exact Durable Object actor to profile. Must be specified together with namespace_id. The actor must currently be active and running the requested version.`}).option(`duration-ms`,{type:`number`,description:`Profile duration in milliseconds.`}).option(`namespace-id`,{type:`string`,description:`Identifies the Durable Object namespace containing the actor to profile. Must be specified together with actor_id.`}).option(`profile-type`,{type:`string`,description:`The profile_type field`,choices:[`cpu`,`heap`],default:`cpu`}).coerce(`profile-type`,e=>x(e,`profile-type`,`text`)).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(`text`,{type:`boolean`,description:`Decode the response body as UTF-8 text instead of writing raw bytes`,default:!1})}const Ke={command:`profile <version-id>`,describe:`Profile Worker Version`,builder:Ge,handler:async e=>O({command:`workers versions profile`,classification:{safeFlags:[`profile-type`,`dry-run`,`text`]}},e,async()=>{let i=v({scriptName:e.worker});if(e.worker=i,e.dryRun){let t=await _();n({command:`cf workers versions profile`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workers/workers/${encodeURIComponent(i)}/versions/${e[`version-id`]==null?`<version-id>`:encodeURIComponent(String(e[`version-id`]))}/profile`,pathParams:{worker:String(e.worker??``),"version-id":String(e[`version-id`]??``)},bodyKind:`json`,body:e.body===void 0?g({actor_id:x(e[`actor-id`],`actor-id`,`text`),duration_ms:e[`duration-ms`],namespace_id:x(e[`namespace-id`],`namespace-id`,`text`),profile_type:e[`profile-type`]}):h(e.body)});return}let o=e.body===void 0?void 0:h(e.body);await t(e);let s=e.local?r:await y();if(e.accountId=s,e.body!==void 0){let t=o,n=await a(`Creating`,async()=>w(`/accounts/${s}/workers/workers/${encodeURIComponent(i)}/versions/${encodeURIComponent(String(e[`version-id`]))}/profile`,{method:`POST`,local:e.local===!0,persistTo:e.persistTo,body:JSON.stringify(t),contentType:`application/json`}));C(e.text===!0?n.toString(`utf-8`):n);return}if(e[`duration-ms`]===void 0)throw Error(`--duration-ms is required (or pass --body with this field set).`);let c={};e[`actor-id`]!==void 0&&d(c,[`actor_id`],x(e[`actor-id`],`actor-id`,`text`)),e[`duration-ms`]!==void 0&&d(c,[`duration_ms`],e[`duration-ms`]),e[`namespace-id`]!==void 0&&d(c,[`namespace_id`],x(e[`namespace-id`],`namespace-id`,`text`)),e[`profile-type`]!==void 0&&d(c,[`profile_type`],e[`profile-type`]);let l=await a(`Creating`,async()=>w(`/accounts/${s}/workers/workers/${encodeURIComponent(i)}/versions/${encodeURIComponent(String(e[`version-id`]))}/profile`,{method:`POST`,local:e.local===!0,persistTo:e.persistTo,body:Object.keys(c).length>0?c:void 0}));C(e.text===!0?l.toString(`utf-8`):l)})};function qe(e){return T(e).positional(`directory`,ee).hide(`local`).hide(`persist-to`).epilogue(`Local simulation (--local) is not supported by this command.`).option(`preview-alias`,{type:`string`,description:`Preview alias for this Worker Version`,requiresArg:!0})}var Je=D({command:`create [directory]`,describe:`Upload a new Worker Version without deploying it`,builder:qe,handler:async e=>{if(e.local)throw Error(`--local is not supported by cf workers versions create.`);let t=await te(e,{isPreview:!1});await E(t?{...e,prebuilt:!0}:e,{command:`Version upload`})}},{command:`workers versions create`,classification:{safeFlags:[`dry-run`,`prebuilt`]}});const Ye={command:`versions`,describe:`Create, list, inspect, and manage Worker versions`,builder:e=>e.command(j(Je,`native`)).command(ze).command($).command(We).command(Ke).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var Xe=M(`check`,`Profile a Worker's startup performance`,()=>import(`./command-ycXauMSv.mjs`),{command:`workers check`,classification:{safeFlags:[`prebuilt`]}});function Ze(e){return e.hide(`local`).hide(`persist-to`).epilogue(`Local simulation (--local) is not supported by this command.`).option(`prebuilt`,{type:`boolean`,description:`Use existing Build Output Specification files without building`,default:!1}).option(`dry-run`,{type:`boolean`,description:`Run checks without applying triggers`,default:!1}).option(`worker`,R)}const Qe={command:`deploy`,describe:`Apply triggers (Routes, Workflows, Cron triggers etc.)`,builder:Ze,handler:async e=>{if(e.local)throw Error(`--local is not supported by cf workers triggers deploy.`);if(!e.prebuilt){if(await I(e.mode,{worker:e.worker,dryRun:e[`dry-run`]})===`setup-needed`){U.success(`--dry-run: exiting now.`);return}U.message(``)}await H(e,()=>$e(e))}};async function $e(e){let{workers:t,rootConfig:n}=await W(process.cwd());if(n.buildContext.isPreview){let e=[`cf previews deploy`,`--prebuilt`,...n.buildContext.mode===void 0?[]:[`--mode`,n.buildContext.mode]].join(` `);throw Error(`The Build Output was created for a Preview, but this command deploys production triggers. To use the existing Build Output and deploy the Preview, run "${e}". To deploy production triggers, rebuild without Preview settings before deploying.`)}z(e.mode,n.buildContext.mode),L(n.accountId,e[`temporary-account`]===!0);let r=P(t,e.worker),{wranglerConfig:i}=F(r,n),a=N(i),{authToken:o,accountId:s}=await k({accountId:n.accountId,complianceRegion:a,dryRun:e[`dry-run`]});A(B(o)),U.section(`Deploy triggers`),await ne({...V(r,i,s,e),queueCreateCommand:e=>`cf queues create --queue-name ${e}`,workersDevConfigFieldName:`workersDev`,workersDevConfigAssignment:e=>`workersDev: ${e}`,previewUrlsConfigFieldName:`previewUrls`,previewUrlsConfigAssignment:e=>`previewUrls: ${e}`}),e[`dry-run`]||U.success(`Trigger deploy complete`)}const et={command:`triggers`,describe:`Manage triggers (Routes, Workflows, Cron triggers etc.)`,builder:e=>e.command(D(Qe,{command:`workers triggers deploy`,classification:{safeFlags:[`dry-run`,`prebuilt`]}})).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var tt=M(`types`,`Generate types from cloudflare.config.ts`,()=>import(`./command-b1KxgQwf.mjs`),{command:`workers types`,classification:{safeFlags:[`include-runtime`]}});const nt={command:`workers`,describe:`Deploy and manage serverless JavaScript/WASM applications on Cloudflare's global network`,builder:e=>e.command(j(Xe,`preview`)).command(q).command(he).command(ve).command(j(tt,`preview`)).command(fe).command(Se).command(Ie).command(j(et,`native`)).command(Ye).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};export{nt as default};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import"./api-Dnt6lRJG.mjs";import{t as e}from"./path-DRw6Y-nd.mjs";import{i as t,n}from"./auth-
|
|
2
|
+
import"./api-Dnt6lRJG.mjs";import{t as e}from"./path-DRw6Y-nd.mjs";import{i as t,n}from"./auth-cj71dGxS.mjs";import{c as r,i,r as a,t as o}from"./body-parser-HN91kAf0.mjs";import{a as s,t as c}from"./context-DlFhI9cN.mjs";import{t as l}from"./dry-run-mrA7FFLR.mjs";import{n as u,t as d}from"./input-validation-D7z60HJH.mjs";import{t as f}from"./local-B3zt9PXR.mjs";import{t as p}from"./run-DAg7dfIW.mjs";import{t as m}from"./output-PRKYaJuo.mjs";import{t as h}from"./progress-AML-AVs4.mjs";import"./telemetry-DDs3zhdw.mjs";import{a as g,i as _,n as v}from"./prompt-Bnon9lfK.mjs";var y={method:`POST`,path:t=>e`/accounts/${t.account_id}/workers/dispatch/namespaces`,body:`json`};function ee(e){return e.usage(`$0 workers-for-platforms dispatch-namespaces create
|
|
3
3
|
|
|
4
|
-
Create a new Workers for Platforms dispatch namespace.`).option(`name`,{type:`string`,description:`The name of the dispatch namespace.`}).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`,describe:`Create Workers for Platforms Dispatch Namespace`,builder:ee,handler:async e=>p({command:`workers-for-platforms dispatch-namespaces create`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){let t=await s();l({command:`cf workers-for-platforms dispatch-namespaces create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workers/dispatch/namespaces`,pathParams:{},bodyKind:`json`,body:e.body===void 0?o({name:u(e.name,`name`,`text`)}):a(e.body)});return}let t=e.body===void 0?void 0:a(e.body),r=await n(e),i=e.local?f:await c();if(e.accountId=i,e.body!==void 0){let e=t,n=await h(`Creating`,async()=>r.send(y,{body:e,account_id:i}));m(n,{successLabel:`Created`});return}let d=o({name:u(e.name,`name`,`text`)}),p=await h(`Creating`,async()=>r.send(y,{body:d,account_id:i}));m(p,{successLabel:`Created`})})};var b={method:`DELETE`,path:t=>e`/accounts/${t.account_id}/workers/dispatch/namespaces/${t.dispatch_namespace}`};function x(e){return e.usage(`$0 workers-for-platforms dispatch-namespaces delete <dispatch-namespace>
|
|
4
|
+
Create a new Workers for Platforms dispatch namespace.`).option(`name`,{type:`string`,description:`The name of the dispatch namespace.`}).option(`trusted-workers`,{type:`boolean`,description:'Whether the Workers in the namespace are executed in a "trusted" manner. When a Worker is trusted, it has access to the shared caches for the zone in the Cache API, and has access to the `request.cf` object on incoming Requests. When a Worker is untrusted, caches are not shared across the zone, and `request.cf` is undefined. By default, Workers in a namespace are "untrusted".',default:!1}).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`,describe:`Create Workers for Platforms Dispatch Namespace`,builder:ee,handler:async e=>p({command:`workers-for-platforms dispatch-namespaces create`,classification:{safeFlags:[`trusted-workers`,`dry-run`]}},e,async()=>{if(e.dryRun){let t=await s();l({command:`cf workers-for-platforms dispatch-namespaces create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workers/dispatch/namespaces`,pathParams:{},bodyKind:`json`,body:e.body===void 0?o({name:u(e.name,`name`,`text`),trusted_workers:e[`trusted-workers`]}):a(e.body)});return}let t=e.body===void 0?void 0:a(e.body),r=await n(e),i=e.local?f:await c();if(e.accountId=i,e.body!==void 0){let e=t,n=await h(`Creating`,async()=>r.send(y,{body:e,account_id:i}));m(n,{successLabel:`Created`});return}let d=o({name:u(e.name,`name`,`text`),trusted_workers:e[`trusted-workers`]}),p=await h(`Creating`,async()=>r.send(y,{body:d,account_id:i}));m(p,{successLabel:`Created`})})};var b={method:`DELETE`,path:t=>e`/accounts/${t.account_id}/workers/dispatch/namespaces/${t.dispatch_namespace}`};function x(e){return e.usage(`$0 workers-for-platforms dispatch-namespaces delete <dispatch-namespace>
|
|
5
5
|
|
|
6
6
|
Delete a Workers for Platforms dispatch namespace.`).positional(`dispatch-namespace`,{type:`string`,description:`Name of the Workers for Platforms dispatch namespace.`,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 S={command:`delete <dispatch-namespace>`,describe:`Delete Workers for Platforms Dispatch Namespace`,builder:x,handler:async e=>p({command:`workers-for-platforms dispatch-namespaces delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},e,async()=>{if(e.dryRun){let t=await s();l({command:`cf workers-for-platforms dispatch-namespaces delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workers/dispatch/namespaces/${e[`dispatch-namespace`]==null?`<dispatch-namespace>`:encodeURIComponent(String(e[`dispatch-namespace`]))}`,pathParams:{"dispatch-namespace":String(e[`dispatch-namespace`]??``)},bodyKind:`none`});return}let t=await n(e),r=e.local?f:await c();if(e.accountId=r,!await v({force:!!e.force,message:`This will permanently delete the Workers for Platforms dispatch namespace.`}))return;let i=await h(`Deleting`,async()=>t.send(b,{account_id:r,dispatch_namespace:e[`dispatch-namespace`]}));m(i,{successLabel:`Deleted`})})};var C={method:`GET`,path:t=>e`/accounts/${t.account_id}/workers/dispatch/namespaces/${t.dispatch_namespace}`};function w(e){return e.usage(`$0 workers-for-platforms dispatch-namespaces get <dispatch-namespace>
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import"./api-Dnt6lRJG.mjs";import{t as e}from"./path-DRw6Y-nd.mjs";import{n as t}from"./auth-
|
|
2
|
+
import"./api-Dnt6lRJG.mjs";import{t as e}from"./path-DRw6Y-nd.mjs";import{n as t}from"./auth-cj71dGxS.mjs";import{r as n,t as r}from"./body-parser-HN91kAf0.mjs";import{a as i,t as a}from"./context-DlFhI9cN.mjs";import{t as o}from"./dry-run-mrA7FFLR.mjs";import{n as s}from"./input-validation-D7z60HJH.mjs";import{t as c}from"./local-B3zt9PXR.mjs";import{t as l}from"./run-DAg7dfIW.mjs";import{t as u}from"./output-PRKYaJuo.mjs";import{t as d}from"./progress-AML-AVs4.mjs";import{a as f,i as p,n as m}from"./prompt-Bnon9lfK.mjs";import"./telemetry-DDs3zhdw.mjs";var h={method:`POST`,path:t=>e`/accounts/${t.account_id}/connectivity/directory/services`,body:`json`};function g(e){return e.usage(`$0 workers-vpc services create
|
|
3
3
|
|
|
4
4
|
Creates a new Workers VPC connectivity service in the account.`).option(`host-ipv4`,{type:`string`,description:`The host.ipv4 field`}).option(`host-network-tunnel-id`,{type:`string`,description:`The host.network.tunnel_id field`}).option(`host-ipv6`,{type:`string`,description:`The host.ipv6 field`}).option(`host-hostname`,{type:`string`,description:`The host.hostname field`}).option(`host-resolver-network-resolver-ips`,{type:`string`,array:!0,description:`The host.resolver_network.resolver_ips field`}).option(`host-resolver-network-tunnel-id`,{type:`string`,description:`The host.resolver_network.tunnel_id field`}).option(`name`,{type:`string`,description:`The name field`}).option(`tls-settings-cert-verification-mode`,{type:`string`,description:'TLS certificate verification mode for the connection to the origin.\n\n- `"verify_full"` — verify certificate chain and hostname (default)\n- `"verify_ca"` — verify certificate chain only, skip hostname check\n- `"disabled"` — do not verify the server certificate at all\n\n`disabled` cannot be combined with `certificate_authority`: a custom CA is\nonly used to verify the server certificate.'}).option(`tls-settings-certificate-authority`,{type:`string`,description:`UUID of the custom CA certificate or chain.`}).option(`tls-settings-client-certificate`,{type:`string`,description:`UUID of the mTLS client certificate and private key.`}).option(`type`,{type:`string`,description:`The type field`,choices:[`tcp`,`http`]}).coerce(`type`,e=>s(e,`type`,`text`)).option(`http-port`,{type:`number`,description:`The http_port field`}).option(`https-port`,{type:`number`,description:`The https_port field`}).option(`app-protocol`,{type:`string`,description:`The app_protocol field`,choices:[`postgresql`,`mysql`]}).coerce(`app-protocol`,e=>s(e,`app-protocol`,`text`)).option(`tcp-port`,{type:`number`,description:`The tcp_port 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(`host-ipv4`,[`host-hostname`,`host-resolver-network-resolver-ips`,`host-resolver-network-tunnel-id`]).implies(`host-ipv4`,[`host-network-tunnel-id`]).conflicts(`host-network-tunnel-id`,[`host-hostname`,`host-resolver-network-resolver-ips`,`host-resolver-network-tunnel-id`]).conflicts(`host-ipv6`,[`host-hostname`,`host-resolver-network-resolver-ips`,`host-resolver-network-tunnel-id`]).implies(`host-ipv6`,[`host-network-tunnel-id`]).conflicts(`host-hostname`,[`host-ipv4`,`host-network-tunnel-id`,`host-ipv6`]).implies(`host-hostname`,[`host-resolver-network-tunnel-id`]).conflicts(`host-resolver-network-resolver-ips`,[`host-ipv4`,`host-network-tunnel-id`,`host-ipv6`]).implies(`host-resolver-network-resolver-ips`,[`host-hostname`,`host-resolver-network-tunnel-id`]).conflicts(`host-resolver-network-tunnel-id`,[`host-ipv4`,`host-network-tunnel-id`,`host-ipv6`]).implies(`host-resolver-network-tunnel-id`,[`host-hostname`]).implies(`tls-settings-certificate-authority`,[`tls-settings-cert-verification-mode`]).implies(`tls-settings-client-certificate`,[`tls-settings-cert-verification-mode`]).conflicts(`http-port`,[`app-protocol`,`tcp-port`]).conflicts(`https-port`,[`app-protocol`,`tcp-port`]).conflicts(`app-protocol`,[`http-port`,`https-port`]).conflicts(`tcp-port`,[`http-port`,`https-port`])}const _={command:`create`,describe:`Create Workers VPC connectivity service`,builder:g,handler:async e=>l({command:`workers-vpc services create`,classification:{safeFlags:[`type`,`app-protocol`,`dry-run`]}},e,async()=>{if(e.dryRun){let t=await i();o({command:`cf workers-vpc services create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/connectivity/directory/services`,pathParams:{},bodyKind:`json`,body:e.body===void 0?r({host:{ipv4:s(e[`host-ipv4`],`host-ipv4`,`text`),network:{tunnel_id:s(e[`host-network-tunnel-id`],`host-network-tunnel-id`,`text`)},ipv6:s(e[`host-ipv6`],`host-ipv6`,`text`),hostname:s(e[`host-hostname`],`host-hostname`,`text`),resolver_network:{resolver_ips:e[`host-resolver-network-resolver-ips`],tunnel_id:s(e[`host-resolver-network-tunnel-id`],`host-resolver-network-tunnel-id`,`text`)}},name:s(e.name,`name`,`text`),tls_settings:{cert_verification_mode:s(e[`tls-settings-cert-verification-mode`],`tls-settings-cert-verification-mode`,`text`),certificate_authority:s(e[`tls-settings-certificate-authority`],`tls-settings-certificate-authority`,`text`),client_certificate:s(e[`tls-settings-client-certificate`],`tls-settings-client-certificate`,`text`)},type:e.type,http_port:e[`http-port`],https_port:e[`https-port`],app_protocol:e[`app-protocol`],tcp_port:e[`tcp-port`]}):n(e.body)});return}let l=e.body===void 0?void 0:n(e.body),m=await t(e),g=e.local?c:await a();if(e.accountId=g,e.body!==void 0){let e=l,t=await d(`Creating`,async()=>m.send(h,{body:e,account_id:g}));u(t,{successLabel:`Created`});return}e.name===void 0&&(e.name=await f(`name`,`The name field`)),e.type===void 0&&(e.type=await p(`type`,`The type field`,[`tcp`,`http`]));let _=r({host:{ipv4:s(e[`host-ipv4`],`host-ipv4`,`text`),network:{tunnel_id:s(e[`host-network-tunnel-id`],`host-network-tunnel-id`,`text`)},ipv6:s(e[`host-ipv6`],`host-ipv6`,`text`),hostname:s(e[`host-hostname`],`host-hostname`,`text`),resolver_network:{resolver_ips:e[`host-resolver-network-resolver-ips`],tunnel_id:s(e[`host-resolver-network-tunnel-id`],`host-resolver-network-tunnel-id`,`text`)}},name:s(e.name,`name`,`text`),tls_settings:{cert_verification_mode:s(e[`tls-settings-cert-verification-mode`],`tls-settings-cert-verification-mode`,`text`),certificate_authority:s(e[`tls-settings-certificate-authority`],`tls-settings-certificate-authority`,`text`),client_certificate:s(e[`tls-settings-client-certificate`],`tls-settings-client-certificate`,`text`)},type:e.type,http_port:e[`http-port`],https_port:e[`https-port`],app_protocol:e[`app-protocol`],tcp_port:e[`tcp-port`]}),v=await d(`Creating`,async()=>m.send(h,{body:_,account_id:g}));u(v,{successLabel:`Created`})})};var v={method:`DELETE`,path:t=>e`/accounts/${t.account_id}/connectivity/directory/services/${t.service_id}`,response:!1};function y(e){return e.usage(`$0 workers-vpc services delete <service-id>
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import"./api-Dnt6lRJG.mjs";import{t as e}from"./path-DRw6Y-nd.mjs";import{i as t,n}from"./auth-
|
|
2
|
+
import"./api-Dnt6lRJG.mjs";import{t as e}from"./path-DRw6Y-nd.mjs";import{i as t,n}from"./auth-cj71dGxS.mjs";import{r,s as i,t as a}from"./body-parser-HN91kAf0.mjs";import{a as o,t as s}from"./context-DlFhI9cN.mjs";import{t as c}from"./dry-run-mrA7FFLR.mjs";import{n as l}from"./input-validation-D7z60HJH.mjs";import{t as u}from"./local-B3zt9PXR.mjs";import{t as d}from"./run-DAg7dfIW.mjs";import{t as f}from"./output-PRKYaJuo.mjs";import{t as p}from"./progress-AML-AVs4.mjs";import{a as m,i as h,n as g}from"./prompt-Bnon9lfK.mjs";import"./telemetry-DDs3zhdw.mjs";import{n as _,t as ee}from"./raw-fetch-0T1SwPa1.mjs";var v={method:`POST`,path:t=>e`/accounts/${t.account_id}/workflows/concurrency`,body:`json`,errors:{400:`BadRequestError`,403:`ForbiddenError`,409:`ConflictError`}};function y(e){return e.usage(`$0 workflows concurrency create
|
|
3
3
|
|
|
4
4
|
Creates an account-scoped concurrency key. Limits count steps still in flight from a previously deleted key of the same name.`).option(`limit`,{type:`number`,description:`Maximum number of steps that may concurrently hold this key.`}).option(`name`,{type:`string`,description:`Unique (per account) name of the concurrency key. Referenced by workflow steps via step config.`}).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`,describe:`Create a concurrency key`,builder:y,handler:async e=>d({command:`workflows concurrency create`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){let t=await o();c({command:`cf workflows concurrency create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workflows/concurrency`,pathParams:{},bodyKind:`json`,body:e.body===void 0?a({limit:e.limit,name:l(e.name,`name`,`text`)}):r(e.body)});return}let t=e.body===void 0?void 0:r(e.body),i=await n(e),d=e.local?u:await s();if(e.accountId=d,e.body!==void 0){let e=t,n=await p(`Creating`,async()=>i.send(v,{body:e,account_id:d}));f(n,{successLabel:`Created`});return}if(e.limit===void 0)throw Error(`--limit is required (or pass --body with this field set).`);e.name===void 0&&(e.name=await m(`name`,`Unique (per account) name of the concurrency key. Referenced by workflow steps via step config.`));let h=a({limit:e.limit,name:l(e.name,`name`,`text`)}),g=await p(`Creating`,async()=>i.send(v,{body:h,account_id:d}));f(g,{successLabel:`Created`})})};var ne={method:`DELETE`,path:t=>e`/accounts/${t.account_id}/workflows/concurrency/${t.key_id}`,errors:{400:`BadRequestError`,403:`ForbiddenError`,404:`NotFoundError`,409:`ConflictError`}};function re(e){return e.usage(`$0 workflows concurrency delete <key-id>
|
|
5
5
|
|