(name: string)
| 61 | }; |
| 62 | |
| 63 | export function normalizeToolName(name: string): string { |
| 64 | const lower = (name ?? '').trim().toLowerCase().replace(/[\s-]+/g, '_'); |
| 65 | return NAME_ALIASES[lower] ?? lower; |
| 66 | } |
| 67 | |
| 68 | export function toolLabel(name: string): string { |
| 69 | const key = TOOL_LABEL_KEYS[normalizeToolName(name)]; |
no outgoing calls
no test coverage detected