fix: temporary fix, revert zod schema definitions for mcp tools to zod v3 (#1323)

This commit is contained in:
Ralph Khreish
2025-10-18 18:34:40 +02:00
committed by GitHub
parent 518d7ea8dc
commit dc6652ccd2
49 changed files with 297 additions and 45 deletions

View File

@@ -3,7 +3,9 @@
* Tool for analyzing task complexity and generating recommendations
*/
import { z } from 'zod';
// TEMPORARY: Using zod/v3 for Draft-07 JSON Schema compatibility with FastMCP's zod-to-json-schema
// TODO: Revert to 'zod' when MCP spec issue is resolved (see PR #1323)
import { z } from 'zod/v3';
import path from 'path';
import fs from 'fs'; // Import fs for directory check/creation
import {