Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Update copy (#10256)

pakrym-oaiaacd530a41ef
diff --git a/codex-rs/tui/src/history_cell.rs b/codex-rs/tui/src/history_cell.rs
index aadfb318f8..c4bd766655 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(),
],
)
}