Add approvals reviewer to UserTurn

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Dylan Hurd
2026-03-21 15:23:11 -07:00
co-authored by Codex
parent b0236501e2
commit 25c5ccc751
43 changed files with 198 additions and 3 deletions
+5
View File
@@ -254,6 +254,11 @@ pub enum Op {
/// Policy to use for command approval.
approval_policy: AskForApproval,
/// Reviewer to use for approval requests raised during this turn.
///
/// When omitted, the session keeps the current setting
approvals_reviewer: Option<ApprovalsReviewer>,
/// Policy to use for tool calls such as `local_shell`.
sandbox_policy: SandboxPolicy,