v1.2.0
OpenCodeSummary
This release introduces a significant data migration to SQLite and enhances the SDK with incremental part updates via the PartDelta event. Several stability fixes were implemented across the TUI and Desktop applications, including improved handling for timeouts and large file rendering.
New Features
- Enabled SDK users to receive only incremental changes to parts via the new PartDelta event, avoiding repeated full content transmission.
- Added the --dir option to the run command in the TUI.
Bug Fixes
- Fixed a crash in the TUI when tool inputs were malformed during an opencode run.
- Fixed Rust compilation issues in the desktop application.
- Fixed terminal resize handling in the desktop application.
- Fixed potential timeouts over VPN/tunnel connections by using the prompt_async endpoint.
- Fixed the application to remount the SDK and sync the tree when the server URL changes.
- Fixed synchronization of the docs locale cookie on alias redirects.
Improvements
- Reverted to SQLite database implementation for core data storage.
- Moved timeout configuration from the programmatic API to a CLI flag.
- Updated AI SDK packages and implemented adaptive reasoning for Claude Opus 4.6 across Vertex, Bedrock, and Anthropic.
- Removed the OPENCODE_SQLITE environment variable from the desktop application.
- Applied performance optimization for showing large diffs and files in the desktop application.