OpenCode v1.3.4: Effect Refactor & AI SDK v6
OpenCode v1.3.4 ships a major Effect-based refactor of core services, AI SDK v6 support, and UX improvements across TUI and Desktop. Startup performance improved.
TL;DR
- Major Effect-based architecture refactor across core services (Session, Config, Plugin, Skill)
- AI SDK v6 support added; improved startup performance and Windows build fixes
- TUI improvements: model variant selection dialog, theme color fixes; Desktop: mobile keyboard handling, file tree defaults
New
- Prompt slot feature — new capability for flexible prompt management
- AI SDK v6 support — compatibility with latest OpenAI SDK version
- TUI plugins support — extend functionality via terminal UI plugins
- Single target plugin entrypoints — streamlined plugin architecture
- Model variant selection dialog — UI dialog for choosing model variants instead of cycling
- GPT system prompt — dedicated prompt for non-Codex GPT models
Improved
- Effect-based architecture refactor — Session, Config, Plugin, and Skill services now use Effect for better composability and error handling
- App startup performance — optimized initialization and reduced startup time
- Bash tool caching — adjusted descriptions to increase cache hit rates between projects
- Windows web UI bundle build — fixed build issues on Windows platform
- Mobile keyboard handling — layout viewport now resizes when mobile keyboard appears
- File tree defaults — closed by default with minimum width for cleaner UI
- Markdown streaming — reduced visual jank while responses stream in UI
- MCP transport handling — close connections on failure or timeout
Fixed
- Flaky plugin tests — removed unsupported mock.module in Bun test environment
- Nix embedded web-ui support — fixed semver build identifier handling
- GitLab auth — updated opencode-gitlab-auth to 2.0.1
Breaking Changes
- Workspace server and WorkspaceContext removed — routing architecture improved; verify custom workspace integrations
- Shell tool now defaults to collapsed state — adjust UI expectations if relying on expanded default
Update: npm install opencode@1.3.4 or check the release page for platform-specific downloads.
Source: OpenCode