One change
Intercept and control agent behavior with hooks
agent-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.
agent-sdk/hooks Changed · +1 / -1 lines
from line 163
| `Setup` | No | Yes | Session setup/maintenance | Run initialization tasks | | `TeammateIdle` | No | Yes | Teammate becomes idle | Reassign work or notify | | `TaskCreated` | No | Yes | A task is created via the `TaskCreate` tool | Enforce task naming conventions | -| `TaskCompleted` | No | Yes | Background task completes | Aggregate results from parallel tasks | +| [`TaskCompleted`](/docs/en/hooks#taskcompleted) | No | Yes | A task is marked completed | Require passing tests before a task closes | | `Elicitation` | No | Yes | An MCP server requests user input mid-task | Respond to MCP input requests programmatically | | `ElicitationResult` | No | Yes | A user responds to an MCP elicitation | Modify or block the response before it returns to the server | | `ConfigChange` | No | Yes | Configuration file changes | Reload settings dynamically |