Skip to content

Changelog

New updates and improvements to OpenCode

  1. 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 us and eu multi-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
  2. 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 UnknownError responses 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 ServiceUnavailableError for mutations that are not available yet.
    • CoreV2 session APIs now return SessionNotFoundError for 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.
  3. 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 run prompt.
    • 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.
    • Coreopencode login now defaults to https://console.opencode.ai.
    • CoreAgent and command names now resolve correctly from relative config paths.
    • CoreInvalid OPENCODE_PERMISSION JSON no longer crashes startup.
    • CorePlugin tools with missing args no longer break tool loading.
    • CoreRestored legacy PgUp and PgDn TUI 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
  4. v1.15.5

    Preview the native OpenAI runtime path behind an experimental flag

    Improvements

    • CoreAdd --replay and --replay-limit to show recent history when resuming interactive runs
    • TerminalRefresh the prompt layout after pasting content

    Fixes 7

    • CoreFix plugin tools using ask so tool calls complete correctly
    • CoreReduce missed /event updates 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
  5. 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.
  6. 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.
  7. 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 --agent resolving project-local agents.
  8. 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 .git is 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.
  9. 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.
  10. 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.5 requests through the completions API.@frederiknsgo
    • CoreRestored automatic image resizing for oversized image attachments.
    • TerminalPreserved text selection when clicking question prompt options.@nikhil-patel-whatnot