feat: zod v4 with backwards compatibility for v3.25+ (#1040)
This commit is contained in:
parent
7fca1f2b15
commit
418b7f9b85
1 changed files with 14723 additions and 1002 deletions
|
|
@ -5,7 +5,7 @@ import { SSEServerTransport } from './sse.js';
|
|||
import { McpServer } from './mcp.js';
|
||||
import { createServer, type Server } from 'node:http';
|
||||
import { AddressInfo } from 'node:net';
|
||||
import { z } from 'zod';
|
||||
import * as z from 'zod/v4';
|
||||
import { CallToolResult, JSONRPCMessage } from '../types.js';
|
||||
|
||||
const createMockResponse = () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue