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{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{i as r}from"./context-DlFhI9cN.mjs";import{t as i}from"./dry-run-mrA7FFLR.mjs";import{t as a}from"./output-PRKYaJuo.mjs";import{t as o}from"./progress-AML-AVs4.mjs";import{t as s}from"./run-DAg7dfIW.mjs";import"./telemetry-DDs3zhdw.mjs";import{i as c,r as l,t as u}from"./body-parser-HN91kAf0.mjs";import{n as d,t as f}from"./input-validation-D7z60HJH.mjs";import{a as p}from"./prompt-Bnon9lfK.mjs";var m={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/zaraz/config`};function h(e){return e.usage(`$0 zaraz config get
|
|
3
3
|
|
|
4
4
|
Gets latest Zaraz configuration for a zone. It can be preview or published configuration, whichever was the last updated. Secret variables values will not be included.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const g={command:`get`,describe:`Get Zaraz configuration`,builder:h,handler:async e=>s({command:`zaraz config get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){i({command:`cf zaraz config get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/zaraz/config`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let t=await n(e),s=await r({zone:e.zone},t,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>t.send(m,{zone_id:s}));a(c,{successLabel:`Loaded`})})};var _={method:`PUT`,path:t=>e`/zones/${t.zone_id}/settings/zaraz/config`,body:`json`};function v(e){return e.usage(`$0 zaraz config update
|
|
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{c as r,i,o as a,r as o,s,t as c}from"./body-parser-HN91kAf0.mjs";import{a as l,i as u,t as d}from"./context-DlFhI9cN.mjs";import{t as f}from"./dry-run-mrA7FFLR.mjs";import{t as p}from"./local-B3zt9PXR.mjs";import{t as m}from"./output-PRKYaJuo.mjs";import{t as h}from"./run-DAg7dfIW.mjs";import{t as g}from"./progress-AML-AVs4.mjs";import"./telemetry-DDs3zhdw.mjs";import{a as _,i as v,n as y}from"./prompt-Bnon9lfK.mjs";import{n as b,t as x}from"./input-validation-D7z60HJH.mjs";import{n as ee,t as te}from"./raw-fetch-0T1SwPa1.mjs";import{t as ne}from"./body-unions-QFGGUlIr.mjs";var re={method:`POST`,path:t=>e`/${t.account_or_zone}/${t.account_or_zone_id}/access/apps`,body:`json`};function ie(e){return e.usage(`$0 zero-trust access applications create
|
|
3
3
|
|
|
4
4
|
Adds a new application to Access.
|
|
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{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{t as n}from"./dry-run-mrA7FFLR.mjs";import{i as r}from"./context-DlFhI9cN.mjs";import{t as i}from"./output-PRKYaJuo.mjs";import{t as a}from"./progress-AML-AVs4.mjs";import"./telemetry-DDs3zhdw.mjs";import{t as o}from"./run-DAg7dfIW.mjs";import{a as s,i as c,n as l}from"./prompt-Bnon9lfK.mjs";import{o as u,r as d,t as f}from"./body-parser-HN91kAf0.mjs";import{n as p}from"./input-validation-D7z60HJH.mjs";import{o as m}from"./resolve-C3FmNlSO.mjs";var ee={method:`PUT`,path:t=>e`/zones/${t.zone_id}/activation_check`};function te(e){return e.usage(`$0 zones activation-check activate
|
|
3
3
|
|
|
4
4
|
Triggeres a new activation check for a PENDING Zone. This can be triggered every 5 min for paygo/ent customers, every hour for FREE Zones.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const ne={command:`activate`,describe:`Rerun the Activation Check`,builder:te,handler:async e=>o({command:`zones activation-check activate`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){n({command:`cf zones activation-check activate`,method:`PUT`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/activation_check`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let o=await t(e),s=await r({zone:e.zone},o,{quiet:e.quiet});e.zoneId=s;let c=await a(`Updating`,async()=>o.send(ee,{zone_id:s}));i(c,{successLabel:`Updated`})})},h={command:`activation-check`,describe:`Operations for activation-check`,builder:e=>e.command(ne).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var g={method:`DELETE`,path:t=>e`/zones/${t.zone_id}/settings/aegis`};function _(e){return e.usage(`$0 zones aegis delete
|
|
5
5
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cf",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.30",
|
|
4
4
|
"description": "The Cloudflare CLI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -59,25 +59,25 @@
|
|
|
59
59
|
"./package.json": "./package.json"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@cloudflare/build-output-utils": "0.9.
|
|
63
|
-
"@cloudflare/config": "0.
|
|
64
|
-
"@cloudflare/runtime-types": "0.1.
|
|
62
|
+
"@cloudflare/build-output-utils": "0.9.13",
|
|
63
|
+
"@cloudflare/config": "0.32.0",
|
|
64
|
+
"@cloudflare/runtime-types": "0.1.26",
|
|
65
65
|
"blake3-wasm": "2.1.5",
|
|
66
|
-
"miniflare": "5.20261110.
|
|
66
|
+
"miniflare": "5.20261110.1-beta"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@bomb.sh/tab": "0.0.22",
|
|
70
70
|
"@bytecodealliance/jco": "1.41.0",
|
|
71
71
|
"@clack/core": "1.5.1",
|
|
72
72
|
"@clack/prompts": "^1.8.1",
|
|
73
|
-
"@cloudflare/autoconfig": "0.11.
|
|
74
|
-
"@cloudflare/cli-shared-helpers": "0.3.
|
|
75
|
-
"@cloudflare/codemods": "0.7.
|
|
76
|
-
"@cloudflare/containers-shared": "0.
|
|
77
|
-
"@cloudflare/deploy-helpers": "0.26.
|
|
78
|
-
"@cloudflare/forge": "https://pkg.pr.new/cloudflare/forge/@cloudflare/forge@
|
|
79
|
-
"@cloudflare/workers-auth": "0.18.
|
|
80
|
-
"@cloudflare/workers-utils": "0.53.
|
|
73
|
+
"@cloudflare/autoconfig": "0.11.1",
|
|
74
|
+
"@cloudflare/cli-shared-helpers": "0.3.7",
|
|
75
|
+
"@cloudflare/codemods": "0.7.7",
|
|
76
|
+
"@cloudflare/containers-shared": "0.26.0",
|
|
77
|
+
"@cloudflare/deploy-helpers": "0.26.3",
|
|
78
|
+
"@cloudflare/forge": "https://pkg.pr.new/cloudflare/forge/@cloudflare/forge@45c005a259a5507763d866e12d1e907af6ce745d",
|
|
79
|
+
"@cloudflare/workers-auth": "0.18.1",
|
|
80
|
+
"@cloudflare/workers-utils": "0.53.1",
|
|
81
81
|
"@types/node": "26.6.6",
|
|
82
82
|
"@types/semver": "7.8.0",
|
|
83
83
|
"@types/shell-quote": "^1.7.5",
|
|
@@ -91,6 +91,7 @@
|
|
|
91
91
|
"msw": "3.0.4",
|
|
92
92
|
"semver": "7.8.6",
|
|
93
93
|
"shell-quote": "^1.12.0",
|
|
94
|
+
"string-width": "8.3.0",
|
|
94
95
|
"tinyexec": "^1.3.1",
|
|
95
96
|
"tsx": "4.21.0",
|
|
96
97
|
"undici": "8.12.4",
|
package/dist/auth-Czr8ChBB.mjs
DELETED
package/dist/auth-Dwfa4S3h.mjs
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import{r as e}from"./theme-BGHWSKCw.mjs";import"./telemetry-COlodX5Z.mjs";import{a as t,c as n,i as r,n as i,o as a,r as o,s,t as c}from"./login-DiR-buzS.mjs";import{i as l}from"./blocks-C3Im7AT0.mjs";import{d as u,f as d,i as f,r as p,t as m}from"./oauth-BgDZMd72.mjs";import"./ui-dWsVmFCG.mjs";import{t as h}from"./log-Brx-wjJW.mjs";import{c as g}from"./chunk-Q5KVZMHK-WOCEMyET.mjs";import{n as _,o as v,s as y}from"./schema-cache-CtqAs0PP.mjs";import{t as b}from"./cf-DmvZ2L51.mjs";import{n as x}from"./run-CXWkMU3x.mjs";import{t as S}from"./agent-context-Dtyy4aKL.mjs";import{t as C}from"./auth-token-CE3Wa5-b.mjs";import{t as w}from"./output-hFMAotFl.mjs";const T={command:`logout`,describe:`Log out and remove stored credentials`,handler:async t=>{r(t,`logout`,"Run `cf auth delete <name>` to remove a named profile.");let n=p();n!=="default"&&h.warn(`This directory has profile "${n}" active. ${e.code(`cf auth logout`)} removes the default profile's token, not "${n}". To delete "${n}", run:`,`cf auth delete ${n}`),await u(`default`)}},E=`oauth-scopes`;function D(e){if(!Array.isArray(e))return;let t=[];for(let n of e){let{id:e,name:r,category:i}=n??{};typeof e==`string`&&t.push({id:e,name:typeof r==`string`?r:e,...typeof i==`string`&&{category:i}})}return t.length>0?t:void 0}function O(e){return new Map(e.map(e=>[e.id,e]))}async function k(e){let t=v(E,[],864e5,D);if(t)return O(t);let[n,{default:r}]=await Promise.all([e(),import(`./list-4MfEFwJN.mjs`)]),i=await n.send(r),a=D(typeof i==`object`&&i&&`result`in i?i.result:i);if(!a)throw Error(`the API returned an unexpected scope catalogue`);return y(E,[],a),O(a)}const A={account_and_billing:`Account & Billing`,ai_and_machine_learning:`AI & Machine Learning`,analytics_and_logs:`Analytics & Logs`,app_security:`App Security`,cache_and_performance:`Cache & Performance`,cloudflare_one_and_zero_trust:`Cloudflare One / Zero Trust`,developer_platform:`Developer Platform`,dns_and_zones:`DNS & Zones`,email_and_messaging:`Email & Messaging`,media:`Media`,network_services:`Network Services`,other:`Other`,rules_and_configuration:`Rules & Configuration`},j=`Uncategorized`,M=[`Other`,j],N=new Set(b),P=/* @__PURE__ */ new Set([`read`,`metadata_read`]),F=/^(.+)([.:])([^.:]+)$/;function I(e){return A[e]??e.split(`_`).map(e=>e===`and`?`&`:e.charAt(0).toUpperCase()+e.slice(1)).join(` `)}function L(e,t){return M.indexOf(e)-M.indexOf(t)||e.localeCompare(t)}function R(e){return e.some(e=>F.test(e))}function z(e,t){let n=/* @__PURE__ */ new Map;for(let r of e){let e=F.exec(r);if(!e?.[1]||!e[3])continue;let i=t.get(r),a=i?.category?I(i.category):j,o=n.get(a)??[];o.push({scope:r,resource:e[1],action:e[3]}),n.set(a,o)}return n}function B(e,t,n){let r=t.get(e)??[],i=n.get(e)?.length??0,a=r.filter(({scope:e})=>N.has(e)).length,o=r.length-a,s=i>0?[`${a}/${i}`]:[];return o>0&&s.push(`${o} custom`),s.join(` + `)}function V(t,n){let r=z(t,n),i=z(b,n),a=[...r.keys()].sort(L);if(a.length===0)return``;let o=Math.max(...a.map(e=>e.length));return a.map(t=>`${e.bold(e.info(t.padEnd(o)))} ${e.muted(B(t,r,i))}`).join(`
|
|
3
|
-
`)}const H=e=>` ${e.toLowerCase().replace(/[^a-z0-9]+/g,` `)}`,U=e=>e.toLowerCase().replaceAll(`_`,`-`);function W(e,t){return H(e).includes(H(t).trimEnd())}function G(e){let t=/* @__PURE__ */ new Set([j]);for(let{category:n}of e.values())n&&t.add(I(n));return[...t].sort(L)}function K(t,n,{product:r=``,filter:i=``}={}){let a=z(t,n),o=z(b,n),s=[];for(let t of[...a.keys()].sort(L)){if(!W(t,r))continue;let n=(a.get(t)??[]).filter(({scope:e})=>U(e).includes(U(i)));if(n.length===0)continue;let c=[`${e.bold(e.info(t))} ${e.muted(`(${B(t,a,o)})`)}`],l=/* @__PURE__ */ new Map,u=[...n].sort((e,t)=>Number(!P.has(e.action))-Number(!P.has(t.action))||e.action.localeCompare(t.action));for(let{scope:t,resource:n,action:r}of u){let i=(P.has(r)?e.muted(r):e.warning(r))+(N.has(t)?``:e.muted(` (custom)`));l.set(n,(l.get(n)??/* @__PURE__ */ new Set).add(i))}let d=Math.max(...[...l.keys()].map(e=>e.length));for(let[e,t]of[...l].sort(([e],[t])=>e.localeCompare(t)))c.push(` ${e.padEnd(d)} ${[...t].join(`, `)}`);s.push(c.join(`
|
|
4
|
-
`))}return s.join(`
|
|
5
|
-
|
|
6
|
-
`)}function q(e){let t=p();return t==="default"?e?`cf auth login --force`:`cf auth login`:`cf auth create ${t}`}function J(t){let n=t?.statusCode;return n===401||n===403?`your login was rejected; run ${e.code(q(!0))} to log in again`:_(t)}const Y={command:`scopes [product]`,describe:`Show the OAuth scopes granted to the current login, by product`,builder:e=>e.positional(`product`,{type:`string`,description:`Show the granted permissions in product areas matching this name, such as dns or developer`}).option(`all`,{type:`boolean`,description:`Show every granted permission, grouped by product`,default:!1}).option(`filter`,{type:`string`,description:`Show the granted permissions whose scope contains this term`}),handler:async t=>{if(t[`temporary-account`]||t[`event-code`]!==void 0)throw Error(`--temporary-account and --event-code are not supported by cf auth scopes.`);if(g({allowGlobalAuthKey:!1})!==void 0){h.warn(`${e.code(`CLOUDFLARE_API_TOKEN`)} is set, so its own permissions apply rather than OAuth scopes.`);return}let n=d();if(n?.oauth_token===void 0){h.info(`Not logged in. Run ${e.code(q(!1))} to log in.`);return}let{scopes:r}=n;if(!r){h.info(`This login didn't record its scopes. Run ${e.code(q(!0))} to log in again.`);return}if(!R(r)){h.info(`No product scopes granted. Run ${e.code(q(!0))} to log in with the default scopes.`);return}let i;try{i=await k(async()=>{let{createCommandClient:e}=await import(`./auth-Czr8ChBB.mjs`);return e(t)})}catch(e){h.warn(`Couldn't load Cloudflare's scope catalogue (${J(e)}), so scopes are listed without product groups.`),console.log(r.join(`
|
|
7
|
-
`));return}if(t.product===void 0&&!t.all&&t.filter===void 0){console.log(V(r,i)),h.info(`Run ${e.code(`cf auth scopes <product>`)} to see a product's permissions, or ${e.code(`cf auth scopes --all`)} for every granted product.`);return}let{product:a}=t;a!==void 0&&!G(i).some(e=>W(e,a))?h.info(`No product area matches "${a}". Run ${e.code(`cf auth scopes --filter ${a}`)} to search scope names instead.`):console.log(K(r,i,{product:t.product,filter:t.filter})||e.muted(`No granted scopes match.`))}},X={command:`whoami`,describe:`Show current user and authentication status`,handler:async e=>{if(e[`temporary-account`]||e[`event-code`]!==void 0)throw Error(`--temporary-account and --event-code are not supported by cf auth whoami.`);let t=process.env.CLOUDFLARE_API_TOKEN,n=d(),r;r=t?`CLOUDFLARE_API_TOKEN environment variable`:n?.oauth_token?`OAuth token from ${f()}`:`none`;try{await C()}catch{w({authenticated:!1,error:`Not logged in`}),r===`none`&&S().isAgentic&&console.error(l('Ask the user: "I can put this online for 60 minutes without you signing in. To keep it, complete the temporary-account claim before it expires. Would you like me to deploy it that way?" (https://developers.cloudflare.com/workers/platform/claim-deployments/) If they agree, run `cf deploy --temporary-account`.'));return}let{createCommandClient:i}=await import(`./auth-Czr8ChBB.mjs`),{default:a}=await import(`./get-BTisquA3.mjs`),{default:o}=await import(`./verify-B9ILCohg.mjs`),s=await i(e),c,u=[],[p,h,g]=await Promise.allSettled([t?s.send(o):Promise.resolve(void 0),s.send(a),m()]);if(p.status===`rejected`&&process.env.DEBUG&&console.error(`Token verification error:`,p.reason),h.status===`fulfilled`){let e=h.value;e&&`email`in e&&typeof e.email==`string`&&(c=e.email)}else process.env.DEBUG&&console.error(`User lookup error:`,h.reason);g.status===`fulfilled`?u=g.value:process.env.DEBUG&&console.error(`Account lookup error:`,g.reason);let _=null;p.status===`fulfilled`&&[`active`,`disabled`,`expired`].includes(p.value?.status??``)?_=p.value?.status===`active`:(h.status===`fulfilled`||g.status===`fulfilled`)&&(_=!0);let v={authenticated:!0,authSource:r,tokenValid:_,...c&&{email:c},accounts:u};n?.oauth_token&&(v.scopes=n.scopes,v.expiresAt=n.expiration_time),w(v)}},Z={command:`auth`,describe:`Manage authentication and profiles`,builder:e=>e.command(x(c,{command:`auth login`,classification:i})).command(Q(T,`auth logout`)).command(Q(X,`auth whoami`)).command(Q(Y,`auth scopes`,[`all`])).command(Q(t,`auth create`,[`browser`,`device`])).command(Q(s,`auth delete`)).command(Q(o,`auth activate`)).command(Q(a,`auth deactivate`)).command(Q(n,`auth list`)).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function Q(e,t,n=[],r){return x(e,{command:t,classification:{safeFlags:n,shortFlagAliases:r}})}export{Z as default};
|
package/dist/build-CCwo_ydV.mjs
DELETED
package/dist/login-CK3nn9a5.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import{r as e}from"./theme-BGHWSKCw.mjs";import"./telemetry-COlodX5Z.mjs";import"./ui-dWsVmFCG.mjs";import{n as t}from"./run-CXWkMU3x.mjs";import{t as n}from"./log-Brx-wjJW.mjs";import{n as r,t as i}from"./login-DiR-buzS.mjs";const a={...i,describe:!1,handler:async t=>{t.quiet||n.info(`${e.code(`cf login`)} is an alias for ${e.code(`cf auth login`)}. Authentication commands are under ${e.code(`cf auth`)}.`),await i.handler(t)}};var o=t(a,{command:`login`,classification:r});export{o as default};
|
package/dist/prompt-D274Im1O.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import{a as e,c as t,l as n,n as r,o as i,r as a}from"./log-Brx-wjJW.mjs";import{n as o}from"./version-CcuBNjqg.mjs";import{t as s}from"./cli-exit-CstFZ1eJ.mjs";import{i as c}from"./dialog-CD94-Kzw.mjs";import{n as l}from"./interactive-wQM7Blhm.mjs";import{t as u}from"./session-COdP8BXD.mjs";import{r as d}from"./theme-BGHWSKCw.mjs";function f(e){return e.replace(/[\p{Cc}\p{Cf}\p{Zl}\p{Zp}]/gu,` `)}function p(){u(o)}async function m(){let e=[];for await(let t of process.stdin)e.push(Buffer.from(t));let t=Buffer.concat(e).toString(`utf-8`);return t.endsWith(`
|
|
3
|
-
`)?t.slice(0,-1):t}async function h(r,i,a){let o=a?.kind??`text`;if(l()){if(o===`secret`){let e=await m();if(e.length>0)return e;throw Error(`--${r} is required. Pipe the value via stdin, pass --${r} <value>, or run interactively.`)}throw Error(`--${r} is required. Pass --${r} <value> or run interactively.`)}let u=`Enter value for --${r}`,d=c(i||a?.question||u),f=e=>e&&e.length>0?a?.validate?.(e):`Value cannot be empty`;p();let h=o===`secret`?await e({message:d,mask:`•`,validate:f,output:process.stderr}):await t({message:d,validate:f,output:process.stderr});if(n(h)||typeof h!=`string`)throw new s(130,{cancelled:!0});return h}async function g(e,t,r,a={}){let o=f(e),c=r.map(f);if(l())throw Error(`--${o} is required (one of: ${c.join(`, `)}). Pass --${o} <value> or run interactively.`);let u=`Select value for --${o}`,d=f(t||u);p();let m=await i({message:d,output:process.stderr,options:r.map(e=>({value:e,label:f((Object.hasOwn(a,e)?a[e]:void 0)??e)}))});if(n(m)||typeof m!=`string`)throw new s(130,{cancelled:!0});return m}async function _(e,t){if(l())throw Error(`--${e} is required and must be true. Pass --${e} or run interactively.`);p();let r=await a({message:t||`Confirm --${e}`,initialValue:!1,output:process.stderr});if(n(r))throw new s(130,{cancelled:!0});return r===!0}async function v(e,{defaultValue:t=!0,fallbackValue:r=!0}={}){if(l())return process.stderr.write(`? ${e}\n Using fallback value in non-interactive context: ${r?`yes`:`no`}\n`),r;p();let i=await a({message:e,initialValue:t,output:process.stderr});if(n(i))throw new s(130,{cancelled:!0});return i===!0}async function y(e={}){if(e.force===!0)return!0;let t=e.message?`${e.message} Continue?`:`This permanently deletes the resource. Continue?`;if(l())throw process.stderr.write(`${d.warning(`?`)} ${t}\n ${d.muted(`(non-interactive; pass --force to confirm)`)}\nAborted.
|
|
4
|
-
`),new s(1);p();let i=await a({message:t,initialValue:!1,output:process.stderr});if(n(i))throw new s(130,{cancelled:!0});return i===!0||(r(`Aborted.`,{output:process.stderr}),!1)}export{h as a,g as i,y as n,f as o,_ as r,v as t};
|
package/dist/run-C5yPsiO2.mjs
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import{a as e}from"./cf-DmvZ2L51.mjs";import{n as t}from"./version-CcuBNjqg.mjs";import{mkdirSync as n,readFileSync as r,writeFileSync as i}from"node:fs";import{dirname as a,join as o}from"node:path";import{createHash as s}from"node:crypto";function c(n,r){let i=s(`sha256`).update([t,...r].join(` `)).digest(`hex`).slice(0,32);return o(e(),`cache`,n,`${i}.json`)}function l(e,t,n,i){try{let a=JSON.parse(r(c(e,t),`utf-8`));return typeof a?.fetchedAt==`number`&&Date.now()-a.fetchedAt<=n?i(a.value):void 0}catch{return}}function u(e,t,r){try{let o=c(e,t);n(a(o),{recursive:!0}),i(o,JSON.stringify({fetchedAt:Date.now(),value:r}),`utf-8`)}catch{}}const d=5e3;function f(e,t=/* @__PURE__ */ new WeakSet){if(typeof e!=`object`||!e||Array.isArray(e)||t.has(e))return!1;t.add(e);let n=e,r=/* @__PURE__ */ new Set([`array`,`boolean`,`integer`,`null`,`number`,`object`,`string`]),i=Array.isArray(n.type)?n.type:[n.type];if(n.type!==void 0&&(i.length===0||!i.every(e=>typeof e==`string`&&r.has(e)))||n.description!==void 0&&typeof n.description!=`string`||n.title!==void 0&&typeof n.title!=`string`||n.required!==void 0&&(!Array.isArray(n.required)||!n.required.every(e=>typeof e==`string`))||n.enum!==void 0&&!Array.isArray(n.enum)||n.oneOf!==void 0&&(!Array.isArray(n.oneOf)||n.oneOf.length===0||!n.oneOf.every(e=>f(e,t)))||n.anyOf!==void 0&&(!Array.isArray(n.anyOf)||n.anyOf.length===0||!n.anyOf.every(e=>f(e,t)))||n.allOf!==void 0&&(!Array.isArray(n.allOf)||n.allOf.length===0||!n.allOf.every(e=>f(e,t)))||n.if!==void 0&&!f(n.if,t)||n.then!==void 0&&!f(n.then,t)||n.additionalProperties!==void 0&&typeof n.additionalProperties!=`boolean`&&!f(n.additionalProperties,t)||n.uniqueItems!==void 0&&typeof n.uniqueItems!=`boolean`||[`minLength`,`maxLength`,`minimum`,`maximum`,`multipleOf`,`minItems`,`maxItems`,`minProperties`,`maxProperties`].some(e=>n[e]!==void 0&&(typeof n[e]!=`number`||!Number.isFinite(n[e])))||[`exclusiveMinimum`,`exclusiveMaximum`].some(e=>n[e]!==void 0&&typeof n[e]!=`boolean`&&(typeof n[e]!=`number`||!Number.isFinite(n[e])))||n.items!==void 0&&!(Array.isArray(n.items)?n.items:[n.items]).every(e=>f(e,t))||n.properties!==void 0&&(n.properties===null||typeof n.properties!=`object`||Array.isArray(n.properties)||!Object.values(n.properties).every(e=>f(e,t))))return!1;if(n.pattern!==void 0){if(typeof n.pattern!=`string`)return!1;try{new RegExp(n.pattern)}catch{return!1}}return!0}function p(e,t){if(typeof e!=`object`||!e)return;let n=e[t]??e;if(typeof n!=`object`||!n||!f(n))return;let r=n;return r.properties??r.oneOf??r.anyOf??r.allOf?r:void 0}function m(e,t){return l(e,t,36e5,e=>f(e)?e:void 0)}function h(e,t,n){u(e,t,n)}function g(e){if(typeof e!=`object`||!e)return`the request failed`;let t=e.statusCode;if(t===404)return`not found, or this account can't access it`;if(t===401)return"credentials were rejected; update `CLOUDFLARE_API_TOKEN` or run `cf auth login`";if(t===403)return`these credentials can't read it — check your API token permissions`;let n=e.message;if(!n)return`the request failed`;let r=(n.split(`
|
|
3
|
-
`)[0]??``).replace(/\.$/,``);return/^"?timeout"?$/i.test(r)?`the request timed out`:r}export{h as a,m as i,g as n,l as o,p as r,u as s,d as t};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import{c as e}from"./chunk-Q5KVZMHK-WOCEMyET.mjs";import{r as t}from"./blocks-C3Im7AT0.mjs";import{r as n}from"./theme-BGHWSKCw.mjs";let r=!1,i=!1,a=!1;function o(e,n={}){r||i||(n.quiet||!process.stderr.isTTY?i=!0:(process.stderr.write(`${t(e,n.update)}\n`),r=!0))}function s(t){!r||i||a||t==="default"||e({allowGlobalAuthKey:!1})!==void 0||(process.stderr.write(`${n.muted(`Active profile:`)} ${n.info(t)}\n`),a=!0)}export{s as n,o as t};
|