James Long 381f6c47b4 docs(tui): add generated V2 theme reference (#38396) 3 weeks ago
..
api eed23d8ee9 feat(api): publish v2 reference 1 month ago
assets e6e951b252 docs: rebuild v2 documentation 1 month ago
build 4678bd1049 feat(plugin): expose synthetic session input (#37212) 1 month ago
script 381f6c47b4 docs(tui): add generated V2 theme reference (#38396) 3 weeks ago
snippets 381f6c47b4 docs(tui): add generated V2 theme reference (#38396) 3 weeks ago
AGENTS.md bd947658bb docs: add v2 configuration reference 1 month ago
README.md 381f6c47b4 docs(tui): add generated V2 theme reference (#38396) 3 weeks ago
agents.mdx b6e14b5a74 refactor(tui): finish V2 theme migration (#38383) 3 weeks ago
attachments.mdx 1004fbb2f5 docs: expand OpenCode 2 beta guides 1 month ago
commands.mdx 1004fbb2f5 docs: expand OpenCode 2 beta guides 1 month ago
compaction.mdx 96a9731947 feat(core): replace instruction checkpoints with value-delta sync (#36254) 1 month ago
config.mdx e84938b309 fix(core): make session warming observable 3 weeks ago
docs.json 381f6c47b4 docs(tui): add generated V2 theme reference (#38396) 3 weeks ago
formatters.mdx 1004fbb2f5 docs: expand OpenCode 2 beta guides 1 month ago
index.mdx 381f6c47b4 docs(tui): add generated V2 theme reference (#38396) 3 weeks ago
instructions.mdx 96a9731947 feat(core): replace instruction checkpoints with value-delta sync (#36254) 1 month ago
lsp.mdx 1004fbb2f5 docs: expand OpenCode 2 beta guides 1 month ago
mcp-servers.mdx fe9b051d1a feat(core): allow MCP Code Mode opt-out (#37681) 3 weeks ago
migrate-v1.mdx 7e9b9cb0fd docs: document TUI config migration 1 month ago
models.mdx 23483ea013 feat(ai): support custom reasoning fields (#38227) 3 weeks ago
openapi.json b6e14b5a74 refactor(tui): finish V2 theme migration (#38383) 3 weeks ago
package.json 381f6c47b4 docs(tui): add generated V2 theme reference (#38396) 3 weeks ago
permissions.mdx 1004fbb2f5 docs: expand OpenCode 2 beta guides 1 month ago
providers.mdx bb15b16499 refactor(ai): rename llm package 1 month ago
references.mdx 1004fbb2f5 docs: expand OpenCode 2 beta guides 1 month ago
sharing.mdx 1004fbb2f5 docs: expand OpenCode 2 beta guides 1 month ago
skills.mdx 1004fbb2f5 docs: expand OpenCode 2 beta guides 1 month ago
snapshots.mdx 1004fbb2f5 docs: expand OpenCode 2 beta guides 1 month ago
themes.mdx 381f6c47b4 docs(tui): add generated V2 theme reference (#38396) 3 weeks ago
troubleshooting.mdx f5dd181443 refactor(cli): define server connection boundary (#37133) 1 month ago
warming.mdx e84938b309 fix(core): make session warming observable 3 weeks ago

README.md

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.