Claude Code v2.1.181: Inline Config Commands, Smoother Streaming, and Startup Fixes
Claude Code v2.1.181 introduces /config key=value syntax, Apple Events sandbox support, and a Bun 1.4 upgrade, alongside extensive fixes for startup, streaming, and file writing on network drives.
The Claude Code development team has released version 2.1.181, a substantial update that makes configuration faster with inline /config commands, upgrades the bundled runtime, and smooths out streaming and the subagent panel. It also ships a long list of fixes covering startup performance, macOS integration, file writing on network drives, and terminal input handling.
What’s New
Inline Configuration Commands
You can now set any setting directly from the prompt with the new /config key=value syntax — for example, /config thinking=false. This works in interactive sessions, print mode (-p), and Remote Control, making quick configuration changes possible without opening the settings menu.
macOS Apple Events Support
A new sandbox.allowAppleEvents opt-in setting lets sandboxed commands send Apple Events on macOS. Related to this, open, osascript, and browser-based auth flows no longer fail with error -600 on macOS, thanks to the added Apple Events entitlement.
Presence-Aware Notifications
The new CLAUDE_CLIENT_PRESENCE_FILE environment variable lets you point at a marker file to suppress mobile push notifications while you’re at the machine — no more redundant pings when you’re already at your desk.
Runtime and Streaming Improvements
The bundled Bun runtime has been upgraded to 1.4. Streaming of long paragraphs is also improved: text now appears line-by-line instead of waiting for the first line break, and API connection drops mid-thinking now automatically retry instead of showing “Connection closed while thinking”.
Subagent Panel Refinements
The subagent panel is smarter: idle subagents auto-hide after 30 seconds, the list caps at 5 rows with scroll hints, and keyboard hints now show in the footer. Additionally, foreground subagents now respect the same 5-level depth limit as background subagents, preventing unbounded nested chains. Fixes also correct subagent “Thinking” durations showing the parent’s elapsed time and blocked subagents showing a ticking timer instead of “waiting”.
Startup Reliability Fixes
Several startup issues are resolved in this release:
- A ~120ms per-launch regression (introduced in 2.1.169) where the first prompt waited for the managed-settings fetch even with no MCP servers configured
- Startup blocking with a blank terminal for up to 15 seconds when the account settings fetch was slow on a degraded network
- A startup crash (
TypeError: Cannot read properties of null) when.claude.jsoncontained corrupted null project entries - The macOS TUI freezing at session start (Ctrl+C unresponsive) while Spotlight was busy reindexing
File and Credential Fixes
Write/Edit no longer produces 0-byte or truncated files on network drives and cloud-synced folders. Prompt caching now works correctly on custom ANTHROPIC_BASE_URL and on Foundry, where a per-request attestation token was defeating the cache every turn. AWS awsCredentialExport credentials with a short remaining lifetime no longer trigger refreshes every minute, and the JSON shape from aws configure export-credentials is now accepted.
UI and Terminal Fixes
This release addresses many interface issues, including:
- Fullscreen mode URL opening now requires Cmd+click (macOS) / Ctrl+click, matching native terminal behavior
- The MCP OAuth browser page now matches Claude Code’s visual style and auto-closes on success
claude mcp get/listnow show! Connected · tools fetch failedwith error detail instead of a misleading✓ Connected/recapand conversation forks no longer use the previous model right after a model switch- The API retry indicator no longer stays on screen after a successful retry
- Ctrl+V now pastes text instead of showing “No image found in clipboard”
- AskUserQuestion previews now word-wrap instead of being cut off, and multi-select questions no longer drop a typed “Other” answer
/statsdates no longer show one day early in UTC-negative timezones- Long-running idle sessions no longer lose their history when another process runs the 30-day transcript cleanup
- Fixes for
/remote-controlstatus lines, ExitWorktree on Windows, symlinked settings files, IDE selection line numbers, Linux clipboard detection, tab-indented code previews, and the activity spinner in Ghostty
How to Update
To update to Claude Code v2.1.181:
- Check your current version:
claude --version - Update using your preferred method:
- Package manager: Follow your distribution’s update process
- Direct download: Visit the release page for platform-specific binaries
- Try the new
/config key=valuesyntax for quick settings changes - On macOS, consider the
sandbox.allowAppleEventssetting if your sandboxed commands need Apple Events