OpenCode v2.4.5

OpenCode v2.4.5 was released on .

Summary

MCP servers now survive dropped connections, Desktop gets a faster way to answer agent questions, and you can run timer automations on demand. What else did this release quietly fix?

Release Context

  • This was the 220th OpenCode release of 2026 tracked by Havoptic.
  • It shipped 2 days after OpenCode v2.4.4 (December 3, 2026).
  • OpenCode: ships every 2.5 days — 11 releases in the last month.

Why it matters: MCP Tools Stay Live Through Dropped Connections.

Shipped around the same time

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

Compare OpenCode

Release Notes

Highlights - MCP Servers Survive Dropped Connections: When an MCP server drops, its tools stay available and reconnect on the next call, and new sessions start with each server's saved tool list instead of waiting for it to connect. (67926, 67899) - New Question UI in Desktop: Answer an agent's questions with a click, a number key or by typing your own answer, with Markdown in the question and answers checked before they're sent. Turn it off in Settings > Experimental. (68047) - Run an Automation Now: Click Run now next to Pause on an active timer automation in Desktop to run it right away. It counts as a normal run, and its schedule doesn't move. (68034) Core Improvements - MCP servers stay usable through dropped connections: tools stay listed, the next call reconnects, failed first starts retry, and saved tool listings let new sessions start without waiting for slow servers. A server that's gone (a missing command, or a URL that answers 404 or 410) is dropped instead of retried. The mcpresilience flag was removed. (67926, 67899, 67913, 67896, 68357) - With no default model configured, opencode run without -m, ACP and API clients that don't name a model now use the model of your most recent session, and a session keeps the model it last ran on. (68099) - Bundled ripgrep 16.0.0 with releases and put it on the shell tool's PATH. (66856) - Anthropic-compatible endpoints that stream thinking without a signature (GLM, DeepSeek and others) keep their thinking across turns. If an endpoint rejects it, OpenCode retries once without it, and the new compatibility.requireSignature setting forces either behavior. (68182, 68062) - The Code Mode catalog now lists namespaces and pinned tools, and the model finds other tools with search. (68086) Bug fixes - Fixed several MCP reconnect and sign-in problems: "no valid session ID" replies, a 401 after a token refresh, a rejected early refresh signing you out, sign-ins from another process, stdio servers hanging on close, tool calls resent after a reconnect, and lost replies waiting for the deadline. (67897, 67895, 67997, 67900, 67902, 67901, 67991, 68053, 68068) - Declining a permission ends the turn cleanly, a failed tool call stops its parallel siblings, and interrupted or broken provider streams no longer leave steps open. (68079, 68077, 68075, 68113) - Queued prompts stay queued when a restart resumes a turn, moving an idle session no longer wakes it, and deleting or moving a session cancels its pending forms and permission requests. (67880, 68090, 68080) - A session's summary is rebuilt after a revert, a manual rename survives title regeneration, and sessions loaded mid-stream show the text streamed so far. (68100, 68122, 68097) - The shell tool honors cwd as workdir, and the patch tool keeps a trailing blank line. (68184, 68106) - Worktree refresh and removal work when the project checkout is gone, and a worktree whose start command fails is rolled back. (67891, 68108) - OpenAI-compatible providers without a baseURL report a configuration error for image, embedding and decision models instead of sending your key to another host. (68174) - The automation scheduler survives storage failures. (68145) - A .opencode folder inside the global config directory (~/.config/opencode/.opencode) now loads. (68342) - Code Mode // @input: blocks accept loose spacing and unquoted or double-quoted tags instead of running their text as code. (68369) - SAP AI Core accepts both of its package names. Thanks @jerome-benoit. (67848) TUI Improvements - opencode and opencode mini accept -p as a short form of --prompt. (68021) - opencode api streams respons...

View original release

Other Recent OpenCode Releases

All OpenCode releases · All AI coding tool releases on Havoptic