void 1.10.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{account-cmd-CZhbDfp4.mjs → account-cmd-D_0qJ9fx.mjs} +6 -6
- package/dist/{agents-DRo8gzni.mjs → agents-64FnLwxP.mjs} +6 -5
- package/dist/{application-analysis-Do1WaGAY.mjs → application-analysis-Cx2S63z5.mjs} +48 -22
- package/dist/{application-routing-DrOFahHO.mjs → application-routing-BAXpnawu.mjs} +1 -1
- package/dist/{assets-DZBd7yqh.mjs → assets-Br6_BeFJ.mjs} +34 -27
- package/dist/{ast-Cv0JwXqb.mjs → ast-BkPQu7A0.mjs} +5 -1
- package/dist/{auth-BN0NU9dz.mjs → auth-Boz0lrb3.mjs} +1 -1
- package/dist/{auth-CCk9Seol.mjs → auth-DlLDymuc.mjs} +24 -12
- package/dist/{auth-link-DFQTA1jN.mjs → auth-link-C97r9p2N.mjs} +6 -6
- package/dist/{auth-router-BOiaDmcQ.mjs → auth-router-BmzEgzYx.mjs} +5 -5
- package/dist/{better-auth-shared-BqsMzU14.d.mts → better-auth-shared-BS3pDQbT.d.mts} +11 -6
- package/dist/{better-auth-shared-DRHo5FoG.mjs → better-auth-shared-BcqDt-37.mjs} +7 -2
- package/dist/{build-cmd-BCiXgjn9.mjs → build-cmd-BaFsyZrz.mjs} +13 -12
- package/dist/{cache-CUulshOu.mjs → cache-xO711ATQ.mjs} +6 -6
- package/dist/{cancel-deploy-BHGZo6KC.mjs → cancel-deploy-Di11ynsr.mjs} +5 -5
- package/dist/{cf-access-pejlJmuy.mjs → cf-access-DmkKPcAI.mjs} +0 -8
- package/dist/{cf-access-Dnyw8KFY.mjs → cf-access-FaIm95jA.mjs} +8 -4
- package/dist/{cf-build-output-bBx1gDll.mjs → cf-build-output-Ca201_n1.mjs} +27 -25
- package/dist/cf-build-output-Dy7N0hQN.mjs +1 -0
- package/dist/{cf-command-values-Ccl-zRhl.mjs → cf-command-values-5BPBRc9Z.mjs} +1 -1
- package/dist/cf-config-migrate-D271BTiw.mjs +1664 -0
- package/dist/{cf-worker-settings-CARs4Wy9.mjs → cf-worker-settings-BBdlhm9U.mjs} +1 -1
- package/dist/cli/cli.mjs +1 -1
- package/dist/cli/cloudflare-operation-process.mjs +223 -16
- package/dist/cli/env-schema-probe.d.mts +3 -1
- package/dist/cli/env-schema-probe.mjs +7 -8
- package/dist/{cli-main-hM7rhIbB.mjs → cli-main-DlW6lB8s.mjs} +153 -91
- package/dist/{client-BEYbgqZw.mjs → client-DkYzDEC0.mjs} +1 -1
- package/dist/{client-aIv5UQf3.mjs → client-ImIe7Mjq.mjs} +192 -17
- package/dist/{cloudflare-auth-pNvmT6kL.mjs → cloudflare-auth-eWfhdZCk.mjs} +1 -1
- package/dist/{cloudflare-cmd-DLcgInCa.mjs → cloudflare-cmd-SsFlJe2B.mjs} +7 -8
- package/dist/{cloudflare-config-BfEfIEuY.mjs → cloudflare-config-D9UFH_A5.mjs} +2 -2
- package/dist/{cloudflare-connect-CMcKtA02.mjs → cloudflare-connect-BgpHcSg3.mjs} +3 -3
- package/dist/{cloudflare-operations-DLhn_Bom.mjs → cloudflare-operations-BF0PSErW.mjs} +40 -24
- package/dist/cloudflare-operations-dpRD-2Px.mjs +1 -0
- package/dist/cloudflare-process-60r4Z2Zf.mjs +671 -0
- package/dist/cloudflare-user-output-CCR99eQY.mjs +19 -0
- package/dist/collect-B6nlSnsb.mjs +1 -0
- package/dist/{collect-C6Blu9yw.mjs → collect-rNLybAnF.mjs} +3 -3
- package/dist/{config-Do7gJI3T.mjs → config-BFX5ZB1J.mjs} +5 -4
- package/dist/{config-CbKmMpHK.mjs → config-BSoW3QCB.mjs} +5 -5
- package/dist/{config-DuiDZbq7.d.mts → config-DA6ZbLXO.d.mts} +3 -1
- package/dist/{config-CtkCfPpv.mjs → config-DtjrUtPo.mjs} +1 -1
- package/dist/{config-qgt863GH.mjs → config-Dv5jri1-.mjs} +10 -6
- package/dist/config-entry.d.mts +1 -1
- package/dist/{connect-DM3yCNPG.mjs → connect-DDRQGfFE.mjs} +9 -9
- package/dist/{create-project-BkVGXGNt.mjs → create-project-CY7sP8sI.mjs} +7 -6
- package/dist/{create-project-C-hNdYvD.mjs → create-project-Dro3K-az.mjs} +1 -1
- package/dist/{db-DQAi7Ckr.mjs → db-DmlaWVBu.mjs} +166 -121
- package/dist/db-seed-loader-Bcz_SutQ.mjs +253 -0
- package/dist/{db-types-BpPYAx0B.mjs → db-types-B4Cf9dzR.mjs} +8 -2
- package/dist/{delete-BtVnPGO2.mjs → delete-Uuq9ch6o.mjs} +6 -6
- package/dist/{deploy-Cs93Af-d.mjs → deploy-B9E7_rHC.mjs} +235 -558
- package/dist/deploy-BB3rsZbP.mjs +2 -0
- package/dist/{deploy-managed-static-CZIx3cc1.mjs → deploy-managed-static-IKZyuc1W.mjs} +123 -198
- package/dist/deploy-security-notice-C3LalelR.mjs +192 -0
- package/dist/{deploy-transport-DT-ALuDj.mjs → deploy-transport-BKP_oV9q.mjs} +4 -4
- package/dist/deploy.mjs +10 -9
- package/dist/{dev-inbox-BiamQEAa.mjs → dev-inbox-ClVjKEHy.mjs} +1 -1
- package/dist/direct-r2-upload-DFXLWfXV.mjs +204 -0
- package/dist/discover-D2KGP3cR.mjs +1 -0
- package/dist/{discover-Vd18lHsj.mjs → discover-IcspacCg.mjs} +1 -1
- package/dist/{dispatch-DPEuEblR.mjs → dispatch-DIhDA3NI.mjs} +38 -17
- package/dist/{dist-Cp4b1_T9.mjs → dist-C47zy_kJ.mjs} +1 -1
- package/dist/{dist-STQXl8ck.mjs → dist-Cr_xGE_K.mjs} +73 -38
- package/dist/{domain-cOhYYiHU.mjs → domain-B_xY1yZ5.mjs} +8 -10
- package/dist/{dotenv-CEI8hapP.mjs → dotenv-BG6RQavH.mjs} +2 -2
- package/dist/{drizzle-DBSpPpU1.mjs → drizzle-BJDMPrj7.mjs} +35 -30
- package/dist/{drizzle-D4V_06-B.mjs → drizzle-CQ5jWuDL.mjs} +1 -1
- package/dist/{email-CnnDqvXV.mjs → email-BIC15L7a.mjs} +47 -32
- package/dist/{email-cloudflare-CCIoQueP.mjs → email-cloudflare-C447nOqq.mjs} +195 -109
- package/dist/{email-pattern-BYr-EFq5.mjs → email-pattern-bRna9MOJ.mjs} +2 -2
- package/dist/{entry-DMgR7XOf.mjs → entry-Bwb9ev8K.mjs} +13 -10
- package/dist/{env-5bphL5mV.mjs → env-DJPZYHT5.mjs} +8 -8
- package/dist/{env-UqS-21xi.mjs → env-EjHqc7m9.mjs} +1 -1
- package/dist/{env-types-WEZw5D-r.mjs → env-types-D2hBodXP.mjs} +2 -19
- package/dist/{env-validation-DfJ9Fzfa.mjs → env-validation-D-v5_CWL.mjs} +13 -13
- package/dist/{env-validation-ly_Q9Kgd.mjs → env-validation-j9pjCDfA.mjs} +1 -1
- package/dist/{error-pages-QNeBXiRR.mjs → error-pages-GORL6F_e.mjs} +1 -1
- package/dist/{fetch-CbI6lNnk.d.mts → fetch-CczQyIed.d.mts} +1 -1
- package/dist/{fetch-DdK9eGin.mjs → fetch-CiEsvjpP.mjs} +1 -1
- package/dist/{fetch-stream-DQAavFdm.mjs → fetch-stream-BIG5lHW6.mjs} +3 -4
- package/dist/{fetch-stream-DoED9atq.d.mts → fetch-stream-DRX8-83b.d.mts} +2 -2
- package/dist/gen-CQDiPi8m.mjs +1 -0
- package/dist/{gen-CjcH6DJS.mjs → gen-DiTZlDx8.mjs} +21 -18
- package/dist/{generate-BOp1g1H_.mjs → generate-C3ZAqCy-.mjs} +1 -1
- package/dist/{generate-CWb8aOsm.mjs → generate-Dq2Bgw75.mjs} +6 -6
- package/dist/{git-metadata-Cukp5kV5.mjs → git-metadata-BEokJ6US.mjs} +1 -1
- package/dist/{github-cmd-CVDLb51-.mjs → github-cmd-DPmby8x-.mjs} +14 -9
- package/dist/{handler-w_FAiIRu.mjs → handler-DCrDLzw2.mjs} +3 -3
- package/dist/has-own-key-D9QEnAkF.mjs +5 -0
- package/dist/{head-0o0QoREY.mjs → head-BwQ5kgqt.mjs} +5 -4
- package/dist/{head-CVO92KEx.d.mts → head-fUp8n_QJ.d.mts} +9 -4
- package/dist/{headers-Cyr87J6Z.mjs → headers-DqBsjDxg.mjs} +7 -7
- package/dist/{help-B1cH8518.mjs → help-9wfMyXHb.mjs} +146 -69
- package/dist/help-Dy3w4rPq.mjs +1 -0
- package/dist/{inbound-BHt4dIlL.d.mts → inbound-CwgZSqFI.d.mts} +9 -3
- package/dist/{inbound--OF7zkwX.mjs → inbound-feMn1Rxx.mjs} +7 -7
- package/dist/{index-CmqHYj2R.d.mts → index-8cAgNdb6.d.mts} +1 -1
- package/dist/{index-BTmhCDbw.d.mts → index-BQ5qYiAw.d.mts} +2 -2
- package/dist/{index-BESZTC1z.d.mts → index-BYcWajVp.d.mts} +2 -1
- package/dist/{index-BXdP39qx.d.mts → index-Dn2mkPr2.d.mts} +24 -23
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +351 -444
- package/dist/{info-BE3snw2_.mjs → info-BWEWaOBo.mjs} +4 -4
- package/dist/{init-BrS5MAiJ.mjs → init-BuTPVLPO.mjs} +737 -546
- package/dist/{isr-config-Czzb4mIq.mjs → isr-config-DiTnL9Tb.mjs} +5 -5
- package/dist/{link-BbzyrCBD.mjs → link-BiesPyT4.mjs} +7 -7
- package/dist/{list-DmppHjVc.mjs → list-CkonftPQ.mjs} +11 -7
- package/dist/{live-DvtxTUhW.mjs → live-dvGThbwy.mjs} +14 -17
- package/dist/{load-user-env-BltIJLtl.mjs → load-user-env-B8qC0Q2Y.mjs} +1 -1
- package/dist/{local-d1-DLxsKmkw.mjs → local-d1-CYOYkVwO.mjs} +3 -3
- package/dist/{login-Cihxnu7m.mjs → login-BSOSah1j.mjs} +8 -6
- package/dist/login-DWCZeCX9.mjs +1 -0
- package/dist/{logs-BCgLeLNd.mjs → logs-HOBUnroa.mjs} +9 -9
- package/dist/{migrate-DOK67gE-.mjs → migrate-BNZL1hee.mjs} +9 -10
- package/dist/migrate-C9aoWLvY.mjs +1 -0
- package/dist/{migrations-ByS7r3HV.mjs → migrations-CUHhX65Y.mjs} +15 -12
- package/dist/{mime-BGoZ8ZLL.mjs → mime-Btw9R3CC.mjs} +26 -12
- package/dist/{mysql-sql-SlpS6OMg.mjs → mysql-sql-CB52k8tQ.mjs} +45 -22
- package/dist/nitro.d.mts +3 -0
- package/dist/nitro.mjs +14 -5
- package/dist/{node-qXD3FbIU.mjs → node-DVJWfV6s.mjs} +6 -6
- package/dist/node-buffer-D7kgjaDs.mjs +4 -0
- package/dist/{operator-ai-logging-CNuX5uKg.mjs → operator-ai-logging-ZDqqhnIq.mjs} +11 -10
- package/dist/operator-args-DCkWbgT-.mjs +1499 -0
- package/dist/{operator-auth-CD3pap65.mjs → operator-auth-BjoPLgja.mjs} +2 -2
- package/dist/{operator-client-XvXTkea6.mjs → operator-client-DzebIntv.mjs} +3 -3
- package/dist/{operator-cmd-D0vSUVle.mjs → operator-cmd-AZoeI9Pl.mjs} +28 -12
- package/dist/operator-cmd-DEnHFmJF.mjs +1 -0
- package/dist/operator-security-Bo26FP01.mjs +263 -0
- package/dist/{output-DNVILSz2.mjs → output-BZLnu0z8.mjs} +39 -4
- package/dist/output-D7K9TWIA.mjs +1 -0
- package/dist/{package-json-DvS6IFRv.mjs → package-json-4xUI3xLz.mjs} +1 -1
- package/dist/pages/client.d.mts +53 -30
- package/dist/pages/client.mjs +93 -31
- package/dist/pages/head.d.mts +1 -1
- package/dist/pages/head.mjs +1 -1
- package/dist/pages/index.d.mts +2 -2
- package/dist/pages/index.mjs +7 -7
- package/dist/pages/islands-plugin.d.mts +26 -8
- package/dist/pages/islands-plugin.mjs +61 -22
- package/dist/pages/protocol.d.mts +2 -2
- package/dist/pages/protocol.mjs +1 -1
- package/dist/pages/serialize.mjs +1 -1
- package/dist/{pgpass-CEtnBOZO.mjs → pgpass-BLPoYN9_.mjs} +3 -2
- package/dist/platform-args-DNbNZ_RR.mjs +1 -0
- package/dist/{platform-args-DQSMW4EP.mjs → platform-args-lwCyQ6Xy.mjs} +37 -9
- package/dist/{platform-auth-config-V2ifSLQ-.mjs → platform-auth-config-DLRMPw1G.mjs} +26 -23
- package/dist/{platform-auth-protection-BybVCUzi.mjs → platform-auth-protection-HSmLmD3d.mjs} +10 -10
- package/dist/{platform-auth-recovery-kH1-h8Ch.mjs → platform-auth-recovery-BXPhTlKa.mjs} +11 -9
- package/dist/{platform-cmd-B1jtqXnu.mjs → platform-cmd-CqRjxFEU.mjs} +1 -1
- package/dist/{platform-cmd-BHWdh1Hx.mjs → platform-cmd-DJ-fOYhL.mjs} +11 -11
- package/dist/{platform-discovery-B0eZjZ3B.mjs → platform-discovery-CLxtixHJ.mjs} +1 -1
- package/dist/{platform-domain-DB_KpVhg.mjs → platform-domain-CRsRJOws.mjs} +14 -10
- package/dist/{platform-lifecycle-BoOTmH6H.mjs → platform-lifecycle-bx_kpqo7.mjs} +1 -1
- package/dist/{platform-lifecycle-C6fUuj4y.mjs → platform-lifecycle-fau3VKv6.mjs} +773 -206
- package/dist/platform-management-BRGhD-oF.mjs +1 -0
- package/dist/{platform-management-B8-pOxoJ.mjs → platform-management-CnKBdDx5.mjs} +227 -58
- package/dist/{platform-plans-config-iczSDkQK.mjs → platform-plans-config-2C3_5EDs.mjs} +112 -35
- package/dist/{platform-recovery-ZAXin6WK.mjs → platform-recovery-poxgOOAY.mjs} +5 -5
- package/dist/{platform-registry-DZ_2Xuqd.mjs → platform-registry-DHH6fivm.mjs} +6 -5
- package/dist/{platform-setup-CpcHLI-0.mjs → platform-setup-DYylapHD.mjs} +26 -12
- package/dist/{plugin-inference-BGamcCqB.mjs → plugin-inference-7O11_E4H.mjs} +26 -26
- package/dist/{prepare-BrAkXTTB.mjs → prepare-BbvlKreR.mjs} +12 -12
- package/dist/prepare-BmG2E6TI.mjs +1 -0
- package/dist/{prepare-Cjt6EM0d.mjs → prepare-DWjn1Lzd.mjs} +3 -3
- package/dist/{project-cmd-wtCuc8Ln.mjs → project-cmd-DyUEFi2b.mjs} +30 -24
- package/dist/{project-CLwxcEdq.mjs → project-dh9431bN.mjs} +2 -2
- package/dist/{project-paths-CUhCPMpK.mjs → project-paths-2ENfCCih.mjs} +4 -3
- package/dist/project-security--tYGFPGo.mjs +1340 -0
- package/dist/project-security-DZEQgnsS.mjs +1 -0
- package/dist/{project-team-CZFvPIJ-.mjs → project-team-BszTHgzC.mjs} +8 -8
- package/dist/{project-token-C3TxkWeC.mjs → project-token-DBDy4NdV.mjs} +6 -6
- package/dist/{project-tsconfig-MyRJgufB.mjs → project-tsconfig-BOA4ym99.mjs} +25 -5
- package/dist/{project-DVsTAWFh.mjs → project-uXKua1it.mjs} +1 -1
- package/dist/project-zero-trust-D9sUouij.mjs +210 -0
- package/dist/{protocol-W5EQcIzN.mjs → protocol-CE3wP-H1.mjs} +5 -5
- package/dist/{protocol-BlAiF-hc.d.mts → protocol-ERy-n3jf.d.mts} +7 -4
- package/dist/{provision-CknEbPuw.mjs → provision-Bh44omGA.mjs} +39 -29
- package/dist/provision-DFv7SJDn.mjs +1 -0
- package/dist/{public-B80SwOFp.d.mts → public-DB9C2Cy_.d.mts} +5 -2
- package/dist/{raw-7pQirZpQ.mjs → raw-5rak34QN.mjs} +2 -1
- package/dist/{redirect-Dqb4fEc5.mjs → redirect-DD825Stf.mjs} +1 -1
- package/dist/{requests-FaA9M3RX.mjs → requests-CBokjiOi.mjs} +6 -6
- package/dist/{resolve-project-Da3OgCU1.mjs → resolve-project-8WZ3iVmr.mjs} +3 -3
- package/dist/resolve-project-YsTH-U9I.mjs +1 -0
- package/dist/{rollback-DM6pZ23Y.mjs → rollback-CEeHNFUn.mjs} +16 -7
- package/dist/route-types-CSed9-Dp.mjs +435 -0
- package/dist/{route-url-BBdkU7rb.mjs → route-url-B41eQ8QI.mjs} +1 -1
- package/dist/{route-url-Di1kB8D_.d.mts → route-url-Bd6IX-JZ.d.mts} +2 -1
- package/dist/routes-stub.d.mts +1 -1
- package/dist/routes-stub.mjs +1 -1
- package/dist/{runner-CTk21HrO.mjs → runner-Bf94YVJK.mjs} +1 -1
- package/dist/{runner-CMZb7jNU.mjs → runner-CeguHWJx.mjs} +3 -2
- package/dist/{runner-mysql-CJ-HyqxV.mjs → runner-mysql-3XDKrn-g.mjs} +13 -9
- package/dist/{runner-mysql-C_PrAUTm.mjs → runner-mysql-r688x6Y9.mjs} +1 -1
- package/dist/{runner-pg-mYc75KfH.mjs → runner-pg-Buzw17hl.mjs} +1 -1
- package/dist/{runner-pg-2pjltt0t.mjs → runner-pg-DMJquR3d.mjs} +1 -1
- package/dist/runtime/ai/index.d.mts +1 -0
- package/dist/runtime/ai/index.mjs +26 -11
- package/dist/runtime/auth/better-auth-d1.d.mts +1 -1
- package/dist/runtime/auth/better-auth-d1.mjs +2 -2
- package/dist/runtime/auth/better-auth-mysql.d.mts +1 -1
- package/dist/runtime/auth/better-auth-mysql.mjs +2 -2
- package/dist/runtime/auth/better-auth-postgres.d.mts +1 -1
- package/dist/runtime/auth/better-auth-postgres.mjs +3 -3
- package/dist/runtime/client/fetch-server.d.mts +1 -1
- package/dist/runtime/client/fetch-server.mjs +2 -2
- package/dist/runtime/client/fetch-stream.d.mts +2 -2
- package/dist/runtime/client/fetch-stream.mjs +1 -1
- package/dist/runtime/client/fetch.d.mts +1 -1
- package/dist/runtime/client/fetch.mjs +1 -1
- package/dist/runtime/client/index.d.mts +2 -2
- package/dist/runtime/client/index.mjs +2 -2
- package/dist/runtime/client/react.d.mts +2 -2
- package/dist/runtime/client/react.mjs +2 -2
- package/dist/runtime/client/solid.d.mts +2 -2
- package/dist/runtime/client/solid.mjs +2 -2
- package/dist/runtime/client/svelte.d.mts +2 -2
- package/dist/runtime/client/svelte.mjs +2 -2
- package/dist/runtime/client/vue.d.mts +2 -2
- package/dist/runtime/client/vue.mjs +2 -2
- package/dist/runtime/db/index.d.mts +8 -2
- package/dist/runtime/db/index.mjs +21 -8
- package/dist/runtime/db/migrations/mysql-handler.mjs +1 -1
- package/dist/runtime/db/migrations/postgres-handler.mjs +1 -1
- package/dist/runtime/db/session.d.mts +2 -0
- package/dist/runtime/db/session.mjs +1 -0
- package/dist/runtime/durable/index.mjs +7 -5
- package/dist/runtime/email/index.d.mts +1 -1
- package/dist/runtime/email/index.mjs +14 -11
- package/dist/runtime/email/testing.d.mts +1 -1
- package/dist/runtime/email/testing.mjs +4 -4
- package/dist/runtime/env/public-client.d.mts +4 -1
- package/dist/runtime/env/public.d.mts +1 -1
- package/dist/runtime/env/public.mjs +2 -2
- package/dist/runtime/env/runtime.mjs +1 -1
- package/dist/runtime/handler/index.d.mts +1 -1
- package/dist/runtime/handler/index.mjs +1 -1
- package/dist/runtime/handler/validator.d.mts +1 -1
- package/dist/runtime/handler/validator.mjs +1 -1
- package/dist/runtime/isr/index.mjs +1 -1
- package/dist/runtime/kv/index.mjs +1 -1
- package/dist/runtime/live/client.d.mts +2 -2
- package/dist/runtime/live/client.mjs +7 -7
- package/dist/runtime/live/index.d.mts +1 -1
- package/dist/runtime/live/index.mjs +1 -1
- package/dist/runtime/live/server.mjs +3 -3
- package/dist/runtime/queues/index.mjs +2 -2
- package/dist/runtime/remote/index.d.mts +5 -1
- package/dist/runtime/remote/index.mjs +10 -9
- package/dist/runtime/routing/index.d.mts +11 -12
- package/dist/runtime/routing/index.mjs +69 -65
- package/dist/runtime/routing/route-url.d.mts +1 -1
- package/dist/runtime/routing/route-url.mjs +1 -1
- package/dist/runtime/sandbox/index.d.mts +1 -1
- package/dist/runtime/sandbox/index.mjs +2 -2
- package/dist/runtime/sse/client.d.mts +1 -1
- package/dist/runtime/sse/index.mjs +1 -1
- package/dist/runtime/storage/index.mjs +1 -1
- package/dist/runtime/ws/index.d.mts +1 -1
- package/dist/runtime/ws/index.mjs +3 -2
- package/dist/runtime/ws/room.d.mts +1 -1
- package/dist/runtime/ws/room.mjs +2 -2
- package/dist/runtime/ws/server.d.mts +2 -2
- package/dist/runtime/ws/server.mjs +1 -1
- package/dist/{runtime-zDDinDI5.mjs → runtime-C_VPIJBF.mjs} +1 -1
- package/dist/{scan-tDExXbA1.mjs → scan-Ct_SEzH4.mjs} +36 -29
- package/dist/{secret-DDNLIQOT.mjs → secret-Deqo3n_N.mjs} +11 -10
- package/dist/security-api-types-CU7zQtr_.mjs +9 -0
- package/dist/security-sarif-ClyYwtAW.mjs +123 -0
- package/dist/{serialize-Pf-CIQK_.mjs → serialize-BmB4BfKu.mjs} +1 -1
- package/dist/{server-CfUbeOjx.mjs → server-T-4mn8zy.mjs} +5 -4
- package/dist/session-BT8XDkvL.mjs +45 -0
- package/dist/session-ouZYD7zb.d.mts +18 -0
- package/dist/{skills-CoBB9_Ao.mjs → skills-C-csz78e.mjs} +10 -17
- package/dist/{sse-BXnTfcf3.mjs → sse-D3ab0YQT.mjs} +16 -13
- package/dist/{static-exports-DFkzL-NX.mjs → static-exports-s7P86Ngp.mjs} +3 -3
- package/dist/{subcommand-prompt-0yIARXf2.mjs → subcommand-prompt-B4LOLosl.mjs} +31 -21
- package/dist/sveltekit.mjs +1 -1
- package/dist/{terminal-log-text-DNsWJREL.mjs → terminal-log-text-CfS2JKM6.mjs} +1 -1
- package/dist/{url-DaehRGKR.mjs → url-DBQluotE.mjs} +4 -1
- package/dist/validate-CZYUIfR-.mjs +1 -0
- package/dist/{validate-Ddzl-IwT.mjs → validate-CtBWCzez.mjs} +7 -4
- package/dist/{validator-Duafcnh7.mjs → validator-Dfh9kCDm.mjs} +5 -5
- package/dist/{version-metadata-DEmItNdS.mjs → version-metadata-DqgLa6gc.mjs} +1 -1
- package/dist/{wrangler-D1zq1rXr.mjs → wrangler-DVe5KV5G.mjs} +49 -46
- package/dist/wrangler-Dq269bjx.mjs +1 -0
- package/dist/{wrapper-C2gMY432.mjs → wrapper-CcMYpOS8.mjs} +45 -171
- package/docs/guide/ai.md +13 -0
- package/docs/guide/app-types.md +1 -1
- package/docs/guide/auth.md +2 -16
- package/docs/guide/database/d1.md +283 -3
- package/docs/guide/database.md +2 -0
- package/docs/guide/email/domains.md +8 -6
- package/docs/guide/email/sending.md +18 -1
- package/docs/guide/pages-routing/actions-and-forms.md +4 -4
- package/docs/guide/pages-routing/head.md +20 -2
- package/docs/guide/platform/administration/plans.md +13 -0
- package/docs/guide/platform/administration/security-audits.md +213 -0
- package/docs/guide/platform/administration/zero-trust.md +6 -0
- package/docs/guide/platform/development/local.md +3 -5
- package/docs/guide/platform/installation/ci.md +1 -1
- package/docs/guide/platform/installation/credentials.md +23 -20
- package/docs/guide/platform/installation/maintenance.md +8 -2
- package/docs/guide/platform/installation/prerequisites.md +1 -1
- package/docs/guide/platform/installation/uninstall.md +2 -0
- package/docs/guide/platform-administration.md +1 -0
- package/docs/guide/self-hosted-platform.md +14 -13
- package/docs/guide/type-safety.md +1 -1
- package/docs/integrations/cloudflare.md +5 -3
- package/docs/reference/api/database.md +42 -2
- package/docs/reference/api/handlers.md +3 -3
- package/docs/reference/api/types.md +11 -1
- package/docs/reference/api.md +1 -1
- package/docs/reference/cli/database.md +6 -3
- package/docs/reference/cli/deploy.md +17 -13
- package/docs/reference/cli/domains.md +1 -1
- package/docs/reference/cli/email.md +3 -3
- package/docs/reference/cli/platform-config.md +5 -3
- package/docs/reference/cli/platform-installation.md +29 -28
- package/docs/reference/cli/platform-security.md +98 -0
- package/docs/reference/cli/platform-zero-trust.md +2 -0
- package/docs/reference/cli/platform.md +1 -0
- package/docs/reference/cli/project.md +57 -0
- package/docs/reference/cli.md +3 -1
- package/docs/reference/config.md +7 -6
- package/package.json +31 -27
- package/schema.json +7 -1
- package/skills/void/SKILL.md +8 -0
- package/dist/cf-build-output-D3_x71H6.mjs +0 -1
- package/dist/cf-config-migrate-CHtnM3_C.mjs +0 -348
- package/dist/cloudflare-operations-C5RTQNnh.mjs +0 -1
- package/dist/cloudflare-process-wcnaQ5JG.mjs +0 -392
- package/dist/cloudflare-user-output-zEwuGrEJ.mjs +0 -19
- package/dist/collect-8i0wU63d.mjs +0 -1
- package/dist/deploy-rUunHBNJ.mjs +0 -2
- package/dist/discover-Diq0l6TZ.mjs +0 -1
- package/dist/gen-BQ7itmK7.mjs +0 -1
- package/dist/help-Ld6XFol7.mjs +0 -1
- package/dist/login-C-n1rA0s.mjs +0 -1
- package/dist/migrate-CKn30rmw.mjs +0 -1
- package/dist/operator-args-BCCohcz3.mjs +0 -722
- package/dist/operator-cmd-BnLoIO2A.mjs +0 -1
- package/dist/output-BsdnNpxa.mjs +0 -1
- package/dist/platform-args-Rgp86xa7.mjs +0 -1
- package/dist/platform-management-7Bf_OgS5.mjs +0 -1
- package/dist/prepare-CI7_C9Xf.mjs +0 -1
- package/dist/project-zero-trust-DrRyAHW1.mjs +0 -64
- package/dist/provision-DdWqRmmr.mjs +0 -1
- package/dist/resolve-project-C5wC-Hoi.mjs +0 -1
- package/dist/route-types-CrODgORq.mjs +0 -655
- package/dist/validate-DY1U9rET.mjs +0 -1
- package/dist/wrangler-DM3GOqck.mjs +0 -1
package/docs/reference/api.md
CHANGED
|
@@ -58,7 +58,7 @@ Import Void's app-facing APIs from these paths:
|
|
|
58
58
|
| `void/schema-pg` | Re-exports [`drizzle-orm/pg-core`](https://orm.drizzle.team/docs/column-types/pg) for PostgreSQL table and column builders |
|
|
59
59
|
| `void/schema-mysql` | Re-exports `drizzle-orm/mysql-core` for MySQL table and column builders |
|
|
60
60
|
| `void/database-provider` | `defineDatabaseProvider` and adapter types for `void db connect --provider` |
|
|
61
|
-
| `void/db` | `db` (Drizzle D1, PostgreSQL, or MySQL instance for the active dialect), `createDb`, query operators (`eq`, `and`, `or`, `desc`, `like`, `inArray`, etc.)
|
|
61
|
+
| `void/db` | `db` (Drizzle D1, PostgreSQL, or MySQL instance for the active dialect), `createDb`, D1 session helpers (`setSession`, `getBookmark`), query operators (`eq`, `and`, `or`, `desc`, `like`, `inArray`, etc.) |
|
|
62
62
|
| `void/seed` | `defineSeed`, `SeedContext`, `SeedFn` for programmatic `void db seed` modules |
|
|
63
63
|
| `void/kv` | `kv`, `createKV`, typed KV client/map types |
|
|
64
64
|
| `void/storage` | `storage`, `createStorage` for the inferred R2 binding or a specific `R2Bucket` |
|
|
@@ -52,10 +52,11 @@ Programmatic seed modules must export either a default function or a named `seed
|
|
|
52
52
|
```
|
|
53
53
|
void db execute <sql>
|
|
54
54
|
void db execute --file <path>
|
|
55
|
-
void db execute --remote <sql>
|
|
55
|
+
void db execute --remote <sql> [--yes]
|
|
56
|
+
void db execute --remote --file <path> [--yes]
|
|
56
57
|
```
|
|
57
58
|
|
|
58
|
-
Run ad-hoc SQL against the database. Provide SQL inline or from a file.
|
|
59
|
+
Run ad-hoc SQL against the database. Provide SQL inline or from a file. A statement that returns rows prints them as a formatted table, and statements that change data print nothing. SQL with several statements runs as a script without printed results.
|
|
59
60
|
|
|
60
61
|
By default, targets the local database. Pass `--remote` to run against the deployed database selected in `.void/project.json`:
|
|
61
62
|
|
|
@@ -64,7 +65,9 @@ By default, targets the local database. Pass `--remote` to run against the deplo
|
|
|
64
65
|
- **Hosted PostgreSQL and MySQL projects**: fetches the stored connection string from the platform and connects directly.
|
|
65
66
|
- **Direct Cloudflare PostgreSQL and MySQL projects**: uses `DATABASE_URL` from the current shell; Cloudflare cannot return the password from Hyperdrive.
|
|
66
67
|
|
|
67
|
-
|
|
68
|
+
On direct Cloudflare D1 deployments, a `--file` larger than 100 KB runs as a D1 import: Void waits for it to finish, the database cannot serve queries until then, and query rows are not printed. Smaller files print rows like inline SQL.
|
|
69
|
+
|
|
70
|
+
For destructive statements (`DELETE`, `UPDATE`, `DROP`, etc.) when running in a TTY, you will be prompted to confirm before the query is sent to the deployed database. A TTY also asks before a D1 import, whatever the file contains. Pass `--yes` to skip the prompt. Non-TTY environments (CI) never prompt, so `--yes` is optional there.
|
|
68
71
|
|
|
69
72
|
## `void db migrate` {#void-db-migrate}
|
|
70
73
|
|
|
@@ -28,18 +28,18 @@ For an existing Void Worker, `void deploy` can link the Worker and migrate its r
|
|
|
28
28
|
|
|
29
29
|
For Drizzle projects, deploy performs a read-only schema drift check. If a new migration would be generated, deploy stops and tells you to run `void db generate`, review the migration, commit it yourself, and rerun `void deploy`.
|
|
30
30
|
|
|
31
|
-
| Flag | Purpose
|
|
32
|
-
| ------------------------------- |
|
|
33
|
-
| `--platform <cloudflare\|void>` | Override the platform stored in `.void/project.json`
|
|
34
|
-
| `--project <name>` | Target a specific Void project by slug; not supported with `--platform cloudflare`
|
|
35
|
-
| `--dir <path>` | Deploy a pre-built static directory (skips build)
|
|
36
|
-
| `--spa` | Use SPA mode instead of SSG for static deploys
|
|
37
|
-
| `--skip-build` | Skip the build step; on Cloudflare this is supported for static/SPA/SSG deploys only
|
|
38
|
-
| `--skip-migrations` | Deploy without applying application or authentication SQL migrations; supported on Cloudflare and Void platforms
|
|
39
|
-
| `--require-email` | Fail when email cannot be set up instead of deploying without it; requires `--platform cloudflare`
|
|
40
|
-
| `--provision` | Run resource provisioning again even when every resource exists
|
|
41
|
-
| `--atomic` | Publish an existing Durable Object Worker directly; readiness is checked after traffic changes
|
|
42
|
-
| `--debug` | Mirror the structured deploy log to stderr (also written to `~/.void/logs/`)
|
|
31
|
+
| Flag | Purpose |
|
|
32
|
+
| ------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
|
|
33
|
+
| `--platform <cloudflare\|void>` | Override the platform stored in `.void/project.json` |
|
|
34
|
+
| `--project <name>` | Target a specific Void project by slug; not supported with `--platform cloudflare` |
|
|
35
|
+
| `--dir <path>` | Deploy a pre-built static directory (skips build) |
|
|
36
|
+
| `--spa` | Use SPA mode instead of SSG for static deploys |
|
|
37
|
+
| `--skip-build` | Skip the build step; on Cloudflare this is supported for static/SPA/SSG deploys only |
|
|
38
|
+
| `--skip-migrations` | Deploy without applying application or authentication SQL migrations; supported on Cloudflare and Void platforms |
|
|
39
|
+
| `--require-email` | Fail when email cannot be set up instead of deploying without it; requires `--platform cloudflare` |
|
|
40
|
+
| `--provision` | Run resource provisioning again even when every resource exists; requires `--platform cloudflare` |
|
|
41
|
+
| `--atomic` | Publish an existing Durable Object Worker directly; readiness is checked after traffic changes |
|
|
42
|
+
| `--debug` | Mirror the structured deploy log to stderr (also written to `~/.void/logs/`) |
|
|
43
43
|
|
|
44
44
|
`--atomic` applies to one deployment. For an existing Durable Object Worker that consistently cannot stage, set `deploy: { cloudflare: { mode: 'atomic' } }` in `void.config.ts` so plain `void deploy` uses atomic publication. The default is `staged`.
|
|
45
45
|
|
|
@@ -81,6 +81,10 @@ project is created. The same applies to `VOID_PROJECT` and to another project on
|
|
|
81
81
|
the current platform. A first deployment still links the project when no destination
|
|
82
82
|
is configured. See [Deploy to another Void platform](../../guide/deployment.md#deploy-to-another-void-platform).
|
|
83
83
|
|
|
84
|
+
### Security notice
|
|
85
|
+
|
|
86
|
+
When the platform has [security audits](../../guide/platform/administration/security-audits.md) turned on, `void deploy` prints the scan state and any open urgent findings after the deploy is live. The deploy has already gone out, and the notice never changes the exit code. In a signed-in terminal it lists finding titles and files. In CI, and for readers, it prints counts and finding ids only. Review them with `void project security list --urgent`.
|
|
87
|
+
|
|
84
88
|
## `void deploy --platform cloudflare` {#void-deploy-platform-cloudflare}
|
|
85
89
|
|
|
86
90
|
Build and deploy to your Cloudflare account using `void.config.ts`:
|
|
@@ -106,7 +110,7 @@ Void signs you in through your browser when needed and saves the selected accoun
|
|
|
106
110
|
|
|
107
111
|
After `--skip-migrations`, direct Cloudflare deployment history shows the applied migration state as unknown. Rolling back code doesn't reverse database changes.
|
|
108
112
|
|
|
109
|
-
|
|
113
|
+
When using an API token, grant **Workers Admin** to create the Worker or **Workers Editor** to update it. See [Cloudflare CI credentials](../../integrations/cloudflare.md#deploying-from-ci) for zone and resource permissions. Commit `void.lock.json` after the first deploy before using other machines or CI.
|
|
110
114
|
|
|
111
115
|
Use `void secret put <NAME>` for production server values. Local `.env` values are never deployed. Run `void db generate` and commit schema changes before deploying.
|
|
112
116
|
|
|
@@ -21,7 +21,7 @@ Add a custom domain to the saved target. Hosted Void projects print the DNS reco
|
|
|
21
21
|
void domain delete <hostname> [--project <name>]
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
Direct Cloudflare projects apply the change immediately. Deleting the final custom domain uses your browser session from `void cloudflare login` or an API token with Workers
|
|
24
|
+
Direct Cloudflare projects apply the change immediately. Deleting the final custom domain uses your browser session from `void cloudflare login` or an API token with **Workers Editor** and **Workers Routes Write** for the affected zone. If Cloudflare rejects the change, Void attempts to restore the previous domain configuration and reports whether recovery succeeded.
|
|
25
25
|
|
|
26
26
|
## `void domain list` {#void-domain-list}
|
|
27
27
|
|
|
@@ -128,7 +128,7 @@ Disable the domain assignment and record cleanup. Zone resources used by another
|
|
|
128
128
|
void email status --platform cloudflare
|
|
129
129
|
```
|
|
130
130
|
|
|
131
|
-
Check the domain configured in `email.from`: permissions,
|
|
131
|
+
Check the domain configured in `email.from`: permissions, sending, and the email binding, plus routing and handler addresses when the app has `email/` handlers. Exits unsuccessfully when setup is incomplete or cannot be verified. Sending-only apps need an onboarded sending domain. Apps with inbound handlers can be ready on Workers Free with sending limited to verified destinations; run `void email setup --platform cloudflare` after upgrading to Workers Paid.
|
|
132
132
|
|
|
133
133
|
`void email status` reads only your own Cloudflare account, so `--platform cloudflare` is required. On the Void platform, use `void email usage` and `void email destinations`.
|
|
134
134
|
|
|
@@ -140,6 +140,6 @@ void email setup --platform cloudflare
|
|
|
140
140
|
|
|
141
141
|
Set up email before deploying from CI. Requires `email.from` in `void.config.ts`, an interactive terminal, and Cloudflare email permissions.
|
|
142
142
|
|
|
143
|
-
Void shows the planned
|
|
143
|
+
Void shows the planned changes and asks before applying them. Apps without `email/` handlers configure sending only; routing and plus addressing are left alone. Commit `void.lock.json`, then run `void deploy --platform cloudflare --require-email` in CI.
|
|
144
144
|
|
|
145
|
-
On Workers Free, inbound mail and sends to verified recipients
|
|
145
|
+
On Workers Free, apps with `email/` handlers keep inbound mail and sends to verified recipients. Sending-only apps need Email Sending, which requires Workers Paid. Run this command again after upgrading to Workers Paid to enable arbitrary recipients. See [Email setup](../../guide/email/domains.md#your-own-cloudflare-account).
|
|
@@ -13,8 +13,8 @@ Use your administrator session for these commands. See [Platform Management](./p
|
|
|
13
13
|
|
|
14
14
|
```sh
|
|
15
15
|
void platform config plans show [plan-id]
|
|
16
|
-
void platform config plans add <plan-id> --copy <existing-id> --name "Team"
|
|
17
|
-
void platform config plans set <plan-id> [--name "Team"] [--file plan.json]
|
|
16
|
+
void platform config plans add <plan-id> --copy <existing-id> --name "Team" [--security-cap <usd|none|inherit>]
|
|
17
|
+
void platform config plans set <plan-id> [--name "Team"] [--file plan.json] [--security-cap <usd|none|inherit>]
|
|
18
18
|
void platform config plans reset <builtin-plan-id>
|
|
19
19
|
void platform config plans archive <plan-id>
|
|
20
20
|
void platform config plans restore <plan-id>
|
|
@@ -27,7 +27,8 @@ Use `--plan` to preview changes and affected accounts, then `--yes` to apply the
|
|
|
27
27
|
|
|
28
28
|
### Inspect and Manage Plans
|
|
29
29
|
|
|
30
|
-
- `show` reports limits, the signup default, assignments, and pending updates. `show <plan-id>` includes the plan's AI logging default.
|
|
30
|
+
- `show` reports limits, the signup default, assignments, and pending updates. `show <plan-id>` includes the plan's AI logging default and security scan cap.
|
|
31
|
+
- `--security-cap` on `add` or `set` sets the most each project on the plan may spend on [security scans](./platform-security.md#models-limits-budget) in a month: a USD amount, `none` for no cap, or `inherit` for the default project cap. A limit set for one project comes first. `add` copies the source plan's cap.
|
|
31
32
|
- `reset` restores a built-in plan's original limits and build size.
|
|
32
33
|
- `archive` stops new assignments while keeping existing accounts. Choose another signup default before archiving the current one.
|
|
33
34
|
- `remove` requires a replacement if the plan has accounts or is the signup default.
|
|
@@ -44,6 +45,7 @@ For `add` and `set`, `--file` reads a JSON object. All fields are optional; omit
|
|
|
44
45
|
| `buildInstanceType` | `standard-3` or `standard-4` |
|
|
45
46
|
| `allowShortSlugs` | `true` permits future project slugs of five characters or fewer; `false` requires longer names |
|
|
46
47
|
| `aiLogging` | `off`, `metadata`, or `full`; `inherit` clears the plan's override |
|
|
48
|
+
| `securityCap` | Monthly security scan cap per project: a USD amount, `"none"`, or `"inherit"` |
|
|
47
49
|
|
|
48
50
|
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
51
|
|
|
@@ -9,32 +9,33 @@ outline: deep
|
|
|
9
9
|
void platform install [options] [--yes]
|
|
10
10
|
```
|
|
11
11
|
|
|
12
|
-
| Option | Purpose
|
|
13
|
-
| ----------------------------------------- |
|
|
14
|
-
| `--name <slug>` | Installation name used in `void-<name>-<role>` resource names; choose an unused name
|
|
15
|
-
| `--display-name <name>` | Human-readable platform name
|
|
16
|
-
| `--account <id>` | Cloudflare account id
|
|
17
|
-
| `--auth-config <path>` | Login methods, signup policy, and environment references for provider secrets
|
|
18
|
-
| `--login-methods <methods>` | Comma-separated `github`, `google`, `oidc`, or `cloudflare-access` login methods
|
|
19
|
-
| `--access-protection` | Protect the platform UI and APIs with Cloudflare Access
|
|
20
|
-
| `--no-access-protection` | Skip Cloudflare Access protection
|
|
21
|
-
| `--app-access <public\|platform\|custom>` | Public apps, the platform's Access policy, or separately selected app policies
|
|
22
|
-
| `--hyperdrive <create\|id>` | Create Hyperdrive or use the specified existing configuration
|
|
23
|
-
| `--application-domain <domain>` | Base domain for deployed apps
|
|
24
|
-
| `--workers-dev` | Explicit testing mode; add an application domain later
|
|
25
|
-
| `--zone <domain>` | Cloudflare zone containing the application domain
|
|
26
|
-
| `--dedicated-zone` | Add zone-wide catch-all routes; valid only when the app domain is the whole zone
|
|
27
|
-
| `--no-dedicated-zone` | Skip zone-wide application catch-all routes
|
|
28
|
-
| `--custom-domains` | Let projects add their own domains; needs a dedicated zone
|
|
29
|
-
| `--
|
|
30
|
-
| `--
|
|
31
|
-
| `--
|
|
32
|
-
| `--
|
|
33
|
-
| `--
|
|
34
|
-
| `--
|
|
35
|
-
| `--
|
|
36
|
-
| `--
|
|
37
|
-
| `--
|
|
12
|
+
| Option | Purpose |
|
|
13
|
+
| ----------------------------------------- | --------------------------------------------------------------------------------------- |
|
|
14
|
+
| `--name <slug>` | Installation name used in `void-<name>-<role>` resource names; choose an unused name |
|
|
15
|
+
| `--display-name <name>` | Human-readable platform name |
|
|
16
|
+
| `--account <id>` | Cloudflare account id |
|
|
17
|
+
| `--auth-config <path>` | Login methods, signup policy, and environment references for provider secrets |
|
|
18
|
+
| `--login-methods <methods>` | Comma-separated `github`, `google`, `oidc`, or `cloudflare-access` login methods |
|
|
19
|
+
| `--access-protection` | Protect the platform UI and APIs with Cloudflare Access |
|
|
20
|
+
| `--no-access-protection` | Skip Cloudflare Access protection |
|
|
21
|
+
| `--app-access <public\|platform\|custom>` | Public apps, the platform's Access policy, or separately selected app policies |
|
|
22
|
+
| `--hyperdrive <create\|id>` | Create Hyperdrive or use the specified existing configuration |
|
|
23
|
+
| `--application-domain <domain>` | Base domain for deployed apps |
|
|
24
|
+
| `--workers-dev` | Explicit testing mode; add an application domain later |
|
|
25
|
+
| `--zone <domain>` | Cloudflare zone containing the application domain |
|
|
26
|
+
| `--dedicated-zone` | Add zone-wide catch-all routes; valid only when the app domain is the whole zone |
|
|
27
|
+
| `--no-dedicated-zone` | Skip zone-wide application catch-all routes |
|
|
28
|
+
| `--custom-domains` | Let projects add their own domains; needs a dedicated zone |
|
|
29
|
+
| `--security-audits` | Allow [security audits](./platform-security.md#enable); needs Containers and Workers AI |
|
|
30
|
+
| `--runtime-logs <full\|minimal>` | `minimal` keeps request URLs and log and exception messages out of runtime logs |
|
|
31
|
+
| `--storage-location <hint\|automatic>` | Default location hint for new project R2 buckets; `automatic` clears it |
|
|
32
|
+
| `--control-plane-domain <domain>` | Optional API custom hostname; defaults to `workers.dev` |
|
|
33
|
+
| `--no-control-plane-domain` | Use the default `workers.dev` API hostname |
|
|
34
|
+
| `--dashboard-url <origin>` | HTTPS origin of an optional dashboard deployed separately |
|
|
35
|
+
| `--plan` | Preview Cloudflare changes and save installation choices locally |
|
|
36
|
+
| `--resume` | Continue the matching checkpointed installation |
|
|
37
|
+
| `--runtime <path>` | Deploy a locally built, integrity-checked runtime directory |
|
|
38
|
+
| `--yes` | Acknowledge Cloudflare changes in non-interactive use |
|
|
38
39
|
|
|
39
40
|
For a first installation, follow [Install a Void Platform](../../guide/self-hosted-platform.md). The interactive installer recommends using a domain and offers **Use workers.dev for testing** as a visible alternative. Void creates the platform infrastructure and tables. External PostgreSQL and a configured login method are required in either mode. Select all login methods you want to enable; none are selected initially. Non-interactive installation defaults to GitHub when no login configuration is supplied. `--workers-dev` skips zone/DNS/certificate operations and cannot be combined with `--application-domain`, `--zone`, or `--dedicated-zone`.
|
|
40
41
|
|
|
@@ -104,9 +105,9 @@ Use these commands to recover, update, pause, or remove an installation:
|
|
|
104
105
|
|
|
105
106
|
```sh
|
|
106
107
|
void platform discover [--account <id>] [--installation <id-or-name>]
|
|
107
|
-
void platform upgrade [id] [--runtime <path>] [--dashboard-url <origin>] [--custom-domains] [--runtime-logs <full|minimal>] [--storage-location <hint|automatic>] [--plan] [--yes]
|
|
108
|
+
void platform upgrade [id] [--runtime <path>] [--dashboard-url <origin>] [--custom-domains] [--security-audits] [--runtime-logs <full|minimal>] [--storage-location <hint|automatic>] [--plan] [--yes]
|
|
108
109
|
void platform rollback [id] --runtime <earlier-path> [--from-runtime <current-path>] [--plan] [--yes]
|
|
109
|
-
void platform repair [id] [--runtime <path>] [--dashboard-url <origin>] [--custom-domains] [--auth-config <path>] [--plan] [--yes]
|
|
110
|
+
void platform repair [id] [--runtime <path>] [--dashboard-url <origin>] [--custom-domains] [--security-audits] [--auth-config <path>] [--plan] [--yes]
|
|
110
111
|
void platform disable [id] [--plan] [--yes]
|
|
111
112
|
void platform enable [id] [--runtime <path>] [--plan] [--yes]
|
|
112
113
|
void platform uninstall [id] [--plan] [--purge-data | --purge-resources] [--yes]
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: 'Turn security audits on, choose a scan mode and model, set monthly spending caps, and handle findings and public requests from an administrator session.'
|
|
3
|
+
outline: deep
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Platform Security Audits {#operator-security}
|
|
7
|
+
|
|
8
|
+
Use your administrator session for these commands. See [Platform Management](./platform.md#operator-commands) for platform selection, previews, and confirmation. Projects are named by id; `--project` filters also accept a slug.
|
|
9
|
+
|
|
10
|
+
## Turn security audits on {#enable}
|
|
11
|
+
|
|
12
|
+
Security audits need Cloudflare Containers and Workers AI on the platform's Cloudflare account. Allow them when you install or upgrade:
|
|
13
|
+
|
|
14
|
+
```sh
|
|
15
|
+
void platform install --security-audits [options]
|
|
16
|
+
void platform upgrade [id] --security-audits
|
|
17
|
+
void platform repair [id] --security-audits
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
This allows the feature and nothing more. No project is scanned until you set a scan mode. The runtime token needs the Containers permissions that the token page lists. Uninstalling the platform also deletes the scanner, its container applications, and the scanner images it copied.
|
|
21
|
+
|
|
22
|
+
Then check the account and choose a mode:
|
|
23
|
+
|
|
24
|
+
```sh
|
|
25
|
+
void platform security probe
|
|
26
|
+
void platform security policy <disabled|public|all> [--plan] [--yes]
|
|
27
|
+
void platform security policy --project <project-id> <inherit|always|never> [--plan] [--yes]
|
|
28
|
+
void platform security status
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
`probe` checks that the account can run scans and reports each missing requirement. `policy` selects which projects are scanned, and `--plan` shows how many projects the change reaches. Turning the mode on runs the probe first and refuses when it fails.
|
|
32
|
+
|
|
33
|
+
`policy --project` sets one project's own rule. `always` scans it at each deploy, also while Zero Trust protects it. `never` stops its scans: deploys, rescans, sweeps, backfill, and `void project security check`. With [Scan before a project goes public](/guide/platform/administration/security-audits#scan-before-public) on, a request to make it public still scans it first. `inherit` makes the project follow the scan mode again. The rule changes nothing while the mode is `disabled`. It starts no scan by itself; use `rescan` to scan the project now. `status` lists the projects that have their own rule.
|
|
34
|
+
|
|
35
|
+
## Models, limits, and spending {#models-limits-budget}
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
void platform security models [--default <id>] [--block <id,...>] [--unblock <id,...>] [--accept-provider-notice] [--plan] [--yes]
|
|
39
|
+
void platform security models --provider <openai|anthropic> (--key-stdin | --remove-key) [--plan] [--yes]
|
|
40
|
+
void platform security limits [--concurrency <n>] [--scan-timeout <minutes>] [--plan] [--yes]
|
|
41
|
+
void platform security budget [--platform-usd <n> | --platform-off] [--project-default-usd <n> | --project-caps <on|off>] [--plan] [--yes]
|
|
42
|
+
void platform security budget --project <project-id> (--usd <n> | --clear) [--plan] [--yes]
|
|
43
|
+
void platform security model <project-id> <model-id|--default> [--accept-provider-notice] [--plan] [--yes]
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
`limits --concurrency` sets how many scans run at once on the platform, and `--scan-timeout` how long one scan may run. Each Cloudflare (`@cf`) model runs one scan at a time, so more scans run at once only on different models. A model run by a third party needs its provider notice accepted with `--accept-provider-notice`. `--provider <name> --key-stdin` saves your own OpenAI or Anthropic API key, read from standard input, for that provider's models; pipe it from your password manager and add `--yes`. Void makes a 1-token test call with the key and saves it only if the call works. `--remove-key` deletes it. See [Use your own provider key](/guide/platform/administration/security-audits#own-provider-key). `budget` with no flags shows the caps and this month's spend; with a cap flag it changes them. `--platform-usd` sets the platform cap and turns it on. `--project-default-usd` sets the default cap for every project and turns project caps on; `--project-caps off` removes it. `--project <id> --usd <n>` sets the most that project's admins may give it, and `--clear` removes that limit. A lower cap that a project admin set for their own project still applies. Without a project limit, a project gets the [plan cap](./platform-config.md#plans) of its owner's plan, then the default.
|
|
47
|
+
|
|
48
|
+
## Findings and scans {#findings-scans}
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
void platform security findings [--project <id-or-slug>] [--urgent] [--state <open|resolved|all>] [--severity <level>] [--format sarif]
|
|
52
|
+
void platform security show <project-id> <finding-id,...>
|
|
53
|
+
void platform security resolve <project-id> <finding-id,...> --reason <fixed|false-positive|accepted-risk> --comment "<text>" [--yes]
|
|
54
|
+
void platform security reopen <project-id> <finding-id,...> --comment "<text>" [--yes]
|
|
55
|
+
void platform security comment <project-id> <finding-id,...> "<text>" [--yes]
|
|
56
|
+
void platform security scans [--project <id-or-slug>] [--status <status>] [--trigger gate]
|
|
57
|
+
void platform security rescan <project-id> [--client-assets] [--yes]
|
|
58
|
+
void platform security backfill [--plan] [--yes]
|
|
59
|
+
void platform security sweeps <on|off> [--every-days <n>] [--plan] [--yes]
|
|
60
|
+
void platform security fallback <on|off> [--plan] [--yes]
|
|
61
|
+
void platform security cancel <scan-id> [--yes]
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Lists show one page at a time; use `--limit` (up to 100) and `--page`. Findings list the oldest first. `findings --format sarif` prints every matching finding, across projects, as one SARIF 2.1.0 file (up to 10,000 findings); it does not take `--limit` or `--page`. Name several findings with commas to change them together; they are checked before any change is made.
|
|
65
|
+
|
|
66
|
+
`rescan` runs a full scan of the live deployment. It tells you which model it uses and the most it can cost, then asks before it starts. Monthly caps apply to rescans too. `--client-assets` also reviews the sources of the project's client bundles from the source maps deployed with them. Project admins can start the same scan with `void project security scan`.
|
|
67
|
+
|
|
68
|
+
Turning security audits on scans nothing that is already live. `backfill` scans each live deployment in scope that has never been scanned, up to 50 projects at a time; run it again for the rest. `--plan` shows how many projects it reaches and the most the scans can cost. A deployment whose code is no longer stored cannot be scanned; the preview counts these, and the next deploy of each project scans it.
|
|
69
|
+
|
|
70
|
+
`sweeps on` reviews every live app in full on a schedule, with a deeper review than a deploy scan: a project is swept when it has had no full scan for `--every-days` days (7 to 90, default 30). A few sweeps start each hour, so deploy scans keep moving. Projects whose live code is no longer stored are not swept until they deploy again. Sweeps are off by default; each one costs more than a deploy scan, and the monthly caps apply.
|
|
71
|
+
|
|
72
|
+
`fallback on` scans a deployment once more on the `@cf` default model when a scan on a third-party model is refused, returns output that cannot be read, or times out. That scan keeps the code on Cloudflare and covers the same changes. It never switches from a `@cf` model to a third-party one. Fallback is off by default; each fallback scan costs one more scan, and the monthly caps apply.
|
|
73
|
+
|
|
74
|
+
## Alerts, summary, and webhook {#alerts}
|
|
75
|
+
|
|
76
|
+
```sh
|
|
77
|
+
void platform security digest <on|off> [--plan] [--yes]
|
|
78
|
+
void platform security webhook <https-url|off> [--plan] [--yes]
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
When three scans of a project in a row do not succeed for a project reason (refused, unreadable output, timed out, or incomplete), the project owner, its admins, and every installation admin get one email for that run of failures. When more than 20% of the scans in the last 24 hours fail for a platform reason (no AI credits, a scanner error, or a long queue), installation admins get one email that day.
|
|
82
|
+
|
|
83
|
+
`digest on` sends installation admins a weekly email each Monday with the counts for the week before: scans, new and resolved findings, urgent findings still open, and public requests. It is off by default.
|
|
84
|
+
|
|
85
|
+
`webhook` sends each security event to an `https` URL as a signed JSON body that holds ids and counts only, never titles, file paths, or code. Setting the URL shows a signing secret once; setting it again makes a new secret. Each request has an `X-Void-Event` type such as `security.findings`, an `X-Void-Delivery` id that stays the same on retries, and `X-Void-Signature: t=<seconds>,v1=<hex>`, where `t` is the send time and `v1` the HMAC-SHA256 of `<t>.<body>` with the secret. A request that does not answer 2xx within 10 seconds is retried twice. Webhooks are sent even when platform email is off.
|
|
86
|
+
|
|
87
|
+
## Scan before a project goes public {#public-gate}
|
|
88
|
+
|
|
89
|
+
With [project Zero Trust](./platform-zero-trust.md) on, you can hold a project's change from protected to public until a scan passes:
|
|
90
|
+
|
|
91
|
+
```sh
|
|
92
|
+
void platform security public-gate <on|off> [--plan] [--yes]
|
|
93
|
+
void platform security public-requests [--project <id-or-slug>] [--state <open|closed|all>]
|
|
94
|
+
void platform security bypass <project-id> --reason "<text>" [--yes]
|
|
95
|
+
void platform security bypasses [--project <id-or-slug>]
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
`public-gate on` is refused while platform Zero Trust is off. A bypass skips the scan, never an open urgent finding, and is recorded with its reason.
|
|
@@ -41,6 +41,8 @@ Public-only rules cannot be combined with protected project choices. To switch a
|
|
|
41
41
|
already protected configuration to public-only rules, first disable it; Access may
|
|
42
42
|
block traffic during that transition in a Default-Deny account.
|
|
43
43
|
|
|
44
|
+
`project-public` follows the same [scan before public](./platform-security.md#public-gate) rule as the project command. With it on, the project stays protected and the command reports the waiting request; use `void platform security bypass` to skip the scan. `disable` and public-only `configure` are refused while the gate is on. Turn it off first with `void platform security public-gate off`.
|
|
45
|
+
|
|
44
46
|
Mutations support `--plan`, `--yes`, and `--timeout`; use `--plan` instead of
|
|
45
47
|
`--yes` to inspect this change without applying it. The Access management token
|
|
46
48
|
is accepted only on standard input. Zero Trust uses the Cloudflare account that
|
|
@@ -74,5 +74,6 @@ With `--json`, results go to standard output and command errors go to standard e
|
|
|
74
74
|
- [Plans and authentication configuration](./platform-config.md)
|
|
75
75
|
- [Users, projects, and signup access](./platform-users.md)
|
|
76
76
|
- [Project Zero Trust](./platform-zero-trust.md)
|
|
77
|
+
- [Security audits](./platform-security.md)
|
|
77
78
|
- [Deployments, builds, and system operations](./platform-operations.md)
|
|
78
79
|
- [Email administration](./platform-email.md)
|
|
@@ -12,6 +12,7 @@ Show deployments for the configured target.
|
|
|
12
12
|
- Void targets show recent hosted deployments; `[name]` looks up a project by slug and otherwise the linked project is used.
|
|
13
13
|
- Cloudflare targets list Worker Versions, identify the active version, and show the recorded migration count. A project name is not accepted because the Worker name comes from `cloudflare.name` in `void.config.ts`.
|
|
14
14
|
- Owners and admins also see a warning when the platform cannot finish [replacing the project's credentials](../../guide/project-collaboration.md#change-or-remove-access).
|
|
15
|
+
- On a platform with [security audits](../../guide/platform/administration/security-audits.md), a `Security` line shows how many urgent findings are open, for example `Security 2 urgent open · 3 leads`. It is left out when scans are off.
|
|
15
16
|
|
|
16
17
|
## `void project link [name]` {#void-project-link-name}
|
|
17
18
|
|
|
@@ -59,6 +60,7 @@ Inspect or override protection for a project on a Void platform:
|
|
|
59
60
|
void project zero-trust status [--project <slug>]
|
|
60
61
|
void project zero-trust protect [--project <slug>]
|
|
61
62
|
void project zero-trust public [--project <slug>]
|
|
63
|
+
void project zero-trust bypass --reason "<text>" [--yes] [--project <slug>]
|
|
62
64
|
void project zero-trust reconcile [--project <slug>]
|
|
63
65
|
```
|
|
64
66
|
|
|
@@ -72,6 +74,61 @@ protection change is finished; if one is refused, the owner or a project
|
|
|
72
74
|
administrator can run `void project zero-trust reconcile` before you retry.
|
|
73
75
|
These commands do not apply to direct Cloudflare deployments.
|
|
74
76
|
|
|
77
|
+
When the platform scans before a project goes public, `public` does not make the
|
|
78
|
+
project public at once. The project stays protected, and the command prints why
|
|
79
|
+
and what to do next. It exits successfully, because the request was saved.
|
|
80
|
+
`status` shows the open request and the last bypass:
|
|
81
|
+
|
|
82
|
+
```text
|
|
83
|
+
Public request: Waiting for a security scan of dpl_a3f0 before acme-web goes public. It stays protected by Zero Trust until the scan passes.
|
|
84
|
+
Last bypass: Nov 17, by a project admin ("Launch today; scanner is down.")
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
A request waits for a scan, is held by urgent findings (resolve them, there is no bypass), has no usable scan result, or needs a new deploy. Running `public` again asks for a new scan. `protect` cancels the request and keeps the project protected. With `--json`, a held request prints the saved state with `"held": true`.
|
|
88
|
+
|
|
89
|
+
`bypass` skips the scan and makes the project public. The owner or a project administrator can run it (platform administrators use `void platform security bypass`) while the request is waiting, has no result, or needs a deploy. It needs a `--reason` of up to 4,000 characters and asks for confirmation unless you pass `--yes`; `--json` and non-interactive shells require `--yes`. Every bypass is recorded and emailed to the platform administrators. A bypass never skips an open urgent finding: it is refused, and the message lists the findings to resolve first. With `--json`, a refusal prints the platform error code, such as `security public request has urgent findings` with the findings under `blockers`, or `public request closed` when someone protected the project or the request finished first. See [Scan before a project goes public](../../guide/platform/administration/security-audits.md#scan-before-public).
|
|
90
|
+
|
|
91
|
+
## `void project security` {#void-project-security}
|
|
92
|
+
|
|
93
|
+
Review security audit findings for a project on a Void platform that has security audits turned on:
|
|
94
|
+
|
|
95
|
+
```sh
|
|
96
|
+
void project security status
|
|
97
|
+
void project security list [--urgent] [--state open|resolved|all] [--severity <level>] [--leads] [--format sarif]
|
|
98
|
+
void project security show <F-id>
|
|
99
|
+
void project security comment <F-id> "<text>"
|
|
100
|
+
void project security resolve <F-id>... --reason fixed|false-positive|accepted-risk --comment "<text>"
|
|
101
|
+
void project security reopen <F-id> --comment "<text>"
|
|
102
|
+
void project security severity <F-id> <critical|high|medium|low|informational|scan> --comment "<text>"
|
|
103
|
+
void project security scans [--limit <n>]
|
|
104
|
+
void project security scan [--client-assets] [--yes]
|
|
105
|
+
void project security check [<check-id>] [--yes] [--no-wait]
|
|
106
|
+
void project security model [<id> | --default] [--accept-provider-notice]
|
|
107
|
+
void project security budget [--usd <amount> | --off]
|
|
108
|
+
void project security open
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
Every command takes `--project <slug>` (then `VOID_PROJECT`, then the linked project) and `--json`.
|
|
112
|
+
|
|
113
|
+
| Command | Who can run it |
|
|
114
|
+
| ---------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
|
115
|
+
| `status`, `list`, `open` | Any project member. Readers see finding ids, severity and state only. |
|
|
116
|
+
| `show` | Any project member. Collaborators and up see title, file and details. |
|
|
117
|
+
| `comment` | Collaborators, admins and the owner. |
|
|
118
|
+
| `resolve`, `reopen`, `severity`, `scan`, `model` (set), `budget` (set) | Project admins and the owner. |
|
|
119
|
+
| `scans`, `check`, `budget` (show) | Collaborators, admins and the owner. |
|
|
120
|
+
|
|
121
|
+
- `resolve` needs `--reason` and a `--comment` of up to 4,000 characters. Pass several ids to resolve them together.
|
|
122
|
+
- `severity` changes the severity of an open, confirmed finding and needs a `--comment` of up to 4,000 characters. Your value is what everyone sees from then on: later scans do not change it, and if you then resolve it as false-positive or accepted-risk, a scan reporting a higher severity does not reopen it (a change to its file still does). Lowering a critical or high finding to medium or below takes it out of the urgent count, as a resolve does, so it no longer holds a public request. `scan` goes back to the severity the scans report. Leads have no severity; resolved findings must be reopened first.
|
|
123
|
+
- `list` hides leads unless you pass `--leads`. `--format sarif` prints the list as a [SARIF 2.1.0](https://docs.oasis-open.org/sarif/sarif/v2.1.0/sarif-v2.1.0.html) file for code scanning tools, such as GitHub code scanning: `void project security list --format sarif > void-security.sarif`. Resolved findings in it are marked as suppressed. Notes go to stderr.
|
|
124
|
+
- `model` with a third-party model prints the provider notice. Repeat the command with `--accept-provider-notice` to accept it.
|
|
125
|
+
- `budget --usd` cannot exceed the platform limit. `--off` clears this project's own cap.
|
|
126
|
+
- `scan` runs a full scan of the live deployment. It names the model and the most the scan can cost, then asks first; `--json` and non-interactive shells need `--yes`. Monthly caps apply. `--client-assets` also reviews the sources of your client bundles, read from the source maps deployed with them (`app.js.map` next to `app.js`, or the bundle's `sourceMappingURL`). Without deployed source maps it reviews the bundles only. It sends more code, so it can cost more.
|
|
127
|
+
- `check` scans the code in the current folder before you deploy it. It sends only git-tracked files, as they are on disk now (uncommitted edits included); untracked files, secret-like files (`.env*`, keys, `.npmrc`), lockfiles, binaries and media stay on your machine. It lists what it sends, names the model (with the provider notice for a third-party model) and the most it can cost, then asks first; `--json` and non-interactive shells need `--yes`. Up to 10,000 files and 32 MB of code; run it from the app's folder in a large repository. It waits in the scan queue like any scan, monthly caps apply, and the command waits for the result unless you pass `--no-wait`. The result lists what it found but is not saved as project findings: it does not change the findings list, emails, or a public request. The platform keeps it for 30 days; show it again with `void project security check <check-id>`. The command fails when the check ends without a result, for example when the model refuses it.
|
|
128
|
+
- `open` prints a page link that works for 15 minutes and opens it in a browser when run in a terminal. On the page, members can do what the commands above allow their role: comment, resolve, pick the model, set the budget, and bypass a held public request.
|
|
129
|
+
|
|
130
|
+
On a platform without security audits, these commands tell you to ask the administrator to upgrade. They do not apply to direct Cloudflare deployments.
|
|
131
|
+
|
|
75
132
|
## `void project token <create|list|renew|revoke>` {#void-project-token-create-list-renew-revoke}
|
|
76
133
|
|
|
77
134
|
Manage revocable `aud: deploy` credentials for one Void platform project. The
|
package/docs/reference/cli.md
CHANGED
|
@@ -59,13 +59,15 @@ Use this page as a command reference. If you are setting up a project for the fi
|
|
|
59
59
|
| `void account login` | Authenticate with a Void platform |
|
|
60
60
|
| `void cloudflare login` | Authenticate with Cloudflare through Void |
|
|
61
61
|
| `void platform install` | Install a company Void platform in Cloudflare |
|
|
62
|
+
| `void platform security` | Administer security audits: scan mode, models, caps, findings, and alerts |
|
|
62
63
|
| `void connect <url>` | Connect the CLI to a Void platform; hostnames default to HTTPS |
|
|
63
64
|
| `void project link` | Link directory to a project |
|
|
64
65
|
| `void project logs` | Show runtime logs from deployed project |
|
|
65
66
|
| `void project requests` | Show request-level traffic (status, method, timing) |
|
|
66
67
|
| `void project rollback` | Roll back to a previous deployment |
|
|
67
68
|
| `void project cancel` | Cancel an active deployment |
|
|
68
|
-
| `void project zero-trust` | Inspect or override project Zero Trust protection
|
|
69
|
+
| `void project zero-trust` | Inspect or override project Zero Trust protection, or bypass a security scan |
|
|
70
|
+
| `void project security` | Review findings and scans, set model and budget, scan, check code pre-deploy |
|
|
69
71
|
| `void project purge-cache` | Purge all cached pages (Void platform) |
|
|
70
72
|
| `void build logs` | Stream, tail, or download build logs |
|
|
71
73
|
| `void email status` | Show email readiness on your own Cloudflare account (`--platform cloudflare`) |
|
package/docs/reference/config.md
CHANGED
|
@@ -152,10 +152,11 @@ Use an object to also set how Drizzle names columns declared without a name:
|
|
|
152
152
|
}
|
|
153
153
|
```
|
|
154
154
|
|
|
155
|
-
| Key
|
|
156
|
-
|
|
|
157
|
-
| `dialect`
|
|
158
|
-
| `casing`
|
|
155
|
+
| Key | Values | Description |
|
|
156
|
+
| ----------------- | --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
157
|
+
| `dialect` | `"sqlite"` (default), `"pg"`, `"mysql"` | Database backend. `"sqlite"` is D1 |
|
|
158
|
+
| `casing` | `"snake_case"`, `"camelCase"` | [Drizzle casing](https://orm.drizzle.team/docs/sql-schema-declaration#camel-and-snake-casing) for `void/db` queries and `void db` commands. Omit to use each key as its column name |
|
|
159
|
+
| `readReplication` | `boolean` (optional) | D1 only. Enable (`true`) or disable (`false`) [read replication](../guide/database/d1.md#read-replication) on deployment. Omit to preserve existing settings; new databases default to off |
|
|
159
160
|
|
|
160
161
|
When using an external database:
|
|
161
162
|
|
|
@@ -191,7 +192,7 @@ Site-wide HTML `<head>` defaults for pages mode. Sets a title template, default
|
|
|
191
192
|
| Field | Type | Description |
|
|
192
193
|
| --------------- | ------------------------ | ---------------------------------------------------------------- |
|
|
193
194
|
| `title` | `string` | Default page title (overridden by page `head()`) |
|
|
194
|
-
| `titleTemplate` | `string` | Wraps the
|
|
195
|
+
| `titleTemplate` | `string` | Wraps the title at `%s`. Page or middleware templates replace it |
|
|
195
196
|
| `meta` | `Array<object>` | Default `<meta>` tags (deduped by `name`/`property`, page wins) |
|
|
196
197
|
| `link` | `Array<object>` | Default `<link>` tags (concatenated: config, middleware, page) |
|
|
197
198
|
| `script` | `Array<object>` | Default `<script>` tags (concatenated: config, middleware, page) |
|
|
@@ -621,4 +622,4 @@ App type. If omitted, auto-detected on first deploy. See [Supported App Types](.
|
|
|
621
622
|
|
|
622
623
|
#### `inference.outputDir`
|
|
623
624
|
|
|
624
|
-
Output directory for static deploys, relative to the project root. Only relevant when `inference.appType` is `"spa"` or `"static"`. Defaults to `"dist"`.
|
|
625
|
+
Output directory for static deploys, relative to the project root. Only relevant when `inference.appType` is `"spa"` or `"static"`. Defaults to `"dist"`, or `"dist/client"` when the project depends on `void`, because `voidPlugin()` writes browser files there and server files to `dist/ssr`.
|