OpenCode v1.2.27: Session Fixes & Desktop Polish
OpenCode v1.2.27 fixes critical session loss bugs across worktrees, extends chunk timeouts, and polishes the desktop UI for better paste handling and file list display.
TL;DR
- Fixed lost sessions across worktrees and orphan branches
- Increased default chunk timeout from 2 to 5 minutes for stability
- Desktop UI improvements for multiline paste and long filenames
New
- Increased chunk timeout — Default timeout bumped from 2 to 5 minutes for more reliable processing of larger operations
Fixed
- Lost sessions across worktrees — Sessions no longer drop when switching between worktrees or dealing with orphan branches
- VCS watcher logic — Fixed if statement condition in version control system watcher
- Pending entry cleanup — Questions that are aborted now properly clean up pending entries
- PermissionNext and InstanceState bugs — Effectified PermissionNext and fixed ALS bug in InstanceState
- Multiline web paste — Prompt composer now handles multiline content pasted from web correctly
- Long filename overlap — UI actions no longer overlap with long filenames in file lists
- Compaction message tracking — Compaction messages now correctly tracked as agent-initiated
Changed
- Legacy permission module removed — Cleaned up deprecated permission handling code
- SIGHUP exit handler removed — Simplified signal handling
- Open label removed from UI — Streamlined desktop interface
- QuestionService refactored — Now uses effects for better state management
- ID schemas inlined — Branded ID schemas consolidated for cleaner architecture
Update with: npm install opencode@1.2.27 or check the release page for your platform.
Source: OpenCode