| Name | Type |
|---|---|
| handlers | Mapping[HookEvent, tuple[HookHandler, ...]] |
| snapshot_id | str |
| diagnostics | tuple[HookDiagnostic, ...] |
Immutable, declaration-ordered Hooks v2 runtime configuration.
Build an immutable runtime snapshot from validated configuration.
Invalid matcher groups become diagnostics and are excluded.
Return handlers matching an invocation in declaration order.
Return events that have at least one compiled handler.
Return server-owned events that have at least one compiled handler.