Highlights
- 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. (#60712) - Automatically Archived Runs: Add
--archivedtoopencode runto keep scripted and CI sessions out of your inbox and session lists. (#61270)
Core
Improvements
- Added opt-in MCP connection sharing through
pool: true. (#61185) - Added
opencode run --archived, which creates the session already archived so scripted and CI runs stay out of the inbox, home, and session lists. Archived sessions are also hidden from the TUI session list and skipped by--continue. (#61270) - Added
opencode run --worktree(-w), which starts the session in a new git worktree. Use--worktree=<name>to choose the worktree name. It cannot be combined with--continueor--session. (#60712) - Added provider- and model-specific session warming settings, including an
interval: "auto"mode based on cache TTL. (#60025, #60969) - Added the
websearch.usepolicy action and switches for enabling all feature flags withOPENCODE_FLAGS=allorexperimental.all_flags. (#61557, #61826) - Added an experimental bytecode VM for Code Mode. It is off by default; turn it on with
experimental.codemode_vm: trueorOPENCODE_FLAGS=codemode_vm. (#62358) - Added support for Microsoft Store installations of PowerShell 7 on Windows. (#61952)
- Added Azure Messages support for Foundry Claude models. (#60934)
Bug fixes
opencode runnow waits for the background shell commands, subagents, and image jobs that its prompt started, then lets the model respond to their results before it exits. While it waits, it printswaiting for N background job(s)(abackground_waitevent with--format json). There is no time limit: a job that never exits, such as a dev server or file watcher, keeps the run open until you press Ctrl+C or send SIGTERM, so set a timeout on CI jobs. (#60699, #61911)- Reworked noninteractive
opencode runexecution so arguments, cancellation, compiled WebSocket upgrades, and service shutdown complete reliably. SIGTERM now cancels the session and its background jobs and exits with code 143. (#61911, #61721, #61518, #61564) - Serve file reads and media from the server API as sandboxed downloads, and refuse cross-site browser navigations and requests from disallowed origins to
/api/*, so a file in your project cannot run scripts on the server's origin. (#62422) - Webfetch and Code Mode
fetchnow reject URLs that contain credentials and ignore the#fragmentwhen matching permission rules, and Code Modefetchchecks every redirect against your webfetch rules. (#60502, #61701, #62373) - Ask for
external_directorypermission beforesession_moveleaves the current project. (#62204) - Wait up to 2 seconds for MCP servers that are still connecting before a model call, so tools from servers that connect quickly reach the first prompt and
opencode run. Also expand~in local MCP working directories, handle legacy stdio servers, and sendlogo_uriduring dynamic registration. (#60490, #61496, #61817, #59031) - Time out OpenCode Console config requests after 5 seconds, so startup no longer hangs when the Console accepts the connection but never answers. (#62404)
- Retry provider requests while their host is unreachable and recover prematurely ended Cohere streams. (#61880, #61184)
- Keep legacy custom providers whose models set only part of
limit, such as onlylimit.context, instead of dropping the whole provider without an error. Thanks @Tarquinen. (#62240) opencode acpnow removes a session that a client creates withsession/newand closes without prompting, so IDE integrations no longer leave empty sessions behind. (#62189)- Prevent repeated zsh
qflags from freezing shell permission scanning. Thanks @yangguan-xue. (#60791) - Allow npm upgrade install scripts again. Thanks @renatomoselli. (#51554)
TUI
Improvements
- Added Scroll on send in Settings. Choose Keep (
session.submit_scroll: "keep") to retain your reading position after submitting a prompt. (#61460)
Bug fixes
- Allow Ctrl+Z to suspend OpenCode while a form or dialog is open. (#62118)
- Keep focus on an open dialog when a question arrives and contain plugin dialogs that throw during rendering. (#60365, #62110)
- Show an error when Ctrl+V cannot read the clipboard. Thanks @jimmyallinai. (#61094)
- Prevent session titles containing newlines from crashing the TUI. Thanks @vishalShekhar. (#57523)
- Improved message spacing and prevented older history from flashing while scrolling. (#62104, #59236)
- Jump to the first or last message with Home, End, and Ctrl+G in subagent sessions. Thanks @ricky9408. (#60817)
- Keypad Home, End, Page Up, and Page Down now navigate the transcript like the main keys in terminals that use the kitty keyboard protocol. Thanks @argszero. (#59770)
opencode mininow uses the agent colors from your config. Thanks @ferdinandyb. (#62067)- Return to the
/mcplist after signing in to an MCP server, with that server still selected. Thanks @Tarquinen. (#62245) - Allow favoriting models with Ctrl+F in
/modelswhen they come from a provider declared in config or an add-on instead of a saved connection. Thanks @Tarquinen. (#62244)
Desktop
Improvements
- Added a mobile composer dock for touch devices, with 44px action targets and predictable multiline input. (#61773)
- Added close-other-tabs and close-tabs-after actions to the tab menu. (#61631)
- Added unread-session grouping in Inbox and failed-run indicators on tabs. (#61691, #62077)
- MCP sign-in now accepts a pasted redirect URL when automatic redirection is unavailable. (#61706)
- Markdown file previews now display frontmatter as a properties list. (#60333)
- The command palette shows a date instead of "Xd ago" for sessions 7 or more days old. Hover the time to see the full date and time. (#62314)
- Prompt history now keeps up to 200 prompts. Past the newest 100, only prompts without attachments are kept. (#62313)
Bug fixes
- Improved prompt submission and timeline behavior during loading, reconnects, retries, scrolling, compaction, and optimistic delivery. (#62025, #62037, #61932, #62151)
- Surface loading and offline failures in review previews, file search, details, Word pages, and review diffs instead of showing empty or clean results. (#62114, #61862)
- Fixed provider connection, MCP sign-in, settings, and plugin loading flows that could become stuck after failures. (#62102, #61917, #61580)
- Preserve drafts, focus, caret position, queued prompts, and selected terminal tabs across failed or concurrent transitions. (#61579, #61969, #61852)
- Restart plugins after failed update handoffs and recover the renderer, storage, event stream, and background-service connection from transient failures. (#61649, #61908, #61804, #61748)
- Corrected V2 file labels and mention syntax. Thanks @Velmet and @cheapredwine. (#55677, #60737)
- Attach only the
@mentionsin a line comment that match an existing file or folder, so a comment such asCheck @hereno longer fails the send. Render partial diffs in the review pane when it shows all lines, instead of a blank pane. Thanks @Tarquinen. (#62242, #62241) - Keep pasted images sendable after the clipboard tool deletes its temporary file. Thanks @lfscqk67. (#62057)
- While an input method is composing text, Escape, Enter, and Tab go to the input method instead of stopping the agent or picking a suggestion. (#62318)
- Fixed padding in the WSL distribution picker, the position of worktree and branch labels in Home search results, and the selected ring on the Interface layout setting. Thanks @inuyume. (#53676, #62317, #62309)
SDK
Improvements
- Added
client.experimental.job.list()and its Effect equivalent for listing background shell, subagent, and image jobs, with session, descendant, kind, and status filters. (#60698) - Server embedders can provide a custom
fetchimplementation for OpenCode HTTP, model, web, and remote MCP traffic. (#61582)
Extensions
Improvements
- Added
CodeBlockandCodeBlockActionGUI registries for custom fenced-code rendering and actions. (#61533) - GUI plugins can contribute themes through the
Themeregistry. (#61485) - Added
ctx.ui.Select, settings layout components, and menu-row components for native-looking plugin interfaces. (#61527) - GUI plugin side panels can set, read, and persist their preferred width. (#61509)