pub trait PermissionPrompter: Send + Sync {
// Required method
fn ask(
&self,
tool_name: &str,
description: &str,
input_preview: Option<&str>,
) -> PermissionResponse;
}Expand description
Trait for prompting the user for permission decisions. Implemented by the CLI’s UI layer; the lib engine uses this abstraction.