From 9c71d1256165b6722269bc51dc3464924ba764e2 Mon Sep 17 00:00:00 2001 From: "Dhanji R. Prasanna" Date: Sun, 11 Jan 2026 16:26:20 +0530 Subject: [PATCH] style: change agent mode tool color from royal blue to light gray --- crates/g3-cli/src/lib.rs | 2 +- crates/g3-cli/src/ui_writer_impl.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/g3-cli/src/lib.rs b/crates/g3-cli/src/lib.rs index 6f3ad90..e753542 100644 --- a/crates/g3-cli/src/lib.rs +++ b/crates/g3-cli/src/lib.rs @@ -823,7 +823,7 @@ async fn run_agent_mode( // Create agent with custom system prompt let ui_writer = ConsoleUiWriter::new(); - // Set agent mode on UI writer for visual differentiation (royal blue tool names) + // Set agent mode on UI writer for visual differentiation (light gray tool names) ui_writer.set_agent_mode(true); let mut agent = Agent::new_with_custom_prompt( config, diff --git a/crates/g3-cli/src/ui_writer_impl.rs b/crates/g3-cli/src/ui_writer_impl.rs index 09c1b4e..b5caa39 100644 --- a/crates/g3-cli/src/ui_writer_impl.rs +++ b/crates/g3-cli/src/ui_writer_impl.rs @@ -117,10 +117,10 @@ impl UiWriter for ConsoleUiWriter { // This ensures the header isn't cleared by update_tool_output_line *self.output_line_printed.lock().unwrap() = false; // Now print the tool header with the most important arg - // Use royal blue in agent mode, bold green otherwise + // Use light gray/silver in agent mode, bold green otherwise let is_agent_mode = *self.is_agent_mode.lock().unwrap(); - // Royal blue: \x1b[38;5;69m, Bold green: \x1b[1;32m - let tool_color = if is_agent_mode { "\x1b[1;38;5;69m" } else { "\x1b[1;32m" }; + // Light gray/silver: \x1b[38;5;250m, Bold green: \x1b[1;32m + let tool_color = if is_agent_mode { "\x1b[1;38;5;250m" } else { "\x1b[1;32m" }; if let Some(tool_name) = self.current_tool_name.lock().unwrap().as_ref() { let args = self.current_tool_args.lock().unwrap();