pub enum PipeEvent {
TaskStarted {
task_id: String,
title: String,
},
FileCreated {
path: String,
},
FileModified {
path: String,
},
CommandRan {
command: String,
success: Option<bool>,
},
TestRan {
passed: bool,
detail: String,
},
PromptDetected {
prompt: String,
},
TaskCompleted {
task_id: String,
},
CommitMade {
hash: String,
message: String,
},
OutputLine {
line: String,
},
}Expand description
Structured events extracted from executor output.
Variants§
TaskStarted
Executor picked a new task.
FileCreated
Executor created a file.
FileModified
Executor modified a file.
CommandRan
Executor ran a command.
TestRan
Test execution detected.
PromptDetected
Executor is asking a question (prompt detected).
TaskCompleted
Executor marked a task done.
CommitMade
Executor made a git commit.
OutputLine
Raw output line (for lines that don’t match any pattern).
Trait Implementations§
impl StructuralPartialEq for PipeEvent
Auto Trait Implementations§
impl Freeze for PipeEvent
impl RefUnwindSafe for PipeEvent
impl Send for PipeEvent
impl Sync for PipeEvent
impl Unpin for PipeEvent
impl UnsafeUnpin for PipeEvent
impl UnwindSafe for PipeEvent
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