void 1.12.2 → 1.13.0

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 (372) hide show
  1. package/README.md +1 -0
  2. package/dist/{account-cmd-CdJQba_Q.mjs → account-cmd-4fQiXYX7.mjs} +6 -6
  3. package/dist/{application-analysis-DVeN8yoi.mjs → application-analysis-BjEwHTV2.mjs} +19 -13
  4. package/dist/{application-routing-KKw4Y84h.mjs → application-routing-COCfD2yc.mjs} +1 -1
  5. package/dist/args-DrnTI35r.mjs +88 -0
  6. package/dist/args-MnQnqypt.mjs +1 -0
  7. package/dist/{auth-CqwJwItO.mjs → auth-CeBmolb-.mjs} +3 -3
  8. package/dist/{auth-A7cZ8aXA.mjs → auth-CvaDxOMi.mjs} +1 -1
  9. package/dist/{auth-link-D9MWA_dj.mjs → auth-link-I4omV0pL.mjs} +6 -6
  10. package/dist/{auth-router-FskgTU3B.mjs → auth-router-CXq4q7bb.mjs} +6 -5
  11. package/dist/{better-auth-shared-BS3pDQbT.d.mts → better-auth-shared-CrIkcN8I.d.mts} +2 -1
  12. package/dist/bindings-C7zOgxT3.d.mts +28 -0
  13. package/dist/browser-run-BKgZVwLk.mjs +124 -0
  14. package/dist/{build-cmd-B7OJ0U5R.mjs → build-cmd-Biz6u4rn.mjs} +6 -6
  15. package/dist/{cache-wSpi3aeM.mjs → cache-WkLMUrjQ.mjs} +6 -6
  16. package/dist/{cancel-deploy-DMWzkAlb.mjs → cancel-deploy-BRsrmyTk.mjs} +6 -5
  17. package/dist/{cf-access-DHklo7Rg.mjs → cf-access-B21j-nd6.mjs} +1 -1
  18. package/dist/{cf-build-output-Cso7Vh-t.mjs → cf-build-output-G-7Tdd8b.mjs} +6 -5
  19. package/dist/cf-build-output-Qc43LWzE.mjs +1 -0
  20. package/dist/{cf-command-values-5BPBRc9Z.mjs → cf-command-values-cUnJwCyG.mjs} +24 -1
  21. package/dist/{cf-config-migrate-D271BTiw.mjs → cf-config-migrate-CsbQGzMf.mjs} +200 -94
  22. package/dist/cf-user-agent-HHTRzfud.mjs +15 -0
  23. package/dist/cf-version-api-BWHMVtzw.mjs +1 -0
  24. package/dist/cf-version-api-XEEK2B9A.mjs +856 -0
  25. package/dist/cf-worker-settings-DJKdy97k.mjs +127 -0
  26. package/dist/cli/cli.mjs +1 -1
  27. package/dist/cli/cloudflare-operation-process.mjs +111 -47
  28. package/dist/cli/env-schema-probe.mjs +3 -3
  29. package/dist/cli/json-command-process.d.mts +6 -0
  30. package/dist/cli/json-command-process.mjs +91 -0
  31. package/dist/{cli-main-DaLrQfPS.mjs → cli-main-CJTGhcYN.mjs} +84 -113
  32. package/dist/{client-eLZwqkPH.mjs → client-0um7Lzze.mjs} +1 -1
  33. package/dist/{client-DE2m2ldh.mjs → client-BEHI4UWn.mjs} +14 -8
  34. package/dist/{cloudflare-auth-eWfhdZCk.mjs → cloudflare-auth-iOgRurWm.mjs} +1 -1
  35. package/dist/{cloudflare-cmd-SsFlJe2B.mjs → cloudflare-cmd-DsSlXbNy.mjs} +5 -5
  36. package/dist/{cloudflare-config-D9UFH_A5.mjs → cloudflare-config-KPHKf57C.mjs} +2 -2
  37. package/dist/{cloudflare-connect-BgpHcSg3.mjs → cloudflare-connect-bEtneBjT.mjs} +5 -4
  38. package/dist/{cloudflare-operations-ByjFGats.mjs → cloudflare-operations-BmICrRnm.mjs} +1 -1
  39. package/dist/{cloudflare-operations-BIRQkYwL.mjs → cloudflare-operations-D-9psgPQ.mjs} +19 -11
  40. package/dist/cloudflare-preview-8eLSQPdO.mjs +1 -0
  41. package/dist/cloudflare-preview-BaeU-m74.mjs +112 -0
  42. package/dist/{cloudflare-process-60r4Z2Zf.mjs → cloudflare-process-DFNpqV_m.mjs} +57 -29
  43. package/dist/cloudflare-user-output-DFbD0l4l.mjs +36 -0
  44. package/dist/collect-Aam0GwAU.mjs +1 -0
  45. package/dist/{collect-rNLybAnF.mjs → collect-KC4cizWM.mjs} +6 -1
  46. package/dist/{config-DA6ZbLXO.d.mts → config-BdmM5ZzP.d.mts} +12 -2
  47. package/dist/{config-BFX5ZB1J.mjs → config-CUYGZqdN.mjs} +2 -2
  48. package/dist/{config-BSoW3QCB.mjs → config-C_UjzkVS.mjs} +3 -3
  49. package/dist/{config-DtjrUtPo.mjs → config-Ge-MytMU.mjs} +1 -1
  50. package/dist/{config-Dv5jri1-.mjs → config-KZAiI3gG.mjs} +32 -6
  51. package/dist/config-entry.d.mts +1 -1
  52. package/dist/config-write-dKLINlm2.mjs +80 -0
  53. package/dist/{connect-WG4TcR_d.mjs → connect-Bqq3b9sX.mjs} +10 -9
  54. package/dist/{create-project-CbuDH5Hv.mjs → create-project-MXoP_rte.mjs} +1 -1
  55. package/dist/{create-project-8FdN6D2i.mjs → create-project-T-9AIQDe.mjs} +7 -6
  56. package/dist/{db-BSuWV1PI.mjs → db-B3eoVDNA.mjs} +50 -47
  57. package/dist/{db-args-CiQVg8SJ.mjs → db-args-BcvTZ8KE.mjs} +1 -1
  58. package/dist/db-args-Cx1y4vZn.mjs +1 -0
  59. package/dist/{db-types-B4Cf9dzR.mjs → db-types-BpgXVtQZ.mjs} +1 -1
  60. package/dist/{delete-WtLEfap2.mjs → delete-Cf6SroAw.mjs} +7 -6
  61. package/dist/deploy-DZ9j7MC4.mjs +2 -0
  62. package/dist/{deploy-DtJeunLF.mjs → deploy-UojYUEWr.mjs} +803 -1415
  63. package/dist/{deploy-managed-static-BWBsxOww.mjs → deploy-managed-static-DV_OmTWf.mjs} +54 -393
  64. package/dist/{deploy-security-notice-IRGy6Edf.mjs → deploy-security-notice-3jX71IeP.mjs} +6 -4
  65. package/dist/deploy-summary-Dkl0zvQy.mjs +377 -0
  66. package/dist/{deploy-transport-BKP_oV9q.mjs → deploy-transport-4ISWxx8n.mjs} +4 -3
  67. package/dist/deploy.mjs +14 -10
  68. package/dist/discover-BZWVWeQs.mjs +1 -0
  69. package/dist/{discover-IcspacCg.mjs → discover-BeFs7OPS.mjs} +1 -1
  70. package/dist/{dispatch-DIhDA3NI.mjs → dispatch-BUKbPdqb.mjs} +7 -7
  71. package/dist/{dist-Cr_xGE_K.mjs → dist-BngS28id.mjs} +6 -6
  72. package/dist/{dist-C47zy_kJ.mjs → dist-x99fIj4n.mjs} +1 -1
  73. package/dist/{domain-mweyYXSw.mjs → domain-BK6NWkWK.mjs} +7 -7
  74. package/dist/{drizzle-BJDMPrj7.mjs → drizzle-CnSbVeiZ.mjs} +12 -13
  75. package/dist/{drizzle-CQ5jWuDL.mjs → drizzle-CrkwVwK8.mjs} +1 -1
  76. package/dist/{email-DoDqRH6i.mjs → email-BBSDV0J5.mjs} +13 -12
  77. package/dist/{email-cloudflare-DeYH3Ke7.mjs → email-cloudflare-C-guKEbz.mjs} +10 -8
  78. package/dist/{env-DaAoYR2-.mjs → env-BVnKiGYJ.mjs} +8 -8
  79. package/dist/{env-EjHqc7m9.mjs → env-CU2tMDdO.mjs} +6 -1
  80. package/dist/{env-types-D2hBodXP.mjs → env-types-B33fEHRH.mjs} +1 -1
  81. package/dist/{env-validation-j9pjCDfA.mjs → env-validation-BnAsx6gz.mjs} +1 -1
  82. package/dist/{env-validation-D-v5_CWL.mjs → env-validation-SXsjd6-Z.mjs} +4 -4
  83. package/dist/{fetch-CiEsvjpP.mjs → fetch-DL7OCgwB.mjs} +1 -1
  84. package/dist/{fetch-stream-BIG5lHW6.mjs → fetch-stream-DEilLTCc.mjs} +2 -2
  85. package/dist/{gen-aOtHhZLD.mjs → gen-BxuIN1bz.mjs} +10 -9
  86. package/dist/gen-DaayFP9v.mjs +1 -0
  87. package/dist/{generate-Dq2Bgw75.mjs → generate-Ck-L3e0e.mjs} +1 -1
  88. package/dist/{generate-C3ZAqCy-.mjs → generate-t1dDUYZZ.mjs} +1 -1
  89. package/dist/{github-cmd-BR19Ffdz.mjs → github-cmd-B7U9Hjmi.mjs} +7 -6
  90. package/dist/{handler-DCrDLzw2.mjs → handler-2wAywJgj.mjs} +11 -9
  91. package/dist/{headers-DqBsjDxg.mjs → headers-DPI4MDGC.mjs} +1 -1
  92. package/dist/{help-DvClCzqL.mjs → help-Bgiu5PMX.mjs} +36 -4
  93. package/dist/help-DWGHmt_n.mjs +1 -0
  94. package/dist/html-5sfGLjiI.d.mts +3 -0
  95. package/dist/html-DPSOBDCh.mjs +1 -0
  96. package/dist/{index-Dn2mkPr2.d.mts → index-CqF8_p9C.d.mts} +5 -105
  97. package/dist/index-Cvqotnhc.d.mts +91 -0
  98. package/dist/{index-BQ5qYiAw.d.mts → index-DAinHkj8.d.mts} +1 -1
  99. package/dist/{index-8cAgNdb6.d.mts → index-lnEWwVAS.d.mts} +1 -1
  100. package/dist/index.d.mts +3 -2
  101. package/dist/index.mjs +536 -170
  102. package/dist/{info-P6MBiVJi.mjs → info-7COlpAfY.mjs} +32 -20
  103. package/dist/{init-B2VZ2Hut.mjs → init-DftAx3L4.mjs} +237 -88
  104. package/dist/input-jcps6lAn.mjs +64 -0
  105. package/dist/interactive-prompts-EK0dilFu.mjs +43 -0
  106. package/dist/{limits-BCoQLpn3.mjs → limits-3I3VdX2E.mjs} +4 -1
  107. package/dist/{link-Dyz9IGcM.mjs → link-C3WMNFTG.mjs} +7 -7
  108. package/dist/{list-VGYBMjmx.mjs → list-K4EGVUZN.mjs} +9 -9
  109. package/dist/{load-user-env-B8qC0Q2Y.mjs → load-user-env-uMmQJ-Th.mjs} +1 -1
  110. package/dist/{local-d1-CYOYkVwO.mjs → local-d1-BtLCVC1p.mjs} +2 -2
  111. package/dist/login-BJwPhV_S.mjs +1 -0
  112. package/dist/{login-jUBgfvzk.mjs → login-DaugBfBG.mjs} +6 -5
  113. package/dist/{logs-kS1wuR4b.mjs → logs-BR2szdN5.mjs} +6 -6
  114. package/dist/migrate-BHD46A31.mjs +1 -0
  115. package/dist/{migrate-BNZL1hee.mjs → migrate-Dtlg8fC6.mjs} +7 -7
  116. package/dist/nitro.mjs +3 -3
  117. package/dist/{node-DVJWfV6s.mjs → node-BbKlLpHa.mjs} +5 -5
  118. package/dist/{operator-ai-logging-DD0n6zc2.mjs → operator-ai-logging-4Nvs6Ut3.mjs} +5 -5
  119. package/dist/{operator-args-nvetCWuz.mjs → operator-args-DWvqq3Ws.mjs} +31 -15
  120. package/dist/{operator-auth-DMvn-y9X.mjs → operator-auth-DtRMGXYY.mjs} +2 -2
  121. package/dist/{operator-client-dFNnXfyB.mjs → operator-client-BG0VIMMM.mjs} +2 -2
  122. package/dist/operator-cmd-CR3Q9k4c.mjs +1 -0
  123. package/dist/{operator-cmd-wML5HNfS.mjs → operator-cmd-D4YcMKO-.mjs} +9 -9
  124. package/dist/{operator-security-D5MToU0p.mjs → operator-security-nVLo8vDt.mjs} +11 -5
  125. package/dist/{output-BZLnu0z8.mjs → output-DhJgS6Ve.mjs} +1 -1
  126. package/dist/output-OYwcEwok.mjs +1 -0
  127. package/dist/pages/client.d.mts +34 -20
  128. package/dist/pages/client.mjs +172 -74
  129. package/dist/pages/index.d.mts +11 -4
  130. package/dist/pages/index.mjs +5 -5
  131. package/dist/pages/islands-plugin.d.mts +2 -2
  132. package/dist/pages/islands-plugin.mjs +5 -3
  133. package/dist/pages/protocol.d.mts +3 -3
  134. package/dist/pages/protocol.mjs +3 -3
  135. package/dist/pages/serialize.d.mts +2 -2
  136. package/dist/pages/serialize.mjs +1 -1
  137. package/dist/parse-filename-DIPUjoCh.d.mts +2 -0
  138. package/dist/platform-C3Q44RJ8.mjs +250 -0
  139. package/dist/platform-args-BSyVZESg.mjs +1 -0
  140. package/dist/{platform-args-CvZSuhYS.mjs → platform-args-BnocJDC_.mjs} +1 -1
  141. package/dist/{platform-auth-config-Bv3oQ2gE.mjs → platform-auth-config-BbfNhjBc.mjs} +9 -9
  142. package/dist/{platform-auth-protection-OqzfhXwx.mjs → platform-auth-protection-BHPV4MUf.mjs} +9 -8
  143. package/dist/{platform-auth-recovery-rmIYjXST.mjs → platform-auth-recovery-DE0nArYy.mjs} +8 -7
  144. package/dist/{platform-cmd-D_4z2Ijv.mjs → platform-cmd-CLRU3BRb.mjs} +11 -10
  145. package/dist/{platform-cmd-B3rO4RhU.mjs → platform-cmd-Cs2LkT5L.mjs} +1 -1
  146. package/dist/{platform-discovery-CLxtixHJ.mjs → platform-discovery-CKeeeD82.mjs} +1 -1
  147. package/dist/{platform-domain-CUq9odbd.mjs → platform-domain-kn3WuKPG.mjs} +6 -5
  148. package/dist/{platform-lifecycle-DOSYo0UI.mjs → platform-lifecycle-BoCEYy2w.mjs} +1 -1
  149. package/dist/{platform-lifecycle-DuoVruij.mjs → platform-lifecycle-CKwOg8wz.mjs} +164 -72
  150. package/dist/{platform-management-D_gt3qLb.mjs → platform-management-CaSdFthX.mjs} +1 -1
  151. package/dist/{platform-management-MmO9IubR.mjs → platform-management-fyrsq2Ra.mjs} +27 -14
  152. package/dist/{platform-plans-config-DiydtNKY.mjs → platform-plans-config-BSI-6Inu.mjs} +11 -5
  153. package/dist/{platform-recovery-P_FVslfd.mjs → platform-recovery-PwJ54AIZ.mjs} +3 -3
  154. package/dist/{platform-registry-DHH6fivm.mjs → platform-registry-zHH3RiIm.mjs} +2 -1
  155. package/dist/{platform-setup-Lph9i-rh.mjs → platform-setup-DwYITHfY.mjs} +3 -3
  156. package/dist/{plugin-inference-COlq96WJ.mjs → plugin-inference-D5MjBVMB.mjs} +60 -142
  157. package/dist/prepare-CLl_TA_r.mjs +1 -0
  158. package/dist/{prepare-WvijE289.mjs → prepare-DZEs5AGr.mjs} +3 -3
  159. package/dist/{prepare-co1o1FFd.mjs → prepare-DhVzN7CB.mjs} +14 -12
  160. package/dist/{project-uXKua1it.mjs → project-BXpm-vgG.mjs} +1 -1
  161. package/dist/{project-dh9431bN.mjs → project-DC-BqHef.mjs} +1 -1
  162. package/dist/{project-cmd-BWJTplpc.mjs → project-cmd-BKN3qT4R.mjs} +31 -21
  163. package/dist/{project-paths-2ENfCCih.mjs → project-paths-BeAxxqGh.mjs} +1 -1
  164. package/dist/{project-security-BV1xfj1K.mjs → project-security-B-SHxprt.mjs} +1 -1
  165. package/dist/{project-security-CY_aahvW.mjs → project-security-BWTd6cTU.mjs} +87 -46
  166. package/dist/{project-team-BlIFXlmT.mjs → project-team-jcn9reIB.mjs} +6 -6
  167. package/dist/{project-token-CMsB7I1-.mjs → project-token-BHkBKtzt.mjs} +6 -6
  168. package/dist/{project-tsconfig-BOA4ym99.mjs → project-tsconfig-LjgxDdj_.mjs} +1 -1
  169. package/dist/{project-zero-trust-BI6pdpx4.mjs → project-zero-trust-2t_qI6xa.mjs} +4 -4
  170. package/dist/{protocol-4rEnumif.mjs → protocol-DhMbnxzy.mjs} +120 -35
  171. package/dist/{protocol-ERy-n3jf.d.mts → protocol-wG7JP5Mm.d.mts} +27 -4
  172. package/dist/{provision-DFv7SJDn.mjs → provision-C04aXE3a.mjs} +1 -1
  173. package/dist/{provision-Bh44omGA.mjs → provision-CQykn8gu.mjs} +8 -4
  174. package/dist/{redirect-Dyvuil0Q.mjs → redirect-DjyA_hx_.mjs} +1 -1
  175. package/dist/{requests-CfmJxNYg.mjs → requests-BznxnxTT.mjs} +5 -5
  176. package/dist/resolve-project-Bob_rEi2.mjs +1 -0
  177. package/dist/{resolve-project-8WZ3iVmr.mjs → resolve-project-s_FGWyr-.mjs} +2 -2
  178. package/dist/resource-binding-5nI30acw.mjs +20 -0
  179. package/dist/{resource-name-DlJ9QXzg.mjs → resource-name-D_gw36kh.mjs} +5 -1
  180. package/dist/{rollback-DL5HuAsM.mjs → rollback-CLiINtpt.mjs} +25 -14
  181. package/dist/{route-types-CSed9-Dp.mjs → route-types-DxvqN5bL.mjs} +59 -9
  182. package/dist/{route-url-B41eQ8QI.mjs → route-url-CRC8yR_2.mjs} +2 -3
  183. package/dist/{route-url-Bd6IX-JZ.d.mts → route-url-zDfC-7DD.d.mts} +33 -5
  184. package/dist/routes-stub.d.mts +18 -2
  185. package/dist/routes-stub.mjs +1 -1
  186. package/dist/{runner-CeguHWJx.mjs → runner-CnUrhc8H.mjs} +1 -1
  187. package/dist/{runner-mysql-DOjbj-N1.mjs → runner-mysql-CW6bFa67.mjs} +1 -1
  188. package/dist/{runner-mysql-D549vGGm.mjs → runner-mysql-DSLGFOlC.mjs} +1 -1
  189. package/dist/{runner-pg-Buzw17hl.mjs → runner-pg-BcGF7iBR.mjs} +1 -1
  190. package/dist/{runner-pg-DMJquR3d.mjs → runner-pg-OeP0JpEo.mjs} +1 -1
  191. package/dist/{runner-Bf94YVJK.mjs → runner-rnXCGa20.mjs} +1 -1
  192. package/dist/runtime/ai/index.mjs +1 -1
  193. package/dist/runtime/auth/better-auth-d1.d.mts +1 -1
  194. package/dist/runtime/auth/better-auth-mysql.d.mts +1 -1
  195. package/dist/runtime/auth/better-auth-postgres.d.mts +1 -1
  196. package/dist/runtime/client/fetch-server.mjs +1 -1
  197. package/dist/runtime/client/fetch-stream.mjs +1 -1
  198. package/dist/runtime/client/fetch.mjs +1 -1
  199. package/dist/runtime/client/index.mjs +2 -2
  200. package/dist/runtime/client/react.mjs +2 -2
  201. package/dist/runtime/client/solid.mjs +2 -2
  202. package/dist/runtime/client/svelte.mjs +2 -2
  203. package/dist/runtime/client/vue.mjs +2 -2
  204. package/dist/runtime/durable/index.mjs +11 -26
  205. package/dist/runtime/env/runtime.d.mts +2 -10
  206. package/dist/runtime/handler/index.d.mts +3 -2
  207. package/dist/runtime/handler/index.mjs +2 -2
  208. package/dist/runtime/handler/validator.d.mts +1 -1
  209. package/dist/runtime/handler/validator.mjs +1 -1
  210. package/dist/runtime/html.d.mts +2 -0
  211. package/dist/runtime/html.mjs +1 -0
  212. package/dist/runtime/image/index.d.mts +103 -0
  213. package/dist/runtime/image/index.mjs +89 -0
  214. package/dist/runtime/jsx/index.d.mts +3 -0
  215. package/dist/runtime/jsx/index.mjs +2 -0
  216. package/dist/runtime/jsx/jsx-dev-runtime.d.mts +1 -0
  217. package/dist/runtime/jsx/jsx-dev-runtime.mjs +2 -0
  218. package/dist/runtime/jsx/jsx-runtime.d.mts +1 -0
  219. package/dist/runtime/jsx/jsx-runtime.mjs +2 -0
  220. package/dist/runtime/limits/index.mjs +1 -1
  221. package/dist/runtime/live/client.d.mts +2 -2
  222. package/dist/runtime/live/index.d.mts +1 -1
  223. package/dist/runtime/routing/index.d.mts +87 -4
  224. package/dist/runtime/routing/index.mjs +59 -20
  225. package/dist/runtime/routing/route-url.d.mts +2 -2
  226. package/dist/runtime/routing/route-url.mjs +1 -1
  227. package/dist/runtime/sandbox/index.mjs +1 -1
  228. package/dist/runtime/sse/client.d.mts +1 -1
  229. package/dist/runtime/workflows/entry.d.mts +8 -0
  230. package/dist/runtime/workflows/entry.mjs +49 -0
  231. package/dist/runtime/workflows/index.d.mts +3 -0
  232. package/dist/runtime/workflows/index.mjs +77 -0
  233. package/dist/runtime/ws/index.d.mts +1 -1
  234. package/dist/runtime/ws/index.mjs +2 -2
  235. package/dist/runtime/ws/room.d.mts +1 -1
  236. package/dist/runtime/ws/server.d.mts +2 -2
  237. package/dist/runtime-Db72hLY-.d.mts +11 -0
  238. package/dist/scan-BxhB4BA-.mjs +946 -0
  239. package/dist/scan-D2ISAobj.mjs +308 -0
  240. package/dist/{secret-C-WBaUSS.mjs → secret-Ck9N5xbU.mjs} +9 -8
  241. package/dist/{security-sarif-ClyYwtAW.mjs → security-sarif-DzTIqNwZ.mjs} +1 -1
  242. package/dist/{serialize-DN-envGQ.d.mts → serialize-Dr9B-0yV.d.mts} +10 -1
  243. package/dist/{serialize-BmB4BfKu.mjs → serialize-nW4IeEBI.mjs} +23 -2
  244. package/dist/{skills-C-csz78e.mjs → skills-BR7YHAF7.mjs} +1 -1
  245. package/dist/{scan-Ct_SEzH4.mjs → source-analysis-cache-Ccm_JSOl.mjs} +340 -902
  246. package/dist/standard-schema-DvMcZGMK.mjs +8 -0
  247. package/dist/{subcommand-prompt-B4LOLosl.mjs → subcommand-prompt-AFf2LcrC.mjs} +2 -2
  248. package/dist/{types-FDH6NuY1.d.mts → types-RYVujNS6.d.mts} +4 -2
  249. package/dist/{version-metadata-DqgLa6gc.mjs → untrusted-env-4oW0TdBP.mjs} +1 -23
  250. package/dist/{url-DBQluotE.mjs → url-DAQ1c3lh.mjs} +45 -1
  251. package/dist/{validate-CtBWCzez.mjs → validate-B1PsQ_mt.mjs} +1 -1
  252. package/dist/validate-p9b3r1k4.mjs +1 -0
  253. package/dist/{validation-error-CtcAvyI7.mjs → validation-error-EKI0wMWX.mjs} +2 -2
  254. package/dist/{validator-Dfh9kCDm.mjs → validator-JJcf9E48.mjs} +5 -8
  255. package/dist/version-metadata-CEla0kgi.mjs +23 -0
  256. package/dist/{wrangler-DVe5KV5G.mjs → wrangler-AyMfdVJK.mjs} +34 -69
  257. package/dist/wrangler-BT7qrzWc.mjs +1 -0
  258. package/dist/{wrapper-CcMYpOS8.mjs → wrapper-DPlTBVOx.mjs} +5 -5
  259. package/docs/guide/ai.md +1 -1
  260. package/docs/guide/app-types.md +6 -23
  261. package/docs/guide/auth.md +2 -4
  262. package/docs/guide/database/d1.md +21 -67
  263. package/docs/guide/database/mysql.md +8 -0
  264. package/docs/guide/database/postgresql.md +2 -2
  265. package/docs/guide/database.md +1 -1
  266. package/docs/guide/deployment.md +18 -0
  267. package/docs/guide/edge/prerendering.md +3 -7
  268. package/docs/guide/edge/redirects.md +1 -1
  269. package/docs/guide/edge/revalidation.md +8 -17
  270. package/docs/guide/edge/rewrites.md +1 -1
  271. package/docs/guide/edge/static-assets.md +10 -22
  272. package/docs/guide/email/domains.md +3 -1
  273. package/docs/guide/email/receiving.md +2 -2
  274. package/docs/guide/email/sending.md +3 -1
  275. package/docs/guide/env-vars.md +2 -0
  276. package/docs/guide/image-generation.md +142 -0
  277. package/docs/guide/index.md +17 -15
  278. package/docs/guide/jobs.md +2 -4
  279. package/docs/guide/kv.md +1 -1
  280. package/docs/guide/og-images.md +83 -0
  281. package/docs/guide/pages-routing/actions-and-forms.md +6 -4
  282. package/docs/guide/pages-routing/errors.md +20 -4
  283. package/docs/guide/pages-routing/head.md +5 -5
  284. package/docs/guide/pages-routing/islands.md +4 -14
  285. package/docs/guide/pages-routing/markdown.md +2 -2
  286. package/docs/guide/pages-routing/overview.md +129 -15
  287. package/docs/guide/platform/administration/plans.md +47 -16
  288. package/docs/guide/platform/administration/projects.md +10 -0
  289. package/docs/guide/platform/administration/security-audits.md +76 -30
  290. package/docs/guide/platform/administration/zero-trust.md +1 -1
  291. package/docs/guide/platform/installation/ci.md +0 -4
  292. package/docs/guide/platform/installation/credentials.md +1 -1
  293. package/docs/guide/platform/installation/maintenance.md +10 -10
  294. package/docs/guide/platform/installation/prerequisites.md +3 -1
  295. package/docs/guide/platform/installation/setup.md +7 -15
  296. package/docs/guide/platform/installation/uninstall.md +6 -12
  297. package/docs/guide/project-collaboration.md +1 -4
  298. package/docs/guide/queues.md +6 -8
  299. package/docs/guide/quickstart.md +6 -8
  300. package/docs/guide/sandboxes.md +1 -1
  301. package/docs/guide/self-hosted-platform.md +4 -7
  302. package/docs/guide/server-routing.md +5 -3
  303. package/docs/guide/ssg.md +1 -1
  304. package/docs/guide/type-safety.md +74 -10
  305. package/docs/guide/websockets.md +5 -7
  306. package/docs/guide/workflows.md +122 -0
  307. package/docs/index.md +2 -3
  308. package/docs/integrations/agents.md +3 -16
  309. package/docs/integrations/cloudflare.md +98 -2
  310. package/docs/integrations/frameworks/analog.md +9 -11
  311. package/docs/integrations/frameworks/astro.md +16 -17
  312. package/docs/integrations/frameworks/nuxt.md +11 -13
  313. package/docs/integrations/frameworks/overview.md +18 -20
  314. package/docs/integrations/frameworks/react-router.md +55 -6
  315. package/docs/integrations/frameworks/sveltekit.md +8 -6
  316. package/docs/integrations/frameworks/tanstack-start.md +10 -6
  317. package/docs/integrations/hono.md +27 -12
  318. package/docs/integrations/nodejs-bun-deno.md +10 -2
  319. package/docs/reference/api/database.md +8 -10
  320. package/docs/reference/api/env.md +2 -2
  321. package/docs/reference/api/handlers.md +1 -1
  322. package/docs/reference/api/html.md +45 -0
  323. package/docs/reference/api/pages.md +118 -167
  324. package/docs/reference/api/rewrites.md +5 -5
  325. package/docs/reference/api/types.md +13 -6
  326. package/docs/reference/api/workflows.md +48 -0
  327. package/docs/reference/api.md +7 -1
  328. package/docs/reference/cli/database.md +22 -10
  329. package/docs/reference/cli/deploy.md +49 -4
  330. package/docs/reference/cli/domains.md +7 -3
  331. package/docs/reference/cli/email.md +3 -1
  332. package/docs/reference/cli/platform-installation.md +9 -53
  333. package/docs/reference/cli/platform-security.md +36 -8
  334. package/docs/reference/cli/platform-users.md +11 -1
  335. package/docs/reference/cli/platform-zero-trust.md +1 -1
  336. package/docs/reference/cli/project.md +52 -11
  337. package/docs/reference/cli/setup.md +8 -10
  338. package/docs/reference/cli.md +49 -47
  339. package/docs/reference/config.md +22 -8
  340. package/docs/reference/resource-inference.md +8 -1
  341. package/docs/reference/structure.md +5 -0
  342. package/package.json +52 -25
  343. package/schema.json +20 -1
  344. package/skills/void/SKILL.md +60 -54
  345. package/dist/cf-build-output-Wpk_e5CI.mjs +0 -1
  346. package/dist/cf-worker-settings-BBdlhm9U.mjs +0 -41
  347. package/dist/cli/db-execute-process.d.mts +0 -2
  348. package/dist/cli/db-execute-process.mjs +0 -57
  349. package/dist/cloudflare-user-output-CCR99eQY.mjs +0 -19
  350. package/dist/collect-B6nlSnsb.mjs +0 -1
  351. package/dist/db-args-BvMwAber.mjs +0 -1
  352. package/dist/deploy-GT4CW5fs.mjs +0 -2
  353. package/dist/discover-D2KGP3cR.mjs +0 -1
  354. package/dist/entry-Bwb9ev8K.mjs +0 -113
  355. package/dist/gen-vhBDHs3q.mjs +0 -1
  356. package/dist/help-fKPzcTJv.mjs +0 -1
  357. package/dist/isr-config-DiTnL9Tb.mjs +0 -115
  358. package/dist/login-BbSQTZ6d.mjs +0 -1
  359. package/dist/migrate-C9aoWLvY.mjs +0 -1
  360. package/dist/operator-cmd-jnjzuJKX.mjs +0 -1
  361. package/dist/output-D7K9TWIA.mjs +0 -1
  362. package/dist/platform-args-CMwMoiLp.mjs +0 -1
  363. package/dist/prepare-DcwigRUS.mjs +0 -1
  364. package/dist/providers-D5P8j_8D.d.mts +0 -5
  365. package/dist/resolve-project-YsTH-U9I.mjs +0 -1
  366. package/dist/static-exports-s7P86Ngp.mjs +0 -354
  367. package/dist/validate-CZYUIfR-.mjs +0 -1
  368. package/dist/wrangler-Dq269bjx.mjs +0 -1
  369. package/docs/guide/platform/development/local.md +0 -120
  370. package/docs/guide/platform/development/runtime.md +0 -115
  371. package/docs/guide/platform/development/schema-ci.md +0 -44
  372. package/docs/guide/platform-development.md +0 -16
