On December 4 (23:55 UTC), open-source coding agent OpenCode shipped v2.4.5 on GitHub, spanning 209 commits since v2.4.4. The release promotes MCP connection resilience to default behavior and removes the mcp_resilience flag: tools stay listed across dropped connections, reconnect on the next call, retry failed first starts, and bootstrap new sessions from cached tool listings without blocking on slow servers. Core runtime updates also preserve unsigned thinking blocks across turns for Anthropic-compatible GLM and DeepSeek endpoints (with automatic fallback retry and a compatibility.requireSignature setting), add namespace/pinned-tool catalog search in Code Mode, bundle ripgrep 16.0.0, enable Desktop's new Markdown Question UI by default, and expose session.form in the SDK.

Key Takeaways

  • ✓Default MCP connection resilience (mcp_resilience flag removed): tools survive dropped connections and reconnect on the next call, failed initial starts retry, new sessions load cached tool lists without waiting, permanent failures (404/410 or missing command) are dropped, and 9+ MCP auth/reconnect bugs are fixed.
  • ✓Cross-turn thinking for Anthropic-compatible endpoints: endpoints such as GLM and DeepSeek that stream thinking without a signature retain thinking across turns, automatically retry once without it if rejected, and expose compatibility.requireSignature.
  • ✓Code Mode catalog search and bundled ripgrep: Code Mode catalogs now list namespaces and pinned tools while models discover additional tools via search; releases bundle ripgrep 16.0.0 on the shell PATH, and opencode run/ACP/API default to the latest session's model.
  • ✓Desktop, TUI, and SDK additions: Desktop enables the new Markdown Question UI by default and adds Run now for timer automations; TUI renders inline/display LaTeX math and width-fitted Mermaid diagrams; SDK adds session.form and client.experimental.automation.run.
OpenCode v2.4.5 Released: Resilient MCP Reconnects Enabled by Default, Unsigned Thinking Preservation for GLM/DeepSeek, and New Desktop Question UI
Official Media
Click to view high-res

Key Decision Metrics at a Glance

TL;DR Verdict

Turn your technical choice into a development budget

Compare 40 dev plans & simulate token costs vs $20/mo subscriptions

In-Depth Technical Analysis

Core Background & Industry Pain Points

Connecting multiple Model Context Protocol (MCP) servers often slows down session startup and breaks tool calls on transient disconnects, while Anthropic-compatible endpoints for models such as GLM and DeepSeek frequently drop reasoning traces when thinking blocks omit cryptographic signatures. On December 4 (23:55 UTC), OpenCode released v2.4.5 on GitHub—spanning 209 commits since v2.4.4—to make MCP transport resilient by default and harden multi-provider agent sessions.

Architecture Highlights & Internals

Per the v2.4.5 release notes, OpenCode removes the mcp_resilience flag and enables persistent MCP tool caching by default: new sessions boot immediately with saved tool listings, dropped servers reconnect on the next tool call, failed first starts retry, and unreachable targets (missing binaries or 404/410 HTTP responses) are cleanly pruned alongside fixes for token-refresh 401 errors and stdio hang-ups. For Anthropic-compatible backends without signed thinking blocks, OpenCode retains reasoning across turns, retries once without thinking if rejected, and exposes compatibility.requireSignature. In Code Mode, catalogs list namespaces and pinned tools while models discover remaining tools via search.

Authoritative Benchmarks & Measured Scores

OpenCode did not publish model accuracy benchmarks for this client and SDK release. Compared against v2.4.4 (209 commits), the release eliminates MCP handshake blocking on session startup, bundles ripgrep 16.0.0 directly onto the shell tool PATH, and cuts desktop sign-in initialization stalls.

Developer Hands-on Guide

Upgrade using the methods in the OpenCode documentation: curl -fsSL https://opencode.ai/v2/install | bash, brew install anomalyco/tap/opencode-v2, or npm install -g @opencode/cli. Configure compatibility.requireSignature for custom Anthropic-compatible gateways, pass -p as shorthand for --prompt in the TUI, or use session.form and client.experimental.automation.run in server plugins and SDK scripts.

Action HubReady to adopt this in production?

Benchmark side-by-side against alternatives, or calculate monthly token cost vs subscription break-even.

Up NextZ.ai Opens GLM-5.4 to All GLM Coding Plan Users With New Vision Capabilities, Stronger All-Round Coding and 50% More Weekly Quota Than GLM-5.3
Read Now→