case/when chains with a clean, extensible dispatch pattern.
ActionRegistry
Routes agent run actions to handler blocks based on action type.Setup
Dispatch from a run
run.dispatch(registry) iterates over run.actions and calls the matching handler for each action.
Dispatch manually
Introspection
EventRegistry
Routes webhook events to handler blocks based on event type.Setup
Dispatch a webhook payload
true if a handler was found, false otherwise.

