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

Fable 5 Wins on Real-World Fraud Detection: Claude 4.x Family vs GPT-5.5 Benchmarked
Five frontier models (Fable 5, Opus 4.8, Sonnet 4.6, Haiku 4.5, GPT-5.5-high) were given the same cold prompt to audit live crowdfunding campaigns on zooid.fund. Only Fable 5 verified claims against the open web, catching duplicate creators and real-world events.

Claude Opus 4.6 Breaks CLAUDE.md File References
Users report that Claude Opus 4.6 no longer automatically loads files referenced in CLAUDE.md, forcing manual intervention for each file.

Anthropic Delays Claude Code API Rate Limit Changes
Anthropic has rolled back the planned ban on Claude Agent SDK and claude -p from subscription rate limits, originally scheduled for June 15.

Testing OpenClaw on UmbrelOS: What to Know
OpenClaw's integration with UmbrelOS is being explored, potentially offering a new environment for AI-enhanced coding tools.