OpenCode v1.1.57: Context & Desktop Fixes
OpenCode v1.1.57 brings context overflow fixes, desktop app improvements including WSL support, and SDK fixes for non-ASCII paths.
TL;DR
- Better context overflow handling and token buffer management for more reliable compaction
- Desktop app fixes: terminal copy/paste, Windows resolution, WSL backend mode
- SDK fix for non-ASCII directory paths in HTTP headers
New
- WSL backend mode for desktop — Windows Subsystem for Linux support now available in the desktop app
- Enhanced Windows app resolution and UI loading states — Better visual feedback and display handling on Windows
- Improved /review prompt — More explicit behavior change detection
Fixed
- Terminal copy/paste functionality — Desktop app copy/paste now works reliably
- Copy path button styles — Fixed styling in the app UI
- Context overflow handling — Added reserve token buffer to prevent input window compaction failures
- Amazon Bedrock credentials check — Now includes container credentials for better AWS integration
- Non-ASCII directory paths in SDK — v1 SDK HTTP headers now properly encode non-ASCII paths
- Desktop app server spawn resilience — More reliable server startup
- Wayland preference handling — Desktop app now correctly reads Wayland preference from store
Improvements
- Logging in desktop application — Now uses tracing for better observability
- Default session sidebar — TUI now defaults to auto mode
Update with: npm install opencode@1.1.57 or check the release page for your platform.
Source: OpenCode