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:
jif-oai
2026-02-20 15:26:33 +00:00
committed by GitHub
parent 2036a5f5e0
commit 4d60c803ba
26 changed files with 1735 additions and 176 deletions

View File

@@ -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 };