Changelog
New updates and improvements to OpenCode
v1.18.23 Fixed parent session IDs being sent in request headers for session-aware providers
Fixes
- CoreFixed Cloudflare AI Gateway routing for third-party providers so non-Workers models work through the gateway's REST API.@superhighfives
- CoreFixed Anthropic models through Cloudflare AI Gateway by converting dotted model IDs like
claude-haiku-4.5to the dashed slug Anthropic expects.@superhighfives - TerminalFixed GitHub auth for immutable OIDC subject tokens.
v1.18.22 Removed outdated OpenCode Go first-month discount messaging and pricing
Fixes
- CoreFixed OpenCode device login links when servers return relative verification URLs or use a base path.
- CoreFixed
textVerbositybeing sent to OpenAI-compatible providers that do not support it.@joelstucki-taulia - CoreUpdated the Amazon Bedrock provider for compatibility fixes.
- DesktopKeep model provider headers visible while scrolling the model picker.
v1.18.21 Continue responses when a model reports an unknown finish reason instead of stopping early
Fixes
- CoreRoute Vertex AI
euandusmulti-region Gemini requests through REP endpoints - DesktopKeep file search results visible while the next search is loading
- DesktopRegister the archive session command in both desktop layouts@NathanTCode
- CoreRoute Vertex AI
v1.18.20 Surface failed subagent tool calls with a resumable
task_idFixes
- CoreRetry provider responses that end with
finish_reason: network_error. - CoreRetry more network error variants, including
network-errorandnetwork_error. - CoreSurface resumable subagent failures instead of returning an empty result.
- CorePreserve Cerebras
max_completion_tokenswithout applying an extra output cap. - CoreAnswer permission requests triggered by subagents during
opencode run. - CoreRetry xAI capacity and temporary unavailability stream errors.
- CoreRetry provider responses that end with
v1.18.19 Added native OpenAI and Anthropic passthroughs for Cloudflare AI Gateway models
Improvements
- CoreMatched Codex rate limits more closely to ChatGPT subscription limits.@GameOn223
9 more fixesFixes 9
v1.18.18 Select the Kimi system prompt correctly for official Moonshot and Kimi providers
Fixes
- CoreFix xhigh reasoning effort for xai models
v1.18.17 v1.18.16 Open the project menu with a right-click in Home
Fixes
- CoreIgnore unknown top-level config fields instead of failing config parsing
- CoreRegister projects opened from Home so they are available to the rest of the app
- DesktopFall back to listing and matching local directories when the project picker server does not support search
- DesktopUse 词元 instead of 令牌 for token-related labels in Simplified Chinese@Speechlessmanbilibili
- DesktopKeep the macOS app running after the last window closes and reopen a window when the app is activated
v1.18.15 Added much broader locale coverage across the desktop app
Improvements
- DesktopExport full session transcripts as JSON from the UI.
10 more fixesFixes 10
v1.18.14 Preserved structured mid-stream provider errors so compatible providers can retry failed responses
Improvements
- CoreSimplified xAI login to a single device-code flow that works better in headless and remote environments.
Fixes
- CoreRetried more transient provider and network errors instead of failing immediately.
- CoreCounted cache writes in ACP usage totals.
- CoreLogged remote workspace 5xx response bodies in the host logs to make proxy failures easier to debug.@jamesmurdza
- CoreStopped sending the host
directorypath to remote workspaces so prompts resolve from the remote project root.@jamesmurdza - CoreWaited for queued ACP session updates before ending a turn.