You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5d8ec49
Browse filesBrowse the repository at this point in the historyBrowse files
Merge origin/main into feat/email-mono (Worker handoff, self-hosted cleanup)
28 commits from main. Seven conflicts:
- packages/deploy-cloudflare/src/version.ts: both sides extended the
trigger snapshot at the same spots — kept main's `sourceConfigPath`
reader, settings hash and traffic-preserve flags next to our
`addresses` reader and replay. main's new `resolvePreservedTraffic`
rebuilds the trigger config on every versioned deploy and would have
dropped `addresses`; it now carries the key through.
- packages/void/src/cli/deploy.ts: `discoverRootWranglerConfig` keeps
our export and main's `wrangler.toml` refusal.
- packages/void/AGENT_PROMPT.md: our docs sentence (with email) plus
main's platform-forks paragraph.
- platform/packages/api/test/integration/auth-email-verification.test.ts:
main removed the preview-repo signup tests; ours sat after them.
Dropped the removed test, kept every owner-email-change test.
- platform/meta/operations.md: main replaced the inventory with a
maintainer runbook; re-added a condensed Email section (invariants,
the unexecuted one-time zone setup, deploy order, rollback, the two
retroactive pre-checks). platform/meta/progress.md: main retired it;
took main's. platform/packages/api/README.md: both admin rows kept.
One auto-merge follow-up: main's new onboarding page test expected a
raw `'` in `void connect '<url>'`; our `escapeHtml` escapes quotes
(`'`, rendered back by the browser). The test now expects the
escaped form.
Gates on the merged tree: fmt/lint 0, `vp run check` 0, unit
5103/5103, platform 3761/3761, platform runtime build 0.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SStP281NuirMSouULEE2pW
# Production still runs a pre-monorepo revision, so there is no platform code to test
151
-
# against: the schema is checked, the code is not. That gap closes with the first
152
-
# release from this repository, after which this branch stops being taken.
153
-
echo 'usable=false' >> "$GITHUB_OUTPUT"
154
-
echo '::warning::The compatibility baseline predates the platform, so the production code was not exercised against the migrated schema. This stops once prod carries the platform.'
154
+
if [ ! -d platform/packages/api ]; then
155
+
echo '::error::The selected production baseline does not contain the platform. Choose a released platform ref with VOID_PLATFORM_PRODUCTION_REF.'
Copy file name to clipboardExpand all lines: AGENTS.md
+11-7Lines changed: 11 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ The `void` package on npm has these previous versions: '0.0.1', '0.1.0', '0.1.2'
24
24
- Run `vp test run` on tests relevant to the current feature only during feature development. Only run the full test suite when everything is done for final verification.
25
25
- If there are tests hanging or running particularly slow, investigate right there and attempt to fix. Testing velocity is something that should be maintained or improved at every opportunity.
26
26
- Documentation: after verification, update all docs if relevant and applicable:
|`playground/*`| (private) | local apps for testing |
71
72
73
+
The platform source is part of this repository. Its workspace-only packages keep `private: true` to prevent accidental npm publication; this does not mean the platform source is private. Use `docs/guide/platform-development.md` for contributor/fork setup and `docs/guide/self-hosted-platform.md` for installation.
74
+
72
75
Platform packages live under `platform/packages/*` and may depend on public/shared root packages. Public SDK packages under `packages/*` must not import from `platform/`.
73
76
74
77
## `void` Overview
@@ -92,14 +95,15 @@ The `void` package contains two parts:
92
95
93
96
**CLI (`void`)** — commands for local development DX and deployment:
94
97
95
-
-**`deploy`** — builds, validates migrations, packages, and uploads to Void
98
+
-**`deploy`** — builds, validates migrations, and deploys to the configured Cloudflare or Void target
99
+
-**`platform`** — installs, maintains, and administers a self-hosted Void platform
96
100
-**`gen`** — scaffolds models, routes, middleware, SSR entries, cron jobs, and queue consumers
97
101
-**`init`** — sets up agent instructions, skills, and reference prompts for coding agents
98
102
-**`db`** — manages migrations and inspects the local D1 database
99
103
-**`auth`** — login, logout, and token management
100
-
-**`projects`** — link, create, and manage Void projects
101
-
-**`domains`** — configure custom domains for deployed projects
102
-
-**`secrets`** — manage production environment variables
104
+
-**`project`** — link, create, and manage Void projects
105
+
-**`domain`** — configure custom domains for deployed projects
106
+
-**`secret`** — manage production environment variables
103
107
104
108
See [`packages/void/AGENTS.md`](./packages/void/AGENTS.md) for architecture, source layout, design decisions, package exports, route parsing rules, code generation, and agent integration.
@@ -40,6 +44,8 @@ pnpm void deploy # deploy to the saved Cloudflare or Void target
40
44
41
45
## Adding Void to an Existing Project
42
46
47
+
Already deploy the same Void app directly to Cloudflare? Run `void deploy`. If your project has a `wrangler.jsonc` or `wrangler.json` and no deployment destination, Void offers to link and deploy using the existing Worker and resources. Accept once, then use `void deploy` for future deployments. See [Deploy an existing Worker](./docs/integrations/cloudflare.md#deploy-an-existing-worker).
0 commit comments