OpenCode v1.14.49: v2 API, DigitalOcean OAuth & Session Fixes
OpenCode v1.14.49 adds v2 API support, DigitalOcean OAuth integration, and fixes session history handling, prompt navigation, and desktop app behavior across core, TUI, and desktop components.
TL;DR
- v2 model and provider listing API now available
- DigitalOcean OAuth and Inference Router support added
- Session history and compaction behavior fixed; prompt handling improved
New
- v2 model and provider listing API — programmatic access to available models and providers
- DigitalOcean OAuth and Inference Router support — expand provider integrations for cloud deployments
- Auto-generated global opencode.jsonc — configuration file created automatically on first run
- Customize-opencode enabled by default — linked full schema for easier config discovery
- @mention autocomplete in prompts — faster context references
- Fenced Markdown code block parsing in diffs — better patch readability by default
- Pinned recent sessions and quick slots — faster session navigation in TUI
- Ctrl/Cmd+number project shortcuts — desktop app keyboard navigation
Fixed
- Keymap fallback priority and TUI config error clarity
- Model suggestions now restore for unloaded providers and missing models
- Permission rule order preserved during config merges
- Custom tool attachments no longer lost
- Recent turns kept after compaction instead of folded into summary
- Prompt cursor movement and mentions with wide characters
- Duplicate submits no longer create empty phantom sessions
- Compacted tail history preserved when forking sessions
- HTTP API returns proper busy-session errors
- Non-interactive
runexit behavior restored - Websearch provider label updates reactively
- Workspace switching flicker reduced
run --jsonoutput draining fixed- Prompt history and line navigation commands
- Server errors display more clearly in desktop app
- Desktop environment variables loaded via login shell
- Model variant selection remembered across session/project switches
- Next available project opens when closing current one
- Streamed Markdown no longer cut off
- Todo dock collapse state remembered
- AppStream metadata restored in Linux desktop builds
Breaking Changes
- None reported
Update: npm install -g opencode@latest or visit the release page for platform-specific downloads.
Source: OpenCode