void 1.9.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{account-cmd-BEMOdwtl.mjs → account-cmd-CZhbDfp4.mjs} +3 -3
- package/dist/{application-analysis-3VVsflWZ.mjs → application-analysis-Do1WaGAY.mjs} +81 -7
- package/dist/{application-routing-CJRlXCc2.mjs → application-routing-DrOFahHO.mjs} +1 -1
- package/dist/{routing-assets-DJIVOrCh.mjs → assets-DZBd7yqh.mjs} +1 -1
- package/dist/{auth-aMuFOZeI.mjs → auth-YtP6K4J3.mjs} +1 -1
- package/dist/{auth-link-B1IynRW5.mjs → auth-link-DFQTA1jN.mjs} +3 -3
- package/dist/{auth-router-DVaWJdRB.mjs → auth-router-BOiaDmcQ.mjs} +2 -2
- package/dist/{base64-ikl9yBy3.mjs → base64-DwTR12ej.mjs} +1 -1
- package/dist/{better-auth-shared-ajs3LNrY.d.mts → better-auth-shared-BqsMzU14.d.mts} +1 -1
- package/dist/{better-auth-shared-C7LHvF4L.mjs → better-auth-shared-DRHo5FoG.mjs} +116 -20
- package/dist/{build-cmd-Dq8tdqQG.mjs → build-cmd-BCiXgjn9.mjs} +1 -1
- package/dist/{cache-DGMnskX7.mjs → cache-CUulshOu.mjs} +1 -1
- package/dist/{cancel-deploy-96S5hD1E.mjs → cancel-deploy-BHGZo6KC.mjs} +1 -1
- package/dist/cf-build-output-D3_x71H6.mjs +1 -0
- package/dist/{cf-build-output-CWNOH-KA.mjs → cf-build-output-bBx1gDll.mjs} +27 -16
- package/dist/{cf-config-migrate-Bb-EdAQq.mjs → cf-config-migrate-CHtnM3_C.mjs} +21 -3
- package/dist/cli/cli.mjs +1 -1
- package/dist/cli/cloudflare-operation-process.mjs +3 -2
- package/dist/cli/env-schema-probe.d.mts +1 -1
- package/dist/cli/env-schema-probe.mjs +2 -2
- package/dist/{cli-main-CQRLxZAu.mjs → cli-main-hM7rhIbB.mjs} +27 -27
- package/dist/{client-66c0RLDM.mjs → client-BEYbgqZw.mjs} +1 -1
- package/dist/{auth-client-DwCdwKbw.mjs → client-Ypa4Immo.mjs} +1 -1
- package/dist/{client-D6w5x7hM.mjs → client-aIv5UQf3.mjs} +3 -3
- package/dist/{auth-client-react-CJdeErvM.mjs → client-react-B-ZqH8Ao.mjs} +1 -1
- package/dist/{auth-client-solid-BRvgvp6h.mjs → client-solid-D2PSeKLm.mjs} +1 -1
- package/dist/{auth-client-svelte-BSqUCEed.mjs → client-svelte-DbJbN7Ey.mjs} +1 -1
- package/dist/{auth-client-vue-CPkbRtOO.mjs → client-vue-PBawsrwk.mjs} +1 -1
- package/dist/{cloudflare-cmd-BuuHUM4z.mjs → cloudflare-cmd-DLcgInCa.mjs} +1 -1
- package/dist/{cloudflare-config-PxbinLLE.mjs → cloudflare-config-BfEfIEuY.mjs} +1 -1
- package/dist/{cloudflare-connect-D1QOosLd.mjs → cloudflare-connect-CMcKtA02.mjs} +1 -1
- package/dist/{cloudflare-operations-I4t3mt4R.mjs → cloudflare-operations-C5RTQNnh.mjs} +1 -1
- package/dist/{cloudflare-operations-G5AObYzF.mjs → cloudflare-operations-DLhn_Bom.mjs} +4 -4
- package/dist/{config-DlWQ_hIJ.mjs → config-CbKmMpHK.mjs} +1 -1
- package/dist/{config-C1DPf8EK.mjs → config-CtkCfPpv.mjs} +1 -1
- package/dist/{config-CCWVY7DY.d.mts → config-DuiDZbq7.d.mts} +3 -2
- package/dist/config-entry.d.mts +1 -1
- package/dist/{config-CzFdJYNA.mjs → config-qgt863GH.mjs} +7 -2
- package/dist/{connect-4uImOwut.mjs → connect-DM3yCNPG.mjs} +4 -4
- package/dist/{sandbox-container-BuxhwCgt.mjs → container-CR_tqFtd.mjs} +1 -1
- package/dist/{sandbox-container-CZFZdMso.d.mts → container-D584jUxY.d.mts} +1 -1
- package/dist/{create-project-BaUzZnLZ.mjs → create-project-BkVGXGNt.mjs} +1 -1
- package/dist/{create-project-CQMyzTvK.mjs → create-project-C-hNdYvD.mjs} +1 -1
- package/dist/{migration-handler-DCehTlWs.mjs → d1-handler-C1LH2K2s.mjs} +1 -1
- package/dist/{db-DEpDeDsi.mjs → db-DQAi7Ckr.mjs} +23 -23
- package/dist/{delete-BVD2kI82.mjs → delete-BtVnPGO2.mjs} +1 -1
- package/dist/{deploy-Dyeo5soA.mjs → deploy-Cs93Af-d.mjs} +32 -31
- package/dist/{deploy-managed-static-Kn73R83A.mjs → deploy-managed-static-CZIx3cc1.mjs} +20 -11
- package/dist/deploy-rUunHBNJ.mjs +2 -0
- package/dist/{deploy-transport-BpKBs_KR.mjs → deploy-transport-DT-ALuDj.mjs} +2 -2
- package/dist/deploy.mjs +7 -6
- package/dist/{dev-inbox-CUUS6iUg.mjs → dev-inbox-BiamQEAa.mjs} +2 -2
- package/dist/{dispatch-BBfb519j.mjs → dispatch-DPEuEblR.mjs} +1 -1
- package/dist/{domain-BTIdyUVk.mjs → domain-cOhYYiHU.mjs} +2 -2
- package/dist/{email-DvrS-I0U.mjs → email-CnnDqvXV.mjs} +7 -7
- package/dist/{email-cloudflare-DAGpgzY1.mjs → email-cloudflare-CCIoQueP.mjs} +4 -4
- package/dist/email-pattern-BYr-EFq5.mjs +91 -0
- package/dist/{env-D7vORwpn.mjs → env-5bphL5mV.mjs} +3 -3
- package/dist/env-registry-BbCdIOXP.mjs +10 -0
- package/dist/{env-validation-DeYNRp1d.mjs → env-validation-DfJ9Fzfa.mjs} +2 -2
- package/dist/{env-validation-DKDcpxbt.mjs → env-validation-ly_Q9Kgd.mjs} +1 -1
- package/dist/{error-pages-COVBnzK7.mjs → error-pages-QNeBXiRR.mjs} +6 -6
- package/dist/{fetch-CAIVkLvW.mjs → fetch-DdK9eGin.mjs} +3 -3
- package/dist/{fetch-error-DmlRM6e4.mjs → fetch-error-EXhBRoxI.mjs} +1 -1
- package/dist/{fetch-stream-6Op0qlLd.mjs → fetch-stream-DQAavFdm.mjs} +4 -4
- package/dist/gen-BQ7itmK7.mjs +1 -0
- package/dist/{gen-DimkGNve.mjs → gen-CjcH6DJS.mjs} +4 -3
- package/dist/{github-cmd-D-zs6VQr.mjs → github-cmd-CVDLb51-.mjs} +1 -1
- package/dist/{handler-C9SnmeW1.mjs → handler-w_FAiIRu.mjs} +5 -5
- package/dist/{head-CWJhfUwV.mjs → head-0o0QoREY.mjs} +1 -1
- package/dist/{headers-Q0kZDpk8.mjs → headers-Cyr87J6Z.mjs} +1 -1
- package/dist/{help-Cgdcd-SG.mjs → help-B1cH8518.mjs} +8 -1
- package/dist/help-Ld6XFol7.mjs +1 -0
- package/dist/{env-helpers-Dj_SIwPu.mjs → helpers-_OdpnjkJ.mjs} +1 -1
- package/dist/{inbound-C2H6Dzz1.mjs → inbound--OF7zkwX.mjs} +4 -4
- package/dist/{sandbox-DE1WsxuB.d.mts → index-BESZTC1z.d.mts} +2 -2
- package/dist/{ws-C2zy0QBf.d.mts → index-BTmhCDbw.d.mts} +36 -7
- package/dist/{handler-6fzr_ikp.d.mts → index-BXdP39qx.d.mts} +4 -6
- package/dist/{live-DBybyDt0.d.mts → index-CmqHYj2R.d.mts} +2 -2
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +68 -49
- package/dist/{info-BbxQ34kk.mjs → info-BE3snw2_.mjs} +4 -4
- package/dist/{init-zyRj3QRw.mjs → init-BrS5MAiJ.mjs} +67 -42
- package/dist/{limits-CrHLm5Tk.mjs → limits-BCoQLpn3.mjs} +1 -1
- package/dist/{link-DAFXuIER.mjs → link-BbzyrCBD.mjs} +2 -2
- package/dist/{list-BTIcC3W9.mjs → list-DmppHjVc.mjs} +2 -2
- package/dist/{live-Dw7NF1t2.mjs → live-DvtxTUhW.mjs} +5 -5
- package/dist/{load-user-env-ztmIyiLx.mjs → load-user-env-BltIJLtl.mjs} +1 -1
- package/dist/{local-d1-BnVb7Fem.mjs → local-d1-DLxsKmkw.mjs} +1 -1
- package/dist/login-C-n1rA0s.mjs +1 -0
- package/dist/{login-DOE-MkeK.mjs → login-Cihxnu7m.mjs} +2 -2
- package/dist/{logs-CUsjihc3.mjs → logs-BCgLeLNd.mjs} +2 -2
- package/dist/migrate-CKn30rmw.mjs +1 -0
- package/dist/{migrate-DtoKdGas.mjs → migrate-DOK67gE-.mjs} +3 -3
- package/dist/{auth-migrations-DDeifS3v.mjs → migrations-ByS7r3HV.mjs} +1 -1
- package/dist/{mime-CtP6-qAF.mjs → mime-BGoZ8ZLL.mjs} +1 -1
- package/dist/{mysql-migration-sql-CI9VTwjt.mjs → mysql-sql-SlpS6OMg.mjs} +3 -3
- package/dist/nitro.mjs +3 -3
- package/dist/{node-D9dPyUr0.mjs → node-qXD3FbIU.mjs} +2 -2
- package/dist/{operator-ai-logging-DFTEp81Z.mjs → operator-ai-logging-CNuX5uKg.mjs} +1 -1
- package/dist/operator-cmd-BnLoIO2A.mjs +1 -0
- package/dist/{operator-cmd-CQOQrUiO.mjs → operator-cmd-D0vSUVle.mjs} +4 -4
- package/dist/pages/client.d.mts +4 -4
- package/dist/pages/client.mjs +4 -4
- package/dist/pages/head.mjs +1 -1
- package/dist/pages/index.d.mts +3 -3
- package/dist/pages/index.mjs +5 -5
- package/dist/pages/islands-plugin.d.mts +1 -1
- package/dist/pages/islands-plugin.mjs +1 -1
- package/dist/pages/prefetch.d.mts +1 -1
- package/dist/pages/prefetch.mjs +1 -1
- package/dist/pages/protocol.d.mts +3 -3
- package/dist/pages/protocol.mjs +3 -3
- package/dist/{pg-DoyPxa_X.mjs → pgpass-CEtnBOZO.mjs} +1 -1
- package/dist/{platform-args-DtpHS_75.mjs → platform-args-DQSMW4EP.mjs} +24 -5
- package/dist/platform-args-Rgp86xa7.mjs +1 -0
- package/dist/{platform-auth-config-fLwIS5VG.mjs → platform-auth-config-V2ifSLQ-.mjs} +4 -4
- package/dist/{platform-auth-protection-BTRI_YwD.mjs → platform-auth-protection-BybVCUzi.mjs} +2 -2
- package/dist/{platform-auth-recovery-DPK2Mvmo.mjs → platform-auth-recovery-kH1-h8Ch.mjs} +2 -2
- package/dist/{platform-cmd-BLy5uCa-.mjs → platform-cmd-B1jtqXnu.mjs} +1 -1
- package/dist/{platform-cmd-HS_FSthn.mjs → platform-cmd-BHWdh1Hx.mjs} +5 -5
- package/dist/{platform-domain-CHpcq_qg.mjs → platform-domain-DB_KpVhg.mjs} +2 -2
- package/dist/{platform-lifecycle-B6LUBwjS.mjs → platform-lifecycle-BoOTmH6H.mjs} +1 -1
- package/dist/{platform-lifecycle-D2RS7DE0.mjs → platform-lifecycle-C6fUuj4y.mjs} +146 -71
- package/dist/{platform-management-C-T0ch4y.mjs → platform-management-7Bf_OgS5.mjs} +1 -1
- package/dist/{platform-management-d3ETv3Dw.mjs → platform-management-B8-pOxoJ.mjs} +9 -2
- package/dist/{platform-plans-config-B7yJQKf7.mjs → platform-plans-config-iczSDkQK.mjs} +1 -1
- package/dist/{platform-recovery-DS5CAsly.mjs → platform-recovery-ZAXin6WK.mjs} +2 -2
- package/dist/{platform-setup-Casiffqj.mjs → platform-setup-CpcHLI-0.mjs} +1 -0
- package/dist/{plugin-inference-DZHmVe1f.mjs → plugin-inference-BGamcCqB.mjs} +1 -2
- package/dist/{prefetch-Dx2jIbtg.mjs → prefetch-C_OUvg5g.mjs} +4 -0
- package/dist/{prefetch-NdNeubbH.d.mts → prefetch-UINRrqL4.d.mts} +1 -0
- package/dist/{prepare-AVM4Hj3T.mjs → prepare-BrAkXTTB.mjs} +3 -3
- package/dist/prepare-CI7_C9Xf.mjs +1 -0
- package/dist/{prepare-DMk8NAO-.mjs → prepare-Cjt6EM0d.mjs} +1 -1
- package/dist/{project-cmd-TQKAOTMV.mjs → project-cmd-wtCuc8Ln.mjs} +15 -15
- package/dist/{project-team-B1OKeb-T.mjs → project-team-CZFvPIJ-.mjs} +1 -1
- package/dist/{project-token-RW_wpmN-.mjs → project-token-C3TxkWeC.mjs} +1 -1
- package/dist/{project-zero-trust-TNc66p0_.mjs → project-zero-trust-DrRyAHW1.mjs} +1 -1
- package/dist/{protocol-YS3tbxWE.d.mts → protocol-BlAiF-hc.d.mts} +5 -3
- package/dist/{email-protocol-DTs_TjCS.mjs → protocol-ChF3kDjf.mjs} +1 -1
- package/dist/{protocol-IPSWHolJ.mjs → protocol-W5EQcIzN.mjs} +43 -22
- package/dist/{provision-bgQTi5QZ.mjs → provision-CknEbPuw.mjs} +3 -2
- package/dist/{provision-BLdkpFT4.mjs → provision-DdWqRmmr.mjs} +1 -1
- package/dist/{env-public-DtJL_hZq.d.mts → public-B80SwOFp.d.mts} +14 -9
- package/dist/{env-raw-e8qgqAzQ.mjs → raw-7pQirZpQ.mjs} +1 -1
- package/dist/raw-CtfNvKyY.d.mts +3 -0
- package/dist/{requests-Cj15-yrI.mjs → requests-FaA9M3RX.mjs} +1 -1
- package/dist/{response-HmNjB30w.mjs → response-CyXsGfOy.mjs} +1 -1
- package/dist/{rollback-CYnkng7B.mjs → rollback-DM6pZ23Y.mjs} +2 -2
- package/dist/{route-types-C6eAOmOj.mjs → route-types-CrODgORq.mjs} +36 -6
- package/dist/{route-url-CfCR4oMj.mjs → route-url-BBdkU7rb.mjs} +1 -1
- package/dist/{route-url-C3JwYrER.d.mts → route-url-Di1kB8D_.d.mts} +6 -2
- package/dist/routes-stub.d.mts +1 -3
- package/dist/routes-stub.mjs +1 -1
- package/dist/{runner-mysql-BXfcQQj3.mjs → runner-mysql-CJ-HyqxV.mjs} +1 -1
- package/dist/{runner-mysql-CHvEg_sy.mjs → runner-mysql-C_PrAUTm.mjs} +1 -1
- package/dist/runtime/{ai.mjs → ai/index.mjs} +6 -6
- package/dist/runtime/{better-auth.d.mts → auth/better-auth-d1.d.mts} +1 -1
- package/dist/runtime/{better-auth.mjs → auth/better-auth-d1.mjs} +3 -3
- package/dist/runtime/{better-auth-mysql.d.mts → auth/better-auth-mysql.d.mts} +1 -1
- package/dist/runtime/{better-auth-mysql.mjs → auth/better-auth-mysql.mjs} +3 -3
- package/dist/runtime/{better-auth-pg.d.mts → auth/better-auth-postgres.d.mts} +1 -1
- package/dist/runtime/{better-auth-pg.mjs → auth/better-auth-postgres.mjs} +4 -4
- package/dist/runtime/auth/client-react.d.mts +2 -0
- package/dist/runtime/auth/client-react.mjs +1 -0
- package/dist/runtime/auth/client-solid.d.mts +2 -0
- package/dist/runtime/auth/client-solid.mjs +1 -0
- package/dist/runtime/auth/client-svelte.d.mts +2 -0
- package/dist/runtime/auth/client-svelte.mjs +1 -0
- package/dist/runtime/auth/client-vue.d.mts +2 -0
- package/dist/runtime/auth/client-vue.mjs +1 -0
- package/dist/runtime/auth/client.d.mts +2 -0
- package/dist/runtime/auth/client.mjs +1 -0
- package/dist/runtime/{auth.d.mts → auth/index.d.mts} +1 -1
- package/dist/runtime/auth/index.mjs +1 -0
- package/dist/runtime/{fetch-server.d.mts → client/fetch-server.d.mts} +1 -1
- package/dist/runtime/{fetch-server.mjs → client/fetch-server.mjs} +3 -3
- package/dist/runtime/client/fetch-stream.d.mts +3 -0
- package/dist/runtime/client/fetch-stream.mjs +3 -0
- package/dist/runtime/{fetch.d.mts → client/fetch.d.mts} +1 -1
- package/dist/runtime/client/fetch.mjs +3 -0
- package/dist/runtime/client/index.d.mts +5 -0
- package/dist/runtime/client/index.mjs +5 -0
- package/dist/runtime/client/react.d.mts +5 -0
- package/dist/runtime/client/react.mjs +5 -0
- package/dist/runtime/client/solid.d.mts +5 -0
- package/dist/runtime/client/solid.mjs +5 -0
- package/dist/runtime/client/svelte.d.mts +5 -0
- package/dist/runtime/client/svelte.mjs +5 -0
- package/dist/runtime/client/vue.d.mts +5 -0
- package/dist/runtime/client/vue.mjs +5 -0
- package/dist/runtime/{db.mjs → db/index.mjs} +2 -2
- package/dist/runtime/{migration-handler.d.mts → db/migrations/d1-handler.d.mts} +1 -1
- package/dist/runtime/{migration-handler.mjs → db/migrations/d1-handler.mjs} +1 -1
- package/dist/runtime/{migration-handler-mysql.d.mts → db/migrations/mysql-handler.d.mts} +1 -1
- package/dist/runtime/{migration-handler-mysql.mjs → db/migrations/mysql-handler.mjs} +2 -2
- package/dist/runtime/{migration-handler-pg.d.mts → db/migrations/postgres-handler.d.mts} +1 -1
- package/dist/runtime/{migration-handler-pg.mjs → db/migrations/postgres-handler.mjs} +2 -2
- package/dist/runtime/{seed.mjs → db/seed.mjs} +1 -1
- package/dist/runtime/{durable.mjs → durable/index.mjs} +3 -3
- package/dist/runtime/{email.d.mts → email/index.d.mts} +1 -1
- package/dist/runtime/{email.mjs → email/index.mjs} +6 -6
- package/dist/runtime/{email-protocol.mjs → email/protocol.mjs} +1 -1
- package/dist/runtime/email/testing.mjs +4 -4
- package/dist/runtime/{env-public-client.d.mts → env/public-client.d.mts} +1 -1
- package/dist/runtime/{env-public-client.mjs → env/public-client.mjs} +2 -2
- package/dist/runtime/env/public.d.mts +4 -0
- package/dist/runtime/{env-public.mjs → env/public.mjs} +144 -75
- package/dist/runtime/{env.d.mts → env/runtime.d.mts} +1 -2
- package/dist/runtime/{env.mjs → env/runtime.mjs} +1 -1
- package/dist/runtime/{handler.d.mts → handler/index.d.mts} +1 -1
- package/dist/runtime/{handler.mjs → handler/index.mjs} +2 -2
- package/dist/runtime/{response.mjs → handler/response.mjs} +1 -1
- package/dist/runtime/handler/validator.d.mts +2 -0
- package/dist/runtime/handler/validator.mjs +1 -0
- package/dist/runtime/{isr.mjs → isr/index.mjs} +2 -2
- package/dist/runtime/{kv.mjs → kv/index.mjs} +2 -2
- package/dist/runtime/{limits.d.mts → limits/index.d.mts} +1 -1
- package/dist/runtime/{limits.mjs → limits/index.mjs} +1 -1
- package/dist/runtime/{live-client.d.mts → live/client.d.mts} +2 -2
- package/dist/runtime/{live-client.mjs → live/client.mjs} +1 -1
- package/dist/runtime/{live.d.mts → live/index.d.mts} +1 -1
- package/dist/runtime/live/index.mjs +1 -0
- package/dist/runtime/{live-server.mjs → live/server.mjs} +3 -3
- package/dist/runtime/{log.mjs → log/index.mjs} +1 -1
- package/dist/runtime/queues/index.d.mts +2 -0
- package/dist/runtime/{queues.mjs → queues/index.mjs} +2 -2
- package/dist/runtime/remote/binding-handler.mjs +1 -1
- package/dist/runtime/remote/index.mjs +1 -1
- package/dist/runtime/{routing.d.mts → routing/index.d.mts} +7 -2
- package/dist/runtime/{routing.mjs → routing/index.mjs} +51 -17
- package/dist/runtime/{route-url.d.mts → routing/route-url.d.mts} +1 -1
- package/dist/runtime/{route-url.mjs → routing/route-url.mjs} +1 -1
- package/dist/runtime/{sandbox-container.d.mts → sandbox/container.d.mts} +1 -1
- package/dist/runtime/{sandbox-container.mjs → sandbox/container.mjs} +1 -1
- package/dist/runtime/{sandbox.d.mts → sandbox/index.d.mts} +2 -2
- package/dist/runtime/{sandbox.mjs → sandbox/index.mjs} +5 -5
- package/dist/runtime/{sse-client.d.mts → sse/client.d.mts} +1 -1
- package/dist/runtime/{sse-client.mjs → sse/client.mjs} +1 -1
- package/dist/runtime/sse/index.mjs +1 -0
- package/dist/runtime/{storage.mjs → storage/index.mjs} +2 -2
- package/dist/runtime/ws/index.d.mts +2 -0
- package/dist/runtime/{ws.mjs → ws/index.mjs} +3 -3
- package/dist/runtime/ws/room.d.mts +30 -0
- package/dist/runtime/ws/room.mjs +37 -0
- package/dist/runtime/{ws-server.d.mts → ws/server.d.mts} +18 -3
- package/dist/runtime/ws/server.mjs +1 -0
- package/dist/{env-DtKg5G26.mjs → runtime-zDDinDI5.mjs} +2 -2
- package/dist/{dist-BWNkVq50.mjs → scan-tDExXbA1.mjs} +978 -11
- package/dist/{secret-BSf7dgg_.mjs → secret-DDNLIQOT.mjs} +3 -3
- package/dist/{runtime/ws-server.mjs → server-CfUbeOjx.mjs} +60 -19
- package/dist/{sse-CxR30yMF.mjs → sse-BXnTfcf3.mjs} +1 -1
- package/dist/{static-asset-marker-DsQKz6lt.mjs → static-asset-marker-lxYeKvFP.mjs} +2 -2
- package/dist/{types-IPut3_Yx.d.mts → types-FDH6NuY1.d.mts} +0 -5
- package/dist/{validation-error-uAAjlsiW.mjs → validation-error-CtcAvyI7.mjs} +1 -1
- package/dist/{validator-8-NZs2Xr.mjs → validator-Duafcnh7.mjs} +1 -1
- package/dist/{version-metadata-CeftH0fQ.mjs → version-metadata-DEmItNdS.mjs} +1 -1
- package/dist/{wrangler-B1gkT_wC.mjs → wrangler-D1zq1rXr.mjs} +20 -3
- package/dist/wrangler-DM3GOqck.mjs +1 -0
- package/dist/{wrapper-xJ4LP5A7.mjs → wrapper-C2gMY432.mjs} +11 -6
- package/docs/guide/ai.md +3 -2
- package/docs/guide/auth.md +20 -13
- package/docs/guide/database.md +0 -7
- package/docs/guide/email/sending.md +0 -1
- package/docs/guide/pages-routing/errors.md +23 -1
- package/docs/guide/pages-routing/head.md +15 -10
- package/docs/guide/pages-routing/loaders.md +19 -0
- package/docs/guide/pages-routing/markdown.md +14 -10
- package/docs/guide/pages-routing/view-transitions.md +0 -16
- package/docs/guide/platform/administration/plans.md +13 -13
- package/docs/guide/platform/administration/projects.md +14 -4
- package/docs/guide/platform/installation/ci.md +5 -2
- package/docs/guide/platform/installation/maintenance.md +5 -2
- package/docs/guide/platform/installation/prerequisites.md +1 -1
- package/docs/guide/platform/installation/setup.md +12 -0
- package/docs/guide/queues.md +9 -5
- package/docs/guide/storage.md +0 -4
- package/docs/guide/type-safety.md +18 -12
- package/docs/guide/websockets.md +72 -1
- package/docs/integrations/frameworks/overview.md +7 -0
- package/docs/integrations/hono.md +4 -3
- package/docs/reference/api/auth.md +8 -8
- package/docs/reference/api/deploy.md +1 -1
- package/docs/reference/api/pages.md +2 -0
- package/docs/reference/api.md +2 -1
- package/docs/reference/cli/platform-config.md +33 -7
- package/docs/reference/cli/platform-installation.md +4 -1
- package/docs/reference/cli/platform-users.md +48 -35
- package/docs/reference/cli.md +2 -2
- package/docs/reference/config.md +13 -1
- package/package.json +165 -160
- package/schema.json +12 -1
- package/dist/cf-build-output-DUZnAeZ1.mjs +0 -1
- package/dist/deploy-Dr_Qamzw.mjs +0 -2
- package/dist/email-BHY72ixO.mjs +0 -165
- package/dist/gen-DmEeVEs4.mjs +0 -1
- package/dist/help-Cp3K5m1w.mjs +0 -1
- package/dist/login-DBs8JuSl.mjs +0 -1
- package/dist/migrate-BYhoIK9R.mjs +0 -1
- package/dist/operator-cmd-xCACDtT1.mjs +0 -1
- package/dist/platform-args-DSi4_M8n.mjs +0 -1
- package/dist/prepare-BSXKz6m8.mjs +0 -1
- package/dist/runtime/auth-client-react.d.mts +0 -2
- package/dist/runtime/auth-client-react.mjs +0 -1
- package/dist/runtime/auth-client-solid.d.mts +0 -2
- package/dist/runtime/auth-client-solid.mjs +0 -1
- package/dist/runtime/auth-client-svelte.d.mts +0 -2
- package/dist/runtime/auth-client-svelte.mjs +0 -1
- package/dist/runtime/auth-client-vue.d.mts +0 -2
- package/dist/runtime/auth-client-vue.mjs +0 -1
- package/dist/runtime/auth-client.d.mts +0 -2
- package/dist/runtime/auth-client.mjs +0 -1
- package/dist/runtime/auth.mjs +0 -1
- package/dist/runtime/client-react.d.mts +0 -5
- package/dist/runtime/client-react.mjs +0 -5
- package/dist/runtime/client-solid.d.mts +0 -5
- package/dist/runtime/client-solid.mjs +0 -5
- package/dist/runtime/client-svelte.d.mts +0 -5
- package/dist/runtime/client-svelte.mjs +0 -5
- package/dist/runtime/client-vue.d.mts +0 -5
- package/dist/runtime/client-vue.mjs +0 -5
- package/dist/runtime/client.d.mts +0 -5
- package/dist/runtime/client.mjs +0 -5
- package/dist/runtime/env-public.d.mts +0 -4
- package/dist/runtime/fetch-stream.d.mts +0 -3
- package/dist/runtime/fetch-stream.mjs +0 -3
- package/dist/runtime/fetch.mjs +0 -3
- package/dist/runtime/live.mjs +0 -1
- package/dist/runtime/queues.d.mts +0 -2
- package/dist/runtime/sse.mjs +0 -1
- package/dist/runtime/validator.d.mts +0 -2
- package/dist/runtime/validator.mjs +0 -1
- package/dist/runtime/ws.d.mts +0 -2
- package/dist/scan-4YOxDaw2.mjs +0 -970
- package/dist/wrangler-fNGvPTlO.mjs +0 -1
- /package/dist/{auth-client-6-Ft9i9T.d.mts → client-6-Ft9i9T.d.mts} +0 -0
- /package/dist/{auth-client-react-DvQLe5Zb.d.mts → client-react-DvQLe5Zb.d.mts} +0 -0
- /package/dist/{auth-client-solid-P9pEtKGp.d.mts → client-solid-P9pEtKGp.d.mts} +0 -0
- /package/dist/{auth-client-svelte-B5j8irT6.d.mts → client-svelte-B5j8irT6.d.mts} +0 -0
- /package/dist/{auth-client-vue-BEiAfavk.d.mts → client-vue-BEiAfavk.d.mts} +0 -0
- /package/dist/{migration-handler-D8mDx3Ew.d.mts → d1-handler-D8mDx3Ew.d.mts} +0 -0
- /package/dist/{env-helpers-U56xuFgL.d.mts → helpers-U56xuFgL.d.mts} +0 -0
- /package/dist/{auth-CV9kXHKe.d.mts → index-CV9kXHKe.d.mts} +0 -0
- /package/dist/{queues-DdM42xXW.d.mts → index-DdM42xXW.d.mts} +0 -0
- /package/dist/{limits-_xIf5z_P.d.mts → index-_xIf5z_P.d.mts} +0 -0
- /package/dist/runtime/{ai.d.mts → ai/index.d.mts} +0 -0
- /package/dist/runtime/{db.d.mts → db/index.d.mts} +0 -0
- /package/dist/runtime/{db-mysql.d.mts → db/mysql.d.mts} +0 -0
- /package/dist/runtime/{db-mysql.mjs → db/mysql.mjs} +0 -0
- /package/dist/runtime/{db-pg.d.mts → db/postgres.d.mts} +0 -0
- /package/dist/runtime/{db-pg.mjs → db/postgres.mjs} +0 -0
- /package/dist/runtime/{schema-d1.d.mts → db/schema/d1.d.mts} +0 -0
- /package/dist/runtime/{schema-d1.mjs → db/schema/d1.mjs} +0 -0
- /package/dist/runtime/{schema-mysql.d.mts → db/schema/mysql.d.mts} +0 -0
- /package/dist/runtime/{schema-mysql.mjs → db/schema/mysql.mjs} +0 -0
- /package/dist/runtime/{schema-pg.d.mts → db/schema/postgres.d.mts} +0 -0
- /package/dist/runtime/{schema-pg.mjs → db/schema/postgres.mjs} +0 -0
- /package/dist/runtime/{seed.d.mts → db/seed.d.mts} +0 -0
- /package/dist/runtime/{drizzle-arktype.d.mts → db/validators/drizzle-arktype.d.mts} +0 -0
- /package/dist/runtime/{drizzle-arktype.mjs → db/validators/drizzle-arktype.mjs} +0 -0
- /package/dist/runtime/{drizzle-valibot.d.mts → db/validators/drizzle-valibot.d.mts} +0 -0
- /package/dist/runtime/{drizzle-valibot.mjs → db/validators/drizzle-valibot.mjs} +0 -0
- /package/dist/runtime/{drizzle-zod.d.mts → db/validators/drizzle-zod.d.mts} +0 -0
- /package/dist/runtime/{drizzle-zod.mjs → db/validators/drizzle-zod.mjs} +0 -0
- /package/dist/runtime/{durable.d.mts → durable/index.d.mts} +0 -0
- /package/dist/runtime/{email-protocol.d.mts → email/protocol.d.mts} +0 -0
- /package/dist/runtime/{response.d.mts → handler/response.d.mts} +0 -0
- /package/dist/runtime/{isr.d.mts → isr/index.d.mts} +0 -0
- /package/dist/runtime/{kv.d.mts → kv/index.d.mts} +0 -0
- /package/dist/runtime/{live-server.d.mts → live/server.d.mts} +0 -0
- /package/dist/runtime/{log.d.mts → log/index.d.mts} +0 -0
- /package/dist/runtime/{sse.d.mts → sse/index.d.mts} +0 -0
- /package/dist/runtime/{storage.d.mts → storage/index.d.mts} +0 -0
|
@@ -9,7 +9,7 @@ Imported from `"void/auth"`. Client-side helpers imported from `"void/client"`.
|
|
|
9
9
|
|
|
10
10
|
## `defineAuth(config)` {#defineauth-config}
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
Customize Better Auth in a root-level `auth.ts` file. Spread `defaults` to keep Void's configuration:
|
|
13
13
|
|
|
14
14
|
```ts
|
|
15
15
|
import { defineAuth } from 'void/auth';
|
|
@@ -44,7 +44,7 @@ function getUser(): AuthUser | null;
|
|
|
44
44
|
|
|
45
45
|
## `getSession()` {#getsession}
|
|
46
46
|
|
|
47
|
-
Returns the current
|
|
47
|
+
Returns the current user and session, or `null` when signed out.
|
|
48
48
|
|
|
49
49
|
```ts
|
|
50
50
|
import { getSession } from 'void/auth';
|
|
@@ -71,6 +71,8 @@ export const GET = defineHandler((c) => getAuth(c).handler(c.req.raw));
|
|
|
71
71
|
|
|
72
72
|
Enable [authentication](../../guide/auth.md) before calling this helper; it throws if no instance is available. Anonymous requests can use it too. Call `requireAuth(c)` separately to require a signed-in user.
|
|
73
73
|
|
|
74
|
+
Void includes cookies set by `getAuth(c).api` calls in the response. For example, `signInEmail` and `signUpEmail` sign in the current browser. A cross-origin `POST` must come from a configured `trustedOrigins` entry for those cookies to be sent. See [Calling Better Auth APIs](../../guide/auth.md#calling-better-auth-apis) for session updates and account creation.
|
|
75
|
+
|
|
74
76
|
**Signature:**
|
|
75
77
|
|
|
76
78
|
```ts
|
|
@@ -79,9 +81,7 @@ function getAuth(c: CloudContext): AuthInstance;
|
|
|
79
81
|
|
|
80
82
|
## `requireAuth(c, options?)` {#requireauth-c}
|
|
81
83
|
|
|
82
|
-
Returns the
|
|
83
|
-
|
|
84
|
-
Use it without options in route handlers or actions when you want a plain-text `401`, not an error page:
|
|
84
|
+
Returns the signed-in user or throws a `401` `HTTPException` if no session is present:
|
|
85
85
|
|
|
86
86
|
```ts
|
|
87
87
|
import { defineHandler } from 'void';
|
|
@@ -93,7 +93,7 @@ export const GET = defineHandler((c) => {
|
|
|
93
93
|
});
|
|
94
94
|
```
|
|
95
95
|
|
|
96
|
-
|
|
96
|
+
In a page loader or middleware, that exception shows the nearest applicable [`_error` component](../../guide/pages-routing/errors.md#http-exceptions). To send visitors to login instead, pass `throwRedirect`:
|
|
97
97
|
|
|
98
98
|
```ts
|
|
99
99
|
import { defineHandler } from 'void';
|
|
@@ -105,9 +105,9 @@ export const loader = defineHandler((c) => {
|
|
|
105
105
|
});
|
|
106
106
|
```
|
|
107
107
|
|
|
108
|
-
`throwRedirect` works in loaders, actions, and middleware.
|
|
108
|
+
`throwRedirect` works in loaders, actions, and middleware. For a signed-out request, it stops execution with a `302` redirect for GET/HEAD requests or `303` for other methods. Pages client navigation follows the redirect without a document reload. Signing in does not repeat a rejected action.
|
|
109
109
|
|
|
110
|
-
|
|
110
|
+
Choose a trusted destination in your app; validate any URL supplied by a user before passing it here.
|
|
111
111
|
|
|
112
112
|
**Signature:**
|
|
113
113
|
|
|
@@ -52,7 +52,7 @@ try {
|
|
|
52
52
|
}
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
-
Pass a Worker output directory containing a generated `wrangler.json`, such as `dist/ssr` or `dist/server`. For native Cloudflare Build Output, pass the project root containing `.cloudflare/output/
|
|
55
|
+
Pass a Worker output directory containing a generated `wrangler.json`, such as `dist/ssr` or `dist/server`. For native Cloudflare Build Output, pass the project root containing `.cloudflare/output/v1`. Rebuild artifacts made with an older Void version before preparing them with the updated toolchain. The result is a temporary copy for your publication workflow. For Containers built from a local Dockerfile, publish from the same Docker environment used to build the image.
|
|
56
56
|
|
|
57
57
|
| Option | Description |
|
|
58
58
|
| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
@@ -48,6 +48,8 @@ Combine strategies with an array such as `['visible', 'hover']`. The first one t
|
|
|
48
48
|
|
|
49
49
|
Only same-origin GET links prefetch. `Link` skips prefetching when Chromium reports data saver or a 2G connection. Calling `router.prefetch()` explicitly still loads the page.
|
|
50
50
|
|
|
51
|
+
Following a prefetched link reuses its data when ready. If it is still loading, navigation starts a separate request so [deferred props](../../guide/pages-routing/loaders.md#deferred-props) can stream without delaying the page.
|
|
52
|
+
|
|
51
53
|
Set `cacheFor` in milliseconds or as a duration such as `'5m'`. To show cached data while refreshing it in the background, use a pair such as `['30s', '5m']`: the page stays fresh for 30 seconds and can be reused for up to 5 minutes.
|
|
52
54
|
|
|
53
55
|
Each adapter plugin's `prefetch` option sets app-wide values:
|
package/docs/reference/api.md
CHANGED
|
@@ -42,7 +42,8 @@ Import Void's app-facing APIs from these paths:
|
|
|
42
42
|
| `void/auth` | `defineAuth`, `getUser`, `getSession`, `requireAuth`, `AuthUser`, `AuthSession`, `AuthState` |
|
|
43
43
|
| `void/client` | `fetch`, `fetchStream`, `FetchError`, `auth`, `createAuthClient`, `AuthUser`, `AuthSession`, `AuthState` |
|
|
44
44
|
| `void/client/{framework}` | Same as `void/client`, with framework-specific Better Auth clients for `react`, `vue`, `svelte`, and `solid` |
|
|
45
|
-
| `void/ws` | `defineRoom`, `defineWebSocket`, `connect`, WebSocket context and
|
|
45
|
+
| `void/ws` | `defineRoom`, `defineWebSocket`, `connect`, WebSocket context, connection and action types |
|
|
46
|
+
| `void/ws/server` | `getRoom`, `RoomHandle`, `RoomOptions`, `RoomPath`. Server-only: call room actions from routes, auth hooks, queues and cron jobs. |
|
|
46
47
|
| `void/durable` | `defineDurableState`, `defineDurableObject`, typed state/RPC/context/migration types |
|
|
47
48
|
| `void/sse` | `eventStream`, `formatSse`, `formatSseText`, `getLastEventId`, `SseStreamClosedError`, SSE message and stream types |
|
|
48
49
|
| `void/sse/client` | `connectEventStream`, browser `EventSource` wrapper types |
|
|
@@ -7,6 +7,8 @@ outline: deep
|
|
|
7
7
|
|
|
8
8
|
Use your administrator session for these commands. See [Platform Management](./platform.md#operator-commands) for platform selection, previews, and confirmation.
|
|
9
9
|
|
|
10
|
+
## Plans
|
|
11
|
+
|
|
10
12
|
`void platform config plans` opens an interactive plan menu using your administrator session. Plans have stable IDs and editable display names. Copy an existing plan to add one, edit limits without redeploying, archive it to stop new assignments, or remove it with an explicit replacement for its accounts.
|
|
11
13
|
|
|
12
14
|
```sh
|
|
@@ -21,11 +23,35 @@ void platform config plans default <plan-id>
|
|
|
21
23
|
void platform config plans sync
|
|
22
24
|
```
|
|
23
25
|
|
|
24
|
-
Use `--plan` to preview changes and affected accounts
|
|
26
|
+
Use `--plan` to preview changes and affected accounts, then `--yes` to apply them in a script. Every command supports `--connection <slug-or-url>` and `--json`.
|
|
27
|
+
|
|
28
|
+
### Inspect and Manage Plans
|
|
29
|
+
|
|
30
|
+
- `show` reports limits, the signup default, assignments, and pending updates. `show <plan-id>` includes the plan's AI logging default.
|
|
31
|
+
- `reset` restores a built-in plan's original limits and build size.
|
|
32
|
+
- `archive` stops new assignments while keeping existing accounts. Choose another signup default before archiving the current one.
|
|
33
|
+
- `remove` requires a replacement if the plan has accounts or is the signup default.
|
|
34
|
+
- `default` chooses the plan for new accounts. It also changes AI logging for accounts whose assigned plan is missing from the catalog.
|
|
35
|
+
|
|
36
|
+
### Plan Files
|
|
37
|
+
|
|
38
|
+
For `add` and `set`, `--file` reads a JSON object. All fields are optional; omitted fields keep their current values or the copied plan's values.
|
|
39
|
+
|
|
40
|
+
| Field | Values |
|
|
41
|
+
| ------------------- | ----------------------------------------------------------------------------------------------- |
|
|
42
|
+
| `name` | Display name |
|
|
43
|
+
| `limits` | Partial object of resource limits as nonnegative whole numbers; `0` means unlimited by the plan |
|
|
44
|
+
| `buildInstanceType` | `standard-3` or `standard-4` |
|
|
45
|
+
| `allowShortSlugs` | `true` permits future project slugs of five characters or fewer; `false` requires longer names |
|
|
46
|
+
| `aiLogging` | `off`, `metadata`, or `full`; `inherit` clears the plan's override |
|
|
47
|
+
|
|
48
|
+
Build timeouts have a platform maximum of 60 minutes; `0` uses that maximum. Storage quotas are not editable. Changing `allowShortSlugs` preserves existing URLs. See [Plans and Limits](../../guide/platform/administration/plans.md) for the supported limits and file examples, and [AI Gateway logging](./platform-users.md#ai-gateway-logging) for logging modes.
|
|
49
|
+
|
|
50
|
+
### Apply and Resume Changes
|
|
25
51
|
|
|
26
|
-
|
|
52
|
+
If someone changes the plans after your preview, create a new preview before applying. Lower quotas can restrict accounts already above them. Usage history and billing periods stay unchanged.
|
|
27
53
|
|
|
28
|
-
|
|
54
|
+
The CLI updates affected accounts and publishes AI logging defaults, then reports when new AI requests are expected to follow them. If updates fail or stop making progress, the command exits with a nonzero status and the configuration stays saved. Run `void platform config plans sync --yes` to continue before editing plans again. After a lost connection, inspect `show` and [operator events](../../guide/platform/administration/operations.md) before retrying.
|
|
29
55
|
|
|
30
56
|
## Authentication configuration {#authentication-configuration}
|
|
31
57
|
|
|
@@ -57,9 +83,9 @@ methods and signup policy are preserved.
|
|
|
57
83
|
Adding or editing a method saves a pending configuration. Enabling it verifies the
|
|
58
84
|
login in your browser before applying it. Linking the verified identity to your
|
|
59
85
|
account is a separate, explicit action. Before disabling a method, verify a linked
|
|
60
|
-
alternative; the last method cannot be disabled. Disabling
|
|
61
|
-
|
|
62
|
-
remain valid; a
|
|
86
|
+
alternative; the last method cannot be disabled. Disabling a method signs out
|
|
87
|
+
users who logged in through it, including administrators. Scoped deployment tokens
|
|
88
|
+
remain valid; a login token used as `VOID_TOKEN` is revoked.
|
|
63
89
|
|
|
64
90
|
Commands accept `--connection <slug-or-url>` and `--json`. Changes accept
|
|
65
91
|
`--plan` or `--yes`. For scripted configuration, use `--file <path>` for the
|
|
@@ -79,7 +105,7 @@ Google Workspace method, or an enabled Cloudflare Access gate. In scripts,
|
|
|
79
105
|
of login methods. Its `--file` accepts the `cloudflareAccess` object described in
|
|
80
106
|
[installation setup](../../guide/platform/installation/setup.md#choose-login-methods).
|
|
81
107
|
Protection changes require installation ownership, the saved recovery credentials,
|
|
82
|
-
and a
|
|
108
|
+
and a signed-in administrator. They sign out all users. Before
|
|
83
109
|
removing protection, change any signup rule that depends on that gate. Cloudflare
|
|
84
110
|
applications are retained for deliberate cleanup.
|
|
85
111
|
|
|
@@ -27,6 +27,7 @@ void platform install [options] [--yes]
|
|
|
27
27
|
| `--no-dedicated-zone` | Skip zone-wide application catch-all routes |
|
|
28
28
|
| `--custom-domains` | Let projects add their own domains; needs a dedicated zone |
|
|
29
29
|
| `--runtime-logs <full\|minimal>` | `minimal` keeps request URLs and log and exception messages out of runtime logs |
|
|
30
|
+
| `--storage-location <hint\|automatic>` | Default location hint for new project R2 buckets; `automatic` clears it |
|
|
30
31
|
| `--control-plane-domain <domain>` | Optional API custom hostname; defaults to `workers.dev` |
|
|
31
32
|
| `--no-control-plane-domain` | Use the default `workers.dev` API hostname |
|
|
32
33
|
| `--dashboard-url <origin>` | HTTPS origin of an optional dashboard deployed separately |
|
|
@@ -103,7 +104,7 @@ Use these commands to recover, update, pause, or remove an installation:
|
|
|
103
104
|
|
|
104
105
|
```sh
|
|
105
106
|
void platform discover [--account <id>] [--installation <id-or-name>]
|
|
106
|
-
void platform upgrade [id] [--runtime <path>] [--dashboard-url <origin>] [--custom-domains] [--runtime-logs <full|minimal>] [--plan] [--yes]
|
|
107
|
+
void platform upgrade [id] [--runtime <path>] [--dashboard-url <origin>] [--custom-domains] [--runtime-logs <full|minimal>] [--storage-location <hint|automatic>] [--plan] [--yes]
|
|
107
108
|
void platform rollback [id] --runtime <earlier-path> [--from-runtime <current-path>] [--plan] [--yes]
|
|
108
109
|
void platform repair [id] [--runtime <path>] [--dashboard-url <origin>] [--custom-domains] [--auth-config <path>] [--plan] [--yes]
|
|
109
110
|
void platform disable [id] [--plan] [--yes]
|
|
@@ -117,6 +118,8 @@ Use the installation slug shown beside its name in `void platform list`. Install
|
|
|
117
118
|
|
|
118
119
|
`upgrade --runtime-logs <full|minimal>` changes what runtime logs record; without it, upgrades keep the current setting. See [Choose what runtime logs record](../../guide/platform/installation/setup.md#runtime-logs).
|
|
119
120
|
|
|
121
|
+
`upgrade --storage-location <hint|automatic>` changes the default location hint for new project R2 buckets. Omission keeps the current setting; `automatic` clears it. Existing buckets stay in place. See [Choose a default storage location](../../guide/platform/installation/setup.md#choose-a-default-storage-location).
|
|
122
|
+
|
|
120
123
|
To add or explicitly change a separately deployed dashboard after installation,
|
|
121
124
|
use `repair --dashboard-url <origin>` or `upgrade --dashboard-url <origin>`.
|
|
122
125
|
Preview with `--plan` first. Existing Access protection must cover the configured
|
|
@@ -23,7 +23,11 @@ void platform user restore <id>
|
|
|
23
23
|
void platform user delete <id>
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
Changing a user's plan updates their resource limits and their projects' [AI Gateway logging default](#ai-gateway-logging). An administrator suspension stays in effect. The command updates AI logging for up to 100 projects per run; if it reports unfinished work, repeat the same command to continue.
|
|
27
|
+
|
|
28
|
+
Suspending a user blocks their apps, scheduled jobs, and queue consumers. While suspended, each queue message is retried about once an hour. Each attempt uses one of the queue's retries. Messages are dropped when retries run out: after about 3 hours with the default of 3 retries, or immediately with `maxRetries: 0`. Restore an account suspended by mistake promptly; delivery resumes within about an hour.
|
|
29
|
+
|
|
30
|
+
Deleting a user also deletes their project resources.
|
|
27
31
|
|
|
28
32
|
The last active administrator cannot be deleted or suspended. Both previews and
|
|
29
33
|
actual mutations enforce this rule, including in the browser admin UI. Allowed
|
|
@@ -51,71 +55,80 @@ If deployment reports that a project requires normalization, an operator can pre
|
|
|
51
55
|
|
|
52
56
|
### AI Gateway Logging
|
|
53
57
|
|
|
54
|
-
|
|
58
|
+
Choose what AI Gateway records for a project. For example, keep request metadata without storing prompts or responses:
|
|
59
|
+
|
|
60
|
+
```sh
|
|
61
|
+
void platform project ai-logging <project-id> metadata --plan
|
|
62
|
+
void platform project ai-logging <project-id> metadata --yes
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Only platform administrators can change the setting. Apps cannot override it.
|
|
55
66
|
|
|
56
|
-
| Mode |
|
|
67
|
+
| Mode | Logging behavior |
|
|
57
68
|
| ---------- | ------------------------------------------------------------------------------------- |
|
|
58
|
-
| `inherit` |
|
|
69
|
+
| `inherit` | Follow the owner's plan default, then the gateway's setting. This is the default. |
|
|
59
70
|
| `off` | No log entry. |
|
|
60
71
|
| `metadata` | Model, provider, status, token counts, cost, and duration, but no prompt or response. |
|
|
61
72
|
| `full` | A log entry with the prompt and response. |
|
|
62
73
|
|
|
63
|
-
`inherit` follows the installation gateway's own logging setting, which the platform does not read. A new installation creates its gateway with logging turned on, so `inherit` stores prompts and responses until you change the gateway in Cloudflare.
|
|
64
|
-
|
|
65
74
|
Each project uses the first setting that applies:
|
|
66
75
|
|
|
67
|
-
1. The project's
|
|
68
|
-
2. The
|
|
69
|
-
3.
|
|
76
|
+
1. The project's `off`, `metadata`, or `full` setting.
|
|
77
|
+
2. The [owner's plan default](../../guide/platform/administration/plans.md#ai-gateway-logging). If the plan is missing from the catalog, use the signup default plan.
|
|
78
|
+
3. The installation gateway's own logging setting.
|
|
70
79
|
|
|
71
|
-
|
|
80
|
+
Set a project to `inherit` to remove its override and follow that order. A new installation enables gateway logging, so prompts and responses are stored unless a project, plan, or gateway setting disables it. Void does not read the gateway's own setting.
|
|
72
81
|
|
|
73
|
-
|
|
74
|
-
void platform project ai-logging <project-id> metadata --plan
|
|
75
|
-
void platform project ai-logging <project-id> metadata --yes
|
|
76
|
-
```
|
|
82
|
+
#### Check a Change
|
|
77
83
|
|
|
78
|
-
|
|
84
|
+
Changes apply to new requests without redeploying, normally within 2 minutes after publishing. The command reports the effective setting, its source, and the expected time:
|
|
79
85
|
|
|
80
86
|
```txt
|
|
81
87
|
AI logging for <project-id>: metadata (set on project; plan "pro" default: inherit)
|
|
82
88
|
New AI requests are expected to follow it by 14:03:20 UTC (normally within 2 minutes).
|
|
83
89
|
```
|
|
84
90
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
`void platform project show <project-id>` reports the setting and whether it is applied:
|
|
91
|
+
Run `void platform project show <project-id>` to check progress:
|
|
88
92
|
|
|
89
93
|
```txt
|
|
90
94
|
AI Gateway logging: metadata (from plan "pro") — applied
|
|
91
95
|
```
|
|
92
96
|
|
|
93
|
-
| `state` | Meaning
|
|
94
|
-
| ---------------------- |
|
|
95
|
-
| `applied` |
|
|
96
|
-
| `pending` |
|
|
97
|
-
| `pending_plan_publish` | The plan default
|
|
98
|
-
| `drift` | The published setting differs from the saved one.
|
|
99
|
-
| `unknown` |
|
|
97
|
+
| `state` | Meaning |
|
|
98
|
+
| ---------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
|
99
|
+
| `applied` | The setting is published and the propagation period has passed. New requests follow it. |
|
|
100
|
+
| `pending` | Published; waiting until the expected time shown. |
|
|
101
|
+
| `pending_plan_publish` | The plan default has not reached this project. Run `void platform config plans sync --yes`, or repeat the user's plan change. |
|
|
102
|
+
| `drift` | The published setting differs from the saved one. Repeat `project ai-logging` to publish it again, or wait for the hourly repair. |
|
|
103
|
+
| `unknown` | Void could not read the published setting. Check again shortly. |
|
|
100
104
|
|
|
101
|
-
`show` prints the state in words, such as `pending (expected by 14:03:20 UTC)`. With `--json`,
|
|
105
|
+
Until a change is published, requests keep the previous logging behavior. `show` prints the state in words, such as `pending (expected by 14:03:20 UTC)`. With `--json`, the `aiLogging` object contains:
|
|
102
106
|
|
|
103
|
-
|
|
107
|
+
| Fields | Meaning |
|
|
108
|
+
| -------------------------------------------------- | ---------------------------------------------------------------------------------- |
|
|
109
|
+
| `mode` | Project override, or `inherit` |
|
|
110
|
+
| `planId`, `planKnown`, `defaultPlanId`, `planMode` | Owner's plan, whether it exists, the fallback plan, and the plan's logging default |
|
|
111
|
+
| `effective`, `source` | Resolved mode and its source: `project`, `plan`, or `gateway` |
|
|
112
|
+
| `published`, `publishedAt`, `state` | Published mode, publication time, and progress |
|
|
104
113
|
|
|
105
|
-
|
|
114
|
+
#### What the Setting Covers
|
|
106
115
|
|
|
107
|
-
|
|
108
|
-
- `metadata`: model, provider, status, token counts, cost and duration, but no prompt or response.
|
|
116
|
+
The setting covers new Workers AI, Markdown conversion, and provider requests through the platform, including requests from deployed apps and linked projects running `void dev`. It also applies when an app supplies its own provider key.
|
|
109
117
|
|
|
110
|
-
|
|
118
|
+
It does not change requests already running, earlier logs, separately configured Logpush exports, Cloudflare's Unified Billing records, or gateway log retention. AI usage limits still apply in every mode. See [Cloudflare logging controls](https://developers.cloudflare.com/ai-gateway/observability/logging/).
|
|
111
119
|
|
|
112
|
-
|
|
120
|
+
#### Recover from a Failed Change
|
|
113
121
|
|
|
114
|
-
|
|
122
|
+
| Error | What to do |
|
|
123
|
+
| ------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
|
|
124
|
+
| `ai_logging_publish_failed` | The change was not saved. Check the previous setting in the error message, then retry the command. |
|
|
125
|
+
| `ai_logging_publish_pending` | The change was saved but is not active yet. Retry to publish it. |
|
|
126
|
+
| `ai_logging_policy_unavailable` | An AI request returned HTTP `503` because the platform could not read the setting. Retry the request. |
|
|
127
|
+
| `ai_logging_policy_invalid` | An AI request returned HTTP `503` because the published setting is invalid. Set the project's logging mode again. |
|
|
115
128
|
|
|
116
|
-
|
|
129
|
+
The platform also repairs unpublished settings every hour. To cancel a saved but pending change, set the previous value again; leaving it pending allows it to take effect later. For an interrupted plan change, [continue the plan updates](../../guide/platform/administration/plans.md#complete-pending-updates).
|
|
117
130
|
|
|
118
|
-
Project settings
|
|
131
|
+
Project settings require platform 1.8.0 or later. If the CLI reports that the platform does not support them, run `void platform upgrade`.
|
|
119
132
|
|
|
120
133
|
## Signup Access {#operator-signup}
|
|
121
134
|
|
package/docs/reference/cli.md
CHANGED
|
@@ -34,8 +34,6 @@ Use this page as a command reference. If you are setting up a project for the fi
|
|
|
34
34
|
|
|
35
35
|
## Cheat Sheet {#cheat-sheet}
|
|
36
36
|
|
|
37
|
-
Platform administrators can also choose AI Gateway logging [per project](./cli/platform-users.md#ai-gateway-logging) with `void platform project ai-logging`, or [per plan](../guide/platform/administration/plans.md#ai-gateway-logging) with `void platform config plans`.
|
|
38
|
-
|
|
39
37
|
| Command | Purpose |
|
|
40
38
|
| --------------------------------- | ----------------------------------------------------------------------------- |
|
|
41
39
|
| `void deploy` | Build and deploy to the configured platform |
|
|
@@ -82,6 +80,8 @@ Platform administrators can also choose AI Gateway logging [per project](./cli/p
|
|
|
82
80
|
| `void init` | Set up a new or existing project, including coding agents |
|
|
83
81
|
| `void migrate` | Update project configuration |
|
|
84
82
|
|
|
83
|
+
For platform administration, see [plans and account limits](../guide/platform/administration/plans.md), [users and projects](./cli/platform-users.md), and [AI logging](./cli/platform-users.md#ai-gateway-logging).
|
|
84
|
+
|
|
85
85
|
## Binary Invocation {#binary-invocation}
|
|
86
86
|
|
|
87
87
|
The docs use `void` for brevity. Outside package scripts, run it with your package manager: `npx void`, `pnpm void`, `yarn void`, `bunx void`, or `vpx void`.
|
package/docs/reference/config.md
CHANGED
|
@@ -275,7 +275,7 @@ Enable and configure Cloudflare Sandboxes. Importing from `void/sandbox` enables
|
|
|
275
275
|
| `platformImage` | `string` | `cloudflare/debian-trixie` |
|
|
276
276
|
| `instanceType` | `string` | `lite` |
|
|
277
277
|
|
|
278
|
-
Supported sizes are `lite` and `standard-1` through `standard-4`. Native deploys build Dockerfiles with Docker; registry images must be digest-pinned references from the Cloudflare managed registry. Custom images must include the matching Sandbox SDK helper. For a local Dockerfile, supply `platformImage` when deploying to a managed platform. See [Sandboxes](../guide/sandboxes.md) for image setup and runtime examples.
|
|
278
|
+
Supported sizes are `lite`, `basic`, and `standard-1` through `standard-4`. Native deploys build Dockerfiles with Docker; registry images must be digest-pinned references from the Cloudflare managed registry. Custom images must include the matching Sandbox SDK helper. For a local Dockerfile, supply `platformImage` when deploying to a managed platform. See [Sandboxes](../guide/sandboxes.md) for image setup and runtime examples.
|
|
279
279
|
|
|
280
280
|
Sandbox requires [Workers Paid](https://dash.cloudflare.com/?to=/:account/workers/plans) and Containers access. Managed runtime tokens need Account / Containers: Edit and Account / Cloudchamber: Edit. See [Sandbox deployment](../guide/sandboxes.md#deployment).
|
|
281
281
|
|
|
@@ -298,6 +298,18 @@ Void-managed WebSocket route files (`*.ws.ts`) are Cloudflare-only because they
|
|
|
298
298
|
{ "target": "node" }
|
|
299
299
|
```
|
|
300
300
|
|
|
301
|
+
### `storage.locationHint`
|
|
302
|
+
|
|
303
|
+
Choose a preferred region when Void creates your app's R2 bucket, on either a Void platform or a direct Cloudflare deployment:
|
|
304
|
+
|
|
305
|
+
```json
|
|
306
|
+
{ "storage": { "locationHint": "apac" } }
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
Supported hints are `apac` (Asia Pacific), `eeur` (Eastern Europe), `enam` (Eastern North America), `weur` (Western Europe), `wnam` (Western North America), and `oc` (Oceania). Cloudflare treats these as [best-effort location hints](https://developers.cloudflare.com/r2/reference/data-location/), not data residency guarantees.
|
|
310
|
+
|
|
311
|
+
The project setting overrides the platform's default. Without either, Cloudflare chooses automatically. This only affects new buckets: changing the hint never moves or replaces an existing bucket. Apps that do not use R2 create no bucket.
|
|
312
|
+
|
|
301
313
|
### `worker`
|
|
302
314
|
|
|
303
315
|
Cloudflare Workers settings, including the `compatibility_date` pinned by `void init`. Put binding arrays such as `d1_databases`, `kv_namespaces`, and `r2_buckets` in [`cloudflare`](#cloudflare).
|