pub enum ActionKind {
FileChange {
files: Vec<FileTouch>,
},
WorkspaceChange {
files: Vec<FileTouch>,
truncated: bool,
},
Command {
command: String,
cwd: Option<String>,
exit_code: Option<i64>,
},
Code {
exit_code: Option<i64>,
nested: Vec<NestedCall>,
},
Network {
action: String,
host: Option<String>,
query: Option<String>,
},
Mcp {
server: Option<String>,
plugin: bool,
},
Subagent {
name: Option<String>,
agent_id: Option<String>,
outcome: Option<String>,
},
Approval,
Tool,
TurnFailed,
}Variants§
FileChange
WorkspaceChange
Files that changed in the workspace during a turn with no file tool naming them, read from the turn’s before/after snapshots. A command changed them, or something else writing to the workspace did.
Command
Code
Fields
§
nested: Vec<NestedCall>Tool calls the program made (execute_tools), when recorded.
Network
Mcp
Subagent
Fields
Approval
An approval with no matching call in the record (for example a sub-agent’s request).
Tool
Any other tool. Listed only when it failed.
TurnFailed
A Runtime turn that ended in failure.
Trait Implementations§
Source§impl Clone for ActionKind
impl Clone for ActionKind
Source§impl Debug for ActionKind
impl Debug for ActionKind
Source§impl PartialEq for ActionKind
impl PartialEq for ActionKind
Source§impl Serialize for ActionKind
impl Serialize for ActionKind
impl StructuralPartialEq for ActionKind
Auto Trait Implementations§
impl Freeze for ActionKind
impl RefUnwindSafe for ActionKind
impl Send for ActionKind
impl Sync for ActionKind
impl Unpin for ActionKind
impl UnsafeUnpin for ActionKind
impl UnwindSafe for ActionKind
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