Claude Code v2.1.187: Structured Output Fixes, Sandbox Security, and Org Model Restrictions

Anthropic released Claude Code v2.1.187 with a batch of practical fixes and additions. The headline items: a sandbox.credentials setting to block sandboxed commands from reading credential files and secret environment variables, and org-configured model restrictions now enforced across the model picker, --model flag, /model command, and ANTHROPIC_MODEL env var. Users see a "restricted by your organization's settings" message when selecting a blocked model.
Key Changes
- Structured output fix:
--json-schemaand workflowagent({schema})no longer allow the model to re-callStructuredOutputindefinitely after a successful call. Follow-up turns now reliably return structured output instead of falling back to free text. - Remote MCP timeout: Tool calls that hang for 5 minutes now abort with an error instead of blocking indefinitely. Override with
CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUT. - Startup performance: Remote sessions no longer add ~2.7s overhead from the agent proxy CA system-trust install.
- Subagent depth tracking: Resumed subagents restore their original spawn depth; forked subagents now count toward the depth cap instead of possibly bypassing limits.
- Worktree cleanup: Locked
.git/worktrees/entries from killed agents are now cleaned up automatically, preventing leaked registrations. - Mojibake fix: Pasted Korean/CJK text in terminals that deliver paste as per-byte extended-key events no longer turns into garbage.
- Agent stop notifications: Now correctly attribute who stopped the agent and use "finished"/"stopped" wording instead of "came to rest".
/install-github-appimprovement: GitHub Actions workflow setup is now optional — you can install just the GitHub App and skip the workflow/secret steps./btwnavigation: Use←/→arrows to step through earlier answers./pluginimprovement: Surfaces plugins you haven't used recently so you can clean them up.- Mouse click in fullscreen: Select menus (permission prompts,
/model,/config) now support mouse clicks in fullscreen mode. - VS Code: Fixed extension becoming unresponsive when resuming a large session.
--helpfix:claude --helpnow lists the--bg/--backgroundflag.- Other fixes:
--resumefailing with "No conversation found" after-pruns with no turns; background jobs stuck in "working"; channel connection drops after navigating to agents view or after/bg,/tui,/update; Esc/Ctrl-C/Ctrl-D not working during/shareupload;/updatehanging when a startup trust dialog would show; Cmd+click not opening URLs in fullscreen mode in Ghostty on macOS.
This release is primarily for teams using structured output workflows, remote MCP servers, or running sandboxed commands that need credential isolation. The performance regression fix (2.7s startup delay) is significant for anyone using Claude Code Remote.
📖 Read the full source: GitHub Claude-Code
👀 See Also

Meta tracking employee computer interactions for AI agent training
Meta is installing tracking software on US employee computers to capture mouse movements, clicks, and keystrokes for training AI models that can perform work tasks autonomously. The tool runs on work-related apps and websites and takes occasional screen snapshots for context.

Claude Pro User Reports 5-Hour Usage Window Burned on Single Prompt with No Output
A Claude Pro user reports that a single prompt consumed their entire 5-hour usage window, returning only planning text and no deliverable. The incident highlights issues with token consumption during internal reasoning and lack of safeguards.

AI Engineers Aren't Safe From Being Replaced by AI
As foundation models like Meta's DINO become general-purpose, tailored AI engineering roles face cannibalization. The author argues that most AI engineering jobs will be replaced sooner than other developer roles.
Transformer Language Model Runs Locally on Stock Game Boy Color
Andrej Karpathy's TinyStories-260K model runs on a stock Game Boy Color via a custom ROM, using INT8 fixed-point math and bank-switched cartridge memory for weights and KV cache.