< cd ..

OpenCode

~/sst/opencode

Minimal, fast AI coding CLI with a beautiful TUI. Multi-provider support, MCP servers, and headless mode for scripting.

latest

v1.19.0

total

30

stable

30

first tracked

Jul 27, 2026

updated

18h ago

last checked: 18h ago │ Tier 2 refresh
#ai #cli #minimal
●●● clwatch

Check if your agent is current:

$ clwatch diff opencode
$ clwatch refresh opencode

learn more about clwatch →

●●● quick start // get running in 60s

install

$ npm install -g opencode-ai

first command

$ opencode

/changelog

v1.19.0 [Oct 11, 2026] details → github →

Core

Improvements

  • Run opencode upgrade --major to upgrade to OpenCode 2.

Bugfixes

  • Allow the OpenAI ultrafast service tier.
  • Validate PTY connection origins and tickets before checking whether a PTY exists.

TUI

Improvements

  • Use /update to install OpenCode updates or upgrade to OpenCode 2; updates are no longer installed automatically.
Thank you to 1 community contributor:
  • @dc85:
  • docs(web): add Exo Free to Zen docs (#53622)
  • fix(stats): attribute exo usage to an unknown provider (#53621)
  • docs(web): remove Fledge Alpha Free from Zen docs (#53984)
v1.18.35 [Oct 6, 2026] details → github →

Core

Improvements

  • Added canonical redirects and JSON and Markdown data formats for agent-readable stats.

Bugfixes

  • xAI tool results now include supported images, while unsupported image formats are skipped. (@Jaaneek)
Thank you to 3 community contributors:
  • @dc85:
  • docs(web): add Fledge Alpha Free to Zen docs (#52895)
  • @jm0ney337:
  • docs(ecosystem): add opencode-supabase to ecosystem plugins (#49848)
  • @Jaaneek:
  • fix(opencode): bump @ai-sdk/xai to 3.0.139 so tool-result images reach xAI (#53549)
v1.18.34 [Sep 30, 2026] details → github →

Core

Bugfixes

  • Send namespaced session and parent-session identity headers with model requests.
  • Re-sign locally compiled macOS binaries so they run reliably on macOS 27+. (@ryangamerdev)
  • Sign macOS CLI release binaries with a Developer ID.
Thank you to 3 community contributors:
  • @dc85:
  • docs(web): correct GPT 6.1 Sol cache pricing (#52176)
  • @metal-huang:
  • fix(tui): use path.sep for plugin name extraction in /status dialog (#52328)
  • @ryangamerdev:
  • fix(opencode): ad-hoc re-sign darwin binaries after local compile (#52183)
v1.18.33 [Sep 28, 2026] details → github →

Core

Bugfixes

  • Cloudflare AI Gateway models now honor provider response and stream timeouts. (@danlapid)
  • MCP browser launch failures are now reported when the launcher exits immediately.
  • Debug configuration output now redacts credentials and sensitive headers.
  • Gemini thinking defaults and effort options now match the supported controls across model generations. (@markmcd)
Thank you to 5 community contributors:
  • @dc85:
  • docs(web): add Claude Opus 5.5, GPT 6 Sol, and GPT 6 Luna to Zen (#50708)
  • @vglafirov:
  • maint(gitlab): bump gitlab-ai-provider to 6.16.0 (#50742)
  • @markmcd:
  • fix(gemini): switch thinking default logic (#50841)
  • @remorses:
  • docs(web): link kimaki to product website (#49735)
  • @danlapid:
  • fix(opencode): apply provider timeouts to Cloudflare AI Gateway models (#51549)
v1.18.32 [Sep 21, 2026] details → github →

Core

Bugfixes

  • Fixed Bedrock image attachments so they are only hoisted for Claude, Nova, and Llama 4 models.
  • Fixed Together AI streaming usage reporting.
Thank you to 1 community contributor:
  • @dc85:
  • docs: add DeepSeek V4.1 Flash to Zen (#49897)
  • feat: add Grok 4.7 to Zen and Go (#50288)
v1.18.31 [Sep 14, 2026] details → github →

Core

Bugfixes

  • Restored ACP session model, effort, mode, and reasoning chunk boundaries when loading, resuming, or forking sessions. (@JacobNWolf)

TUI

Bugfixes

  • Show remote config authentication errors during startup and exit with a failure status.

Extensions

Improvements

  • Request summarized adaptive thinking for GitHub Copilot models.
Thank you to 4 community contributors:
  • @heimoshuiyu:
  • feat(console): add batch workspace block endpoints (#48491)
  • @JacobNWolf:
  • fix(acp): restore session options and reasoning boundaries (#48225)
  • @R-Taneja:
  • chore(deps): bump @ai-sdk/gateway to 3.0.191 (#48710)
  • @MatthewFeroz:
  • fix(ui): add Merge Gateway logo (#42015)
v1.18.30 [Sep 9, 2026] details → github →

Core

Improvements

  • Added the Astra system prompt for GPT-6 models.

Bugfixes

  • Preserved Bedrock DeepSeek model IDs, including ARN-based IDs, so they resolve correctly. (@YeEmrick)
  • Updated the Azure provider SDK to pick up compatibility fixes.
  • Updated the OpenAI provider SDK to pick up compatibility fixes.
  • Added reasoning effort variants for supported GitLab GPT and Claude models. (@far-ouq)
Thank you to 3 community contributors:
  • @heimoshuiyu:
  • fix(console): openai usage normalization and tier threshold config (#47342)
  • @far-ouq:
  • fix(opencode): add GitLab reasoning variants (#47306)
  • @YeEmrick:
  • fix: preserve Bedrock DeepSeek model ids (#34441)
v1.18.29 [Sep 4, 2026] details → github →

Core

Bugfixes

  • Allow Codex OAuth model filtering to recognize integer GPT versions like gpt-6
  • Fixes issue of gpt-6-astra not showing up for openai subscription users
Thank you to 2 community contributors:
  • @Peter267:
  • docs(zh): fix bold rendering by adding spaces around asterisks (#46231)
  • @heimoshuiyu:
  • feat(console): add quota reset support action (#47313)
v1.18.28 [Sep 4, 2026] details → github →

Core

Improvements

  • Send the session ID as GitHub Copilot's interaction header to improve request tracking across a session.

Desktop

Bugfixes

  • Use the desktop client ID during OpenCode account device authentication.
  • Increase the open-in app icon size for better visibility.
Thank you to 1 community contributor:
  • @MVS-source:
  • docs: add Eden AI to the providers list (#43386)
v1.18.27 [Sep 2, 2026] details → github →

Core

Bugfixes

  • Default provider header timeouts to five minutes so slow model startups fail less often.
  • Default streamed chunk timeouts to five minutes, with false supported to disable them.
  • Let Anthropic thinking.blockBinding opt out via config when you need to keep the provider default. (@dkindlund)
  • Limit Anthropic thinking block binding to Claude 5.1+ models so older deployments do not reject requests.
  • Avoid unhandled errors when canceling timed-out SSE reads. (@AlexanderWillner)
Thank you to 2 community contributors:
  • @AlexanderWillner:
  • fix(provider): handle SSE reader cancel rejections (#44944)
  • @dkindlund:
  • fix(opencode): let config opt out of Anthropic thinking blockBinding (#46820)
v1.18.26 [Sep 1, 2026] details → github →

Core

Bugfixes

  • Claude 5 sessions now tolerate stale thinking blocks instead of failing after prompt or tool changes.
  • Bedrock GPT-5.6 models now accept none reasoning effort.
  • Bedrock reasoning and replay handling is more reliable. (@pengzh1)
  • Tool call timing now stays accurate when tools update their metadata while still running. (@bartlettroscoe)
  • apply_patch no longer emits an empty move path in permission metadata. (@altendky)

Improvements

  • Azure CLI sign-in now asks for the resource name directly instead of querying Azure management APIs.

Desktop

Bugfixes

  • Session renames now save reliably from the title editor and tab context menu.
Thank you to 3 community contributors:
  • @altendky:
  • fix(opencode): omit empty apply patch move path (#45329)
  • @pengzh1:
  • fix(core): bump @ai-sdk/amazon-bedrock to 4.0.166 for reasoning and replay fixes (#45520)
  • @bartlettroscoe:
  • fix(core): Fix for incorrect time.start reset in tool call logging (#32574) (#32596)
v1.18.25 [Aug 28, 2026] details → github →

Core

Bugfixes

  • Fixed Azure authentication so Azure CLI sign-in works without requiring Bun.
v1.18.24 [Aug 28, 2026] details → github →

Core

Bugfixes

  • Bedrock reasoning responses no longer get cached into unreplayable empty messages.

Improvements

  • Azure providers can now sign in with Microsoft Entra ID through the Azure CLI instead of requiring an API key.
  • V1 now reads supported V2 config fields so newer config files keep working in more mixed setups.

Desktop

Bugfixes

  • Archived sessions disappear from the Home list immediately. (@NathanTCode)
Thank you to 3 community contributors:
  • @NathanTCode:
  • fix(app): drop archived sessions from home list right away (#44905)
  • @OpeOginni:
  • fix(ui): restore focus in stacked dialogs (#44928)
  • @dondetir:
  • docs: mention Exa and Parallel as web search backends (#38395)
v1.18.23 [Aug 25, 2026] details → github →

Core

Bugfixes

  • Fixed Cloudflare AI Gateway routing for third-party providers so non-Workers models work through the gateway's REST API. (@superhighfives)
  • Fixed Anthropic models through Cloudflare AI Gateway by converting dotted model IDs like claude-haiku-4.5 to the dashed slug Anthropic expects. (@superhighfives)
  • Fixed parent session IDs being sent in request headers for session-aware providers.

TUI

Bugfixes

  • Fixed GitHub auth for immutable OIDC subject tokens.
Thank you to 1 community contributor:
  • @superhighfives:
  • fix(provider): send Anthropic's dashed native slug through the AI Gateway (#44281)
  • fix(provider): route non-native Cloudflare AI Gateway providers via the REST API (#44828)
v1.18.22 BREAKING [Aug 24, 2026] details → github →

Core

Bugfixes

  • Removed outdated OpenCode Go first-month discount messaging and pricing.
  • Fixed OpenCode device login links when servers return relative verification URLs or use a base path.
  • Fixed textVerbosity being sent to OpenAI-compatible providers that do not support it. (@joelstucki-taulia)
  • Updated the Amazon Bedrock provider for compatibility fixes.

Desktop

Bugfixes

  • Keep model provider headers visible while scrolling the model picker.
Thank you to 1 community contributor:
  • @joelstucki-taulia:
  • fix(provider): guard textVerbosity injection for @ai-sdk/openai-compatible providers (#43915)
v1.18.21 [Aug 21, 2026] details → github →

Core

Bugfixes

  • Continue responses when a model reports an unknown finish reason instead of stopping early
  • Route Vertex AI eu and us multi-region Gemini requests through REP endpoints

Desktop

Bugfixes

  • Keep file search results visible while the next search is loading
  • Register the archive session command in both desktop layouts (@NathanTCode)
Thank you to 1 community contributor:
  • @NathanTCode:
  • fix(app): register archive session command in both layouts (#41741)
v1.18.20 [Aug 21, 2026] details → github →

Core

Bugfixes

  • Surface failed subagent tool calls with a resumable task_id.
  • Retry provider responses that end with finishreason: networkerror.
  • Retry more network error variants, including network-error and network_error.
  • Surface resumable subagent failures instead of returning an empty result.
  • Preserve Cerebras maxcompletiontokens without applying an extra output cap.
  • Answer permission requests triggered by subagents during opencode run.
  • Retry xAI capacity and temporary unavailability stream errors.
v1.18.19 BREAKING [Aug 20, 2026] details → github →

Core

Improvements

  • Added native OpenAI and Anthropic passthroughs for Cloudflare AI Gateway models.
  • Matched Codex rate limits more closely to ChatGPT subscription limits. (@GameOn223)

Bugfixes

  • Removed built-in Qwen sampling defaults that could send unsupported settings.
  • Properly show authenticated providers in /connect. (@OpeOginni)
  • Ignore malformed model pricing instead of breaking usage cost calculation.
  • Fall back when OpenAI websocket requests exceed message size limits.
  • Forward ChatGPT workspace compute residency to Codex requests.
  • Updated the default Console URL used by account connection flows.
  • Enabled web search when using the OpenCode Go provider.
  • Preserved compatibility with existing v1 databases.

Desktop

Bugfixes

  • Kept saved server details editable in the server dialog.
Thank you to 4 community contributors:
  • @TechyAditya:
  • fix(skills): Update global config path in documentation (#42337)
  • @GameOn223:
  • tweak: match codex limits for openai models exactly when using chatgpt subscription (#39082)
  • @OpeOginni:
  • fix(opencode): properly show authed providers on /connect command (#39915)
  • @bhuvan2134686:
  • docs: add SCX.ai to the providers list (#42520)
v1.18.18 [Aug 13, 2026] details → github →

Core

Bugfixes

  • Select the Kimi system prompt correctly for official Moonshot and Kimi providers
  • Fix xhigh reasoning effort for xai models
v1.18.17 [Aug 12, 2026] details → github →

Core

Bugfixes

  • Made session compaction keep complete recent turns and produce clearer summaries for smaller models.
  • Added MERGE Gateway reasoning variants so those model options work correctly. (@MatthewFeroz)
  • Capped automatic session retries and added jitter to reduce repeated retry storms.
  • Enabled PDF attachments for GitHub Copilot models that advertise PDF vision support. (@stevenao)
  • Applied the correct sampling defaults to DeepSeek V4 Flash on supported providers.
  • Routed all Muse family models to the correct Meta system prompt. (@mreso)

Desktop

Bugfixes

  • Updated Chinese developer terminology to use more widely recognized translations.
  • Used the server's current default model instead of stale local config when choosing the default model.
Thank you to 6 community contributors:
  • @mreso:
  • fix(session): route all Muse family models to the Meta system prompt (#41581)
  • @OpeOginni:
  • fix(ui): correct OC-2 weak icon color (#41504)
  • @peculiarnewbie:
  • feat(console): add go usage endpoint (#16513)
  • @stevenao:
  • fix(opencode): detect Copilot PDF input support (#41522)
  • @MatthewFeroz:
  • fix(provider): add Merge Gateway reasoning variants (#41867)
  • @skyzhao1223:
  • docs: fix broken DigitalOcean and Daytona links (#42048)
  • docs: fix provider display name and PAT typos (#42034)
v1.18.16 [Aug 10, 2026] details → github →

Core

Bugfixes

  • Ignore unknown top-level config fields instead of failing config parsing
  • Register projects opened from Home so they are available to the rest of the app

Desktop

Improvements

  • Open the project menu with a right-click in Home

Bugfixes

  • Fall back to listing and matching local directories when the project picker server does not support search
  • Use 词元 instead of 令牌 for token-related labels in Simplified Chinese (@Speechlessmanbilibili)
  • Keep the macOS app running after the last window closes and reopen a window when the app is activated
Thank you to 1 community contributor:
  • @Speechlessmanbilibili:
  • fix(i18n): use 词元 instead of 令牌 for token in zh locale (#40977)
v1.18.15 [Aug 7, 2026] details → github →

Core

Bugfixes

  • Chronological message ordering now stays correct even when imported or legacy message IDs are out of order.
  • Revert and fork actions now use real message chronology instead of message ID ordering.
  • Truncation cleanup now removes stale files by file timestamp more reliably.
  • Repeated compaction now keeps earlier tool-call history in summaries instead of dropping orphaned results.
  • Blob-based attachments now load correctly in the web UI. (@rexdotsh)

Desktop

Improvements

  • Added much broader locale coverage across the desktop app.
  • Export full session transcripts as JSON from the UI.

Bugfixes

  • Session timelines now respect chronological message boundaries more reliably.
  • Stored messages now stay ordered by creation time.
  • Session lists now sort by persisted activity time more reliably.
  • Language names now stay native in the locale picker.
  • Filled in missing translations across existing locales.
Thank you to 3 community contributors:
  • @rexdotsh:
  • fix(server): allow blob attachments in web UI (#40692)
  • @ayubun:
  • fix(tui): support copying over ssh with set-clipboard on tmux config (#30472)
  • @dangooddd:
  • feat(tui): add cursor style configuration (#32295)
v1.18.14 [Aug 5, 2026] details → github →

Core

Improvements

  • Simplified xAI login to a single device-code flow that works better in headless and remote environments.

Bugfixes

  • Preserved structured mid-stream provider errors so compatible providers can retry failed responses.
  • Retried more transient provider and network errors instead of failing immediately.
  • Counted cache writes in ACP usage totals.
  • Logged remote workspace 5xx response bodies in the host logs to make proxy failures easier to debug. (@jamesmurdza)
  • Stopped sending the host directory path to remote workspaces so prompts resolve from the remote project root. (@jamesmurdza)
  • Waited for queued ACP session updates before ending a turn.
Thank you to 1 community contributor:
  • @jamesmurdza:
  • fix(server): don't forward host directory to remote workspace (#40136)
  • fix(server): log upstream 5xx bodies from proxied workspace requests (#40135)
v1.18.13 [Aug 4, 2026] details → github →

TUI

Bugfixes

  • GitHub pull request reviews now include the pull request number and URL in context.

Desktop

Bugfixes

  • Fixed several right-to-left layout issues across tabs, drawers, resizing, and titlebar interactions.
  • Fixed shared right-to-left UI behavior such as directional icons and drawer placement.
  • Sessions without titles now fall back to generated names instead of appearing blank.
  • Moved markdown parsing off the main thread to keep the app more responsive while rendering messages.

Improvements

  • Localized more desktop UI copy, including native menus, update dialogs, and help content.
  • Added early right-to-left layout support across the app and session views.
  • Added locale-aware plural rules so translated counts and summaries read correctly.
  • Expanded translation coverage and added more supported desktop languages.
Thank you to 1 community contributor:
  • @amypoolside:
  • docs: add Poolside provider setup (#39187)
v1.18.12 [Aug 4, 2026] details → github →

Core

Bugfixes

  • Fixed Azure GPT-5.5+ completion requests failing when reasoning is enabled. (@frederiknsgo)

Desktop

Bugfixes

  • Reduced composer lag when drafts include large pasted images or attachments.
  • Let project search match any known recent project instead of only the first five. (@NumerousJLs)
  • Cleared stale assistant errors from the timeline once the same turn resumes streaming.
  • Skipped legacy config reads against v2 servers to avoid spurious config loading issues. (@resetsix)
Thank you to 4 community contributors:
  • @resetsix:
  • fix(app): skip legacy config reads for v2 (#40211)
  • @NumerousJLs:
  • fix(app): search every known project in the open project dialog (#40202)
  • @MagnumGoYB:
  • docs: remove obsolete vouch system section (#40266)
  • @frederiknsgo:
  • fix: gpt-5.5+ in combination with azure fails with reasoningEffort (#40265)
v1.18.11 [Aug 1, 2026] details → github →

Core

Bugfixes

  • Stopped MCP SSE connections from getting stuck in reconnect loops after server error responses.
  • Fixed provider model configs that use interleaved reasoning fields like reasoning_text or custom field names.

Desktop

Bugfixes

  • Open external links in the system browser instead of inside the app.
  • Fixed stale session tab state in the desktop title bar. (@OpeOginni)
  • Open the legacy directory picker at your home folder when no home path is loaded yet.
  • Prevent the file tree tab from clipping when resized smaller. (@OpeOginni)
  • Fixed debug gutter labels and values misaligning.
Thank you to 2 community contributors:
  • @devennavani:
  • docs: add Modal provider setup (#39710)
  • @OpeOginni:
  • fix(app): prevent file tree tab clipping (#39770)
  • fix(app): prevent stale session tab reads (#39767)
  • fix(app): prevent stale prompt control reads (#39842)
v1.18.10 [Jul 30, 2026] details → github →

Core

  • Discover available Modal models automatically. (@devennavani)

Desktop

Improvements

  • Prevent adding the same attachment more than once.
  • Always show the new session button.
  • Improve toast notifications with better stacking, dismissal, and mobile layout.
  • Refine tab hover, active, and overflow states.

Bugfixes

  • Repair malformed saved tabs so broken tab state no longer persists across launches. (@OpeOginni)
  • Hide the model variant selector until model data finishes loading.
  • Preserve the custom agent picker for existing users.
Thank you to 3 community contributors:
  • @lakshyaag-tavily:
  • docs(ecosystem): add opencode-tavily plugin (#38709)
  • @devennavani:
  • feat: discover Modal models (#39066)
  • @OpeOginni:
  • fix(app): repair malformed persisted tabs (#39645)
v1.18.9 BREAKING [Jul 28, 2026] details → github →

Core

Bugfixes

  • Restored compatibility with legacy MCP SDK clients.

Desktop

Bugfixes

  • Fixed a Solid cleanup crash that could break navigation in the desktop app.
  • Fixed home session loading so the session list can update without suspending the whole page.

Improvements

  • Removed the extra vertical borders from the V2 home projects view.
  • Added an opt-in V2 desktop sidecar backed by the bundled CLI service.
  • Added collapsible model provider sections in V2 settings.
Thank you to 1 community contributor:
  • @roborew:
  • fix(desktop): patch @dnd-kit/solid to preserve core scroll plugins (#38119)
v1.18.8 BREAKING [Jul 28, 2026] details → github →

Core

Improvements

  • Improved compatibility with newer MCP servers and OAuth flows.

Bugfixes

  • Reconnects MCP servers after expired SDK sessions, including concurrent requests.
  • Honors configured MCP OAuth callback ports in mcp debug.
  • Stops sending deprecated sampling defaults to newer Gemini models.

Desktop

Improvements

  • Added a shortcut to open the project selector in new sessions.

Bugfixes

  • Tab keyboard navigation now follows the visible tab order.
  • Opening files now expands Windows folders with trailing separators.
  • Server status uses blue when an integration needs attention.
  • Provider connection state now refreshes immediately after changes.
  • Linux packages now install AppStream metadata. (@develop7)
  • Local desktop runs now use the channel database.
  • Prevents freezes when closing projects from the home view.
  • Prevents the right panel from freezing the session view while loading.
Thank you to 2 community contributors:
  • @OpeOginni:
  • fix(core): correct MCP environment field in built-in skill (#39175)
  • @develop7:
  • fix(desktop): install AppStream metainfo in Linux packages (#36872)
v1.18.7 BREAKING [Jul 27, 2026] details → github →

Desktop

Bugfixes

  • Remove the extra titlebar inset in fullscreen on macOS.
  • Keep command palette entries from reappearing incorrectly when shadowed commands are removed.
  • Add scrolling to the project selector dropdown when the list is long. (@david1gp)
Thank you to 2 community contributors:
  • @ProdigyRahul:
  • fix(ui): keep mutable selects open (#39027)
  • @david1gp:
  • fix(app): add scroll to project selector dropdown (#39016)