OpenCode v1.14.34: Terminal Reliability & Auth Fixes

OpenCode v1.14.34 stabilizes terminal connections with PTY tickets, fixes auth environment reloading, and resolves Azure Anthropic model resolution. 16 bug fixes across core, TUI, and Desktop.

OpenCode v1.14.34: Terminal Reliability & Auth Fixes

TL;DR

  • PTY connection tickets fix authenticated terminal websockets across clients
  • Auth environment variables now reload correctly for HTTP listeners
  • Worktree creation no longer hangs during bootstrap; Azure Anthropic model resolution fixed

New

  • PTY connection tickets — authenticated terminal websockets now work reliably across multiple clients
  • v2 session failure events — clients can detect and display failed runs properly
  • Debug info command — TUI now includes debug info to print environment and diagnostic details

Fixed

  • Structured error bodies from effect HTTP server instead of empty failures
  • Server auth environment variables reload correctly for each new HTTP listener
  • Worktree creation no longer hangs while bootstrap commands run
  • Azure Anthropic model resolution when using the Anthropic SDK
  • Web UI proxy now loads public manifest assets and handles transfer-encoding correctly
  • Codex Spark models now work with Codex OAuth sign-in
  • Embedded UI serving from standalone server build
  • PTY websocket connections from Desktop with HttpApi server
  • Custom basic auth usernames respected in OpenCode clients
  • Browsers now prompted for basic auth on protected server logins
  • Real server error messages shown in CLI and SDK instead of bare {}
  • Large diffs no longer use unbounded memory
  • v2 session API responses encode optional fields correctly
  • Pagination Link headers use real request host
  • Terminal reconnect loops prevented after recovery failures
  • Auth-token credentials preserved when reopening Desktop app

Breaking Changes

  • None reported

Update: npm install -g opencode@1.14.34 or download from GitHub releases. Thanks to 4 community contributors including fixes for basic auth, UI proxy, and Codex OAuth support.

Source: OpenCode