Skip to main content

Module hooks

Module hooks 

Source
Expand description

Interceptor hooks for the execution pipeline.

Structs§

ErrorEvent
Payload for on_error hooks.
ExecInput
Payload for before_exec hooks.
ExecOutput
Payload for after_exec hooks.
ExitEvent
Payload for on_exit hooks.
Hooks
Frozen registry of interceptor hooks.
HttpRequestEvent
Payload for before_http hooks.
HttpResponseEvent
Payload for after_http hooks.
ToolEvent
Payload for before_tool / after_tool hooks.
ToolResult
Payload for after_tool hooks.

Enums§

HookAction
Result returned by an interceptor hook.

Type Aliases§

Interceptor
An interceptor hook: receives owned data, returns HookAction.