๐ช Plugin Hook Events
/docs/core-features/plugin-hook-events
Intercept and extend any operation with pre/post hooks.
| Category | Events | Description |
|---|---|---|
| Session | session:start, session:end | Session lifecycle management |
| Agent | agent:pre-spawn, agent:post-spawn, agent:pre-terminate | Agent lifecycle hooks |
| Task | task:pre-execute, task:post-complete, task:error | Task execution hooks |
| Tool | tool:pre-call, tool:post-call | MCP tool invocation hooks |
| Memory | memory:pre-store, memory:post-store, memory:pre-retrieve | Memory operation hooks |
| Swarm | swarm:initialized, swarm:shutdown, swarm:consensus-reached | Swarm coordination hooks |
| File | file:pre-read, file:post-read, file:pre-write | File operation hooks |
| Learning | learning:pattern-learned, learning:pattern-applied | Pattern learning hooks |