v2.1.187
2.1.187
Highlights:
- Added sandbox.credentials to stop sandboxed commands reading credentials and secret env vars, protects secrets
- Remote MCP tool calls now abort after 5 minutes instead of hanging indefinitely, preventing long stalls
CLI changelog
- Added sandbox.credentials setting to block sandboxed commands from reading credential files and secret environment variables
- Added org-configured model restrictions to the model picker, --model, /model, and ANTHROPIC_MODEL, with a "restricted by your organization's settings" message when a restricted model is selected
- Added mouse click support to select menus (permission prompts, /model, /config, etc.) in fullscreen mode
- Fixed --resume failing with "No conversation found" when the original -p run produced no model turns
- Fixed --json-schema and workflow agent({schema}) structured output: the model can no longer re-call StructuredOutput indefinitely after a successful call, and follow-up turns now reliably return structured output
- Fixed remote MCP tool calls that hang with no response for 5 minutes — they now abort with an error instead of blocking indefinitely (override with CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUT)
- Fixed Claude Code Remote sessions taking ~2.7s longer to start after the agent proxy CA system-trust install was added
- Fixed pasted Korean/CJK text turning into mojibake in terminals that deliver paste as per-byte extended-key events
- Fixed /update over Remote Control hanging when a startup trust dialog would have shown
- Fixed background jobs in the agents view getting stuck in "working" indefinitely when the agent ended a turn without producing structured output
- Fixed channel connections dropping after navigating to the agents view and back, and after /bg, /tui, or /update
- Fixed agent stop notifications not correctly attributing who stopped the agent, and improved wording ("finished"/"stopped" instead of "came to rest")
- … +9 more CLI changelog entries
Source: https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#21187
Metadata
-
Time since 2.1.186 release: 1d 0h 16m 46s
-
Bundle file size: +49.8 kB (+0.2%)
-
Prompt files: +0 (+0.0%)
-
Prompt tokens: +0 (+0.0%)
Prompt token mix by kind:
- tools: 68.2%→68.2%
- system-reminder: 18.8%→18.8%
- system-data: 6.0%→6.0%
- skill: 3.0%→3.0%
- system: 2.6%→2.6%
- agent: 1.4%→1.4%
Files: