Skip to content
  1. 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": 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 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 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

    Improvements

    • Upgrade notesImage tool renamed. experimental_image_generate is now generate_image. Permission rules with the old name are mapped automatically, but saved "always allow" approvals are not, so it asks again once.#65682
    • Upgrade notes, CorePlugins 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
    • Upgrade notesGitHub Copilot no longer reads `GITHUB_TOKEN`. Set COPILOT_GITHUB_TOKEN or sign in with OAuth.#64697
    • Upgrade notes, CoreMCP 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
    • Upgrade notesOpenCode 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
    • Upgrade notesNew 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
    • Upgrade notesCode Mode session tool paths moved. tools.opencode.session_rename and session_move are now tools.opencode.session.rename and .move. Direct tool names and permission actions are unchanged.#65080
    • Upgrade notesTUI 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
    • Upgrade notesSDK: 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; 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.#63040#63814
    • Upgrade notes, DesktopDesktop 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
    • Upgrade notes, CoreStorage write path. Assistant parts are now saved as their own rows. experimental.part_rows: false restores the old path for this release.#65039
    • CoreAdded 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 /automation command or the automation tools. A shell action asks for approval once, when it's created, and records each run's exit code and output. Set "automations": false to turn them off.#65296#65186#65217#65236#65001#65699
    • CoreMCP 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
    • CoreAgents can generate videos with generate_video whenever 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 with experimental.video_generate.model. The image tool is now called generate_image.#63666#64546#65664#65682
    • CoreThe Claude Agent provider has a configDir setting 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 from opencode.#62514#65035#65016
    • Core, ExtensionsRemoving a Sign in with ChatGPT account, with opencode auth logout or the remove button in the app, now also revokes it with OpenAI.#64947
    • CoreThe ChatGPT plan model lists now come from models.dev, so new models show up without an OpenCode update.#65579
    • CoreVoice models are now listed from models.dev, adding newer OpenAI models such as gpt-live-1.1.#65491
    • CoreReading far into a large file with read, or reading its tail, takes far fewer reads, which is much faster on remote workspaces.#65611
    • CoreThe 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
    • CoreCode Mode scripts can define getters and setters, errors have a stack showing where they were thrown, and a failed import says why.#64908#64939#64587
    • CoreA timeout set 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
    • CoreGemma 4 models on Google's Interactions API offer the none and thinking variants, and the provider's safetySettings are sent to Interactions.#65038#65036
    • CoreAdded claude-agent as a web search provider. With Claude Agent connected, set "websearch": { "provider": "claude-agent" } to run websearch through Claude Code's WebSearch, which Claude plans include, so any model can search without a search API key.#65704
    • CoreWith full_codemode on, agents can call tools.opencode.session.interrupt to stop another session, its background jobs and its subagents.#65718
    • CoreStored 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/:id returns 404 for a deleted blob.#65671
    • CoreConfig now reloads only when a file that feeds it changes, not on every write under .opencode such as editing a skill.#62158
    • Terminal/login and /auth open the same dialog as /connect, which now lists a single OpenCode entry that includes OpenCode Go models.#65265#65466
    • TerminalPressing ↓ opens the picker on the first tab with something running, the same tab that clicking the footer opens.#64972
    • TerminalText 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
    • TerminalThe opencode theme's light mode uses lighter grays for the prompt box, selected tabs and hovered rows.#64962
    • DesktopNew 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
    • DesktopComments 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
    • DesktopAdded Wrap code blocks under Settings › General › Timeline, plus a Wrap lines button on timeline code blocks with lines too long to fit.#64545#64576
    • DesktopAdded Keep side panel open across sessions in Settings › General.#64950
    • DesktopAdded an Archive session command, bound to Cmd+Shift+S (Ctrl+Shift+S on Windows and Linux).#65428
    • DesktopThe Home session menu has Open and Open in background, and Home shows the provider connect hint when nothing is connected.#65209#65212#64885
    • DesktopThe Inbox layout's sidebar has a Drafts group for unsent new-session drafts.#65525
    • DesktopConversation search (Cmd+F / Ctrl+F) has previous and next match buttons.#64865
    • DesktopThe 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
    • DesktopWhen you reach your ChatGPT Business workspace's usage limit, a dialog explains it and offers Copy request for admin.#64926
    • DesktopShortcuts go through the same keymap engine as the TUI, and the new Stop session command can be changed in Settings › Shortcuts.#64394
    • DesktopShortcuts can be key chords, such as Mod+K Mod+C or G 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
    • DesktopThe activity pill keeps a subagent listed while work it started is still running.#64790
    • DesktopThe goal pill has a new design with the labels Following goal, Goal paused and Goal reached.#60001
    • DesktopKeyboard 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
    • DesktopOnly the latest response shows its Copy button all the time; older ones show it on hover or focus.#64640
    • DesktopAdded experimental tab groups for side tabs under Settings › Experimental.#64407
    • DesktopOn 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
    • DesktopOn 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
    • DesktopThe 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
    • DesktopThe background activity menu stays smooth with many subagents, and the model picker stays responsive with catalogs of thousands of models.#65634#65189#65635
    • SDKAdded experimental.job.cancel to cancel a running background job, and an experimental.job.updated event when a job starts, moves to the background or ends. @opencode/client/solid's createData has a job slice.#64790#65266#64956
    • SDKThe video endpoints (experimental.generate.video.create and .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
    • ExtensionsA plugin tool can set options.codemode to an object ({ pinned?, description?, input?, output? }) to give its Code Mode form its own description and schemas. Top-level options.pinned still works but is deprecated.#64515
    • ExtensionsTUI plugins can read a session's running background jobs with api.data.job.list(sessionID) (experimental).#64956
    • ExtensionsGUI plugins can declare their own SVG icons with Plugin.define({ icons }) and use them through ctx.icons. The built-in outline-pair and outline-steer icons were removed.#64577
    • ExtensionsThe GUI composer API adds composer.send(commentID) and composer.delivery(), and the Browser contract adds experimental.open and experimental.close.#65264#63002

    Fixes

    • CoreFixed GitHub Copilot picking up GITHUB_TOKEN, which git tooling and GitHub Actions often set without Copilot access. It now reads COPILOT_GITHUB_TOKEN.#64697
    • CoreFixed shell commands the scanner can't analyze, such as dynamic execution, failing outright. They now ask for permission, and a matching shell deny rule still blocks them.#65269
    • CoreFixed 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
    • CoreFixed a forced tool choice for a namespaced tool naming a tool the request never declared on every provider except native OpenAI Responses.#65621#65726
    • CoreFixed the shell tool's description not saying which OS and shell commands run in when full_codemode is on.#65712
    • CoreFixed a revoked or expired ChatGPT sign-in failing every prompt with "Request failed: 400". It now asks you to connect again.#65289
    • CoreFixed edit and patch replacing every non-UTF-8 character (Latin-1, cp1252, GBK…) with � across the whole file. They now refuse to rewrite such files.#64868
    • CoreFixed the review pane showing every line as changed in repositories with core.autocrlf=true, and symlinks as modified with core.symlinks=false.#64884
    • CoreFixed file permission rules not matching other capitalizations of the same path on macOS. Thanks @knp-sap.#64626
    • CoreFixed the model picker staying empty while a slow project was still loading.#63814
    • CoreFixed Claude Agent processes staying alive after their session was deleted. Thanks @WTLAIB.#62649
    • CoreFixed 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
    • CoreFixed shell commands failing with "failed to open output file" after OpenCode's shell output directory was removed.#64889
    • CoreFixed concurrent shell commands failing on Windows with PowerShell 7 from the Microsoft Store, and stopping one such command killing the others.#64901
    • CoreFixed opencode service set password writing the password to the CLI log.#64911
    • CoreFixed opencode run hanging when a FIFO is passed as an attachment; it's now rejected right away. Thanks @yang0228.#64696
    • CoreFixed opencode <name> crashing with a stack trace when <name> is neither a command nor a directory. It now prints help and the error.#65262
    • CoreFixed the background service becoming unresponsive at startup with a large database write-ahead log on a slow disk.#64532
    • CoreFixed 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
    • CoreFixed Markdown commands dropping a separate variant next to model, and agents being skipped when frontmatter repair turned inline lists or objects into strings.#65118#65119
    • CoreFixed Google Interactions responses stopping early when Google splits a response across requests.#65006
    • CoreFixed GPT models over OpenAI's WebSocket transport resending the whole conversation after a freeform tool call such as execute or patch.#64706
    • CoreFixed gpt-6.2-astra and later Astra models getting a 500k context window with ChatGPT sign-in; they stay at 272k.#64725
    • CoreOpenAI cyber_policy and Gemini "terms of use" refusals are now reported as content policy errors. Thanks @lu-zero.#64844#64910
    • CoreFixed MiniMax text-to-video requests without an aspect ratio being rejected; they now default to 16:9.#64822
    • CoreFixed several Code Mode built-ins to match Bun: localeCompare and Date toLocale* honor their locale and options, toBase64/fromBase64 honor their options, Buffer map, filter, slice and subarray return a Buffer, and Uint8Array.BYTES_PER_ELEMENT is defined.#64935#64938#64931#64933#64930#64965
    • CoreFixed large file views not refreshing when only the end of the file changed.#65114
    • CoreFixed the install script failing with a disk-space error when curl is installed through Snap.#65132
    • TerminalFixed connect forms built from integration fields, such as the Azure resource name, showing an empty row between the title and the input.#64944
    • TerminalFixed list dialogs ending with two blank rows, and the Manage workspaces footer not staying at the bottom.#64983
    • TerminalFixed long dialog lists replacing their last visible row with a stray ….#64934
    • TerminalFixed the selection bar of a delete-confirmation row staying blue instead of red.#64936
    • TerminalFixed 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
    • DesktopFixed opencode://open-project and opencode://new-session links doing nothing.#65332
    • DesktopFixed file links like ~/Downloads/clip.mp4 showing "File not found". ~ now opens in the server's home folder.#65689
    • DesktopFixed an open session's side panel tabs disappearing after you had used many other sessions.#65328#65322
    • DesktopFixed the app freezing when opening a session on a remote server with Share sign-ins with remote servers on.#65339
    • DesktopFixed 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
    • DesktopFixed the browser pane showing "The browser couldn't open" in a project whose server had only just started.#65720
    • DesktopFixed Clear browsing data clearing everything on the first click; it now asks first.#65124
    • DesktopFixed 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
    • DesktopFixed sites in the browser pane replacing the app's badge on the taskbar or Dock.#65646
    • DesktopFixed the mouse Back and Forward buttons doing nothing.#65129
    • DesktopFixed a subagent's pending permission request not reappearing after a reload or reconnect.#65120
    • DesktopFixed background jobs that changed while the job list was loading showing the wrong state, and rows in the activity menu jumping around.#64966#65312
    • DesktopFixed the session view crashing when a timeline row disappeared mid-update.#64565
    • DesktopFixed earlier replies being folded into the "Used N tools" group when a session was woken without a new message.#64917
    • DesktopFixed the Context tab showing the latest instruction update as the "System Prompt".#64991
    • DesktopFixed the session header briefly showing the wrong worktree while a new session starts.#65190
    • DesktopFixed Grep, Glob and List rows showing the parent of the folder they searched, and Windows paths not showing relative to the project.#65460#65639
    • DesktopFixed server event streams going stale after Windows wakes from sleep, and windows reopening in the wrong place after being snapped or minimized.#65321#65323
    • DesktopFixed the Windows caption buttons being hard to see with a contrast theme.#65324
    • DesktopFixed Open in PowerShell on Windows opening Windows PowerShell instead of PowerShell 7 when it's installed.#64873
    • DesktopFixed builds packaged without app-update.yml, such as AUR packages, showing update-check errors. Settings now shows Updates unavailable.#64681
    • DesktopFixed the message menu's "Today" and "Yesterday" labels, and Home's date headers staying invisible while scrolling.#65081#64665
    • DesktopFixed 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
    • DesktopFixed the Hex voice tip showing on phones and tablets, and a fringe on project icon corners.#64583#64582