(agent: &str)
| 808 | } |
| 809 | |
| 810 | fn agent_display_name(agent: &str) -> &'static str { |
| 811 | match agent { |
| 812 | "claude" => "Claude Code", |
| 813 | "codex" => "Codex", |
| 814 | "opencode" => "OpenCode", |
| 815 | "amp" => "Amp", |
| 816 | "droid" => "Droid", |
| 817 | "codebuff" => "Codebuff", |
| 818 | "hermes" => "Hermes", |
| 819 | "pi" => "pi-agent", |
| 820 | "goose" => "Goose", |
| 821 | "kilo" => "Kilo", |
| 822 | "copilot" => "GitHub Copilot CLI", |
| 823 | "gemini" => "Gemini CLI", |
| 824 | "kimi" => "Kimi", |
| 825 | "qwen" => "Qwen", |
| 826 | "openclaw" => "OpenClaw", |
| 827 | _ => unreachable!("agent is prevalidated"), |
| 828 | } |
| 829 | } |
| 830 | |
| 831 | fn is_shared_flag(arg: &str) -> bool { |
| 832 | matches!( |
no outgoing calls
no test coverage detected