
Claude Code v2.1.140 — Agent subagent_type matching, /loop wakeup fix
What's new in Claude Code v2.1.140
Four quality-of-life changes that take real paper cuts out of advanced workflows: subagent_type matching becomes case- and separator-insensitive on the Agent tool, /loop stops scheduling redundant wakeups for self-notifying tasks, plugin authors now get a warning when a plugin.json key silently shadows a default component folder, and /goal reports cleanly instead of hanging when hooks are disabled.
Agent tool subagent_type matching is now case- and separator-insensitive
Why: Specifying subagent_type had to match the exact slug; common variants like "Code Reviewer" failed against code-reviewer for no good reason.
What: The Agent tool now resolves subagent_type case- and separator-insensitively, so "Code Reviewer", "code reviewer", and "code-reviewer" all match.
How: No action — slugs you'd intuitively write now just work.
/loop no longer schedules redundant wakeups for self-notifying tasks
Why: /loop was scheduling polling wakeups even when its watched task already notifies on completion, burning context and cache for no useful work.
What: /loop now skips redundant wakeups when the task it's watching emits its own completion signal.
How: No action — existing /loop invocations get cheaper automatically.
Plugins warn when default component folders are silently shadowed
Why: Setting a commands (or similar) key in plugin.json was silently disabling discovery of the default commands/ folder, leaving plugin authors confused why their components didn't appear.
What: Plugins now warn when a default folder is shadowed by an explicit plugin.json key. The warning shows up in /doctor, claude plugin list, and /plugin.
How: No action; check /doctor after upgrade if you suspect a plugin is missing components.
/goal reports clearly when hooks are disabled
Why: When disableAllHooks or allowManagedHooksOnly is set, /goal was silently hanging on an indicator that never resolved — looked like a broken command.
What: /goal now shows a clear "hooks are disabled" message instead of hanging.
How: No action — the failure mode is now diagnosable.
Hosts: Alex Chen & Sarah Kim · Generated from the official Claude Code CHANGELOG.
Full changelog: github.com/anthropics/claude-code/CHANGELOG.md
Claude Code docs: docs.claude.com/en/docs/claude-code
- (00:00) - Agent subagent_type case-insensitive matching
- (00:57) - /loop drops redundant wakeups
- (01:22) - Plugin default-folder shadowing warning
- (01:49) - /goal reports hooks-disabled cleanly
Information
- Show
- FrequencyUpdated Daily
- PublishedMay 13, 2026 at 6:42 AM UTC
- Length3 min
- Episode24
- RatingClean