deepthinking-mcp 4.3.2 → 4.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { dirname, join } from 'path';
|
|
3
3
|
import { fileURLToPath } from 'url';
|
|
4
|
-
import { z } from 'zod';
|
|
4
|
+
import { z } from 'zod/v3';
|
|
5
5
|
import { zodToJsonSchema } from 'zod-to-json-schema';
|
|
6
6
|
import { createHash, randomUUID } from 'crypto';
|
|
7
7
|
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
|
|
@@ -717,7 +717,7 @@ var init_thinking = __esm({
|
|
|
717
717
|
});
|
|
718
718
|
generateMcpSchema = () => {
|
|
719
719
|
const jsonSchema = zodToJsonSchema(ThinkingToolSchema, {
|
|
720
|
-
target: "
|
|
720
|
+
target: "jsonSchema2020-12",
|
|
721
721
|
$refStrategy: "none"
|
|
722
722
|
});
|
|
723
723
|
if (jsonSchema && typeof jsonSchema === "object") {
|
|
@@ -5392,7 +5392,7 @@ init_esm_shims();
|
|
|
5392
5392
|
init_esm_shims();
|
|
5393
5393
|
function generateToolSchema(zodSchema, name, description) {
|
|
5394
5394
|
const jsonSchema = zodToJsonSchema(zodSchema, {
|
|
5395
|
-
target: "
|
|
5395
|
+
target: "jsonSchema2020-12",
|
|
5396
5396
|
$refStrategy: "none"
|
|
5397
5397
|
});
|
|
5398
5398
|
if (jsonSchema && typeof jsonSchema === "object") {
|