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.
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_TIERPick a Bedrock service tier per session, sent as the
X-Amzn-Bedrock-Service-Tierheader on every request:default— Standard tier. On-demand pricing and latencyflex— 50% discount vs. Standard. May queue or throttle under capacity pressure. Suited to non-urgent batch and CI workloadspriority— 75% 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 onpriority, day-to-day ondefault. -
PR URL → session in
/resumePaste a PR URL into the
/resumesearch box and Claude finds the session that created it. Supported hosts: GitHub, GitHub Enterprise, GitLab, Bitbucket. -
/mcpreveals hidden claude.ai connectorsWhen a manually-added MCP server has the same URL as a claude.ai connector, the connector used to be silently hidden.
/mcpnow shows the hidden connector with a hint to remove the duplicate. -
Clearer
/mcppost-OAuth messageThe 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_errorlog events are now emitted as numbers, not strings. - New
claude_code.at_mentionevent — emitted when an@-mention is resolved.
Notable fixes
Forks and rewound timelines
/branchforks 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
/modelEffort hidden for Bedrock app inference profile ARNs —output_config.effortnow 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_tokens400 behind proxies — fixed the endpoint failing for users on proxy gateways.
Settings, hooks, and ToolSearch
- Malformed
hooksentry no longer invalidates the entiresettings.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/!quitin 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 -CCcontrol 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_TIERacceptsdefault,flex, orpriority. (Bedrock also exposesreservedvia 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). Settingflexorprioritytoday falls back to Standard; you can verify the served tier via theResolvedServiceTierdimension 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
/resumePR 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.