void 1.9.0 → 1.10.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 (374) hide show
  1. package/dist/{account-cmd-BEMOdwtl.mjs → account-cmd-CZhbDfp4.mjs} +3 -3
  2. package/dist/{application-analysis-3VVsflWZ.mjs → application-analysis-Do1WaGAY.mjs} +81 -7
  3. package/dist/{application-routing-CJRlXCc2.mjs → application-routing-DrOFahHO.mjs} +1 -1
  4. package/dist/{routing-assets-DJIVOrCh.mjs → assets-DZBd7yqh.mjs} +1 -1
  5. package/dist/{auth-aMuFOZeI.mjs → auth-YtP6K4J3.mjs} +1 -1
  6. package/dist/{auth-link-B1IynRW5.mjs → auth-link-DFQTA1jN.mjs} +3 -3
  7. package/dist/{auth-router-DVaWJdRB.mjs → auth-router-BOiaDmcQ.mjs} +2 -2
  8. package/dist/{base64-ikl9yBy3.mjs → base64-DwTR12ej.mjs} +1 -1
  9. package/dist/{better-auth-shared-ajs3LNrY.d.mts → better-auth-shared-BqsMzU14.d.mts} +1 -1
  10. package/dist/{better-auth-shared-C7LHvF4L.mjs → better-auth-shared-DRHo5FoG.mjs} +116 -20
  11. package/dist/{build-cmd-Dq8tdqQG.mjs → build-cmd-BCiXgjn9.mjs} +1 -1
  12. package/dist/{cache-DGMnskX7.mjs → cache-CUulshOu.mjs} +1 -1
  13. package/dist/{cancel-deploy-96S5hD1E.mjs → cancel-deploy-BHGZo6KC.mjs} +1 -1
  14. package/dist/cf-build-output-D3_x71H6.mjs +1 -0
  15. package/dist/{cf-build-output-CWNOH-KA.mjs → cf-build-output-bBx1gDll.mjs} +27 -16
  16. package/dist/{cf-config-migrate-Bb-EdAQq.mjs → cf-config-migrate-CHtnM3_C.mjs} +21 -3
  17. package/dist/cli/cli.mjs +1 -1
  18. package/dist/cli/cloudflare-operation-process.mjs +3 -2
  19. package/dist/cli/env-schema-probe.d.mts +1 -1
  20. package/dist/cli/env-schema-probe.mjs +2 -2
  21. package/dist/{cli-main-CQRLxZAu.mjs → cli-main-hM7rhIbB.mjs} +27 -27
  22. package/dist/{client-66c0RLDM.mjs → client-BEYbgqZw.mjs} +1 -1
  23. package/dist/{auth-client-DwCdwKbw.mjs → client-Ypa4Immo.mjs} +1 -1
  24. package/dist/{client-D6w5x7hM.mjs → client-aIv5UQf3.mjs} +3 -3
  25. package/dist/{auth-client-react-CJdeErvM.mjs → client-react-B-ZqH8Ao.mjs} +1 -1
  26. package/dist/{auth-client-solid-BRvgvp6h.mjs → client-solid-D2PSeKLm.mjs} +1 -1
  27. package/dist/{auth-client-svelte-BSqUCEed.mjs → client-svelte-DbJbN7Ey.mjs} +1 -1
  28. package/dist/{auth-client-vue-CPkbRtOO.mjs → client-vue-PBawsrwk.mjs} +1 -1
  29. package/dist/{cloudflare-cmd-BuuHUM4z.mjs → cloudflare-cmd-DLcgInCa.mjs} +1 -1
  30. package/dist/{cloudflare-config-PxbinLLE.mjs → cloudflare-config-BfEfIEuY.mjs} +1 -1
  31. package/dist/{cloudflare-connect-D1QOosLd.mjs → cloudflare-connect-CMcKtA02.mjs} +1 -1
  32. package/dist/{cloudflare-operations-I4t3mt4R.mjs → cloudflare-operations-C5RTQNnh.mjs} +1 -1
  33. package/dist/{cloudflare-operations-G5AObYzF.mjs → cloudflare-operations-DLhn_Bom.mjs} +4 -4
  34. package/dist/{config-DlWQ_hIJ.mjs → config-CbKmMpHK.mjs} +1 -1
  35. package/dist/{config-C1DPf8EK.mjs → config-CtkCfPpv.mjs} +1 -1
  36. package/dist/{config-CCWVY7DY.d.mts → config-DuiDZbq7.d.mts} +3 -2
  37. package/dist/config-entry.d.mts +1 -1
  38. package/dist/{config-CzFdJYNA.mjs → config-qgt863GH.mjs} +7 -2
  39. package/dist/{connect-4uImOwut.mjs → connect-DM3yCNPG.mjs} +4 -4
  40. package/dist/{sandbox-container-BuxhwCgt.mjs → container-CR_tqFtd.mjs} +1 -1
  41. package/dist/{sandbox-container-CZFZdMso.d.mts → container-D584jUxY.d.mts} +1 -1
  42. package/dist/{create-project-BaUzZnLZ.mjs → create-project-BkVGXGNt.mjs} +1 -1
  43. package/dist/{create-project-CQMyzTvK.mjs → create-project-C-hNdYvD.mjs} +1 -1
  44. package/dist/{migration-handler-DCehTlWs.mjs → d1-handler-C1LH2K2s.mjs} +1 -1
  45. package/dist/{db-DEpDeDsi.mjs → db-DQAi7Ckr.mjs} +23 -23
  46. package/dist/{delete-BVD2kI82.mjs → delete-BtVnPGO2.mjs} +1 -1
  47. package/dist/{deploy-Dyeo5soA.mjs → deploy-Cs93Af-d.mjs} +32 -31
  48. package/dist/{deploy-managed-static-Kn73R83A.mjs → deploy-managed-static-CZIx3cc1.mjs} +20 -11
  49. package/dist/deploy-rUunHBNJ.mjs +2 -0
  50. package/dist/{deploy-transport-BpKBs_KR.mjs → deploy-transport-DT-ALuDj.mjs} +2 -2
  51. package/dist/deploy.mjs +7 -6
  52. package/dist/{dev-inbox-CUUS6iUg.mjs → dev-inbox-BiamQEAa.mjs} +2 -2
  53. package/dist/{dispatch-BBfb519j.mjs → dispatch-DPEuEblR.mjs} +1 -1
  54. package/dist/{domain-BTIdyUVk.mjs → domain-cOhYYiHU.mjs} +2 -2
  55. package/dist/{email-DvrS-I0U.mjs → email-CnnDqvXV.mjs} +7 -7
  56. package/dist/{email-cloudflare-DAGpgzY1.mjs → email-cloudflare-CCIoQueP.mjs} +4 -4
  57. package/dist/email-pattern-BYr-EFq5.mjs +91 -0
  58. package/dist/{env-D7vORwpn.mjs → env-5bphL5mV.mjs} +3 -3
  59. package/dist/env-registry-BbCdIOXP.mjs +10 -0
  60. package/dist/{env-validation-DeYNRp1d.mjs → env-validation-DfJ9Fzfa.mjs} +2 -2
  61. package/dist/{env-validation-DKDcpxbt.mjs → env-validation-ly_Q9Kgd.mjs} +1 -1
  62. package/dist/{error-pages-COVBnzK7.mjs → error-pages-QNeBXiRR.mjs} +6 -6
  63. package/dist/{fetch-CAIVkLvW.mjs → fetch-DdK9eGin.mjs} +3 -3
  64. package/dist/{fetch-error-DmlRM6e4.mjs → fetch-error-EXhBRoxI.mjs} +1 -1
  65. package/dist/{fetch-stream-6Op0qlLd.mjs → fetch-stream-DQAavFdm.mjs} +4 -4
  66. package/dist/gen-BQ7itmK7.mjs +1 -0
  67. package/dist/{gen-DimkGNve.mjs → gen-CjcH6DJS.mjs} +4 -3
  68. package/dist/{github-cmd-D-zs6VQr.mjs → github-cmd-CVDLb51-.mjs} +1 -1
  69. package/dist/{handler-C9SnmeW1.mjs → handler-w_FAiIRu.mjs} +5 -5
  70. package/dist/{head-CWJhfUwV.mjs → head-0o0QoREY.mjs} +1 -1
  71. package/dist/{headers-Q0kZDpk8.mjs → headers-Cyr87J6Z.mjs} +1 -1
  72. package/dist/{help-Cgdcd-SG.mjs → help-B1cH8518.mjs} +8 -1
  73. package/dist/help-Ld6XFol7.mjs +1 -0
  74. package/dist/{env-helpers-Dj_SIwPu.mjs → helpers-_OdpnjkJ.mjs} +1 -1
  75. package/dist/{inbound-C2H6Dzz1.mjs → inbound--OF7zkwX.mjs} +4 -4
  76. package/dist/{sandbox-DE1WsxuB.d.mts → index-BESZTC1z.d.mts} +2 -2
  77. package/dist/{ws-C2zy0QBf.d.mts → index-BTmhCDbw.d.mts} +36 -7
  78. package/dist/{handler-6fzr_ikp.d.mts → index-BXdP39qx.d.mts} +4 -6
  79. package/dist/{live-DBybyDt0.d.mts → index-CmqHYj2R.d.mts} +2 -2
  80. package/dist/index.d.mts +4 -4
  81. package/dist/index.mjs +68 -49
  82. package/dist/{info-BbxQ34kk.mjs → info-BE3snw2_.mjs} +4 -4
  83. package/dist/{init-zyRj3QRw.mjs → init-BrS5MAiJ.mjs} +67 -42
  84. package/dist/{limits-CrHLm5Tk.mjs → limits-BCoQLpn3.mjs} +1 -1
  85. package/dist/{link-DAFXuIER.mjs → link-BbzyrCBD.mjs} +2 -2
  86. package/dist/{list-BTIcC3W9.mjs → list-DmppHjVc.mjs} +2 -2
  87. package/dist/{live-Dw7NF1t2.mjs → live-DvtxTUhW.mjs} +5 -5
  88. package/dist/{load-user-env-ztmIyiLx.mjs → load-user-env-BltIJLtl.mjs} +1 -1
  89. package/dist/{local-d1-BnVb7Fem.mjs → local-d1-DLxsKmkw.mjs} +1 -1
  90. package/dist/login-C-n1rA0s.mjs +1 -0
  91. package/dist/{login-DOE-MkeK.mjs → login-Cihxnu7m.mjs} +2 -2
  92. package/dist/{logs-CUsjihc3.mjs → logs-BCgLeLNd.mjs} +2 -2
  93. package/dist/migrate-CKn30rmw.mjs +1 -0
  94. package/dist/{migrate-DtoKdGas.mjs → migrate-DOK67gE-.mjs} +3 -3
  95. package/dist/{auth-migrations-DDeifS3v.mjs → migrations-ByS7r3HV.mjs} +1 -1
  96. package/dist/{mime-CtP6-qAF.mjs → mime-BGoZ8ZLL.mjs} +1 -1
  97. package/dist/{mysql-migration-sql-CI9VTwjt.mjs → mysql-sql-SlpS6OMg.mjs} +3 -3
  98. package/dist/nitro.mjs +3 -3
  99. package/dist/{node-D9dPyUr0.mjs → node-qXD3FbIU.mjs} +2 -2
  100. package/dist/{operator-ai-logging-DFTEp81Z.mjs → operator-ai-logging-CNuX5uKg.mjs} +1 -1
  101. package/dist/operator-cmd-BnLoIO2A.mjs +1 -0
  102. package/dist/{operator-cmd-CQOQrUiO.mjs → operator-cmd-D0vSUVle.mjs} +4 -4
  103. package/dist/pages/client.d.mts +4 -4
  104. package/dist/pages/client.mjs +4 -4
  105. package/dist/pages/head.mjs +1 -1
  106. package/dist/pages/index.d.mts +3 -3
  107. package/dist/pages/index.mjs +5 -5
  108. package/dist/pages/islands-plugin.d.mts +1 -1
  109. package/dist/pages/islands-plugin.mjs +1 -1
  110. package/dist/pages/prefetch.d.mts +1 -1
  111. package/dist/pages/prefetch.mjs +1 -1
  112. package/dist/pages/protocol.d.mts +3 -3
  113. package/dist/pages/protocol.mjs +3 -3
  114. package/dist/{pg-DoyPxa_X.mjs → pgpass-CEtnBOZO.mjs} +1 -1
  115. package/dist/{platform-args-DtpHS_75.mjs → platform-args-DQSMW4EP.mjs} +24 -5
  116. package/dist/platform-args-Rgp86xa7.mjs +1 -0
  117. package/dist/{platform-auth-config-fLwIS5VG.mjs → platform-auth-config-V2ifSLQ-.mjs} +4 -4
  118. package/dist/{platform-auth-protection-BTRI_YwD.mjs → platform-auth-protection-BybVCUzi.mjs} +2 -2
  119. package/dist/{platform-auth-recovery-DPK2Mvmo.mjs → platform-auth-recovery-kH1-h8Ch.mjs} +2 -2
  120. package/dist/{platform-cmd-BLy5uCa-.mjs → platform-cmd-B1jtqXnu.mjs} +1 -1
  121. package/dist/{platform-cmd-HS_FSthn.mjs → platform-cmd-BHWdh1Hx.mjs} +5 -5
  122. package/dist/{platform-domain-CHpcq_qg.mjs → platform-domain-DB_KpVhg.mjs} +2 -2
  123. package/dist/{platform-lifecycle-B6LUBwjS.mjs → platform-lifecycle-BoOTmH6H.mjs} +1 -1
  124. package/dist/{platform-lifecycle-D2RS7DE0.mjs → platform-lifecycle-C6fUuj4y.mjs} +146 -71
  125. package/dist/{platform-management-C-T0ch4y.mjs → platform-management-7Bf_OgS5.mjs} +1 -1
  126. package/dist/{platform-management-d3ETv3Dw.mjs → platform-management-B8-pOxoJ.mjs} +9 -2
  127. package/dist/{platform-plans-config-B7yJQKf7.mjs → platform-plans-config-iczSDkQK.mjs} +1 -1
  128. package/dist/{platform-recovery-DS5CAsly.mjs → platform-recovery-ZAXin6WK.mjs} +2 -2
  129. package/dist/{platform-setup-Casiffqj.mjs → platform-setup-CpcHLI-0.mjs} +1 -0
  130. package/dist/{plugin-inference-DZHmVe1f.mjs → plugin-inference-BGamcCqB.mjs} +1 -2
  131. package/dist/{prefetch-Dx2jIbtg.mjs → prefetch-C_OUvg5g.mjs} +4 -0
  132. package/dist/{prefetch-NdNeubbH.d.mts → prefetch-UINRrqL4.d.mts} +1 -0
  133. package/dist/{prepare-AVM4Hj3T.mjs → prepare-BrAkXTTB.mjs} +3 -3
  134. package/dist/prepare-CI7_C9Xf.mjs +1 -0
  135. package/dist/{prepare-DMk8NAO-.mjs → prepare-Cjt6EM0d.mjs} +1 -1
  136. package/dist/{project-cmd-TQKAOTMV.mjs → project-cmd-wtCuc8Ln.mjs} +15 -15
  137. package/dist/{project-team-B1OKeb-T.mjs → project-team-CZFvPIJ-.mjs} +1 -1
  138. package/dist/{project-token-RW_wpmN-.mjs → project-token-C3TxkWeC.mjs} +1 -1
  139. package/dist/{project-zero-trust-TNc66p0_.mjs → project-zero-trust-DrRyAHW1.mjs} +1 -1
  140. package/dist/{protocol-YS3tbxWE.d.mts → protocol-BlAiF-hc.d.mts} +5 -3
  141. package/dist/{email-protocol-DTs_TjCS.mjs → protocol-ChF3kDjf.mjs} +1 -1
  142. package/dist/{protocol-IPSWHolJ.mjs → protocol-W5EQcIzN.mjs} +43 -22
  143. package/dist/{provision-bgQTi5QZ.mjs → provision-CknEbPuw.mjs} +3 -2
  144. package/dist/{provision-BLdkpFT4.mjs → provision-DdWqRmmr.mjs} +1 -1
  145. package/dist/{env-public-DtJL_hZq.d.mts → public-B80SwOFp.d.mts} +14 -9
  146. package/dist/{env-raw-e8qgqAzQ.mjs → raw-7pQirZpQ.mjs} +1 -1
  147. package/dist/raw-CtfNvKyY.d.mts +3 -0
  148. package/dist/{requests-Cj15-yrI.mjs → requests-FaA9M3RX.mjs} +1 -1
  149. package/dist/{response-HmNjB30w.mjs → response-CyXsGfOy.mjs} +1 -1
  150. package/dist/{rollback-CYnkng7B.mjs → rollback-DM6pZ23Y.mjs} +2 -2
  151. package/dist/{route-types-C6eAOmOj.mjs → route-types-CrODgORq.mjs} +36 -6
  152. package/dist/{route-url-CfCR4oMj.mjs → route-url-BBdkU7rb.mjs} +1 -1
  153. package/dist/{route-url-C3JwYrER.d.mts → route-url-Di1kB8D_.d.mts} +6 -2
  154. package/dist/routes-stub.d.mts +1 -3
  155. package/dist/routes-stub.mjs +1 -1
  156. package/dist/{runner-mysql-BXfcQQj3.mjs → runner-mysql-CJ-HyqxV.mjs} +1 -1
  157. package/dist/{runner-mysql-CHvEg_sy.mjs → runner-mysql-C_PrAUTm.mjs} +1 -1
  158. package/dist/runtime/{ai.mjs → ai/index.mjs} +6 -6
  159. package/dist/runtime/{better-auth.d.mts → auth/better-auth-d1.d.mts} +1 -1
  160. package/dist/runtime/{better-auth.mjs → auth/better-auth-d1.mjs} +3 -3
  161. package/dist/runtime/{better-auth-mysql.d.mts → auth/better-auth-mysql.d.mts} +1 -1
  162. package/dist/runtime/{better-auth-mysql.mjs → auth/better-auth-mysql.mjs} +3 -3
  163. package/dist/runtime/{better-auth-pg.d.mts → auth/better-auth-postgres.d.mts} +1 -1
  164. package/dist/runtime/{better-auth-pg.mjs → auth/better-auth-postgres.mjs} +4 -4
  165. package/dist/runtime/auth/client-react.d.mts +2 -0
  166. package/dist/runtime/auth/client-react.mjs +1 -0
  167. package/dist/runtime/auth/client-solid.d.mts +2 -0
  168. package/dist/runtime/auth/client-solid.mjs +1 -0
  169. package/dist/runtime/auth/client-svelte.d.mts +2 -0
  170. package/dist/runtime/auth/client-svelte.mjs +1 -0
  171. package/dist/runtime/auth/client-vue.d.mts +2 -0
  172. package/dist/runtime/auth/client-vue.mjs +1 -0
  173. package/dist/runtime/auth/client.d.mts +2 -0
  174. package/dist/runtime/auth/client.mjs +1 -0
  175. package/dist/runtime/{auth.d.mts → auth/index.d.mts} +1 -1
  176. package/dist/runtime/auth/index.mjs +1 -0
  177. package/dist/runtime/{fetch-server.d.mts → client/fetch-server.d.mts} +1 -1
  178. package/dist/runtime/{fetch-server.mjs → client/fetch-server.mjs} +3 -3
  179. package/dist/runtime/client/fetch-stream.d.mts +3 -0
  180. package/dist/runtime/client/fetch-stream.mjs +3 -0
  181. package/dist/runtime/{fetch.d.mts → client/fetch.d.mts} +1 -1
  182. package/dist/runtime/client/fetch.mjs +3 -0
  183. package/dist/runtime/client/index.d.mts +5 -0
  184. package/dist/runtime/client/index.mjs +5 -0
  185. package/dist/runtime/client/react.d.mts +5 -0
  186. package/dist/runtime/client/react.mjs +5 -0
  187. package/dist/runtime/client/solid.d.mts +5 -0
  188. package/dist/runtime/client/solid.mjs +5 -0
  189. package/dist/runtime/client/svelte.d.mts +5 -0
  190. package/dist/runtime/client/svelte.mjs +5 -0
  191. package/dist/runtime/client/vue.d.mts +5 -0
  192. package/dist/runtime/client/vue.mjs +5 -0
  193. package/dist/runtime/{db.mjs → db/index.mjs} +2 -2
  194. package/dist/runtime/{migration-handler.d.mts → db/migrations/d1-handler.d.mts} +1 -1
  195. package/dist/runtime/{migration-handler.mjs → db/migrations/d1-handler.mjs} +1 -1
  196. package/dist/runtime/{migration-handler-mysql.d.mts → db/migrations/mysql-handler.d.mts} +1 -1
  197. package/dist/runtime/{migration-handler-mysql.mjs → db/migrations/mysql-handler.mjs} +2 -2
  198. package/dist/runtime/{migration-handler-pg.d.mts → db/migrations/postgres-handler.d.mts} +1 -1
  199. package/dist/runtime/{migration-handler-pg.mjs → db/migrations/postgres-handler.mjs} +2 -2
  200. package/dist/runtime/{seed.mjs → db/seed.mjs} +1 -1
  201. package/dist/runtime/{durable.mjs → durable/index.mjs} +3 -3
  202. package/dist/runtime/{email.d.mts → email/index.d.mts} +1 -1
  203. package/dist/runtime/{email.mjs → email/index.mjs} +6 -6
  204. package/dist/runtime/{email-protocol.mjs → email/protocol.mjs} +1 -1
  205. package/dist/runtime/email/testing.mjs +4 -4
  206. package/dist/runtime/{env-public-client.d.mts → env/public-client.d.mts} +1 -1
  207. package/dist/runtime/{env-public-client.mjs → env/public-client.mjs} +2 -2
  208. package/dist/runtime/env/public.d.mts +4 -0
  209. package/dist/runtime/{env-public.mjs → env/public.mjs} +144 -75
  210. package/dist/runtime/{env.d.mts → env/runtime.d.mts} +1 -2
  211. package/dist/runtime/{env.mjs → env/runtime.mjs} +1 -1
  212. package/dist/runtime/{handler.d.mts → handler/index.d.mts} +1 -1
  213. package/dist/runtime/{handler.mjs → handler/index.mjs} +2 -2
  214. package/dist/runtime/{response.mjs → handler/response.mjs} +1 -1
  215. package/dist/runtime/handler/validator.d.mts +2 -0
  216. package/dist/runtime/handler/validator.mjs +1 -0
  217. package/dist/runtime/{isr.mjs → isr/index.mjs} +2 -2
  218. package/dist/runtime/{kv.mjs → kv/index.mjs} +2 -2
  219. package/dist/runtime/{limits.d.mts → limits/index.d.mts} +1 -1
  220. package/dist/runtime/{limits.mjs → limits/index.mjs} +1 -1
  221. package/dist/runtime/{live-client.d.mts → live/client.d.mts} +2 -2
  222. package/dist/runtime/{live-client.mjs → live/client.mjs} +1 -1
  223. package/dist/runtime/{live.d.mts → live/index.d.mts} +1 -1
  224. package/dist/runtime/live/index.mjs +1 -0
  225. package/dist/runtime/{live-server.mjs → live/server.mjs} +3 -3
  226. package/dist/runtime/{log.mjs → log/index.mjs} +1 -1
  227. package/dist/runtime/queues/index.d.mts +2 -0
  228. package/dist/runtime/{queues.mjs → queues/index.mjs} +2 -2
  229. package/dist/runtime/remote/binding-handler.mjs +1 -1
  230. package/dist/runtime/remote/index.mjs +1 -1
  231. package/dist/runtime/{routing.d.mts → routing/index.d.mts} +7 -2
  232. package/dist/runtime/{routing.mjs → routing/index.mjs} +51 -17
  233. package/dist/runtime/{route-url.d.mts → routing/route-url.d.mts} +1 -1
  234. package/dist/runtime/{route-url.mjs → routing/route-url.mjs} +1 -1
  235. package/dist/runtime/{sandbox-container.d.mts → sandbox/container.d.mts} +1 -1
  236. package/dist/runtime/{sandbox-container.mjs → sandbox/container.mjs} +1 -1
  237. package/dist/runtime/{sandbox.d.mts → sandbox/index.d.mts} +2 -2
  238. package/dist/runtime/{sandbox.mjs → sandbox/index.mjs} +5 -5
  239. package/dist/runtime/{sse-client.d.mts → sse/client.d.mts} +1 -1
  240. package/dist/runtime/{sse-client.mjs → sse/client.mjs} +1 -1
  241. package/dist/runtime/sse/index.mjs +1 -0
  242. package/dist/runtime/{storage.mjs → storage/index.mjs} +2 -2
  243. package/dist/runtime/ws/index.d.mts +2 -0
  244. package/dist/runtime/{ws.mjs → ws/index.mjs} +3 -3
  245. package/dist/runtime/ws/room.d.mts +30 -0
  246. package/dist/runtime/ws/room.mjs +37 -0
  247. package/dist/runtime/{ws-server.d.mts → ws/server.d.mts} +18 -3
  248. package/dist/runtime/ws/server.mjs +1 -0
  249. package/dist/{env-DtKg5G26.mjs → runtime-zDDinDI5.mjs} +2 -2
  250. package/dist/{dist-BWNkVq50.mjs → scan-tDExXbA1.mjs} +978 -11
  251. package/dist/{secret-BSf7dgg_.mjs → secret-DDNLIQOT.mjs} +3 -3
  252. package/dist/{runtime/ws-server.mjs → server-CfUbeOjx.mjs} +60 -19
  253. package/dist/{sse-CxR30yMF.mjs → sse-BXnTfcf3.mjs} +1 -1
  254. package/dist/{static-asset-marker-DsQKz6lt.mjs → static-asset-marker-lxYeKvFP.mjs} +2 -2
  255. package/dist/{types-IPut3_Yx.d.mts → types-FDH6NuY1.d.mts} +0 -5
  256. package/dist/{validation-error-uAAjlsiW.mjs → validation-error-CtcAvyI7.mjs} +1 -1
  257. package/dist/{validator-8-NZs2Xr.mjs → validator-Duafcnh7.mjs} +1 -1
  258. package/dist/{version-metadata-CeftH0fQ.mjs → version-metadata-DEmItNdS.mjs} +1 -1
  259. package/dist/{wrangler-B1gkT_wC.mjs → wrangler-D1zq1rXr.mjs} +20 -3
  260. package/dist/wrangler-DM3GOqck.mjs +1 -0
  261. package/dist/{wrapper-xJ4LP5A7.mjs → wrapper-C2gMY432.mjs} +11 -6
  262. package/docs/guide/ai.md +3 -2
  263. package/docs/guide/auth.md +20 -13
  264. package/docs/guide/database.md +0 -7
  265. package/docs/guide/email/sending.md +0 -1
  266. package/docs/guide/pages-routing/errors.md +23 -1
  267. package/docs/guide/pages-routing/head.md +15 -10
  268. package/docs/guide/pages-routing/loaders.md +19 -0
  269. package/docs/guide/pages-routing/markdown.md +14 -10
  270. package/docs/guide/pages-routing/view-transitions.md +0 -16
  271. package/docs/guide/platform/administration/plans.md +13 -13
  272. package/docs/guide/platform/administration/projects.md +14 -4
  273. package/docs/guide/platform/installation/ci.md +5 -2
  274. package/docs/guide/platform/installation/maintenance.md +5 -2
  275. package/docs/guide/platform/installation/prerequisites.md +1 -1
  276. package/docs/guide/platform/installation/setup.md +12 -0
  277. package/docs/guide/queues.md +9 -5
  278. package/docs/guide/storage.md +0 -4
  279. package/docs/guide/type-safety.md +18 -12
  280. package/docs/guide/websockets.md +72 -1
  281. package/docs/integrations/frameworks/overview.md +7 -0
  282. package/docs/integrations/hono.md +4 -3
  283. package/docs/reference/api/auth.md +8 -8
  284. package/docs/reference/api/deploy.md +1 -1
  285. package/docs/reference/api/pages.md +2 -0
  286. package/docs/reference/api.md +2 -1
  287. package/docs/reference/cli/platform-config.md +33 -7
  288. package/docs/reference/cli/platform-installation.md +4 -1
  289. package/docs/reference/cli/platform-users.md +48 -35
  290. package/docs/reference/cli.md +2 -2
  291. package/docs/reference/config.md +13 -1
  292. package/package.json +165 -160
  293. package/schema.json +12 -1
  294. package/dist/cf-build-output-DUZnAeZ1.mjs +0 -1
  295. package/dist/deploy-Dr_Qamzw.mjs +0 -2
  296. package/dist/email-BHY72ixO.mjs +0 -165
  297. package/dist/gen-DmEeVEs4.mjs +0 -1
  298. package/dist/help-Cp3K5m1w.mjs +0 -1
  299. package/dist/login-DBs8JuSl.mjs +0 -1
  300. package/dist/migrate-BYhoIK9R.mjs +0 -1
  301. package/dist/operator-cmd-xCACDtT1.mjs +0 -1
  302. package/dist/platform-args-DSi4_M8n.mjs +0 -1
  303. package/dist/prepare-BSXKz6m8.mjs +0 -1
  304. package/dist/runtime/auth-client-react.d.mts +0 -2
  305. package/dist/runtime/auth-client-react.mjs +0 -1
  306. package/dist/runtime/auth-client-solid.d.mts +0 -2
  307. package/dist/runtime/auth-client-solid.mjs +0 -1
  308. package/dist/runtime/auth-client-svelte.d.mts +0 -2
  309. package/dist/runtime/auth-client-svelte.mjs +0 -1
  310. package/dist/runtime/auth-client-vue.d.mts +0 -2
  311. package/dist/runtime/auth-client-vue.mjs +0 -1
  312. package/dist/runtime/auth-client.d.mts +0 -2
  313. package/dist/runtime/auth-client.mjs +0 -1
  314. package/dist/runtime/auth.mjs +0 -1
  315. package/dist/runtime/client-react.d.mts +0 -5
  316. package/dist/runtime/client-react.mjs +0 -5
  317. package/dist/runtime/client-solid.d.mts +0 -5
  318. package/dist/runtime/client-solid.mjs +0 -5
  319. package/dist/runtime/client-svelte.d.mts +0 -5
  320. package/dist/runtime/client-svelte.mjs +0 -5
  321. package/dist/runtime/client-vue.d.mts +0 -5
  322. package/dist/runtime/client-vue.mjs +0 -5
  323. package/dist/runtime/client.d.mts +0 -5
  324. package/dist/runtime/client.mjs +0 -5
  325. package/dist/runtime/env-public.d.mts +0 -4
  326. package/dist/runtime/fetch-stream.d.mts +0 -3
  327. package/dist/runtime/fetch-stream.mjs +0 -3
  328. package/dist/runtime/fetch.mjs +0 -3
  329. package/dist/runtime/live.mjs +0 -1
  330. package/dist/runtime/queues.d.mts +0 -2
  331. package/dist/runtime/sse.mjs +0 -1
  332. package/dist/runtime/validator.d.mts +0 -2
  333. package/dist/runtime/validator.mjs +0 -1
  334. package/dist/runtime/ws.d.mts +0 -2
  335. package/dist/scan-4YOxDaw2.mjs +0 -970
  336. package/dist/wrangler-fNGvPTlO.mjs +0 -1
  337. /package/dist/{auth-client-6-Ft9i9T.d.mts → client-6-Ft9i9T.d.mts} +0 -0
  338. /package/dist/{auth-client-react-DvQLe5Zb.d.mts → client-react-DvQLe5Zb.d.mts} +0 -0
  339. /package/dist/{auth-client-solid-P9pEtKGp.d.mts → client-solid-P9pEtKGp.d.mts} +0 -0
  340. /package/dist/{auth-client-svelte-B5j8irT6.d.mts → client-svelte-B5j8irT6.d.mts} +0 -0
  341. /package/dist/{auth-client-vue-BEiAfavk.d.mts → client-vue-BEiAfavk.d.mts} +0 -0
  342. /package/dist/{migration-handler-D8mDx3Ew.d.mts → d1-handler-D8mDx3Ew.d.mts} +0 -0
  343. /package/dist/{env-helpers-U56xuFgL.d.mts → helpers-U56xuFgL.d.mts} +0 -0
  344. /package/dist/{auth-CV9kXHKe.d.mts → index-CV9kXHKe.d.mts} +0 -0
  345. /package/dist/{queues-DdM42xXW.d.mts → index-DdM42xXW.d.mts} +0 -0
  346. /package/dist/{limits-_xIf5z_P.d.mts → index-_xIf5z_P.d.mts} +0 -0
  347. /package/dist/runtime/{ai.d.mts → ai/index.d.mts} +0 -0
  348. /package/dist/runtime/{db.d.mts → db/index.d.mts} +0 -0
  349. /package/dist/runtime/{db-mysql.d.mts → db/mysql.d.mts} +0 -0
  350. /package/dist/runtime/{db-mysql.mjs → db/mysql.mjs} +0 -0
  351. /package/dist/runtime/{db-pg.d.mts → db/postgres.d.mts} +0 -0
  352. /package/dist/runtime/{db-pg.mjs → db/postgres.mjs} +0 -0
  353. /package/dist/runtime/{schema-d1.d.mts → db/schema/d1.d.mts} +0 -0
  354. /package/dist/runtime/{schema-d1.mjs → db/schema/d1.mjs} +0 -0
  355. /package/dist/runtime/{schema-mysql.d.mts → db/schema/mysql.d.mts} +0 -0
  356. /package/dist/runtime/{schema-mysql.mjs → db/schema/mysql.mjs} +0 -0
  357. /package/dist/runtime/{schema-pg.d.mts → db/schema/postgres.d.mts} +0 -0
  358. /package/dist/runtime/{schema-pg.mjs → db/schema/postgres.mjs} +0 -0
  359. /package/dist/runtime/{seed.d.mts → db/seed.d.mts} +0 -0
  360. /package/dist/runtime/{drizzle-arktype.d.mts → db/validators/drizzle-arktype.d.mts} +0 -0
  361. /package/dist/runtime/{drizzle-arktype.mjs → db/validators/drizzle-arktype.mjs} +0 -0
  362. /package/dist/runtime/{drizzle-valibot.d.mts → db/validators/drizzle-valibot.d.mts} +0 -0
  363. /package/dist/runtime/{drizzle-valibot.mjs → db/validators/drizzle-valibot.mjs} +0 -0
  364. /package/dist/runtime/{drizzle-zod.d.mts → db/validators/drizzle-zod.d.mts} +0 -0
  365. /package/dist/runtime/{drizzle-zod.mjs → db/validators/drizzle-zod.mjs} +0 -0
  366. /package/dist/runtime/{durable.d.mts → durable/index.d.mts} +0 -0
  367. /package/dist/runtime/{email-protocol.d.mts → email/protocol.d.mts} +0 -0
  368. /package/dist/runtime/{response.d.mts → handler/response.d.mts} +0 -0
  369. /package/dist/runtime/{isr.d.mts → isr/index.d.mts} +0 -0
  370. /package/dist/runtime/{kv.d.mts → kv/index.d.mts} +0 -0
  371. /package/dist/runtime/{live-server.d.mts → live/server.d.mts} +0 -0
  372. /package/dist/runtime/{log.d.mts → log/index.d.mts} +0 -0
  373. /package/dist/runtime/{sse.d.mts → sse/index.d.mts} +0 -0
  374. /package/dist/runtime/{storage.d.mts → storage/index.d.mts} +0 -0
@@ -289,7 +289,7 @@ Wrap your markdown content in a `.void-md` element to scope the styles:
289
289
  The theme covers:
290
290
 
291
291
  - **Prose:** headings, paragraphs, lists, blockquotes, tables, inline code, links, horizontal rules, task lists, `<kbd>`, `<mark>`, definition lists, and footnotes. Dark mode works through `prefers-color-scheme` and the `data-theme` attribute.
292
- - **Code blocks:** Shiki dual-theme highlighting with CSS-driven switching and zero JS.
292
+ - **Code blocks:** dual-theme syntax highlighting with CSS-driven switching and zero JS.
293
293
  - **Containers:** styles for `:::tip`, `:::warning`, `:::danger`, `:::info`, and `:::details`.
294
294
  - **GitHub alerts:** support for `> [!NOTE]`, `> [!TIP]`, `> [!WARNING]`, and similar syntax.
295
295
 
@@ -371,7 +371,7 @@ Custom titles work too: `::: tip Pro Tip`.
371
371
 
372
372
  ### Syntax Highlighting
373
373
 
374
- Code blocks use [Shiki](https://shiki.style) with `github-light` and `github-dark` themes by default.
374
+ Code blocks are highlighted with the `github-light` and `github-dark` themes by default. A code block in a language that is not supported renders as plain text.
375
375
 
376
376
  ### Line Highlighting
377
377
 
@@ -449,20 +449,24 @@ Headings include permalink anchors. Use `[[toc]]` for a table of contents. Image
449
449
  ## Plugin Options
450
450
 
451
451
  ```ts
452
+ import { voidMarkdown } from '@void/md/plugin';
453
+
452
454
  voidMarkdown({
453
- shiki: {
454
- themes: { light: 'github-light', dark: 'github-dark' },
455
- },
455
+ themes: { light: 'github-light', dark: 'github-dark' },
456
456
  copyLabel: 'Copy Code',
457
457
  });
458
458
  ```
459
459
 
460
- | Option | Type | Default | Description |
461
- | -------------- | -------------------------------- | ------------------------------------------------ | --------------------------------------------------------- |
462
- | `shiki.themes` | `{ light: string; dark: string}` | `{ light: "github-light", dark: "github-dark" }` | Shiki color themes |
463
- | `copyLabel` | `string` | `"Copy Code"` | Title of the code block copy button, for translated sites |
460
+ | Option | Type | Default | Description |
461
+ | ----------- | -------------------------------- | ------------------------------------------------ | ----------------------------------------------------------------- |
462
+ | `themes` | `{ light: string; dark: string}` | `{ light: "github-light", dark: "github-dark" }` | Code block color themes, such as `pierre-light` and `pierre-dark` |
463
+ | `copyLabel` | `string` | `"Copy Code"` | Tooltip and accessible label for the code copy button |
464
+
465
+ Code block languages need no configuration. An unknown theme name stops the build with an error.
466
+
467
+ The `shiki.themes` option is deprecated. Use `themes`.
464
468
 
465
- Code block languages load on demand from Shiki's bundled languages.
469
+ For a translated site, set `copyLabel` to the label in your site's language, such as `'Copier le code'`.
466
470
 
467
471
  ## Building a Sidebar
468
472
 
@@ -52,48 +52,32 @@ Override the global setting on individual links:
52
52
  ::: code-group
53
53
 
54
54
  ```tsx [React]
55
- {
56
- /* Disable transition for this link */
57
- }
58
55
  <Link href="/settings" viewTransition={false}>
59
56
  Settings
60
57
  </Link>;
61
58
 
62
- {
63
- /* Enable for just this link (even if globally disabled) */
64
- }
65
59
  <Link href="/about" viewTransition>
66
60
  About
67
61
  </Link>;
68
62
  ```
69
63
 
70
64
  ```vue [Vue]
71
- <!-- Disable transition for this link -->
72
65
  <Link href="/settings" :view-transition="false">Settings</Link>
73
66
 
74
- <!-- Enable for just this link (even if globally disabled) -->
75
67
  <Link href="/about" view-transition>About</Link>
76
68
  ```
77
69
 
78
70
  ```svelte [Svelte]
79
- <!-- Disable transition for this link -->
80
71
  <Link href="/settings" viewTransition={false}>Settings</Link>
81
72
 
82
- <!-- Enable for just this link (even if globally disabled) -->
83
73
  <Link href="/about" viewTransition>About</Link>
84
74
  ```
85
75
 
86
76
  ```tsx [Solid]
87
- {
88
- /* Disable transition for this link */
89
- }
90
77
  <Link href="/settings" viewTransition={false}>
91
78
  Settings
92
79
  </Link>;
93
80
 
94
- {
95
- /* Enable for just this link (even if globally disabled) */
96
- }
97
81
  <Link href="/about" viewTransition>
98
82
  About
99
83
  </Link>;
@@ -26,7 +26,7 @@ Account updates continue automatically on the result page. If you leave the page
26
26
 
27
27
  ## Add a Plan
28
28
 
29
- Each plan has a stable ID and an editable display name. Copying a plan copies its limits, build instance size, and permission to use short project slugs:
29
+ Each plan has a stable ID and an editable display name. Copy a plan to start with its limits, build size, short-slug permission, and AI logging default:
30
30
 
31
31
  ```sh
32
32
  void platform config plans add team --copy pro --name "Team" --plan
@@ -91,11 +91,7 @@ The preview shows the affected account count and checks a sample for accounts al
91
91
 
92
92
  ## AI Gateway Logging {#ai-gateway-logging}
93
93
 
94
- Each plan can set how AI Gateway logs AI requests for its accounts' projects: `inherit`, `off`, `metadata`, or `full`. See [AI Gateway logging](../../../reference/cli/platform-users.md#ai-gateway-logging) for what each mode stores. Plans start with `inherit`, which follows the gateway's own setting.
95
-
96
- A project's own setting from `void platform project ai-logging` always wins over the plan default. Accounts whose plan is not in the catalog use the signup default plan's setting.
97
-
98
- In the dashboard, choose **Edit** on a plan and pick its **AI Gateway logging default**. In a plan file, set `aiLogging`:
94
+ Set a plan's AI logging default to control what AI Gateway records for its projects. In the dashboard, edit the plan's **AI Gateway logging default**. From the CLI, add `aiLogging` to a plan file:
99
95
 
100
96
  ```json
101
97
  {
@@ -108,19 +104,23 @@ void platform config plans set team --file team-plan.json --plan
108
104
  void platform config plans set team --file team-plan.json --yes
109
105
  ```
110
106
 
111
- `"aiLogging": "inherit"` clears the plan default. Leaving `aiLogging` out keeps the current value. The interactive menu also offers **AI Gateway logging**. The preview shows the change, such as `AI Gateway logging: inherit → metadata`, and how many projects will receive it.
107
+ `metadata` keeps request details without prompts or responses. Use `off` for no log entries, `full` to include prompts and responses, or `inherit` to follow the gateway's own setting. A new installation's gateway logs prompts and responses. See [AI Gateway logging](../../../reference/cli/platform-users.md#ai-gateway-logging) for the full scope of these settings.
112
108
 
113
- After applying, the CLI publishes the default to every project it affects, then prints:
109
+ Leaving `aiLogging` out preserves the plan's current value. A project's [own logging setting](./projects.md#ai-logging) overrides its plan default. If an account's plan is missing from the catalog, it follows the signup default plan.
110
+
111
+ The preview shows the old and new defaults and how many projects are affected. After applying, the CLI publishes the change and reports when new requests are expected to use it:
114
112
 
115
113
  ```txt
116
114
  AI logging published to 120 projects; expected by 14:03:20 UTC (normally within 2 minutes).
117
115
  ```
118
116
 
119
- A plan default applies to a project once the command prints this line, then normally within 2 minutes. Until then, projects keep their previous behavior and `void platform project show <project-id>` reports `pending_plan_publish`. If publishing stops, the command exits with a nonzero status. Continue it with `void platform config plans sync --yes`, or choose **Continue AI logging publish** on the **Plans** page. The platform also continues it every hour.
117
+ Projects keep their previous logging behavior until the new setting is published. Changes normally reach new requests within 2 minutes after publishing. Check a project with `void platform project show <project-id>`.
118
+
119
+ If publishing stops, run `void platform config plans sync --yes`, or choose **Continue AI logging publish** on the **Plans** page. The platform also resumes unfinished work every hour.
120
120
 
121
- Copying a plan copies its AI logging default. Changing the signup default also changes the setting for accounts whose plan is not in the catalog. When you remove a plan with a replacement, its accounts use the replacement plan's default. Moving a user to another plan, or transferring a project to a new owner, applies the new plan's default.
121
+ Moving an account to another plan, replacing a removed plan, or transferring a project applies the new owner's plan default. Changing the signup default also changes logging for accounts whose plan is missing from the catalog.
122
122
 
123
- `void platform config plans show <plan-id>` and the user detail page in the dashboard show the plan's AI Gateway logging default. Plan defaults need a platform release that supports them. On an older platform, the CLI stops and asks you to run `void platform upgrade` first.
123
+ Inspect a plan's default with `void platform config plans show <plan-id>` or the dashboard's user detail page. If the CLI reports that your platform does not support plan defaults, run `void platform upgrade` first.
124
124
 
125
125
  ## Archive or Remove a Plan
126
126
 
@@ -144,13 +144,13 @@ The removal review shows the replacement plan and any changes to its limits, bui
144
144
 
145
145
  ## Complete Pending Updates
146
146
 
147
- After applying a change, the CLI continues account updates until complete. If an update fails or stops making progress, the configuration remains saved, the result reports pending work, and the command exits with a nonzero status. Inspect the catalog, then continue:
147
+ After applying a change, the CLI updates accounts and publishes AI logging defaults. If an update fails or stops making progress, your configuration stays saved and the command reports pending work with a nonzero exit status. Inspect the plans, then continue:
148
148
 
149
149
  ```sh
150
150
  void platform config plans show
151
151
  void platform config plans sync --yes
152
152
  ```
153
153
 
154
- `sync` continues the saved policy's account updates until completion. Finish pending updates before editing the catalog again. If a request loses its connection, inspect the catalog and [operator events](/guide/platform/administration/operations) before retrying it.
154
+ `sync` resumes the saved updates. Finish pending work before editing plans again. If a request loses its connection, inspect the plans and [operator events](/guide/platform/administration/operations) before retrying it.
155
155
 
156
156
  All commands accept `--connection <registered-id-or-url>` and `--json`. Scripted changes require `--yes`; use `--plan` for a read-only preview.
@@ -24,7 +24,13 @@ void platform project show <project-id>
24
24
 
25
25
  Project details include resources, domains, and recent builds and deployments. The [command reference](../../../reference/cli/platform.md#operator-commands) also covers suspending and restoring users, deleting projects, and removing accounts.
26
26
 
27
- In the admin dashboard, open a project to view its team. Search for a platform user and choose a role to add them immediately; an email address is not required. You can also change or remove existing members. Pending invitations created through other project workflows remain visible until accepted or revoked. If email is unavailable for a pending invitation, share its ID so the user can accept it with `void project team accept <invitation-id>`. The owner cannot be removed from the team; transfer ownership first. Removing a collaborator or admin, changing one to reader, or suspending or deleting their account [replaces the project's platform credentials](../../project-collaboration.md#change-or-remove-access), the same as the CLI.
27
+ ### Project Teams
28
+
29
+ In the admin dashboard, open a project to view its team. Search for a platform user and choose a role to add them immediately; an email address is not required. You can also change or remove existing members. To remove the owner, transfer ownership first.
30
+
31
+ Pending invitations remain visible until accepted or revoked. If an invitation cannot be sent by email, share its ID so the user can accept it with `void project team accept <invitation-id>`.
32
+
33
+ Removing a collaborator or admin, changing one to reader, or suspending or deleting their account [replaces the project's platform credentials](../../project-collaboration.md#change-or-remove-access), the same as the CLI.
28
34
 
29
35
  ### AI Logging
30
36
 
@@ -36,9 +42,9 @@ void platform project ai-logging <project-id> metadata
36
42
 
37
43
  Only platform administrators can change this setting. It covers the project's AI requests through the platform, including calls with the app's own provider key and calls from `void dev`.
38
44
 
39
- Use `inherit` for the gateway's own setting, `off` to store no log entry, or `full` to include bodies. A project's own setting wins over its plan's [AI Gateway logging default](./plans.md#ai-gateway-logging); `inherit` removes the project's own setting.
45
+ Use `off` to store no log entry or `full` to include prompts and responses. Use `inherit` to follow the owner's [plan default](./plans.md#ai-gateway-logging), then the gateway's own setting. A project setting overrides its plan default.
40
46
 
41
- The command prints when new requests are expected to follow the change, normally within 2 minutes. Check it with `void platform project show <project-id>`, which reports a line such as `AI Gateway logging: metadata (from plan "pro") — applied`. The project page in the admin dashboard shows the same line. See [AI Gateway logging](../../../reference/cli/platform-users.md#ai-gateway-logging) for each state, what the setting covers, and billing and Logpush details.
47
+ The command reports when new requests are expected to follow the change, normally within 2 minutes after publishing. Check progress on the project's dashboard page or with `void platform project show <project-id>`. See the [command reference](../../../reference/cli/platform-users.md#ai-gateway-logging) for logging scope, status messages, and recovery steps.
42
48
 
43
49
  ### Transferring Project Ownership
44
50
 
@@ -51,7 +57,11 @@ void platform project owner <project-id> <new-owner-user-id> --yes
51
57
 
52
58
  The preview shows both owners, their plans and suspension state, blockers, and the changes to routing and usage counters. Wait for active rollbacks and builds to finish. For an ordinary active deployment, wait or use `void platform deployment cancel <id>`; rollback deployments cannot be canceled. A managed Sandbox controller also blocks transfer until its cleanup completes, even if no Sandbox container is running; the preview identifies the deployment that owns it.
53
59
 
54
- After the transfer, the former owner becomes a project administrator. Existing project-scoped CI deploy credentials are revoked; create replacements as the new owner. The new owner's plan and limits apply immediately. Its AI Gateway logging default applies to new AI requests, normally within 2 minutes, unless the project has its own setting. Usage before the transfer remains charged to the former owner; later usage is charged to the new owner. If an apply reports partial convergence, inspect the project and operator event log before repeating it.
60
+ After the transfer, the former owner becomes a project administrator. Existing project-scoped CI deploy credentials are revoked; create replacements as the new owner. The new owner's plan and limits apply immediately. Its AI logging default normally applies within 2 minutes, unless the project has its own setting.
61
+
62
+ Earlier usage stays with the former owner; later usage counts toward the new owner's limits. If the command reports an incomplete transfer, inspect the project and operator event log before retrying it.
63
+
64
+ ## Account Limits and Administrator Access
55
65
 
56
66
  By default, new users on a self-hosted installation start with the `custom` profile, which
57
67
  does not cap application requests, AI usage, deployment frequency, or retained
@@ -17,8 +17,9 @@ Inject the following values from protected CI secrets. Do not commit them in a w
17
17
  | `VOID_PLATFORM_RUNTIME_CLOUDFLARE_API_TOKEN` | Runtime API token |
18
18
  | `VOID_PLATFORM_DATABASE_URL` | Dedicated PostgreSQL URL |
19
19
  | `VOID_PLATFORM_HYPERDRIVE_ID` | Existing externally managed Hyperdrive ID, when applicable |
20
- | `VOID_PLATFORM_HYPERDRIVE_ORIGIN_HOST` | Origin host of that Hyperdrive; set with its ID and user |
21
- | `VOID_PLATFORM_HYPERDRIVE_ORIGIN_USER` | Runtime database user of that Hyperdrive; set with its ID and host |
20
+ | `VOID_PLATFORM_HYPERDRIVE_ORIGIN_HOST` | Hyperdrive origin hostname, for a public database origin |
21
+ | `VOID_PLATFORM_HYPERDRIVE_ORIGIN_USER` | Hyperdrive runtime database user |
22
+ | `VOID_PLATFORM_HYPERDRIVE_ORIGIN_SERVICE_ID` | Workers VPC service ID, for a private database origin |
22
23
  | `VOID_PLATFORM_R2_ACCESS_KEY_ID` | R2 Access Key ID |
23
24
  | `VOID_PLATFORM_R2_SECRET_ACCESS_KEY` | R2 Secret Access Key |
24
25
  | `VOID_PLATFORM_JWT_SECRET` | Original JWT signing secret |
@@ -28,6 +29,8 @@ Inject the following values from protected CI secrets. Do not commit them in a w
28
29
  | `VOID_EMAIL_SENDER_DOMAIN` | Optional shared mail domain; requires `VOID_EMAIL_SHARED_ZONE_ID` |
29
30
  | `VOID_EMAIL_SHARED_ZONE_ID` | Cloudflare zone ID for that mail domain; requires `VOID_EMAIL_SENDER_DOMAIN` |
30
31
 
32
+ For an existing Hyperdrive, set its ID and runtime user, plus either the origin host or the Workers VPC service ID. Do not set both host and service ID. Supply a database owner connection separately in `VOID_PLATFORM_DATABASE_URL` so Void can apply migrations.
33
+
31
34
  For the default GitHub-only login, also set `VOID_PLATFORM_GITHUB_CLIENT_ID`,
32
35
  `VOID_PLATFORM_GITHUB_CLIENT_SECRET`, and `VOID_PLATFORM_ADMIN_GITHUB_LOGIN`.
33
36
  For Google, OIDC, or Access login, pass `--auth-config <path>` using the
@@ -114,7 +114,7 @@ void platform upgrade [id]
114
114
 
115
115
  An upgrade validates the runtime, applies supported pending migrations, deploys the Workers, and checks their health. Existing Worker secrets are preserved.
116
116
 
117
- Install, upgrade, and repair also publish the saved [AI Gateway logging](/reference/cli/platform-users#ai-gateway-logging) settings (**Publishing AI logging settings**). For about 2 minutes afterward, `void platform project show` reports projects with a setting other than `inherit` as `pending`, as well as projects it switched back to `inherit`.
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
119
  Before starting, Void checks access to the installation's Cloudflare account, Workers, and existing R2 buckets. If credentials are rejected, set `CLOUDFLARE_API_TOKEN` to a management token scoped to that account and retry. This overrides the installation's saved management token.
120
120
 
@@ -146,7 +146,10 @@ Keep the earlier runtime files if you need rollback. If the installed version is
146
146
 
147
147
  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.
148
148
 
149
- After a rollback to 1.8.0, plan [AI Gateway logging](/guide/platform/administration/plans#ai-gateway-logging) defaults are not applied: projects that follow a plan default use the gateway's own setting, which logs prompts and responses on a new installation. Project settings still apply. Plan defaults stay saved, and the next upgrade publishes them again. A rollback to a release before 1.8.0 applies no AI logging settings.
149
+ Rolling back can restore prompt and response logging:
150
+
151
+ - **1.8.0** applies project AI logging settings but ignores [plan defaults](/guide/platform/administration/plans#ai-gateway-logging). Projects without an override use the gateway's setting, which enables logging on a new installation. Plan defaults stay saved and are published again on upgrade.
152
+ - **Before 1.8.0**, no project or plan AI logging settings apply.
150
153
 
151
154
  Let running rotations finish before you roll back. If an older proxy runs next to a newer API, prerendering and remote D1, KV, and R2 fail until both run the same release. After a rollback to the release just before credential rotation, projects deployed since the upgrade lose prerendering and remote D1, KV, and R2 until they are deployed again or you upgrade again. A rotated project deployed during any rollback stays broken after you upgrade again, and 0.26.0 and earlier also drop rotations that have not finished. After upgrading again from any rollback, run the same `rotate-proxy-tokens` commands.
152
155
 
@@ -170,7 +170,7 @@ Save the printed URL in your password manager and paste it into Void's `PostgreS
170
170
  The installer can create Hyperdrive for you or use one you manage separately. For an existing configuration:
171
171
 
172
172
  1. Point it at the dedicated platform database using a runtime user, and disable SQL result caching.
173
- 2. Select it in the installer and review the database, host, port, and runtime user.
173
+ 2. Select it in the installer and review the database and runtime user. Check the origin's host and port, or its Workers VPC service ID for a private database.
174
174
  3. Supply a database owner connection at the PostgreSQL URL prompt so Void can apply migrations.
175
175
 
176
176
  To create one first, choose **Set up a separately managed Hyperdrive** and follow the printed instructions or [Cloudflare’s setup guide](https://developers.cloudflare.com/hyperdrive/get-started/). Rerun the installer once it is ready. Void leaves its configuration under your control. For unattended setup, use the Hyperdrive variables in [Install from CI](/guide/platform/installation/ci).
@@ -114,6 +114,18 @@ With minimal runtime logs:
114
114
 
115
115
  The setting covers the whole platform. To change it later, see [Change runtime logs](/guide/platform/installation/maintenance#runtime-logs).
116
116
 
117
+ ## Choose a default storage location
118
+
119
+ Set a preferred location for new project R2 buckets:
120
+
121
+ ```sh
122
+ void platform install --storage-location apac
123
+ ```
124
+
125
+ 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
+
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.
128
+
117
129
  ## Finish login configuration
118
130
 
119
131
  For Google, create an OAuth client and register the printed callback URL. You
@@ -27,7 +27,7 @@ interface Message {
27
27
  export default defineQueue<Message>(async (batch, env) => {
28
28
  for (const msg of batch.messages) {
29
29
  console.log(`Send to ${msg.body.to}: ${msg.body.subject}`);
30
- msg.ack(); // Acknowledge successful processing
30
+ msg.ack();
31
31
  }
32
32
  });
33
33
  ```
@@ -45,8 +45,6 @@ import { queues } from 'void/queues';
45
45
 
46
46
  export const POST = defineHandler(async (c) => {
47
47
  const order = await c.req.json();
48
- // Fully typed: body must match the
49
- // Message interface from queues/emails.ts
50
48
  await queues.emails.send({
51
49
  to: order.email,
52
50
  subject: 'Order confirmed',
@@ -64,9 +62,9 @@ export default defineQueue<Message>(async (batch, env) => {
64
62
  for (const msg of batch.messages) {
65
63
  try {
66
64
  await processMessage(msg.body);
67
- msg.ack(); // Remove from queue
65
+ msg.ack();
68
66
  } catch {
69
- msg.retry({ delaySeconds: 30 }); // Re-deliver after 30s
67
+ msg.retry({ delaySeconds: 30 });
70
68
  }
71
69
  }
72
70
  });
@@ -96,6 +94,7 @@ interface Message {
96
94
 
97
95
  export const maxBatchSize = 50;
98
96
  export const maxBatchTimeout = 10; // seconds
97
+ export const maxConcurrency = 2;
99
98
  export const maxRetries = 5;
100
99
  export const retryDelay = 30; // seconds
101
100
 
@@ -108,11 +107,16 @@ export default defineQueue<Message>(async (batch, env) => {
108
107
 
109
108
  - `maxBatchSize`: maximum number of messages per batch (default `10`)
110
109
  - `maxBatchTimeout`: maximum seconds to wait before delivering an incomplete batch (default `5`)
110
+ - `maxConcurrency`: maximum number of batches processed concurrently, from `1` to `250` (default: Cloudflare automatic scaling)
111
111
  - `maxRetries`: maximum number of retries before delivery is exhausted (default `3`)
112
112
  - `retryDelay`: seconds to wait between retries (default `0`)
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/).
117
+
118
+ Void-managed deployments require platform version 1.10.0 or later.
119
+
116
120
  Void-managed queues do not configure a dead-letter queue. Cloudflare permanently
117
121
  deletes messages that exhaust their retries without one; see
118
122
  [Cloudflare's dead-letter queue guide](https://developers.cloudflare.com/queues/configuration/dead-letter-queues/).
@@ -12,21 +12,17 @@ Store files in [Cloudflare R2](https://developers.cloudflare.com/r2/) with `stor
12
12
  ```ts
13
13
  import { storage } from 'void/storage';
14
14
 
15
- // Upload
16
15
  await storage.put('uploads/photo.jpg', file, {
17
16
  httpMetadata: { contentType: 'image/jpeg' },
18
17
  });
19
18
 
20
- // Download
21
19
  const object = await storage.get('uploads/photo.jpg');
22
20
  if (object) {
23
21
  const data = await object.arrayBuffer();
24
22
  }
25
23
 
26
- // Delete
27
24
  await storage.delete('uploads/photo.jpg');
28
25
 
29
- // List
30
26
  const listed = await storage.list({ prefix: 'uploads/' });
31
27
  for (const obj of listed.objects) {
32
28
  console.log(obj.key, obj.size);
@@ -102,8 +102,6 @@ export default function UsersPage(props: Props) {
102
102
 
103
103
  :::
104
104
 
105
- No manual interface is needed. Props stay in sync with whatever the loader returns.
106
-
107
105
  ## Action → useForm
108
106
 
109
107
  When a page action uses `withValidator()`, the body schema flows through to `useForm`. That gives you typed `data`, typed `errors` keys, and URL autocomplete:
@@ -130,7 +128,6 @@ form.errors.foo; // ✗ TypeScript error
130
128
  ```ts
131
129
  const updateForm = useForm('/users/[id]?update', { name: '' }, { params: { id } });
132
130
  const deleteForm = useForm('/users/[id]?delete', { id: '' }, { params: { id } });
133
- // Each form's data and errors are typed from their respective validators
134
131
  ```
135
132
 
136
133
  The `action()` helper gets the same type checking. See [Actions & Forms](./pages-routing/actions-and-forms) for the full API.
@@ -340,7 +337,9 @@ import { routeUrl } from 'void/routes';
340
337
 
341
338
  Links also accept same-page queries and hashes (`?page=2`, `#comments`), and `http://`, `https://`, `mailto:`, and `tel:` URLs. 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`.
342
339
 
343
- String checks use TypeScript patterns, which don't validate individual dynamic segments. For example, `/users/[id]` also accepts `/users/` and `/users/42/edit`. A root dynamic page can accept `//example.com`. Prefer `routeUrl()` to encode parameters, and validate untrusted URLs at runtime.
340
+ 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
+
342
+ String checks use TypeScript patterns, which don't validate individual dynamic segments. For example, `/users/[id]` also accepts `/users/` and `/users/42/edit`. Prefer `routeUrl()` to encode parameters, and validate untrusted URLs at runtime.
344
343
 
345
344
  The [SSE](./sse.md#client) and [live stream](./live.md#subscribe-from-the-browser) clients accept route URLs and external `http://` or `https://` URLs. Same-page links, `mailto:`, `tel:`, and `ws://` aren't stream destinations.
346
345
 
@@ -439,15 +438,22 @@ The dev server keeps route types up to date. After changing `routing.typedRoutes
439
438
 
440
439
  ## Serialization
441
440
 
442
- The client types reflect JSON serialization through `Serialize<T>`:
441
+ The [typed fetch client](./typed-fetch.md) infers types after JSON conversion. A `Date` on the server becomes a string in the client, including inside an array or tuple.
442
+
443
+ | Source type or value | Client type or behavior |
444
+ | --------------------------------------------------- | ------------------------------------------------------------------------ |
445
+ | `string`, `number`, `boolean`, `null` | unchanged |
446
+ | `Date` | `string` |
447
+ | Arrays and tuples | elements converted; tuple positions and `readonly` preserved in the type |
448
+ | `undefined`, functions, or symbols in an array | `null` |
449
+ | `undefined`, functions, or symbols as object values | property omitted |
450
+ | Symbol-keyed object properties | omitted |
451
+ | `Response` | excluded from the inferred JSON type; passed through at runtime |
452
+ | `bigint` | unsupported by JSON |
453
+
454
+ Object properties whose values may be omitted become optional in the client type. For example, a handler returning `{ label: string | undefined }` produces `{ label?: string }`.
443
455
 
444
- | Source type | Serialized type |
445
- | --------------------------------- | ------------------------------------------------------ |
446
- | `string`, `number`, `boolean` | unchanged |
447
- | `Date` | `string` |
448
- | `Response` | excluded (passed through at runtime) |
449
- | `bigint`, `Function`, `undefined` | excluded |
450
- | `Array<T>` / `{ key: T }` | recursively serialized (function-valued keys stripped) |
456
+ [Page loaders](./pages-routing/loaders.md#defining-a-loader) preserve richer values, including `Date`, `Map`, `Set`, and `bigint`. Return props directly from a loader to keep those types in your page component.
451
457
 
452
458
  ## Context Variables
453
459
 
@@ -91,6 +91,8 @@ export default defineRoom({
91
91
  - `ctx.connection.close(code?, reason?)`
92
92
  - `ctx.connection.setState(data)`
93
93
 
94
+ Add `actions` when other server code should reach the room. See [Server-side actions](#server-side-actions).
95
+
94
96
  ## `defineWebSocket()`
95
97
 
96
98
  Use `defineWebSocket()` when each connection is handled independently instead of as a shared room.
@@ -156,7 +158,76 @@ When Void auth is enabled, every WebSocket hook receives the current user as `ct
156
158
 
157
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.
158
160
 
159
- `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()`.
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.
162
+
163
+ ## Server-side actions
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.
166
+
167
+ ```ts
168
+ // routes/relay/[accountId].ws.ts
169
+ import * as v from 'valibot';
170
+ import { getSession } from 'void/auth';
171
+ import { defineRoom } from 'void/ws';
172
+
173
+ const ClientMessage = v.object({ type: v.literal('relay.ping') });
174
+ const ServerMessage = v.object({ type: v.literal('relay.message'), text: v.string() });
175
+
176
+ export default defineRoom({
177
+ messages: { client: ClientMessage, server: ServerMessage },
178
+ onConnect(ctx) {
179
+ // The id comes from the authenticated session, never from client input.
180
+ const session = getSession()?.session;
181
+ if (session) {
182
+ ctx.connection.setState({ sessionId: session.id });
183
+ }
184
+ },
185
+ actions: {
186
+ async revokeSession(ctx, sessionId: string, code: number) {
187
+ let closed = 0;
188
+ for (const connection of ctx.room.getConnections()) {
189
+ const state = connection.state as { sessionId?: string } | undefined;
190
+ if (state?.sessionId !== sessionId) continue;
191
+ connection.close(code, 'session revoked');
192
+ closed += 1;
193
+ }
194
+ return { closed };
195
+ },
196
+ async announce(ctx, text: string) {
197
+ await ctx.room.broadcast({ type: 'relay.message', text });
198
+ },
199
+ },
200
+ });
201
+ ```
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`:
204
+
205
+ ```ts
206
+ import { getRoom } from 'void/ws/server';
207
+
208
+ // Better Auth's databaseHooks.session.delete.after, or any other server code
209
+ const room = getRoom('/relay/[accountId]', { params: { accountId } });
210
+ const { closed } = await room.actions.revokeSession(session.id, 4001);
211
+ ```
212
+
213
+ `getRoom()` addresses the same instance `connect()` reaches. Pass the route pattern and the same params, and a custom `key` is applied too.
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.
216
+
217
+ - Annotate each action parameter. Arguments and results are typed from the definition, and an unannotated parameter is `never`.
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.
219
+ - `ctx.room.broadcast()` and connection `send()` accept any event inside an action. The server message schema still validates it at runtime.
220
+ - Arguments cross a Durable Object boundary, so pass structured-clone data, not callbacks or class instances.
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
+ - 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
+
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
+ `getRoom()` reads the current runtime env, so it works in any handler Void runs. Outside one, pass the bindings object you already hold:
227
+
228
+ ```ts
229
+ getRoom('/relay/[accountId]', { params: { accountId }, env: bindings });
230
+ ```
160
231
 
161
232
  ## Hooks
162
233
 
@@ -36,6 +36,7 @@ With `voidPlugin()` added to the framework's Vite config, frameworks get most of
36
36
  - **Typed database:** query types come from your Drizzle schema.
37
37
  - **Migrations:** local D1 is updated on dev startup, and migrations are validated and deployed with `void deploy`.
38
38
  - **Runtime helpers:** `void/db`, `void/kv`, `void/storage`, and `void/ai` give you typed access to Cloudflare bindings in dev and production.
39
+ - **Environment variables:** TanStack Start, React Router, and vinext support validated values from [`void/env`](#environment-variables).
39
40
  - **Auth:** Void-managed auth is not supported in framework mode yet. For now, use Better Auth's official integration for your framework.
40
41
  - **Cron jobs:** scheduled handlers via the `crons/` directory.
41
42
  - **Queue consumers:** typed producers and consumers via the `queues/` directory.
@@ -47,6 +48,12 @@ Frameworks can also access bindings directly via the framework's own mechanisms
47
48
 
48
49
  ## Configuration
49
50
 
51
+ ### Environment variables
52
+
53
+ In TanStack Start, React Router, and vinext, import `env` from `void/env` to read values validated by your [`env.ts`](../../guide/env-vars.md) schema. Defaults, type conversions, and async validators work in both development and production.
54
+
55
+ Reading a missing or invalid value throws an error. Requests that do not read that value can still run. For other frameworks, use the framework's environment API.
56
+
50
57
  ### `void.config.ts`
51
58
 
52
59
  Most configuration is inferred automatically. Use `void.config.ts` to override defaults or fine-tune behavior:
@@ -99,7 +99,6 @@ Hono's standalone helpers work anywhere:
99
99
  ```ts
100
100
  import { HTTPException } from 'hono/http-exception';
101
101
 
102
- // Throw typed HTTP errors
103
102
  throw new HTTPException(404, { message: 'User not found' });
104
103
  ```
105
104
 
@@ -107,7 +106,7 @@ For the full list of built-in middleware, see the [Hono documentation](https://h
107
106
 
108
107
  ### Redirects
109
108
 
110
- Return `c.redirect()` from a handler to redirect. From a shared helper, throw an `HTTPException` with the redirect response in `res`. This works in loaders, actions, and middleware, including client-side page visits:
109
+ Return `c.redirect()` from a handler to send the visitor to another URL. If a helper needs to stop the handler, throw an `HTTPException` with the redirect response in `res`:
111
110
 
112
111
  ```ts
113
112
  // lib/require-page-user.ts
@@ -124,4 +123,6 @@ export function requirePageUser(c: CloudContext) {
124
123
  }
125
124
  ```
126
125
 
127
- After a mutation, use `303` for both the exception and `c.redirect('/login', 303)` so the browser follows with a GET.
126
+ This works in loaders, actions, and middleware, including client-side page navigation. For a redirect after a mutation, use `new HTTPException(303, { res: c.redirect('/login', 303) })` so the next request is a GET.
127
+
128
+ For a sign-in check like this one, [`requireAuth(c, { throwRedirect: '/login' })`](../reference/api/auth.md#requireauth-c) provides the same guard and selects the redirect status for you.