v2.1.3
Highlights
Bun 1.4.4 Security Fixes
OpenCode now runs on Bun 1.4.4, which includes security fixes for Brotli, TLS, HTTP/3, WebSocket, and more, along with updated root certificates. (#58087)
Faster Code Display
Code blocks, file views, and review diffs in Desktop now use Pierre Highlights, reducing highlighting time and memory use for large files and diffs. (#57937)
Discover and Start Voice Models
SDK clients can call
client.voice.models()to find available experimental voice models and supported transports. Connected OpenCode Console workspaces can also host GPT-Live sessions throughclient.voice.session(). (#57194, #57735)
Core
Improvements
- Upgraded the bundled Bun runtime to 1.4.4, which includes security fixes for Brotli, TLS, HTTP/1.1, HTTP/2, HTTP/3, WebSocket, and
fetch, and updates root certificates to NSS 3.131.1. (#58087) - Generated session titles now use the lowest suitable model variant and more focused naming instructions. (#51939, #57648)
- Windows managed services now use port
28894, avoiding ranges reserved by Windows and WSL mirrored networking. (#57428)
Bug fixes
- Custom provider
baseURLsettings now override catalog model endpoints as expected. Thanks @Tarquinen and @bercedev. (#57810) - Compaction summaries can use the same model output limit as normal responses, preventing incomplete summaries. (#57564)
- Legacy
apply_patchpermissions now migrate to theeditpermission. (#57900) - V1 sessions with relative working directories now migrate using their project worktree. Thanks @MohammadAlMasalmeh. (#57618)
- Unsupported legacy agent colors no longer prevent agents from loading. Thanks @4sDriven. (#57910)
TUI
Bug fixes
- The TUI no longer crashes when file watchers are unavailable or system watch limits are exhausted. Thanks @ANSHSINGH050404. (#51536)
Desktop
Improvements
- Code blocks, streaming output, file views, and review diffs now use Pierre Highlights for faster highlighting and lower memory use on large inputs. (#57937)
Bug fixes
SDK
Improvements
- Added
client.voice.models()to list experimental voice models, availability, and supported WebRTC or WebSocket transports. (#57194) - Voice sessions can now use GPT-Live hosted by a connected OpenCode Console workspace. Hosted sessions expose an ID and support instruction updates through
client.voice.instructions(). (#57735)
Extensions
Bug fixes
- MCP results now keep supported media inline, decode textual resources, and save unsupported binary resources to files instead of creating invalid model attachments. (#57640)
- Updates to MCP instructions, skills, and project references now send only changed entries instead of repeating the full list. (#57626)