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

# Fixed legacy MCP state refreshing when opening a V1 workspace

2026-07-27 · v1.18.7, v1.18.6

## Improvements

- **Desktop:** Improved compatibility with the newer client API across directory, project, session, and terminal flows.

## Fixes

- **Core:** Fixed branch-specific repository caches so refreshing one reference no longer moves another branch checkout.
- **Desktop:** Fixed provider lists not refreshing after connecting a provider or finishing provider OAuth on V1 servers.
- **Desktop:** Remove the extra titlebar inset in fullscreen on macOS.
- **Desktop:** Keep command palette entries from reappearing incorrectly when shadowed commands are removed.
- **Desktop:** Add scrolling to the project selector dropdown when the list is long. ([@david1gp](https://github.com/david1gp))

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

Newer: [Improved compatibility with newer MCP servers and OAuth flows](https://opencode.ai/changelog/v1.18.8) (v1.18.8)

Older: [Support the current server terminal transport](https://opencode.ai/changelog/v1.18.5) (v1.18.5)

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

---

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