mirror of
https://github.com/openai/codex.git
synced 2026-04-30 19:32:04 +03:00
feat: cleaner TUI for sub-agents (#12327)
<img width="760" height="496" alt="Screenshot 2026-02-20 at 14 31 25" src="https://github.com/user-attachments/assets/1983b825-bb47-417e-9925-6f727af56765" />
This commit is contained in:
@@ -632,6 +632,7 @@ impl EventProcessor for EventProcessorWithHumanOutput {
|
||||
new_thread_id,
|
||||
prompt,
|
||||
status,
|
||||
..
|
||||
}) => {
|
||||
let success = new_thread_id.is_some() && !is_collab_status_failure(&status);
|
||||
let title_style = if success { self.green } else { self.red };
|
||||
@@ -669,6 +670,7 @@ impl EventProcessor for EventProcessorWithHumanOutput {
|
||||
receiver_thread_id,
|
||||
prompt,
|
||||
status,
|
||||
..
|
||||
}) => {
|
||||
let success = !is_collab_status_failure(&status);
|
||||
let title_style = if success { self.green } else { self.red };
|
||||
@@ -687,6 +689,7 @@ impl EventProcessor for EventProcessorWithHumanOutput {
|
||||
sender_thread_id: _,
|
||||
receiver_thread_ids,
|
||||
call_id,
|
||||
..
|
||||
}) => {
|
||||
ts_msg!(
|
||||
self,
|
||||
@@ -703,6 +706,7 @@ impl EventProcessor for EventProcessorWithHumanOutput {
|
||||
sender_thread_id: _,
|
||||
call_id,
|
||||
statuses,
|
||||
..
|
||||
}) => {
|
||||
if statuses.is_empty() {
|
||||
ts_msg!(
|
||||
@@ -755,6 +759,7 @@ impl EventProcessor for EventProcessorWithHumanOutput {
|
||||
sender_thread_id: _,
|
||||
receiver_thread_id,
|
||||
status,
|
||||
..
|
||||
}) => {
|
||||
let success = !is_collab_status_failure(&status);
|
||||
let title_style = if success { self.green } else { self.red };
|
||||
|
||||
Reference in New Issue
Block a user