OpenCode v1.4.1: LSP & Permission Fixes

v1.4.1 fixes clangd project root detection in C/C++ workspaces, adds permission prompts for GitLab Duo Workflow, and corrects SDK types for the /providers endpoint.

OpenCode v1.4.1: LSP & Permission Fixes

TL;DR

  • Fixed clangd incorrectly choosing CMakeLists.txt or Makefile as project root in C/C++ workspaces
  • GitLab Duo Workflow tool calls now require permission prompts instead of auto-running
  • Terminal connections fixed for same-origin desktop/web setups; SDK types corrected for /providers endpoint

New

  • Permission prompts for GitLab Duo Workflow — Tool calls now require explicit approval instead of executing automatically, improving security and control
  • OpenCode Go subscribe prompt — Free tier users see upgrade prompts when usage limits are reached
  • Simplified provider labels — Model and provider pickers now display cleaner, more readable labels

Fixed

  • clangd project root detection — C and C++ workspaces no longer incorrectly use CMakeLists.txt or Makefile as the language server root
  • Terminal connections — Same-origin desktop and web app setups now maintain stable terminal connections
  • Session review and diff handling — Change lists and session reviews now handle inconsistently-shaped diff data correctly
  • SDK and OpenAPI types — Generated types for /providers endpoint and session shell responses are now accurate

Breaking Changes

  • Big Pickle model variants that aren't supported are now hidden from selection — verify your model selection if you were using unsupported variants

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

Source: OpenCode