OpenCode v1.1.37: Auth, Desktop UI, & Provider Fixes

OpenCode v1.1.37 brings headless auth for ChatGPT, a redesigned file tree with highlights, better provider retry logic, and major desktop app improvements including Tauri localization.

OpenCode v1.1.37: Auth, Desktop UI, & Provider Fixes

TL;DR

  • Headless authentication support for ChatGPT/Codex — no browser needed
  • Major desktop app overhaul: file tree redesign, highlights feature, better memory management
  • Provider retry logic and Anthropic beta header fixes for Copilot integration

New

  • Headless authentication for ChatGPT/Codex — authenticate without opening a browser, useful for CI/CD and remote environments
  • Highlights feature in desktop app — visually mark and navigate important changes in your session
  • File tree redesign — new chevron icons, improved spacing, color-coded diff indicators, and better performance
  • Agent descriptions — agents now display descriptions in OpenCode for better context
  • Tauri localization and i18n support — desktop app now supports multiple languages
  • Provider descriptions in settings — clearer UI for managing AI providers and models
  • Vercel AI Gateway provider — added with description in settings
  • /learn command — extract session learnings to scoped AGENTS.md files

Fixed

  • Reactive file tree updates — files now properly refresh when changed on disk
  • OpenAI 404 errors — now retried instead of failing immediately
  • Venice cache creation tokens — properly handled in provider flow
  • Terminal corruption in desktop app — fixed rendering issues
  • File tree not loading — resolved initialization bug in app
  • Session diffs not loading — fixed sync issue preventing diff display
  • Race condition in shell cleanup — SessionRevert.cleanup now properly awaited
  • Query selector handling — fixed non-Latin character support
  • Zen mode disconnect — now works correctly in desktop app
  • Sticky auto-scroll button — no longer gets stuck on screen
  • Diff wrapping toggle — always available in command list with visual feedback
  • Anthropic beta headers with Copilot — properly attached when using Messages API
  • Custom provider source override — no longer incorrectly overridden by loaders

Breaking Changes

  • Instance.directory exposure — custom tools now have access to Instance.directory; read tool uses this instead of process.cwd()
  • Workspaces in non-VCS projects — no longer allowed; affects projects without version control

Update with: npm install opencode@1.1.37 or check the release page for desktop app downloads.

Source: OpenCode