(toolName: string)
| 50 | const COMMAND_TOOLS = [...SHELL_TOOL_NAMES, 'Tmux', TASK_STOP_TOOL_NAME] |
| 51 | |
| 52 | function categorizeToolName(toolName: string): keyof ToolCounts { |
| 53 | if (SEARCH_TOOLS.some(t => toolName.startsWith(t))) return 'searches' |
| 54 | if (READ_TOOLS.some(t => toolName.startsWith(t))) return 'reads' |
| 55 | if (WRITE_TOOLS.some(t => toolName.startsWith(t))) return 'writes' |
| 56 | if (COMMAND_TOOLS.some(t => toolName.startsWith(t))) return 'commands' |
| 57 | return 'other' |
| 58 | } |
| 59 | |
| 60 | function createEmptyToolCounts(): ToolCounts { |
| 61 | return { |
no outgoing calls
no test coverage detected