Claude Code v2.1.81 リリース - スクリプト向け--bareフラグとWindows改善
AnthropicはClaude Code v2.1.81を公開。スクリプト実行向け--bareフラグ、--channels permission relay、Windowsでのline-by-line streaming無効化など、34件の変更が含まれている。
Anthropicは2026年3月20日、Claude Code v2.1.81を公開した。このバージョンではスクリプト実行向けの—bareフラグ追加、—channels permission relay、Windows向けのパフォーマンス改善など、34件の変更が含まれている。
主要な新機能
—bareフラグ for scripted -p calls
スクリプト実行向けの新機能として--bareフラグが追加された。このフラグを使用すると、hooks、LSP、plugin sync、skill directory walksがスキップされる。ANTHROPIC_API_KEYまたは--settingsでのapiKeyHelperが必要であり、OAuthとkeychain認証は無効化される。auto-memoryも完全に無効化される。
—channels permission relay
channel serversがpermission capabilityを宣言している場合、ツール承認プロンプトをスマートフォンに転送できる—channels permission relayが追加された(research preview)。
認証問題の修正
複数のConcurrent Claude Codeセッションで、一つのセッションがOAuthトークンを更新した際に他のセッションが再認証を要求する問題が修正された。
Voice modeの改善
voice modeでリトライ失敗が无声で飲み込まれ、「ネットワークを確認してください」というmisleadingなエラーメッセージが表示されていた問題が修正された。また、サーバーがWebSocket接続をsilentにドロップした場合のaudio recoveryも修正された。
Windows向け改善
rendering問題により、Windows(WSL in Windows Terminalを含む)でline-by-line response streamingが無効化された。また、Git Bash使用時のBash toolでのWindows PATH inheritanceが修正された(v2.1.78でのregression)。
MCPの改善
MCP read/search tool callsが単一の”Queried {server}“行にcollapsingされるようになった(Ctrl+Oで展開可能)。MCP OAuthがDynamic Client Registrationを持たないサーバー向けのClient ID Metadata Document(CIMD / SEP-991)をサポートするようになった。
Pluginの改善
ref-tracked pluginsが每次load時に再cloneされるようになり、upstreamの変更を取得できるようになった。plugin hooks使用中にpluginディレクトリが削除された場合、prompt submissionがblockされる問題が修正された。
Remote Controlの改善
Remote Control sessionsが最初のpromptからtitleをderiveするようになり、generic titleが表示されていた問題が修正された。/rename使用時にtitleがsyncされない問題、/exitがsessionを reliably archiveしない問題も修正された。
その他の変更
- plan modeで”clear context”オプションがデフォルトで非表示に(“showClearContextOnPlanAccept”: trueで復元可能)
- /btw使用時にpasted textが includedされない問題が修正された
- tmux环境下でfast Cmd+Tab followed by pasteがclipboard copyにraceする問題が修正された
- terminal tab titleがauto-generated session descriptionで更新されるようになった
- invisible hook attachmentsがtranscript modeでのmessage countをinflationしていた問題が修正された
!bash modeの発見性が改善され、必要な時にClaudeから提案されるようになった- enterprise用户在rate limit (429) errorsでretryできない問題が修正された
--resumeでparallel tool resultsがdropされる問題が修正された- large git repositoryでの@ file autocompleteのresponsivenessが改善された
コミュニティの反応
v2.1.81はスクリプト実行の柔軟性向上とWindows環境の改善に重点を置いたアップデートとなっている。特に—bareフラグはCI/CDパイプラインや自動化スクリプトでの使用を想定した機能として注目度高。
Related Articles
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.
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.
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.