pub enum EventKind {
Show 23 variants
SessionConfigured {
effective_context_tokens: u64,
kind: SessionKind,
},
BoxCreated {
box_id: BoxId,
name: String,
owner: BoxOwner,
content: BoxContent,
},
CanonicalUpdated {
box_id: BoxId,
content: BoxContent,
},
BoxRenamed {
box_id: BoxId,
name: String,
},
BoxDehydrated {
box_id: BoxId,
},
BoxSummarized {
box_id: BoxId,
text: String,
},
BoxRehydrated {
box_id: BoxId,
},
BoxRetired {
box_id: BoxId,
},
PendingAllocated {
pending_id: PendingId,
resource: PendingKind,
},
ToolInvoked {
tool_instance: String,
tool_name: String,
arguments: Value,
invocation_id: Option<String>,
},
ToolCompleted {
tool_instance: String,
tool_name: String,
outcome: Value,
invocation_id: Option<String>,
},
ToolLayoutChanged {
tool_instance: String,
box_ids: Vec<BoxId>,
},
InferenceSubmitted {
manifest_hash: String,
estimated_input_tokens: u64,
raw_estimated_input_tokens: Option<u64>,
},
ProviderReceipt {
manifest_hash: String,
input_tokens: Option<u64>,
output_tokens: Option<u64>,
raw_context_tokens: Option<u64>,
provider_data: Value,
},
CapacityError {
attempted_operation: String,
projected_tokens: u64,
limit_tokens: u64,
},
SourceTerminated {
reason: String,
},
HistoryIngressStarted,
HistoryEventInspected {
source_event: EventId,
},
HistoryEventReleased {
source_event: EventId,
},
KwebPlanChanged {
operation: Value,
},
KwebCommitted {
transaction_id: String,
session_object_id: String,
mappings: Value,
},
SessionCompleted {
session_object_id: String,
},
Note {
label: String,
value: Value,
},
}Variants§
SessionConfigured
BoxCreated
CanonicalUpdated
BoxRenamed
BoxDehydrated
BoxSummarized
BoxRehydrated
BoxRetired
PendingAllocated
ToolInvoked
ToolCompleted
ToolLayoutChanged
InferenceSubmitted
ProviderReceipt
Fields
CapacityError
SourceTerminated
HistoryIngressStarted
HistoryEventInspected
HistoryEventReleased
KwebPlanChanged
KwebCommitted
SessionCompleted
Note
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
impl Eq for EventKind
impl StructuralPartialEq for EventKind
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