Back
AI summary
Written by AI from the official notes. Check them for exact details.Claude Code 2.1.51 introduces new features for plugin management and improves performance and security.
- Added
claude remote-controlfor external builds and local serving. - Updated plugin marketplace git timeout to 120s.
- Support for custom npm registries and version pinning added.
- BashTool skips login shell by default for better performance.
- Tool results larger than 50K characters are now persisted to disk.
Why it matters: Developers and users of Claude tools should care for enhanced functionality and improved security.
Full release notes12 changes
What's changed
- Added
claude remote-controlsubcommand for external builds, enabling local environment serving for all users. - Updated plugin marketplace default git timeout from 30s to 120s and added
CLAUDE_CODE_PLUGIN_GIT_TIMEOUT_MSto configure. - Added support for custom npm registries and specific version pinning when installing plugins from npm sources
- 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. - Fixed a security issue where
statusLineandfileSuggestionhook commands could execute without workspace trust acceptance in interactive mode. - Tool results larger than 50K characters are now persisted to disk (previously 100K). This reduces context window usage and improves conversation longevity.
- Fixed a security issue where HTTP hooks could interpolate arbitrary environment variables from header values. Env var interpolation now requires an explicit
allowedEnvVarslist in the hook configuration. - 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. - 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. - Fixed slash command autocomplete crashing when a plugin's SKILL.md description is a YAML array or other non-string type
- HTTP hooks are now routed through the sandbox network proxy when sandboxing is enabled, enforcing the domain allowlist. HTTP hooks are not supported for SessionStart/Setup events.
- 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.