opencode
Open source terminal coding agent. Provider-agnostic, runs in the terminal or as a TUI.
Release history
opencode 1.19.3
Model reasoning configuration now generates reasoning variants, replacing catalog variants while preserving user overrides
opencode 1.19.2
Pins update checks to the 1.x npm line so 1.x installs stop getting offered 2.x builds. Relevant only if auto-updates are enabled
opencode 1.19.0
Adds an upgrade path to OpenCode 2 via opencode upgrade --major; Review breaking changes before running it
opencode 1.18.35
Added canonical redirects and agent-readable data formats for stats, fixed xAI tool results to properly handle supported image formats
opencode 1.18.34
Sends namespaced session headers with model requests
opencode 1.18.33
Cloudflare AI Gateway models now respect provider response and stream timeouts
opencode 1.18.32
Bedrock image attachments now hoisted only for Claude, Nova, Llama 4
opencode 1.18.31
Fixes ACP session state persistence when loading, resuming, or forking sessions
opencode 1.18.30
Adds Astra system prompt for GPT-6 models
opencode 1.18.29
Fixes OAuth model filtering for integer GPT versions; Gpt-6-astra now shows for OpenAI subscription users
opencode 1.18.27
Raises default provider header timeout to five minutes to reduce startup failures for slow models
opencode 1.18.26
Claude 5 sessions tolerate stale thinking blocks instead of failing after prompt or tool changes
opencode 1.18.23
Fixed Cloudflare AI Gateway routing for Anthropic and third-party providers, plus GitHub OIDC auth in the TUI
opencode 1.18.21
Fixes unknown finish reason handling in model responses and improves Vertex AI multi-region routing; Desktop fixes include persistent file search results during loading
opencode 1.18.19
Native OpenAI and Anthropic passthroughs for Cloudflare AI Gateway, improved rate limiting, and fixed provider authentication display and cost calculation bugs
opencode 1.18.17
Session compaction now preserves complete recent turns and produces clearer summaries, plus fixes for PDF attachments, MERGE Gateway reasoning, and model routing
opencode 1.18.16
Config parsing now tolerates unknown fields, project registration works correctly from Home, and right-click project menu opens in Desktop mode
opencode 1.18.15
Message chronology fixes prevent ordering corruption during imports, forks, and compaction; Blob attachments now work in web UI; Broader locale support added to desktop
opencode 1.18.11
Fixed MCP SSE reconnect loops, reasoning field parsing, and desktop UI issues including external link handling and file tree clipping
opencode 1.18.8
MCP server reconnection after SDK expiration, OAuth callback port handling, and deprecated sampling parameter removal improve compatibility and stability across newer AI model integrations
opencode 1.18.5
Opencode 1.18.5 stabilizes multi-model AI handling (Claude, OpenAI, Mistral, MiniMax) and adds current-server support to the desktop app with backwards compatibility
opencode 1.18.4
Adaptive thinking now works with Kimi models on Anthropic-compatible providers