OpenCode

Tracking major feature releases, model weight updates, structural APIs, and developer roadmaps.

[ MAJOR ADVANCEMENT ] v1.18.4

v1.18.4

Core Improvements Use adaptive thinking controls for Kimi models on Anthropic-compatible providers, with summarized reasoning output by default. ( @chouqin ) Bugfixes Reduce OpenAI provider header timeouts during slow connection setup. Respect provider-defined reasoning options instead of falling back to the wrong reasoning controls. Restore Azure Cognitive Services endpoint support for Azure-hosted models. Desktop Improvements Sync the embedded terminal theme with the app theme. Improve the review panel so open file tabs can stay aligned with the current diff view. Rewrite the v2 prompt input...

v1.18.3

v1.18.3

Core Improvements Added an Up Arrow shortcut to close the subagent picker when the first item is selected. Desktop Bugfixes Fixed home page scrolling so sticky headers and the session list behave correctly. Fixed startup readiness so WSL server loading is included before the desktop app reports ready. Removed the inactive help button from the app layout. Fixed custom agent selector visibility when custom agents are available. Improvements Home page command palette search can now find and open sessions.

[ MAJOR ADVANCEMENT ] v1.18.2

v1.18.2

Core Bugfixes Stopped subagents from launching nested subagents by default, with a configurable subagent_depth limit when needed. Improved default reasoning depth for Meta models. Desktop Improvements Added Mod+N as another shortcut for opening a new tab. Bugfixes Restored the Help button in release builds. Kept sessions with null archive times visible instead of dropping them from the home list. Hid the drawer close button on Windows where it conflicts with the window chrome. Thank you to 1 community contributor: @BB-84C : fix(core): tolerate AlreadyExists in FSUtil.ensureDir ( #36542 )

v1.18.0

v1.18.0

Desktop Improvements Completed the Desktop v2 migration, including upgrade handling for the new layout and first-launch onboarding. Added a setting to switch between the new and old Desktop layouts during the transition period. Bugfixes Fixed file views using the wrong background in the v2 layout. Fixed connected project picker positioning when its anchor is still loading. Kept permission auto-accept state separate for each server. Fixed a project picker positioning crash. Kept terminal tab rename focused while editing. Enabled remote sessions to auto-accept permissions correctly. Fixed termin...

v1.18.1

v1.18.1

Desktop Bugfixes Fixed spacing between model provider sections in Settings.

[ MAJOR ADVANCEMENT ] v1.17.19

v1.17.19

Core Bugfixes Supported OpenAI pro reasoning mode. Disabled response storage by default for xAI Responses. ( @geraint0923 ) Added OAuth support for Luna Responses Lite. Switched to another available org after logging out in the console. Used Codex context limits for GPT-5.6 over OAuth. ( @nabilfreeman ) TUI Bugfixes Forwarded CLI environment variables to the TUI worker. Desktop Bugfixes Removed interface transition changes that were accidentally shipped to dev . Fixed clipped labels and branch tooltips. Stopped the review panel width from jumping when opening or closing it. Focused the prompt ...

[ MAJOR ADVANCEMENT ] v1.17.20

v1.17.20

Core Bugfixes Removed an obsolete Codex workaround that could interfere with OpenAI Luna Responses Lite requests. Improvements Updated Azure AI support for GPT-5.6.

PR #36567 verification evidence

Automated OpenCode Drive verification artifact for PR #36567 .

[ MAJOR ADVANCEMENT ] v1.17.17

v1.17.17

Core Bugfixes Improved Meta model handling for reasoning variants and provider requests. Desktop Bugfixes Fixed clipped descenders in model selector labels. Improvements Added a dismissible tabs intro popup and refreshed the help entry point. Updated sub-agent task rows to match the v2 session design more closely. Restyled the revert dock in v2 sessions for clearer restore actions. Added a v2 free-model selector with faster access to more providers.

v1.17.18

v1.17.18

Core Bugfixes Prevent crashes and bad pricing data when GitHub Copilot returns models with a zero billing batch size. Improvements Add a model-specific system prompt for Meta Muse Spark.

[ MAJOR ADVANCEMENT ] v1.17.16

v1.17.16

Core Bugfixes Exposed reasoning effort variants for Grok models. Improved xAI prompt cache routing and PDF file support in Responses models. Desktop Improvements Added an Open containing folder action for projects on the home screen. Added a composer add menu for files, commands, context, and shell mode without losing draft text. Added a provider setup tip on new sessions when no external providers are connected. Remember review panel mode and selected file per session. Added inline file browser tabs for opening and previewing files from the side panel. Updated desktop translations. Bugfixes K...

v1.17.15

v1.17.15

Core Bugfixes Better classify Z.ai context-window overflow errors so oversized requests surface the right failure mode ( @fengjikui ) Handle unavailable config directories more gracefully when reading config files Desktop Improvements Restore model details tooltips in the model picker ( @arvsrn ) Refresh the v2 command palette to better match the rest of the new desktop UI ( @arvsrn ) Bugfixes Make terminal shortcuts take priority when the terminal is focused Show unread state on tabs with pending questions Keep session tab titles available after reloads while session data is still loading App...

[ MAJOR ADVANCEMENT ] v1.17.14

v1.17.14

Core Improvements Added a code mode MCP adapter for running confined orchestration scripts against connected MCP tools. Hid the execute tool unless code mode is enabled. Bugfixes Fixed paginated MCP tool catalogs losing tool metadata and output schema validation. Preserved low reasoning effort for OpenRouter small-model variants instead of disabling it. Fixed GitHub Copilot model routing to honor each model's advertised chat or responses endpoint. Fixed session lists to match equivalent instance directories reliably. Fixed Cerebras reasoning replay so earlier assistant reasoning is sent back i...

[ MAJOR ADVANCEMENT ] v1.17.13

v1.17.13

Core Bugfixes Force reasoning mode for OpenAI-compatible reasoning models so reasoning settings apply reliably on custom deployments Stop replaying stale GitHub Copilot response item IDs, avoiding follow-up request failures Desktop Bugfixes Let question prompts be minimized and restored without dismissing them ( @arvsrn ) Clean up stale empty and old draft store files to reduce desktop state buildup Keep pending question requests open while reviewing them, instead of dismissing them accidentally ( @eXamadeus ) Keep session page failures scoped to the affected tab instead of breaking the whole ...

v1.17.12

v1.17.12

Core Bugfixes Enable adaptive thinking for Claude Sonnet 5. Prefer MCP content responses over structured output when both are present. Reconnect MCP servers after OAuth even if the server was disabled. ( @MaxAnderson95 ) Request MCP refresh-token scope during OAuth. Show MCP OAuth completion errors instead of a generic failure. Refresh cached remote skills. Preserve skill resource paths. Pick better default small models across providers. Scope MCP auth status to each server URL. TUI Improvements Add a yolo mode to auto-approve permissions. Pass ServerAuth headers through external served TUI co...

[ MAJOR ADVANCEMENT ] v1.17.10

v1.17.10

Core Improvements Added MCP server instructions to session context. ( @Arcadi4 ) Added Opencode-managed provider integration support. Added MCP resource template listing. Added MCP resource read tools. Added a --mini CLI mode. Bugfixes Hid MCP resource template tools when access is denied. Prevented MCP resource tools from colliding when servers expose the same keys. Emitted skill base directories as filesystem paths instead of file:// URLs. ( @shyuan ) Restored legacy MCP tool names for existing integrations. Restored v1 account config loading. Bound MCP OAuth callbacks to IPv4 loopback for b...

v1.17.11

v1.17.11

Core Improvements Add session snapshots and revert controls so you can roll a session back to an earlier message, including file changes. Bugfixes Always print the MCP OAuth URL so manual sign-in still works when opening the browser flow. Desktop Improvements Add Chrome-style tab cycle shortcuts with mod+1 through mod+9 . Add draggable tabs. ( @arvsrn ) Improve the empty home state when you have no sessions. ( @arvsrn ) Restyle the jump-to-latest button in the v2 session view. ( @arvsrn ) Improve the redesigned desktop layout, including better titlebar tabs and archived sessions. ( @arvsrn ) B...

PR #33649 visual proof

Visual verification asset for draft PR #33649 . This prerelease can be deleted after the PR is merged or closed.

v1.17.9

v1.17.9

Core Bugfixes Honor configured agent step limits by forcing a final text response instead of failing mid-run. Fix Devstral model detection when provider IDs use different casing. ( @Robin1987China ) Pass configured custom headers to Copilot model requests. Improvements Add high and max thinking variants for GLM-5.2 across supported providers. ( @imranshaiedi-byte ) Stop wrapping follow-up user messages in a steering reminder so prompt caching stays effective. TUI Bugfixes Only show the background subagent shortcut when the server supports it. Thank you to 4 community contributors: @Grantmartin...

v1.17.8

v1.17.8

Core Improvements Session timelines load much faster and avoid flicker or scroll jumps. Bugfixes OpenAI-compatible providers now accept MCP tool schemas that previously failed validation. ( @jquense ) Cloudflare AI Gateway now receives the configured API key correctly. ( @keefetang ) MCP tools without declared schema properties now work with providers that expect object properties. Long-running MCP tools now keep their timeout alive when they report progress. ( @Nomadcxx ) The MCP OAuth callback server now shuts down once authorization finishes or is cancelled. MCP tool failures now surface th...

v1.17.7

v1.17.7

Core Bugfixes Plugin client requests now reuse the active server instead of assuming the default local port. ACP shell tool calls now show the command and working directory from the start. Plugin-provided shell environment variables now apply to PTY sessions. Improvements MCP servers can now receive the current workspace as a client root. TUI Bugfixes MCP debug now uses the SDK's latest protocol version. Desktop Bugfixes The new session route now stays scoped to its own draft server, so prompts and state target the right workspace. SDK Improvements SDK clients now refresh model and provider av...

v1.17.5

v1.17.5

Core Improvements Added external browser OAuth for the Snowflake Cortex provider ( @santigc6 ) Improved project copy management and move-session flows in v2 Bugfixes Recovered expired MCP sessions instead of leaving MCP tools disconnected Cleared closed MCP clients so stale MCP connections do not linger Returned structured MCP tool output in a readable form Fixed duplicate renderable IDs that could break TUI rendering Fixed commands using $ARGUMENTS so file contents are not injected twice ( @verdverm ) TUI Bugfixes Added auth headers to RunCommand fetch requests ( @OpeOginni ) Desktop Improvem...

v1.17.6

v1.17.6

Core Bugfixes Improved MCP server compatibility by declaring OpenCode's supported client capabilities.

v1.17.4

v1.17.4

Core Improvements Added cwd support for local MCP servers so they can start from a workspace-relative directory. ( @Grantmartin2002 ) Added connector-based authentication flows and support for stored provider credentials. Added v2 API endpoints to create and fetch sessions, list session questions, and resolve the active location. File reads now return raw content with the correct content type for API and SDK clients. MCP server log notifications are now surfaced in opencode logs. Bugfixes Fixed Gemini tool schemas that used multi-type fields so compatible tools keep working. ( @Killusions ) Co...

v1.17.2

v1.17.2

Core Bugfixes Recover from expired remote config auth by prompting you to log in again instead of failing to load config ( @Ayushlm10 ) Let subagents use their own configured permissions again Desktop Bugfixes Restore Linux launcher and icon identity so pinned apps keep opening correctly ( @neriousy ) Restore the device attachment picker ( @rexdotsh ) Thank you to 3 community contributors: @Ayushlm10 : fix: recover from expired enterprise auth on remote config load ( #31661 ) @rexdotsh : fix(app): restore device attachment picker ( #31707 ) @neriousy : fix(desktop): restore linux launcher iden...

v1.17.1

v1.17.1

Core Improvements References can include usage descriptions for agents, show up in the new docs, and be hidden from @ autocomplete when needed. Bugfixes Deprecated reference config entries continue to load under the newer references config key. MCP prompt and resource requests now respect configured server timeouts. Anthropic fallback responses are handled correctly again. MCP servers that fail during client setup now fail cleanly instead of leaving a broken connection behind. Desktop Improvements The new desktop session flow now has a dedicated /new-session route with draft tabs that keep you...

[ MAJOR ADVANCEMENT ] v1.17.0

v1.17.0

Core Improvements Faster file search across large projects with the new fff -backed search tools. ( @dmtrKovalenko ) Added X-Session-Id headers for proxy setups that need sticky routing. ( @songchaow ) Added Cohere North model support. Added reasoning as an interleaved field option for vLLM providers. ( @delta9000 ) mcp add now works in non-interactive flows. auth logout now supports search when choosing an account. Bugfixes Improved MCP connection status messages so failures are easier to act on. Added Claude Fable reasoning support. MCP tool calls now receive abort signals, so cancellations ...

[ MAJOR ADVANCEMENT ] v1.16.2

v1.16.2

Core Bugfixes Reasoning summaries now only run on providers that support them, avoiding GPT-5 request failures on compatible backends. Edit operations now refuse loose matches that could overwrite the wrong code or replace an existing file by mistake. Fixed Bedrock sessions hanging before a model response starts. ( @alblez ) Improvements Diff viewer now supports next and previous hunk navigation. Terminal themes now refresh after live terminal reloads without stale colors or broken highlighting. Running subagents can now be sent to the background so you can keep working. Sessions now persist s...

[ MAJOR ADVANCEMENT ] v1.16.0

v1.16.0

Core Improvements Added managed workspace cloning that keeps dirty and untracked files. Added moving sessions between workspaces and directories. Added proper OpenAI model support through AWS Bedrock. Added skill discovery and file-based agent loading. Updated GitHub Copilot usage tracking for token-based billing. Added run --replay for interactive session replay. Improved startup time. ( @StarpTech ) Bugfixes Added Vue syntax highlighting. Restored full ACP session replay when loading saved sessions. ( @imnotlxy ) Fixed shell cancellation races. Fixed SAP AI Core OpenAI reasoning variants. ( ...

[ MAJOR ADVANCEMENT ] v1.15.13

v1.15.13

Core Bugfixes Gateway Anthropic Opus 4.7+ adaptive reasoning now keeps summarized thinking instead of returning empty thinking blocks. Improvements Sessions can now store custom metadata through the API and SDK. ( @shantur ) Config now loads from the opened location upward, so directory-specific settings and provider policies apply more predictably. TUI Bugfixes Wrapped inline tool rows now stay aligned, and failed inline tools can expand their error details in place. Thank you to 1 community contributor: @shantur : feat(core): add session metadata support ( #23068 )

[ MAJOR ADVANCEMENT ] v1.15.12

v1.15.12

Core Improvements ACP integrations can now send prompts, slash commands, and usage updates through acp-next Added WebSocket transport for OpenAI responses on supported channels (set OPENCODE_EXPERIMENTAL_WEBSOCKETS=true) Bugfixes Enabled adaptive reasoning controls for Anthropic Opus 4.7+ models Allowed colons in passwords ( @neriousy ) Sped up warm acp-next model and config switches Improved first-session acp-next startup time Kept OpenAI WebSocket response timeouts active Retried failed OpenAI WebSocket streams before falling back Handled acp-next permission prompts correctly Used the persis...

v1.2.24

github-v1.2.24: refactor(server): unify instance httpapi middleware routing

Unify declared instance HTTP API endpoints under typed middleware routing, including event streaming and PTY WebSocket connect handling.\n\nPreserve PTY connect compatibility by checking missing PTYs before parsing optional cursor and ticket query fields, with regression coverage.

[ MAJOR ADVANCEMENT ] v1.15.11

v1.15.11

Core Improvements Added headerTimeout config for provider requests, with a 10s default for default OpenAI setups. Experimental background agents now push updates without polling. You can now set only modalities.input or modalities.output in config. ( @robposch ) Remote-backed projects now resolve a stable project identity. Bugfixes Restored remote project identity resolution. Preserved cached project identity across reloads. Dynamically added MCP servers now disconnect cleanly when removed. DigitalOcean inference now uses your OAuth token directly instead of creating a MAK. ( @Spherrrical ) Co...

v1.15.10

v1.15.10

Desktop Bugfixes Restored the legacy production desktop flows for opening projects and starting sessions.

[ MAJOR ADVANCEMENT ] v1.15.9

v1.15.9

Core Improvements Redesigned the diff viewer with a file tree and refreshed layout. Bugfixes Return to the previous screen when closing the diff viewer. Show clearer errors when a default model is invalid or unavailable. Surface missing PTY session errors instead of failing generically. Improve diff viewer empty states and context handling. Show clearer errors when a skill invocation fails as expected. Show clearer errors when an installation upgrade fails. Show clearer project not found errors from the HTTP API. Return PTY error bodies from the HTTP API. Enable the diff viewer by default. Ret...

[ MAJOR ADVANCEMENT ] v1.15.7

v1.15.7

Core Improvements Added Grok OAuth sign-in, including device-code login. ( @Jaaneek ) Bugfixes V2 session APIs now return safe UnknownError responses with log reference IDs when stored messages are corrupt. Generic API 500s no longer expose config details from server errors. Unknown API errors now include reference IDs so you can match responses to server logs. V2 session APIs now return 503 ServiceUnavailableError for mutations that are not available yet. V2 session APIs now return SessionNotFoundError for missing sessions. Deduped concurrent Codex OAuth refreshes to avoid repeated refresh fa...

v1.15.6

v1.15.6

Core Improvements Added a diff viewer in the TUI for reviewing changes. Collapsed single-child directories in the diff viewer file tree. Added shell mode to the run prompt. Replaced subagent tabs with an on-demand picker in run . Plugin file load errors no longer break the rest of plugin loading. Anthropic API-key models now use the native runtime. The v2 HTTP API now exposes structured public error schemas. Bugfixes Zed editor context now only activates inside Zed terminals. The v2 HTTP API now exposes catalog errors. The v2 HTTP API now exposes request errors. The v2 OpenAPI spec now preserv...

v1.15.5

v1.15.5

Core Improvements Preview the native OpenAI runtime path behind an experimental flag Add --replay and --replay-limit to show recent history when resuming interactive runs Bugfixes Fix plugin tools using ask so tool calls complete correctly Reduce missed /event updates caused by a subscription race Sort the v2 session list by most recently updated TUI Improvements Refresh the prompt layout after pasting content Bugfixes Keep file references scoped to the current workspace Preserve pasted prompt content when copying Collapse very long tool output lines to keep the layout readable Use a higher-co...

v1.15.4

v1.15.4

Core Bugfixes Fixed project-scoped bus events so file watcher and update notifications reach the right instance. Fixed custom LSP servers not sending refresh events after they initialize. Hid background subagent task instructions unless experimental background mode is enabled. TUI Improvements Made Markdown H1 headings easier to distinguish. Thank you to 1 community contributor: @necropheus : docs: update README.es.md ( #27739 )

v1.15.3

v1.15.3

Core Bugfixes Reduced wasted work when reading very large files after output truncation. TUI Bugfixes Fixed async commands losing the active instance context, which could break agent generation and GitHub-driven runs.