Verdict: The Claude Code 2.1.181 update is a mandatory stability release for developers working in cloud-synced folders (OneDrive/Google Drive) and those on macOS. By introducing the /config command and upgrading the bundled Bun runtime to 1.4, Anthropic has significantly reduced startup friction and eliminated common file-corruption bugs.
TL;DR: What's New in v2.1.181
- New Command:
/config key=valueallows setting any preference directly from the prompt.- Critical Fix: Resolved 0-byte and truncated file issues on OneDrive, Google Drive, and network drives.
- Performance: Upgraded to Bun 1.4; fixed a ~120ms startup regression.
- macOS: Fixed Error -600 and added
sandbox.allowAppleEventsfor Apple Events support.- Mobile: New
CLAUDE_CLIENT_PRESENCE_FILEenv var to stop mobile pings while at your PC.- Last Verified: June 20, 2026.
How does the new /config command work?
The new /config key=value syntax allows you to modify any Claude Code setting instantly without leaving the interactive prompt. Previously, changing settings often required manual edits to .claude.json or navigating complex menus.
This command works in interactive mode, via the -p (prompt) flag, and in Remote Control sessions. For example, running /config thinking=false immediately disables the thinking block for the current session. This is particularly useful for automation scripts where you need to toggle specific agent behaviors on the fly.
Is the cloud-sync file corruption fixed?
Yes, version 2.1.181 fixes the "Write/Edit producing 0-byte or truncated files" bug that plagued users on OneDrive, Google Drive, and cloud-synced folders. This was a high-priority issue where the file system's sync lock would conflict with Claude Code's write operations, resulting in data loss.
If you have been avoiding using Claude Code inside a Dropbox or OneDrive directory, it is now safe to return. The update ensures that file writes are atomic and handle the latency of network-attached storage more gracefully. This stability is critical for teams using GLM 5.2 for autonomous automation alongside Claude's ecosystem.
How do I fix macOS Error -600 in Claude Code?
Anthropic resolved macOS Error -600 by adding the necessary Apple Events entitlement and introducing a new sandbox.allowAppleEvents opt-in setting. This error typically occurred when Claude Code tried to use open, osascript, or browser-based authentication flows.
To enable full automation on macOS, you should now use:
/config sandbox.allowAppleEvents=true
This allows sandboxed commands to send Apple Events, enabling Claude to interact with other Mac applications and system services securely.
What performance improvements are in this update?
Claude Code 2.1.181 upgrades its bundled runtime to Bun 1.4 and fixes a startup regression that added 120ms to every launch. While 120ms sounds small, it was a noticeable "hiccup" in fresh environments introduced in version 2.1.169.
Additionally, streaming is now smoother. Long paragraphs of text now appear line-by-line rather than waiting for a full line break or block completion. This makes the agent feel significantly more responsive during complex reasoning tasks. For developers building high-speed AI agent stations, these millisecond gains in the TUI (Terminal User Interface) significantly improve the daily flow.
What this means for you
This update moves Claude Code from a "frontier experiment" to a reliable daily driver. The fix for cloud-synced folders is the most impactful change for enterprise and small-business users who rely on shared drives for project management.
If you are currently evaluating local alternatives like North Mini Code, the added stability in Claude Code 2.1.181 makes the case for Anthropic's managed CLI much stronger, especially for macOS users who need deep system integration.
FAQ
Q: Does the /config command persist across sessions?
A: Yes, settings changed via /config key=value are written to your local configuration and will persist until changed again.
Q: How do I stop Claude from pinging my phone while I'm at my desk?
A: Set the CLAUDE_CLIENT_PRESENCE_FILE environment variable to point to a specific marker file. When this file exists, Claude suppresses mobile push notifications.
Q: Why was my terminal freezing on macOS startup? A: Version 2.1.181 fixes a bug where the TUI would freeze and become unresponsive (Ctrl+C not working) if macOS Spotlight was busy reindexing the directory.
Q: Are subagent limits still the same? A: Yes, but foreground subagents now respect the same 5-level depth limit as background subagents to prevent unbounded nested chains.
Q: Does this update improve memory management?
A: Yes, the Improved N memories line in the console now avoids listing every individual file unless you are in verbose mode, resulting in a cleaner terminal experience.
Sources:
Updates Log:
- June 20, 2026: Article published covering v2.1.181 release.
Last Verified: June 20, 2026.
Discussion
0 comments