style: use G3Status formatting for agent mode completion message

Change agent mode completion from ' Agent mode completed' to
'g3: <agent-name> session ... [done]' for consistency with other
g3 status messages.
This commit is contained in:
Dhanji R. Prasanna
2026-01-23 10:04:05 +05:30
parent 5d0d532b47
commit 155db74aac

View File

@@ -273,7 +273,10 @@ pub async fn run_agent_mode(
// Don't print completion message for scout agent - it needs the last line // Don't print completion message for scout agent - it needs the last line
// to be the report file path for the research tool to read // to be the report file path for the research tool to read
if agent_name != "scout" { if agent_name != "scout" {
output.print("\n✅ Agent mode completed"); use crate::g3_status::G3Status;
println!(); // newline before status
G3Status::progress(&format!("{} session", agent_name));
G3Status::done();
} }
Ok(()) Ok(())
} }