Changelog
New updates and improvements to OpenCode
v1.15.9 Redesigned the diff viewer with a file tree and refreshed layout
Improvements
- TerminalCopy the current worktree path from the command palette.
Fixes 17
- CoreReturn to the previous screen when closing the diff viewer.
- CoreShow clearer errors when a default model is invalid or unavailable.
- CoreSurface missing PTY session errors instead of failing generically.
- CoreImprove diff viewer empty states and context handling.
- CoreShow clearer errors when a skill invocation fails as expected.
- CoreShow clearer errors when an installation upgrade fails.
- CoreShow clearer project not found errors from the HTTP API.
- CoreReturn PTY error bodies from the HTTP API.
- CoreEnable the diff viewer by default.
- CoreReturn MCP server not found errors from the HTTP API.
- CoreLet MCP OAuth configs set a callback port and include configured scopes in client metadata.@sebin
- CoreUse working Vertex Anthropic endpoints for
usandeumulti-region setups.@JPFrancoia - CoreReturn session busy error bodies from the HTTP API.
- CorePreserve native reasoning continuation metadata across turns.
- TerminalRefine diff viewer keyboard shortcuts.
- TerminalRestore question prompt key handling.
- TerminalKeep the spinner color aligned with the active agent.@OpeOginni
v1.15.7 Added Grok OAuth sign-in
Added Grok OAuth sign-in, including device-code login.@Jaaneek
Fixes 13
- CoreV2 session APIs now return safe
UnknownErrorresponses with log reference IDs when stored messages are corrupt. - CoreGeneric API 500s no longer expose config details from server errors.
- CoreUnknown API errors now include reference IDs so you can match responses to server logs.
- CoreV2 session APIs now return
503 ServiceUnavailableErrorfor mutations that are not available yet. - CoreV2 session APIs now return
SessionNotFoundErrorfor missing sessions. - CoreDeduped concurrent Codex OAuth refreshes to avoid repeated refresh failures.@cooper-oai
- CoreRestored native OpenAI OAuth requests.
- CoreTool schema failures now surface as friendly tool errors.
- CoreAdded PDF attachment support for Grok.
- CoreRestored OpenAI reasoning streams.
- TerminalCollapsed thinking labels now use clearer punctuation.
- TerminalNew sessions now default to the local project.
- TerminalSingle-select question checkmarks no longer run into option labels.
- CoreV2 session APIs now return safe
v1.15.6 Added a diff viewer in the TUI for reviewing changes
Improvements 7
- CoreCollapsed single-child directories in the diff viewer file tree.
- CoreAdded shell mode to the
runprompt. - CoreReplaced subagent tabs with an on-demand picker in
run. - CorePlugin file load errors no longer break the rest of plugin loading.
- CoreAnthropic API-key models now use the native runtime.
- CoreThe v2 HTTP API now exposes structured public error schemas.
- TerminalThe diff viewer now focuses the first file automatically.
Fixes 11
- CoreZed editor context now only activates inside Zed terminals.
- CoreThe v2 HTTP API now exposes catalog errors.
- CoreThe v2 HTTP API now exposes request errors.
- CoreThe v2 OpenAPI spec now preserves endpoint error responses.
- Core
opencode loginnow defaults tohttps://console.opencode.ai. - CoreAgent and command names now resolve correctly from relative config paths.
- CoreInvalid
OPENCODE_PERMISSIONJSON no longer crashes startup. - CorePlugin tools with missing
argsno longer break tool loading. - CoreRestored legacy
PgUpandPgDnTUI keybind aliases. - CoreNative runtime now prefers the console provider token for OpenCode models.
- TerminalImported sessions now refresh their directory and relative path fields correctly.@OpeOginni
v1.15.5 Preview the native OpenAI runtime path behind an experimental flag
Improvements
- CoreAdd
--replayand--replay-limitto show recent history when resuming interactive runs - TerminalRefresh the prompt layout after pasting content
Fixes 7
- CoreFix plugin tools using
askso tool calls complete correctly - CoreReduce missed
/eventupdates caused by a subscription race - CoreSort the v2 session list by most recently updated
- TerminalKeep file references scoped to the current workspace
- TerminalPreserve pasted prompt content when copying
- TerminalCollapse very long tool output lines to keep the layout readable
- TerminalUse a higher-contrast paste summary badge color in some themes@kagura-agent
- CoreAdd
v1.15.4 Made Markdown H1 headings easier to distinguish
Fixes
- CoreFixed project-scoped bus events so file watcher and update notifications reach the right instance.
- CoreFixed custom LSP servers not sending refresh events after they initialize.
- CoreHid background subagent task instructions unless experimental background mode is enabled.
v1.15.3 Reduced wasted work when reading very large files after output truncation
Fixes
- TerminalFixed async commands losing the active instance context, which could break agent generation and GitHub-driven runs.
v1.15.2 Reduced unnecessary prompting around shell, task, and todo flows
Improvements
- TerminalNewly pinned sessions now stay at the end of the pinned list instead of jumping to the top.
Fixes
- CoreFixed sync events not reaching project-scoped subscribers in injected instances.
- TerminalFixed
opencode run --agentresolving project-local agents.
v1.15.1 Clarified how to recover when the npm package is installed without its native binary
Improvements
- TerminalAdded a collapsed thinking view that can be expanded inline.
- TerminalAdded pinned sessions with quick-switch slots in the session picker.
Fixes 10
- CoreAvoid duplicate consecutive entries in prompt history.
- CoreShow full config validation errors during TUI startup instead of a generic failure.
- CoreFixed npm installs so the CLI can recover and fetch the right native binary on more setups.
- CoreFixed multiline
@mentions in prompts. - CorePreserved custom tool metadata from Zod schemas.
- CorePreserved custom tool argument descriptions in generated schemas.
- CoreFixed file watching in repos where
.gitis a symlink.@kagura-agent - TerminalFixed thinking mode defaults so reasoning starts collapsed consistently.
- TerminalLimited session quick-switching to pinned sessions.
- TerminalFixed Markdown table rendering in chat output.
v1.15.0 Ignored invalid exports in custom tool modules instead of failing tool loading
Improvements
- CoreAdded an Effect-based core event system for more complete event delivery across sessions and integrations.
Fixes
- CoreIgnored project instruction lookup errors so sessions keep loading when project instruction discovery fails.
- CoreFixed versioned event projector lookups so event replay uses the right handlers.
v1.14.51 Added experimental background subagents so tasks can keep running while you continue working
Improvements
- CoreAdded the required billing origin header for NVIDIA endpoints.@nv-kasikritc
Fixes 9
- CoreFixed worktree creation requests that omitted the POST body.
- CoreFixed sessions getting stuck with interrupted assistant messages after cancellation.
- CoreFixed repeated auto-compaction in sessions after compaction reordered messages.
- CoreUpdated LiteLLM compatibility to require
v1.85.0-rc.2+for current GPT-5 and tool-call behavior.@Sameerlite - CoreFixed truncated shell output streams closing cleanly.
- CoreStopped exposing internal named defect details from the HTTP API.
- CoreFixed Azure
gpt-5.5requests through the completions API.@frederiknsgo - CoreRestored automatic image resizing for oversized image attachments.
- TerminalPreserved text selection when clicking question prompt options.@nikhil-patel-whatnot