mirror of
https://github.com/openai/codex.git
synced 2026-11-30 00:10:49 +00:00
Add explicit prefix-approval decision and wire it through execpolicy/UI snapshots
This commit is contained in:
@@ -1671,7 +1671,9 @@ mod handlers {
|
||||
if let Some(prefix) = allow_prefix
|
||||
&& matches!(
|
||||
decision,
|
||||
ReviewDecision::Approved | ReviewDecision::ApprovedForSession
|
||||
ReviewDecision::Approved
|
||||
| ReviewDecision::ApprovedAllowPrefix
|
||||
| ReviewDecision::ApprovedForSession
|
||||
)
|
||||
&& let Err(err) = sess.persist_command_allow_prefix(&prefix).await
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user