Claude Code Changelog

v2.1.101

2026年4月10日 GitHub で見る

📝 概要

チーム向けオンボーディング機能、エンタープライズTLSプロキシ対応、多数のバグ修正と改善を含むメジャーアップデート

🔄 主な変更点

新機能

  • /team-onboarding コマンド追加:ローカルのClaude Code使用状況から新メンバー向けガイドを自動生成
  • OS CA証明書ストアをデフォルトで信頼:エンタープライズTLSプロキシが追加設定不要で動作
  • /ultraplan などのリモートセッション機能がデフォルトクラウド環境を自動作成

改善

  • ブリーフモード・フォーカスモードの応答精度向上
  • エラーメッセージの詳細化(ツール使用不可、レート制限、拒否理由など)
  • claude -p --resume <name>/rename--name で設定したセッションタイトルに対応
  • プラグイン更新時の警告表示改善
  • ベータトレーシングのセンシティブデータ保護強化

バグ修正

  • POSIX which フォールバックのコマンドインジェクション脆弱性を修正
  • 長時間セッションのメモリリーク修正
  • --resume での会話コンテキスト喪失問題を修正
  • Bedrock SigV4認証の403エラー修正
  • サブエージェントのMCPツール継承問題修正
  • 多数のUI/UX関連の不具合修正

💡 解説・活用案

今回のアップデートで特に注目すべきは /team-onboarding コマンドです。これにより、あなたのClaude Code使用パターンから自動的に新メンバー向けのオンボーディング資料を生成できるため、チームのナレッジ共有が効率化されます。また、エンタープライズ環境でのTLSプロキシ対応により、企業ネットワーク内での導入障壁が大幅に下がりました。開発チームでの採用を検討している場合、これらの機能は即座に価値を発揮するでしょう。

🌐 日本語訳

変更内容

  • /team-onboarding コマンドを追加:ローカルのClaude Code使用状況から、チームメイト向けのランプアップガイドを生成します
  • OS CA証明書ストアをデフォルトで信頼するようにしました。これによりエンタープライズTLSプロキシが追加設定なしで動作します(バンドルされたCAのみを使用するには CLAUDE_CODE_CERT_STORE=bundled を設定)
  • /ultraplan およびその他のリモートセッション機能が、事前のWeb設定を必要とせず、デフォルトのクラウド環境を自動作成するようになりました
  • ブリーフモードを改善:Claudeが構造化メッセージの代わりにプレーンテキストで応答した場合、1回再試行するようになりました
  • フォーカスモードを改善:Claudeは最終メッセージのみを見ることを知っているため、より自己完結的な要約を書くようになりました
  • ツール使用不可エラーを改善:モデルが存在するが現在のコンテキストでは使用できないツールを呼び出した場合、その理由と対処方法を説明するようになりました
  • レート制限再試行メッセージを改善:不透明な秒数カウントダウンではなく、どの制限に達したか、いつリセットされるかを表示するようになりました
  • 拒否エラーメッセージを改善:利用可能な場合、APIから提供された説明を含めるようになりました
  • claude -p --resume <name> を改善:/rename または --name で設定されたセッションタイトルを受け付けるようになりました
  • 設定の耐性を改善:settings.json 内の認識されないフックイベント名があっても、ファイル全体が無視されなくなりました
  • 管理設定によって強制的に有効化されたプラグインのプラグインフックが、allowManagedHooksOnly が設定されている場合でも実行されるように改善しました
  • /plugin および claude plugin update を改善:マーケットプレイスを更新できなかった場合、古いバージョンを静かに報告する代わりに警告を表示するようになりました
  • プランモードを改善:ユーザーの組織または認証設定がWeb上のClaude Codeに到達できない場合、「Ultraplanで洗練」オプションを非表示にするようになりました
  • ベータトレーシングを改善:OTEL_LOG_USER_PROMPTSOTEL_LOG_TOOL_DETAILSOTEL_LOG_TOOL_CONTENT を尊重するようになりました。センシティブなスパン属性は、オプトインしない限り出力されなくなりました
  • SDK query() を改善:コンシューマーが for await から break するか、await using を使用した場合、サブプロセスと一時ファイルをクリーンアップするようになりました
  • LSPバイナリ検出で使用されるPOSIX which フォールバックのコマンドインジェクション脆弱性を修正しました
  • 長時間セッションで仮想スクローラーがメッセージリストの数十の履歴コピーを保持していたメモリリークを修正しました
  • --resume/--continue が、ローダーが実際の会話ではなく行き止まりのブランチにアンカーした場合、大規模セッションで会話コンテキストを失う問題を修正しました
  • サブエージェントメッセージがメインチェーンの書き込みギャップ近くに配置されたときに、--resume チェーン回復が無関係なサブエージェント会話にブリッジする問題を修正しました
  • 永続化されたEdit/Writeツール結果に file_path が欠けている場合の --resume でのクラッシュを修正しました
  • ハードコードされた5分のリクエストタイムアウトが、API_TIMEOUT_MS に関係なく遅いバックエンド(ローカルLLM、拡張思考、遅いゲートウェイ)を中断していた問題を修正しました
  • permissions.deny ルールがPreToolUseフックの permissionDecision: "ask" を上書きしない問題を修正しました。以前はフックが拒否をプロンプトにダウングレードできていました
  • user なしの --setting-sources がバックグラウンドクリーンアップに cleanupPeriodDays を無視させ、30日以上前の会話履歴を削除していた問題を修正しました
  • ANTHROPIC_AUTH_TOKENapiKeyHelper、または ANTHROPIC_CUSTOM_HEADERS がAuthorizationヘッダーを設定した場合、Bedrock SigV4認証が403で失敗する問題を修正しました
  • 以前のセッションのワークツリークリーンアップが古いディレクトリを残した後、claude -w <name> が「既に存在します」で失敗する問題を修正しました
  • サブエージェントが動的に注入されたサーバーからMCPツールを継承しない問題を修正しました
  • 分離されたワークツリーで実行されるサブエージェントが、自分のワークツリー内のファイルへのRead/Editアクセスを拒否される問題を修正しました
  • 新規起動後、サンドボックス化されたBashコマンドが mktemp: No such file or directory で失敗する問題を修正しました
  • claude mcp serve ツール呼び出しが、outputSchema を検証するMCPクライアントで「ツール実行失敗」で失敗する問題を修正しました
  • RemoteTrigger ツールの run アクションが空のボディを送信し、サーバーに拒否される問題を修正しました
  • いくつかの /resume ピッカーの問題を修正しました:デフォルトビューが狭く他のプロジェクトのセッションを隠す、Windows Terminalでプレビューに到達できない、ワークツリーで間違ったcwd、session-not-foundエラーがstderrに表示されない、ターミナルタイトルが設定されない、再開ヒントがプロンプト入力と重なる
  • 埋め込まれたripgrepバイナリパスが古くなった場合(VS Code拡張機能の自動更新、macOS App Translocation)のGrepツールENOENTを修正しました。現在はシステムの rg にフォールバックし、セッション中に自己修復します
  • /btw が使用されるたびに会話全体のコピーをディスクに書き込む問題を修正しました
  • /context の空き容量とメッセージの内訳がヘッダーのパーセンテージと一致しない問題を修正しました
  • いくつかのプラグインの問題を修正しました:重複した name: フロントマターで間違ったプラグインにスラッシュコマンドが解決される、/plugin updateENAMETOOLONG で失敗する、Discoverが既にインストールされているプラグインを表示する、ディレクトリソースプラグインが古いバージョンキャッシュからロードされる、スキルが context: fork および agent フロントマターフィールドを尊重しない
  • /mcp メニューが、headersHelper で設定されたMCPサーバーに対してOAuth固有のアクションを提供する問題を修正しました。代わりにヘルパースクリプトを再呼び出すReconnectが提供されるようになりました
  • 生のC0制御バイトを送信するターミナル(Terminal.app、デフォルトiTerm2、xterm)で ctrl+]ctrl+\ctrl+^ キーバインディングが動作しない問題を修正しました
  • /login OAuth URLがパディング付きでレンダリングされ、マウスでのクリーンな選択ができなかった問題を修正しました
  • レンダリングの問題を修正しました:フルスクリーンモードでない場合に可視領域より上のコンテンツが変更されたときのちらつき、フルスクリーンモードでない長時間セッション中にターミナルのスクロールバックが消去される、マウススクロールエスケープシーケンスが時々プロンプトにテキストとしてリークする
  • settings.json の環境変数値が文字列ではなく数値の場合のクラッシュを修正しました
  • アプリ内設定の書き込み(例:/add-dir --remember/config)がメモリ内スナップショットを更新せず、削除されたディレクトリがセッション中に取り消されない問題を修正しました
  • Bedrock、Vertex、その他のサードパーティプロバイダーでカスタムキーバインディング(~/.claude/keybindings.json)が読み込まれない問題を修正しました
  • claude --continue -p-p またはSDKによって作成されたセッションを正しく継続しない問題を修正しました
  • いくつかのRemote Controlの問題を修正しました:セッションクラッシュ時にワークツリーが削除される、接続失敗がトランスクリプトに保持されない、ローカルセッションのブリーフモードでの偽の「切断」インジケーター、CLAUDE_CODE_ORGANIZATION_UUID のみが設定されている場合にSSH経由で /remote-control が失敗する
  • /insights が応答からレポートファイルリンクを省略することがある問題を修正しました
  • [VSCode] チャット入力の下のファイル添付が、最後のエディタタブが閉じられたときにクリアされない問題を修正しました
