opencode/services/www
Shoubhit Dash b0dac0d5b3 refactor(core): read the Plan directory from plugin options
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.
2026-10-06 19:44:50 +05:30
..
public refactor(core): read the Plan directory from plugin options 2026-10-06 19:44:50 +05:30
script docs: link v1 docs from header 2026-09-18 20:54:48 -04:00
src refactor(core): read the Plan directory from plugin options 2026-10-06 19:44:50 +05:30
.gitignore feat(services): organize hosted services and add public files 2026-09-07 18:34:34 -04:00
AGENTS.md feat(services): organize hosted services and add public files 2026-09-07 18:34:34 -04:00
astro.config.ts feat(services): organize hosted services and add public files 2026-09-07 18:34:34 -04:00
openapi.json refactor(core): read the Plan directory from plugin options 2026-10-06 19:44:50 +05:30
package.json feat(services): organize hosted services and add public files 2026-09-07 18:34:34 -04:00
README.md feat(services): organize hosted services and add public files 2026-09-07 18:34:34 -04:00
tsconfig.json chore: enable noUnusedLocals in already-clean packages (#52849) 2026-10-02 15:23:50 -07:00
wrangler.jsonc feat(services): organize hosted services and add public files 2026-09-07 18:34:34 -04:00

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.
  • /install proxies the current installer.
  • /openapi.json serves 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