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
@@ -116,9 +116,10 @@ An upgrade validates the runtime, applies supported pending migrations, deploys
116
116
 
117
117
  Install, upgrade, and repair also publish saved [AI Gateway logging](/reference/cli/platform-users#ai-gateway-logging) settings. Affected projects may show `pending` for about 2 minutes afterward, including projects returning to `inherit`. Check progress with `void platform project show <project-id>`.
118
118
 
119
- Before starting, Void checks access to the installation's Cloudflare account, Workers, and existing R2 buckets. It lists every missing permission at once and names the credential Cloudflare rejected. If the management credential is rejected, set `CLOUDFLARE_API_TOKEN` to a management token scoped to that account and retry. This overrides the installation's saved management token.
119
+ If the upgrade reports a permission error, look for the credential name. Void checks access to the Cloudflare account, Workers, and existing R2 buckets before it starts, and lists the missing permissions together.
120
120
 
121
- With browser login, Void uses the runtime token for AI Gateway: `VOID_PLATFORM_RUNTIME_CLOUDFLARE_API_TOKEN`, or the one saved on this machine. If an error names the runtime token, set `VOID_PLATFORM_RUNTIME_CLOUDFLARE_API_TOKEN` to a valid runtime token, or set `CLOUDFLARE_API_TOKEN` to a management token with **Account → AI Gateway → Edit**. Void then uses that token instead of browser login.
121
+ - **Management token.** Set `CLOUDFLARE_API_TOKEN` to a valid management token scoped to the installation’s account, then retry. It overrides the saved token.
122
+ - **Runtime token.** With browser login, Void uses the runtime token for AI Gateway. Set `VOID_PLATFORM_RUNTIME_CLOUDFLARE_API_TOKEN` to replace the token saved on this machine. You can also use a management token with **Account → AI Gateway → Edit** in `CLOUDFLARE_API_TOKEN` to switch from browser login.
122
123
 
123
124
  Some upgrades pause application traffic until the new version passes health checks. If a command fails while traffic is paused:
124
125
 
@@ -126,7 +127,7 @@ Some upgrades pause application traffic until the new version passes health chec
126
127
  2. Fix the reported problem.
127
128
  3. Run the printed resume command with the same runtime. Traffic resumes when it succeeds.
128
129
 
129
- If the upgrade adds the security scan scheduler, Void pauses traffic while it provisions the new Durable Object class. Once Cloudflare creates the class, resume the upgrade with the same runtime if it stops. Cloudflare can no longer activate an older API Worker that lacks the class.
130
+ An upgrade that first installs the security scan scheduler pauses traffic while Cloudflare creates its Durable Object class. If the upgrade stops after that point, resume with the same runtime. Cloudflare can no longer activate an older API Worker that lacks the class.
130
131
 
131
132
  ::: details Migration safety, credential rotation, and rollback
132
133
 
@@ -150,7 +151,9 @@ void platform rollback [id] --runtime /path/to/earlier/runtime --plan
150
151
  void platform rollback [id] --runtime /path/to/earlier/runtime
151
152
  ```
152
153
 
153
- Keep the earlier runtime files if you need rollback. If the installed version is a custom build, also pass its files with `--from-runtime /path/to/current/runtime`. Void checks that the earlier version can run against your current database and refuses incompatible rollbacks. A later `upgrade` can move forward again. See [Platform Development](/guide/platform/development/runtime#deploying-your-runtime) for working with custom builds.
154
+ Use Void CLI 1.13 or later to manage an installation running a runtime with managed Workflows. Once an installation has Workflow resources or saves Workflow limits in its plan catalog, choose a rollback runtime that supports managed Workflows.
155
+
156
+ Keep the earlier runtime files if you need rollback. If the installed version is a custom build, also pass its files with `--from-runtime /path/to/current/runtime`. Void checks that the earlier version can run against your current database and refuses incompatible rollbacks. A later `upgrade` can move forward again. See [Platform Development](https://github.com/voidzero-dev/void/blob/main/platform/meta/development/runtime.md#deploying-your-runtime) for working with custom builds.
154
157
 
155
158
  Do not roll back to 0.26.0 or earlier after upgrading to a later release. Void does not refuse this rollback, but those releases reject the credentials that later releases give your apps. Every project deployed or rotated since the upgrade loses AI, email, ISR revalidation, remote D1, KV, and R2, and prerendering until you upgrade again. If you have rolled back that far, upgrade again, then run `void platform system rotate-proxy-tokens --all --yes` and check with `--plan` until nothing is pending or failed.
156
159
 
@@ -195,14 +198,11 @@ the CLI without action on the status page. During maintenance, navigating the
195
198
  admin UI automatically redirects to `/admin/status`. You can also open it
196
199
  directly on your platform API origin and sign in as an administrator.
197
200
 
198
- The read-only page shows the saved operation, source and target versions, and
199
- the traffic state reported by the API. It refreshes automatically every five
200
- seconds while visible. If updates fail, it keeps the last confirmed snapshot
201
+ The page shows the operation, source and target versions, and current traffic state. It refreshes every five seconds. If updates fail, it keeps the last confirmed snapshot
201
202
  and marks it as out of date. Normal administrator changes remain paused.
202
203
 
203
204
  Sign-in and status remain available while the API and authentication database
204
- are reachable. An operation completing
205
- does not confirm every project's health. A disabled installation keeps traffic
205
+ are reachable. A disabled installation keeps traffic
206
206
  paused after an upgrade or rollback.
207
207
 
208
208
  If an operation fails or waits for DNS or Sandbox drain work, the CLI prints
@@ -244,7 +244,7 @@ Keep a coordinated recovery set for each installation:
244
244
 
245
245
  Capture and label these items as one recovery point so PostgreSQL, provider data, identity, and encryption keys match. Backup and retention capabilities vary by provider and resource; choose and test the supported recovery process for each resource you use.
246
246
 
247
- During a restore, keep platform and application traffic disabled before changing resources. Restore the matching PostgreSQL and provider data with their supported recovery tools, supply the original identity and keyring, and use the preserved runtime artifact. Then run `discover`, preview `repair` with `--plan`, and review every ownership decision and proposed resource change before applying it. Enable traffic only after the restored data and platform health have been verified. Discovery and repair are not substitutes for those backups and do not provide a recovery bypass when required secrets or data are unavailable.
247
+ During a restore, keep platform and application traffic disabled before changing resources. Restore the matching PostgreSQL and provider data with their supported recovery tools, supply the original identity and keyring, and use the preserved runtime artifact. Then run `discover`, preview `repair` with `--plan`, and review every ownership decision and proposed resource change before applying it. Enable traffic only after the restored data and platform health have been verified.
248
248
 
249
249
  ### Where local state lives
250
250
 
@@ -86,7 +86,9 @@ Use any PostgreSQL provider that accepts connections from your computer and Clou
86
86
  | [PlanetScale Postgres](https://planetscale.com/docs/postgres/connecting) | Choose **Postgres**, not Vitess/MySQL. Open **Connect**, create role credentials, and use the direct primary connection on port `5432`, not PgBouncer on `6432`. |
87
87
  | [Neon](https://neon.com/docs/get-started-with-neon/connect-neon) | Open **Connect**, select the database and owner role, and turn **connection pooling off**. |
88
88
 
89
- When sizing your database, include the connection pools for every platform installation and application sharing that server. Install, repair, and upgrade lower the [origin connection limit](https://developers.cloudflare.com/hyperdrive/configuration/tune-connection-pool/) of the Hyperdrive Void creates so it stays five connections below what the server accepts (`max_connections` minus reserved slots), leaving room for migrations and administration. If other installations or applications share the server, or you use a separately managed Hyperdrive, adjust each Hyperdrive's limit yourself to fit the server's capacity, including provider-reserved connections and temporary bursts. Void warns when a separately managed Hyperdrive leaves fewer than five connections free.
89
+ Leave at least five PostgreSQL connections available for migrations and administration. When Void creates a Hyperdrive or manages it during repair or upgrade, it lowers the [origin connection limit](https://developers.cloudflare.com/hyperdrive/configuration/tune-connection-pool/) to leave at least five connections free after PostgreSQL’s reserved slots.
90
+
91
+ If several apps or platform installations share the server, budget for all their pools and for temporary bursts. Adjust their Hyperdrive limits yourself. For a separately managed Hyperdrive, Void warns if fewer than five connections remain.
90
92
 
91
93
  Once installation claims the database, continue using that same database for resume and maintenance commands. If installation stops because it cannot use the database, for example because the database is not empty, set `VOID_PLATFORM_DATABASE_URL` to another database's URL before you resume. Uninstall never deletes external PostgreSQL.
92
94
 
@@ -38,15 +38,13 @@ void platform install
38
38
 
39
39
  :::
40
40
 
41
- After reviewing `--plan`, run `void platform install` and select your saved plan, or run the command printed under **Next, run this command to install the platform**. Both carry your choices into installation and check the current Cloudflare state. Review the refreshed plan. At **Apply this plan?**, **Yes** is selected; press Enter to continue to the credential prompts, or choose **No** to stop. Void opens the relevant setup pages and provides fallback links in the terminal. It reuses values you have already supplied.
41
+ Run `void platform install` and select your saved plan, or run the install command printed by `--plan`. Review the refreshed plan and confirm **Apply this plan?** to continue.
42
42
 
43
- Saved plans contain your installation choices, including paths to any authentication configuration or custom runtime. They contain no secrets or approval to install. Declining the plan or cancelling management-token setup keeps those choices for your next attempt.
43
+ If you cancel setup, the installer saves your choices for next time, including paths to your authentication config and custom runtime. Plans contain no secrets.
44
44
 
45
45
  ## Choose login methods
46
46
 
47
- The installer offers GitHub, Google, generic OIDC, and Cloudflare Access login. Select all methods you want to enable; none are selected initially.
48
- Cloudflare Access protection is a separate choice from Access login. The
49
- GitHub OAuth steps below apply when you select GitHub login.
47
+ Select the login methods you want to offer: GitHub, Google, generic OIDC, or Cloudflare Access. You can enable Cloudflare Access protection with any login method.
50
48
 
51
49
  ## Choose who can access apps
52
50
 
@@ -56,20 +54,14 @@ The installer asks **Who should be able to access deployed apps?**
56
54
  - **Anyone — public apps** allows public visits.
57
55
  - **Choose a different Access policy** selects separate company rules for apps. Without platform protection, this option is **Set up Cloudflare Access protection**.
58
56
 
59
- The plan shows the default app access. Void finishes and verifies app access before
60
- opening application traffic; new projects inherit the selected default automatically.
61
- If setup stops, use the printed resume command. Existing installations retain their
62
- administrator settings during upgrades.
57
+ New projects inherit the access policy you select.
63
58
 
64
59
  App protection uses the account hosting your platform. If platform login or
65
60
  protection uses another account, select equivalent identity providers and policies
66
61
  in the hosting account when prompted. Use the app domain’s apex or a workers.dev
67
62
  hostname for the API so it stays outside the app wildcard.
68
63
 
69
- Void checks account-wide Default-Deny during setup. For public apps in an account
70
- that requires Access rules, it creates rules for each app and its verified custom
71
- domains. Other subdomains keep their existing access rules. It leaves account-wide
72
- Default-Deny enabled and does not bypass the platform API or proxy.
64
+ If your account uses Default-Deny, Void adds public Access rules scoped to each public app and its verified custom domains.
73
65
 
74
66
  App rules need **Access: Apps and Policies Edit** and **Organizations, Identity
75
67
  Providers, and Groups Read**. Void stores this management token encrypted for future
@@ -116,7 +108,7 @@ The setting covers the whole platform. To change it later, see [Change runtime l
116
108
 
117
109
  ## Choose a default storage location
118
110
 
119
- Set a preferred location for new project R2 buckets:
111
+ If most of your team’s apps serve users in Asia Pacific, you can request that region for new R2 buckets when you install the platform.
120
112
 
121
113
  ```sh
122
114
  void platform install --storage-location apac
@@ -124,7 +116,7 @@ void platform install --storage-location apac
124
116
 
125
117
  Supported hints are `apac`, `eeur`, `enam`, `weur`, `wnam`, and `oc`. The default is automatic placement by Cloudflare. Projects can override the default with [`storage.locationHint`](/reference/config#storage-locationhint).
126
118
 
127
- To change the default later, use `void platform upgrade <id> --storage-location weur`. Use `--storage-location automatic` to clear it; omitting the flag keeps the current setting. Changes affect only newly created project buckets, not existing buckets or the platform's own asset bucket. Location hints are [best effort](https://developers.cloudflare.com/r2/reference/data-location/), not data residency guarantees.
119
+ To request Western Europe for future buckets, run `void platform upgrade <id> --storage-location weur`. Omit the flag to keep the current setting or use `--storage-location automatic` to let Cloudflare choose. Existing buckets and the platform’s own asset bucket stay in place. If you need a data residency guarantee, a [location hint](https://developers.cloudflare.com/r2/reference/data-location/) alone is insufficient.
128
120
 
129
121
  ## Finish login configuration
130
122
 
@@ -34,7 +34,9 @@ void platform uninstall [id] --plan
34
34
  void platform uninstall [id]
35
35
  ```
36
36
 
37
- Uninstall blocks platform traffic, removes Queues that no remaining platform Worker uses, and lists the resources left for you to review. Use `--plan` to review deletions and retained resources before making changes. By default, Workers, the Queues they use, KV, R2, Hyperdrive, the dispatch namespace, and AI Gateway remain in your account. Adopted resources, external PostgreSQL, and zones are always retained. To install a platform again, use a new empty PostgreSQL database. Email Routing settings are retained; `--purge-resources` removes only the rules that send mail to the platform. DNS records, routes, custom domains, and Cloudflare Access resources are retained unless you use `--purge-resources`.
37
+ Uninstall stops platform traffic. It removes Queues that no remaining platform Worker uses and lists what’s left in your account. By default, that includes Workers and their Queues, KV, R2, Hyperdrive, the dispatch namespace, AI Gateway, DNS records, routes, custom domains, and Access resources.
38
+
39
+ Your zones, adopted resources, and external PostgreSQL database stay in your account, even with `--purge-resources`. Use a new empty database if you install again. For email, `--purge-resources` removes only the rules that send mail to the platform.
38
40
 
39
41
  When uninstall finishes, the record of what was kept stays at `~/.void/platforms/<account-id>/<installation-id>.json`. Without `--purge-data`, the encrypted credentials file `<installation-id>.recovery.enc` next to it is kept too. Delete both once you have finished the manual cleanup below.
40
42
 
@@ -57,7 +59,9 @@ void platform uninstall [id] --purge-resources
57
59
 
58
60
  `--purge-resources` includes `--purge-data`. It also deletes the platform Workers, Queues, the application Workers left in the dispatch namespace, the R2 bucket and its objects, the AI Gateway, the platform DNS record, Worker routes and custom domains, and the Access applications and service tokens the installer created. The plan lists each resource in deletion order, and everything that stays. If Cloudflare shows that the AI Gateway was created after installation, for example because it was deleted and created again under the same name, it is kept and listed.
59
61
 
60
- With [security audits](/guide/platform/administration/security-audits) on, uninstall also deletes the scanner Worker, its container applications, the scanner images copied into the account's container registry, the scan copy namespace, its sandbox Worker, and any leftover scan copies before the platform Workers, even without `--purge-resources`. Stored scan data lives under `security-scans/` in the platform's R2 bucket, so it stays with the bucket: `--purge-resources` deletes it, and otherwise empty the bucket yourself. Deleting a project deletes its findings and scan data. A scanner object that another installation owns is kept and named in a warning.
62
+ If you enabled [security audits](/guide/platform/administration/security-audits), even a standard uninstall removes the scanner Worker, its container applications and registry images, the scan copy namespace and its sandbox Worker, and leftover scan copies. The CLI lists scanner resources owned by another installation and leaves them in place.
63
+
64
+ Scan data stays under `security-scans/` in the platform R2 bucket. To remove it, empty the bucket or use `--purge-resources` to delete the bucket. Deleting an individual project also deletes its findings and scan data.
61
65
 
62
66
  If the platform sends email, it first deletes the Email Routing rules in the sender domain's zone that send mail to the platform email gateway Worker, and resets such a catch-all rule to drop mail. It leaves Email Routing enabled and keeps the sender domain's MX, SPF, and DKIM records.
63
67
 
@@ -100,13 +104,3 @@ If no platform user exists yet, for example because first administrator setup di
100
104
  not finish, nobody can run `zero-trust disable`. Uninstall then turns off project
101
105
  Zero Trust and deletes its applications itself. Run it on the computer that installed
102
106
  the platform. If the uninstall asks you to, update an older platform runtime first.
103
-
104
- ::: details Why some resources require manual cleanup
105
-
106
- Resources that may have been shared or repurposed require manual review before deletion. Void verifies ownership, keeps those resources in place, and blocks platform traffic.
107
-
108
- If removal is interrupted, rerun the command to continue. If a resource has changed ownership, resolve the reported conflict before retrying.
109
-
110
- External PostgreSQL and its data always remain under your control.
111
-
112
- :::
@@ -22,10 +22,7 @@ and remain independent of a member's login session, so collaborators and
22
22
  project administrators deploy with their own account instead of minting a
23
23
  durable owner credential.
24
24
 
25
- The owner's plan, limits, and suspension state govern the project. A member's
26
- own plan does not change the project's available usage, and acting through a
27
- collaborator does not bypass an owner suspension. A project administrator is
28
- not an installation administrator and receives no platform-wide access.
25
+ The owner’s plan, limits, and suspension status apply to everyone working on the project. Project administrators manage only that project.
29
26
 
30
27
  ## Invite a Registered User
31
28
 
@@ -36,7 +36,7 @@ Files or directories starting with `_` are ignored.
36
36
 
37
37
  ## Sending messages
38
38
 
39
- Import the typed `queues` proxy from `void/queues` to send messages. Each queue is available as a property matching its name, with full type safety from the consumer's `defineQueue<T>` generic.
39
+ Send messages through the property matching the queue name. TypeScript checks each message against the consumer’s `defineQueue<T>` type.
40
40
 
41
41
  ```ts
42
42
  // routes/api/orders.ts
@@ -113,7 +113,7 @@ export default defineQueue<Message>(async (batch, env) => {
113
113
 
114
114
  Export each option directly from the queue file as a whole number, such as `export const maxRetries = 5`. Computed values and re-exports aren't supported; repeat shared settings in each queue file.
115
115
 
116
- Set `maxConcurrency` when your consumer calls a rate-limited API or another service that needs bounded parallel work. `maxBatchSize` limits messages in each batch; `maxConcurrency` limits how many batches run at once. It applies to both direct Cloudflare and Void-managed deployments. Omit it to let Cloudflare scale automatically; see [consumer concurrency](https://developers.cloudflare.com/queues/configuration/consumer-concurrency/).
116
+ If the email provider in this example can handle two batches at a time, export `maxConcurrency = 2`. Cloudflare can still deliver up to `maxBatchSize` messages in each batch. See [consumer concurrency](https://developers.cloudflare.com/queues/configuration/consumer-concurrency/).
117
117
 
118
118
  Void-managed deployments require platform version 1.10.0 or later.
119
119
 
@@ -133,9 +133,7 @@ Existing deployments keep their queues and messages. To adopt the new naming, pa
133
133
 
134
134
  ## Local development
135
135
 
136
- In native Void apps, sending a message through a queue binding automatically invokes the consumer in Miniflare. Local delivery uses the same handler as production.
137
-
138
- You can also manually dispatch a batch by POSTing to the dev endpoint Void exposes:
136
+ In a native Void app, sending a message to `queues.emails` on the dev server runs your email consumer. To try a specific batch, send it to the local queue endpoint.
139
137
 
140
138
  ```
141
139
  POST /__void/queue
@@ -143,13 +141,13 @@ Content-Type: application/json
143
141
  { "queue": "<queue-name>", "messages": [{ "id": "1", "timestamp": <unix_ms>, "body": <any>, "attempts": 1 }] }
144
142
  ```
145
143
 
146
- The endpoint requires a local dev trigger token. Void prints a paste-ready curl command with the current token when the dev server starts. The development trigger is unavailable in `vp preview` and `vite preview`.
144
+ Start the dev server and copy the `curl` command it prints. The command includes the local port and trigger token. This example sends an order confirmation to the `emails` consumer.
147
145
 
148
146
  ```bash
149
147
  curl -X POST http://localhost:5173/__void/queue \
150
148
  -H "Content-Type: application/json" \
151
149
  -H "x-void-dev-trigger: <printed-token>" \
152
- -d '{"queue":"my-queue","messages":[{"id":"1","timestamp":'"$(date +%s000)"',"body":{"hello":"world"},"attempts":1}]}'
150
+ -d '{"queue":"emails","messages":[{"id":"1","timestamp":'"$(date +%s000)"',"body":{"to":"alice@example.com","subject":"Order confirmed"},"attempts":1}]}'
153
151
  ```
154
152
 
155
- In supported meta-frameworks, use `/__void/queue` to test a consumer manually. It runs inside the framework adapter's development runtime with that adapter's bindings. Sending to a queue binding doesn't automatically invoke the consumer in this mode.
153
+ In a supported meta-framework, use the dev endpoint to run the consumer with your framework’s bindings. A local send alone won’t run it. The manual trigger is available in the dev server only.
@@ -5,7 +5,7 @@ outline: deep
5
5
 
6
6
  # Quickstart
7
7
 
8
- Create a Void app, run it locally, and deploy it. You can also [add Void to an existing Vite app](#adding-to-an-existing-vite-app).
8
+ Let’s build a small app with a `/api/hello` route, call it from the browser, and deploy it. If you already have a Vite app, you can [start there](#adding-to-an-existing-vite-app).
9
9
 
10
10
  ## Create an app
11
11
 
@@ -41,11 +41,11 @@ vpx void init
41
41
 
42
42
  :::
43
43
 
44
- Choose your UI framework, a starter, and a deployment target. Vite+ is the default build tool. D1 is a good first database: it runs locally without a separate database server. Choose Cloudflare to deploy to your own account, or skip deployment setup for now.
44
+ Choose your UI framework, a starter, and a deployment target. For this example, choose D1 if you want a database you can run locally. You can connect your Cloudflare account now or skip deployment setup until the app is running.
45
45
 
46
- You do not need to install Vite+ globally. Setup preserves your existing package-manager versions and lockfiles.
46
+ By default, setup installs Vite+ for the project and keeps your package manager and lockfile. With pnpm, `pnpm create void my-app` can create the directory and configure build permissions in one step.
47
47
 
48
- With pnpm, `pnpm create void my-app` also creates the project directory and configures native build permissions for you.
48
+ If `pnpm add` reports `ERR_PNPM_IGNORED_BUILDS`, continue with `pnpm void init`. It writes the required permissions to `pnpm-workspace.yaml`.
49
49
 
50
50
  ## Run locally
51
51
 
@@ -87,7 +87,7 @@ export const GET = defineHandler(() => {
87
87
  });
88
88
  ```
89
89
 
90
- Visit `http://localhost:5173/api/hello` to see the response. From your client code, call it with Void's typed fetch:
90
+ Open `http://localhost:5173/api/hello`. You should see `{"message":"Hello from Void"}`. Now call the same route from your client code.
91
91
 
92
92
  ```ts
93
93
  import { fetch } from 'void/client';
@@ -95,7 +95,7 @@ import { fetch } from 'void/client';
95
95
  const { message } = await fetch('/api/hello');
96
96
  ```
97
97
 
98
- The file path defines the URL, and the handler defines the response type. Change `message` in the handler and TypeScript checks the client against the new shape.
98
+ Hover over `message` in your editor. TypeScript knows it’s a string because that’s what the handler returns. Try renaming it to `greeting` in the handler. TypeScript will point you to the client code that still reads `message`.
99
99
 
100
100
  Database starters also include `db/schema.ts`. Its Drizzle schema defines your tables and query types; Void runs a local database and provisions one when you deploy.
101
101
 
@@ -128,5 +128,3 @@ For a meta framework such as TanStack Start, React Router, or SvelteKit, follow
128
128
  - [Database](./database.md): queries and migrations
129
129
  - [Environment Variables](./env-vars.md): local values and production secrets
130
130
  - [Coding Agents](../integrations/agents.md): use Void's bundled docs and skills
131
-
132
- If a manual pnpm install reports blocked build scripts, run `pnpm approve-builds` for `esbuild`, `sharp`, and `workerd`. Set `better-sqlite3: false` in `pnpm-workspace.yaml`'s `allowBuilds`; Void uses its bundled binaries.
@@ -122,7 +122,7 @@ Custom images must include the helper matching Void's installed Sandbox SDK vers
122
122
 
123
123
  ```dockerfile
124
124
  FROM node:26.12.1-trixie-slim
125
- COPY --from=docker.io/cloudflare/sandbox:1.0.2 /usr/local/bin/sandbox-shim /usr/local/bin/sandbox-shim
125
+ COPY --from=docker.io/cloudflare/sandbox:1.0.3 /usr/local/bin/sandbox-shim /usr/local/bin/sandbox-shim
126
126
  WORKDIR /workspace
127
127
  CMD ["sleep", "infinity"]
128
128
  ```
@@ -5,13 +5,9 @@ outline: deep
5
5
 
6
6
  # Install a Void Platform
7
7
 
8
- A Void platform lets your team deploy apps into a shared Cloudflare account. As an administrator, you install and maintain the platform. Developers connect the Void CLI to its URL, sign in through an enabled login method, and deploy their apps.
8
+ On a Void platform, your team can run `void deploy` against the same Cloudflare account. You install the platform once, choose a sign-in method (GitHub, Google, OIDC, or Cloudflare Access), and share its URL. Each developer connects to that URL and deploys with their own login.
9
9
 
10
- For an individual app, [deploy directly to Cloudflare](/integrations/cloudflare#deploy-to-your-own-cloudflare-account).
11
-
12
- The core platform supports GitHub, Google, generic OIDC, and Cloudflare Access login, CLI deploys, D1, KV, R2, Queues, cron jobs, Workers AI, WebSockets, SSE, ISR, routing, logs, and rollback.
13
-
14
- The core installation also includes managed Sandboxes and an email gateway. Configure a shared mail domain and zone to enable email, and add `--custom-domains` for [project custom domains](/guide/platform/installation/domains#project-custom-domains). A user dashboard and managed GitHub builds require a [custom platform build](/guide/platform-development).
10
+ If your apps need email, configure a shared mail domain and zone. If you’re deploying a single app to your own account, you can [deploy directly to Cloudflare](/integrations/cloudflare#deploy-to-your-own-cloudflare-account).
15
11
 
16
12
  ## Deployment features
17
13
 
@@ -23,6 +19,7 @@ Both targets use the same application APIs. A core platform adds shared access a
23
19
  | Routing rules, WebSockets, queues, cron, and ISR | Supported | Supported |
24
20
  | D1, KV, R2, and external SQL through Hyperdrive | Supported | Supported |
25
21
  | Workers AI and provider requests | Your account and gateway | Installation gateway and proxy |
22
+ | Browser Run for `void/image` | Your account's binding | Platform account through the proxy; Quick Actions only, metered by plan |
26
23
  | Runtime logs | Live Cloudflare tail | Retained platform logs |
27
24
  | Application rollback | Worker versions | Retained platform deployments |
28
25
  | Typed Durable State and native Durable Objects | Supported | Supported |
@@ -30,7 +27,7 @@ Both targets use the same application APIs. A core platform adds shared access a
30
27
  | Security audits of each deploy | Not available | Enable with `--security-audits`; needs Workers Paid, Containers, and Workers AI access or credits |
31
28
  | Custom application domains | Supported | Enable with `--custom-domains` |
32
29
  | Generated GitHub deployment workflow | Supported | Use your CI with a scoped developer token |
33
- | User dashboard and managed GitHub builds | Not required | Not included in a standard installation |
30
+ | User dashboard and managed GitHub builds | Not required | Requires a custom installation |
34
31
 
35
32
  A team platform requires Workers for Platforms and the [documented infrastructure](/guide/platform/installation/domains#cloudflare-footprint). Features depend on the installation's configuration.
36
33
 
@@ -92,7 +92,9 @@ import { defineHandler } from 'void';
92
92
  export const GET = defineHandler((c) => c.html(renderToStaticMarkup(<h1>Hello!</h1>)));
93
93
  ```
94
94
 
95
- For API-only, Vue, or Svelte apps, add `hono` as a dependency and configure [Hono's JSX](https://hono.dev/docs/guides/jsx) in `vite.config.ts`:
95
+ To use [Hono JSX](https://hono.dev/docs/guides/jsx) in one route, add `/** @jsxImportSource void/jsx */` at the top of the file. Your app's JSX settings still apply to other files.
96
+
97
+ To use Hono JSX project-wide in an app that doesn't use another JSX runtime, configure `vite.config.ts`:
96
98
 
97
99
  ```ts
98
100
  // vite.config.ts
@@ -100,12 +102,12 @@ import { defineConfig } from 'vite-plus';
100
102
  import { voidPlugin } from 'void';
101
103
 
102
104
  export default defineConfig({
103
- oxc: { jsx: { runtime: 'automatic', importSource: 'hono/jsx' } },
105
+ oxc: { jsx: { runtime: 'automatic', importSource: 'void/jsx' } },
104
106
  plugins: [voidPlugin()],
105
107
  });
106
108
  ```
107
109
 
108
- `c.html()` then takes the JSX directly:
110
+ For TypeScript, set `"jsx": "react-jsx"` and `"jsxImportSource": "void/jsx"` in `compilerOptions`. No separate Hono dependency is needed. `c.html()` takes Hono JSX directly:
109
111
 
110
112
  ```tsx
111
113
  // routes/hello.tsx → GET /hello
package/docs/guide/ssg.md CHANGED
@@ -17,7 +17,7 @@ When `output` is `"static"`:
17
17
 
18
18
  - Pages default to `prerender = true` and are written as HTML files to `dist/client/`.
19
19
  - Use `export const prerender = false` in a page's `.server.ts` to opt out. That page will be server-rendered on request.
20
- - Dynamic pages without `getPrerenderPaths()` are implicitly not prerendered (the paths aren't known at build time).
20
+ - For dynamic pages, export `getPrerenderPaths()` to choose which URLs to prerender.
21
21
  - The build output is self-contained and works for direct Cloudflare deployment, self-hosting, or `void deploy`.
22
22
 
23
23
  ## Trailing slashes and directory indexes
@@ -11,16 +11,11 @@ Void infers types from your database schema, route handlers, and page loaders. W
11
11
 
12
12
  <img src="./type-pipeline.svg" alt="Type pipeline: Drizzle schema flows to DB types, branching into route handlers (typed fetch), page loaders (component props), and page actions (useForm / action())" style="max-width: 720px; width: 100%;" />
13
13
 
14
- 1. **Database types** come from your [Drizzle schema](./database.md#schema-definition). Column types are known at compile time.
15
- 2. **Route handlers:** return types and validator schemas become the generated `RouteMap`, which the [typed fetch](./typed-fetch) client consumes.
16
- 3. **Page loaders:** return types flow into page components as props via `InferProps`.
17
- 4. **Page actions:** validator schemas flow into `useForm` and `action()` for typed data, errors, and URL autocomplete.
18
-
19
- All generated types live in `.void/` and update automatically when source files or schema change.
14
+ Your [Drizzle schema](./database.md#schema-definition) types your queries. Handler return types and validators type requests made with [typed fetch](./typed-fetch).
20
15
 
21
16
  ## Database → Handler → Client
22
17
 
23
- Types flow from your Drizzle schema through handlers to the client without any manual annotations:
18
+ Select the fields your handler returns:
24
19
 
25
20
  ```ts
26
21
  // routes/api/users.ts
@@ -47,7 +42,7 @@ await fetch('/api/users', {
47
42
  });
48
43
  ```
49
44
 
50
- The Drizzle schema defines database columns, runtime validation, handler input types, and client-side type checking all at once. For endpoints that don't map to a table, use any [Standard Schema](./server-routing.md#manual-validators) library.
45
+ For endpoints that don't map to a table, use any [Standard Schema](./server-routing.md#manual-validators) library.
51
46
 
52
47
  ## Loader → Page Props
53
48
 
@@ -147,7 +142,7 @@ const url = routeUrl('/users/[id]', {
147
142
  // /users/42?tab=activity#details
148
143
  ```
149
144
 
150
- TypeScript checks the route and required parameter names. Patterns follow your filenames: `pages/users/[id].tsx`, `.vue`, or `.svelte` uses `/users/[id]`.
145
+ TypeScript checks the route, required parameter names, and the destination page's query schema. Patterns follow your filenames: `pages/users/[id].tsx`, `.vue`, or `.svelte` uses `/users/[id]`.
151
146
 
152
147
  Parameters accept strings or numbers and are URL-encoded for you. Query values can be strings, numbers, booleans, or arrays. Arrays become repeated keys; `null` and `undefined` values are omitted.
153
148
 
@@ -241,6 +236,66 @@ import type { PageParams } from 'void/routes';
241
236
  const { slug } = c.req.param() as PageParams<'/posts/[slug]'>;
242
237
  ```
243
238
 
239
+ ### Page query
240
+
241
+ Suppose a payments page can show paid or pending invoices. Export its `query` schema to type links to the page, and pass the schema to the loader to validate incoming requests:
242
+
243
+ ```ts
244
+ // pages/admin/payments.server.ts
245
+ import { defineHandler } from 'void';
246
+ import { z } from 'zod';
247
+ import { listPayments } from '../../lib/payments';
248
+
249
+ export const query = z.object({
250
+ status: z.enum(['paid', 'pending']),
251
+ page: z.coerce.number().default(1),
252
+ });
253
+
254
+ export const exposeQuery = true;
255
+
256
+ export const loader = defineHandler.withValidator({ query })(async (c, { query }) => {
257
+ return { payments: await listPayments(query) };
258
+ });
259
+ ```
260
+
261
+ Links to `/admin/payments` now require a `status`. TypeScript checks the query in `routeUrl()`, `router.visit()`, and `c.redirect()`, including misspelled keys in inline objects:
262
+
263
+ ```ts
264
+ import { routeUrl } from 'void/routes';
265
+
266
+ routeUrl('/admin/payments', { query: { status: 'paid' } });
267
+ routeUrl('/admin/payments', { query: { statsu: 'paid' } }); // Type error: no such key
268
+ routeUrl('/admin/payments', { query: { status: 'void' } }); // Type error: not in the schema
269
+ routeUrl('/admin/payments'); // Type error: `status` is required
270
+ ```
271
+
272
+ If the destination can be one of several routes with different query schemas, narrow the path before passing a query to `routeUrl()`.
273
+
274
+ A URL such as `?tag=books` gives the validator a string; `?tag=books&tag=music` gives it an array. For filters that allow one or more tags, accept both forms in the schema. An array-only query field requires at least two values in a link.
275
+
276
+ With `exposeQuery = true`, the page and its layouts can read the validated values with `usePageQuery()`. Pass the page pattern to get its output type. Pass the values to islands as props.
277
+
278
+ ```ts
279
+ import { usePageQuery, useRouter } from '@void/react'; // @void/vue, @void/svelte, @void/solid
280
+
281
+ const router = useRouter();
282
+ const query = usePageQuery<'/admin/payments'>();
283
+ // { status: 'paid' | 'pending'; page: number }
284
+
285
+ function showPending() {
286
+ return router.visit({
287
+ pathname: '/admin/payments',
288
+ query: { ...query, status: 'pending', page: 1 },
289
+ });
290
+ }
291
+ ```
292
+
293
+ For `?status=paid`, `query.page` is the number `1` from the schema. Without `exposeQuery`, or if the schema doesn't return a plain object, the page sees the raw URL values instead.
294
+
295
+ On a prerendered page, `usePageQuery()` reflects the build: an empty query or the exposed schema defaults. Read `useRouter().query` if you need the visitor’s current URL.
296
+
297
+ Pages without a query schema accept any `RouteQuery`. HTTP handlers don't participate in page query typing. For `.dev` and `.prod` page variants, `void prepare` checks links against both schemas; a dev server or production build checks its own variant.
298
+
244
299
  ### Prerender paths
245
300
 
246
301
  Annotate `getPrerenderPaths()` with `PageParams` to check that every path includes the page's required parameters:
@@ -335,7 +390,16 @@ import { routeUrl } from 'void/routes';
335
390
 
336
391
  :::
337
392
 
338
- Links also accept same-page queries and hashes (`?page=2`, `#comments`), and `http://`, `https://`, `mailto:`, and `tel:` URLs. A `routeUrl()` result takes the same query or hash suffix, so `` `${routeUrl('/users/[id]', { params: { id } })}?tab=activity` `` is checked too. Use absolute paths within your app; relative paths such as `../settings` are rejected. Static path segments accept raw text such as `/café menu` or uppercase percent encoding such as `/caf%C3%A9%20menu`.
393
+ A link can include a query or fragment, even when you build its path with `routeUrl()`. For example, you can build a typed link to the activity tab on a user’s profile.
394
+
395
+ ```ts
396
+ import { routeUrl, type RouteUrl } from 'void/routes';
397
+
398
+ const userId = 42;
399
+ const activityUrl: RouteUrl = `${routeUrl('/users/[id]', { params: { id: userId } })}?tab=activity`;
400
+ ```
401
+
402
+ Use an absolute path within the app, such as `/settings`. On the current page, `?page=2` and `#comments` also work. For a static path like `/café menu`, you can use the text itself or its uppercase percent encoding (`/caf%C3%A9%20menu`). External links accept `http://`, `https://`, `mailto:`, and `tel:`.
339
403
 
340
404
  With `routing.typedRoutes`, URLs handled only by root dynamic routes (`/[slug]`, `/[...slug]`, or `/[...]`) require `routeUrl()`, for example `routeUrl('/[...slug]', { params: { slug: 'dashboard' } })`. Other declared routes still accept checked URL strings. For a custom 404 page, use [`_not-found`](./pages-routing/errors.md#missing-pages).
341
405
 
@@ -158,11 +158,11 @@ When Void auth is enabled, every WebSocket hook receives the current user as `ct
158
158
 
159
159
  Connections from another origin are anonymous unless that origin is in your auth `trustedOrigins`. If you read your own cookies from `ctx.request` in `onBeforeConnect`, check its `Origin` header yourself.
160
160
 
161
- `ctx.user` is resolved when the socket connects and stays the same for that connection, even if the user later signs out or the session is revoked. For actions that must respect a ban or role change, re-check your own records in `onMessage` and close the connection with `ctx.connection.close()` in rooms or `ctx.socket.close()` in `defineWebSocket()`. To close idle sockets as soon as a session is revoked, declare a [room action](#server-side-actions) and call it from the code that revokes the session.
161
+ `ctx.user` identifies the user who opened the connection. If someone signs out or their role changes while the socket is open, that value still describes their original session. Check your current records in `onMessage` when a ban or role change matters. To disconnect the user, call `ctx.connection.close()` in a room or `ctx.socket.close()` in `defineWebSocket()`.
162
162
 
163
163
  ## Server-side actions
164
164
 
165
- A room can declare named actions that other server code calls with typed arguments. An action runs inside the room's Durable Object, so it can close connections or broadcast without waiting for a client frame.
165
+ Suppose a user signs out while they have a WebSocket open in another tab. You can close that connection as soon as you revoke the session. Give the room a `revokeSession` action and save the authenticated session ID when each connection opens.
166
166
 
167
167
  ```ts
168
168
  // routes/relay/[accountId].ws.ts
@@ -200,7 +200,7 @@ export default defineRoom({
200
200
  });
201
201
  ```
202
202
 
203
- Call an action from a route handler, an auth hook, a queue consumer or a cron job with `getRoom()` from `void/ws/server`:
203
+ Now call `revokeSession` from the code that revokes the user’s session. Use `getRoom()` from `void/ws/server` in a route, auth hook, queue consumer, or cron job.
204
204
 
205
205
  ```ts
206
206
  import { getRoom } from 'void/ws/server';
@@ -210,9 +210,9 @@ const room = getRoom('/relay/[accountId]', { params: { accountId } });
210
210
  const { closed } = await room.actions.revokeSession(session.id, 4001);
211
211
  ```
212
212
 
213
- `getRoom()` addresses the same instance `connect()` reaches. Pass the route pattern and the same params, and a custom `key` is applied too.
213
+ The account ID selects the same room the browser joined with `connect()`, including any custom room `key`. The result tells you how many of that session’s connections were closed.
214
214
 
215
- Match connections on server-verified state. A session id read from the URL, a query string or a client message can be any value a client sends, so the revocation would close the wrong sockets. Derive the id from `getSession()` or your own records, store it in `onConnect`, and pass that same id from the code that revokes it.
215
+ Use the session ID from `getSession()` or your own records at both ends. A client can choose any ID in a URL or message. Trusting that ID could disconnect someone else.
216
216
 
217
217
  - Annotate each action parameter. Arguments and results are typed from the definition, and an unannotated parameter is `never`.
218
218
  - Actions receive `ctx.id`, `ctx.params`, `ctx.env`, `ctx.storage` and `ctx.room`. There is no `ctx.request` or `ctx.user`: other server code is the caller, so authorize the decision where you make it.
@@ -221,8 +221,6 @@ Match connections on server-verified state. A session id read from the URL, a qu
221
221
  - An unknown action name or a handler error rejects the call. An unknown route, a `defineWebSocket()` route or a missing param throws before any Durable Object is contacted.
222
222
  - Do not call an action from the same room's own hooks. Use `ctx.room` there; a call from inside the room waits on the room itself.
223
223
 
224
- Actions are not an endpoint. They run over Durable Object RPC from your Worker, so a browser request or a WebSocket message cannot call one.
225
-
226
224
  `getRoom()` reads the current runtime env, so it works in any handler Void runs. Outside one, pass the bindings object you already hold:
227
225
 
228
226
  ```ts