@@ -20,10 +20,12 @@ Use this reference to find public imports, signatures, and return types. For set
20
20
  | -------------------------------------------------- | --------------------------------------------------------------- |
21
21
  | [Plugin and configuration](./api/plugin.md) | Add Void to Vite and configure your app. |
22
22
  | [Handlers and middleware](./api/handlers.md) | HTTP routes, validation, scheduled jobs, queues, and rendering. |
23
+ | [HTML templates](./api/html.md) | Escape dynamic text in HTML responses and generated images. |
23
24
  | [Rewrites](./api/rewrites.md) | Serve another route while keeping the requested URL. |
24
25
  | [Authentication](./api/auth.md) | Sessions, users, and the auth client. |
25
26
  | [Fetch client](./api/client.md) | Typed requests and errors. |
26
27
  | [Durable State and WebSockets](./api/durable.md) | Persistent objects and typed connections. |
28
+ | [Workflows](./api/workflows.md) | Define jobs that can sleep and resume. |
27
29
  | [Database and seeding](./api/database.md) | Queries, operators, and seed scripts. |
28
30
  | [KV, storage, AI, and logging](./api/resources.md) | Resource clients, cache revalidation, and logs. |
29
31
  | [Deployment artifacts](./api/deploy.md) | Package built apps for managed deployment. |
