OpenCode v1.1.19: Plan Mode & GitLab Duo Support

Plan mode, GitLab Duo support, and critical memory leak fixes in OpenCode v1.1.19. Desktop IME handling and Ask Question tool now available.

OpenCode v1.1.19: Plan Mode & GitLab Duo Support

TL;DR

  • Plan mode with enter/exit tools now available
  • GitLab Duo Agentic Chat provider support added
  • Memory leak fixes in MCP client and state management
  • Desktop IME input handling and Ask Question tool support

New

  • Plan mode — Enter and exit tools for structured agent planning workflows
  • GitLab Duo Agentic Chat provider — Native support for GitLab's agentic chat capabilities
  • Ask Question tool (desktop) — Desktop app now supports the Ask Question tool for agent interactions
  • GPT 5.2 Codex family — Added to Codex plugin for expanded model support

Fixed

  • MCP client resource leaks — Close existing client before reassignment to prevent memory leaks
  • State disposal — Delete key from recordsByKey on instance disposal to prevent dangling references
  • Desktop IME input — Handle Shift+Enter before IME check to prevent stuck prompt input state
  • MCP auth CLI — Fix duplicate radio button icon in authentication interface
  • Webfetch User-Agent — Update to latest Chrome version for better compatibility
  • Provider icon rendering — Revert provider icon on select model dialog in desktop app
  • External directory display — Improve working directory rendering in TUI for external directory and Bash tool invocations

Improvements

  • Explore agent prompt — Enhanced prompt for better exploration behavior
  • Agent validation — Prevent agents from asking questions without custom context
  • Provider tests — Add plugin mocks to improve test coverage

Update with: npm install opencode@1.1.19 or check the release page for your platform.

Source: OpenCode