Skip to content

Releases: anomalyco/opencode

v1.15.9

Choose a tag to compare

@opencode-agent opencode-agent released this 22 May 21:18

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.
  • Return MCP server not found errors from the HTTP API.
  • Let MCP OAuth configs set a callback port and include configured scopes in client metadata. (@sebin)
  • Use working Vertex Anthropic endpoints for us and eu multi-region setups. (@JPFrancoia)
  • Return session busy error bodies from the HTTP API.
  • Preserve native reasoning continuation metadata across turns.

TUI

Improvements

  • Copy the current worktree path from the command palette.

Bugfixes

  • Refine diff viewer keyboard shortcuts.
  • Restore question prompt key handling.
  • Keep the spinner color aligned with the active agent. (@OpeOginni)

Desktop

Improvements

  • Move tab navigation into the title bar and tighten session tab shortcuts.
  • Show session status in the title bar.

Bugfixes

  • Extract user codes correctly from callback URLs that contain multiple colons. (@OpeOginni)
  • Debounce VCS refreshes to reduce session page churn.

Thank you to 4 community contributors:

  • @vglafirov:
    • chore(deps): bump gitlab-ai-provider to 6.7.0 (#28218)
  • @OpeOginni:
    • fix(opencode): update spinner color logic (#28032)
    • fix(desktop): correct user code extraction when URL contains colons (#28837)
  • @JPFrancoia:
    • fix(vertex): Vertex (Antropic) provider: use .rep.googleapis.com for continental multi-region endpoints (us, eu) (#28347)
  • @sebin:
    • fix(mcp): include scope in clientMetadata and add callbackPort option (#28810)

v1.15.7

Choose a tag to compare

@opencode-agent opencode-agent released this 21 May 15:51

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 failures. (@cooper-oai)
  • Restored native OpenAI OAuth requests.
  • Tool schema failures now surface as friendly tool errors.
  • Added PDF attachment support for Grok.
  • Restored OpenAI reasoning streams.

TUI

Bugfixes

  • Collapsed thinking labels now use clearer punctuation.
  • New sessions now default to the local project.
  • Single-select question checkmarks no longer run into option labels.

Desktop

Improvements

  • Added a pinch zoom setting for the desktop app.
  • Added a new desktop home view, session entry flow, and titlebar.
  • Refined the new desktop UI and moved app update actions into the titlebar.
  • Added desktop log export.

SDK

Bugfixes

  • V2 global event streams now include account add, remove, and switch events.

Thank you to 3 community contributors:

  • @cooper-oai:
    • fix(opencode): dedupe concurrent Codex OAuth refreshes (#28236)
  • @Jaaneek:
    • feat(opencode): add xAI Grok OAuth (SuperGrok) + device-code login (#28557)
  • @kagura-agent:
    • fix(ui): preserve target attribute in DOMPurify config for markdown links (#28598)

v1.15.6

Choose a tag to compare

@opencode-agent opencode-agent released this 20 May 21:44

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 preserves endpoint error responses.
  • opencode login now defaults to https://console.opencode.ai.
  • Agent and command names now resolve correctly from relative config paths.
  • Invalid OPENCODE_PERMISSION JSON no longer crashes startup.
  • Plugin tools with missing args no longer break tool loading.
  • Restored legacy PgUp and PgDn TUI keybind aliases.
  • Native runtime now prefers the console provider token for OpenCode models.

TUI

Improvements

  • The diff viewer now focuses the first file automatically.

Bugfixes

  • Imported sessions now refresh their directory and relative path fields correctly. (@OpeOginni)

Desktop

Improvements

  • Added initial desktop tabs support.
  • Added a native app menu on Windows.
  • Added Ukrainian locale support. (@MYMDO)

Bugfixes

  • Custom providers now appear immediately after config updates. (@tianxiaoliang)

SDK

  • Updated opentui dependencies to 0.2.15.

Thank you to 4 community contributors:

  • @MYMDO:
    • feat(i18n): add Ukrainian (uk) locale support (#28061)
  • @StarpTech:
    • chore(team): add starptech to the team members list (#28320)
    • chore(docs): remove beta zen go (#28317)
    • chore(triage): add 'starptech' to core and inference teams (#28376)
  • @tianxiaoliang:
    • fix(app): invalidate provider queries after config update to show custom providers immediately (#28313)
  • @OpeOginni:
    • fix(opencode): Update directory and path fields of imported session (#27516)
    • fix(enterprise): message nav hovercard and active state (#23964)

v1.15.5

Choose a tag to compare

@opencode-agent opencode-agent released this 18 May 20:57

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-contrast paste summary badge color in some themes (@kagura-agent)

Desktop

Improvements

  • Allow desktop notifications from the renderer
  • Show free-limit and usage-exceeded dialogs in Desktop
  • Speed up large session timelines

Bugfixes

  • Fix question dock overflow and message layout clipping
  • Hide the prompt placeholder when the input only contains whitespace (@ShrootBuck)
  • Sync the PWA status bar color with the active theme (@heimoshuiyu)
  • Install the newest available desktop update instead of reusing a stale download

Thank you to 4 community contributors:

v1.15.4

Choose a tag to compare

@opencode-agent opencode-agent released this 17 May 17:44

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:

v1.15.3

Choose a tag to compare

@opencode-agent opencode-agent released this 16 May 14:07

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.

v1.15.2

Choose a tag to compare

@opencode-agent opencode-agent released this 16 May 12:53

Core

Improvements

  • Reduced unnecessary prompting around shell, task, and todo flows.

Bugfixes

  • Fixed sync events not reaching project-scoped subscribers in injected instances.

TUI

Improvements

  • Newly pinned sessions now stay at the end of the pinned list instead of jumping to the top.

Bugfixes

  • Fixed opencode run --agent resolving project-local agents.

Thank you to 1 community contributor:

v1.15.1

Choose a tag to compare

@opencode-agent opencode-agent released this 16 May 05:44

Core

Improvements

  • Clarified how to recover when the npm package is installed without its native binary.

Bugfixes

  • Avoid duplicate consecutive entries in prompt history.
  • Show full config validation errors during TUI startup instead of a generic failure.
  • Fixed npm installs so the CLI can recover and fetch the right native binary on more setups.
  • Fixed multiline @ mentions in prompts.
  • Preserved custom tool metadata from Zod schemas.
  • Preserved custom tool argument descriptions in generated schemas.
  • Fixed file watching in repos where .git is a symlink. (@kagura-agent)

TUI

Improvements

  • Added a collapsed thinking view that can be expanded inline.
  • Added pinned sessions with quick-switch slots in the session picker.

Bugfixes

  • Fixed thinking mode defaults so reasoning starts collapsed consistently.
  • Limited session quick-switching to pinned sessions.
  • Fixed Markdown table rendering in chat output.

Thank you to 1 community contributor:

v1.15.0

Choose a tag to compare

@opencode-agent opencode-agent released this 15 May 04:03

Core

Improvements

  • Added an Effect-based core event system for more complete event delivery across sessions and integrations.

Bugfixes

  • Ignored invalid exports in custom tool modules instead of failing tool loading.
  • Ignored project instruction lookup errors so sessions keep loading when project instruction discovery fails.
  • Fixed versioned event projector lookups so event replay uses the right handlers.

Desktop

Improvements

  • Auto-hide the menu bar on Linux and Windows. (@shi-gg)

Bugfixes

  • Fixed archived sessions being reprocessed when their archive state did not change.

SDK

Bugfixes

  • Restored missing event types in the JavaScript SDK, including session and message events.

Thank you to 1 community contributor:

  • @shi-gg:
    • feat(desktop): auto-hide menu bar on Linux and Windows (#27618)

v1.14.51

Choose a tag to compare

@opencode-agent opencode-agent released this 15 May 00:39

Core

Improvements

  • Added experimental background subagents so tasks can keep running while you continue working.
  • Added the required billing origin header for NVIDIA endpoints. (@nv-kasikritc)

Bugfixes

  • Fixed worktree creation requests that omitted the POST body.
  • Fixed sessions getting stuck with interrupted assistant messages after cancellation.
  • Fixed repeated auto-compaction in sessions after compaction reordered messages.
  • Updated LiteLLM compatibility to require v1.85.0-rc.2+ for current GPT-5 and tool-call behavior. (@Sameerlite)
  • Fixed truncated shell output streams closing cleanly.
  • Stopped exposing internal named defect details from the HTTP API.
  • Fixed Azure gpt-5.5 requests through the completions API. (@frederiknsgo)
  • Restored automatic image resizing for oversized image attachments.

TUI

Bugfixes

Desktop

Improvements

  • Added MCP connection status for client registration and authentication, with direct re-auth flows in the app. (@OpeOginni)

Bugfixes

  • Fixed Windows app detection by reading where output correctly.

Extensions

Bugfixes

  • Fixed DigitalOcean OAuth to request only the GenAI scopes it needs. (@Spherrrical)

Thank you to 7 community contributors: