Releases: anomalyco/opencode
Releases Β· anomalyco/opencode
Release list
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.
- 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
usandeumulti-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:
- @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
Core
Improvements
- Added Grok OAuth sign-in, including device-code login. (@Jaaneek)
Bugfixes
- V2 session APIs now return safe
UnknownErrorresponses 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 ServiceUnavailableErrorfor mutations that are not available yet. - V2 session APIs now return
SessionNotFoundErrorfor 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
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
runprompt. - 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 loginnow defaults tohttps://console.opencode.ai.- Agent and command names now resolve correctly from relative config paths.
- Invalid
OPENCODE_PERMISSIONJSON no longer crashes startup. - Plugin tools with missing
argsno longer break tool loading. - Restored legacy
PgUpandPgDnTUI 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
opentuidependencies to0.2.15.
Thank you to 4 community contributors:
- @MYMDO:
- feat(i18n): add Ukrainian (uk) locale support (#28061)
- @StarpTech:
- @tianxiaoliang:
- fix(app): invalidate provider queries after config update to show custom providers immediately (#28313)
- @OpeOginni:
v1.15.5
Core
Improvements
- Preview the native OpenAI runtime path behind an experimental flag
- Add
--replayand--replay-limitto show recent history when resuming interactive runs
Bugfixes
- Fix plugin tools using
askso tool calls complete correctly - Reduce missed
/eventupdates 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:
- @heimoshuiyu:
- fix: sync PWA status bar theme-color with app color scheme (#28006)
- @ShrootBuck:
- fix(app): hide prompt placeholder for whitespace input (#28101)
- @kagura-agent:
- fix(tui): use contrast-aware foreground for paste summary badge (#27969)
- @SpiritChen51:
- fix(ui): fallback to execCommand for clipboard copy when navigator.clipboard fails (#27993)
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
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
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 --agentresolving project-local agents.
Thank you to 1 community contributor:
- @gigamonster256:
- feat(nix): add opencode-electron derivation (#16163)
v1.15.1
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
.gitis 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:
- @kagura-agent:
- fix(watcher): resolve symlinked .git path before subscribing (#27016)
v1.15.0
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:
v1.14.51
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.5requests through the completions API. (@frederiknsgo) - Restored automatic image resizing for oversized image attachments.
TUI
Bugfixes
- Preserved text selection when clicking question prompt options. (@nikhil-patel-whatnot)
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
whereoutput correctly.
Extensions
Bugfixes
- Fixed DigitalOcean OAuth to request only the GenAI scopes it needs. (@Spherrrical)
Thank you to 7 community contributors:
- @nikhil-patel-whatnot:
- fix(tui): preserve text selection on question prompt options (#24988)
- @frederiknsgo:
- fix: bug encountered when using azure gpt-5.5 w/ completions api (#26222)
- @OpeOginni:
- feat(desktop): add mcp client registration status and authentication handling (#27525)
- @Sameerlite:
- fix(provider): remove LiteLLM workarounds ported upstream, requires LiteLLM v1.85.0-rc.2+ (#26819)
- @bo-tato:
- docs(app): stale reference to removed multi-edit tool (#27579)
- @Spherrrical:
- fix(plugin): scope digitalocean oauth to genai (#27599)
- @nv-kasikritc:
- feat(provider): add NVIDIA endpoints origin header (#27394)