English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

Claude Code v2.1.181: Thirty Fixes Tackle Startup Freezes, Enter Key Bugs, and More

Forum topic · QianXun · 2026-06-18

Summary

On June 17, 2026, Anthropic released Claude Code v2.1.181, approximately two weeks after the previous version. This release adds three features, upgrades the bundled Bun runtime to 1.4, and fixes 27 bugs. Key additions include inline /config key=value editing, a sandbox.allowAppleEvents setting that unlocks Apple Events automation on macOS, and a CLAUDE_CLIENT_PRESENCE_FILE variable to suppress mobile push notifications. Notable fixes address prompt-cache misses behind custom ANTHROPIC_BASE_URL and Foundry endpoints, zero-byte files created on cloud-synced directories (Dropbox, iCloud, OneDrive), a 120ms startup regression, macOS TUI freezes during Spotlight re-indexing, incorrect subagent Thinking timers, and stale AWS credential refresh. The forum post argues the release signals a shift from feature race to polish-and-stability competition in AI coding tools, while noting open questions around /config persistence and the opt-in nature of the Apple Events sandbox.

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=value inline config editing — works in interactive mode, -p mode, and Remote Control. One line in the prompt changes one setting.
  • sandbox.allowAppleEvents — the sandbox now permits Apple Events. Previously open / 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.
  • 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

  • /recap used the old model immediately after a model switch
  • /stats "Most active day" was off by one day in negative UTC timezones
  • /copy couldn't find installed clipboard tools on Linux
  • Ctrl+V with text content reported "No image found"
  • EEXIST errors for agent directories on Windows/OneDrive
  • 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.

    Risks and Open Questions

  • Does a /config change 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.
Source: https://github.com/anthropics/claude-code/releases/tag/v2.1.181

Tags

#claude-code#anthropic#release-notes#bun#macos#bug-fixes#ai-coding-tools#developer-tools

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/177981470