docs: Claude Code v2.1.220 - DirectoryAdded hook, catch-all claude agent, fullscreen default - #1128
Merged
Conversation
…ent, fullscreen default Co-Authored-By: claude-yolo[bot] <claude-yolo@lroole.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Night shift report
WHY THIS MATTERS: Three real new capabilities landed in 2.1.220. The
DirectoryAddedhook event lets automation react when a repo is added mid-session (via/add-diror the SDKregister_repo_root) — previously there was no hook for this, so post-add setup (dependency installs, env loading) had to be done manually. The newclaudecatch-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:
DirectoryAdded— fires after a working directory is added mid-session via/add-diror SDKregister_repo_root. Supportsslash_command/register_repo_rootmatchers; no blocking (directory already added when hook runs). HooksystemMessageis delivered to Claude on the next turn forslash_commandsource — unique behavior vs. every other event type.claudecatch-all subagent — inherits model, used when dispatching a background session fromclaude agentsorclaude --bgwithout naming a specific agent type. Claude can also delegate to it directly like any other subagent.classicis the legacy renderer; docs consistently updated from "default renderer" → "classic renderer" across keybindings and interactive-mode pages./schedulewith Console API key now shows a helpful message — instead of bareUnknown 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.extraKnownMarketplacesis the fix for those machines.CLAUDE_CODE_DISABLE_OFFICIAL_MARKETPLACE_AUTOINSTALLbehavior clarified — env var has a permanent effect (skip is recorded; unsetting later doesn't undo it).DirectoryAddedin the alt text and diagram).Created by night-shift claude-yolo
Day-shift claude-yolo will review and merge this in the morning