void 1.7.0 → 1.9.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 (314) hide show
  1. package/dist/{account-cmd-BfkJ_1PC.mjs → account-cmd-BEMOdwtl.mjs} +5 -5
  2. package/dist/{application-analysis-OV0CBJ80.mjs → application-analysis-3VVsflWZ.mjs} +28 -8
  3. package/dist/{application-routing-QpyC5G8z.mjs → application-routing-CJRlXCc2.mjs} +1 -1
  4. package/dist/{auth-CZrthGxs.d.mts → auth-CV9kXHKe.d.mts} +4 -2
  5. package/dist/{auth-DyWp-fSo.mjs → auth-aMuFOZeI.mjs} +8 -2
  6. package/dist/{auth-link-CW1Zh6FM.mjs → auth-link-B1IynRW5.mjs} +5 -5
  7. package/dist/{auth-router-CNBKnEZi.mjs → auth-router-DVaWJdRB.mjs} +3 -3
  8. package/dist/{better-auth-shared-CdVyCUou.mjs → better-auth-shared-C7LHvF4L.mjs} +1 -1
  9. package/dist/{better-auth-shared-C-0uZg8-.d.mts → better-auth-shared-ajs3LNrY.d.mts} +2 -2
  10. package/dist/boundary-plans-CRmWH68v.d.mts +25 -0
  11. package/dist/{build-cmd-C9qOKW9W.mjs → build-cmd-Dq8tdqQG.mjs} +4 -4
  12. package/dist/{cache-DVBBbWQL.mjs → cache-DGMnskX7.mjs} +4 -4
  13. package/dist/{cancel-deploy-COavnjud.mjs → cancel-deploy-96S5hD1E.mjs} +3 -3
  14. package/dist/cli/cli.mjs +1 -1
  15. package/dist/cli/cloudflare-operation-process.mjs +92 -19
  16. package/dist/cli/env-schema-probe.d.mts +1 -1
  17. package/dist/cli/env-schema-probe.mjs +3 -3
  18. package/dist/{cli-main-DFteHrJI.mjs → cli-main-CQRLxZAu.mjs} +32 -32
  19. package/dist/client-66c0RLDM.mjs +1 -0
  20. package/dist/{client-BEZmTP6p.mjs → client-D6w5x7hM.mjs} +7 -7
  21. package/dist/{cloudflare-auth-DGIivpTb.mjs → cloudflare-auth-pNvmT6kL.mjs} +1 -1
  22. package/dist/{cloudflare-cmd-DJaxC-bc.mjs → cloudflare-cmd-BuuHUM4z.mjs} +5 -5
  23. package/dist/{cloudflare-config-DtOGAbeB.mjs → cloudflare-config-PxbinLLE.mjs} +2 -2
  24. package/dist/{cloudflare-connect-BjpWmglw.mjs → cloudflare-connect-D1QOosLd.mjs} +3 -3
  25. package/dist/{cloudflare-operations-k7wYUv56.mjs → cloudflare-operations-G5AObYzF.mjs} +6 -6
  26. package/dist/{cloudflare-operations-CZkjFrzH.mjs → cloudflare-operations-I4t3mt4R.mjs} +1 -1
  27. package/dist/{cloudflare-process-BcPvlMFd.mjs → cloudflare-process-wcnaQ5JG.mjs} +2 -2
  28. package/dist/{config-wo2EaH0X.mjs → config-C1DPf8EK.mjs} +1 -1
  29. package/dist/{config-CTlUaXWZ.d.mts → config-CCWVY7DY.d.mts} +1 -1
  30. package/dist/{config-5oSQhZNj.mjs → config-CzFdJYNA.mjs} +1 -1
  31. package/dist/{config-DcqUBGCb.mjs → config-DlWQ_hIJ.mjs} +3 -3
  32. package/dist/{config-eeDzKBS9.mjs → config-Do7gJI3T.mjs} +2 -2
  33. package/dist/config-entry.d.mts +1 -1
  34. package/dist/{connect-j1F1C_rW.mjs → connect-4uImOwut.mjs} +6 -6
  35. package/dist/{create-project-CE3jOmd5.mjs → create-project-BaUzZnLZ.mjs} +4 -4
  36. package/dist/{create-project-DZH3aYGQ.mjs → create-project-CQMyzTvK.mjs} +1 -1
  37. package/dist/{db-DyLzzxvM.mjs → db-DEpDeDsi.mjs} +22 -22
  38. package/dist/{db-types-DdHHUVPy.mjs → db-types-BpPYAx0B.mjs} +4 -2
  39. package/dist/{delete-Dey6YoMA.mjs → delete-BVD2kI82.mjs} +4 -4
  40. package/dist/deploy-Dr_Qamzw.mjs +2 -0
  41. package/dist/{deploy-Ccw2D2lw.mjs → deploy-Dyeo5soA.mjs} +40 -81
  42. package/dist/{deploy-managed-static-BBVtpuGv.mjs → deploy-managed-static-Kn73R83A.mjs} +22 -22
  43. package/dist/{deploy-transport-Dt0IvSVW.mjs → deploy-transport-BpKBs_KR.mjs} +3 -3
  44. package/dist/deploy.mjs +6 -6
  45. package/dist/discover-Diq0l6TZ.mjs +1 -0
  46. package/dist/{discover-CVFCWU7W.mjs → discover-Vd18lHsj.mjs} +1 -1
  47. package/dist/{dispatch-pYaww76u.mjs → dispatch-BBfb519j.mjs} +8 -8
  48. package/dist/{dist-DeTdhbZc.mjs → dist-Cp4b1_T9.mjs} +1 -1
  49. package/dist/{dist-BQdgCVQF.mjs → dist-STQXl8ck.mjs} +86 -138
  50. package/dist/{domain-Dh3mG8Vs.mjs → domain-BTIdyUVk.mjs} +5 -5
  51. package/dist/{drizzle-C8MPqt5m.mjs → drizzle-D4V_06-B.mjs} +1 -1
  52. package/dist/{drizzle-lFdzSEa9.mjs → drizzle-DBSpPpU1.mjs} +34 -8
  53. package/dist/{email-DKyMjOYM.mjs → email-DvrS-I0U.mjs} +10 -10
  54. package/dist/{email-cloudflare-CTt2n_W2.mjs → email-cloudflare-DAGpgzY1.mjs} +16 -11
  55. package/dist/{entry-Bw-G1VVx.mjs → entry-DMgR7XOf.mjs} +2 -2
  56. package/dist/{env-DkZzh_Dd.mjs → env-D7vORwpn.mjs} +6 -6
  57. package/dist/{env-CuzZZyjB.mjs → env-UqS-21xi.mjs} +8 -1
  58. package/dist/{env-public-CeNeO_AT.d.mts → env-public-DtJL_hZq.d.mts} +8 -7
  59. package/dist/{env-types-Dz9qkiOn.mjs → env-types-WEZw5D-r.mjs} +1 -1
  60. package/dist/{env-validation-C8NL3lEH.mjs → env-validation-DKDcpxbt.mjs} +1 -1
  61. package/dist/{env-validation-1snjKtDX.mjs → env-validation-DeYNRp1d.mjs} +5 -5
  62. package/dist/{gen-BZmFOGDQ.mjs → gen-DimkGNve.mjs} +6 -6
  63. package/dist/gen-DmEeVEs4.mjs +1 -0
  64. package/dist/{github-cmd-7Oky9qgH.mjs → github-cmd-D-zs6VQr.mjs} +4 -4
  65. package/dist/{handler-DjqciiDc.d.mts → handler-6fzr_ikp.d.mts} +5 -4
  66. package/dist/{head-MeF_5M_3.d.mts → head-CVO92KEx.d.mts} +14 -3
  67. package/dist/{head-5XPcnG-j.mjs → head-CWJhfUwV.mjs} +62 -3
  68. package/dist/{headers-CimYIfQI.mjs → headers-Q0kZDpk8.mjs} +11 -2
  69. package/dist/{help-CNuUb47C.mjs → help-Cgdcd-SG.mjs} +6 -6
  70. package/dist/help-Cp3K5m1w.mjs +1 -0
  71. package/dist/index.d.mts +5 -5
  72. package/dist/index.mjs +257 -188
  73. package/dist/{info-DwB8IWIx.mjs → info-BbxQ34kk.mjs} +4 -4
  74. package/dist/{init-CUGSmcED.mjs → init-zyRj3QRw.mjs} +19 -20
  75. package/dist/{link-BlRTGHan.mjs → link-DAFXuIER.mjs} +5 -5
  76. package/dist/{list-iCg7d5Pa.mjs → list-BTIcC3W9.mjs} +5 -5
  77. package/dist/{live-zKGbRT4h.d.mts → live-DBybyDt0.d.mts} +2 -2
  78. package/dist/{live-CYJ4KGoR.mjs → live-Dw7NF1t2.mjs} +1 -1
  79. package/dist/load-user-env-ztmIyiLx.mjs +34 -0
  80. package/dist/{local-d1-CFcH9Bx3.mjs → local-d1-BnVb7Fem.mjs} +1 -1
  81. package/dist/login-DBs8JuSl.mjs +1 -0
  82. package/dist/{login-TA51e5Fw.mjs → login-DOE-MkeK.mjs} +4 -4
  83. package/dist/{logs-BlyAxlvx.mjs → logs-CUsjihc3.mjs} +4 -4
  84. package/dist/migrate-BYhoIK9R.mjs +1 -0
  85. package/dist/{migrate-BH6LCr00.mjs → migrate-DtoKdGas.mjs} +6 -6
  86. package/dist/nitro.mjs +3 -3
  87. package/dist/{node-B0otYjDv.mjs → node-D9dPyUr0.mjs} +4 -4
  88. package/dist/operator-ai-logging-DFTEp81Z.mjs +121 -0
  89. package/dist/{operator-args-DuKAQ3Ks.mjs → operator-args-BCCohcz3.mjs} +10 -1
  90. package/dist/{operator-cmd-CoHlJjcT.mjs → operator-cmd-CQOQrUiO.mjs} +27 -7
  91. package/dist/operator-cmd-xCACDtT1.mjs +1 -0
  92. package/dist/output-BsdnNpxa.mjs +1 -0
  93. package/dist/{output-CXJTIAtF.mjs → output-DNVILSz2.mjs} +1 -1
  94. package/dist/pages/client.d.mts +28 -3
  95. package/dist/pages/client.mjs +146 -27
  96. package/dist/pages/head.d.mts +2 -2
  97. package/dist/pages/head.mjs +1 -1
  98. package/dist/pages/index.d.mts +5 -4
  99. package/dist/pages/index.mjs +5 -5
  100. package/dist/pages/islands-plugin.d.mts +6 -2
  101. package/dist/pages/islands-plugin.mjs +18 -3
  102. package/dist/pages/protocol.d.mts +2 -2
  103. package/dist/pages/protocol.mjs +1 -1
  104. package/dist/platform-args-DSi4_M8n.mjs +1 -0
  105. package/dist/{platform-args-DfT8yQBF.mjs → platform-args-DtpHS_75.mjs} +1 -1
  106. package/dist/{platform-auth-config-MO0VdVs9.mjs → platform-auth-config-fLwIS5VG.mjs} +6 -6
  107. package/dist/{platform-auth-protection-Dv208eyL.mjs → platform-auth-protection-BTRI_YwD.mjs} +4 -4
  108. package/dist/{platform-auth-recovery-DvAQ674F.mjs → platform-auth-recovery-DPK2Mvmo.mjs} +4 -4
  109. package/dist/{platform-cmd-BpUA19r_.mjs → platform-cmd-BLy5uCa-.mjs} +1 -1
  110. package/dist/{platform-cmd-dlSxrcQ7.mjs → platform-cmd-HS_FSthn.mjs} +7 -7
  111. package/dist/{platform-domain-DSO4eUEw.mjs → platform-domain-CHpcq_qg.mjs} +4 -4
  112. package/dist/{platform-lifecycle-CfcFygHb.mjs → platform-lifecycle-B6LUBwjS.mjs} +1 -1
  113. package/dist/{platform-lifecycle-BSvsyB_x.mjs → platform-lifecycle-D2RS7DE0.mjs} +239 -29
  114. package/dist/{platform-management-BMdyt667.mjs → platform-management-C-T0ch4y.mjs} +1 -1
  115. package/dist/{platform-management-CrP1XhVd.mjs → platform-management-d3ETv3Dw.mjs} +15 -15
  116. package/dist/{platform-plans-config-CgDiwflR.mjs → platform-plans-config-B7yJQKf7.mjs} +116 -32
  117. package/dist/{platform-recovery-CHWwXVZ6.mjs → platform-recovery-DS5CAsly.mjs} +2 -2
  118. package/dist/{platform-setup-BTQVbnTC.mjs → platform-setup-Casiffqj.mjs} +2 -2
  119. package/dist/{plugin-inference-g66Q1Mx9.mjs → plugin-inference-DZHmVe1f.mjs} +4 -4
  120. package/dist/{prepare-DXduEwQp.mjs → prepare-AVM4Hj3T.mjs} +10 -10
  121. package/dist/prepare-BSXKz6m8.mjs +1 -0
  122. package/dist/{prepare-DJYHjpzq.mjs → prepare-DMk8NAO-.mjs} +3 -3
  123. package/dist/{prerender-render-BN9Lmebs.mjs → prerender-render-BAdYhivW.mjs} +15 -2
  124. package/dist/prerender-render.d.mts +2 -0
  125. package/dist/prerender-render.mjs +1 -1
  126. package/dist/{project-cmd-Dfb1Sg8w.mjs → project-cmd-TQKAOTMV.mjs} +17 -17
  127. package/dist/{project-paths-G0yut6Zz.mjs → project-paths-CUhCPMpK.mjs} +33 -2
  128. package/dist/{project-team-BO2dyc7S.mjs → project-team-B1OKeb-T.mjs} +4 -4
  129. package/dist/{project-token-ByO2mEI2.mjs → project-token-RW_wpmN-.mjs} +4 -4
  130. package/dist/{project-tsconfig-nhnTWO_Y.mjs → project-tsconfig-MyRJgufB.mjs} +1 -1
  131. package/dist/{project-zero-trust-CoQfwRBR.mjs → project-zero-trust-TNc66p0_.mjs} +4 -4
  132. package/dist/{protocol-yxdHxFLN.mjs → protocol-IPSWHolJ.mjs} +233 -76
  133. package/dist/{protocol-xZMvWsrg.d.mts → protocol-YS3tbxWE.d.mts} +10 -3
  134. package/dist/{provision-CMH4-8ri.mjs → provision-BLdkpFT4.mjs} +1 -1
  135. package/dist/{provision-D5q-ptD3.mjs → provision-bgQTi5QZ.mjs} +2 -2
  136. package/dist/redirect-Dqb4fEc5.mjs +80 -0
  137. package/dist/{requests-CPOiDkjh.mjs → requests-Cj15-yrI.mjs} +3 -3
  138. package/dist/resolve-project-C5wC-Hoi.mjs +1 -0
  139. package/dist/{resolve-project-ClvLMTI9.mjs → resolve-project-Da3OgCU1.mjs} +1 -1
  140. package/dist/{rollback-BfCs2la4.mjs → rollback-CYnkng7B.mjs} +4 -4
  141. package/dist/{route-types-Cl3x0Q8B.mjs → route-types-C6eAOmOj.mjs} +4 -3
  142. package/dist/routes-stub.d.mts +4 -3
  143. package/dist/runtime/auth.d.mts +1 -1
  144. package/dist/runtime/auth.mjs +1 -1
  145. package/dist/runtime/better-auth-mysql.d.mts +1 -1
  146. package/dist/runtime/better-auth-mysql.mjs +1 -1
  147. package/dist/runtime/better-auth-pg.d.mts +1 -1
  148. package/dist/runtime/better-auth-pg.mjs +1 -1
  149. package/dist/runtime/better-auth.d.mts +1 -1
  150. package/dist/runtime/better-auth.mjs +1 -1
  151. package/dist/runtime/client-react.d.mts +1 -1
  152. package/dist/runtime/client-solid.d.mts +1 -1
  153. package/dist/runtime/client-svelte.d.mts +1 -1
  154. package/dist/runtime/client-vue.d.mts +1 -1
  155. package/dist/runtime/client.d.mts +1 -1
  156. package/dist/runtime/db.d.mts +6 -3
  157. package/dist/runtime/db.mjs +2 -2
  158. package/dist/runtime/env-public.d.mts +1 -1
  159. package/dist/runtime/env-public.mjs +53 -39
  160. package/dist/runtime/handler.d.mts +1 -1
  161. package/dist/runtime/live-client.d.mts +1 -1
  162. package/dist/runtime/live-server.mjs +1 -1
  163. package/dist/runtime/live.d.mts +1 -1
  164. package/dist/runtime/live.mjs +1 -1
  165. package/dist/runtime/routing.d.mts +8 -3
  166. package/dist/runtime/routing.mjs +164 -23
  167. package/dist/runtime/validator.d.mts +1 -1
  168. package/dist/runtime/ws-server.d.mts +3 -3
  169. package/dist/runtime/ws-server.mjs +1 -1
  170. package/dist/runtime/ws.d.mts +1 -1
  171. package/dist/{scan-L8OSv1f7.mjs → scan-4YOxDaw2.mjs} +230 -29
  172. package/dist/{secret-CuI6LTpD.mjs → secret-BSf7dgg_.mjs} +6 -6
  173. package/dist/{skills-BBO9wMjB.mjs → skills-CoBB9_Ao.mjs} +1 -1
  174. package/dist/{ast-bindings-BkivMJIo.mjs → static-exports-DFkzL-NX.mjs} +96 -33
  175. package/dist/{subcommand-prompt-BZMnCA8T.mjs → subcommand-prompt-0yIARXf2.mjs} +2 -2
  176. package/dist/{types-agfx0alu.d.mts → types-IPut3_Yx.d.mts} +15 -1
  177. package/dist/url-DaehRGKR.mjs +106 -0
  178. package/dist/{version-metadata-eUd6Ar_U.mjs → version-metadata-CeftH0fQ.mjs} +1 -1
  179. package/dist/{wrangler-k40T7XTQ.mjs → wrangler-B1gkT_wC.mjs} +3 -3
  180. package/dist/wrangler-fNGvPTlO.mjs +1 -0
  181. package/dist/{wrapper-BGsi_uHs.mjs → wrapper-xJ4LP5A7.mjs} +3 -3
  182. package/dist/{ws-DB8Feytg.d.mts → ws-C2zy0QBf.d.mts} +2 -2
  183. package/docs/guide/ai.md +2 -1
  184. package/docs/guide/app-types.md +1 -0
  185. package/docs/guide/auth.md +23 -27
  186. package/docs/guide/database/d1.md +18 -1
  187. package/docs/guide/database/mysql.md +1 -0
  188. package/docs/guide/database/postgresql.md +1 -0
  189. package/docs/guide/database.md +30 -27
  190. package/docs/guide/deployment.md +3 -2
  191. package/docs/guide/durable-state.md +1 -0
  192. package/docs/guide/edge/headers.md +4 -3
  193. package/docs/guide/edge/prerendering.md +6 -5
  194. package/docs/guide/edge/redirects.md +2 -1
  195. package/docs/guide/edge/revalidation.md +6 -1
  196. package/docs/guide/edge/rewrites.md +2 -1
  197. package/docs/guide/edge/static-assets.md +5 -0
  198. package/docs/guide/email/domains.md +1 -0
  199. package/docs/guide/email/receiving.md +3 -2
  200. package/docs/guide/email/sending.md +7 -4
  201. package/docs/guide/email.md +1 -0
  202. package/docs/guide/env-vars.md +4 -0
  203. package/docs/guide/index.md +1 -0
  204. package/docs/guide/jobs.md +1 -0
  205. package/docs/guide/kv.md +1 -0
  206. package/docs/guide/live.md +2 -1
  207. package/docs/guide/pages-routing/actions-and-forms.md +58 -22
  208. package/docs/guide/pages-routing/errors.md +109 -0
  209. package/docs/guide/pages-routing/head.md +45 -1
  210. package/docs/guide/pages-routing/islands.md +4 -1
  211. package/docs/guide/pages-routing/layouts.md +4 -1
  212. package/docs/guide/pages-routing/loaders.md +4 -1
  213. package/docs/guide/pages-routing/markdown.md +6 -4
  214. package/docs/guide/pages-routing/overview.md +16 -20
  215. package/docs/guide/pages-routing/view-transitions.md +1 -0
  216. package/docs/guide/platform/administration/access.md +1 -0
  217. package/docs/guide/platform/administration/connected-apps.md +13 -2
  218. package/docs/guide/platform/administration/email.md +1 -0
  219. package/docs/guide/platform/administration/operations.md +1 -0
  220. package/docs/guide/platform/administration/plans.md +35 -1
  221. package/docs/guide/platform/administration/projects.md +16 -1
  222. package/docs/guide/platform/administration/zero-trust.md +1 -0
  223. package/docs/guide/platform/development/local.md +1 -0
  224. package/docs/guide/platform/development/runtime.md +1 -0
  225. package/docs/guide/platform/development/schema-ci.md +1 -0
  226. package/docs/guide/platform/installation/ci.md +1 -0
  227. package/docs/guide/platform/installation/credentials.md +12 -9
  228. package/docs/guide/platform/installation/domains.md +1 -0
  229. package/docs/guide/platform/installation/first-deployment.md +1 -0
  230. package/docs/guide/platform/installation/maintenance.md +8 -1
  231. package/docs/guide/platform/installation/prerequisites.md +1 -0
  232. package/docs/guide/platform/installation/setup.md +9 -7
  233. package/docs/guide/platform/installation/uninstall.md +1 -0
  234. package/docs/guide/platform-administration.md +1 -0
  235. package/docs/guide/platform-development.md +1 -0
  236. package/docs/guide/project-collaboration.md +1 -0
  237. package/docs/guide/queues.md +3 -0
  238. package/docs/guide/quickstart.md +3 -2
  239. package/docs/guide/remote-dev.md +1 -0
  240. package/docs/guide/sandboxes.md +1 -0
  241. package/docs/guide/self-hosted-platform.md +1 -0
  242. package/docs/guide/server-routing.md +3 -2
  243. package/docs/guide/sse.md +2 -1
  244. package/docs/guide/ssg.md +18 -6
  245. package/docs/guide/ssr.md +1 -0
  246. package/docs/guide/storage.md +2 -1
  247. package/docs/guide/testing.md +64 -0
  248. package/docs/guide/type-safety.md +24 -21
  249. package/docs/guide/typed-fetch.md +1 -0
  250. package/docs/guide/websockets.md +1 -0
  251. package/docs/index.md +1 -0
  252. package/docs/integrations/agents.md +1 -0
  253. package/docs/integrations/cloudflare.md +7 -2
  254. package/docs/integrations/frameworks/analog.md +1 -0
  255. package/docs/integrations/frameworks/astro.md +1 -0
  256. package/docs/integrations/frameworks/nuxt.md +2 -1
  257. package/docs/integrations/frameworks/overview.md +1 -0
  258. package/docs/integrations/frameworks/react-router.md +1 -0
  259. package/docs/integrations/frameworks/sveltekit.md +1 -0
  260. package/docs/integrations/frameworks/tanstack-start.md +1 -0
  261. package/docs/integrations/hono.md +22 -0
  262. package/docs/integrations/nodejs-bun-deno.md +5 -4
  263. package/docs/reference/api/auth.md +23 -4
  264. package/docs/reference/api/client.md +1 -0
  265. package/docs/reference/api/database.md +24 -1
  266. package/docs/reference/api/deploy.md +4 -0
  267. package/docs/reference/api/durable.md +1 -0
  268. package/docs/reference/api/env.md +1 -0
  269. package/docs/reference/api/handlers.md +1 -0
  270. package/docs/reference/api/pages.md +38 -16
  271. package/docs/reference/api/plugin.md +1 -0
  272. package/docs/reference/api/resources.md +2 -1
  273. package/docs/reference/api/rewrites.md +9 -4
  274. package/docs/reference/api/types.md +1 -0
  275. package/docs/reference/api.md +2 -1
  276. package/docs/reference/cli/auth.md +1 -0
  277. package/docs/reference/cli/database.md +1 -0
  278. package/docs/reference/cli/deploy.md +5 -2
  279. package/docs/reference/cli/domains.md +1 -0
  280. package/docs/reference/cli/email.md +1 -0
  281. package/docs/reference/cli/generate.md +1 -0
  282. package/docs/reference/cli/github.md +1 -0
  283. package/docs/reference/cli/platform-config.md +4 -3
  284. package/docs/reference/cli/platform-email.md +1 -0
  285. package/docs/reference/cli/platform-installation.md +1 -0
  286. package/docs/reference/cli/platform-operations.md +1 -0
  287. package/docs/reference/cli/platform-users.md +71 -1
  288. package/docs/reference/cli/platform-zero-trust.md +1 -0
  289. package/docs/reference/cli/platform.md +1 -0
  290. package/docs/reference/cli/project.md +1 -0
  291. package/docs/reference/cli/secrets.md +1 -0
  292. package/docs/reference/cli/setup.md +1 -0
  293. package/docs/reference/cli.md +3 -0
  294. package/docs/reference/config.md +8 -3
  295. package/docs/reference/resource-inference.md +1 -0
  296. package/docs/reference/structure.md +1 -0
  297. package/package.json +25 -25
  298. package/skills/void/SKILL.md +3 -1
  299. package/dist/action-key-XtKKbbsi.mjs +0 -25
  300. package/dist/client-BAxLpSKv.mjs +0 -1
  301. package/dist/deploy-DEZkUS77.mjs +0 -2
  302. package/dist/discover-1DJD4YXD.mjs +0 -1
  303. package/dist/gen-C6iknRdI.mjs +0 -1
  304. package/dist/help-C_cqTByy.mjs +0 -1
  305. package/dist/load-user-env-CSwdofj0.mjs +0 -48
  306. package/dist/login-C4q1S-5b.mjs +0 -1
  307. package/dist/migrate-CVBsSFhC.mjs +0 -1
  308. package/dist/operator-cmd-DnaCnCSP.mjs +0 -1
  309. package/dist/output-CNsMDEd2.mjs +0 -1
  310. package/dist/platform-args-B7-wQ0_B.mjs +0 -1
  311. package/dist/prepare-Bx4a8cb1.mjs +0 -1
  312. package/dist/resolve-project-BALVa9q0.mjs +0 -1
  313. package/dist/url-CuoEn0o3.mjs +0 -43
  314. package/dist/wrangler-R3kMdJfw.mjs +0 -1
@@ -1,29 +1,29 @@
1
1
  import { a as join, c as resolve, n as dirname, r as extname, s as relative } from "./dist-DMYe8CZJ.mjs";
2
- import { h as needsApplicationDatabase } from "./plugin-inference-g66Q1Mx9.mjs";
3
- import { n as readProjectPaths } from "./project-paths-G0yut6Zz.mjs";
4
- import { t as discoverSchema } from "./discover-CVFCWU7W.mjs";
5
- import { u as isNodeTarget } from "./config-5oSQhZNj.mjs";
2
+ import { h as needsApplicationDatabase } from "./plugin-inference-DZHmVe1f.mjs";
3
+ import { n as readProjectPaths } from "./project-paths-CUhCPMpK.mjs";
4
+ import { t as discoverSchema } from "./discover-Vd18lHsj.mjs";
5
+ import { u as isNodeTarget } from "./config-CzFdJYNA.mjs";
6
6
  import { t as collectMigrations } from "./collect-C6Blu9yw.mjs";
7
- import { n as mergeRoutingRules, t as lintRoutingPhases } from "./headers-CimYIfQI.mjs";
7
+ import { n as mergeRoutingRules, t as lintRoutingPhases } from "./headers-Q0kZDpk8.mjs";
8
8
  import { s as shouldLinkDeployProject, t as attachSelectedPlatform, u as writeProjectConfig } from "./project-CLwxcEdq.mjs";
9
- import { E as resolveLiveBindingConfig, O as syncWranglerBindings, a as LIVE_MIGRATION_TAG, g as normalizeWranglerCompatibilityFlags, u as ensureWranglerCompat, v as readExistingLiveBindingConfig } from "./wrangler-k40T7XTQ.mjs";
9
+ import { E as resolveLiveBindingConfig, O as syncWranglerBindings, a as LIVE_MIGRATION_TAG, g as normalizeWranglerCompatibilityFlags, u as ensureWranglerCompat, v as readExistingLiveBindingConfig } from "./wrangler-B1gkT_wC.mjs";
10
10
  import { n as buildMigrationPlanBundle } from "./plan-BOD70XGS.mjs";
11
11
  import { l as getTokenSource } from "./auth-CCk9Seol.mjs";
12
- import { t as findEnvFile } from "./env-types-Dz9qkiOn.mjs";
12
+ import { t as findEnvFile } from "./env-types-WEZw5D-r.mjs";
13
13
  import { i as collectFiles, t as collectPages } from "./isr-config-Czzb4mIq.mjs";
14
- import { a as buildEnv } from "./version-metadata-eUd6Ar_U.mjs";
15
- import { r as writeDrizzleConfig, t as PLACEHOLDER_DB_URL } from "./config-DcqUBGCb.mjs";
14
+ import { a as buildEnv } from "./version-metadata-CeftH0fQ.mjs";
15
+ import { r as writeDrizzleConfig, t as PLACEHOLDER_DB_URL } from "./config-DlWQ_hIJ.mjs";
16
16
  import { i as validateMigrations, r as listDrizzleArtifacts, t as assertJournalCoherence } from "./validate-Ddzl-IwT.mjs";
