---
title: "OpenCode v2.2.5 | Havoptic"
description: "OpenCode 2.2.5 makes it quicker to pick a worktree and base branch with new keyboard shortcuts, and you can now send a single quote with its comment straight from the popup without disturbing the rest..."
image: "https://dev.havoptic.com/og-image.jpg"
---

# OpenCode v2.2.5

OpenCode v2.2.5 was released on October 30, 2026.

## Summary

OpenCode 2.2.5 makes it quicker to pick a worktree and base branch with new keyboard shortcuts, and you can now send a single quote with its comment straight from the popup without disturbing the rest of your composer. There are also smarter error messages and a percentage-bas...

## Release Context

- This was the 208th OpenCode release of 2026 tracked by Havoptic.
- It shipped the same day as [OpenCode v2.2.4](https://dev.havoptic.com/r/opencode-2.2.4) (October 30, 2026).

### Shipped around the same time

Within 3 days of this release, other AI coding tools also shipped:

- [Amp 2026.11.02](https://dev.havoptic.com/r/amp-artifacts) (November 2, 2026)
- [Bolt 2026.11.02](https://dev.havoptic.com/r/bolt-2026-11-02) (November 2, 2026)
- [Claude Code v2.1.316](https://dev.havoptic.com/r/claude-code-2.1.316) (October 31, 2026)
- [Kiro CLI v2.37.1](https://dev.havoptic.com/r/kiro-2.37.1) (October 31, 2026)
- [Antigravity CLI v1.4.12](https://dev.havoptic.com/r/antigravity-cli-1.4.12) (October 30, 2026)

### Compare OpenCode

- [OpenCode vs Claude Code](https://dev.havoptic.com/compare/claude-code-vs-opencode)
- [OpenCode vs OpenAI Codex CLI](https://dev.havoptic.com/compare/openai-codex-vs-opencode)
- [OpenCode vs Cursor](https://dev.havoptic.com/compare/cursor-vs-opencode)
- [OpenCode vs Gemini CLI](https://dev.havoptic.com/compare/gemini-cli-vs-opencode)
- [OpenCode vs Kiro CLI](https://dev.havoptic.com/compare/kiro-vs-opencode)
- [OpenCode vs GitHub Copilot CLI](https://dev.havoptic.com/compare/github-copilot-vs-opencode)
- [OpenCode vs Devin Desktop](https://dev.havoptic.com/compare/opencode-vs-windsurf)
- [OpenCode vs Antigravity CLI](https://dev.havoptic.com/compare/antigravity-cli-vs-opencode)
- [OpenCode vs Grok Build](https://dev.havoptic.com/compare/grok-build-vs-opencode)
- [OpenCode vs Cline](https://dev.havoptic.com/compare/cline-vs-opencode)
- [OpenCode vs Zed](https://dev.havoptic.com/compare/opencode-vs-zed)
- [OpenCode vs Factory Droid](https://dev.havoptic.com/compare/factory-droid-vs-opencode)
- [OpenCode vs Devin](https://dev.havoptic.com/compare/devin-vs-opencode)
- [OpenCode vs Lovable](https://dev.havoptic.com/compare/lovable-vs-opencode)
- [OpenCode vs Amp](https://dev.havoptic.com/compare/amp-vs-opencode)
- [OpenCode vs GitHub Copilot in VS Code](https://dev.havoptic.com/compare/copilot-vscode-vs-opencode)
- [OpenCode vs Replit Agent](https://dev.havoptic.com/compare/opencode-vs-replit-agent)
- [OpenCode vs Bolt](https://dev.havoptic.com/compare/bolt-vs-opencode)
- [OpenCode vs v0](https://dev.havoptic.com/compare/opencode-vs-v0)

## Release Notes

Highlights - Worktree and Shell Mode Shortcuts: Press ⌘⌥O on macOS or Ctrl+Alt+O on Windows and Linux to choose a worktree, and ⌘⌥B or Ctrl+Alt+B to choose its base branch. ⌘⇧X or Ctrl+Shift+X now toggles shell mode in the composer. (60713) - Send Quotes From the Comment Popup: Hold ⌘ or Ctrl in the quote popup to turn its checkmark into send, or press ⌘Enter or Ctrl+Enter, to send just that quote and comment while leaving the rest of the composer untouched. (60640) - Percentage Compaction Buffer: Set "compaction": { "buffer": "20%" } in opencode.json to keep a share of each model's context window free, so one setting fits models with small and large windows. Token counts still work. (60647) Core Improvements - compaction.buffer accepts a percentage of the model's context window, such as "20%", in addition to a token count. (60647) - When read misses because a folder is missing, the error names that folder and the nearest one that exists. (60688) - When edit can't find oldString, the error shows the file's closest lines, or says the change is already there. (60689) - Calls to a tool named bash now run as shell instead of failing, with the same permissions. A plugin tool actually named bash still takes precedence. (60687) Bug fixes - MCP servers that send stdio messages larger than 10 MiB no longer get disconnected, and large messages are read much faster. (60694) - Idle locations no longer restart their MCP servers right after shutting down. (60668) - Compaction now caps its prompt at the model's context window when the input limit is larger. (60660) - LiteLLM context window errors now trigger compaction instead of stopping the session. (60692) - Reasoning is no longer turned into plain text when you switch models or resume an interrupted response, which caused request errors on some providers. (60498) TUI Bug fixes - The connect menu no longer lists MCP servers, which are managed in their own place. (60675) Desktop Improvements - Added keyboard shortcuts to choose a worktree and its base branch, shown in tooltips, and a shortcut to toggle shell mode. The worktree path can be selected to copy the full directory. (60713) - Hold ⌘ or Ctrl in the quote popup to send a quote and its comment directly. (60640) - Added flat input surfaces and a compact input size. (60598) Bug fixes - The connect menu no longer lists MCP servers. (60675) - Added the missing top inset to the search field in the recently closed menu. (60652)

[View original release](https://github.com/anomalyco/opencode/releases/tag/v2.2.5)

## Other Recent OpenCode Releases

- [v2.4.2](https://dev.havoptic.com/r/opencode-2.4.2) (November 26, 2026)
- [v2.4.1](https://dev.havoptic.com/r/opencode-2.4.1) (November 23, 2026)
- [v2.4.0](https://dev.havoptic.com/r/opencode-2.4.0) (November 23, 2026)
- [v2.3.2](https://dev.havoptic.com/r/opencode-2.3.2) (November 18, 2026)
- [v2.3.1](https://dev.havoptic.com/r/opencode-2.3.1) (November 18, 2026)

Upgrading from v2.2.5? [See all 9 releases since](https://dev.havoptic.com/r/opencode/diff?from=2.2.5&to=latest).

[All OpenCode releases](https://dev.havoptic.com/tools/opencode) · [All AI coding tool releases on Havoptic](https://dev.havoptic.com/)

```json
{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "name": "Havoptic",
  "alternateName": "Havoptic AI Tool Releases",
  "url": "https://www.havoptic.com/",
  "description": "Havoptic tracks every release of 20 AI coding tools, from Claude Code and Codex CLI to Cursor and Copilot CLI, and explains each one in plain English within hours of shipping.",
  "publisher": {
    "@type": "Organization",
    "name": "Havoptic",
    "url": "https://www.havoptic.com/"
  },
  "potentialAction": {
    "@type": "SearchAction",
    "target": "https://www.havoptic.com/?q={search_term_string}",
    "query-input": "required name=search_term_string"
  }
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "SoftwareApplication",
  "name": "Havoptic",
  "applicationCategory": "DeveloperApplication",
  "operatingSystem": "Web",
  "offers": {
    "@type": "Offer",
    "price": "0",
    "priceCurrency": "USD"
  },
  "description": "Havoptic tracks every release of 20 AI coding tools, from Claude Code and Codex CLI to Cursor and Copilot CLI, and explains each one in plain English within hours of shipping."
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "@id": "https://www.havoptic.com/#organization",
  "name": "Havoptic",
  "url": "https://www.havoptic.com/",
  "logo": {
    "@type": "ImageObject",
    "url": "https://www.havoptic.com/og-image.jpg",
    "width": 1200,
    "height": 630
  },
  "description": "Release tracking, plain-English release notes and side-by-side comparisons for AI coding tools, updated hourly.",
  "foundingDate": "2025",
  "sameAs": [
    "https://github.com/scotthavird/havoptic.com",
    "https://x.com/havoptic"
  ],
  "founder": {
    "@id": "https://www.havoptic.com/authors/scott-havird#person"
  }
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "DataCatalog",
  "@id": "https://www.havoptic.com/#data-catalog",
  "name": "Havoptic AI Coding Tool Release Data",
  "description": "Every release of 20 AI coding tools, dated and explained in plain English within hours of shipping, plus feature comparison matrices, free to query through an API, an MCP server, feeds and a CLI. Covers Claude Code, OpenAI Codex CLI, Cursor, Gemini CLI, Kiro, GitHub Copilot CLI, Devin Desktop, Antigravity CLI, Grok Build, Cline, OpenCode, Zed, Factory Droid, Devin (cloud agent), Lovable, Amp, GitHub Copilot in VS Code, Replit Agent, Bolt, and v0.",
  "url": "https://www.havoptic.com/api-docs",
  "publisher": {
    "@type": "Organization",
    "name": "Havoptic",
    "url": "https://www.havoptic.com/"
  },
  "dataset": [
    {
      "@type": "Dataset",
      "@id": "https://www.havoptic.com/data/releases.json",
      "name": "AI Coding Tool Releases",
      "description": "Complete release history for Claude Code, OpenAI Codex CLI, Cursor, Gemini CLI, Kiro, GitHub Copilot CLI, Devin Desktop, Antigravity CLI, Grok Build, Cline, OpenCode, Zed, Factory Droid, Devin (cloud agent), Lovable, Amp, GitHub Copilot in VS Code, Replit Agent, Bolt, and v0 — including version numbers, release dates, plain-English summaries, and full changelogs. Updated hourly.",
      "url": "https://www.havoptic.com/data/releases.json",
      "distribution": {
        "@type": "DataDownload",
        "encodingFormat": "application/json",
        "contentUrl": "https://www.havoptic.com/data/releases.json"
      },
      "temporalCoverage": "2025/..",
      "creator": {
        "@id": "https://www.havoptic.com/#organization"
      },
      "maintainer": {
        "@type": "Organization",
        "name": "Havoptic",
        "url": "https://www.havoptic.com/"
      },
      "isAccessibleForFree": true,
      "license": "https://creativecommons.org/licenses/by/4.0/",
      "keywords": [
        "Claude Code",
        "OpenAI Codex CLI",
        "Cursor",
        "Gemini CLI",
        "Kiro",
        "GitHub Copilot CLI",
        "Devin Desktop",
        "Windsurf",
        "Antigravity CLI",
        "Grok Build",
        "Cline",
        "OpenCode",
        "Zed",
        "Factory Droid",
        "Devin (cloud agent)",
        "Lovable",
        "Amp",
        "GitHub Copilot in VS Code",
        "Replit Agent",
        "Bolt",
        "v0",
        "AI coding tools",
        "release history",
        "changelogs"
      ]
    },
    {
      "@type": "Dataset",
      "@id": "https://www.havoptic.com/data/feature-matrix.json",
      "name": "AI Coding Tool Feature Matrix",
      "description": "Side-by-side feature comparison data for 20 AI coding tools across categories: Core Editing, Terminal Integration, MCP Support, IDE Integrations, and Agentic Features.",
      "url": "https://www.havoptic.com/data/feature-matrix.json",
      "distribution": {
        "@type": "DataDownload",
        "encodingFormat": "application/json",
        "contentUrl": "https://www.havoptic.com/data/feature-matrix.json"
      },
      "creator": {
        "@id": "https://www.havoptic.com/#organization"
      },
      "maintainer": {
        "@type": "Organization",
        "name": "Havoptic",
        "url": "https://www.havoptic.com/"
      },
      "isAccessibleForFree": true,
      "license": "https://creativecommons.org/licenses/by/4.0/",
      "keywords": [
        "AI coding tools",
        "feature comparison",
        "Claude Code",
        "Cursor",
        "GitHub Copilot",
        "Gemini CLI",
        "Devin Desktop",
        "Windsurf"
      ]
    }
  ]
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "BreadcrumbList",
  "itemListElement": [
    {
      "@type": "ListItem",
      "position": 1,
      "name": "Home",
      "item": "https://dev.havoptic.com"
    },
    {
      "@type": "ListItem",
      "position": 2,
      "name": "OpenCode",
      "item": "https://dev.havoptic.com/tools/opencode"
    },
    {
      "@type": "ListItem",
      "position": 3,
      "name": "v2.2.5",
      "item": "https://dev.havoptic.com/r/opencode-2.2.5"
    }
  ]
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "TechArticle",
  "headline": "OpenCode v2.2.5",
  "datePublished": "2026-10-30T23:17:23.000Z",
  "dateModified": "2026-10-30T23:17:23.000Z",
  "url": "https://dev.havoptic.com/r/opencode-2.2.5",
  "image": "https://dev.havoptic.com/og-image.jpg",
  "description": "OpenCode 2.2.5 makes it quicker to pick a worktree and base branch with new keyboard shortcuts, and you can now send a single quote with its comment straight from the popup without disturbing the rest...",
  "isBasedOn": "https://github.com/anomalyco/opencode/releases/tag/v2.2.5",
  "about": {
    "@type": "SoftwareApplication",
    "name": "OpenCode",
    "softwareVersion": "2.2.5",
    "applicationCategory": "DeveloperApplication",
    "url": "https://github.com/anomalyco/opencode/releases/tag/v2.2.5",
    "releaseNotes": "Highlights - Worktree and Shell Mode Shortcuts: Press ⌘⌥O on macOS or Ctrl+Alt+O on Windows and Linux to choose a worktree, and ⌘⌥B or Ctrl+Alt+B to choose its base branch. ⌘⇧X or Ctrl+Shift+X now toggles shell mode in the composer. (60713) - Send Quotes From the Comment Popup: Hold ⌘ or Ctrl in the quote popup to turn its checkmark into send, or press ⌘Enter or Ctrl+Enter, to send just that quote and comment while leaving the rest of the composer untouched. (60640) - Percentage Compaction Buffer: Set \"compaction\": { \"buffer\": \"20%\" } in opencode.json to keep a share of each model's context window free, so one setting fits models with small and large windows. Token counts still work. (60647) Core Improvements - compaction.buffer accepts a percentage of the model's context window, such as \"20%\", in addition to a token count. (60647) - When read misses because a folder is missing, the error names that folder and the nearest one that exists. (60688) - When edit can't find oldString, the error shows the file's closest lines, or says the change is already there. (60689) - Calls to a tool named bash now run as shell instead of failing, with the same permissions. A plugin tool actually named bash still takes precedence. (60687) Bug fixes - MCP servers that send stdio messages larger than 10 MiB no longer get disconnected, and large messages are read much faster. (60694) - Idle locations no longer restart their MCP servers right after shutting down. (60668) - Compaction now caps its prompt at the model's context window when the input limit is larger. (60660) - LiteLLM context window errors now trigger compaction instead of stopping the session. (60692) - Reasoning is no longer turned into plain text when you switch models or resume an interrupted response, which caused request errors on some providers. (60498) TUI Bug fixes - The connect menu no longer lists MCP servers, which are managed in their own place. (60675) Desktop Improvements - Added keyboard shortcuts to choose "
  },
  "articleBody": "Highlights - Worktree and Shell Mode Shortcuts: Press ⌘⌥O on macOS or Ctrl+Alt+O on Windows and Linux to choose a worktree, and ⌘⌥B or Ctrl+Alt+B to choose its base branch. ⌘⇧X or Ctrl+Shift+X now toggles shell mode in the composer. (60713) - Send Quotes From the Comment Popup: Hold ⌘ or Ctrl in the quote popup to turn its checkmark into send, or press ⌘Enter or Ctrl+Enter, to send just that quote and comment while leaving the rest of the composer untouched. (60640) - Percentage Compaction Buffer: Set \"compaction\": { \"buffer\": \"20%\" } in opencode.json to keep a share of each model's context window free, so one setting fits models with small and large windows. Token counts still work. (60647) Core Improvements - compaction.buffer accepts a percentage of the model's context window, such as \"20%\", in addition to a token count. (60647) - When read misses because a folder is missing, the error names that folder and the nearest one that exists. (60688) - When edit can't find oldString, the error shows the file's closest lines, or says the change is already there. (60689) - Calls to a tool named bash now run as shell instead of failing, with the same permissions. A plugin tool actually named bash still takes precedence. (60687) Bug fixes - MCP servers that send stdio messages larger than 10 MiB no longer get disconnected, and large messages are read much faster. (60694) - Idle locations no longer restart their MCP servers right after shutting down. (60668) - Compaction now caps its prompt at the model's context window when the input limit is larger. (60660) - LiteLLM context window errors now trigger compaction instead of stopping the session. (60692) - Reasoning is no longer turned into plain text when you switch models or resume an interrupted response, which caused request errors on some providers. (60498) TUI Bug fixes - The connect menu no longer lists MCP servers, which are managed in their own place. (60675) Desktop Improvements - Added keyboard shortcuts to choose a worktree and its base branch, shown in tooltips, and a shortcut to toggle shell mode. The worktree path can be selected to copy the full directory. (60713) - Hold ⌘ or Ctrl in the quote popup to send a quote and its comment directly. (60640) - Added flat input surfaces and a compact input size. (60598) Bug fixes - The connect menu no longer lists MCP servers. (60675) - Added the missing top inset to the search field in the recently closed menu. (60652)",
  "author": {
    "@id": "https://dev.havoptic.com/#organization"
  },
  "publisher": {
    "@id": "https://dev.havoptic.com/#organization"
  },
  "mainEntityOfPage": {
    "@type": "WebPage",
    "@id": "https://dev.havoptic.com/r/opencode-2.2.5"
  },
  "speakable": {
    "@type": "SpeakableSpecification",
    "cssSelector": [
      "h1",
      "#ssr-content p"
    ]
  }
}
```
