pub enum Input {
Show 17 variants
Op(Op, Reply),
ObserverCompleted(Completion),
Agent(Box<AgentEvent>),
Title(Box<AssistantMessage>),
BugSummaryEnded(u64),
MemoryKept(Outcome),
BashDone {
command: String,
exclude: bool,
result: Result<Value, String>,
reply: Reply,
},
BashOutput {
id: Option<String>,
delta: String,
},
Close(Sender<()>),
HandOver(Sender<()>),
EventLane(LaneCall, Sender<LaneAnswer>),
ActivityTick,
Turn(Request),
HarnessIdle,
Woken,
Scheduled(Value),
TurnChecked {
id: u64,
failed: Vec<String>,
},
}Expand description
What reaches the actor.
Variants§
Op(Op, Reply)
ObserverCompleted(Completion)
Agent(Box<AgentEvent>)
Title(Box<AssistantMessage>)
The model’s title for the session arrived.
BugSummaryEnded(u64)
The bug report summary with this number ended.
MemoryKept(Outcome)
A background memory keep ended (crate::auto_memory::keep): shown to the user when it is worth a line.
BashDone
A user’s command ended: its BashResult (camelCase, as recorded), or the error that failed it.
BashOutput
A chunk of a running user command’s output (bash_execution_update).
Close(Sender<()>)
Stop the lane; the sender is told when done.
HandOver(Sender<()>)
Stop the lane for a successor worker (its shell jobs keep running for it); the sender is told when done.
EventLane(LaneCall, Sender<LaneAnswer>)
The completion-event dispatcher’s question about the root lane (crate::async_events).
ActivityTick
Report whether detached work is active (the worker keeps itself alive while it is).
Turn(Request)
The durable runtime running the turn (crate::turns).
HarnessIdle
The durable runtime has no work for the root conversation.
Woken
A compaction’s work off the actor ended (core::compacting).
Scheduled(Value)
A fired schedule’s prompt that waited for the run in progress (core::schedule_ops).
TurnChecked
The turn-end checks numbered id ended (core::turn_guard): the labels and evidence of the ones that failed.