Unique event id (e.g. generateUUID()).
OptionalintegrationThe integration the event came from. Agent automations bound to integrations match on it.
Arbitrary, JSON-serializable event payload.
OptionalpromptThe prompt an agent automation listening to the event runs its agent with, in place of its default one.
The event type. Determines which @eventHandler subscribers receive the event.
A generic event that can be emitted with
squid.events().emitand handled by one or more subscribers declared with the backend@eventHandlerdecorator. Events are delivered over core's internal event stream (not the public queue API), at-least-once and with no ordering guarantee.