OpenCode v1.2.7: Bun Migration & Provider Updates
OpenCode v1.2.7 ships a major Bun-to-Node.js migration, terminal fixes, Julia language server support, and Kilo as a native provider. 25 community contributors included.
TL;DR
- Major migration from Bun file APIs to Node.js Filesystem module across the codebase
- Terminal rendering and cross-talk issues fixed; desktop app stability improved
- New language server support (Julia), Kilo native provider, Gemini 3.1 medium reasoning
New
- Julia language server support — Added LSP support for Julia development
- Kilo as native provider — Kilo now available as a built-in AI provider option
- Gemini 3.1 medium reasoning — Support for medium reasoning mode with Google's latest model
- Plugin auth providers in login picker — Third-party auth providers now surface in the login UI
- sessionID and callID in shell.env hook — Plugin developers can now access session and call context in shell environment hooks
Fixed
- Terminal rendering and interaction — Resolved terminal display issues and cross-talk problems in the application
- Terminal disconnect and resync — Fixed terminal disconnection and resynchronization in desktop app
- Text files misclassified as binary — Corrected file type detection
- Token substitution in OPENCODE_CONFIG_CONTENT — Config token replacement now works correctly
- Crash in opencode run — Fixed crash and now displays errored tool calls in output
- File status path normalization — Paths now correctly relative to instance directory
- Clojure syntax highlighting — Fixed syntax highlighting for Clojure code
- GitHub action branch detection — Improved detection and 422 error handling
- Session list --max-count parameter — Now correctly limits displayed sessions
- OAuth credential invalidation — Credentials now properly invalidated when provider indicates they're invalid
- UI flashing on tab switch — Eliminated visual flashing when switching tabs in desktop app
- Sidecar health-check timeout — Avoided timeout on shell startup in desktop application
- PROMPT_TOO_LARGE error on GitHub context overflow — Now properly emitted when context exceeds limits
- Terraform-ls installation — Now uses HashiCorp releases API for reliable installation
- Desktop localhost URL detection — Fixed isLocal function for localhost URLs
- WSL sidecar window spawning — Fixed sidecar incorrectly spawning window on Windows
Breaking Changes
- WSL support temporarily disabled — WSL integration in desktop application is temporarily disabled pending further work
Update: npm install opencode@1.2.7 or check the release page for platform-specific downloads.
Source: OpenCode