Claude Code Changelog·2026年6月16日 06:35·約5分
Claude Code v2.1.178 の変更点
TL;DR
Anthropic は Claude Code のバージョン 2.1.178 をリリースし、ツール入力パラメータにワイルドカードを使用する権限ルール構文を追加した。また、ネストされたディレクトリ内のスキル読み込み機能と競合時の表示方法を改善した。
変更点
- パーミッションルールにおいて、ツールの入力パラメータに一致する
Tool(param:value)構文を追加しました(* ワイルドカード使用可)。例:Agent(model:opus)で Opus サブエージェントをブロックできます。
- ネストされた
.claude/skillsディレクトリ内のスキルは、そこでファイルを作業している際に読み込まれるようになりました。名前が競合する場合は、ネストされたスキルが:として表示され、両方が利用可能になります。
- ネストされた
.claude/ディレクトリにおいて、作業ディレクトリに最も近いエージェント、ワークフロー、および出力スタイルが優先されます。プロジェクトスコープのワークフロー保存は、現在存在する最も近い.claude/workflows/を対象とします。
- オートモードを改善しました:サブエージェントの起動前に分類器によって評価が行われるようになり、サブエージェントがレビューなしでブロックされたアクションを要求できる隙間を埋めました。
/doctorコマンドを改善しました。すべてのセクションで一貫したフラットツリーレイアウトを採用し、各セクションの状態アイコンを明確化し、コマンド名をハイライト表示します。
- スキル一覧の切り捨て警告を改善し、影響を受けるスキル記述の数を明示的に表示するようにしました。
- ワークフロープロンプトのキーワードを変更しました。紫色の輝き(シャイマー)で強調表示され、「run a workflow」や「workflow:」といった明示的なフレーズでのみトリガーされるようになり、単に「workflow」という単語が言及された場合でもトリガーされないようにしました。
- リモートコントロールのエラーメッセージを改善しました。接続失敗時には、フッターに永続的な赤色の「/rc failed」インジケーターが表示されます。「まだ有効化されていない」エラーでは、それがゲートの問題かチェックの失敗、期限切れの権限、あるいは組織ポリシーによるものかを説明します。
/bugコマンドは、提出前に記述が必要となり、以前のようにモデル拒否テキストを GitHub イシューのタイトルとして使用することはなくなりました。
- CLI が親プロセスから古い websocket/OAuth ファイル記述子環境変数を継承した際に発生するメモリ不足によるクラッシュを修正しました
- OAuth トークンが Claude Code ログインアカウントと異なる場合に、Chrome 内の Claude が接続に失敗して静かに終了する問題を修正しました
- 非対話型実行時にディレクトリ修飾名を持つネストされた .claude/skills スキルが権限プロンプトによってブロックされる問題を修正しました
- サブエージェントのいくつかの問題を修正しました:サブエージェントのトランスクリプトを表示すると、ツールの結果とライブ進行状況が表示されるようになり、ターン完了中に送信されたメッセージがドロップされなくなり、実行中のサブエージェントをバックグラウンド化 (ctrl+b) しても最初から再起動しなくなりました
- ANTHROPIC_BASE_URL と ANTHROPIC_AUTH_TOKEN を介してカスタム API ゲートウェイを持つシェルからデーモンが起動された際に、401 Invalid bearer token エラーで claude agents ワーカーが失敗する問題を修正しました
- コンパクションが --fallback-model オプションを尊重していなかった問題を修正しました:コンパクションは、過負荷やモデル利用不可エラー時に設定されたフォールバックモデルチェーンにフォールバックするようになりました
- セッション外で認証情報が更新された後でも、古いキャッシュされたリクエスト構成のために認証エラーが続いて失敗していた問題のモデルリクエストを修正しました
- /bg または ←← を使用してターン完了後に作成されたバックグラウンドセッションが、エージェントリストで永遠に「作業中」と表示される問題を修正しました
- CLAUDE_CODE_PLUGIN_KEEP_MARKETPLACE_ON_FAILURE=1 が設定されていると、新しいマーケットプレイスインストールのクローンが防止される問題を修正しました
- サブエージェントの disallowedTools 内で MCP サーバーレベルの仕様 (mcp__server, mcp__server__*, mcp__*) が静かに無視されていた問題を修正しました
- vim モードの元に戻す操作を修正:u キーを押すと、NORMAL/VISUAL モードのコマンドを連続して 1 つずつ順に元に戻すようになり、短時間に実行された複数のコマンドが 1 つの元に戻すステップに統合される現象が解消されました
- ステータスバー内のリンクで、カスタム URI スキーム(例:vscode://)を使用している場合に、Claude エージェント内でクリックしても開かなかった問題を修正しました
- [VSCode] CJK IME の候補ウィンドウを閉じるために Esc キーを押すと、実行中の Claude タスクがキャンセルされてしまう不具合を修正しました
原文を表示
What's changed
- Added Tool(param:value) syntax for permission rules to match a tool's input parameters (with * wildcard), e.g. Agent(model:opus) to block Opus subagents
- Skills in nested .claude/skills directories now load when working on files there; on a name clash, the nested skill appears as : so both stay available
- Nested .claude/ directories: the agent, workflow, and output-style closest to the working directory now wins when names collide; project-scope workflow saves now target the closest existing .claude/workflows/
- Improved auto mode: subagent spawns are now evaluated by the classifier before launch, closing a gap where a subagent could request a blocked action without review
- Improved /doctor with consistent flat tree layout across all sections, clearer section status icons, and highlighted command names
- Improved the skill listing truncation warning to show how many skill descriptions are affected
- Changed the workflow prompt keyword to use a purple shimmer highlight and trigger only on explicit phrases like "run a workflow" or "workflow:", not on any mention of the word
- Improved Remote Control error messages: connection failures now show a persistent red "/rc failed" indicator in the footer, and the "not yet enabled" error now explains whether it's a gate, a check failure, stale entitlement, or org policy
- /bug now requires a description before submitting, and no longer uses model-refusal text as the GitHub issue title
- Fixed a crash (out-of-memory) when the CLI inherits a stale websocket/OAuth file-descriptor environment variable from a parent process
- Fixed Claude in Chrome silently failing to connect when the OAuth token belongs to a different account than the Claude Code login
- Fixed nested .claude/skills skills with directory-qualified names being blocked by permission prompts in non-interactive runs
- Fixed several subagent issues: viewing a subagent's transcript now shows tool results and live progress, messages sent while it finishes its turn are no longer dropped, and backgrounding a running subagent (ctrl+b) no longer restarts it from scratch
- Fixed claude agents workers failing with 401 Invalid bearer token when the daemon was started from a shell with a custom API gateway via ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN
- Fixed compaction not honoring --fallback-model: compaction now falls back to the configured fallback model chain on overload or model-availability errors
- Fixed model requests continuing to fail with auth errors after credentials were refreshed outside the session, due to a stale cached request configuration
- Fixed background sessions created with /bg or ←← after a turn finished showing "Working" forever in the agents list
- Fixed CLAUDE_CODE_PLUGIN_KEEP_MARKETPLACE_ON_FAILURE=1 preventing fresh marketplace installs from cloning
- Fixed MCP server-level specs (mcp__server, mcp__server__*, mcp__*) in subagent disallowedTools being silently ignored
- Fixed vim mode undo: u now steps through NORMAL/VISUAL-mode commands one at a time instead of merging commands in quick succession into a single undo step
- Fixed statusline links with custom URI schemes (e.g. vscode://) not opening when clicked in claude agents
- [VSCode] Fixed pressing Esc to dismiss a CJK IME candidate window canceling the running Claude task
この記事をシェア
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み