@@ -45,11 +47,14 @@ Import Void's app-facing APIs from these paths:
45
47
  | `void/ws` | `defineRoom`, `defineWebSocket`, `connect`, WebSocket context, connection and action types |
46
48
  | `void/ws/server` | `getRoom`, `RoomHandle`, `RoomOptions`, `RoomPath`. Server-only: call room actions from routes, auth hooks, queues and cron jobs. |
47
49
  | `void/durable` | `defineDurableState`, `defineDurableObject`, typed state/RPC/context/migration types |
50
+ | `void/workflows` | Define and start Workflows in server code with `defineWorkflow` and `defineWorkflowEntrypoint`. Includes `WorkflowParamsError` and the Workflow types. |
48
51
  | `void/sse` | `eventStream`, `formatSse`, `formatSseText`, `getLastEventId`, `SseStreamClosedError`, SSE message and stream types |
49
52
  | `void/sse/client` | `connectEventStream`, browser `EventSource` wrapper types |
50
53
  | `void/live` | `defineLiveStream`, SSE topic fanout runtime types. Server-only. |
51
54
  | `void/live/client` | `connectLiveStream`, browser helper for one SSE connection plus POST subscribe/unsubscribe control. |
52
55
  | `void/response` | `convertReturnValue` |
56
+ | `void/html` | `html` template tag, `raw` helper for trusted markup, and `HtmlEscapedString` type. See [HTML Templates](./api/html.md). |
57
+ | `void/jsx` | Hono JSX components, helpers, types, and automatic JSX runtimes. See [JSX handlers](../guide/server-routing.md#jsx-handlers). |
53
58
  | `void/validator` | `runValidation`, `ValidatorSlots`, `HandlerInput` |
54
59
  | `void/drizzle-zod` | Re-exports [`drizzle-zod`](https://orm.drizzle.team/docs/zod) for schema-derived Zod validators for Drizzle tables |
55
60
  | `void/drizzle-valibot` | Re-exports [`drizzle-valibot`](https://orm.drizzle.team/docs/valibot) for schema-derived Valibot validators for Drizzle tables |
@@ -63,7 +68,7 @@ Import Void's app-facing APIs from these paths:
63
68
  | `void/kv` | `kv`, `createKV`, typed KV client/map types |
64
69
  | `void/storage` | `storage`, `createStorage` for the inferred R2 binding or a specific `R2Bucket` |
65
70
  | `void/ai` | `ai`, `VoidAi`, model input and response types |
66
- | `void/limits` | `UsageLimit`, `UsageLimitData`, and `readUsageLimit`. AI and Sandbox limits reject with `UsageLimit`; uncaught limits in Void routes and Pages actions return structured HTTP 429 responses. |
71
+ | `void/limits` | `UsageLimit`, `UsageLimitData`, and `readUsageLimit`. AI, Browser Run, and Sandbox limits reject with `UsageLimit`; uncaught limits in Void routes and Pages actions return structured HTTP 429 responses. |
67
72
  | `void/isr` | `revalidate(options)` for on-demand ISR cache invalidation |
68
73
  | `void/log` | `logger` structured logging helper |
69
74
  | `void/routes` | [`routeUrl()`](./api/types.md#routeurl-path-options), `RouteDestination`, `RoutePath`, `RouteOptions`, `RouteUrl`, `Href`, `RouteUrlInput`, and generated route maps |
@@ -74,3 +79,4 @@ Import Void's app-facing APIs from these paths:
74
79
  | `void/env` | `defineEnv`, `env`, schema helpers (`string`, `number`, `boolean`, `url`, `email`, `oneOf`, `json`), and global Cloudflare env types |
75
80
  | `void/nitro` | Nitro module for Nuxt and Analog. Add `'void/nitro'` to the Nitro `modules` so server routes get the app's `void/db` and `@schema` |
76
81
  | `void/sveltekit` | SvelteKit integration helpers: `withVoidTSConfig()` and `mergeVoidSvelteKitTsconfig()` |
82
+ | `void/image` | `renderImage`, `renderOgImage`, `ImageResponse`, `OgImageResponse`, `ImageInput`, `ImageFont`, and rendering and response option types. See [Image Generation](../guide/image-generation.md) and [Open Graph Images](../guide/og-images.md). |
@@ -71,7 +71,7 @@ For destructive statements (`DELETE`, `UPDATE`, `DROP`, etc.) when running in a
71
71
 
72
72
  ### JSON output {#void-db-execute-json}
73
73
 
74
- Pass `--json` to read results from a script. stdout receives only a JSON array with one entry per statement, including statements in SQL with several statements. Prompts, warnings, errors and any other output, such as messages that `void.config.ts` or a process it starts prints, go to stderr, and a failure exits with a non-zero status.
74
+ Pass `--json` to write one JSON array to stdout, with an entry per SQL statement. Diagnostics go to stderr. On failure the command exits with a nonzero status and leaves stdout empty.
75
75
 
76
76
  ```sh
77
77
  void db execute --json "select count(*) as total from users; select id from users limit 1"
@@ -92,18 +92,30 @@ void db execute --json "select count(*) as total from users; select id from user
92
92
  ]
93
93
  ```
94
94
 
95
- Each entry has the same shape as a D1 result and as an entry of `wrangler d1 execute --json`:
95
+ In the example above, the first entry contains the count and the second contains the selected ID. Each entry has the same fields as a D1 result or `wrangler d1 execute --json`:
96
96
 
97
- - `results`: the rows the statement returned, or `[]`. `NULL` prints as `null`, numbers and text keep their types, and binary values print as arrays of bytes. An integer outside ±9007199254740991, which a JSON number cannot hold exactly, prints as a string of its digits, and infinite or not-a-number values print as `"Infinity"`, `"-Infinity"` and `"NaN"`. PostgreSQL `bigint` and `numeric` values print as strings, in arrays too, and numbers in `json` and `jsonb` values keep the digits the database returned. MySQL dates and times print as the text MySQL returns, such as `"2024-01-02 03:04:05.123456"`. A remote D1 database returns values as D1's API reports them. A MySQL `CALL` is one entry, with the rows of every result set the procedure returns. So are an `EXECUTE` of a prepared `CALL`, and a compound statement that MariaDB runs outside a stored program, such as `BEGIN NOT ATOMIC ... END` or `IF ... END IF`.
98
- - `success`: `true` for a statement that ran.
99
- - `meta`: what the database reports about the statement. D1 databases report D1's metadata, such as `changes` and `last_row_id` (locally `changes`, `last_row_id` and `duration`). PostgreSQL reports `command` and `rowCount`, and MySQL reports `affectedRows` and `insertId` for a statement that changes data.
97
+ - `results` contains the rows, or an empty array if the statement returned none.
98
+ - `success` is `true` for a statement that ran.
99
+ - `meta` contains the database’s statement metadata. Local D1 reports `changes`, `last_row_id`, and `duration`. Remote D1 returns the D1 API’s values. PostgreSQL reports `command` and `rowCount`. MySQL reports `affectedRows` and `insertId` for writes.
100
100
 
101
- If a statement fails, stdout stays empty.
101
+ When reading results from a script, use these representations:
102
+
103
+ | Database value | JSON output |
104
+ | --------------------------------------------------- | --------------------------------------------------- |
105
+ | SQL `NULL`, text, ordinary numbers | `null`, strings, and numbers |
106
+ | Binary data | An array of bytes |
107
+ | Integers outside the safe range (±9007199254740991) | A string containing the digits |
108
+ | Non-finite numbers | `"Infinity"`, `"-Infinity"`, or `"NaN"` |
109
+ | PostgreSQL `bigint` and `numeric` | Strings, including inside arrays |
110
+ | Numbers inside PostgreSQL `json` or `jsonb` | JSON numbers with the digits returned by PostgreSQL |
111
+ | MySQL dates and times | Strings such as `"2024-01-02 03:04:05.123456"` |
112
+
113
+ A MySQL `CALL` can return several result sets. Their rows appear together in one entry. This also applies to a prepared `CALL` and to MariaDB compound statements such as `BEGIN NOT ATOMIC … END` or `IF … END IF` run outside a stored program.
102
114
 
103
115
  `--json` is not available for a direct Cloudflare D1 import of a file larger than 100 KB, which returns no rows. On a Void platform D1 database, `--remote --json` runs one statement per command; a `CREATE TRIGGER` counts as one statement. On MySQL, `--json` stops without running anything when it cannot tell which results belong to which statement:
104
116
 
105
- - An `EXECUTE` runs a statement that the same SQL does not prepare from a quoted string, such as `PREPARE s FROM @sql`, and so may be a `CALL`. A procedure may prepare statements too, so after a `CALL`, prepare a statement again before you run it. Run SQL that prepares a statement from a variable without `--json`.
106
- - A `SET sql_mode` sets anything other than a quoted list of modes, such as `SET sql_mode = @saved`, and a quoted string with a backslash after it reads as different statements in different modes, with a `CALL` or another statement that returns several results among them. Set `sql_mode` to a quoted list such as `'ANSI_QUOTES'`, or run that statement in a separate command.
117
+ - Prepare statements from quoted SQL before executing them. After a `CALL`, prepare the statement again. Omit `--json` when preparing from a variable such as `@sql`.
118
+ - Set `sql_mode` to a quoted list such as `'ANSI_QUOTES'` or change it in a separate command if ambiguous backslash escaping prevents JSON output.
107
119
 
108
120
  ## `void db migrate` {#void-db-migrate}
109
121
 
@@ -111,7 +123,7 @@ If a statement fails, stdout stays empty.
111
123
  void db migrate [--remote]
112
124
  ```
113
125
 
114
- Apply pending migrations to the local database without resetting. Unlike `void db reset`, this preserves existing data and only runs migrations that haven't been applied yet. To allow a destructive migration, add `-- void:allow-destructive` on its own line in the SQL file.
126
+ Apply pending migrations to the local database. To allow a destructive migration, add `-- void:allow-destructive` on its own line in the SQL file.
115
127
 
116
128
  Pass `--remote` to apply pending migrations to the saved target. Hosted projects require a Void login and link. Direct Cloudflare D1 projects use the binding's configured migration directory, table, and pattern. The D1 binding must set `migrations_dir`. Direct PostgreSQL and MySQL projects use the shell `DATABASE_URL`.
117
129
 
@@ -121,7 +133,7 @@ Pass `--remote` to apply pending migrations to the saved target. Hosted projects
121
133
  void db studio [--remote]
122
134
  ```
123
135
 
124
- Open [Drizzle Studio](https://orm.drizzle.team/docs/drizzle-kit-studio) for the database. Launches a web-based GUI for browsing and editing your data.
136
+ Browse and edit your data in [Drizzle Studio](https://orm.drizzle.team/docs/drizzle-kit-studio).
125
137
 
126
138
  By default, targets the local database. Pass `--remote` to open Studio against the deployed database:
127
139
 
@@ -12,6 +12,7 @@ void deploy [--project <name>] [--dir <path>] [--spa] [--skip-build] [--skip-mig
12
12
  void deploy [--platform <cloudflare|void>] [--require-email]
13
13
  void deploy --platform cloudflare --atomic
14
14
  void deploy --platform cloudflare --provision
15
+ void deploy --platform cloudflare --preview <name> [--json]
15
16
  ```
16
17
 
17
18
  Auto-detects your project type and chooses the right pipeline. See [Supported App Types](../../guide/app-types.md) and [Deployment](../../guide/deployment.md) for details.
@@ -38,10 +39,12 @@ For Drizzle projects, deploy performs a read-only schema drift check. If a new m
38
39
  | `--skip-migrations` | Deploy without applying application or authentication SQL migrations; supported on Cloudflare and Void platforms |
39
40
  | `--require-email` | Fail when email cannot be set up instead of deploying without it; requires `--platform cloudflare` |
40
41
  | `--provision` | Run resource provisioning again even when every resource exists; requires `--platform cloudflare` |
41
- | `--atomic` | Publish an existing Durable Object Worker directly; readiness is checked after traffic changes |
42
+ | `--atomic` | Send traffic before checking readiness on an existing Worker with Durable Objects or Workflows |
43
+ | `--preview <name>` | Deploy a static site or SPA to a Cloudflare Preview; production is unchanged ([more](#void-deploy-preview)) |
44
+ | `--json` | With `--preview`, print one JSON object on stdout; everything else goes to stderr |
42
45
  | `--debug` | Mirror the structured deploy log to stderr (also written to `~/.void/logs/`) |
43
46
 
44
- `--atomic` applies to one deployment. For an existing Durable Object Worker that consistently cannot stage, set `deploy: { cloudflare: { mode: 'atomic' } }` in `void.config.ts` so plain `void deploy` uses atomic publication. The default is `staged`.
47
+ Void stages Cloudflare deployments by default. Use `--atomic` for a single deployment when Cloudflare cannot stage a class change. If this Worker needs an atomic deploy every time, set `deploy: { cloudflare: { mode: 'atomic' } }` in `void.config.ts`.
45
48
 
46
49
  Use `--skip-migrations` when you run migrations separately or share a database with a preview. The code must work with the database's current schema. The next deploy without this flag applies pending migrations.
47
50
 
@@ -83,7 +86,9 @@ is configured. See [Deploy to another Void platform](../../guide/deployment.md#d
83
86
 
84
87
  ### Security notice
85
88
 
86
- When the platform has [security audits](../../guide/platform/administration/security-audits.md) turned on, `void deploy` prints the scan state and any open urgent findings after the deploy is live. The deploy has already gone out, and the notice never changes the exit code. In a signed-in terminal it lists finding titles and files. In CI, and for readers, it prints counts and finding ids only. Review them with `void project security list --urgent`.
89
+ On a platform with [security audits](../../guide/platform/administration/security-audits.md), the output includes the scan state and open urgent findings. Your deployment is already live. The audit notice leaves the exit code unchanged.
90
+
91
+ A signed-in developer sees titles and files. In CI or with reader access, the notice shows counts and finding IDs. To inspect the findings, run `void project security list --urgent`.
87
92
 
88
93
  ## `void deploy --platform cloudflare` {#void-deploy-platform-cloudflare}
89
94
 
@@ -110,7 +115,7 @@ Void signs you in through your browser when needed and saves the selected accoun
110
115
 
111
116
  After `--skip-migrations`, direct Cloudflare deployment history shows the applied migration state as unknown. Rolling back code doesn't reverse database changes.
112
117
 
113
- When using an API token, grant **Workers Admin** to create the Worker or **Workers Editor** to update it. See [Cloudflare CI credentials](../../integrations/cloudflare.md#deploying-from-ci) for zone and resource permissions. Commit `void.lock.json` after the first deploy before using other machines or CI.
118
+ When using an API token, grant **Workers Admin** to create the Worker or **Workers Editor** to update it. See [Cloudflare CI credentials](../../integrations/cloudflare.md#deploying-from-ci) for zone and resource permissions. Commit `void.lock.json` after the first deploy before using other machines or CI. If the deploy creates `void.config.ts`, commit it and any `.gitignore` changes too.
114
119
 
115
120
  Use `void secret put <NAME>` for production server values. Local `.env` values are never deployed. Run `void db generate` and commit schema changes before deploying.
116
121
 
@@ -119,3 +124,43 @@ Sandbox requires [Workers Paid](https://dash.cloudflare.com/?to=/:account/worker
119
124
  For email, set `email.from` and run `void email setup --platform cloudflare` locally. Commit the lock file and pass `--require-email` in CI. See [Email setup](../../guide/email/domains.md#your-own-cloudflare-account).
120
125
 
121
126
  For Access credentials, Hyperdrive permissions, readiness, and rollback, see [Cloudflare deployment](../../integrations/cloudflare.md#deploy-to-your-own-cloudflare-account).
127
+
128
+ ## `void deploy --platform cloudflare --preview <name>` {#void-deploy-preview}
129
+
130
+ Deploy a static site or SPA to a separate URL on its existing Worker. You can share the preview without changing production traffic, routes, or schedules:
131
+
132
+ ```sh
133
+ void deploy --platform cloudflare --preview pr-64
134
+ ```
135
+
136
+ Use the same `--dir` and `--spa` settings you use for production. To reuse build output, pass `--skip-build` or point `--dir` at the built site.
137
+
138
+ Before the first preview:
139
+
140
+ - Deploy the Worker to production once with `void deploy --platform cloudflare`. A preview never creates the Worker.
141
+ - Set the Worker name: `cloudflare.name` in `void.config.ts`, or `name` in `wrangler.jsonc`.
142
+ - Pin the account with `cloudflare.account_id` (`account_id` in `wrangler.jsonc`) or `CLOUDFLARE_ACCOUNT_ID`.
143
+ - Workers that serve only routes or custom domains need `preview_urls: true`.
144
+
145
+ Static previews have no access to the Worker’s bindings, variables, or secrets.
146
+
147
+ Use lowercase letters, digits and single hyphens, starting with a letter. `<name>-<worker>` must fit in 63 characters. Name previews after the pull request, such as `pr-64`.
148
+
149
+ Use `--json` in CI to get the preview URL:
150
+
151
+ ```json
152
+ {
153
+ "type": "preview",
154
+ "workerName": "my-app",
155
+ "previewName": "pr-64",
156
+ "previewUrl": "https://pr-64-my-app.my-team.workers.dev",
157
+ "deploymentId": "…",
158
+ "deploymentUrl": "https://…-my-app.my-team.workers.dev"
159
+ }
160
+ ```
161
+
162
+ Share `previewUrl` with reviewers. It stays the same for a given name and can take a few seconds to serve the latest deploy. Use `deploymentUrl` in the same CI job when available: it points directly to that deployment and can be `null`. On failure the command exits nonzero, writes the error to stderr, and leaves stdout empty.
163
+
164
+ Preview URLs are public. Protect them with [Cloudflare Access](https://developers.cloudflare.com/workers/configuration/cloudflare-access/) when needed. Workers Free allows 100 previews per Worker and Workers Paid 500; beyond that, Cloudflare deletes the one deployed to least recently.
165
+
166
+ Remove a preview with [`void project preview delete`](./project.md#void-project-preview-delete-name). See [Pull request previews](../../integrations/cloudflare.md#pull-request-previews) for a GitHub Actions workflow.
@@ -11,9 +11,13 @@ outline: deep
11
11
  void domain add <hostname> [--project <name>]
12
12
  ```
13
13
 
14
- Add a custom domain to the saved target. Hosted Void projects print the DNS records needed for SaaS hostname validation. Direct Cloudflare projects add a `custom_domain` route and immediately synchronize only the route configuration, leaving cron, queue, and workflow triggers unchanged; Cloudflare manages the DNS record and TLS certificate in a zone on the pinned account. Convert a legacy singular `route` field to a `routes` array first so adding the domain cannot shadow the existing route.
14
+ To serve your app at `shop.example.com`, run:
15
15
 
16
- > Wildcard custom hostnames (`*.example.com`) are not supported — register each subdomain individually.
16
+ ```sh
17
+ void domain add shop.example.com
18
+ ```
19
+
20
+ For a hosted project, add the DNS records printed by the CLI. For a direct Cloudflare deployment, Void adds the domain route immediately and Cloudflare manages DNS and TLS in the selected account’s zone. If your config has a legacy `route` field, convert it to a `routes` array first. Register each subdomain individually.
17
21
 
18
22
  ## `void domain delete` {#void-domain-delete}
19
23
 
@@ -39,4 +43,4 @@ void domain status <hostname> [--project <name>] [--verbose]
39
43
 
40
44
  Show domain verification and TLS certificate status, including DNS records to configure and any required action. Domains activate automatically once verification and certificate issuance finish.
41
45
 
42
- For direct Cloudflare projects, status reports whether the route is present in the Void Cloudflare config. It does not claim to inspect remote certificate issuance; Cloudflare owns that state and exposes it in the dashboard. `--project` is hosted-only.
46
+ On direct Cloudflare, status shows whether the route is configured in `void.config.ts`. Check certificate issuance in the Cloudflare dashboard. The `--project` option applies to hosted projects.
@@ -128,7 +128,9 @@ Disable the domain assignment and record cleanup. Zone resources used by another
128
128
  void email status --platform cloudflare
129
129
  ```
130
130
 
131
- Check the domain configured in `email.from`: permissions, sending, and the email binding, plus routing and handler addresses when the app has `email/` handlers. Exits unsuccessfully when setup is incomplete or cannot be verified. Sending-only apps need an onboarded sending domain. Apps with inbound handlers can be ready on Workers Free with sending limited to verified destinations; run `void email setup --platform cloudflare` after upgrading to Workers Paid.
131
+ Use this command to check whether the domain in `email.from` is ready to send. It checks your permissions and email binding. If the app has `email/` handlers, it also checks routing and handler addresses. An incomplete or unverifiable setup gives a nonzero exit status.
132
+
133
+ On Workers Free, an app with inbound handlers can be ready to send to verified recipients. A sending-only app needs a domain onboarded for Email Sending. After upgrading to Workers Paid, run `void email setup --platform cloudflare`.
132
134
 
133
135
  `void email status` reads only your own Cloudflare account, so `--platform cloudflare` is required. On the Void platform, use `void email usage` and `void email destinations`.
134
136
 
@@ -37,58 +37,20 @@ void platform install [options] [--yes]
37
37
  | `--runtime <path>` | Deploy a locally built, integrity-checked runtime directory |
38
38
  | `--yes` | Acknowledge Cloudflare changes in non-interactive use |
39
39
 
40
- For a first installation, follow [Install a Void Platform](../../guide/self-hosted-platform.md). The interactive installer recommends using a domain and offers **Use workers.dev for testing** as a visible alternative. Void creates the platform infrastructure and tables. External PostgreSQL and a configured login method are required in either mode. Select all login methods you want to enable; none are selected initially. Non-interactive installation defaults to GitHub when no login configuration is supplied. `--workers-dev` skips zone/DNS/certificate operations and cannot be combined with `--application-domain`, `--zone`, or `--dedicated-zone`.
40
+ Follow [Install a Void Platform](../../guide/self-hosted-platform.md) for prerequisites and guided setup. Use a dedicated empty PostgreSQL database and choose a login method. Unattended installs default to GitHub.
41
41
 
42
- Read-only plans, workers.dev installations with the default API hostname, and supported lifecycle operations can use Cloudflare browser login and the system keychain. Installation that writes DNS or creates a zone needs a management API token. The interactive installer guides you to create one and paste it into a masked prompt; scripts use `CLOUDFLARE_API_TOKEN` or `CF_API_TOKEN`.
42
+ Use `--workers-dev` to try the platform before setting up a domain. Omit `--application-domain`, `--zone`, and `--dedicated-zone` in this mode. For a separately deployed dashboard, pass its HTTPS origin with `--dashboard-url` to allow login callbacks.
43
43
 
44
- The installed platform needs a separate runtime token to provision resources for apps. The interactive installer prompts for it and the other setup values. For non-interactive installs, inject the variables listed in [Install from CI](../../guide/platform/installation/ci.md).
44
+ Cloudflare browser login works for read-only plans and workers.dev installs with the default API hostname. To create a zone or write DNS, supply a management token interactively or through `CLOUDFLARE_API_TOKEN` or `CF_API_TOKEN`. The installed platform needs its own runtime token. See [Credentials](../../guide/platform/installation/credentials.md) and [Install from CI](../../guide/platform/installation/ci.md) for the required permissions and variables.
45
45
 
46
- To enable email during install or upgrade, set both `VOID_EMAIL_SENDER_DOMAIN` and `VOID_EMAIL_SHARED_ZONE_ID`. Void records the pair for later upgrades; supplying only one is an error.
46
+ For login configuration, use `--auth-config` or `--login-methods` with the Access protection flags. Set the default access for new apps with [`--app-access`](../../guide/platform/installation/setup.md#choose-who-can-access-apps). To enable email, set both `VOID_EMAIL_SENDER_DOMAIN` and `VOID_EMAIL_SHARED_ZONE_ID`.
47
47
 
48
- Use `--dashboard-url https://dash.example.com` when deploying the optional user
49
- dashboard separately. The URL must be an HTTPS origin without credentials, a
50
- path, query, or fragment. Void permits that origin's login callbacks and saves
51
- it for later maintenance; it does not deploy a dashboard Worker. Omission keeps
52
- an existing installation's saved dashboard origin.
53
-
54
- `--plan` previews resource names, login methods, default app access, the login callback URL, database configuration, and credential requirements. An existing Hyperdrive shows its database and configuration name. Setup links are shown during guided credential setup. Completed previews save nonsecret installation choices locally. Rerun `void platform install` to choose a saved plan and review a fresh check of Cloudflare state, or run the install or resume command printed at the end. Started installations use their saved checkpoints; completed installations are excluded from the chooser. For login configuration, use either `--auth-config` or `--login-methods` with the Access protection flags.
55
-
56
- App access is configured before traffic opens. With platform protection enabled,
57
- the installer recommends reusing its company policy; otherwise it defaults to
58
- public apps. Use `--app-access custom` to select separate hosting-account policies.
59
- Public apps in a Default-Deny account receive scoped public Access rules. The
60
- installer explains and collects the encrypted management credential when needed;
61
- scripts supply `VOID_PLATFORM_APP_ACCESS_TOKEN` or `appAccess.tokenEnv` in the
62
- authentication file. Upgrades preserve administrator settings.
63
-
64
- New resources use `void-<name>-<role>` names; choose an unused installation name. The installer opens setup pages for missing credentials and reuses values already supplied.
65
-
66
- During Access setup, choose existing company policies or **Create in Cloudflare**
67
- for manual setup instructions and an account dashboard link. After you save the
68
- policy and confirm completion, Void reloads the list so you can select it and
69
- continue in the same run. When Void creates the Access applications, **Allow my
70
- company’s email domain** creates an Allow policy for the domains you enter and
71
- selects it. **Refresh list** reloads policies created in another window. Your
72
- identity-provider choice and still-available policy selections are retained. If a
73
- selected policy does not restrict sign-in to company identities, Void explains why
74
- and asks again.
75
-
76
- Installation progress and partial credentials are saved encrypted locally. Rerun the installer to continue unfinished setup, or pass `--resume --name <id>`. Use lifecycle commands for completed installations.
77
-
78
- Use an empty PostgreSQL database dedicated to the installation. You can correct a failed initial connection, but after the database is claimed or Hyperdrive is provisioned, commands reject a different URL.
79
-
80
- Choose whether Void creates Hyperdrive or uses an existing configuration. An existing Hyperdrive must point to the platform database with SQL result caching disabled. Supply a database owner URL for migrations. See [Use an existing Hyperdrive](../../guide/platform/installation/prerequisites.md#use-an-existing-hyperdrive) for setup and [Install from CI](../../guide/platform/installation/ci.md) for unattended inputs.
81
-
82
- Recovery secrets are encrypted using your system keychain. Without one, supply a base64-encoded 32-byte `VOID_PLATFORM_RECOVERY_KEY`. Keep the original credentials in protected CI secrets for recovery.
83
-
84
- If a newly created zone is waiting for registrar delegation, resume after it becomes active:
48
+ Use `--plan` to preview resources and credentials. Run `void platform install` to select a saved plan. To continue an interrupted installation, including one waiting for DNS delegation, run:
85
49
 
86
50
  ```sh
87
51
  void platform install --resume --name <installation-id>
88
52
  ```
89
53
 
90
- See [Self-host a Void platform](../../guide/self-hosted-platform.md) for prerequisites, token scope, exact footprint, domain behavior, and an end-to-end walkthrough.
91
-
92
54
  ## `void platform domain set` {#void-platform-domain-set}
93
55
 
94
56
  ```sh
@@ -144,24 +106,18 @@ After discovery on another machine, set `VOID_PLATFORM_DATABASE_URL`. See [Manag
144
106
  | `enable` | Redeploys and verifies the platform Workers, then restores traffic |
145
107
  | `uninstall` | Blocks traffic and removes eligible resources, retaining data by default |
146
108
 
147
- Repair and upgrade preserve disabled state. New, resumed, and previously disabled installations block user traffic until all target Workers pass verification; the installer's health probes can still run. Routes and custom domains remain attached.
109
+ Repair and upgrade keep a disabled platform paused.
148
110
 
149
111
  Replacing platform Worker configuration changed outside Void requires interactive approval. Follow [Platform Workers changed outside Void](../../guide/platform/installation/maintenance.md#workers-changed-outside-void) if maintenance asks for it.
150
112
 
151
- `--runtime` selects a custom platform build. Relative paths resolve from your current directory. Void verifies the build before making changes; see [Platform Development](../../guide/platform/development/runtime.md#deploying-your-runtime) for creating one.
152
-
153
- Without `--runtime`, the CLI uses its packaged platform version.
113
+ The CLI uses its packaged runtime by default. To select a [custom build](https://github.com/voidzero-dev/void/blob/main/platform/meta/development/runtime.md#deploying-your-runtime), pass its directory with `--runtime`. Relative paths resolve from your current directory.
154
114
 
155
115
  Platform migrations only move forward. Void checks compatibility before updating the database and tells you if an intermediate release is needed.
156
116
 
157
117
  An upgrade completes after the new Workers pass health checks. If rollout fails, Void attempts to restore the previous Workers. Retrying does not repeat completed migrations.
158
118
 
159
- `platform rollback` restores a compatible earlier runtime without reversing database migrations. Pass its files with `--runtime`; if the installed version is custom, also supply that version with `--from-runtime`. Void refuses incompatible targets.
160
-
161
- If project Zero Trust is on and no platform user exists yet, uninstall turns it off and deletes its Access applications first. Run it on the computer that installed the platform.
162
-
163
- Uninstall verifies remote ownership before removing anything. Data resources are retained unless you pass `--purge-data`. Workers, the Queues they use, R2, AI Gateway, DNS records, routes, custom domains, adopted resources, external PostgreSQL, and zones are retained for manual review. `--keep-zone` is deprecated and has no effect; uninstall always keeps zones.
119
+ For rollback, pass the earlier runtime directory with `--runtime`. If the installed version is a custom build, also supply its files with `--from-runtime`.
164
120
 
165
- `--purge-resources` includes `--purge-data` and also deletes every other resource the installation created, including Workers, Queues, R2, AI Gateway, the platform DNS record, routes, custom domains, and installer-created Access resources. It removes only the Email Routing rules that send mail to the platform email gateway, and keeps zones, adopted resources, external PostgreSQL, other Email Routing settings, and API tokens. A route, custom domain, DNS record, or Access resource that no longer matches the installation's record is kept and listed. It refuses before any change while projects remain or resource reads are denied. Use the Edit permissions listed by `--plan`; read checks cannot verify them, so a denied deletion can stop uninstall after changes have begun. Rerun the same command to continue after an interruption, or after a plain or `--purge-data` uninstall stopped.
121
+ Preview uninstall with `--plan`. By default, uninstall retains data. Use `--purge-data` to remove eligible data resources, or `--purge-resources` to remove installer-owned infrastructure as well. Zones, adopted resources, and external PostgreSQL are retained. The legacy `--keep-zone` flag has no effect.
166
122
 
167
123
  See [Disable and Uninstall](../../guide/platform/installation/uninstall.md#remove-retained-resources) for the full removal policy and the cleanup order.
@@ -17,7 +17,7 @@ void platform upgrade [id] --security-audits
17
17
  void platform repair [id] --security-audits
18
18
  ```
19
19
 
20
- This allows the feature and nothing more. No project is scanned until you set a scan mode. The runtime token needs the Containers permissions that the token page lists. Uninstalling the platform also deletes the scanner, its container applications, its scan copies, and the scanner images it copied.
20
+ Install with a runtime token that has the [Containers permissions](../../guide/platform/installation/credentials.md) listed for security audits. Once the scanner is installed, choose which projects to scan. Uninstall removes the scanner, container applications, scan copies, and copied scanner images.
21
21
 
22
22
  Then check the account and choose a mode:
23
23
 
@@ -30,20 +30,38 @@ void platform security status
30
30
 
31
31
  `probe` checks that the account can run scans and reports each missing requirement. `policy` selects which projects are scanned, and `--plan` shows how many projects the change reaches. Turning the mode on runs the probe first and refuses when it fails.
32
32
 
33
- `policy --project` sets one project's own rule. `always` scans it at each deploy, also while Zero Trust protects it. `never` stops its scans: deploys, rescans, sweeps, backfill, and `void project security check`. With [Scan before a project goes public](/guide/platform/administration/security-audits#scan-before-public) on, a request to make it public still scans it first. `inherit` makes the project follow the scan mode again. The rule changes nothing while the mode is `disabled`. It starts no scan by itself; use `rescan` to scan the project now. `status` lists the projects that have their own rule.
33
+ To scan a protected project on every deployment while the rest of your platform scans public projects, set its rule to `always`. To use the platform mode again, set it to `inherit`.
34
+
35
+ ```sh
36
+ void platform security policy --project <project-id> always
37
+ ```
38
+
39
+ The `never` rule skips deploy scans, rescans, sweeps, backfill, and local checks. A [scan before going public](/guide/platform/administration/security-audits#scan-before-public) still applies. Project rules take effect while the platform scan mode is on. Use `status` to see overrides or `rescan` to scan a project immediately.
34
40
 
35
41
  ## Models, limits, and spending {#models-limits-budget}
36
42
 
37
43
  ```sh
38
44
  void platform security models [--default <id>] [--block <id,...>] [--unblock <id,...>] [--accept-provider-notice] [--plan] [--yes]
39
45
  void platform security models --provider <openai|anthropic> (--key-stdin | --remove-key) [--plan] [--yes]
40
- void platform security limits [--concurrency <n>] [--scan-timeout <minutes>] [--plan] [--yes]
46
+ void platform security limits [--concurrency <n>] [--scan-timeout <minutes>] [--scan-input-tokens <n>] [--scan-calls <n>] [--scan-usd <usd|auto>] [--plan] [--yes]
41
47
  void platform security budget [--platform-usd <n> | --platform-off] [--project-default-usd <n> | --project-caps <on|off>] [--plan] [--yes]
42
48
  void platform security budget --project <project-id> (--usd <n> | --clear) [--plan] [--yes]
43
49
  void platform security model <project-id> <model-id|--default> [--accept-provider-notice] [--plan] [--yes]
44
50
  ```
45
51
 
46
- `limits --concurrency` sets how many scans run at once on the platform, and `--scan-timeout` how long one scan may run. Each Cloudflare (`@cf`) model runs one scan at a time, so more scans run at once only on different models. A model run by a third party needs its provider notice accepted with `--accept-provider-notice`. `--provider <name> --key-stdin` saves your own OpenAI or Anthropic API key, read from standard input, for that provider's models; pipe it from your password manager and add `--yes`. Void makes a 1-token test call with the key and saves it only if the call works. `--remove-key` deletes it. See [Use your own provider key](/guide/platform/administration/security-audits#own-provider-key). `budget` with no flags shows the caps and this month's spend; with a cap flag it changes them. `--platform-usd` sets the platform cap and turns it on. `--project-default-usd` sets the default cap for every project and turns project caps on; `--project-caps off` removes it. `--project <id> --usd <n>` sets the most that project's admins may give it, and `--clear` removes that limit. A lower cap that a project admin set for their own project still applies. Without a project limit, a project gets the [plan cap](./platform-config.md#plans) of its owner's plan, then the default.
52
+ **Models.** Accept the provider notice with `--accept-provider-notice` when choosing a third-party model. To bill your own OpenAI or Anthropic account, pipe the key from your password manager to `models --provider <name> --key-stdin --yes`. Void saves it after a successful test call. Use `--remove-key` to switch back. See [Use your own provider key](/guide/platform/administration/security-audits#own-provider-key).
53
+
54
+ | Scan limit | What it controls |
55
+ | --------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
56
+ | `--concurrency` | Scans running at once. Each Cloudflare model runs one at a time. |
57
+ | `--scan-timeout` | Minutes per scan: 5–60 (default 60). |
58
+ | `--scan-input-tokens` | Input tokens per scan, including cached tokens. |
59
+ | `--scan-calls` | Model calls per scan: 10–500 (default 500). |
60
+ | `--scan-usd` | [Spend limit per scan](/guide/platform/administration/security-audits#scan-spend-limit). Use `auto` for model-based pricing. |
61
+
62
+ **Budget.** Run `void platform security budget` to see this month’s spend and caps. Use `--platform-usd` to enable a platform cap or `--project-default-usd` to enable default project caps. Turn off the default with `--project-caps off`.
63
+
64
+ To set the most a project admin can budget for one project, pass `--project <id> --usd <n>`. A lower cap chosen by the project admin still applies. Use `--clear` to remove the project-specific limit. Void then uses the [owner’s plan cap](./platform-config.md#plans), followed by the platform’s default project cap.
47
65
 
48
66
  ## Findings and scans {#findings-scans}
49
67
 
@@ -61,11 +79,13 @@ void platform security fallback <on|off> [--plan] [--yes]
61
79
  void platform security cancel <scan-id> [--yes]
62
80
  ```
63
81
 
64
- Lists show one page at a time; use `--limit` (up to 100) and `--page`. Findings list the oldest first. `findings --format sarif` prints every matching finding, across projects, as one SARIF 2.1.0 file (up to 10,000 findings); it does not take `--limit` or `--page`. Name several findings with commas to change them together; they are checked before any change is made.
82
+ Use `--page` and `--limit` (up to 100) to page through findings, oldest first. For code scanning tools, `findings --format sarif` exports up to 10,000 matching findings across projects in a single SARIF 2.1.0 file. Omit pagination flags for this export.
83
+
84
+ To update several findings together, separate their IDs with commas. Void checks every ID before applying the change.
65
85
 
66
- `rescan` runs a full scan of the live deployment. It tells you which model it uses and the most it can cost, then asks before it starts. Monthly caps apply to rescans too. `--client-assets` also reviews the sources of the project's client bundles from the source maps deployed with them. Project admins can start the same scan with `void project security scan`.
86
+ `rescan` reviews the full live deployment and shows the model and [spend limit](/guide/platform/administration/security-audits#scan-spend-limit) before starting. Add `--client-assets` to review client code from deployed source maps. Project admins can run the same scan with `void project security scan`. Monthly caps apply.
67
87
 
68
- Turning security audits on scans nothing that is already live. `backfill` scans each live deployment in scope that has never been scanned, up to 50 projects at a time; run it again for the rest. `--plan` shows how many projects it reaches and the most the scans can cost. A deployment whose code is no longer stored cannot be scanned; the preview counts these, and the next deploy of each project scans it.
88
+ Use `backfill --plan` to see how many existing deployments need a first scan and the total of their spend limits. Run `backfill` for up to 50 projects at a time. If the platform no longer has the code, it reports that deployment and scans the project on its next deploy.
69
89
 
70
90
  `sweeps on` reviews every live app in full on a schedule, with a deeper review than a deploy scan: a project is swept when it has had no full scan for `--every-days` days (7 to 90, default 30). A few sweeps start each hour, so deploy scans keep moving. Projects whose live code is no longer stored are not swept until they deploy again. Sweeps are off by default; each one costs more than a deploy scan, and the monthly caps apply.
71
91
 
@@ -82,7 +102,15 @@ When three scans of a project in a row do not succeed for a project reason (refu
82
102
 
83
103
  `digest on` sends installation admins a weekly email each Monday with the counts for the week before: scans, new and resolved findings, urgent findings still open, and public requests. It is off by default.
84
104
 
85
- `webhook` sends each security event to an `https` URL as a signed JSON body that holds ids and counts only, never titles, file paths, or code. Setting the URL shows a signing secret once; setting it again makes a new secret. Each request has an `X-Void-Event` type such as `security.findings`, an `X-Void-Delivery` id that stays the same on retries, and `X-Void-Signature: t=<seconds>,v1=<hex>`, where `t` is the send time and `v1` the HMAC-SHA256 of `<t>.<body>` with the secret. A request that does not answer 2xx within 10 seconds is retried twice. Webhooks are sent even when platform email is off.
105
+ Register an HTTPS endpoint with `webhook` and save the signing secret printed by the CLI. Setting the URL again rotates the secret. Each event has a JSON body with IDs and counts. Void delivers webhooks even if platform email is off.
106
+
107
+ | Header | How to use it |
108
+ | ------------------ | ------------------------------------------------------------------------------------------ |
109
+ | `X-Void-Event` | Identify the event, such as `security.findings`. |
110
+ | `X-Void-Delivery` | Recognize a retry of the same delivery. |
111
+ | `X-Void-Signature` | Verify `t=<seconds>,v1=<hex>` using HMAC-SHA256 over `<t>.<body>` with the signing secret. |
112
+
113
+ Return a 2xx response within 10 seconds. Void retries a failed delivery twice.
86
114
 
87
115
  ## Scan before a project goes public {#public-gate}
88
116
 
@@ -45,14 +45,24 @@ void platform project normalize <id> [--plan | --yes]
45
45
  void platform project delete <id>
46
46
  void platform project owner <project-id> <user-id>
47
47
  void platform project ai-logging <project-id> <inherit|off|metadata|full> [--plan | --yes]
48
+ void platform project browser-rate <project-id> <inherit|0|1|300> [--plan | --yes]
48
49
  ```
49
50
 
50
51
  Search matches a project's slug, ID, or owner's login. `show` includes resources, domains, the latest 10 deployments, and the latest 20 builds. `delete` removes the project and its resources.
51
52
 
52
- If deployment reports that a project requires normalization, an operator can preview `normalize <id> --plan`, then apply it with `--yes`. It verifies the serving deployment and any recorded queue names before updating project records. It leaves traffic and Cloudflare resources in place and refuses changes while deployment or recovery is active. If a verified queue name differs from the expected delivery routing name, normalization refuses the change; reconcile that queue routing before retrying. If the serving deployment cannot be verified, investigate the reported route before retrying. Finish interrupted deployment recovery on the previous compatible platform runtime before upgrading a project whose active deployment is missing.
53
+ If a deployment asks you to normalize the project, finish any active deployment or recovery first. Then preview the repair and apply it:
54
+
55
+ ```sh
56
+ void platform project normalize <id> --plan
57
+ void platform project normalize <id> --yes
58
+ ```
59
+
60
+ The project keeps serving traffic with its existing Cloudflare resources. If verification fails, check the route or queue name in the error before retrying. If the active deployment is missing, finish recovery on the previous compatible runtime before you upgrade.
53
61
 
54
62
  `owner` transfers a project to another registered user. Preview it with `--plan`; apply it interactively or with `--yes`. The preview reports active-work blockers and the account plan that will apply. The former owner becomes a project administrator, existing project-scoped CI deploy credentials are revoked, and usage already incurred remains with the former owner.
55
63
 
64
+ Use `browser-rate` to override the owner’s plan for one project: `1` or `300` requests per 10 seconds, `0` for unlimited, or `inherit` to return to the plan rate. See [Browser Run rate](../../guide/platform/administration/projects.md#browser-run-rate).
65
+
56
66
  ### AI Gateway Logging
57
67
 
58
68
  Choose what AI Gateway records for a project. For example, keep request metadata without storing prompts or responses:
@@ -41,7 +41,7 @@ Public-only rules cannot be combined with protected project choices. To switch a
41
41
  already protected configuration to public-only rules, first disable it; Access may
42
42
  block traffic during that transition in a Default-Deny account.
43
43
 
44
- `project-public` follows the same [scan before public](./platform-security.md#public-gate) rule as the project command. With it on, the project stays protected and the command reports the waiting request; use `void platform security bypass` to skip the scan. `disable` and public-only `configure` are refused while the gate is on. Turn it off first with `void platform security public-gate off`.
44
+ When [scan before public](./platform-security.md#public-gate) is on, `project-public` reports a pending request. The project stays protected while the scan runs. Use `void platform security bypass` for an eligible request. To disable Zero Trust or switch to public-only configuration, turn off the scan requirement first with `void platform security public-gate off`.
45
45
 
46
46
  Mutations support `--plan`, `--yes`, and `--timeout`; use `--plan` instead of
47
47
  `--yes` to inspect this change without applying it. The Access management token