mirror of
https://github.com/openai/codex.git
synced 2026-10-30 19:18:49 +00:00
Add explicit prefix-approval decision and wire it through execpolicy/UI snapshots
This commit is contained in:
@@ -1657,6 +1657,10 @@ pub enum ReviewDecision {
|
||||
/// User has approved this command and the agent should execute it.
|
||||
Approved,
|
||||
|
||||
/// User has approved this command and wants to add the command prefix to
|
||||
/// the execpolicy allow list so future matching commands are permitted.
|
||||
ApprovedAllowPrefix,
|
||||
|
||||
/// User has approved this command and wants to automatically approve any
|
||||
/// future identical instances (`command` and `cwd` match exactly) for the
|
||||
/// remainder of the session.
|
||||
|
||||
Reference in New Issue
Block a user