void 1.10.0 → 1.12.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 (355) hide show
  1. package/dist/{account-cmd-CZhbDfp4.mjs → account-cmd-D_0qJ9fx.mjs} +6 -6
  2. package/dist/{agents-DRo8gzni.mjs → agents-64FnLwxP.mjs} +6 -5
  3. package/dist/{application-analysis-Do1WaGAY.mjs → application-analysis-Cx2S63z5.mjs} +48 -22
  4. package/dist/{application-routing-DrOFahHO.mjs → application-routing-BAXpnawu.mjs} +1 -1
  5. package/dist/{assets-DZBd7yqh.mjs → assets-Br6_BeFJ.mjs} +34 -27
  6. package/dist/{ast-Cv0JwXqb.mjs → ast-BkPQu7A0.mjs} +5 -1
  7. package/dist/{auth-BN0NU9dz.mjs → auth-Boz0lrb3.mjs} +1 -1
  8. package/dist/{auth-CCk9Seol.mjs → auth-DlLDymuc.mjs} +24 -12
  9. package/dist/{auth-link-DFQTA1jN.mjs → auth-link-C97r9p2N.mjs} +6 -6
  10. package/dist/{auth-router-BOiaDmcQ.mjs → auth-router-BmzEgzYx.mjs} +5 -5
  11. package/dist/{better-auth-shared-BqsMzU14.d.mts → better-auth-shared-BS3pDQbT.d.mts} +11 -6
  12. package/dist/{better-auth-shared-DRHo5FoG.mjs → better-auth-shared-BcqDt-37.mjs} +7 -2
  13. package/dist/{build-cmd-BCiXgjn9.mjs → build-cmd-BaFsyZrz.mjs} +13 -12
  14. package/dist/{cache-CUulshOu.mjs → cache-xO711ATQ.mjs} +6 -6
  15. package/dist/{cancel-deploy-BHGZo6KC.mjs → cancel-deploy-Di11ynsr.mjs} +5 -5
  16. package/dist/{cf-access-pejlJmuy.mjs → cf-access-DmkKPcAI.mjs} +0 -8
  17. package/dist/{cf-access-Dnyw8KFY.mjs → cf-access-FaIm95jA.mjs} +8 -4
  18. package/dist/{cf-build-output-bBx1gDll.mjs → cf-build-output-Ca201_n1.mjs} +27 -25
  19. package/dist/cf-build-output-Dy7N0hQN.mjs +1 -0
  20. package/dist/{cf-command-values-Ccl-zRhl.mjs → cf-command-values-5BPBRc9Z.mjs} +1 -1
  21. package/dist/cf-config-migrate-D271BTiw.mjs +1664 -0
  22. package/dist/{cf-worker-settings-CARs4Wy9.mjs → cf-worker-settings-BBdlhm9U.mjs} +1 -1
  23. package/dist/cli/cli.mjs +1 -1
  24. package/dist/cli/cloudflare-operation-process.mjs +223 -16
  25. package/dist/cli/env-schema-probe.d.mts +3 -1
  26. package/dist/cli/env-schema-probe.mjs +7 -8
  27. package/dist/{cli-main-hM7rhIbB.mjs → cli-main-DlW6lB8s.mjs} +153 -91
  28. package/dist/{client-BEYbgqZw.mjs → client-DkYzDEC0.mjs} +1 -1
  29. package/dist/{client-aIv5UQf3.mjs → client-ImIe7Mjq.mjs} +192 -17
  30. package/dist/{cloudflare-auth-pNvmT6kL.mjs → cloudflare-auth-eWfhdZCk.mjs} +1 -1
  31. package/dist/{cloudflare-cmd-DLcgInCa.mjs → cloudflare-cmd-SsFlJe2B.mjs} +7 -8
  32. package/dist/{cloudflare-config-BfEfIEuY.mjs → cloudflare-config-D9UFH_A5.mjs} +2 -2
  33. package/dist/{cloudflare-connect-CMcKtA02.mjs → cloudflare-connect-BgpHcSg3.mjs} +3 -3
  34. package/dist/{cloudflare-operations-DLhn_Bom.mjs → cloudflare-operations-BF0PSErW.mjs} +40 -24
  35. package/dist/cloudflare-operations-dpRD-2Px.mjs +1 -0
  36. package/dist/cloudflare-process-60r4Z2Zf.mjs +671 -0
  37. package/dist/cloudflare-user-output-CCR99eQY.mjs +19 -0
  38. package/dist/collect-B6nlSnsb.mjs +1 -0
  39. package/dist/{collect-C6Blu9yw.mjs → collect-rNLybAnF.mjs} +3 -3
  40. package/dist/{config-Do7gJI3T.mjs → config-BFX5ZB1J.mjs} +5 -4
  41. package/dist/{config-CbKmMpHK.mjs → config-BSoW3QCB.mjs} +5 -5
  42. package/dist/{config-DuiDZbq7.d.mts → config-DA6ZbLXO.d.mts} +3 -1
  43. package/dist/{config-CtkCfPpv.mjs → config-DtjrUtPo.mjs} +1 -1
  44. package/dist/{config-qgt863GH.mjs → config-Dv5jri1-.mjs} +10 -6
  45. package/dist/config-entry.d.mts +1 -1
  46. package/dist/{connect-DM3yCNPG.mjs → connect-DDRQGfFE.mjs} +9 -9
  47. package/dist/{create-project-BkVGXGNt.mjs → create-project-CY7sP8sI.mjs} +7 -6
  48. package/dist/{create-project-C-hNdYvD.mjs → create-project-Dro3K-az.mjs} +1 -1
  49. package/dist/{db-DQAi7Ckr.mjs → db-DmlaWVBu.mjs} +166 -121
  50. package/dist/db-seed-loader-Bcz_SutQ.mjs +253 -0
  51. package/dist/{db-types-BpPYAx0B.mjs → db-types-B4Cf9dzR.mjs} +8 -2
  52. package/dist/{delete-BtVnPGO2.mjs → delete-Uuq9ch6o.mjs} +6 -6
  53. package/dist/{deploy-Cs93Af-d.mjs → deploy-B9E7_rHC.mjs} +235 -558
  54. package/dist/deploy-BB3rsZbP.mjs +2 -0
  55. package/dist/{deploy-managed-static-CZIx3cc1.mjs → deploy-managed-static-IKZyuc1W.mjs} +123 -198
  56. package/dist/deploy-security-notice-C3LalelR.mjs +192 -0
  57. package/dist/{deploy-transport-DT-ALuDj.mjs → deploy-transport-BKP_oV9q.mjs} +4 -4
  58. package/dist/deploy.mjs +10 -9
  59. package/dist/{dev-inbox-BiamQEAa.mjs → dev-inbox-ClVjKEHy.mjs} +1 -1
  60. package/dist/direct-r2-upload-DFXLWfXV.mjs +204 -0
  61. package/dist/discover-D2KGP3cR.mjs +1 -0
  62. package/dist/{discover-Vd18lHsj.mjs → discover-IcspacCg.mjs} +1 -1
  63. package/dist/{dispatch-DPEuEblR.mjs → dispatch-DIhDA3NI.mjs} +38 -17
  64. package/dist/{dist-Cp4b1_T9.mjs → dist-C47zy_kJ.mjs} +1 -1
  65. package/dist/{dist-STQXl8ck.mjs → dist-Cr_xGE_K.mjs} +73 -38
  66. package/dist/{domain-cOhYYiHU.mjs → domain-B_xY1yZ5.mjs} +8 -10
  67. package/dist/{dotenv-CEI8hapP.mjs → dotenv-BG6RQavH.mjs} +2 -2
  68. package/dist/{drizzle-DBSpPpU1.mjs → drizzle-BJDMPrj7.mjs} +35 -30
  69. package/dist/{drizzle-D4V_06-B.mjs → drizzle-CQ5jWuDL.mjs} +1 -1
  70. package/dist/{email-CnnDqvXV.mjs → email-BIC15L7a.mjs} +47 -32
  71. package/dist/{email-cloudflare-CCIoQueP.mjs → email-cloudflare-C447nOqq.mjs} +195 -109
  72. package/dist/{email-pattern-BYr-EFq5.mjs → email-pattern-bRna9MOJ.mjs} +2 -2
  73. package/dist/{entry-DMgR7XOf.mjs → entry-Bwb9ev8K.mjs} +13 -10
  74. package/dist/{env-5bphL5mV.mjs → env-DJPZYHT5.mjs} +8 -8
  75. package/dist/{env-UqS-21xi.mjs → env-EjHqc7m9.mjs} +1 -1
  76. package/dist/{env-types-WEZw5D-r.mjs → env-types-D2hBodXP.mjs} +2 -19
  77. package/dist/{env-validation-DfJ9Fzfa.mjs → env-validation-D-v5_CWL.mjs} +13 -13
  78. package/dist/{env-validation-ly_Q9Kgd.mjs → env-validation-j9pjCDfA.mjs} +1 -1
  79. package/dist/{error-pages-QNeBXiRR.mjs → error-pages-GORL6F_e.mjs} +1 -1
  80. package/dist/{fetch-CbI6lNnk.d.mts → fetch-CczQyIed.d.mts} +1 -1
  81. package/dist/{fetch-DdK9eGin.mjs → fetch-CiEsvjpP.mjs} +1 -1
  82. package/dist/{fetch-stream-DQAavFdm.mjs → fetch-stream-BIG5lHW6.mjs} +3 -4
  83. package/dist/{fetch-stream-DoED9atq.d.mts → fetch-stream-DRX8-83b.d.mts} +2 -2
  84. package/dist/gen-CQDiPi8m.mjs +1 -0
  85. package/dist/{gen-CjcH6DJS.mjs → gen-DiTZlDx8.mjs} +21 -18
  86. package/dist/{generate-BOp1g1H_.mjs → generate-C3ZAqCy-.mjs} +1 -1
  87. package/dist/{generate-CWb8aOsm.mjs → generate-Dq2Bgw75.mjs} +6 -6
  88. package/dist/{git-metadata-Cukp5kV5.mjs → git-metadata-BEokJ6US.mjs} +1 -1
  89. package/dist/{github-cmd-CVDLb51-.mjs → github-cmd-DPmby8x-.mjs} +14 -9
  90. package/dist/{handler-w_FAiIRu.mjs → handler-DCrDLzw2.mjs} +3 -3
  91. package/dist/has-own-key-D9QEnAkF.mjs +5 -0
  92. package/dist/{head-0o0QoREY.mjs → head-BwQ5kgqt.mjs} +5 -4
  93. package/dist/{head-CVO92KEx.d.mts → head-fUp8n_QJ.d.mts} +9 -4
  94. package/dist/{headers-Cyr87J6Z.mjs → headers-DqBsjDxg.mjs} +7 -7
  95. package/dist/{help-B1cH8518.mjs → help-9wfMyXHb.mjs} +146 -69
  96. package/dist/help-Dy3w4rPq.mjs +1 -0
  97. package/dist/{inbound-BHt4dIlL.d.mts → inbound-CwgZSqFI.d.mts} +9 -3
  98. package/dist/{inbound--OF7zkwX.mjs → inbound-feMn1Rxx.mjs} +7 -7
  99. package/dist/{index-CmqHYj2R.d.mts → index-8cAgNdb6.d.mts} +1 -1
  100. package/dist/{index-BTmhCDbw.d.mts → index-BQ5qYiAw.d.mts} +2 -2
  101. package/dist/{index-BESZTC1z.d.mts → index-BYcWajVp.d.mts} +2 -1
  102. package/dist/{index-BXdP39qx.d.mts → index-Dn2mkPr2.d.mts} +24 -23
  103. package/dist/index.d.mts +2 -2
  104. package/dist/index.mjs +351 -444
  105. package/dist/{info-BE3snw2_.mjs → info-BWEWaOBo.mjs} +4 -4
  106. package/dist/{init-BrS5MAiJ.mjs → init-BuTPVLPO.mjs} +737 -546
  107. package/dist/{isr-config-Czzb4mIq.mjs → isr-config-DiTnL9Tb.mjs} +5 -5
  108. package/dist/{link-BbzyrCBD.mjs → link-BiesPyT4.mjs} +7 -7
  109. package/dist/{list-DmppHjVc.mjs → list-CkonftPQ.mjs} +11 -7
  110. package/dist/{live-DvtxTUhW.mjs → live-dvGThbwy.mjs} +14 -17
  111. package/dist/{load-user-env-BltIJLtl.mjs → load-user-env-B8qC0Q2Y.mjs} +1 -1
  112. package/dist/{local-d1-DLxsKmkw.mjs → local-d1-CYOYkVwO.mjs} +3 -3
  113. package/dist/{login-Cihxnu7m.mjs → login-BSOSah1j.mjs} +8 -6
  114. package/dist/login-DWCZeCX9.mjs +1 -0
  115. package/dist/{logs-BCgLeLNd.mjs → logs-HOBUnroa.mjs} +9 -9
  116. package/dist/{migrate-DOK67gE-.mjs → migrate-BNZL1hee.mjs} +9 -10
  117. package/dist/migrate-C9aoWLvY.mjs +1 -0
  118. package/dist/{migrations-ByS7r3HV.mjs → migrations-CUHhX65Y.mjs} +15 -12
  119. package/dist/{mime-BGoZ8ZLL.mjs → mime-Btw9R3CC.mjs} +26 -12
  120. package/dist/{mysql-sql-SlpS6OMg.mjs → mysql-sql-CB52k8tQ.mjs} +45 -22
  121. package/dist/nitro.d.mts +3 -0
  122. package/dist/nitro.mjs +14 -5
  123. package/dist/{node-qXD3FbIU.mjs → node-DVJWfV6s.mjs} +6 -6
  124. package/dist/node-buffer-D7kgjaDs.mjs +4 -0
  125. package/dist/{operator-ai-logging-CNuX5uKg.mjs → operator-ai-logging-ZDqqhnIq.mjs} +11 -10
  126. package/dist/operator-args-DCkWbgT-.mjs +1499 -0
  127. package/dist/{operator-auth-CD3pap65.mjs → operator-auth-BjoPLgja.mjs} +2 -2
  128. package/dist/{operator-client-XvXTkea6.mjs → operator-client-DzebIntv.mjs} +3 -3
  129. package/dist/{operator-cmd-D0vSUVle.mjs → operator-cmd-AZoeI9Pl.mjs} +28 -12
  130. package/dist/operator-cmd-DEnHFmJF.mjs +1 -0
  131. package/dist/operator-security-Bo26FP01.mjs +263 -0
  132. package/dist/{output-DNVILSz2.mjs → output-BZLnu0z8.mjs} +39 -4
  133. package/dist/output-D7K9TWIA.mjs +1 -0
  134. package/dist/{package-json-DvS6IFRv.mjs → package-json-4xUI3xLz.mjs} +1 -1
  135. package/dist/pages/client.d.mts +53 -30
  136. package/dist/pages/client.mjs +93 -31
  137. package/dist/pages/head.d.mts +1 -1
  138. package/dist/pages/head.mjs +1 -1
  139. package/dist/pages/index.d.mts +2 -2
  140. package/dist/pages/index.mjs +7 -7
  141. package/dist/pages/islands-plugin.d.mts +26 -8
  142. package/dist/pages/islands-plugin.mjs +61 -22
  143. package/dist/pages/protocol.d.mts +2 -2
  144. package/dist/pages/protocol.mjs +1 -1
  145. package/dist/pages/serialize.mjs +1 -1
  146. package/dist/{pgpass-CEtnBOZO.mjs → pgpass-BLPoYN9_.mjs} +3 -2
  147. package/dist/platform-args-DNbNZ_RR.mjs +1 -0
  148. package/dist/{platform-args-DQSMW4EP.mjs → platform-args-lwCyQ6Xy.mjs} +37 -9
  149. package/dist/{platform-auth-config-V2ifSLQ-.mjs → platform-auth-config-DLRMPw1G.mjs} +26 -23
  150. package/dist/{platform-auth-protection-BybVCUzi.mjs → platform-auth-protection-HSmLmD3d.mjs} +10 -10
  151. package/dist/{platform-auth-recovery-kH1-h8Ch.mjs → platform-auth-recovery-BXPhTlKa.mjs} +11 -9
  152. package/dist/{platform-cmd-B1jtqXnu.mjs → platform-cmd-CqRjxFEU.mjs} +1 -1
  153. package/dist/{platform-cmd-BHWdh1Hx.mjs → platform-cmd-DJ-fOYhL.mjs} +11 -11
  154. package/dist/{platform-discovery-B0eZjZ3B.mjs → platform-discovery-CLxtixHJ.mjs} +1 -1
  155. package/dist/{platform-domain-DB_KpVhg.mjs → platform-domain-CRsRJOws.mjs} +14 -10
  156. package/dist/{platform-lifecycle-BoOTmH6H.mjs → platform-lifecycle-bx_kpqo7.mjs} +1 -1
  157. package/dist/{platform-lifecycle-C6fUuj4y.mjs → platform-lifecycle-fau3VKv6.mjs} +773 -206
  158. package/dist/platform-management-BRGhD-oF.mjs +1 -0
  159. package/dist/{platform-management-B8-pOxoJ.mjs → platform-management-CnKBdDx5.mjs} +227 -58
  160. package/dist/{platform-plans-config-iczSDkQK.mjs → platform-plans-config-2C3_5EDs.mjs} +112 -35
  161. package/dist/{platform-recovery-ZAXin6WK.mjs → platform-recovery-poxgOOAY.mjs} +5 -5
  162. package/dist/{platform-registry-DZ_2Xuqd.mjs → platform-registry-DHH6fivm.mjs} +6 -5
  163. package/dist/{platform-setup-CpcHLI-0.mjs → platform-setup-DYylapHD.mjs} +26 -12
  164. package/dist/{plugin-inference-BGamcCqB.mjs → plugin-inference-7O11_E4H.mjs} +26 -26
  165. package/dist/{prepare-BrAkXTTB.mjs → prepare-BbvlKreR.mjs} +12 -12
  166. package/dist/prepare-BmG2E6TI.mjs +1 -0
  167. package/dist/{prepare-Cjt6EM0d.mjs → prepare-DWjn1Lzd.mjs} +3 -3
  168. package/dist/{project-cmd-wtCuc8Ln.mjs → project-cmd-DyUEFi2b.mjs} +30 -24
  169. package/dist/{project-CLwxcEdq.mjs → project-dh9431bN.mjs} +2 -2
  170. package/dist/{project-paths-CUhCPMpK.mjs → project-paths-2ENfCCih.mjs} +4 -3
  171. package/dist/project-security--tYGFPGo.mjs +1340 -0
  172. package/dist/project-security-DZEQgnsS.mjs +1 -0
  173. package/dist/{project-team-CZFvPIJ-.mjs → project-team-BszTHgzC.mjs} +8 -8
  174. package/dist/{project-token-C3TxkWeC.mjs → project-token-DBDy4NdV.mjs} +6 -6
  175. package/dist/{project-tsconfig-MyRJgufB.mjs → project-tsconfig-BOA4ym99.mjs} +25 -5
  176. package/dist/{project-DVsTAWFh.mjs → project-uXKua1it.mjs} +1 -1
  177. package/dist/project-zero-trust-D9sUouij.mjs +210 -0
  178. package/dist/{protocol-W5EQcIzN.mjs → protocol-CE3wP-H1.mjs} +5 -5
  179. package/dist/{protocol-BlAiF-hc.d.mts → protocol-ERy-n3jf.d.mts} +7 -4
  180. package/dist/{provision-CknEbPuw.mjs → provision-Bh44omGA.mjs} +39 -29
  181. package/dist/provision-DFv7SJDn.mjs +1 -0
  182. package/dist/{public-B80SwOFp.d.mts → public-DB9C2Cy_.d.mts} +5 -2
  183. package/dist/{raw-7pQirZpQ.mjs → raw-5rak34QN.mjs} +2 -1
  184. package/dist/{redirect-Dqb4fEc5.mjs → redirect-DD825Stf.mjs} +1 -1
  185. package/dist/{requests-FaA9M3RX.mjs → requests-CBokjiOi.mjs} +6 -6
  186. package/dist/{resolve-project-Da3OgCU1.mjs → resolve-project-8WZ3iVmr.mjs} +3 -3
  187. package/dist/resolve-project-YsTH-U9I.mjs +1 -0
  188. package/dist/{rollback-DM6pZ23Y.mjs → rollback-CEeHNFUn.mjs} +16 -7
  189. package/dist/route-types-CSed9-Dp.mjs +435 -0
  190. package/dist/{route-url-BBdkU7rb.mjs → route-url-B41eQ8QI.mjs} +1 -1
  191. package/dist/{route-url-Di1kB8D_.d.mts → route-url-Bd6IX-JZ.d.mts} +2 -1
  192. package/dist/routes-stub.d.mts +1 -1
  193. package/dist/routes-stub.mjs +1 -1
  194. package/dist/{runner-CTk21HrO.mjs → runner-Bf94YVJK.mjs} +1 -1
  195. package/dist/{runner-CMZb7jNU.mjs → runner-CeguHWJx.mjs} +3 -2
  196. package/dist/{runner-mysql-CJ-HyqxV.mjs → runner-mysql-3XDKrn-g.mjs} +13 -9
  197. package/dist/{runner-mysql-C_PrAUTm.mjs → runner-mysql-r688x6Y9.mjs} +1 -1
  198. package/dist/{runner-pg-mYc75KfH.mjs → runner-pg-Buzw17hl.mjs} +1 -1
  199. package/dist/{runner-pg-2pjltt0t.mjs → runner-pg-DMJquR3d.mjs} +1 -1
  200. package/dist/runtime/ai/index.d.mts +1 -0
  201. package/dist/runtime/ai/index.mjs +26 -11
  202. package/dist/runtime/auth/better-auth-d1.d.mts +1 -1
  203. package/dist/runtime/auth/better-auth-d1.mjs +2 -2
  204. package/dist/runtime/auth/better-auth-mysql.d.mts +1 -1
  205. package/dist/runtime/auth/better-auth-mysql.mjs +2 -2
  206. package/dist/runtime/auth/better-auth-postgres.d.mts +1 -1
  207. package/dist/runtime/auth/better-auth-postgres.mjs +3 -3
  208. package/dist/runtime/client/fetch-server.d.mts +1 -1
  209. package/dist/runtime/client/fetch-server.mjs +2 -2
  210. package/dist/runtime/client/fetch-stream.d.mts +2 -2
  211. package/dist/runtime/client/fetch-stream.mjs +1 -1
  212. package/dist/runtime/client/fetch.d.mts +1 -1
  213. package/dist/runtime/client/fetch.mjs +1 -1
  214. package/dist/runtime/client/index.d.mts +2 -2
  215. package/dist/runtime/client/index.mjs +2 -2
  216. package/dist/runtime/client/react.d.mts +2 -2
  217. package/dist/runtime/client/react.mjs +2 -2
  218. package/dist/runtime/client/solid.d.mts +2 -2
  219. package/dist/runtime/client/solid.mjs +2 -2
  220. package/dist/runtime/client/svelte.d.mts +2 -2
  221. package/dist/runtime/client/svelte.mjs +2 -2
  222. package/dist/runtime/client/vue.d.mts +2 -2
  223. package/dist/runtime/client/vue.mjs +2 -2
  224. package/dist/runtime/db/index.d.mts +8 -2
  225. package/dist/runtime/db/index.mjs +21 -8
  226. package/dist/runtime/db/migrations/mysql-handler.mjs +1 -1
  227. package/dist/runtime/db/migrations/postgres-handler.mjs +1 -1
  228. package/dist/runtime/db/session.d.mts +2 -0
  229. package/dist/runtime/db/session.mjs +1 -0
  230. package/dist/runtime/durable/index.mjs +7 -5
  231. package/dist/runtime/email/index.d.mts +1 -1
  232. package/dist/runtime/email/index.mjs +14 -11
  233. package/dist/runtime/email/testing.d.mts +1 -1
  234. package/dist/runtime/email/testing.mjs +4 -4
  235. package/dist/runtime/env/public-client.d.mts +4 -1
  236. package/dist/runtime/env/public.d.mts +1 -1
  237. package/dist/runtime/env/public.mjs +2 -2
  238. package/dist/runtime/env/runtime.mjs +1 -1
  239. package/dist/runtime/handler/index.d.mts +1 -1
  240. package/dist/runtime/handler/index.mjs +1 -1
  241. package/dist/runtime/handler/validator.d.mts +1 -1
  242. package/dist/runtime/handler/validator.mjs +1 -1
  243. package/dist/runtime/isr/index.mjs +1 -1
  244. package/dist/runtime/kv/index.mjs +1 -1
  245. package/dist/runtime/live/client.d.mts +2 -2
  246. package/dist/runtime/live/client.mjs +7 -7
  247. package/dist/runtime/live/index.d.mts +1 -1
  248. package/dist/runtime/live/index.mjs +1 -1
  249. package/dist/runtime/live/server.mjs +3 -3
  250. package/dist/runtime/queues/index.mjs +2 -2
  251. package/dist/runtime/remote/index.d.mts +5 -1
  252. package/dist/runtime/remote/index.mjs +10 -9
  253. package/dist/runtime/routing/index.d.mts +11 -12
  254. package/dist/runtime/routing/index.mjs +69 -65
  255. package/dist/runtime/routing/route-url.d.mts +1 -1
  256. package/dist/runtime/routing/route-url.mjs +1 -1
  257. package/dist/runtime/sandbox/index.d.mts +1 -1
  258. package/dist/runtime/sandbox/index.mjs +2 -2
  259. package/dist/runtime/sse/client.d.mts +1 -1
  260. package/dist/runtime/sse/index.mjs +1 -1
  261. package/dist/runtime/storage/index.mjs +1 -1
  262. package/dist/runtime/ws/index.d.mts +1 -1
  263. package/dist/runtime/ws/index.mjs +3 -2
  264. package/dist/runtime/ws/room.d.mts +1 -1
  265. package/dist/runtime/ws/room.mjs +2 -2
  266. package/dist/runtime/ws/server.d.mts +2 -2
  267. package/dist/runtime/ws/server.mjs +1 -1
  268. package/dist/{runtime-zDDinDI5.mjs → runtime-C_VPIJBF.mjs} +1 -1
  269. package/dist/{scan-tDExXbA1.mjs → scan-Ct_SEzH4.mjs} +36 -29
  270. package/dist/{secret-DDNLIQOT.mjs → secret-Deqo3n_N.mjs} +11 -10
  271. package/dist/security-api-types-CU7zQtr_.mjs +9 -0
  272. package/dist/security-sarif-ClyYwtAW.mjs +123 -0
  273. package/dist/{serialize-Pf-CIQK_.mjs → serialize-BmB4BfKu.mjs} +1 -1
  274. package/dist/{server-CfUbeOjx.mjs → server-T-4mn8zy.mjs} +5 -4
  275. package/dist/session-BT8XDkvL.mjs +45 -0
  276. package/dist/session-ouZYD7zb.d.mts +18 -0
  277. package/dist/{skills-CoBB9_Ao.mjs → skills-C-csz78e.mjs} +10 -17
  278. package/dist/{sse-BXnTfcf3.mjs → sse-D3ab0YQT.mjs} +16 -13
  279. package/dist/{static-exports-DFkzL-NX.mjs → static-exports-s7P86Ngp.mjs} +3 -3
  280. package/dist/{subcommand-prompt-0yIARXf2.mjs → subcommand-prompt-B4LOLosl.mjs} +31 -21
  281. package/dist/sveltekit.mjs +1 -1
  282. package/dist/{terminal-log-text-DNsWJREL.mjs → terminal-log-text-CfS2JKM6.mjs} +1 -1
  283. package/dist/{url-DaehRGKR.mjs → url-DBQluotE.mjs} +4 -1
  284. package/dist/validate-CZYUIfR-.mjs +1 -0
  285. package/dist/{validate-Ddzl-IwT.mjs → validate-CtBWCzez.mjs} +7 -4
  286. package/dist/{validator-Duafcnh7.mjs → validator-Dfh9kCDm.mjs} +5 -5
  287. package/dist/{version-metadata-DEmItNdS.mjs → version-metadata-DqgLa6gc.mjs} +1 -1
  288. package/dist/{wrangler-D1zq1rXr.mjs → wrangler-DVe5KV5G.mjs} +49 -46
  289. package/dist/wrangler-Dq269bjx.mjs +1 -0
  290. package/dist/{wrapper-C2gMY432.mjs → wrapper-CcMYpOS8.mjs} +45 -171
  291. package/docs/guide/ai.md +13 -0
  292. package/docs/guide/app-types.md +1 -1
  293. package/docs/guide/auth.md +2 -16
  294. package/docs/guide/database/d1.md +283 -3
  295. package/docs/guide/database.md +2 -0
  296. package/docs/guide/email/domains.md +8 -6
  297. package/docs/guide/email/sending.md +18 -1
  298. package/docs/guide/pages-routing/actions-and-forms.md +4 -4
  299. package/docs/guide/pages-routing/head.md +20 -2
  300. package/docs/guide/platform/administration/plans.md +13 -0
  301. package/docs/guide/platform/administration/security-audits.md +213 -0
  302. package/docs/guide/platform/administration/zero-trust.md +6 -0
  303. package/docs/guide/platform/development/local.md +3 -5
  304. package/docs/guide/platform/installation/ci.md +1 -1
  305. package/docs/guide/platform/installation/credentials.md +23 -20
  306. package/docs/guide/platform/installation/maintenance.md +8 -2
  307. package/docs/guide/platform/installation/prerequisites.md +1 -1
  308. package/docs/guide/platform/installation/uninstall.md +2 -0
  309. package/docs/guide/platform-administration.md +1 -0
  310. package/docs/guide/self-hosted-platform.md +14 -13
  311. package/docs/guide/type-safety.md +1 -1
  312. package/docs/integrations/cloudflare.md +5 -3
  313. package/docs/reference/api/database.md +42 -2
  314. package/docs/reference/api/handlers.md +3 -3
  315. package/docs/reference/api/types.md +11 -1
  316. package/docs/reference/api.md +1 -1
  317. package/docs/reference/cli/database.md +6 -3
  318. package/docs/reference/cli/deploy.md +17 -13
  319. package/docs/reference/cli/domains.md +1 -1
  320. package/docs/reference/cli/email.md +3 -3
  321. package/docs/reference/cli/platform-config.md +5 -3
  322. package/docs/reference/cli/platform-installation.md +29 -28
  323. package/docs/reference/cli/platform-security.md +98 -0
  324. package/docs/reference/cli/platform-zero-trust.md +2 -0
  325. package/docs/reference/cli/platform.md +1 -0
  326. package/docs/reference/cli/project.md +57 -0
  327. package/docs/reference/cli.md +3 -1
  328. package/docs/reference/config.md +7 -6
  329. package/package.json +31 -27
  330. package/schema.json +7 -1
  331. package/skills/void/SKILL.md +8 -0
  332. package/dist/cf-build-output-D3_x71H6.mjs +0 -1
  333. package/dist/cf-config-migrate-CHtnM3_C.mjs +0 -348
  334. package/dist/cloudflare-operations-C5RTQNnh.mjs +0 -1
  335. package/dist/cloudflare-process-wcnaQ5JG.mjs +0 -392
  336. package/dist/cloudflare-user-output-zEwuGrEJ.mjs +0 -19
  337. package/dist/collect-8i0wU63d.mjs +0 -1
  338. package/dist/deploy-rUunHBNJ.mjs +0 -2
  339. package/dist/discover-Diq0l6TZ.mjs +0 -1
  340. package/dist/gen-BQ7itmK7.mjs +0 -1
  341. package/dist/help-Ld6XFol7.mjs +0 -1
  342. package/dist/login-C-n1rA0s.mjs +0 -1
  343. package/dist/migrate-CKn30rmw.mjs +0 -1
  344. package/dist/operator-args-BCCohcz3.mjs +0 -722
  345. package/dist/operator-cmd-BnLoIO2A.mjs +0 -1
  346. package/dist/output-BsdnNpxa.mjs +0 -1
  347. package/dist/platform-args-Rgp86xa7.mjs +0 -1
  348. package/dist/platform-management-7Bf_OgS5.mjs +0 -1
  349. package/dist/prepare-CI7_C9Xf.mjs +0 -1
  350. package/dist/project-zero-trust-DrRyAHW1.mjs +0 -64
  351. package/dist/provision-DdWqRmmr.mjs +0 -1
  352. package/dist/resolve-project-C5wC-Hoi.mjs +0 -1
  353. package/dist/route-types-CrODgORq.mjs +0 -655
  354. package/dist/validate-DY1U9rET.mjs +0 -1
  355. package/dist/wrangler-DM3GOqck.mjs +0 -1
