(raw: &str)
| 70 | } |
| 71 | |
| 72 | pub fn normalize_tool_name(raw: &str) -> String { |
| 73 | let trimmed = raw.trim(); |
| 74 | let without_mcp = trimmed |
| 75 | .strip_prefix("mcp__tracedecay__") |
| 76 | .or_else(|| trimmed.strip_prefix("mcp_tracedecay_")) |
| 77 | .unwrap_or(trimmed); |
| 78 | without_mcp.to_ascii_lowercase().replace('-', "_") |
| 79 | } |
| 80 | |
| 81 | pub fn is_skill_view_tool(raw: &str) -> bool { |
| 82 | matches!( |
no outgoing calls
no test coverage detected