OpenCode v1.2.11: Windows Support & Desktop Fixes
Windows path handling overhaul, desktop app improvements, and ACP bash streaming. Major fixes for cross-platform file operations and Cygwin support.
TL;DR
- Major Windows path handling overhaul — fixes cross-platform file operations and Cygwin support
- Desktop app improvements: reasoning summaries, better comment handling, custom scroll view
- ACP now streams bash output with synthetic pending events for better UX
New
- workspace-serve command — experimental new command for workspace serving
- Experimental sessions endpoint — list all active sessions via API
- ACP bash streaming — stream bash output and add synthetic pending events for live feedback
- Desktop reasoning summaries — show and hide reasoning summaries in the app
- Custom scroll view — new scroll implementation for better UX
- Feed customization — customize feed options in desktop app
- Beta icon — visual indicator for beta desktop releases
- GitHub Actions variant support — support variant parameter in GitHub Actions and OpenCode GitHub run command
Fixed
- Windows path canonicalization — normalize backslash paths, handle CRLF line endings, and fix plugin resolution on Windows
- Windows change detection — improved file change detection on Windows, especially Cygwin
- NTFS mtime precision — add 50ms tolerance for Windows FileTime assertions
- Windows preload cleanup — harden against EBUSY errors
- Desktop comment highlighting — lines no longer remain highlighted after canceling a comment
- Terminal issues — fixed terminal problems in the app
- Plugin dependency errors — missing plugin dependencies no longer cause TUI to black screen
- Todo list chevron — corrected inverted chevron direction
- Main thread lock — large text pasted into prompt input no longer locks main thread
- Turbo commands on Windows — scripts using Turbo commands now run on Windows
- IPv6 networking — resolved Windows E2E test failures due to IPv6 issues
Changed
- OpenTUI upgrade — upgraded to v0.1.81
- Bun upgrade — upgraded to 1.3.10 canary with forced baseline builds
- Platform binary caching — cache platform binary in postinstall for faster startup
- Desktop beta releases — publish to separate repository
- File tree tooltips — removed
- Sound effect UX — better disabling experience
- Auto-scroll behavior — stay pinned with auto-scroll on todos, questions, and permissions
- Sidecar arguments — bring back -i flag in desktop sidecar arguments
Update with: npm install opencode@latest or check the release page for platform-specific instructions.
Source: OpenCode