Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
Type string `json:"type"`
RunID string `json:"run_id,omitempty"`
Payload json.RawMessage `json:"payload,omitempty"`
}
Event is an external trigger delivered through webhooks, queues, or CLI.
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
Router maps external events to run requests using scenario trigger definitions.
type RunRequest ¶
type RunRequest struct {
RunID string `json:"run_id,omitempty"`
Agent string `json:"agent,omitempty"`
Prompt string `json:"prompt,omitempty"`
Context json.RawMessage `json:"context,omitempty"`
}
RunRequest is the resolved run input produced from an event.
Click to show internal directories.
Click to hide internal directories.