Skip to content

Changelog

New updates and improvements to OpenCode

  1. v1.15.13

    Sessions can now store custom metadata through the API and SDK

    Improvements

    • CoreConfig now loads from the opened location upward, so directory-specific settings and provider policies apply more predictably.

    Fixes

    • CoreGateway Anthropic Opus 4.7+ adaptive reasoning now keeps summarized thinking instead of returning empty thinking blocks.
    • TerminalWrapped inline tool rows now stay aligned, and failed inline tools can expand their error details in place.
  2. v1.15.12

    ACP integrations can now send prompts, slash commands, and usage updates through acp-next

    Improvements

    • CoreAdded WebSocket transport for OpenAI responses on supported channels (set OPENCODE_EXPERIMENTAL_WEBSOCKETS=true)
    • TerminalAdded a workspace management dialog

    Fixes 14

    • CoreEnabled adaptive reasoning controls for Anthropic Opus 4.7+ models
    • CoreAllowed colons in passwords@neriousy
    • CoreSped up warm acp-next model and config switches
    • CoreImproved first-session acp-next startup time
    • CoreKept OpenAI WebSocket response timeouts active
    • CoreRetried failed OpenAI WebSocket streams before falling back
    • CoreHandled acp-next permission prompts correctly
    • CoreUsed the persisted session directory for existing-session requests
    • CoreForwarded remote workspace request bodies correctly
    • CoreSupported custom base URLs for OpenAI WebSocket responses@Tarquinen
    • TerminalKept session navigation working while prompt modes are open
    • TerminalRestored the thinking spinner
    • TerminalSurfaced subagent retry status
    • TerminalFixed opening editors from non-Git project paths@OpeOginni
  3. v1.15.11

    Added headerTimeout config for provider requests, with a 10s default for default OpenAI setups

    Improvements

    • CoreExperimental background agents now push updates without polling.
    • CoreYou can now set only modalities.input or modalities.output in config.@robposch
    • CoreRemote-backed projects now resolve a stable project identity.
    • TerminalMade the prompt resize with terminal width and added prompt size config.@bjschafer

    Fixes 11

    • CoreDynamically added MCP servers now disconnect cleanly when removed.
    • CoreDigitalOcean inference now uses your OAuth token directly instead of creating a MAK.@Spherrrical
    • CoreConfig loading now falls back cleanly when user info is unavailable.
    • CoreFixed Google tool calling after the upstream tool ID regression.
    • CoreExperimental flags can now override the umbrella experimental flag.
    • CoreResumed sessions no longer continue orphaned interrupted tools.@edevil
    • CoreOpenAI reasoning summaries now render as separate blocks.
    • CoreUpdated Google Vertex support for reasoning signatures.
    • CoreThe shell tool now advertises your configured timeout to the model.
    • TerminalAccelerated diff viewer scrolling.
    • TerminalExternal editors now open from the worktree directory when available.
  4. 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
  5. v1.15.7

    Added Grok OAuth sign-in

    Added Grok OAuth sign-in, including device-code login.@Jaaneek

    Fixes 14

    • 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.
    • SDKV2 global event streams now include account add, remove, and switch events.
  6. v1.15.6

    Added a diff viewer in the TUI for reviewing changes

    Improvements 8

    • 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.
    • SDKUpdated opentui dependencies to 0.2.15.

    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
  7. 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
  8. 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.
  9. 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.
  10. 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.