Changelog
New updates and improvements to OpenCode
v2.4.1 macOS 12 Session Fix
OpenCode can save assistant messages again on the older SQLite version included with macOS 12.#65771
Config-Only Providers Show Their Models
Providers you set up only in your config, such as Ollama, now show their models in
/modelswithout a/connectlogin.#65793Unread
/btwAnswersWhen a side question finishes behind another side-panel tab, its tab shows an unread dot until you open it.#65821
Improvements
- Core, Terminal, DesktopWith
experimental.model_speedsenabled, model service tiers are exposed as remembered speeds instead of separate model-picker entries.#65749 - DesktopLayout choices in Settings now use consistent navigation-card previews and accent styling.#65757#65800
- ExtensionsEffect and Promise plugins can create, list and delete automations through
ctx.experimental.automation.{create,list,delete}.#65747 - Extensions
@opencode/pluginnow supports@opentui/coreand@opentui/solidfrom version 0.8.0, allowing plugins capped below OpenTUI 0.9 to install again.#65819
Fixes
- CoreFixed compaction retaining more recent history than
keep.tokens, including when a single newest message already exceeds the allowance.#65768 - CoreFixed occasional extra cache cost in long goal sessions after a compaction.#65788
- DesktopFixed the timeline, Home list, file viewers and tool output adding invisible or oversized stops to keyboard Tab navigation. They remain focusable by clicking for keyboard scrolling.#65758#65785
- DesktopFixed unwanted focus rings around clicked Settings pages, error details, What’s New and the terminal, and corrected the split button’s focus-ring corners.#65783#65785
- DesktopFixed folder paths showing middle-truncation markers unnecessarily at fractional UI zoom levels.#65225
- SDKAn aborted shared event subscription now stops immediately even when the source has already completed or failed with buffered events remaining. Thanks @chirag127.#65441
- Core, Terminal, DesktopWith
v2.4.0 Built-In Desktop Browser
Import your sign-ins and browsing history from Chrome, Edge, Firefox or Safari, and add extensions from Chromium browsers or the Chrome and Edge stores. Everything stays in one persistent desktop profile: chat links open signed in, your tabs survive restarts and the agent can read and drive the same pages without you switching apps.#63002#65073
Automations
Ask the agent to run a prompt, a script or a shell command on a timer, on a cron schedule or when an MCP server sends an event, and manage them with
/automation. Set"automations": falsein your config if you don't want them.#65296#65186Generate Videos
When a connected provider has a video model, the agent can make videos with
generate_video. It keeps working while the video renders and saves the files into your workspace when they're ready.#63666#65664New TUI Look
The TUI's new designs are on by default, and the
opencodetheme is the new one. Pickopencode-classicin Theme to keep the previous colors.#64988Windows Taskbar Status
On Windows, the taskbar button shows session progress, counts sessions that need you and flashes when a permission or question is waiting.#65317#65318#65319
58 more improvementsImprovements 58
57 more fixesFixes 57
v2.3.2 GPT-6.2 Prompt Caching
GPT-6.2 models don't cache a system prompt sent in the Responses
instructionsfield, so every step re-billed it as uncached input. OpenCode now sends it as a leading developer message on every Responses route, including OpenAI (API key and ChatGPT sign-in), GitHub Copilot, Zen, Azure and OpenRouter, so it is cached from the second step on.#64542#64544Fixes
- Core
webfetchstructured output no longer repeats theurlandformatit was called with.#64534
- Core
v2.3.1 Timed-Out Shell Commands Keep Running
A shell command still running when its timeout expires now moves to the background instead of being killed, so long builds and test runs finish and report back. A foreground
timeout: 0now means the default 120 seconds.#63699Compaction Without the Wait
As a session nears automatic compaction, the summary is now written in the background, so your next prompt doesn't pause for it. Set
compaction.background: falseto turn it off; a background summary that ends up unused still costs tokens.#64290GPT 6.2 with ChatGPT Sign-In
GPT 6.2 Sol and GPT 6.2 Astra, plus their fast variants, now show up in the model picker when you sign in with ChatGPT.#64508
Update Plugins from Settings
Open Settings › Extensions, click Check for updates, then Update on any plugin with a new version.#64511
Comment on Selected Code
Selecting code in diff and file viewers now just selects it, so you can copy it, and an Add comment toolbar appears beside the selection.#64410
33 more improvementsImprovements 33
36 more fixesFixes 36
v1.19.6 OpenCode 1 now offers the upgrade to OpenCode 2.0
OpenCode 1 now offers the upgrade to OpenCode 2.0. OpenCode 2 downloads in the background and installs only when you choose: Restart to upgrade, Upgrade on quit, or Later. Your sessions, projects, and settings are kept. Plugins made for OpenCode 1 need an update.
Fixes
- CoreSessions with many images no longer send oversized requests. When the images in a session's history pass 25 MiB, the oldest are replaced with a placeholder.
- CoreA provider error for a request body that is too large now starts compaction and a retry instead of failing the turn.
v2.3.0 Background Subagents by Default
Subagents now return immediately, continue in the background, and report back whenever they become idle. You can keep working in the parent session while multiple subagents run concurrently.#63382
Quieter Transcripts by Default
The TUI now summarizes each run of tool calls and thoughts into one collapsible activity row, so the answer is easier to follow. To see every step again, set Verbosity to
mediumorhighin settings, or setsession.verbosityin your TUI config; an existing setting is kept.#63207Jump to an Earlier Prompt
In the desktop app, open Jump to message from the command palette or press
Cmd+Alt+G(Ctrl+Alt+Gon Windows and Linux) to search prompts across the current session and jump directly to one.#63585
32 more improvementsImprovements 32
34 more fixesFixes 34
v2.2.7 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.#62997
Side Panel Tab Shortcuts
Right-click a side panel tab and choose Close tabs to the right.
⌘Wnow closes side panel tabs wherever focus is,⌥⌘WorCtrl+Alt+Walways closes the session tab, and⌘⇧Treopens the last closed tab of either kind where it was.#62922Mark Sessions Read or Unread
Open the menu on a tab, Home row, project row or inbox card and choose Mark as unread to keep its dot until you next visit.#62889
Breaking changes
@opencode/ai:ImageResponse.imageis removedThis affects code that imports
#63011@opencode/aidirectly. Readresponse.images[0]instead ofresponse.image.SDK: fewer endpoints wait for plugins to load
On a Location that is still loading plugins,
#62796#63040agent.listreturns the agents loaded so far, andintegration.list,usage.limits,vcs.init,rpc.callandartifact.*no longer wait up to 5 seconds. Entries and actions that a plugin provides appear when it finishes loading, so refresh on the matching*.updatedevent. Model, provider,generate.*,voice.*andwebsearch.queryendpoints still wait.
13 more improvementsImprovements 13
34 more fixesFixes 34
v2.2.6 Shared MCP Connections
Turn on pooling for an MCP server to share one connection across projects with the same setup, so you run fewer processes and start faster.#61185
GUI Plugin Themes and New Slots
GUI plugins can now add color themes, render or add actions to code blocks, and use native settings and menu components.#61485#61533#61527#61509
Mobile Composer Dock
On phones and tablets, composer actions now sit in a touch dock above the keyboard with larger buttons.#61773
Scripted Runs in Worktrees
Run
opencode run -wto start the session in a new git worktree, or--worktree=<name>to name it.#60712Automatically Archived Runs
Add
--archivedtoopencode runto keep scripted and CI sessions out of your inbox and session lists.#61270
14 more improvementsImprovements 14
33 more fixesFixes 33
v2.2.5 Worktree and Shell Mode Shortcuts
Press
⌘⌥Oon macOS orCtrl+Alt+Oon Windows and Linux to choose a worktree, and⌘⌥BorCtrl+Alt+Bto choose its base branch.⌘⇧XorCtrl+Shift+Xnow toggles shell mode in the composer.#60713Send Quotes From the Comment Popup
Hold
⌘orCtrlin the quote popup to turn its checkmark into send, or press⌘EnterorCtrl+Enter, to send just that quote and comment while leaving the rest of the composer untouched.#60640Percentage Compaction Buffer
Set
"compaction": { "buffer": "20%" }inopencode.jsonto keep a share of each model's context window free, so one setting fits models with small and large windows. Token counts still work.#60647Improvements
- CoreWhen
readmisses because a folder is missing, the error names that folder and the nearest one that exists.#60688 - CoreWhen
editcan't findoldString, the error shows the file's closest lines, or says the change is already there.#60689 - CoreCalls to a tool named
bashnow run asshellinstead of failing, with the same permissions. A plugin tool actually namedbashstill takes precedence.#60687 - DesktopAdded flat input surfaces and a compact input size.#60598
7 more fixesFixes 7
- CoreWhen
v2.2.4 Persistent Desktop Terminals
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.#60346
Publish Interactive Artifacts
Enable
"experimental": { "artifacts": true }inopencode.jsonto let agents publish, update, and serve HTML or static artifacts through the built-in local provider or plugin-provided storage.#60351Guided Claude Agent 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.#60603Choose a Base Branch Quickly
While creating a worktree, open Choose base branch with
⌘⌥.on macOS orCtrl+Alt+.on Windows and Linux. The command is also available in the command palette and Settings › Shortcuts.#60579Improvements
- CoreMade enabled schedules run under
opencode serveand coordinated multiple server processes so a schedule fires only once. Schedules remain opt-in throughexperimental.schedules.#60478 - CoreRaised OpenCode Go limits for DeepSeek V4.1 Flash.#60625
- DesktopSimplified the session location popover and made long paths easier to read.#60492
- SDKExtended
client.experimental.persistentPty.updateto rename terminals or clear a user title, and exposeduserTitlepluspersistent-pty.updatedevents.#60329
10 more fixesFixes 10
- CoreMade enabled schedules run under