17
- import { L as log$1, N as intro, X as text, tt as isCancel } from "./dist-BQdgCVQF.mjs";
17
+ import { L as log$1, N as intro, X as text, tt as isCancel } from "./dist-STQXl8ck.mjs";
18
18
  import { t as formatCloudflareUserMessage } from "./cloudflare-user-output-zEwuGrEJ.mjs";
19
- import { c as platformErrorMessage, i as isCliOutdatedError, n as PlatformApiError, o as isHeadersTimeoutError, s as parsePlatformErrorBody } from "./client-BEZmTP6p.mjs";
20
- import { f as import_picocolors, h as sanitizeTerminalText, m as printSuccess, o as formatCount, p as note, r as createSpinner, u as getErrorMessage } from "./output-CXJTIAtF.mjs";
21
- import { a as promptProjectSelection, i as reportProjectCreationWarnings, o as promptProjectSetupAction, r as promptAndCreateProject } from "./create-project-CE3jOmd5.mjs";
22
- import { o as detectPreset, s as formatProjectCommand, u as resolveProjectCommand } from "./cloudflare-process-BcPvlMFd.mjs";
23
- import { d as formatEnvReport, g as validateProdEnv, u as fetchRemoteSecretNames } from "./env-validation-1snjKtDX.mjs";
24
- import { a as needsWrapper, i as generateWrapper } from "./wrapper-BGsi_uHs.mjs";
19
+ import { c as parsePlatformErrorBody, i as isCliOutdatedError, l as platformErrorMessage, n as PlatformApiError, o as isHeadersTimeoutError } from "./client-D6w5x7hM.mjs";
20
+ import { f as import_picocolors, h as sanitizeTerminalText, m as printSuccess, o as formatCount, p as note, r as createSpinner, u as getErrorMessage } from "./output-DNVILSz2.mjs";
21
+ import { a as promptProjectSelection, i as reportProjectCreationWarnings, o as promptProjectSetupAction, r as promptAndCreateProject } from "./create-project-BaUzZnLZ.mjs";
22
+ import { o as detectPreset, s as formatProjectCommand, u as resolveProjectCommand } from "./cloudflare-process-wcnaQ5JG.mjs";
23
+ import { d as formatEnvReport, g as validateProdEnv, u as fetchRemoteSecretNames } from "./env-validation-DeYNRp1d.mjs";
24
+ import { a as needsWrapper, i as generateWrapper } from "./wrapper-xJ4LP5A7.mjs";
25
25
  import { n as drizzleKitBin } from "./yarn-pnp-DgWbE7z5.mjs";
