Changelog
New updates and improvements to OpenCode
v1.15.7 Added Grok OAuth sign-in
Added Grok OAuth sign-in, including device-code login.@Jaaneek
Fixes 11
- 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.
- SDKV2 global event streams now include account add, remove, and switch events.
- 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.
- SDKUpdated
opentuidependencies to0.2.15.
Fixes 10
- 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.
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
Fixes
- 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
- CoreAdd
v1.15.4 Fixed project-scoped bus events so file watcher and update notifications reach the right instance
Fixes
- 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 v1.15.2 Reduced unnecessary prompting around shell, task, and todo flows
Fixes
- CoreFixed sync events not reaching project-scoped subscribers in injected instances.
v1.15.1 Clarified how to recover when the npm package is installed without its native binary
Fixes 7
- 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
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.
- SDKRestored missing event types in the JavaScript SDK, including session and message events.
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 8
- 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.
v1.14.50 Added
instance.directoryandinstance.workspacequery support to the v2 model and provider callsFixes
- CoreKept HTTP event streams open after the initial connect event so subscribers continue receiving instance updates.
- CoreReturned proper busy errors when a session is already running prompt or shell work.
- CoreLet invalid
small_modelconfig values fall back cleanly instead of breaking small-model selection. - CoreImproved missing-model errors with suggestions across CLI and typed callers.