"use strict";
/**
 * Register a tool on an McpServer, bypassing the SDK's generic type
 * inference that causes TypeScript to OOM during compilation.
 *
 * The MCP SDK's .tool() signatures use deeply nested Zod generics
 * that trigger unbounded type expansion in tsc. Routing through
 * `any` avoids this. Runtime validation is unaffected — the SDK
 * still validates inputs against the Zod schemas at call time.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.registerMcpTool = void 0;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const registerMcpTool = (server, ...args) => server.tool(...args);
exports.registerMcpTool = registerMcpTool;
