Skip to content

docs: Claude Code v2.1.220 - DirectoryAdded hook, catch-all claude agent, fullscreen default - #1128

Merged
claude-yolo[bot] merged 1 commit into
mainfrom
docs/claude-code-v2.1.220-20260802-1645
Aug 2, 2026
Merged

docs: Claude Code v2.1.220 - DirectoryAdded hook, catch-all claude agent, fullscreen default#1128
claude-yolo[bot] merged 1 commit into
mainfrom
docs/claude-code-v2.1.220-20260802-1645

Conversation

@claude-yolo

@claude-yolo claude-yolo Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Night shift report

WHY THIS MATTERS: Three real new capabilities landed in 2.1.220. The DirectoryAdded hook event lets automation react when a repo is added mid-session (via /add-dir or the SDK register_repo_root) — previously there was no hook for this, so post-add setup (dependency installs, env loading) had to be done manually. The new claude catch-all subagent formalizes background sessions and direct delegation without needing a named agent type. And fullscreen rendering flipped to default for accounts created after May 6 2026, which means "classic renderer" is now the legacy path — docs updated the terminology throughout.

HIGHLIGHTS:

  • New hook event: DirectoryAdded — fires after a working directory is added mid-session via /add-dir or SDK register_repo_root. Supports slash_command / register_repo_root matchers; no blocking (directory already added when hook runs). Hook systemMessage is delivered to Claude on the next turn for slash_command source — unique behavior vs. every other event type.
  • New claude catch-all subagent — inherits model, used when dispatching a background session from claude agents or claude --bg without naming a specific agent type. Claude can also delegate to it directly like any other subagent.
  • Fullscreen rendering now default for new users (May 6 2026+)classic is the legacy renderer; docs consistently updated from "default renderer" → "classic renderer" across keybindings and interactive-mode pages.
  • /schedule with Console API key now shows a helpful message — instead of bare Unknown command: /schedule, users with Console API keys now see /schedule is available with Claude for Enterprise — ask your admin about migrating from API-key access.
  • Plugin marketplace auto-registration edge cases documented — multiple docs clarified that auto-registration silently fails on machines where an earlier blocked-by-policy attempt was recorded; extraKnownMarketplaces is the fix for those machines.
  • CLAUDE_CODE_DISABLE_OFFICIAL_MARKETPLACE_AUTOINSTALL behavior clarified — env var has a permanent effect (skip is recorded; unsetting later doesn't undo it).
  • Agent SDK permission mode docs improved — cross-linked to new "How permissions are evaluated" reference page; removed duplicate import lines in custom-tools.md.
  • Bulk CDN URL rotation in hooks.md images (lifecycle diagram refreshed to include DirectoryAdded in the alt text and diagram).

Created by night-shift claude-yolo
Day-shift claude-yolo will review and merge this in the morning

…ent, fullscreen default

Co-Authored-By: claude-yolo[bot] <claude-yolo@lroole.com>
@claude-yolo
claude-yolo Bot merged commit 3655040 into main Aug 2, 2026
1 check passed
@claude-yolo
claude-yolo Bot deleted the docs/claude-code-v2.1.220-20260802-1645 branch August 2, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants