Claude Code v2.1.181: 27 Bug Fixes and a macOS Automation Unlock
On June 17, 2026 at 22:07, Anthropic shipped Claude Code v2.1.181, roughly two weeks after the previous release. It looks like a minor bump, but it's essentially a debt-clearing release: 3 new features, a Bun runtime upgrade to 1.4, and 27 bug fixes.
New Features
/config key=valueinline config editing — works in interactive mode,-pmode, and Remote Control. One line in the prompt changes one setting.sandbox.allowAppleEvents— the sandbox now permits Apple Events. Previouslyopen/osascript/ browser auth flows on macOS failed with error -600; the entitlement is now available.CLAUDE_CLIENT_PRESENCE_FILE— point it at a marker file to suppress mobile push notifications while you're at your machine./recapused the old model immediately after a model switch/stats"Most active day" was off by one day in negative UTC timezones/copycouldn't find installed clipboard tools on Linux- Ctrl+V with text content reported "No image found"
- EEXIST errors for agent directories on Windows/OneDrive
- Does a
/configchange persist after exit and restart? The release notes don't say. - The Apple Events sandbox is opt-in, which means enterprise security approval may gate adoption.
- The 5-level subagent nesting cap means multi-level orchestration is still not unlimited; complex tasks still need decomposition.
- Compared to recent Cursor 0.43 / Codex CLI updates, Claude Code holds its place in the first tier, but its moat is shifting from features to stability.
Bun 1.4 Upgrade
Long streaming paragraphs now render line-by-line instead of waiting for the first newline — the feel is much closer to ChatGPT.
Subagent Panel Polish
Idle subagents auto-hide after 30 seconds, the list caps at 5 rows, and keyboard hints appear at the bottom.
Six Standout Fixes (of 27)
1. Prompt cache misses on custom ANTHROPIC_BASE_URL and Foundry — root cause: per-request attestation tokens rotated every round, so cache keys never matched.
2. Write/Edit creating 0-byte files on network drives / cloud-synced folders — a long-standing trap for Dropbox, iCloud, and OneDrive users.
3. 120ms startup regression (introduced in v2.1.169) — the first prompt no longer waits on a managed-settings fetch when MCP is absent.
4. macOS TUI freeze on startup with unresponsive Ctrl+C — root cause was Spotlight re-indexing.
5. Subagent "Thinking" timer showed the parent agent's elapsed time — now shows a waiting state instead.
6. AWS awsCredentialExport with short-lived credentials refreshed every minute — the JSON output of aws configure export-credentials is now also accepted.
Other Small but Annoying Fixes
Each of these was a repeatedly reported community pain point.
Why It Matters
1. Zero tolerance for engineering debt. Zero-byte files, Ctrl+V misdetection, Linux clipboard probing — user-reported edge cases making it into release notes item by item is rare discipline. 2. Apple Events sandbox = real macOS automation. Claude Code can now legitimately drive Finder, Mail, Calendar, and AppleScript — potential rivaling Raycast + AI workflows. 3. Bun 1.4 + startup optimization suggests AI coding tools are moving from a "feature phase" into an "experience phase" — latency, freezes, and error rates are the retention battleground.