MCPcopy Create free account
hub / github.com/ccusage/ccusage / is_agent_command

Function is_agent_command

rust/crates/ccusage-cli/src/parser.rs:773–792  ·  view source on GitHub ↗
(command: &str)

Source from the content-addressed store, hash-verified

771}
772
773fn is_agent_command(command: &str) -> bool {
774 matches!(
775 command,
776 "claude"
777 | "codex"
778 | "opencode"
779 | "amp"
780 | "droid"
781 | "codebuff"
782 | "hermes"
783 | "pi"
784 | "goose"
785 | "kilo"
786 | "copilot"
787 | "gemini"
788 | "kimi"
789 | "qwen"
790 | "openclaw"
791 )
792}
793
794fn agent_report_supported(agent: &str, report: &str) -> bool {
795 match agent {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected