The current line picked up three more tagged OpenCode releases right after v2.2.1: v2.2.2 (October 29), v2.2.3 (October 30), and v2.2.4 (October 30). The headline items: image generation is now enabled by default when a connected provider supports image models, the built-in Claude Agent provider brings Claude Code logins into OpenCode, Desktop terminals become persistent across restarts, and an experimental artifacts feature lets agents publish and serve HTML or static artifacts. v2.2.3 also carries two breaking changes, for TUI plugin authors and managed-policy administrators — read those before upgrading.
Image generation on by default (v2.2.2)
v2.2.1 introduced image generation as an opt-in tool. In v2.2.2, experimental_image_generate is enabled by default when an image-capable provider is connected, and agents can use it without additional configuration; its preferred model is set through experimental.image_generate.model (improvement).
Use Claude Code in OpenCode (v2.2.3, v2.2.4)
v2.2.3 adds the built-in Claude Agent provider: install Claude Code, run claude auth login, and select Claude Agent in /connect to use your Claude Code login and models. OPENCODE_CLAUDE_PATH can override the Claude executable (improvement). In Desktop, v2.2.4 adds a guided setup: select Claude Agent from the provider picker to copy claude auth login, install Claude Code, and verify the connection before continuing to model selection (improvement). v2.2.4 also replaces Claude Code’s misleading /login instruction with claude auth login (bugfix).
Two breaking changes (v2.2.3)
TUI plugins require OpenTUI 0.8
@opencode/plugin now requires @opentui/core and @opentui/solid 0.8.0 or later. In OpenTUI 0.8, a ScrollBox’s wrapper, viewport, content, and scrollbars are facade objects instead of renderables, and a custom RenderContext must implement clock and onAnimationTick. See the OpenTUI 0.8.0 release notes.
Managed policy: integration.use covers integrations only
integration.use now controls which integration accounts can be used, and the new mcp.use, skill.use, and plugin.use actions control MCP servers, skills, and plugins. Rules with the old mcp:, skill:, and plugin: resource prefixes are converted automatically, but a bare integration.use rule no longer applies to MCP servers, skills, or plugins.
Persistent Desktop terminals (v2.2.4)
Desktop terminals now belong to the session, survive server restarts with their scrollback, and stay synchronized with the TUI and other windows. Renamed terminals also keep their names across restarts (improvement). When a session is deleted, its persistent terminals are removed (v2.2.3, bugfix).
Interactive artifacts (experimental, v2.2.4)
Enable "experimental": { "artifacts": true } in opencode.json to let agents publish, update, and serve HTML or static artifacts through the built-in local provider or plugin-provided storage (highlight). The feature adds the artifact_create, artifact_read, artifact_update, and artifact_delete tools with a built-in local static-file provider; the SDK adds client.experimental.artifacts.providers, list, create, get, update, delete, and view; and plugins register artifact providers through ctx.experimental.artifact.transform(...) in Effect and Promise plugins (improvements).
Also worth knowing
- Faster worktree selection (v2.2.2, improvement): on the new-session screen, clicking the current Git branch opens that project’s worktree picker directly, and v2.2.4 adds Choose base branch to the command palette and shortcuts, bound to
⌘⌥.on macOS orCtrl+Alt+.on Windows and Linux. - Unified quotes and annotations (v2.2.2, improvement): timeline quotes, terminal quotes, and browser annotations share a compact optional-comment editor, while source highlights remain attached to local drafts.
- Faster long sessions in Desktop (v2.2.3, improvement): streaming replies and long conversations now do much less rendering work.
- Lazy loading for stored image references (v2.2.3, improvement): when
experimental.media_blobis enabled, images are downloaded only for previews, while undo, revert, fork, and prompt recall restore referenced attachments safely. - Enabled schedules run under
opencode serve(v2.2.4, improvement): multiple server processes are coordinated so a schedule fires only once; schedules remain opt-in throughexperimental.schedules. - Configuration override (v2.2.4, bugfix): user, project, and remote configuration can override Console-supplied provider names, limits, variants, settings, and headers.
- Proxy handling (v2.2.4, bugfix): local OpenCode service requests are kept out of environment-configured proxies.
- OpenCode Go limits are raised for DeepSeek V4.1 Flash (v2.2.4, improvement).
- Go usage-limit messages are improved with the reset time and an account page link (v2.2.2, bugfix).
- Media is preserved when sessions are forked or imported (v2.2.2, bugfix).
How to use
- Image generation: nothing extra to configure when a connected provider supports image models; set the preferred model through
experimental.image_generate.model. - Claude Agent: install Claude Code, run
claude auth login, and select Claude Agent in/connect. In Desktop, the provider picker walks through copying the command, installing Claude Code, and verifying the connection. - TUI plugin authors: upgrade to
@opentui/coreand@opentui/solid0.8.0 or later; see the OpenTUI 0.8.0 release notes. - Managed policy administrators: use the new
mcp.use,skill.use, andplugin.useactions for MCP servers, skills, and plugins; rules with the oldmcp:,skill:, andplugin:prefixes are converted automatically. - Artifacts: enable
"experimental": { "artifacts": true }inopencode.json.
For the full list of changes, see the v2.2.2, v2.2.3, and v2.2.4 release notes, and follow the release feed for the next tag.