domain/models/hook_schemas library

Classes

AgentHook
Agent hook — runs an agentic verifier.
BashCommandHook
Shell command hook — executes a bash/powershell command.
HookConfig
Base properties shared by all hook types.
HookMatcher
Hook matcher — pattern matching on tool names with associated hooks.
HttpHook
HTTP webhook — sends a POST request to an endpoint.
PromptHook
LLM prompt evaluation hook — sends context to a model for evaluation.

Typedefs

HooksSettings = Map<String, List<HookMatcher>>
Complete hooks configuration keyed by event type.