Skip to main content

Type Alias: MissionEvent

MissionEvent = GraphEvent | { goal: string; type: "mission:planning_start"; } | { branchId: string; scores: EvalScores; summary: string; type: "mission:branch_generated"; } | { branchId: string; reason: string; type: "mission:branch_selected"; } | { changes: string[]; type: "mission:refinement_applied"; } | { edgeCount: number; estimatedCost: number; nodeCount: number; type: "mission:graph_compiled"; } | { patch: GraphPatch; trigger: ExpansionTrigger; type: "mission:expansion_proposed"; } | { by: "auto" | "user"; type: "mission:expansion_approved"; } | { edgesAdded: number; nodesAdded: number; type: "mission:expansion_applied"; } | { cap: number; threshold: string; type: "mission:threshold_reached"; value: number; } | { checkpointId: string; nodeId: string; type: "mission:checkpoint_saved"; } | { costCap: number; totalSpent: number; type: "mission:cost_update"; } | { agentCount: number; summary: string; totalCost: number; totalDurationMs: number; type: "mission:complete"; } | { agentId: string; model: string; provider: string; role: string; type: "mission:agent_spawned"; } | { mode: "compose" | "sandbox"; name: string; toolId: string; type: "mission:tool_forged"; } | { action: string; details: unknown; type: "mission:approval_required"; }

Defined in: packages/agentos/src/orchestration/planning/types.ts:190

All events emitted during mission execution. Superset of GraphEvent.