void 1.7.0 → 1.8.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-BfkJ_1PC.mjs → account-cmd-CZKntRH2.mjs} +5 -5
- package/dist/action-key-ByZ6DDld.mjs +64 -0
- package/dist/{application-analysis-OV0CBJ80.mjs → application-analysis-CyTagJQM.mjs} +25 -5
- package/dist/{application-routing-QpyC5G8z.mjs → application-routing-BLrMVpqi.mjs} +1 -1
- package/dist/{auth-CZrthGxs.d.mts → auth-Bk9VGtQW.d.mts} +1 -1
- package/dist/{auth-link-CW1Zh6FM.mjs → auth-link-BOaQWMKw.mjs} +5 -5
- package/dist/{auth-router-CNBKnEZi.mjs → auth-router-D0-VcmDs.mjs} +3 -3
- package/dist/{better-auth-shared-C-0uZg8-.d.mts → better-auth-shared-CQFdtguU.d.mts} +2 -2
- package/dist/boundary-plans-CRmWH68v.d.mts +25 -0
- package/dist/{build-cmd-C9qOKW9W.mjs → build-cmd-JTsXXf2F.mjs} +4 -4
- package/dist/{cache-DVBBbWQL.mjs → cache-D0m3Z_Xf.mjs} +4 -4
- package/dist/{cancel-deploy-COavnjud.mjs → cancel-deploy-Ce6Os4fa.mjs} +3 -3
- package/dist/cli/cli.mjs +1 -1
- package/dist/cli/cloudflare-operation-process.mjs +92 -19
- package/dist/cli/env-schema-probe.d.mts +1 -1
- package/dist/cli/env-schema-probe.mjs +2 -2
- package/dist/{cli-main-DFteHrJI.mjs → cli-main-rkrJy2Ge.mjs} +32 -32
- package/dist/client-D1Vz1Zep.mjs +1 -0
- package/dist/{client-BEZmTP6p.mjs → client-SZPyj4X_.mjs} +1 -1
- package/dist/{cloudflare-auth-DGIivpTb.mjs → cloudflare-auth-7jTqy9Bx.mjs} +1 -1
- package/dist/{cloudflare-cmd-DJaxC-bc.mjs → cloudflare-cmd-ChPLQcTP.mjs} +4 -4
- package/dist/{cloudflare-connect-BjpWmglw.mjs → cloudflare-connect-Co93VYTo.mjs} +2 -2
- package/dist/{cloudflare-operations-k7wYUv56.mjs → cloudflare-operations-CXaDKYj2.mjs} +4 -4
- package/dist/{cloudflare-operations-CZkjFrzH.mjs → cloudflare-operations-DATekLwI.mjs} +1 -1
- package/dist/{cloudflare-process-BcPvlMFd.mjs → cloudflare-process-DmTxZR-N.mjs} +1 -1
- package/dist/{connect-j1F1C_rW.mjs → connect-DlvXt1JR.mjs} +6 -6
- package/dist/{create-project-CE3jOmd5.mjs → create-project-CC_7hmYJ.mjs} +4 -4
- package/dist/{create-project-DZH3aYGQ.mjs → create-project-DzY05xqC.mjs} +1 -1
- package/dist/{db-DyLzzxvM.mjs → db-FhyYGcJJ.mjs} +13 -13
- package/dist/{db-types-DdHHUVPy.mjs → db-types-sVwEpyPR.mjs} +3 -1
- package/dist/{delete-Dey6YoMA.mjs → delete-CModjyOC.mjs} +4 -4
- package/dist/{deploy-Ccw2D2lw.mjs → deploy-Cz9TEzZy.mjs} +34 -24
- package/dist/deploy-DMieisRu.mjs +2 -0
- package/dist/{deploy-managed-static-BBVtpuGv.mjs → deploy-managed-static-DlxxXkAM.mjs} +10 -10
- package/dist/{deploy-transport-Dt0IvSVW.mjs → deploy-transport-DUvm6-CR.mjs} +2 -2
- package/dist/deploy.mjs +5 -5
- package/dist/{dispatch-pYaww76u.mjs → dispatch-CCiaAnSK.mjs} +4 -4
- package/dist/{dist-DeTdhbZc.mjs → dist-Cp4b1_T9.mjs} +1 -1
- package/dist/{dist-BQdgCVQF.mjs → dist-STQXl8ck.mjs} +86 -138
- package/dist/{domain-Dh3mG8Vs.mjs → domain-DvdZPA50.mjs} +5 -5
- package/dist/{drizzle-C8MPqt5m.mjs → drizzle-D4V_06-B.mjs} +1 -1
- package/dist/{drizzle-lFdzSEa9.mjs → drizzle-DBSpPpU1.mjs} +34 -8
- package/dist/{email-DKyMjOYM.mjs → email-ASpNrfLd.mjs} +7 -7
- package/dist/{email-cloudflare-CTt2n_W2.mjs → email-cloudflare-kqoN9jst.mjs} +13 -8
- package/dist/{entry-Bw-G1VVx.mjs → entry-BweGTCgj.mjs} +1 -1
- package/dist/{env-DkZzh_Dd.mjs → env-Bpkg3G5i.mjs} +5 -5
- package/dist/{env-CuzZZyjB.mjs → env-UqS-21xi.mjs} +8 -1
- package/dist/{env-public-CeNeO_AT.d.mts → env-public-DtJL_hZq.d.mts} +8 -7
- package/dist/{env-validation-1snjKtDX.mjs → env-validation-BpCCQE_6.mjs} +3 -3
- package/dist/{env-validation-C8NL3lEH.mjs → env-validation-CN386Utu.mjs} +1 -1
- package/dist/gen-M5fNQKfH.mjs +1 -0
- package/dist/{gen-BZmFOGDQ.mjs → gen-upKJChvd.mjs} +3 -3
- package/dist/{github-cmd-7Oky9qgH.mjs → github-cmd-BvMOlb8Z.mjs} +4 -4
- package/dist/{handler-DjqciiDc.d.mts → handler-BO7Od-z9.d.mts} +3 -2
- package/dist/{headers-CimYIfQI.mjs → headers-COGEDoMN.mjs} +10 -1
- package/dist/help-CItQVDL4.mjs +1 -0
- package/dist/{help-CNuUb47C.mjs → help-TPCjTu6e.mjs} +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +247 -178
- package/dist/{info-DwB8IWIx.mjs → info-EsDyihwf.mjs} +2 -2
- package/dist/{init-CUGSmcED.mjs → init-a4lVagrb.mjs} +13 -14
- package/dist/{link-BlRTGHan.mjs → link-CE55DDzS.mjs} +5 -5
- package/dist/{list-iCg7d5Pa.mjs → list-CxRthQks.mjs} +5 -5
- package/dist/{live-zKGbRT4h.d.mts → live-Kc55iuOQ.d.mts} +2 -2
- package/dist/{login-TA51e5Fw.mjs → login-AfcSGSmE.mjs} +4 -4
- package/dist/login-ZHsAm-I6.mjs +1 -0
- package/dist/{logs-BlyAxlvx.mjs → logs-BgRJuvb1.mjs} +4 -4
- package/dist/{migrate-BH6LCr00.mjs → migrate-BNAh6m_C.mjs} +2 -2
- package/dist/migrate-BflbbZQK.mjs +1 -0
- package/dist/nitro.mjs +2 -2
- package/dist/{node-B0otYjDv.mjs → node-CXFUw0Uz.mjs} +2 -2
- package/dist/{operator-args-DuKAQ3Ks.mjs → operator-args-DGTuCdSE.mjs} +8 -0
- package/dist/{operator-cmd-CoHlJjcT.mjs → operator-cmd-C-viB7Si.mjs} +4 -4
- package/dist/operator-cmd-D6qNuJ_z.mjs +1 -0
- package/dist/output-BsdnNpxa.mjs +1 -0
- package/dist/{output-CXJTIAtF.mjs → output-DNVILSz2.mjs} +1 -1
- package/dist/pages/client.d.mts +28 -3
- package/dist/pages/client.mjs +132 -15
- package/dist/pages/index.d.mts +3 -2
- package/dist/pages/index.mjs +2 -2
- package/dist/pages/islands-plugin.d.mts +1 -1
- package/dist/pages/islands-plugin.mjs +13 -2
- package/dist/pages/protocol.d.mts +2 -2
- package/dist/pages/protocol.mjs +1 -1
- package/dist/{platform-args-DfT8yQBF.mjs → platform-args-CiYeZmc5.mjs} +1 -1
- package/dist/platform-args-DJvF1-kl.mjs +1 -0
- package/dist/{platform-auth-config-MO0VdVs9.mjs → platform-auth-config-Dt2qEc2w.mjs} +6 -6
- package/dist/{platform-auth-protection-Dv208eyL.mjs → platform-auth-protection-B7TaF-PZ.mjs} +4 -4
- package/dist/{platform-auth-recovery-DvAQ674F.mjs → platform-auth-recovery-suXSteJ6.mjs} +4 -4
- package/dist/{platform-cmd-dlSxrcQ7.mjs → platform-cmd-9rvYBBtr.mjs} +7 -7
- package/dist/{platform-cmd-BpUA19r_.mjs → platform-cmd-DuAsIxbU.mjs} +1 -1
- package/dist/{platform-domain-DSO4eUEw.mjs → platform-domain-DhH_vDr6.mjs} +4 -4
- package/dist/{platform-lifecycle-CfcFygHb.mjs → platform-lifecycle-3uI-E2bF.mjs} +1 -1
- package/dist/{platform-lifecycle-BSvsyB_x.mjs → platform-lifecycle-CXmXe2xt.mjs} +13 -13
- package/dist/{platform-management-CrP1XhVd.mjs → platform-management-BBCHfwji.mjs} +3 -3
- package/dist/{platform-management-BMdyt667.mjs → platform-management-PdrgDQTe.mjs} +1 -1
- package/dist/{platform-plans-config-CgDiwflR.mjs → platform-plans-config-BGwkXYDM.mjs} +2 -2
- package/dist/{platform-recovery-CHWwXVZ6.mjs → platform-recovery-C8NxXGRR.mjs} +2 -2
- package/dist/{platform-setup-BTQVbnTC.mjs → platform-setup-Casiffqj.mjs} +2 -2
- package/dist/{plugin-inference-g66Q1Mx9.mjs → plugin-inference-CErfTgEx.mjs} +3 -3
- package/dist/{prepare-DXduEwQp.mjs → prepare-BDKWZgfL.mjs} +5 -5
- package/dist/{prepare-DJYHjpzq.mjs → prepare-BLrzXjIl.mjs} +3 -3
- package/dist/prepare-a1_5usAn.mjs +1 -0
- package/dist/{prerender-render-BN9Lmebs.mjs → prerender-render-BAdYhivW.mjs} +15 -2
- package/dist/prerender-render.d.mts +2 -0
- package/dist/prerender-render.mjs +1 -1
- package/dist/{project-cmd-Dfb1Sg8w.mjs → project-cmd-DzGvxXKH.mjs} +17 -17
- package/dist/{project-team-BO2dyc7S.mjs → project-team-C5XtHbZk.mjs} +4 -4
- package/dist/{project-token-ByO2mEI2.mjs → project-token-B4D5yhHQ.mjs} +4 -4
- package/dist/{project-zero-trust-CoQfwRBR.mjs → project-zero-trust--0LvktDg.mjs} +4 -4
- package/dist/{protocol-yxdHxFLN.mjs → protocol-B1Tvc9-x.mjs} +191 -69
- package/dist/{protocol-xZMvWsrg.d.mts → protocol-Cg2I81NA.d.mts} +9 -2
- package/dist/{provision-D5q-ptD3.mjs → provision-C3yiHdld.mjs} +1 -1
- package/dist/{provision-CMH4-8ri.mjs → provision-CAcrauvr.mjs} +1 -1
- package/dist/{requests-CPOiDkjh.mjs → requests-CrRiTgQA.mjs} +3 -3
- package/dist/resolve-project-C5wC-Hoi.mjs +1 -0
- package/dist/{resolve-project-ClvLMTI9.mjs → resolve-project-Da3OgCU1.mjs} +1 -1
- package/dist/{rollback-BfCs2la4.mjs → rollback-BsmQyj-Q.mjs} +4 -4
- package/dist/{route-types-Cl3x0Q8B.mjs → route-types-CgtlFCDz.mjs} +3 -2
- package/dist/routes-stub.d.mts +4 -3
- package/dist/runtime/auth.d.mts +1 -1
- package/dist/runtime/better-auth-mysql.d.mts +1 -1
- package/dist/runtime/better-auth-pg.d.mts +1 -1
- package/dist/runtime/better-auth.d.mts +1 -1
- package/dist/runtime/client-react.d.mts +1 -1
- package/dist/runtime/client-solid.d.mts +1 -1
- package/dist/runtime/client-svelte.d.mts +1 -1
- package/dist/runtime/client-vue.d.mts +1 -1
- package/dist/runtime/client.d.mts +1 -1
- package/dist/runtime/db.d.mts +6 -3
- package/dist/runtime/db.mjs +2 -2
- package/dist/runtime/env-public.d.mts +1 -1
- package/dist/runtime/env-public.mjs +53 -39
- package/dist/runtime/handler.d.mts +1 -1
- package/dist/runtime/live-client.d.mts +1 -1
- package/dist/runtime/live.d.mts +1 -1
- package/dist/runtime/routing.d.mts +8 -3
- package/dist/runtime/routing.mjs +161 -21
- package/dist/runtime/validator.d.mts +1 -1
- package/dist/runtime/ws-server.d.mts +3 -3
- package/dist/runtime/ws.d.mts +1 -1
- package/dist/{scan-L8OSv1f7.mjs → scan-BJ3bj6aP.mjs} +228 -27
- package/dist/{secret-CuI6LTpD.mjs → secret-D0g5oBsP.mjs} +6 -6
- package/dist/{skills-BBO9wMjB.mjs → skills-CoBB9_Ao.mjs} +1 -1
- package/dist/{ast-bindings-BkivMJIo.mjs → static-exports-DFkzL-NX.mjs} +96 -33
- package/dist/{subcommand-prompt-BZMnCA8T.mjs → subcommand-prompt-0yIARXf2.mjs} +2 -2
- package/dist/{types-agfx0alu.d.mts → types-IPut3_Yx.d.mts} +15 -1
- package/dist/{wrapper-BGsi_uHs.mjs → wrapper-CVMZarxf.mjs} +1 -1
- package/dist/{ws-DB8Feytg.d.mts → ws--U7QicYy.d.mts} +2 -2
- package/docs/guide/ai.md +1 -0
- package/docs/guide/app-types.md +1 -0
- package/docs/guide/auth.md +1 -0
- package/docs/guide/database/d1.md +16 -1
- package/docs/guide/database/mysql.md +1 -0
- package/docs/guide/database/postgresql.md +1 -0
- package/docs/guide/database.md +1 -0
- package/docs/guide/deployment.md +1 -0
- package/docs/guide/durable-state.md +1 -0
- package/docs/guide/edge/headers.md +1 -0
- package/docs/guide/edge/prerendering.md +1 -0
- package/docs/guide/edge/redirects.md +1 -0
- package/docs/guide/edge/revalidation.md +3 -0
- package/docs/guide/edge/rewrites.md +1 -0
- package/docs/guide/edge/static-assets.md +1 -0
- package/docs/guide/email/domains.md +1 -0
- package/docs/guide/email/receiving.md +3 -2
- package/docs/guide/email/sending.md +3 -2
- package/docs/guide/email.md +1 -0
- package/docs/guide/env-vars.md +4 -0
- package/docs/guide/index.md +1 -0
- package/docs/guide/jobs.md +1 -0
- package/docs/guide/kv.md +1 -0
- package/docs/guide/live.md +1 -0
- package/docs/guide/pages-routing/actions-and-forms.md +36 -18
- package/docs/guide/pages-routing/errors.md +101 -0
- package/docs/guide/pages-routing/head.md +1 -0
- package/docs/guide/pages-routing/islands.md +1 -0
- package/docs/guide/pages-routing/layouts.md +3 -0
- package/docs/guide/pages-routing/loaders.md +1 -0
- package/docs/guide/pages-routing/markdown.md +1 -1
- package/docs/guide/pages-routing/overview.md +3 -0
- package/docs/guide/pages-routing/view-transitions.md +1 -0
- package/docs/guide/platform/administration/access.md +1 -0
- package/docs/guide/platform/administration/connected-apps.md +4 -0
- package/docs/guide/platform/administration/email.md +1 -0
- package/docs/guide/platform/administration/operations.md +1 -0
- package/docs/guide/platform/administration/plans.md +1 -0
- package/docs/guide/platform/administration/projects.md +11 -0
- package/docs/guide/platform/administration/zero-trust.md +1 -0
- package/docs/guide/platform/development/local.md +1 -0
- package/docs/guide/platform/development/runtime.md +1 -0
- package/docs/guide/platform/development/schema-ci.md +1 -0
- package/docs/guide/platform/installation/ci.md +1 -0
- package/docs/guide/platform/installation/credentials.md +1 -0
- package/docs/guide/platform/installation/domains.md +1 -0
- package/docs/guide/platform/installation/first-deployment.md +1 -0
- package/docs/guide/platform/installation/maintenance.md +1 -0
- package/docs/guide/platform/installation/prerequisites.md +1 -0
- package/docs/guide/platform/installation/setup.md +1 -0
- package/docs/guide/platform/installation/uninstall.md +1 -0
- package/docs/guide/platform-administration.md +1 -0
- package/docs/guide/platform-development.md +1 -0
- package/docs/guide/project-collaboration.md +1 -0
- package/docs/guide/queues.md +3 -0
- package/docs/guide/quickstart.md +3 -2
- package/docs/guide/remote-dev.md +1 -0
- package/docs/guide/sandboxes.md +1 -0
- package/docs/guide/self-hosted-platform.md +1 -0
- package/docs/guide/server-routing.md +1 -0
- package/docs/guide/sse.md +1 -0
- package/docs/guide/ssg.md +1 -0
- package/docs/guide/ssr.md +1 -0
- package/docs/guide/storage.md +1 -0
- package/docs/guide/testing.md +62 -0
- package/docs/guide/type-safety.md +1 -0
- package/docs/guide/typed-fetch.md +1 -0
- package/docs/guide/websockets.md +1 -0
- package/docs/index.md +1 -0
- package/docs/integrations/agents.md +1 -0
- package/docs/integrations/cloudflare.md +1 -0
- package/docs/integrations/frameworks/analog.md +1 -0
- package/docs/integrations/frameworks/astro.md +1 -0
- package/docs/integrations/frameworks/nuxt.md +1 -0
- package/docs/integrations/frameworks/overview.md +1 -0
- package/docs/integrations/frameworks/react-router.md +1 -0
- package/docs/integrations/frameworks/sveltekit.md +1 -0
- package/docs/integrations/frameworks/tanstack-start.md +1 -0
- package/docs/integrations/hono.md +1 -0
- package/docs/integrations/nodejs-bun-deno.md +1 -0
- package/docs/reference/api/auth.md +1 -0
- package/docs/reference/api/client.md +1 -0
- package/docs/reference/api/database.md +24 -1
- package/docs/reference/api/deploy.md +4 -0
- package/docs/reference/api/durable.md +1 -0
- package/docs/reference/api/env.md +1 -0
- package/docs/reference/api/handlers.md +1 -0
- package/docs/reference/api/pages.md +22 -4
- package/docs/reference/api/plugin.md +1 -0
- package/docs/reference/api/resources.md +1 -0
- package/docs/reference/api/rewrites.md +2 -1
- package/docs/reference/api/types.md +1 -0
- package/docs/reference/api.md +1 -0
- package/docs/reference/cli/auth.md +1 -0
- package/docs/reference/cli/database.md +1 -0
- package/docs/reference/cli/deploy.md +1 -0
- package/docs/reference/cli/domains.md +1 -0
- package/docs/reference/cli/email.md +1 -0
- package/docs/reference/cli/generate.md +1 -0
- package/docs/reference/cli/github.md +1 -0
- package/docs/reference/cli/platform-config.md +1 -0
- package/docs/reference/cli/platform-email.md +1 -0
- package/docs/reference/cli/platform-installation.md +1 -0
- package/docs/reference/cli/platform-operations.md +1 -0
- package/docs/reference/cli/platform-users.md +23 -0
- package/docs/reference/cli/platform-zero-trust.md +1 -0
- package/docs/reference/cli/platform.md +1 -0
- package/docs/reference/cli/project.md +1 -0
- package/docs/reference/cli/secrets.md +1 -0
- package/docs/reference/cli/setup.md +1 -0
- package/docs/reference/cli.md +3 -0
- package/docs/reference/config.md +1 -0
- package/docs/reference/resource-inference.md +1 -0
- package/docs/reference/structure.md +1 -0
- package/package.json +25 -25
- package/skills/void/SKILL.md +2 -0
- package/dist/action-key-XtKKbbsi.mjs +0 -25
- package/dist/client-BAxLpSKv.mjs +0 -1
- package/dist/deploy-DEZkUS77.mjs +0 -2
- package/dist/gen-C6iknRdI.mjs +0 -1
- package/dist/help-C_cqTByy.mjs +0 -1
- package/dist/login-C4q1S-5b.mjs +0 -1
- package/dist/migrate-CVBsSFhC.mjs +0 -1
- package/dist/operator-cmd-DnaCnCSP.mjs +0 -1
- package/dist/output-CNsMDEd2.mjs +0 -1
- package/dist/platform-args-B7-wQ0_B.mjs +0 -1
- package/dist/prepare-Bx4a8cb1.mjs +0 -1
- package/dist/resolve-project-BALVa9q0.mjs +0 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
+
description: 'Manage platform users, their projects, and the plans assigned to their accounts.'
|
|
2
3
|
outline: deep
|
|
3
4
|
---
|
|
4
5
|
|
|
@@ -39,6 +40,7 @@ void platform project show <id>
|
|
|
39
40
|
void platform project normalize <id> [--plan | --yes]
|
|
40
41
|
void platform project delete <id>
|
|
41
42
|
void platform project owner <project-id> <user-id>
|
|
43
|
+
void platform project ai-logging <project-id> <inherit|off|metadata|full> [--plan | --yes]
|
|
42
44
|
```
|
|
43
45
|
|
|
44
46
|
Search matches a project's slug, ID, or owner's login. `show` includes resources, domains, the latest 10 deployments, and the latest 20 builds. `delete` removes the project and its resources.
|
|
@@ -47,6 +49,27 @@ If deployment reports that a project requires normalization, an operator can pre
|
|
|
47
49
|
|
|
48
50
|
`owner` transfers a project to another registered user. Preview it with `--plan`; apply it interactively or with `--yes`. The preview reports active-work blockers and the account plan that will apply. The former owner becomes a project administrator, existing project-scoped CI deploy credentials are revoked, and usage already incurred remains with the former owner.
|
|
49
51
|
|
|
52
|
+
### AI Gateway Logging
|
|
53
|
+
|
|
54
|
+
Administrators can choose how AI Gateway logs a project's requests:
|
|
55
|
+
|
|
56
|
+
| Mode | Behavior |
|
|
57
|
+
| ---------- | --------------------------------------------------------------- |
|
|
58
|
+
| `inherit` | Use the installation gateway's settings. This is the default. |
|
|
59
|
+
| `off` | Disable gateway log collection for this project's requests. |
|
|
60
|
+
| `metadata` | Collect gateway logs without storing prompt or response bodies. |
|
|
61
|
+
| `full` | Collect gateway logs, including prompt and response bodies. |
|
|
62
|
+
|
|
63
|
+
```sh
|
|
64
|
+
void platform project ai-logging <project-id> metadata --plan
|
|
65
|
+
void platform project ai-logging <project-id> metadata --yes
|
|
66
|
+
void platform project show <project-id> --json
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
`show` includes the saved `aiLogging.mode`. The setting applies to Workers AI inference, Markdown conversion, and provider calls through the platform. App-supplied logging options cannot override it. Changes apply to new requests without redeploying the app. If the platform cannot verify the saved policy, it refuses the AI request.
|
|
70
|
+
|
|
71
|
+
The policy does not disable AI usage limits. `metadata` retains request metadata, including data used for metering; it suppresses bodies. Cloudflare can retain billing details for unified billing even in `off` mode. These controls do not change exports through separately configured Logpush. See [Cloudflare logging controls](https://developers.cloudflare.com/ai-gateway/observability/logging/).
|
|
72
|
+
|
|
50
73
|
## Signup Access {#operator-signup}
|
|
51
74
|
|
|
52
75
|
Inspect signup restrictions, open signup to everyone, or require an allowlist match:
|
package/docs/reference/cli.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
+
description: 'Commands for creating a project, deploying it, and managing databases, secrets, domains, and a platform.'
|
|
2
3
|
outline: deep
|
|
3
4
|
---
|
|
4
5
|
|
|
@@ -33,6 +34,8 @@ Use this page as a command reference. If you are setting up a project for the fi
|
|
|
33
34
|
|
|
34
35
|
## Cheat Sheet {#cheat-sheet}
|
|
35
36
|
|
|
37
|
+
Platform administrators can also [choose AI Gateway logging per project](./cli/platform-users.md#ai-gateway-logging) with `void platform project ai-logging`.
|
|
38
|
+
|
|
36
39
|
| Command | Purpose |
|
|
37
40
|
| --------------------------------- | ----------------------------------------------------------------------------- |
|
|
38
41
|
| `void deploy` | Build and deploy to the configured platform |
|
package/docs/reference/config.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "void",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"description": "Full-stack framework and deployment CLI for Cloudflare Workers, powered by Vite.",
|
|
5
5
|
"homepage": "https://void.cloud",
|
|
6
6
|
"bugs": {
|
|
@@ -343,24 +343,24 @@
|
|
|
343
343
|
}
|
|
344
344
|
},
|
|
345
345
|
"dependencies": {
|
|
346
|
-
"@cloudflare/build-output-utils": "^0.9.
|
|
347
|
-
"@cloudflare/codemods": "^0.7.
|
|
348
|
-
"@cloudflare/config": "^0.
|
|
346
|
+
"@cloudflare/build-output-utils": "^0.9.13",
|
|
347
|
+
"@cloudflare/codemods": "^0.7.7",
|
|
348
|
+
"@cloudflare/config": "^0.32.0",
|
|
349
349
|
"@cloudflare/sandbox": "^1.0.3",
|
|
350
|
-
"@cloudflare/vite-plugin": "^2.0.0-beta.v.
|
|
351
|
-
"@cloudflare/workers-auth": "^0.
|
|
352
|
-
"@cloudflare/workers-types": "^5.
|
|
353
|
-
"@cloudflare/workers-utils": "^0.
|
|
350
|
+
"@cloudflare/vite-plugin": "^2.0.0-beta.v.15",
|
|
351
|
+
"@cloudflare/workers-auth": "^0.18.1",
|
|
352
|
+
"@cloudflare/workers-types": "^5.20261110.1",
|
|
353
|
+
"@cloudflare/workers-utils": "^0.53.1",
|
|
354
354
|
"@napi-rs/keyring": "^2.1.2",
|
|
355
|
-
"@void/deploy-cloudflare": "1.
|
|
356
|
-
"@void/deploy-core": "1.
|
|
357
|
-
"@void/edge": "1.
|
|
358
|
-
"@void/isr": "1.
|
|
359
|
-
"@void/platform": "1.
|
|
360
|
-
"better-auth": "^1.7.
|
|
355
|
+
"@void/deploy-cloudflare": "1.8.0",
|
|
356
|
+
"@void/deploy-core": "1.8.0",
|
|
357
|
+
"@void/edge": "1.8.0",
|
|
358
|
+
"@void/isr": "1.8.0",
|
|
359
|
+
"@void/platform": "1.8.0",
|
|
360
|
+
"better-auth": "^1.7.20",
|
|
361
361
|
"better-sqlite3": "^13.0.3",
|
|
362
362
|
"blake3-jit": "^1.1.0",
|
|
363
|
-
"cf": "^1.0.0-beta.
|
|
363
|
+
"cf": "^1.0.0-beta.30",
|
|
364
364
|
"devalue": "^6.0.3",
|
|
365
365
|
"drizzle-arktype": "^0.1.3",
|
|
366
366
|
"drizzle-kit": "^0.31.11",
|
|
@@ -369,30 +369,30 @@
|
|
|
369
369
|
"drizzle-zod": "^0.8.3",
|
|
370
370
|
"email-validator": "^2.0.4",
|
|
371
371
|
"gray-matter": "^4.0.3",
|
|
372
|
-
"hono": "^4.13.
|
|
372
|
+
"hono": "^4.13.18",
|
|
373
373
|
"ignore": "^7.0.14",
|
|
374
374
|
"jiti": "^2.7.0",
|
|
375
375
|
"jsonc-parser": "^3.3.1",
|
|
376
376
|
"mime": "^4.1.2",
|
|
377
|
-
"miniflare": "^5.
|
|
378
|
-
"minimatch": "^11.0.
|
|
377
|
+
"miniflare": "^5.20261110.1-beta",
|
|
378
|
+
"minimatch": "^11.0.7",
|
|
379
379
|
"mysql2": "^3.24.6",
|
|
380
380
|
"pg": "^8.23.1",
|
|
381
|
-
"postal-mime": "^4.2.
|
|
381
|
+
"postal-mime": "^4.2.1",
|
|
382
382
|
"proper-lockfile": "^4.1.2",
|
|
383
383
|
"smol-toml": "^1.9.1",
|
|
384
384
|
"terminal-link": "^5.0.0",
|
|
385
385
|
"yaml": "^2.9.1"
|
|
386
386
|
},
|
|
387
387
|
"devDependencies": {
|
|
388
|
-
"@electric-sql/pglite": "0.5.
|
|
388
|
+
"@electric-sql/pglite": "0.5.16",
|
|
389
389
|
"@types/better-sqlite3": "^9.6.0",
|
|
390
390
|
"@types/node": "^26.6.6",
|
|
391
391
|
"@types/pg": "^8.23.1",
|
|
392
392
|
"@types/proper-lockfile": "^4.1.4",
|
|
393
|
-
"@voidzero-dev/vite-plus-prompts": "1.
|
|
393
|
+
"@voidzero-dev/vite-plus-prompts": "1.6.0",
|
|
394
394
|
"arktype": "^2.2.9",
|
|
395
|
-
"ci-info": "^4.
|
|
395
|
+
"ci-info": "^4.5.0",
|
|
396
396
|
"estree-walker": "^3.0.3",
|
|
397
397
|
"fast-wrap-ansi": "^0.2.2",
|
|
398
398
|
"magic-string": "^1.4.5",
|
|
@@ -404,12 +404,12 @@
|
|
|
404
404
|
"tinyglobby": "^0.2.17",
|
|
405
405
|
"typescript": "7.0.2",
|
|
406
406
|
"valibot": "^1.5.0",
|
|
407
|
-
"vite": "npm:@voidzero-dev/vite-plus-core@1.
|
|
408
|
-
"vite-plus": "1.
|
|
407
|
+
"vite": "npm:@voidzero-dev/vite-plus-core@1.6.0",
|
|
408
|
+
"vite-plus": "1.6.0",
|
|
409
409
|
"zod": "^4.6.7"
|
|
410
410
|
},
|
|
411
411
|
"peerDependencies": {
|
|
412
|
-
"@void/md": "1.
|
|
412
|
+
"@void/md": "1.8.0",
|
|
413
413
|
"arktype": ">=2.0.0",
|
|
414
414
|
"valibot": ">=1.0.0-beta.7",
|
|
415
415
|
"vite": "^8.0.0",
|
package/skills/void/SKILL.md
CHANGED
|
@@ -48,6 +48,7 @@ Use `void deploy --skip-migrations` when database migrations run separately; it
|
|
|
48
48
|
| Authentication | `docs/guide/auth.md`, `docs/guide/env-vars.md` |
|
|
49
49
|
| Cloudflare runtime bindings and config | `docs/integrations/cloudflare.md`, `docs/reference/config.md`, `docs/guide/env-vars.md` |
|
|
50
50
|
| AI inference (Workers AI, providers) | `docs/guide/ai.md` |
|
|
51
|
+
| Platform AI logging policy | `docs/reference/cli/platform-users.md#ai-gateway-logging` |
|
|
51
52
|
| Durable State and WebSockets | `docs/guide/durable-state.md`, `docs/guide/websockets.md` |
|
|
52
53
|
| Server-sent events and live streams | `docs/guide/sse.md`, `docs/guide/live.md` |
|
|
53
54
|
| Sandboxes | `docs/guide/sandboxes.md` |
|
|
@@ -56,6 +57,7 @@ Use `void deploy --skip-migrations` when database migrations run separately; it
|
|
|
56
57
|
| SSR and caching | `docs/guide/ssr.md`, `docs/guide/edge/*.md` |
|
|
57
58
|
| HTTPS, rewrites, redirects, fallbacks | `docs/guide/edge/rewrites.md`, `docs/guide/edge/redirects.md`, `docs/reference/config.md` |
|
|
58
59
|
| Static site generation | `docs/guide/ssg.md` |
|
|
60
|
+
| Testing an app with Vitest (`vp test`) | `docs/guide/testing.md` |
|
|
59
61
|
| Connected apps and artifact preparation | `docs/guide/platform/administration/connected-apps.md`, `docs/reference/api/deploy.md` |
|
|
60
62
|
| Deployment and CI | `docs/guide/deployment.md`, `docs/reference/cli/deploy.md` |
|
|
61
63
|
| Install or maintain a company platform | `docs/guide/self-hosted-platform.md`, `docs/reference/cli/platform-installation.md` |
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// src/pages/action-key.ts
|
|
2
|
-
const actionKeyRequests = /* @__PURE__ */ new WeakSet();
|
|
3
|
-
function markActionKey(request) {
|
|
4
|
-
actionKeyRequests.add(request);
|
|
5
|
-
}
|
|
6
|
-
function hasActionKey(request) {
|
|
7
|
-
return actionKeyRequests.has(request);
|
|
8
|
-
}
|
|
9
|
-
/** The first non-empty segment of `search` as sent: `delete` in `?delete&page=2`. */
|
|
10
|
-
function actionKeySegment(search) {
|
|
11
|
-
let start = 1;
|
|
12
|
-
while (search[start] === "&") start++;
|
|
13
|
-
const end = search.indexOf("&", start);
|
|
14
|
-
return search.slice(start, end === -1 ? search.length : end);
|
|
15
|
-
}
|
|
16
|
-
/** `search` without its first non-empty segment; the rest is kept as sent. */
|
|
17
|
-
function searchWithoutActionKey(search) {
|
|
18
|
-
let start = 1;
|
|
19
|
-
while (search[start] === "&") start++;
|
|
20
|
-
let rest = search.indexOf("&", start);
|
|
21
|
-
if (rest === -1) return "";
|
|
22
|
-
while (search[rest] === "&") rest++;
|
|
23
|
-
return rest < search.length ? "?" + search.slice(rest) : "";
|
|
24
|
-
}
|
|
25
|
-
export { searchWithoutActionKey as i, hasActionKey as n, markActionKey as r, actionKeySegment as t };
|
package/dist/client-BAxLpSKv.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { r as PlatformClient } from "./client-BEZmTP6p.mjs";
|
package/dist/deploy-DEZkUS77.mjs
DELETED
package/dist/gen-C6iknRdI.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { r as runGenCommand } from "./gen-BZmFOGDQ.mjs";
|
package/dist/help-C_cqTByy.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { r as printHelpPage } from "./help-CNuUb47C.mjs";
|
package/dist/login-C4q1S-5b.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { r as selectPlatformLoginMethod } from "./login-TA51e5Fw.mjs";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { n as runMigrateCommand } from "./migrate-BH6LCr00.mjs";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { a as runOperatorCommand } from "./operator-cmd-CoHlJjcT.mjs";
|
package/dist/output-CNsMDEd2.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { m as printSuccess } from "./output-CXJTIAtF.mjs";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { t as parsePlatformArgs } from "./platform-args-DfT8yQBF.mjs";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { t as prepareProject } from "./prepare-DXduEwQp.mjs";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { n as inferDefaultSlug } from "./resolve-project-ClvLMTI9.mjs";
|