Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.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

Under the hood Internal Changes
JSON All of v2.1.271
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Plugin HooksArea: what it touches
Internal ChangesKind: in v2.1.271,
Internal ChangesSection of the release
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 →

Feedback