vtcode_core/core/agent/steering.rs
1use serde::{Deserialize, Serialize};
2
3/// Messages used to steer the agent's execution loop from an external source.
4#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
5pub enum SteeringMessage {
6 /// Stop the agent's execution loop immediately (Steering).
7 SteerStop,
8 /// Pause the agent's execution loop.
9 Pause,
10 /// Resume the agent's execution loop.
11 Resume,
12 /// Inject input as a follow-up message after the current turn ends (FollowUp).
13 FollowUpInput(String),
14}