Claude Code 2.1.332 adds a PreSkillShellCommand hook and renames the desktop Code tab's OpenTelemetry service
Claude Code 2.1.332 adds a hook that can refuse a skill's inline shell commands, changes the desktop Code tab's OpenTelemetry service name, reserves the computer-use skill name on Macs, and fixes many freezes and model-fallback failures.
What does this mean for me?
Action needed
Engineering leadership
Cost, risk, timeline, team impact Worth knowingRoutine Claude Code release with many stability fixes. If your observability tracks desktop Code tab sessions, its OpenTelemetry service name changes to claude-code-desktop, so ask whoever owns those dashboards to check them.
Engineer
What to change, what breaks, what to test Action neededUpdate OpenTelemetry filters keyed on service.name claude-code to include claude-code-desktop, or set OTEL_SERVICE_NAME. On Macs with computer use on, rename any skill or command called computer-use. The new PreSkillShellCommand hook can block a skill's inline shell commands.
General consumer
Using the Claude apps, not the API No impactNothing to do: this is a Claude Code release and does not change the Claude apps.
Claude Code 2.1.332 is a large release. The changelog does not date its versions; this one appeared on the changelog between November 24 and November 25, 2026, after 2.1.331 (November 24), so the date here is an estimate.
Added. A PreSkillShellCommand hook event can refuse the inline shell commands of a skill or slash command as it loads. On 2.1.331 and older, a settings file that names this event opens a dialog at start. The prompt for held messages from other sessions gains an “Always deliver” option. An OpenTelemetry assistant_response event records text Claude sends through SendUserMessage or Cowork’s message tool when response logging is on. The startup header shows the Cyber Verification Program access tier for claude.ai sign-ins. Skills from MCP servers (beta) appear as server:skill in the / menu; that feature is already on the timeline from November 24.
Changed, with action needed for some setups. Desktop Code tab sessions now report the OpenTelemetry service.name claude-code-desktop instead of claude-code; update dashboards and filters keyed on claude-code, or set OTEL_SERVICE_NAME to keep the old name. OpenTelemetry tool_input now shows only the length of text sent through SendUserMessage or Cowork’s message tool unless OTEL_LOG_ASSISTANT_RESPONSES=1. On Macs with computer use on, computer-use becomes a reserved skill name: a user skill or command of that name stops loading. --model default and a Default pick now step down to an older model when the default is unavailable instead of stopping with an error. Claude Desktop’s Code tab on Anthropic’s API ignores model ids not starting with claude and a CLAUDE_CODE_AUTO_COMPACT_WINDOW under 200K in user settings beside a gateway address. awsCredentialExport now times out after 10 minutes. Tap-mode voice dictation keeps the microphone on for up to 60 seconds of silence or 10 minutes, up from 15 seconds and 2 minutes.
Fixed. The release fixes many freezes (hooks with endless output, MCP servers flooding stdout, named pipes, long wildcard permission rules), compaction failures that ended turns with “Prompt is too long”, claude auth login reporting success when the login could not be saved (it now exits 1), and a range of model fallback and alias problems on Bedrock, Google Cloud’s Agent Platform and Microsoft Foundry. Several Code Mode and VS Code fixes ship too.
The model alias changes on Agent Platform and Foundry, auto mode for Sonnet 5 and 5.5 on third-party providers, and the self-hosted runner token prefix change are recorded as separate entries.
Topics: Coding tools