Claude Code v2.1.178 Adds Tool(param:value) Permission Rules, Fixes Subagent & Auth Issues

Claude Code v2.1.178 ships with granular permission rules via Tool(param:value) syntax, improved nested .claude/ directory handling, and a hefty list of bug fixes targeting subagents, authentication, and CLI stability.
Permission Rules: Tool(param:value)
You can now match tool input parameters in permission rules using Tool(param:value) syntax with * wildcard support. For example:
Agent(model:opus)
blocks subagents using the Opus model. This closes a gap where subagent spawns in auto mode weren't evaluated by the classifier before launch — they now are.
Nested .claude/ Directories
Skills in nested .claude/skills directories now load when you're working on files in that subtree. On name clashes, the nested skill appears as <dir>:<name> so both remain available. Similarly, agent, workflow, and output-style closest to the working directory win on collision, and project-scope workflow saves target the nearest existing .claude/workflows/.
Workflow Keyword Highlighting
The workflow prompt keyword now uses a purple shimmer highlight and triggers only on explicit phrases like "run a workflow" or "workflow:", not any mention of the word.
/doctor Improvements
The /doctor command now uses a consistent flat tree layout across all sections, clearer section status icons, and highlighted command names.
Bug Fixes
- CLI crash: Fixed out-of-memory crash when inheriting stale websocket/OAuth file-descriptor environment variables from a parent process.
- Chrome silent failure: Fixed Claude in Chrome failing to connect when the OAuth token belongs to a different account than the Claude Code login.
- Subagent fixes: Viewing a subagent's transcript now shows tool results and live progress. Messages sent while it finishes its turn are no longer dropped. Backgrounding a running subagent with
Ctrl+Bno longer restarts it from scratch. - Auth cache: Fixed stale cached request configuration causing model requests to continue failing with auth errors after credentials were refreshed outside the session.
- Compaction: Fixed
--fallback-modelnot being honored during compaction — now falls back to the configured fallback model chain on overload or model-availability errors. - Background sessions: Sessions created with
/bgor←←after a turn finished no longer show "Working" forever in the agents list. - MCP disallowedTools: Fixed
mcp__server,mcp__server__*, andmcp__*specs in subagentdisallowedToolsbeing silently ignored. - Vim mode undo:
unow steps through NORMAL/VISUAL-mode commands one at a time instead of merging quick successive commands into a single undo step. - 401 fix: Fixed
claude agentsworkers failing with 401 Invalid bearer token when the daemon started from a shell with customANTHROPIC_BASE_URLandANTHROPIC_AUTH_TOKEN.
/bug Enhancement
/bug now requires a description before submitting, and no longer uses model-refusal text as the GitHub issue title.
VSCode-Specific Fix
Pressing Esc to dismiss a CJK IME candidate window no longer cancels the running Claude task.
📖 Read the full source: GitHub Claude-Code
👀 See Also

CC v2.1.122: System Prompt Removals, Debugging Update, and Schedule Confidence Boost
Claude Code CC v2.1.122 removes the standalone phase-four plan-mode prompt, improves daemon debug context fallback, and raises the /schedule offer confidence threshold from 70%+ to 85%+.

OpenClaw 2026.4.2 and 2026.3.31 break local LLM connections
OpenClaw versions 2026.4.2 and 2026.3.31 are causing connection timeouts to locally hosted Ollama instances. The issue appears when connecting to Ubuntu boxes running locally, with error logs showing LLM request timeouts and failover decisions.

Claude Code v2.1.163: Version Pinning, Plugin List, Hook Improvements, and Critical Bug Fixes
Claude Code v2.1.163 adds requiredMinimumVersion/requiredMaximumVersion managed settings, /plugin list command, hook context improvements, and fixes for claude -p hangs, Windows EEXIST, and Bazel/EDR workflows.

Claude Code v2.1.91 Updates: Agent Design Patterns, Memory Rules, and Tool Improvements
Claude Code v2.1.91 adds a reference guide for agent design patterns covering tool surface design, context management, and caching strategies. The update simplifies memory selection rules, adds security monitoring for memory poisoning, and improves tool descriptions for Edit, ReadFile, and Write operations.