(self)
| 55 | |
| 56 | impl UsageCategory { |
| 57 | pub fn dashboard_label(self) -> &'static str { |
| 58 | match self { |
| 59 | Self::TraceDecayGraph => "tracedecay_mcp", |
| 60 | Self::LcmSession => "lcm_session", |
| 61 | Self::Memory => "memory", |
| 62 | Self::BroadFileSearch => "broad_code_context", |
| 63 | Self::Edit => "code_edit", |
| 64 | Self::Shell => "shell", |
| 65 | Self::WorkflowSkill => "workflow_skill", |
| 66 | Self::TraceDecayWorkflowSkill => "tracedecay_workflow_skill", |
| 67 | Self::Other => "other_tool", |
| 68 | } |
| 69 | } |
| 70 | } |
| 71 | |
| 72 | pub fn normalize_tool_name(raw: &str) -> String { |
no outgoing calls
no test coverage detected