OpenCode v1.14.45: Provider Config & Session Migration Fixes

OpenCode v1.14.45 fixes provider model filtering, read tool permissions, session migration issues, and SDK error handling. Includes backward compatibility for deprecated TUI plugin APIs.

OpenCode v1.14.45: Provider Config & Session Migration Fixes

TL;DR

  • Provider configs now accept models marked as active
  • Read tool permissions now apply correctly to worktree-relative paths
  • Desktop sessions with missing diff data load again
  • SDK error handling now preserves full response context

New

  • Backward compatibility for deprecated TUI pluginsapi.command API continues working while you migrate to api.keymap

Fixed

  • Provider model filtering — configs and API responses now correctly accept models marked as active
  • Read tool permissions — allowlists and denylists now match worktree-relative paths as intended
  • HTTP API query params — workspace-routed endpoints no longer reject valid directory and workspace parameters
  • TUI startup reporting — all failed bootstrap requests now reported, not just the first
  • Session opening crashes — no longer crashes when messages request fails
  • Migrated session loading — older sessions with missing diff file details and patches now load correctly
  • SDK error handlingthrowOnError: true now throws a real Error with server message and preserves response body in cause
  • Provider plugin isolation — plugins can no longer mutate shared provider model state

Breaking Changes

  • None

Update: npm install opencode@1.14.45 or check the full release notes.

Source: OpenCode