Release

OpenCode v2.2.7: GitHub Copilot Auto, side panel tab shortcuts, and two breaking changes

OpenCode v2.2.7 adds GitHub Copilot Auto, side panel tab shortcuts, and read/unread marks, with breaking changes in @opencode/ai and SDK plugin loading.

OpenCode v2.2.7 shipped on November 10, the first tagged OpenCode release after v2.2.6. Its headline items: Copilot accounts with an Auto pool can pick Auto in the model picker, Desktop side panel tabs get close and reopen shortcuts, and sessions can be marked as read or unread. The release also lists two breaking changes: one affects code that imports @opencode/ai directly, the other changes which SDK endpoints wait for plugins to load.

GitHub Copilot Auto

Pick Auto in the model picker when your Copilot account has an Auto pool, and Copilot’s router chooses the model for each session at the Auto discount. If routing fails, OpenCode falls back to the account’s default chat model.

Other GitHub Copilot changes in this release:

Breaking changes

@opencode/ai: ImageResponse.image is removed

This affects code that imports @opencode/ai directly. Read response.images[0] instead of response.image.

SDK: fewer endpoints wait for plugins to load

On a Location that is still loading plugins, agent.list returns the agents loaded so far, and integration.list, usage.limits, vcs.init, rpc.call and artifact.* no longer wait up to 5 seconds. Entries and actions that a plugin provides appear when it finishes loading, so refresh on the matching *.updated event. Model, provider, generate.*, voice.* and websearch.query endpoints still wait.

MCP logins and tool calls

read and shell results

Desktop: side panel tabs and read state

How to use

Also worth knowing

For the full list of changes, see the v2.2.7 release notes, and follow the release feed for the next tag.

溯源: https://github.com/anomalyco/opencode/releases/tag/v2.2.7

继续探索