2.1.101
Claude Code 2.1.101 - リリースノート
2026年4月10日
Claude Code
日本語サマリー
Claude Code 2.1.101 リリースノート要約
⚠️ セキュリティ修正
- LSPバイナリ検出で使用されるPOSIX
whichフォールバックにおけるコマンドインジェクションの脆弱性を修正。
💡 重要な新機能と改善
/team-onboardingコマンド: ローカルの使用状況からチームメイトのオンボーディングガイドを生成する機能を追加。- OS CA証明書ストアの信頼: エンタープライズTLSプロキシが追加設定なしで動作するよう、デフォルトでOSの証明書ストアを信頼するように変更(環境変数
CLAUDE_CODE_CERT_STORE=bundledで従来の挙動に変更可能)。 - クラウド環境の自動作成:
/ultraplanなどのリモートセッション機能が、事前のWebセットアップなしでデフォルトのクラウド環境を自動作成するように改善。 - SDKのクリーンアップ改善: SDK
query()が、for awaitループの途中でbreakした際やawait using使用時に、サブプロセスや一時ファイルを適切にクリーンアップするように修正。
🔧 主な不具合修正
- 長時間セッションのメモリリークを修正: 仮想スクローラー内に履歴が大量に保持されていた問題を解決。
- タイムアウトの問題を修正:
API_TIMEOUT_MSの設定を無視して、ローカルLLMなど遅いバックエンドがハードコードされた5分で強制終了されていた問題を解決。 - セッション復元 (
--resume) の安定性向上: 大規模セッション時のコンテキスト喪失、無関係なサブエージェントへの誤接続、file_path欠落によるクラッシュなど、複数の--resume/--continue関連の不具合を修正。 - 権限設定のバグを修正:
permissions.denyルールが、PreToolUseフックのpermissionDecision: "ask"によって正しく上書きされなかった問題を修正。 - Bedrock認証エラーを修正:
ANTHROPIC_AUTH_TOKENなどが設定されている環境下で、Bedrock SigV4認証が403エラーで失敗する問題を修正。 - サンドボックス環境のエラーを修正: 新規起動直後にサンドボックス化されたBashコマンドが
mktemp: No such file or directoryで失敗する問題を修正。 MCPおよびプラグ関連の修正: サブエージェントがMCPツールを継承しない問題や、claude mcp serveのoutputSchema検証エラーを修正。- ターミナル描画の問題を修正: 非フルスクリーンモードでのフリッカー、長時間セッションでのスクロールバック消去、マウススクロールのエスケープシーケンスがプロンプトに混入する問題を修正。
原文(Release Notes)
What's changed
- Added
/team-onboardingcommand to generate a teammate ramp-up guide from your local Claude Code usage- Added OS CA certificate store trust by default, so enterprise TLS proxies work without extra setup (set
CLAUDE_CODE_CERT_STORE=bundledto use only bundled CAs)/ultraplanand other remote-session features now auto-create a default cloud environment instead of requiring web setup first- Improved brief mode to retry once when Claude responds with plain text instead of a structured message
- Improved focus mode: Claude now writes more self-contained summaries since it knows you only see its final message
- Improved tool-not-available errors to explain why and how to proceed when the model calls a tool that exists but isn't available in the current context
- Improved rate-limit retry messages to show which limit was hit and when it resets instead of an opaque seconds countdown
- Improved refusal error messages to include the API-provided explanation when available
- Improved
claude -p --resume <name>to accept session titles set via/renameor--name- Improved settings resilience: an unrecognized hook event name in
settings.jsonno longer causes the entire file to be ignored- Improved plugin hooks from plugins force-enabled by managed settings to run when
allowManagedHooksOnlyis set- Improved
/pluginandclaude plugin updateto show a warning when the marketplace could not be refreshed, instead of silently reporting a stale version- Improved plan mode to hide the "Refine with Ultraplan" option when the user's org or auth setup can't reach Claude Code on the web
- Improved beta tracing to honor
OTEL_LOG_USER_PROMPTS,OTEL_LOG_TOOL_DETAILS, andOTEL_LOG_TOOL_CONTENT; sensitive span attributes are no longer emitted unless opted in- Improved SDK
query()to clean up subprocess and temp files when consumersbreakfromfor awaitor useawait using- Fixed a command injection vulnerability in the POSIX
whichfallback used by LSP binary detection- Fixed a memory leak where long sessions retained dozens of historical copies of the message list in the virtual scroller
- Fixed
--resume/--continuelosing conversation context on large sessions when the loader anchored on a dead-end branch instead of the live conversation- Fixed
--resumechain recovery bridging into an unrelated subagent conversation when a subagent message landed near a main-chain write gap- Fixed a crash on
--resumewhen a persisted Edit/Write tool result was missing itsfile_path- Fixed a hardcoded 5-minute request timeout that aborted slow backends (local LLMs, extended thinking, slow gateways) regardless of
API_TIMEOUT_MS- Fixed
permissions.denyrules not overriding a PreToolUse hook'spermissionDecision: "ask"— previously the hook could downgrade a deny into a prompt- Fixed
--setting-sourceswithoutusercausing background cleanup to ignorecleanupPeriodDaysand delete conversation history older than 30 days- Fixed Bedrock SigV4 authentication failing with 403 when
ANTHROPIC_AUTH_TOKEN,apiKeyHelper, orANTHROPIC_CUSTOM_HEADERSset an Authorization header- Fixed
claude -w <name>failing with "already exists" after a previous session's worktree cleanup left a stale directory- Fixed subagents not inheriting MCP tools from dynamically-injected servers
- Fixed sub-agents running in isolated worktrees being denied Read/Edit access to files inside their own worktree
- Fixed sandboxed Bash commands failing with
mktemp: No such file or directoryafter a fresh boot- Fixed
claude mcp servetool calls failing with "Tool execution failed" in MCP clients that validateoutputSchema- Fixed
RemoteTriggertool'srunaction sending an empty body and being rejected by the server- Fixed several
/resumepicker issues: narrow default view hiding sessions from other projects, unreachable preview on Windows Terminal, incorrect cwd in worktrees, session-not-found errors not surfacing in stderr, terminal title not being set, and resume hint overlapping the prompt input- Fixed Grep tool ENOENT when the embedded ripgrep binary path becomes stale (VS Code extension auto-update, macOS App Translocation); now falls back to system
rgand self-heals mid-session- Fixed
/btwwriting a copy of the entire conversation to disk on every use- Fixed
/contextFree space and Messages breakdown disagreeing with the header percentage- Fixed several plugin issues: slash commands resolving to the wrong plugin with duplicate
name:frontmatter,/plugin updatefailing withENAMETOOLONG, Discover showing already-installed plugins, directory-source plugins loading from a stale version cache, and skills not honoringcontext: forkandagentfrontmatter fields- Fixed the
/mcpmenu offering OAuth-specific actions for MCP servers configured withheadersHelper; Reconnect is now offered instead to re-invoke the helper script- Fixed
ctrl+],ctrl+\, andctrl+^keybindings not firing in terminals that send raw C0 control bytes (Terminal.app, default iTerm2, xterm)- Fixed
/loginOAuth URL rendering with padding that prevented clean mouse selection- Fixed rendering issues: flicker in non-fullscreen mode when content above the visible area changed, terminal scrollback being wiped during long sessions in non-fullscreen mode, and mouse-scroll escape sequences occasionally leaking into the prompt as text
- Fixed crash when
settings.jsonenv values are numbers instead of strings- Fixed in-app settings writes (e.g.
/add-dir --remember,/config) not refreshing the in-memory snapshot, preventing removed directories from being revoked mid-session- Fixed custom keybindings (
~/.claude/keybindings.json) not loading on Bedrock, Vertex, and other third-party providers- Fixed
claude --continue -pnot correctly continuing sessions created by-por the SDK- Fixed several Remote Control issues: worktrees removed on session crash, connection failures not persisting in the transcript, spurious "Disconnected" indicator in brief mode for local sessions, and
/remote-controlfailing over SSH when onlyCLAUDE_CODE_ORGANIZATION_UUIDis set- Fixed
/insightssometimes omitting the report file link from its response- [VSCode] Fixed the file attachment below the chat input not clearing when the last editor tab is closed