v2.1.181
Claude CodeSummary
This release introduces the ability to set configuration keys directly via prompt commands (e.g., /config thinking=false) and adds an opt-in setting for Apple Events on macOS. Numerous stability fixes address issues with prompt caching, file saving on network drives, startup delays, and various subagent panel behaviors.
New Features
- Added /config key=value syntax to set any setting directly from the prompt, usable in interactive, -p, and Remote Control modes.
- Added sandbox.allowAppleEvents opt-in setting to permit sandboxed commands to send Apple Events on macOS.
- Introduced CLAUDE_CLIENT_PRESENCE_FILE environment variable to suppress mobile push notifications when working on the machine by pointing it to a marker file.
Bug Fixes
- Fixed prompt caching failing to read when using a custom ANTHROPIC_BASE_URL or on Foundry due to per-request attestation token changes.
- Fixed Write/Edit operations producing 0-byte or truncated files when saving to network drives or cloud-synced folders.
- Fixed open, osascript, and browser-based authentication flows failing with error -600 on macOS by correctly adding the Apple Events entitlement.
- Fixed a startup regression causing the first prompt to wait for managed-settings fetch when no MCP servers are configured.
- Fixed startup blocking with a blank terminal for up to 15 seconds when the account settings fetch is slow on a degraded network.
- Fixed a startup crash (TypeError: Cannot read properties of null) occurring when .claude.json contains corrupted null project entries.
- Fixed macOS TUI freezing at session start (Ctrl+C unresponsive) when Spotlight is busy reindexing.
- Fixed long-running idle sessions losing their history when another Claude Code process executed the 30-day transcript cleanup.
- Fixed foreground subagents spawning unbounded nested chains; they now correctly respect the 5-level depth limit.
- Fixed /recap and conversation forks incorrectly using the previous model immediately after a model switch.
- Fixed subagent "Thinking" duration incorrectly showing the parent agent's elapsed time instead of the subagent's own time.
- Fixed subagents blocked on a nested agent incorrectly showing a ticking elapsed time instead of "waiting" in the agent panel.
- Fixed the API retry indicator staying visible after the retry attempt successfully completed.
- Fixed AWS awsCredentialExport credentials with short remaining lifetimes causing unnecessary minute-by-minute refreshes, and now correctly accepts the JSON shape from aws configure export-credentials.
- Fixed claude mcp get/list showing ● Connected when tool fetching failed; they now correctly show ! Connected · tools fetch failed with error details.
- Fixed /remote-control leaving a stale "connecting…" line; it now confirms connection in the transcript.
- Fixed ExitWorktree refusing to remove a clean worktree with an error when bare git cannot be resolved on Windows.
- Fixed settings changes (like /effort or /model) failing with ENOENT when ~/.claude/settings.json is a relative symlink under a symlinked ~/.claude.
- Fixed IDE selection line numbers in context reminders being off by one in IntelliJ and VS Code.
- Fixed Ctrl+C in fullscreen after a native terminal selection overwriting the clipboard with the app's prior selection.
- Fixed Ctrl+V pasting text incorrectly showing "No image found in clipboard" when the clipboard contained text.
- Fixed agent creation failing with EEXIST: file already exists when the agents directory already existed (Windows/OneDrive).
- Fixed AskUserQuestion preview content being cut off at the dialog edge instead of word-wrapping.
- Fixed AskUserQuestion multi-select questions silently dropping a typed "Other" free-text answer upon submission.
- Fixed /stats "Most active day" and daily token chart dates showing one day early in UTC-negative timezones.
- Fixed /copy and copy-on-select on Linux not detecting an installed clipboard utility after Claude Code started.
- Fixed tab-indented code rendering with incorrect indentation in the Write (create-file) preview.
- Fixed user prompts queued mid-turn not showing a full-width background highlight in the transcript.
- Fixed the activity spinner's pulse dwelling on the wrong glyph size in Ghostty.
Improvements
- Upgraded the bundled Bun runtime to version 1.4.
- Improved streaming of long paragraphs so text appears line-by-line immediately instead of waiting for the first line break.
- Improved auto-retry logic so API connection drops mid-thinking now automatically retry instead of failing.
- Improved the subagent panel by auto-hiding idle subagents after 30 seconds, capping the list at 5 rows with scroll hints, and showing keyboard hints in the footer.
- Improved the MCP OAuth browser page to match Claude Code's visual style and auto-close upon successful authentication.