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
@@ -109,7 +109,7 @@ function emitResult(result) {
109
109
  writeSync(RESULT_FD, JSON.stringify(result));
110
110
  }
111
111
  async function runFactsChild(root) {
112
- const { deriveSelfHostSchemaFacts, SelfHostSchemaError } = await import("../env-validation-DKDcpxbt.mjs");
112
+ const { deriveSelfHostSchemaFacts, SelfHostSchemaError } = await import("../env-validation-ly_Q9Kgd.mjs");
113
113
  try {
114
114
  emitResult({
115
115
  kind: "ok",
@@ -128,7 +128,7 @@ async function runFactsChild(root) {
128
128
  }
129
129
  /** The parent already found the emitted config, so a read failure here fails closed. */
130
130
  async function runValidateEmittedChild(root) {
131
- const { computeInvalidEmittedKeys, readEmittedWorkerVars, SelfHostSchemaError } = await import("../env-validation-DKDcpxbt.mjs");
131
+ const { computeInvalidEmittedKeys, readEmittedWorkerVars, SelfHostSchemaError } = await import("../env-validation-ly_Q9Kgd.mjs");
132
132
  const emitted = readEmittedWorkerVars(root);
133
133
  if (!emitted.ok) {
134
134
  emitResult({
@@ -2,11 +2,11 @@ import { L as log } from "./dist-STQXl8ck.mjs";
2
2
  import { n as getOwnVersion } from "./agents-DRo8gzni.mjs";
3
3
  import { t as formatCloudflareUserMessage } from "./cloudflare-user-output-zEwuGrEJ.mjs";
4
4
  import { n as isD1Bookmark } from "./cf-command-values-Ccl-zRhl.mjs";
5
- import { i as printVoidHeader, n as printGlobalHelp, r as printHelpPage, t as getHelpPath } from "./help-Cgdcd-SG.mjs";
5
+ import { i as printVoidHeader, n as printGlobalHelp, r as printHelpPage, t as getHelpPath } from "./help-B1cH8518.mjs";
6
6
  import { n as operatorGroups } from "./operator-args-BCCohcz3.mjs";
7
7
  import { r as OperatorClientError } from "./operator-client-XvXTkea6.mjs";
8
8
  import { f as import_picocolors, l as formatUrl } from "./output-DNVILSz2.mjs";
9
- import { n as platformSubcommands, t as parsePlatformArgs } from "./platform-args-DtpHS_75.mjs";
9
+ import { n as platformSubcommands, t as parsePlatformArgs } from "./platform-args-DQSMW4EP.mjs";
10
10
  import { parseArgs } from "node:util";
11
11
  // src/cli/account-args.ts
12
12
  const accountSubcommands = [
@@ -1633,19 +1633,19 @@ const args = process.argv.slice(2);
1633
1633
  const command = args[0];
1634
1634
  const helpPath = getHelpPath(args);
1635
1635
  const subcommandGroups = {
1636
- auth: () => runSubcommandGroup("auth", authSubcommands, parseAuthArgs, (root, parsed) => import("./auth-router-DVaWJdRB.mjs").then(({ runAuthRouter }) => runAuthRouter(root, parsed))),
1637
- account: () => runSubcommandGroup("account", accountSubcommands, parseAccountArgs, (root, parsed) => import("./account-cmd-BEMOdwtl.mjs").then(({ runAccountCommand }) => runAccountCommand(root, parsed))),
1638
- platform: () => runSubcommandGroup("platform", platformSubcommands, parsePlatformArgs, (root, parsed) => import("./platform-cmd-BLy5uCa-.mjs").then(({ runPlatformCommand }) => runPlatformCommand(root, parsed))),
1639
- cloudflare: () => runSubcommandGroup("cloudflare", cloudflareSubcommands, parseCloudflareArgs, (root, parsed) => import("./cloudflare-cmd-BuuHUM4z.mjs").then(({ runCloudflareCommand }) => runCloudflareCommand(root, parsed))),
1640
- project: () => runSubcommandGroup("project", projectSubcommands, parseProjectArgs, (root, parsed) => import("./project-cmd-TQKAOTMV.mjs").then(({ runProjectCommand }) => runProjectCommand(root, parsed))),
1641
- secret: () => runSubcommandGroup("secret", secretSubcommands, parseSecretArgs, (root, parsed) => import("./secret-BSf7dgg_.mjs").then(({ runSecretCommand }) => runSecretCommand(root, parsed))),
1642
- domain: () => runSubcommandGroup("domain", domainSubcommands, parseDomainArgs, (root, parsed) => import("./domain-BTIdyUVk.mjs").then(({ runDomainCommand }) => runDomainCommand(root, parsed))),
1643
- email: () => runSubcommandGroup("email", emailSubcommands, parseEmailArgs, (root, parsed) => import("./email-DvrS-I0U.mjs").then(({ runEmailCommand }) => runEmailCommand(root, parsed))),
1644
- db: () => runSubcommandGroup("db", dbSubcommands, parseDbArgs, (root, parsed) => import("./db-DEpDeDsi.mjs").then(({ runDbCommand }) => runDbCommand(root, parsed))),
1645
- env: () => runSubcommandGroup("env", envSubcommands, parseEnvArgs, (root, parsed) => import("./env-D7vORwpn.mjs").then(({ runEnvCommand }) => runEnvCommand(root, parsed))),
1646
- gen: () => runSubcommandGroup("gen", genSubcommands, parseGenArgs, (root, parsed) => import("./gen-DmEeVEs4.mjs").then(({ runGenCommand }) => runGenCommand(root, parsed))),
1647
- github: () => runSubcommandGroup("github", githubSubcommands, parseGithubArgs, (root, parsed) => import("./github-cmd-D-zs6VQr.mjs").then(({ runGithubCommand }) => runGithubCommand(root, parsed))),
1648
- build: () => runSubcommandGroup("build", buildSubcommands, parseBuildArgs, (root, parsed) => import("./build-cmd-Dq8tdqQG.mjs").then(({ runBuildCommand }) => runBuildCommand(root, parsed)))
1636
+ auth: () => runSubcommandGroup("auth", authSubcommands, parseAuthArgs, (root, parsed) => import("./auth-router-BOiaDmcQ.mjs").then(({ runAuthRouter }) => runAuthRouter(root, parsed))),
1637
+ account: () => runSubcommandGroup("account", accountSubcommands, parseAccountArgs, (root, parsed) => import("./account-cmd-CZhbDfp4.mjs").then(({ runAccountCommand }) => runAccountCommand(root, parsed))),
1638
+ platform: () => runSubcommandGroup("platform", platformSubcommands, parsePlatformArgs, (root, parsed) => import("./platform-cmd-B1jtqXnu.mjs").then(({ runPlatformCommand }) => runPlatformCommand(root, parsed))),
1639
+ cloudflare: () => runSubcommandGroup("cloudflare", cloudflareSubcommands, parseCloudflareArgs, (root, parsed) => import("./cloudflare-cmd-DLcgInCa.mjs").then(({ runCloudflareCommand }) => runCloudflareCommand(root, parsed))),
1640
+ project: () => runSubcommandGroup("project", projectSubcommands, parseProjectArgs, (root, parsed) => import("./project-cmd-wtCuc8Ln.mjs").then(({ runProjectCommand }) => runProjectCommand(root, parsed))),
1641
+ secret: () => runSubcommandGroup("secret", secretSubcommands, parseSecretArgs, (root, parsed) => import("./secret-DDNLIQOT.mjs").then(({ runSecretCommand }) => runSecretCommand(root, parsed))),
1642
+ domain: () => runSubcommandGroup("domain", domainSubcommands, parseDomainArgs, (root, parsed) => import("./domain-cOhYYiHU.mjs").then(({ runDomainCommand }) => runDomainCommand(root, parsed))),
1643
+ email: () => runSubcommandGroup("email", emailSubcommands, parseEmailArgs, (root, parsed) => import("./email-CnnDqvXV.mjs").then(({ runEmailCommand }) => runEmailCommand(root, parsed))),
1644
+ db: () => runSubcommandGroup("db", dbSubcommands, parseDbArgs, (root, parsed) => import("./db-DQAi7Ckr.mjs").then(({ runDbCommand }) => runDbCommand(root, parsed))),
1645
+ env: () => runSubcommandGroup("env", envSubcommands, parseEnvArgs, (root, parsed) => import("./env-5bphL5mV.mjs").then(({ runEnvCommand }) => runEnvCommand(root, parsed))),
1646
+ gen: () => runSubcommandGroup("gen", genSubcommands, parseGenArgs, (root, parsed) => import("./gen-BQ7itmK7.mjs").then(({ runGenCommand }) => runGenCommand(root, parsed))),
1647
+ github: () => runSubcommandGroup("github", githubSubcommands, parseGithubArgs, (root, parsed) => import("./github-cmd-CVDLb51-.mjs").then(({ runGithubCommand }) => runGithubCommand(root, parsed))),
1648
+ build: () => runSubcommandGroup("build", buildSubcommands, parseBuildArgs, (root, parsed) => import("./build-cmd-BCiXgjn9.mjs").then(({ runBuildCommand }) => runBuildCommand(root, parsed)))
1649
1649
  };
1650
1650
  if (helpPath) {
1651
1651
  if (helpPath.length === 0) printGlobalHelp();
@@ -1664,7 +1664,7 @@ if (helpPath) {
1664
1664
  log.error(formatCloudflareUserMessage(err instanceof Error ? err.message : String(err)));
1665
1665
  process.exit(1);
1666
1666
  }
1667
- import("./deploy-Dr_Qamzw.mjs").then(({ runDeploy }) => {
1667
+ import("./deploy-rUunHBNJ.mjs").then(({ runDeploy }) => {
1668
1668
  runDeploy(root, deployArgs).catch((err) => {
1669
1669
  log.error(formatCloudflareUserMessage(err.message ?? String(err)));
1670
1670
  process.exit(1);
@@ -1672,14 +1672,14 @@ if (helpPath) {
1672
1672
  });
1673
1673
  } else if (command === "connect") (async () => {
1674
1674
  const parsed = parseConnectArgs(args.slice(1));
1675
- const { runConnectCommand } = await import("./connect-4uImOwut.mjs");
1675
+ const { runConnectCommand } = await import("./connect-DM3yCNPG.mjs");
1676
1676
  await runConnectCommand(process.cwd(), parsed);
1677
1677
  })().catch((err) => {
1678
1678
  log.error(formatCloudflareUserMessage(err instanceof Error ? err.message : String(err)));
1679
1679
  process.exit(1);
1680
1680
  });
1681
1681
  else if (command && Object.hasOwn(subcommandGroups, command)) subcommandGroups[command]();
1682
- else if (command === "info") import("./info-BbxQ34kk.mjs").then(async ({ runInfoCommand }) => {
1682
+ else if (command === "info") import("./info-BE3snw2_.mjs").then(async ({ runInfoCommand }) => {
1683
1683
  try {
1684
1684
  await runInfoCommand(process.cwd(), parseInfoArgs(args.slice(1)));
1685
1685
  } catch (err) {
@@ -1700,7 +1700,7 @@ else if (command === "prepare") {
1700
1700
  log.error(formatCloudflareUserMessage(err instanceof Error ? err.message : String(err)));
1701
1701
  process.exit(1);
1702
1702
  }
1703
- import("./prepare-DMk8NAO-.mjs").then(({ runPrepareCommand }) => {
1703
+ import("./prepare-Cjt6EM0d.mjs").then(({ runPrepareCommand }) => {
1704
1704
  runPrepareCommand(root).catch((err) => {
1705
1705
  log.error(formatCloudflareUserMessage(err.message ?? String(err)));
1706
1706
  process.exit(1);
@@ -1708,7 +1708,7 @@ else if (command === "prepare") {
1708
1708
  });
1709
1709
  } else if (command === "init") {
1710
1710
  const root = process.cwd();
1711
- import("./init-zyRj3QRw.mjs").then(({ runInitCommand, parseInitArgs }) => {
1711
+ import("./init-BrS5MAiJ.mjs").then(({ runInitCommand, parseInitArgs }) => {
1712
1712
  let initArgs;
1713
1713
  try {
1714
1714
  initArgs = parseInitArgs(args.slice(1));
@@ -1726,7 +1726,7 @@ else if (command === "prepare") {
1726
1726
  log.error("migrate: This command takes no arguments.");
1727
1727
  process.exit(1);
1728
1728
  }
1729
- import("./migrate-BYhoIK9R.mjs").then(({ runMigrateCommand }) => {
1729
+ import("./migrate-CKn30rmw.mjs").then(({ runMigrateCommand }) => {
1730
1730
  runMigrateCommand(process.cwd()).catch((err) => {
1731
1731
  log.error(formatCloudflareUserMessage(err instanceof Error ? err.message : String(err)));
1732
1732
  process.exit(1);
@@ -1848,32 +1848,32 @@ else if (command) {
1848
1848
  if (Object.hasOwn(subcommandGroups, cmd)) return subcommandGroups[cmd]();
1849
1849
  switch (cmd) {
1850
1850
  case "connect": {
1851
- const { runConnectCommand } = await import("./connect-4uImOwut.mjs");
1851
+ const { runConnectCommand } = await import("./connect-DM3yCNPG.mjs");
1852
1852
  await runConnectCommand(root, parseConnectArgs([]));
1853
1853
  return;
1854
1854
  }
1855
1855
  case "init": {
1856
- const { runInitCommand, parseInitArgs } = await import("./init-zyRj3QRw.mjs");
1856
+ const { runInitCommand, parseInitArgs } = await import("./init-BrS5MAiJ.mjs");
1857
1857
  await runInitCommand(root, parseInitArgs([]));
1858
1858
  return;
1859
1859
  }
1860
1860
  case "migrate": {
1861
- const { runMigrateCommand } = await import("./migrate-BYhoIK9R.mjs");
1861
+ const { runMigrateCommand } = await import("./migrate-CKn30rmw.mjs");
1862
1862
  await runMigrateCommand(root);
1863
1863
  return;
1864
1864
  }
1865
1865
  case "deploy": {
1866
- const { runDeploy } = await import("./deploy-Dr_Qamzw.mjs");
1866
+ const { runDeploy } = await import("./deploy-rUunHBNJ.mjs");
1867
1867
  await runDeploy(root);
1868
1868
  return;
1869
1869
  }
1870
1870
  case "info": {
1871
- const { runInfoCommand } = await import("./info-BbxQ34kk.mjs");
1871
+ const { runInfoCommand } = await import("./info-BE3snw2_.mjs");
1872
1872
  await runInfoCommand(root, parseInfoArgs([]));
1873
1873
  return;
1874
1874
  }
1875
1875
  case "prepare": {
1876
- const { runPrepareCommand } = await import("./prepare-DMk8NAO-.mjs");
1876
+ const { runPrepareCommand } = await import("./prepare-Cjt6EM0d.mjs");
1877
1877
  await runPrepareCommand(root);
1878
1878
  return;
1879
1879
  }
@@ -1 +1 @@
1
- export { r as PlatformClient, s as isOlderPlatformVersion } from "./client-D6w5x7hM.mjs";
1
+ export { r as PlatformClient, s as isOlderPlatformVersion } from "./client-aIv5UQf3.mjs";
@@ -1,5 +1,5 @@
1
1
  import { createAuthClient } from "better-auth/client";
2
- // src/runtime/auth-client.ts
2
+ // src/runtime/auth/client.ts
3
3
  const createAuthClient$1 = createAuthClient;
4
4
  const auth = createAuthClient({ basePath: "/api/auth" });
5
5
  export { createAuthClient$1 as n, auth as t };
@@ -93,8 +93,8 @@ function readCliVersion() {
93
93
  }
94
94
  }
95
95
  const VOID_CLI_VERSION = readCliVersion();
96
- /** The oldest Void platform release this CLI supports. */
97
- const MIN_PLATFORM_VERSION = "1.9.0";
96
+ /** The oldest Void platform release this CLI supports, including queue concurrency caps. */
97
+ const MIN_PLATFORM_VERSION = "1.10.0";
98
98
  const RELEASE_VERSION = /^(\d+)\.(\d+)\.(\d+)(-[0-9A-Za-z.-]+)?(\+[0-9A-Za-z.-]+)?$/;
99
99
  /**
100
100
  * Discovery probes keyed by platform base URL. Every outcome (pass,
@@ -125,7 +125,7 @@ function assertSupportedPlatform(apiUrl, probe) {
125
125
  if (probe.kind === "unknown") return;
126
126
  if (probe.kind === "missing") throw new Error(`The Void platform at ${apiUrl} does not report its version, but this CLI requires ${MIN_PLATFORM_VERSION} or later. ${UPGRADE_PLATFORM_ACTION}`);
127
127
  const { version } = probe;
128
- if (version === "hosted" || isOlderPlatformVersion(version, "1.9.0") !== true) return;
128
+ if (version === "hosted" || isOlderPlatformVersion(version, "1.10.0") !== true) return;
129
129
  throw new Error(`The Void platform at ${apiUrl} runs version ${version}, but this CLI requires ${MIN_PLATFORM_VERSION} or later. ${UPGRADE_PLATFORM_ACTION}`);
130
130
  }
131
131
  /**
@@ -1,5 +1,5 @@
1
1
  import { createAuthClient } from "better-auth/react";
2
- // src/runtime/auth-client-react.ts
2
+ // src/runtime/auth/client-react.ts
3
3
  const createAuthClient$1 = createAuthClient;
4
4
  const auth = createAuthClient({ basePath: "/api/auth" });
5
5
  export { createAuthClient$1 as n, auth as t };
@@ -1,5 +1,5 @@
1
1
  import { createAuthClient } from "better-auth/solid";
2
- // src/runtime/auth-client-solid.ts
2
+ // src/runtime/auth/client-solid.ts
3
3
  const createAuthClient$1 = createAuthClient;
4
4
  const auth = createAuthClient({ basePath: "/api/auth" });
5
5
  export { createAuthClient$1 as n, auth as t };
@@ -1,5 +1,5 @@
1
1
  import { createAuthClient } from "better-auth/svelte";
2
- // src/runtime/auth-client-svelte.ts
2
+ // src/runtime/auth/client-svelte.ts
3
3
  const createAuthClient$1 = createAuthClient;
4
4
  const auth = createAuthClient({ basePath: "/api/auth" });
5
5
  export { createAuthClient$1 as n, auth as t };
@@ -1,5 +1,5 @@
1
1
  import { createAuthClient } from "better-auth/vue";
2
- // src/runtime/auth-client-vue.ts
2
+ // src/runtime/auth/client-vue.ts
3
3
  const createAuthClient$1 = createAuthClient;
4
4
  const auth = createAuthClient({ basePath: "/api/auth" });
5
5
  export { createAuthClient$1 as n, auth as t };
@@ -3,7 +3,7 @@ import { t as basename } from "./dist-DMYe8CZJ.mjs";
3
3
  import { a as parseCloudflareAuthSession, i as ensureCloudflareAuthentication, n as cloudflareCredentialOverrides, r as createBundledCloudflareAuthRunner } from "./cloudflare-auth-pNvmT6kL.mjs";
4
4
  import { i as isCleanCloudflareExit } from "./cloudflare-process-wcnaQ5JG.mjs";
5
5
  import { m as printSuccess } from "./output-DNVILSz2.mjs";
6
- import { b as readRootWranglerConfig } from "./wrangler-B1gkT_wC.mjs";
6
+ import { b as readRootWranglerConfig } from "./wrangler-D1zq1rXr.mjs";
7
7
  // src/cli/cloudflare-cmd.ts
8
8
  async function runCloudflareCommand(root, args) {
9
9
  const runWrangler = createBundledCloudflareAuthRunner(root);
@@ -1,7 +1,7 @@
1
1
  import { a as join } from "./dist-DMYe8CZJ.mjs";
2
2
  import { t as parseJsoncObject } from "./generated-wrangler-config-CoDaaFsA.mjs";
3
3
  import "./project-paths-CUhCPMpK.mjs";
4
- import { p as readConfig } from "./config-CzFdJYNA.mjs";
4
+ import { p as readConfig } from "./config-qgt863GH.mjs";
5
5
  import { t as writeFileAtomic } from "./atomic-write-DA6eD1Kp.mjs";
6
6
  import { appendFileSync, existsSync, mkdirSync, readFileSync, rmSync } from "node:fs";
7
7
  import { isRecord } from "@void/deploy-core";
@@ -1,7 +1,7 @@
1
1
  import { K as select, L as log, tt as isCancel } from "./dist-STQXl8ck.mjs";
2
2
  import { a as join, t as basename } from "./dist-DMYe8CZJ.mjs";
3
3
  import { i as ensureCloudflareAuthentication, r as createBundledCloudflareAuthRunner } from "./cloudflare-auth-pNvmT6kL.mjs";
4
- import { M as writeProvisionedWranglerConfig, b as readRootWranglerConfig, i as LATEST_KNOWN_COMPAT_DATE } from "./wrangler-B1gkT_wC.mjs";
4
+ import { M as writeProvisionedWranglerConfig, b as readRootWranglerConfig, i as LATEST_KNOWN_COMPAT_DATE } from "./wrangler-D1zq1rXr.mjs";
5
5
  import { existsSync } from "node:fs";
6
6
  // src/cli/cloudflare-connect.ts
7
7
  async function connectCloudflare(root, interactive = Boolean(process.stdin.isTTY)) {
@@ -1 +1 @@
1
- export { t as activateCloudflareExistingVersion, n as applyCloudflareD1Migrations, r as changeCloudflareDomain, o as deleteCloudflareSecret, s as executeCloudflareD1Sql, c as listCloudflareDomains, l as listCloudflareSecrets, m as putCloudflareSecret, h as readCloudflareD1Migrations, g as readCloudflareWorkerStatus, _ as resolveCloudflareD1Context, v as resolveCloudflareOperationContext, y as restoreCloudflareD1Database, b as syncCloudflareSecrets, x as tailCloudflareWorker } from "./cloudflare-operations-G5AObYzF.mjs";
1
+ export { t as activateCloudflareExistingVersion, n as applyCloudflareD1Migrations, r as changeCloudflareDomain, o as deleteCloudflareSecret, s as executeCloudflareD1Sql, c as listCloudflareDomains, l as listCloudflareSecrets, m as putCloudflareSecret, h as readCloudflareD1Migrations, g as readCloudflareWorkerStatus, _ as resolveCloudflareD1Context, v as resolveCloudflareOperationContext, y as restoreCloudflareD1Database, b as syncCloudflareSecrets, x as tailCloudflareWorker } from "./cloudflare-operations-DLhn_Bom.mjs";
@@ -1,10 +1,10 @@
1
1
  import { a as join } from "./dist-DMYe8CZJ.mjs";
2
- import { a as persistCloudflareConfig, i as materializeCloudflareConfig } from "./cloudflare-config-PxbinLLE.mjs";
2
+ import { a as persistCloudflareConfig, i as materializeCloudflareConfig } from "./cloudflare-config-BfEfIEuY.mjs";
3
3
  import { t as createCloudflareProcessRunner } from "./cloudflare-process-wcnaQ5JG.mjs";
4
- import { a as findWranglerCiOverrideDotenvFile, i as findAmbientConfigOverride } from "./deploy-transport-BpKBs_KR.mjs";
4
+ import { a as findWranglerCiOverrideDotenvFile, i as findAmbientConfigOverride } from "./deploy-transport-DT-ALuDj.mjs";
5
5
  import { u as getErrorMessage } from "./output-DNVILSz2.mjs";
6
- import { _ as provisionEnv, r as assertNoTransportRedirectInProjectDotenv, s as deleteEnvVarCaseAware, v as resolvePinnedApiBaseUrl } from "./provision-bgQTi5QZ.mjs";
7
- import { N as writeWranglerPublishedTrafficSnapshot, S as readWranglerCustomDomains, j as updateWranglerCustomDomain, w as readWranglerPublishedTrafficSnapshot } from "./wrangler-B1gkT_wC.mjs";
6
+ import { _ as provisionEnv, r as assertNoTransportRedirectInProjectDotenv, s as deleteEnvVarCaseAware, v as resolvePinnedApiBaseUrl } from "./provision-CknEbPuw.mjs";
7
+ import { N as writeWranglerPublishedTrafficSnapshot, S as readWranglerCustomDomains, j as updateWranglerCustomDomain, w as readWranglerPublishedTrafficSnapshot } from "./wrangler-D1zq1rXr.mjs";
8
8
  import { existsSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from "node:fs";
9
9
  import { tmpdir } from "node:os";
10
10
  import { deployCloudflareVersionTraffic, encodeCloudflareVersionMessage, parseCloudflareVersionMessage, parseRootWranglerConfig, readBindingFieldPresence, readCloudflareTriggerConfig, readWranglerTopLevelString, resolveD1MigrateTarget, stabilizeCloudflareVersionTriggers } from "@void/deploy-cloudflare";
@@ -1,5 +1,5 @@
1
1
  import { a as join, s as relative } from "./dist-DMYe8CZJ.mjs";
2
- import { c as getDatabaseCasing, p as readConfig } from "./config-CzFdJYNA.mjs";
2
+ import { c as getDatabaseCasing, p as readConfig } from "./config-qgt863GH.mjs";
3
3
  import { i as resolveProjectPaths } from "./project-paths-CUhCPMpK.mjs";
4
4
  import { n as schemaSpecifier, t as discoverSchema } from "./discover-Vd18lHsj.mjs";
5
5
  import { mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from "node:fs";
@@ -1 +1 @@
1
- export { t as PLACEHOLDER_DB_URL, n as withPrivateDrizzleConfig, r as writeDrizzleConfig } from "./config-DlWQ_hIJ.mjs";
1
+ export { t as PLACEHOLDER_DB_URL, n as withPrivateDrizzleConfig, r as writeDrizzleConfig } from "./config-CbKmMpHK.mjs";
@@ -1,9 +1,9 @@
1
1
  import { t as VoidAuthProvider } from "./providers-D5P8j_8D.mjs";
2
2
  import "./types-CKWnYgfy.mjs";
3
3
  import { t as HeadConfig } from "./head-CVO92KEx.mjs";
4
- import { AssetConfig } from "@void/deploy-core";
4
+ import { AssetConfig, StorageConfig } from "@void/deploy-core";
5
5
  import { RewriteDestination } from "void/routes";
6
- type SandboxInstanceType = "lite" | "standard-1" | "standard-2" | "standard-3" | "standard-4";
6
+ type SandboxInstanceType = "lite" | "basic" | "standard-1" | "standard-2" | "standard-3" | "standard-4";
7
7
  type SandboxConfig = {
8
8
  binding?: string;
9
9
  className?: string;
@@ -185,6 +185,7 @@ type CloudflareConfig = Record<string, unknown> & {
185
185
  };
186
186
  /** Shape of the Void project config. All fields optional. */
187
187
  type VoidConfig = {
188
+ storage?: StorageConfig;
188
189
  sourceDir?: string;
189
190
  target?: "cloudflare" | "node" | "bun" | "deno";
190
191
  output?: "server" | "static";
@@ -1,4 +1,4 @@
1
- import { t as VoidConfig } from "./config-CCWVY7DY.mjs";
1
+ import { t as VoidConfig } from "./config-DuiDZbq7.mjs";
2
2
  /** Define a typed Void project configuration without loading the Vite plugin. */
3
3
  export declare function defineConfig<const T extends VoidConfig>(config: T): T;
4
4
  export type { VoidConfig };
@@ -1,7 +1,7 @@
1
1
  import { a as isVoidAuthProvider, t as VOID_AUTH_PROVIDERS } from "./providers-ZARwX2cL.mjs";
2
2
  import { a as validateSourceDir, c as loadVoidConfig } from "./project-paths-CUhCPMpK.mjs";
3
- import { n as MimeError, o as parseAddress } from "./mime-CtP6-qAF.mjs";
4
- import { isRecord } from "@void/deploy-core";
3
+ import { n as MimeError, o as parseAddress } from "./mime-BGoZ8ZLL.mjs";
4
+ import { R2_LOCATION_HINTS, isR2LocationHint, isRecord } from "@void/deploy-core";
5
5
  // src/config.ts
6
6
  const CONFIG_FILE = "void.json";
7
7
  const VALID_TARGETS = /* @__PURE__ */ new Set([
@@ -50,6 +50,7 @@ const VALID_DATABASE_CASINGS = /* @__PURE__ */ new Set(["snake_case", "camelCase
50
50
  const MAX_WORKER_CPU_MS = 3e5;
51
51
  const VALID_SANDBOX_INSTANCE_TYPES = /* @__PURE__ */ new Set([
52
52
  "lite",
53
+ "basic",
53
54
  "standard-1",
54
55
  "standard-2",
55
56
  "standard-3",
@@ -198,6 +199,10 @@ function validateConfigObject(obj) {
198
199
  if (obj.output !== void 0) {
199
200
  if (typeof obj.output !== "string" || !VALID_OUTPUTS.has(obj.output)) throw new Error(`config: "output" in ${CONFIG_FILE} must be one of: server, static.`);
200
201
  }
202
+ if (obj.storage !== void 0) {
203
+ if (!isRecord(obj.storage) || Object.keys(obj.storage).some((key) => key !== "locationHint") || obj.storage.locationHint !== void 0 && !isR2LocationHint(obj.storage.locationHint)) throw new Error(`config: "storage.locationHint" in ${CONFIG_FILE} must be one of: ${R2_LOCATION_HINTS.join(", ")}.`);
204
+ if (obj.storage.locationHint !== void 0 && isNodeTarget(obj.target)) throw new Error(`config: "storage.locationHint" in ${CONFIG_FILE} requires target: "cloudflare".`);
205
+ }
201
206
  if (obj.auth !== void 0) {
202
207
  if (!isRecord(obj.auth)) throw new Error(`config: "auth" in ${CONFIG_FILE} must be an object.`);
203
208
  const auth = obj.auth;
@@ -1,10 +1,10 @@
1
1
  import { K as select, L as log, tt as isCancel } from "./dist-STQXl8ck.mjs";
2
2
  import { d as readPlatformToken } from "./auth-CCk9Seol.mjs";
3
- import { a as isExpiredTokenError, r as PlatformClient } from "./client-D6w5x7hM.mjs";
4
- import { t as connectCloudflare } from "./cloudflare-connect-D1QOosLd.mjs";
5
- import { t as promptForLoginToken } from "./login-DOE-MkeK.mjs";
3
+ import { a as isExpiredTokenError, r as PlatformClient } from "./client-aIv5UQf3.mjs";
4
+ import { t as connectCloudflare } from "./cloudflare-connect-CMcKtA02.mjs";
5
+ import { t as promptForLoginToken } from "./login-Cihxnu7m.mjs";
6
6
  import { m as printSuccess } from "./output-DNVILSz2.mjs";
7
- import { i as saveDiscoveredPlatform, n as promptPlatformUrl, t as discoverPlatform } from "./platform-cmd-HS_FSthn.mjs";
7
+ import { i as saveDiscoveredPlatform, n as promptPlatformUrl, t as discoverPlatform } from "./platform-cmd-BHWdh1Hx.mjs";
8
8
  import { c as normalizePlatformApiUrl, s as listPlatformConnections } from "./platform-registry-DZ_2Xuqd.mjs";
9
9
  import { c as writeDeploymentPlatform, l as writePlatformSelection, n as readDeploymentPlatform } from "./project-CLwxcEdq.mjs";
10
10
  // src/cli/connect.ts
@@ -1,6 +1,6 @@
1
1
  import { DurableObject, RpcTarget } from "cloudflare:workers";
2
2
  import { Files } from "@cloudflare/sandbox";
3
- // src/runtime/sandbox-container.ts
3
+ // src/runtime/sandbox/container.ts
4
4
  const SANDBOX_PORT_HEADER = "x-void-sandbox-port";
5
5
  const OPTIONS = /* @__PURE__ */ new Set([
6
6
  "inactivityTimeoutMs",
@@ -1,5 +1,5 @@
1
1
  import { DurableObject } from "cloudflare:workers";
2
- type SandboxInstance = "lite" | "standard-1" | "standard-2" | "standard-3" | "standard-4";
2
+ type SandboxInstance = "lite" | "basic" | "standard-1" | "standard-2" | "standard-3" | "standard-4";
3
3
  type SandboxOptions = {
4
4
  inactivityTimeoutMs?: number;
5
5
  enableInternet?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { A as confirm, K as select, L as log, O as cancel, X as text, tt as isCancel } from "./dist-STQXl8ck.mjs";
2
- import { n as PlatformApiError } from "./client-D6w5x7hM.mjs";
2
+ import { n as PlatformApiError } from "./client-aIv5UQf3.mjs";
3
3
  import { f as import_picocolors, h as sanitizeTerminalText } from "./output-DNVILSz2.mjs";
4
4
  import { t as attachSelectedPlatform, u as writeProjectConfig } from "./project-CLwxcEdq.mjs";
5
5
  import { s as getSiteDomain } from "./auth-CCk9Seol.mjs";
@@ -1 +1 @@
1
- export { t as createProjectWithSlugRetry } from "./create-project-BaUzZnLZ.mjs";
1
+ export { t as createProjectWithSlugRetry } from "./create-project-BkVGXGNt.mjs";
@@ -1,5 +1,5 @@
1
1
  import { canonicalJson, canonicalSql, getMigrationPlanHashInput, isSingleStatement, splitSqlStatements } from "@void/deploy-core";
2
- // src/runtime/migration-handler.ts
2
+ // src/runtime/db/migrations/d1-handler.ts
3
3
  const SUPPORTED_CLASSIFIER_VERSION = 1;
4
4
  function createMigrationHandler(env, migrations, runAuthMigrations, planBundle) {
5
5
  return async (request) => {
@@ -1,17 +1,17 @@
1
1
  import { A as confirm, H as outro, L as log, X as text, tt as isCancel } from "./dist-STQXl8ck.mjs";
2
2
  import { a as join, c as resolve, n as dirname, r as extname, s as relative, t as basename } from "./dist-DMYe8CZJ.mjs";
3
- import { c as getDatabaseCasing, l as getDatabaseDialect, m as resolveBindingNames, p as readConfig } from "./config-CzFdJYNA.mjs";
4
- import { t as resolveLocalD1Target } from "./local-d1-BnVb7Fem.mjs";
3
+ import { c as getDatabaseCasing, l as getDatabaseDialect, m as resolveBindingNames, p as readConfig } from "./config-qgt863GH.mjs";
4
+ import { t as resolveLocalD1Target } from "./local-d1-DLxsKmkw.mjs";
5
5
  import { i as writeJournal, n as readJournal, r as stripSqlExt, t as collectMigrations } from "./collect-C6Blu9yw.mjs";
6
6
  import { i as validateMigrations, t as assertJournalCoherence } from "./validate-Ddzl-IwT.mjs";
7
- import { r as detectFramework } from "./plugin-inference-DZHmVe1f.mjs";
7
+ import { r as detectFramework } from "./plugin-inference-BGamcCqB.mjs";
8
8
  import { n as readProjectPaths } from "./project-paths-CUhCPMpK.mjs";
9
9
  import { t as cfAccessHeaders } from "./cf-access-pejlJmuy.mjs";
10
10
  import { c as loadLocalEnv } from "./env-UqS-21xi.mjs";
11
11
  import { c as getToken, o as getProxyUrl } from "./auth-CCk9Seol.mjs";
12
12
  import { n as ensurePlatformProxyAccess, r as isCloudflareAccessChallenge, t as ensurePlatformAccessToken } from "./cf-access-Dnyw8KFY.mjs";
13
- import { n as PlatformApiError, r as PlatformClient } from "./client-D6w5x7hM.mjs";
14
- import { n as formatTimestamp } from "./gen-DimkGNve.mjs";
13
+ import { n as PlatformApiError, r as PlatformClient } from "./client-aIv5UQf3.mjs";
14
+ import { n as formatTimestamp } from "./gen-CjcH6DJS.mjs";
15
15
  import { f as import_picocolors, i as dim, l as formatUrl, m as printSuccess, o as formatCount, u as getErrorMessage } from "./output-DNVILSz2.mjs";
16
16
  import { n as readDeploymentPlatform, r as readProjectConfig } from "./project-CLwxcEdq.mjs";
17
17
  import { n as drizzleKitBin } from "./yarn-pnp-DgWbE7z5.mjs";
@@ -155,7 +155,7 @@ function runDrizzleKit(root, args) {
155
155
  * already printed its own error.
156
156
  */
157
157
  async function runDrizzleKitWithDatabaseUrl(root, url, dialect, command) {
158
- const { withPrivateDrizzleConfig } = await import("./config-C1DPf8EK.mjs");
158
+ const { withPrivateDrizzleConfig } = await import("./config-CtkCfPpv.mjs");
159
159
  if (!withPrivateDrizzleConfig(root, url, dialect, (configPath) => {
160
160
  try {
161
161
  runDrizzleKit(root, [
@@ -186,7 +186,7 @@ async function withPgClient(root, fn) {
186
186
  }
187
187
  }
188
188
  async function withMySqlClient(root, fn, options = {}) {
189
- const { toMySqlClient } = await import("./runner-mysql-CHvEg_sy.mjs");
189
+ const { toMySqlClient } = await import("./runner-mysql-C_PrAUTm.mjs");
190
190
  const { createConnection } = await import("mysql2/promise");
191
191
  const connection = await createConnection({
192
192
  uri: getLocalDatabaseUrl(root, "mysql"),
@@ -311,7 +311,7 @@ async function runPush(root, dialect) {
311
311
  printSuccess("Database schema pushed.");
312
312
  return;
313
313
  }
314
- const { writeDrizzleConfig } = await import("./config-C1DPf8EK.mjs");
314
+ const { writeDrizzleConfig } = await import("./config-CtkCfPpv.mjs");
315
315
  const { databasePath: dbPath } = getLocalD1Target(root);
316
316
  mkdirSync(dirname(dbPath), { recursive: true });
317
317
  const configPath = writeDrizzleConfig(root, dbPath);
@@ -327,8 +327,8 @@ async function runPush(root, dialect) {
327
327
  printSuccess("Database schema pushed.");
328
328
  }
329
329
  async function runGenerate(root, dialect) {
330
- const { prepareProject } = await import("./prepare-BSXKz6m8.mjs");
331
- const { PLACEHOLDER_DB_URL, writeDrizzleConfig } = await import("./config-C1DPf8EK.mjs");
330
+ const { prepareProject } = await import("./prepare-CI7_C9Xf.mjs");
331
+ const { PLACEHOLDER_DB_URL, writeDrizzleConfig } = await import("./config-CtkCfPpv.mjs");
332
332
  await prepareProject(root);
333
333
  const authSchemaPath = join(root, ".void", "better-auth-schema.ts");
334
334
  const additionalSchemas = existsSync(authSchemaPath) ? [authSchemaPath] : void 0;
@@ -377,7 +377,7 @@ async function runStatus(root, dialect) {
377
377
  localError = error;
378
378
  }
379
379
  else if (dialect === "mysql") try {
380
- const { readMySqlAppliedMigrations } = await import("./runner-mysql-CHvEg_sy.mjs");
380
+ const { readMySqlAppliedMigrations } = await import("./runner-mysql-C_PrAUTm.mjs");
381
381
  localApplied = await withMySqlClient(root, readMySqlAppliedMigrations);
382
382
  } catch (error) {
383
383
  localError = error;
@@ -393,12 +393,12 @@ async function runStatus(root, dialect) {
393
393
  if (dialect !== "sqlite") {
394
394
  const databaseUrl = process.env.DATABASE_URL;
395
395
  if (!databaseUrl) throw new Error("DATABASE_URL is not available.");
396
- remoteApplied = (dialect === "postgresql" ? await (await import("./runner-pg-2pjltt0t.mjs")).getPgAppliedMigrations(databaseUrl) : await (await import("./runner-mysql-CHvEg_sy.mjs")).getMySqlAppliedMigrations(databaseUrl)).map((name) => ({
396
+ remoteApplied = (dialect === "postgresql" ? await (await import("./runner-pg-2pjltt0t.mjs")).getPgAppliedMigrations(databaseUrl) : await (await import("./runner-mysql-C_PrAUTm.mjs")).getMySqlAppliedMigrations(databaseUrl)).map((name) => ({
397
397
  name,
398
398
  applied_at: ""
399
399
  }));
400
400
  } else {
401
- const { readCloudflareD1Migrations, resolveCloudflareD1Context } = await import("./cloudflare-operations-I4t3mt4R.mjs");
401
+ const { readCloudflareD1Migrations, resolveCloudflareD1Context } = await import("./cloudflare-operations-C5RTQNnh.mjs");
402
402
  remoteApplied = (await readCloudflareD1Migrations(resolveCloudflareD1Context(root, configuredD1Binding(root)))).map((name) => ({
403
403
  name,
404
404
  applied_at: ""
@@ -566,7 +566,7 @@ async function resetDatabase(root, dialect, yes) {
566
566
  return migrations.length;
567
567
  }
568
568
  if (dialect === "mysql") {
569
- const { applyPendingMySqlMigrations, withMySqlMigrationLock } = await import("./runner-mysql-CHvEg_sy.mjs");
569
+ const { applyPendingMySqlMigrations, withMySqlMigrationLock } = await import("./runner-mysql-C_PrAUTm.mjs");
570
570
  await withMySqlClient(root, (client) => withMySqlMigrationLock(client, async () => {
571
571
  const tables = await client.query("SELECT table_name AS table_name, table_type AS table_type FROM information_schema.tables WHERE table_schema = DATABASE() AND table_type IN ('BASE TABLE', 'VIEW')");
572
572
  await client.query("SET FOREIGN_KEY_CHECKS = 0");
@@ -710,7 +710,7 @@ async function runExecute(root, command, file, dialect, remote) {
710
710
  process.exit(0);
711
711
  }
712
712
  if (dialect === "sqlite") {
713
- const { executeCloudflareD1Sql, resolveCloudflareD1Context } = await import("./cloudflare-operations-I4t3mt4R.mjs");
713
+ const { executeCloudflareD1Sql, resolveCloudflareD1Context } = await import("./cloudflare-operations-C5RTQNnh.mjs");
714
714
  const rows = await executeCloudflareD1Sql(resolveCloudflareD1Context(root, configuredD1Binding(root)), sql);
715
715
  if (rows.length > 0) printTable(rows);
716
716
  } else {
@@ -879,7 +879,7 @@ async function runMigrate(root, dialect, remote) {
879
879
  appliedNames = await getPgAppliedMigrations(databaseUrl);
880
880
  applyMigrations = () => runPgMigrations(migrationsDir, databaseUrl);
881
881
  } else {
882
- const { getMySqlAppliedMigrations, runMySqlMigrations } = await import("./runner-mysql-CHvEg_sy.mjs");
882
+ const { getMySqlAppliedMigrations, runMySqlMigrations } = await import("./runner-mysql-C_PrAUTm.mjs");
883
883
  appliedNames = await getMySqlAppliedMigrations(databaseUrl);
884
884
  applyMigrations = () => runMySqlMigrations(migrationsDir, databaseUrl);
885
885
  }
@@ -904,7 +904,7 @@ async function runMigrate(root, dialect, remote) {
904
904
  log.info(`No migration files found in ${paths.sourceRelative("db/migrations")}/`);
905
905
  return;
906
906
  }
907
- const { applyCloudflareD1Migrations, readCloudflareD1Migrations, resolveCloudflareD1Context } = await import("./cloudflare-operations-I4t3mt4R.mjs");
907
+ const { applyCloudflareD1Migrations, readCloudflareD1Migrations, resolveCloudflareD1Context } = await import("./cloudflare-operations-C5RTQNnh.mjs");
908
908
  const binding = configuredD1Binding(root);
909
909
  const context = resolveCloudflareD1Context(root, binding);
910
910
  const remoteBefore = new Set(await readCloudflareD1Migrations(context));
@@ -924,7 +924,7 @@ async function runMigrate(root, dialect, remote) {
924
924
  log.error(`db: D1 binding ${binding} has no "migrations_dir", so Cloudflare would apply ./migrations instead of ${dir}/. Add "migrations_dir": "./${dir}" to that D1 binding in your Cloudflare config, then run the command again.`);
925
925
  process.exit(1);
926
926
  }
927
- const { checkWranglerMigrationApplySet, parseRootWranglerConfig } = await import("./deploy-Dr_Qamzw.mjs");
927
+ const { checkWranglerMigrationApplySet, parseRootWranglerConfig } = await import("./deploy-rUunHBNJ.mjs");
928
928
  const applySet = await checkWranglerMigrationApplySet(context.operation.configPath, parseRootWranglerConfig(context.operation.configPath), binding, context.migrationsDir, rawMigrations, paths.sourceRelative("db/migrations"));
929
929
  if (!applySet.ok) {
930
930
  log.error(applySet.reason);
@@ -1005,7 +1005,7 @@ async function runMigrate(root, dialect, remote) {
1005
1005
  return;
1006
1006
  }
1007
1007
  if (dialect === "mysql") {
1008
- const { applyMySqlMigrations, readMySqlAppliedMigrations } = await import("./runner-mysql-CHvEg_sy.mjs");
1008
+ const { applyMySqlMigrations, readMySqlAppliedMigrations } = await import("./runner-mysql-C_PrAUTm.mjs");
1009
1009
  const applied = await withMySqlClient(root, async (client) => {
1010
1010
  const appliedNames = await readMySqlAppliedMigrations(client).catch(() => []);
1011
1011
  try {
@@ -1051,7 +1051,7 @@ async function runRestore(root, dialect, { target, platform: explicitPlatform, y
1051
1051
  log.error("db: `void db restore` restores the D1 database of a direct Cloudflare deploy. After a one-off `void deploy --platform cloudflare`, run it with `--platform cloudflare`.");
1052
1052
  process.exit(1);
1053
1053
  }
1054
- const { readCloudflareD1Migrations, resolveCloudflareD1Context, restoreCloudflareD1Database } = await import("./cloudflare-operations-I4t3mt4R.mjs");
1054
+ const { readCloudflareD1Migrations, resolveCloudflareD1Context, restoreCloudflareD1Database } = await import("./cloudflare-operations-C5RTQNnh.mjs");
1055
1055
  const binding = configuredD1Binding(root);
1056
1056
  const context = resolveCloudflareD1Context(root, binding);
1057
1057
  const database = `D1 database ${context.migrateToken} (${binding})`;
@@ -1125,7 +1125,7 @@ async function runStudio(root, dialect, remote) {
1125
1125
  await runDrizzleKitWithDatabaseUrl(root, url, dialect, "studio");
1126
1126
  return;
1127
1127
  }
1128
- const { writeDrizzleConfig } = await import("./config-C1DPf8EK.mjs");
1128
+ const { writeDrizzleConfig } = await import("./config-CtkCfPpv.mjs");
1129
1129
  const { databasePath: dbPath } = getLocalD1Target(root);
1130
1130
  if (!existsSync(dbPath)) {
1131
1131
  log.error("No local database found. Start the dev server first.");
@@ -1145,8 +1145,8 @@ async function runStudio(root, dialect, remote) {
1145
1145
  }
1146
1146
  /** A direct Cloudflare deploy records its D1 or Hyperdrive id in the checked-in Cloudflare config. */
1147
1147
  async function hasDeployedCloudflareDatabase(root) {
1148
- const { readRootWranglerConfig } = await import("./wrangler-fNGvPTlO.mjs");
1149
- const { isRealD1Id, isRealHyperdriveId } = await import("./provision-BLdkpFT4.mjs");
1148
+ const { readRootWranglerConfig } = await import("./wrangler-DM3GOqck.mjs");
1149
+ const { isRealD1Id, isRealHyperdriveId } = await import("./provision-DdWqRmmr.mjs");
1150
1150
  const config = readRootWranglerConfig(root)?.config;
1151
1151
  const entries = (key) => {
1152
1152
  const value = config?.[key];
@@ -1,6 +1,6 @@
1
1
  import { L as log, O as cancel, X as text, tt as isCancel } from "./dist-STQXl8ck.mjs";
2
2
  import { c as getToken } from "./auth-CCk9Seol.mjs";
3
- import { r as PlatformClient } from "./client-D6w5x7hM.mjs";
3
+ import { r as PlatformClient } from "./client-aIv5UQf3.mjs";
4
4
  import { m as printSuccess, p as note, r as createSpinner } from "./output-DNVILSz2.mjs";
5
5
  import { o as removeProjectConfig, r as readProjectConfig } from "./project-CLwxcEdq.mjs";
6
6
  import { a as resolveProjectBySlug } from "./resolve-project-Da3OgCU1.mjs";