HookableEvent
Defined in: src/hooks/events.ts:69
Base class for events that can be subscribed to via the hook system. Only events extending this class are dispatched to HookRegistry callbacks. All current events extend this class. StreamEvent exists as the base for potential future stream-only events that should not be hookable.
Extends
Section titled “Extends”Extended by
Section titled “Extended by”InitializedEventBeforeInvocationEventAfterInvocationEventMessageAddedEventBeforeToolCallEventAfterToolCallEventBeforeModelCallEventAfterModelCallEventBeforeToolsEventAfterToolsEventContentBlockEventModelMessageEventToolResultEventToolStreamUpdateEventAgentResultEventModelStreamUpdateEvent
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new HookableEvent(): HookableEvent;Returns
Section titled “Returns”HookableEvent