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

Defining AI Agents: The Workflow Test
A Reddit discussion questions whether many AI agent products are essentially chatbots with a to-do list, proposing a test based on their ability to complete workflows across multiple tools without manual intervention.

Elevated Errors on Claude Opus 4.7: Status Update and What to Expect
Claude Opus 4.7 is experiencing elevated errors as of 2026-05-19T15:21Z. Check status.claude.com for progress and resolutions.

Netlify CTO Dana Lawson: Writing Code Is No Longer the Job
Netlify CTO Dana Lawson argues that developer work shifts from writing code to orchestrating AI agents. Engineers become experience designers, curating agent outputs and managing system boundaries.

Benchmarking the Latest AI Models: The Rise of Extreme Models
A detailed benchmarking of 40 new AI models reveals a split market with 'God Mode' and 'Flash Mode' leading the way. Mid-range models are now considered obsolete.