← Back
Anthropic
Claude Code 2.1.81 adds phone notification relay and fixes OAuth reauthentication
Claude Code · releasebugfixfeature · github.com ↗

Key Features

Phone Notification Relay: The new --channels permission relay allows channel servers that declare the permission capability to forward tool approval prompts directly to your phone, enabling remote approval workflows for Claude Code sessions.

Bare Mode for Scripted Deployments: A new --bare flag streamlines automated Claude Code calls by skipping hooks, LSP, plugin sync, and skill directory walks. This mode requires explicit API key configuration via ANTHROPIC_API_KEY or settings file, with OAuth and keychain authentication fully disabled and auto-memory turned off.

Bug Fixes and Improvements

OAuth and Authentication:

  • Fixed a critical bug where multiple concurrent Claude Code sessions required repeated re-authentication when one session refreshed its OAuth token
  • Fixed --channels bypass not working for Team/Enterprise organizations with no other managed settings configured

Voice Mode Stability:

  • Fixed voice mode silently swallowing retry failures and displaying a misleading "check your network" message instead of actual errors
  • Fixed voice mode audio not recovering when the server silently drops the WebSocket connection
  • Fixed WebSocket failures caused by Cloudflare bot detection on non-browser TLS fingerprints

Plugin and Session Management:

  • Improved plugin freshness — ref-tracked plugins now re-clone on every load to pick up upstream changes
  • Fixed plugin hooks blocking prompt submission when the plugin directory is deleted mid-session
  • Fixed race condition where background agent task output could hang indefinitely
  • Resuming a session that was in a worktree now correctly switches back to that worktree

Other Fixes:

  • Fixed CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS not suppressing the structured-outputs beta header, causing 400 errors on proxy gateways
  • Fixed unnecessary permission prompts for Bash commands containing dashes in strings
  • Fixed a crash on Node.js 18
  • Disabled line-by-line response streaming on Windows to resolve rendering issues
  • Fixed Windows PATH inheritance for Bash tool when using Git Bash

Developer Actions

Users upgrading to 2.1.81 should be aware that line-by-line response streaming has been disabled on Windows platforms to improve rendering reliability. Those deploying Claude Code in automated/scripted contexts should evaluate the new --bare flag for improved performance and reduced authentication overhead.