@@ -1,7 +1,7 @@
1
- import { H as outro } from "./dist-STQXl8ck.mjs";
2
- import { n as getOwnVersion } from "./agents-DRo8gzni.mjs";
3
- import { n as operatorGroups, t as operatorCommands } from "./operator-args-BCCohcz3.mjs";
4
- import { d as helpLine, f as import_picocolors, g as sectionTitle, l as formatUrl, p as note, t as categoryTitle } from "./output-DNVILSz2.mjs";
1
+ import { H as outro } from "./dist-Cr_xGE_K.mjs";
2
+ import { n as getOwnVersion } from "./agents-64FnLwxP.mjs";
3
+ import { n as operatorGroups, t as operatorCommands } from "./operator-args-DCkWbgT-.mjs";
4
+ import { f as formatUrl, g as note, h as import_picocolors, m as helpLine, t as categoryTitle, x as sectionTitle } from "./output-BZLnu0z8.mjs";
5
5
  // src/cli/ascii.ts
6
6
  const asciiArts = [
7
7
  `
@@ -46,21 +46,17 @@ function operatorHelpTree() {
46
46
  command: "--json",
47
47
  description: "Write structured JSON to stdout (JSON Lines while following logs)"
48
48
  },
49
- ...entry.method ? [
50
- {
51
- command: "--plan",
52
- description: "Validate and preview without changing anything"
53
- },
54
- {
55
- command: "--yes",
56
- description: "Apply after preview without prompting; required in unattended scripts"
57
- },
58
- {
59
- command: "--timeout <seconds>",
60
- description: "Mutation deadline (default 300 seconds; maximum 3600 seconds)"
61
- }
62
- ] : [],
63
- ...[
49
+ ...entry.method ? [...entry.noConfirm ? [] : [{
50
+ command: "--plan",
51
+ description: "Validate and preview without changing anything"
52
+ }, {
53
+ command: "--yes",
54
+ description: "Apply after preview without prompting; required in unattended scripts"
55
+ }], {
56
+ command: "--timeout <seconds>",
57
+ description: "Mutation deadline (default 300 seconds; maximum 3600 seconds)"
58
+ }] : [],
59
+ ...entry.paged || [
64
60
  "list",
65
61
  "events",
66
62
  "logs",
@@ -206,7 +202,7 @@ const HELP_TREE = {
206
202
  },
207
203
  {
208
204
  command: "--provision",
209
- description: "Run resource provisioning again, for example to enable D1 read replication (with --platform cloudflare)"
205
+ description: "Run resource provisioning again even when every resource exists (with --platform cloudflare)"
210
206
  },
211
207
  {
212
208
  command: "--atomic",
@@ -404,7 +400,7 @@ const HELP_TREE = {
404
400
  },
405
401
  {
406
402
  command: "set <id>",
407
- description: "Edit a plan name, limits, build size, or AI Gateway logging default"
403
+ description: "Edit a plan name, limits, build size, AI Gateway logging default, or security scan cap"
408
404
  },
409
405
  {
410
406
  command: "reset <id>",
@@ -438,7 +434,7 @@ const HELP_TREE = {
438
434
  },
439
435
  {
440
436
  command: "--file <path>",
441
- description: "Read plan settings, partial limits, and aiLogging from JSON"
437
+ description: "Read plan settings, partial limits, aiLogging, and securityCap from JSON"
442
438
  },
443
439
  {
444
440
  command: "--name <name>",
@@ -448,6 +444,10 @@ const HELP_TREE = {
448
444
  command: "--copy <id>",
449
445
  description: "Copy this plan when adding a new one"
450
446
  },
447
+ {
448
+ command: "--security-cap <usd|none|inherit>",
449
+ description: "Monthly security scan cap for each project on the plan (inherit = policy default)"
450
+ },
451
451
  {
452
452
  command: "--replacement <id>",
453
453
  description: "Move accounts and any default before removing a plan"
@@ -668,6 +668,10 @@ const HELP_TREE = {
668
668
  command: "--custom-domains",
669
669
  description: "Let projects add their own domains (requires --dedicated-zone)"
670
670
  },
671
+ {
672
+ command: "--security-audits",
673
+ description: "Allow security audits. Needs Cloudflare Containers and Workers AI; it turns nothing on until an administrator sets a scan mode"
674
+ },
671
675
  {
672
676
  command: "--control-plane-domain <domain>",
673
677
  description: "Optional API hostname"
@@ -788,6 +792,10 @@ const HELP_TREE = {
788
792
  command: "zero-trust <command>",
789
793
  description: "Inspect or override Cloudflare Zero Trust protection"
790
794
  },
795
+ {
796
+ command: "security <command>",
797
+ description: "Review security audit findings and settings"
798
+ },
791
799
  {
792
800
  command: "logs",
793
801
  description: "Show runtime logs from the deployed project"
@@ -916,35 +924,81 @@ const HELP_TREE = {
916
924
  },
917
925
  "zero-trust": {
918
926
  summary: "Inspect and manage Zero Trust protection for a Void platform project.",
919
- usage: ["void project zero-trust <status|protect|public|reconcile> [options]"],
920
- commands: [
921
- {
922
- command: "status",
923
- description: "Show desired and effective protection state"
924
- },
925
- {
926
- command: "protect",
927
- description: "Protect the project"
928
- },
929
- {
930
- command: "public",
931
- description: "Make the project public"
932
- },
933
- {
934
- command: "reconcile",
935
- description: "Repair Cloudflare Access configuration drift"
936
- }
937
- ],
938
- options: [{
939
- command: "--project <name>",
940
- description: "Project name override"
941
- }],
942
- children: Object.fromEntries([
943
- "status",
944
- "protect",
945
- "public",
946
- "reconcile"
947
- ].map((action) => [action, withProjectOption(action === "status" ? "Show desired and effective Zero Trust protection." : action === "protect" ? "Protect the project with the platform Access policy." : action === "public" ? "Make the project public with a managed Access bypass." : "Repair Cloudflare Access configuration drift for the project.", `void project zero-trust ${action} [options]`)]))
927
+ usage: ["void project zero-trust <status|protect|public|bypass|reconcile> [options]"],
928
+ commands: helpRows([
929
+ ["status", "Show desired and effective protection state"],
930
+ ["protect", "Protect the project"],
931
+ ["public", "Make the project public (may wait for a security scan)"],
932
+ ["bypass --reason \"<text>\"", "Skip the security scan for a waiting request (admin or owner)"],
933
+ ["reconcile", "Repair Cloudflare Access configuration drift"]
934
+ ]),
935
+ options: helpRows([
936
+ ["--project <name>", "Project name override"],
937
+ ["--json", "Print machine-readable output"],
938
+ ["--reason <text>", "bypass: why the scan is skipped (required)"],
939
+ ["--yes", "bypass: skip the confirmation prompt"]
940
+ ]),
941
+ children: {
942
+ ...Object.fromEntries([
943
+ ["status", "Show desired and effective Zero Trust protection and any open public request."],
944
+ ["protect", "Protect the project with the platform Access policy."],
945
+ ["public", "Make the project public with a managed Access bypass. When the platform scans projects before they go public, the project stays protected until the scan passes."]
946
+ ].map(([action, summary]) => [action, withProjectOption(summary, `void project zero-trust ${action} [options]`, true)])),
947
+ bypass: {
948
+ summary: "Skip the security scan for the open public request and make the project public. Not allowed while urgent findings are open. Platform admins are emailed with your reason, and the bypass is recorded.",
949
+ usage: ["void project zero-trust bypass --reason \"<text>\" [--yes] [options]"],
950
+ options: helpRows([
951
+ ["--reason <text>", "Why the scan is skipped (required)"],
952
+ ["--yes", "Skip the confirmation prompt (needed in CI)"],
953
+ ["--project <name>", "Project name override"],
954
+ ["--json", "Print machine-readable output"]
955
+ ])
956
+ },
957
+ reconcile: withProjectOption("Repair Cloudflare Access configuration drift for the project.", "void project zero-trust reconcile [options]", true)
958
+ }
959
+ },
960
+ security: {
961
+ summary: "Review security audit findings, scans, model and budget for a Void platform project.",
962
+ usage: ["void project security <command> [options]"],
963
+ commands: helpRows([
964
+ ["status", "Urgent findings, policy, model, budget and last scan"],
965
+ ["list", "List findings (--urgent, --state, --severity, --leads, --format sarif)"],
966
+ ["show <F-id>", "Show one finding with its history"],
967
+ ["comment <F-id> \"<text>\"", "Add a comment (collaborator or higher)"],
968
+ ["resolve <F-id>...", "Resolve findings with --reason and --comment"],
969
+ ["reopen <F-id>", "Reopen a resolved finding with --comment"],
970
+ ["severity <F-id> <level|scan>", "Set the severity of an open finding with --comment (scan: use the scan value)"],
971
+ ["scans", "Show scan history (--limit, up to 100)"],
972
+ ["scan", "Run a full scan of the live deployment (asks first; it costs money; --client-assets)"],
973
+ ["check [<check-id>]", "Scan the git-tracked code in this folder before you deploy (asks first; uploads it), or show an earlier check"],
974
+ ["model [<id> | --default]", "Show or set the scan model"],
975
+ ["budget [--usd N | --off]", "Show or set this project monthly scan budget"],
976
+ ["open", "Open the read-only security page (link works for 15 minutes)"]
977
+ ]),
978
+ options: helpRows([
979
+ ["--project <name>", "Project name override"],
980
+ ["--json", "Print machine-readable output"],
981
+ ["--urgent", "list: only urgent findings"],
982
+ ["--state <state>", "list: open, resolved or all (default: open)"],
983
+ ["--severity <level>", "list: critical, high, medium, low or informational"],
984
+ ["--leads", "list: include leads that need a human look"],
985
+ ["--format sarif", "list: print a SARIF 2.1.0 file for code scanning tools"],
986
+ ["--reason <reason>", "resolve: fixed, false-positive or accepted-risk"],
987
+ ["--comment <text>", "resolve, reopen, severity: why (up to 4,000 characters)"],
988
+ ["--limit <n>", "scans: how many scans, 1 to 100"],
989
+ ["--default", "model: use the platform default model"],
990
+ ["--accept-provider-notice", "model: accept the third-party provider notice"],
991
+ ["--usd <amount>", "budget: monthly cap in dollars"],
992
+ ["--off", "budget: clear this project own cap"],
993
+ ["--yes", "scan, check: start without the prompt"],
994
+ ["--no-wait", "check: queue it and return without waiting"],
995
+ ["--client-assets", "scan: also review client bundle sources from their source maps"]
996
+ ]),
997
+ examples: helpRows([
998
+ ["void project security list --urgent", "Show findings to fix first"],
999
+ ["void project security resolve F-12 --reason fixed --comment \"Bound params in 4e1b9a3\"", "Resolve a finding"],
1000
+ ["void project security check", "Check the code in this folder before you deploy it"]
1001
+ ])
948
1002
  },
949
1003
  logs: {
950
1004
  summary: "Show runtime logs from the deployed project.",
@@ -1233,7 +1287,7 @@ const HELP_TREE = {
1233
1287
  }]
1234
1288
  },
1235
1289
  setup: {
1236
- summary: "Set email up on your own Cloudflare account: enable Email Routing, onboard Email Sending, and record send_email + addresses in the Cloudflare config managed by Void. Asks once before changing the account.",
1290
+ summary: "Set up Email Sending on your own Cloudflare account, plus Email Routing when the app has email/ handlers. Save the binding, sender, and handler addresses in the Cloudflare config managed by Void. Asks once before changing the account.",
1237
1291
  usage: ["void email setup --platform cloudflare"],
1238
1292
  options: [{
1239
1293
  command: "--platform cloudflare",
@@ -1515,13 +1569,20 @@ const HELP_TREE = {
1515
1569
  execute: {
1516
1570
  summary: "Run SQL against the database (local by default; use --remote for the deployed database).",
1517
1571
  usage: ["void db execute <sql>", "void db execute --file <path>"],
1518
- options: [{
1519
- command: "--file <path>",
1520
- description: "Run SQL from a file instead"
1521
- }, {
1522
- command: "--remote",
1523
- description: "Run against the deployed database (D1 via proxy; PostgreSQL via direct connection)"
1524
- }],
1572
+ options: [
1573
+ {
1574
+ command: "--file <path>",
1575
+ description: "Run SQL from a file instead"
1576
+ },
1577
+ {
1578
+ command: "--remote",
1579
+ description: "Run against the deployed database (D1 via proxy; PostgreSQL via direct connection)"
1580
+ },
1581
+ {
1582
+ command: "--yes",
1583
+ description: "Skip the confirmation prompt for --remote"
1584
+ }
1585
+ ],
1525
1586
  examples: [
1526
1587
  {
1527
1588
  command: "void db execute \"select * from users\"",
@@ -1779,20 +1840,29 @@ function basicSubcommand(summary, usage, example) {
1779
1840
  }] : void 0
1780
1841
  };
1781
1842
  }
1782
- function withProjectOption(summary, usage) {
1843
+ function helpRows(rows) {
1844
+ return rows.map(([command, description]) => ({
1845
+ command,
1846
+ description
1847
+ }));
1848
+ }
1849
+ function withProjectOption(summary, usage, json = false) {
1783
1850
  return {
1784
1851
  summary,
1785
1852
  usage: [usage],
1786
1853
  options: [{
1787
1854
  command: "--project <name>",
1788
1855
  description: "Project name override"
1789
- }]
1856
+ }, ...json ? [{
1857
+ command: "--json",
1858
+ description: "Print machine-readable output"
1859
+ }] : []]
1790
1860
  };
1791
1861
  }
1792
1862
  function lifecycleHelp(command, summary) {
1793
1863
  return {
1794
1864
  summary,
1795
- usage: [`void platform ${command} [id] [--plan]${command === "disable" ? "" : " [--runtime <path>]"}${command === "upgrade" || command === "repair" ? " [--dashboard-url <origin>] [--custom-domains]" : ""}${command === "upgrade" ? " [--runtime-logs <full|minimal>] [--storage-location <hint|automatic>]" : ""}${command === "repair" ? " [--auth-config <path>]" : ""} [--yes]`],
1865
+ usage: [`void platform ${command} [id] [--plan]${command === "disable" ? "" : " [--runtime <path>]"}${command === "upgrade" || command === "repair" ? " [--dashboard-url <origin>] [--custom-domains] [--security-audits]" : ""}${command === "upgrade" ? " [--runtime-logs <full|minimal>] [--storage-location <hint|automatic>]" : ""}${command === "repair" ? " [--auth-config <path>]" : ""} [--yes]`],
1796
1866
  options: [
1797
1867
  {
1798
1868
  command: "--plan",
@@ -1802,13 +1872,20 @@ function lifecycleHelp(command, summary) {
1802
1872
  command: "--runtime <path>",
1803
1873
  description: "Deploy an integrity-checked runtime directory instead of the package"
1804
1874
  }],
1805
- ...command === "upgrade" || command === "repair" ? [{
1806
- command: "--dashboard-url <origin>",
1807
- description: "Configure a separately deployed dashboard; omission keeps its saved origin"
1808
- }, {
1809
- command: "--custom-domains",
1810
- description: "Turn on project custom domains; omission keeps the saved setting"
1811
- }] : [],
1875
+ ...command === "upgrade" || command === "repair" ? [
1876
+ {
1877
+ command: "--dashboard-url <origin>",
1878
+ description: "Configure a separately deployed dashboard; omission keeps its saved origin"
1879
+ },
1880
+ {
1881
+ command: "--custom-domains",
1882
+ description: "Turn on project custom domains; omission keeps the saved setting"
1883
+ },
1884
+ {
1885
+ command: "--security-audits",
1886
+ description: "Allow security audits (needs Containers and Workers AI); omission keeps the saved setting"
1887
+ }
1888
+ ] : [],
1812
1889
  ...command === "upgrade" ? [{
1813
1890
  command: "--runtime-logs <full|minimal>",
1814
1891
  description: "minimal keeps request URLs, console and exception messages out of runtime logs; omission keeps the saved setting"
@@ -0,0 +1 @@
1
+ export { r as printHelpPage } from "./help-9wfMyXHb.mjs";
@@ -22,8 +22,8 @@ interface SendEmailOptions {
22
22
  * Sender envelope address. Optional. When omitted, `void dev` and
23
23
  * `void deploy --platform cloudflare` use `email.from` from void.config.ts,
24
24
  * and a Void platform deploy uses `<project-slug>+noreply@<mail-domain>`.
25
- * Without either, `sendEmail` returns `INVALID_FROM`; it never falls back
26
- * to a baked-in domain.
25
+ * Without either, `sendEmail` returns `INVALID_FROM` if a transport is available
26
+ * or `BINDING_MISSING` if none is configured. It never falls back to a baked-in domain.
27
27
  */
28
28
  from?: Address;
29
29
  to: Address | Array<Address>;
@@ -36,6 +36,11 @@ interface SendEmailOptions {
36
36
  /** Custom headers. Reserved names such as `From`, `Date` and the threading headers are ignored. */
37
37
  headers?: Record<string, string>;
38
38
  attachments?: Array<Attachment>;
39
+ /** An iCalendar invitation or cancellation with a matching METHOD property. */
40
+ calendar?: {
41
+ method: "REQUEST" | "CANCEL";
42
+ content: string;
43
+ };
39
44
  /**
40
45
  * Threads this email under an earlier message, such as a reply sent from a
41
46
  * queue job after the inbound handler returned. `inReplyTo` is the parent's
@@ -157,6 +162,7 @@ interface NormalizedEmail {
157
162
  html?: string;
158
163
  headers: Record<string, string>;
159
164
  attachments: Array<NormalizedAttachment>;
165
+ calendar?: SendEmailOptions["calendar"];
160
166
  /**
161
167
  * `In-Reply-To` / `References` after the ids were checked, from the
162
168
  * `threading` option or `replyEmail`. User-supplied `headers` with these
@@ -228,7 +234,7 @@ interface EmailEnvelope {
228
234
  type EmailAction = EmailWireAction;
229
235
  interface MessageProxy {
230
236
  message: ForwardableEmailMessage;
231
- getActions(): Array<EmailAction>;
237
+ getActions(this: void): Array<EmailAction>;
232
238
  }
233
239
  interface CreateMessageProxyOptions {
234
240
  /**
@@ -1,6 +1,6 @@
1
1
  import { t as base64ToBytes } from "./base64-DwTR12ej.mjs";
2
- import { a as getRawRuntimeEnv } from "./raw-7pQirZpQ.mjs";
3
- import { a as normalizeEmail, c as fitsHeaderLine, l as replyReferences, n as MimeError, r as buildMime, s as validateAddressParts, u as threadingId } from "./mime-BGoZ8ZLL.mjs";
2
+ import { a as getRawRuntimeEnv } from "./raw-5rak34QN.mjs";
3
+ import { a as normalizeEmail, c as fitsHeaderLine, l as replyReferences, n as MimeError, r as buildMime, s as validateAddressParts, u as threadingId } from "./mime-Btw9R3CC.mjs";
4
4
  import { o as withTimeout } from "./protocol-ChF3kDjf.mjs";
5
5
  import { EMAIL_MAX_ACTIONS, EMAIL_MAX_INBOUND_BYTES, EMAIL_MAX_INBOUND_HEADERS, EMAIL_MAX_METADATA_BYTES, EMAIL_MAX_REPLY_BYTES, EMAIL_MAX_RESPONSE_BYTES } from "@void/platform/email-protocol";
6
6
  // src/runtime/email/inbound.ts
@@ -136,7 +136,7 @@ function assertForwardHeadersWithinBounds(headers) {
136
136
  function normalizeRejectReason(reason) {
137
137
  const raw = typeof reason === "string" ? reason : "";
138
138
  if (raw.length === 0) return "rejected by handler";
139
- return raw.slice(0, MAX_REJECT_REASON_LENGTH).replace(/[\x00-\x1f\x7f]+/g, " ");
139
+ return raw.slice(0, MAX_REJECT_REASON_LENGTH).replaceAll(/[\u0000-\u001f\u007f]+/g, " ");
140
140
  }
141
141
  async function readStreamToBytes(stream, limit = Infinity, onOverflow = replyTooLarge) {
142
142
  const reader = stream.getReader();
@@ -357,10 +357,10 @@ const MAX_REPLY_SUBJECT_CHARS = 4096;
357
357
  function prefixReplySubject(original) {
358
358
  const decoded = decodeRfc2047(original);
359
359
  if (decoded.length > MAX_REPLY_SUBJECT_CHARS) return "Re:";
360
- const cleaned = decoded.replace(/[\x00-\x1f\x7f]+/g, " ").replace(/ {2,}/g, " ").trim();
360
+ const cleaned = decoded.replaceAll(/[\u0000-\u001f\u007f]+/g, " ").replaceAll(/ {2,}/g, " ").trim();
361
361
  if (!cleaned) return "Re:";
362
362
  const prefixed = /^re:/i.test(cleaned) ? cleaned : `Re: ${cleaned}`;
363
- if (/^[\x20-\x7e]*$/.test(prefixed) && !fitsHeaderLine("Subject", prefixed)) return "Re:";
363
+ if (/^[\u0020-\u007e]*$/.test(prefixed) && !fitsHeaderLine("Subject", prefixed)) return "Re:";
364
364
  return prefixed;
365
365
  }
366
366
  /**
@@ -377,7 +377,7 @@ function decodeRfc2047(value) {
377
377
  const bytes = enc.toUpperCase() === "B" ? base64ToBytes(payload) : quotedPrintableDecode(payload);
378
378
  let decoder;
379
379
  try {
380
- decoder = new TextDecoder(charset || "utf-8", { fatal: false });
380
+ decoder = new TextDecoder(charset || "utf8", { fatal: false });
381
381
  } catch {
382
382
  decoder = new TextDecoder("utf-8", { fatal: false });
383
383
  }
@@ -399,7 +399,7 @@ function quotedPrintableDecode(qp) {
399
399
  else if (ch === 61 && i + 2 < qp.length) {
400
400
  const hex = qp.slice(i + 1, i + 3);
401
401
  if (/^[0-9A-Fa-f]{2}$/.test(hex)) {
402
- out[kept++] = parseInt(hex, 16);
402
+ out[kept++] = Number.parseInt(hex, 16);
403
403
  i += 2;
404
404
  } else out[kept++] = ch;
405
405
  } else out[kept++] = ch;
@@ -1,5 +1,5 @@
1
1
  import { i as AuthUser } from "./index-CV9kXHKe.mjs";
2
- import { a as CloudEnv, r as CloudContext } from "./index-BXdP39qx.mjs";
2
+ import { a as CloudEnv, r as CloudContext } from "./index-Dn2mkPr2.mjs";
3
3
  type MaybePromise<T> = T | Promise<T>;
4
4
  type LiveControlRequest = {
5
5
  connectionId: string;
@@ -1,6 +1,6 @@
1
1
  import { t as StandardSchemaV1 } from "./standard-schema-CuDawHOC.mjs";
2
2
  import { i as AuthUser } from "./index-CV9kXHKe.mjs";
3
- import { a as CloudEnv } from "./index-BXdP39qx.mjs";
3
+ import { a as CloudEnv } from "./index-Dn2mkPr2.mjs";
4
4
  import { WebSocketRouteMap } from "void/routes";
5
5
  type MaybePromise<T> = T | Promise<T>;
6
6
  type ParamsRecord = Record<string, string>;
@@ -92,7 +92,7 @@ type RoomHooks<ClientSchema extends StandardSchemaV1, ServerSchema extends Stand
92
92
  interface RoomDefinitionInput<ClientSchema extends StandardSchemaV1, ServerSchema extends StandardSchemaV1, Actions extends RoomActions> extends RoomHooks<ClientSchema, ServerSchema> {
93
93
  readonly actions: Actions;
94
94
  }
95
- interface RoomDefinition<ClientSchema extends StandardSchemaV1 = StandardSchemaV1, ServerSchema extends StandardSchemaV1 = StandardSchemaV1, Actions extends RoomActions = {}> extends RoomHooks<ClientSchema, ServerSchema> {
95
+ interface RoomDefinition<ClientSchema extends StandardSchemaV1 = StandardSchemaV1, ServerSchema extends StandardSchemaV1 = StandardSchemaV1, Actions extends RoomActions = Record<never, never>> extends RoomHooks<ClientSchema, ServerSchema> {
96
96
  readonly __kind: "room";
97
97
  readonly actions?: Actions;
98
98
  }
@@ -44,7 +44,8 @@ declare class VoidPlatformSandbox<Env = unknown> extends SandboxContainer<Env> {
44
44
  }
45
45
  /** Resolve a container by name. Starts on the first command, file or port operation. */
46
46
  declare function getSandbox(id?: string, options?: VoidSandboxOptions): Promise<SandboxClient>;
47
- declare const sandbox: {
47
+ type SandboxFactory = {
48
48
  get: typeof getSandbox;
49
49
  };
50
+ declare const sandbox: SandboxFactory;
50
51
  export { SandboxFiles as a, SandboxUnavailableError as c, __setSandboxBindingName as d, getSandbox as f, SandboxClient as i, VoidPlatformSandbox as l, DEFAULT_SANDBOX_ID as n, SandboxLimitError as o, sandbox as p, SANDBOX_SERVICE_BINDING as r, SandboxProcess as s, DEFAULT_SANDBOX_BINDING as t, VoidSandboxOptions as u };
@@ -1,18 +1,12 @@
1
- import { l as VoidPlatformSandbox } from "./index-BESZTC1z.mjs";
2
- import { n as HeadDescriptor, t as HeadConfig } from "./head-CVO92KEx.mjs";
1
+ import { l as VoidPlatformSandbox } from "./index-BYcWajVp.mjs";
2
+ import { t as HeadConfig } from "./head-fUp8n_QJ.mjs";
3
3
  import { i as AuthUser, n as AuthSession } from "./index-CV9kXHKe.mjs";
4
- import { u as TypedRoutes } from "./route-url-Di1kB8D_.mjs";
4
+ import { u as TypedRoutes } from "./route-url-Bd6IX-JZ.mjs";
5
5
  import { t as DevCssAsset } from "./types-FDH6NuY1.mjs";
6
6
  import { t as StandardSchemaV1 } from "./standard-schema-CuDawHOC.mjs";
7
7
  import { Context, Env, ExecutionContext as ExecutionContext$1, MiddlewareHandler, Next, TypedResponse } from "hono";
8
8
  import { RewriteDestination, RouteDestination, RouteUrl, RouteUrlInput } from "void/routes";
9
9
  import { RedirectStatusCode } from "hono/utils/http-status";
10
- type ClientAssetTags = {
11
- css: string;
12
- preloads: string;
13
- body: string;
14
- devCss?: Array<DevCssAsset>;
15
- };
16
10
  type ClientManifest = Record<string, {
17
11
  file?: string;
18
12
  imports?: Array<string>;
@@ -20,6 +14,12 @@ type ClientManifest = Record<string, {
20
14
  /** Build-proven fingerprinted outputs; absent in older/third-party manifests. */
21
15
  immutableFiles?: Array<string>;
22
16
  }>;
17
+ type ClientAssetTags = {
18
+ css: string;
19
+ preloads: string;
20
+ body: string;
21
+ devCss?: Array<DevCssAsset>;
22
+ };
23
23
  type ManifestLoader = (request: Request, env: RuntimeEnvironment) => Promise<ClientManifest | null>;
24
24
  declare function createManifestLoader(): ManifestLoader;
25
25
  type ClientAssetOptions = {
@@ -36,7 +36,7 @@ type ClientAssetOptions = {
36
36
  kind: "pages" | "islands";
37
37
  componentId: string;
38
38
  rootPhases: Array<Array<string>>;
39
- }) => Promise<unknown>;
39
+ }) => Promise<Array<DevCssAsset>>;
40
40
  };
41
41
  /** Frameworks supply only client entry IDs and active layout/page roots. */
42
42
  declare function createClientAssetTags(options: ClientAssetOptions, loadManifest?: ManifestLoader): (request: Request, env: RuntimeEnvironment, componentId?: string) => Promise<ClientAssetTags>;
@@ -295,12 +295,13 @@ type TypedQueueHandler<T = unknown> = {
295
295
  (batch: QueueBatch<T>, env: CloudEnv["Bindings"]): void | Promise<void>;
296
296
  readonly __payload: T;
297
297
  };
298
+ type NoValidators = Pick<ValidatorSlots, never>;
298
299
  /**
299
300
  * A typed handler with phantom type carriers for validators and return type.
300
301
  * `__validators` and `__output` exist at the type level only —
301
302
  * TypeScript's `typeof import(...)` reads them for codegen.
302
303
  */
303
- type TypedHandler<V extends ValidatorSlots = {}, R = unknown> = {
304
+ type TypedHandler<V extends ValidatorSlots = NoValidators, R = unknown> = {
304
305
  (c: CloudContext): Promise<Response> | Response | unknown | Promise<unknown>;
305
306
  readonly __validators: V;
306
307
  readonly __output: R;
@@ -311,18 +312,18 @@ type TypedHandler<V extends ValidatorSlots = {}, R = unknown> = {
311
312
  * Single argument: identity wrapper.
312
313
  * Multiple arguments: middleware chain + final handler, composed at runtime.
313
314
  */
314
- declare function defineHandler<R>(handler: LoaderFn<R>): TypedHandler<{}, Exclude<Awaited<R>, Response>>;
315
+ declare function defineHandler<R>(handler: LoaderFn<R>): TypedHandler<NoValidators, Exclude<Awaited<R>, Response>>;
315
316
  declare function defineHandler<V extends ValidatorSlots, R>(...args: [MiddlewareFn, ...Array<MiddlewareFn>, TypedHandler<V, R>]): TypedHandler<V, R>;
316
- declare function defineHandler<R>(firstMiddleware: MiddlewareFn, handler: LoaderFn<R>): TypedHandler<{}, Exclude<Awaited<R>, Response>>;
317
- declare function defineHandler<F extends HandlerFn>(firstMiddleware: MiddlewareFn, handler: F): TypedHandler<{}, LoaderOutput<F>>;
318
- declare function defineHandler<R>(firstMiddleware: MiddlewareFn, secondMiddleware: MiddlewareFn, handler: LoaderFn<R>): TypedHandler<{}, Exclude<Awaited<R>, Response>>;
319
- declare function defineHandler<F extends HandlerFn>(firstMiddleware: MiddlewareFn, secondMiddleware: MiddlewareFn, handler: F): TypedHandler<{}, LoaderOutput<F>>;
320
- declare function defineHandler<R>(firstMiddleware: MiddlewareFn, secondMiddleware: MiddlewareFn, thirdMiddleware: MiddlewareFn, handler: LoaderFn<R>): TypedHandler<{}, Exclude<Awaited<R>, Response>>;
321
- declare function defineHandler<F extends HandlerFn>(firstMiddleware: MiddlewareFn, secondMiddleware: MiddlewareFn, thirdMiddleware: MiddlewareFn, handler: F): TypedHandler<{}, LoaderOutput<F>>;
322
- declare function defineHandler<R>(firstMiddleware: MiddlewareFn, secondMiddleware: MiddlewareFn, thirdMiddleware: MiddlewareFn, fourthMiddleware: MiddlewareFn, handler: LoaderFn<R>): TypedHandler<{}, Exclude<Awaited<R>, Response>>;
323
- declare function defineHandler<F extends HandlerFn>(firstMiddleware: MiddlewareFn, secondMiddleware: MiddlewareFn, thirdMiddleware: MiddlewareFn, fourthMiddleware: MiddlewareFn, handler: F): TypedHandler<{}, LoaderOutput<F>>;
324
- declare function defineHandler<R>(firstMiddleware: MiddlewareFn, secondMiddleware: MiddlewareFn, thirdMiddleware: MiddlewareFn, fourthMiddleware: MiddlewareFn, fifthMiddleware: MiddlewareFn, handler: LoaderFn<R>): TypedHandler<{}, Exclude<Awaited<R>, Response>>;
325
- declare function defineHandler<F extends HandlerFn>(firstMiddleware: MiddlewareFn, secondMiddleware: MiddlewareFn, thirdMiddleware: MiddlewareFn, fourthMiddleware: MiddlewareFn, fifthMiddleware: MiddlewareFn, handler: F): TypedHandler<{}, LoaderOutput<F>>;
317
+ declare function defineHandler<R>(firstMiddleware: MiddlewareFn, handler: LoaderFn<R>): TypedHandler<NoValidators, Exclude<Awaited<R>, Response>>;
318
+ declare function defineHandler<F extends HandlerFn>(firstMiddleware: MiddlewareFn, handler: F): TypedHandler<NoValidators, LoaderOutput<F>>;
319
+ declare function defineHandler<R>(firstMiddleware: MiddlewareFn, secondMiddleware: MiddlewareFn, handler: LoaderFn<R>): TypedHandler<NoValidators, Exclude<Awaited<R>, Response>>;
320
+ declare function defineHandler<F extends HandlerFn>(firstMiddleware: MiddlewareFn, secondMiddleware: MiddlewareFn, handler: F): TypedHandler<NoValidators, LoaderOutput<F>>;
321
+ declare function defineHandler<R>(firstMiddleware: MiddlewareFn, secondMiddleware: MiddlewareFn, thirdMiddleware: MiddlewareFn, handler: LoaderFn<R>): TypedHandler<NoValidators, Exclude<Awaited<R>, Response>>;
322
+ declare function defineHandler<F extends HandlerFn>(firstMiddleware: MiddlewareFn, secondMiddleware: MiddlewareFn, thirdMiddleware: MiddlewareFn, handler: F): TypedHandler<NoValidators, LoaderOutput<F>>;
323
+ declare function defineHandler<R>(firstMiddleware: MiddlewareFn, secondMiddleware: MiddlewareFn, thirdMiddleware: MiddlewareFn, fourthMiddleware: MiddlewareFn, handler: LoaderFn<R>): TypedHandler<NoValidators, Exclude<Awaited<R>, Response>>;
324
+ declare function defineHandler<F extends HandlerFn>(firstMiddleware: MiddlewareFn, secondMiddleware: MiddlewareFn, thirdMiddleware: MiddlewareFn, fourthMiddleware: MiddlewareFn, handler: F): TypedHandler<NoValidators, LoaderOutput<F>>;
325
+ declare function defineHandler<R>(firstMiddleware: MiddlewareFn, secondMiddleware: MiddlewareFn, thirdMiddleware: MiddlewareFn, fourthMiddleware: MiddlewareFn, fifthMiddleware: MiddlewareFn, handler: LoaderFn<R>): TypedHandler<NoValidators, Exclude<Awaited<R>, Response>>;
326
+ declare function defineHandler<F extends HandlerFn>(firstMiddleware: MiddlewareFn, secondMiddleware: MiddlewareFn, thirdMiddleware: MiddlewareFn, fourthMiddleware: MiddlewareFn, fifthMiddleware: MiddlewareFn, handler: F): TypedHandler<NoValidators, LoaderOutput<F>>;
326
327
  /**
327
328
  * Create a handler with input validation using Standard Schema validators.
328
329
  *
@@ -365,7 +366,7 @@ declare function defineRender(handler: RenderFn): RenderFn;
365
366
  * Identity function that provides type inference for page `head()` exports.
366
367
  * At runtime it simply returns the function passed to it.
367
368
  */
368
- declare function defineHead<P = Record<string, unknown>>(handler: (c: CloudContext, props: P) => HeadDescriptor | undefined): (c: CloudContext, props: P) => HeadDescriptor | undefined;
369
+ declare function defineHead<P = Record<string, unknown>>(handler: (c: CloudContext, props: P) => HeadConfig | undefined): (c: CloudContext, props: P) => HeadConfig | undefined;
369
370
  /**
370
371
  * Identity function that provides type inference for queue consumers.
371
372
  * At runtime it simply returns the function passed to it.
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
- import { C as defer, E as ValidatorSlots, S as InferProps, T as HandlerInput, _ as defineQueue, a as CloudEnv, b as Deferred, c as QueueRetryOptions, d as TypedQueueHandler, f as VoidAssetRewriteError, g as defineMiddleware, h as defineHead, i as CloudContextVariables, l as RenderAssetTags, m as defineHandler, n as CloudBindings, o as QueueBatch, p as basicAuth, r as CloudContext, s as QueueMessage, t as BasicAuthOptions, u as TypedHandler, v as defineRender, x as DeferredState, y as defineScheduled } from "./index-BXdP39qx.mjs";
1
+ import { C as defer, E as ValidatorSlots, S as InferProps, T as HandlerInput, _ as defineQueue, a as CloudEnv, b as Deferred, c as QueueRetryOptions, d as TypedQueueHandler, f as VoidAssetRewriteError, g as defineMiddleware, h as defineHead, i as CloudContextVariables, l as RenderAssetTags, m as defineHandler, n as CloudBindings, o as QueueBatch, p as basicAuth, r as CloudContext, s as QueueMessage, t as BasicAuthOptions, u as TypedHandler, v as defineRender, x as DeferredState, y as defineScheduled } from "./index-Dn2mkPr2.mjs";
2
2
  import { i as AuthUser } from "./index-CV9kXHKe.mjs";
3
3
  import { t as QueueMap } from "./index-DdM42xXW.mjs";
4
- import { n as HeadDescriptor, t as HeadConfig } from "./head-CVO92KEx.mjs";
4
+ import { n as HeadDescriptor, t as HeadConfig } from "./head-fUp8n_QJ.mjs";
5
5
  import { l as RouteEnvironment } from "./types-FDH6NuY1.mjs";
6
6
  import { Plugin } from "vite";
7
7
  import { convertToWranglerConfig } from "@cloudflare/config";