chore(deps): update dependency anomalyco/opencode to v2 #472

Open
botaniker wants to merge 1 commit from renovate/anomalyco-opencode-2.x into main
Member

This PR contains the following updates:

Package Update Change OpenSSF
anomalyco/opencode major 1.18.34 → 2.4.2 OpenSSF Scorecard

Release Notes

anomalyco/opencode

v2.4.2

Compare Source

Highlights
  • GPT-6.2 System Prompt: GPT-6.2 Sol and Astra, and the gpt-latest aliases, use a system prompt written for GPT-6.2. (#​66297)
  • OpenCode Go Onboarding Fix: After you connect OpenCode, the model picker lists OpenCode Go first. (#​66363)
  • Esc Takes Back Your Last Message: If the composer is empty, stopping a response with Esc before the model has written anything or called a tool removes your message and puts it back in the composer, images included, so you can edit it and send again. (#​65505)
Upgrade notes
  • "Always allow" for a web fetch allows that site only. It used to allow every URL. Approvals saved by earlier versions stay as they were. (#​66000)
  • Automations keep running after a failed run. A failed run is recorded and the next one runs on schedule. Automations still pause when the session that created them or their directory is gone, or when their setup is no longer valid. A shell command in an automation's code that runs past its timeout is now stopped and fails the call instead of moving to the background. (#​66422, #​65626)
  • Sending to an archived session unarchives it. This applies to messages, commands, skills and shell commands, including ones sent through the API. (#​66348)
  • Plan mode's rules are in the system prompt. Sessions already in Plan mode get the rules once more after upgrading. (#​63669)
Core
Improvements
  • Added a system prompt for GPT-6.2. (#​66297)
  • generate_image and generate_video run inside Code Mode instead of as top-level tools, so their definitions no longer add about 700 tokens to every request. (#​66465)
  • Moving a session also moves its subagents. (#​66215)
  • The report skill checks the docs, searches for duplicate issues and includes the relevant log lines. (#​66290)
  • Cost estimates for service tiers that list their own prices use those prices, including their long-context rates. (#​65861, #​65984)
Bug fixes
  • Fixed sign-in to MCP servers whose configured URL has a query string, such as the AWS MCP Server. (#​66036)
  • Fixed Plan mode re-adding its reminder after every compaction, which could keep a session running in a loop. (#​63669)
  • Fixed tools staying visible to the model when a blanket deny was followed by narrower denies. (#​65899)
  • Fixed PDFs with bytes before the %PDF- header not being read as PDFs. (#​65967)
  • Fixed branches whose names end in /HEAD missing from the branch list. (#​65904)
  • Fixed files added by a patch losing a trailing blank line. (#​66378)
  • Fixed moving a session to a ~\ path on Windows. (#​66269)
  • Fixed OpenAI custom tool calls failing as malformed on providers that end them only with the completed response. (#​65849)
TUI
Improvements
  • The model picker stays responsive with large catalogs, such as OpenRouter's. (#​66370)
  • The goal dialog scrolls when the goal is long. (#​65906)
  • Updated OpenTUI to 0.9.9. (#​65919)
Bug fixes
  • Fixed /models showing only free models when the TUI opened a session in another directory. (#​66424)
  • Fixed type-to-filter in Message Actions. (#​65903)
  • Fixed removing theme from config not switching back to the default theme. (#​65925)
  • Fixed quick successive settings changes overwriting each other. (#​65761)
  • Fixed the session list losing the selected row after a deletion. (#​65855)
Desktop
Improvements
  • On macOS and Windows, desktop updates download only the parts of the app that changed instead of the full installer again. (#​66042)
  • Enter 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)
  • To move the file tree to the right in the Files and Review panels, right-click its header and choose Sidebar position → Right. (#​66012)
  • /rename with no title generates a new title, and /rename <title> sets one. (#​66396)
  • Search sessions also finds archived sessions and shows them dimmed. (#​66356)
  • In 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)
  • Cmd+Shift+S (Ctrl+Shift+S on Windows and Linux) unarchives the open session when it's archived. (#​66327)
  • Custom answers to questions can span several lines. (#​66169)
  • Subagent sessions show their parent session's side panel tabs. (#​65957)
  • Sessions in open tabs keep browser access after a restart or when an automation wakes them. (#​65969)
Bug fixes
  • Fixed older messages you had loaded disappearing after a reconnect. (#​66035)
  • Fixed 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)
  • Fixed the background indicator flashing "1 shell" for each shell command a script runs. (#​66402)
  • Fixed screen readers skipping a reply while it's being written. (#​66120)
  • Fixed the app menu missing from the side tabs header on Linux. (#​65912)
  • Fixed the model list jumping when you unfavorite a model with the mouse. (#​65649)
SDK
  • @opencode/sdk/workerd: forward your Durable Object's alarm() to opencode.alarm() so idle remote workspaces suspend. (#​66183, #​66240)
Extensions
  • Promise plugin API calls honor signal. Aborting rejects the call. (#​65980)
  • Plugins can give an agent instructions that apply while that agent is selected, without busting the prompt cache. Switching agents or changing the instructions mid-session sends an update instead of rewriting the system prompt. (#​63669)

v2.4.1

Compare Source

Highlights
  • macOS 12 Session Fix: OpenCode can save assistant messages again on the older SQLite version included with macOS 12. (#​65771)
  • Config-Only Providers Show Their Models: Providers you set up only in your config, such as Ollama, now show their models in /models without a /connect login. (#​65793)
  • Unread /btw Answers: When a side question finishes behind another side-panel tab, its tab shows an unread dot until you open it. (#​65821)
Core
Improvements
  • With experimental.model_speeds enabled, model service tiers are exposed as remembered speeds instead of separate model-picker entries. (#​65749)
Bug fixes
  • Fixed assistant messages failing to save on macOS 12 because its system SQLite does not support the JSON operator used in v2.4.0. (#​65771)
  • Fixed compaction retaining more recent history than keep.tokens, including when a single newest message already exceeds the allowance. (#​65768)
  • Fixed occasional extra cache cost in long goal sessions after a compaction. (#​65788)
TUI
Improvements
  • With experimental.model_speeds enabled, /speed and /fast list the current model’s service tiers and relative prices. The speed.list and speed.cycle keybinds are available without default bindings. (#​65749)
Bug fixes
  • Fixed /models hiding models from config-only providers such as Ollama when no /connect login exists. (#​65793)
Desktop
Improvements
  • With experimental.model_speeds enabled, models with service tiers have a speed dropdown beside the variant selector; /speed cycles through the available speeds. (#​65749)
  • Layout choices in Settings now use consistent navigation-card previews and accent styling. (#​65757, #​65800)
Bug fixes
  • Fixed /btw answers completed behind another side-panel tab providing no unread indication. The tab now shows a dot until viewed. (#​65821)
  • Fixed 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)
  • Fixed 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)
  • Fixed folder paths showing middle-truncation markers unnecessarily at fractional UI zoom levels. (#​65225)
SDK
Bug fixes
  • An aborted shared event subscription now stops immediately even when the source has already completed or failed with buffered events remaining. Thanks @​chirag127. (#​65441)
Extensions
Improvements
  • Effect and Promise plugins can create, list and delete automations through ctx.experimental.automation.{create,list,delete}. (#​65747)
  • @opencode/plugin now supports @opentui/core and @opentui/solid from version 0.8.0, allowing plugins capped below OpenTUI 0.9 to install again. (#​65819)

v2.4.0

Compare Source

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 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)
Upgrade notes
  • Image 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)
  • 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 GITHUB_TOKEN. Set COPILOT_GITHUB_TOKEN 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.session_rename and session_move 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 server from before this release. (#​65506)
  • Storage write path. Assistant parts are now saved as their own rows. experimental.part_rows: false restores 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 /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)
  • 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 protocol setting now negotiate the newest MCP protocol and fall back to the legacy handshake. (#​65282)
  • Agents 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)
  • Plugins that follow a version (name@latest, a version range, a Git branch or a Git semver: 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 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)
  • Removing a Sign in with ChatGPT account, with opencode auth logout or 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 stack showing where they were thrown, and a failed import says why. (#​64908, #​64939, #​64587)
  • A 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)
  • Gemma 4 models on Google's Interactions API offer the none and thinking variants, and the provider's safetySettings are sent to Interactions. (#​65038, #​65036)
  • Added 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)
  • With full_codemode on, agents can call tools.opencode.session.interrupt to 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/:id returns 404 for a deleted blob. (#​65671)
  • Config now reloads only when a file that feeds it changes, not on every write under .opencode such 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 reads COPILOT_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 shell deny 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_codemode is 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 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)
  • Fixed the review pane showing every line as changed in repositories with core.autocrlf=true, and symlinks as modified with core.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 password writing the password to the CLI log. (#​64911)
  • Fixed opencode run hanging 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 variant next to model, 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 execute or patch. (#​64706)
  • Fixed gpt-6.2-astra and later Astra models getting a 500k context window with ChatGPT sign-in; they stay at 272k. (#​64725)
  • OpenAI cyber_policy and 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: 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)
  • 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 curl is installed through Snap. (#​65132)
TUI
Improvements
  • The new TUI designs are on by default, and the theme named opencode is the new theme. The previous default is available as opencode-classic, and opencode2 keeps working as an alias of opencode. To go back to the previous designs, turn off New designs in the Experiments dialog. (#​64988)
  • /login and /auth open 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 opencode theme'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+S on 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+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)
  • 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-project and opencode://new-session links doing nothing. (#​65332)
  • Fixed file links like ~/Downloads/clip.mp4 showing "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.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)
  • The 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)
  • 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.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)
  • The execute.before and execute.after tool hooks receive info, the tool's definition, and codemode, which is true when a Code Mode script made the call. (#​64515)
  • An integration's OAuth method can define revoke to 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.idle background entries can have the kind video. (#​63666)
  • GUI 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)
  • The GUI composer API adds composer.send(commentID) and composer.delivery(), and the Browser contract adds experimental.open and experimental.close. (#​65264, #​63002)
  • GUI System.open only launches HTTP, HTTPS and mail URLs, and Browser.open refuses file:// URLs outside the built-in preview. (#​63002)

v2.3.2

Compare Source

Highlights
  • GPT-6.2 Prompt Caching: GPT-6.2 models don't cache a system prompt sent in the Responses instructions field, so every step re-billed it as uncached input. OpenCode now sends it as a leading developer message on every Responses route, including OpenAI (API key and ChatGPT sign-in), GitHub Copilot, Zen, Azure and OpenRouter, so it is cached from the second step on. (#​64542, #​64544)
Core
Bug fixes
  • Fixed GPT-6.2 models re-billing the system prompt as uncached input on every step. On GitHub Copilot gpt-6.2-sol, uncached input per step dropped from about 14,000 tokens to 3. Compaction through /responses/compact now reads the same cached prefix. (#​64542, #​64544)
  • webfetch structured output no longer repeats the url and format it was called with. (#​64534)

v2.3.1

Compare Source

Highlights
  • Timed-Out Shell Commands Keep Running: A shell command still running when its timeout expires now moves to the background instead of being killed, so long builds and test runs finish and report back. A foreground timeout: 0 now means the default 120 seconds. (#​63699)
  • 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: false to turn it off; a background summary that ends up unused still costs tokens. (#​64290)
  • GPT 6.2 with ChatGPT Sign-In: GPT 6.2 Sol and GPT 6.2 Astra, plus their fast variants, now show up in the model picker when you sign in with ChatGPT. (#​64508)
  • Update Plugins from Settings: Open Settings › Extensions, click Check for updates, then Update on any plugin with a new version. (#​64511)
  • Comment 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)
Core
Improvements
  • Shell commands still running when their timeout expires now move to the background instead of being killed, in every build. The shell_timeout_background flag is gone; configs that still set it keep loading. A foreground timeout: 0 now uses the default 120 second timeout instead of waiting until the command exits. (#​63699)
  • Background compaction is now on by default: as a session nears automatic compaction, the summary is written in the background so the next prompt doesn't wait for it. Turn it off with compaction.background: false; a background summary that is never used still costs tokens. The experimental.background_compaction setting is removed. (#​64290)
  • OpenCode again reads CLAUDE.md in any directory that has no AGENTS.md, and falls back to ~/.claude/CLAUDE.md when the global AGENTS.md is missing. This also applies to instructions found when the agent reads nested files. Set OPENCODE_DISABLE_CLAUDE_CODE or OPENCODE_DISABLE_CLAUDE_CODE_PROMPT to skip every CLAUDE.md. (#​64474, #​64533)
  • Added GPT 6.2 Sol and GPT 6.2 Astra, plus their fast variants, to the ChatGPT model list. (#​64508)
  • websearch now returns a flat list of results, each with its url, title, content and published date. (#​64471)
  • Code Mode and plugins get a simpler structured result from read: text (with offset, lineCount and next), directory (entry names) or media (a URI instead of base64). What the model sees is unchanged. (#​64361)
  • Code Mode programs can use Node's Buffer for encoding and decoding bytes. (#​64365)
  • In Code Mode, search("issues") now works as shorthand for search({ query: "issues" }). (#​64347)
  • Code Mode tool summaries in the catalog can now be up to 500 characters instead of 120, so the model sees more of each tool's description. (#​64341)
  • The glob and grep tools now report a malformed filename glob (for example [) as an error that names the parameter to fix, instead of returning no results. (#​63960)
  • Server requests that crash now return a 500 with a readable JSON UnknownError body instead of an empty one. Storage problems name the cause (for example "Storage is full" or "Storage is read-only"); other crashes include a ref you can find in the server log. (#​64022)
  • The shell tool description now tells the model that its session ID is in the OPENCODE_SESSION_ID environment variable. (#​63718)
  • Experimental schedules are now automations, behind the automations flag (the old schedules flag still works). An automation runs on a time, an interval, a cron or a pushed MCP event, and either sends a prompt (to the creating session, another session or a new subagent) or runs a Code Mode program that decides whether to send one. Use /automation or the automation_* tools. Active or paused plain prompt schedules carry over; schedules with a condition or run limit, and finished ones, are dropped. (#​64160)
Bug fixes
  • Fixed finished shell commands leaving zombie processes under opencode-pty. The process daemon now cleans each command up when it exits. Background processes started by a successful command (cmd &) keep running, and a failed command's leftovers are stopped. (#​64266, #​64251)
  • Fixed ChatGPT and OpenAI subscription logins losing their sharing-limit safeguards and context caps when a token refresh failed. (#​64470)
  • Fixed Claude Agent models falling back to a 200K context window when Claude Code adds or renames a model. Thanks @​Tarquinen. (#​64107)
  • Fixed requests being rejected after switching models mid-session on OpenAI-compatible providers. Models that declare a different reasoning field (such as reasoning_content) no longer receive reasoning_details from earlier turns. (#​64243)
  • Rejecting a permission request now rejects only the other pending requests from the same step, not every pending request in the session. (#​64343)
  • Fixed a finished subagent being reported to its parent as still running when its answer quoted the "Background work still running" heading. (#​64026)
  • Fixed ACP clients missing turns that a background shell woke after the original turn ended. (#​64262)
  • Reading a small text file now applies the default line and byte limits, so a short file with very many lines is paged instead of returned whole. (#​63810)
  • Paged reads that select a single blank line now return that line instead of an empty result. (#​63809)
  • read now rejects limit: 0 with "Limit must be a positive integer". (#​63808)
  • Text files that start with BM are no longer mistaken for BMP images, and only real GIF87a/GIF89a headers count as GIFs, so these files read as text again. (#​63822, #​63811)
  • Fixed shell output pages, grep previews, generated titles, read lines and shell output tails splitting emoji and other multi-byte characters, which showed up as �. (#​63984, #​63967)
  • Shell commands using unknown ANSI-C escapes such as $'\q' are now read the same way Bash and Zsh read them, so permission rules can match them. (#​64263)
  • Session title search is now case-insensitive for non-ASCII letters, such as Cyrillic and accented text. (#​64259)
  • Fixed grep results being dropped when a matching line or path is not valid UTF-8. Thanks @​Tarquinen. (#​62249)
  • The @ file picker now finds files in hidden folders such as .github/ and dotfiles such as .env.example when file search uses ripgrep (the default on Windows and outside git repos). .git and gitignored files stay excluded. Thanks @​Tarquinen. (#​62577)
  • An unreachable well-known integration source is now skipped instead of dropping every well-known source. Thanks @​Tarquinen. (#​62578)
  • A corrupt cached project ID is now ignored instead of being used. Thanks @​Tarquinen. (#​62576)
  • Plugin tool renames from tool.execute.before now apply to calls inside Code Mode programs, and a renamed call returns the new tool's structured result. (#​63633, #​64333)
  • In Code Mode, calling a tool that doesn't exist now returns a rejected promise, so .catch and Promise.allSettled can handle it instead of the whole script failing. (#​64510)
  • A Code Mode program that only logs no longer shows a stray null line before its logs. (#​64344)
TUI
Improvements
  • Permission prompts from a subagent, and from that subagent's own subagents, now appear while you view the subagent's session. Prompts also show in front of an open composer. (#​64343)
  • The export dialog under the new designs can save to the system temp directory as well as the project folder. Thanks @​Tarquinen. (#​62490)
  • Removed time to first token (ttft) from the assistant message footer. Tokens per second still shows when session.tps is on. (#​63759)
Bug fixes
  • When another TUI sharing your tabs closes the session you're viewing, closing it here now moves to the neighbouring tab. (#​64261)
  • Fixed broken characters at the edges of the shell output viewer and the inline shell display when output is long. (#​63967, #​63984)
Desktop
Improvements
  • You 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)
  • Selecting code in diff and file viewers now just selects text, so you can copy it. An Add comment toolbar appears next to the selection to comment on those lines; line numbers and the gutter + still start a comment directly. (#​64410)
  • Cmd+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)
  • Disconnecting 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)
  • The 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 ← or Escape goes back. A model's Console budget and reset time now show in the flyout. (#​64409, #​64423)
  • When 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)
  • Redesigned 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)
  • ```latex and ```math code fences now render as display math once complete. (#​64380)
  • The new icon set is now the default, and the New icons experiment has been removed. (#​64466, #​64451)
  • The copy button under assistant messages is now always visible. Message metadata still appears on hover. (#​64478)
  • Text files opened in side-panel tabs now have the same copy and download actions as other files. (#​64463)
  • Manage models now shows every provider as a card with a ⋯ menu, whether or not you're signed in to OpenCode Console. (#​64235)
  • The 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)
  • Collapse long messages is no longer experimental. It is now a setting under Timeline preferences. (#​64441)
  • Settings now opens on your client preferences, which are listed first, pairing is grouped with Servers, and there's a Help & feedback link. (#​64440, #​64220)
  • Automatic compactions now always show as a single quiet divider; manual and failed compactions still show the full record. (#​64290)
  • Pairing QR codes can carry a server name, which becomes the paired server's default name. (#​64139)
  • Image attachment thumbnails are larger, with a 3:2 crop, and a failed image no longer moves the message below it when retried. (#​64215)
  • The 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)
  • Added missing translations for every non-English language, about 920 strings each. (#​64205)
Bug fixes
  • Fixed the desktop app failing to start when drafts.sqlite was a symlink to or copy of the CLI's opencode.db. The desktop now moves that file aside and creates its own, leaving the CLI database untouched. (#​64203)
  • Switching session tabs with a keyboard shortcut now focuses the composer. (#​64418)
  • Long prompts now stay folded while a new session is being created. (#​64452)
  • On macOS, the browser pane stays live while you resize panels instead of showing a still image. (#​64443)
  • Submenus 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)
  • Pressing a button now dismisses its tooltip until you hover it again, and copy buttons show "Copied" for two seconds, including in the /btw panel. (#​63834)
  • Dialogs 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)
  • Sessions on OpenCode Go no longer show a $0.00 cost. (#​63744)
  • Use main checkout now stays on one line in the branch picker, and wrapped question descriptions have better spacing. (#​64450, #​64446)
  • Restyled the Timeline detail slider and visibility buttons in settings so they read as clickable. (#​64186)
  • Polished 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)
SDK
Improvements
  • Unhandled server errors now return a JSON UnknownError body (message and ref) with status 500 instead of an empty body. (#​64022)
  • Experimental automation endpoints replace the schedule endpoints: /api/experimental/automation and client.experimental.automation.* (create, list, get, pause, resume, delete). /api/experimental/schedule and client.experimental.schedule.* are removed. (#​64160)
  • Config adds compaction.background; experimental.background_compaction and the shell_timeout_background flag are removed. (#​64290, #​63699)
Bug fixes
  • Apps embedding the SDK with an in-memory database no longer import the user's legacy auth.json credentials. Only a database file opened by path imports them. (#​63716)
Extensions
Improvements
  • Each 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 execute call's row. (#​64324)
  • Plugin SessionIdleBackground items can now be { kind: "codemode", sessionID, jobID }, and GUI plugin BridgeLayout accepts an optional clip rectangle. (#​64343, #​63819)
Bug fixes
  • The browser extension's URL bar action buttons are now spaced 6px apart. (#​64214)

v2.3.0

Compare Source

Highlights
  • Background Subagents by Default: Subagents now return immediately, continue in the background, and report back whenever they become idle. You can keep working in the parent session while multiple subagents run concurrently. (#​63382)
  • Quieter Transcripts by Default: The TUI now summarizes each run of tool calls and thoughts into one collapsible activity row, so the answer is easier to follow. To see every step again, set Verbosity to medium or high in settings, or set session.verbosity in your TUI config; an existing setting is kept. (#​63207)
  • Jump to an Earlier Prompt: In the desktop app, open Jump to message from the command palette or press Cmd+Alt+G (Ctrl+Alt+G on Windows and Linux) to search prompts across the current session and jump directly to one. (#​63585)
Core
Improvements
  • Subagents now always run in the background, return their session ID immediately, and report results to their parent whenever they become idle. (#​63382)
  • Added experimental support for MCP events, behind the mcp_events flag. (#​63254, #​63261, #​63269)
  • Shell commands now survive server handoffs and keep their output when interrupted.
  • Added experimental support for moving a shell command to the background when its timeout expires, behind the shell_timeout_background flag. With the flag on, an explicit timeout on a background command stops it. (#​63024, #​63703)
  • Local Windows shell commands now run through the process daemon.
  • Added support for freeform tool input on compatible models.
  • Added LM Studio decision-model support.
  • Agents are now told when their session is a fork. Thanks @hasta84. (#​63235)
  • Tool output truncation now keeps the beginning of the output and preserves a usable preview if the full output cannot be saved.
  • Tail reads no longer load the entire file into memory.
  • Providers can present a client certificate for gateways that require mutual TLS. Set settings.tls with cert, key and an optional passphrase on the provider; values accept {file:} and {env:} like apiKey. (#​61832)
  • When a subagent goes idle while its own background work is still running, its report to the parent now says it is still running, so the parent waits for the final report instead of treating the partial answer as done. (#​63675)
  • Code Mode gets simpler structured results from file and skill tools: write and edit return their confirmation as a string, patch returns an empty result, and skill returns the skill's directory and content. (#​63616, #​63635, #​63618, #​63623)
Bug fixes
  • Fixed case-only file renames in patches on case-insensitive filesystems.
  • Fixed stale thinking being retained after Claude Agent prompts or tools change.
  • Fixed directly driven child sessions not resuming after a restart.
  • Fixed plugin replacement stopping when cleanup of an earlier plugin fails.
  • Fixed MCP OAuth refreshes and localhost redirects when a server rewrites 127.0.0.1.
  • Fixed saved API keys being omitted from local-model discovery.
  • Local model discovery (Ollama, LM Studio, vLLM) waits up to 15 seconds per request instead of 1, so remote or tunnelled endpoints list their models, and a slow endpoint no longer delays other endpoints or config reloads. (#​63700)
  • In Code Mode, calling a namespace as if it were a tool now suggests up to three real tools under it. (#​63697)
  • Fixed retryable provider streams losing completed work when interrupted.
  • Fixed GitHub Copilot requests using the wrong endpoint before models finish loading.
  • Fixed exhausted request rate limits being treated as terminal. Thanks @Kyle-j-bush. (#​59816)
  • Fixed LM Studio models with a null context length and accepted decision-type models. Thanks @tomzhu1024. (#​56214)
TUI
Improvements
  • Transcript verbosity now defaults to low, which summarizes each run of tools and thoughts into one activity row. A session.verbosity you already set is kept. (#​63207)
  • Session IDs found in messages can now be opened directly.
  • Activity tabs are clickable and open the correct view.
  • Shell mode has its own prompt color under the new designs.
Bug fixes
  • Restored pasted text when undo brings back its placeholder.
  • Restored the live draft after browsing prompt history.
  • Fixed copying a paste from within the prompt selection.
  • Preserved the Mini composer caret when closing the command palette.
  • Prevented image bytes from being retained in transcript storage when image previews are disabled.
  • Fixed paste-chip contrast across light and dark themes.
  • Fixed plugin-provided themes updating live.
  • Session lists now open at the top rather than at the current session.
  • Mini scrollback now shows the subagent card instead of obsolete launch instructions.
Desktop
Improvements
  • Added Jump to message to the command palette with Cmd+Alt+G / Ctrl+Alt+G, including prompts not yet loaded in the timeline. Thanks @usrnk1. (#​63585)
  • Added the experimental Recent sessions sidebar, with cross-server recency, local pins, reordering, and standard session-row actions.
  • Recent sessions are limited to the last seven days and 30 rows, and can be hidden or muted.
  • Added an experimental customizable sessions sidebar.
  • Mermaid diagrams can now be maximized for zooming and panning. (#​59250)
  • Added Alt+Enter to place a follow-up first in the queue and Mod+Enter to steer the next queued prompt.
  • Holding the modifier key now shows tab shortcut numbers.
  • Each server’s terminal shell can be selected from its menu.
  • Added a free-limit panel in place of the composer when applicable.
  • Session IDs are easier to find and copy.
Bug fixes
  • Recent sessions now keep stable recency ordering through list reloads, renames, and completed runs.
  • Fixed browser panes not retrying after server plugins finish loading.
  • Fixed mention suggestions being recreated while typing.
  • Fixed SSH prompts failing to advance or close after connection.
  • Fixed pasted provider-auth redirect URLs being rejected.
  • Restored message footers in the New timeline.
  • Fixed links whose labels contain inline code.
  • Fixed the desktop main process freezing while probing the login-shell environment.
  • Fixed the drag region after changing layout direction.
  • Fixed vertical-tab previews snapping to the wrong tab.
  • Fixed the file-tree sidebar opening animation.
  • Fixed pairing QR-code contrast in light themes. Thanks @ssskay. (#​63220)
  • Fixed activity-tab navigation and click handling. Thanks @OpeOginni. (#​60168)
SDK
Improvements
  • Event subscriptions can now receive experimental.mcp.event events from MCP event subscriptions.
  • Model capability schemas now advertise supported freeform tool-input formats.
  • Session throughput is now measured from the first streamed token.
  • Session creation documentation now clarifies the parentID field.
Extensions
Improvements
  • Promise-based tools can cooperatively stop through ToolContext.signal.
  • Added the experimental session.fork hook.
  • Promise plugin cleanup failures no longer prevent subsequent plugin replacements.
  • @opencode/plugin/effect now exports Tool, so an execute.before hook can reject a call with Tool.Error without importing @opencode/schema/tool. (#​63698)

v2.2.7

Compare Source

Highlights
  • GitHub Copilot Auto: Pick Auto in the model picker when your Copilot account has an Auto pool, and Copilot's router chooses the model for each session at the Auto discount. If routing fails, OpenCode falls back to the account's default chat model. (#​62997)
  • Side Panel Tab Shortcuts: Right-click a side panel tab and choose Close tabs to the right. ⌘W now closes side panel tabs wherever focus is, ⌥⌘W or Ctrl+Alt+W always closes the session tab, and ⌘⇧T reopens the last closed tab of either kind where it was. (#​62922)
  • Mark 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)
Breaking changes
@opencode/ai: ImageResponse.image is removed

This affects code that imports @opencode/ai directly. Read response.images[0] instead of response.image. (#​63011)

SDK: fewer endpoints wait for plugins to load

On a Location that is still loading plugins, agent.list returns the agents loaded so far, and integration.list, usage.limits, vcs.init, rpc.call and artifact.* no longer wait up to 5 seconds. Entries and actions that a plugin provides appear when it finishes loading, so refresh on the matching *.updated event. Model, provider, generate.*, voice.* and websearch.query endpoints still wait. (#​62796, #​63040)

Core
Improvements
  • MCP Logins Stay Signed In: Remote MCP servers that rotate refresh tokens no longer sign you out when several clients refresh at once or the token endpoint fails for a moment. (#​62827, #​63012)
  • read accepts a negative offset to read from the end of a file, such as -50 for the last 50 lines. An offset past the end returns the last lines and the file's line count instead of failing. (#​62147)
  • When read can't find a file, it suggests close names: different capitalization, another extension, a small typo, or the matching path inside the project. (#​62147)
  • Shell results end with Exit code: N. Commands killed by a signal show the signal name, and timeouts say how long they waited and suggest a larger timeout. (#​62141)
  • Prompt cache warming times its pings from the model's cache.ttl by default (interval: "auto"), or every 4 minutes without a TTL. Models whose cache outlasts the warming duration are no longer pinged. (#​62831)
  • When MCP servers connect, disconnect or change tools, Code Mode sends the model a short list of what changed instead of the whole tool catalog. (#​62176)
Bug fixes
  • GitHub Copilot session costs use the amount Copilot charged instead of the catalog estimate, and content-filter errors name the filter that blocked the response. (#​62034)
  • GitHub Copilot picks up a new API endpoint after a plan change on its next model refresh, so you no longer have to sign in again. (#​62171)
  • Remote MCP servers that rotate refresh tokens no longer log you out when the TUI, desktop app, background service or several projects refresh the same login at once. (#​62827)
  • A temporary failure while refreshing an MCP OAuth token keeps your login for the next try instead of marking the server needs_auth. (#​63012)
  • MCP tool calls no longer fail when the server's result doesn't match the tool's own output schema, so completed actions aren't reported as failed. (#​61254)
  • MCP prompts stay available when refreshing a server's prompt list fails. (#​62266)
  • With background_compaction on, a background summary no longer stops a running Claude Agent session mid tool call. (#​63025)
  • After opencode auth logout on a .well-known integration, its remote providers and policies stop applying until you log back in. (#​62760)
  • OpenCode Console workspace policies still apply when Console's instructions or skills fail to load. (#​62702)
  • Cloudflare AI Gateway providers set up with only gatewayApiKey now send that key. (#​62574)
  • A v1 model override that sets only some capabilities no longer resets the others, so catalog capabilities like PDF input are kept. (#​62573)
  • A v1 provider config that sets both api and options.baseURL keeps options.baseURL. (#​62570)
  • Legacy model references with an inline variant, such as "openai/gpt-5#high", keep the variant. (#​62254)
  • A fresh install imports saved provider credentials from the legacy auth.json, and skips an invalid one with a warning instead of stopping setup. (#​62568)
  • Cache warming stops for a session when a ping rebuilds the cache instead of reading it, counts its interval from when a request was sent, and no longer pings during compaction or after the session is deleted. (#​62926, #​62941, #​62972)
  • Tokens and cost from session.generate requests, including cache warming pings, count toward the session's totals. (#​63006)
  • Under zsh, a glob that matches nothing, like rm *.tmp, is passed through as bash does instead of stopping the command. (#​62141)
  • Truncated shell output that starts mid-line drops the partial first line, so the "showing lines X–Y" notice is exact. (#​62141)
  • On Windows, multi-line commands no longer lose everything after the first line with PowerShell 7 from the Microsoft Store. (#​62522)
  • read no longer cuts an emoji in half when it shortens a long line. (#​62575)
  • Generated session titles no longer include the model's commentary. Thanks @shanebishop1. (#​62267)
  • Markdown agents whose description starts with a bracketed tag, like [Beta] Reviews code, now load. (#​62250)
  • Markdown agent and command files that fail to load log a warning with the file path and frontmatter error. (#​62464, #​62251)
  • Markdown agent discovery skips node_modules. (#​62571)
  • Failed plugin installs from git show git's own error instead of "An unknown git error occurred". (#​62261)
TUI
Improvements
  • The update and confirm dialogs have buttons you can move between with ←/→ and Tab/Shift+Tab. (#​62906)
  • The model picker no longer has a Usage action; use /usage instead. (#​62927)
Bug fixes
  • Session exports are saved in the current working directory instead of the system temp folder. (#​62253)
  • Typing a child session's exact ID in the open-session menu lists that session. (#​62262)
  • The TUI follows the terminal's current light or dark mode instead of a cached palette. (#​62248)
Desktop
Improvements
  • Right-click a side panel tab to Close tabs to the right. ⌘W closes side panel tabs wherever focus is, the new Close session tab command (⌥⌘W or Ctrl+Alt+W) always closes the session tab, and ⌘⇧T reopens the last closed side panel or session tab where it was. (#​62922)
  • Added Mark as read and Mark as unread to the menus for tabs, Home rows, project rows and inbox cards, and Rename to inbox cards. (#​62889)
  • The answer you pick in the question dock shows as a raised card. (#​62896)
  • Inline rename and custom-answer fields no longer show a focus border. (#​62919)
Bug fixes
  • On Windows and Linux, Ctrl+Shift+R toggles the review panel again instead of reloading the window. (#​62567)
  • Closing the last side panel tab slides the panel shut. (#​62758)
  • Selects, menus, tooltips and toasts opened from a dialog are reachable by screen readers. (#​62913)
  • An error appears when a path can't be opened in its default app. (#​62572)
  • Cut, Copy, Paste and Select All in the right-click menu follow the app language. (#​62252)
  • Ukrainian tool titles use nouns. (#​62263)
  • Scrolling 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)
SDK
Improvements
  • session.generate returns tokens and cost along with text. (#​62835)
  • credential.updated includes the integrationID and credentialID of the login that changed. (#​62762)
  • Predicate questions in client.experimental.generate.decisions accept optional criteria: { true?, false? }. (#​62819)
Extensions
Improvements
  • ACP clients can redirect a running turn with the _session/steering extension, advertised as _meta.steering.supported in initialize. Thanks @smagnuso. (#​54394)

v2.2.6

Compare Source

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 -w to start the session in a new git worktree, or --worktree=<name> to name it. (#​60712)
  • Automatically Archived Runs: Add --archived to opencode run to 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 --continue or --session. (#​60712)
  • Added provider- and model-specific session warming settings, including an interval: "auto" mode based on cache TTL. (#​60025, #​60969)
  • Added the websearch.use policy action and switches for enabling all feature flags with OPENCODE_FLAGS=all or experimental.all_flags. (#​61557, #​61826)
  • Added an experimental bytecode VM for Code Mode. It is off by default; turn it on with experimental.codemode_vm: true or OPENCODE_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 run now 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 prints waiting for N background job(s) (a background_wait event 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 run execution 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 fetch now reject URLs that contain credentials and ignore the #fragment when matching permission rules, and Code Mode fetch checks every redirect against your webfetch rules. (#​60502, #​61701, #​62373)
  • Ask for external_directory permission before session_move leaves 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 send logo_uri during 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 only limit.context, instead of dropping the whole provider without an error. Thanks @Tarquinen. (#​62240)
  • opencode acp now removes a session that a client creates with session/new and closes without prompting, so IDE integrations no longer leave empty sessions behind. (#​62189)
  • Prevent repeated zsh q flags 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 mini now uses the agent colors from your config. Thanks @ferdinandyb. (#​62067)
  • Return to the /mcp list after signing in to an MCP server, with that server still selected. Thanks @Tarquinen. (#​62245)
  • Allow favoriting models with Ctrl+F in /models when 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 @mentions in a line comment that match an existing file or folder, so a comment such as Check @here no 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 fetch implementation for OpenCode HTTP, model, web, and remote MCP traffic. (#​61582)
Extensions
Improvements
  • Added CodeBlock and CodeBlockAction GUI registries for custom fenced-code rendering and actions. (#​61533)
  • GUI plugins can contribute themes through the Theme registry. (#​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)
Bug fixes
  • Isolated 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

Compare Source

Highlights
  • Worktree and Shell Mode Shortcuts: Press ⌘⌥O on macOS or Ctrl+Alt+O on Windows and Linux to choose a worktree, and ⌘⌥B or Ctrl+Alt+B to choose its base branch. ⌘⇧X or Ctrl+Shift+X now toggles shell mode in the composer. (#​60713)
  • Send Quotes From the Comment Popup: Hold ⌘ or Ctrl in the quote popup to turn its checkmark into send, or press ⌘Enter or Ctrl+Enter, to send just that quote and comment while leaving the rest of the composer untouched. (#​60640)
  • Percentage Compaction Buffer: Set "compaction": { "buffer": "20%" } in opencode.json to keep a share of each model's context window free, so one setting fits models with small and large windows. Token counts still work. (#​60647)
Core
Improvements
  • compaction.buffer accepts a percentage of the model's context window, such as "20%", in addition to a token count. (#​60647)
  • When read misses because a folder is missing, the error names that folder and the nearest one that exists. (#​60688)
  • When edit can't find oldString, the error shows the file's closest lines, or says the change is already there. (#​60689)
  • Calls to a tool named bash now run as shell instead of failing, with the same permissions. A plugin tool actually named bash still takes precedence. (#​60687)
Bug fixes
  • MCP servers that send stdio messages larger than 10 MiB no longer get disconnected, and large messages are read much faster. (#​60694)
  • Idle locations no longer restart their MCP servers right after shutting down. (#​60668)
  • Compaction now caps its prompt at the model's context window when the input limit is larger. (#​60660)
  • LiteLLM context window errors now trigger compaction instead of stopping the session. (#​60692)
  • Reasoning is no longer turned into plain text when you switch models or resume an interrupted response, which caused request errors on some providers. (#​60498)
TUI
Bug fixes
  • The connect menu no longer lists MCP servers, which are managed in their own place. (#​60675)
Desktop
Improvements
  • Added keyboard shortcuts to choose a worktree and its base branch, shown in tooltips, and a shortcut to toggle shell mode. The worktree path can be selected to copy the full directory. (#​60713)
  • Hold ⌘ or Ctrl in the quote popup to send a quote and its comment directly. (#​60640)
  • Added flat input surfaces and a compact input size. (#​60598)
Bug fixes
  • The connect menu no longer lists MCP servers. (#​60675)
  • Added the missing top inset to the search field in the recently closed menu. (#​60652)

v2.2.4

Compare Source

Highlights
  • 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 } in opencode.json to let agents publish, update, and serve HTML or static artifacts through the built-in local provider or plugin-provided storage. (#​60351)
  • Guided 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. (#​60603)
  • Choose a Base Branch Quickly: While creating a worktree, open Choose base branch with ⌘⌥. on macOS or Ctrl+Alt+. on Windows and Linux. The command is also available in the command palette and Settings › Shortcuts. (#​60579)
Core
Improvements
  • Added opt-in artifacts with artifact_create, artifact_read, artifact_update, and artifact_delete, including a built-in local static-file provider. (#​60351)
  • Made enabled schedules run under opencode serve and coordinated multiple server processes so a schedule fires only once. Schedules remain opt-in through experimental.schedules. (#​60478)
  • Raised OpenCode Go limits for DeepSeek V4.1 Flash. (#​60625)
Bug fixes
  • Allowed user, project, and remote configuration to override Console-supplied provider names, limits, variants, settings, and headers. (#​60597)
  • Kept local OpenCode service requests out of environment-configured proxies. (#​60441)
  • Replaced Claude Code’s misleading /login instruction with claude auth login. Thanks @Tarquinen. (#​60592)
TUI
Bug fixes
  • Preserved prompt cursor styles applied by plugins when themes or unrelated prompt state change. (#​60599)
  • Added missing right padding to edit and patch diffs. (#​60614)
  • Extended the vertical session-tab activity pulse across the full tab width. (#​60338)
Desktop
Improvements
  • Moved terminals to persistent session PTYs shared with the TUI and other windows, with restored scrollback, server-side renaming, and restart persistence. (#​60346)
  • Added guided Claude Agent installation, sign-in, connection checking, and recovery from Needs sign-in. (#​60603)
  • Added Choose base branch to the command palette and shortcuts, bound to ⌘⌥. or Ctrl+Alt+.. (#​60579)
  • Simplified the session location popover and made long paths easier to read. (#​60492)
Bug fixes
  • Kept terminal tab clicks and rename fields attached to the intended tab. (#​60645)
  • Listed matching commands before sessions in command-palette search. (#​60616)
  • Restored copying user messages from an open actions menu. (#​60576)
  • Reduced repeated work and allocations while streaming Markdown, especially in long sessions. (#​60549, #​60562, #​60577)
SDK
Improvements
  • Added client.experimental.artifacts.providers, list, create, get, update, delete, and view. (#​60351)
  • Extended client.experimental.persistentPty.update to rename terminals or clear a user title, and exposed userTitle plus persistent-pty.updated events. (#​60329)
Extensions
Improvements
  • Added ctx.experimental.artifact.transform(...) to Effect and Promise plugins for registering artifact providers, capabilities, prompts, and the default provider. (#​60351)

v2.2.3

Compare Source

Highlights
  • Use Claude Code in OpenCode: Install Claude Code, run claude auth login, then select Claude Agent in /connect to use your Claude Code login and models. (#​58782)
  • Faster Long Sessions in Desktop: Streaming replies and long conversations now do much less rendering work. (#​60489, #​60521, #​60513, #​60481)
  • Desktop Stability Fixes: Fixes side-panel tabs, repeated "Session not found" toasts, and Open file over HTTP. (#​60430, #​60436, #​60459, #​60462)
Breaking changes
TUI plugins require OpenTUI 0.8

@opencode/plugin now requires @opentui/core and @opentui/solid 0.8.0 or later. In OpenTUI 0.8, a ScrollBox's wrapper, viewport, content, and scrollbars are facade objects instead of renderables, and a custom RenderContext must implement clock and onAnimationTick. See the OpenTUI 0.8.0 release notes. (#​60385)

Managed policy: integration.use covers integrations only

integration.use now controls which integration accounts can be used, and the new mcp.use, skill.use, and plugin.use actions control MCP servers, skills, and plugins. Rules with the old mcp:, skill:, and plugin: resource prefixes are converted automatically, but a bare integration.use rule no longer applies to MCP servers, skills, or plugins. (#​60315)

Core
Improvements
  • Added the built-in Claude Agent provider. Install Claude Code, run claude auth login, and select Claude Agent in /connect; OPENCODE_CLAUDE_PATH can override the Claude executable. Thanks @Tarquinen. (#​58782)
  • Added Code Mode JavaScript checks to experimental schedules, including statically authorized tool calls, persistent state, and custom wake messages. (#​60140)
  • Added separate managed-policy actions for connecting to integrations and using integrations, MCP servers, skills, and plugins. (#​60315)
Bug fixes
  • Preserved plugin-provided model variants and delayed dynamic provider fallback until external SDK hooks have run. (#​60097, #​60380)
  • Preserved permission reasons and feedback in MCP failures, and made Code Mode failures match direct tool-call failures. (#​60102, #​60109)
  • Fixed invalid Code Mode schedule checks so creation fails immediately and existing invalid checks pause without repeated execution. (#​60349)
  • Removed a session’s persistent terminals when the session is deleted. (#​60322)
  • Kept nested tool progress from replacing the parent execute call rows. (#​60480)
TUI
Improvements
  • Added lazy loading for stored image references when experimental.media_blob is enabled. Images are downloaded only for previews, while undo, revert, fork, and prompt recall restore referenced attachments safely. (#​60116)
  • Added a distinct marker for the selected composer suggestion in the new designs. (#​60393)
Bug fixes
  • Fixed PHP syntax highlighting for code blocks without an opening <?php tag. (#​60359)
  • Preserved # in file-search paths unless it introduces a valid line range. (#​60336)
  • Kept the configured default cursor style after config reloads. (#​60302)
  • Matched the search cursor to the highlighted row when a selection dialog has no query. (#​60310)
Desktop
Improvements
  • Added a Desktop spellcheck toggle under Settings → General and system-language dictionary selection on Windows and Linux. (#​59129)
  • Added PageUp and PageDown timeline paging from the composer without moving the draft cursor or focus. (#​59426)
  • Added independently configurable question notifications and sounds under Settings → Notifications → Questions. Thanks @YuriNek0. (#​60358)
  • Added separate project and worktree actions to the new-session control. (#​60486)
  • Added one-click version copying in Settings → About. (#​52356)
  • Grouped added projects in workspace settings. (#​60221)
  • Made question-answer text selectable. (#​60372)
  • Adapted the session header to narrow timeline widths. (#​59512)
Bug fixes
  • Side-panel tabs close again and New tab launchers respond to clicks, fixing a 2.2.2 regression. (#​60430, #​60436)
  • Open file in the side panel works again in the web app over HTTP. (#​60462)
  • Kept question options and submit controls reachable on mobile. (#​60335)
  • Preserved simultaneous request notifications and inbox scroll position when opening sessions. (#​60378, #​60356)
  • Fixed consecutive dropped files so every file mention is inserted into the composer. (#​60463)
  • Kept the current @ and command-menu selection stable while results update under a stationary pointer. (#​59434, #​60368)
  • Fixed ⌘W side-panel closing and focus restoration when no closable tabs remain. (#​59002, #​60435)
  • Kept the mobile session drawer open while a session loads. (#​59427)
  • Restored maximized windows on their saved display and retained renderer permissions across shared-session windows. (#​60482, #​60458)
  • Fixed timeline growth, zoom-end scrolling, highlighting, and DOM-observer performance issues in long sessions. (#​60489, #​60481, #​60488, #​60513, #​60521)
  • Kept models with unknown release dates visible. Thanks @joe-ieta. (#​60496)
  • Fixed reasoning-capability detection for models that expose reasoning through variants or compatibility metadata. (#​60457)
  • Evicted deleted sessions after a 404 instead of retrying or showing repeated errors. (#​60459)
  • Fixed the macOS application icon and added the required folder-access description to the app bundle. (#​60020, #​60503)
SDK
Improvements
  • Preserved partial LLMResponse output on AIError.partial when generation, object generation, or a tool loop fails. (#​60477)
  • Unified Effect and Promise tool declarations around tool(...), with optional output schemas and executable or declaration-only tools. (#​60407)
  • Added typed OpenRouter debug, models, plugins, provider, and user options to the Responses route. (#​60044)
  • Added withMediaRefs, mediaHashFromUri, and MediaRequestOptions to the Promise client for experimental stored-media references. (#​60116)
Bug fixes
  • Matched the Promise AI client more closely to the Effect API and accepted typed tools in loops. (#​60465, #​60390)
  • Kept tools whose execute handler can throw available to the AI client. (#​60431)
  • Continued polling queued media generations when providers return unknown intermediate statuses. (#​59988)
  • Stopped sending an incompatible filename alongside file_url on OpenAI Responses requests. (#​60382)
Extensions
Improvements
  • Added persistent-terminal renaming to the process daemon, including capability discovery and user titles that override shell-provided titles until cleared. (#​60324)
Bug fixes

v2.2.2

Compare Source

Highlights
  • Image Generation by Default: When a connected provider supports image models, agents can now use experimental_image_generate without additional configuration. Set its preferred model through experimental.image_generate.model. (#​60258)
  • Faster Worktree Selection: On the new-session screen, click the current Git branch to open that project’s “Run session in” worktree picker directly. (#​60263)
  • Unified Quotes and Annotations: Timeline quotes, terminal quotes, and browser annotations now share a compact optional-comment editor, while source highlights remain attached to local drafts. (#​60164)
Core
Improvements
  • Enabled experimental_image_generate by default when an image-capable provider is connected. (#​60258)
  • Recorded the start time of each session’s latest execution.
Bug fixes
  • Rejected persistent terminal requests whose working directory no longer exists.
  • Preserved media when sessions are forked or imported.
  • Associated image-generation notices with the correct background job.
TUI
Bug fixes
  • Preserved captured attachments and their original source paths. Thanks @OpeOginni. (#​60222)
  • Prevented middle-truncated paths from overflowing at very narrow terminal widths.
  • Improved Go usage-limit messages with the reset time and account page link.
  • Correctly typed and displayed Go and ChatGPT usage-limit errors.
Desktop
Improvements
  • Made the Git branch on the new-session screen open the current project’s worktree picker directly. (#​60263)
  • Unified timeline quotes, terminal quotes, and browser annotations around one optional-comment workflow. (#​60164)
  • Restored classic question cards by default and added Settings → Experimental → New question UI for the redesigned keyboard-oriented dock. (#​59723)
  • Added a side-panel tab menu and kept close buttons visible when tabs overflow.
  • Moved user-message actions into a compact menu.
  • Redesigned the active todo pill to show the current task and concurrent work more clearly.
  • Added consistent styling for searchable dialogs and composer pills.
Bug fixes
  • Stopped queued prompts from dropping frames as their content grows.
  • Counted queued quotes and browser annotations as attachments.
  • Reported failures to persist composer attachments through the normal error UI.
  • Made Markdown fragment links scroll to the referenced heading.
  • Kept each tab’s timeline state when switching directories.
  • Ordered the inbox’s Working shelf by execution start time.
  • Fixed side-panel launchers and automatic closing when the final tab is removed.
  • Focused the matching navigation arrow while reviewing changes.
  • Preserved pending model labels only when a queued prompt actually changes models.
  • Added reset details, an account link, and a composer tray for Go usage limits.
SDK
Improvements
  • Added if and until inputs for client.experimental.schedule.create, plus schedule check results and output fields. (#​60137)
  • Exposed SessionInfo.time.busy for the latest execution’s start time.
  • Added optional source metadata to prompt file attachments.
Extensions
Improvements
  • Added optional title and subtitle fields to composer notes, source-relative quote positioning, and focus options for composer integrations. (#​60164)
Bug fixes
  • Corrected visible flowchart edges connected through Merman subgraphs.

v2.2.1

Compare Source

Highlights
  • Keep Working Toward a Goal: Run /goal <objective> in the TUI or Desktop to let the session continue until a reviewer confirms the objective is met. Use /goal pause, /goal resume, or /goal clear to control it. (#​59437)
  • Generate Images: Enable experimental.image_generate to let agents create or edit images with the new image_generate tool. You can optionally set its default model with experimental.image_generate.model. (#​59939, #​60096)
  • Inspect Background Shells: Click a running shell in the Desktop activity pill to see its live output and stop it without leaving the menu. (#​59496)
  • New Default Model Picker: Search favorites, recent models, providers, and variants from the redesigned model picker, which is now the default in Desktop. (#​59997)
Breaking changes
@opencode/ai provider removals and renames

These changes affect code that imports @opencode/ai directly. They don't change the CLI, Desktop, or the HTTP API.

  • The fal, Black Forest Labs, Replicate, and Stability providers are removed, along with their ./providers/fal, ./providers/black-forest-labs, ./providers/replicate, and ./providers/stability entry points. (#​59977)
  • Five legacy entry points are removed. Import the nested paths instead, which 2.2.0 already exports: ./providers/amazon-bedrock-mantle → ./providers/amazon-bedrock/mantle, and ./providers/google-vertex-chat, -interactions, -mistral, and -responses → ./providers/google-vertex/chat, /interactions, /mistral, and /responses. (#​59506)
  • Each provider's configure() input type is now named Config, for example Groq.LanguageModelOptions → Groq.Config, and model() settings are optional when every setting is optional. (#​59765)
Core
Improvements
  • Add /goal <objective> with pause, resume, and clear controls, plus automatic progress review until the objective is met. (#​59437)
  • Add opt-in scheduled prompts through /schedule, agent tools, and experimental.schedules. (#​59401, #​59457)
  • Add the opt-in image_generate tool for background image creation and editing, with automatic or configured model selection. (#​59939, #​60096)
  • Offer GPT Image 2 after Codex sign-in and add MiniMax and Meta Muse image generation support. (#​60085, #​59929, #​60081)
  • Add Responses API support for OpenRouter, DigitalOcean, and Venice, including freeform tools. (#​59991, #​59963)
  • Improve snapshot performance by coalescing captures and avoiding repeated ignore-file work. (#​59419)
Bug fixes
  • Preserve more context headroom when fitting tool output into the context window. (#​59934)
  • Retry provider throttling correctly instead of reporting it as context overflow. (#​59649)
  • Send image-edit references and image sizes in the formats expected by OpenRouter, Google, and Vercel Grok. (#​60067, #​59927)
  • Keep credential metadata and prompt-cache settings out of model settings and variants. (#​60057, #​59500)
  • Keep Git snapshots working in repositories that use a split index. (#​59417)
  • Expose Console web search only when the workspace enables it. (#​59592)
  • Improve Code Mode diagnostics for parse errors, stalled awaits, and promise-like search results. (#​59834, #​59749, #​59981)
TUI
Improvements
  • Show /goal status below the prompt and provide a dialog for pausing, resuming, or clearing it. (#​59437)
Bug fixes
  • Show execution failures that occur before the first model step. (#​60079)
  • Keep the activity spinner visible while a continued subagent runs. (#​59950)
  • Send pasted image and PDF paths correctly when connected to a local server. (#​59833)
  • Improve spacing in an empty /usage dialog. Thanks @Tarquinen. (#​59918)
Desktop
Improvements
  • Add /reload to reload configuration without restarting. (#​59887)
  • Make the redesigned searchable model picker the default, with dedicated Favorites and Recent sections and keyboard-accessible provider controls. (#​59997)
  • Show live output and a Stop action when you select a background shell from the activity pill. (#​59496)
  • Show /goal state and actions in a composer pill. (#​59437)
  • Redesign the integrations dialog and always include OpenCode free models in the model picker. (#​59976, #​60047)
  • Add project, worktree, open-in-app, and terminal actions to the session location menu. (#​59607)
  • Refine project and worktree selection, command search, prompt-history focus, composer model labels, and artifact preview controls. (#​59397, #​59604, #​59626, #​59735, #​59657)
  • Highlight quoted timeline content while you write its first comment. (#​59286)
  • Keep draft attachment bytes local when using experimental media URIs. (#​59104)
Bug fixes
  • Follow each plugin server’s configured endpoint when connecting to its event stream. (#​60087)
  • Treat the reachable scroll boundary as the end when Desktop zoom is active. (#​60034)
  • Prevent shell text from showing through copy buttons and avoid restyling the transcript when closing a side panel. (#​59901, #​59878)
  • Keep rendering malformed tool metadata instead of crashing the timeline. (#​59736)
  • Make dropdowns open immediately and keep the new-session location shortcut working after tooltip interactions. (#​59268, #​59680)
  • Remove edge halos from macOS application icons. (#​59900)
SDK
Improvements
  • Add client.experimental.schedule.{create,list,get,pause,resume,delete} for managing scheduled prompts. (#​59457)
  • Group experimental generated-client methods under client.experimental; previous locations remain as deprecated aliases until the next minor release. (#​59072)
  • Expose compaction through the Promise AI client. (#​59987)
  • Add freeform tool support and Responses routes for OpenRouter, DigitalOcean, and Venice. (#​59963, #​59991)
Extensions
Improvements
  • Add the experimental experimental.idle Session hook so plugins can continue work before a session goes idle. (#​59437)
  • Let Code Mode extension globals return Effects and declare required services. (#​59948)
  • Add custom composer-pill popovers for GUI plugins. (#​59437)

v2.2.0

Compare Source

Highlights
  • Create, install and share Desktop plugins (experimental) (#​55246, #​59469, #​59489)
  • Refreshed the desktop app experience (#​56898, #​58865, #​55838, #​57962)
  • Add experimental image and decision generation APIs to plugins and sdk, allowing image generation or decision model (think typesafe, clef, etc) workflows. (#​59190, #​59380, #​58758)
  • Plugins can now attach and update keyed session instructions with ctx.session.instructions.entry.put/list/remove. Instead of editing the system prompt and busting the prompt cache, each change is added as a small update at the next step. The entries also survive compaction and reverts, and they don't start an extra model turn. (#​56550)
  • Restored the Todo tool in desktop via opt-in (#​59092)
  • Add configurable prompt cache TTLs per provider/model (#​59157)
Breaking changes
@opencode/ai root is now the Promise API

@opencode/ai now works like @opencode/sdk and @opencode/client: the package root exports the Promise API, and the Effect API moved to @opencode/ai/effect. @opencode/ai/promise is removed, and the wildcard subpath export is replaced with an explicit list of provider and protocol entry points. (#​58847, #​59183)

-import { AI } from "@&#8203;opencode/ai/promise"
-import { LLM } from "@&#8203;opencode/ai"
+import { AI } from "@&#8203;opencode/ai"
+import { LLM } from "@&#8203;opencode/ai/effect"
The OpenCode GitHub Action is removed

The OpenCode GitHub Action is no longer published. Remove it from your workflows. (#​59032)

TUI plugins require OpenTUI 0.7

@opencode/plugin now requires @opentui/core and @opentui/solid 0.7.0, up from 0.6.8 or later. Plugins that depend on OpenTUI 0.6 fail to install until they upgrade. In OpenTUI 0.7, custom renderables read their hooks from their class at construction: assign renderBefore, renderAfter, and onLifecyclePass in the constructor instead of as class fields, call refreshHooks() after adding a hook by reflection, and replace defineNativeIntegration() with a static nativeIntegration declaration. See the OpenTUI 0.7.0 release notes. (#​59295)

Core
Improvements
  • Add experimental image and decision generation API endpoints. (#​59190)
  • Add image and decision entrypoints for catalog providers. (#​59380)
  • Improve integration rebuild performance. (#​59402)
  • Let custom model configuration set a model type. (#​59388)
  • Let model-list API requests filter by type. (#​59355)
  • Make external-directory permission checks use the project's filesystem. (#​59089)
  • Reduce memory use when code search finds very large lines. (#​59205)
  • Let plugins filter event subscriptions by type. (#​58864)
  • Add configurable prompt-cache TTLs. (#​59157)
  • Move image resizing off the main process and release idle image memory. (#​58820)
  • Reduce repeated session-history loading during a step. (#​59091)
  • Add an experimental API for session media and opt-in media URI support. (#​59103)
  • Add the machine hostname to /api/info. (#​59090)
  • Add experimental content-addressed blob storage for session media behind experimental.media_blob. (#​58656, #​58741)
  • Start session history from the latest completed compaction. (#​59020)
  • Reduce work encoding durable event payloads that are not persisted. (#​58923)
  • Expose MCP server titles from serverInfo. (#​58950)
  • Apply OpenCode Console workspace configuration as a configuration layer. (#​57703)
  • Replace experimental evaluations with Decision APIs in the AI pkg, including OpenAI Decisions, System One, and Cloudflare Run models. (#​58758, #​58382, #​58379, #​58381)
  • Convert tool schemas once to speed up tool execution. (#​58798, #​58848)
  • Make Git project discovery faster while recognizing repository changes. (#​58616)
  • Show OpenCode Console budget limits and Go usage where they block you. (#​58694, #​58714)
  • Record provider-reported session costs. (#​58562)
  • Find Git more reliably on macOS. (#​58602)
  • Resolve model details once per prompt step. (#​58601)
  • Let plugins manage session instruction entries for subsequent model requests. (#​56550)
  • Add GPT-6.1 Terra and GPT-6.1 Terra Fast to Sign in with ChatGPT. (#​59359)
Bug fixes
  • Wait for plugins to finish reloading before each session step and tool call. Thanks @​kernel-oops and @​Tarquinen. (#​51133)
  • Size session compaction from the provider's reported token count to preserve usable context. (#​59441)
  • Skip unavailable models.dev API entrypoints instead of failing model catalog updates. (#​59475)
  • Return a server error with a reference ID when the server cannot encode a response. (#​59459)
  • Avoid warming a session while its model request is running. (#​59325)
  • Preserve legacy MCP codemode settings during migration. Thanks @​tneemo. (#​59126)
  • Use the correct Vertex AI endpoints for the eu and us multi-regions. (#​59335)
  • Accept Databricks hosts that include http:// or https://. (#​59334)
  • Keep files intact when patch edits move a file onto itself. (#​59197)
  • Preserve literal $0 and $ARGUMENTS text in custom command input. (#​59198)
  • Close project locations concurrently during shutdown. (#​59326)
  • Treat equivalent directory paths, including trailing slashes, as one location. (#​59327)
  • Send valid tool schemas to Kimi for tuple, default, and keyword-like arguments. (#​59207)
  • Expose Code Mode MCP tools directly when the execute permission is denied. (#​59315)
  • Coordinate OAuth credential refreshes across locations and processes. (#​54023)
  • List and search remote Git branches correctly without bare remote names. (#​58597)
  • Detect AVIF, HEIC/HEIF, QuickTime, and M4A attachments correctly. (#​58480, #​58886, #​58887)
  • Reduce memory retained by long-running tool calls and unchanged hooked model requests. (#​58448, #​58449)
  • Load session diffs without reading every message, improving performance for large sessions. (#​57686)
  • Keep active locations alive when session events use an equivalent directory path. (#​56259)
  • Reload compatibility skills only when their own sources change. (#​59086)
  • Avoid publishing redundant catalog updates when configuration is unchanged. (#​56267)
  • Avoid booting idle or deleted project locations while polling session forms. (#​59083)
  • Wait for plugins before returning agent and provider lists, preventing incomplete catalogs. (#​59082)
  • Manage sessions and instruction entries after their project directory is deleted. (#​58997)
  • Start fuzzy file search only on first use, reducing project startup work. (#​58959)
  • Exit after 10 seconds when shutdown hangs and report pending work. (#​58817)
  • Keep the models catalog fresh without redownloading it when unchanged. (#​58813)
  • Send xAI Responses top_k settings and stop sending unsupported penalties. (#​58868)
  • Honor shared parallel tool-call and service-tier settings for Groq. (#​58871)
  • Retry throttled requests instead of misreporting them as context overflows. (#​58866)
  • Preserve streamed text and reasoning that arrive after an OpenAI Chat finish reason. (#​58851)
  • Classify AWS REST JSON errors consistently regardless of where the error type appears. (#​58770)
  • Validate large base64 attachments without slowdowns or hangs. (#​58811)
  • Retry Bedrock throttling errors as rate limits instead of context overflows. Thanks @​Irish-Joseph. (#​58759)
  • Keep working MCP tools available when a server returns malformed ones. (#​58350)
  • Match absolute instruction-file globs across directories. Thanks @​heimoshuiyu. (#​58749)
  • Use configured provider regions in Bedrock endpoint URLs. (#​58538)
  • Handle unknown OpenAI Chat finish reasons without failing the response. (#​58608)
  • Avoid unnecessary Azure model updates when endpoint transforms make no change. (#​58600)
  • Prefer JPEG for opaque browser screenshots, reducing attachment size. (#​56990)
  • Detect generated image types from their bytes when compatible hosts omit the format. (#​58475)
  • Keep project services alive while sessions run long tools or wait for input, with a 24-hour inactivity cap. (#​57274)
  • Prevent unrelated configuration changes and compatibility-skill update bursts from repeatedly reloading skills. (#​56260)
TUI
Improvements
  • Reduce CPU use while animated session-tab pulses are visible. (#​59235)
  • List OpenCode Console before OpenCode Go in the integration picker. (#​59107)
  • Add /usage, model-picker, prompt, sidebar, warning, and error details for OpenCode Console usage limits. (#​58731)
  • Make CLI service registration more reliable when concurrent processes update its files. (#​59105)
Bug fixes
  • Return opencode run --format json server connection errors as JSON. Thanks @​andreivince. (#​59366)
  • Preserve pasted prompt text when copying it back out. (#​59209)
  • Reliably update the background service on Windows when its files are briefly locked. (#​59105)
  • Keep the background service state directory out of tool shells and identify processes blocking its port. (#​58815)
  • Refresh Git branch details after switching branches. (#​58982)
  • Keep the TUI running when a plugin slot or route renders bare text. Thanks @​anmol0b and @​Tarquinen. (#​58144)
  • Accept --server and --standalone anywhere in supported CLI commands. (#​58505)
  • Release closed and background session transcripts to prevent memory growth. (#​58434, #​57025)
  • Connect remote access tunnels through HTTP proxies. (#​58464)
  • Keep development builds on a separate server, database, and port from released builds. (#​58331)
Desktop
Improvements
  • Manage desktop plugins from Settings › Extensions › Plugins. (#​59489)
  • Add a persistent desktop zoom setting. (#​59277)
  • Capture heap snapshots in desktop debug builds on SIGUSR2 when explicitly enabled. (#​58317)
  • Show the open session title in the browser tab. (#​59131)
  • Show todowrite tasks above the composer. (#​59092)
  • Load session history once when returning to a session tab. (#​59166)
  • Answer questions with number keys and show multi-select choices as checkboxes. (#​58595)
  • Add an always-available Add project action to the location picker. (#​57962)
  • Let you rewind or fork from any message. (#​58865)
  • Let you edit line comments and copy shell output. (#​58970, #​58974)
  • Render Mermaid diagrams in messages much faster, sized to fit the column. (#​57483, #​57004)
  • Add opt-in memory logging and remote debugging for desktop debug builds. (#​58315)
  • Show web sources for a turn behind the experimental Sources setting. (#​58307)
  • Jump from a completed shell notification to its shell output. (#​58663)
  • Keep the composer usable while the voice-call panel floats. (#​58587)
  • Use the Soft Radar activity spinner by default and provide experimental variations. (#​58010, #​57903)
  • Add an experimental new model picker. (#​58413)
  • Add experimental Console voice calls in Desktop beta. (#​58249)
  • Add a timeline width setting. (#​58308)
  • Improve command, session, and model search lists with sticky sections. (#​58222)
  • Add search to recently closed sessions. (#​55721)
  • Open extension configuration and skills in side tabs. (#​58023)
  • Open session extension lists on hover and follow keyboard navigation. (#​58021)
  • Add video previews with zoom controls. (#​57924)
  • Add generated project avatars and an experimental avatar-style switcher. (#​57871, #​57930)
  • Add recently closed side tabs to the new-tab view. (#​57863)
  • Add a searchable prompt history picker. (#​57716)
  • Find settings from the command palette. (#​57651)
  • Group queued and steered messages, and group consecutive user messages under one metadata line. (#​57561, #​57552)
  • Improve file-tree and folder-picker performance. (#​57573, #​57557)
  • Keep branch search results visible while new results load. (#​57531)
  • Add a session-details menu to the session header. (#​57528)
  • Show a subagent's model, status, and elapsed time in its composer area. (#​57473)
  • Let you delete sessions from tab menus and rename the current session with Ctrl+R. (#​57453, #​57423)
  • Restore session summary and project menu actions. (#​57781)
  • Let you place the background-activity capsule at the left, center, right, or hide it. (#​57962)
  • Show project and worktree details in the session header and location menu. (#​57962)
  • Add text-rendering controls to the debug bar. (#​57326)
  • Show elapsed time for background work. (#​57218)
  • Improve streamed Markdown rendering reliability and performance. (#​57016)
  • Split the side pane and add a draggable bottom pane with tabs. (#​56960)
  • Add consistent MCP sign-in and error-status links across connection, session, and Settings views. (#​57962)
  • Open multiple file tabs at once and open side-panel content in tabs. (#​57182, #​57094)
  • Move running work to the background when you steer a session. (#​57142)
  • Let the timeline scroll beneath the composer while keeping its content visible. (#​57141)
  • Simplify Settings into a flat list with a per-server switcher. (#​57962)
  • Quote selected timeline or terminal text into the composer. (#​55664, #​58420)
  • Search sessions across online servers from the title bar. (#​57962)
  • Add a Reduce motion appearance setting. (#​57103)
  • Show projects from all servers in the new-session location picker. (#​57962)
  • Pick models from a searchable dialog with favorites and recent models. (#​55838)
  • Attach the new-session location picker below the composer. (#​56952)
  • Open image previews directly from message and composer thumbnails. (#​56896)
  • Start new worktrees from the current branch in the simplified location picker. (#​57962)
  • Manage running subagents and shells from the composer activity capsule. (#​57962)
  • Sync projects from each server and prioritize projects you use on Home. (#​57962)
  • Choose between Focus and Pro interface layouts in Settings. (#​56898)
  • Open terminals as side-panel tabs. (#​57962)
  • Choose a project and worktree from one new-session location dialog. (#​57962)
  • Show subagents as separate timeline rows by default. (#​57962)
  • Add a sidebar toggle for vertical tabs. (#​55646)
  • Add ⌘1–9 and ⇧⌘[ / ⇧⌘] shortcuts for side-panel tabs. (#​57301)
  • Let you choose a new directory or worktree when a session location is unavailable. (#​56087)
  • Refresh the Manage models, MCP, and fork dialogs with compact searchable lists. (#​56029, #​56028)
  • Install future Windows desktop updates in about a second. (#​55933)
  • Show individual Code Mode tool calls in Execute rows. (#​55649)
  • Add a Commentary timeline category and display setting. (#​55248)
  • Support @ links to other sessions in messages. (#​57480)
  • Polish spacing, alignment, borders, and typography across the session header, titlebar, composer, file tree, browser pane, timeline, and Settings. (#​58195, #​57776, #​57570, #​57782, #​57336, #​57363, #​58100, #​58979)
Bug fixes
  • Prevent duplicate tab shortcuts and remove uninstalled plugin commands from Shortcuts. (#​59499)
  • Keep todo items from shrinking in the todo panel. (#​59430)
  • Keep question-dock answers and controls positioned correctly when changing questions. (#​59383)
  • Keep the @​ menu open while it searches. (#​59425)
  • Finish quitting after Cmd+Q on macOS. Thanks @​anmol0b. (#​59144)
  • Toggle MCP servers for the current session location from Settings. (#​59132)
  • Deliver steering messages when an earlier move was missed. (#​58984)
  • Keep session and command-palette search results stable while searching. (#​58908, #​57479)
  • Restrict Search projects to the project list. (#​58978)
  • Let custom Close tab shortcuts close terminal and browser tabs. (#​58945)
  • Prevent live status rows from jumping or leaving gaps above the composer. (#​58691, #​58697)
  • Keep browser tabs still behind open dialogs. (#​58958)
  • Keep side-panel content and browser pages visible while the sidebar or panel moves. (#​58202, #​58185)
  • Render session diffs reliably.
  • Keep keyboard focus in terminals, side panels, dialogs, and the composer when appropriate. (#​57980, #​57297, #​56273)
  • Preserve empty browser and side-panel tabs instead of closing them automatically. (#​58440)
  • Reduce desktop memory use by releasing closed transcripts, discarded tool-result images, retained UI batches, and aborted timeline work. (#​57025, #​58434, #​58427, #​58560, #​58447, #​58439, #​58432)
  • Restore horizontal scrolling and sticky change badges in the file tree. (#​58117)
  • Show live Thinking for reasoning-only turns. (#​58299)
  • Stop loading older history after completing the initially visible turn and prioritize the first transcript page. (#​57700, #​57741)
  • Keep Home project and session lists reliable during refreshes.
  • Keep deleted sessions from reappearing on Home. (#​55349)
  • Find sessions immediately in @​ mentions, including multi-word titles. (#​57683)
  • Keep queued messages editable while changes sync with the server. (#​57569)
  • Open image and video URLs in the browser pane. (#​57562)
  • Mark submitted generated forms as complete and send each response only once. (#​57537)
  • Improve file-view performance with reused views, virtualized medium files, and cached diffs. (#​57551)
  • Group untracked folders into one expandable review row. (#​57527)
  • Let you paste into the composer from the session view. (#​57545)
  • Recover failed beta background servers and preserve their required CLI versions. (#​57321)
  • Restore branch selection when starting a new worktree session. (#​57962)
  • Keep the running server available while beta updates install. (#​57309)
  • Make links in user messages, shell output, and Code Mode output clickable. (#​57211, #​57303)
  • Make Check for Updates always report its result. (#​57296)
  • Reopen the last closed side-panel tab with ⇧⌘T and open a browser tab with ⌘T. (#​57269, #​57156)
  • Keep OpenCode keyboard shortcuts working in the browser pane. (#​56697, #​55240)
  • Preview image attachments supplied by file path. (#​57249)
  • Apply configured code and UI fonts consistently. (#​57242)
  • Keep activity and busy indicators steady while switching sessions. (#​57196)
  • Reserve ⇧⌘W for closing the window so ⌘W does not. (#​57150)
  • Make image preview transitions resize smoothly without clipping or blocking clicks. (#​56997, #​57324)
  • Keep in-session search reliable alongside titlebar session search. (#​57962)
  • Return focus to the prompt after keyboard model selection.
  • Open searchable pickers at the top with search focused. (#​57962)
  • Keep tables visible beneath sticky headers. (#​57050)
  • Fit provider connection steps without shifting a dialog's top edge. (#​57006)
  • Give unavailable-server panels clear error styling. (#​57003)
  • Make mouse-wheel and keyboard scrolling respond immediately on Linux. (#​57962)
  • Keep long Execute tool code contained and show successful Code Mode output. (#​56915)
  • Focus the most useful control when dialogs open, including Cancel in delete confirmations. (#​57453)
  • Install Windows beta, stable, and nightly builds into separate directories. (#​56904)
  • Keep session tabs recoverable when their server becomes unreachable. (#​56248)
  • Keep the composer model's provider and session-model resolution consistent with the TUI. (#​56225)
  • Reread open files without resetting their scroll position. (#​55899)
  • Hide agent names when agents are disabled. (#​57525)
  • Polish sidebar, panel, composer, activity, question-dock, loading, and motion behavior across light and dark themes. (#​57449, #​58013, #​58577, #​57944, #​58052, #​58494, #​58073, #​58114)
  • Polish hover states, cursors, tooltips, focus rings, scrollbars, and transitions across desktop controls. (#​57653, #​57787, #​57304, #​58971, #​57221, #​57192, #​58575, #​58580)
SDK
Improvements
  • Add GUI plugin APIs for toasts, dialogs, notifications, tabs, composer controls, and custom UI. (#​59469)
Bug fixes
  • Fix generated Promise client input types for TypeScript consumers. (#​58875)
  • Let SDK clients discard inline tool-result file payloads to reduce memory use. (#​59101)
  • Avoid unnecessary catalog refreshes for locations an SDK client has not loaded. (#​55237, #​59099)
  • Restore running sessions created while an SDK client was disconnected. (#​53012)
  • Release omitted tool-image payloads from memory instead of retaining their base64 data. (#​58560)

v1.19.6

Compare Source

Desktop

Improvements
  • 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.

Core

Bugfixes
  • Sessions with many images no longer send oversized requests. When the images in a session's history pass 25 MiB, the oldest are replaced with a placeholder.
  • A provider error for a request body that is too large now starts compaction and a retry instead of failing the turn.

v1.19.5

Compare Source

Core

Bugfixes
  • Failed TUI worker requests now return an error instead of leaving the caller hanging. (@​Nowaker)

Thank you to 1 community contributor:

v1.19.4

Compare Source

Core

Improvements
  • Upgraded the bundled Bun runtime to 1.4.4, which includes security fixes for Brotli, TLS, HTTP/1.1, HTTP/2, HTTP/3, WebSocket, and fetch, and updates root certificates to NSS 3.131.1.

v1.19.3

Compare Source

Core

Improvements
  • Configure model reasoning options to generate reasoning variants, replacing catalog variants while preserving your configured variant overrides.

v1.19.2

Compare Source

Core

Bugfixes
  • OpenCode 1 now stays on the 1.x release line: update checks use only the npm opencode-ai latest version, so 1.x installs are never offered a 2.x build as a regular update.
  • Upgrading to OpenCode 2 remains a separate, explicit choice through the 2.0 offer in /update or opencode upgrade --major.
  • Fix upgrades for installs managed by yarn.
  • Skip 1.x updates for Homebrew Core installs, which now track OpenCode 2, and check tap and Chocolatey availability before offering an update.
  • The install script refuses to install 2.x versions.

v1.19.1

Compare Source

Core

Bugfixes
  • Session sharing has been discontinued. Existing share links and session-sharing commands are no longer available, and importing sessions from share URLs is unsupported.

v1.19.0

Compare Source

Core

Improvements
  • Run opencode upgrade --major to upgrade to OpenCode 2.
Bugfixes
  • Allow the OpenAI ultrafast service tier.
  • Validate PTY connection origins and tickets before checking whether a PTY exists.

TUI

Improvements
  • Use /update to install OpenCode updates or upgrade to OpenCode 2; updates are no longer installed automatically.

Thank you to 1 community contributor:

  • @​dc85:
    • docs(web): add Exo Free to Zen docs (#​53622)
    • fix(stats): attribute exo usage to an unknown provider (#​53621)
    • docs(web): remove Fledge Alpha Free from Zen docs (#​53984)

v1.18.35

Compare Source

Core

Improvements
  • Added canonical redirects and JSON and Markdown data formats for agent-readable stats.
Bugfixes
  • xAI tool results now include supported images, while unsupported image formats are skipped. (@​Jaaneek)

Thank you to 3 community contributors:


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot. The local configuration can be found in the SI Renovate Bot repository.

This PR contains the following updates: | Package | Update | Change | OpenSSF | |---|---|---|---| | [anomalyco/opencode](https://github.com/anomalyco/opencode) | major | `1.18.34` → `2.4.2` | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/anomalyco/opencode/badge)](https://securityscorecards.dev/viewer/?uri=github.com/anomalyco/opencode) | --- ### Release Notes <details> <summary>anomalyco/opencode</summary> ### [`v2.4.2`](https://github.com/anomalyco/opencode/releases/tag/v2.4.2) [Compare Source](https://github.com/anomalyco/opencode/compare/v2.4.1...v2.4.2) ##### Highlights - **GPT-6.2 System Prompt**: GPT-6.2 Sol and Astra, and the `gpt-latest` aliases, use a system prompt written for GPT-6.2. ([#&#8203;66297](https://github.com/anomalyco/opencode/pull/66297)) - **OpenCode Go Onboarding Fix**: After you connect OpenCode, the model picker lists OpenCode Go first. ([#&#8203;66363](https://github.com/anomalyco/opencode/pull/66363)) - **Esc Takes Back Your Last Message**: If the composer is empty, stopping a response with Esc before the model has written anything or called a tool removes your message and puts it back in the composer, images included, so you can edit it and send again. ([#&#8203;65505](https://github.com/anomalyco/opencode/pull/65505)) ##### Upgrade notes - **"Always allow" for a web fetch allows that site only.** It used to allow every URL. Approvals saved by earlier versions stay as they were. ([#&#8203;66000](https://github.com/anomalyco/opencode/pull/66000)) - **Automations keep running after a failed run.** A failed run is recorded and the next one runs on schedule. Automations still pause when the session that created them or their directory is gone, or when their setup is no longer valid. A shell command in an automation's code that runs past its timeout is now stopped and fails the call instead of moving to the background. ([#&#8203;66422](https://github.com/anomalyco/opencode/pull/66422), [#&#8203;65626](https://github.com/anomalyco/opencode/pull/65626)) - **Sending to an archived session unarchives it.** This applies to messages, commands, skills and shell commands, including ones sent through the API. ([#&#8203;66348](https://github.com/anomalyco/opencode/pull/66348)) - **Plan mode's rules are in the system prompt.** Sessions already in Plan mode get the rules once more after upgrading. ([#&#8203;63669](https://github.com/anomalyco/opencode/pull/63669)) ##### Core ##### Improvements - Added a system prompt for GPT-6.2. ([#&#8203;66297](https://github.com/anomalyco/opencode/pull/66297)) - `generate_image` and `generate_video` run inside Code Mode instead of as top-level tools, so their definitions no longer add about 700 tokens to every request. ([#&#8203;66465](https://github.com/anomalyco/opencode/pull/66465)) - Moving a session also moves its subagents. ([#&#8203;66215](https://github.com/anomalyco/opencode/pull/66215)) - The `report` skill checks the docs, searches for duplicate issues and includes the relevant log lines. ([#&#8203;66290](https://github.com/anomalyco/opencode/pull/66290)) - Cost estimates for service tiers that list their own prices use those prices, including their long-context rates. ([#&#8203;65861](https://github.com/anomalyco/opencode/pull/65861), [#&#8203;65984](https://github.com/anomalyco/opencode/pull/65984)) ##### Bug fixes - Fixed sign-in to MCP servers whose configured URL has a query string, such as the AWS MCP Server. ([#&#8203;66036](https://github.com/anomalyco/opencode/pull/66036)) - Fixed Plan mode re-adding its reminder after every compaction, which could keep a session running in a loop. ([#&#8203;63669](https://github.com/anomalyco/opencode/pull/63669)) - Fixed tools staying visible to the model when a blanket deny was followed by narrower denies. ([#&#8203;65899](https://github.com/anomalyco/opencode/pull/65899)) - Fixed PDFs with bytes before the `%PDF-` header not being read as PDFs. ([#&#8203;65967](https://github.com/anomalyco/opencode/pull/65967)) - Fixed branches whose names end in `/HEAD` missing from the branch list. ([#&#8203;65904](https://github.com/anomalyco/opencode/pull/65904)) - Fixed files added by a patch losing a trailing blank line. ([#&#8203;66378](https://github.com/anomalyco/opencode/pull/66378)) - Fixed moving a session to a `~\` path on Windows. ([#&#8203;66269](https://github.com/anomalyco/opencode/pull/66269)) - Fixed OpenAI custom tool calls failing as malformed on providers that end them only with the completed response. ([#&#8203;65849](https://github.com/anomalyco/opencode/pull/65849)) ##### TUI ##### Improvements - The model picker stays responsive with large catalogs, such as OpenRouter's. ([#&#8203;66370](https://github.com/anomalyco/opencode/pull/66370)) - The goal dialog scrolls when the goal is long. ([#&#8203;65906](https://github.com/anomalyco/opencode/pull/65906)) - Updated OpenTUI to 0.9.9. ([#&#8203;65919](https://github.com/anomalyco/opencode/pull/65919)) ##### Bug fixes - Fixed `/models` showing only free models when the TUI opened a session in another directory. ([#&#8203;66424](https://github.com/anomalyco/opencode/pull/66424)) - Fixed type-to-filter in Message Actions. ([#&#8203;65903](https://github.com/anomalyco/opencode/pull/65903)) - Fixed removing `theme` from config not switching back to the default theme. ([#&#8203;65925](https://github.com/anomalyco/opencode/pull/65925)) - Fixed quick successive settings changes overwriting each other. ([#&#8203;65761](https://github.com/anomalyco/opencode/pull/65761)) - Fixed the session list losing the selected row after a deletion. ([#&#8203;65855](https://github.com/anomalyco/opencode/pull/65855)) ##### Desktop ##### Improvements - On macOS and Windows, desktop updates download only the parts of the app that changed instead of the full installer again. ([#&#8203;66042](https://github.com/anomalyco/opencode/pull/66042)) - Enter 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. ([#&#8203;66169](https://github.com/anomalyco/opencode/pull/66169)) - To move the file tree to the right in the Files and Review panels, right-click its header and choose **Sidebar position → Right**. ([#&#8203;66012](https://github.com/anomalyco/opencode/pull/66012)) - `/rename` with no title generates a new title, and `/rename <title>` sets one. ([#&#8203;66396](https://github.com/anomalyco/opencode/pull/66396)) - Search sessions also finds archived sessions and shows them dimmed. ([#&#8203;66356](https://github.com/anomalyco/opencode/pull/66356)) - In 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. ([#&#8203;65961](https://github.com/anomalyco/opencode/pull/65961), [#&#8203;66327](https://github.com/anomalyco/opencode/pull/66327)) - Cmd+Shift+S (Ctrl+Shift+S on Windows and Linux) unarchives the open session when it's archived. ([#&#8203;66327](https://github.com/anomalyco/opencode/pull/66327)) - Custom answers to questions can span several lines. ([#&#8203;66169](https://github.com/anomalyco/opencode/pull/66169)) - Subagent sessions show their parent session's side panel tabs. ([#&#8203;65957](https://github.com/anomalyco/opencode/pull/65957)) - Sessions in open tabs keep browser access after a restart or when an automation wakes them. ([#&#8203;65969](https://github.com/anomalyco/opencode/pull/65969)) ##### Bug fixes - Fixed older messages you had loaded disappearing after a reconnect. ([#&#8203;66035](https://github.com/anomalyco/opencode/pull/66035)) - Fixed the timeline jumping while older history loads or a focused row scrolls out of view, and made scrolling in long sessions smoother. ([#&#8203;66014](https://github.com/anomalyco/opencode/pull/66014), [#&#8203;65921](https://github.com/anomalyco/opencode/pull/65921), [#&#8203;66034](https://github.com/anomalyco/opencode/pull/66034), [#&#8203;65631](https://github.com/anomalyco/opencode/pull/65631)) - Fixed the background indicator flashing "1 shell" for each shell command a script runs. ([#&#8203;66402](https://github.com/anomalyco/opencode/pull/66402)) - Fixed screen readers skipping a reply while it's being written. ([#&#8203;66120](https://github.com/anomalyco/opencode/pull/66120)) - Fixed the app menu missing from the side tabs header on Linux. ([#&#8203;65912](https://github.com/anomalyco/opencode/pull/65912)) - Fixed the model list jumping when you unfavorite a model with the mouse. ([#&#8203;65649](https://github.com/anomalyco/opencode/pull/65649)) ##### SDK - `@opencode/sdk/workerd`: forward your Durable Object's `alarm()` to `opencode.alarm()` so idle remote workspaces suspend. ([#&#8203;66183](https://github.com/anomalyco/opencode/pull/66183), [#&#8203;66240](https://github.com/anomalyco/opencode/pull/66240)) ##### Extensions - Promise plugin API calls honor `signal`. Aborting rejects the call. ([#&#8203;65980](https://github.com/anomalyco/opencode/pull/65980)) - Plugins can give an agent `instructions` that apply while that agent is selected, without busting the prompt cache. Switching agents or changing the instructions mid-session sends an update instead of rewriting the system prompt. ([#&#8203;63669](https://github.com/anomalyco/opencode/pull/63669)) ### [`v2.4.1`](https://github.com/anomalyco/opencode/blob/HEAD/CHANGELOG.md#v241--2026-11-23) [Compare Source](https://github.com/anomalyco/opencode/compare/v2.4.0...v2.4.1) ##### Highlights - **macOS 12 Session Fix**: OpenCode can save assistant messages again on the older SQLite version included with macOS 12. ([#&#8203;65771](https://github.com/anomalyco/opencode/pull/65771)) - **Config-Only Providers Show Their Models**: Providers you set up only in your config, such as Ollama, now show their models in `/models` without a `/connect` login. ([#&#8203;65793](https://github.com/anomalyco/opencode/pull/65793)) - **Unread `/btw` Answers**: When a side question finishes behind another side-panel tab, its tab shows an unread dot until you open it. ([#&#8203;65821](https://github.com/anomalyco/opencode/pull/65821)) ##### Core ##### Improvements - With `experimental.model_speeds` enabled, model service tiers are exposed as remembered speeds instead of separate model-picker entries. ([#&#8203;65749](https://github.com/anomalyco/opencode/pull/65749)) ##### Bug fixes - Fixed assistant messages failing to save on macOS 12 because its system SQLite does not support the JSON operator used in v2.4.0. ([#&#8203;65771](https://github.com/anomalyco/opencode/pull/65771)) - Fixed compaction retaining more recent history than `keep.tokens`, including when a single newest message already exceeds the allowance. ([#&#8203;65768](https://github.com/anomalyco/opencode/pull/65768)) - Fixed occasional extra cache cost in long goal sessions after a compaction. ([#&#8203;65788](https://github.com/anomalyco/opencode/pull/65788)) ##### TUI ##### Improvements - With `experimental.model_speeds` enabled, `/speed` and `/fast` list the current model’s service tiers and relative prices. The `speed.list` and `speed.cycle` keybinds are available without default bindings. ([#&#8203;65749](https://github.com/anomalyco/opencode/pull/65749)) ##### Bug fixes - Fixed `/models` hiding models from config-only providers such as Ollama when no `/connect` login exists. ([#&#8203;65793](https://github.com/anomalyco/opencode/pull/65793)) ##### Desktop ##### Improvements - With `experimental.model_speeds` enabled, models with service tiers have a speed dropdown beside the variant selector; `/speed` cycles through the available speeds. ([#&#8203;65749](https://github.com/anomalyco/opencode/pull/65749)) - Layout choices in Settings now use consistent navigation-card previews and accent styling. ([#&#8203;65757](https://github.com/anomalyco/opencode/pull/65757), [#&#8203;65800](https://github.com/anomalyco/opencode/pull/65800)) ##### Bug fixes - Fixed `/btw` answers completed behind another side-panel tab providing no unread indication. The tab now shows a dot until viewed. ([#&#8203;65821](https://github.com/anomalyco/opencode/pull/65821)) - Fixed 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. ([#&#8203;65758](https://github.com/anomalyco/opencode/pull/65758), [#&#8203;65785](https://github.com/anomalyco/opencode/pull/65785)) - Fixed unwanted focus rings around clicked Settings pages, error details, What’s New and the terminal, and corrected the split button’s focus-ring corners. ([#&#8203;65783](https://github.com/anomalyco/opencode/pull/65783), [#&#8203;65785](https://github.com/anomalyco/opencode/pull/65785)) - Fixed folder paths showing middle-truncation markers unnecessarily at fractional UI zoom levels. ([#&#8203;65225](https://github.com/anomalyco/opencode/pull/65225)) ##### SDK ##### Bug fixes - An aborted shared event subscription now stops immediately even when the source has already completed or failed with buffered events remaining. Thanks [@&#8203;chirag127](https://github.com/chirag127). ([#&#8203;65441](https://github.com/anomalyco/opencode/pull/65441)) ##### Extensions ##### Improvements - Effect and Promise plugins can create, list and delete automations through `ctx.experimental.automation.{create,list,delete}`. ([#&#8203;65747](https://github.com/anomalyco/opencode/pull/65747)) - `@opencode/plugin` now supports `@opentui/core` and `@opentui/solid` from version 0.8.0, allowing plugins capped below OpenTUI 0.9 to install again. ([#&#8203;65819](https://github.com/anomalyco/opencode/pull/65819)) ### [`v2.4.0`](https://github.com/anomalyco/opencode/blob/HEAD/CHANGELOG.md#v240--2026-11-23) [Compare Source](https://github.com/anomalyco/opencode/compare/v2.3.2...v2.4.0) ##### 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. ([#&#8203;63002](https://github.com/anomalyco/opencode/pull/63002), [#&#8203;65073](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;65296](https://github.com/anomalyco/opencode/pull/65296), [#&#8203;65186](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;63666](https://github.com/anomalyco/opencode/pull/63666), [#&#8203;65664](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;64988](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;65317](https://github.com/anomalyco/opencode/pull/65317), [#&#8203;65318](https://github.com/anomalyco/opencode/pull/65318), [#&#8203;65319](https://github.com/anomalyco/opencode/pull/65319)) ##### Upgrade notes - **Image 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. ([#&#8203;65682](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;64764](https://github.com/anomalyco/opencode/pull/64764), [#&#8203;65052](https://github.com/anomalyco/opencode/pull/65052), [#&#8203;65056](https://github.com/anomalyco/opencode/pull/65056)) - **GitHub Copilot no longer reads `GITHUB_TOKEN`.** Set `COPILOT_GITHUB_TOKEN` or sign in with OAuth. ([#&#8203;64697](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;65282](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;64988](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;63002](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;65466](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;65428](https://github.com/anomalyco/opencode/pull/65428), [#&#8203;64394](https://github.com/anomalyco/opencode/pull/64394)) - **Code 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. ([#&#8203;65080](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;63989](https://github.com/anomalyco/opencode/pull/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 ([#&#8203;63040](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;63814](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;65506](https://github.com/anomalyco/opencode/pull/65506)) - **Storage write path.** Assistant parts are now saved as their own rows. `experimental.part_rows: false` restores the old path for this release. ([#&#8203;65039](https://github.com/anomalyco/opencode/pull/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 `/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. ([#&#8203;65296](https://github.com/anomalyco/opencode/pull/65296), [#&#8203;65186](https://github.com/anomalyco/opencode/pull/65186), [#&#8203;65217](https://github.com/anomalyco/opencode/pull/65217), [#&#8203;65236](https://github.com/anomalyco/opencode/pull/65236), [#&#8203;65001](https://github.com/anomalyco/opencode/pull/65001), [#&#8203;65699](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;65271](https://github.com/anomalyco/opencode/pull/65271), [#&#8203;65673](https://github.com/anomalyco/opencode/pull/65673)) - MCP servers without a `protocol` setting now negotiate the newest MCP protocol and fall back to the legacy handshake. ([#&#8203;65282](https://github.com/anomalyco/opencode/pull/65282)) - Agents 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`. ([#&#8203;63666](https://github.com/anomalyco/opencode/pull/63666), [#&#8203;64546](https://github.com/anomalyco/opencode/pull/64546), [#&#8203;65664](https://github.com/anomalyco/opencode/pull/65664), [#&#8203;65682](https://github.com/anomalyco/opencode/pull/65682)) - Plugins that follow a version (`name@latest`, a version range, a Git branch or a Git `semver:` 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. ([#&#8203;64764](https://github.com/anomalyco/opencode/pull/64764), [#&#8203;65052](https://github.com/anomalyco/opencode/pull/65052), [#&#8203;65056](https://github.com/anomalyco/opencode/pull/65056)) - The 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`. ([#&#8203;62514](https://github.com/anomalyco/opencode/pull/62514), [#&#8203;65035](https://github.com/anomalyco/opencode/pull/65035), [#&#8203;65016](https://github.com/anomalyco/opencode/pull/65016)) - Removing a Sign in with ChatGPT account, with `opencode auth logout` or the remove button in the app, now also revokes it with OpenAI. ([#&#8203;64947](https://github.com/anomalyco/opencode/pull/64947)) - The ChatGPT plan model lists now come from models.dev, so new models show up without an OpenCode update. ([#&#8203;65579](https://github.com/anomalyco/opencode/pull/65579)) - Voice models are now listed from models.dev, adding newer OpenAI models such as `gpt-live-1.1`. ([#&#8203;65491](https://github.com/anomalyco/opencode/pull/65491)) - Reading far into a large file with `read`, or reading its tail, takes far fewer reads, which is much faster on remote workspaces. ([#&#8203;65611](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;65365](https://github.com/anomalyco/opencode/pull/65365), [#&#8203;65513](https://github.com/anomalyco/opencode/pull/65513)) - Code Mode scripts can define getters and setters, errors have a `stack` showing where they were thrown, and a failed import says why. ([#&#8203;64908](https://github.com/anomalyco/opencode/pull/64908), [#&#8203;64939](https://github.com/anomalyco/opencode/pull/64939), [#&#8203;64587](https://github.com/anomalyco/opencode/pull/64587)) - A `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. ([#&#8203;64692](https://github.com/anomalyco/opencode/pull/64692)) - Gemma 4 models on Google's Interactions API offer the `none` and `thinking` variants, and the provider's `safetySettings` are sent to Interactions. ([#&#8203;65038](https://github.com/anomalyco/opencode/pull/65038), [#&#8203;65036](https://github.com/anomalyco/opencode/pull/65036)) - Added `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. ([#&#8203;65704](https://github.com/anomalyco/opencode/pull/65704)) - With `full_codemode` on, agents can call `tools.opencode.session.interrupt` to stop another session, its background jobs and its subagents. ([#&#8203;65718](https://github.com/anomalyco/opencode/pull/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/:id` returns 404 for a deleted blob. ([#&#8203;65671](https://github.com/anomalyco/opencode/pull/65671)) - Config now reloads only when a file that feeds it changes, not on every write under `.opencode` such as editing a skill. ([#&#8203;62158](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;65039](https://github.com/anomalyco/opencode/pull/65039)) ##### Bug fixes - Fixed GitHub Copilot picking up `GITHUB_TOKEN`, which git tooling and GitHub Actions often set without Copilot access. It now reads `COPILOT_GITHUB_TOKEN`. ([#&#8203;64697](https://github.com/anomalyco/opencode/pull/64697)) - Fixed 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. ([#&#8203;65269](https://github.com/anomalyco/opencode/pull/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`. ([#&#8203;65292](https://github.com/anomalyco/opencode/pull/65292), [#&#8203;65193](https://github.com/anomalyco/opencode/pull/65193), [#&#8203;65494](https://github.com/anomalyco/opencode/pull/65494)) - Fixed a forced tool choice for a namespaced tool naming a tool the request never declared on every provider except native OpenAI Responses. ([#&#8203;65621](https://github.com/anomalyco/opencode/pull/65621), [#&#8203;65726](https://github.com/anomalyco/opencode/pull/65726)) - Fixed the shell tool's description not saying which OS and shell commands run in when `full_codemode` is on. ([#&#8203;65712](https://github.com/anomalyco/opencode/pull/65712)) - Fixed a revoked or expired ChatGPT sign-in failing every prompt with "Request failed: 400". It now asks you to connect again. ([#&#8203;65289](https://github.com/anomalyco/opencode/pull/65289)) - Fixed `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. ([#&#8203;64868](https://github.com/anomalyco/opencode/pull/64868)) - Fixed the review pane showing every line as changed in repositories with `core.autocrlf=true`, and symlinks as modified with `core.symlinks=false`. ([#&#8203;64884](https://github.com/anomalyco/opencode/pull/64884)) - Fixed file permission rules not matching other capitalizations of the same path on macOS. Thanks [@&#8203;knp-sap](https://github.com/knp-sap). ([#&#8203;64626](https://github.com/anomalyco/opencode/pull/64626)) - Fixed the model picker staying empty while a slow project was still loading. ([#&#8203;63814](https://github.com/anomalyco/opencode/pull/63814)) - Fixed Claude Agent processes staying alive after their session was deleted. Thanks [@&#8203;WTLAIB](https://github.com/WTLAIB). ([#&#8203;62649](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;65032](https://github.com/anomalyco/opencode/pull/65032), [#&#8203;65064](https://github.com/anomalyco/opencode/pull/65064)) - Fixed shell commands failing with "failed to open output file" after OpenCode's shell output directory was removed. ([#&#8203;64889](https://github.com/anomalyco/opencode/pull/64889)) - Fixed concurrent shell commands failing on Windows with PowerShell 7 from the Microsoft Store, and stopping one such command killing the others. ([#&#8203;64901](https://github.com/anomalyco/opencode/pull/64901)) - Fixed `opencode service set password` writing the password to the CLI log. ([#&#8203;64911](https://github.com/anomalyco/opencode/pull/64911)) - Fixed `opencode run` hanging when a FIFO is passed as an attachment; it's now rejected right away. Thanks [@&#8203;yang0228](https://github.com/yang0228). ([#&#8203;64696](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;65262](https://github.com/anomalyco/opencode/pull/65262)) - Fixed the background service becoming unresponsive at startup with a large database write-ahead log on a slow disk. ([#&#8203;64532](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;64929](https://github.com/anomalyco/opencode/pull/64929)) - Fixed Markdown commands dropping a separate `variant` next to `model`, and agents being skipped when frontmatter repair turned inline lists or objects into strings. ([#&#8203;65118](https://github.com/anomalyco/opencode/pull/65118), [#&#8203;65119](https://github.com/anomalyco/opencode/pull/65119)) - Fixed Google Interactions responses stopping early when Google splits a response across requests. ([#&#8203;65006](https://github.com/anomalyco/opencode/pull/65006)) - Fixed GPT models over OpenAI's WebSocket transport resending the whole conversation after a freeform tool call such as `execute` or `patch`. ([#&#8203;64706](https://github.com/anomalyco/opencode/pull/64706)) - Fixed `gpt-6.2-astra` and later Astra models getting a 500k context window with ChatGPT sign-in; they stay at 272k. ([#&#8203;64725](https://github.com/anomalyco/opencode/pull/64725)) - OpenAI `cyber_policy` and Gemini "terms of use" refusals are now reported as content policy errors. Thanks [@&#8203;lu-zero](https://github.com/lu-zero). ([#&#8203;64844](https://github.com/anomalyco/opencode/pull/64844), [#&#8203;64910](https://github.com/anomalyco/opencode/pull/64910)) - Fixed MiniMax text-to-video requests without an aspect ratio being rejected; they now default to `16:9`. ([#&#8203;64822](https://github.com/anomalyco/opencode/pull/64822)) - Fixed 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. ([#&#8203;64935](https://github.com/anomalyco/opencode/pull/64935), [#&#8203;64938](https://github.com/anomalyco/opencode/pull/64938), [#&#8203;64931](https://github.com/anomalyco/opencode/pull/64931), [#&#8203;64933](https://github.com/anomalyco/opencode/pull/64933), [#&#8203;64930](https://github.com/anomalyco/opencode/pull/64930), [#&#8203;64965](https://github.com/anomalyco/opencode/pull/64965)) - Fixed large file views not refreshing when only the end of the file changed. ([#&#8203;65114](https://github.com/anomalyco/opencode/pull/65114)) - Fixed the install script failing with a disk-space error when `curl` is installed through Snap. ([#&#8203;65132](https://github.com/anomalyco/opencode/pull/65132)) ##### TUI ##### Improvements - The new TUI designs are on by default, and the theme named `opencode` is the new theme. The previous default is available as `opencode-classic`, and `opencode2` keeps working as an alias of `opencode`. To go back to the previous designs, turn off **New designs** in the Experiments dialog. ([#&#8203;64988](https://github.com/anomalyco/opencode/pull/64988)) - `/login` and `/auth` open the same dialog as `/connect`, which now lists a single **OpenCode** entry that includes OpenCode Go models. ([#&#8203;65265](https://github.com/anomalyco/opencode/pull/65265), [#&#8203;65466](https://github.com/anomalyco/opencode/pull/65466)) - Pressing `↓` opens the picker on the first tab with something running, the same tab that clicking the footer opens. ([#&#8203;64972](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;64944](https://github.com/anomalyco/opencode/pull/64944)) - The `opencode` theme's light mode uses lighter grays for the prompt box, selected tabs and hovered rows. ([#&#8203;64962](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;64944](https://github.com/anomalyco/opencode/pull/64944)) - Fixed list dialogs ending with two blank rows, and the **Manage workspaces** footer not staying at the bottom. ([#&#8203;64983](https://github.com/anomalyco/opencode/pull/64983)) - Fixed long dialog lists replacing their last visible row with a stray `…`. ([#&#8203;64934](https://github.com/anomalyco/opencode/pull/64934)) - Fixed the selection bar of a delete-confirmation row staying blue instead of red. ([#&#8203;64936](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;63989](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;63002](https://github.com/anomalyco/opencode/pull/63002), [#&#8203;65073](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;65126](https://github.com/anomalyco/opencode/pull/65126), [#&#8203;65091](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;65264](https://github.com/anomalyco/opencode/pull/65264)) - Added **Wrap code blocks** under Settings › General › Timeline, plus a **Wrap lines** button on timeline code blocks with lines too long to fit. ([#&#8203;64545](https://github.com/anomalyco/opencode/pull/64545), [#&#8203;64576](https://github.com/anomalyco/opencode/pull/64576)) - Added **Keep side panel open across sessions** in Settings › General. ([#&#8203;64950](https://github.com/anomalyco/opencode/pull/64950)) - Added an **Archive session** command, bound to `Cmd+Shift+S` (`Ctrl+Shift+S` on Windows and Linux). ([#&#8203;65428](https://github.com/anomalyco/opencode/pull/65428)) - The Home session menu has **Open** and **Open in background**, and Home shows the provider connect hint when nothing is connected. ([#&#8203;65209](https://github.com/anomalyco/opencode/pull/65209), [#&#8203;65212](https://github.com/anomalyco/opencode/pull/65212), [#&#8203;64885](https://github.com/anomalyco/opencode/pull/64885)) - The Inbox layout's sidebar has a **Drafts** group for unsent new-session drafts. ([#&#8203;65525](https://github.com/anomalyco/opencode/pull/65525)) - Conversation search (`Cmd+F` / `Ctrl+F`) has previous and next match buttons. ([#&#8203;64865](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;65466](https://github.com/anomalyco/opencode/pull/65466), [#&#8203;65740](https://github.com/anomalyco/opencode/pull/65740), [#&#8203;64927](https://github.com/anomalyco/opencode/pull/64927)) - When you reach your ChatGPT Business workspace's usage limit, a dialog explains it and offers **Copy request for admin**. ([#&#8203;64926](https://github.com/anomalyco/opencode/pull/64926)) - Voice uses the newest GPT-Live model the server lists. ([#&#8203;65506](https://github.com/anomalyco/opencode/pull/65506)) - Shortcuts go through the same keymap engine as the TUI, and the new **Stop session** command can be changed in Settings › Shortcuts. ([#&#8203;64394](https://github.com/anomalyco/opencode/pull/64394)) - Shortcuts 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. ([#&#8203;64395](https://github.com/anomalyco/opencode/pull/64395)) - The activity pill keeps a subagent listed while work it started is still running. ([#&#8203;64790](https://github.com/anomalyco/opencode/pull/64790)) - The goal pill has a new design with the labels Following goal, Goal paused and Goal reached. ([#&#8203;60001](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;64909](https://github.com/anomalyco/opencode/pull/64909), [#&#8203;64976](https://github.com/anomalyco/opencode/pull/64976), [#&#8203;65082](https://github.com/anomalyco/opencode/pull/65082), [#&#8203;65084](https://github.com/anomalyco/opencode/pull/65084), [#&#8203;65100](https://github.com/anomalyco/opencode/pull/65100), [#&#8203;65690](https://github.com/anomalyco/opencode/pull/65690)) - Only the latest response shows its Copy button all the time; older ones show it on hover or focus. ([#&#8203;64640](https://github.com/anomalyco/opencode/pull/64640)) - Added experimental tab groups for side tabs under Settings › Experimental. ([#&#8203;64407](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;65317](https://github.com/anomalyco/opencode/pull/65317), [#&#8203;65318](https://github.com/anomalyco/opencode/pull/65318), [#&#8203;65319](https://github.com/anomalyco/opencode/pull/65319), [#&#8203;65325](https://github.com/anomalyco/opencode/pull/65325), [#&#8203;65421](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;65327](https://github.com/anomalyco/opencode/pull/65327), [#&#8203;65330](https://github.com/anomalyco/opencode/pull/65330), [#&#8203;65320](https://github.com/anomalyco/opencode/pull/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/`. ([#&#8203;64597](https://github.com/anomalyco/opencode/pull/64597)) - The background activity menu stays smooth with many subagents, and the model picker stays responsive with catalogs of thousands of models. ([#&#8203;65634](https://github.com/anomalyco/opencode/pull/65634), [#&#8203;65189](https://github.com/anomalyco/opencode/pull/65189), [#&#8203;65635](https://github.com/anomalyco/opencode/pull/65635)) ##### Bug fixes - Fixed `opencode://open-project` and `opencode://new-session` links doing nothing. ([#&#8203;65332](https://github.com/anomalyco/opencode/pull/65332)) - Fixed file links like `~/Downloads/clip.mp4` showing "File not found". `~` now opens in the server's home folder. ([#&#8203;65689](https://github.com/anomalyco/opencode/pull/65689)) - Fixed an open session's side panel tabs disappearing after you had used many other sessions. ([#&#8203;65328](https://github.com/anomalyco/opencode/pull/65328), [#&#8203;65322](https://github.com/anomalyco/opencode/pull/65322)) - Fixed the app freezing when opening a session on a remote server with **Share sign-ins with remote servers** on. ([#&#8203;65339](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;65696](https://github.com/anomalyco/opencode/pull/65696)) - Fixed the browser pane showing "The browser couldn't open" in a project whose server had only just started. ([#&#8203;65720](https://github.com/anomalyco/opencode/pull/65720)) - Fixed **Clear browsing data** clearing everything on the first click; it now asks first. ([#&#8203;65124](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;65094](https://github.com/anomalyco/opencode/pull/65094), [#&#8203;65067](https://github.com/anomalyco/opencode/pull/65067), [#&#8203;65083](https://github.com/anomalyco/opencode/pull/65083)) - Fixed sites in the browser pane replacing the app's badge on the taskbar or Dock. ([#&#8203;65646](https://github.com/anomalyco/opencode/pull/65646)) - Fixed the mouse Back and Forward buttons doing nothing. ([#&#8203;65129](https://github.com/anomalyco/opencode/pull/65129)) - Fixed a subagent's pending permission request not reappearing after a reload or reconnect. ([#&#8203;65120](https://github.com/anomalyco/opencode/pull/65120)) - Fixed background jobs that changed while the job list was loading showing the wrong state, and rows in the activity menu jumping around. ([#&#8203;64966](https://github.com/anomalyco/opencode/pull/64966), [#&#8203;65312](https://github.com/anomalyco/opencode/pull/65312)) - Fixed the session view crashing when a timeline row disappeared mid-update. ([#&#8203;64565](https://github.com/anomalyco/opencode/pull/64565)) - Fixed earlier replies being folded into the "Used N tools" group when a session was woken without a new message. ([#&#8203;64917](https://github.com/anomalyco/opencode/pull/64917)) - Fixed the Context tab showing the latest instruction update as the "System Prompt". ([#&#8203;64991](https://github.com/anomalyco/opencode/pull/64991)) - Fixed the session header briefly showing the wrong worktree while a new session starts. ([#&#8203;65190](https://github.com/anomalyco/opencode/pull/65190)) - Fixed Grep, Glob and List rows showing the parent of the folder they searched, and Windows paths not showing relative to the project. ([#&#8203;65460](https://github.com/anomalyco/opencode/pull/65460), [#&#8203;65639](https://github.com/anomalyco/opencode/pull/65639)) - Fixed server event streams going stale after Windows wakes from sleep, and windows reopening in the wrong place after being snapped or minimized. ([#&#8203;65321](https://github.com/anomalyco/opencode/pull/65321), [#&#8203;65323](https://github.com/anomalyco/opencode/pull/65323)) - Fixed the Windows caption buttons being hard to see with a contrast theme. ([#&#8203;65324](https://github.com/anomalyco/opencode/pull/65324)) - Fixed **Open in PowerShell** on Windows opening Windows PowerShell instead of PowerShell 7 when it's installed. ([#&#8203;64873](https://github.com/anomalyco/opencode/pull/64873)) - Fixed builds packaged without `app-update.yml`, such as AUR packages, showing update-check errors. Settings now shows **Updates unavailable**. ([#&#8203;64681](https://github.com/anomalyco/opencode/pull/64681)) - Fixed the message menu's "Today" and "Yesterday" labels, and Home's date headers staying invisible while scrolling. ([#&#8203;65081](https://github.com/anomalyco/opencode/pull/65081), [#&#8203;64665](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;65215](https://github.com/anomalyco/opencode/pull/65215), [#&#8203;65192](https://github.com/anomalyco/opencode/pull/65192), [#&#8203;65176](https://github.com/anomalyco/opencode/pull/65176), [#&#8203;65177](https://github.com/anomalyco/opencode/pull/65177), [#&#8203;65211](https://github.com/anomalyco/opencode/pull/65211), [#&#8203;65213](https://github.com/anomalyco/opencode/pull/65213), [#&#8203;65644](https://github.com/anomalyco/opencode/pull/65644)) - Fixed the Hex voice tip showing on phones and tablets, and a fringe on project icon corners. ([#&#8203;64583](https://github.com/anomalyco/opencode/pull/64583), [#&#8203;64582](https://github.com/anomalyco/opencode/pull/64582)) ##### SDK ##### Improvements - Added `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. ([#&#8203;64790](https://github.com/anomalyco/opencode/pull/64790), [#&#8203;65266](https://github.com/anomalyco/opencode/pull/65266), [#&#8203;64956](https://github.com/anomalyco/opencode/pull/64956)) - The 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. ([#&#8203;65664](https://github.com/anomalyco/opencode/pull/65664), [#&#8203;64546](https://github.com/anomalyco/opencode/pull/64546)) - The automation endpoints work without a flag, and an automation can run a shell command as its action. ([#&#8203;65296](https://github.com/anomalyco/opencode/pull/65296), [#&#8203;65186](https://github.com/anomalyco/opencode/pull/65186)) ##### Extensions ##### Improvements - A 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. ([#&#8203;64515](https://github.com/anomalyco/opencode/pull/64515)) - The `execute.before` and `execute.after` tool hooks receive `info`, the tool's definition, and `codemode`, which is true when a Code Mode script made the call. ([#&#8203;64515](https://github.com/anomalyco/opencode/pull/64515)) - An integration's OAuth method can define `revoke` to sign a credential out remotely before it's removed. ([#&#8203;64947](https://github.com/anomalyco/opencode/pull/64947)) - TUI plugins can read a session's running background jobs with `api.data.job.list(sessionID)` (experimental). ([#&#8203;64956](https://github.com/anomalyco/opencode/pull/64956)) - `experimental.idle` background entries can have the kind `video`. ([#&#8203;63666](https://github.com/anomalyco/opencode/pull/63666)) - GUI 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. ([#&#8203;64577](https://github.com/anomalyco/opencode/pull/64577)) - The GUI composer API adds `composer.send(commentID)` and `composer.delivery()`, and the `Browser` contract adds `experimental.open` and `experimental.close`. ([#&#8203;65264](https://github.com/anomalyco/opencode/pull/65264), [#&#8203;63002](https://github.com/anomalyco/opencode/pull/63002)) - GUI `System.open` only launches HTTP, HTTPS and mail URLs, and `Browser.open` refuses `file://` URLs outside the built-in preview. ([#&#8203;63002](https://github.com/anomalyco/opencode/pull/63002)) ### [`v2.3.2`](https://github.com/anomalyco/opencode/blob/HEAD/CHANGELOG.md#v232--2026-11-18) [Compare Source](https://github.com/anomalyco/opencode/compare/v2.3.1...v2.3.2) ##### Highlights - **GPT-6.2 Prompt Caching**: GPT-6.2 models don't cache a system prompt sent in the Responses `instructions` field, so every step re-billed it as uncached input. OpenCode now sends it as a leading developer message on every Responses route, including OpenAI (API key and ChatGPT sign-in), GitHub Copilot, Zen, Azure and OpenRouter, so it is cached from the second step on. ([#&#8203;64542](https://github.com/anomalyco/opencode/pull/64542), [#&#8203;64544](https://github.com/anomalyco/opencode/pull/64544)) ##### Core ##### Bug fixes - Fixed GPT-6.2 models re-billing the system prompt as uncached input on every step. On GitHub Copilot `gpt-6.2-sol`, uncached input per step dropped from about 14,000 tokens to 3. Compaction through `/responses/compact` now reads the same cached prefix. ([#&#8203;64542](https://github.com/anomalyco/opencode/pull/64542), [#&#8203;64544](https://github.com/anomalyco/opencode/pull/64544)) - `webfetch` structured output no longer repeats the `url` and `format` it was called with. ([#&#8203;64534](https://github.com/anomalyco/opencode/pull/64534)) ### [`v2.3.1`](https://github.com/anomalyco/opencode/blob/HEAD/CHANGELOG.md#v231--2026-11-17) [Compare Source](https://github.com/anomalyco/opencode/compare/v2.3.0...v2.3.1) ##### Highlights - **Timed-Out Shell Commands Keep Running**: A shell command still running when its timeout expires now moves to the background instead of being killed, so long builds and test runs finish and report back. A foreground `timeout: 0` now means the default 120 seconds. ([#&#8203;63699](https://github.com/anomalyco/opencode/pull/63699)) - **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: false` to turn it off; a background summary that ends up unused still costs tokens. ([#&#8203;64290](https://github.com/anomalyco/opencode/pull/64290)) - **GPT 6.2 with ChatGPT Sign-In**: GPT 6.2 Sol and GPT 6.2 Astra, plus their fast variants, now show up in the model picker when you sign in with ChatGPT. ([#&#8203;64508](https://github.com/anomalyco/opencode/pull/64508)) - **Update Plugins from Settings**: Open **Settings › Extensions**, click **Check for updates**, then **Update** on any plugin with a new version. ([#&#8203;64511](https://github.com/anomalyco/opencode/pull/64511)) - **Comment 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. ([#&#8203;64410](https://github.com/anomalyco/opencode/pull/64410)) ##### Core ##### Improvements - Shell commands still running when their timeout expires now move to the background instead of being killed, in every build. The `shell_timeout_background` flag is gone; configs that still set it keep loading. A foreground `timeout: 0` now uses the default 120 second timeout instead of waiting until the command exits. ([#&#8203;63699](https://github.com/anomalyco/opencode/pull/63699)) - Background compaction is now on by default: as a session nears automatic compaction, the summary is written in the background so the next prompt doesn't wait for it. Turn it off with `compaction.background: false`; a background summary that is never used still costs tokens. The `experimental.background_compaction` setting is removed. ([#&#8203;64290](https://github.com/anomalyco/opencode/pull/64290)) - OpenCode again reads `CLAUDE.md` in any directory that has no `AGENTS.md`, and falls back to `~/.claude/CLAUDE.md` when the global `AGENTS.md` is missing. This also applies to instructions found when the agent reads nested files. Set `OPENCODE_DISABLE_CLAUDE_CODE` or `OPENCODE_DISABLE_CLAUDE_CODE_PROMPT` to skip every `CLAUDE.md`. ([#&#8203;64474](https://github.com/anomalyco/opencode/pull/64474), [#&#8203;64533](https://github.com/anomalyco/opencode/pull/64533)) - Added GPT 6.2 Sol and GPT 6.2 Astra, plus their fast variants, to the ChatGPT model list. ([#&#8203;64508](https://github.com/anomalyco/opencode/pull/64508)) - `websearch` now returns a flat list of results, each with its `url`, `title`, `content` and `published` date. ([#&#8203;64471](https://github.com/anomalyco/opencode/pull/64471)) - Code Mode and plugins get a simpler structured result from `read`: `text` (with `offset`, `lineCount` and `next`), `directory` (entry names) or `media` (a URI instead of base64). What the model sees is unchanged. ([#&#8203;64361](https://github.com/anomalyco/opencode/pull/64361)) - Code Mode programs can use Node's `Buffer` for encoding and decoding bytes. ([#&#8203;64365](https://github.com/anomalyco/opencode/pull/64365)) - In Code Mode, `search("issues")` now works as shorthand for `search({ query: "issues" })`. ([#&#8203;64347](https://github.com/anomalyco/opencode/pull/64347)) - Code Mode tool summaries in the catalog can now be up to 500 characters instead of 120, so the model sees more of each tool's description. ([#&#8203;64341](https://github.com/anomalyco/opencode/pull/64341)) - The `glob` and `grep` tools now report a malformed filename glob (for example `[`) as an error that names the parameter to fix, instead of returning no results. ([#&#8203;63960](https://github.com/anomalyco/opencode/pull/63960)) - Server requests that crash now return a 500 with a readable JSON `UnknownError` body instead of an empty one. Storage problems name the cause (for example "Storage is full" or "Storage is read-only"); other crashes include a `ref` you can find in the server log. ([#&#8203;64022](https://github.com/anomalyco/opencode/pull/64022)) - The shell tool description now tells the model that its session ID is in the `OPENCODE_SESSION_ID` environment variable. ([#&#8203;63718](https://github.com/anomalyco/opencode/pull/63718)) - Experimental schedules are now automations, behind the `automations` flag (the old `schedules` flag still works). An automation runs on a time, an interval, a cron or a pushed MCP event, and either sends a prompt (to the creating session, another session or a new subagent) or runs a Code Mode program that decides whether to send one. Use `/automation` or the `automation_*` tools. Active or paused plain prompt schedules carry over; schedules with a condition or run limit, and finished ones, are dropped. ([#&#8203;64160](https://github.com/anomalyco/opencode/pull/64160)) ##### Bug fixes - Fixed finished shell commands leaving zombie processes under `opencode-pty`. The process daemon now cleans each command up when it exits. Background processes started by a successful command (`cmd &`) keep running, and a failed command's leftovers are stopped. ([#&#8203;64266](https://github.com/anomalyco/opencode/pull/64266), [#&#8203;64251](https://github.com/anomalyco/opencode/pull/64251)) - Fixed ChatGPT and OpenAI subscription logins losing their sharing-limit safeguards and context caps when a token refresh failed. ([#&#8203;64470](https://github.com/anomalyco/opencode/pull/64470)) - Fixed Claude Agent models falling back to a 200K context window when Claude Code adds or renames a model. Thanks [@&#8203;Tarquinen](https://github.com/Tarquinen). ([#&#8203;64107](https://github.com/anomalyco/opencode/pull/64107)) - Fixed requests being rejected after switching models mid-session on OpenAI-compatible providers. Models that declare a different reasoning field (such as `reasoning_content`) no longer receive `reasoning_details` from earlier turns. ([#&#8203;64243](https://github.com/anomalyco/opencode/pull/64243)) - Rejecting a permission request now rejects only the other pending requests from the same step, not every pending request in the session. ([#&#8203;64343](https://github.com/anomalyco/opencode/pull/64343)) - Fixed a finished subagent being reported to its parent as still running when its answer quoted the "Background work still running" heading. ([#&#8203;64026](https://github.com/anomalyco/opencode/pull/64026)) - Fixed ACP clients missing turns that a background shell woke after the original turn ended. ([#&#8203;64262](https://github.com/anomalyco/opencode/pull/64262)) - Reading a small text file now applies the default line and byte limits, so a short file with very many lines is paged instead of returned whole. ([#&#8203;63810](https://github.com/anomalyco/opencode/pull/63810)) - Paged reads that select a single blank line now return that line instead of an empty result. ([#&#8203;63809](https://github.com/anomalyco/opencode/pull/63809)) - `read` now rejects `limit: 0` with "Limit must be a positive integer". ([#&#8203;63808](https://github.com/anomalyco/opencode/pull/63808)) - Text files that start with `BM` are no longer mistaken for BMP images, and only real `GIF87a`/`GIF89a` headers count as GIFs, so these files read as text again. ([#&#8203;63822](https://github.com/anomalyco/opencode/pull/63822), [#&#8203;63811](https://github.com/anomalyco/opencode/pull/63811)) - Fixed shell output pages, grep previews, generated titles, read lines and shell output tails splitting emoji and other multi-byte characters, which showed up as `�`. ([#&#8203;63984](https://github.com/anomalyco/opencode/pull/63984), [#&#8203;63967](https://github.com/anomalyco/opencode/pull/63967)) - Shell commands using unknown ANSI-C escapes such as `$'\q'` are now read the same way Bash and Zsh read them, so permission rules can match them. ([#&#8203;64263](https://github.com/anomalyco/opencode/pull/64263)) - Session title search is now case-insensitive for non-ASCII letters, such as Cyrillic and accented text. ([#&#8203;64259](https://github.com/anomalyco/opencode/pull/64259)) - Fixed `grep` results being dropped when a matching line or path is not valid UTF-8. Thanks [@&#8203;Tarquinen](https://github.com/Tarquinen). ([#&#8203;62249](https://github.com/anomalyco/opencode/pull/62249)) - The `@` file picker now finds files in hidden folders such as `.github/` and dotfiles such as `.env.example` when file search uses ripgrep (the default on Windows and outside git repos). `.git` and gitignored files stay excluded. Thanks [@&#8203;Tarquinen](https://github.com/Tarquinen). ([#&#8203;62577](https://github.com/anomalyco/opencode/pull/62577)) - An unreachable well-known integration source is now skipped instead of dropping every well-known source. Thanks [@&#8203;Tarquinen](https://github.com/Tarquinen). ([#&#8203;62578](https://github.com/anomalyco/opencode/pull/62578)) - A corrupt cached project ID is now ignored instead of being used. Thanks [@&#8203;Tarquinen](https://github.com/Tarquinen). ([#&#8203;62576](https://github.com/anomalyco/opencode/pull/62576)) - Plugin tool renames from `tool.execute.before` now apply to calls inside Code Mode programs, and a renamed call returns the new tool's structured result. ([#&#8203;63633](https://github.com/anomalyco/opencode/pull/63633), [#&#8203;64333](https://github.com/anomalyco/opencode/pull/64333)) - In Code Mode, calling a tool that doesn't exist now returns a rejected promise, so `.catch` and `Promise.allSettled` can handle it instead of the whole script failing. ([#&#8203;64510](https://github.com/anomalyco/opencode/pull/64510)) - A Code Mode program that only logs no longer shows a stray `null` line before its logs. ([#&#8203;64344](https://github.com/anomalyco/opencode/pull/64344)) ##### TUI ##### Improvements - Permission prompts from a subagent, and from that subagent's own subagents, now appear while you view the subagent's session. Prompts also show in front of an open composer. ([#&#8203;64343](https://github.com/anomalyco/opencode/pull/64343)) - The export dialog under the new designs can save to the system temp directory as well as the project folder. Thanks [@&#8203;Tarquinen](https://github.com/Tarquinen). ([#&#8203;62490](https://github.com/anomalyco/opencode/pull/62490)) - Removed time to first token (ttft) from the assistant message footer. Tokens per second still shows when `session.tps` is on. ([#&#8203;63759](https://github.com/anomalyco/opencode/pull/63759)) ##### Bug fixes - When another TUI sharing your tabs closes the session you're viewing, closing it here now moves to the neighbouring tab. ([#&#8203;64261](https://github.com/anomalyco/opencode/pull/64261)) - Fixed broken characters at the edges of the shell output viewer and the inline shell display when output is long. ([#&#8203;63967](https://github.com/anomalyco/opencode/pull/63967), [#&#8203;63984](https://github.com/anomalyco/opencode/pull/63984)) ##### Desktop ##### Improvements - You 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. ([#&#8203;64511](https://github.com/anomalyco/opencode/pull/64511), [#&#8203;64525](https://github.com/anomalyco/opencode/pull/64525)) - Selecting code in diff and file viewers now just selects text, so you can copy it. An **Add comment** toolbar appears next to the selection to comment on those lines; line numbers and the gutter `+` still start a comment directly. ([#&#8203;64410](https://github.com/anomalyco/opencode/pull/64410)) - Cmd+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. ([#&#8203;63663](https://github.com/anomalyco/opencode/pull/63663)) - Disconnecting a provider or removing an account in **Settings → Providers** now asks for confirmation first. Disconnecting OpenCode Console says how many providers will stop working. ([#&#8203;64212](https://github.com/anomalyco/opencode/pull/64212)) - The 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 `←` or `Escape` goes back. A model's Console budget and reset time now show in the flyout. ([#&#8203;64409](https://github.com/anomalyco/opencode/pull/64409), [#&#8203;64423](https://github.com/anomalyco/opencode/pull/64423)) - When **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. ([#&#8203;64228](https://github.com/anomalyco/opencode/pull/64228)) - Redesigned 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. ([#&#8203;64241](https://github.com/anomalyco/opencode/pull/64241)) - ` ```latex ` and ` ```math ` code fences now render as display math once complete. ([#&#8203;64380](https://github.com/anomalyco/opencode/pull/64380)) - The new icon set is now the default, and the **New icons** experiment has been removed. ([#&#8203;64466](https://github.com/anomalyco/opencode/pull/64466), [#&#8203;64451](https://github.com/anomalyco/opencode/pull/64451)) - The copy button under assistant messages is now always visible. Message metadata still appears on hover. ([#&#8203;64478](https://github.com/anomalyco/opencode/pull/64478)) - Text files opened in side-panel tabs now have the same copy and download actions as other files. ([#&#8203;64463](https://github.com/anomalyco/opencode/pull/64463)) - **Manage models** now shows every provider as a card with a `⋯` menu, whether or not you're signed in to OpenCode Console. ([#&#8203;64235](https://github.com/anomalyco/opencode/pull/64235)) - The 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. ([#&#8203;63829](https://github.com/anomalyco/opencode/pull/63829)) - **Collapse long messages** is no longer experimental. It is now a setting under **Timeline** preferences. ([#&#8203;64441](https://github.com/anomalyco/opencode/pull/64441)) - Settings now opens on your client preferences, which are listed first, pairing is grouped with Servers, and there's a **Help & feedback** link. ([#&#8203;64440](https://github.com/anomalyco/opencode/pull/64440), [#&#8203;64220](https://github.com/anomalyco/opencode/pull/64220)) - Automatic compactions now always show as a single quiet divider; manual and failed compactions still show the full record. ([#&#8203;64290](https://github.com/anomalyco/opencode/pull/64290)) - Pairing QR codes can carry a server name, which becomes the paired server's default name. ([#&#8203;64139](https://github.com/anomalyco/opencode/pull/64139)) - Image attachment thumbnails are larger, with a 3:2 crop, and a failed image no longer moves the message below it when retried. ([#&#8203;64215](https://github.com/anomalyco/opencode/pull/64215)) - The 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. ([#&#8203;64130](https://github.com/anomalyco/opencode/pull/64130), [#&#8203;64131](https://github.com/anomalyco/opencode/pull/64131), [#&#8203;63974](https://github.com/anomalyco/opencode/pull/63974), [#&#8203;63760](https://github.com/anomalyco/opencode/pull/63760)) - Added missing translations for every non-English language, about 920 strings each. ([#&#8203;64205](https://github.com/anomalyco/opencode/pull/64205)) ##### Bug fixes - Fixed the desktop app failing to start when `drafts.sqlite` was a symlink to or copy of the CLI's `opencode.db`. The desktop now moves that file aside and creates its own, leaving the CLI database untouched. ([#&#8203;64203](https://github.com/anomalyco/opencode/pull/64203)) - Switching session tabs with a keyboard shortcut now focuses the composer. ([#&#8203;64418](https://github.com/anomalyco/opencode/pull/64418)) - Long prompts now stay folded while a new session is being created. ([#&#8203;64452](https://github.com/anomalyco/opencode/pull/64452)) - On macOS, the browser pane stays live while you resize panels instead of showing a still image. ([#&#8203;64443](https://github.com/anomalyco/opencode/pull/64443)) - Submenus now open one at a time and swap without blinking, and stay open while you move the pointer across other items to reach them. ([#&#8203;63739](https://github.com/anomalyco/opencode/pull/63739)) - Pressing a button now dismisses its tooltip until you hover it again, and copy buttons show "Copied" for two seconds, including in the `/btw` panel. ([#&#8203;63834](https://github.com/anomalyco/opencode/pull/63834)) - Dialogs now use consistent sizes, corner radius and row styles across the command palette, session search, model picker, location picker and other lists. ([#&#8203;63432](https://github.com/anomalyco/opencode/pull/63432), [#&#8203;64216](https://github.com/anomalyco/opencode/pull/64216), [#&#8203;64206](https://github.com/anomalyco/opencode/pull/64206)) - Sessions on OpenCode Go no longer show a $0.00 cost. ([#&#8203;63744](https://github.com/anomalyco/opencode/pull/63744)) - **Use main checkout** now stays on one line in the branch picker, and wrapped question descriptions have better spacing. ([#&#8203;64450](https://github.com/anomalyco/opencode/pull/64450), [#&#8203;64446](https://github.com/anomalyco/opencode/pull/64446)) - Restyled the **Timeline detail** slider and visibility buttons in settings so they read as clickable. ([#&#8203;64186](https://github.com/anomalyco/opencode/pull/64186)) - Polished 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. ([#&#8203;64155](https://github.com/anomalyco/opencode/pull/64155), [#&#8203;64219](https://github.com/anomalyco/opencode/pull/64219), [#&#8203;64192](https://github.com/anomalyco/opencode/pull/64192), [#&#8203;63742](https://github.com/anomalyco/opencode/pull/63742), [#&#8203;63885](https://github.com/anomalyco/opencode/pull/63885)) ##### SDK ##### Improvements - Unhandled server errors now return a JSON `UnknownError` body (`message` and `ref`) with status 500 instead of an empty body. ([#&#8203;64022](https://github.com/anomalyco/opencode/pull/64022)) - Experimental automation endpoints replace the schedule endpoints: `/api/experimental/automation` and `client.experimental.automation.*` (`create`, `list`, `get`, `pause`, `resume`, `delete`). `/api/experimental/schedule` and `client.experimental.schedule.*` are removed. ([#&#8203;64160](https://github.com/anomalyco/opencode/pull/64160)) - Config adds `compaction.background`; `experimental.background_compaction` and the `shell_timeout_background` flag are removed. ([#&#8203;64290](https://github.com/anomalyco/opencode/pull/64290), [#&#8203;63699](https://github.com/anomalyco/opencode/pull/63699)) ##### Bug fixes - Apps embedding the SDK with an in-memory database no longer import the user's legacy `auth.json` credentials. Only a database file opened by path imports them. ([#&#8203;63716](https://github.com/anomalyco/opencode/pull/63716)) ##### Extensions ##### Improvements - Each 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 `execute` call's row. ([#&#8203;64324](https://github.com/anomalyco/opencode/pull/64324)) - Plugin `SessionIdleBackground` items can now be `{ kind: "codemode", sessionID, jobID }`, and GUI plugin `BridgeLayout` accepts an optional `clip` rectangle. ([#&#8203;64343](https://github.com/anomalyco/opencode/pull/64343), [#&#8203;63819](https://github.com/anomalyco/opencode/pull/63819)) ##### Bug fixes - The browser extension's URL bar action buttons are now spaced 6px apart. ([#&#8203;64214](https://github.com/anomalyco/opencode/pull/64214)) ### [`v2.3.0`](https://github.com/anomalyco/opencode/blob/HEAD/CHANGELOG.md#v230--2026-11-13) [Compare Source](https://github.com/anomalyco/opencode/compare/v2.2.7...v2.3.0) ##### Highlights - **Background Subagents by Default**: Subagents now return immediately, continue in the background, and report back whenever they become idle. You can keep working in the parent session while multiple subagents run concurrently. ([#&#8203;63382](https://github.com/anomalyco/opencode/pull/63382)) - **Quieter Transcripts by Default**: The TUI now summarizes each run of tool calls and thoughts into one collapsible activity row, so the answer is easier to follow. To see every step again, set **Verbosity** to `medium` or `high` in settings, or set `session.verbosity` in your TUI config; an existing setting is kept. ([#&#8203;63207](https://github.com/anomalyco/opencode/pull/63207)) - **Jump to an Earlier Prompt**: In the desktop app, open **Jump to message** from the command palette or press `Cmd+Alt+G` (`Ctrl+Alt+G` on Windows and Linux) to search prompts across the current session and jump directly to one. ([#&#8203;63585](https://github.com/anomalyco/opencode/pull/63585)) ##### Core ##### Improvements - Subagents now always run in the background, return their session ID immediately, and report results to their parent whenever they become idle. ([#&#8203;63382](https://github.com/anomalyco/opencode/pull/63382)) - Added experimental support for MCP events, behind the `mcp_events` flag. ([#&#8203;63254](https://github.com/anomalyco/opencode/pull/63254), [#&#8203;63261](https://github.com/anomalyco/opencode/pull/63261), [#&#8203;63269](https://github.com/anomalyco/opencode/pull/63269)) - Shell commands now survive server handoffs and keep their output when interrupted. - Added experimental support for moving a shell command to the background when its timeout expires, behind the `shell_timeout_background` flag. With the flag on, an explicit timeout on a background command stops it. ([#&#8203;63024](https://github.com/anomalyco/opencode/pull/63024), [#&#8203;63703](https://github.com/anomalyco/opencode/pull/63703)) - Local Windows shell commands now run through the process daemon. - Added support for freeform tool input on compatible models. - Added LM Studio decision-model support. - Agents are now told when their session is a fork. Thanks [@hasta84](https://github.com/hasta84). ([#&#8203;63235](https://github.com/anomalyco/opencode/pull/63235)) - Tool output truncation now keeps the beginning of the output and preserves a usable preview if the full output cannot be saved. - Tail reads no longer load the entire file into memory. - Providers can present a client certificate for gateways that require mutual TLS. Set `settings.tls` with `cert`, `key` and an optional `passphrase` on the provider; values accept `{file:}` and `{env:}` like `apiKey`. ([#&#8203;61832](https://github.com/anomalyco/opencode/pull/61832)) - When a subagent goes idle while its own background work is still running, its report to the parent now says it is still running, so the parent waits for the final report instead of treating the partial answer as done. ([#&#8203;63675](https://github.com/anomalyco/opencode/pull/63675)) - Code Mode gets simpler structured results from file and skill tools: `write` and `edit` return their confirmation as a string, `patch` returns an empty result, and `skill` returns the skill's directory and content. ([#&#8203;63616](https://github.com/anomalyco/opencode/pull/63616), [#&#8203;63635](https://github.com/anomalyco/opencode/pull/63635), [#&#8203;63618](https://github.com/anomalyco/opencode/pull/63618), [#&#8203;63623](https://github.com/anomalyco/opencode/pull/63623)) ##### Bug fixes - Fixed case-only file renames in patches on case-insensitive filesystems. - Fixed stale thinking being retained after Claude Agent prompts or tools change. - Fixed directly driven child sessions not resuming after a restart. - Fixed plugin replacement stopping when cleanup of an earlier plugin fails. - Fixed MCP OAuth refreshes and localhost redirects when a server rewrites `127.0.0.1`. - Fixed saved API keys being omitted from local-model discovery. - Local model discovery (Ollama, LM Studio, vLLM) waits up to 15 seconds per request instead of 1, so remote or tunnelled endpoints list their models, and a slow endpoint no longer delays other endpoints or config reloads. ([#&#8203;63700](https://github.com/anomalyco/opencode/pull/63700)) - In Code Mode, calling a namespace as if it were a tool now suggests up to three real tools under it. ([#&#8203;63697](https://github.com/anomalyco/opencode/pull/63697)) - Fixed retryable provider streams losing completed work when interrupted. - Fixed GitHub Copilot requests using the wrong endpoint before models finish loading. - Fixed exhausted request rate limits being treated as terminal. Thanks [@Kyle-j-bush](https://github.com/Kyle-j-bush). ([#&#8203;59816](https://github.com/anomalyco/opencode/pull/59816)) - Fixed LM Studio models with a null context length and accepted decision-type models. Thanks [@tomzhu1024](https://github.com/tomzhu1024). ([#&#8203;56214](https://github.com/anomalyco/opencode/pull/56214)) ##### TUI ##### Improvements - Transcript verbosity now defaults to `low`, which summarizes each run of tools and thoughts into one activity row. A `session.verbosity` you already set is kept. ([#&#8203;63207](https://github.com/anomalyco/opencode/pull/63207)) - Session IDs found in messages can now be opened directly. - Activity tabs are clickable and open the correct view. - Shell mode has its own prompt color under the new designs. ##### Bug fixes - Restored pasted text when undo brings back its placeholder. - Restored the live draft after browsing prompt history. - Fixed copying a paste from within the prompt selection. - Preserved the Mini composer caret when closing the command palette. - Prevented image bytes from being retained in transcript storage when image previews are disabled. - Fixed paste-chip contrast across light and dark themes. - Fixed plugin-provided themes updating live. - Session lists now open at the top rather than at the current session. - Mini scrollback now shows the subagent card instead of obsolete launch instructions. ##### Desktop ##### Improvements - Added **Jump to message** to the command palette with `Cmd+Alt+G` / `Ctrl+Alt+G`, including prompts not yet loaded in the timeline. Thanks [@usrnk1](https://github.com/usrnk1). ([#&#8203;63585](https://github.com/anomalyco/opencode/pull/63585)) - Added the experimental **Recent** sessions sidebar, with cross-server recency, local pins, reordering, and standard session-row actions. - Recent sessions are limited to the last seven days and 30 rows, and can be hidden or muted. - Added an experimental customizable sessions sidebar. - Mermaid diagrams can now be maximized for zooming and panning. ([#&#8203;59250](https://github.com/anomalyco/opencode/pull/59250)) - Added `Alt+Enter` to place a follow-up first in the queue and `Mod+Enter` to steer the next queued prompt. - Holding the modifier key now shows tab shortcut numbers. - Each server’s terminal shell can be selected from its menu. - Added a free-limit panel in place of the composer when applicable. - Session IDs are easier to find and copy. ##### Bug fixes - Recent sessions now keep stable recency ordering through list reloads, renames, and completed runs. - Fixed browser panes not retrying after server plugins finish loading. - Fixed mention suggestions being recreated while typing. - Fixed SSH prompts failing to advance or close after connection. - Fixed pasted provider-auth redirect URLs being rejected. - Restored message footers in the New timeline. - Fixed links whose labels contain inline code. - Fixed the desktop main process freezing while probing the login-shell environment. - Fixed the drag region after changing layout direction. - Fixed vertical-tab previews snapping to the wrong tab. - Fixed the file-tree sidebar opening animation. - Fixed pairing QR-code contrast in light themes. Thanks [@ssskay](https://github.com/ssskay). ([#&#8203;63220](https://github.com/anomalyco/opencode/pull/63220)) - Fixed activity-tab navigation and click handling. Thanks [@OpeOginni](https://github.com/OpeOginni). ([#&#8203;60168](https://github.com/anomalyco/opencode/pull/60168)) ##### SDK ##### Improvements - Event subscriptions can now receive `experimental.mcp.event` events from MCP event subscriptions. - Model capability schemas now advertise supported freeform tool-input formats. - Session throughput is now measured from the first streamed token. - Session creation documentation now clarifies the `parentID` field. ##### Extensions ##### Improvements - Promise-based tools can cooperatively stop through `ToolContext.signal`. - Added the experimental `session.fork` hook. - Promise plugin cleanup failures no longer prevent subsequent plugin replacements. - `@opencode/plugin/effect` now exports `Tool`, so an `execute.before` hook can reject a call with `Tool.Error` without importing `@opencode/schema/tool`. ([#&#8203;63698](https://github.com/anomalyco/opencode/pull/63698)) ### [`v2.2.7`](https://github.com/anomalyco/opencode/blob/HEAD/CHANGELOG.md#v227--2026-11-10) [Compare Source](https://github.com/anomalyco/opencode/compare/v2.2.6...v2.2.7) ##### Highlights - **GitHub Copilot Auto**: Pick **Auto** in the model picker when your Copilot account has an Auto pool, and Copilot's router chooses the model for each session at the Auto discount. If routing fails, OpenCode falls back to the account's default chat model. ([#&#8203;62997](https://github.com/anomalyco/opencode/pull/62997)) - **Side Panel Tab Shortcuts**: Right-click a side panel tab and choose **Close tabs to the right**. `⌘W` now closes side panel tabs wherever focus is, `⌥⌘W` or `Ctrl+Alt+W` always closes the session tab, and `⌘⇧T` reopens the last closed tab of either kind where it was. ([#&#8203;62922](https://github.com/anomalyco/opencode/pull/62922)) - **Mark 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. ([#&#8203;62889](https://github.com/anomalyco/opencode/pull/62889)) ##### Breaking changes ##### `@opencode/ai`: `ImageResponse.image` is removed This affects code that imports `@opencode/ai` directly. Read `response.images[0]` instead of `response.image`. ([#&#8203;63011](https://github.com/anomalyco/opencode/pull/63011)) ##### SDK: fewer endpoints wait for plugins to load On a Location that is still loading plugins, `agent.list` returns the agents loaded so far, and `integration.list`, `usage.limits`, `vcs.init`, `rpc.call` and `artifact.*` no longer wait up to 5 seconds. Entries and actions that a plugin provides appear when it finishes loading, so refresh on the matching `*.updated` event. Model, provider, `generate.*`, `voice.*` and `websearch.query` endpoints still wait. ([#&#8203;62796](https://github.com/anomalyco/opencode/pull/62796), [#&#8203;63040](https://github.com/anomalyco/opencode/pull/63040)) ##### Core ##### Improvements - **MCP Logins Stay Signed In**: Remote MCP servers that rotate refresh tokens no longer sign you out when several clients refresh at once or the token endpoint fails for a moment. ([#&#8203;62827](https://github.com/anomalyco/opencode/pull/62827), [#&#8203;63012](https://github.com/anomalyco/opencode/pull/63012)) - `read` accepts a negative `offset` to read from the end of a file, such as `-50` for the last 50 lines. An offset past the end returns the last lines and the file's line count instead of failing. ([#&#8203;62147](https://github.com/anomalyco/opencode/pull/62147)) - When `read` can't find a file, it suggests close names: different capitalization, another extension, a small typo, or the matching path inside the project. ([#&#8203;62147](https://github.com/anomalyco/opencode/pull/62147)) - Shell results end with `Exit code: N`. Commands killed by a signal show the signal name, and timeouts say how long they waited and suggest a larger timeout. ([#&#8203;62141](https://github.com/anomalyco/opencode/pull/62141)) - Prompt cache warming times its pings from the model's `cache.ttl` by default (`interval: "auto"`), or every 4 minutes without a TTL. Models whose cache outlasts the warming `duration` are no longer pinged. ([#&#8203;62831](https://github.com/anomalyco/opencode/pull/62831)) - When MCP servers connect, disconnect or change tools, Code Mode sends the model a short list of what changed instead of the whole tool catalog. ([#&#8203;62176](https://github.com/anomalyco/opencode/pull/62176)) ##### Bug fixes - GitHub Copilot session costs use the amount Copilot charged instead of the catalog estimate, and content-filter errors name the filter that blocked the response. ([#&#8203;62034](https://github.com/anomalyco/opencode/pull/62034)) - GitHub Copilot picks up a new API endpoint after a plan change on its next model refresh, so you no longer have to sign in again. ([#&#8203;62171](https://github.com/anomalyco/opencode/pull/62171)) - Remote MCP servers that rotate refresh tokens no longer log you out when the TUI, desktop app, background service or several projects refresh the same login at once. ([#&#8203;62827](https://github.com/anomalyco/opencode/pull/62827)) - A temporary failure while refreshing an MCP OAuth token keeps your login for the next try instead of marking the server `needs_auth`. ([#&#8203;63012](https://github.com/anomalyco/opencode/pull/63012)) - MCP tool calls no longer fail when the server's result doesn't match the tool's own output schema, so completed actions aren't reported as failed. ([#&#8203;61254](https://github.com/anomalyco/opencode/pull/61254)) - MCP prompts stay available when refreshing a server's prompt list fails. ([#&#8203;62266](https://github.com/anomalyco/opencode/pull/62266)) - With `background_compaction` on, a background summary no longer stops a running Claude Agent session mid tool call. ([#&#8203;63025](https://github.com/anomalyco/opencode/pull/63025)) - After `opencode auth logout` on a `.well-known` integration, its remote providers and policies stop applying until you log back in. ([#&#8203;62760](https://github.com/anomalyco/opencode/pull/62760)) - OpenCode Console workspace policies still apply when Console's instructions or skills fail to load. ([#&#8203;62702](https://github.com/anomalyco/opencode/pull/62702)) - Cloudflare AI Gateway providers set up with only `gatewayApiKey` now send that key. ([#&#8203;62574](https://github.com/anomalyco/opencode/pull/62574)) - A v1 model override that sets only some capabilities no longer resets the others, so catalog capabilities like PDF input are kept. ([#&#8203;62573](https://github.com/anomalyco/opencode/pull/62573)) - A v1 provider config that sets both `api` and `options.baseURL` keeps `options.baseURL`. ([#&#8203;62570](https://github.com/anomalyco/opencode/pull/62570)) - Legacy model references with an inline variant, such as `"openai/gpt-5#high"`, keep the variant. ([#&#8203;62254](https://github.com/anomalyco/opencode/pull/62254)) - A fresh install imports saved provider credentials from the legacy `auth.json`, and skips an invalid one with a warning instead of stopping setup. ([#&#8203;62568](https://github.com/anomalyco/opencode/pull/62568)) - Cache warming stops for a session when a ping rebuilds the cache instead of reading it, counts its interval from when a request was sent, and no longer pings during compaction or after the session is deleted. ([#&#8203;62926](https://github.com/anomalyco/opencode/pull/62926), [#&#8203;62941](https://github.com/anomalyco/opencode/pull/62941), [#&#8203;62972](https://github.com/anomalyco/opencode/pull/62972)) - Tokens and cost from `session.generate` requests, including cache warming pings, count toward the session's totals. ([#&#8203;63006](https://github.com/anomalyco/opencode/pull/63006)) - Under zsh, a glob that matches nothing, like `rm *.tmp`, is passed through as bash does instead of stopping the command. ([#&#8203;62141](https://github.com/anomalyco/opencode/pull/62141)) - Truncated shell output that starts mid-line drops the partial first line, so the "showing lines X–Y" notice is exact. ([#&#8203;62141](https://github.com/anomalyco/opencode/pull/62141)) - On Windows, multi-line commands no longer lose everything after the first line with PowerShell 7 from the Microsoft Store. ([#&#8203;62522](https://github.com/anomalyco/opencode/pull/62522)) - `read` no longer cuts an emoji in half when it shortens a long line. ([#&#8203;62575](https://github.com/anomalyco/opencode/pull/62575)) - Generated session titles no longer include the model's commentary. Thanks [@shanebishop1](https://github.com/shanebishop1). ([#&#8203;62267](https://github.com/anomalyco/opencode/pull/62267)) - Markdown agents whose `description` starts with a bracketed tag, like `[Beta] Reviews code`, now load. ([#&#8203;62250](https://github.com/anomalyco/opencode/pull/62250)) - Markdown agent and command files that fail to load log a warning with the file path and frontmatter error. ([#&#8203;62464](https://github.com/anomalyco/opencode/pull/62464), [#&#8203;62251](https://github.com/anomalyco/opencode/pull/62251)) - Markdown agent discovery skips `node_modules`. ([#&#8203;62571](https://github.com/anomalyco/opencode/pull/62571)) - Failed plugin installs from git show git's own error instead of "An unknown git error occurred". ([#&#8203;62261](https://github.com/anomalyco/opencode/pull/62261)) ##### TUI ##### Improvements - The update and confirm dialogs have buttons you can move between with `←`/`→` and `Tab`/`Shift+Tab`. ([#&#8203;62906](https://github.com/anomalyco/opencode/pull/62906)) - The model picker no longer has a **Usage** action; use `/usage` instead. ([#&#8203;62927](https://github.com/anomalyco/opencode/pull/62927)) ##### Bug fixes - Session exports are saved in the current working directory instead of the system temp folder. ([#&#8203;62253](https://github.com/anomalyco/opencode/pull/62253)) - Typing a child session's exact ID in the open-session menu lists that session. ([#&#8203;62262](https://github.com/anomalyco/opencode/pull/62262)) - The TUI follows the terminal's current light or dark mode instead of a cached palette. ([#&#8203;62248](https://github.com/anomalyco/opencode/pull/62248)) ##### Desktop ##### Improvements - Right-click a side panel tab to **Close tabs to the right**. `⌘W` closes side panel tabs wherever focus is, the new **Close session tab** command (`⌥⌘W` or `Ctrl+Alt+W`) always closes the session tab, and `⌘⇧T` reopens the last closed side panel or session tab where it was. ([#&#8203;62922](https://github.com/anomalyco/opencode/pull/62922)) - Added **Mark as read** and **Mark as unread** to the menus for tabs, Home rows, project rows and inbox cards, and **Rename** to inbox cards. ([#&#8203;62889](https://github.com/anomalyco/opencode/pull/62889)) - The answer you pick in the question dock shows as a raised card. ([#&#8203;62896](https://github.com/anomalyco/opencode/pull/62896)) - Inline rename and custom-answer fields no longer show a focus border. ([#&#8203;62919](https://github.com/anomalyco/opencode/pull/62919)) ##### Bug fixes - On Windows and Linux, `Ctrl+Shift+R` toggles the review panel again instead of reloading the window. ([#&#8203;62567](https://github.com/anomalyco/opencode/pull/62567)) - Closing the last side panel tab slides the panel shut. ([#&#8203;62758](https://github.com/anomalyco/opencode/pull/62758)) - Selects, menus, tooltips and toasts opened from a dialog are reachable by screen readers. ([#&#8203;62913](https://github.com/anomalyco/opencode/pull/62913)) - An error appears when a path can't be opened in its default app. ([#&#8203;62572](https://github.com/anomalyco/opencode/pull/62572)) - Cut, Copy, Paste and Select All in the right-click menu follow the app language. ([#&#8203;62252](https://github.com/anomalyco/opencode/pull/62252)) - Ukrainian tool titles use nouns. ([#&#8203;62263](https://github.com/anomalyco/opencode/pull/62263)) - Scrolling 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`. ([#&#8203;62597](https://github.com/anomalyco/opencode/pull/62597)) ##### SDK ##### Improvements - `session.generate` returns `tokens` and `cost` along with `text`. ([#&#8203;62835](https://github.com/anomalyco/opencode/pull/62835)) - `credential.updated` includes the `integrationID` and `credentialID` of the login that changed. ([#&#8203;62762](https://github.com/anomalyco/opencode/pull/62762)) - Predicate questions in `client.experimental.generate.decisions` accept optional `criteria: { true?, false? }`. ([#&#8203;62819](https://github.com/anomalyco/opencode/pull/62819)) ##### Extensions ##### Improvements - ACP clients can redirect a running turn with the `_session/steering` extension, advertised as `_meta.steering.supported` in `initialize`. Thanks [@smagnuso](https://github.com/smagnuso). ([#&#8203;54394](https://github.com/anomalyco/opencode/pull/54394)) ### [`v2.2.6`](https://github.com/anomalyco/opencode/blob/HEAD/CHANGELOG.md#v226--2026-11-06) [Compare Source](https://github.com/anomalyco/opencode/compare/v2.2.5...v2.2.6) ##### 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. ([#&#8203;61185](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;61485](https://github.com/anomalyco/opencode/pull/61485), [#&#8203;61533](https://github.com/anomalyco/opencode/pull/61533), [#&#8203;61527](https://github.com/anomalyco/opencode/pull/61527), [#&#8203;61509](https://github.com/anomalyco/opencode/pull/61509)) - **Mobile Composer Dock**: On phones and tablets, composer actions now sit in a touch dock above the keyboard with larger buttons. ([#&#8203;61773](https://github.com/anomalyco/opencode/pull/61773)) - **Scripted Runs in Worktrees**: Run `opencode run -w` to start the session in a new git worktree, or `--worktree=<name>` to name it. ([#&#8203;60712](https://github.com/anomalyco/opencode/pull/60712)) - **Automatically Archived Runs**: Add `--archived` to `opencode run` to keep scripted and CI sessions out of your inbox and session lists. ([#&#8203;61270](https://github.com/anomalyco/opencode/pull/61270)) ##### Core ##### Improvements - Added opt-in MCP connection sharing through `pool: true`. ([#&#8203;61185](https://github.com/anomalyco/opencode/pull/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`. ([#&#8203;61270](https://github.com/anomalyco/opencode/pull/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 `--continue` or `--session`. ([#&#8203;60712](https://github.com/anomalyco/opencode/pull/60712)) - Added provider- and model-specific session warming settings, including an `interval: "auto"` mode based on cache TTL. ([#&#8203;60025](https://github.com/anomalyco/opencode/pull/60025), [#&#8203;60969](https://github.com/anomalyco/opencode/pull/60969)) - Added the `websearch.use` policy action and switches for enabling all feature flags with `OPENCODE_FLAGS=all` or `experimental.all_flags`. ([#&#8203;61557](https://github.com/anomalyco/opencode/pull/61557), [#&#8203;61826](https://github.com/anomalyco/opencode/pull/61826)) - Added an experimental bytecode VM for Code Mode. It is off by default; turn it on with `experimental.codemode_vm: true` or `OPENCODE_FLAGS=codemode_vm`. ([#&#8203;62358](https://github.com/anomalyco/opencode/pull/62358)) - Added support for Microsoft Store installations of PowerShell 7 on Windows. ([#&#8203;61952](https://github.com/anomalyco/opencode/pull/61952)) - Added Azure Messages support for Foundry Claude models. ([#&#8203;60934](https://github.com/anomalyco/opencode/pull/60934)) ##### Bug fixes - `opencode run` now 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 prints `waiting for N background job(s)` (a `background_wait` event 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. ([#&#8203;60699](https://github.com/anomalyco/opencode/pull/60699), [#&#8203;61911](https://github.com/anomalyco/opencode/pull/61911)) - Reworked noninteractive `opencode run` execution 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. ([#&#8203;61911](https://github.com/anomalyco/opencode/pull/61911), [#&#8203;61721](https://github.com/anomalyco/opencode/pull/61721), [#&#8203;61518](https://github.com/anomalyco/opencode/pull/61518), [#&#8203;61564](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;62422](https://github.com/anomalyco/opencode/pull/62422)) - Webfetch and Code Mode `fetch` now reject URLs that contain credentials and ignore the `#fragment` when matching permission rules, and Code Mode `fetch` checks every redirect against your webfetch rules. ([#&#8203;60502](https://github.com/anomalyco/opencode/pull/60502), [#&#8203;61701](https://github.com/anomalyco/opencode/pull/61701), [#&#8203;62373](https://github.com/anomalyco/opencode/pull/62373)) - Ask for `external_directory` permission before `session_move` leaves the current project. ([#&#8203;62204](https://github.com/anomalyco/opencode/pull/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 send `logo_uri` during dynamic registration. ([#&#8203;60490](https://github.com/anomalyco/opencode/pull/60490), [#&#8203;61496](https://github.com/anomalyco/opencode/pull/61496), [#&#8203;61817](https://github.com/anomalyco/opencode/pull/61817), [#&#8203;59031](https://github.com/anomalyco/opencode/pull/59031)) - Time out OpenCode Console config requests after 5 seconds, so startup no longer hangs when the Console accepts the connection but never answers. ([#&#8203;62404](https://github.com/anomalyco/opencode/pull/62404)) - Retry provider requests while their host is unreachable and recover prematurely ended Cohere streams. ([#&#8203;61880](https://github.com/anomalyco/opencode/pull/61880), [#&#8203;61184](https://github.com/anomalyco/opencode/pull/61184)) - Keep legacy custom providers whose models set only part of `limit`, such as only `limit.context`, instead of dropping the whole provider without an error. Thanks [@Tarquinen](https://github.com/Tarquinen). ([#&#8203;62240](https://github.com/anomalyco/opencode/pull/62240)) - `opencode acp` now removes a session that a client creates with `session/new` and closes without prompting, so IDE integrations no longer leave empty sessions behind. ([#&#8203;62189](https://github.com/anomalyco/opencode/pull/62189)) - Prevent repeated zsh `q` flags from freezing shell permission scanning. Thanks [@yangguan-xue](https://github.com/yangguan-xue). ([#&#8203;60791](https://github.com/anomalyco/opencode/pull/60791)) - Allow npm upgrade install scripts again. Thanks [@renatomoselli](https://github.com/renatomoselli). ([#&#8203;51554](https://github.com/anomalyco/opencode/pull/51554)) ##### TUI ##### Improvements - Added **Scroll on send** in Settings. Choose **Keep** (`session.submit_scroll: "keep"`) to retain your reading position after submitting a prompt. ([#&#8203;61460](https://github.com/anomalyco/opencode/pull/61460)) ##### Bug fixes - Allow Ctrl+Z to suspend OpenCode while a form or dialog is open. ([#&#8203;62118](https://github.com/anomalyco/opencode/pull/62118)) - Keep focus on an open dialog when a question arrives and contain plugin dialogs that throw during rendering. ([#&#8203;60365](https://github.com/anomalyco/opencode/pull/60365), [#&#8203;62110](https://github.com/anomalyco/opencode/pull/62110)) - Show an error when Ctrl+V cannot read the clipboard. Thanks [@jimmyallinai](https://github.com/jimmyallinai). ([#&#8203;61094](https://github.com/anomalyco/opencode/pull/61094)) - Prevent session titles containing newlines from crashing the TUI. Thanks [@vishalshekhar](https://github.com/vishalshekhar). ([#&#8203;57523](https://github.com/anomalyco/opencode/pull/57523)) - Improved message spacing and prevented older history from flashing while scrolling. ([#&#8203;62104](https://github.com/anomalyco/opencode/pull/62104), [#&#8203;59236](https://github.com/anomalyco/opencode/pull/59236)) - Jump to the first or last message with Home, End, and Ctrl+G in subagent sessions. Thanks [@ricky9408](https://github.com/ricky9408). ([#&#8203;60817](https://github.com/anomalyco/opencode/pull/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](https://github.com/argszero). ([#&#8203;59770](https://github.com/anomalyco/opencode/pull/59770)) - `opencode mini` now uses the agent colors from your config. Thanks [@ferdinandyb](https://github.com/ferdinandyb). ([#&#8203;62067](https://github.com/anomalyco/opencode/pull/62067)) - Return to the `/mcp` list after signing in to an MCP server, with that server still selected. Thanks [@Tarquinen](https://github.com/Tarquinen). ([#&#8203;62245](https://github.com/anomalyco/opencode/pull/62245)) - Allow favoriting models with Ctrl+F in `/models` when they come from a provider declared in config or an add-on instead of a saved connection. Thanks [@Tarquinen](https://github.com/Tarquinen). ([#&#8203;62244](https://github.com/anomalyco/opencode/pull/62244)) ##### Desktop ##### Improvements - Added a mobile composer dock for touch devices, with 44px action targets and predictable multiline input. ([#&#8203;61773](https://github.com/anomalyco/opencode/pull/61773)) - Added close-other-tabs and close-tabs-after actions to the tab menu. ([#&#8203;61631](https://github.com/anomalyco/opencode/pull/61631)) - Added unread-session grouping in Inbox and failed-run indicators on tabs. ([#&#8203;61691](https://github.com/anomalyco/opencode/pull/61691), [#&#8203;62077](https://github.com/anomalyco/opencode/pull/62077)) - MCP sign-in now accepts a pasted redirect URL when automatic redirection is unavailable. ([#&#8203;61706](https://github.com/anomalyco/opencode/pull/61706)) - Markdown file previews now display frontmatter as a properties list. ([#&#8203;60333](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;62314](https://github.com/anomalyco/opencode/pull/62314)) - Prompt history now keeps up to 200 prompts. Past the newest 100, only prompts without attachments are kept. ([#&#8203;62313](https://github.com/anomalyco/opencode/pull/62313)) ##### Bug fixes - Improved prompt submission and timeline behavior during loading, reconnects, retries, scrolling, compaction, and optimistic delivery. ([#&#8203;62025](https://github.com/anomalyco/opencode/pull/62025), [#&#8203;62037](https://github.com/anomalyco/opencode/pull/62037), [#&#8203;61932](https://github.com/anomalyco/opencode/pull/61932), [#&#8203;62151](https://github.com/anomalyco/opencode/pull/62151)) - Surface loading and offline failures in review previews, file search, details, Word pages, and review diffs instead of showing empty or clean results. ([#&#8203;62114](https://github.com/anomalyco/opencode/pull/62114), [#&#8203;61862](https://github.com/anomalyco/opencode/pull/61862)) - Fixed provider connection, MCP sign-in, settings, and plugin loading flows that could become stuck after failures. ([#&#8203;62102](https://github.com/anomalyco/opencode/pull/62102), [#&#8203;61917](https://github.com/anomalyco/opencode/pull/61917), [#&#8203;61580](https://github.com/anomalyco/opencode/pull/61580)) - Preserve drafts, focus, caret position, queued prompts, and selected terminal tabs across failed or concurrent transitions. ([#&#8203;61579](https://github.com/anomalyco/opencode/pull/61579), [#&#8203;61969](https://github.com/anomalyco/opencode/pull/61969), [#&#8203;61852](https://github.com/anomalyco/opencode/pull/61852)) - Restart plugins after failed update handoffs and recover the renderer, storage, event stream, and background-service connection from transient failures. ([#&#8203;61649](https://github.com/anomalyco/opencode/pull/61649), [#&#8203;61908](https://github.com/anomalyco/opencode/pull/61908), [#&#8203;61804](https://github.com/anomalyco/opencode/pull/61804), [#&#8203;61748](https://github.com/anomalyco/opencode/pull/61748)) - Corrected V2 file labels and mention syntax. Thanks [@velmet](https://github.com/velmet) and [@cheapredwine](https://github.com/cheapredwine). ([#&#8203;55677](https://github.com/anomalyco/opencode/pull/55677), [#&#8203;60737](https://github.com/anomalyco/opencode/pull/60737)) - Attach only the `@mentions` in a line comment that match an existing file or folder, so a comment such as `Check @here` no longer fails the send. Render partial diffs in the review pane when it shows all lines, instead of a blank pane. Thanks [@Tarquinen](https://github.com/Tarquinen). ([#&#8203;62242](https://github.com/anomalyco/opencode/pull/62242), [#&#8203;62241](https://github.com/anomalyco/opencode/pull/62241)) - Keep pasted images sendable after the clipboard tool deletes its temporary file. Thanks [@lfscqk67](https://github.com/lfscqk67). ([#&#8203;62057](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;62318](https://github.com/anomalyco/opencode/pull/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](https://github.com/inuyume). ([#&#8203;53676](https://github.com/anomalyco/opencode/pull/53676), [#&#8203;62317](https://github.com/anomalyco/opencode/pull/62317), [#&#8203;62309](https://github.com/anomalyco/opencode/pull/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. ([#&#8203;60698](https://github.com/anomalyco/opencode/pull/60698)) - Server embedders can provide a custom `fetch` implementation for OpenCode HTTP, model, web, and remote MCP traffic. ([#&#8203;61582](https://github.com/anomalyco/opencode/pull/61582)) ##### Extensions ##### Improvements - Added `CodeBlock` and `CodeBlockAction` GUI registries for custom fenced-code rendering and actions. ([#&#8203;61533](https://github.com/anomalyco/opencode/pull/61533)) - GUI plugins can contribute themes through the `Theme` registry. ([#&#8203;61485](https://github.com/anomalyco/opencode/pull/61485)) - Added `ctx.ui.Select`, settings layout components, and menu-row components for native-looking plugin interfaces. ([#&#8203;61527](https://github.com/anomalyco/opencode/pull/61527)) - GUI plugin side panels can set, read, and persist their preferred width. ([#&#8203;61509](https://github.com/anomalyco/opencode/pull/61509)) ##### Bug fixes - Isolated plugin dialogs, Markdown renderers, terminal views, lazy chunks, and artifact viewers so failures do not take down their host surface. ([#&#8203;62110](https://github.com/anomalyco/opencode/pull/62110), [#&#8203;62123](https://github.com/anomalyco/opencode/pull/62123), [#&#8203;61993](https://github.com/anomalyco/opencode/pull/61993)) ### [`v2.2.5`](https://github.com/anomalyco/opencode/blob/HEAD/CHANGELOG.md#v225--2026-10-30) [Compare Source](https://github.com/anomalyco/opencode/compare/v2.2.4...v2.2.5) ##### Highlights - **Worktree and Shell Mode Shortcuts**: Press `⌘⌥O` on macOS or `Ctrl+Alt+O` on Windows and Linux to choose a worktree, and `⌘⌥B` or `Ctrl+Alt+B` to choose its base branch. `⌘⇧X` or `Ctrl+Shift+X` now toggles shell mode in the composer. ([#&#8203;60713](https://github.com/anomalyco/opencode/pull/60713)) - **Send Quotes From the Comment Popup**: Hold `⌘` or `Ctrl` in the quote popup to turn its checkmark into send, or press `⌘Enter` or `Ctrl+Enter`, to send just that quote and comment while leaving the rest of the composer untouched. ([#&#8203;60640](https://github.com/anomalyco/opencode/pull/60640)) - **Percentage Compaction Buffer**: Set `"compaction": { "buffer": "20%" }` in `opencode.json` to keep a share of each model's context window free, so one setting fits models with small and large windows. Token counts still work. ([#&#8203;60647](https://github.com/anomalyco/opencode/pull/60647)) ##### Core ##### Improvements - `compaction.buffer` accepts a percentage of the model's context window, such as `"20%"`, in addition to a token count. ([#&#8203;60647](https://github.com/anomalyco/opencode/pull/60647)) - When `read` misses because a folder is missing, the error names that folder and the nearest one that exists. ([#&#8203;60688](https://github.com/anomalyco/opencode/pull/60688)) - When `edit` can't find `oldString`, the error shows the file's closest lines, or says the change is already there. ([#&#8203;60689](https://github.com/anomalyco/opencode/pull/60689)) - Calls to a tool named `bash` now run as `shell` instead of failing, with the same permissions. A plugin tool actually named `bash` still takes precedence. ([#&#8203;60687](https://github.com/anomalyco/opencode/pull/60687)) ##### Bug fixes - MCP servers that send stdio messages larger than 10 MiB no longer get disconnected, and large messages are read much faster. ([#&#8203;60694](https://github.com/anomalyco/opencode/pull/60694)) - Idle locations no longer restart their MCP servers right after shutting down. ([#&#8203;60668](https://github.com/anomalyco/opencode/pull/60668)) - Compaction now caps its prompt at the model's context window when the input limit is larger. ([#&#8203;60660](https://github.com/anomalyco/opencode/pull/60660)) - LiteLLM context window errors now trigger compaction instead of stopping the session. ([#&#8203;60692](https://github.com/anomalyco/opencode/pull/60692)) - Reasoning is no longer turned into plain text when you switch models or resume an interrupted response, which caused request errors on some providers. ([#&#8203;60498](https://github.com/anomalyco/opencode/pull/60498)) ##### TUI ##### Bug fixes - The connect menu no longer lists MCP servers, which are managed in their own place. ([#&#8203;60675](https://github.com/anomalyco/opencode/pull/60675)) ##### Desktop ##### Improvements - Added keyboard shortcuts to choose a worktree and its base branch, shown in tooltips, and a shortcut to toggle shell mode. The worktree path can be selected to copy the full directory. ([#&#8203;60713](https://github.com/anomalyco/opencode/pull/60713)) - Hold `⌘` or `Ctrl` in the quote popup to send a quote and its comment directly. ([#&#8203;60640](https://github.com/anomalyco/opencode/pull/60640)) - Added flat input surfaces and a compact input size. ([#&#8203;60598](https://github.com/anomalyco/opencode/pull/60598)) ##### Bug fixes - The connect menu no longer lists MCP servers. ([#&#8203;60675](https://github.com/anomalyco/opencode/pull/60675)) - Added the missing top inset to the search field in the recently closed menu. ([#&#8203;60652](https://github.com/anomalyco/opencode/pull/60652)) ### [`v2.2.4`](https://github.com/anomalyco/opencode/blob/HEAD/CHANGELOG.md#v224--2026-10-30) [Compare Source](https://github.com/anomalyco/opencode/compare/v2.2.3...v2.2.4) ##### Highlights - **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. ([#&#8203;60346](https://github.com/anomalyco/opencode/pull/60346)) - **Publish Interactive Artifacts**: Enable `"experimental": { "artifacts": true }` in `opencode.json` to let agents publish, update, and serve HTML or static artifacts through the built-in local provider or plugin-provided storage. ([#&#8203;60351](https://github.com/anomalyco/opencode/pull/60351)) - **Guided 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. ([#&#8203;60603](https://github.com/anomalyco/opencode/pull/60603)) - **Choose a Base Branch Quickly**: While creating a worktree, open **Choose base branch** with `⌘⌥.` on macOS or `Ctrl+Alt+.` on Windows and Linux. The command is also available in the command palette and Settings › Shortcuts. ([#&#8203;60579](https://github.com/anomalyco/opencode/pull/60579)) ##### Core ##### Improvements - Added opt-in artifacts with `artifact_create`, `artifact_read`, `artifact_update`, and `artifact_delete`, including a built-in local static-file provider. ([#&#8203;60351](https://github.com/anomalyco/opencode/pull/60351)) - Made enabled schedules run under `opencode serve` and coordinated multiple server processes so a schedule fires only once. Schedules remain opt-in through `experimental.schedules`. ([#&#8203;60478](https://github.com/anomalyco/opencode/pull/60478)) - Raised OpenCode Go limits for DeepSeek V4.1 Flash. ([#&#8203;60625](https://github.com/anomalyco/opencode/pull/60625)) ##### Bug fixes - Allowed user, project, and remote configuration to override Console-supplied provider names, limits, variants, settings, and headers. ([#&#8203;60597](https://github.com/anomalyco/opencode/issues/60597)) - Kept local OpenCode service requests out of environment-configured proxies. ([#&#8203;60441](https://github.com/anomalyco/opencode/pull/60441)) - Replaced Claude Code’s misleading `/login` instruction with `claude auth login`. Thanks [@Tarquinen](https://github.com/Tarquinen). ([#&#8203;60592](https://github.com/anomalyco/opencode/pull/60592)) ##### TUI ##### Bug fixes - Preserved prompt cursor styles applied by plugins when themes or unrelated prompt state change. ([#&#8203;60599](https://github.com/anomalyco/opencode/pull/60599)) - Added missing right padding to edit and patch diffs. ([#&#8203;60614](https://github.com/anomalyco/opencode/pull/60614)) - Extended the vertical session-tab activity pulse across the full tab width. ([#&#8203;60338](https://github.com/anomalyco/opencode/pull/60338)) ##### Desktop ##### Improvements - Moved terminals to persistent session PTYs shared with the TUI and other windows, with restored scrollback, server-side renaming, and restart persistence. ([#&#8203;60346](https://github.com/anomalyco/opencode/pull/60346)) - Added guided Claude Agent installation, sign-in, connection checking, and recovery from **Needs sign-in**. ([#&#8203;60603](https://github.com/anomalyco/opencode/pull/60603)) - Added **Choose base branch** to the command palette and shortcuts, bound to `⌘⌥.` or `Ctrl+Alt+.`. ([#&#8203;60579](https://github.com/anomalyco/opencode/pull/60579)) - Simplified the session location popover and made long paths easier to read. ([#&#8203;60492](https://github.com/anomalyco/opencode/pull/60492)) ##### Bug fixes - Kept terminal tab clicks and rename fields attached to the intended tab. ([#&#8203;60645](https://github.com/anomalyco/opencode/pull/60645)) - Listed matching commands before sessions in command-palette search. ([#&#8203;60616](https://github.com/anomalyco/opencode/pull/60616)) - Restored copying user messages from an open actions menu. ([#&#8203;60576](https://github.com/anomalyco/opencode/pull/60576)) - Reduced repeated work and allocations while streaming Markdown, especially in long sessions. ([#&#8203;60549](https://github.com/anomalyco/opencode/pull/60549), [#&#8203;60562](https://github.com/anomalyco/opencode/pull/60562), [#&#8203;60577](https://github.com/anomalyco/opencode/pull/60577)) ##### SDK ##### Improvements - Added `client.experimental.artifacts.providers`, `list`, `create`, `get`, `update`, `delete`, and `view`. ([#&#8203;60351](https://github.com/anomalyco/opencode/pull/60351)) - Extended `client.experimental.persistentPty.update` to rename terminals or clear a user title, and exposed `userTitle` plus `persistent-pty.updated` events. ([#&#8203;60329](https://github.com/anomalyco/opencode/pull/60329)) ##### Extensions ##### Improvements - Added `ctx.experimental.artifact.transform(...)` to Effect and Promise plugins for registering artifact providers, capabilities, prompts, and the default provider. ([#&#8203;60351](https://github.com/anomalyco/opencode/pull/60351)) ### [`v2.2.3`](https://github.com/anomalyco/opencode/blob/HEAD/CHANGELOG.md#v223--2026-10-30) [Compare Source](https://github.com/anomalyco/opencode/compare/v2.2.2...v2.2.3) ##### Highlights - **Use Claude Code in OpenCode**: Install Claude Code, run `claude auth login`, then select **Claude Agent** in `/connect` to use your Claude Code login and models. ([#&#8203;58782](https://github.com/anomalyco/opencode/pull/58782)) - **Faster Long Sessions in Desktop**: Streaming replies and long conversations now do much less rendering work. ([#&#8203;60489](https://github.com/anomalyco/opencode/pull/60489), [#&#8203;60521](https://github.com/anomalyco/opencode/pull/60521), [#&#8203;60513](https://github.com/anomalyco/opencode/pull/60513), [#&#8203;60481](https://github.com/anomalyco/opencode/pull/60481)) - **Desktop Stability Fixes**: Fixes side-panel tabs, repeated "Session not found" toasts, and **Open file** over HTTP. ([#&#8203;60430](https://github.com/anomalyco/opencode/pull/60430), [#&#8203;60436](https://github.com/anomalyco/opencode/pull/60436), [#&#8203;60459](https://github.com/anomalyco/opencode/pull/60459), [#&#8203;60462](https://github.com/anomalyco/opencode/pull/60462)) ##### Breaking changes ##### TUI plugins require OpenTUI 0.8 `@opencode/plugin` now requires `@opentui/core` and `@opentui/solid` 0.8.0 or later. In OpenTUI 0.8, a ScrollBox's `wrapper`, `viewport`, `content`, and scrollbars are facade objects instead of renderables, and a custom `RenderContext` must implement `clock` and `onAnimationTick`. See the [OpenTUI 0.8.0 release notes](https://opentui.com/docs/releases/0.8.0). ([#&#8203;60385](https://github.com/anomalyco/opencode/pull/60385)) ##### Managed policy: `integration.use` covers integrations only `integration.use` now controls which integration accounts can be used, and the new `mcp.use`, `skill.use`, and `plugin.use` actions control MCP servers, skills, and plugins. Rules with the old `mcp:`, `skill:`, and `plugin:` resource prefixes are converted automatically, but a bare `integration.use` rule no longer applies to MCP servers, skills, or plugins. ([#&#8203;60315](https://github.com/anomalyco/opencode/pull/60315)) ##### Core ##### Improvements - Added the built-in **Claude Agent** provider. Install Claude Code, run `claude auth login`, and select **Claude Agent** in `/connect`; `OPENCODE_CLAUDE_PATH` can override the Claude executable. Thanks [@Tarquinen](https://github.com/Tarquinen). ([#&#8203;58782](https://github.com/anomalyco/opencode/pull/58782)) - Added Code Mode JavaScript checks to experimental schedules, including statically authorized tool calls, persistent state, and custom wake messages. ([#&#8203;60140](https://github.com/anomalyco/opencode/pull/60140)) - Added separate managed-policy actions for connecting to integrations and using integrations, MCP servers, skills, and plugins. ([#&#8203;60315](https://github.com/anomalyco/opencode/pull/60315)) ##### Bug fixes - Preserved plugin-provided model variants and delayed dynamic provider fallback until external SDK hooks have run. ([#&#8203;60097](https://github.com/anomalyco/opencode/pull/60097), [#&#8203;60380](https://github.com/anomalyco/opencode/pull/60380)) - Preserved permission reasons and feedback in MCP failures, and made Code Mode failures match direct tool-call failures. ([#&#8203;60102](https://github.com/anomalyco/opencode/pull/60102), [#&#8203;60109](https://github.com/anomalyco/opencode/pull/60109)) - Fixed invalid Code Mode schedule checks so creation fails immediately and existing invalid checks pause without repeated execution. ([#&#8203;60349](https://github.com/anomalyco/opencode/pull/60349)) - Removed a session’s persistent terminals when the session is deleted. ([#&#8203;60322](https://github.com/anomalyco/opencode/pull/60322)) - Kept nested tool progress from replacing the parent `execute` call rows. ([#&#8203;60480](https://github.com/anomalyco/opencode/pull/60480)) ##### TUI ##### Improvements - Added lazy loading for stored image references when `experimental.media_blob` is enabled. Images are downloaded only for previews, while undo, revert, fork, and prompt recall restore referenced attachments safely. ([#&#8203;60116](https://github.com/anomalyco/opencode/pull/60116)) - Added a distinct marker for the selected composer suggestion in the new designs. ([#&#8203;60393](https://github.com/anomalyco/opencode/pull/60393)) ##### Bug fixes - Fixed PHP syntax highlighting for code blocks without an opening `<?php` tag. ([#&#8203;60359](https://github.com/anomalyco/opencode/pull/60359)) - Preserved `#` in file-search paths unless it introduces a valid line range. ([#&#8203;60336](https://github.com/anomalyco/opencode/pull/60336)) - Kept the configured default cursor style after config reloads. ([#&#8203;60302](https://github.com/anomalyco/opencode/pull/60302)) - Matched the search cursor to the highlighted row when a selection dialog has no query. ([#&#8203;60310](https://github.com/anomalyco/opencode/pull/60310)) ##### Desktop ##### Improvements - Added a Desktop spellcheck toggle under **Settings → General** and system-language dictionary selection on Windows and Linux. ([#&#8203;59129](https://github.com/anomalyco/opencode/pull/59129)) - Added `PageUp` and `PageDown` timeline paging from the composer without moving the draft cursor or focus. ([#&#8203;59426](https://github.com/anomalyco/opencode/pull/59426)) - Added independently configurable question notifications and sounds under **Settings → Notifications → Questions**. Thanks [@YuriNek0](https://github.com/YuriNek0). ([#&#8203;60358](https://github.com/anomalyco/opencode/pull/60358)) - Added separate project and worktree actions to the new-session control. ([#&#8203;60486](https://github.com/anomalyco/opencode/pull/60486)) - Added one-click version copying in **Settings → About**. ([#&#8203;52356](https://github.com/anomalyco/opencode/pull/52356)) - Grouped added projects in workspace settings. ([#&#8203;60221](https://github.com/anomalyco/opencode/pull/60221)) - Made question-answer text selectable. ([#&#8203;60372](https://github.com/anomalyco/opencode/pull/60372)) - Adapted the session header to narrow timeline widths. ([#&#8203;59512](https://github.com/anomalyco/opencode/pull/59512)) ##### Bug fixes - Side-panel tabs close again and New tab launchers respond to clicks, fixing a 2.2.2 regression. ([#&#8203;60430](https://github.com/anomalyco/opencode/pull/60430), [#&#8203;60436](https://github.com/anomalyco/opencode/pull/60436)) - **Open file** in the side panel works again in the web app over HTTP. ([#&#8203;60462](https://github.com/anomalyco/opencode/pull/60462)) - Kept question options and submit controls reachable on mobile. ([#&#8203;60335](https://github.com/anomalyco/opencode/pull/60335)) - Preserved simultaneous request notifications and inbox scroll position when opening sessions. ([#&#8203;60378](https://github.com/anomalyco/opencode/pull/60378), [#&#8203;60356](https://github.com/anomalyco/opencode/pull/60356)) - Fixed consecutive dropped files so every file mention is inserted into the composer. ([#&#8203;60463](https://github.com/anomalyco/opencode/pull/60463)) - Kept the current `@` and command-menu selection stable while results update under a stationary pointer. ([#&#8203;59434](https://github.com/anomalyco/opencode/pull/59434), [#&#8203;60368](https://github.com/anomalyco/opencode/pull/60368)) - Fixed `⌘W` side-panel closing and focus restoration when no closable tabs remain. ([#&#8203;59002](https://github.com/anomalyco/opencode/pull/59002), [#&#8203;60435](https://github.com/anomalyco/opencode/pull/60435)) - Kept the mobile session drawer open while a session loads. ([#&#8203;59427](https://github.com/anomalyco/opencode/pull/59427)) - Restored maximized windows on their saved display and retained renderer permissions across shared-session windows. ([#&#8203;60482](https://github.com/anomalyco/opencode/pull/60482), [#&#8203;60458](https://github.com/anomalyco/opencode/pull/60458)) - Fixed timeline growth, zoom-end scrolling, highlighting, and DOM-observer performance issues in long sessions. ([#&#8203;60489](https://github.com/anomalyco/opencode/pull/60489), [#&#8203;60481](https://github.com/anomalyco/opencode/pull/60481), [#&#8203;60488](https://github.com/anomalyco/opencode/pull/60488), [#&#8203;60513](https://github.com/anomalyco/opencode/pull/60513), [#&#8203;60521](https://github.com/anomalyco/opencode/pull/60521)) - Kept models with unknown release dates visible. Thanks [@joe-ieta](https://github.com/joe-ieta). ([#&#8203;60496](https://github.com/anomalyco/opencode/pull/60496)) - Fixed reasoning-capability detection for models that expose reasoning through variants or compatibility metadata. ([#&#8203;60457](https://github.com/anomalyco/opencode/pull/60457)) - Evicted deleted sessions after a `404` instead of retrying or showing repeated errors. ([#&#8203;60459](https://github.com/anomalyco/opencode/pull/60459)) - Fixed the macOS application icon and added the required folder-access description to the app bundle. ([#&#8203;60020](https://github.com/anomalyco/opencode/pull/60020), [#&#8203;60503](https://github.com/anomalyco/opencode/pull/60503)) ##### SDK ##### Improvements - Preserved partial `LLMResponse` output on `AIError.partial` when generation, object generation, or a tool loop fails. ([#&#8203;60477](https://github.com/anomalyco/opencode/pull/60477)) - Unified Effect and Promise tool declarations around `tool(...)`, with optional output schemas and executable or declaration-only tools. ([#&#8203;60407](https://github.com/anomalyco/opencode/pull/60407)) - Added typed OpenRouter `debug`, `models`, `plugins`, `provider`, and `user` options to the Responses route. ([#&#8203;60044](https://github.com/anomalyco/opencode/pull/60044)) - Added `withMediaRefs`, `mediaHashFromUri`, and `MediaRequestOptions` to the Promise client for experimental stored-media references. ([#&#8203;60116](https://github.com/anomalyco/opencode/pull/60116)) ##### Bug fixes - Matched the Promise AI client more closely to the Effect API and accepted typed tools in loops. ([#&#8203;60465](https://github.com/anomalyco/opencode/pull/60465), [#&#8203;60390](https://github.com/anomalyco/opencode/pull/60390)) - Kept tools whose `execute` handler can throw available to the AI client. ([#&#8203;60431](https://github.com/anomalyco/opencode/pull/60431)) - Continued polling queued media generations when providers return unknown intermediate statuses. ([#&#8203;59988](https://github.com/anomalyco/opencode/pull/59988)) - Stopped sending an incompatible `filename` alongside `file_url` on OpenAI Responses requests. ([#&#8203;60382](https://github.com/anomalyco/opencode/pull/60382)) ##### Extensions ##### Improvements - Added persistent-terminal renaming to the process daemon, including capability discovery and user titles that override shell-provided titles until cleared. ([#&#8203;60324](https://github.com/anomalyco/opencode/pull/60324)) ##### Bug fixes - Preserved `null` values in Code Mode text encoding. Thanks [@xiajiahang](https://github.com/xiajiahang). ([#&#8203;57639](https://github.com/anomalyco/opencode/pull/57639)) - Tidied nested Extensions menus. ([#&#8203;59468](https://github.com/anomalyco/opencode/pull/59468)) ### [`v2.2.2`](https://github.com/anomalyco/opencode/blob/HEAD/CHANGELOG.md#v222--2026-10-29) [Compare Source](https://github.com/anomalyco/opencode/compare/v2.2.1...v2.2.2) ##### Highlights - **Image Generation by Default**: When a connected provider supports image models, agents can now use `experimental_image_generate` without additional configuration. Set its preferred model through `experimental.image_generate.model`. ([#&#8203;60258](https://github.com/anomalyco/opencode/pull/60258)) - **Faster Worktree Selection**: On the new-session screen, click the current Git branch to open that project’s “Run session in” worktree picker directly. ([#&#8203;60263](https://github.com/anomalyco/opencode/pull/60263)) - **Unified Quotes and Annotations**: Timeline quotes, terminal quotes, and browser annotations now share a compact optional-comment editor, while source highlights remain attached to local drafts. ([#&#8203;60164](https://github.com/anomalyco/opencode/pull/60164)) ##### Core ##### Improvements - Enabled `experimental_image_generate` by default when an image-capable provider is connected. ([#&#8203;60258](https://github.com/anomalyco/opencode/pull/60258)) - Recorded the start time of each session’s latest execution. ##### Bug fixes - Rejected persistent terminal requests whose working directory no longer exists. - Preserved media when sessions are forked or imported. - Associated image-generation notices with the correct background job. ##### TUI ##### Bug fixes - Preserved captured attachments and their original source paths. Thanks [@OpeOginni](https://github.com/OpeOginni). ([#&#8203;60222](https://github.com/anomalyco/opencode/pull/60222)) - Prevented middle-truncated paths from overflowing at very narrow terminal widths. - Improved Go usage-limit messages with the reset time and account page link. - Correctly typed and displayed Go and ChatGPT usage-limit errors. ##### Desktop ##### Improvements - Made the Git branch on the new-session screen open the current project’s worktree picker directly. ([#&#8203;60263](https://github.com/anomalyco/opencode/pull/60263)) - Unified timeline quotes, terminal quotes, and browser annotations around one optional-comment workflow. ([#&#8203;60164](https://github.com/anomalyco/opencode/pull/60164)) - Restored classic question cards by default and added **Settings → Experimental → New question UI** for the redesigned keyboard-oriented dock. ([#&#8203;59723](https://github.com/anomalyco/opencode/pull/59723)) - Added a side-panel tab menu and kept close buttons visible when tabs overflow. - Moved user-message actions into a compact menu. - Redesigned the active todo pill to show the current task and concurrent work more clearly. - Added consistent styling for searchable dialogs and composer pills. ##### Bug fixes - Stopped queued prompts from dropping frames as their content grows. - Counted queued quotes and browser annotations as attachments. - Reported failures to persist composer attachments through the normal error UI. - Made Markdown fragment links scroll to the referenced heading. - Kept each tab’s timeline state when switching directories. - Ordered the inbox’s **Working** shelf by execution start time. - Fixed side-panel launchers and automatic closing when the final tab is removed. - Focused the matching navigation arrow while reviewing changes. - Preserved pending model labels only when a queued prompt actually changes models. - Added reset details, an account link, and a composer tray for Go usage limits. ##### SDK ##### Improvements - Added `if` and `until` inputs for `client.experimental.schedule.create`, plus schedule check results and output fields. ([#&#8203;60137](https://github.com/anomalyco/opencode/pull/60137)) - Exposed `SessionInfo.time.busy` for the latest execution’s start time. - Added optional source metadata to prompt file attachments. ##### Extensions ##### Improvements - Added optional `title` and `subtitle` fields to composer notes, source-relative quote positioning, and focus options for composer integrations. ([#&#8203;60164](https://github.com/anomalyco/opencode/pull/60164)) ##### Bug fixes - Corrected visible flowchart edges connected through Merman subgraphs. ### [`v2.2.1`](https://github.com/anomalyco/opencode/blob/HEAD/CHANGELOG.md#v221--2026-10-29) [Compare Source](https://github.com/anomalyco/opencode/compare/v2.2.0...v2.2.1) ##### Highlights - **Keep Working Toward a Goal**: Run `/goal <objective>` in the TUI or Desktop to let the session continue until a reviewer confirms the objective is met. Use `/goal pause`, `/goal resume`, or `/goal clear` to control it. ([#&#8203;59437](https://github.com/anomalyco/opencode/pull/59437)) - **Generate Images**: Enable `experimental.image_generate` to let agents create or edit images with the new `image_generate` tool. You can optionally set its default model with `experimental.image_generate.model`. ([#&#8203;59939](https://github.com/anomalyco/opencode/pull/59939), [#&#8203;60096](https://github.com/anomalyco/opencode/pull/60096)) - **Inspect Background Shells**: Click a running shell in the Desktop activity pill to see its live output and stop it without leaving the menu. ([#&#8203;59496](https://github.com/anomalyco/opencode/pull/59496)) - **New Default Model Picker**: Search favorites, recent models, providers, and variants from the redesigned model picker, which is now the default in Desktop. ([#&#8203;59997](https://github.com/anomalyco/opencode/pull/59997)) ##### Breaking changes ##### `@opencode/ai` provider removals and renames These changes affect code that imports `@opencode/ai` directly. They don't change the CLI, Desktop, or the HTTP API. - The fal, Black Forest Labs, Replicate, and Stability providers are removed, along with their `./providers/fal`, `./providers/black-forest-labs`, `./providers/replicate`, and `./providers/stability` entry points. ([#&#8203;59977](https://github.com/anomalyco/opencode/pull/59977)) - Five legacy entry points are removed. Import the nested paths instead, which 2.2.0 already exports: `./providers/amazon-bedrock-mantle` → `./providers/amazon-bedrock/mantle`, and `./providers/google-vertex-chat`, `-interactions`, `-mistral`, and `-responses` → `./providers/google-vertex/chat`, `/interactions`, `/mistral`, and `/responses`. ([#&#8203;59506](https://github.com/anomalyco/opencode/pull/59506)) - Each provider's `configure()` input type is now named `Config`, for example `Groq.LanguageModelOptions` → `Groq.Config`, and `model()` settings are optional when every setting is optional. ([#&#8203;59765](https://github.com/anomalyco/opencode/pull/59765)) ##### Core ##### Improvements - Add `/goal <objective>` with pause, resume, and clear controls, plus automatic progress review until the objective is met. ([#&#8203;59437](https://github.com/anomalyco/opencode/pull/59437)) - Add opt-in scheduled prompts through `/schedule`, agent tools, and `experimental.schedules`. ([#&#8203;59401](https://github.com/anomalyco/opencode/pull/59401), [#&#8203;59457](https://github.com/anomalyco/opencode/pull/59457)) - Add the opt-in `image_generate` tool for background image creation and editing, with automatic or configured model selection. ([#&#8203;59939](https://github.com/anomalyco/opencode/pull/59939), [#&#8203;60096](https://github.com/anomalyco/opencode/pull/60096)) - Offer GPT Image 2 after Codex sign-in and add MiniMax and Meta Muse image generation support. ([#&#8203;60085](https://github.com/anomalyco/opencode/pull/60085), [#&#8203;59929](https://github.com/anomalyco/opencode/pull/59929), [#&#8203;60081](https://github.com/anomalyco/opencode/pull/60081)) - Add Responses API support for OpenRouter, DigitalOcean, and Venice, including freeform tools. ([#&#8203;59991](https://github.com/anomalyco/opencode/pull/59991), [#&#8203;59963](https://github.com/anomalyco/opencode/pull/59963)) - Improve snapshot performance by coalescing captures and avoiding repeated ignore-file work. ([#&#8203;59419](https://github.com/anomalyco/opencode/pull/59419)) ##### Bug fixes - Preserve more context headroom when fitting tool output into the context window. ([#&#8203;59934](https://github.com/anomalyco/opencode/pull/59934)) - Retry provider throttling correctly instead of reporting it as context overflow. ([#&#8203;59649](https://github.com/anomalyco/opencode/pull/59649)) - Send image-edit references and image sizes in the formats expected by OpenRouter, Google, and Vercel Grok. ([#&#8203;60067](https://github.com/anomalyco/opencode/pull/60067), [#&#8203;59927](https://github.com/anomalyco/opencode/pull/59927)) - Keep credential metadata and prompt-cache settings out of model settings and variants. ([#&#8203;60057](https://github.com/anomalyco/opencode/pull/60057), [#&#8203;59500](https://github.com/anomalyco/opencode/pull/59500)) - Keep Git snapshots working in repositories that use a split index. ([#&#8203;59417](https://github.com/anomalyco/opencode/pull/59417)) - Expose Console web search only when the workspace enables it. ([#&#8203;59592](https://github.com/anomalyco/opencode/pull/59592)) - Improve Code Mode diagnostics for parse errors, stalled awaits, and promise-like search results. ([#&#8203;59834](https://github.com/anomalyco/opencode/pull/59834), [#&#8203;59749](https://github.com/anomalyco/opencode/pull/59749), [#&#8203;59981](https://github.com/anomalyco/opencode/pull/59981)) ##### TUI ##### Improvements - Show `/goal` status below the prompt and provide a dialog for pausing, resuming, or clearing it. ([#&#8203;59437](https://github.com/anomalyco/opencode/pull/59437)) ##### Bug fixes - Show execution failures that occur before the first model step. ([#&#8203;60079](https://github.com/anomalyco/opencode/pull/60079)) - Keep the activity spinner visible while a continued subagent runs. ([#&#8203;59950](https://github.com/anomalyco/opencode/pull/59950)) - Send pasted image and PDF paths correctly when connected to a local server. ([#&#8203;59833](https://github.com/anomalyco/opencode/pull/59833)) - Improve spacing in an empty `/usage` dialog. Thanks [@Tarquinen](https://github.com/Tarquinen). ([#&#8203;59918](https://github.com/anomalyco/opencode/pull/59918)) ##### Desktop ##### Improvements - Add `/reload` to reload configuration without restarting. ([#&#8203;59887](https://github.com/anomalyco/opencode/pull/59887)) - Make the redesigned searchable model picker the default, with dedicated Favorites and Recent sections and keyboard-accessible provider controls. ([#&#8203;59997](https://github.com/anomalyco/opencode/pull/59997)) - Show live output and a Stop action when you select a background shell from the activity pill. ([#&#8203;59496](https://github.com/anomalyco/opencode/pull/59496)) - Show `/goal` state and actions in a composer pill. ([#&#8203;59437](https://github.com/anomalyco/opencode/pull/59437)) - Redesign the integrations dialog and always include OpenCode free models in the model picker. ([#&#8203;59976](https://github.com/anomalyco/opencode/pull/59976), [#&#8203;60047](https://github.com/anomalyco/opencode/pull/60047)) - Add project, worktree, open-in-app, and terminal actions to the session location menu. ([#&#8203;59607](https://github.com/anomalyco/opencode/pull/59607)) - Refine project and worktree selection, command search, prompt-history focus, composer model labels, and artifact preview controls. ([#&#8203;59397](https://github.com/anomalyco/opencode/pull/59397), [#&#8203;59604](https://github.com/anomalyco/opencode/pull/59604), [#&#8203;59626](https://github.com/anomalyco/opencode/pull/59626), [#&#8203;59735](https://github.com/anomalyco/opencode/pull/59735), [#&#8203;59657](https://github.com/anomalyco/opencode/pull/59657)) - Highlight quoted timeline content while you write its first comment. ([#&#8203;59286](https://github.com/anomalyco/opencode/pull/59286)) - Keep draft attachment bytes local when using experimental media URIs. ([#&#8203;59104](https://github.com/anomalyco/opencode/pull/59104)) ##### Bug fixes - Follow each plugin server’s configured endpoint when connecting to its event stream. ([#&#8203;60087](https://github.com/anomalyco/opencode/pull/60087)) - Treat the reachable scroll boundary as the end when Desktop zoom is active. ([#&#8203;60034](https://github.com/anomalyco/opencode/pull/60034)) - Prevent shell text from showing through copy buttons and avoid restyling the transcript when closing a side panel. ([#&#8203;59901](https://github.com/anomalyco/opencode/pull/59901), [#&#8203;59878](https://github.com/anomalyco/opencode/pull/59878)) - Keep rendering malformed tool metadata instead of crashing the timeline. ([#&#8203;59736](https://github.com/anomalyco/opencode/pull/59736)) - Make dropdowns open immediately and keep the new-session location shortcut working after tooltip interactions. ([#&#8203;59268](https://github.com/anomalyco/opencode/pull/59268), [#&#8203;59680](https://github.com/anomalyco/opencode/pull/59680)) - Remove edge halos from macOS application icons. ([#&#8203;59900](https://github.com/anomalyco/opencode/pull/59900)) ##### SDK ##### Improvements - Add `client.experimental.schedule.{create,list,get,pause,resume,delete}` for managing scheduled prompts. ([#&#8203;59457](https://github.com/anomalyco/opencode/pull/59457)) - Group experimental generated-client methods under `client.experimental`; previous locations remain as deprecated aliases until the next minor release. ([#&#8203;59072](https://github.com/anomalyco/opencode/pull/59072)) - Expose compaction through the Promise AI client. ([#&#8203;59987](https://github.com/anomalyco/opencode/pull/59987)) - Add freeform tool support and Responses routes for OpenRouter, DigitalOcean, and Venice. ([#&#8203;59963](https://github.com/anomalyco/opencode/pull/59963), [#&#8203;59991](https://github.com/anomalyco/opencode/pull/59991)) ##### Extensions ##### Improvements - Add the experimental `experimental.idle` Session hook so plugins can continue work before a session goes idle. ([#&#8203;59437](https://github.com/anomalyco/opencode/pull/59437)) - Let Code Mode extension globals return Effects and declare required services. ([#&#8203;59948](https://github.com/anomalyco/opencode/pull/59948)) - Add custom composer-pill popovers for GUI plugins. ([#&#8203;59437](https://github.com/anomalyco/opencode/pull/59437)) ### [`v2.2.0`](https://github.com/anomalyco/opencode/blob/HEAD/CHANGELOG.md#v220--2026-10-27) [Compare Source](https://github.com/anomalyco/opencode/compare/v1.19.6...v2.2.0) ##### Highlights - Create, install and share [Desktop plugins](https://opencode.ai/docs/build/plugins/gui) (experimental) ([#&#8203;55246](https://github.com/anomalyco/opencode/pull/55246), [#&#8203;59469](https://github.com/anomalyco/opencode/pull/59469), [#&#8203;59489](https://github.com/anomalyco/opencode/pull/59489)) - Refreshed the desktop app experience ([#&#8203;56898](https://github.com/anomalyco/opencode/pull/56898), [#&#8203;58865](https://github.com/anomalyco/opencode/pull/58865), [#&#8203;55838](https://github.com/anomalyco/opencode/pull/55838), [#&#8203;57962](https://github.com/anomalyco/opencode/pull/57962)) - Add experimental image and decision generation APIs to plugins and sdk, allowing image generation or decision model (think typesafe, clef, etc) workflows. ([#&#8203;59190](https://github.com/anomalyco/opencode/pull/59190), [#&#8203;59380](https://github.com/anomalyco/opencode/pull/59380), [#&#8203;58758](https://github.com/anomalyco/opencode/pull/58758)) - Plugins can now attach and update keyed session instructions with ctx.session.instructions.entry.put/list/remove. Instead of editing the system prompt and busting the prompt cache, each change is added as a small update at the next step. The entries also survive compaction and reverts, and they don't start an extra model turn. ([#&#8203;56550](https://github.com/anomalyco/opencode/pull/56550)) - Restored the Todo tool in desktop via opt-in ([#&#8203;59092](https://github.com/anomalyco/opencode/pull/59092)) - Add configurable prompt cache TTLs per provider/model ([#&#8203;59157](https://github.com/anomalyco/opencode/pull/59157)) ##### Breaking changes ##### `@opencode/ai` root is now the Promise API `@opencode/ai` now works like `@opencode/sdk` and `@opencode/client`: the package root exports the Promise API, and the Effect API moved to `@opencode/ai/effect`. `@opencode/ai/promise` is removed, and the wildcard subpath export is replaced with an explicit list of provider and protocol entry points. ([#&#8203;58847](https://github.com/anomalyco/opencode/pull/58847), [#&#8203;59183](https://github.com/anomalyco/opencode/pull/59183)) ```diff -import { AI } from "@&#8203;opencode/ai/promise" -import { LLM } from "@&#8203;opencode/ai" +import { AI } from "@&#8203;opencode/ai" +import { LLM } from "@&#8203;opencode/ai/effect" ``` ##### The OpenCode GitHub Action is removed The OpenCode GitHub Action is no longer published. Remove it from your workflows. ([#&#8203;59032](https://github.com/anomalyco/opencode/pull/59032)) ##### TUI plugins require OpenTUI 0.7 `@opencode/plugin` now requires `@opentui/core` and `@opentui/solid` 0.7.0, up from 0.6.8 or later. Plugins that depend on OpenTUI 0.6 fail to install until they upgrade. In OpenTUI 0.7, custom renderables read their hooks from their class at construction: assign `renderBefore`, `renderAfter`, and `onLifecyclePass` in the constructor instead of as class fields, call `refreshHooks()` after adding a hook by reflection, and replace `defineNativeIntegration()` with a `static nativeIntegration` declaration. See the [OpenTUI 0.7.0 release notes](https://opentui.com/docs/releases/0.7.0). ([#&#8203;59295](https://github.com/anomalyco/opencode/pull/59295)) ##### Core ##### Improvements - Add experimental image and decision generation API endpoints. ([#&#8203;59190](https://github.com/anomalyco/opencode/pull/59190)) - Add image and decision entrypoints for catalog providers. ([#&#8203;59380](https://github.com/anomalyco/opencode/pull/59380)) - Improve integration rebuild performance. ([#&#8203;59402](https://github.com/anomalyco/opencode/pull/59402)) - Let custom model configuration set a model type. ([#&#8203;59388](https://github.com/anomalyco/opencode/pull/59388)) - Let model-list API requests filter by type. ([#&#8203;59355](https://github.com/anomalyco/opencode/pull/59355)) - Make external-directory permission checks use the project's filesystem. ([#&#8203;59089](https://github.com/anomalyco/opencode/pull/59089)) - Reduce memory use when code search finds very large lines. ([#&#8203;59205](https://github.com/anomalyco/opencode/pull/59205)) - Let plugins filter event subscriptions by type. ([#&#8203;58864](https://github.com/anomalyco/opencode/pull/58864)) - Add configurable prompt-cache TTLs. ([#&#8203;59157](https://github.com/anomalyco/opencode/pull/59157)) - Move image resizing off the main process and release idle image memory. ([#&#8203;58820](https://github.com/anomalyco/opencode/pull/58820)) - Reduce repeated session-history loading during a step. ([#&#8203;59091](https://github.com/anomalyco/opencode/pull/59091)) - Add an experimental API for session media and opt-in media URI support. ([#&#8203;59103](https://github.com/anomalyco/opencode/pull/59103)) - Add the machine hostname to `/api/info`. ([#&#8203;59090](https://github.com/anomalyco/opencode/pull/59090)) - Add experimental content-addressed blob storage for session media behind `experimental.media_blob`. ([#&#8203;58656](https://github.com/anomalyco/opencode/pull/58656), [#&#8203;58741](https://github.com/anomalyco/opencode/pull/58741)) - Start session history from the latest completed compaction. ([#&#8203;59020](https://github.com/anomalyco/opencode/pull/59020)) - Reduce work encoding durable event payloads that are not persisted. ([#&#8203;58923](https://github.com/anomalyco/opencode/pull/58923)) - Expose MCP server titles from `serverInfo`. ([#&#8203;58950](https://github.com/anomalyco/opencode/pull/58950)) - Apply OpenCode Console workspace configuration as a configuration layer. ([#&#8203;57703](https://github.com/anomalyco/opencode/pull/57703)) - Replace experimental evaluations with Decision APIs in the AI pkg, including OpenAI Decisions, System One, and Cloudflare Run models. ([#&#8203;58758](https://github.com/anomalyco/opencode/pull/58758), [#&#8203;58382](https://github.com/anomalyco/opencode/pull/58382), [#&#8203;58379](https://github.com/anomalyco/opencode/pull/58379), [#&#8203;58381](https://github.com/anomalyco/opencode/pull/58381)) - Convert tool schemas once to speed up tool execution. ([#&#8203;58798](https://github.com/anomalyco/opencode/pull/58798), [#&#8203;58848](https://github.com/anomalyco/opencode/pull/58848)) - Make Git project discovery faster while recognizing repository changes. ([#&#8203;58616](https://github.com/anomalyco/opencode/pull/58616)) - Show OpenCode Console budget limits and Go usage where they block you. ([#&#8203;58694](https://github.com/anomalyco/opencode/pull/58694), [#&#8203;58714](https://github.com/anomalyco/opencode/pull/58714)) - Record provider-reported session costs. ([#&#8203;58562](https://github.com/anomalyco/opencode/pull/58562)) - Find Git more reliably on macOS. ([#&#8203;58602](https://github.com/anomalyco/opencode/pull/58602)) - Resolve model details once per prompt step. ([#&#8203;58601](https://github.com/anomalyco/opencode/pull/58601)) - Let plugins manage session instruction entries for subsequent model requests. ([#&#8203;56550](https://github.com/anomalyco/opencode/pull/56550)) - Add GPT-6.1 Terra and GPT-6.1 Terra Fast to Sign in with ChatGPT. ([#&#8203;59359](https://github.com/anomalyco/opencode/pull/59359)) ##### Bug fixes - Wait for plugins to finish reloading before each session step and tool call. Thanks [@&#8203;kernel-oops](https://github.com/kernel-oops) and [@&#8203;Tarquinen](https://github.com/Tarquinen). ([#&#8203;51133](https://github.com/anomalyco/opencode/pull/51133)) - Size session compaction from the provider's reported token count to preserve usable context. ([#&#8203;59441](https://github.com/anomalyco/opencode/pull/59441)) - Skip unavailable models.dev API entrypoints instead of failing model catalog updates. ([#&#8203;59475](https://github.com/anomalyco/opencode/pull/59475)) - Return a server error with a reference ID when the server cannot encode a response. ([#&#8203;59459](https://github.com/anomalyco/opencode/pull/59459)) - Avoid warming a session while its model request is running. ([#&#8203;59325](https://github.com/anomalyco/opencode/pull/59325)) - Preserve legacy MCP `codemode` settings during migration. Thanks [@&#8203;tneemo](https://github.com/tneemo). ([#&#8203;59126](https://github.com/anomalyco/opencode/pull/59126)) - Use the correct Vertex AI endpoints for the `eu` and `us` multi-regions. ([#&#8203;59335](https://github.com/anomalyco/opencode/pull/59335)) - Accept Databricks hosts that include `http://` or `https://`. ([#&#8203;59334](https://github.com/anomalyco/opencode/pull/59334)) - Keep files intact when patch edits move a file onto itself. ([#&#8203;59197](https://github.com/anomalyco/opencode/pull/59197)) - Preserve literal `$0` and `$ARGUMENTS` text in custom command input. ([#&#8203;59198](https://github.com/anomalyco/opencode/pull/59198)) - Close project locations concurrently during shutdown. ([#&#8203;59326](https://github.com/anomalyco/opencode/pull/59326)) - Treat equivalent directory paths, including trailing slashes, as one location. ([#&#8203;59327](https://github.com/anomalyco/opencode/pull/59327)) - Send valid tool schemas to Kimi for tuple, default, and keyword-like arguments. ([#&#8203;59207](https://github.com/anomalyco/opencode/pull/59207)) - Expose Code Mode MCP tools directly when the `execute` permission is denied. ([#&#8203;59315](https://github.com/anomalyco/opencode/pull/59315)) - Coordinate OAuth credential refreshes across locations and processes. ([#&#8203;54023](https://github.com/anomalyco/opencode/pull/54023)) - List and search remote Git branches correctly without bare remote names. ([#&#8203;58597](https://github.com/anomalyco/opencode/pull/58597)) - Detect AVIF, HEIC/HEIF, QuickTime, and M4A attachments correctly. ([#&#8203;58480](https://github.com/anomalyco/opencode/pull/58480), [#&#8203;58886](https://github.com/anomalyco/opencode/pull/58886), [#&#8203;58887](https://github.com/anomalyco/opencode/pull/58887)) - Reduce memory retained by long-running tool calls and unchanged hooked model requests. ([#&#8203;58448](https://github.com/anomalyco/opencode/pull/58448), [#&#8203;58449](https://github.com/anomalyco/opencode/pull/58449)) - Load session diffs without reading every message, improving performance for large sessions. ([#&#8203;57686](https://github.com/anomalyco/opencode/pull/57686)) - Keep active locations alive when session events use an equivalent directory path. ([#&#8203;56259](https://github.com/anomalyco/opencode/pull/56259)) - Reload compatibility skills only when their own sources change. ([#&#8203;59086](https://github.com/anomalyco/opencode/pull/59086)) - Avoid publishing redundant catalog updates when configuration is unchanged. ([#&#8203;56267](https://github.com/anomalyco/opencode/pull/56267)) - Avoid booting idle or deleted project locations while polling session forms. ([#&#8203;59083](https://github.com/anomalyco/opencode/pull/59083)) - Wait for plugins before returning agent and provider lists, preventing incomplete catalogs. ([#&#8203;59082](https://github.com/anomalyco/opencode/pull/59082)) - Manage sessions and instruction entries after their project directory is deleted. ([#&#8203;58997](https://github.com/anomalyco/opencode/pull/58997)) - Start fuzzy file search only on first use, reducing project startup work. ([#&#8203;58959](https://github.com/anomalyco/opencode/pull/58959)) - Exit after 10 seconds when shutdown hangs and report pending work. ([#&#8203;58817](https://github.com/anomalyco/opencode/pull/58817)) - Keep the models catalog fresh without redownloading it when unchanged. ([#&#8203;58813](https://github.com/anomalyco/opencode/pull/58813)) - Send xAI Responses `top_k` settings and stop sending unsupported penalties. ([#&#8203;58868](https://github.com/anomalyco/opencode/pull/58868)) - Honor shared parallel tool-call and service-tier settings for Groq. ([#&#8203;58871](https://github.com/anomalyco/opencode/pull/58871)) - Retry throttled requests instead of misreporting them as context overflows. ([#&#8203;58866](https://github.com/anomalyco/opencode/pull/58866)) - Preserve streamed text and reasoning that arrive after an OpenAI Chat finish reason. ([#&#8203;58851](https://github.com/anomalyco/opencode/pull/58851)) - Classify AWS REST JSON errors consistently regardless of where the error type appears. ([#&#8203;58770](https://github.com/anomalyco/opencode/pull/58770)) - Validate large base64 attachments without slowdowns or hangs. ([#&#8203;58811](https://github.com/anomalyco/opencode/pull/58811)) - Retry Bedrock throttling errors as rate limits instead of context overflows. Thanks [@&#8203;Irish-Joseph](https://github.com/Irish-Joseph). ([#&#8203;58759](https://github.com/anomalyco/opencode/pull/58759)) - Keep working MCP tools available when a server returns malformed ones. ([#&#8203;58350](https://github.com/anomalyco/opencode/pull/58350)) - Match absolute instruction-file globs across directories. Thanks [@&#8203;heimoshuiyu](https://github.com/heimoshuiyu). ([#&#8203;58749](https://github.com/anomalyco/opencode/pull/58749)) - Use configured provider regions in Bedrock endpoint URLs. ([#&#8203;58538](https://github.com/anomalyco/opencode/pull/58538)) - Handle unknown OpenAI Chat finish reasons without failing the response. ([#&#8203;58608](https://github.com/anomalyco/opencode/pull/58608)) - Avoid unnecessary Azure model updates when endpoint transforms make no change. ([#&#8203;58600](https://github.com/anomalyco/opencode/pull/58600)) - Prefer JPEG for opaque browser screenshots, reducing attachment size. ([#&#8203;56990](https://github.com/anomalyco/opencode/pull/56990)) - Detect generated image types from their bytes when compatible hosts omit the format. ([#&#8203;58475](https://github.com/anomalyco/opencode/pull/58475)) - Keep project services alive while sessions run long tools or wait for input, with a 24-hour inactivity cap. ([#&#8203;57274](https://github.com/anomalyco/opencode/pull/57274)) - Prevent unrelated configuration changes and compatibility-skill update bursts from repeatedly reloading skills. ([#&#8203;56260](https://github.com/anomalyco/opencode/pull/56260)) ##### TUI ##### Improvements - Reduce CPU use while animated session-tab pulses are visible. ([#&#8203;59235](https://github.com/anomalyco/opencode/pull/59235)) - List OpenCode Console before OpenCode Go in the integration picker. ([#&#8203;59107](https://github.com/anomalyco/opencode/pull/59107)) - Add `/usage`, model-picker, prompt, sidebar, warning, and error details for OpenCode Console usage limits. ([#&#8203;58731](https://github.com/anomalyco/opencode/pull/58731)) - Make CLI service registration more reliable when concurrent processes update its files. ([#&#8203;59105](https://github.com/anomalyco/opencode/pull/59105)) ##### Bug fixes - Return `opencode run --format json` server connection errors as JSON. Thanks [@&#8203;andreivince](https://github.com/andreivince). ([#&#8203;59366](https://github.com/anomalyco/opencode/pull/59366)) - Preserve pasted prompt text when copying it back out. ([#&#8203;59209](https://github.com/anomalyco/opencode/pull/59209)) - Reliably update the background service on Windows when its files are briefly locked. ([#&#8203;59105](https://github.com/anomalyco/opencode/pull/59105)) - Keep the background service state directory out of tool shells and identify processes blocking its port. ([#&#8203;58815](https://github.com/anomalyco/opencode/pull/58815)) - Refresh Git branch details after switching branches. ([#&#8203;58982](https://github.com/anomalyco/opencode/pull/58982)) - Keep the TUI running when a plugin slot or route renders bare text. Thanks [@&#8203;anmol0b](https://github.com/anmol0b) and [@&#8203;Tarquinen](https://github.com/Tarquinen). ([#&#8203;58144](https://github.com/anomalyco/opencode/pull/58144)) - Accept `--server` and `--standalone` anywhere in supported CLI commands. ([#&#8203;58505](https://github.com/anomalyco/opencode/pull/58505)) - Release closed and background session transcripts to prevent memory growth. ([#&#8203;58434](https://github.com/anomalyco/opencode/pull/58434), [#&#8203;57025](https://github.com/anomalyco/opencode/pull/57025)) - Connect remote access tunnels through HTTP proxies. ([#&#8203;58464](https://github.com/anomalyco/opencode/pull/58464)) - Keep development builds on a separate server, database, and port from released builds. ([#&#8203;58331](https://github.com/anomalyco/opencode/pull/58331)) ##### Desktop ##### Improvements - Manage desktop plugins from Settings › Extensions › Plugins. ([#&#8203;59489](https://github.com/anomalyco/opencode/pull/59489)) - Add a persistent desktop zoom setting. ([#&#8203;59277](https://github.com/anomalyco/opencode/pull/59277)) - Capture heap snapshots in desktop debug builds on `SIGUSR2` when explicitly enabled. ([#&#8203;58317](https://github.com/anomalyco/opencode/pull/58317)) - Show the open session title in the browser tab. ([#&#8203;59131](https://github.com/anomalyco/opencode/pull/59131)) - Show todowrite tasks above the composer. ([#&#8203;59092](https://github.com/anomalyco/opencode/pull/59092)) - Load session history once when returning to a session tab. ([#&#8203;59166](https://github.com/anomalyco/opencode/pull/59166)) - Answer questions with number keys and show multi-select choices as checkboxes. ([#&#8203;58595](https://github.com/anomalyco/opencode/pull/58595)) - Add an always-available Add project action to the location picker. ([#&#8203;57962](https://github.com/anomalyco/opencode/pull/57962)) - Let you rewind or fork from any message. ([#&#8203;58865](https://github.com/anomalyco/opencode/pull/58865)) - Let you edit line comments and copy shell output. ([#&#8203;58970](https://github.com/anomalyco/opencode/pull/58970), [#&#8203;58974](https://github.com/anomalyco/opencode/pull/58974)) - Render Mermaid diagrams in messages much faster, sized to fit the column. ([#&#8203;57483](https://github.com/anomalyco/opencode/pull/57483), [#&#8203;57004](https://github.com/anomalyco/opencode/pull/57004)) - Add opt-in memory logging and remote debugging for desktop debug builds. ([#&#8203;58315](https://github.com/anomalyco/opencode/pull/58315)) - Show web sources for a turn behind the experimental Sources setting. ([#&#8203;58307](https://github.com/anomalyco/opencode/pull/58307)) - Jump from a completed shell notification to its shell output. ([#&#8203;58663](https://github.com/anomalyco/opencode/pull/58663)) - Keep the composer usable while the voice-call panel floats. ([#&#8203;58587](https://github.com/anomalyco/opencode/pull/58587)) - Use the Soft Radar activity spinner by default and provide experimental variations. ([#&#8203;58010](https://github.com/anomalyco/opencode/pull/58010), [#&#8203;57903](https://github.com/anomalyco/opencode/pull/57903)) - Add an experimental new model picker. ([#&#8203;58413](https://github.com/anomalyco/opencode/pull/58413)) - Add experimental Console voice calls in Desktop beta. ([#&#8203;58249](https://github.com/anomalyco/opencode/pull/58249)) - Add a timeline width setting. ([#&#8203;58308](https://github.com/anomalyco/opencode/pull/58308)) - Improve command, session, and model search lists with sticky sections. ([#&#8203;58222](https://github.com/anomalyco/opencode/pull/58222)) - Add search to recently closed sessions. ([#&#8203;55721](https://github.com/anomalyco/opencode/pull/55721)) - Open extension configuration and skills in side tabs. ([#&#8203;58023](https://github.com/anomalyco/opencode/pull/58023)) - Open session extension lists on hover and follow keyboard navigation. ([#&#8203;58021](https://github.com/anomalyco/opencode/pull/58021)) - Add video previews with zoom controls. ([#&#8203;57924](https://github.com/anomalyco/opencode/pull/57924)) - Add generated project avatars and an experimental avatar-style switcher. ([#&#8203;57871](https://github.com/anomalyco/opencode/pull/57871), [#&#8203;57930](https://github.com/anomalyco/opencode/pull/57930)) - Add recently closed side tabs to the new-tab view. ([#&#8203;57863](https://github.com/anomalyco/opencode/pull/57863)) - Add a searchable prompt history picker. ([#&#8203;57716](https://github.com/anomalyco/opencode/pull/57716)) - Find settings from the command palette. ([#&#8203;57651](https://github.com/anomalyco/opencode/pull/57651)) - Group queued and steered messages, and group consecutive user messages under one metadata line. ([#&#8203;57561](https://github.com/anomalyco/opencode/pull/57561), [#&#8203;57552](https://github.com/anomalyco/opencode/pull/57552)) - Improve file-tree and folder-picker performance. ([#&#8203;57573](https://github.com/anomalyco/opencode/pull/57573), [#&#8203;57557](https://github.com/anomalyco/opencode/pull/57557)) - Keep branch search results visible while new results load. ([#&#8203;57531](https://github.com/anomalyco/opencode/pull/57531)) - Add a session-details menu to the session header. ([#&#8203;57528](https://github.com/anomalyco/opencode/pull/57528)) - Show a subagent's model, status, and elapsed time in its composer area. ([#&#8203;57473](https://github.com/anomalyco/opencode/pull/57473)) - Let you delete sessions from tab menus and rename the current session with Ctrl+R. ([#&#8203;57453](https://github.com/anomalyco/opencode/pull/57453), [#&#8203;57423](https://github.com/anomalyco/opencode/pull/57423)) - Restore session summary and project menu actions. ([#&#8203;57781](https://github.com/anomalyco/opencode/pull/57781)) - Let you place the background-activity capsule at the left, center, right, or hide it. ([#&#8203;57962](https://github.com/anomalyco/opencode/pull/57962)) - Show project and worktree details in the session header and location menu. ([#&#8203;57962](https://github.com/anomalyco/opencode/pull/57962)) - Add text-rendering controls to the debug bar. ([#&#8203;57326](https://github.com/anomalyco/opencode/pull/57326)) - Show elapsed time for background work. ([#&#8203;57218](https://github.com/anomalyco/opencode/pull/57218)) - Improve streamed Markdown rendering reliability and performance. ([#&#8203;57016](https://github.com/anomalyco/opencode/pull/57016)) - Split the side pane and add a draggable bottom pane with tabs. ([#&#8203;56960](https://github.com/anomalyco/opencode/pull/56960)) - Add consistent MCP sign-in and error-status links across connection, session, and Settings views. ([#&#8203;57962](https://github.com/anomalyco/opencode/pull/57962)) - Open multiple file tabs at once and open side-panel content in tabs. ([#&#8203;57182](https://github.com/anomalyco/opencode/pull/57182), [#&#8203;57094](https://github.com/anomalyco/opencode/pull/57094)) - Move running work to the background when you steer a session. ([#&#8203;57142](https://github.com/anomalyco/opencode/pull/57142)) - Let the timeline scroll beneath the composer while keeping its content visible. ([#&#8203;57141](https://github.com/anomalyco/opencode/pull/57141)) - Simplify Settings into a flat list with a per-server switcher. ([#&#8203;57962](https://github.com/anomalyco/opencode/pull/57962)) - Quote selected timeline or terminal text into the composer. ([#&#8203;55664](https://github.com/anomalyco/opencode/pull/55664), [#&#8203;58420](https://github.com/anomalyco/opencode/pull/58420)) - Search sessions across online servers from the title bar. ([#&#8203;57962](https://github.com/anomalyco/opencode/pull/57962)) - Add a Reduce motion appearance setting. ([#&#8203;57103](https://github.com/anomalyco/opencode/pull/57103)) - Show projects from all servers in the new-session location picker. ([#&#8203;57962](https://github.com/anomalyco/opencode/pull/57962)) - Pick models from a searchable dialog with favorites and recent models. ([#&#8203;55838](https://github.com/anomalyco/opencode/pull/55838)) - Attach the new-session location picker below the composer. ([#&#8203;56952](https://github.com/anomalyco/opencode/pull/56952)) - Open image previews directly from message and composer thumbnails. ([#&#8203;56896](https://github.com/anomalyco/opencode/pull/56896)) - Start new worktrees from the current branch in the simplified location picker. ([#&#8203;57962](https://github.com/anomalyco/opencode/pull/57962)) - Manage running subagents and shells from the composer activity capsule. ([#&#8203;57962](https://github.com/anomalyco/opencode/pull/57962)) - Sync projects from each server and prioritize projects you use on Home. ([#&#8203;57962](https://github.com/anomalyco/opencode/pull/57962)) - Choose between Focus and Pro interface layouts in Settings. ([#&#8203;56898](https://github.com/anomalyco/opencode/pull/56898)) - Open terminals as side-panel tabs. ([#&#8203;57962](https://github.com/anomalyco/opencode/pull/57962)) - Choose a project and worktree from one new-session location dialog. ([#&#8203;57962](https://github.com/anomalyco/opencode/pull/57962)) - Show subagents as separate timeline rows by default. ([#&#8203;57962](https://github.com/anomalyco/opencode/pull/57962)) - Add a sidebar toggle for vertical tabs. ([#&#8203;55646](https://github.com/anomalyco/opencode/pull/55646)) - Add ⌘1–9 and ⇧⌘\[ / ⇧⌘] shortcuts for side-panel tabs. ([#&#8203;57301](https://github.com/anomalyco/opencode/pull/57301)) - Let you choose a new directory or worktree when a session location is unavailable. ([#&#8203;56087](https://github.com/anomalyco/opencode/pull/56087)) - Refresh the Manage models, MCP, and fork dialogs with compact searchable lists. ([#&#8203;56029](https://github.com/anomalyco/opencode/pull/56029), [#&#8203;56028](https://github.com/anomalyco/opencode/pull/56028)) - Install future Windows desktop updates in about a second. ([#&#8203;55933](https://github.com/anomalyco/opencode/pull/55933)) - Show individual Code Mode tool calls in Execute rows. ([#&#8203;55649](https://github.com/anomalyco/opencode/pull/55649)) - Add a Commentary timeline category and display setting. ([#&#8203;55248](https://github.com/anomalyco/opencode/pull/55248)) - Support `@` links to other sessions in messages. ([#&#8203;57480](https://github.com/anomalyco/opencode/pull/57480)) - Polish spacing, alignment, borders, and typography across the session header, titlebar, composer, file tree, browser pane, timeline, and Settings. ([#&#8203;58195](https://github.com/anomalyco/opencode/pull/58195), [#&#8203;57776](https://github.com/anomalyco/opencode/pull/57776), [#&#8203;57570](https://github.com/anomalyco/opencode/pull/57570), [#&#8203;57782](https://github.com/anomalyco/opencode/pull/57782), [#&#8203;57336](https://github.com/anomalyco/opencode/pull/57336), [#&#8203;57363](https://github.com/anomalyco/opencode/pull/57363), [#&#8203;58100](https://github.com/anomalyco/opencode/pull/58100), [#&#8203;58979](https://github.com/anomalyco/opencode/pull/58979)) ##### Bug fixes - Prevent duplicate tab shortcuts and remove uninstalled plugin commands from Shortcuts. ([#&#8203;59499](https://github.com/anomalyco/opencode/pull/59499)) - Keep todo items from shrinking in the todo panel. ([#&#8203;59430](https://github.com/anomalyco/opencode/pull/59430)) - Keep question-dock answers and controls positioned correctly when changing questions. ([#&#8203;59383](https://github.com/anomalyco/opencode/pull/59383)) - Keep the @&#8203; menu open while it searches. ([#&#8203;59425](https://github.com/anomalyco/opencode/pull/59425)) - Finish quitting after Cmd+Q on macOS. Thanks [@&#8203;anmol0b](https://github.com/anmol0b). ([#&#8203;59144](https://github.com/anomalyco/opencode/pull/59144)) - Toggle MCP servers for the current session location from Settings. ([#&#8203;59132](https://github.com/anomalyco/opencode/pull/59132)) - Deliver steering messages when an earlier move was missed. ([#&#8203;58984](https://github.com/anomalyco/opencode/pull/58984)) - Keep session and command-palette search results stable while searching. ([#&#8203;58908](https://github.com/anomalyco/opencode/pull/58908), [#&#8203;57479](https://github.com/anomalyco/opencode/pull/57479)) - Restrict Search projects to the project list. ([#&#8203;58978](https://github.com/anomalyco/opencode/pull/58978)) - Let custom Close tab shortcuts close terminal and browser tabs. ([#&#8203;58945](https://github.com/anomalyco/opencode/pull/58945)) - Prevent live status rows from jumping or leaving gaps above the composer. ([#&#8203;58691](https://github.com/anomalyco/opencode/pull/58691), [#&#8203;58697](https://github.com/anomalyco/opencode/pull/58697)) - Keep browser tabs still behind open dialogs. ([#&#8203;58958](https://github.com/anomalyco/opencode/pull/58958)) - Keep side-panel content and browser pages visible while the sidebar or panel moves. ([#&#8203;58202](https://github.com/anomalyco/opencode/pull/58202), [#&#8203;58185](https://github.com/anomalyco/opencode/pull/58185)) - Render session diffs reliably. - Keep keyboard focus in terminals, side panels, dialogs, and the composer when appropriate. ([#&#8203;57980](https://github.com/anomalyco/opencode/pull/57980), [#&#8203;57297](https://github.com/anomalyco/opencode/pull/57297), [#&#8203;56273](https://github.com/anomalyco/opencode/pull/56273)) - Preserve empty browser and side-panel tabs instead of closing them automatically. ([#&#8203;58440](https://github.com/anomalyco/opencode/pull/58440)) - Reduce desktop memory use by releasing closed transcripts, discarded tool-result images, retained UI batches, and aborted timeline work. ([#&#8203;57025](https://github.com/anomalyco/opencode/pull/57025), [#&#8203;58434](https://github.com/anomalyco/opencode/pull/58434), [#&#8203;58427](https://github.com/anomalyco/opencode/pull/58427), [#&#8203;58560](https://github.com/anomalyco/opencode/pull/58560), [#&#8203;58447](https://github.com/anomalyco/opencode/pull/58447), [#&#8203;58439](https://github.com/anomalyco/opencode/pull/58439), [#&#8203;58432](https://github.com/anomalyco/opencode/pull/58432)) - Restore horizontal scrolling and sticky change badges in the file tree. ([#&#8203;58117](https://github.com/anomalyco/opencode/pull/58117)) - Show live Thinking for reasoning-only turns. ([#&#8203;58299](https://github.com/anomalyco/opencode/pull/58299)) - Stop loading older history after completing the initially visible turn and prioritize the first transcript page. ([#&#8203;57700](https://github.com/anomalyco/opencode/pull/57700), [#&#8203;57741](https://github.com/anomalyco/opencode/pull/57741)) - Keep Home project and session lists reliable during refreshes. - Keep deleted sessions from reappearing on Home. ([#&#8203;55349](https://github.com/anomalyco/opencode/pull/55349)) - Find sessions immediately in @&#8203; mentions, including multi-word titles. ([#&#8203;57683](https://github.com/anomalyco/opencode/pull/57683)) - Keep queued messages editable while changes sync with the server. ([#&#8203;57569](https://github.com/anomalyco/opencode/pull/57569)) - Open image and video URLs in the browser pane. ([#&#8203;57562](https://github.com/anomalyco/opencode/pull/57562)) - Mark submitted generated forms as complete and send each response only once. ([#&#8203;57537](https://github.com/anomalyco/opencode/pull/57537)) - Improve file-view performance with reused views, virtualized medium files, and cached diffs. ([#&#8203;57551](https://github.com/anomalyco/opencode/pull/57551)) - Group untracked folders into one expandable review row. ([#&#8203;57527](https://github.com/anomalyco/opencode/pull/57527)) - Let you paste into the composer from the session view. ([#&#8203;57545](https://github.com/anomalyco/opencode/pull/57545)) - Recover failed beta background servers and preserve their required CLI versions. ([#&#8203;57321](https://github.com/anomalyco/opencode/pull/57321)) - Restore branch selection when starting a new worktree session. ([#&#8203;57962](https://github.com/anomalyco/opencode/pull/57962)) - Keep the running server available while beta updates install. ([#&#8203;57309](https://github.com/anomalyco/opencode/pull/57309)) - Make links in user messages, shell output, and Code Mode output clickable. ([#&#8203;57211](https://github.com/anomalyco/opencode/pull/57211), [#&#8203;57303](https://github.com/anomalyco/opencode/pull/57303)) - Make Check for Updates always report its result. ([#&#8203;57296](https://github.com/anomalyco/opencode/pull/57296)) - Reopen the last closed side-panel tab with ⇧⌘T and open a browser tab with ⌘T. ([#&#8203;57269](https://github.com/anomalyco/opencode/pull/57269), [#&#8203;57156](https://github.com/anomalyco/opencode/pull/57156)) - Keep OpenCode keyboard shortcuts working in the browser pane. ([#&#8203;56697](https://github.com/anomalyco/opencode/pull/56697), [#&#8203;55240](https://github.com/anomalyco/opencode/pull/55240)) - Preview image attachments supplied by file path. ([#&#8203;57249](https://github.com/anomalyco/opencode/pull/57249)) - Apply configured code and UI fonts consistently. ([#&#8203;57242](https://github.com/anomalyco/opencode/pull/57242)) - Keep activity and busy indicators steady while switching sessions. ([#&#8203;57196](https://github.com/anomalyco/opencode/pull/57196)) - Reserve ⇧⌘W for closing the window so ⌘W does not. ([#&#8203;57150](https://github.com/anomalyco/opencode/pull/57150)) - Make image preview transitions resize smoothly without clipping or blocking clicks. ([#&#8203;56997](https://github.com/anomalyco/opencode/pull/56997), [#&#8203;57324](https://github.com/anomalyco/opencode/pull/57324)) - Keep in-session search reliable alongside titlebar session search. ([#&#8203;57962](https://github.com/anomalyco/opencode/pull/57962)) - Return focus to the prompt after keyboard model selection. - Open searchable pickers at the top with search focused. ([#&#8203;57962](https://github.com/anomalyco/opencode/pull/57962)) - Keep tables visible beneath sticky headers. ([#&#8203;57050](https://github.com/anomalyco/opencode/pull/57050)) - Fit provider connection steps without shifting a dialog's top edge. ([#&#8203;57006](https://github.com/anomalyco/opencode/pull/57006)) - Give unavailable-server panels clear error styling. ([#&#8203;57003](https://github.com/anomalyco/opencode/pull/57003)) - Make mouse-wheel and keyboard scrolling respond immediately on Linux. ([#&#8203;57962](https://github.com/anomalyco/opencode/pull/57962)) - Keep long Execute tool code contained and show successful Code Mode output. ([#&#8203;56915](https://github.com/anomalyco/opencode/pull/56915)) - Focus the most useful control when dialogs open, including Cancel in delete confirmations. ([#&#8203;57453](https://github.com/anomalyco/opencode/pull/57453)) - Install Windows beta, stable, and nightly builds into separate directories. ([#&#8203;56904](https://github.com/anomalyco/opencode/pull/56904)) - Keep session tabs recoverable when their server becomes unreachable. ([#&#8203;56248](https://github.com/anomalyco/opencode/pull/56248)) - Keep the composer model's provider and session-model resolution consistent with the TUI. ([#&#8203;56225](https://github.com/anomalyco/opencode/pull/56225)) - Reread open files without resetting their scroll position. ([#&#8203;55899](https://github.com/anomalyco/opencode/pull/55899)) - Hide agent names when agents are disabled. ([#&#8203;57525](https://github.com/anomalyco/opencode/pull/57525)) - Polish sidebar, panel, composer, activity, question-dock, loading, and motion behavior across light and dark themes. ([#&#8203;57449](https://github.com/anomalyco/opencode/pull/57449), [#&#8203;58013](https://github.com/anomalyco/opencode/pull/58013), [#&#8203;58577](https://github.com/anomalyco/opencode/pull/58577), [#&#8203;57944](https://github.com/anomalyco/opencode/pull/57944), [#&#8203;58052](https://github.com/anomalyco/opencode/pull/58052), [#&#8203;58494](https://github.com/anomalyco/opencode/pull/58494), [#&#8203;58073](https://github.com/anomalyco/opencode/pull/58073), [#&#8203;58114](https://github.com/anomalyco/opencode/pull/58114)) - Polish hover states, cursors, tooltips, focus rings, scrollbars, and transitions across desktop controls. ([#&#8203;57653](https://github.com/anomalyco/opencode/pull/57653), [#&#8203;57787](https://github.com/anomalyco/opencode/pull/57787), [#&#8203;57304](https://github.com/anomalyco/opencode/pull/57304), [#&#8203;58971](https://github.com/anomalyco/opencode/pull/58971), [#&#8203;57221](https://github.com/anomalyco/opencode/pull/57221), [#&#8203;57192](https://github.com/anomalyco/opencode/pull/57192), [#&#8203;58575](https://github.com/anomalyco/opencode/pull/58575), [#&#8203;58580](https://github.com/anomalyco/opencode/pull/58580)) ##### SDK ##### Improvements - Add GUI plugin APIs for toasts, dialogs, notifications, tabs, composer controls, and custom UI. ([#&#8203;59469](https://github.com/anomalyco/opencode/pull/59469)) ##### Bug fixes - Fix generated Promise client input types for TypeScript consumers. ([#&#8203;58875](https://github.com/anomalyco/opencode/pull/58875)) - Let SDK clients discard inline tool-result file payloads to reduce memory use. ([#&#8203;59101](https://github.com/anomalyco/opencode/pull/59101)) - Avoid unnecessary catalog refreshes for locations an SDK client has not loaded. ([#&#8203;55237](https://github.com/anomalyco/opencode/pull/55237), [#&#8203;59099](https://github.com/anomalyco/opencode/pull/59099)) - Restore running sessions created while an SDK client was disconnected. ([#&#8203;53012](https://github.com/anomalyco/opencode/pull/53012)) - Release omitted tool-image payloads from memory instead of retaining their base64 data. ([#&#8203;58560](https://github.com/anomalyco/opencode/pull/58560)) ### [`v1.19.6`](https://github.com/anomalyco/opencode/releases/tag/v1.19.6) [Compare Source](https://github.com/anomalyco/opencode/compare/v1.19.5...v1.19.6) #### Desktop ##### Improvements - 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. #### Core ##### Bugfixes - Sessions with many images no longer send oversized requests. When the images in a session's history pass 25 MiB, the oldest are replaced with a placeholder. - A provider error for a request body that is too large now starts compaction and a retry instead of failing the turn. ### [`v1.19.5`](https://github.com/anomalyco/opencode/releases/tag/v1.19.5) [Compare Source](https://github.com/anomalyco/opencode/compare/v1.19.4...v1.19.5) #### Core ##### Bugfixes - Failed TUI worker requests now return an error instead of leaving the caller hanging. ([@&#8203;Nowaker](https://github.com/Nowaker)) **Thank you to 1 community contributor:** - [@&#8203;Nowaker](https://github.com/Nowaker): - fix(opencode): answer a failed TUI worker request instead of hanging ([#&#8203;54936](https://github.com/anomalyco/opencode/issues/54936)) ### [`v1.19.4`](https://github.com/anomalyco/opencode/releases/tag/v1.19.4) [Compare Source](https://github.com/anomalyco/opencode/compare/v1.19.3...v1.19.4) #### Core ##### Improvements - Upgraded the bundled Bun runtime to 1.4.4, which includes [security fixes](https://bun.com/blog/bun-v1.4.4#security) for Brotli, TLS, HTTP/1.1, HTTP/2, HTTP/3, WebSocket, and `fetch`, and updates root certificates to NSS 3.131.1. ### [`v1.19.3`](https://github.com/anomalyco/opencode/releases/tag/v1.19.3) [Compare Source](https://github.com/anomalyco/opencode/compare/v1.19.2...v1.19.3) #### Core ##### Improvements - Configure model reasoning options to generate reasoning variants, replacing catalog variants while preserving your configured variant overrides. ### [`v1.19.2`](https://github.com/anomalyco/opencode/releases/tag/v1.19.2) [Compare Source](https://github.com/anomalyco/opencode/compare/v1.19.1...v1.19.2) #### Core ##### Bugfixes - OpenCode 1 now stays on the 1.x release line: update checks use only the npm `opencode-ai` latest version, so 1.x installs are never offered a 2.x build as a regular update. - Upgrading to OpenCode 2 remains a separate, explicit choice through the 2.0 offer in `/update` or `opencode upgrade --major`. - Fix upgrades for installs managed by yarn. - Skip 1.x updates for Homebrew Core installs, which now track OpenCode 2, and check tap and Chocolatey availability before offering an update. - The install script refuses to install 2.x versions. ### [`v1.19.1`](https://github.com/anomalyco/opencode/releases/tag/v1.19.1) [Compare Source](https://github.com/anomalyco/opencode/compare/v1.19.0...v1.19.1) #### Core ##### Bugfixes - Session sharing has been discontinued. Existing share links and session-sharing commands are no longer available, and importing sessions from share URLs is unsupported. ### [`v1.19.0`](https://github.com/anomalyco/opencode/releases/tag/v1.19.0) [Compare Source](https://github.com/anomalyco/opencode/compare/v1.18.35...v1.19.0) #### Core ##### Improvements - Run `opencode upgrade --major` to upgrade to OpenCode 2. ##### Bugfixes - Allow the OpenAI `ultrafast` service tier. - Validate PTY connection origins and tickets before checking whether a PTY exists. #### TUI ##### Improvements - Use `/update` to install OpenCode updates or upgrade to OpenCode 2; updates are no longer installed automatically. **Thank you to 1 community contributor:** - [@&#8203;dc85](https://github.com/dc85): - docs(web): add Exo Free to Zen docs ([#&#8203;53622](https://github.com/anomalyco/opencode/issues/53622)) - fix(stats): attribute exo usage to an unknown provider ([#&#8203;53621](https://github.com/anomalyco/opencode/issues/53621)) - docs(web): remove Fledge Alpha Free from Zen docs ([#&#8203;53984](https://github.com/anomalyco/opencode/issues/53984)) ### [`v1.18.35`](https://github.com/anomalyco/opencode/releases/tag/v1.18.35) [Compare Source](https://github.com/anomalyco/opencode/compare/v1.18.34...v1.18.35) #### Core ##### Improvements - Added canonical redirects and JSON and Markdown data formats for agent-readable stats. ##### Bugfixes - xAI tool results now include supported images, while unsupported image formats are skipped. ([@&#8203;Jaaneek](https://github.com/Jaaneek)) **Thank you to 3 community contributors:** - [@&#8203;dc85](https://github.com/dc85): - docs(web): add Fledge Alpha Free to Zen docs ([#&#8203;52895](https://github.com/anomalyco/opencode/issues/52895)) - [@&#8203;jm0ney337](https://github.com/jm0ney337): - docs(ecosystem): add opencode-supabase to ecosystem plugins ([#&#8203;49848](https://github.com/anomalyco/opencode/issues/49848)) - [@&#8203;Jaaneek](https://github.com/Jaaneek): - fix(opencode): bump [@&#8203;ai-sdk/xai](https://github.com/ai-sdk/xai) to 3.0.139 so tool-result images reach xAI ([#&#8203;53549](https://github.com/anomalyco/opencode/issues/53549)) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). The local configuration can be found in the [SI Renovate Bot repository](https://git.shivering-isles.com/shivering-isles/infrastructure-gitops/src/branch/main/apps/k8s01/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xNjcuNSIsInVwZGF0ZWRJblZlciI6IjQ0LjI1Ny45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
botaniker force-pushed renovate/anomalyco-opencode-2.x from 49660b5833 to 4e6d7270b6 2026-10-29 06:12:17 +00:00 Compare
botaniker force-pushed renovate/anomalyco-opencode-2.x from 4e6d7270b6 to e60bbc3eb6
Some checks are pending
go-lint Go pipeline started
gitops-images Image build started
gitops-pr-validation Pipeline started
2026-10-30 06:17:59 +00:00
Compare
botaniker force-pushed renovate/anomalyco-opencode-2.x from e60bbc3eb6
Some checks are pending
go-lint Go pipeline started
gitops-images Image build started
gitops-pr-validation Pipeline started
to e0ac5300a3
All checks were successful
go-lint Pipeline completed successfully
gitops-pr-validation Pipeline completed successfully
gitops-images Pipeline completed successfully
2026-10-30 13:02:18 +00:00
Compare
botaniker force-pushed renovate/anomalyco-opencode-2.x from e0ac5300a3
All checks were successful
go-lint Pipeline completed successfully
gitops-pr-validation Pipeline completed successfully
gitops-images Pipeline completed successfully
to ca71d8a2ee 2026-10-31 06:14:42 +00:00
Compare
botaniker force-pushed renovate/anomalyco-opencode-2.x from ca71d8a2ee to 49a50a197f 2026-11-07 06:17:25 +00:00 Compare
botaniker force-pushed renovate/anomalyco-opencode-2.x from 49a50a197f to 50a0b34d9f 2026-11-10 21:10:14 +00:00 Compare
botaniker force-pushed renovate/anomalyco-opencode-2.x from 50a0b34d9f to 571e71e225
Some checks are pending
go-lint Go pipeline started
gitops-pr-validation Pipeline completed successfully
2026-11-13 10:29:43 +00:00
Compare
botaniker force-pushed renovate/anomalyco-opencode-2.x from 571e71e225
Some checks are pending
go-lint Go pipeline started
gitops-pr-validation Pipeline completed successfully
to 580800c612 2026-11-18 06:09:43 +00:00
Compare
botaniker force-pushed renovate/anomalyco-opencode-2.x from 580800c612 to c51e4e9c2d 2026-11-23 23:59:48 +00:00 Compare
botaniker force-pushed renovate/anomalyco-opencode-2.x from c51e4e9c2d to d1af9d89ac 2026-11-26 06:11:35 +00:00 Compare
Some required checks are missing.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'renovate/anomalyco-opencode-2.x:renovate/anomalyco-opencode-2.x'
git switch 'renovate/anomalyco-opencode-2.x'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
shivering-isles/infrastructure-gitops!472
No description provided.