Kit Langton 04cf35b304 fix(protocol): stabilize OpenAPI generation 18 ساعت پیش
..
content 9e22c40fff feat: align V2 beta release channels 20 ساعت پیش
pages 203a0613b8 feat(www): migrate docs to Blume 3 هفته پیش
public 04cf35b304 fix(protocol): stabilize OpenAPI generation 18 ساعت پیش
script c445d98188 feat(theme): extract TUI theme package (#39378) 2 هفته پیش
snippets c445d98188 feat(theme): extract TUI theme package (#39378) 2 هفته پیش
.gitignore 203a0613b8 feat(www): migrate docs to Blume 3 هفته پیش
AGENTS.md e57a1c7930 docs: refresh agent guidance 1 روز پیش
README.md 203a0613b8 feat(www): migrate docs to Blume 3 هفته پیش
blume.config.ts 28f6968dda fix(www): point edit links to v2 (#42472) 2 روز پیش
components.ts 203a0613b8 feat(www): migrate docs to Blume 3 هفته پیش
openapi.json 04cf35b304 fix(protocol): stabilize OpenAPI generation 18 ساعت پیش
package.json c445d98188 feat(theme): extract TUI theme package (#39378) 2 هفته پیش
tsconfig.json 203a0613b8 feat(www): migrate docs to Blume 3 هفته پیش
wrangler.jsonc 4194d55522 chore: generate 1 هفته پیش

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