Highlights
- 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, #65186) - Generate 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, #65664) - New 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. (#64988) - Windows 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)
Upgrade notes
- Image tool renamed.
experimental_image_generateis nowgenerate_image. Permission rules with the old name are mapped automatically, but saved "always allow" approvals are not, so it asks again once. (#65682) - Plugins that follow a version now update on their own. A plugin written as
name@latest, a version range (such asname@^1.2.0), a Git branch or a Gitsemver:range is checked on startup and every 24 hours, and a newer match is installed and reloaded. Ranges never leave their range, and if a new version fails to load the previous one keeps running. A barename, an exact version, another tag such as@next, a Git tag or a commit hash doesn't update itself;opencode plugin updatestill updates those by hand. (#64764, #65052, #65056) - GitHub Copilot no longer reads
GITHUB_TOKEN. SetCOPILOT_GITHUB_TOKENor sign in with OAuth. (#64697) - MCP servers are tried on the newest protocol first. A server without a
protocolsetting is probed before falling back to the legacy handshake. Setprotocol: "legacy"on a server that misbehaves. (#65282) - The TUI
opencodetheme changed. It now means the new theme; setopencode-classicfor the previous look, andexperimental["new-designs"]: falsein your TUI config for the previous designs. (#64988) - Chat links open in the browser pane. In the desktop app, web links from the chat open beside the conversation. Modifier-click a link to open it in your system browser. A
browserdeny in your permission rules refuses every agent browser call. (#63002) - OpenCode Go connects through OpenCode. The connect dialogs and
opencode auth loginlist one OpenCode option that includes Go models. OpenCode Go is only listed when a Go key is already saved, and saved keys keep working. (#65466) - New desktop shortcut.
Cmd+Shift+S(Ctrl+Shift+Son Windows and Linux) now archives the open session. The composer'sCmd+UandEscape/Ctrl+Gnow follow the Attach file and Stop session shortcuts. (#65428, #64394) - Code Mode session tool paths moved.
tools.opencode.session_renameandsession_moveare nowtools.opencode.session.renameand.move. Direct tool names and permission actions are unchanged. (#65080) - TUI plugins need OpenTUI 0.9.4.
@opencode/pluginrequires@opentui/coreand@opentui/solid0.9.4 or later. Renderers passed toregisterCodeBlockRenderernow receive an OpenTUI block (block.text) instead of a Markdown token;codeBlockStyleandescapedare gone. (#63989) - SDK: plugins load in the background again. Plugins are meant to load asynchronously, and the server never waits for them. In v2.2.7 the model, provider,
generate.*,voice.*andwebsearch.queryendpoints started waiting up to 5 seconds for plugins and returning 503 after that (#63040); this release removes that wait. Right after startup these endpoints answer with whatever has loaded, so a list can be empty or partial. Long-lived clients should refresh on the matching*.updatedevent, such asmodel.updated. One-shot scripts should wait on their side, for example by pollingplugin.listuntil it returns plugins, or the endpoint until the entry they need appears. (#63814) - Desktop voice needs a matching server. The app reads each voice model's engine, which older servers don't report, so voice shows as unavailable against a server from before this release. (#65506)
- Storage write path. Assistant parts are now saved as their own rows.
experimental.part_rows: falserestores the old path for this release. (#65039)
Core
Improvements
- Added automations. Agents can schedule prompts, Code Mode scripts or fixed shell commands to run once, on an interval, on a cron schedule or when a connected MCP server pushes an event. Use the
/automationcommand or theautomationtools. A shell action asks for approval once, when it's created, and records each run's exit code and output. Set"automations": falseto turn them off. (#65296, #65186, #65217, #65236, #65001, #65699) - MCP Events shipped: OpenCode follows the MCP Events beta for push delivery, with argument checks, heartbeats and automatic reconnects. An event too large for its prompt is skipped and its automation keeps running. (#65271, #65673)
- MCP servers without a
protocolsetting now negotiate the newest MCP protocol and fall back to the legacy handshake. (#65282) - Agents can generate videos with
generate_videowhenever a connected provider has a video model. The job runs in the background, survives a server restart, saves the finished videos into the workspace and wakes the agent with their paths. Set a default model withexperimental.video_generate.model. The image tool is now calledgenerate_image. (#63666, #64546, #65664, #65682) - Plugins that follow a version (
name@latest, a version range, a Git branch or a Gitsemver:range) are checked on startup and every 24 hours, and a newer match is installed and reloaded without a restart. A range stays within its range, and if a new version fails to load, the previous one keeps running. Other plugins still only report updates. (#64764, #65052, #65056) - The Claude Agent provider has a
configDirsetting for a Claude config folder other than the default. Given a list of folders, a chat moves to the next account when one hits its usage limit. Claude Agent sessions also show up in Claude Code as coming fromopencode. (#62514, #65035, #65016) - Removing a Sign in with ChatGPT account, with
opencode auth logoutor the remove button in the app, now also revokes it with OpenAI. (#64947) - The ChatGPT plan model lists now come from models.dev, so new models show up without an OpenCode update. (#65579)
- Voice models are now listed from models.dev, adding newer OpenAI models such as
gpt-live-1.1. (#65491) - Reading far into a large file with
read, or reading its tail, takes far fewer reads, which is much faster on remote workspaces. (#65611) - The shell tool's result says why a command ended without an exit code, and lists its output after the smaller fields so they survive truncation. (#65365, #65513)
- Code Mode scripts can define getters and setters, errors have a
stackshowing where they were thrown, and a failed import says why. (#64908, #64939, #64587) - A
timeoutset on a provider now applies to every request, including image, video, speech, transcription, embedding and compaction requests, which previously could hang forever on a stalled provider. (#64692) - Gemma 4 models on Google's Interactions API offer the
noneandthinkingvariants, and the provider'ssafetySettingsare sent to Interactions. (#65038, #65036) - Added
claude-agentas a web search provider. With Claude Agent connected, set"websearch": { "provider": "claude-agent" }to runwebsearchthrough Claude Code's WebSearch, which Claude plans include, so any model can search without a search API key. (#65704) - With
full_codemodeon, agents can calltools.opencode.session.interruptto stop another session, its background jobs and its subagents. (#65718) - Stored blobs, such as generated videos, are deleted a week after they were written, so the data folder no longer grows without limit. Copies saved into your project are untouched;
GET /api/experimental/blob/:idreturns 404 for a deleted blob. (#65671) - Config now reloads only when a file that feeds it changes, not on every write under
.opencodesuch as editing a skill. (#62158) - Each streamed assistant part is saved as its own row instead of rewriting the whole message on every update, so long steps with many tool calls save reliably. (#65039)
Bug fixes
- Fixed GitHub Copilot picking up
GITHUB_TOKEN, which git tooling and GitHub Actions often set without Copilot access. It now readsCOPILOT_GITHUB_TOKEN. (#64697) - Fixed shell commands the scanner can't analyze, such as dynamic execution, failing outright. They now ask for permission, and a matching
shelldeny rule still blocks them. (#65269) - Fixed sessions getting stuck on provider 400 errors after a model called a tool by a dotted name such as a Code Mode path. A Code Mode tool called at the top level now runs as that tool, with a note telling the model to use
execute. (#65292, #65193, #65494) - Fixed a forced tool choice for a namespaced tool naming a tool the request never declared on every provider except native OpenAI Responses. (#65621, #65726)
- Fixed the shell tool's description not saying which OS and shell commands run in when
full_codemodeis on. (#65712) - Fixed a revoked or expired ChatGPT sign-in failing every prompt with "Request failed: 400". It now asks you to connect again. (#65289)
- Fixed
editandpatchreplacing every non-UTF-8 character (Latin-1, cp1252, GBK…) with�across the whole file. They now refuse to rewrite such files. (#64868) - Fixed the review pane showing every line as changed in repositories with
core.autocrlf=true, and symlinks as modified withcore.symlinks=false. (#64884) - Fixed file permission rules not matching other capitalizations of the same path on macOS. Thanks @knp-sap. (#64626)
- Fixed the model picker staying empty while a slow project was still loading. (#63814)
- Fixed Claude Agent processes staying alive after their session was deleted. Thanks @WTLAIB. (#62649)
- Fixed Claude Agent models becoming unavailable after Claude Code renamed them, and Claude Agent now waits up to 60 seconds for its process to start. (#65032, #65064)
- Fixed shell commands failing with "failed to open output file" after OpenCode's shell output directory was removed. (#64889)
- Fixed concurrent shell commands failing on Windows with PowerShell 7 from the Microsoft Store, and stopping one such command killing the others. (#64901)
- Fixed
opencode service set passwordwriting the password to the CLI log. (#64911) - Fixed
opencode runhanging when a FIFO is passed as an attachment; it's now rejected right away. Thanks @yang0228. (#64696) - Fixed
opencode <name>crashing with a stack trace when<name>is neither a command nor a directory. It now prints help and the error. (#65262) - Fixed the background service becoming unresponsive at startup with a large database write-ahead log on a slow disk. (#64532)
- Fixed a client that opens a session during a running tool call not seeing that tool's progress, such as a running subagent's session. (#64929)
- Fixed Markdown commands dropping a separate
variantnext tomodel, and agents being skipped when frontmatter repair turned inline lists or objects into strings. (#65118, #65119) - Fixed Google Interactions responses stopping early when Google splits a response across requests. (#65006)
- Fixed GPT models over OpenAI's WebSocket transport resending the whole conversation after a freeform tool call such as
executeorpatch. (#64706) - Fixed
gpt-6.2-astraand later Astra models getting a 500k context window with ChatGPT sign-in; they stay at 272k. (#64725) - OpenAI
cyber_policyand Gemini "terms of use" refusals are now reported as content policy errors. Thanks @lu-zero. (#64844, #64910) - Fixed MiniMax text-to-video requests without an aspect ratio being rejected; they now default to
16:9. (#64822) - Fixed several Code Mode built-ins to match Bun:
localeCompareandDatetoLocale*honor their locale and options,toBase64/fromBase64honor their options,Buffermap,filter,sliceandsubarrayreturn a Buffer, andUint8Array.BYTES_PER_ELEMENTis defined. (#64935, #64938, #64931, #64933, #64930, #64965) - Fixed large file views not refreshing when only the end of the file changed. (#65114)
- Fixed the install script failing with a disk-space error when
curlis installed through Snap. (#65132)
TUI
Improvements
- The new TUI designs are on by default, and the theme named
opencodeis the new theme. The previous default is available asopencode-classic, andopencode2keeps working as an alias ofopencode. To go back to the previous designs, turn off New designs in the Experiments dialog. (#64988) /loginand/authopen the same dialog as/connect, which now lists a single OpenCode entry that includes OpenCode Go models. (#65265, #65466)- Pressing
↓opens the picker on the first tab with something running, the same tab that clicking the footer opens. (#64972) - Text prompt dialogs such as rename session,
/btw, worktree names and connect forms end with a Submit button, and prompt and export dialogs have tighter spacing. (#64944) - The
opencodetheme's light mode uses lighter grays for the prompt box, selected tabs and hovered rows. (#64962)
Bug fixes
- Fixed connect forms built from integration fields, such as the Azure resource name, showing an empty row between the title and the input. (#64944)
- Fixed list dialogs ending with two blank rows, and the Manage workspaces footer not staying at the bottom. (#64983)
- Fixed long dialog lists replacing their last visible row with a stray
…. (#64934) - Fixed the selection bar of a delete-confirmation row staying blue instead of red. (#64936)
- Fixed file, agent and skill mentions landing on the wrong text when you restore a prompt sent from the desktop or web app that contains tabs or wide characters. (#63989)
Desktop
Improvements
- The browser pane keeps you signed in. Links from the chat open beside the conversation in one saved profile, you can import sign-ins and browsing history from Chrome, Edge, Firefox, Safari and other browsers, and you can install store extensions after reviewing what they can access. The pane gains a right-click menu, find in page, page dialogs, permission prompts, pop-up blocking and readable error pages, and the address bar completes from your history. The agent can read and drive the same signed-in tabs. (#63002, #65073)
- New tabs that a page opens in the browser pane appear beside the tab they came from, and middle-clicking a link opens it in a new tab. (#65126, #65091)
- Comments in the browser pane, file viewer and review diff can be sent to the session right away with
Mod+Enter. Depending on your follow-up setting, they send, steer or queue. (#65264) - Added Wrap code blocks under Settings › General › Timeline, plus a Wrap lines button on timeline code blocks with lines too long to fit. (#64545, #64576)
- Added Keep side panel open across sessions in Settings › General. (#64950)
- Added an Archive session command, bound to
Cmd+Shift+S(Ctrl+Shift+Son Windows and Linux). (#65428) - The Home session menu has Open and Open in background, and Home shows the provider connect hint when nothing is connected. (#65209, #65212, #64885)
- The Inbox layout's sidebar has a Drafts group for unsent new-session drafts. (#65525)
- Conversation search (
Cmd+F/Ctrl+F) has previous and next match buttons. (#64865) - The connect dialog lists one OpenCode option that includes OpenCode Go models, Settings › Providers follows the same rule, and the free model picker has a tighter layout. (#65466, #65740, #64927)
- When you reach your ChatGPT Business workspace's usage limit, a dialog explains it and offers Copy request for admin. (#64926)
- Voice uses the newest GPT-Live model the server lists. (#65506)
- Shortcuts go through the same keymap engine as the TUI, and the new Stop session command can be changed in Settings › Shortcuts. (#64394)
- Shortcuts can be key chords, such as
Mod+K Mod+CorG I. In Settings › Shortcuts, click + on a shortcut you just recorded to add another key, up to 4. While a chord is pending, a panel lists the keys that continue it. (#64395) - The activity pill keeps a subagent listed while work it started is still running. (#64790)
- The goal pill has a new design with the labels Following goal, Goal paused and Goal reached. (#60001)
- Keyboard focus shows as one consistent ring across the app, no longer appears after a mouse click, and moves to the next item when the focused one is removed. The timeline and the composer no longer draw a ring around their whole frame. (#64909, #64976, #65082, #65084, #65100, #65690)
- Only the latest response shows its Copy button all the time; older ones show it on hover or focus. (#64640)
- Added experimental tab groups for side tabs under Settings › Experimental. (#64407)
- On Windows, the taskbar button shows session status as a progress bar, a count badge for sessions that need you, and flashes when a permission or question is waiting. Notifications say what is being asked and disappear once you answer. (#65317, #65318, #65319, #65325, #65421)
- On Windows, the jump list has New Session and New Window, you can drag files from the file tree into other apps, and Open in includes Windows Terminal and lists only installed apps. (#65327, #65330, #65320)
- The web app can be built to run under a path prefix, for example behind a reverse proxy, with
bun --cwd packages/app build --base=/opencode/. (#64597) - The background activity menu stays smooth with many subagents, and the model picker stays responsive with catalogs of thousands of models. (#65634, #65189, #65635)
Bug fixes
- Fixed
opencode://open-projectandopencode://new-sessionlinks doing nothing. (#65332) - Fixed file links like
~/Downloads/clip.mp4showing "File not found".~now opens in the server's home folder. (#65689) - Fixed an open session's side panel tabs disappearing after you had used many other sessions. (#65328, #65322)
- Fixed the app freezing when opening a session on a remote server with Share sign-ins with remote servers on. (#65339)
- Fixed the app freezing for several seconds when you open a group of long Code Mode scripts. An Execute row now lists its latest 10 calls, with +N more for the earlier ones. (#65696)
- Fixed the browser pane showing "The browser couldn't open" in a project whose server had only just started. (#65720)
- Fixed Clear browsing data clearing everything on the first click; it now asks first. (#65124)
- Fixed browser tabs showing a generic globe instead of the site's icon, saved tabs appearing late after the app reopens, and the page going blank while a panel is resized on Windows. (#65094, #65067, #65083)
- Fixed sites in the browser pane replacing the app's badge on the taskbar or Dock. (#65646)
- Fixed the mouse Back and Forward buttons doing nothing. (#65129)
- Fixed a subagent's pending permission request not reappearing after a reload or reconnect. (#65120)
- Fixed background jobs that changed while the job list was loading showing the wrong state, and rows in the activity menu jumping around. (#64966, #65312)
- Fixed the session view crashing when a timeline row disappeared mid-update. (#64565)
- Fixed earlier replies being folded into the "Used N tools" group when a session was woken without a new message. (#64917)
- Fixed the Context tab showing the latest instruction update as the "System Prompt". (#64991)
- Fixed the session header briefly showing the wrong worktree while a new session starts. (#65190)
- Fixed Grep, Glob and List rows showing the parent of the folder they searched, and Windows paths not showing relative to the project. (#65460, #65639)
- Fixed server event streams going stale after Windows wakes from sleep, and windows reopening in the wrong place after being snapped or minimized. (#65321, #65323)
- Fixed the Windows caption buttons being hard to see with a contrast theme. (#65324)
- Fixed Open in PowerShell on Windows opening Windows PowerShell instead of PowerShell 7 when it's installed. (#64873)
- Fixed builds packaged without
app-update.yml, such as AUR packages, showing update-check errors. Settings now shows Updates unavailable. (#64681) - Fixed the message menu's "Today" and "Yesterday" labels, and Home's date headers staying invisible while scrolling. (#65081, #64665)
- Fixed clipped or misleading focus rings, the side panel's add button being skipped by
Tab, and the Compacted label only partly highlighting on hover. (#65215, #65192, #65176, #65177, #65211, #65213, #65644) - Fixed the Hex voice tip showing on phones and tablets, and a fringe on project icon corners. (#64583, #64582)
SDK
Improvements
- Added
experimental.job.cancelto cancel a running background job, and anexperimental.job.updatedevent when a job starts, moves to the background or ends.@opencode/client/solid'screateDatahas ajobslice. (#64790, #65266, #64956) - The video endpoints (
experimental.generate.video.createand.get) no longer need a flag. Video jobs survive a server restart, can return more than one video, and stay readable for 24 hours after they finish. (#65664, #64546) - The automation endpoints work without a flag, and an automation can run a shell command as its action. (#65296, #65186)
Extensions
Improvements
- A plugin tool can set
options.codemodeto an object ({ pinned?, description?, input?, output? }) to give its Code Mode form its own description and schemas. Top-leveloptions.pinnedstill works but is deprecated. (#64515) - The
execute.beforeandexecute.aftertool hooks receiveinfo, the tool's definition, andcodemode, which is true when a Code Mode script made the call. (#64515) - An integration's OAuth method can define
revoketo sign a credential out remotely before it's removed. (#64947) - TUI plugins can read a session's running background jobs with
api.data.job.list(sessionID)(experimental). (#64956) experimental.idlebackground entries can have the kindvideo. (#63666)- GUI plugins can declare their own SVG icons with
Plugin.define({ icons })and use them throughctx.icons. The built-inoutline-pairandoutline-steericons were removed. (#64577) - The GUI composer API adds
composer.send(commentID)andcomposer.delivery(), and theBrowsercontract addsexperimental.openandexperimental.close. (#65264, #63002) - GUI
System.openonly launches HTTP, HTTPS and mail URLs, andBrowser.openrefusesfile://URLs outside the built-in preview. (#63002)