Intercept and control agent behavior with hooks changedagent-sdk/hooks
Nearest release: v2.1.233, published 20 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+1added
Lines−1removed
From line
163
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits19to this page, all time
The whole hunk
from line 163, old and new numbered
/
from line 163
163163| `Setup` | No | Yes | Session setup/maintenance | Run initialization tasks |
164164| `TeammateIdle` | No | Yes | Teammate becomes idle | Reassign work or notify |
165165| `TaskCreated` | No | Yes | A task is created via the `TaskCreate` tool | Enforce task naming conventions |
166| `TaskCompleted` | No | Yes | Background task completes | Aggregate results from parallel tasks |
166| [`TaskCompleted`](/docs/en/hooks#taskcompleted) | No | Yes | A task is marked completed | Require passing tests before a task closes |
167167| `Elicitation` | No | Yes | An MCP server requests user input mid-task | Respond to MCP input requests programmatically |
168168| `ElicitationResult` | No | Yes | A user responds to an MCP elicitation | Modify or block the response before it returns to the server |
169169| `ConfigChange` | No | Yes | Configuration file changes | Reload settings dynamically |
No line in this hunk matches that.