cf 1.0.0-beta.13 → 1.0.0-beta.15

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 (443) hide show
  1. package/README.md +10 -0
  2. package/dist/_meta/commands.json +5039 -2465
  3. package/dist/_meta/hand-written-commands.json +375 -22
  4. package/dist/_meta/schemas.json +2607 -1038
  5. package/dist/abuse-reports-CnQBtN1G.mjs +24 -0
  6. package/dist/access-BzmXSwzj.mjs +2 -0
  7. package/dist/account-tags-2qPWbW17.mjs +15 -0
  8. package/dist/accounts-B0Byg-AV.mjs +132 -0
  9. package/dist/acm-DgAu0cnk.mjs +15 -0
  10. package/dist/addressing-J1oa0ML2.mjs +105 -0
  11. package/dist/agent-memory-4KGou-tm.mjs +34 -0
  12. package/dist/ai-WY7wVQfA.mjs +31 -0
  13. package/dist/ai-audit-D38HaEoZ.mjs +6 -0
  14. package/dist/ai-gateway-C0gIipT8.mjs +80 -0
  15. package/dist/ai-search-ClwnPU-9.mjs +79 -0
  16. package/dist/ai-security-BIsvFPYV.mjs +10 -0
  17. package/dist/alerting-MHhv28oO.mjs +56 -0
  18. package/dist/analytics-BfBz7bqB.mjs +17 -0
  19. package/dist/analytics_engine-CXVdBF1n.mjs +4 -0
  20. package/dist/api-eMuS5GI1.mjs +3 -0
  21. package/dist/api-security-DUCfcdC1.mjs +154 -0
  22. package/dist/argo-CUlzI4v3.mjs +14 -0
  23. package/dist/artifacts-BLfWGzBg.mjs +43 -0
  24. package/dist/audit-logs-CsfIm2QS.mjs +4 -0
  25. package/dist/auth-8Sm4uLGM.mjs +2 -0
  26. package/dist/auth-C6u9qIGO.mjs +2 -0
  27. package/dist/auth-CGRemu5W.mjs +2 -0
  28. package/dist/{auth-token-pNQrX_9O.mjs → auth-token-DkkYg4DP.mjs} +1 -1
  29. package/dist/{autoconfig-sD7Frryg.mjs → autoconfig-B0ESZ8DJ.mjs} +2 -2
  30. package/dist/basin-catalog-CrKRYJ0b.mjs +46 -0
  31. package/dist/billing-NxehgXrR.mjs +23 -0
  32. package/dist/blocks-Bat9A8V_.mjs +5 -0
  33. package/dist/bot-management-C993iQKL.mjs +9 -0
  34. package/dist/botnet-feed-CZ4vYk5y.mjs +11 -0
  35. package/dist/brand-protection-ADVgIi0l.mjs +27 -0
  36. package/dist/browser-run-CEptKZYl.mjs +42 -0
  37. package/dist/build-Bm6kGyzo.mjs +2 -0
  38. package/dist/{build-HmSXqjGn.mjs → build-sBpqm9ga.mjs} +1 -1
  39. package/dist/builds-DqtiTH7p.mjs +71 -0
  40. package/dist/cache-hX5QxmI0.mjs +45 -0
  41. package/dist/certificate-authorities-BOcybjc1.mjs +6 -0
  42. package/dist/cf-Bq4pA4n6.mjs +18 -0
  43. package/dist/{chunk-TAK63GWY-DdMktrgc.mjs → chunk-2HLTAS5V-D7COzUOd.mjs} +2 -2
  44. package/dist/chunk-2K52M2W5-CYxfQXUq.mjs +363 -0
  45. package/dist/{chunk-DSGVRFIS-C1_SEtRK.mjs → chunk-DSGVRFIS-C5SqiTOz.mjs} +1 -1
  46. package/dist/{cli-DeJc9U8z.mjs → cli-R8h3OKZI.mjs} +1 -1
  47. package/dist/client-certificates-Bez_ArKE.mjs +13 -0
  48. package/dist/client-side-security-CSmA50Bv.mjs +63 -0
  49. package/dist/cloud-connector-0Wivqi7S.mjs +6 -0
  50. package/dist/{cloudflared--1Ws1RJy.mjs → cloudflared-By8BzYXc.mjs} +1 -1
  51. package/dist/cloudforce-one-J-rU6k1U.mjs +405 -0
  52. package/dist/{command-Dh7RmjFu.mjs → command-0BOb1pgV.mjs} +1 -1
  53. package/dist/{command-DUhX8Dcr.mjs → command-BCJN-ZM2.mjs} +1 -1
  54. package/dist/{command-BvfKhMl7.mjs → command-BG-kLOnS.mjs} +1 -1
  55. package/dist/{command-Cu7dcaHT.mjs → command-BIsI-mMX.mjs} +1 -1
  56. package/dist/{command-83uVfXh9.mjs → command-BKDbbA-L.mjs} +1 -1
  57. package/dist/command-BWQIKu6I.mjs +2 -0
  58. package/dist/{command-D3fyhdy-.mjs → command-Bdy69UFU.mjs} +1 -1
  59. package/dist/{command-BDe67N_n.mjs → command-Bgb-3yPg.mjs} +1 -1
  60. package/dist/{command-_rqD0hXF.mjs → command-C6w1OdoC.mjs} +1 -1
  61. package/dist/{command-oNVwyjGB.mjs → command-CKW6UhTh.mjs} +1 -1
  62. package/dist/{command-Bpzp8Mz2.mjs → command-DCQgsd2U.mjs} +1 -1
  63. package/dist/{command-CcuLC6CJ.mjs → command-DIs-Nqtl.mjs} +1 -1
  64. package/dist/command-DPn5ANHs.mjs +2 -0
  65. package/dist/{command-CG6RvZs0.mjs → command-DZfKHiru.mjs} +1 -1
  66. package/dist/{command-BlIb6RR2.mjs → command-DppVezAB.mjs} +1 -1
  67. package/dist/{completions-D06AO7A8.mjs → completions-CpNGTlUX.mjs} +1 -1
  68. package/dist/config.mjs +0 -0
  69. package/dist/connector-interrupts-CH-DaLuo.mjs +6 -0
  70. package/dist/connector-telemetry-events-X3Fod9nl.mjs +6 -0
  71. package/dist/connector-telemetry-snapshots-D-WR4npQ.mjs +6 -0
  72. package/dist/connectors-CORKD31m.mjs +15 -0
  73. package/dist/containers-BboUbx3k.mjs +78 -0
  74. package/dist/containers-Di3_Vopq.mjs +376 -0
  75. package/dist/content-scan-DXGREAXa.mjs +14 -0
  76. package/dist/{context-q7UaYK69.mjs → context-A6T-NKPI.mjs} +2 -2
  77. package/dist/cps-1BoOLtTq.mjs +6 -0
  78. package/dist/create-OXylMu6m.mjs +2 -0
  79. package/dist/csamScanner-CHfbfeup.mjs +10 -0
  80. package/dist/ct-alerting-DlH4ILQo.mjs +5 -0
  81. package/dist/custom-certificates-zJqJZ2Th.mjs +17 -0
  82. package/dist/custom-csrs-DoLIGqYL.mjs +11 -0
  83. package/dist/custom-hostnames-YfV-aoAK.mjs +27 -0
  84. package/dist/custom-nameservers-BV43gmgt.mjs +9 -0
  85. package/dist/custom-pages-CoOU1Cdx.mjs +21 -0
  86. package/dist/d1-DujBmzLa.mjs +94 -0
  87. package/dist/dcv-delegation-CPLsVYOl.mjs +4 -0
  88. package/dist/delegate.mjs +0 -0
  89. package/dist/deploy-context-tEhwEXnA.mjs +56 -0
  90. package/dist/{deploy-input-Cc0_2QlW.mjs → deploy-input-BqJ7GVZ-.mjs} +1 -1
  91. package/dist/{deploy-CWNm1-5v.mjs → deploy-wNujfGUJ.mjs} +1 -1
  92. package/dist/{dev-ZA8itQE7.mjs → dev-EtnMYA7K.mjs} +1 -1
  93. package/dist/diagnostics-B3TYPVRi.mjs +15 -0
  94. package/dist/dist-DZRTPMMA.mjs +449 -0
  95. package/dist/dls-CWm1HRF0.mjs +17 -0
  96. package/dist/dns-CjAFU7Z9.mjs +144 -0
  97. package/dist/dns-firewall-BooBP9ap.mjs +71 -0
  98. package/dist/docs-C5XB7HdG.mjs +3 -0
  99. package/dist/{dotenv-DpXaxfho.mjs → dotenv-usOKkeW7.mjs} +3 -3
  100. package/dist/{dry-run-DRj2_uV3.mjs → dry-run-C2KjGX10.mjs} +1 -1
  101. package/dist/durable-objects-CSrMQDCE.mjs +6 -0
  102. package/dist/email-auth-Bp1Mui-n.mjs +6 -0
  103. package/dist/email-routing-CVF6SwQt.mjs +45 -0
  104. package/dist/email-security-mYZtazae.mjs +158 -0
  105. package/dist/email-sending-BqaKU_Xu.mjs +47 -0
  106. package/dist/error-sanitization-CIQOep3I.mjs +2 -0
  107. package/dist/error-sanitization-pOyzm2F1.mjs +2 -0
  108. package/dist/fieldExtractors-CAGZVmYg.mjs +9 -0
  109. package/dist/firewall-DgTDsYOt.mjs +36 -0
  110. package/dist/flagship-Db3PxxyZ.mjs +28 -0
  111. package/dist/fraud-BEOQczy8.mjs +22 -0
  112. package/dist/get-By1q8YlI.mjs +2 -0
  113. package/dist/get-CRKvqCu6.mjs +2 -0
  114. package/dist/get-iPUHxD1r.mjs +2 -0
  115. package/dist/google-tag-gateway-DjLQ9wo0.mjs +6 -0
  116. package/dist/hand-written-dry-run-B82fRl2N.mjs +2 -0
  117. package/dist/healthchecks-C3ScnKss.mjs +22 -0
  118. package/dist/{hostnames-sF999-6H.mjs → hostnames-DU0k-xO9.mjs} +6 -6
  119. package/dist/hyperdrive-IpCCLCRd.mjs +37 -0
  120. package/dist/iam-96CYM8Vw.mjs +52 -0
  121. package/dist/images-AB9EgZgT.mjs +71 -0
  122. package/dist/index.mjs +1 -1
  123. package/dist/{init-1w_mcgk3.mjs → init-D2nPoW4f.mjs} +2 -2
  124. package/dist/intel-BKb4RLvS.mjs +76 -0
  125. package/dist/ips-z9APCV_b.mjs +4 -0
  126. package/dist/k2-Bv-HiJ29.mjs +11 -0
  127. package/dist/keyless-certificates-ChgSGHq4.mjs +13 -0
  128. package/dist/keys-BhngDsDa.mjs +4 -0
  129. package/dist/kv-CB5MQVGP.mjs +15 -0
  130. package/dist/{lazy-command-BDiIwpss.mjs → lazy-command-CaZ1kdlW.mjs} +1 -1
  131. package/dist/leaked-credential-checks-Bsi2WpSU.mjs +18 -0
  132. package/dist/load-balancers-0gXZNCeI.mjs +76 -0
  133. package/dist/{local-DlT72Xpn.mjs → local-Dil4fTWX.mjs} +1 -1
  134. package/dist/local-DxWDQDnG.mjs +2 -0
  135. package/dist/{local-runtime-CokO6qaX.mjs → local-runtime-B7TKFu6E.mjs} +1 -1
  136. package/dist/login-CiQGR8ha.mjs +5 -0
  137. package/dist/login-Ik98G4K6.mjs +2 -0
  138. package/dist/logo-matches-DmoF5Otu.mjs +6 -0
  139. package/dist/logos-BL6ohIMH.mjs +7 -0
  140. package/dist/logpush-UVopW68t.mjs +46 -0
  141. package/dist/logs-BVfxiEiM.mjs +36 -0
  142. package/dist/magic-cloud-networking-B5S3aM6f.mjs +71 -0
  143. package/dist/magic-network-monitoring-CDSJPP47.mjs +36 -0
  144. package/dist/magic-transit-TcDTKM43.mjs +386 -0
  145. package/dist/managed-defense-C88HL0pg.mjs +18 -0
  146. package/dist/managed-transforms-Ja41Tahl.mjs +9 -0
  147. package/dist/matches-BL_Y-9Yq.mjs +6 -0
  148. package/dist/mcp-BWp5Q09R.mjs +32 -0
  149. package/dist/mesh-lFPLRWhV.mjs +26 -0
  150. package/dist/{migrate-CZNq63Uj.mjs → migrate-6e5mJ79R.mjs} +1 -1
  151. package/dist/monetization-BIc4Bwo2.mjs +20 -0
  152. package/dist/mtls-certificates-CVBw-Jli.mjs +13 -0
  153. package/dist/network-Wig0qbaC.mjs +50 -0
  154. package/dist/network-interconnects-C16z1HuQ.mjs +72 -0
  155. package/dist/o11y-Bhy4qDRm.mjs +93 -0
  156. package/dist/oauth-CfEedDZi.mjs +4 -0
  157. package/dist/oauth-clients-eXjmK5yf.mjs +16 -0
  158. package/dist/{oauth-mspHHU5U.mjs → oauth-oWaW7ICv.mjs} +1 -1
  159. package/dist/oauth-scopes-DZWn50EA.mjs +4 -0
  160. package/dist/organization-QdAQTrKa.mjs +71 -0
  161. package/dist/organizations-CgAQYdK5.mjs +4 -0
  162. package/dist/origin-ca-certificates-BklXqp8X.mjs +11 -0
  163. package/dist/origin-post-quantum-encryption-Dg16ueT4.mjs +6 -0
  164. package/dist/origin-tls-client-auth-d8bDU5zU.mjs +30 -0
  165. package/dist/output-Co4xdFf6.mjs +2 -0
  166. package/dist/page-rules-CgMkC6YR.mjs +39 -0
  167. package/dist/pages-CkBtOOf8.mjs +54 -0
  168. package/dist/path-DRw6Y-nd.mjs +2 -0
  169. package/dist/pay-per-crawl-CnGXOWyz.mjs +38 -0
  170. package/dist/pay-per-use-HbfxpATr.mjs +33 -0
  171. package/dist/pipelines-CnO9CCs0.mjs +44 -0
  172. package/dist/precursor-Bc55XJdQ.mjs +4 -0
  173. package/dist/previews-C7vZrajd.mjs +7 -0
  174. package/dist/progress-D5po7ScB.mjs +2 -0
  175. package/dist/prompt-BAJpE3jV.mjs +4 -0
  176. package/dist/queries-BJAH4B74.mjs +9 -0
  177. package/dist/queues-D4G8vvwi.mjs +57 -0
  178. package/dist/r2-CJ8rD6Jb.mjs +128 -0
  179. package/dist/{radar-DrQLcbkq.mjs → radar-DgaxOdcd.mjs} +150 -150
  180. package/dist/raw-fetch-yY-wX5Xx.mjs +2 -0
  181. package/dist/realtime-DU09m7L7.mjs +172 -0
  182. package/dist/registrar-Cj7OfvGs.mjs +43 -0
  183. package/dist/registrar-sandbox-CA0Mua-j.mjs +56 -0
  184. package/dist/{registry-CHowrQsZ.mjs → registry-CRnk93ur.mjs} +1 -1
  185. package/dist/reporting-3kDVF5c8.mjs +14 -0
  186. package/dist/{request-headers-DiJeDAn1.mjs → request-headers-D_eQn93b.mjs} +1 -1
  187. package/dist/request-tracers-VBD4R3s3.mjs +4 -0
  188. package/dist/resolve-BpgXeklt.mjs +2 -0
  189. package/dist/resolve-C3FmNlSO.mjs +2 -0
  190. package/dist/resource-sharing-BtUF3psS.mjs +40 -0
  191. package/dist/resource-tagging--90INP8_.mjs +4 -0
  192. package/dist/rules-CcwPngVo.mjs +18 -0
  193. package/dist/rulesets-CfdruY82.mjs +37 -0
  194. package/dist/rum-RLkdfSL7.mjs +30 -0
  195. package/dist/run-CUNhH5CQ.mjs +2 -0
  196. package/dist/{run-BvHwWWUX.mjs → run-DASYqJsY.mjs} +1 -1
  197. package/dist/{schema-elj12WOx.mjs → schema-S3pUZwpI.mjs} +1 -1
  198. package/dist/{schema-flags-BzoBGPWk.mjs → schema-flags-CShtn7ya.mjs} +1 -1
  199. package/dist/scim-BZYsTPIL.mjs +18 -0
  200. package/dist/secrets-store-C_-FkSH_.mjs +24 -0
  201. package/dist/security-insights-BVBEaZmD.mjs +40 -0
  202. package/dist/security-txt--IoHrHee.mjs +9 -0
  203. package/dist/session-Cq3YNLoI.mjs +2 -0
  204. package/dist/shared-zNQNv1im.mjs +2 -0
  205. package/dist/smart-shield-CByC4_60.mjs +24 -0
  206. package/dist/snippets-DB-jiZAV.mjs +20 -0
  207. package/dist/{spawn-IysxuTNW.mjs → spawn-DQttFH05.mjs} +1 -1
  208. package/dist/spectrum-Bs2g1BmK.mjs +83 -0
  209. package/dist/speed-Bq4evEnJ.mjs +24 -0
  210. package/dist/sql-XGci7hZC.mjs +4 -0
  211. package/dist/src-GiuwAT55.mjs +125 -0
  212. package/dist/ssl-KJTLW1NR.mjs +45 -0
  213. package/dist/{startup-profile-CdJWgNjd.mjs → startup-profile-BOaseXnO.mjs} +1 -1
  214. package/dist/startup-profile-BwEZFVGS.mjs +2 -0
  215. package/dist/{state-BDSvdSdP.mjs → state-Boubf1X6.mjs} +1 -1
  216. package/dist/state-CODDG9Nx.mjs +2 -0
  217. package/dist/stream-BotgYspF.mjs +102 -0
  218. package/dist/submit-C5VytaHP.mjs +4 -0
  219. package/dist/{tags-CA1xMM96.mjs → tags-3Hq-B9qp.mjs} +2 -2
  220. package/dist/{telemetry-Cm39QJ-M.mjs → telemetry-3FJOXl_C.mjs} +1 -1
  221. package/dist/telemetry-BhKfwxyh.mjs +2 -0
  222. package/dist/tenant-BgX5onPc.mjs +10 -0
  223. package/dist/tenant-custom-nameservers-BVG8v1Xo.mjs +9 -0
  224. package/dist/theme-BGHWSKCw.mjs +6 -0
  225. package/dist/{tools-CSc5DmFi.mjs → tools-BCCRUENY.mjs} +1 -1
  226. package/dist/tunnels-CThOI3qH.mjs +29 -0
  227. package/dist/turnstile-BgZaUx-g.mjs +33 -0
  228. package/dist/ui-BtIBQeaG.mjs +2 -0
  229. package/dist/update-check-Yy7Ivq2V.mjs +2 -0
  230. package/dist/{update-check-CMXSdres.mjs → update-check-jb89ih_g.mjs} +1 -1
  231. package/dist/update-check-worker.mjs +1 -1
  232. package/dist/url-info-DQERN0Xq.mjs +4 -0
  233. package/dist/url-normalization-Cb1hofqv.mjs +9 -0
  234. package/dist/url-scanner-gHgx1bW7.mjs +16 -0
  235. package/dist/user-CdKzIuSi.mjs +112 -0
  236. package/dist/values-EwA8Sx0w.mjs +4 -0
  237. package/dist/vectorize-DejgIJIv.mjs +32 -0
  238. package/dist/version-B6MnUIqV.mjs +2 -0
  239. package/dist/waiting-rooms-BNR1HvAP.mjs +53 -0
  240. package/dist/web-assets-iglnzkTV.mjs +64 -0
  241. package/dist/web3-JBUU6IVt.mjs +28 -0
  242. package/dist/workers-CDp4kLTJ.mjs +40 -0
  243. package/dist/workers-builds-CSb9Dglt.mjs +14 -0
  244. package/dist/workers-for-platforms-D4srNZvt.mjs +40 -0
  245. package/dist/workers-vpc-LPC8TadH.mjs +13 -0
  246. package/dist/workflows-DN_VqWJC.mjs +52 -0
  247. package/dist/{wrangler-migration-C6FKHER1.mjs → wrangler-migration-DxTB5yPT.mjs} +1 -1
  248. package/dist/zaraz-DDErl5yc.mjs +22 -0
  249. package/dist/zero-trust-M88XX3uD.mjs +957 -0
  250. package/dist/zone-BsGvedmN.mjs +4 -0
  251. package/dist/zones-l_sRKrVl.mjs +124 -0
  252. package/package.json +17 -20
  253. package/dist/Page-BShsqCXr.mjs +0 -2
  254. package/dist/abuse-reports-BjU1s8cf.mjs +0 -24
  255. package/dist/access-C_G2MZnA.mjs +0 -2
  256. package/dist/account-tags-CaXDDeZ4.mjs +0 -15
  257. package/dist/accounts-BALwxDQY.mjs +0 -131
  258. package/dist/acm-CP9EaXQN.mjs +0 -15
  259. package/dist/addressing-DRlaxqrI.mjs +0 -93
  260. package/dist/agent-memory-vGhlfZBx.mjs +0 -34
  261. package/dist/ai-CJtbWfB9.mjs +0 -31
  262. package/dist/ai-audit-C0BJNqZZ.mjs +0 -6
  263. package/dist/ai-gateway-BQtv3U3x.mjs +0 -80
  264. package/dist/ai-search-DGU1Y5By.mjs +0 -79
  265. package/dist/ai-security-CFTaYk_X.mjs +0 -10
  266. package/dist/alerting-1hun27JC.mjs +0 -56
  267. package/dist/analytics-DXUSjvzT.mjs +0 -17
  268. package/dist/analytics_engine-CQsnL09C.mjs +0 -4
  269. package/dist/api-security-BXhrfR6-.mjs +0 -154
  270. package/dist/argo-LPUCTnee.mjs +0 -14
  271. package/dist/args-CfbYkeXd.mjs +0 -2
  272. package/dist/artifacts-Dt6easua.mjs +0 -43
  273. package/dist/audit-logs-CVznAM2Z.mjs +0 -4
  274. package/dist/auth-CGLsxbc6.mjs +0 -2
  275. package/dist/auth-CrmVwfpJ.mjs +0 -2
  276. package/dist/auth-eQr-kQCH.mjs +0 -2
  277. package/dist/banner-D03JEqRs.mjs +0 -2
  278. package/dist/basin-catalog-ZQICw-zF.mjs +0 -46
  279. package/dist/billing-Dy1-dV_B.mjs +0 -23
  280. package/dist/bot-management-DTgPwL7O.mjs +0 -9
  281. package/dist/botnet-feed-xb98Cj3Y.mjs +0 -11
  282. package/dist/brand-protection-Ck3okE2k.mjs +0 -27
  283. package/dist/browser-run-DJGJSzFX.mjs +0 -42
  284. package/dist/build-B1L6xrgC.mjs +0 -2
  285. package/dist/builds-CYxcZtkG.mjs +0 -71
  286. package/dist/cache-D9tSfovH.mjs +0 -45
  287. package/dist/certificate-authorities-CpiveTFC.mjs +0 -6
  288. package/dist/cf-BxsXrVeh.mjs +0 -18
  289. package/dist/chunk-NDZDTP46-Bjx_wtJe.mjs +0 -361
  290. package/dist/cli-types-9oYmRTHJ.mjs +0 -2
  291. package/dist/client-certificates-CF6YZyvP.mjs +0 -13
  292. package/dist/client-side-security-BLoe9kS5.mjs +0 -63
  293. package/dist/cloud-connector-DXRUHsjt.mjs +0 -6
  294. package/dist/cloudforce-one-CBLxXi6v.mjs +0 -447
  295. package/dist/command-DwXiDOeH.mjs +0 -2
  296. package/dist/command-UiHLJ8Ji.mjs +0 -2
  297. package/dist/connector-interrupts-DelTmNyw.mjs +0 -6
  298. package/dist/connector-telemetry-events-BwxR3G8d.mjs +0 -6
  299. package/dist/connector-telemetry-snapshots-Bqq-hrpJ.mjs +0 -6
  300. package/dist/connectors-D-m3rEpk.mjs +0 -15
  301. package/dist/containers-CVNfEjJs.mjs +0 -78
  302. package/dist/containers-DeoZyeQe.mjs +0 -375
  303. package/dist/content-scan-W0BNzbQp.mjs +0 -14
  304. package/dist/cps-BZ6hqRb5.mjs +0 -6
  305. package/dist/csamScanner-Bo1t3CLh.mjs +0 -10
  306. package/dist/ct-alerting-E03faC7p.mjs +0 -5
  307. package/dist/custom-certificates-CUySSPzi.mjs +0 -17
  308. package/dist/custom-csrs-gNpWkJPQ.mjs +0 -11
  309. package/dist/custom-hostnames-abGBAbx7.mjs +0 -27
  310. package/dist/custom-nameservers-BgNXol1P.mjs +0 -9
  311. package/dist/custom-pages-DMKX3aoD.mjs +0 -21
  312. package/dist/d1-CE08YqYk.mjs +0 -93
  313. package/dist/dcv-delegation-B5YUEWu0.mjs +0 -4
  314. package/dist/deploy-context-Dr6bxNcB.mjs +0 -56
  315. package/dist/diagnostics-UMbG6m4n.mjs +0 -15
  316. package/dist/dist-BHEmAAHr.mjs +0 -487
  317. package/dist/dls-DIl16mLp.mjs +0 -17
  318. package/dist/dns-QUpgljRG.mjs +0 -144
  319. package/dist/dns-firewall-BZwJXHLj.mjs +0 -71
  320. package/dist/durable-objects-BCj4ykpU.mjs +0 -6
  321. package/dist/email-auth-DlHIYhCk.mjs +0 -6
  322. package/dist/email-routing-UKVS4DYy.mjs +0 -45
  323. package/dist/email-security-CZjfRIg0.mjs +0 -158
  324. package/dist/email-sending-Dquc880C.mjs +0 -47
  325. package/dist/error-sanitization-DE_zSrXw.mjs +0 -2
  326. package/dist/error-sanitization-DOCQ9Ykh.mjs +0 -2
  327. package/dist/errors-_sob7Ihu.mjs +0 -3
  328. package/dist/fieldExtractors-BbwDRquU.mjs +0 -9
  329. package/dist/firewall--mTfDnCJ.mjs +0 -36
  330. package/dist/flagship-cfoSwwM9.mjs +0 -28
  331. package/dist/fraud-Dcsq3EYK.mjs +0 -22
  332. package/dist/google-tag-gateway-DPKSkZQi.mjs +0 -6
  333. package/dist/healthchecks-D78hIIBC.mjs +0 -22
  334. package/dist/hyperdrive-qWACKfA4.mjs +0 -37
  335. package/dist/iam-Bvg_PayW.mjs +0 -52
  336. package/dist/images-DI_lEZ4L.mjs +0 -71
  337. package/dist/intel-BxElBUMP.mjs +0 -76
  338. package/dist/ips-DWoaKxi7.mjs +0 -4
  339. package/dist/k2-tFjaftl-.mjs +0 -11
  340. package/dist/keyless-certificates-BrvxHU4J.mjs +0 -13
  341. package/dist/keys-DcwTYKRf.mjs +0 -4
  342. package/dist/kv-htXS-7uP.mjs +0 -15
  343. package/dist/leaked-credential-checks-bvGrLOmQ.mjs +0 -18
  344. package/dist/load-balancers-BNTUt4yG.mjs +0 -76
  345. package/dist/local-DlDumOSC.mjs +0 -2
  346. package/dist/login-BGF_I_LT.mjs +0 -5
  347. package/dist/login-Ccw-mYwT.mjs +0 -2
  348. package/dist/logo-matches-tE8LTKgg.mjs +0 -6
  349. package/dist/logos-Bj845Mcw.mjs +0 -7
  350. package/dist/logpush-Cs8JdvKi.mjs +0 -46
  351. package/dist/logs-C92XZvNu.mjs +0 -36
  352. package/dist/magic-cloud-networking-hNp5MMw-.mjs +0 -71
  353. package/dist/magic-network-monitoring-68GuWAnv.mjs +0 -36
  354. package/dist/magic-transit-DNd7gu4j.mjs +0 -383
  355. package/dist/managed-defense-B_wCAuFD.mjs +0 -18
  356. package/dist/managed-transforms-DZdxHPOh.mjs +0 -9
  357. package/dist/matches-B65CkflD.mjs +0 -6
  358. package/dist/mcp-DrJW5ayK.mjs +0 -32
  359. package/dist/mesh-DfVzYTn1.mjs +0 -26
  360. package/dist/monetization-BGaI8CMO.mjs +0 -20
  361. package/dist/mtls-certificates-BsU2emDD.mjs +0 -13
  362. package/dist/network-BEMD8P0U.mjs +0 -50
  363. package/dist/network-interconnects-DMu_fcbo.mjs +0 -68
  364. package/dist/o11y-C1a4gDGF.mjs +0 -93
  365. package/dist/oauth-Bj5Ne1o8.mjs +0 -9
  366. package/dist/oauth-clients-p4Etdqy_.mjs +0 -16
  367. package/dist/oauth-scopes-B2IabFza.mjs +0 -4
  368. package/dist/organization-CdXt7AVZ.mjs +0 -75
  369. package/dist/organizations-5S6xEp7T.mjs +0 -4
  370. package/dist/origin-ca-certificates-_VJAoK1D.mjs +0 -11
  371. package/dist/origin-post-quantum-encryption-GcldDsT2.mjs +0 -6
  372. package/dist/origin-tls-client-auth-DZHld9fA.mjs +0 -30
  373. package/dist/output-BOe-3AQG.mjs +0 -2
  374. package/dist/page-rules-o1tAMMsD.mjs +0 -39
  375. package/dist/pages-CmiOhjSl.mjs +0 -54
  376. package/dist/pay-per-crawl-BsnOxGYU.mjs +0 -38
  377. package/dist/pay-per-use-BXWMCSyE.mjs +0 -33
  378. package/dist/pipelines-DWLQC0F6.mjs +0 -44
  379. package/dist/precursor-B6DjBib6.mjs +0 -4
  380. package/dist/previews-dUKEBGSM.mjs +0 -4
  381. package/dist/progress-BtkTVcHI.mjs +0 -2
  382. package/dist/prompt-RlgRrmbm.mjs +0 -3
  383. package/dist/queries-yLwoJRHV.mjs +0 -9
  384. package/dist/queues-CnJRaE1o.mjs +0 -57
  385. package/dist/r2-CuC6-zQX.mjs +0 -128
  386. package/dist/raw-fetch-B4NvWuZD.mjs +0 -2
  387. package/dist/realtime-CjsnzHxD.mjs +0 -172
  388. package/dist/registrar-BgOsxTnX.mjs +0 -43
  389. package/dist/registrar-sandbox-3ikBD9fB.mjs +0 -56
  390. package/dist/reporting-hE127s5r.mjs +0 -14
  391. package/dist/request-tracers-BCwLxmPN.mjs +0 -4
  392. package/dist/resolve-CaTBV-c6.mjs +0 -2
  393. package/dist/resolve-DCGSzUDQ.mjs +0 -2
  394. package/dist/resource-sharing-2qvWUuMa.mjs +0 -40
  395. package/dist/resource-tagging-Dwx7iL3v.mjs +0 -4
  396. package/dist/rules-DxVQ6jIg.mjs +0 -18
  397. package/dist/rulesets-Cdh8YjI9.mjs +0 -37
  398. package/dist/rum-a4CMq4Qu.mjs +0 -30
  399. package/dist/run-CkbrPJPx.mjs +0 -2
  400. package/dist/scim-B8XlXl8v.mjs +0 -18
  401. package/dist/secrets-store-Cqhedh_i.mjs +0 -24
  402. package/dist/security-insights-le2-DteL.mjs +0 -40
  403. package/dist/security-txt-cCArWXur.mjs +0 -9
  404. package/dist/session-C1BhT1ZJ.mjs +0 -2
  405. package/dist/shared-BPjcpXuA.mjs +0 -2
  406. package/dist/smart-shield-Csyh8hwB.mjs +0 -24
  407. package/dist/snippets-DUWx25q6.mjs +0 -20
  408. package/dist/spectrum-Da3UYSOR.mjs +0 -83
  409. package/dist/speed-NxlMnB2e.mjs +0 -24
  410. package/dist/sql-CNdHAlQ8.mjs +0 -4
  411. package/dist/src-JfLDUxFr.mjs +0 -125
  412. package/dist/ssl-BtaX2WEJ.mjs +0 -45
  413. package/dist/startup-profile-B2l0ChVu.mjs +0 -2
  414. package/dist/state-JB4_BU1o.mjs +0 -2
  415. package/dist/stream-C1Ijjzn4.mjs +0 -102
  416. package/dist/submit-MdkuU_Pt.mjs +0 -4
  417. package/dist/telemetry-BsYO3nxG.mjs +0 -2
  418. package/dist/tenant-BB6Oszcl.mjs +0 -10
  419. package/dist/tenant-custom-nameservers-BsbgYAEo.mjs +0 -9
  420. package/dist/theme-CQ_TYifs.mjs +0 -6
  421. package/dist/tunnels-CRFtyHWz.mjs +0 -29
  422. package/dist/turnstile-DBXWo_Xe.mjs +0 -33
  423. package/dist/ui-YmjF66Ct.mjs +0 -5
  424. package/dist/update-check-C2oVEbXx.mjs +0 -2
  425. package/dist/url-info-t-XAs0Mk.mjs +0 -4
  426. package/dist/url-normalization-Cs4F8e0a.mjs +0 -9
  427. package/dist/url-scanner-CBIoDbTx.mjs +0 -16
  428. package/dist/user-CevdOMoa.mjs +0 -112
  429. package/dist/values-CjNlkbIh.mjs +0 -4
  430. package/dist/vectorize-9d9tPmg5.mjs +0 -32
  431. package/dist/version-BdVUXLnK.mjs +0 -2
  432. package/dist/waiting-rooms--5WmrWb3.mjs +0 -53
  433. package/dist/web-assets-BHot_MU8.mjs +0 -64
  434. package/dist/web3-CYfWAF6b.mjs +0 -28
  435. package/dist/workers-S17M0n3h.mjs +0 -40
  436. package/dist/workers-builds-Dw7ho3So.mjs +0 -14
  437. package/dist/workers-for-platforms-A3yjyLh3.mjs +0 -40
  438. package/dist/workers-vpc-BZ2xXtC3.mjs +0 -13
  439. package/dist/workflows-BgGrVpSR.mjs +0 -43
  440. package/dist/zaraz-BsD2dMI3.mjs +0 -22
  441. package/dist/zero-trust-CA3iGQbG.mjs +0 -837
  442. package/dist/zone-D2M4EZD0.mjs +0 -4
  443. package/dist/zones-BoOC_JzC.mjs +0 -124
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- import{s as e}from"./build-HmSXqjGn.mjs";import{existsSync as t,readFileSync as n,statSync as r}from"node:fs";import{dirname as i,join as a,sep as o}from"node:path";const s={esm:`esm`,cjs:`commonjs`,python:`python`,"python-requirement":`python-requirement`,wasm:`compiled-wasm`,text:`text`,data:`buffer`,json:`text`};function c(e,t,n,r,a){let o=process.cwd(),s=t.main??``;return{entry:{file:s,projectRoot:o,configPath:e.configPath,format:`modules`,moduleRoot:s?i(s):e.bundleDir??``,exports:[]},name:e.config.name,compatibilityDate:t.compatibility_date,compatibilityFlags:t.compatibility_flags??[],assetsDir:p(e,t),main:t.main??void 0,keepVars:t.keep_vars??!1,dryRun:r[`dry-run`],env:void 0,outfile:void 0,tag:r.tag,message:r.message,secretsFile:r[`secrets-file`],experimentalAutoCreate:!0,accountId:n,sendMetrics:!1,resourcesProvision:!0,skipProvisioningConfigWriteback:!0,skipLastDeployedFromApiCheck:!1,containers:a,cliVars:{},isWorkersSite:!1,useServiceEnvApiPath:!1}}function l(e,t,n,r,i){return{...c(e,t,n,r,i),command:`deploy`,resourcesProvision:r.provision??!0,containersRollout:r[`containers-rollout`],triggers:t.triggers?.crons,routes:f(t),logpush:t.logpush,dispatchNamespace:r[`dispatch-namespace`],strict:!0,legacyAssetPaths:void 0,oldAssetTtl:void 0}}function u(e,t,n,r,i){return{...c(e,t,n,r,i),command:`versions upload`,strict:!0,previewAlias:r[`preview-alias`]}}function d(e,t,n,r){return{config:t,accountId:n,scriptName:t.name??e.config.name,crons:t.triggers?.crons,routes:f(t),firstDeploy:!1,dryRun:r[`dry-run`],validated:!1}}function f(e){return e.routes?e.routes:e.route?[e.route]:[]}function p(t,n){let r=t.assetsDir;if(!r)return;let i=!!n.main,a=n.assets?.run_worker_first;if(!i&&a)throw new e(`assets.run_worker_first requires a Worker entrypoint, but no main module is configured.`);return{directory:r,binding:n.assets?.binding,directoryExists:!0}}function m(i,o){if(!o.manifest||!i.bundleDir)return{modules:[],sourceMaps:void 0,dependencies:{},resolvedEntryPointPath:``,bundleType:`esm`,content:``};let{mainModule:c,modules:l}=o.manifest;h(c,i.bundleDir);let u=a(i.bundleDir,c);if(!t(u))throw new e(`Main module not found: ${u}`);let d=l?.[c]?.type??`esm`;if(d===`sourcemap`)throw new e(`Main module "${c}" cannot be a sourcemap.`);let f=n(u,`utf8`),p=s[d],m=[],g=[],_={};if(_[u]={bytesInOutput:r(u).size},l)for(let[o,u]of Object.entries(l)){if(o===c)continue;h(o,i.bundleDir);let l=a(i.bundleDir,o);if(u.type===`sourcemap`){if(!t(l))throw new e(`Module not found: ${l}`);g.push({name:o,content:n(l,`utf8`)});continue}if(!t(l))throw new e(`Module not found: ${l}`);let d=u.type===`wasm`||u.type===`data`?n(l):n(l,`utf8`);m.push({name:`./${o}`,filePath:l,content:d,type:s[u.type]}),_[l]={bytesInOutput:r(l).size}}return{modules:m,sourceMaps:g.length>0?g:void 0,dependencies:_,resolvedEntryPointPath:u,bundleType:p,content:f}}function h(t,n){let r=a(n,t);if(r!==n&&!r.startsWith(n+o))throw new e(`Module path "${t}" escapes the bundle directory.`)}export{u as i,l as n,d as r,m as t};
2
+ import{s as e}from"./build-sBpqm9ga.mjs";import{existsSync as t,readFileSync as n,statSync as r}from"node:fs";import{dirname as i,join as a,sep as o}from"node:path";const s={esm:`esm`,cjs:`commonjs`,python:`python`,"python-requirement":`python-requirement`,wasm:`compiled-wasm`,text:`text`,data:`buffer`,json:`text`};function c(e,t,n,r,a){let o=process.cwd(),s=t.main??``;return{entry:{file:s,projectRoot:o,configPath:e.configPath,format:`modules`,moduleRoot:s?i(s):e.bundleDir??``,exports:[]},name:e.config.name,compatibilityDate:t.compatibility_date,compatibilityFlags:t.compatibility_flags??[],assetsDir:p(e,t),main:t.main??void 0,keepVars:t.keep_vars??!1,dryRun:r[`dry-run`],env:void 0,outfile:void 0,tag:r.tag,message:r.message,secretsFile:r[`secrets-file`],experimentalAutoCreate:!0,accountId:n,sendMetrics:!1,resourcesProvision:!0,skipProvisioningConfigWriteback:!0,skipLastDeployedFromApiCheck:!1,containers:a,cliVars:{},isWorkersSite:!1,useServiceEnvApiPath:!1}}function l(e,t,n,r,i){return{...c(e,t,n,r,i),command:`deploy`,resourcesProvision:r.provision??!0,containersRollout:r[`containers-rollout`],triggers:t.triggers?.crons,routes:f(t),logpush:t.logpush,dispatchNamespace:r[`dispatch-namespace`],strict:!0,legacyAssetPaths:void 0,oldAssetTtl:void 0}}function u(e,t,n,r,i){return{...c(e,t,n,r,i),command:`versions upload`,strict:!0,previewAlias:r[`preview-alias`]}}function d(e,t,n,r){return{config:t,accountId:n,scriptName:t.name??e.config.name,crons:t.triggers?.crons,routes:f(t),firstDeploy:!1,dryRun:r[`dry-run`],validated:!1}}function f(e){return e.routes?e.routes:e.route?[e.route]:[]}function p(t,n){let r=t.assetsDir;if(!r)return;let i=!!n.main,a=n.assets?.run_worker_first;if(!i&&a)throw new e(`assets.run_worker_first requires a Worker entrypoint, but no main module is configured.`);return{directory:r,binding:n.assets?.binding,directoryExists:!0}}function m(i,o){if(!o.manifest||!i.bundleDir)return{modules:[],sourceMaps:void 0,dependencies:{},resolvedEntryPointPath:``,bundleType:`esm`,content:``};let{mainModule:c,modules:l}=o.manifest;h(c,i.bundleDir);let u=a(i.bundleDir,c);if(!t(u))throw new e(`Main module not found: ${u}`);let d=l?.[c]?.type??`esm`;if(d===`sourcemap`)throw new e(`Main module "${c}" cannot be a sourcemap.`);let f=n(u,`utf8`),p=s[d],m=[],g=[],_={};if(_[u]={bytesInOutput:r(u).size},l)for(let[o,u]of Object.entries(l)){if(o===c)continue;h(o,i.bundleDir);let l=a(i.bundleDir,o);if(u.type===`sourcemap`){if(!t(l))throw new e(`Module not found: ${l}`);g.push({name:o,content:n(l,`utf8`)});continue}if(!t(l))throw new e(`Module not found: ${l}`);let d=u.type===`wasm`||u.type===`data`?n(l):n(l,`utf8`);m.push({name:`./${o}`,filePath:l,content:d,type:s[u.type]}),_[l]={bytesInOutput:r(l).size}}return{modules:m,sourceMaps:g.length>0?g:void 0,dependencies:_,resolvedEntryPointPath:u,bundleType:p,content:f}}function h(t,n){let r=a(n,t);if(r!==n&&!r.startsWith(n+o))throw new e(`Module path "${t}" escapes the bundle directory.`)}export{u as i,l as n,d as r,m as t};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- import{n as e,t}from"./shared-BPjcpXuA.mjs";function n(t){return e(t).option(`provision`,{type:`boolean`,description:`Automatically provision resources for bindings that need them`,default:!0}).option(`dispatch-namespace`,{type:`string`,description:`Name of a dispatch namespace to deploy the Worker to (Workers for Platforms)`,requiresArg:!0}).option(`containers-rollout`,{description:`Rollout strategy for Container changes. Immediate rolls out to all instances in one step; none leaves deployed Containers unchanged.`,choices:[`immediate`,`gradual`,`none`]})}const r={command:`deploy`,describe:`Deploy a worker to Cloudflare`,builder:n,handler:async e=>{await t(e,{command:`Deploy`})}};export{r as default};
2
+ import{n as e,t}from"./shared-zNQNv1im.mjs";function n(t){return e(t).option(`provision`,{type:`boolean`,description:`Automatically provision resources for bindings that need them`,default:!0}).option(`dispatch-namespace`,{type:`string`,description:`Name of a dispatch namespace to deploy the Worker to (Workers for Platforms)`,requiresArg:!0}).option(`containers-rollout`,{description:`Rollout strategy for Container changes. Immediate rolls out to all instances in one step; none leaves deployed Containers unchanged.`,choices:[`immediate`,`gradual`,`none`]})}const r={command:`deploy`,describe:`Deploy a worker to Cloudflare`,builder:n,handler:async e=>{await t(e,{command:`Deploy`})}};export{r as default};
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env node
2
- import{r as e}from"./theme-CQ_TYifs.mjs";import{t}from"./cli-exit-CstFZ1eJ.mjs";import{i as n,r}from"./autoconfig-sD7Frryg.mjs";import"./ui-YmjF66Ct.mjs";import{n as i,t as a}from"./spawn-IysxuTNW.mjs";import{t as o}from"./registry-CHowrQsZ.mjs";const s={command:`dev [implArgs..]`,describe:`Run the project's Cloudflare dev server`,builder:t=>t.positional(`implArgs`,{type:`string`,array:!0,describe:`Arguments forwarded to the dev-server implementation`}).parserConfiguration({"unknown-options-as-args":!0,"camel-case-expansion":!1}).epilogue(`cf dev starts the appropriate development server for your project. It runs your framework's dev command when available, falling back to an installed Cloudflare dev server.
2
+ import{r as e}from"./theme-BGHWSKCw.mjs";import{t}from"./cli-exit-CstFZ1eJ.mjs";import{i as n,r}from"./autoconfig-B0ESZ8DJ.mjs";import"./ui-BtIBQeaG.mjs";import{n as i,t as a}from"./spawn-DQttFH05.mjs";import{t as o}from"./registry-CRnk93ur.mjs";const s={command:`dev [implArgs..]`,describe:`Run the project's Cloudflare dev server`,builder:t=>t.positional(`implArgs`,{type:`string`,array:!0,describe:`Arguments forwarded to the dev-server implementation`}).parserConfiguration({"unknown-options-as-args":!0,"camel-case-expansion":!1}).epilogue(`cf dev starts the appropriate development server for your project. It runs your framework's dev command when available, falling back to an installed Cloudflare dev server.
3
3
 
4
4
  Only ${e.brand(`--mode`)} is forwarded to supported framework development servers. Other arguments are forwarded only to Cloudflare dev-server implementations.`),handler:async e=>{let s=process.cwd(),{details:c}=await r(s),l=(e.implArgs??[]).map(String),u=e.mode?[`--mode`,e.mode]:[];if(c?.devCommand){if(l.length>0)throw Error(`Arguments cannot currently be forwarded to the detected dev command \`${c.devCommand}\`. Run that command directly with the required arguments.`);if(e.mode&&!c.framework?.supportsMode)throw Error(`The detected command \`${c.devCommand}\` does not currently support \`--mode\`.`);let r=await n(c.devCommand,s,{env:{...c.env,...o()},args:u});throw new t(r.exitCode,{signal:r.signal})}let d=i(s),f=await a(d,`dev`,[...u,...l]);throw new t(f.exitCode,{signal:f.signal})}};export{s as default};
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env node
2
+ import"./api-eMuS5GI1.mjs";import{t as e}from"./path-DRw6Y-nd.mjs";import{t}from"./local-Dil4fTWX.mjs";import{n}from"./auth-C6u9qIGO.mjs";import{a as r,t as i}from"./context-A6T-NKPI.mjs";import{t as a}from"./output-Co4xdFf6.mjs";import{t as o}from"./dry-run-C2KjGX10.mjs";import{t as s}from"./progress-D5po7ScB.mjs";import{t as c}from"./run-DASYqJsY.mjs";import"./telemetry-BhKfwxyh.mjs";import{n as l,t as u}from"./body-parser-DkHKPkJ7.mjs";import{n as d}from"./input-validation-D7z60HJH.mjs";import{a as f,i as p,n as m}from"./prompt-BAJpE3jV.mjs";var h={method:`POST`,path:t=>e`/accounts/${t.account_id}/diagnostics/endpoint-healthchecks`,body:`json`,constants:{check_type:`icmp`}};function g(e){return e.usage(`$0 diagnostics endpoint-healthchecks create
3
+
4
+ Create Endpoint Health Check.`).option(`check-type`,{type:`string`,description:`type of check to perform`,choices:[`icmp`],default:`icmp`}).coerce(`check-type`,e=>d(e,`check-type`,`text`)).option(`endpoint`,{type:`string`,description:`the IP address of the host to perform checks against`}).option(`name`,{type:`string`,description:`Optional name associated with this check`}).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 _={command:`create`,describe:`Endpoint Health Check`,builder:g,handler:async e=>c({command:`diagnostics endpoint-healthchecks create`,classification:{safeFlags:[`check-type`,`dry-run`]}},e,async()=>{if(e.dryRun){let t=await r();o({command:`cf diagnostics endpoint-healthchecks create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/diagnostics/endpoint-healthchecks`,pathParams:{},bodyKind:`json`,body:e.body===void 0?u({check_type:e[`check-type`],endpoint:d(e.endpoint,`endpoint`,`text`),name:d(e.name,`name`,`text`)}):l(e.body)});return}let c=await n(e),m=e.local?t:await i();if(e.accountId=m,e.body){let t=l(e.body),n=await s(`Creating`,async()=>c.send(h,{body:t,account_id:m}));a(n,{successLabel:`Created`});return}e[`check-type`]===void 0&&(e[`check-type`]=await p(`check-type`,`type of check to perform`,[`icmp`])),e.endpoint===void 0&&(e.endpoint=await f(`endpoint`,`the IP address of the host to perform checks against`));let g=u({check_type:e[`check-type`],endpoint:d(e.endpoint,`endpoint`,`text`),name:d(e.name,`name`,`text`)}),_=await s(`Creating`,async()=>c.send(h,{body:g,account_id:m}));a(_,{successLabel:`Created`})})};var v={method:`DELETE`,path:t=>e`/accounts/${t.account_id}/diagnostics/endpoint-healthchecks/${t.id}`};function y(e){return e.usage(`$0 diagnostics endpoint-healthchecks delete <id>
5
+
6
+ Delete Endpoint Health Check.`).positional(`id`,{type:`string`,description:`UUID.`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`force`,{type:`boolean`,alias:`f`,description:`Skip confirmation (useful in scripts and CI)`,default:!1})}const b={command:`delete <id>`,describe:`Delete Endpoint Health Check`,builder:y,handler:async e=>c({command:`diagnostics endpoint-healthchecks delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},e,async()=>{if(e.dryRun){let t=await r();o({command:`cf diagnostics endpoint-healthchecks delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/diagnostics/endpoint-healthchecks/${e.id==null?`<id>`:encodeURIComponent(String(e.id))}`,pathParams:{id:String(e.id??``)},bodyKind:`none`});return}let c=await n(e),l=e.local?t:await i();if(e.accountId=l,!await m({force:!!e.force})){process.stderr.write(`Aborted.
7
+ `);return}let u=await s(`Deleting`,async()=>c.send(v,{account_id:l,id:e.id}));a(u,{successLabel:`Deleted`})})};var x={method:`GET`,path:t=>e`/accounts/${t.account_id}/diagnostics/endpoint-healthchecks/${t.id}`};function S(e){return e.usage(`$0 diagnostics endpoint-healthchecks get <id>
8
+
9
+ Get a single Endpoint Health Check.`).positional(`id`,{type:`string`,description:`UUID.`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const C={command:`get <id>`,describe:`Get Endpoint Health Check`,builder:S,handler:async e=>c({command:`diagnostics endpoint-healthchecks get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){let t=await r();o({command:`cf diagnostics endpoint-healthchecks get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/diagnostics/endpoint-healthchecks/${e.id==null?`<id>`:encodeURIComponent(String(e.id))}`,pathParams:{id:String(e.id??``)},bodyKind:`none`});return}let c=await n(e),l=e.local?t:await i();e.accountId=l;let u=await s(`Loading`,async()=>c.send(x,{account_id:l,id:e.id}));a(u,{successLabel:`Loaded`})})};var w={method:`GET`,path:t=>e`/accounts/${t.account_id}/diagnostics/endpoint-healthchecks`};function T(e){return e.usage(`$0 diagnostics endpoint-healthchecks list
10
+
11
+ List Endpoint Health Checks.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const E={command:`list`,describe:`List Endpoint Health Checks`,builder:T,handler:async e=>c({command:`diagnostics endpoint-healthchecks list`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){let e=await r();o({command:`cf diagnostics endpoint-healthchecks list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${e??`<account-id>`}/diagnostics/endpoint-healthchecks`,pathParams:{},bodyKind:`none`});return}let c=await n(e),l=e.local?t:await i();e.accountId=l;let u=await s(`Loading`,async()=>c.send(w,{account_id:l}));a(u,{successLabel:`Loaded`})})};var D={method:`PUT`,path:t=>e`/accounts/${t.account_id}/diagnostics/endpoint-healthchecks/${t.id}`,body:`json`,constants:{check_type:`icmp`}};function O(e){return e.usage(`$0 diagnostics endpoint-healthchecks update <id>
12
+
13
+ Update a Endpoint Health Check.`).positional(`id`,{type:`string`,description:`UUID.`,demandOption:!0}).option(`check-type`,{type:`string`,description:`type of check to perform`,choices:[`icmp`]}).coerce(`check-type`,e=>d(e,`check-type`,`text`)).option(`endpoint`,{type:`string`,description:`the IP address of the host to perform checks against`}).option(`name`,{type:`string`,description:`Optional name associated with this check`}).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 k={command:`update <id>`,describe:`Update Endpoint Health Check`,builder:O,handler:async e=>c({command:`diagnostics endpoint-healthchecks update`,classification:{safeFlags:[`check-type`,`dry-run`]}},e,async()=>{if(e.dryRun){let t=await r();o({command:`cf diagnostics endpoint-healthchecks update`,method:`PUT`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/diagnostics/endpoint-healthchecks/${e.id==null?`<id>`:encodeURIComponent(String(e.id))}`,pathParams:{id:String(e.id??``)},bodyKind:`json`,body:e.body===void 0?u({check_type:e[`check-type`],endpoint:d(e.endpoint,`endpoint`,`text`),name:d(e.name,`name`,`text`)}):l(e.body)});return}let c=await n(e),m=e.local?t:await i();if(e.accountId=m,e.body){let t=l(e.body),n=await s(`Updating`,async()=>c.send(D,{body:t,account_id:m,id:e.id}));a(n,{successLabel:`Updated`});return}e[`check-type`]===void 0&&(e[`check-type`]=await p(`check-type`,`type of check to perform`,[`icmp`])),e.endpoint===void 0&&(e.endpoint=await f(`endpoint`,`the IP address of the host to perform checks against`));let h=u({check_type:e[`check-type`],endpoint:d(e.endpoint,`endpoint`,`text`),name:d(e.name,`name`,`text`)}),g=await s(`Updating`,async()=>c.send(D,{body:h,account_id:m,id:e.id}));a(g,{successLabel:`Updated`})})},A={command:`endpoint-healthchecks`,describe:`Monitor external endpoint availability with periodic HTTP/HTTPS health checks`,builder:e=>e.command(_).command(b).command(C).command(E).command(k).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var j={method:`POST`,path:t=>e`/accounts/${t.account_id}/diagnostics/traceroute`,body:`json`};function M(e){return e.usage(`$0 diagnostics traceroutes create
14
+
15
+ Run traceroutes from Cloudflare colos.`).option(`colos`,{type:`string`,array:!0,description:`If no source colo names specified, all colos will be used. China colos are unavailable for traceroutes.`}).option(`options-max-ttl`,{type:`number`,description:`Max TTL.`}).option(`options-packet-type`,{type:`string`,description:`Type of packet sent.`,choices:[`icmp`,`tcp`,`udp`,`gre`,`gre+icmp`]}).coerce(`options-packet-type`,e=>d(e,`options-packet-type`,`text`)).option(`options-packets-per-ttl`,{type:`number`,description:`Number of packets sent at each TTL.`}).option(`options-port`,{type:`number`,description:`For UDP and TCP, specifies the destination port. For ICMP, specifies the initial ICMP sequence value. Default value 0 will choose the best value to use for each protocol.`}).option(`options-wait-time`,{type:`number`,description:`Set the time (in seconds) to wait for a response to a probe.`}).option(`targets`,{type:`string`,array:!0,description:`The targets 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 N={command:`create`,describe:`Traceroute`,builder:M,handler:async e=>c({command:`diagnostics traceroutes create`,classification:{safeFlags:[`options-packet-type`,`dry-run`]}},e,async()=>{if(e.dryRun){let t=await r();o({command:`cf diagnostics traceroutes create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/diagnostics/traceroute`,pathParams:{},bodyKind:`json`,body:e.body===void 0?u({colos:e.colos,options:{max_ttl:e[`options-max-ttl`],packet_type:e[`options-packet-type`],packets_per_ttl:e[`options-packets-per-ttl`],port:e[`options-port`],wait_time:e[`options-wait-time`]},targets:e.targets}):l(e.body)});return}let c=await n(e),d=e.local?t:await i();if(e.accountId=d,e.body){let t=l(e.body),n=await s(`Creating`,async()=>c.send(j,{body:t,account_id:d}));a(n,{successLabel:`Created`});return}if(e.targets===void 0)throw Error(`--targets is required (or pass --body with this field set).`);let f=u({colos:e.colos,options:{max_ttl:e[`options-max-ttl`],packet_type:e[`options-packet-type`],packets_per_ttl:e[`options-packets-per-ttl`],port:e[`options-port`],wait_time:e[`options-wait-time`]},targets:e.targets}),p=await s(`Creating`,async()=>c.send(j,{body:f,account_id:d}));a(p,{successLabel:`Created`})})},P={command:`traceroutes`,describe:`Run traceroutes from Cloudflare data centers to diagnose network path issues`,builder:e=>e.command(N).demandCommand(1,`Please specify a subcommand`),handler:()=>{}},F={command:`diagnostics`,describe:`Network diagnostic tools — traceroutes from Cloudflare's edge and endpoint health checks`,builder:e=>e.command(A).command(P).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};export{F as default};