opencode v2.2.0 ships experimental Desktop plugins, Decision APIs, and three breaking changes
v2.2.0 published on @opencode/cli on October 27, 2026 (npm latest moved at 08:59 UTC) — again with no GitHub release page — so this article reads the official changelog entry at opencode.ai/changelog and the identical v2.2.0 section of CHANGELOG.md at the dev branch HEAD (both fetched 2026-10-27). It is the largest v2 release to date by changelog volume: three breaking changes, six highlights, and — beyond the highlights — 101 listed improvements and 116 fixes across Core, TUI, Desktop, and SDK.
Highlights: Desktop plugins and Decision APIs
Desktop plugins are the headline: create, install, and share them (experimental), manage them in Settings › Extensions › Plugins, and build richer surfaces with the new GUI plugin APIs for toasts, dialogs, notifications, tabs, composer controls, and custom UI. The desktop app itself gets a broad refresh — the changelog credits 69 desktop improvements, from a persistent zoom setting and @ links to other sessions to spacing, alignment, and typography polish across the session header, titlebar, composer, file tree, browser pane, timeline, and Settings. Plugins and the SDK gain experimental image and decision generation APIs, and the old experimental evaluations are replaced by Decision APIs spanning OpenAI Decisions, System One, and Cloudflare Run models — the decision-model workflows the release notes point at. Two plugin-platform changes round out the highlights: plugins can attach keyed session instructions via ctx.session.instructions.entry.put/list/remove, which land as small updates at the next step instead of editing the system prompt (so the prompt cache survives, and entries survive compaction and reverts), and the Todo tool returns to desktop via opt-in. Providers see configurable prompt-cache TTLs per provider/model, and GPT-6.1 Terra and GPT-6.1 Terra Fast join Sign in with ChatGPT.
The three breaking changes
@opencode/ai root is now the Promise API: the package root exports the Promise API like @opencode/sdk and @opencode/client; the Effect API moves to @opencode/ai/effect, @opencode/ai/promise is removed, and the wildcard subpath export is replaced with an explicit list of provider and protocol entry points. The OpenCode GitHub Action is removed: it is no longer published — take it out of your workflows. TUI plugins require OpenTUI 0.7: @opencode/plugin now needs @opentui/core and @opentui/solid 0.7.0 (up from 0.6.8+), and plugins depending on OpenTUI 0.6 fail to install until they upgrade — custom renderables read their hooks at construction (renderBefore, renderAfter, onLifecyclePass assigned in the constructor, refreshHooks() after reflective additions, static nativeIntegration replacing defineNativeIntegration()).
The long tail
Core adds experimental session-media APIs with opt-in media URIs and content-addressed blob storage behind experimental.media_blob, records provider-reported session costs, applies OpenCode Console workspace configuration as a configuration layer, exposes MCP server titles from serverInfo, and puts the machine hostname in /api/info, alongside 44 core fixes. TUI contributes 4 improvements and 10 fixes; Desktop’s 57 fixes run from duplicate tab shortcuts to question-dock positioning; and the SDK’s single improvement — the GUI plugin API set above — comes with 5 fixes.
source: https://opencode.ai/changelog