OpenCode v1.15.7: Grok OAuth, Error Handling & Desktop UI

OpenCode v1.15.7 adds Grok OAuth, improves API error handling with reference IDs, and ships desktop UI refinements including pinch zoom and log export.

OpenCode v1.15.7: Grok OAuth, Error Handling & Desktop UI

TL;DR

  • Grok OAuth sign-in now available with device-code login support
  • API error responses now include reference IDs for debugging; safer handling of corrupt messages
  • Desktop app gains pinch zoom, new home view, and log export
  • OpenAI reasoning streams restored; OAuth refresh deduping prevents repeated failures

New

  • Grok OAuth sign-in — xAI Grok authentication now available, including device-code login for headless environments
  • PDF attachment support for Grok — Grok can now process PDF attachments in conversations
  • Desktop pinch zoom — Added pinch zoom setting for the desktop app
  • Desktop home view and session entry flow — Redesigned desktop UI with new home view, session entry flow, and titlebar
  • Desktop log export — Export logs directly from the desktop app

Fixed

  • API error responses now include reference IDs — Unknown API errors and 500s now surface with log reference IDs for easier debugging and log matching
  • Corrupt message handling — V2 session APIs return safe UnknownError responses with log references instead of exposing raw errors
  • Config details no longer exposed in 500 errors — Generic API errors no longer leak server configuration details
  • Session API error clarity — V2 session APIs now return 503 ServiceUnavailableError for unavailable mutations and SessionNotFoundError for missing sessions
  • Concurrent OAuth refresh deduping — Fixed repeated Codex OAuth refresh failures by deduping concurrent requests
  • OpenAI OAuth restored — Native OpenAI OAuth requests now working again
  • OpenAI reasoning streams restored — Reasoning stream support re-enabled
  • Tool schema error handling — Tool schema failures now surface as friendly tool errors instead of raw failures
  • Thinking label punctuation — Collapsed thinking labels now use clearer punctuation in TUI
  • Session defaults — New sessions now default to the local project
  • Single-select UI fix — Checkmarks in single-select questions no longer overlap option labels
  • V2 event streams — Global event streams now include account add, remove, and switch events

Update: npm install opencode@1.15.7 or visit the release page.

Source: OpenCode