From aacd530a41ef28552270e1ec2c1fb9e0676445ec Mon Sep 17 00:00:00 2001 From: pakrym-oai Date: Fri, 30 Jan 2026 12:57:19 -0800 Subject: [PATCH] Update copy (#10256) image --- codex-rs/tui/src/history_cell.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/codex-rs/tui/src/history_cell.rs b/codex-rs/tui/src/history_cell.rs index aadfb318f..c4bd76665 100644 --- a/codex-rs/tui/src/history_cell.rs +++ b/codex-rs/tui/src/history_cell.rs @@ -726,16 +726,17 @@ pub fn new_approval_decision_cell( ], ) } - ApprovedExecpolicyAmendment { .. } => { - let snippet = Span::from(exec_snippet(&command)).dim(); + ApprovedExecpolicyAmendment { + proposed_execpolicy_amendment, + } => { + let snippet = Span::from(exec_snippet(&proposed_execpolicy_amendment.command)).dim(); ( "✔ ".green(), vec![ "You ".into(), "approved".bold(), - " codex to run ".into(), + " codex to always run commands that start with ".into(), snippet, - " and applied the execpolicy amendment".bold(), ], ) }