Claude Code 2.1.161
This release includes OpenTelemetry metric labels for custom dimension filtering, improved UX for fanned-out work display and clipboard handling in fullscreen mode, fixes for motion-accessibility settings, managed-settings policies, background subagent output, tool call failures, various Git and MCP command issues, and performance optimizations for terminal and file rendering.
OTEL_RESOURCE_ATTRIBUTESvalues are now included as labels on metric datapoints, so you can slice usage metrics by custom dimensions like team or repoclaude agentsrows now showdone/totalbefore the detail when work is fanned out; peek shows the longest-running item/mcpnow collapses claude.ai connectors you've never signed in to behind a "Show unused connectors" row- Parallel tool calls: a failed Bash command no longer cancels other calls in the same batch — each tool returns its own result independently
- Fullscreen mode: clipboard now uses
wl-copy/xclip/xselon Linux when available, copies to both the clipboard and PRIMARY selection for middle-click paste, and the "hold{key}for native selection" hint now shows the correct key per terminal - Fixed the
/effortdialog, workflow animations, and prompt keyword shimmer not honoring the "Reduce motion" setting - Fixed
forceLoginOrgUUID/forceLoginMethodmanaged-settings policies blocking third-party provider sessions (Bedrock, Vertex, Foundry, Mantle) alongside the org pin (regression in 2.1.146) - Fixed background subagent output corrupting
claude -pstdout when using--output-format textorjson - Fixed
/usage-creditsstarting a re-login for Team and Enterprise admins instead of pointing to the organization's usage settings page - Fixed
/autofix-prreporting "cannot run on the default branch" when the session is inside a git worktree or another repository - Fixed
--resumepicker not showing sessions from the current directory when it isn't a git worktree (e.g., jj workspaces) - Fixed Windows hooks that invoke bash explicitly (e.g.,
/usr/bin/bash script.sh) failing with "command not found" or "cannot execute binary file" - Fixed OpenTelemetry log events (
user_prompt,api_request,tool_result,tool_decision) being silently dropped when emitted before telemetry initialization completed - Fixed
claude mcplist/get/add printing secrets to the terminal:${VAR}references are no longer expanded, and credential headers and URL secrets are redacted - Fixed Workflow agents spawned with
isolation: "worktree"in background sessions being blocked from editing files inside their own worktree - Fixed background sessions dispatched from
claude agentsbooting on a stale model from the daemon's environment instead of the model insettings.json - Fixed a potential crash when rendering Write tool results after resuming a session
- Fixed completed subagents getting stuck showing as running when an error occurs while finalizing their result
- Fixed
EADDRINUSEerrors from tools that bind Unix sockets under$TMPDIRwhenCLAUDE_CODE_TMPDIRis set to a deep path - Improved terminal rendering performance by stabilizing the layout engine's JIT compilation profile
- Improved rendering performance for large file writes
- [VSCode] Added a tip suggesting disabling terminal GPU acceleration (or running
/terminal-setup) to fix garbled glyphs
Source: original entry ↗
More from Claude Code
Follow Claude Code to get its new changes in your feed and email digest.
Claude Code 2.1.304: Plugin hooks, auto-mode setup, and Code Review improvements
This release adds transcript visibility for plugin hook skipping, introduces /auto-mode-setup for environment configuration, expands mod tooling with permission controls, and enhances Code Review with review levels and organization-wide repository scanning. Multiple changes improve plugin behavior, skill management, and VSCode integration.
Bug fixes and reliability improvements
This release includes bug fixes and reliability improvements to enhance overall product stability and performance.
2.1.302 — Model selection, idle compaction control, and session improvements
Added configuration options for auto mode model selection and idle compaction control, plus a banner showing why cloud session runs didn't start. Enhanced subagent handling, session management, and Claude Tag admin settings organization.