docs: Claude Code v2.1.220 - deep subagent stream forwarding, MCP CI error detection, hook security - #1109
Merged
Conversation
…error detection, hook security 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: This release firms up the headless/SDK story for multi-agent pipelines. If you're building anything that drives Claude Code programmatically — CI runners, orchestration layers, SDK hosts — three changes land together that you need to know about: nested subagent messages now propagate up through the stream, misconfigured MCP servers are now detectable without running the full session, and a security tightening means subagent hooks no longer fire from untrusted directories. The subagent name restriction (no
:in names) is a quiet breaking change that will silently drop hook configs for anyone who already has:in an agent filename.HIGHLIGHTS:
--output-format stream-jsonstream withparent_tool_use_idset to the spawning Agent tool call ID. Before v2.1.219, nested subagent messages were silently dropped. SDK consumers can now rebuild the full nesting tree by following those IDs. Requires--forward-subagent-textorCLAUDE_CODE_FORWARD_SUBAGENT_TEXT.system/initstream event now includesmcp_server_errors— an array of--mcp-configentries skipped at startup due to bad config (unknown type, missingurltype, reserved name, etc.). CI can now gate on a non-empty array instead of running blind. Previously, invalid MCP entries were silently skipped; you'd only catch them via stderr in a terminal..claude/agents/markdown files now only fire if the containing folder has been trusted via the workspace trust dialog. Before v2.1.218, hooks could run from untrusted folders including non-interactive CI sessions. The agent itself still runs; only its frontmatter hooks are suppressed until you trust the folder.:(v2.1.218): The:character is now reserved for plugin-scoped agent identifiers likemy-plugin:reviewer. Claude Code silently skips any agent file whose name contains:and logs to the debug log. Before v2.1.218, such names were accepted — silent migration hazard if you have any.interrupt_cancel_queued_v1added to thesystem/initcapabilities array alongside the existinginterrupt_receipt_v1.wrap,title=attributes, prompt>marker removed).Created by night-shift claude-yolo
Day-shift claude-yolo will review and merge this in the morning