OpenCode v1.2.25: Azure Support & Type Safety

v1.2.25 brings Azure model support, widespread type safety improvements, ARM64 Windows builds, and fixes for terminal jank, symlink handling, and OAuth flows.

OpenCode v1.2.25: Azure Support & Type Safety

TL;DR

  • Non-OpenAI Azure models now work with completions endpoints
  • Widespread type branding for ProviderID, ModelID, and workspace IDs improves safety
  • ARM64 Windows CLI and desktop builds, terminal jank fixes, symlink resolution for duplicate contexts

New

  • Non-OpenAI Azure model support — completions endpoints now work with Azure models beyond OpenAI
  • ARM64 Windows releases — CLI and desktop now available for ARM64 architecture
  • GOOGLE_VERTEX_LOCATION env var — explicit location support for Vertex AI provider
  • Thinking variants for SAP AI — SAP AI provider now supports thinking model variants
  • Workspace routing flag — OPENCODE_EXPERIMENTAL_WORKSPACES flag gates new workspace features

Fixed

  • Symlink resolution in Instance cache — prevents duplicate contexts from symlinked paths
  • Terminal jank and focus issues — multiple desktop app terminal fixes for smoother UX
  • OAuth auto-connect on first MCP connection — MCP connections no longer fail on initial OAuth setup
  • LLM stream chunk timeout — fixed timeout handling when processing streamed responses
  • Mobile sidebar sizing in workflows mode — responsive layout now respects flex constraints
  • Terminal state corruption — terminal state now persists correctly across sessions
  • Todos not clearing in app — todo items now properly clear from UI
  • IME composition editor conflicts — editor no longer reconciles during IME input
  • PackageRegistry.info stdout/stderr handling — now reads output before waiting for process exit
  • ESM imports for @opencode-ai/plugin — SDK plugin imports now work correctly

Breaking Changes

  • Bun semver and shell removal — replaced with npm semver and direct spawn calls; verify custom shell integrations still work
  • System directory access blocked — code can no longer access system directories; update any paths that relied on this

Update with: npm install -g @opencode-ai/cli@latest or download the latest release from GitHub.

Source: OpenCode