OpenCode v2.4.0

OpenCode v2.4.0 was released on .

Summary

OpenCode 2.4.0 is here: a built-in desktop browser your agent can drive, automations on timers and events, video generation, and a fresh TUI look. Curious what else changed under the hood?

Release Context

  • This was the 215th OpenCode release of 2026 tracked by Havoptic.
  • It shipped 5 days after OpenCode v2.3.2 (November 18, 2026).
  • OpenCode: ships every 2.1 days — 13 releases in the last month.

Why it matters: Your AI agent now runs on timers and cron schedules.

Shipped around the same time

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

Compare OpenCode

Release Notes

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": false in 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 generatevideo. 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 opencode theme is the new one. Pick opencode-classic in 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. experimentalimagegenerate is now generateimage. 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 as name@^1.2.0), a Git branch or a Git semver: 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 bare name, an exact version, another tag such as @next, a Git tag or a commit hash doesn't update itself; opencode plugin update still updates those by hand. (64764, 65052, 65056) - GitHub Copilot no longer reads GITHUBTOKEN. Set COPILOTGITHUBTOKEN or sign in with OAuth. (64697) - MCP servers are tried on the newest protocol first. A server without a protocol setting is probed before falling back to the legacy handshake. Set protocol: "legacy" on a server that misbehaves. (65282) - The TUI opencode theme changed. It now means the new theme; set opencode-classic for the previous look, and experimental["new-designs"]: false in 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 browser deny in your permission rules refuses every agent browser call. (63002) - OpenCode Go connects through OpenCode. The connect dialogs and opencode auth login list 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+S on Windows and Linux) now archives the open session. The composer's Cmd+U and Escape/Ctrl+G now follow the Attach file and Stop session shortcuts. (65428, 64394) - Code Mode session tool paths moved. tools.opencode.sessionrename and sessionmove are now tools.opencode.session.rename and .move. Direct tool names and permission actions are unchanged. (65080) - TUI plugins need OpenTUI 0.9.4. @opencode/plugin requires @opentui/core and @opentui/solid 0.9.4 or later. Renderers passed to registerCodeBlockRenderer now receive an OpenTUI block (block.text) instead of a Markdown token; codeBlockStyle and escaped are 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. and websearch.query endpoints 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 .updated event, such as model.updated. One-shot scripts should wait on their side, for example by polling plugin.list until 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 ser...

View original release

Other Recent OpenCode Releases

Upgrading from v2.4.0? See all 1 release since.

All OpenCode releases · All AI coding tool releases on Havoptic