OpenCode v2.2.2

OpenCode v2.2.2 was released on .

Summary

OpenCode 2.2.2 is here: image generation works out of the box with supported providers, the Git branch on new sessions opens your worktree picker in one click, and quotes plus annotations finally share one comment editor. Curious what else changed?

Release Context

  • This was the 205th OpenCode release of 2026 tracked by Havoptic.
  • It shipped 1 day after OpenCode v2.2.1 (October 29, 2026).

Shipped around the same time

Within 3 days of this release, other AI coding tools also shipped:

Compare OpenCode

Release Notes

Highlights - Image Generation by Default: When a connected provider supports image models, agents can now use experimentalimagegenerate without additional configuration. Set its preferred model through experimental.imagegenerate.model. (60258) - Faster Worktree Selection: On the new-session screen, click the current Git branch to open that project’s “Run session in” worktree picker directly. (60263) - Unified Quotes and Annotations: Timeline quotes, terminal quotes, and browser annotations now share a compact optional-comment editor, while source highlights remain attached to local drafts. (60164) Core Improvements - Enabled experimentalimagegenerate by default when an image-capable provider is connected. (60258) - Recorded the start time of each session’s latest execution. Bug fixes - Rejected persistent terminal requests whose working directory no longer exists. - Preserved media when sessions are forked or imported. - Associated image-generation notices with the correct background job. TUI Bug fixes - Preserved captured attachments and their original source paths. Thanks @OpeOginni. (60222) - Prevented middle-truncated paths from overflowing at very narrow terminal widths. - Improved Go usage-limit messages with the reset time and account page link. - Correctly typed and displayed Go and ChatGPT usage-limit errors. Desktop Improvements - Made the Git branch on the new-session screen open the current project’s worktree picker directly. (60263) - Unified timeline quotes, terminal quotes, and browser annotations around one optional-comment workflow. (60164) - Restored classic question cards by default and added Settings → Experimental → New question UI for the redesigned keyboard-oriented dock. (59723) - Added a side-panel tab menu and kept close buttons visible when tabs overflow. - Moved user-message actions into a compact menu. - Redesigned the active todo pill to show the current task and concurrent work more clearly. - Added consistent styling for searchable dialogs and composer pills. Bug fixes - Stopped queued prompts from dropping frames as their content grows. - Counted queued quotes and browser annotations as attachments. - Reported failures to persist composer attachments through the normal error UI. - Made Markdown fragment links scroll to the referenced heading. - Kept each tab’s timeline state when switching directories. - Ordered the inbox’s Working shelf by execution start time. - Fixed side-panel launchers and automatic closing when the final tab is removed. - Focused the matching navigation arrow while reviewing changes. - Preserved pending model labels only when a queued prompt actually changes models. - Added reset details, an account link, and a composer tray for Go usage limits. SDK Improvements - Added if and until inputs for client.experimental.schedule.create, plus schedule check results and output fields. (60137) - Exposed SessionInfo.time.busy for the latest execution’s start time. - Added optional source metadata to prompt file attachments. Extensions Improvements - Added optional title and subtitle fields to composer notes, source-relative quote positioning, and focus options for composer integrations. (60164) Bug fixes - Corrected visible flowchart edges connected through Merman subgraphs.

View original release

Other Recent OpenCode Releases

Upgrading from v2.2.2? See all 3 releases since.

All OpenCode releases · All AI coding tool releases on Havoptic