Kit Langton 470e360942 test(core): align tool contract expectations (#39172) 2 viikkoa sitten
..
content 8db7487c89 refactor(core): consolidate tool architecture 2 viikkoa sitten
pages 203a0613b8 feat(www): migrate docs to Blume 2 viikkoa sitten
public 470e360942 test(core): align tool contract expectations (#39172) 2 viikkoa sitten
script 80865407e0 refactor(sdk): remove local legacy package 2 viikkoa sitten
snippets 203a0613b8 feat(www): migrate docs to Blume 2 viikkoa sitten
.gitignore 203a0613b8 feat(www): migrate docs to Blume 2 viikkoa sitten
AGENTS.md 203a0613b8 feat(www): migrate docs to Blume 2 viikkoa sitten
README.md 203a0613b8 feat(www): migrate docs to Blume 2 viikkoa sitten
blume.config.ts 203a0613b8 feat(www): migrate docs to Blume 2 viikkoa sitten
components.ts 203a0613b8 feat(www): migrate docs to Blume 2 viikkoa sitten
openapi.json 470e360942 test(core): align tool contract expectations (#39172) 2 viikkoa sitten
package.json 80865407e0 refactor(sdk): remove local legacy package 2 viikkoa sitten
tsconfig.json 203a0613b8 feat(www): migrate docs to Blume 2 viikkoa sitten
wrangler.jsonc 28f4284bd7 fix(www): canonicalize production routes 2 viikkoa sitten

README.md

OpenCode website

The OpenCode V2 website, powered by Blume and deployed with Wrangler at https://opencode.ai/v2/. Blume mounts the documentation at /v2/docs, and https://v2.opencode.ai redirects to the same deployment.

Wrangler deploys the site through Blume's Cloudflare server adapter. Documentation pages are prerendered, while custom dynamic routes and endpoints can run in the Worker. Production uses opencode-www at opencode.ai/v2/; dev uses opencode-www-dev at dev.opencode.ai/v2/. The v2.opencode.ai alias is handled by a Cloudflare Redirect Rule outside this project.

The deploy-www GitHub workflow deploys the dev branch to the dev Worker and the v2 branch to the production Worker.

Development

From this directory, run:

bun dev

The site opens at http://localhost:3000/v2/; documentation is available at http://localhost:3000/v2/docs.

Verification

bun typecheck
bun validate
bun run build