mirror of
https://github.com/openai/codex.git
synced 2026-11-19 23:05:23 +00:00
Display YOLO mode permissions if set when launching TUI (#17877)
- When launching the TUI client, if YOLO mode is enabled, display this in the header. - Eligibility is determined by `approval_policy = "never"` and `sandbox_mode = "danger-full-access"` <img width="886" height="230" alt="image" src="https://github.com/user-attachments/assets/d7064778-e32c-4123-8e44-ca0c9016ab09" />
This commit is contained in:
1 parent
d63ba2d5ec
commit
d97bad1272
4 files changed
+81
-11
No files matched your search
@@ -1599,6 +1599,7 @@ impl App {
|
||||
self.config.cwd.to_path_buf(),
|
||||
version,
|
||||
)
|
||||
.with_yolo_mode(history_cell::is_yolo_mode(&self.config))
|
||||
.display_lines(width)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user