Changelog
New updates and improvements to OpenCode
v2.4.2 Plan mode's rules are in the system prompt
Plan mode's rules are in the system prompt. Sessions already in Plan mode get the rules once more after upgrading.#63669
See all highlights in v2.4.2Improvements 10
- DesktopOn macOS and Windows, desktop updates download only the parts of the app that changed instead of the full installer again.#66042
- DesktopEnter in the question dock moves to the next question and submits on the last one. Set Submit question answers with to Cmd/Ctrl+Enter in Settings → Preferences to keep the previous behavior.#66169
- DesktopTo move the file tree to the right in the Files and Review panels, right-click its header and choose Sidebar position → Right.#66012
- Desktop
/renamewith no title generates a new title, and/rename <title>sets one.#66396 - DesktopSearch sessions also finds archived sessions and shows them dimmed.#66356
- DesktopIn the Inbox sidebar, you can pin sessions, open archived sessions in a collapsible section and choose where working sessions appear. Archived sessions waiting on you show under Needs attention.#65961#66327
- DesktopCmd+Shift+S (Ctrl+Shift+S on Windows and Linux) unarchives the open session when it's archived.#66327
- DesktopSubagent sessions show their parent session's side panel tabs.#65957
- DesktopSessions in open tabs keep browser access after a restart or when an automation wakes them.#65969
- ExtensionsPromise plugin API calls honor
signal. Aborting rejects the call.#65980
Fixes
- DesktopFixed older messages you had loaded disappearing after a reconnect.#66035
- DesktopFixed the timeline jumping while older history loads or a focused row scrolls out of view, and made scrolling in long sessions smoother.#66014#65921#66034#65631
- DesktopFixed the background indicator flashing "1 shell" for each shell command a script runs.#66402
- DesktopFixed screen readers skipping a reply while it's being written.#66120
- DesktopFixed the app menu missing from the side tabs header on Linux.#65912
- DesktopFixed the model list jumping when you unfavorite a model with the mouse.#65649
v2.4.1 Unread
/btwAnswersWhen a side question finishes behind another side-panel tab, its tab shows an unread dot until you open it.#65821
See all highlights in v2.4.1Improvements
- Core, Terminal, DesktopWith
experimental.model_speedsenabled, model service tiers are exposed as remembered speeds instead of separate model-picker entries.#65749 - DesktopLayout choices in Settings now use consistent navigation-card previews and accent styling.#65757#65800
- ExtensionsEffect and Promise plugins can create, list and delete automations through
ctx.experimental.automation.{create,list,delete}.#65747 - Extensions
@opencode/pluginnow supports@opentui/coreand@opentui/solidfrom version 0.8.0, allowing plugins capped below OpenTUI 0.9 to install again.#65819
Fixes
- DesktopFixed the timeline, Home list, file viewers and tool output adding invisible or oversized stops to keyboard Tab navigation. They remain focusable by clicking for keyboard scrolling.#65758#65785
- DesktopFixed unwanted focus rings around clicked Settings pages, error details, What’s New and the terminal, and corrected the split button’s focus-ring corners.#65783#65785
- DesktopFixed folder paths showing middle-truncation markers unnecessarily at fractional UI zoom levels.#65225
- Core, Terminal, DesktopWith
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
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 See all highlights in v2.4.0Windows 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 27
- 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
- Core, ExtensionsRemoving a Sign in with ChatGPT account, with
opencode auth logoutor the remove button in the app, now also revokes it with OpenAI.#64947 - 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+Son 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+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 - 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
- ExtensionsA 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 - 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 throughctx.icons. The built-inoutline-pairandoutline-steericons were removed.#64577 - ExtensionsThe GUI composer API adds
composer.send(commentID)andcomposer.delivery(), and theBrowsercontract addsexperimental.openandexperimental.close.#65264#63002
Fixes 24
- DesktopFixed
opencode://open-projectandopencode://new-sessionlinks doing nothing.#65332 - DesktopFixed file links like
~/Downloads/clip.mp4showing "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
v2.3.1 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. Set
compaction.background: falseto turn it off; a background summary that ends up unused still costs tokens.#64290Update Plugins from Settings
Open Settings › Extensions, click Check for updates, then Update on any plugin with a new version.#64511
See all highlights in v2.3.1Comment on Selected Code
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.#64410
Improvements 20
- DesktopYou can check for and install plugin package updates from Settings › Extensions. Use Check for updates to look for new versions, then click Update on any plugin that has one.#64511#64525
- DesktopCmd+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.#63663
- DesktopDisconnecting a provider or removing an account in Settings → Providers now asks for confirmation first. Disconnecting OpenCode Console says how many providers will stop working.#64212
- DesktopThe 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.#64409#64423 - DesktopWhen 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.#64228 - DesktopRedesigned the folder picker for remote servers, with a path bar, up to three recent-project pills plus a More projects menu, and a search box that shows the selected folder.#64241
- Desktop
`latexand`mathcode fences now render as display math once complete.#64380 - DesktopThe new icon set is now the default, and the New icons experiment has been removed.#64466#64451
- DesktopThe copy button under assistant messages is now always visible. Message metadata still appears on hover.#64478
- DesktopText files opened in side-panel tabs now have the same copy and download actions as other files.#64463
- DesktopManage models now shows every provider as a card with a
⋯menu, whether or not you're signed in to OpenCode Console.#64235 - DesktopThe 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.#63829
- DesktopCollapse long messages is no longer experimental. It is now a setting under Timeline preferences.#64441
- DesktopSettings now opens on your client preferences, which are listed first, pairing is grouped with Servers, and there's a Help & feedback link.#64440#64220
- DesktopPairing QR codes can carry a server name, which becomes the paired server's default name.#64139
- DesktopImage attachment thumbnails are larger, with a 3:2 crop, and a failed image no longer moves the message below it when retried.#64215
- DesktopThe 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.#64130#64131#63974#63760
- DesktopAdded missing translations for every non-English language, about 920 strings each.#64205
- ExtensionsEach 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.#64324 - ExtensionsPlugin
SessionIdleBackgrounditems can now be{ kind: "codemode", sessionID, jobID }, and GUI pluginBridgeLayoutaccepts an optionalcliprectangle.#64343#63819
Fixes 12
- DesktopFixed 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.#64203 - DesktopSwitching session tabs with a keyboard shortcut now focuses the composer.#64418
- DesktopLong prompts now stay folded while a new session is being created.#64452
- DesktopOn macOS, the browser pane stays live while you resize panels instead of showing a still image.#64443
- DesktopSubmenus now open one at a time and swap without blinking, and stay open while you move the pointer across other items to reach them.#63739
- DesktopPressing a button now dismisses its tooltip until you hover it again, and copy buttons show "Copied" for two seconds, including in the
/btwpanel.#63834 - DesktopDialogs now use consistent sizes, corner radius and row styles across the command palette, session search, model picker, location picker and other lists.#63432#64216#64206
- DesktopSessions on OpenCode Go no longer show a $0.00 cost.#63744
- DesktopUse main checkout now stays on one line in the branch picker, and wrapped question descriptions have better spacing.#64450#64446
- DesktopRestyled the Timeline detail slider and visibility buttons in settings so they read as clickable.#64186
- DesktopPolished 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.#64155#64219#64192#63742#63885
- ExtensionsThe browser extension's URL bar action buttons are now spaced 6px apart.#64214
v1.19.6 OpenCode 1 now offers the upgrade to OpenCode 2.0
OpenCode 1 now offers the upgrade to OpenCode 2.0. 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. Plugins made for OpenCode 1 need an update.
v2.3.0 Jump to an Earlier Prompt
In the desktop app, open Jump to message from the command palette or press
See all highlights in v2.3.0Cmd+Alt+G(Ctrl+Alt+Gon Windows and Linux) to search prompts across the current session and jump directly to one.#63585Improvements 13
- DesktopAdded the experimental Recent sessions sidebar, with cross-server recency, local pins, reordering, and standard session-row actions.
- DesktopRecent sessions are limited to the last seven days and 30 rows, and can be hidden or muted.
- DesktopAdded an experimental customizable sessions sidebar.
- DesktopMermaid diagrams can now be maximized for zooming and panning.#59250
- DesktopAdded
Alt+Enterto place a follow-up first in the queue andMod+Enterto steer the next queued prompt. - DesktopHolding the modifier key now shows tab shortcut numbers.
- DesktopEach server’s terminal shell can be selected from its menu.
- DesktopAdded a free-limit panel in place of the composer when applicable.
- DesktopSession IDs are easier to find and copy.
- ExtensionsPromise-based tools can cooperatively stop through
ToolContext.signal. - ExtensionsAdded the experimental
session.forkhook. - ExtensionsPromise plugin cleanup failures no longer prevent subsequent plugin replacements.
- Extensions
@opencode/plugin/effectnow exportsTool, so anexecute.beforehook can reject a call withTool.Errorwithout importing@opencode/schema/tool.#63698
Fixes 13
- DesktopRecent sessions now keep stable recency ordering through list reloads, renames, and completed runs.
- DesktopFixed browser panes not retrying after server plugins finish loading.
- DesktopFixed mention suggestions being recreated while typing.
- DesktopFixed SSH prompts failing to advance or close after connection.
- DesktopFixed pasted provider-auth redirect URLs being rejected.
- DesktopRestored message footers in the New timeline.
- DesktopFixed links whose labels contain inline code.
- DesktopFixed the desktop main process freezing while probing the login-shell environment.
- DesktopFixed the drag region after changing layout direction.
- DesktopFixed vertical-tab previews snapping to the wrong tab.
- DesktopFixed the file-tree sidebar opening animation.
- DesktopFixed pairing QR-code contrast in light themes. Thanks @ssskay.#63220
- DesktopFixed activity-tab navigation and click handling. Thanks @OpeOginni.#60168
v2.2.7 Side Panel Tab Shortcuts
Right-click a side panel tab and choose Close tabs to the right.
⌘Wnow closes side panel tabs wherever focus is,⌥⌘WorCtrl+Alt+Walways closes the session tab, and⌘⇧Treopens the last closed tab of either kind where it was.#62922 See all highlights in v2.2.7Mark Sessions Read or Unread
Open the menu on a tab, Home row, project row or inbox card and choose Mark as unread to keep its dot until you next visit.#62889
Improvements
- DesktopThe answer you pick in the question dock shows as a raised card.#62896
- DesktopInline rename and custom-answer fields no longer show a focus border.#62919
- ExtensionsACP clients can redirect a running turn with the
_session/steeringextension, advertised as_meta.steering.supportedininitialize.#54394@smagnuso
Fixes 7
- DesktopOn Windows and Linux,
Ctrl+Shift+Rtoggles the review panel again instead of reloading the window.#62567 - DesktopClosing the last side panel tab slides the panel shut.#62758
- DesktopSelects, menus, tooltips and toasts opened from a dialog are reachable by screen readers.#62913
- DesktopAn error appears when a path can't be opened in its default app.#62572
- DesktopCut, Copy, Paste and Select All in the right-click menu follow the app language.#62252
- DesktopUkrainian tool titles use nouns.#62263
- DesktopScrolling titlebar search results no longer jumps back when late results arrive, the inbox no longer announces already-running sessions as working on load, and the quote toolbar comes back after
Escape.#62597
v2.2.6 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
See all highlights in v2.2.6Mobile Composer Dock
On phones and tablets, composer actions now sit in a touch dock above the keyboard with larger buttons.#61773
Improvements
- DesktopAdded close-other-tabs and close-tabs-after actions to the tab menu.#61631
- DesktopAdded unread-session grouping in Inbox and failed-run indicators on tabs.#61691#62077
- DesktopMCP sign-in now accepts a pasted redirect URL when automatic redirection is unavailable.#61706
- DesktopMarkdown file previews now display frontmatter as a properties list.#60333
- DesktopThe 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
- DesktopPrompt history now keeps up to 200 prompts. Past the newest 100, only prompts without attachments are kept.#62313
Fixes 11
- DesktopImproved prompt submission and timeline behavior during loading, reconnects, retries, scrolling, compaction, and optimistic delivery.#62025#62037#61932#62151
- DesktopSurface loading and offline failures in review previews, file search, details, Word pages, and review diffs instead of showing empty or clean results.#62114#61862
- DesktopFixed provider connection, MCP sign-in, settings, and plugin loading flows that could become stuck after failures.#62102#61917#61580
- DesktopPreserve drafts, focus, caret position, queued prompts, and selected terminal tabs across failed or concurrent transitions.#61579#61969#61852
- DesktopRestart plugins after failed update handoffs and recover the renderer, storage, event stream, and background-service connection from transient failures.#61649#61908#61804#61748
- DesktopCorrected V2 file labels and mention syntax. Thanks @velmet and @cheapredwine.#55677#60737
- DesktopAttach 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 - DesktopKeep pasted images sendable after the clipboard tool deletes its temporary file. Thanks @lfscqk67.#62057
- DesktopWhile 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
- DesktopFixed 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
- ExtensionsIsolated plugin dialogs, Markdown renderers, terminal views, lazy chunks, and artifact viewers so failures do not take down their host surface.#62110#62123#61993
v2.2.5 Worktree and Shell Mode Shortcuts
Press
⌘⌥Oon macOS orCtrl+Alt+Oon Windows and Linux to choose a worktree, and⌘⌥BorCtrl+Alt+Bto choose its base branch.⌘⇧XorCtrl+Shift+Xnow toggles shell mode in the composer.#60713 See all highlights in v2.2.5Send Quotes From the Comment Popup
Hold
⌘orCtrlin the quote popup to turn its checkmark into send, or press⌘EnterorCtrl+Enter, to send just that quote and comment while leaving the rest of the composer untouched.#60640Improvements
- DesktopAdded flat input surfaces and a compact input size.#60598
Fixes
v2.2.4 Persistent Desktop Terminals
Desktop terminals now belong to the session, survive server restarts with their scrollback, and stay synchronized with the TUI and other windows. Renamed terminals also keep their names across restarts.#60346
Publish Interactive Artifacts
Enable
"experimental": { "artifacts": true }inopencode.jsonto let agents publish, update, and serve HTML or static artifacts through the built-in local provider or plugin-provided storage.#60351Guided Claude Agent Setup
Select Claude Agent from the provider picker to copy
claude auth login, install Claude Code, and verify the connection before continuing to model selection.#60603Choose a Base Branch Quickly
While creating a worktree, open Choose base branch with
⌘⌥.on macOS orCtrl+Alt+.on Windows and Linux. The command is also available in the command palette and Settings › Shortcuts.#60579Improvements
- DesktopSimplified the session location popover and made long paths easier to read.#60492
Fixes
- DesktopKept terminal tab clicks and rename fields attached to the intended tab.#60645
- DesktopListed matching commands before sessions in command-palette search.#60616
- DesktopRestored copying user messages from an open actions menu.#60576
- DesktopReduced repeated work and allocations while streaming Markdown, especially in long sessions.#60549#60562#60577