Skip to main content

Crate cersei_hooks

Crate cersei_hooks 

Source
Expand description

cersei-hooks: Hook/middleware system for the Cersei SDK.

Hooks intercept events in the agent lifecycle (pre/post tool use, model turns, etc.) and can block, modify, or inject messages.

Structs§

HookContext
ShellHook
A hook that runs a shell command from settings.json configuration.

Enums§

HookAction
HookEvent

Traits§

Hook

Functions§

run_hooks
Execute all matching hooks for a given event, returning the first non-Continue action.