Expand description
Hook events — typed payloads for each extension point.
Each HookKind maps to a discrete phase of SynapsCLI’s execution loop.
HookEvent is the concrete payload dispatched to subscribers at that
phase; HookResult is what a handler returns to control execution flow.
Permission enforcement lives in crate::extensions::permissions:
every HookKind declares a required_permission
so the runtime can gate subscriptions before any payload is delivered.
Structs§
- Hook
Event - A hook event payload dispatched to extension handlers.
Enums§
- Hook
Kind - All hook event kinds in the phase-1 catalog.
- Hook
Result - What an extension handler returns after processing a hook event.