pub struct UIExitPlanModeResponse {
pub approved: bool,
pub auto_approve_edits: Option<bool>,
pub defer_implementation: Option<bool>,
pub feedback: Option<String>,
pub selected_action: Option<UIExitPlanModeAction>,
}Expand description
User response for a pending exit-plan-mode request, with approval state, selected action, auto-approve flag, and feedback.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§approved: boolWhether the plan was approved.
auto_approve_edits: Option<bool>Whether subsequent edits should be auto-approved without confirmation.
defer_implementation: Option<bool>When true, the agent is instructed to end its turn without starting implementation so the client can restore the session model and auto-submit a fresh implementation turn on it. Set only when a distinct plan configuration (a different model, reasoning effort, or context tier) actually ran the planning turn.
feedback: Option<String>Feedback from the user when they declined the plan or requested changes.
selected_action: Option<UIExitPlanModeAction>The action the user selected. Defaults to ‘autopilot’ when autoApproveEdits is true, otherwise ‘interactive’.
Trait Implementations§
Source§impl Clone for UIExitPlanModeResponse
impl Clone for UIExitPlanModeResponse
Source§fn clone(&self) -> UIExitPlanModeResponse
fn clone(&self) -> UIExitPlanModeResponse
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more