---
title: "Claude Code v2.1.305 | Havoptic"
description: "Claude Code 2.1.305 is out: tool search now retries cleanly on Vertex, Bedrock and gateways, worktrees start from the right branch, and screen reader mode finally reads search boxes correctly. Some ch..."
image: "https://dev.havoptic.com/og-image.jpg"
---

# Claude Code v2.1.305

Claude Code v2.1.305 was released on October 20, 2026.

## Summary

Claude Code 2.1.305 is out: tool search now retries cleanly on Vertex, Bedrock and gateways, worktrees start from the right branch, and screen reader mode finally reads search boxes correctly. Some changes need a second look, too.

## Release Context

- This was the 247th Claude Code release of 2026 tracked by Havoptic.
- It shipped 1 day after [Claude Code v2.1.304](https://dev.havoptic.com/r/claude-code-2.1.304) (October 19, 2026).

### Shipped around the same time

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

- [Grok Build v1.0.70](https://dev.havoptic.com/r/grok-build-1.0.70) (October 23, 2026)
- [Zed v1.25.3](https://dev.havoptic.com/r/zed-1.25.3) (October 23, 2026)
- [OpenAI Codex CLI rust-v0.164.0](https://dev.havoptic.com/r/openai-codex-rust-v0.164.0) (October 23, 2026)
- [Antigravity CLI v1.4.6](https://dev.havoptic.com/r/antigravity-cli-1.4.6) (October 23, 2026)
- [Grok Build v1.0.69](https://dev.havoptic.com/r/grok-build-1.0.69) (October 23, 2026)

### Compare Claude Code

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

## Release Notes

- Added sandbox.allowNestedUserNamespaces so sandboxed commands on Linux can create user namespaces (Chromium, rootless podman); this lets them get around the sandbox's file protections
- Added CLAUDECODERETRYWATCHDOGUSAGELIMITRECHECKMS so unattended retry mode (CLAUDECODERETRYWATCHDOG) notices a usage limit that was lifted before its reset
- Fixed every request failing on Vertex, Bedrock and other providers when the endpoint or a gateway rejects tool search, and behind gateways with ToolSearch disallowed or left out of --tools (a 2.1.304 regression): Claude Code now retries without it
- Fixed /effort and /autocompact settings not applying when the model name differed from a modelOverrides value by letter case or a [1m] tag
- Fixed new worktrees in a bare repository sometimes starting from local HEAD instead of the default branch, and unchanged subagent worktrees sometimes not being cleaned up
- Fixed Bash commands on a full disk failing with a raw ENOSPC file path: the error now says the disk is full and that nothing ran
- Fixed an MCP server passed by a cloud session or by the SDK's setMcpServers being replaced later in the session by a same-named server from your own settings
- Fixed Claude naming the wrong model for a subagent's work after the subagent switched to a fallback model
- Fixed cloud sessions and teammates not telling Claude when a compaction had to leave the oldest messages out of its summary to fit
- Fixed more cases of scheduled Cowork cloud sessions waiting five minutes for each subagent whose WebFetch needed a URL approval that nobody was there to give
- Fixed Workflow resume re-running already-completed pipeline() and parallel() agents instead of serving them from the run's journal
- Fixed Remote Control leaving empty "(session)" entries in /resume after switching conversations with /resume
- Fixed /usage rows being cut off in narrow terminals
- Fixed startup warnings printing as raw text above the logo: they now go to the debug log, and permission rules that restrict nothing show as warning rows under the banner
- Fixed screen reader mode: search boxes now say "Search:" instead of a symbol VoiceOver read as "telephone recorder", and highlighted prompt text, such as Ctrl+R search matches and "ultrathink", no longer has spaces inside words
- Self-hosted runner: Fixed a start script that shares only its stdout with the runner or orchestrator failing with Resource temporarily unavailable when TERM is set (a 2.1.300 regression)
- Self-hosted runner: Fixed repository access failing since 2.1.296 when a git credential helper or askpass program reads its settings through GITCONFIG
- Self-hosted runner: Fixed the orchestrator reporting a spawn-runner hook as timed out when a runner it started in the background kept its output open
- Improved /usage: each warning is now a one-line fix that names its source, and f applies the fixes; the same fixes appear in VS Code and /doctor
- Improved MCP consent dialogs so an Enter meant for the prompt is less likely to be taken as Accept
- Improved a mod's Image to draw its picture in iTerm2 3.5 and later with fullscreen rendering, where it showed only its alt text
- Remote Control: Improved the spawn-mode messages: pressing w now says the new mode is saved for the folder, and a later claude remote-control start that uses the saved mode says where it came from
- Changed allowedMcpServers to stop filtering managed-mcp.json stdio servers that use ${VAR} only in env: one your allowlist left out now loads on upgrade; use deniedMcpServers to keep it off
- Changed plugins that Claude Desktop mounts by path to no longer keep their allowed-tools when your organization's managed settings set allowManagedPermissionRulesOnly
- Changed the /artifacts delete confirmation to take 1 or Enter to keep, 2 to delete, and Esc to cancel; y and n no longer answer it
- Changed a mod's docked pane to stay within 45% of the terminal's width, including a width kept from a wider terminal
- [VSCode] Added a "Running start-up hooks" spinner status, with a screen reader announcement, while SessionStart or Setup hooks run
- [VSCode] Fixed the spinner cutting off "Compacting..." when your spinnerVerbs setting replaces the built-in verbs with short ones
- [VSCode] Changed the message shown when a session does not start in time and no hook is running: it now leads with the output logs and lists causes instead of pointing to sign-in and network first
- [Cloud sessions] Fixed the Cloud environments admin page wrongly refusing to save an existing environment with an "installs packages" error
- [Cloud sessions] Improved deleting a self-hosted environment so the dialog and error messages say what blocks the delete and what it will affect
- [Claude Tag] Added public Slack channels Claude hasn't joined to the Claude Tag admin Add place search, so admins can set one up from there
- [Claude Tag] Fixed Claude Tag access bundles so a repository that moved to another GitHub account can be added again
- [Claude Tag] Fixed a routine set up in a Slack DM thread no longer posting after another routine in that thread restarted the conversation; both now keep posting there
- [Claude Tag] Fixed routines set up in a Slack thread reporting success without posting after the conversation ended; those runs are now skipped and the creator is told
- [Claude Tag] Improved Claude Tag admin pages in large organizations so plugin, skill and bundle edits work while the channel list is still loading
- [Code Review] Fixed Code Review sometimes not reviewing the newest commit when several pushes landed on a pull request during a review
- [Code Review] Changed Code Review re-reviews so they no longer open with LGTM while earlier blocking findings are still open

[View original release](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#21305)

## Other Recent Claude Code Releases

- [v2.1.332](https://dev.havoptic.com/r/claude-code-2.1.332) (November 24, 2026)
- [v2.1.331](https://dev.havoptic.com/r/claude-code-2.1.331) (November 23, 2026)
- [v2.1.330](https://dev.havoptic.com/r/claude-code-2.1.330) (November 20, 2026)
- [v2.1.329](https://dev.havoptic.com/r/claude-code-2.1.329) (November 19, 2026)
- [v2.1.328](https://dev.havoptic.com/r/claude-code-2.1.328) (November 18, 2026)

Upgrading from v2.1.305? [See all 23 releases since](https://dev.havoptic.com/r/claude-code/diff?from=2.1.305&to=latest).

[All Claude Code releases](https://dev.havoptic.com/tools/claude-code) · [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": "Claude Code",
      "item": "https://dev.havoptic.com/tools/claude-code"
    },
    {
      "@type": "ListItem",
      "position": 3,
      "name": "v2.1.305",
      "item": "https://dev.havoptic.com/r/claude-code-2.1.305"
    }
  ]
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "TechArticle",
  "headline": "Claude Code v2.1.305",
  "datePublished": "2026-10-20T19:29:36.816Z",
  "dateModified": "2026-10-20T19:29:36.816Z",
  "url": "https://dev.havoptic.com/r/claude-code-2.1.305",
  "image": "https://dev.havoptic.com/og-image.jpg",
  "description": "Claude Code 2.1.305 is out: tool search now retries cleanly on Vertex, Bedrock and gateways, worktrees start from the right branch, and screen reader mode finally reads search boxes correctly. Some ch...",
  "isBasedOn": "https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#21305",
  "about": {
    "@type": "SoftwareApplication",
    "name": "Claude Code",
    "softwareVersion": "2.1.305",
    "applicationCategory": "DeveloperApplication",
    "url": "https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#21305",
    "releaseNotes": "- Added sandbox.allowNestedUserNamespaces so sandboxed commands on Linux can create user namespaces (Chromium, rootless podman); this lets them get around the sandbox's file protections - Added CLAUDECODERETRYWATCHDOGUSAGELIMITRECHECKMS so unattended retry mode (CLAUDECODERETRYWATCHDOG) notices a usage limit that was lifted before its reset - Fixed every request failing on Vertex, Bedrock and other providers when the endpoint or a gateway rejects tool search, and behind gateways with ToolSearch disallowed or left out of --tools (a 2.1.304 regression): Claude Code now retries without it - Fixed /effort and /autocompact settings not applying when the model name differed from a modelOverrides value by letter case or a [1m] tag - Fixed new worktrees in a bare repository sometimes starting from local HEAD instead of the default branch, and unchanged subagent worktrees sometimes not being cleaned up - Fixed Bash commands on a full disk failing with a raw ENOSPC file path: the error now says the disk is full and that nothing ran - Fixed an MCP server passed by a cloud session or by the SDK's setMcpServers being replaced later in the session by a same-named server from your own settings - Fixed Claude naming the wrong model for a subagent's work after the subagent switched to a fallback model - Fixed cloud sessions and teammates not telling Claude when a compaction had to leave the oldest messages out of its summary to fit - Fixed more cases of scheduled Cowork cloud sessions waiting five minutes for each subagent whose WebFetch needed a URL approval that nobody was there to give - Fixed Workflow resume re-running already-completed pipeline() and parallel() agents instead of serving them from the run's journal - Fixed Remote Control leaving empty \"(session)\" entries in /resume after switching conversations with /resume - Fixed /usage rows being cut off in narrow terminals - Fixed startup warnings printing as raw text above the logo: they now go to the debug log, and permiss"
  },
  "articleBody": "- Added sandbox.allowNestedUserNamespaces so sandboxed commands on Linux can create user namespaces (Chromium, rootless podman); this lets them get around the sandbox's file protections - Added CLAUDECODERETRYWATCHDOGUSAGELIMITRECHECKMS so unattended retry mode (CLAUDECODERETRYWATCHDOG) notices a usage limit that was lifted before its reset - Fixed every request failing on Vertex, Bedrock and other providers when the endpoint or a gateway rejects tool search, and behind gateways with ToolSearch disallowed or left out of --tools (a 2.1.304 regression): Claude Code now retries without it - Fixed /effort and /autocompact settings not applying when the model name differed from a modelOverrides value by letter case or a [1m] tag - Fixed new worktrees in a bare repository sometimes starting from local HEAD instead of the default branch, and unchanged subagent worktrees sometimes not being cleaned up - Fixed Bash commands on a full disk failing with a raw ENOSPC file path: the error now says the disk is full and that nothing ran - Fixed an MCP server passed by a cloud session or by the SDK's setMcpServers being replaced later in the session by a same-named server from your own settings - Fixed Claude naming the wrong model for a subagent's work after the subagent switched to a fallback model - Fixed cloud sessions and teammates not telling Claude when a compaction had to leave the oldest messages out of its summary to fit - Fixed more cases of scheduled Cowork cloud sessions waiting five minutes for each subagent whose WebFetch needed a URL approval that nobody was there to give - Fixed Workflow resume re-running already-completed pipeline() and parallel() agents instead of serving them from the run's journal - Fixed Remote Control leaving empty \"(session)\" entries in /resume after switching conversations with /resume - Fixed /usage rows being cut off in narrow terminals - Fixed startup warnings printing as raw text above the logo: they now go to the debug log, and permission rules that restrict nothing show as warning rows under the banner - Fixed screen reader mode: search boxes now say \"Search:\" instead of a symbol VoiceOver read as \"telephone recorder\", and highlighted prompt text, such as Ctrl+R search matches and \"ultrathink\", no longer has spaces inside words - Self-hosted runner: Fixed a start script that shares only its stdout with the runner or orchestrator failing with Resource temporarily unavailable when TERM is set (a 2.1.300 regression) - Self-hosted runner: Fixed repository access failing since 2.1.296 when a git credential helper or askpass program reads its settings through GITCONFIG - Self-hosted runner: Fixed the orchestrator reporting a spawn-runner hook as timed out when a runner it started in the background kept its output open - Improved /usage: each warning is now a one-line fix that names its source, and f applies the fixes; the same fixes appear in VS Code and /doctor - Improved MCP consent dialogs so an Enter meant for the prompt is less likely to be taken as Accept - Improved a mod's Image to draw its picture in iTerm2 3.5 and later with fullscreen rendering, where it showed only its alt text - Remote Control: Improved the spawn-mode messages: pressing w now says the new mode is saved for the folder, and a later claude remote-control start that uses the saved mode says where it came from - Changed allowedMcpServers to stop filtering managed-mcp.json stdio servers that use ${VAR} only in env: one your allowlist left out now loads on upgrade; use deniedMcpServers to keep it off - Changed plugins that Claude Desktop mounts by path to no longer keep their allowed-tools when your organization's managed settings set allowManagedPermissionRulesOnly - Changed the /artifacts delete confirmation to take 1 or Enter to keep, 2 to delete, and Esc to cancel; y and n no longer answer it - Changed a mod's docked pane to stay within 45% of the terminal's width, including a width kept from a wider terminal - [VSCode] Added a \"Running start-up hooks\" spinner status, with a screen reader announcement, while SessionStart or Setup hooks run - [VSCode] Fixed the spinner cutting off \"Compacting...\" when your spinnerVerbs setting replaces the built-in verbs with short ones - [VSCode] Changed the message shown when a session does not start in time and no hook is running: it now leads with the output logs and lists causes instead of pointing to sign-in and network first - [Cloud sessions] Fixed the Cloud environments admin page wrongly refusing to save an existing environment with an \"installs packages\" error - [Cloud sessions] Improved deleting a self-hosted environment so the dialog and error messages say what blocks the delete and what it will affect - [Claude Tag] Added public Slack channels Claude hasn't joined to the Claude Tag admin Add place search, so admins can set one up from there - [Claude Tag] Fixed Claude Tag access bundles so a repository that moved to another GitHub account can be added again - ",
  "author": {
    "@id": "https://dev.havoptic.com/#organization"
  },
  "publisher": {
    "@id": "https://dev.havoptic.com/#organization"
  },
  "mainEntityOfPage": {
    "@type": "WebPage",
    "@id": "https://dev.havoptic.com/r/claude-code-2.1.305"
  },
  "speakable": {
    "@type": "SpeakableSpecification",
    "cssSelector": [
      "h1",
      "#ssr-content p"
    ]
  }
}
```
