pub enum EventKind {
Show 16 variants
PlanCreated {
plan_id: i64,
name: String,
},
TaskAssigned {
task_id: i64,
agent: String,
org: String,
},
TaskCompleted {
task_id: i64,
},
PlanCompleted {
plan_id: i64,
name: String,
},
WaveCompleted {
wave_id: i64,
plan_id: i64,
},
MessageSent {
from: String,
to: String,
preview: String,
},
DelegationStarted {
from_org: String,
to_org: String,
task: String,
},
DelegationCompleted {
delegation_id: String,
plan_id: i64,
peer_name: String,
},
AgentOnline {
name: String,
org: String,
node: String,
},
AgentOffline {
name: String,
reason: String,
},
HealthDegraded {
module: String,
reason: String,
},
BudgetAlert {
org: String,
spent: f64,
limit: f64,
},
ExtensionLoaded {
id: String,
version: String,
},
FilesClaimed {
task_id: i64,
agent: String,
file_paths: Vec<String>,
},
FilesReleased {
task_id: i64,
file_paths: Vec<String>,
},
OrgAsked {
org_id: String,
question: String,
intent: String,
escalated: bool,
latency_ms: u64,
},
}Expand description
Typed event kinds covering orchestration, communication, and system events.
Variants§
PlanCreated
TaskAssigned
TaskCompleted
PlanCompleted
WaveCompleted
MessageSent
DelegationStarted
DelegationCompleted
AgentOnline
AgentOffline
HealthDegraded
BudgetAlert
ExtensionLoaded
FilesClaimed
FilesReleased
OrgAsked
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EventKind
impl<'de> Deserialize<'de> for EventKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EventKind
impl RefUnwindSafe for EventKind
impl Send for EventKind
impl Sync for EventKind
impl Unpin for EventKind
impl UnsafeUnpin for EventKind
impl UnwindSafe for EventKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more