OpenCode v1.1.26: Batch Limits, Copilot Fixes & Desktop Polish

Batch limits doubled, Copilot integration overhauled with GPT-5+ routing and reasoning fixes, desktop UI polished with session layout improvements and keybind display. 39 community contributors shipped this release.

OpenCode v1.1.26: Batch Limits, Copilot Fixes & Desktop Polish

TL;DR

  • Batch tool limit doubled from 10 to 25 for more complex workflows
  • Copilot integration overhauled: GPT-5+ auto-routes to Responses API, reasoning tracking fixed
  • Desktop UI refinements: session layout improvements, keybind display, search modal polish
  • 39 community contributors shipped fixes across TUI, desktop, and core tooling

New

  • Batch tool limit increased to 25 — doubled from 10, lets you chain more tools in a single batch operation
  • Command execute before hook — run logic before command execution for custom workflows
  • Apply patch tool for OpenAI models — brings patch functionality to OpenAI-powered agents
  • Vim-style line scrolling — scroll up/down line-by-line with vim keybindings
  • Session unshare button in desktop — revoke session sharing without leaving the app
  • Mouse support for permission buttons in TUI — click to approve/deny instead of keyboard-only
  • Question header and label limits increased — handle longer prompts and metadata

Fixed

  • Copilot GPT-5+ routing — models GPT-5 and above now auto-route to Responses API for better compatibility
  • Copilot reasoning tracking — fixed output_index tracking for proper reasoning chain support
  • Copilot model variants — added proper variant support and fixed incorrect Grok model mappings
  • Cargo fmt workspace formatting — now formats only edited files instead of entire workspace
  • uv formatter config naming — renamed from 'uv format' to 'uv' for consistency
  • Java language server on Windows — fixed jdtls download failures
  • mDNS hostname discovery — resolved hostname resolution issues
  • OSC 52 clipboard for SSH — centralized clipboard support for remote sessions
  • Model persistence in ACP sessions — restores selected model/agent when loading saved sessions
  • File attachment metadata in replay — preserves metadata during session replay
  • Windows text evaluation on copy — fixed unwanted text evaluation when copying
  • Input mode detection — prevents unwanted mouse events when using keyboard navigation
  • Home/End keys in modal lists — now work correctly in menu list modal windows
  • Desktop session archiving — fixed flaky behavior in session archiving
  • Command palette dialog conflicts — won't open if another dialog is already active
  • GitLab AI provider — updated to version 1.3.2

Breaking Changes

  • uv formatter config key — if you have 'uv format' in your config, rename it to 'uv'
  • Todo tools omitted for OpenAI models — OpenAI-powered agents no longer receive todo tools by default

Update with: brew upgrade opencode or visit the release page for other package managers.

Source: OpenCode