26
- import { t as MANAGED_DEPLOY_BUILD_ENV } from "./deploy-transport-Dt0IvSVW.mjs";
26
+ import { t as MANAGED_DEPLOY_BUILD_ENV } from "./deploy-transport-BpKBs_KR.mjs";
27
27
  import { cpSync, existsSync, mkdirSync, mkdtempSync, readFileSync, readdirSync, rmSync } from "node:fs";
28
28
  import { createDeployArtifact, createDeployUploadPayload } from "@void/deploy-core";
29
29
  import { createHash } from "node:crypto";
@@ -595,11 +595,11 @@ function formatStreamDeployError(err, deploymentId, logPath) {
595
595
  }
596
596
  /**
597
597
  * Maximum retry attempts for a single R2 PUT before giving up. Matched to
598
- * the design doc 0068 spec: 5xx triggers retry, 4xx surfaces immediately.
598
+ * the design doc 0068 spec, with rate limits retried alongside 5xx errors.
599
599
  */
600
600
  const MAX_R2_PUT_RETRIES = 3;
601
601
  /**
602
- * Retry backoff delays in milliseconds. After attempt `i` fails (5xx) we
602
+ * Retry backoff delays in milliseconds. After transient attempt `i` fails we
603
603
  * sleep `RETRY_BACKOFF_MS[i]` before retrying. Indexed from 0; once the
604
604
  * array is exhausted we surface the error.
605
605
  */
