v1.15.6
OpenCodeSummary
This release introduces significant usability enhancements, including a new TUI diff viewer and shell mode for the run prompt. Several critical bugs were fixed across the HTTP API, configuration loading, and TUI session imports. Desktop users will benefit from initial tab support and a native Windows app menu.
New Features
- Added a diff viewer in the TUI for reviewing changes.
- Added shell mode to the `run` prompt.
- Added initial desktop tabs support.
- Added a native app menu on Windows.
- Added Ukrainian locale support.
Bug Fixes
- Fixed Zed editor context activation only occurring inside Zed terminals.
- Fixed catalog errors not being exposed by the v2 HTTP API.
- Fixed request errors not being exposed by the v2 HTTP API.
- Fixed OpenAPI spec not preserving endpoint error responses for the v2 API.
- Fixed `opencode login` not defaulting to `https://console.opencode.ai`.
- Fixed agent and command names not resolving correctly from relative config paths.
- Fixed startup crash caused by invalid `OPENCODE_PERMISSION`
- Fixed plugin tools missing `args` from breaking tool loading.
- Restored legacy `PgUp` and `PgDn` TUI keybind aliases.
- Fixed imported sessions not refreshing their directory and relative path fields correctly.
- Fixed custom providers not appearing immediately after config updates.
Improvements
- Collapsed single-child directories in the TUI diff viewer file tree.
- Replaced subagent tabs with an on-demand picker in `run`.
- Fixed plugin file load errors no longer breaking the rest of plugin loading.
- Anthropic API-key models now use the native runtime.
- The v2 HTTP API now exposes structured public error schemas.
- The TUI diff viewer now focuses the first file automatically.
- Native runtime now prefers the console provider token for OpenCode models.