AgentHooks
Defined in: agent/hooks.ts:669
Clean hooks system with three distinct categories:
- Observers: Read-only, for logging and metrics
- Interceptors: Synchronous transformations with immediate effect
- Controllers: Async lifecycle control with short-circuit capability
Properties
Section titled “Properties”controllers?
Section titled “controllers?”
optionalcontrollers:Controllers
Defined in: agent/hooks.ts:677
Async lifecycle control hooks
interceptors?
Section titled “interceptors?”
optionalinterceptors:Interceptors
Defined in: agent/hooks.ts:674
Synchronous transformation hooks that affect current execution
observers?
Section titled “observers?”
optionalobservers:Observers
Defined in: agent/hooks.ts:671
Read-only observation hooks for logging, metrics, etc.