v2.1.122
Claude CodeSummary
This release introduces granular control over Bedrock service tiers via an environment variable and improves session recovery by allowing PR URLs to be used in the `/resume` command. Several critical bugs were fixed, including issues with tool usage in branched sessions, structured output errors with Vertex AI/Bedrock, and incorrect image resizing for newer models.
New Features
- Added support for selecting a Bedrock service tier (`default`, `flex`, or `priority`) via the `ANTHROPIC_BEDROCK_SERVICE_TIER` environment variable.
- Enabled finding the source session for a created PR by pasting the PR URL into the `/resume` search box (for GitHub, GitHub Enterprise, GitLab, and Bitbucket).
- Introduced a hint in `/mcp` to remove duplicate servers when an MCP server is manually added with the same URL as a hidden `claude.ai` connector.
- Added the `claude_code.at_mention` log event for tracking @-mention resolution in OpenTelemetry.
Bug Fixes
- Fixed `/branch` producing forks that failed with a `tool_use ids were found without tool_result blocks` error when the source session included entries from rewound timelines.
- Fixed `/model` failing to show the Effort option for Bedrock application inference profile ARNs and preventing those ARNs from receiving `output_config.effort`.
- Fixed Vertex AI / Bedrock returning `invalid_request_error: output_config: Extra inputs are not permitted` errors during session-title generation and other structured-output queries.
- Fixed Vertex AI `count_tokens` endpoint returning 400 errors for users operating behind proxy gateways.
- Fixed `spinnerTipsOverride.excludeDefault` not correctly suppressing the default time-based spinner tips.
- Fixed ToolSearch failing to find MCP tools that connected after the session started in nonblocking mode.
- Fixed `!exit` / `!quit` commands in bash mode terminating the CLI instead of executing as a shell command.
- Fixed images sent to newer models being incorrectly resized to 2576px per side instead of the maximum allowed 2000px.
- Fixed remote control session idle status redrawing too frequently (twice per second), which could flood `tmux -CC` control pipes and cause terminal pauses.
- Fixed assistant messages appearing blank in some sessions due to a stale view preference.
- Fixed a malformed hooks entry in `settings.json` no longer invalidating the entire settings file.
- Fixed voice mode keybindings bound to Caps Lock showing an error because terminals do not deliver Caps Lock as a standard key event.
Improvements
- OpenTelemetry numeric attributes on `api_request`/`api_error` log events are now correctly emitted as numbers instead of strings.
- Clarified the message shown in `/mcp` when an MCP server remains unauthorized after the browser sign-in flow.