mirror of
https://github.com/openai/codex.git
synced 2026-05-02 18:37:01 +00:00
fix: scope default command approvals to session
Co-authored-by: Codex noreply@openai.com
This commit is contained in:
@@ -5794,7 +5794,8 @@ pub struct CommandExecutionRequestApprovalParams {
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(optional = nullable)]
|
||||
pub additional_permissions: Option<AdditionalPermissionProfile>,
|
||||
/// Optional proposed execpolicy amendment to allow similar commands without prompting.
|
||||
/// Optional proposed execpolicy amendment that clients may present as an
|
||||
/// explicit persistent approval option.
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(optional = nullable)]
|
||||
pub proposed_execpolicy_amendment: Option<ExecPolicyAmendment>,
|
||||
|
||||
Reference in New Issue
Block a user