Claude Code 2.1.51
Released23 Feb 202623 Feb 2026. 11 items: 3 added, 3 fixed, 1 changed, 4 other notes.
Security1
-
FIX
Fixed a security issue where
statusLineandfileSuggestionhook commands could execute without workspace trust acceptance in interactive mode.
Plugins and skills3
-
CHG
Updated plugin marketplace default git timeout from 30s to 120s and added
CLAUDE_CODE_PLUGIN_GIT_TIMEOUT_MSto configure. - ADD Added support for custom npm registries and specific version pinning when installing plugins from npm sources
- FIX Fixed slash command autocomplete crashing when a plugin's SKILL.md description is a YAML array or other non-string type
SDK and headless1
-
ADD
Added
CLAUDE_CODE_ACCOUNT_UUID,CLAUDE_CODE_USER_EMAIL, andCLAUDE_CODE_ORGANIZATION_UUIDenvironment variables for SDK callers to provide account info synchronously, eliminating a race condition where early telemetry events lacked account metadata.
Commands1
-
NOTE
The
/modelpicker now shows human-readable labels (e.g., "Sonnet 4.5") instead of raw model IDs for pinned model versions, with an upgrade hint when a newer version is available.
Settings2
-
NOTE
BashTool now skips login shell (
-lflag) by default when a shell snapshot is available, improving command execution performance. Previously this required settingCLAUDE_BASH_NO_LOGIN=true. - NOTE Managed settings can now be set via macOS plist or Windows Registry. Learn more at https://code.claude.com/docs/en/settings#settings-files
Sessions and context2
- NOTE Tool results larger than 50K characters are now persisted to disk (previously 100K). This reduces context window usage and improves conversation longevity.
-
FIX
Fixed a bug where duplicate
control_responsemessages (e.g. from WebSocket reconnects) could cause API 400 errors by pushing duplicate assistant messages into the conversation.
Everything else1
-
ADD
Added
claude remote-controlsubcommand for external builds, enabling local environment serving for all users.