Claude-Code v2.1.51: Security fixes, performance improvements, and new remote control feature

What's new in Claude-Code v2.1.51
Anthropics has released Claude-Code v2.1.51 with security fixes, performance improvements, and new features for developers using AI coding agents.
Key changes and fixes
- New remote control feature: Added
claude remote-controlsubcommand for external builds, enabling local environment serving for all users. - Plugin marketplace improvements: Updated default git timeout from 30s to 120s and added
CLAUDE_CODE_PLUGIN_GIT_TIMEOUT_MSenvironment variable for configuration. Added support for custom npm registries and specific version pinning when installing plugins from npm sources. - BashTool performance: Now skips login shell (
-lflag) by default when a shell snapshot is available, improving command execution performance. Previously required settingCLAUDE_BASH_NO_LOGIN=true. - Security fixes: Fixed issue where
statusLineandfileSuggestionhook commands could execute without workspace trust acceptance in interactive mode. Fixed HTTP hooks interpolating arbitrary environment variables from header values - env var interpolation now requires explicitallowedEnvVarslist in hook configuration. - Context management: Tool results larger than 50K characters are now persisted to disk (previously 100K), reducing context window usage and improving conversation longevity.
- API stability: Fixed bug where duplicate
control_responsemessages (e.g., from WebSocket reconnects) could cause API 400 errors by pushing duplicate assistant messages into conversation. - SDK improvements: Added
CLAUDE_CODE_ACCOUNT_UUID,CLAUDE_CODE_USER_EMAIL, andCLAUDE_CODE_ORGANIZATION_UUIDenvironment variables for SDK callers to provide account info synchronously, eliminating race condition where early telemetry events lacked account metadata. - Plugin compatibility: Fixed slash command autocomplete crashing when a plugin's SKILL.md description is a YAML array or other non-string type.
- Network security: HTTP hooks now routed through sandbox network proxy when sandboxing is enabled, enforcing domain allowlist. HTTP hooks not supported for SessionStart/Setup events.
- UI improvements: The
/modelpicker now shows human-readable labels (e.g., "Sonnet 4.5") instead of raw model IDs for pinned model versions, with upgrade hint when newer version available.
📖 Read the full source: GitHub Claude-Code
👀 See Also

Graduates Boo AI Pep Talks at Commencements: A Sign of Developer Sentiment
College graduates booed speakers pushing AI enthusiasm at commencement ceremonies, reflecting broader unease about AI's impact on jobs and society.

Andon Labs' AI Agent Mona Runs a Real Cafe in Stockholm — Full Breakdown
Andon Labs gave an AI agent named Mona a lease and real money to open a cafe in Stockholm. She handled bureaucracy, suppliers, and hiring, but hit walls like BankID and had to make suboptimal choices.

Gemini Embedding 2: Google's First Natively Multimodal Embedding Model Released
Google has released Gemini Embedding 2, its first natively multimodal embedding model that maps text, images, video, audio, and documents into a single embedding space. The model supports up to 8192 text tokens, 6 images per request, 120 seconds of video, and PDFs up to 6 pages long, with flexible output dimensions from 3072 down to 768.

Lovable offers $100 free Claude API credits for International Women's Day
Lovable is giving away $100 in Anthropic Claude API credits, $250 in Stripe fee credits, and 24-hour free access to their platform through March 8. Users need to claim the offer before 12:59 AM ET on March 9.