pub enum RunEventKind {
Show 14 variants
RunStarted,
TurnStarted,
Text,
Tool,
ToolFailed,
Plan,
ApprovalRequested,
ApprovalResolved,
Steered,
TurnEnded,
RunEnded,
Note,
Truncated,
Unknown,
}Expand description
What one line of a run’s activity log records.
Variants§
RunStarted
The run began: its agent, transport, and working directory.
TurnStarted
A turn began with a prompt.
Text
A line of the agent’s own message.
Tool
A tool call or command the agent started, as a short redacted line.
ToolFailed
A tool call that failed.
Plan
The agent’s current plan step.
ApprovalRequested
The agent asked for approval.
ApprovalResolved
That request was answered.
Steered
A prompt was added to the running turn.
TurnEnded
A turn ended.
RunEnded
The run’s process ended.
Note
SCV’s own note, such as why the run stopped.
Truncated
The log reached its size limit; only turns, approvals, and the end are recorded after this.
Unknown
A kind this client does not know.
Trait Implementations§
Source§impl Clone for RunEventKind
impl Clone for RunEventKind
impl Copy for RunEventKind
Source§impl Debug for RunEventKind
impl Debug for RunEventKind
Source§impl<'de> Deserialize<'de> for RunEventKind
impl<'de> Deserialize<'de> for RunEventKind
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 RunEventKind
Source§impl Hash for RunEventKind
impl Hash for RunEventKind
Source§impl PartialEq for RunEventKind
impl PartialEq for RunEventKind
Source§impl Serialize for RunEventKind
impl Serialize for RunEventKind
impl StructuralPartialEq for RunEventKind
Auto Trait Implementations§
impl Freeze for RunEventKind
impl RefUnwindSafe for RunEventKind
impl Send for RunEventKind
impl Sync for RunEventKind
impl Unpin for RunEventKind
impl UnsafeUnpin for RunEventKind
impl UnwindSafe for RunEventKind
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