mirror of
https://github.com/Heretek-AI/opencode.git
synced 2026-11-10 10:21:31 -10:00
Core config no longer knows about Plan mode. This removes the plan key, its schema, and the regenerated OpenAPI and client output. The opencode.plan plugin reads directory from its plugin options instead. It logs and falls back to ~/.opencode/plan when the options are invalid, so a typo never leaves the Plan agent without its edit restrictions.
OpenCode website
The standard Astro website for OpenCode. The only deployment-specific path is the base setting in astro.config.ts; application code uses import.meta.env.BASE_URL.
src/pages/owns website routes.src/docs/is the self-contained documentation feature rendered under/docs./installproxies the current installer./openapi.jsonserves the generated OpenAPI specification.
The deployment currently sets base: "/v2". The v2.opencode.ai alias is handled by a Cloudflare Redirect Rule outside this project.
Development
From this directory, run:
bun dev
The local URL includes the base configured in astro.config.ts.
Verification
bun typecheck
bun run check:generated
bun run build