This release includes a data migration that will execute on first run. It will migrate all flat files in data directory to a single sqlite database. Depending on how much data you have and speed of computer this can take some time.
if anything goes wrong you can retrigger the migration by deleting ~/.local/share/opencode/opencode.db* files (%APPDATA% on windows)
If you have any issues with the migration the original data is not yet deleted and downgrading should work. But please open an issue so we can investigate and include sqlite in the issue title.
SDK Users
We now have a PartDelta event which sends only incremental changes to parts. This avoids sending the full content of text parts over and over when it is updated
PartDelta: BusEvent.define(
"message.part.delta",
z.object({
sessionID: z.string(),
messageID: z.string(),
partID: z.string(),
field: z.string(),
delta: z.string(),
}),
)Core
- Revert to SQLite database implementation
- Move timeout configuration from programmatic API to CLI flag (@yanhao98)
- Update AI SDK packages and use adaptive reasoning for Claude Opus 4.6 on Vertex, Bedrock, and Anthropic
TUI
- Prevent crash when tool inputs are malformed during opencode run (@0xK3vin)
- Add --dir option to run command (@BlankParticle)
Desktop
- Fix Rust compilation issues in desktop application (@Brendonovich)
- Remove OPENCODE_SQLITE environment variable from desktop (@Brendonovich)
- Terminal resize handling fixed in app
- Use prompt_async endpoint to avoid timeout over VPN/tunnel (@eytans)
- Remount SDK and sync tree when server URL changes (@ysm-dev)
- Sync docs locale cookie on alias redirects (@Seungjun0906)
- Performance optimization for showing large diffs and files in desktop (@neriousy)
Thank you to 12 community contributors:
- @BlankParticle:
- feat(cli): add --dir option to run command (#12443)
- @neriousy:
- fix(desktop): performance optimization for showing large diff & files (#13460)
- @Seungjun0906:
- @ysm-dev:
- fix(app): remount SDK/sync tree when server URL changes (#13437)
- @Annopick:
- docs: Fix zh-cn translation mistake in tools.mdx (#13407)
- @eytans:
- fix(web): use prompt_async endpoint to avoid timeout over VPN/tunnel (#12749)
- @G36maid:
- docs: add pacman installation option for Arch Linux alongside AUR (#13293)
- @yanhao98:
- fix(test): move timeout config to CLI flag (#13494)
- @niushuai1991:
- fix: standardize zh-CN docs character set and terminology (#13500)
- @kitlangton:
- fix(ui): support cmd-click links in inline code (#12552)
- @0xK3vin:
- fix: prevent opencode run crash on malformed tool inputs (#13051)
- @Brendonovich:
- desktop: remote OPENCODE_SQLITE env (#13545)
- desktop: fix rust