pub enum SessionEvent {
AgentMessageChunk {
text: String,
},
AgentThoughtChunk {
text: String,
},
ToolCall {
call_id: String,
title: String,
tool_kind: ToolKind,
status: ToolStatus,
summary: String,
locations: Vec<ToolLocation>,
output: Option<String>,
diff: Option<ToolDiff>,
output_truncated: bool,
},
ToolCallUpdate {
call_id: String,
title: Option<String>,
tool_kind: Option<ToolKind>,
status: Option<ToolStatus>,
summary: Option<String>,
locations: Option<Vec<ToolLocation>>,
output: Option<String>,
diff: Option<ToolDiff>,
output_truncated: bool,
},
Plan {
steps: Vec<PlanStep>,
},
ConfigOptionsUpdated {
options: Vec<ConfigOption>,
},
ModeChanged {
mode_id: String,
},
Notice {
text: String,
},
}Expand description
Typed ACP session/update event normalized at the edge (no raw serde_json::Value).
Variants§
AgentMessageChunk
AgentThoughtChunk
ToolCall
ToolCallUpdate
Plan
ConfigOptionsUpdated
Fields
§
options: Vec<ConfigOption>ModeChanged
Notice
Trait Implementations§
Source§impl Clone for SessionEvent
impl Clone for SessionEvent
Auto Trait Implementations§
impl Forget for SessionEvent
impl Freeze for SessionEvent
impl Move for SessionEvent
impl RefUnwindSafe for SessionEvent
impl Send for SessionEvent
impl Sync for SessionEvent
impl Unpin for SessionEvent
impl UnsafeUnpin for SessionEvent
impl UnwindSafe for SessionEvent
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