github anomalyco/opencode v2.4.3

2 hours ago

Highlights

  • Automations in Desktop: Open Automations from the sidebar or Home to view scheduled and event-driven automations across your servers, see which session each one wakes, and pause, resume, or delete them. (#66393, #66899)
  • 11 New Themes and Contrast Calibration: Desktop adds Modus, Alabaster, VS Code, Cyberdream, Poimandres, Oxocarbon, Sakura, Espresso, Witch Hazel, E-Ink, and Dune, and calibrates all 35 existing non-default themes for WCAG 2.2 contrast. (#66521, #66528, #66531)
  • OpenMono Default Font: Code blocks and the built-in terminal in Desktop now use OpenMono with bundled Nerd Font icons by default. Existing custom font settings stay unchanged. (#64797)

Core

Improvements

  • Voice, embedding, and transcription models are now read from model config and Console settings instead of assuming hosted voice is always enabled. (#66627)
  • Markdown agent files (.opencode/agents/**/*.md and ~/.config/opencode/agents/**/*.md) now support an optional name frontmatter field to set the agent ID. (#67051)
  • Request bodies sent to OpenCode endpoints are now gzip-compressed. (#67053)
  • Claude Agent subagent processes now stop automatically once the subagent goes idle. (#66229)
  • Mobile push notifications now include question, answer, error, and permission details. (#66451)
  • Added MCP skills improvements, including per-version approval prompts when loading a skill from an MCP server. (#66731)
  • Added agent() and llm() with optional JSON Schema output in Code Mode (behind the codemode_agents flag) and native Windows machine worker support (behind the machines flag). (#66278, #66912)

Bug fixes

  • Improved built-in tools and Code Mode reliability: read now returns whole lines, grep windows long lines and caps output at 50 KB, edit replaces all matches in a single pass, and Code Mode reports failing tool calls and missing keys more clearly. (#66927, #67017, #67060, #66665, #67075, #66504, #66647)
  • Fixed MCP OAuth, connection pooling, and error handling: refreshed tokens send granted scopes (fixing Entra), Google OAuth requests refresh tokens, HTTP 5xx probe errors fall back to legacy, pooled connections share across equivalent configs and stop leaked event streams on disconnect/removal, and local MCP stderr forwards to debug logs. (#66636, #66588, #66914, #66923, #67164, #66685)
  • Fixed a batch of ACP issues covering attachment MIME/encoding, model display names, command error messages, subagent cost totals, selection echoes, title updates, skill commands, and worktree cwd matching. (#66631)
  • Fixed Claude Agent attachment handling (earlier-turn images, attachment filenames, and unreadable files) and ChatGPT multi-account OAuth registration. (#66755, #66756, #66757, #64945)
  • Fixed CLI and runtime edge cases: native PTY cleanup on shell exit, opencode run/mini using process.cwd() instead of PWD, unborn git repository project IDs, invalid service.json protection, empty XDG_STATE_HOME handling, and plugin directory watchers ignoring node_modules and .git. Thanks @JorgeRojas2712. (#66720, #67047, #67144, #66687, #61288, #66471)
  • Fixed provider handling across Copilot GPT (prompt cache on effort switch), Google Interactions, Z.AI, Tencent, Muse, OpenAI Responses, and random web search failover. (#66648, #67146, #66643, #66796, #65028, #66881)
  • Fixed watched status bursts waking sessions multiple times, nested permission metadata serialization, and session title regeneration ignoring the current title. (#66332, #66763, #66391, #67135)

TUI

Improvements

  • Added Find in session behind the Find in session experiment (experimental["session-find"]: true): press <leader>f, super+f, or run /find to search loaded messages incrementally. (#64870)
  • Text selections now render using theme colors (text.selection and background.selection), and provider lists now use the same ordering as Desktop and opencode auth login. (#65776, #66736)

Bug fixes

  • Fixed three batches of TUI issues covering session list pinning and renaming, stashed input modes, pinned permission prompts, "none" in keybind arrays, "Jump to latest", Mermaid bold tags and unspaced edge labels, symlinked cli.json live reload, clickable bare URLs in user messages, unmatched leader sequences, and opencode mini --replay-limit, plus an empty slot-path hang. (#66795, #66813, #66841, #66863)

Desktop

Improvements

  • Shipped the Automations view to all builds in the sidebar, titlebar, and Home. View each automation's schedule or event trigger, folder, creator, and target session, and pause, resume, or delete automations directly. (#66393, #66899, #66900)
  • Added 11 new built-in themes (Modus, Alabaster, VS Code, Cyberdream, Poimandres, Oxocarbon, Sakura, Espresso, Witch Hazel, E-Ink, and Dune) and calibrated all 35 existing non-default themes for WCAG 2.2 contrast and elevation. (#66521, #66528, #66531)
  • Bundled OpenMono (with Nerd Font icons) as the default monospace font for code and the built-in terminal. Saved font preferences are unchanged. (#64797)
  • Added a first-quit notice explaining that OpenCode continues running in the background for active sessions, terminals, and MCP servers, along with a Keep running in the background toggle under Settings > General. (#66499)
  • Added an opt-in Install updates on quit toggle (off by default) under Settings > General > Updates, and a Smooth scrolling toggle (off by default) under Settings > General on Linux. (#66501, #66622)
  • Added a browser address bar and recent pages list to the side panel's New tab view, a searchable model list after connecting a provider, and a Copy submenu on session menus (Session ID, Session title, Project ID). (#66818, #66608, #66576)
  • Quotes, file-line comments, and page-element notes in sent user messages now render inline in the user bubble in every build, and the New question UI experiment now lets you answer custom responses from the composer. (#66823, #66825)

Bug fixes

  • opencode://open-project and opencode://new-session links now ask for confirmation (including a preview of any pre-filled prompt) before opening a folder and reject relative paths, network shares, and control or bidirectional characters. (#65803, #67170)
  • Fixed images returned by tool calls not appearing in the session timeline, and fixed timeline layout issues (sticky file headers, grouped script output, truncated tool-group labels, subagent card spacing, and error card height). (#66430, #66519, #66637, #66638, #66751, #66821, #66918, #67006)
  • Fixed inbox sidebar navigation and focus stability, side-panel tab widths while closing tabs with the mouse, and Windows installer progress bar updates. (#66558, #66500, #66547, #66494, #66496, #66887, #66506)
  • Fixed translation bugs across Turkish, Russian, Persian, Vietnamese, Ukrainian, Hungarian, Croatian, Icelandic, and Lithuanian (including native desktop menu labels and shell/subagent permission descriptions). Thanks @olcanaskar, @OrlovKS, @MiRHaDi, @dat-rd, @KPGVM, @ZXLyyds100, and @Wang-Zephyr. (#66805)

SDK

Improvements

  • OpenCodeWorkerd (@opencode/sdk/workerd and @opencode/sdk/workerd/effect) now exposes fetch, password, cors, workspace, machine-link WebSocket upgrades, Durable Object WebSocket hibernation handlers, and a host imageResizer hook, with demand-driven background timers so Durable Objects can hibernate. (#67022, #67023, #67026, #67037)

Bug fixes

  • Treated an empty XDG_STATE_HOME environment variable as unset in @opencode/client, and fixed @opencode/client/solid dropping location-less catalog *.updated events. Thanks @JorgeRojas2712. (#61288, #66813)

Extensions

Improvements

  • Tools can now invoke other registered tools through context.tool.call(name, input), preserving input validation, hooks, and permission checks. (#66919)

Bug fixes

  • Fixed session.update in the plugin host silently ignoring the archived field. Thanks @LuckUVeryX. (#61036)

Don't miss a new opencode release

NewReleases is sending notifications on new releases.