opencode/packages/docs
2026-07-23 12:35:29 -04:00
..
api
assets
build feat(plugin): expose synthetic session input (#37212) 2026-07-15 22:55:40 -04:00
script refactor(tui): load native V2 themes (#38430) 2026-07-23 12:35:29 -04:00
snippets/generated docs(tui): add generated V2 theme reference (#38396) 2026-07-22 18:30:31 -04:00
AGENTS.md
agents.mdx refactor(tui): finish V2 theme migration (#38383) 2026-07-22 17:56:22 -04:00
attachments.mdx
commands.mdx
compaction.mdx
config.mdx fix(core): make session warming observable 2026-07-21 21:30:05 -04:00
docs.json docs(tui): add generated V2 theme reference (#38396) 2026-07-22 18:30:31 -04:00
formatters.mdx
index.mdx docs(tui): add generated V2 theme reference (#38396) 2026-07-22 18:30:31 -04:00
instructions.mdx
lsp.mdx
mcp-servers.mdx feat(core): allow MCP Code Mode opt-out (#37681) 2026-07-18 17:17:56 -04:00
migrate-v1.mdx
models.mdx fix(core): default custom model capabilities (#38449) 2026-07-22 23:20:16 -05:00
openapi.json refactor(tui): finish V2 theme migration (#38383) 2026-07-22 17:56:22 -04:00
package.json docs(tui): add generated V2 theme reference (#38396) 2026-07-22 18:30:31 -04:00
permissions.mdx docs: expand OpenCode 2 beta guides 2026-07-09 18:01:15 -04:00
providers.mdx
README.md docs(tui): add generated V2 theme reference (#38396) 2026-07-22 18:30:31 -04:00
references.mdx
sharing.mdx
skills.mdx
snapshots.mdx docs: expand OpenCode 2 beta guides 2026-07-09 18:01:15 -04:00
themes.mdx docs(tui): add generated V2 theme reference (#38396) 2026-07-22 18:30:31 -04:00
troubleshooting.mdx
warming.mdx fix(core): make session warming observable 2026-07-21 21:30:05 -04:00

OpenCode documentation

The V2 documentation is a Mintlify site deployed from packages/docs on the dev branch.

Local preview

From this directory, run:

bun dev

The preview opens at http://localhost:3333 and reloads when MDX or docs.json changes.

Validate changes before opening a pull request:

bun validate
bun broken-links

The V2 theme token reference is generated from packages/tui/src/theme/v2/schema.ts. Regenerate it after schema changes:

bun run generate

bun validate checks that the committed snippet is current. The repository's generation workflow also refreshes it on pushes to dev, so Mintlify always receives the generated MDX as part of the published docs tree.

The hosted preview is available at opencode.mintlify.site.