Skip to content

OpenCode v2.4.4

Released · OpenCode / SST

BreakingSecurity fix

What the release notes say

Highlights

  • Custom Model Responses in HTTP Hooks: Plugins using the session.http.request hook can now set event.response to answer model HTTP requests directly, making custom gateways, mocks, and request interception straightforward. (#67635)

  • Pop-Out Settings and Swatch Theme Picker: Pop Settings into its own window with live cross-window sync, and browse themes in a searchable popover with 5-color swatches and live preview. (#67759, #67752)

  • Jump to Sessions by ID and Deep Links: Paste a session ID into the Command Palette in Desktop or TUI to jump straight to any session across servers, or open sessions directly via opencode://session/<id> deep links. (#67779, #64180)

Core

Improvements

  • Enabled each model's recommended API from models.dev by default and removed the recommended_api flag. (#67250)

  • Added experimental.tool.auto and experimental.permission.save managed policy actions, with required prompts for unparseable shell commands when shell deny policies are active. (#67687, #67867)

  • Kept both the start and end of long shell output when truncating, renamed the shell result field outputPath to fullOutputPath, and stopped deleting saved shell output when old commands are evicted. (#67159, #67421, #67666)

  • Filtered OpenRouter models using account preferences and loaded Sign in with ChatGPT models and speeds from the account's model list. (#67375, #67469)

  • Increased the default header timeout for Gemini and DeepSeek models to 10 minutes, and added OAuth token revocation when removing GitLab, xAI, and DigitalOcean sign-ins. (#67243, #67406)

  • Allowed session.http.request plugin hooks to answer model HTTP requests directly by setting event.response. Thanks @nv-nedelman-1. (#67635)

  • Allowed versioned MCP skills to run without asking by default and included attached MCP clients in MCP instructions. (#67384, #67382)

  • Added opencode machine update for remote worker updates and tightened workspace sandbox confinement and per-OS path case-sensitivity. (#67315, #67202, #67211, #67632)

  • Updated bundled ripgrep to 15.2.0 and added SHA-256 content deduplication to the experimental Blob API. (#67392, #67016, #67662)

  • Added experimental mcp_resilience and Code Mode durability and multi-turn worker improvements behind feature flags. (#62756, #67628, #67411)

Bug fixes

  • Kept assistant message token counts accurate to context size across Anthropic fallback and compaction turns while preserving billed cost accuracy. (#67833, #67758)

  • Retried in-flight MCP tool calls aborted when a concurrent request triggers a session-expiry reconnect. (#67852)

  • Let retry hooks handle content-filter finishes and classified sensitive_words_detected responses as content-policy errors. Thanks @gsimone. (#67757, #67585)

  • Displayed Claude usage limit reset times in local time. (#67876)

  • Serialized whole-file writes with concurrent edits, preserved permission denial reasons through tool error wrappers, and normalized tool errors replaced by execute.after hooks. (#67091, #67098, #67223)

  • Stopped auto-unarchiving archived sessions when sending prompts, commands, skills, or shell calls, and recovered parent wakes after subagent reports. (#67365, #63416)

  • Fixed loopback URL detection for localhost., unbracketed ::1, and non-IPv4 127.* hostnames, canceled piped stdin waits on abort in opencode run, and allowed blob: media in the Web UI CSP. Thanks @AdemGhalleb and @richard-fairthorne. (#67420, #65910, #64303)

TUI

Improvements

  • Added session navigation by ID in the Command Palette and Session List. Thanks @gsimone. (#67779)