use ratatui::style::Color;
pub const RUST_ORANGE: Color = Color::Rgb(244, 118, 0);
pub const DIM: Color = Color::DarkGray;
pub const PROMPT_CHAR: &str = "❯";
pub const SEPARATOR_CHAR: &str = "─";
pub const ROLE_ASSISTANT: Color = RUST_ORANGE;
pub const USER_MSG_BG: Color = Color::Rgb(40, 44, 52);
pub const ICON_COMPLETED: &str = "\u{2713}"; pub const ICON_FAILED: &str = "\u{2717}";
pub const STATUS_ERROR: Color = Color::Red;
pub const SLASH_COMMAND: Color = Color::LightMagenta;
pub fn tool_kind_label(
kind: agent_client_protocol::ToolKind,
claude_tool_name: Option<&str>,
) -> (&'static str, &'static str) {
use agent_client_protocol::ToolKind;
if let Some(name) = claude_tool_name {
match name {
"Task" => return ("◇", "Agent"),
"WebSearch" => return ("⊕", "Search"),
"WebFetch" => return ("⊕", "Fetch"),
_ => {}
}
}
match kind {
ToolKind::Read => ("⬚", "Read"),
ToolKind::Edit => ("▣", "Edit"),
ToolKind::Delete => ("▣", "Delete"),
ToolKind::Move => ("⇄", "Move"),
ToolKind::Search => ("⌕", "Find"),
ToolKind::Execute => ("⟩", "Bash"),
ToolKind::Think => ("❖", "Think"),
ToolKind::Fetch => ("⊕", "Fetch"),
ToolKind::SwitchMode => ("⊙", "Mode"),
_ => ("○", "Tool"),
}
}