Three tagged OpenCode releases shipped since v2.3.0: v1.19.6 on November 17 on the 1.x line, then v2.3.1 and v2.3.2 on November 18 on the current line. Two of the v2.3.1 headlines change defaults for everyone: a shell command that is still running when its timeout expires now moves to the background instead of being killed, and as a session nears automatic compaction, the summary is written in the background so your next prompt doesn’t pause for it. 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, the desktop app can update plugins from Settings › Extensions and lets you comment on selected code, and the same-day v2.3.2 fixes GPT-6.2 prompt caching that re-billed the system prompt as uncached input on every step.
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 (improvement). This applies in every build: the shell_timeout_background flag is gone, and configs that still set it keep loading. A foreground timeout: 0 now uses the default 120 second timeout instead of waiting until the command exits (improvement).
Compaction 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. Background compaction is now on by default; turn it off with compaction.background: false. A background summary that is never used still costs tokens, and the experimental.background_compaction setting is removed (improvement).
GPT 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 (improvement).
GPT-6.2 prompt caching, fixed in v2.3.2
GPT-6.2 models don’t cache a system prompt sent in the Responses instructions field, 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 (bugfix). On GitHub Copilot gpt-6.2-sol, uncached input per step dropped from about 14,000 tokens to 3, and compaction through /responses/compact now reads the same cached prefix (bugfix). webfetch structured output no longer repeats the url and format it was called with (bugfix).
Desktop: update plugins from Settings and comment on selected code
You can check for and install plugin package updates from Settings › Extensions: click Check for updates to look for new versions, then click Update on any plugin that has one (improvement).
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; line numbers and the gutter + still start a comment directly (improvement).
OpenCode 1: the upgrade offer arrives
OpenCode 1 now offers the upgrade to OpenCode 2.0 (improvement). 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, and plugins made for OpenCode 1 need an update.
This v1.19.6 release also fixes sessions with many images sending oversized requests: when the images in a session’s history pass 25 MiB, the oldest are replaced with a placeholder (bugfix).
How to use
- Let timed-out commands finish: nothing to enable — a command still running when its timeout expires moves to the background in every build. Note that a foreground
timeout: 0now uses the default 120 second timeout instead of waiting until the command exits. - Turn background compaction off: set
compaction.background: false; a background summary that is never used still costs tokens. - Use GPT 6.2 with ChatGPT: sign in with ChatGPT and pick GPT 6.2 Sol, GPT 6.2 Astra, or their fast variants in the model picker.
- Update a plugin: open Settings › Extensions, click Check for updates, then click Update on any plugin with a new version.
- Upgrade from OpenCode 1 to OpenCode 2: when the upgrade offer appears in the OpenCode 1 desktop app, choose Restart to upgrade, Upgrade on quit, or Later. Plugins made for OpenCode 1 need an update.
Also worth knowing
Core fixes and smaller changes:
- OpenCode again reads
CLAUDE.mdin any directory that has noAGENTS.md, and falls back to~/.claude/CLAUDE.mdwhen the globalAGENTS.mdis missing; this also applies to instructions found when the agent reads nested files. SetOPENCODE_DISABLE_CLAUDE_CODEorOPENCODE_DISABLE_CLAUDE_CODE_PROMPTto skip everyCLAUDE.md(improvement). - Experimental schedules are now automations, behind the
automationsflag; the oldschedulesflag still works. An automation runs on a time, an interval, a cron or a pushed MCP event, and either sends a prompt (to the creating session, another session or a new subagent) or runs a Code Mode program that decides whether to send one. Use/automationor theautomation_*tools. Active or paused plain prompt schedules carry over; schedules with a condition or run limit, and finished ones, are dropped (improvement). websearchnow returns a flat list of results, each with itsurl,title,contentandpublisheddate (improvement).- The
globandgreptools now report a malformed filename glob (for example[) as an error that names the parameter to fix, instead of returning no results (improvement). - Server requests that crash now return a 500 with a readable JSON
UnknownErrorbody instead of an empty one; storage problems name the cause (for example “Storage is full” or “Storage is read-only”), and other crashes include arefyou can find in the server log (improvement). - The shell tool description now tells the model that its session ID is in the
OPENCODE_SESSION_IDenvironment variable (improvement). - Fixed finished shell commands leaving zombie processes under
opencode-pty: the process daemon now cleans each command up when it exits, background processes started by a successful command (cmd &) keep running, and a failed command’s leftovers are stopped (bugfix). - Fixed ChatGPT and OpenAI subscription logins losing their sharing-limit safeguards and context caps when a token refresh failed (bugfix).
- Fixed Claude Agent models falling back to a 200K context window when Claude Code adds or renames a model (bugfix).
- Fixed requests being rejected after switching models mid-session on OpenAI-compatible providers; models that declare a different reasoning field (such as
reasoning_content) no longer receivereasoning_detailsfrom earlier turns (bugfix). - Rejecting a permission request now rejects only the other pending requests from the same step, not every pending request in the session (bugfix).
- Fixed a finished subagent being reported to its parent as still running when its answer quoted the “Background work still running” heading (bugfix).
- Fixed ACP clients missing turns that a background shell woke after the original turn ended (bugfix).
- Reading a small text file now applies the default line and byte limits, so a short file with very many lines is paged instead of returned whole; paged reads that select a single blank line now return that line instead of an empty result;
readnow rejectslimit: 0with “Limit must be a positive integer” (bugfixes). - Text files that start with
BMare no longer mistaken for BMP images, and only realGIF87a/GIF89aheaders count as GIFs, so these files read as text again (bugfix). - Fixed shell output pages, grep previews, generated titles, read lines and shell output tails splitting emoji and other multi-byte characters, which showed up as
�(bugfix). - Shell commands using unknown ANSI-C escapes such as
$'\q'are now read the same way Bash and Zsh read them, so permission rules can match them (bugfix). - Session title search is now case-insensitive for non-ASCII letters, such as Cyrillic and accented text (bugfix).
- Fixed
grepresults being dropped when a matching line or path is not valid UTF-8 (bugfix). - The
@file picker now finds files in hidden folders such as.github/and dotfiles such as.env.examplewhen file search uses ripgrep (the default on Windows and outside git repos);.gitand gitignored files stay excluded (bugfix). - An unreachable well-known integration source is now skipped instead of dropping every well-known source, and a corrupt cached project ID is now ignored instead of being used (bugfixes).
In Code Mode:
readgives Code Mode and plugins a simpler structured result:text(withoffset,lineCountandnext),directory(entry names) ormedia(a URI instead of base64); what the model sees is unchanged (improvement).- Programs can use Node’s
Bufferfor encoding and decoding bytes (improvement),search("issues")works as shorthand forsearch({ query: "issues" })(improvement), and tool summaries in the catalog can now be up to 500 characters instead of 120 (improvement). - Calling a tool that doesn’t exist now returns a rejected promise, so
.catchandPromise.allSettledcan handle it instead of the whole script failing, and a program that only logs no longer shows a straynullline before its logs (bugfixes). - Plugin tool renames from
tool.execute.beforenow apply to calls inside Code Mode programs, and a renamed call returns the new tool’s structured result (bugfix).
In the TUI:
- Permission prompts from a subagent, and from that subagent’s own subagents, now appear while you view the subagent’s session, and prompts also show in front of an open composer (improvement).
- The export dialog under the new designs can save to the system temp directory as well as the project folder (improvement), and time to first token (ttft) is removed from the assistant message footer; tokens per second still shows when
session.tpsis on (improvement). - Fixed broken characters at the edges of the shell output viewer and the inline shell display when output is long (bugfix), and when another TUI sharing your tabs closes the session you’re viewing, closing it here now moves to the neighbouring tab (bugfix).
In the desktop app:
Cmd+F(Ctrl+F) now finds text in Markdown, Mermaid, CSV and HTML previews in the side panel, using the same find bar as the code view (improvement).- Disconnecting a provider or removing an account in Settings → Providers now asks for confirmation first; disconnecting OpenCode Console says how many providers will stop working (improvement).
- The model picker’s variant flyout now follows the keyboard: it opens beside the highlighted row,
→enters it to pick a variant or toggle Favorite, and←orEscapegoes back; a model’s Console budget and reset time now show in the flyout (improvement). - When New worktree is selected for a new session, the composer shows the base branch (
from dev ▾); click it to pick another base, the choice applies immediately, and Use main checkout switches back (improvement). - The folder picker for remote servers is redesigned, with a path bar, up to three recent-project pills plus a More projects menu, and a search box that shows the selected folder (improvement).
```latexand```mathcode fences now render as display math once complete (improvement).- The new icon set is now the default, and the New icons experiment has been removed (improvement).
- The copy button under assistant messages is now always visible; message metadata still appears on hover (improvement).
- Text files opened in side-panel tabs now have the same copy and download actions as other files (improvement).
- Manage models now shows every provider as a card with a
⋯menu, whether or not you’re signed in to OpenCode Console (improvement). - The connect provider dialog has a cleaner layout for every sign-in step: breadcrumbs, method icons, full-width device codes, and a “Signing in from another device?” row for pasting a redirect URL (improvement).
- Collapse long messages is no longer experimental; it is now a setting under Timeline preferences (improvement).
- Settings now opens on your client preferences, which are listed first, pairing is grouped with Servers, and there’s a Help & feedback link (improvement).
- Automatic compactions now always show as a single quiet divider; manual and failed compactions still show the full record (improvement).
- Pairing QR codes can carry a server name, which becomes the paired server’s default name (improvement).
- Image attachment thumbnails are larger, with a 3:2 crop, and a failed image no longer moves the message below it when retried (improvement).
- The Hex voice tip no longer appears when Hex is already installed, its copy now says what Hex is, and tips wait an hour after first launch before the first one shows (improvement).
- Added missing translations for every non-English language, about 920 strings each (improvement).
- Fixed the desktop app failing to start when
drafts.sqlitewas a symlink to or copy of the CLI’sopencode.db; the desktop now moves that file aside and creates its own, leaving the CLI database untouched (bugfix). - Switching session tabs with a keyboard shortcut now focuses the composer, and long prompts now stay folded while a new session is being created (bugfixes).
- On macOS, the browser pane stays live while you resize panels instead of showing a still image (bugfix).
- Submenus now open one at a time and swap without blinking, and stay open while you move the pointer across other items to reach them (bugfix).
- Pressing a button now dismisses its tooltip until you hover it again, and copy buttons show “Copied” for two seconds, including in the
/btwpanel (bugfix). - Dialogs now use consistent sizes, corner radius and row styles across the command palette, session search, model picker, location picker and other lists (bugfix).
- Sessions on OpenCode Go no longer show a $0.00 cost (bugfix).
- Use main checkout now stays on one line in the branch picker, and wrapped question descriptions have better spacing (bugfixes).
- Restyled the Timeline detail slider and visibility buttons in settings so they read as clickable (bugfix).
- Polished small details: animated counts no longer look faded at rest, the sidebar resize pill is hidden, the sidebar peek insets match, subagent breadcrumbs show a hover background, and screen readers name the redirect URL field after its label only (bugfix).
In the SDK:
- Unhandled server errors now return a JSON
UnknownErrorbody (messageandref) with status 500 instead of an empty body (improvement). - Experimental automation endpoints replace the schedule endpoints:
/api/experimental/automationandclient.experimental.automation.*(create,list,get,pause,resume,delete);/api/experimental/scheduleandclient.experimental.schedule.*are removed (improvement). - Config adds
compaction.background;experimental.background_compactionand theshell_timeout_backgroundflag are removed (improvement). - Apps embedding the SDK with an in-memory database no longer import the user’s legacy
auth.jsoncredentials; only a database file opened by path imports them (bugfix).
In extensions:
- Each tool call inside a Code Mode program now has its own call ID in plugin hooks and traces; its permission requests still show on the
executecall’s row (improvement). - Plugin
SessionIdleBackgrounditems can now be{ kind: "codemode", sessionID, jobID }, and GUI pluginBridgeLayoutaccepts an optionalcliprectangle (improvement). - The browser extension’s URL bar action buttons are now spaced 6px apart (bugfix).
For the full list of changes, see the v2.3.1 release notes, the v2.3.2 release notes and the v1.19.6 release notes, and follow the release feed for the next tag.