opencode-map
← /news
Nov 10, 2026release

opencode v2.2.7 adds GitHub Copilot Auto and desktop tab shortcuts, ends six SDK plugin waits, and removes `ImageResponse.image`

v2.2.7 published on @opencode/cli at 10:33 UTC on November 10, 2026 (the release: v2.2.7 commit landed at 07:52 UTC; the GitHub release page followed at 10:37 UTC — all one clock). The release page again carries full highlights and per-area notes, and the same text now sits in a v2.2.7 — 2026-11-10 entry at the top of CHANGELOG.md at dev HEAD (fetched 2026-11-10). This article continues the v2.2.6 coverage.

GitHub Copilot Auto routes the session

When your Copilot account has an Auto pool, the model picker offers Auto: Copilot’s router chooses the model for each session at the Auto discount, and a failed routing falls back to the account’s default chat model (#62997). Two Copilot fixes ride along: session costs now use the amount Copilot charged instead of the catalog estimate, and content-filter errors name the filter that blocked the response (#62034); a plan change’s new API endpoint is picked up on the next model refresh, so you no longer have to sign in again (#62171).

Two breaking changes

Code importing @opencode/ai directly must switch from ImageResponse.image — now removed — to response.images[0] (#63011). And on a server still loading plugins, fewer endpoints wait: 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 a plugin provides appear when it finishes loading, so refresh on the matching *.updated event, while model, provider, generate.*, voice.*, and websearch.query endpoints still wait (#62796, #63040).

Desktop: tab shortcuts and read state

Side-panel tabs gain shortcuts: right-click a tab for Close tabs to the right, ⌘W closes side-panel tabs wherever focus is, ⌥⌘W or Ctrl+Alt+W always closes the session tab, and ⌘⇧T reopens the last closed tab of either kind where it was (#62922). The menus on tabs, Home rows, project rows, and inbox cards add Mark as read and Mark as unread — keeping a card’s dot until you next visit — plus Rename on inbox cards (#62889). The picked answer in the question dock shows as a raised card (#62896); on Windows and Linux Ctrl+Shift+R toggles the review panel again instead of reloading the window (#62567); closing the last side-panel tab slides the panel shut (#62758); and selects, menus, tooltips, and toasts opened from a dialog are reachable by screen readers (#62913).

Core: MCP logins stay signed in, reads and shells talk back

Remote MCP servers that rotate refresh tokens no longer sign you out when several clients refresh the same login at once — TUI, desktop, background service, or several projects — or when the token endpoint fails momentarily, and a temporary refresh failure no longer marks the server needs_auth (#62827, #63012). MCP tool calls no longer fail when the server’s result breaks the tool’s own output schema, so completed actions are not reported as failed (#61254), and prompts stay available when refreshing a server’s prompt list fails (#62266). read accepts a negative offset — -50 for the last 50 lines — returns the file’s last lines and line count for an offset past the end, and suggests close names when a file is not found (#62147). Shell results end with Exit code: N, signal-killed commands name the signal, timeouts say how long they waited, unmatched zsh globs like rm *.tmp pass through as bash does, and truncated output drops the partial first line so the “showing lines X–Y” notice is exact (#62141). Prompt cache warming times its pings from the model’s cache.ttl by default (interval: "auto", every 4 minutes without a TTL) and stops pinging models whose cache outlasts the warming duration (#62831). Code Mode sends the model a short list of what changed when MCP servers connect, disconnect, or change tools, instead of the whole catalog (#62176); a background summary no longer stops a running Claude Agent session mid tool call with background_compaction on (#63025); and a fresh install imports provider credentials from the legacy auth.json, skipping an invalid one with a warning instead of stopping setup (#62568).

TUI, SDK, and extensions

The update and confirm dialogs have buttons you can move between with ←/→ and Tab/Shift+Tab (#62906), and the model picker drops its Usage action in favor of /usage (#62927). Session exports save to the current working directory instead of the system temp folder (#62253), typing a child session’s exact ID in the open-session menu lists that session (#62262), and the TUI follows the terminal’s current light or dark mode over a cached palette (#62248). The SDK’s session.generate returns tokens and cost along with text (#62835), credential.updated includes the integrationID and credentialID of the login that changed (#62762), and predicate questions in client.experimental.generate.decisions accept optional criteria: { true?, false? } (#62819). ACP clients can redirect a running turn with the _session/steering extension, advertised as _meta.steering.supported in initialize (#54394). For scale: the tag compare v2.2.6…v2.2.7 reports the branch 185 commits ahead, and this time the full listing fits under GitHub’s 250-commit cap — the release body remains the authoritative per-feature record.

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