cf 1.0.0-beta.2 → 1.0.0-beta.4

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.
Files changed (311) hide show
  1. package/README.md +1 -0
  2. package/dist/_meta/commands.json +28143 -30372
  3. package/dist/_meta/hand-written-commands.json +72 -49
  4. package/dist/_meta/schemas.json +18731 -20305
  5. package/dist/{abuse-reports-JcwSaW-c.mjs → abuse-reports-L4L7sC0F.mjs} +1 -1
  6. package/dist/access-DUQisFsH.mjs +2 -0
  7. package/dist/{account-CLsfIk5j.mjs → account-J7N4Ukse.mjs} +1 -1
  8. package/dist/{account-tags-BJdDiyDi.mjs → account-tags-DMmTopgx.mjs} +1 -1
  9. package/dist/{accounts-6eXqIqSW.mjs → accounts-DbZdpH5e.mjs} +1 -1
  10. package/dist/{acm-ChNLnPqM.mjs → acm-BtXPdUqH.mjs} +1 -1
  11. package/dist/{addressing-z8ei_TCh.mjs → addressing-Bc_ZSmrK.mjs} +5 -5
  12. package/dist/{agent-memory-Un0usAVF.mjs → agent-memory-CEUI1wKI.mjs} +1 -1
  13. package/dist/{ai-Bj8kgDf7.mjs → ai-CFHaVQcc.mjs} +1 -1
  14. package/dist/{ai-audit-FR6QuDK_.mjs → ai-audit-guygqmOl.mjs} +1 -1
  15. package/dist/ai-gateway-BcKOL4WQ.mjs +80 -0
  16. package/dist/{ai-search-BvMeOKK6.mjs → ai-search-DJvNkX2o.mjs} +1 -1
  17. package/dist/{ai-security-BHvDKoM1.mjs → ai-security-CVaHbGzn.mjs} +1 -1
  18. package/dist/{alerting-DmRZCAjg.mjs → alerting-wy4IuGs7.mjs} +1 -1
  19. package/dist/{analytics-DqidJ4qc.mjs → analytics-Do4VMrPX.mjs} +2 -2
  20. package/dist/{analytics_engine-I7N0I6yP.mjs → analytics_engine-Cv7IF8ex.mjs} +1 -1
  21. package/dist/{api-security-BMNhdDyR.mjs → api-security-fuzV322d.mjs} +1 -1
  22. package/dist/{argo-U5TIBcub.mjs → argo-BBf-Jw0O.mjs} +1 -1
  23. package/dist/{artifacts-Byw1W73U.mjs → artifacts-B7_OhBxW.mjs} +1 -1
  24. package/dist/{audit-logs-C6zyFeKM.mjs → audit-logs-DyARgcxN.mjs} +1 -1
  25. package/dist/{auth-B5p3SIhO.mjs → auth-BYFcxn1F.mjs} +2 -2
  26. package/dist/{auth-CosaKfuk.mjs → auth-CiOv7s9F.mjs} +1 -1
  27. package/dist/{autoconfig-DED3bWob.mjs → autoconfig-DbL_FL5k.mjs} +74 -74
  28. package/dist/{banner-Xk4xBN8U.mjs → banner-ClclgnBn.mjs} +1 -1
  29. package/dist/{billing-BS1raRJt.mjs → billing-07_VIO4X.mjs} +1 -1
  30. package/dist/{bot-management-Cn6xfGzJ.mjs → bot-management-CmkPUu2I.mjs} +1 -1
  31. package/dist/{botnet-feed-DtWOPNfw.mjs → botnet-feed-Bn5pE_rx.mjs} +1 -1
  32. package/dist/{brand-protection-BcEQ66bT.mjs → brand-protection-CWDqPOXe.mjs} +1 -1
  33. package/dist/{browser-run-RZ7ZPRop.mjs → browser-run-CfEIfpnQ.mjs} +1 -1
  34. package/dist/build-BmLpTw4w.mjs +2 -0
  35. package/dist/build-DEbkHHVh.mjs +2 -0
  36. package/dist/{builds-AOCMH4CE.mjs → builds-mgouQLUs.mjs} +1 -1
  37. package/dist/{cache-D_EBxDff.mjs → cache-DXLofz5T.mjs} +1 -1
  38. package/dist/{certificate-authorities-B6rtjuaT.mjs → certificate-authorities-BfW-rEpf.mjs} +1 -1
  39. package/dist/{cf--3tGe71B.mjs → cf-O3gEaXYZ.mjs} +11 -11
  40. package/dist/{chunk-M77HNR46-BqG3fjQz.mjs → chunk-M77HNR46-DPbhuhiy.mjs} +1 -1
  41. package/dist/{chunk-RV27PEH3-C8_6bMgi.mjs → chunk-RV27PEH3-Cws_30ln.mjs} +30 -30
  42. package/dist/cli-Dgk9bd8j.mjs +6 -0
  43. package/dist/{client-certificates-uBOjGcgo.mjs → client-certificates-By2A46a2.mjs} +1 -1
  44. package/dist/{client-side-security-Bm7JwGaG.mjs → client-side-security-Bo6ZwJOS.mjs} +1 -1
  45. package/dist/{cloud-connector-69M2Dx8h.mjs → cloud-connector-DYb_3u-M.mjs} +1 -1
  46. package/dist/{cloudflared-Ba5LySkU.mjs → cloudflared-91JvyShh.mjs} +1 -1
  47. package/dist/{cloudforce-one-Xn2mlAPv.mjs → cloudforce-one-D8l0I5PL.mjs} +1 -1
  48. package/dist/command-BPfW-yE4.mjs +2 -0
  49. package/dist/{command-Cb0pS8T5.mjs → command-BgBsFEYv.mjs} +1 -1
  50. package/dist/{command-DEC5PwJo.mjs → command-C3Qhz4kU.mjs} +1 -1
  51. package/dist/command-C72KLHMc.mjs +2 -0
  52. package/dist/command-C7cOrHdI.mjs +2 -0
  53. package/dist/command-CGD1oByJ.mjs +2 -0
  54. package/dist/command-CJR1CUK_.mjs +2 -0
  55. package/dist/command-C_lQtSPg.mjs +2 -0
  56. package/dist/{command-DCpX9Cem.mjs → command-DH67hNLj.mjs} +1 -1
  57. package/dist/command-DJJN9xaA.mjs +2 -0
  58. package/dist/command-DRlUj6lW.mjs +2 -0
  59. package/dist/command-DYeBZ5mA.mjs +2 -0
  60. package/dist/command-DaAGN9uP.mjs +2 -0
  61. package/dist/{command-Cz_bKDWf.mjs → command-DjNcY4cf.mjs} +1 -1
  62. package/dist/command-gSmdvn_d.mjs +2 -0
  63. package/dist/{completions-DZDltM9V.mjs → completions-DUDx3DwX.mjs} +26 -26
  64. package/dist/{connector-interrupts-DTy6laab.mjs → connector-interrupts-DIMvaZhN.mjs} +1 -1
  65. package/dist/{connector-telemetry-events-CJqGGvFJ.mjs → connector-telemetry-events-TWQvm-cj.mjs} +1 -1
  66. package/dist/{connector-telemetry-snapshots-BPxhPhr6.mjs → connector-telemetry-snapshots-Dyoe-_R3.mjs} +1 -1
  67. package/dist/{connectors-CdfCcZuA.mjs → connectors-D7ZFg3hB.mjs} +1 -1
  68. package/dist/{containers-VMqcxH5a.mjs → containers-Bu3tLjU1.mjs} +1 -1
  69. package/dist/{containers-C7z53QcY.mjs → containers-CduXjFBJ.mjs} +88 -90
  70. package/dist/{content-scan-BirgZrmr.mjs → content-scan-CVBD6mUI.mjs} +1 -1
  71. package/dist/{context-Dzzbc9RK.mjs → context-BsGrhAqB.mjs} +2 -2
  72. package/dist/{cps-DzFm3zKp.mjs → cps-CgiRKmTe.mjs} +1 -1
  73. package/dist/{csamScanner-D2_OO5-1.mjs → csamScanner-BlXIOFFe.mjs} +1 -1
  74. package/dist/{ct-alerting-B7wQkFVl.mjs → ct-alerting-CJZK0uSQ.mjs} +1 -1
  75. package/dist/{custom-certificates-BKcCfbH8.mjs → custom-certificates-DFaj_czg.mjs} +1 -1
  76. package/dist/{custom-csrs-CXoOxir4.mjs → custom-csrs-BnFQpjOo.mjs} +1 -1
  77. package/dist/{custom-hostnames-CNYfnCOd.mjs → custom-hostnames-DSnE6xOT.mjs} +1 -1
  78. package/dist/{custom-nameservers-BlLM7a4L.mjs → custom-nameservers-CdQOt_qU.mjs} +1 -1
  79. package/dist/{custom-pages-BcWoypet.mjs → custom-pages-TWGlS6Ms.mjs} +1 -1
  80. package/dist/{d1-CvrHsqYY.mjs → d1-Cbqx2kAz.mjs} +1 -1
  81. package/dist/{dcv-delegation-9_Hl-5v-.mjs → dcv-delegation-DM3oGGio.mjs} +1 -1
  82. package/dist/delegate.mjs +1 -1
  83. package/dist/{deploy-BlXYtvTd.mjs → deploy-BZUWZ888.mjs} +1 -1
  84. package/dist/{deploy-input-DTXVZ2QJ.mjs → deploy-input-ChEbf2Kp.mjs} +1 -1
  85. package/dist/dev-OsbQIdD8.mjs +4 -0
  86. package/dist/{diagnostics-BxHs1EJB.mjs → diagnostics-8bbleTmW.mjs} +1 -1
  87. package/dist/{dialog-ClHoC_cG.mjs → dialog-BlUXJKbA.mjs} +1 -1
  88. package/dist/discover-DgHRf-qo.mjs +2 -0
  89. package/dist/discover-VRFBjse7.mjs +2 -0
  90. package/dist/{dist-CmyJy57B.mjs → dist-DTN-pqSs.mjs} +14 -14
  91. package/dist/{dist-Cpb7_h4N.mjs → dist-DW47TUGh.mjs} +1 -1
  92. package/dist/{dist-cGGV-p_F.mjs → dist-DfMipWKR.mjs} +3 -3
  93. package/dist/{dls-D7GXW-N3.mjs → dls-TzQpry2j.mjs} +1 -1
  94. package/dist/{dns-B0mdWJO5.mjs → dns-Bzv4YLeg.mjs} +1 -1
  95. package/dist/{dns-firewall-BG0bzuL3.mjs → dns-firewall-BjWwOmDR.mjs} +1 -1
  96. package/dist/{dot-prop-IITUZ2XW-BO5KJUwL.mjs → dot-prop-IITUZ2XW-BilKo4kO.mjs} +1 -1
  97. package/dist/dotenv-CcQjGlV0.mjs +4 -0
  98. package/dist/dry-run-Bq0JAsbX.mjs +2 -0
  99. package/dist/{durable-objects-DW0CsJzR.mjs → durable-objects-CRhSGkpc.mjs} +1 -1
  100. package/dist/{email-auth-Ls-7Yijm.mjs → email-auth-Bth4_FHy.mjs} +1 -1
  101. package/dist/{email-routing-DVaFhg-3.mjs → email-routing-CkTh4F5j.mjs} +1 -1
  102. package/dist/{email-security-vnwkqlgp.mjs → email-security-C-2jADxE.mjs} +1 -1
  103. package/dist/{email-sending-CbMUicJz.mjs → email-sending-B_sd4ouE.mjs} +1 -1
  104. package/dist/error-sanitization-Cu-8OKRA.mjs +2 -0
  105. package/dist/{error-sanitization-TV6O0aCD.mjs → error-sanitization-Dc4bLj8k.mjs} +1 -1
  106. package/dist/{fieldExtractors-2EkDoJg8.mjs → fieldExtractors-z92V55-Y.mjs} +1 -1
  107. package/dist/{firewall-BK4QYqRe.mjs → firewall-0yKpxdjj.mjs} +1 -1
  108. package/dist/{flagship--lHQ0H3n.mjs → flagship-IRVq23te.mjs} +1 -1
  109. package/dist/{fraud-CaoRrQ8W.mjs → fraud-BpJ_aoIE.mjs} +1 -1
  110. package/dist/{generate-CrKNH6ms.mjs → generate-iV6OVNin.mjs} +1 -1
  111. package/dist/generate-qMU-2MgC.mjs +2 -0
  112. package/dist/{google-tag-gateway-DDzLPmk5.mjs → google-tag-gateway-DA_7SCC3.mjs} +1 -1
  113. package/dist/gt-DmcMNPX6.mjs +2 -0
  114. package/dist/{healthchecks-Q2uXvt4m.mjs → healthchecks-C-GthoQz.mjs} +1 -1
  115. package/dist/{hostnames-CsaYnis6.mjs → hostnames-CH6utzVv.mjs} +1 -1
  116. package/dist/{hyperdrive-DDr6sAkw.mjs → hyperdrive-_rIC33bB.mjs} +1 -1
  117. package/dist/{iam-CmzocepZ.mjs → iam-sseKl99z.mjs} +1 -1
  118. package/dist/{images-Ux0Phsbi.mjs → images-CvIOwtg0.mjs} +1 -1
  119. package/dist/index.mjs +1 -1
  120. package/dist/{init-Nx4RRgfT.mjs → init-DEIhItNF.mjs} +2 -2
  121. package/dist/{intel-bgS4g7nx.mjs → intel-Da84oZMO.mjs} +1 -1
  122. package/dist/interactive-SgAjen2z.mjs +2 -0
  123. package/dist/{ips-BDiolgWF.mjs → ips-zTTd_3jg.mjs} +1 -1
  124. package/dist/{keyless-certificates-C_TwTMql.mjs → keyless-certificates-BGOUKdJc.mjs} +1 -1
  125. package/dist/{keys-Cr8AqQDY.mjs → keys-CDnrfmiS.mjs} +1 -1
  126. package/dist/kv-C5jR7vjM.mjs +15 -0
  127. package/dist/lazy-command-DZtpMsVB.mjs +2 -0
  128. package/dist/{leaked-credential-checks-De7ph4VA.mjs → leaked-credential-checks-B7WSzVG3.mjs} +1 -1
  129. package/dist/{load-balancers-DXt4ndF4.mjs → load-balancers-DG9wMQUM.mjs} +1 -1
  130. package/dist/{local-OKXweFsd.mjs → local-B3OyWKkW.mjs} +1 -1
  131. package/dist/local-qOpZjDed.mjs +2 -0
  132. package/dist/{local-runtime-tTYpniPS.mjs → local-runtime-Co5vVDlI.mjs} +1 -1
  133. package/dist/{login-BurQ63Ws.mjs → login-k3QLVysD.mjs} +1 -1
  134. package/dist/{login-CmlHvH5k.mjs → login-rJanUgdL.mjs} +1 -1
  135. package/dist/{logo-matches-CQ60P96J.mjs → logo-matches-5nijgkg7.mjs} +1 -1
  136. package/dist/{logos-u7UwT8MH.mjs → logos-BRRqg8_2.mjs} +1 -1
  137. package/dist/{logpush-IoIe8e80.mjs → logpush-Br7H8sRD.mjs} +1 -1
  138. package/dist/{logs-ih5tyXEE.mjs → logs-CBU44LT8.mjs} +1 -1
  139. package/dist/{magic-cloud-networking-CWNFnjcY.mjs → magic-cloud-networking-Bu7O7wKz.mjs} +1 -1
  140. package/dist/{magic-network-monitoring-ClfZleF8.mjs → magic-network-monitoring-Bnc--4Jr.mjs} +1 -1
  141. package/dist/{magic-transit-D69pkEVW.mjs → magic-transit-Dxr86HKN.mjs} +1 -1
  142. package/dist/{managed-defense-BHdmL0vx.mjs → managed-defense-Bm_jKFTN.mjs} +1 -1
  143. package/dist/{managed-transforms-DbCR4LUg.mjs → managed-transforms-D5mvHv_N.mjs} +1 -1
  144. package/dist/{matches-Cou6RVkh.mjs → matches-Dhc1eSWw.mjs} +1 -1
  145. package/dist/{mcp-CQYfM19s.mjs → mcp-B-PBoBl5.mjs} +1 -1
  146. package/dist/{mesh-CXqaAFS4.mjs → mesh-CW8B4naI.mjs} +1 -1
  147. package/dist/migrate-B4kBnkpV.mjs +2 -0
  148. package/dist/{mtls-certificates-DNeId8xS.mjs → mtls-certificates-swvfPqA2.mjs} +1 -1
  149. package/dist/{network-interconnects-BNon8iUs.mjs → network-interconnects-CjXYZC4g.mjs} +1 -1
  150. package/dist/{network-B7V3JbU7.mjs → network-iwRBn0i7.mjs} +1 -1
  151. package/dist/{oauth-DM8q-TYg.mjs → oauth-CrTr-mRe.mjs} +1 -1
  152. package/dist/oauth-DJW_HyaL.mjs +9 -0
  153. package/dist/{oauth-clients-gGmWIWHl.mjs → oauth-clients-DGUJzFFu.mjs} +1 -1
  154. package/dist/{oauth-scopes-DSEu331u.mjs → oauth-scopes-Bl0YUOHt.mjs} +1 -1
  155. package/dist/{observability-_VJhfwM1.mjs → observability-DRHiMrLy.mjs} +1 -1
  156. package/dist/{open-PCXX3ZDZ-DobJT1Mj.mjs → open-PCXX3ZDZ-BKRik1gi.mjs} +3 -3
  157. package/dist/{organization-DW4EpwGl.mjs → organization-BoMJzks7.mjs} +1 -1
  158. package/dist/{organizations-DE1g2wVq.mjs → organizations-UGtCHzSq.mjs} +1 -1
  159. package/dist/{origin-ca-certificates-D3ULDV__.mjs → origin-ca-certificates-CdByaOCe.mjs} +1 -1
  160. package/dist/{origin-post-quantum-encryption-BLropaz7.mjs → origin-post-quantum-encryption-GjmifGkF.mjs} +1 -1
  161. package/dist/{origin-tls-client-auth-C87TG2i_.mjs → origin-tls-client-auth-CCIqSj_C.mjs} +1 -1
  162. package/dist/{output-CZt-berV.mjs → output-CvQFJkvi.mjs} +1 -1
  163. package/dist/{page-rules-tlb9P-7V.mjs → page-rules-Btn-r3QF.mjs} +1 -1
  164. package/dist/pages-iil93G96.mjs +60 -0
  165. package/dist/{pay-per-crawl-C50wI-Iz.mjs → pay-per-crawl-DcAZuk9T.mjs} +1 -1
  166. package/dist/{pay-per-use-DHHIvynU.mjs → pay-per-use-z0Iwy9rN.mjs} +1 -1
  167. package/dist/{pipelines-Y2icOwuf.mjs → pipelines-YRPwntqo.mjs} +1 -1
  168. package/dist/{precursor-DeyurJSC.mjs → precursor-Bcww14RH.mjs} +1 -1
  169. package/dist/previews-BBn-IiQu.mjs +4 -0
  170. package/dist/{progress-C9dWgc3J.mjs → progress-5nsUpQL6.mjs} +1 -1
  171. package/dist/{prompt-Mh69ni1N.mjs → prompt-Ba_bys2F.mjs} +1 -1
  172. package/dist/{queries-DyUJefwL.mjs → queries-lxdncISw.mjs} +1 -1
  173. package/dist/{queues-CdNe4tGY.mjs → queues-Egb0KXYK.mjs} +1 -1
  174. package/dist/r2-BD4NOkR7.mjs +132 -0
  175. package/dist/{r2-data-catalog-D_zDlmVD.mjs → r2-data-catalog-CI-oHtKe.mjs} +1 -1
  176. package/dist/{radar-CSguicKC.mjs → radar-B4dtfeBP.mjs} +1 -1
  177. package/dist/{raw-fetch-1ygCOcT_.mjs → raw-fetch-AX_Gz3c3.mjs} +1 -1
  178. package/dist/{realtime-CvWs5pi3.mjs → realtime-CtLXkW8l.mjs} +1 -1
  179. package/dist/{registrar-DQUxn0FK.mjs → registrar-I9XClUOe.mjs} +1 -1
  180. package/dist/{registrar-sandbox-Q7ZEmg2x.mjs → registrar-sandbox-DAqK58QS.mjs} +1 -1
  181. package/dist/{registry-4Sw95M5_.mjs → registry-DBMUTYqf.mjs} +1 -1
  182. package/dist/{reporting-DJShxeDv.mjs → reporting-BYsEUCIE.mjs} +1 -1
  183. package/dist/{request-headers-DFBBErJg.mjs → request-headers-sc4CaZX0.mjs} +1 -1
  184. package/dist/{request-tracers-DD8HlG61.mjs → request-tracers-DXr9Dr2z.mjs} +1 -1
  185. package/dist/resolve-PZuJ878-.mjs +2 -0
  186. package/dist/{resource-sharing-J46JMWQP.mjs → resource-sharing-DgbnNgCQ.mjs} +1 -1
  187. package/dist/{resource-tagging-DLZJLIqy.mjs → resource-tagging-CjPU8PpX.mjs} +1 -1
  188. package/dist/{rules-D068LfBR.mjs → rules-BrshTdy1.mjs} +1 -1
  189. package/dist/{rulesets-Cz6P7Oje.mjs → rulesets-BZulblVp.mjs} +1 -1
  190. package/dist/{rum-C6GQC2vI.mjs → rum-B4IRlWgy.mjs} +1 -1
  191. package/dist/run-BQGVl3vg.mjs +2 -0
  192. package/dist/run-UHTbUldP.mjs +2 -0
  193. package/dist/{schema-VZPw_2CY.mjs → schema-CueLBLXC.mjs} +1 -1
  194. package/dist/{schema-flags-BmY0Nzp0.mjs → schema-flags-C4KmiKur.mjs} +1 -1
  195. package/dist/{scim-DMTp_Zhc.mjs → scim-BL2TVEZM.mjs} +1 -1
  196. package/dist/{sdk-BuF3fTHr.mjs → sdk-Bx29ZKK3.mjs} +2 -2
  197. package/dist/{secrets-store-C2epk0sQ.mjs → secrets-store-BcyhU7Kj.mjs} +1 -1
  198. package/dist/{security-center-DwMdQ02Y.mjs → security-center-D1LSkhL_.mjs} +1 -1
  199. package/dist/{security-txt-CORQfMul.mjs → security-txt-BGIj4nU3.mjs} +1 -1
  200. package/dist/{session-BEXskZi2.mjs → session-CjQFm10R.mjs} +1 -1
  201. package/dist/shared-jqlTaG5K.mjs +2 -0
  202. package/dist/{smart-shield-BZ0xjy_6.mjs → smart-shield-C8mGSzyE.mjs} +1 -1
  203. package/dist/{snippets-LSkJGDOc.mjs → snippets-BmHMaKEZ.mjs} +1 -1
  204. package/dist/spawn-IM_tQldH.mjs +10 -0
  205. package/dist/{spectrum-zU8_GFTV.mjs → spectrum-CrGKTMx-.mjs} +1 -1
  206. package/dist/{speed-4XbFmeYM.mjs → speed-yyPLwj5X.mjs} +1 -1
  207. package/dist/src-DFnlH5Tg.mjs +109 -0
  208. package/dist/{ssl-DiCsMY_a.mjs → ssl-DZ6G7pP_.mjs} +1 -1
  209. package/dist/startup-profile-B0UCc9_J.mjs +2 -0
  210. package/dist/{startup-profile-6fCkD04r.mjs → startup-profile-DrV846S5.mjs} +3 -3
  211. package/dist/{state-DiHwKWTy.mjs → state-DhHOAdTo.mjs} +1 -1
  212. package/dist/state-Dyo8DcW7.mjs +2 -0
  213. package/dist/{stream-BG3NUAVE.mjs → stream-hoBmKs9X.mjs} +1 -1
  214. package/dist/{submit-CKSaSFS1.mjs → submit-Lfebq3yj.mjs} +1 -1
  215. package/dist/{tags-uT9Mi-bX.mjs → tags-CnHv__u_.mjs} +1 -1
  216. package/dist/telemetry-C3hmM9Q9.mjs +2 -0
  217. package/dist/telemetry-DbAo3nvk.mjs +2 -0
  218. package/dist/{tenant--UrYFHM0.mjs → tenant-7CL844dh.mjs} +1 -1
  219. package/dist/{tenant-custom-nameservers-8Z4TVJtr.mjs → tenant-custom-nameservers-CZL9_D8w.mjs} +1 -1
  220. package/dist/{tools-DNGD0l7I.mjs → tools-BJbI_f35.mjs} +1 -1
  221. package/dist/{tunnels-5lGSXYpl.mjs → tunnels-DuO8F5_h.mjs} +1 -1
  222. package/dist/{turnstile-CT3AkMPV.mjs → turnstile-B-6k-bKa.mjs} +1 -1
  223. package/dist/{ui-D1hhIDIs.mjs → ui-BQxRjahW.mjs} +1 -1
  224. package/dist/update-check-BDMPumcv.mjs +2 -0
  225. package/dist/update-check-g9Jcn6YJ.mjs +2 -0
  226. package/dist/update-check-worker.mjs +1 -1
  227. package/dist/{url-info-DvpNcNl8.mjs → url-info-C6-jj9nl.mjs} +1 -1
  228. package/dist/{url-normalization-C9URZnpq.mjs → url-normalization-BRSTQe20.mjs} +1 -1
  229. package/dist/{url-scanner-CIwK3wB5.mjs → url-scanner-DER5YAdW.mjs} +1 -1
  230. package/dist/{user-DGA7cqdf.mjs → user-foSeF-0m.mjs} +1 -1
  231. package/dist/{values-BzS0b25w.mjs → values-DgBNckq9.mjs} +1 -1
  232. package/dist/{vectorize-DtDjl2fJ.mjs → vectorize-9AZMN3fN.mjs} +1 -1
  233. package/dist/version-DLvRzH-I.mjs +2 -0
  234. package/dist/{waiting-rooms-CjTh4F3B.mjs → waiting-rooms-CUc0Xqp0.mjs} +1 -1
  235. package/dist/{web-assets-4l1B5V9b.mjs → web-assets-D5LUB5UO.mjs} +1 -1
  236. package/dist/{web3-C0Z4AJjC.mjs → web3-BvOpojFR.mjs} +1 -1
  237. package/dist/workers-Cko7OnFE.mjs +40 -0
  238. package/dist/{workers-builds-DYGeoxmX.mjs → workers-builds-BFqiT0GR.mjs} +1 -1
  239. package/dist/{workers-for-platforms-CSw0K8Nl.mjs → workers-for-platforms-EVE01qsM.mjs} +1 -1
  240. package/dist/{workers-vpc-DJ7Couct.mjs → workers-vpc-9xBzFjiF.mjs} +1 -1
  241. package/dist/{workflows-Dm03QT8U.mjs → workflows-BS0EGixd.mjs} +1 -1
  242. package/dist/wrangler-migration-BDkh1_IV.mjs +2 -0
  243. package/dist/{zaraz-DJbWUUe3.mjs → zaraz-DBccJ-ZM.mjs} +1 -1
  244. package/dist/{zero-trust-DiMY-pN5.mjs → zero-trust-DGagti-V.mjs} +431 -281
  245. package/dist/{zone-BWjBv1yy.mjs → zone-B4OniptR.mjs} +1 -1
  246. package/dist/{zones-zGqcQvcY.mjs → zones-DYuGVoTH.mjs} +1 -1
  247. package/package.json +1 -1
  248. package/dist/access-B3TvAe5h.mjs +0 -27
  249. package/dist/ai-gateway-DrQhTvKf.mjs +0 -147
  250. package/dist/build-DG8NfVjJ.mjs +0 -2
  251. package/dist/build-kgS7iKwi.mjs +0 -2
  252. package/dist/cli-Ct980dyx.mjs +0 -3
  253. package/dist/command-B7SzqjQM.mjs +0 -2
  254. package/dist/command-BLHcNQ8m.mjs +0 -2
  255. package/dist/command-BxQbIQWT.mjs +0 -2
  256. package/dist/command-C0SMCHZp.mjs +0 -2
  257. package/dist/command-CE8k5TuK.mjs +0 -2
  258. package/dist/command-CPiCDUth.mjs +0 -2
  259. package/dist/command-DHjsstFb.mjs +0 -2
  260. package/dist/command-MTUsmZU5.mjs +0 -2
  261. package/dist/command-Sb9lOxWT.mjs +0 -2
  262. package/dist/command-sQ8yswii.mjs +0 -2
  263. package/dist/config-DcppJ5D2.mjs +0 -2
  264. package/dist/data-security-BxzLSdGk.mjs +0 -71
  265. package/dist/dev-reqdKM28.mjs +0 -4
  266. package/dist/dry-run-BmzTxDtZ.mjs +0 -2
  267. package/dist/error-sanitization-cyGBhW1Z.mjs +0 -2
  268. package/dist/generate-Djb5Af37.mjs +0 -2
  269. package/dist/interactive-B_dcVghB.mjs +0 -2
  270. package/dist/kv-DmAQCqXl.mjs +0 -21
  271. package/dist/lazy-command-B_bwSa2F.mjs +0 -2
  272. package/dist/local-CFd107fr.mjs +0 -2
  273. package/dist/migrate-CXMbQPyC.mjs +0 -2
  274. package/dist/oauth-CeXh-ACI.mjs +0 -9
  275. package/dist/pages-CjPErYik.mjs +0 -60
  276. package/dist/previews-Dj_LcGRd.mjs +0 -4
  277. package/dist/r2-C0W2J4sT.mjs +0 -127
  278. package/dist/resolve-BVxXAYG7.mjs +0 -2
  279. package/dist/run-C_qUgBTs.mjs +0 -2
  280. package/dist/run-DK1d9BJz.mjs +0 -2
  281. package/dist/shared--lvrXmXY.mjs +0 -2
  282. package/dist/spawn-Da3HnlmB.mjs +0 -10
  283. package/dist/src-BLLpnbzC.mjs +0 -109
  284. package/dist/startup-profile-Cw-_akjQ.mjs +0 -2
  285. package/dist/state-CcktNox9.mjs +0 -2
  286. package/dist/telemetry-C0k8vfbq.mjs +0 -2
  287. package/dist/telemetry-Dh-8kdfY.mjs +0 -5
  288. package/dist/telemetry-IrDBqbQW.mjs +0 -2
  289. package/dist/update-check-BYJnL8J8.mjs +0 -2
  290. package/dist/update-check-DFoSm5GT.mjs +0 -2
  291. package/dist/version-B47pK_PZ.mjs +0 -2
  292. package/dist/workers-CNBv6GxE.mjs +0 -36
  293. package/dist/zt-Bt4Q6iM1.mjs +0 -110
  294. /package/dist/{Page-BchtVjAO.mjs → Page-CjJht2qT.mjs} +0 -0
  295. /package/dist/{alerts-DY_7Nknx.mjs → alerts-DqZgVSCT.mjs} +0 -0
  296. /package/dist/{autorag-K396-M2S.mjs → autorag-Cq9k9Ye6.mjs} +0 -0
  297. /package/dist/{body-parser-BpPZBRMr.mjs → body-parser-hh2avzkz.mjs} +0 -0
  298. /package/dist/{brands-Uy0Cmv1w.mjs → brands-DeLbFxSt.mjs} +0 -0
  299. /package/dist/{browser-extension-D_siSsD9.mjs → browser-extension-C1zmKFDG.mjs} +0 -0
  300. /package/dist/{chunk-U6NEESU5-CAnOLcsu.mjs → chunk-U6NEESU5-BhF4rnpx.mjs} +0 -0
  301. /package/dist/{chunk-WMOON6TZ-D3H84qpM.mjs → chunk-WMOON6TZ-D_ToS88f.mjs} +0 -0
  302. /package/dist/{clear-CpcO2ExU.mjs → clear-CRfI7WS7.mjs} +0 -0
  303. /package/dist/{cli-types-B6tm-8uL.mjs → cli-types-DoVT5q_M.mjs} +0 -0
  304. /package/dist/{connector-telemetry-events-latest-oguk5Zyj.mjs → connector-telemetry-events-latest-D8p_dR8s.mjs} +0 -0
  305. /package/dist/{connector-telemetry-snapshots-latest-B6zuxkr0.mjs → connector-telemetry-snapshots-latest-COFmzmlk.mjs} +0 -0
  306. /package/dist/{delegate-CCGgla7X.mjs → delegate-B6LetRpZ.mjs} +0 -0
  307. /package/dist/{input-validation-D3e278L_.mjs → input-validation-Dk52b0me.mjs} +0 -0
  308. /package/dist/{interactive-D80kbTap.mjs → interactive-C-o16XQs.mjs} +0 -0
  309. /package/dist/{lifecycle-Cyc3fmyN.mjs → lifecycle-C7tAC1Mn.mjs} +0 -0
  310. /package/dist/{project-settings-Bf6rReo1.mjs → project-settings-DO6njFg_.mjs} +0 -0
  311. /package/dist/{resolve-qPFfBMrn.mjs → resolve-BCTrtcx7.mjs} +0 -0
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import{n as e,t}from"./metadata-C33s4rc-.mjs";import n from"node:assert";function r(e,t){return`#compdef ${e}
2
+ import{n as e,t}from"./metadata-C33s4rc-.mjs";import{t as n}from"./run-UHTbUldP.mjs";import r from"node:assert";function i(e,t){return`#compdef ${e}
3
3
  compdef _${e} ${e}
4
4
 
5
5
  # zsh completion for ${e} -*- shell-script -*-
@@ -12,12 +12,12 @@ __${e}_debug() {
12
12
  }
13
13
 
14
14
  _${e}() {
15
- local shellCompDirectiveError=${s.ShellCompDirectiveError}
16
- local shellCompDirectiveNoSpace=${s.ShellCompDirectiveNoSpace}
17
- local shellCompDirectiveNoFileComp=${s.ShellCompDirectiveNoFileComp}
18
- local shellCompDirectiveFilterFileExt=${s.ShellCompDirectiveFilterFileExt}
19
- local shellCompDirectiveFilterDirs=${s.ShellCompDirectiveFilterDirs}
20
- local shellCompDirectiveKeepOrder=${s.ShellCompDirectiveKeepOrder}
15
+ local shellCompDirectiveError=${c.ShellCompDirectiveError}
16
+ local shellCompDirectiveNoSpace=${c.ShellCompDirectiveNoSpace}
17
+ local shellCompDirectiveNoFileComp=${c.ShellCompDirectiveNoFileComp}
18
+ local shellCompDirectiveFilterFileExt=${c.ShellCompDirectiveFilterFileExt}
19
+ local shellCompDirectiveFilterDirs=${c.ShellCompDirectiveFilterDirs}
20
+ local shellCompDirectiveKeepOrder=${c.ShellCompDirectiveKeepOrder}
21
21
 
22
22
  local lastParam lastChar flagPrefix requestComp out directive comp lastComp noSpace keepOrder
23
23
  local -a completions
@@ -213,15 +213,15 @@ _${e}() {
213
213
  if [ "\${funcstack[1]}" = "_${e}" ]; then
214
214
  _${e}
215
215
  fi
216
- `}function i(e,t){let n=e.replace(/[-:]/g,`_`);return`# bash completion for ${e}
216
+ `}function a(e,t){let n=e.replace(/[-:]/g,`_`);return`# bash completion for ${e}
217
217
 
218
218
  # Define shell completion directives
219
- readonly ShellCompDirectiveError=${s.ShellCompDirectiveError}
220
- readonly ShellCompDirectiveNoSpace=${s.ShellCompDirectiveNoSpace}
221
- readonly ShellCompDirectiveNoFileComp=${s.ShellCompDirectiveNoFileComp}
222
- readonly ShellCompDirectiveFilterFileExt=${s.ShellCompDirectiveFilterFileExt}
223
- readonly ShellCompDirectiveFilterDirs=${s.ShellCompDirectiveFilterDirs}
224
- readonly ShellCompDirectiveKeepOrder=${s.ShellCompDirectiveKeepOrder}
219
+ readonly ShellCompDirectiveError=${c.ShellCompDirectiveError}
220
+ readonly ShellCompDirectiveNoSpace=${c.ShellCompDirectiveNoSpace}
221
+ readonly ShellCompDirectiveNoFileComp=${c.ShellCompDirectiveNoFileComp}
222
+ readonly ShellCompDirectiveFilterFileExt=${c.ShellCompDirectiveFilterFileExt}
223
+ readonly ShellCompDirectiveFilterDirs=${c.ShellCompDirectiveFilterDirs}
224
+ readonly ShellCompDirectiveKeepOrder=${c.ShellCompDirectiveKeepOrder}
225
225
 
226
226
  # Function to debug completion
227
227
  __${n}_debug() {
@@ -314,7 +314,7 @@ __${n}_complete() {
314
314
 
315
315
  # Register completion function
316
316
  complete -F __${n}_complete ${e}
317
- `}function a(e,t){let n=e.replace(/[-:]/g,`_`),r=s.ShellCompDirectiveError,i=s.ShellCompDirectiveNoSpace,a=s.ShellCompDirectiveNoFileComp,o=s.ShellCompDirectiveFilterFileExt,c=s.ShellCompDirectiveFilterDirs;return`# fish completion for ${e} -*- shell-script -*-
317
+ `}function o(e,t){let n=e.replace(/[-:]/g,`_`),r=c.ShellCompDirectiveError,i=c.ShellCompDirectiveNoSpace,a=c.ShellCompDirectiveNoFileComp,o=c.ShellCompDirectiveFilterFileExt,s=c.ShellCompDirectiveFilterDirs;return`# fish completion for ${e} -*- shell-script -*-
318
318
 
319
319
  function __${n}_debug
320
320
  set -l file "$BASH_COMP_DEBUG_FILE"
@@ -411,7 +411,7 @@ function __${n}_requires_order_preservation
411
411
  set -l directive (string sub --start 2 $__${n}_perform_completion_once_result[-1])
412
412
  __${n}_debug "Directive is: $directive"
413
413
 
414
- set -l shellCompDirectiveKeepOrder ${s.ShellCompDirectiveKeepOrder}
414
+ set -l shellCompDirectiveKeepOrder ${c.ShellCompDirectiveKeepOrder}
415
415
  set -l keeporder (math (math --scale 0 $directive / $shellCompDirectiveKeepOrder) % 2)
416
416
  __${n}_debug "Keeporder is: $keeporder"
417
417
 
@@ -453,7 +453,7 @@ function __${n}_prepare_completions
453
453
  set -l shellCompDirectiveNoSpace ${i}
454
454
  set -l shellCompDirectiveNoFileComp ${a}
455
455
  set -l shellCompDirectiveFilterFileExt ${o}
456
- set -l shellCompDirectiveFilterDirs ${c}
456
+ set -l shellCompDirectiveFilterDirs ${s}
457
457
 
458
458
  if test -z "$directive"
459
459
  set directive 0
@@ -548,7 +548,7 @@ complete -c ${e} -n '__${n}_clear_perform_completion_once_result'
548
548
  complete -c ${e} -n 'not __${n}_requires_order_preservation && __${n}_prepare_completions' -f -a '$__${n}_comp_results'
549
549
  # Otherwise we use the -k flag
550
550
  complete -k -c ${e} -n '__${n}_requires_order_preservation && __${n}_prepare_completions' -f -a '$__${n}_comp_results'
551
- `}function o(e,t){let n=e.replace(/[-:]/g,`_`);return`# powershell completion for ${e} -*- shell-script -*-
551
+ `}function s(e,t){let n=e.replace(/[-:]/g,`_`);return`# powershell completion for ${e} -*- shell-script -*-
552
552
 
553
553
  [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
554
554
  function __${e}_debug {
@@ -586,12 +586,12 @@ complete -k -c ${e} -n '__${n}_requires_order_preservation && __${n}_prepare_com
586
586
  }
587
587
  __${e}_debug "Truncated command: $Command"
588
588
 
589
- $ShellCompDirectiveError=${s.ShellCompDirectiveError}
590
- $ShellCompDirectiveNoSpace=${s.ShellCompDirectiveNoSpace}
591
- $ShellCompDirectiveNoFileComp=${s.ShellCompDirectiveNoFileComp}
592
- $ShellCompDirectiveFilterFileExt=${s.ShellCompDirectiveFilterFileExt}
593
- $ShellCompDirectiveFilterDirs=${s.ShellCompDirectiveFilterDirs}
594
- $ShellCompDirectiveKeepOrder=${s.ShellCompDirectiveKeepOrder}
589
+ $ShellCompDirectiveError=${c.ShellCompDirectiveError}
590
+ $ShellCompDirectiveNoSpace=${c.ShellCompDirectiveNoSpace}
591
+ $ShellCompDirectiveNoFileComp=${c.ShellCompDirectiveNoFileComp}
592
+ $ShellCompDirectiveFilterFileExt=${c.ShellCompDirectiveFilterFileExt}
593
+ $ShellCompDirectiveFilterDirs=${c.ShellCompDirectiveFilterDirs}
594
+ $ShellCompDirectiveKeepOrder=${c.ShellCompDirectiveKeepOrder}
595
595
 
596
596
  # Prepare the command to request completions for the program.
597
597
  # Split the command at the first space to separate the program and arguments.
@@ -796,6 +796,6 @@ complete -k -c ${e} -n '__${n}_requires_order_preservation && __${n}_prepare_com
796
796
  }
797
797
 
798
798
  Register-ArgumentCompleter -CommandName '${e}' -ScriptBlock $__${n}CompleterBlock
799
- `}const s={ShellCompDirectiveError:1,ShellCompDirectiveNoSpace:2,ShellCompDirectiveNoFileComp:4,ShellCompDirectiveFilterFileExt:8,ShellCompDirectiveFilterDirs:16,ShellCompDirectiveKeepOrder:32,shellCompDirectiveMaxValue:64,ShellCompDirectiveDefault:0};var c=class{name;variadic;command;handler;constructor(e,t,n,r=!1){this.command=e,this.name=t,this.handler=n,this.variadic=r}},l=class{value;description;command;handler;alias;isBoolean;constructor(e,t,n,r,i,a){this.command=e,this.value=t,this.description=n,this.handler=r,this.alias=i,this.isBoolean=a}},u=class{value;description;options=new Map;arguments=new Map;parent;constructor(e,t){this.value=e,this.description=t}option(e,t,n,r){let i,a,o;typeof n==`function`?(i=n,a=r,o=!1):typeof n==`string`?(i=void 0,a=n,o=!0):(i=void 0,a=void 0,o=!0);let s=new l(this,e,t,i,a,o);return this.options.set(e,s),this}argument(e,t,n=!1){let r=new c(this,e,t,n);return this.arguments.set(e,r),this}};const d=new class extends u{commands=new Map;completions=[];directive=s.ShellCompDirectiveDefault;constructor(){super(``,``)}command(e,t){let n=new u(e,t);return this.commands.set(e,n),n}stripOptions(e){let t=[],n=0;for(;n<e.length;){let r=e[n];if(r.startsWith(`-`)){n++;let t=!1,i=this.findOption(this,r);if(i)t=i.isBoolean??!1;else for(let[,e]of this.commands){let n=this.findOption(e,r);if(n){t=n.isBoolean??!1;break}}!t&&n<e.length&&!e[n].startsWith(`-`)&&n++}else t.push(r),n++}return t}matchCommand(e){e=this.stripOptions(e);let t=[],n=[],r=null;for(let i=0;i<e.length;i++){let a=e[i];t.push(a);let o=this.commands.get(t.join(` `));if(o)r=o;else{n=e.slice(i,e.length);break}}return[r||this,n]}shouldCompleteFlags(e,t){if(t.startsWith(`-`))return!0;if(e?.startsWith(`-`)){let t=this.findOption(this,e);if(!t){for(let[,n]of this.commands)if(t=this.findOption(n,e),t)break}return!(t&&t.isBoolean)}return!1}shouldCompleteCommands(e){return!e.startsWith(`-`)}handleFlagCompletion(e,t,n,r){let i;if(n.includes(`=`)){let[e]=n.split(`=`);i=e}else if(r?.startsWith(`-`)){let t=this.findOption(e,r);t&&!t.isBoolean&&(i=r)}if(i){let t=this.findOption(e,i);if(t?.handler){let n=[];t.handler.call(t,(e,t)=>n.push({value:e,description:t}),e.options),this.completions=n}return}if(n.startsWith(`-`)){let t=n.startsWith(`-`)&&!n.startsWith(`--`),r=n.replace(/^-+/,``);for(let[i,a]of e.options)t&&a.alias&&`-${a.alias}`.startsWith(n)?this.completions.push({value:`-${a.alias}`,description:a.description}):!t&&i.startsWith(r)&&this.completions.push({value:`--${i}`,description:a.description})}}findOption(e,t){let n=e.options.get(t);if(n||(n=e.options.get(t.replace(/^-+/,``)),n))return n;for(let[n,r]of e.options)if(r.alias&&`-${r.alias}`===t)return r}handleCommandCompletion(e,t){let n=this.stripOptions(e);for(let[e,r]of this.commands){if(e===``)continue;let i=e.split(` `);i.slice(0,n.length).every((e,t)=>e===n[t])&&i[n.length]?.startsWith(t)&&this.completions.push({value:i[n.length],description:r.description})}}handlePositionalCompletion(e,t){let n=this.stripOptions(t),r=e.value.split(` `).length,i=Math.max(0,n.length-r),a=Array.from(e.arguments.entries());if(a.length>0){let t;if(i<a.length){let[e,n]=a[i];t=n}else{let e=a[a.length-1][1];e.variadic&&(t=e)}if(t&&t.handler&&typeof t.handler==`function`){let n=[];t.handler.call(t,(e,t)=>n.push({value:e,description:t}),e.options),this.completions.push(...n)}}}complete(e){this.directive=s.ShellCompDirectiveNoFileComp;let t=new Set;this.completions.filter(e=>t.has(e.value)?!1:(t.add(e.value),!0)).filter(t=>{if(e.includes(`=`)){let[,n]=e.split(`=`);return t.value.startsWith(n)}return t.value.startsWith(e)}).forEach(e=>console.log(`${e.value}\t${e.description??``}`)),console.log(`:${this.directive}`)}parse(e){this.completions=[];let t=e[e.length-1]===``;t&&e.pop();let n=e[e.length-1]||``,r=e.slice(0,-1);t&&(n!==``&&r.push(n),n=``);let[i]=this.matchCommand(r),a=r[r.length-1];this.shouldCompleteFlags(a,n)?this.handleFlagCompletion(i,r,n,a):(this.shouldCompleteCommands(n)&&this.handleCommandCompletion(r,n),i&&i.arguments.size>0&&this.handlePositionalCompletion(i,r)),this.complete(n)}setup(e,t,s){switch(n(s===`zsh`||s===`bash`||s===`fish`||s===`powershell`,`Unsupported shell`),s){case`zsh`:{let n=r(e,t);console.log(n);break}case`bash`:{let n=i(e,t);console.log(n);break}case`fish`:{let n=a(e,t);console.log(n);break}case`powershell`:{let n=o(e,t);console.log(n);break}}}},f=[{name:`quiet`,alias:`q`,desc:`Suppress non-essential output`},{name:`zone`,alias:`z`,desc:`Zone ID or domain name`},{name:`profile`,desc:`Use a specific auth profile`},{name:`mode`,alias:`m`,desc:`Mode used to evaluate project configuration`},{name:`local`,desc:`Use local resource simulations`},{name:`persist-to`,desc:`Directory holding local persisted state (default: ~/.config/cloudflare/state)`},{name:`help`,alias:`h`,desc:`Show help`},{name:`version`,alias:`v`,desc:`Show version`}];function p(){return e(import.meta.url,`commands.json`,t)?.commands??[]}function m(e){return e.summary??e.description??``}function h(e,t){for(let n of t){let t=n.alias===void 0?[]:Array.isArray(n.alias)?n.alias:[n.alias];for(let r of new Set([n.name,...t]))n.enum&&n.enum.length>0?e.option(r,n.description??``,e=>{for(let t of n.enum??[])e(t,t)}):e.option(r,n.description??``)}}function g(e,t){for(let t of f)e.option(t.name,t.desc),t.alias&&e.option(t.alias,`Alias for --${t.name}`);let n=new Set;for(let r of t){if(r.hideCommand)continue;let t=r.fullPath.slice(0,-1),i=[r.fullPath,...(r.aliases??[]).map(e=>[...t,e])];for(let t of i){for(let r=1;r<t.length;r++){let i=t.slice(0,r).join(` `);n.has(i)||(n.add(i),e.command(i,``))}let i=t.join(` `);n.add(i),h(e.command(i,m(r)),r.options??[])}}}function _(){g(d,p())}const v={command:`complete [shell]`,describe:`Generate and handle shell completions`,builder:e=>e.positional(`shell`,{type:`string`,choices:[`bash`,`zsh`,`fish`,`powershell`],description:`Shell type to generate completions for`}).example(`cf complete bash >> ~/.bashrc`,`Install bash completions (then restart your shell)`).example(`cf complete zsh >> ~/.zshrc`,`Install zsh completions (then restart your shell)`).example(`cf complete fish > ~/.config/fish/completions/cf.fish`,`Install fish completions`),handler:e=>{let t=(e._??[]).map(String),n=t.slice(+(t[0]===`complete`));if(n.length>0){_(),d.parse(n);return}if(!e.shell){process.stderr.write(`Usage: cf complete <bash|zsh|fish|powershell>
799
+ `}const c={ShellCompDirectiveError:1,ShellCompDirectiveNoSpace:2,ShellCompDirectiveNoFileComp:4,ShellCompDirectiveFilterFileExt:8,ShellCompDirectiveFilterDirs:16,ShellCompDirectiveKeepOrder:32,shellCompDirectiveMaxValue:64,ShellCompDirectiveDefault:0};var l=class{name;variadic;command;handler;constructor(e,t,n,r=!1){this.command=e,this.name=t,this.handler=n,this.variadic=r}},u=class{value;description;command;handler;alias;isBoolean;constructor(e,t,n,r,i,a){this.command=e,this.value=t,this.description=n,this.handler=r,this.alias=i,this.isBoolean=a}},d=class{value;description;options=new Map;arguments=new Map;parent;constructor(e,t){this.value=e,this.description=t}option(e,t,n,r){let i,a,o;typeof n==`function`?(i=n,a=r,o=!1):typeof n==`string`?(i=void 0,a=n,o=!0):(i=void 0,a=void 0,o=!0);let s=new u(this,e,t,i,a,o);return this.options.set(e,s),this}argument(e,t,n=!1){let r=new l(this,e,t,n);return this.arguments.set(e,r),this}};const f=new class extends d{commands=new Map;completions=[];directive=c.ShellCompDirectiveDefault;constructor(){super(``,``)}command(e,t){let n=new d(e,t);return this.commands.set(e,n),n}stripOptions(e){let t=[],n=0;for(;n<e.length;){let r=e[n];if(r.startsWith(`-`)){n++;let t=!1,i=this.findOption(this,r);if(i)t=i.isBoolean??!1;else for(let[,e]of this.commands){let n=this.findOption(e,r);if(n){t=n.isBoolean??!1;break}}!t&&n<e.length&&!e[n].startsWith(`-`)&&n++}else t.push(r),n++}return t}matchCommand(e){e=this.stripOptions(e);let t=[],n=[],r=null;for(let i=0;i<e.length;i++){let a=e[i];t.push(a);let o=this.commands.get(t.join(` `));if(o)r=o;else{n=e.slice(i,e.length);break}}return[r||this,n]}shouldCompleteFlags(e,t){if(t.startsWith(`-`))return!0;if(e?.startsWith(`-`)){let t=this.findOption(this,e);if(!t){for(let[,n]of this.commands)if(t=this.findOption(n,e),t)break}return!(t&&t.isBoolean)}return!1}shouldCompleteCommands(e){return!e.startsWith(`-`)}handleFlagCompletion(e,t,n,r){let i;if(n.includes(`=`)){let[e]=n.split(`=`);i=e}else if(r?.startsWith(`-`)){let t=this.findOption(e,r);t&&!t.isBoolean&&(i=r)}if(i){let t=this.findOption(e,i);if(t?.handler){let n=[];t.handler.call(t,(e,t)=>n.push({value:e,description:t}),e.options),this.completions=n}return}if(n.startsWith(`-`)){let t=n.startsWith(`-`)&&!n.startsWith(`--`),r=n.replace(/^-+/,``);for(let[i,a]of e.options)t&&a.alias&&`-${a.alias}`.startsWith(n)?this.completions.push({value:`-${a.alias}`,description:a.description}):!t&&i.startsWith(r)&&this.completions.push({value:`--${i}`,description:a.description})}}findOption(e,t){let n=e.options.get(t);if(n||(n=e.options.get(t.replace(/^-+/,``)),n))return n;for(let[n,r]of e.options)if(r.alias&&`-${r.alias}`===t)return r}handleCommandCompletion(e,t){let n=this.stripOptions(e);for(let[e,r]of this.commands){if(e===``)continue;let i=e.split(` `);i.slice(0,n.length).every((e,t)=>e===n[t])&&i[n.length]?.startsWith(t)&&this.completions.push({value:i[n.length],description:r.description})}}handlePositionalCompletion(e,t){let n=this.stripOptions(t),r=e.value.split(` `).length,i=Math.max(0,n.length-r),a=Array.from(e.arguments.entries());if(a.length>0){let t;if(i<a.length){let[e,n]=a[i];t=n}else{let e=a[a.length-1][1];e.variadic&&(t=e)}if(t&&t.handler&&typeof t.handler==`function`){let n=[];t.handler.call(t,(e,t)=>n.push({value:e,description:t}),e.options),this.completions.push(...n)}}}complete(e){this.directive=c.ShellCompDirectiveNoFileComp;let t=new Set;this.completions.filter(e=>t.has(e.value)?!1:(t.add(e.value),!0)).filter(t=>{if(e.includes(`=`)){let[,n]=e.split(`=`);return t.value.startsWith(n)}return t.value.startsWith(e)}).forEach(e=>console.log(`${e.value}\t${e.description??``}`)),console.log(`:${this.directive}`)}parse(e){this.completions=[];let t=e[e.length-1]===``;t&&e.pop();let n=e[e.length-1]||``,r=e.slice(0,-1);t&&(n!==``&&r.push(n),n=``);let[i]=this.matchCommand(r),a=r[r.length-1];this.shouldCompleteFlags(a,n)?this.handleFlagCompletion(i,r,n,a):(this.shouldCompleteCommands(n)&&this.handleCommandCompletion(r,n),i&&i.arguments.size>0&&this.handlePositionalCompletion(i,r)),this.complete(n)}setup(e,t,n){switch(r(n===`zsh`||n===`bash`||n===`fish`||n===`powershell`,`Unsupported shell`),n){case`zsh`:{let n=i(e,t);console.log(n);break}case`bash`:{let n=a(e,t);console.log(n);break}case`fish`:{let n=o(e,t);console.log(n);break}case`powershell`:{let n=s(e,t);console.log(n);break}}}},p=[{name:`quiet`,alias:`q`,desc:`Suppress non-essential output`},{name:`zone`,alias:`z`,desc:`Zone ID or domain name`},{name:`profile`,desc:`Use a specific auth profile`},{name:`mode`,alias:`m`,desc:`Mode used to evaluate project configuration`},{name:`local`,desc:`Use local resource simulations`},{name:`persist-to`,desc:`Directory holding local persisted state (default: ~/.config/cloudflare/state)`},{name:`help`,alias:`h`,desc:`Show help`},{name:`version`,alias:`v`,desc:`Show version`}];function m(){return e(import.meta.url,`commands.json`,t)?.commands??[]}function h(e){return e.summary??e.description??``}function g(e,t){for(let n of t){let t=n.alias===void 0?[]:Array.isArray(n.alias)?n.alias:[n.alias];for(let r of new Set([n.name,...t]))n.enum&&n.enum.length>0?e.option(r,n.description??``,e=>{for(let t of n.enum??[])e(t,t)}):e.option(r,n.description??``)}}function _(e,t){for(let t of p)e.option(t.name,t.desc),t.alias&&e.option(t.alias,`Alias for --${t.name}`);let n=new Set;for(let r of t){if(r.hideCommand)continue;let t=r.fullPath.slice(0,-1),i=[r.fullPath,...(r.aliases??[]).map(e=>[...t,e])];for(let t of i){for(let r=1;r<t.length;r++){let i=t.slice(0,r).join(` `);n.has(i)||(n.add(i),e.command(i,``))}let i=t.join(` `);n.add(i),g(e.command(i,h(r)),r.options??[])}}}function v(){_(f,m())}const y={command:`complete [shell]`,describe:`Generate and handle shell completions`,builder:e=>e.positional(`shell`,{type:`string`,choices:[`bash`,`zsh`,`fish`,`powershell`],description:`Shell type to generate completions for`}).example(`cf complete bash >> ~/.bashrc`,`Install bash completions (then restart your shell)`).example(`cf complete zsh >> ~/.zshrc`,`Install zsh completions (then restart your shell)`).example(`cf complete fish > ~/.config/fish/completions/cf.fish`,`Install fish completions`),handler:e=>{let t=(e._??[]).map(String),r=t.slice(+(t[0]===`complete`));if(r.length>0){v(),f.parse(r);return}let i=e.shell;if(!i){process.stderr.write(`Usage: cf complete <bash|zsh|fish|powershell>
800
800
  cf complete bash >> ~/.bashrc
801
- `),process.exitCode=1;return}_(),d.setup(`cf`,`cf`,e.shell)}};export{v as default,m as getCompletionDescription,g as registerCompletions};
801
+ `),process.exitCode=1;return}return n({command:`complete`,recordArgs:!1},e,()=>{v(),f.setup(`cf`,`cf`,i)})}};export{y as default,h as getCompletionDescription,_ as registerCompletions};
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import{t as e}from"./local-OKXweFsd.mjs";import{a as t,t as n}from"./context-Dzzbc9RK.mjs";import{r}from"./auth-B5p3SIhO.mjs";import{t as i}from"./output-CZt-berV.mjs";import{t as a}from"./dry-run-BmzTxDtZ.mjs";import{t as o}from"./progress-C9dWgc3J.mjs";import{t as s}from"./run-DK1d9BJz.mjs";import"./telemetry-C0k8vfbq.mjs";import{n as c,t as l}from"./body-parser-BpPZBRMr.mjs";function u(e){return e.usage(`$0 connector-interrupts create <connector-id>
2
+ import{t as e}from"./local-B3OyWKkW.mjs";import{a as t,t as n}from"./context-BsGrhAqB.mjs";import{r}from"./auth-BYFcxn1F.mjs";import{t as i}from"./output-CvQFJkvi.mjs";import{t as a}from"./dry-run-Bq0JAsbX.mjs";import{t as o}from"./progress-5nsUpQL6.mjs";import{t as s}from"./run-UHTbUldP.mjs";import"./telemetry-C3hmM9Q9.mjs";import{n as c,t as l}from"./body-parser-hh2avzkz.mjs";function u(e){return e.usage(`$0 connector-interrupts create <connector-id>
3
3
 
4
4
  Creates an interrupt for a Magic WAN Connector.`).positional(`connector-id`,{type:`string`,description:`Connector ID`,demandOption:!0}).option(`reboot-purge`,{type:`boolean`,description:`Purge connector state.`}).option(`restart-purge`,{type:`boolean`,description:`Purge connector state.`}).option(`shutdown-purge`,{type:`boolean`,description:`Purge connector state.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Interrupt action for a connector.`})}const d={command:`create <connector-id>`,describe:`Create Interrupt`,builder:u,handler:async u=>s({command:`connector-interrupts create`,classification:{safeFlags:[`reboot-purge`,`restart-purge`,`shutdown-purge`,`dry-run`]}},u,async()=>{if(u.dryRun){a({command:`cf connector-interrupts create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/magic/connectors/${u[`connector-id`]==null?`<connector-id>`:encodeURIComponent(String(u[`connector-id`]))}/interrupts`,pathParams:{"connector-id":String(u[`connector-id`]??``)},bodyKind:`json`,body:u.body===void 0?l({reboot:{purge:u[`reboot-purge`]},restart:{purge:u[`restart-purge`]},shutdown:{purge:u[`shutdown-purge`]}}):c(u.body)});return}let s=await r(u),d=u.local?e:await n();if(u.accountId=d,u.body){let e=c(u.body);i(await o(`Creating`,async()=>s.connectorInterrupts.create({...e,account_id:d,connector_id:u[`connector-id`]})),{successLabel:`Created`});return}let f=l({reboot:{purge:u[`reboot-purge`]},restart:{purge:u[`restart-purge`]},shutdown:{purge:u[`shutdown-purge`]}});i(await o(`Creating`,async()=>s.connectorInterrupts.create({...f,account_id:d,connector_id:u[`connector-id`]})),{successLabel:`Created`})})};function f(e){return e.usage(`$0 connector-interrupts list
5
5
 
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import{t as e}from"./local-OKXweFsd.mjs";import{a as t,t as n}from"./context-Dzzbc9RK.mjs";import{r}from"./auth-B5p3SIhO.mjs";import{t as i}from"./output-CZt-berV.mjs";import{t as a}from"./dry-run-BmzTxDtZ.mjs";import{t as o}from"./progress-C9dWgc3J.mjs";import{t as s}from"./run-DK1d9BJz.mjs";import"./telemetry-C0k8vfbq.mjs";function c(e){return e.usage(`$0 connector-telemetry-events get <event-n>
2
+ import{t as e}from"./local-B3OyWKkW.mjs";import{a as t,t as n}from"./context-BsGrhAqB.mjs";import{r}from"./auth-BYFcxn1F.mjs";import{t as i}from"./output-CvQFJkvi.mjs";import{t as a}from"./dry-run-Bq0JAsbX.mjs";import{t as o}from"./progress-5nsUpQL6.mjs";import{t as s}from"./run-UHTbUldP.mjs";import"./telemetry-C3hmM9Q9.mjs";function c(e){return e.usage(`$0 connector-telemetry-events get <event-n>
3
3
 
4
4
  Gets Magic WAN Connector Telemetry Event`).positional(`event-n`,{type:`string`,description:`Event n`,demandOption:!0}).option(`connector-id`,{type:`string`,description:`Connector ID`,demandOption:!0}).option(`event-t`,{type:`string`,description:`Event t`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const l={command:`get <event-n>`,describe:`Get Event`,builder:c,handler:async c=>s({command:`connector-telemetry-events get`,classification:{safeFlags:[`dry-run`]}},c,async()=>{if(c.dryRun){a({command:`cf connector-telemetry-events get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/magic/connectors/${c[`connector-id`]==null?`<connector-id>`:encodeURIComponent(String(c[`connector-id`]))}/telemetry/events/${c[`event-t`]==null?`<event-t>`:encodeURIComponent(String(c[`event-t`]))}.${c[`event-n`]==null?`<event-n>`:encodeURIComponent(String(c[`event-n`]))}`,pathParams:{"connector-id":String(c[`connector-id`]??``),"event-t":String(c[`event-t`]??``),"event-n":String(c[`event-n`]??``)},bodyKind:`none`});return}let s=await r(c),l=c.local?e:await n();c.accountId=l,i(await o(`Loading`,async()=>s.connectorTelemetryEvents.get({account_id:l,connector_id:c[`connector-id`],event_t:c[`event-t`],event_n:c[`event-n`]})),{successLabel:`Loaded`})})};function u(e){return e.usage(`$0 connector-telemetry-events list
5
5
 
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import{t as e}from"./local-OKXweFsd.mjs";import{a as t,t as n}from"./context-Dzzbc9RK.mjs";import{r}from"./auth-B5p3SIhO.mjs";import{t as i}from"./output-CZt-berV.mjs";import{t as a}from"./dry-run-BmzTxDtZ.mjs";import{t as o}from"./progress-C9dWgc3J.mjs";import{t as s}from"./run-DK1d9BJz.mjs";import"./telemetry-C0k8vfbq.mjs";function c(e){return e.usage(`$0 connector-telemetry-snapshots get <snapshot-t>
2
+ import{t as e}from"./local-B3OyWKkW.mjs";import{a as t,t as n}from"./context-BsGrhAqB.mjs";import{r}from"./auth-BYFcxn1F.mjs";import{t as i}from"./output-CvQFJkvi.mjs";import{t as a}from"./dry-run-Bq0JAsbX.mjs";import{t as o}from"./progress-5nsUpQL6.mjs";import{t as s}from"./run-UHTbUldP.mjs";import"./telemetry-C3hmM9Q9.mjs";function c(e){return e.usage(`$0 connector-telemetry-snapshots get <snapshot-t>
3
3
 
4
4
  Gets Magic WAN Connector Telemetry Snapshot`).positional(`snapshot-t`,{type:`string`,description:`Snapshot t`,demandOption:!0}).option(`connector-id`,{type:`string`,description:`Connector ID`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const l={command:`get <snapshot-t>`,describe:`Get Snapshot`,builder:c,handler:async c=>s({command:`connector-telemetry-snapshots get`,classification:{safeFlags:[`dry-run`]}},c,async()=>{if(c.dryRun){a({command:`cf connector-telemetry-snapshots get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/magic/connectors/${c[`connector-id`]==null?`<connector-id>`:encodeURIComponent(String(c[`connector-id`]))}/telemetry/snapshots/${c[`snapshot-t`]==null?`<snapshot-t>`:encodeURIComponent(String(c[`snapshot-t`]))}`,pathParams:{"connector-id":String(c[`connector-id`]??``),"snapshot-t":String(c[`snapshot-t`]??``)},bodyKind:`none`});return}let s=await r(c),l=c.local?e:await n();c.accountId=l,i(await o(`Loading`,async()=>s.connectorTelemetrySnapshots.get({account_id:l,connector_id:c[`connector-id`],snapshot_t:c[`snapshot-t`]})),{successLabel:`Loaded`})})};function u(e){return e.usage(`$0 connector-telemetry-snapshots list
5
5
 
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import{t as e}from"./local-OKXweFsd.mjs";import{a as t,t as n}from"./context-Dzzbc9RK.mjs";import{r}from"./auth-B5p3SIhO.mjs";import{t as i}from"./output-CZt-berV.mjs";import{t as a}from"./dry-run-BmzTxDtZ.mjs";import{t as o}from"./progress-C9dWgc3J.mjs";import{t as s}from"./run-DK1d9BJz.mjs";import"./telemetry-C0k8vfbq.mjs";import{n as c,t as l}from"./body-parser-BpPZBRMr.mjs";import{n as u}from"./input-validation-D3e278L_.mjs";import{n as d}from"./prompt-Mh69ni1N.mjs";import{t as f}from"./cli-types-B6tm-8uL.mjs";function p(e){return e.usage(`$0 connectors create
2
+ import{t as e}from"./local-B3OyWKkW.mjs";import{a as t,t as n}from"./context-BsGrhAqB.mjs";import{r}from"./auth-BYFcxn1F.mjs";import{t as i}from"./output-CvQFJkvi.mjs";import{t as a}from"./dry-run-Bq0JAsbX.mjs";import{t as o}from"./progress-5nsUpQL6.mjs";import{t as s}from"./run-UHTbUldP.mjs";import"./telemetry-C3hmM9Q9.mjs";import{n as c,t as l}from"./body-parser-hh2avzkz.mjs";import{n as u}from"./input-validation-Dk52b0me.mjs";import{n as d}from"./prompt-Ba_bys2F.mjs";import{t as f}from"./cli-types-DoVT5q_M.mjs";function p(e){return e.usage(`$0 connectors create
3
3
 
4
4
  Creates a Magic WAN Connector.`).option(`device-id`,{type:`string`,description:`The device.id field`}).option(`device-provision-license`,{type:`boolean`,description:`When true, create and provision a new licence key for the connector.`}).option(`device-serial-number`,{type:`string`,description:`The device.serial_number field`}).option(`activated`,{type:`boolean`,description:`The activated field`}).option(`interrupt-window-days-of-week`,{type:`string`,array:!0,description:`Allowed days of the week for upgrades. Default is all days.`}).option(`interrupt-window-duration-hours`,{type:`number`,description:`The interrupt_window_duration_hours field`}).option(`interrupt-window-embargo-dates`,{type:`string`,array:!0,description:`List of dates (YYYY-MM-DD) when upgrades are blocked.`}).option(`interrupt-window-hour-of-day`,{type:`number`,description:`The interrupt_window_hour_of_day field`}).option(`notes`,{type:`string`,description:`The notes field`}).option(`timezone`,{type:`string`,description:`The timezone 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 m={command:`create`,describe:`Create Connector`,builder:p,handler:async d=>s({command:`connectors create`,classification:{safeFlags:[`device-provision-license`,`activated`,`dry-run`]}},d,async()=>{if(d.dryRun){a({command:`cf connectors create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/magic/connectors`,pathParams:{},bodyKind:`json`,body:d.body===void 0?l({device:{id:u(d[`device-id`],`device-id`,`text`),provision_license:d[`device-provision-license`],serial_number:u(d[`device-serial-number`],`device-serial-number`,`text`)},activated:d.activated,interrupt_window_days_of_week:d[`interrupt-window-days-of-week`],interrupt_window_duration_hours:d[`interrupt-window-duration-hours`],interrupt_window_embargo_dates:d[`interrupt-window-embargo-dates`],interrupt_window_hour_of_day:d[`interrupt-window-hour-of-day`],notes:u(d.notes,`notes`,`text`),timezone:u(d.timezone,`timezone`,`text`)}):c(d.body)});return}let s=await r(d),f=d.local?e:await n();if(d.accountId=f,d.body){let e=c(d.body);i(await o(`Creating`,async()=>s.connectors.create({...e,account_id:f})),{successLabel:`Created`});return}let p=l({device:{id:u(d[`device-id`],`device-id`,`text`),provision_license:d[`device-provision-license`],serial_number:u(d[`device-serial-number`],`device-serial-number`,`text`)},activated:d.activated,interrupt_window_days_of_week:d[`interrupt-window-days-of-week`],interrupt_window_duration_hours:d[`interrupt-window-duration-hours`],interrupt_window_embargo_dates:d[`interrupt-window-embargo-dates`],interrupt_window_hour_of_day:d[`interrupt-window-hour-of-day`],notes:u(d.notes,`notes`,`text`),timezone:u(d.timezone,`timezone`,`text`)});i(await o(`Creating`,async()=>s.connectors.create({...p,account_id:f})),{successLabel:`Created`})})};function h(e){return e.usage(`$0 connectors delete <connector-id>
5
5
 
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import{G as e}from"./dist-cGGV-p_F.mjs";import{a as t}from"./banner-Xk4xBN8U.mjs";import{t as n}from"./local-OKXweFsd.mjs";import{a as r,n as i,t as a}from"./context-Dzzbc9RK.mjs";import{n as o}from"./request-headers-DFBBErJg.mjs";import{i as s,r as c}from"./auth-B5p3SIhO.mjs";import{t as l}from"./output-CZt-berV.mjs";import{t as u}from"./dry-run-BmzTxDtZ.mjs";import{t as d}from"./progress-C9dWgc3J.mjs";import{n as f,t as p}from"./run-DK1d9BJz.mjs";import"./telemetry-C0k8vfbq.mjs";import{n as m,r as h,t as g}from"./body-parser-BpPZBRMr.mjs";import{n as _}from"./input-validation-D3e278L_.mjs";import{a as v,i as y,n as b}from"./prompt-Mh69ni1N.mjs";import{t as x}from"./cli-types-B6tm-8uL.mjs";import{D as S,T as C,_ as w,d as T,f as E,g as D,l as ee,m as te,o as O,w as k,x as A,y as j}from"./dist-CmyJy57B.mjs";function M(e){return e.positional(`path`,{type:`string`,demandOption:!0,description:`Directory containing the Dockerfile to build`}).option(`tag`,{alias:`t`,type:`string`,demandOption:!0,description:`Name and optional tag for the built image`}).option(`push`,{alias:`p`,type:`boolean`,default:!1,description:`Push the built image to Cloudflare's managed registry`}).option(`path-to-docker`,{type:`string`,description:`Path to the Docker binary if it is not on PATH`})}var N=f({command:`build <path>`,describe:`Build a Container image`,builder:M,handler:async t=>{if(t.local)throw Error("--local is not supported with `cf containers build`.");let n={compliance_region:t.push?await i():`public`},r=t.push?await s():``,o=S(r);D({logger:o.logger,fetchResult:o.fetchResult,fetchPagedListResult:o.fetchPagedListResult}),t.push&&T(await a(),r,e(n)),await ee({PATH:t.path,tag:t.tag,push:t.push,pathToDocker:t[`path-to-docker`]},n)}},{command:`containers build`,classification:{safeFlags:[`push`],shortFlagAliases:{p:{canonical:`push`,type:`boolean`},t:{canonical:`tag`,type:`value`}}}});function P(e){return e.option(`tag`,{alias:`t`,type:`string`,demandOption:!0,description:`Tag of the local image to push`}).option(`path-to-docker`,{type:`string`,description:`Path to the Docker binary if it is not on PATH`})}var F=f({command:`push`,describe:`Push a local image to the Cloudflare managed registry`,builder:P,handler:async t=>{if(t.local)throw Error("--local is not supported with `cf containers push`.");let n=await s(),r=await a(),o={compliance_region:await i()},c=S(n);D({logger:c.logger,fetchResult:c.fetchResult,fetchPagedListResult:c.fetchPagedListResult}),T(r,n,e(o)),await A({TAG:t.tag,pathToDocker:t[`path-to-docker`]},r,o)}},{command:`containers push`,classification:{safeFlags:[],shortFlagAliases:{t:{canonical:`tag`,type:`value`}}}});function I(e){return e.positional(`id`,{type:`string`,demandOption:!0,description:`ID of the container instance`}).positional(`ssh-command`,{type:`string`,array:!0,description:`Command and arguments to run in the container`}).options(E).middleware(e=>{k(e)&&(e.quiet=!0)},!0).parserConfiguration({"populate--":!0,"unknown-options-as-args":!0,"parse-positional-numbers":!1})}const L={command:`ssh <id> [ssh-command..]`,describe:`SSH into a container`,builder:I,handler:async t=>{if(t.local)throw Error("--local is not supported with `cf containers ssh`.");let n=await s(),r=await a(),c={compliance_region:await i()},l=S(n);D({logger:l.logger,fetchResult:l.fetchResult}),O.HEADERS=o(),T(r,n,e(c)),await C({...t,id:t.id,command:[...t[`ssh-command`]??[],...Array.isArray(t[`--`])?t[`--`].map(String):[]]})}},R=f(L,{command:`containers ssh`,recordArgs:!1});var z={...R,handler:async e=>{if(k(e)){let{markCommandReported:t}=await import(`./telemetry-IrDBqbQW.mjs`);return t(),L.handler(e)}return R.handler(e)}};function B(e){return e.usage('$0 containers applications create\n\nCreate a Containers application. Use `scheduling_policy: "default"` for a scheduler-backed application. The Containers scheduler maintains the requested instance count and manages deployment configuration, placement, scaling, versions, and rollouts. Use `scheduling_policy: "durable_object"` for a Durable Object-managed application. Each Durable Object creates and manages the lifecycle of its container instance. Supply `name`, `scheduling_policy`, and `durable_objects`, with optional `configuration` and optional top-level `observability` settings. Deployment configuration, scaling, constraints, versions, and rollouts do not apply.').option(`configuration-command`,{type:`string`,array:!0,description:`The command that runs when the container starts, passed to the entrypoint.
2
+ import{G as e}from"./dist-DfMipWKR.mjs";import{a as t}from"./banner-ClclgnBn.mjs";import{t as n}from"./local-B3OyWKkW.mjs";import{a as r,n as i,t as a}from"./context-BsGrhAqB.mjs";import{n as o}from"./request-headers-sc4CaZX0.mjs";import{i as s,r as c}from"./auth-BYFcxn1F.mjs";import{t as l}from"./output-CvQFJkvi.mjs";import{t as u}from"./dry-run-Bq0JAsbX.mjs";import{t as d}from"./progress-5nsUpQL6.mjs";import{n as f,t as p}from"./run-UHTbUldP.mjs";import"./telemetry-C3hmM9Q9.mjs";import{n as m,r as h,t as g}from"./body-parser-hh2avzkz.mjs";import{n as _}from"./input-validation-Dk52b0me.mjs";import{a as v,i as y,n as b}from"./prompt-Ba_bys2F.mjs";import{t as x}from"./cli-types-DoVT5q_M.mjs";import{D as S,T as C,_ as w,d as T,f as E,g as D,l as ee,m as te,o as O,w as k,x as A,y as j}from"./dist-DTN-pqSs.mjs";function M(e){return e.positional(`path`,{type:`string`,demandOption:!0,description:`Directory containing the Dockerfile to build`}).option(`tag`,{alias:`t`,type:`string`,demandOption:!0,description:`Name and optional tag for the built image`}).option(`push`,{alias:`p`,type:`boolean`,default:!1,description:`Push the built image to Cloudflare's managed registry`}).option(`path-to-docker`,{type:`string`,description:`Path to the Docker binary if it is not on PATH`})}var N=f({command:`build <path>`,describe:`Build a Container image`,builder:M,handler:async t=>{if(t.local)throw Error("--local is not supported with `cf containers build`.");let n={compliance_region:t.push?await i():`public`},r=t.push?await s():``,o=S(r);D({logger:o.logger,fetchResult:o.fetchResult,fetchPagedListResult:o.fetchPagedListResult}),t.push&&T(await a(),r,e(n)),await ee({PATH:t.path,tag:t.tag,push:t.push,pathToDocker:t[`path-to-docker`]},n)}},{command:`containers build`,classification:{safeFlags:[`push`],shortFlagAliases:{p:{canonical:`push`,type:`boolean`},t:{canonical:`tag`,type:`value`}}}});function P(e){return e.option(`tag`,{alias:`t`,type:`string`,demandOption:!0,description:`Tag of the local image to push`}).option(`path-to-docker`,{type:`string`,description:`Path to the Docker binary if it is not on PATH`})}var F=f({command:`push`,describe:`Push a local image to the Cloudflare managed registry`,builder:P,handler:async t=>{if(t.local)throw Error("--local is not supported with `cf containers push`.");let n=await s(),r=await a(),o={compliance_region:await i()},c=S(n);D({logger:c.logger,fetchResult:c.fetchResult,fetchPagedListResult:c.fetchPagedListResult}),T(r,n,e(o)),await A({TAG:t.tag,pathToDocker:t[`path-to-docker`]},r,o)}},{command:`containers push`,classification:{safeFlags:[],shortFlagAliases:{t:{canonical:`tag`,type:`value`}}}});function I(e){return e.positional(`id`,{type:`string`,demandOption:!0,description:`ID of the container instance`}).positional(`ssh-command`,{type:`string`,array:!0,description:`Command and arguments to run in the container`}).options(E).middleware(e=>{k(e)&&(e.quiet=!0)},!0).parserConfiguration({"populate--":!0,"unknown-options-as-args":!0,"parse-positional-numbers":!1})}const L={command:`ssh <id> [ssh-command..]`,describe:`SSH into a container`,builder:I,handler:async t=>{if(t.local)throw Error("--local is not supported with `cf containers ssh`.");let n=await s(),r=await a(),c={compliance_region:await i()},l=S(n);D({logger:l.logger,fetchResult:l.fetchResult}),O.HEADERS=o(),T(r,n,e(c)),await C({...t,id:t.id,command:[...t[`ssh-command`]??[],...Array.isArray(t[`--`])?t[`--`].map(String):[]]})}},R=f(L,{command:`containers ssh`,recordArgs:!1});var z={...R,handler:async e=>{if(k(e)){let{markCommandReported:t}=await import(`./telemetry-DbAo3nvk.mjs`);return t(),L.handler(e)}return R.handler(e)}};function B(e){return e.usage('$0 containers applications create\n\nCreate a Containers application. Use `scheduling_policy: "default"` for a scheduler-backed application. The Containers scheduler maintains the requested instance count and manages deployment configuration, placement, scaling, versions, and rollouts. Use `scheduling_policy: "durable_object"` for a Durable Object-managed application. Each Durable Object creates and manages the lifecycle of its container instance. Supply `name`, `scheduling_policy`, and `durable_objects`, with optional `configuration` and optional top-level `observability` settings. Deployment configuration, scaling, constraints, versions, and rollouts do not apply.').option(`configuration-command`,{type:`string`,array:!0,description:`The command that runs when the container starts, passed to the entrypoint.
3
3
  You can override this at run-time. If you override only the command,
4
4
  it gets passed to the default entrypoint specified in the image.
5
5
  `}).option(`configuration-entrypoint`,{type:`string`,array:!0,description:`The entry point for the container, specifying the executable to run when the container starts.