pub type MissionEvent = AgentStreamEvent;Expand description
A single SSE event from a mission run stream.
Alias for AgentStreamEvent since both use the same SSE format.
Aliased Type§
pub struct MissionEvent {
pub event_type: String,
pub data: HashMap<String, Value>,
}Fields§
§event_type: StringEvent type (e.g. “step”, “thought”, “tool_call”, “tool_result”, “message”, “error”, “done”).
data: HashMap<String, Value>Raw JSON payload for caller to interpret.