Claude Code v2.1.81 Released - Scripting-Focused --bare Flag and Windows Improvements
Anthropic released Claude Code v2.1.81 with 34 changes including the new --bare flag for scripted -p calls, --channels permission relay, and Windows line-by-line streaming disable.
Anthropic released Claude Code v2.1.81 on March 20, 2026. This version includes 34 changes, focusing on scripting capabilities with the new —bare flag, —channels permission relay, and Windows-specific improvements.
Key New Features
—bare Flag for Scripted -p Calls
A new --bare flag has been added for scripted execution. When used, it skips hooks, LSP, plugin sync, and skill directory walks. It requires ANTHROPIC_API_KEY or an apiKeyHelper via --settings; OAuth and keychain auth are disabled, and auto-memory is fully disabled.
—channels Permission Relay
The new —channels permission relay (research preview) allows channel servers that declare the permission capability to forward tool approval prompts to your phone.
Authentication Fixes
Fixed an issue where multiple concurrent Claude Code sessions required repeated re-authentication when one session refreshed its OAuth token.
Voice Mode Improvements
Fixed voice mode silently swallowing retry failures and showing a misleading “check your network” message instead of the actual error. Also fixed voice mode audio not recovering when the server silently drops the WebSocket connection.
Windows Improvements
Disabled line-by-line response streaming on Windows (including WSL in Windows Terminal) due to rendering issues. Fixed Windows PATH inheritance for Bash tool when using Git Bash (regression in v2.1.78).
MCP Improvements
Improved MCP read/search tool calls to collapse into a single “Queried {server}” line (expand with Ctrl+O). Updated MCP OAuth to support Client ID Metadata Document (CIMD / SEP-991) for servers without Dynamic Client Registration.
Plugin Improvements
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.
Remote Control Improvements
Remote Control sessions now derive titles from the first prompt instead of showing a generic title. Fixed /rename not syncing the title for Remote Control sessions. Fixed Remote Control /exit not reliably archiving the session.
Other Changes
- Changed plan mode to hide “clear context” option by default (restore with “showClearContextOnPlanAccept”: true)
- Fixed /btw not including pasted text when used during an active response
- Fixed a race where fast Cmd+Tab followed by paste could beat the clipboard copy under tmux
- Fixed terminal tab title not updating with an auto-generated session description
- Fixed invisible hook attachments inflating the message count in transcript mode
- Improved
!bash mode discoverability - Claude now suggests it when needed - Fixed enterprise users being unable to retry on rate limit (429) errors
- Fixed —resume dropping parallel tool results
- Improved @ file autocomplete responsiveness in large git repositories
Community Reaction
v2.1.81 is a focused update prioritizing scripting flexibility and Windows environment improvements. The —bare flag is particularly notable for CI/CD pipeline and automation script use cases.
Reference: GitHub Release v2.1.81
Related Articles
Claude Code v2.1.70 Released - API Error Fixes and Performance Improvements
Anthropic releases Claude Code v2.1.70 with fixes for API 400 errors with third-party gateways, Windows/WSL clipboard improvements, and significant Remote Control polling optimizations.
Claude Code v2.1.71 Released - Claude API Skill and VS Code Integration Improvements
Anthropic releases Claude Code v2.1.71 with Claude API skill, expanded Voice STT language support, enhanced VS Code integration, and numerous improvements.
Claude Code v2.1.72 Released - Auto-Memory, /loop Command, and Cron Scheduling
Anthropic releases Claude Code v2.1.72 with auto-memory for context saving, /copy command, /loop command, Cron scheduling tools, Voice keybinding customization, and more.
Popular Articles
Claude Code v2.1.93 Released - Deferred Permission Decisions, Flicker-Free Rendering, and More
Anthropic releases Claude Code v2.1.93 with deferred permission decisions for PreToolUse hooks, flicker-free rendering option, PermissionDenied hook, and named subagent typeahead support.
Claude Code v2.1.92 Released - forceRemoteSettingsRefresh, Bedrock Setup Wizard, and More
Anthropic releases Claude Code v2.1.92 with forceRemoteSettingsRefresh policy setting, AWS Bedrock setup wizard, /cost command improvements, and numerous bug fixes.
Claude Code v2.1.84 Release - PowerShell Tool Preview and Environment Configuration Enhancements
Claude Code v2.1.84 introduces PowerShell tool for Windows, new environment variable overrides for model selection, idle session handling improvements, and various stability fixes.
Latest Articles
Claude Code v2.1.93 Released - Deferred Permission Decisions, Flicker-Free Rendering, and More
Anthropic releases Claude Code v2.1.93 with deferred permission decisions for PreToolUse hooks, flicker-free rendering option, PermissionDenied hook, and named subagent typeahead support.
Claude Code v2.1.92 Released - forceRemoteSettingsRefresh, Bedrock Setup Wizard, and More
Anthropic releases Claude Code v2.1.92 with forceRemoteSettingsRefresh policy setting, AWS Bedrock setup wizard, /cost command improvements, and numerous bug fixes.
Claude Code v2.1.91 Released - MCP Tool Result Persistence and Improved Edit Tool
Claude Code v2.1.91 introduces MCP tool result persistence override, improved shell execution controls, and enhanced Edit tool efficiency.