← Back to all releases

v2.1.163 Claude Code Release Notes

Claude's Analysisby Sonnet 4.6
Full Analysis

Broad stability sweep patches claude -p hangs, keyboard lockup after paste, Windows session errors, and broken deny rules. New /plugin list and managed version ranges land.

Changes
22
Total Changes (vs Average)
1.0×
Version Type
Patch
Release Focus
Bug Fixes
Day Since Prior Release
1
Release # This Month
#4 of 28
Bug Fix Ratio
55%
Post-Release Edits
—
How does this release compare? Release pace, fix share and issue trends since April 2025.See all-time statistics
Change Category
Ecosystem Impact
Terminals have appeared in 7 of the last 10 releases and Windows in 6 of 10, reflecting sustained hardening of the core CLI runtime environment. Anthropic API makes its first appearance — a single CI fix but notable as a new explicit platform label.
Key Themes
8Reliability Blitz — Hangs, Lockups, and Session Errors|7New Commands, Hooks, and Developer UX|4Permission and Managed Policy Hardening|3Provider and CI Fixes — Bedrock, Vertex, Foundry
May Help If You've Noticed
Your claude -p process never exits after printing its result when you have background commands running
Keyboard input stops working entirely after you paste a long block of text into Claude
Bash commands fail under bazel or security tooling that restricts /tmp access
claude -p fails with an API key error in CI when using Bedrock, Vertex, or Foundry without an Anthropic key
Access deny rules for home-directory paths aren't blocking access even though they're configured

Changes in Claude Code v2.1.163

Added4 changes

  • •Added requiredMinimumVersion and requiredMaximumVersion managed settings — Claude Code refuses to start if its version is outside the allowed range and directs the user to an approved version
  • •Added /plugin list command to list installed plugins, with --enabled/--disabled filters
  • •Added a "c to copy" shortcut to /btw that copies the raw markdown answer to the clipboard, preserving formatting when pasted elsewhere
  • •Skills: added \$ escape syntax to include a literal $ before a digit in command bodies

Improved1 change

  • •Clearer descriptions for built-in commands and skills in the / menu

Fixed12 changes

  • •Fixed claude -p hanging forever after its final result when a backgrounded command never exits — background shells are now stopped ~5s after the result once stdin closes
  • •Fixed claude -p failing with "ANTHROPIC_API_KEY required" on Bedrock/Vertex/Foundry when CI=true and no Anthropic API key is set
  • •Fixed bash commands failing under bazel and EDR-protected Go workflows: $TMPDIR was overridden to /tmp/claude-{uid} for all commands instead of only sandboxed ones (regression in 2.1.154)
  • •Fixed Bash commands failing on Windows with "EEXIST: file already exists" on the session-env directory when it has the read-only attribute or is inside OneDrive
  • •Fixed org-managed permission rules not applying for the entire session when the managed settings fetch completed during startup on a fresh config directory
  • •Fixed background sessions in claude agents losing their running background tasks when reattached after a Claude Code update
  • •Fixed terminal misalignment and a multi-second hang when exiting the agent view by pressing Esc
  • •Fixed clicking Stop on a background-task chip in the desktop app not clearing the chip when the underlying process was already gone
  • •Fixed keyboard input becoming permanently unresponsive after a paste operation whose end marker is dropped by the terminal
  • •Fixed hook if: "Bash(...)" conditions firing on every Bash command containing $() or $VAR; the pattern now matches against commands inside subshells and backticks too
  • •Fixed deny rules on home-directory paths (e.g. Read(~/Desktop/**)) not blocking Bash commands that reference the path via $HOME
  • •Fixed a stray "(no content)" line left in the transcript after closing panel dialogs like /mcp and /plugins

Other5 changes

  • •Hooks: Stop and SubagentStop hooks can now return hookSpecificOutput.additionalContext to give Claude feedback and keep the turn going without being labeled a hook error
  • •stdio MCP servers now receive the same CLAUDE_CODE_SESSION_ID as hooks/Bash on --resume
  • •Background agent sessions now update to a new Claude Code version in the background, so opening a session after an update no longer waits on a cold restart
  • •The subscription-switch suggestion now shows in the startup announcement slot instead of a toast
  • •claude agents dispatching from the state-grouped view now starts the session in the directory the agent view was opened from