(config: ToolConfiguration, toolName: string)
| 17 | } |
| 18 | |
| 19 | export function requireTaskService(config: ToolConfiguration, toolName: string): TaskService { |
| 20 | assert(config.taskService, `${toolName} requires taskService`); |
| 21 | return config.taskService; |
| 22 | } |
| 23 | |
| 24 | export function parseToolResult<TSchema>( |
| 25 | schema: z.ZodType<TSchema>, |
no test coverage detected