Skip to content
AI Primer
release

Claude Code 2.1.181 adds /config key=value and presence-file push suppression

Claude Code 2.1.181 ships inline /config changes, a presence-file environment variable to suppress mobile push notifications while a machine is active, and Apple Events sandbox opt-in on macOS. It also fixes prompt caching on custom base URLs and truncation on network drives, affecting day-to-day remote and multi-machine use.

3 min read
Claude Code 2.1.181 adds /config key=value and presence-file push suppression
Claude Code 2.1.181 adds /config key=value and presence-file push suppression

TL;DR

  • ClaudeCodeLog's release summary sized Claude Code 2.1.181 as 39 CLI changes plus one system prompt change, with /config key=value, presence-file push suppression, and a Bun HMR prompt addition as the headline items.
  • The new /config key=value syntax, documented in ClaudeCodeLog's changelog post, works in interactive mode, -p, and Remote Control, which turns settings flips like /config thinking=false into an in-band command instead of a file edit.
  • ClaudeCodeLog's changelog post also added CLAUDE_CLIENT_PRESENCE_FILE, which suppresses mobile push notifications while a marker file exists on the active machine.
  • Several fixes land in the part of Claude Code people actually feel: the changelog says prompt caching now works again on custom ANTHROPIC_BASE_URL and Foundry, while the same post fixes 0-byte or truncated Write/Edit output on network drives and cloud-synced folders.
  • ClaudeCodeLog's additional changes post also notes a smaller bundle, far fewer prompt files and tokens, and new surface area including sandbox.allowAppleEvents, CLAUDE_CODE_TERMINAL_MCP_TOOLS, and a claude-security model slug.

You can trace the whole ship from the release summary into the full changelog, then jump to the system prompt note for the Bun HMR quirk and the additional-changes post for the smaller prompt bundle, new env vars, and string-level edits.

/config key=value

Claude Code now accepts /config key=value directly in the prompt. ClaudeCodeLog's changelog post says it works in interactive sessions, -p, and Remote Control, so the same command path now covers terminal use and remote driving.

The concrete example in the changelog is /config thinking=false. That makes the feature read like a control-plane shortcut, not a new settings system.

Presence file and Apple Events

The oddest addition is CLAUDE_CLIENT_PRESENCE_FILE. According to the changelog, pointing it at a marker file suppresses mobile push notifications while you are at the machine, and the release summary frames it as a simple machine-in-use signal.

The same release adds sandbox.allowAppleEvents as an opt-in macOS setting, per the changelog, alongside a fix for open, osascript, and browser auth flows that were failing with error -600 after Apple Events entitlement issues.

Fixes for remote, synced, and long-running sessions

Most of 2.1.181 is cleanup, but the cleanup is practical. ClaudeCodeLog's changelog post lists fixes for custom-base-URL prompt caching, truncated writes on network drives and cloud-synced folders, slow-start blank terminals on degraded networks, and idle sessions losing history after transcript cleanup.

A few more land squarely in agent-heavy workflows: the same post caps foreground subagents at the same five-level nesting limit as background subagents, fixes model-switch bleed-through in /recap and conversation forks, and makes mid-think API connection drops auto-retry instead of surfacing a closed-connection error.

Prompt bundle and hidden surface area

ClaudeCodeLog's system prompt note says Claude now sees a Bun HMR error about a missing *.accept path inside the prompt, which can steer it toward Bun or Vite hot-reload fixes even when that is not the user's actual problem.

The same additional-changes post, ClaudeCodeLog's additional changes post, says the bundle shrank by 1.6 MB, prompt files fell by 62, and prompt tokens dropped by 100,098. It also surfaced two new env vars, CLAUDE_CODE_TERMINAL_MCP_TOOLS and INK_SCREEN_READER, removed CLAUDE_CODE_TEAM_ONBOARDING, added a claude-security model slug, and clarified that the edit tool does exact string replacements.

Further reading

Discussion across the web

Where this story is being discussed, in original context.

On X· 1 thread
Prompt bundle and hidden surface area1 post
Share on X