Skip to main content

Crate neuron_hooks

Crate neuron_hooks 

Source
Expand description

Hook registry and composition for neuron.

The HookRegistry collects multiple Hook implementations into an ordered pipeline. At each hook point, hooks are dispatched in registration order. The pipeline short-circuits on Halt, SkipTool, or ModifyToolInput — subsequent hooks are not called. Hook errors are logged and the pipeline continues (errors don’t halt).

Structs§

HookRegistry
A registry that dispatches hook events to an ordered pipeline of hooks.