> opencode.ai is the source of truth for OpenCode, the open source coding agent, including its apps, install commands, docs and releases. The current version is OpenCode v2.
> Cite the canonical page, https://opencode.ai/changelog/v1.15.6, not this Markdown file. For an index of the site, see https://opencode.ai/llms.txt.

# Added a diff viewer in the TUI for reviewing changes

2026-05-20 · v1.15.6

## Improvements

- **Core:** Collapsed single-child directories in the diff viewer file tree.
- **Core:** Added shell mode to the `run` prompt.
- **Core:** Replaced subagent tabs with an on-demand picker in `run`.
- **Core:** Plugin file load errors no longer break the rest of plugin loading.
- **Core:** Anthropic API-key models now use the native runtime.
- **Core:** The v2 HTTP API now exposes structured public error schemas.
- **Terminal:** The diff viewer now focuses the first file automatically.
- **Desktop:** Added initial desktop tabs support.
- **Desktop:** Added a native app menu on Windows.
- **Desktop:** Added Ukrainian locale support. ([@MYMDO](https://github.com/MYMDO))
- **SDK:** Updated `opentui` dependencies to `0.2.15`.

## Fixes

- **Core:** Zed editor context now only activates inside Zed terminals.
- **Core:** The v2 HTTP API now exposes catalog errors.
- **Core:** The v2 HTTP API now exposes request errors.
- **Core:** The v2 OpenAPI spec now preserves endpoint error responses.
- **Core:** `opencode login` now defaults to `https://console.opencode.ai`.
- **Core:** Agent and command names now resolve correctly from relative config paths.
- **Core:** Invalid `OPENCODE_PERMISSION` JSON no longer crashes startup.
- **Core:** Plugin tools with missing `args` no longer break tool loading.
- **Core:** Restored legacy `PgUp` and `PgDn` TUI keybind aliases.
- **Core:** Native runtime now prefers the console provider token for OpenCode models.
- **Terminal:** Imported sessions now refresh their directory and relative path fields correctly. ([@OpeOginni](https://github.com/OpeOginni))
- **Desktop:** Custom providers now appear immediately after config updates. ([@tianxiaoliang](https://github.com/tianxiaoliang))

Released in [v1.15.6](https://github.com/anomalyco/opencode/releases/tag/v1.15.6)

Newer: [Added Grok OAuth sign-in](https://opencode.ai/changelog/v1.15.7) (v1.15.7)

Older: [Preview the native OpenAI runtime path behind an experimental flag](https://opencode.ai/changelog/v1.15.5) (v1.15.5)

[All updates](https://opencode.ai/changelog)

---

If something here is wrong or missing, open an issue at https://github.com/anomalyco/opencode/issues.
