(toolId: string)
| 18 | } |
| 19 | |
| 20 | export function routeToolCall(toolId: string): ToolRoute | null { |
| 21 | const entry = getToolEntry(toolId) |
| 22 | if (!entry) return null |
| 23 | return { route: entry.route, mode: entry.mode, subagentId: entry.subagentId } |
| 24 | } |
| 25 | |
| 26 | export function isSimExecuted(toolId: string): boolean { |
| 27 | return getToolEntry(toolId)?.route === 'sim' |
no test coverage detected