OpenCode v1.1.20: Sidebar & Memory Leak Fixes
v1.1.20 brings sidebar fixes, memory leak patches, and new provider support. Desktop UI gets provider icons and Ask Question Tool support.
TL;DR
- Fixed "load more" button in desktop sidebar and plan mode outside git worktrees
- Memory leak fixes in TUI Footer component and MCP client reassignment
- SDK type definitions now include missing metadata() and ask() methods
New
- Provider icons in desktop UI — Visual indicators for connected providers in model selection dialogs
- GitLab Duo Agentic Chat support — New provider integration for GitLab users
- Built-in themes — Undertale and Deltarune themes added to theme options
- Connected providers in /connect dialog — Shows which providers are already linked when managing connections
- Ask Question Tool support — Desktop now supports the ask question tool
Fixed
- Desktop sidebar "load more" button — Button behavior now works correctly in sidebar
- Plan mode outside git worktrees — Plan mode now functions when not in a git worktree
- Duplicate system prompts — Codex OAuth sessions no longer receive duplicate system prompts
- Docker image tips — Updated references after SST rename
- TUI with server password — TUI now works when OPENCODE_SERVER_PASSWORD environment variable is set
- Memory leaks in Footer component — All timeouts now properly tracked to prevent memory accumulation
- MCP client leaks — Existing clients properly closed before reassignment
- File reference deduplication — Duplicate file references removed from sent prompts
- Shift+Enter input handling — Fixed stuck state when using Shift+Enter before IME check
- Health check endpoint — Corrected URL to /global/health
- User-Agent string — Updated to latest Chrome version in webfetch
SDK
- ToolContext type definitions — Added missing metadata() and ask() method definitions
Update with: npm install opencode@1.1.20 or check the release page for other installation methods.
Source: OpenCode