v2.4.5 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
Improvements
- CoreMCP 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
mcp_resilienceflag was removed.#67926#67899#67913#67896#68357 - CoreWith no default model configured,
opencode runwithout-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 - CoreBundled ripgrep 16.0.0 with releases and put it on the shell tool's
PATH.#66856 - CoreAnthropic-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.requireSignaturesetting forces either behavior.#68182#68062 - CoreThe Code Mode catalog now lists namespaces and pinned tools, and the model finds other tools with
search.#68086 - Terminal
opencodeandopencode miniaccept-pas a short form of--prompt.#68021 - Terminal
opencode apistreams responses as they arrive and stops cleanly when piped tohead.#67856 - TerminalMermaid diagrams fit the width of the markdown they're in.#68268
- TerminalMarkdown math renders in replies:
$…$and\(…\)inline,$$…$$and\[…\]as display math. Plugins can supply the inline renderer withcontext.markdown.registerInlineMathRenderer.#68341 - DesktopThe New question UI is now on by default: answer with a click, a number key or by typing, with Markdown questions and answers checked before sending. Thanks @Pablo-aps.#68047#67999#67989#68026
- DesktopThe model picker and provider settings show each OpenCode workspace provider under the name Console sends, in a flat list.#68180
- DesktopRun an automation now from the automations list, edit the pairing address when pairing a device, and see when a response was sent by hovering its duration.#68034#67733#67995
- DesktopAdded a setting to turn off automatic update checks, and turned on smooth scrolling by default on Linux.#68277#68148
- DesktopScreen readers can use composer suggestions.#67958
- DesktopCorrected Korean translations and unified their terms. Thanks @hyungraekim-bagelcode.#67274
- SDKServer plugins can list, create, read, answer and cancel session forms through
session.form.#67863 - SDKExperimental: run a timer automation now with
client.experimental.automation.run, and filter the blob list by mime type withmime.#68034#68315 - SDKExperimental push callbacks accept any https relay. The SDK's
experimental.push.relaysoption andOPENCODE_EXPERIMENTAL_PUSH_RELAYSwere removed.#68153
Fixes
- CoreFixed 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
- CoreDeclining 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
- CoreQueued 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
- CoreA 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
- CoreThe shell tool honors
cwdasworkdir, and the patch tool keeps a trailing blank line.#68184#68106 - CoreWorktree refresh and removal work when the project checkout is gone, and a worktree whose start command fails is rolled back.#67891#68108
- CoreOpenAI-compatible providers without a
baseURLreport a configuration error for image, embedding and decision models instead of sending your key to another host.#68174 - CoreThe automation scheduler survives storage failures.#68145
- CoreA
.opencodefolder inside the global config directory (~/.config/opencode/.opencode) now loads.#68342 - CoreCode Mode
// @input:blocks accept loose spacing and unquoted or double-quoted tags instead of running their text as code.#68369 - CoreSAP AI Core accepts both of its package names. Thanks @jerome-benoit.#67848
- Terminal
@file#7attaches only line 7. Use@file#7-for line 7 to the end of the file.#68332 - TerminalRedo removes the prompt text undo restored, a single Esc no longer arms the next run to interrupt, and Windows paths pasted in WSL attach the file.#68098#68085#68005
- Terminal
opencode serve --portrejects out-of-range ports with a clear error.#67711 - DesktopSigning in to OpenCode no longer waits 10 seconds or says models are still loading.#68180#68183
- DesktopOn Windows, a staged update is no longer unpacked on every start, and delta updates download correctly.#68288#68276
- DesktopLong permission lists scroll, and a new permission request no longer replaces the one on screen.#68043#68250#68139
- DesktopRich text copied from Office apps pastes as text, the vertical tabs sidebar remembers its width, and the Inbox no longer loads archived sessions.#68197#68275#68171
- DesktopCatalog reads retry after a timeout, a session whose creation failed is cleaned up, and cron descriptions stay correct for partial-hour minute lists.#68102#68093#68052
- SDKA duplicate permission request ID returns 409 Conflict instead of 500, and importing a session with existing message IDs returns 409.#68073#68074
- SDKThe client reports server startup failures even when a child process keeps stderr open.#68281
- CoreMCP 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