v2.1.161
Claude CodeSummary
This release introduces better metric visibility by including custom dimensions on datapoints and improves parallel tool execution reliability by ensuring failures don't halt other concurrent calls. Numerous bugs were fixed, including issues with motion reduction settings, policy regressions affecting third-party providers, and various session/output corruption problems across different operating systems and environments.
New Features
- Enabled inclusion of custom dimension labels (like team or repo) on metric datapoints via OTEL_RESOURCE_ATTRIBUTES.
- Introduced a 'Show unused connectors' row in /mcp to collapse unused claude.ai connectors.
- Enabled independent result reporting for parallel tool calls; a failure in one Bash command no longer cancels others in the batch.
- Enhanced fullscreen mode clipboard handling on Linux to use wl-copy/xclip/xsel, copying to both clipboard and PRIMARY selection.
Bug Fixes
- Fixed workflow animations, prompt keyword shimmer, and the /effort dialog ignoring the "Reduce motion" setting.
- Fixed managed-settings policies (forceLoginOrgUUID/forceLoginMethod) incorrectly blocking third-party provider sessions when the org pin was active.
- Fixed background subagent output corrupting stdout when using --output-format text or json with claude -p.
- Fixed /usage-credits incorrectly initiating a re-login for Team/Enterprise admins instead of navigating to the organization's usage settings.
- Fixed /autofix-pr incorrectly reporting it cannot run on the default branch when operating inside a git worktree or another repository.
- Fixed the --resume picker failing to show sessions from the current directory if it was not a git worktree (e.g., jj workspaces).
- Fixed Windows hooks that explicitly invoke bash (e.g., /usr/bin/bash script.sh) failing with command not found errors.
- Fixed OpenTelemetry log events being silently dropped if emitted before telemetry initialization was complete.
- Fixed claude mcp list/get/add commands from printing secrets to the terminal by redacting credential headers, URL secrets, and preventing expansion of ${VAR} references.
- Fixed Workflow agents spawned with isolation: "worktree" being blocked from editing files inside their own worktree during background sessions.
- Fixed background sessions dispatched from claude agents booting using a stale model from the daemon's environment instead of the model specified in settings.json.
- Fixed a potential crash that occurred when rendering Write tool results after resuming a session.
- Fixed completed subagents getting stuck showing as running when an error occurred during result finalization.
- Fixed EADDRINUSE errors for tools binding Unix sockets under $TMPDIR when CLAUDE_CODE_TMPDIR was set to a deep path.
Improvements
- Updated claude agents rows to show done/total status before details when work is fanned out, with peek showing the longest-running item.
- Improved fullscreen mode hint to show the correct key for native selection based on the terminal.
- Improved terminal rendering performance by stabilizing the layout engine's JIT compilation profile.
- Improved rendering performance specifically for large file writes.
- Added a tip in VSCode suggesting disabling terminal GPU acceleration or running /terminal-setup to resolve garbled glyphs.