opencode/packages/docs
2026-07-23 12:35:29 -04:00
..
api
assets
build
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
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
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
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
themes.mdx docs(tui): add generated V2 theme reference (#38396) 2026-07-22 18:30:31 -04:00
troubleshooting.mdx
warming.mdx

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.