(toolName: string | undefined)
| 241 | ]) |
| 242 | |
| 243 | export function toolWatchdogTimeoutMs(toolName: string | undefined): number { |
| 244 | return toolName && LONG_RUNNING_TOOL_IDS.has(toolName) |
| 245 | ? TOOL_WATCHDOG_LONG_RUNNING_MS |
| 246 | : TOOL_WATCHDOG_DEFAULT_MS |
| 247 | } |
| 248 | |
| 249 | class ToolExecutionTimeoutError extends Error { |
| 250 | constructor(toolName: string, timeoutMs: number) { |
no outgoing calls
no test coverage detected