Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.271 ·

turn.step plugin hook events now carry an agentId

The turn.step hook event now includes an agentId field

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaPlugin Hookswhat it touches
KindInternal Changesin v2.1.271,
Under the hood

The turn.step hook event now includes an agentId field

What

Plugin hooks that intercept or verify a model's turn can listen for a turn.step event. That event's data now allows and preserves an agentId field, alongside the existing turnId, index, and messageCount fields, and the validation logic that checks incoming arguments no longer rejects that key.

Why

This lets hook code identify which agent a given turn step belongs to, useful in setups involving subagents (separate agent instances handling parts of a task).

See this entry in the whole of v2.1.271 →