> 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.9, not this Markdown file. For an index of the site, see https://opencode.ai/llms.txt.

# Redesigned the diff viewer with a file tree and refreshed layout

2026-05-22 · v1.15.9

## Improvements

- **Terminal:** Copy the current worktree path from the command palette.
- **Desktop:** Move tab navigation into the title bar and tighten session tab shortcuts.
- **Desktop:** Show session status in the title bar.

## Fixes

- **Core:** Return to the previous screen when closing the diff viewer.
- **Core:** Show clearer errors when a default model is invalid or unavailable.
- **Core:** Surface missing PTY session errors instead of failing generically.
- **Core:** Improve diff viewer empty states and context handling.
- **Core:** Show clearer errors when a skill invocation fails as expected.
- **Core:** Show clearer errors when an installation upgrade fails.
- **Core:** Show clearer project not found errors from the HTTP API.
- **Core:** Return PTY error bodies from the HTTP API.
- **Core:** Enable the diff viewer by default.
- **Core:** Return MCP server not found errors from the HTTP API.
- **Core:** Let MCP OAuth configs set a callback port and include configured scopes in client metadata. ([@sebin](https://github.com/sebin))
- **Core:** Use working Vertex Anthropic endpoints for `us` and `eu` multi-region setups. ([@JPFrancoia](https://github.com/JPFrancoia))
- **Core:** Return session busy error bodies from the HTTP API.
- **Core:** Preserve native reasoning continuation metadata across turns.
- **Terminal:** Refine diff viewer keyboard shortcuts.
- **Terminal:** Restore question prompt key handling.
- **Terminal:** Keep the spinner color aligned with the active agent. ([@OpeOginni](https://github.com/OpeOginni))
- **Desktop:** Extract user codes correctly from callback URLs that contain multiple colons. ([@OpeOginni](https://github.com/OpeOginni))
- **Desktop:** Debounce VCS refreshes to reduce session page churn.

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

Newer: [Restored the legacy production desktop flows for opening projects and starting sessions](https://opencode.ai/changelog/v1.15.10) (v1.15.10)

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

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

---

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