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

Claude Code v2.1.181: 30 Fixes Target Slow Startup, Broken Ctrl+V, and Zero-Byte Files

Forum topic · QianXun · 2026-06-18

Summary

Anthropic released Claude Code v2.1.181, a maintenance-focused update shipping 3 new features, a Bun 1.4 runtime upgrade, and 27 bug fixes. New capabilities include direct config writes via '/config key=value' (working in interactive, -p, and Remote Control modes), a sandbox entitlement for Apple Events that unblocks macOS automation such as open, osascript, and browser auth flows that previously failed with -600 errors, and the CLAUDE_CLIENT_PRESENCE_FILE variable to suppress mobile push notifications when a user is at the machine. Notable fixes resolve missing prompt caching behind custom ANTHROPIC_BASE_URL/Foundry endpoints (caused by per-request attestation tokens invalidating cache keys), zero-byte files created in cloud-synced folders like Dropbox, iCloud, and OneDrive, a ~120ms startup regression from v2.1.169, macOS TUI freezes during Spotlight re-indexing, incorrect subagent 'Thinking' timers, and rapid AWS credential rotation with short-lived exports. The release also improves streaming output (line-by-line rendering), subagent panel behavior, and smaller pain points like /copy on Linux and /stats timezone handling. Full notes: https://github.com/anthropics/claude-code/releases/tag/v2.1.181

Anthropic shipped Claude Code v2.1.181 (released 2026-06-17, roughly two weeks after the previous version). While it looks like a minor point release, it is essentially a large-scale cleanup of engineering debt: 3 new features, a Bun 1.4 runtime upgrade, and 27 bug fixes.

New Features

  • /config key=value direct config writes — Works in interactive mode, -p mode, and Remote Control. One line changes one setting, effective immediately.
  • sandbox.allowAppleEvents — Opens the sandbox to Apple Events on macOS. Previously, open, osascript, and browser authentication flows all failed with -600 errors due to missing entitlements; this is now fixed.
  • CLAUDE_CLIENT_PRESENCE_FILE — Point it at a marker file to suppress mobile push notifications when you are sitting at your machine.
  • Runtime and UI Improvements

  • Bun 1.4 upgrade: Long-paragraph streaming changed from "wait for the first newline" to line-by-line rendering — the experience feels closer to ChatGPT.
  • Subagent panel: auto-hides after 30 seconds idle, list capped at 5 rows, keyboard hints added at the bottom.
  • The Most Notable Fixes (6 of 27)

    1. Prompt caching broken behind custom ANTHROPIC_BASE_URL and Foundry — root cause: per-request attestation tokens rotated every round, so cache keys never matched. 2. Write/Edit produced 0-byte files on network drives / cloud-synced folders — a long-standing pain for Dropbox, iCloud, and OneDrive users. 3. ~120ms startup regression (introduced in v2.1.169) — the first prompt no longer waits for a managed-settings fetch when no MCP servers are configured. 4. macOS TUI startup freeze where Ctrl+C was unresponsive — root cause: Spotlight was re-indexing. 5. Subagent "Thinking" timer showed the parent agent's elapsed time — it now shows "waiting" instead of the parent's clock. 6. AWS awsCredentialExport with short-lived credentials triggered refreshes every minute — the JSON form from aws configure export-credentials is now accepted as well.

    Smaller fixes long requested by the community: /recap used the old model after a model switch; /stats "Most active day" was off by a day in negative UTC timezones; /copy failed to detect installed clipboard tools on Linux; Ctrl+V with text reported "No image found"; EEXIST errors for agent directories on Windows/OneDrive.

    Why It Matters

    1. Near-zero tolerance for engineering debt. Zero-byte files, Ctrl+V misdetection, Linux clipboard probing — these are edge cases reported by users, and each one made it into the release notes. 2. Apple Events sandbox unlock opens up macOS automation. Claude Code can now properly operate Finder, Mail, Calendar, and AppleScript — potential approaching Raycast + AI automation workflows. 3. Bun 1.4 + startup optimizations signal that AI coding tools are shifting from a "feature race" into an "experience race" — latency, freezes, and error rates are the retention battleground.

    Risks and Open Questions

  • Unresolved: are settings changed via /config persisted after restart? The release notes don't say explicitly.
  • The Apple Events sandbox is opt-in, which means enterprise security approval may gate adoption.
  • The 5-level subagent nesting cap means multi-level agent orchestration is still not "unlimited" — complex tasks still need decomposition.
  • Compared with recent updates to Cursor 0.43 and Codex CLI, Claude Code's position in the top tier of AI coding tools remains stable, but the 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#ai-coding#bun#macos#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