This commit is contained in:
Gabriel Peal
2026-01-24 09:05:09 -08:00
parent ebc88f29f8
commit f6fda4c039
91 changed files with 91 additions and 0 deletions
@@ -17,6 +17,7 @@ pub enum ApprovalModeCliArg {
/// Only asks for approval if a command fails to execute, in which case it
/// will escalate to the user to ask for un-sandboxed execution.
OnFailure,
// common/src/approval_mode_cli_arg.rs
/// The model decides when to ask the user for approval.
OnRequest,
+1
View File
@@ -21,6 +21,7 @@ pub struct ApprovalPreset {
/// Keep this UI-agnostic so it can be reused by both TUI and MCP server.
pub fn builtin_approval_presets() -> Vec<ApprovalPreset> {
vec![
// common/src/approval_presets.rs
ApprovalPreset {
id: "read-only",
label: "Read Only",