@@ -630,7 +630,7 @@ var DirectR2PutError = class extends Error {
630
630
  /**
631
631
  * Issue direct-to-R2 PUTs for every item in `items` (assets or Worker
632
632
  * modules), bounded to `R2_PUT_CONCURRENCY`. Surfaces the first failure
633
- * (4xx immediately, 5xx after retry exhaustion) as a `DirectR2PutError`
633
+ * (429/5xx after retry exhaustion, other 4xx immediately) as a `DirectR2PutError`
634
634
  * carrying the item path and hash so the user can correlate against the
635
635
  * JSONL log.
636
636
  *
@@ -714,7 +714,7 @@ async function uploadOne(item, cliLog, fetchImpl) {
714
714
  return;
715
715
  }
716
716
  const errBody = await safeReadText(res);
717
- if (res.status >= 500 && attempt < MAX_R2_PUT_RETRIES) {
717
+ if ((res.status === 429 || res.status >= 500) && attempt < MAX_R2_PUT_RETRIES) {
718
718
  cliLog?.warn("r2_put_retry", {
719
719
  hash: item.hash,
720
720
  path: item.path,
@@ -722,7 +722,7 @@ async function uploadOne(item, cliLog, fetchImpl) {
722
722
  status: res.status,
723
723
  body: truncate(errBody)
724
724
  });
725
- await sleep(RETRY_BACKOFF_MS[attempt]);
725
+ await sleep(res.status === 429 ? Math.max(1e3, RETRY_BACKOFF_MS[attempt]) : RETRY_BACKOFF_MS[attempt]);
726
726
  attempt++;
727
727
  continue;
728
728
  }
@@ -1,8 +1,8 @@
1
1
  import { a as join } from "./dist-DMYe8CZJ.mjs";
2
2
  import { n as scanWranglerDotenvKeys } from "./dotenv-CEI8hapP.mjs";
3
- import { t as CLOUDFLARE_DEPLOY_BUILD_ENV } from "./env-CuzZZyjB.mjs";
4
- import { i as WRANGLER_AUTH_CREDENTIAL_ENV_VARS, t as CLOUDFLARE_PRESERVE_BINDINGS_BUILD_ENV } from "./version-metadata-eUd6Ar_U.mjs";
5
- import { _ as provisionEnv, r as assertNoTransportRedirectInProjectDotenv, s as deleteEnvVarCaseAware, v as resolvePinnedApiBaseUrl } from "./provision-D5q-ptD3.mjs";
3
+ import { t as CLOUDFLARE_DEPLOY_BUILD_ENV } from "./env-UqS-21xi.mjs";
4
+ import { i as WRANGLER_AUTH_CREDENTIAL_ENV_VARS, t as CLOUDFLARE_PRESERVE_BINDINGS_BUILD_ENV } from "./version-metadata-CeftH0fQ.mjs";
5
+ import { _ as provisionEnv, r as assertNoTransportRedirectInProjectDotenv, s as deleteEnvVarCaseAware, v as resolvePinnedApiBaseUrl } from "./provision-bgQTi5QZ.mjs";
6
6
  import { readWranglerTopLevelString } from "@void/deploy-cloudflare";
7
7
  // src/cli/deploy-transport.ts
8
8
  /**
package/dist/deploy.mjs CHANGED
@@ -1,13 +1,13 @@
1
1
  import { a as join, c as resolve } from "./dist-DMYe8CZJ.mjs";
2
- import { t as analyzeApplication } from "./application-routing-QpyC5G8z.mjs";
3
- import { d as hasDocumentRoutes, f as resolveAssetConfig, u as hasApiRoutes } from "./headers-CimYIfQI.mjs";
2
+ import { t as analyzeApplication } from "./application-routing-CJRlXCc2.mjs";
3
+ import { d as hasDocumentRoutes, f as resolveAssetConfig, u as hasApiRoutes } from "./headers-Q0kZDpk8.mjs";
4
4
  import { a as resolveDistDir, n as collectRevalidate, o as resolveWorkerDirName } from "./isr-config-Czzb4mIq.mjs";
5
5
  import { t as prepareCfBuildOutput$1 } from "./cf-build-output-CWNOH-KA.mjs";
6
- import { I as resolveStaticDeployPreset, L as toManifestSchedulesAndQueues, M as resolveDeployWorkerMain, N as resolveDeployWranglerCompat, R as validateDeployMigrations, a as collectAndHashAssets, f as mergeAndLintRoutingRules, g as assertDeploySchemaDriftFree, i as buildStaticManifest, o as collectWorkerFiles, t as assembleVoidManifest, x as assertWorkerMainUploaded } from "./deploy-managed-static-BBVtpuGv.mjs";
7
- import { o as detectPreset } from "./cloudflare-process-BcPvlMFd.mjs";
8
- import { p as readConfig, u as isNodeTarget } from "./config-5oSQhZNj.mjs";
6
+ import { I as resolveStaticDeployPreset, L as toManifestSchedulesAndQueues, M as resolveDeployWorkerMain, N as resolveDeployWranglerCompat, R as validateDeployMigrations, a as collectAndHashAssets, f as mergeAndLintRoutingRules, g as assertDeploySchemaDriftFree, i as buildStaticManifest, o as collectWorkerFiles, t as assembleVoidManifest, x as assertWorkerMainUploaded } from "./deploy-managed-static-Kn73R83A.mjs";
7
+ import { o as detectPreset } from "./cloudflare-process-wcnaQ5JG.mjs";
8
+ import { p as readConfig, u as isNodeTarget } from "./config-CzFdJYNA.mjs";
9
9
  import { r as hasEmailHandlers } from "./email-BHY72ixO.mjs";
10
- import { o as validateSsrEntry } from "./entry-Bw-G1VVx.mjs";
10
+ import { o as validateSsrEntry } from "./entry-DMgR7XOf.mjs";
11
11
  import { existsSync } from "node:fs";
12
12
  import { createDeployArtifact } from "@void/deploy-core";
13
13
  // src/deploy.ts
@@ -0,0 +1 @@
1
+ export { t as discoverSchema } from "./discover-Vd18lHsj.mjs";
@@ -1,5 +1,5 @@
1
1
  import { s as relative } from "./dist-DMYe8CZJ.mjs";
2
- import { n as readProjectPaths } from "./project-paths-G0yut6Zz.mjs";
2
+ import { n as readProjectPaths } from "./project-paths-CUhCPMpK.mjs";
3
3
  import { existsSync, statSync } from "node:fs";
4
4
  // src/drizzle/discover.ts
5
5
  /**
@@ -1,11 +1,11 @@
1
1
  import { a as join, i as isAbsolute, n as dirname, s as relative } from "./dist-DMYe8CZJ.mjs";
2
- import { i as resolveProjectPaths, n as readProjectPaths } from "./project-paths-G0yut6Zz.mjs";
3
- import { t as discoverSchema } from "./discover-CVFCWU7W.mjs";
4
- import { c as getDatabaseCasing, l as getDatabaseDialect, m as resolveBindingNames, p as readConfig } from "./config-5oSQhZNj.mjs";
2
+ import { i as resolveProjectPaths, n as readProjectPaths } from "./project-paths-CUhCPMpK.mjs";
3
+ import { t as discoverSchema } from "./discover-Vd18lHsj.mjs";
4
+ import { c as getDatabaseCasing, l as getDatabaseDialect, m as resolveBindingNames, p as readConfig } from "./config-CzFdJYNA.mjs";
5
5
  import { i as voidWarn } from "./log-D9hwSySP.mjs";
6
- import { n as ensureProjectTsconfig } from "./project-tsconfig-nhnTWO_Y.mjs";
7
- import { n as CLOUDFLARE_QUEUE_NAMES_BUILD_ENV } from "./env-CuzZZyjB.mjs";
8
- import { n as generateDbDts, t as DRIZZLE_OPERATORS } from "./db-types-DdHHUVPy.mjs";
6
+ import { n as ensureProjectTsconfig } from "./project-tsconfig-MyRJgufB.mjs";
7
+ import { n as CLOUDFLARE_QUEUE_NAMES_BUILD_ENV } from "./env-UqS-21xi.mjs";
8
+ import { n as generateDbDts, t as DRIZZLE_OPERATORS } from "./db-types-BpPYAx0B.mjs";
9
9
  import { createRequire } from "node:module";
10
10
  import { existsSync, readFileSync, readdirSync } from "node:fs";
11
11
  import { normalizePath } from "vite";
@@ -229,8 +229,8 @@ export const db = new Proxy({}, {
229
229
  },
230
230
  });
231
231
 
232
- export function createDb(d1) {
233
- return drizzle(d1.withSession("first-unconstrained")${drizzleConfig});
232
+ export function createDb(d1, options) {
233
+ return drizzle(d1.withSession(options?.session ?? "first-unconstrained")${drizzleConfig});
234
234
  }
235
235
 
236
236
  function createPrimaryDb(d1) {
@@ -1 +1 @@
1
- export { tt as isCancel, L as log, K as select, X as text } from "./dist-BQdgCVQF.mjs";
1
+ export { tt as isCancel, L as log, K as select, X as text } from "./dist-STQXl8ck.mjs";
@@ -1,10 +1,10 @@
1
- import { n as __toESM, t as __commonJSMin } from "./rolldown-runtime-uD8oG6U2.mjs";
1
+ import { n as __toESM } from "./rolldown-runtime-uD8oG6U2.mjs";
2
2
  import { t as require_picocolors } from "./picocolors-D1NxSLw-.mjs";
3
3
  import "node:fs";
4
4
  import { randomBytes } from "node:crypto";
5
5
  import { stripVTControlCharacters, styleText } from "node:util";
6
6
  import process$1, { stdin, stdout } from "node:process";
7
- import l__default, * as l from "node:readline";
7
+ import f__default, * as f$1 from "node:readline";
8
8
  import { ReadStream } from "node:tty";
9
9
  // ../../node_modules/.pnpm/fast-string-truncated-width@3.0.3/node_modules/fast-string-truncated-width/dist/utils.js
10
10
  const getCodePointsLength$1 = (() => {
@@ -284,63 +284,53 @@ const CRLF_OR_LF$1 = /\r?\n/;
284
284
  function wrapAnsi$1(string, columns, options) {
285
285
  return String(string).normalize().split(CRLF_OR_LF$1).map((line) => exec$1(line, columns, options)).join("\n");
286
286
  }
287
- // ../../node_modules/.pnpm/@clack+core@1.5.1/node_modules/@clack/core/dist/index.mjs
288
- var import_src = (/* @__PURE__ */ __commonJSMin(((exports, module) => {
289
- const ESC = "\x1B";
290
- const CSI = `${ESC}[`;
291
- const beep = "\x07";
292
- const cursor = {
293
- to(x, y) {
294
- if (!y) return `${CSI}${x + 1}G`;
295
- return `${CSI}${y + 1};${x + 1}H`;
296
- },
297
- move(x, y) {
298
- let ret = "";
299
- if (x < 0) ret += `${CSI}${-x}D`;
300
- else if (x > 0) ret += `${CSI}${x}C`;
301
- if (y < 0) ret += `${CSI}${-y}A`;
302
- else if (y > 0) ret += `${CSI}${y}B`;
303
- return ret;
304
- },
305
- up: (count = 1) => `${CSI}${count}A`,
306
- down: (count = 1) => `${CSI}${count}B`,
307
- forward: (count = 1) => `${CSI}${count}C`,
308
- backward: (count = 1) => `${CSI}${count}D`,
309
- nextLine: (count = 1) => `${CSI}E`.repeat(count),
310
- prevLine: (count = 1) => `${CSI}F`.repeat(count),
311
- left: `${CSI}G`,
312
- hide: `${CSI}?25l`,
313
- show: `${CSI}?25h`,
314
- save: `${ESC}7`,
315
- restore: `${ESC}8`
316
- };
317
- module.exports = {
318
- cursor,
319
- scroll: {
320
- up: (count = 1) => `${CSI}S`.repeat(count),
321
- down: (count = 1) => `${CSI}T`.repeat(count)
322
- },
323
- erase: {
324
- screen: `${CSI}2J`,
325
- up: (count = 1) => `${CSI}1J`.repeat(count),
326
- down: (count = 1) => `${CSI}J`.repeat(count),
327
- line: `${CSI}2K`,
328
- lineEnd: `${CSI}K`,
329
- lineStart: `${CSI}1K`,
330
- lines(count) {
331
- let clear = "";
332
- for (let i = 0; i < count; i++) clear += this.line + (i < count - 1 ? cursor.up() : "");
333
- if (count) clear += cursor.left;
334
- return clear;
335
- }
336
- },
337
- beep
338
- };
339
- })))();
340
- function findCursor(s, o, l) {
341
- if (!l.some((r) => !r.disabled)) return s;
342
- const t = s + o, n = Math.max(l.length - 1, 0), e = t < 0 ? n : t > n ? 0 : t;
343
- return l[e]?.disabled ? findCursor(e, o < 0 ? -1 : 1, l) : e;
287
+ // ../../node_modules/.pnpm/sisteransi@2.0.0/node_modules/sisteransi/dist/index.js
288
+ const ESC$1 = "\x1B";
289
+ const CSI$1 = `${ESC$1}[`;
290
+ const cursor = {
291
+ to(x, y) {
292
+ if (!y) return `${CSI$1}${x + 1}G`;
293
+ return `${CSI$1}${y + 1};${x + 1}H`;
294
+ },
295
+ move(x, y) {
296
+ let ret = "";
297
+ if (x < 0) ret += `${CSI$1}${-x}D`;
298
+ else if (x > 0) ret += `${CSI$1}${x}C`;
299
+ if (y < 0) ret += `${CSI$1}${-y}A`;
300
+ else if (y > 0) ret += `${CSI$1}${y}B`;
301
+ return ret;
302
+ },
303
+ up: (count = 1) => `${CSI$1}${count}A`,
304
+ down: (count = 1) => `${CSI$1}${count}B`,
305
+ forward: (count = 1) => `${CSI$1}${count}C`,
306
+ backward: (count = 1) => `${CSI$1}${count}D`,
307
+ nextLine: (count = 1) => `${CSI$1}E`.repeat(count),
308
+ prevLine: (count = 1) => `${CSI$1}F`.repeat(count),
309
+ left: `${CSI$1}G`,
310
+ hide: `${CSI$1}?25l`,
311
+ show: `${CSI$1}?25h`,
312
+ save: `${ESC$1}7`,
313
+ restore: `${ESC$1}8`
314
+ };
315
+ const erase = {
316
+ screen: `${CSI$1}2J`,
317
+ up: (count = 1) => `${CSI$1}1J`.repeat(count),
318
+ down: (count = 1) => `${CSI$1}J`.repeat(count),
319
+ line: `${CSI$1}2K`,
320
+ lineEnd: `${CSI$1}K`,
321
+ lineStart: `${CSI$1}1K`,
322
+ lines(count) {
323
+ let clear = "";
324
+ for (let i = 0; i < count; i++) clear += this.line + (i < count - 1 ? cursor.up() : "");
325
+ if (count) clear += cursor.left;
326
+ return clear;
327
+ }
328
+ };
329
+ // ../../node_modules/.pnpm/@clack+core@1.6.0/node_modules/@clack/core/dist/index.mjs
330
+ function findCursor(o, s, l) {
331
+ if (!l.some((r) => !r.disabled)) return o;
332
+ const t = o + s, n = Math.max(l.length - 1, 0), e = t < 0 ? n : t > n ? 0 : t;
333
+ return l[e]?.disabled ? findCursor(e, s < 0 ? -1 : 1, l) : e;
344
334
  }
345
335
  const settings = {
346
336
  actions: /* @__PURE__ */ new Set([
@@ -442,32 +432,32 @@ function setRawMode(e, r) {
442
432
  o.isTTY && o.setRawMode(r);
443
433
  }
444
434
  function block({ input: e = stdin, output: r = stdout, overwrite: o = true, hideCursor: n = true } = {}) {
445
- const s = l.createInterface({
435
+ const s = f$1.createInterface({
446
436
  input: e,
447
437
  output: r,
448
438
  prompt: "",
449
439
  tabSize: 1
450
440
  });
451
- l.emitKeypressEvents(e, s), e instanceof ReadStream && e.isTTY && e.setRawMode(true);
452
- const t = (f, { name: a, sequence: w }) => {
441
+ f$1.emitKeypressEvents(e, s), e instanceof ReadStream && e.isTTY && e.setRawMode(true);
442
+ const t = (l, { name: i, sequence: p }) => {
453
443
  if (isActionKey([
454
- String(f),
455
- a,
456
- w
444
+ String(l),
445
+ i,
446
+ p
457
447
  ], "cancel")) {
458
- n && r.write(import_src.cursor.show), process.exit(0);
448
+ n && r.write(cursor.show), process.exit(0);
459
449
  return;
460
450
  }
461
451
  if (!o) return;
462
- const i = a === "return" ? 0 : -1, m = a === "return" ? -1 : 0;
463
- l.moveCursor(r, i, m, () => {
464
- l.clearLine(r, 1, () => {
452
+ const c = i === "return" ? 0 : -1, a = i === "return" ? -1 : 0;
453
+ f$1.moveCursor(r, c, a, () => {
454
+ f$1.clearLine(r, 1, () => {
465
455
  e.once("keypress", t);
466
456
  });
467
457
  });
468
458
  };
469
- return n && r.write(import_src.cursor.hide), e.once("keypress", t), () => {
470
- e.off("keypress", t), n && r.write(import_src.cursor.show), e instanceof ReadStream && e.isTTY && !R && e.setRawMode(false), s.terminal = false, s.close();
459
+ return n && r.write(cursor.hide), e.once("keypress", t), () => {
460
+ e.off("keypress", t), n && r.write(cursor.show), e instanceof ReadStream && e.isTTY && !R && e.setRawMode(false), s.terminal = false, s.close();
471
461
  };
472
462
  }
473
463
  const getColumns = (e) => "columns" in e && typeof e.columns == "number" ? e.columns : 80;
@@ -479,7 +469,7 @@ function runValidation(e, a) {
479
469
  }
480
470
  return e(a);
481
471
  }
482
- var y = class {
472
+ let C$1 = class C {
483
473
  input;
484
474
  output;
485
475
  _abortSignal;
@@ -557,16 +547,16 @@ var y = class {
557
547
  this.state = "cancel", this.close();
558
548
  }, { once: true });
559
549
  }
560
- this.rl = l__default.createInterface({
550
+ this.rl = f__default.createInterface({
561
551
  input: this.input,
562
552
  tabSize: 2,
563
553
  prompt: "",
564
554
  escapeCodeTimeout: 50,
565
555
  terminal: true
566
556
  }), this.rl.prompt(), this.opts.initialUserInput !== void 0 && this._setUserInput(this.opts.initialUserInput, true), this.input.on("keypress", this.onKeypress), setRawMode(this.input, true), this.output.on("resize", this.render), this.render(), this.once("submit", () => {
567
- this.output.write(import_src.cursor.show), this.output.off("resize", this.render), setRawMode(this.input, false), t(this.value);
557
+ this.output.write(cursor.show), this.output.off("resize", this.render), setRawMode(this.input, false), t(this.value);
568
558
  }), this.once("cancel", () => {
569
- this.output.write(import_src.cursor.show), this.output.off("resize", this.render), setRawMode(this.input, false), t(CANCEL_SYMBOL);
559
+ this.output.write(cursor.show), this.output.off("resize", this.render), setRawMode(this.input, false), t(CANCEL_SYMBOL);
570
560
  });
571
561
  });
572
562
  }
@@ -613,20 +603,20 @@ var y = class {
613
603
  `), setRawMode(this.input, false), this.rl?.close(), this.rl = void 0, this.emit(`${this.state}`, this.value), this.unsubscribe();
614
604
  }
615
605
  restoreCursor() {
616
- const t = wrapAnsi$1(this._prevFrame, process.stdout.columns, {
606
+ const t = wrapAnsi$1(this._prevFrame, getColumns(this.output), {
617
607
  hard: true,
618
608
  trim: false
619
609
  }).split(`
620
610
  `).length - 1;
621
- this.output.write(import_src.cursor.move(-999, t * -1));
611
+ this.output.write(cursor.move(-999, t * -1));
622
612
  }
623
613
  render() {
624
- const t = wrapAnsi$1(this._render(this) ?? "", process.stdout.columns, {
614
+ const t = wrapAnsi$1(this._render(this) ?? "", getColumns(this.output), {
625
615
  hard: true,
626
616
  trim: false
627
617
  });
628
618
  if (t !== this._prevFrame) {
629
- if (this.state === "initial") this.output.write(import_src.cursor.hide);
619
+ if (this.state === "initial") this.output.write(cursor.hide);
630
620
  else {
631
621
  const e = diffLines(this._prevFrame, t), i = getRows(this.output);
632
622
  if (this.restoreCursor(), e) {
@@ -637,32 +627,32 @@ var y = class {
637
627
  return;
638
628
  }
639
629
  if (e.lines.length === 1) {
640
- this.output.write(import_src.cursor.move(0, n - r)), this.output.write(import_src.erase.lines(1));
630
+ this.output.write(cursor.move(0, n - r)), this.output.write(erase.lines(1));
641
631
  const o = t.split(`
642
632
  `);
643
- this.output.write(o[n]), this._prevFrame = t, this.output.write(import_src.cursor.move(0, o.length - n - 1));
633
+ this.output.write(o[n]), this._prevFrame = t, this.output.write(cursor.move(0, o.length - n - 1));
644
634
  return;
645
635
  } else if (e.lines.length > 1) {
646
636
  if (s < r) n = s;
647
637
  else {
648
638
  const h = n - r;
649
- h > 0 && this.output.write(import_src.cursor.move(0, h));
639
+ h > 0 && this.output.write(cursor.move(0, h));
650
640
  }
651
- this.output.write(import_src.erase.down());
652
- const f = t.split(`
641
+ this.output.write(erase.down());
642
+ const m = t.split(`
653
643
  `).slice(n);
654
- this.output.write(f.join(`
644
+ this.output.write(m.join(`
655
645
  `)), this._prevFrame = t;
656
646
  return;
657
647
  }
658
648
  }
659
- this.output.write(import_src.erase.down());
649
+ this.output.write(erase.down());
660
650
  }
661
651
  this.output.write(t), this.state === "initial" && (this.state = "active"), this._prevFrame = t;
662
652
  }
663
653
  }
664
654
  };
665
- var r = class extends y {
655
+ var r = class extends C$1 {
666
656
  get cursor() {
667
657
  return this.value ? 0 : 1;
668
658
  }
@@ -673,13 +663,13 @@ var r = class extends y {
673
663
  super(t, false), this.value = !!t.initialValue, this.on("userInput", () => {
674
664
  this.value = this._value;
675
665
  }), this.on("confirm", (i) => {
676
- this.output.write(import_src.cursor.move(0, -1)), this.value = i, this.state = "submit", this.close();
666
+ this.output.write(cursor.move(0, -1)), this.value = i, this.state = "submit", this.close();
677
667
  }), this.on("cursor", () => {
678
668
  this.value = !this.value;
679
669
  });
680
670
  }
681
671
  };
682
- var a = class extends y {
672
+ var a = class extends C$1 {
683
673
  options;
684
674
  cursor = 0;
685
675
  get _value() {
@@ -706,8 +696,8 @@ var a = class extends y {
706
696
  constructor(e) {
707
697
  super(e, false), this.options = e.options, this.value = [...e.initialValues ?? []];
708
698
  const i = Math.max(this.options.findIndex(({ value: t }) => t === e.cursorAt), 0);
709
- this.cursor = this.options[i]?.disabled ? findCursor(i, 1, this.options) : i, this.on("key", (t, l) => {
710
- l.name === "a" && this.toggleAll(), l.name === "i" && this.toggleInvert();
699
+ this.cursor = this.options[i]?.disabled ? findCursor(i, 1, this.options) : i, this.on("key", (t, s) => {
700
+ s.name === "a" && this.toggleAll(), s.name === "i" && this.toggleInvert(), s.name === void 0 && t === " " && this.toggleValue();
711
701
  }), this.on("cursor", (t) => {
712
702
  switch (t) {
713
703
  case "left":
@@ -723,7 +713,7 @@ var a = class extends y {
723
713
  });
724
714
  }
725
715
  };
726
- let u$1 = class u extends y {
716
+ var u = class extends C$1 {
727
717
  _mask = "•";
728
718
  get cursor() {
729
719
  return this._cursor;
@@ -749,7 +739,7 @@ let u$1 = class u extends y {
749
739
  });
750
740
  }
751
741
  };
752
- let n$1 = class n extends y {
742
+ let n$1 = class n extends C$1 {
753
743
  options;
754
744
  cursor = 0;
755
745
  get _selectedValue() {
@@ -775,7 +765,7 @@ let n$1 = class n extends y {
775
765
  });
776
766
  }
777
767
  };
778
- var n = class extends y {
768
+ var n = class extends C$1 {
779
769
  get userInputWithCursor() {
780
770
  if (this.state === "submit") return this.userInput;
781
771
  const t = this.userInput;
@@ -797,50 +787,8 @@ var n = class extends y {
797
787
  });
798
788
  }
799
789
  };
800
- // ../../node_modules/.pnpm/sisteransi@2.0.0/node_modules/sisteransi/dist/index.js
790
+ // ../../node_modules/.pnpm/@voidzero-dev+vite-plus-prompts@1.6.0/node_modules/@voidzero-dev/vite-plus-prompts/dist/index.mjs
801
791
  var import_picocolors = /* @__PURE__ */ __toESM(require_picocolors(), 1);
802
- const ESC$1 = "\x1B";
803
- const CSI$1 = `${ESC$1}[`;
804
- const cursor = {
805
- to(x, y) {
806
- if (!y) return `${CSI$1}${x + 1}G`;
807
- return `${CSI$1}${y + 1};${x + 1}H`;
808
- },
809
- move(x, y) {
810
- let ret = "";
811
- if (x < 0) ret += `${CSI$1}${-x}D`;
812
- else if (x > 0) ret += `${CSI$1}${x}C`;
813
- if (y < 0) ret += `${CSI$1}${-y}A`;
814
- else if (y > 0) ret += `${CSI$1}${y}B`;
815
- return ret;
816
- },
817
- up: (count = 1) => `${CSI$1}${count}A`,
818
- down: (count = 1) => `${CSI$1}${count}B`,
819
- forward: (count = 1) => `${CSI$1}${count}C`,
820
- backward: (count = 1) => `${CSI$1}${count}D`,
821
- nextLine: (count = 1) => `${CSI$1}E`.repeat(count),
822
- prevLine: (count = 1) => `${CSI$1}F`.repeat(count),
823
- left: `${CSI$1}G`,
824
- hide: `${CSI$1}?25l`,
825
- show: `${CSI$1}?25h`,
826
- save: `${ESC$1}7`,
827
- restore: `${ESC$1}8`
828
- };
829
- const erase = {
830
- screen: `${CSI$1}2J`,
831
- up: (count = 1) => `${CSI$1}1J`.repeat(count),
832
- down: (count = 1) => `${CSI$1}J`.repeat(count),
833
- line: `${CSI$1}2K`,
834
- lineEnd: `${CSI$1}K`,
835
- lineStart: `${CSI$1}1K`,
836
- lines(count) {
837
- let clear = "";
838
- for (let i = 0; i < count; i++) clear += this.line + (i < count - 1 ? cursor.up() : "");
839
- if (count) clear += cursor.left;
840
- return clear;
841
- }
842
- };
843
- // ../../node_modules/.pnpm/@voidzero-dev+vite-plus-prompts@1.5.0/node_modules/@voidzero-dev/vite-plus-prompts/dist/index.mjs
844
792
  const getCodePointsLength = (() => {
845
793
  const SURROGATE_PAIR_RE = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g;
846
794
  return (input) => {
@@ -1624,7 +1572,7 @@ const note = (message = "", title = "", opts) => {
1624
1572
  });
1625
1573
  };
1626
1574
  const password = (opts) => {
1627
- return new u$1({
1575
+ return new u({
1628
1576
  validate: opts.validate,
1629
1577
  mask: opts.mask ?? S_PASSWORD_MASK,
1630
1578
  signal: opts.signal,
@@ -1,9 +1,9 @@
1
- import { L as log } from "./dist-BQdgCVQF.mjs";
1
+ import { L as log } from "./dist-STQXl8ck.mjs";
2
2
  import { c as getToken } from "./auth-CCk9Seol.mjs";
3
- import { r as PlatformClient } from "./client-BEZmTP6p.mjs";
4
- import { f as import_picocolors, m as printSuccess, p as note } from "./output-CXJTIAtF.mjs";
3
+ import { r as PlatformClient } from "./client-D6w5x7hM.mjs";
4
+ import { f as import_picocolors, m as printSuccess, p as note } from "./output-DNVILSz2.mjs";
5
5
  import { n as readDeploymentPlatform } from "./project-CLwxcEdq.mjs";
6
- import { i as resolveCommandProjectId } from "./resolve-project-ClvLMTI9.mjs";
6
+ import { i as resolveCommandProjectId } from "./resolve-project-Da3OgCU1.mjs";
7
7
  // src/cli/domain.ts
8
8
  async function runDomainCommand(root, args) {
9
9
  const platform = readDeploymentPlatform(root);
@@ -25,7 +25,7 @@ async function runDomainCommand(root, args) {
25
25
  }
26
26
  async function runCloudflareDomainCommand(root, args) {
27
27
  if (args.projectSlug) throw new Error("domain: --project selects a Void platform project and is not used for direct Cloudflare apps.");
28
- const { changeCloudflareDomain, listCloudflareDomains } = await import("./cloudflare-operations-CZkjFrzH.mjs");
28
+ const { changeCloudflareDomain, listCloudflareDomains } = await import("./cloudflare-operations-I4t3mt4R.mjs");
29
29
  if (args.subcommand === "add") {
30
30
  const result = await changeCloudflareDomain(root, args.hostname, "add");
31
31
  note("Cloudflare Custom Domains manages the DNS record and TLS certificate in the zone on your account.", "Cloudflare Domain");
@@ -1 +1 @@
1
- export { t as generateVoidAuthDatabaseModule, n as generateVoidAuthDrizzleSchema } from "./drizzle-lFdzSEa9.mjs";
1
+ export { t as generateVoidAuthDatabaseModule, n as generateVoidAuthDrizzleSchema } from "./drizzle-DBSpPpU1.mjs";