Claude Code 2.1.122

💡

`ANTHROPIC_BEDROCK_SERVICE_TIER` to choose Bedrock service tier, `/resume` accepts PR URLs across GitHub/GHE/GitLab/Bitbucket, `/mcp` surfaces connectors hidden by duplicate URLs, plus fixes for `/branch` rewound-timeline forks, structured-output 400s on Vertex/Bedrock, and image resizing on newer models.

🔗 Official announcement →

This article is a summary based on official documentation.

What changed

Claude Code 2.1.122 (April 28, 2026) — Bedrock users get a service-tier knob, /resume learns to recognize PR URLs from any major host, /mcp reveals connectors hidden behind manually-added duplicates, and a cluster of structured-output, image-resize, and /branch regressions are fixed.

New features

  • ANTHROPIC_BEDROCK_SERVICE_TIER

    Pick a Bedrock service tier per session, sent as the X-Amzn-Bedrock-Service-Tier header on every request:

    • default — Standard tier. On-demand pricing and latency
    • flex50% discount vs. Standard. May queue or throttle under capacity pressure. Suited to non-urgent batch and CI workloads
    • priority75% premium over Standard. Preferential queue treatment plus up to 25% better OTPS (output tokens per second) on supported models. Suited to time-sensitive workloads

    Lets the same Bedrock account split workloads by cost/latency tradeoff — nightly CI on flex, oncall sessions on priority, day-to-day on default.

  • PR URL → session in /resume

    Paste a PR URL into the /resume search box and Claude finds the session that created it. Supported hosts: GitHub, GitHub Enterprise, GitLab, Bitbucket.

  • /mcp reveals hidden claude.ai connectors

    When a manually-added MCP server has the same URL as a claude.ai connector, the connector used to be silently hidden. /mcp now shows the hidden connector with a hint to remove the duplicate.

  • Clearer /mcp post-OAuth message

    The message shown when an MCP server is still unauthorized after the browser sign-in flow is now clearer about what went wrong.

Improvements

  • OpenTelemetry numeric attributes — numeric attributes on api_request / api_error log events are now emitted as numbers, not strings.
  • New claude_code.at_mention event — emitted when an @-mention is resolved.

Notable fixes

Forks and rewound timelines

  • /branch forks failing on rewound timelines — fixed "tool_use ids were found without tool_result blocks" when the source session contained entries from rewound timelines.

Bedrock and Vertex AI

  • /model Effort hidden for Bedrock app inference profile ARNsoutput_config.effort now flows through to those ARNs.
  • output_config: Extra inputs are not permitted — fixed Vertex AI / Bedrock returning this error on session-title generation and other structured-output queries.
  • Vertex AI count_tokens 400 behind proxies — fixed the endpoint failing for users on proxy gateways.

Settings, hooks, and ToolSearch

  • Malformed hooks entry no longer invalidates the entire settings.json — paired with 2.1.121’s invalid-enum fix; settings file is now resilient to a single bad entry.
  • spinnerTipsOverride.excludeDefault — fixed not suppressing time-based spinner tips.
  • ToolSearch missing late-connecting MCP tools — fixed in nonblocking mode when servers connected after session start.

Bash mode and images

  • !exit / !quit in bash mode — fixed terminating the CLI; they now run as shell commands.
  • Image resizing to 2576px on newer models — fixed; images are resized to the correct 2000px maximum per side.

Remote control, voice, view state

  • Remote control idle status redrawing twice per second — fixed flooding tmux -CC control pipes, which could pause the terminal.
  • Voice mode + Caps Lock keybindings — terminals don’t deliver Caps Lock as a key event; bindings now show an error instead of silently failing.
  • Blank assistant messages — fixed messages appearing blank in some sessions due to a stale view preference.

Notes

  • ANTHROPIC_BEDROCK_SERVICE_TIER accepts default, flex, or priority. (Bedrock also exposes reserved via the underlying API, but only after a 1- or 3-month capacity-reservation contract.) However, as of April 2026, AWS Bedrock’s Claude model cards explicitly do not list Priority or Flex as supported — Opus 4.7 supports Standard only; Sonnet 4.6 and Haiku 4.5 support Standard + Reserved (see the Service Tiers section of Opus 4.7, Sonnet 4.6, and Haiku 4.5 model cards). Setting flex or priority today falls back to Standard; you can verify the served tier via the ResolvedServiceTier dimension in CloudWatch Metrics. The env var is effectively forward-looking — it lets you set the parameter once and benefit when AWS adds Priority/Flex support for Claude. Re-check the service-tiers user guide, product page, and your model card before and after enabling it.
  • The /resume PR URL feature recognizes URL shapes from each host. If your remote uses an unusual review path (e.g., self-hosted Gitea/Gerrit), it likely won’t be matched.
  • The image-resize fix only affects newer models. If you noticed prompts hitting size limits unexpectedly on Opus/Sonnet 4.6+, that’s the bug.
  • The hooks-entry resilience improvement means a typo in one hook no longer breaks the rest of your settings — but you should still validate with claude /doctor.