OpenCode v1.3.0: GitLab Agent & Git-Backed Review

OpenCode v1.3.0 brings GitLab Agent Platform support, git-backed session review, multistep auth, and Node.js runtime. Plus 40+ fixes across desktop, terminal, and provider integrations.

OpenCode v1.3.0: GitLab Agent & Git-Backed Review

TL;DR

  • GitLab Agent Platform now fully supported with automatic workflow model discovery
  • Git-backed session review lets you diff uncommitted changes directly in the app
  • Removed Anthropic OAuth plugin — check the migration guide if you're using it

New

  • GitLab Agent Platform — Automatic discovery of workflow models from your GitLab instance with WebSocket support for local tools (file read/write, shell, etc.)
  • Git-Backed Session Review — Review uncommitted changes and branch diffs directly in opencode; git changes are now the default review source
  • Multistep Authentication — TUI and Desktop now support multistep auth flows, enabling GitHub Copilot for Enterprise and similar providers
  • Interactive Update Flow — Major and minor updates show a confirmation dialog; skip specific versions if you prefer to stay on your current release
  • Node.js Support — opencode now runs on Node.js in addition to Bun, with dedicated entry point and bundled database migrations
  • Project Navigation Shortcuts — Navigate between projects faster with cmd+option+arrow keys on Desktop
  • File Upload Improvements — Desktop app now supports file type filters and multiple file selection

Fixed

  • Workspace Switching — Eliminated visual flickering when switching between workspaces or projects
  • Sidebar Resize — Sidebar no longer closes when resized to minimum width; now clamps properly
  • Terminal Responsiveness — Terminals now properly reinitialize when server returns "not found" errors instead of becoming unresponsive
  • Terminal Rename — Fixed context menu terminal renaming that previously failed due to dropdown focus conflicts
  • Paste Operations — Paste now preserves raw byte data for proper handling of binary content and special characters
  • Duplicate Prompt Submits — Fixed issue where rapidly pressing Enter could submit prompts multiple times
  • Remote Server Switching — Fixed stale project data, broken terminal spawning, and incorrect sidebar display when switching between remote servers
  • Windows Command Execution — Fixed shim (.cmd/.bat) execution for upgrades, uninstalls, IDE installs, and LSP launches
  • Tool Discovery — npm-installed packages now properly found by including cache bin directory in PATH lookups
  • File Attachments — Fixed attachments being silently lost when reusing or forking prompts
  • Snapshot Revert — Fixed overlapping file changes applying wrong patch hash and hidden file ordering bug
  • Stale Credentials — Fixed server URL and email caching issues when logging into different servers
  • xAI Reasoning Models — Improved performance in long multi-turn conversations by switching to responses API with encrypted content support
  • Vertex AI Models — Fixed errors with non-thinking models by only applying thinking configuration to models that support reasoning
  • vLLM Context Overflow — Improved error detection with clearer feedback when context limits are exceeded
  • Event Ordering — Real-time stream events now process sequentially for consistent and predictable display
  • Console Device Login — Fixed pending authorization state handling; login now continues polling instead of failing
  • Error Messages — Tool and session errors now display in clean, human-readable format
  • Theme Contrast — Improved UI contrast and reduced brightness of hover/active elements for better readability
  • System Prompt — Cleaner AI responses with streamlined fallback prompt that removes unnecessary boilerplate

Breaking Changes

  • Anthropic OAuth Plugin Removed — If you're using Anthropic OAuth, see the migration guide

Update via: npm install -g opencode@latest or brew upgrade opencode

Source: OpenCode