Files
Shoubhit Dash ab8a5f225c feat(plugin): read and append to the TUI prompt
Add context.ui.prompt.current() and append(text) for TUI plugins.
current() returns the composer text, a UTF-16 selection, and the mode,
and is reactive. append() adds text at the end without touching
attachments, and returns false when no composer is mounted or the
plugin is no longer active.
2026-10-04 19:15:02 +05:30
..
2026-09-18 20:54:48 -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