原文(英語)を表示

What's changed

  • Added /team-onboarding command 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=bundled to use only bundled CAs)
  • /ultraplan and 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 /rename or --name
  • Improved settings resilience: an unrecognized hook event name in settings.json no longer causes the entire file to be ignored
  • Improved plugin hooks from plugins force-enabled by managed settings to run when allowManagedHooksOnly is set
  • Improved /plugin and claude plugin update to 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, and OTEL_LOG_TOOL_CONTENT; sensitive span attributes are no longer emitted unless opted in
  • Improved SDK query() to clean up subprocess and temp files when consumers break from for await or use await using
  • Fixed a command injection vulnerability in the POSIX which fallback 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/--continue losing conversation context on large sessions when the loader anchored on a dead-end branch instead of the live conversation
  • Fixed --resume chain recovery bridging into an unrelated subagent conversation when a subagent message landed near a main-chain write gap
  • Fixed a crash on --resume when a persisted Edit/Write tool result was missing its file_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.deny rules not overriding a PreToolUse hook's permissionDecision: "ask" — previously the hook could downgrade a deny into a prompt
  • Fixed --setting-sources without user causing background cleanup to ignore cleanupPeriodDays and delete conversation history older than 30 days
  • Fixed Bedrock SigV4 authentication failing with 403 when ANTHROPIC_AUTH_TOKEN, apiKeyHelper, or ANTHROPIC_CUSTOM_HEADERS set 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 directory after a fresh boot
  • Fixed claude mcp serve tool calls failing with "Tool execution failed" in MCP clients that validate outputSchema
  • Fixed RemoteTrigger tool's run action sending an empty body and being rejected by the server
  • Fixed several /resume picker 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 rg and self-heals mid-session
  • Fixed /btw writing a copy of the entire conversation to disk on every use
  • Fixed /context Free 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 update failing with ENAMETOOLONG, Discover showing already-installed plugins, directory-source plugins loading from a stale version cache, and skills not honoring context: fork and agent frontmatter fields
  • Fixed the /mcp menu offering OAuth-specific actions for MCP servers configured with headersHelper; Reconnect is now offered instead to re-invoke the helper script
  • Fixed ctrl+], ctrl+\, and ctrl+^ keybindings not firing in terminals that send raw C0 control bytes (Terminal.app, default iTerm2, xterm)
  • Fixed /login OAuth 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.json env 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 -p not correctly continuing sessions created by -p or 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-control failing over SSH when only CLAUDE_CODE_ORGANIZATION_UUID is set
  • Fixed /insights sometimes 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