void 1.11.0 → 1.12.1
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-Bbr5cHjm.mjs → account-cmd-BU1Fy_Bf.mjs} +6 -6
- package/dist/{agents-DRo8gzni.mjs → agents-64FnLwxP.mjs} +6 -5
- package/dist/{application-analysis-XyUuNqYA.mjs → application-analysis-DVeN8yoi.mjs} +48 -22
- package/dist/{application-routing-DATqynKH.mjs → application-routing-KKw4Y84h.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-A7cZ8aXA.mjs} +1 -1
- package/dist/{auth-CCk9Seol.mjs → auth-CqwJwItO.mjs} +24 -12
- package/dist/{auth-link-CVxoyU81.mjs → auth-link-Duu2NvN5.mjs} +6 -6
- package/dist/{auth-router-ChXKduRM.mjs → auth-router-vgtOdb9j.mjs} +5 -5
- package/dist/{better-auth-shared-B8W8tZxP.d.mts → better-auth-shared-BS3pDQbT.d.mts} +6 -6
- package/dist/{better-auth-shared-DRHo5FoG.mjs → better-auth-shared-BcqDt-37.mjs} +7 -2
- package/dist/{build-cmd-C3b13rRf.mjs → build-cmd-B7OJ0U5R.mjs} +13 -12
- package/dist/build-id-4IV4hC1-.mjs +13 -0
- package/dist/{cache-B1WzZV60.mjs → cache-wSpi3aeM.mjs} +6 -6
- package/dist/{cancel-deploy-BggXixU_.mjs → cancel-deploy-DMWzkAlb.mjs} +5 -5
- package/dist/{cf-access-Dnyw8KFY.mjs → cf-access-DHklo7Rg.mjs} +41 -23
- package/dist/{cf-access-pejlJmuy.mjs → cf-access-DmkKPcAI.mjs} +0 -8
- package/dist/{cf-build-output-bBx1gDll.mjs → cf-build-output-Cso7Vh-t.mjs} +31 -27
- package/dist/cf-build-output-Wpk_e5CI.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 +17 -14
- package/dist/cli/db-execute-process.d.mts +2 -0
- package/dist/cli/db-execute-process.mjs +57 -0
- package/dist/cli/env-schema-probe.d.mts +3 -1
- package/dist/cli/env-schema-probe.mjs +7 -8
- package/dist/{cli-main-DW09sVsT.mjs → cli-main-BrChcpE3.mjs} +152 -405
- package/dist/{client-DF6U7KLP.mjs → client-DE2m2ldh.mjs} +186 -17
- package/dist/{client-DGfZTE4V.mjs → client-eLZwqkPH.mjs} +1 -1
- package/dist/{cloudflare-auth-pNvmT6kL.mjs → cloudflare-auth-eWfhdZCk.mjs} +1 -1
- package/dist/{cloudflare-cmd-BOhToob3.mjs → cloudflare-cmd-SsFlJe2B.mjs} +7 -8
- package/dist/{cloudflare-config-D1dMHbvz.mjs → cloudflare-config-D9UFH_A5.mjs} +2 -2
- package/dist/{cloudflare-connect-DTrsIBAa.mjs → cloudflare-connect-BgpHcSg3.mjs} +3 -3
- package/dist/{cloudflare-operations-DmqtzoX4.mjs → cloudflare-operations-BIRQkYwL.mjs} +26 -28
- package/dist/cloudflare-operations-ByjFGats.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-CeZd67L0.mjs → config-BSoW3QCB.mjs} +5 -5
- package/dist/{config-DYW2TBgz.d.mts → config-DA6ZbLXO.d.mts} +1 -1
- package/dist/{config-dMSpL-ml.mjs → config-DtjrUtPo.mjs} +1 -1
- package/dist/{config-BmvqLnbi.mjs → config-Dv5jri1-.mjs} +4 -4
- package/dist/config-entry.d.mts +1 -1
- package/dist/{connect-B3bKxRzX.mjs → connect-D0V0o40j.mjs} +9 -9
- package/dist/{create-project-DLUlxmf5.mjs → create-project-8FdN6D2i.mjs} +7 -6
- package/dist/{create-project-By7ymK7F.mjs → create-project-CbuDH5Hv.mjs} +1 -1
- package/dist/{db-3qsP21pH.mjs → db-BNPIjLkK.mjs} +1450 -154
- package/dist/db-args-BvMwAber.mjs +1 -0
- package/dist/db-args-CiQVg8SJ.mjs +321 -0
- package/dist/db-seed-loader-Bcz_SutQ.mjs +253 -0
- package/dist/{db-types-DC7KJLx2.mjs → db-types-B4Cf9dzR.mjs} +1 -1
- package/dist/{delete-HbFqgEFC.mjs → delete-WtLEfap2.mjs} +6 -6
- package/dist/{deploy-2QjsBEGw.mjs → deploy-BgSbagIP.mjs} +218 -553
- package/dist/deploy-Do6FWqon.mjs +2 -0
- package/dist/{deploy-managed-static-JoNP3cec.mjs → deploy-managed-static-BWBsxOww.mjs} +115 -194
- package/dist/deploy-security-notice-IRGy6Edf.mjs +192 -0
- package/dist/{deploy-transport-QAkhJYRI.mjs → deploy-transport-BKP_oV9q.mjs} +4 -4
- package/dist/deploy.mjs +9 -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-BlOYh1Vc.mjs → dispatch-DIhDA3NI.mjs} +11 -10
- 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-COkVSfII.mjs → domain-mweyYXSw.mjs} +8 -10
- package/dist/{dotenv-CEI8hapP.mjs → dotenv-BG6RQavH.mjs} +2 -2
- package/dist/{drizzle-BXVOa6Jg.mjs → drizzle-BJDMPrj7.mjs} +3 -4
- package/dist/{drizzle-CvSGrvdl.mjs → drizzle-CQ5jWuDL.mjs} +1 -1
- package/dist/{email-Dj02fLgQ.mjs → email-DcQNP40O.mjs} +33 -30
- package/dist/{email-cloudflare-DDknDAgp.mjs → email-cloudflare-DeYH3Ke7.mjs} +29 -38
- 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-BA7e5yzp.mjs → env-DaAoYR2-.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-EMpnzNGz.mjs → gen-aOtHhZLD.mjs} +21 -18
- package/dist/gen-vhBDHs3q.mjs +1 -0
- 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-8bXgJNAQ.mjs → github-cmd-BR19Ffdz.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-BjgvlY29.mjs → headers-DqBsjDxg.mjs} +7 -7
- package/dist/{help-DCQKp3Kp.mjs → help-DvClCzqL.mjs} +138 -60
- package/dist/help-fKPzcTJv.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 +344 -637
- package/dist/{info--jdAIsJN.mjs → info-P6MBiVJi.mjs} +4 -4
- package/dist/{init-BLZvktk_.mjs → init-C8YpkGIP.mjs} +124 -345
- package/dist/installed-packages-tfmYd-cC.mjs +198 -0
- package/dist/{isr-config-Czzb4mIq.mjs → isr-config-DiTnL9Tb.mjs} +5 -5
- package/dist/{link-DPJ4jN7y.mjs → link-Dyz9IGcM.mjs} +7 -7
- package/dist/{list-B-au6xJt.mjs → list-VGYBMjmx.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-C6xn26Nl.mjs → local-d1-CYOYkVwO.mjs} +3 -3
- package/dist/{login-p1_BMgXg.mjs → login-CWFr-G2I.mjs} +8 -6
- package/dist/login-DECm3e9b.mjs +1 -0
- package/dist/{logs-UNH3vQeX.mjs → logs-kS1wuR4b.mjs} +9 -9
- package/dist/{migrate-9dlt6Mxu.mjs → migrate-BNZL1hee.mjs} +9 -10
- package/dist/migrate-C9aoWLvY.mjs +1 -0
- package/dist/{migrations-Cbns2RAm.mjs → migrations-CUHhX65Y.mjs} +5 -5
- package/dist/{mime-BGoZ8ZLL.mjs → mime-Btw9R3CC.mjs} +26 -12
- package/dist/module-references-DWQmO6TW.mjs +27 -0
- package/dist/mysql-lock-D8xtnI-D.mjs +145 -0
- package/dist/mysql-sql-BIE7bc4Z.mjs +124 -0
- package/dist/nitro.d.mts +3 -0
- package/dist/nitro.mjs +14 -5
- package/dist/{node-DqkiQujF.mjs → node-DVJWfV6s.mjs} +6 -6
- package/dist/{operator-ai-logging-BQ6mOgQs.mjs → operator-ai-logging-DD0n6zc2.mjs} +11 -10
- package/dist/operator-args-nvetCWuz.mjs +1499 -0
- package/dist/{operator-auth-CD3pap65.mjs → operator-auth-DMvn-y9X.mjs} +2 -2
- package/dist/{operator-client-XvXTkea6.mjs → operator-client-dFNnXfyB.mjs} +6 -5
- package/dist/operator-cmd-CVfK5U0B.mjs +1 -0
- package/dist/{operator-cmd-CKbZbNKn.mjs → operator-cmd-a7yOf2tH.mjs} +33 -13
- package/dist/operator-security-D5MToU0p.mjs +263 -0
- package/dist/{output-Bc8ixgPF.mjs → output-BZLnu0z8.mjs} +13 -3
- 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 +168 -38
- package/dist/pages/head.d.mts +1 -1
- package/dist/pages/head.mjs +1 -1
- package/dist/pages/index.d.mts +8 -2
- package/dist/pages/index.mjs +283 -13
- 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-CMwMoiLp.mjs +1 -0
- package/dist/{platform-args-DQSMW4EP.mjs → platform-args-CvZSuhYS.mjs} +37 -9
- package/dist/{platform-auth-config-D80AKe72.mjs → platform-auth-config-CpszX-Ne.mjs} +26 -23
- package/dist/{platform-auth-protection-k1Ox-u9T.mjs → platform-auth-protection-DA6Tw8Og.mjs} +10 -10
- package/dist/{platform-auth-recovery-D-hKehPy.mjs → platform-auth-recovery-Cztrb1JC.mjs} +11 -9
- package/dist/{platform-cmd-DQ0Wi61H.mjs → platform-cmd-m6Asj6nO.mjs} +11 -11
- package/dist/{platform-cmd-Dtz5lw7R.mjs → platform-cmd-u1j88ggF.mjs} +1 -1
- package/dist/{platform-discovery-B0eZjZ3B.mjs → platform-discovery-CLxtixHJ.mjs} +1 -1
- package/dist/{platform-domain-BMGS4l74.mjs → platform-domain-DJSznNTA.mjs} +14 -10
- package/dist/{platform-lifecycle-y4AfmC7M.mjs → platform-lifecycle-BC-9p58d.mjs} +1 -1
- package/dist/{platform-lifecycle-BCkNQNsQ.mjs → platform-lifecycle-GFeXv3NC.mjs} +802 -207
- package/dist/platform-management-BwHkz46V.mjs +1 -0
- package/dist/{platform-management-Cj2aXFqD.mjs → platform-management-DX1zINou.mjs} +227 -58
- package/dist/{platform-plans-config-CrUUzEl9.mjs → platform-plans-config-DiydtNKY.mjs} +112 -35
- package/dist/{platform-recovery-DKZnALHI.mjs → platform-recovery-CnzBbudV.mjs} +5 -5
- package/dist/{platform-registry-DZ_2Xuqd.mjs → platform-registry-DHH6fivm.mjs} +6 -5
- package/dist/{platform-setup-CKmSEb1J.mjs → platform-setup-Lph9i-rh.mjs} +26 -12
- package/dist/{plugin-inference-B_urWd5Z.mjs → plugin-inference-COlq96WJ.mjs} +28 -53
- package/dist/prepare-DcwigRUS.mjs +1 -0
- package/dist/{prepare-CU7SZieQ.mjs → prepare-WvijE289.mjs} +3 -3
- package/dist/{prepare-vCdm5moJ.mjs → prepare-co1o1FFd.mjs} +12 -12
- package/dist/{project-cmd-B4cgPSi4.mjs → project-cmd-BWJTplpc.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-BV1xfj1K.mjs +1 -0
- package/dist/project-security-CY_aahvW.mjs +1340 -0
- package/dist/{project-team-BdX6anO3.mjs → project-team-BlIFXlmT.mjs} +8 -8
- package/dist/{project-token-C1rcq8Xb.mjs → project-token-CMsB7I1-.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-BI6pdpx4.mjs +210 -0
- package/dist/{protocol-W5EQcIzN.mjs → protocol-4rEnumif.mjs} +15 -8
- package/dist/{protocol-BlAiF-hc.d.mts → protocol-ERy-n3jf.d.mts} +7 -4
- package/dist/{provision-DWnnKdT-.mjs → provision-Bh44omGA.mjs} +30 -22
- package/dist/{provision-CGI-T0mq.mjs → provision-DFv7SJDn.mjs} +1 -1
- 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-Dyvuil0Q.mjs} +6 -3
- package/dist/{requests-D6MaLS_Y.mjs → requests-CfmJxNYg.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-Bs8I8PF8.mjs → rollback-DL5HuAsM.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-D549vGGm.mjs} +14 -9
- package/dist/{runner-mysql-C_PrAUTm.mjs → runner-mysql-DOjbj-N1.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.mjs +2 -2
- 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 +1 -1
- package/dist/runtime/db/index.mjs +3 -3
- package/dist/runtime/db/migrations/mysql-handler.mjs +2 -1
- package/dist/runtime/db/migrations/postgres-handler.mjs +1 -1
- package/dist/runtime/db/session.d.mts +1 -1
- package/dist/runtime/db/session.mjs +1 -1
- 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-LjuG3vfA.mjs → scan-Ct_SEzH4.mjs} +36 -29
- package/dist/{secret-DdUs8AuR.mjs → secret-C-WBaUSS.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-Cw8-b8Um.mjs → session-BT8XDkvL.mjs} +1 -1
- package/dist/{session-DgNrdNh_.d.mts → session-ouZYD7zb.d.mts} +1 -1
- package/dist/{skills-B40svMBE.mjs → skills-C-csz78e.mjs} +3 -3
- 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-D-m3Umap.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-k6KFiyWt.mjs → version-metadata-DqgLa6gc.mjs} +1 -1
- package/dist/{wrangler-v2BmVchV.mjs → wrangler-DVe5KV5G.mjs} +49 -46
- package/dist/wrangler-Dq269bjx.mjs +1 -0
- package/dist/{wrapper-eh6MpBZA.mjs → wrapper-CcMYpOS8.mjs} +45 -171
- package/docs/guide/app-types.md +1 -1
- package/docs/guide/auth.md +2 -16
- package/docs/guide/database.md +2 -0
- package/docs/guide/email/domains.md +1 -1
- package/docs/guide/email/sending.md +18 -1
- package/docs/guide/jobs.md +1 -1
- package/docs/guide/pages-routing/actions-and-forms.md +40 -19
- package/docs/guide/pages-routing/errors.md +3 -1
- package/docs/guide/pages-routing/head.md +20 -2
- package/docs/guide/pages-routing/overview.md +20 -0
- 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 +7 -1
- 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 +11 -5
- 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/queues.md +1 -1
- package/docs/guide/self-hosted-platform.md +14 -13
- package/docs/guide/type-safety.md +1 -1
- package/docs/integrations/cloudflare.md +3 -1
- package/docs/integrations/frameworks/sveltekit.md +1 -1
- package/docs/reference/api/handlers.md +3 -3
- package/docs/reference/api/pages.md +4 -0
- package/docs/reference/api/types.md +11 -1
- package/docs/reference/cli/database.md +42 -6
- package/docs/reference/cli/deploy.md +5 -1
- package/docs/reference/cli/domains.md +1 -1
- 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 +6 -3
- package/docs/reference/cli/platform.md +1 -0
- package/docs/reference/cli/project.md +57 -0
- package/docs/reference/cli/setup.md +4 -0
- package/docs/reference/cli.md +3 -1
- package/docs/reference/config.md +2 -2
- package/package.json +30 -27
- package/skills/void/SKILL.md +7 -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-BditDbcd.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-DiFfBu8g.mjs +0 -2
- package/dist/discover-Diq0l6TZ.mjs +0 -1
- package/dist/gen-CuANrEzy.mjs +0 -1
- package/dist/help-7EzLA1qP.mjs +0 -1
- package/dist/login-apwve7WD.mjs +0 -1
- package/dist/migrate-BzRplq7m.mjs +0 -1
- package/dist/mysql-sql-SlpS6OMg.mjs +0 -239
- package/dist/operator-args-BCCohcz3.mjs +0 -722
- package/dist/operator-cmd-D42knxMz.mjs +0 -1
- package/dist/output-D4UOUifX.mjs +0 -1
- package/dist/platform-args-Rgp86xa7.mjs +0 -1
- package/dist/platform-management-CRzeC70H.mjs +0 -1
- package/dist/prepare-C2MTqfFv.mjs +0 -1
- package/dist/project-zero-trust-CS02LrlK.mjs +0 -64
- 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-BPIAJdxA.mjs +0 -1
|
@@ -72,7 +72,7 @@ interface TypedHandler<V extends ValidatorSlots = {}, R = unknown> {
|
|
|
72
72
|
|
|
73
73
|
## `HeadDescriptor` {#headdescriptor}
|
|
74
74
|
|
|
75
|
-
Shape of page head metadata
|
|
75
|
+
Shape of page head metadata. All fields are optional.
|
|
76
76
|
|
|
77
77
|
```ts
|
|
78
78
|
interface HeadDescriptor {
|
|
@@ -85,6 +85,16 @@ interface HeadDescriptor {
|
|
|
85
85
|
}
|
|
86
86
|
```
|
|
87
87
|
|
|
88
|
+
## `HeadConfig` {#headconfig}
|
|
89
|
+
|
|
90
|
+
Head metadata returned by `defineHead`, set as middleware `headDefaults`, or set as `head` in `void.config.ts`. It adds `titleTemplate` to [`HeadDescriptor`](#headdescriptor). `%s` is replaced with the page title. A page's template replaces the middleware's, which replaces the config's. An empty string drops the template.
|
|
91
|
+
|
|
92
|
+
```ts
|
|
93
|
+
type HeadConfig = HeadDescriptor & {
|
|
94
|
+
titleTemplate?: string;
|
|
95
|
+
};
|
|
96
|
+
```
|
|
97
|
+
|
|
88
98
|
## `RouteMap` {#routemap}
|
|
89
99
|
|
|
90
100
|
Generated route types used by the typed `fetch` client. Contains each route’s methods, inputs, and outputs.
|
|
@@ -50,13 +50,13 @@ Programmatic seed modules must export either a default function or a named `seed
|
|
|
50
50
|
## `void db execute` {#void-db-execute}
|
|
51
51
|
|
|
52
52
|
```
|
|
53
|
-
void db execute <sql>
|
|
54
|
-
void db execute --file <path>
|
|
55
|
-
void db execute --remote <sql> [--yes]
|
|
56
|
-
void db execute --remote --file <path> [--yes]
|
|
53
|
+
void db execute <sql> [--json]
|
|
54
|
+
void db execute --file <path> [--json]
|
|
55
|
+
void db execute --remote <sql> [--yes] [--json]
|
|
56
|
+
void db execute --remote --file <path> [--yes] [--json]
|
|
57
57
|
```
|
|
58
58
|
|
|
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
|
+
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. Pass `--json` to get every statement's rows.
|
|
60
60
|
|
|
61
61
|
By default, targets the local database. Pass `--remote` to run against the deployed database selected in `.void/project.json`:
|
|
62
62
|
|
|
@@ -69,13 +69,49 @@ On direct Cloudflare D1 deployments, a `--file` larger than 100 KB runs as a D1
|
|
|
69
69
|
|
|
70
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.
|
|
71
71
|
|
|
72
|
+
### JSON output {#void-db-execute-json}
|
|
73
|
+
|
|
74
|
+
Pass `--json` to read results from a script. stdout receives only a JSON array with one entry per statement, including statements in SQL with several statements. Prompts, warnings, errors and any other output, such as messages that `void.config.ts` or a process it starts prints, go to stderr, and a failure exits with a non-zero status.
|
|
75
|
+
|
|
76
|
+
```sh
|
|
77
|
+
void db execute --json "select count(*) as total from users; select id from users limit 1"
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
```json
|
|
81
|
+
[
|
|
82
|
+
{
|
|
83
|
+
"results": [{ "total": 2 }],
|
|
84
|
+
"success": true,
|
|
85
|
+
"meta": { "changes": 0, "last_row_id": 0, "duration": 0.04 }
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"results": [{ "id": 1 }],
|
|
89
|
+
"success": true,
|
|
90
|
+
"meta": { "changes": 0, "last_row_id": 0, "duration": 0.02 }
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
Each entry has the same shape as a D1 result and as an entry of `wrangler d1 execute --json`:
|
|
96
|
+
|
|
97
|
+
- `results`: the rows the statement returned, or `[]`. `NULL` prints as `null`, numbers and text keep their types, and binary values print as arrays of bytes. An integer outside ±9007199254740991, which a JSON number cannot hold exactly, prints as a string of its digits, and infinite or not-a-number values print as `"Infinity"`, `"-Infinity"` and `"NaN"`. PostgreSQL `bigint` and `numeric` values print as strings, in arrays too, and numbers in `json` and `jsonb` values keep the digits the database returned. MySQL dates and times print as the text MySQL returns, such as `"2024-01-02 03:04:05.123456"`. A remote D1 database returns values as D1's API reports them. A MySQL `CALL` is one entry, with the rows of every result set the procedure returns. So are an `EXECUTE` of a prepared `CALL`, and a compound statement that MariaDB runs outside a stored program, such as `BEGIN NOT ATOMIC ... END` or `IF ... END IF`.
|
|
98
|
+
- `success`: `true` for a statement that ran.
|
|
99
|
+
- `meta`: what the database reports about the statement. D1 databases report D1's metadata, such as `changes` and `last_row_id` (locally `changes`, `last_row_id` and `duration`). PostgreSQL reports `command` and `rowCount`, and MySQL reports `affectedRows` and `insertId` for a statement that changes data.
|
|
100
|
+
|
|
101
|
+
If a statement fails, stdout stays empty.
|
|
102
|
+
|
|
103
|
+
`--json` is not available for a direct Cloudflare D1 import of a file larger than 100 KB, which returns no rows. On a Void platform D1 database, `--remote --json` runs one statement per command; a `CREATE TRIGGER` counts as one statement. On MySQL, `--json` stops without running anything when it cannot tell which results belong to which statement:
|
|
104
|
+
|
|
105
|
+
- An `EXECUTE` runs a statement that the same SQL does not prepare from a quoted string, such as `PREPARE s FROM @sql`, and so may be a `CALL`. A procedure may prepare statements too, so after a `CALL`, prepare a statement again before you run it. Run SQL that prepares a statement from a variable without `--json`.
|
|
106
|
+
- A `SET sql_mode` sets anything other than a quoted list of modes, such as `SET sql_mode = @saved`, and a quoted string with a backslash after it reads as different statements in different modes, with a `CALL` or another statement that returns several results among them. Set `sql_mode` to a quoted list such as `'ANSI_QUOTES'`, or run that statement in a separate command.
|
|
107
|
+
|
|
72
108
|
## `void db migrate` {#void-db-migrate}
|
|
73
109
|
|
|
74
110
|
```
|
|
75
111
|
void db migrate [--remote]
|
|
76
112
|
```
|
|
77
113
|
|
|
78
|
-
Apply pending migrations to the local database without resetting. Unlike `void db reset`, this preserves existing data and only runs migrations that haven't been applied yet.
|
|
114
|
+
Apply pending migrations to the local database without resetting. Unlike `void db reset`, this preserves existing data and only runs migrations that haven't been applied yet. To allow a destructive migration, add `-- void:allow-destructive` on its own line in the SQL file.
|
|
79
115
|
|
|
80
116
|
Pass `--remote` to apply pending migrations to the saved target. Hosted projects require a Void login and link. Direct Cloudflare D1 projects use the binding's configured migration directory, table, and pattern. The D1 binding must set `migrations_dir`. Direct PostgreSQL and MySQL projects use the shell `DATABASE_URL`.
|
|
81
117
|
|
|
@@ -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
|
|
|
@@ -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, its scan copies, 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
|
|
@@ -48,9 +50,10 @@ hosts the platform. Omit `--protect-new-projects` to make new projects public
|
|
|
48
50
|
by default. `--existing-projects` is required when you enable Zero Trust and
|
|
49
51
|
rejected once it is enabled; later configuration changes keep each project's
|
|
50
52
|
protection. `status` reports saved state; `--check` also compares it with
|
|
51
|
-
Cloudflare Access.
|
|
52
|
-
`
|
|
53
|
-
|
|
53
|
+
Cloudflare Access. Large changes run in steps: `configure`, `reconcile`, and
|
|
54
|
+
`disable` can return while status is still `configuring` or `disabling`. Void
|
|
55
|
+
continues the change within a few minutes; run `void platform zero-trust reconcile`
|
|
56
|
+
to continue it right away. Protected projects support up to 100 custom domains.
|
|
54
57
|
|
|
55
58
|
The token needs **Access: Apps and Policies Write** plus **Access:
|
|
56
59
|
Organizations, Identity Providers, and Groups Read**, scoped to the platform's
|
|
@@ -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
|
|
@@ -49,8 +49,12 @@ void init --toolchain vite-plus --framework react --starter sqlite --deploy none
|
|
|
49
49
|
npm create void@latest my-app -- --toolchain vite-plus --framework react --starter sqlite --deploy none
|
|
50
50
|
```
|
|
51
51
|
|
|
52
|
+
`npm create void <name>` takes a single directory name and creates it inside the current directory. Use up to 63 characters from `a-z`, `0-9`, and `-`, with a letter or digit at each end.
|
|
53
|
+
|
|
52
54
|
For non-interactive scaffolding, choose `--deploy none` and run `void connect` later to sign in.
|
|
53
55
|
|
|
56
|
+
Vite+ is the recommended toolchain. Vite+ starters include [`@cloudflare/oxlint-config`](https://github.com/cloudflare/oxlint-config). Run `vp lint` to check your code.
|
|
57
|
+
|
|
54
58
|
Vite+ projects install dependencies through `vp install`; no global Vite+ installation is required. Void preserves existing package-manager versions and lockfiles. New Vite+ projects without a package-manager configuration use pnpm without pinning a version.
|
|
55
59
|
|
|
56
60
|
In an existing app, Void adds missing dependencies and scripts and updates the Vite config. If it cannot edit your config, it prints the snippet to add.
|
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
|
@@ -192,7 +192,7 @@ Site-wide HTML `<head>` defaults for pages mode. Sets a title template, default
|
|
|
192
192
|
| Field | Type | Description |
|
|
193
193
|
| --------------- | ------------------------ | ---------------------------------------------------------------- |
|
|
194
194
|
| `title` | `string` | Default page title (overridden by page `head()`) |
|
|
195
|
-
| `titleTemplate` | `string` | Wraps the
|
|
195
|
+
| `titleTemplate` | `string` | Wraps the title at `%s`. Page or middleware templates replace it |
|
|
196
196
|
| `meta` | `Array<object>` | Default `<meta>` tags (deduped by `name`/`property`, page wins) |
|
|
197
197
|
| `link` | `Array<object>` | Default `<link>` tags (concatenated: config, middleware, page) |
|
|
198
198
|
| `script` | `Array<object>` | Default `<script>` tags (concatenated: config, middleware, page) |
|
|
@@ -622,4 +622,4 @@ App type. If omitted, auto-detected on first deploy. See [Supported App Types](.
|
|
|
622
622
|
|
|
623
623
|
#### `inference.outputDir`
|
|
624
624
|
|
|
625
|
-
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`.
|