@mcpjam/inspector 0.9.49 → 0.9.50-beta.1
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/server/index.js
CHANGED
|
@@ -186,7 +186,7 @@ var servers_default = servers;
|
|
|
186
186
|
|
|
187
187
|
// routes/mcp/tools.ts
|
|
188
188
|
import { Hono as Hono3 } from "hono";
|
|
189
|
-
import { zodToJsonSchema } from "
|
|
189
|
+
import { zodToJsonSchema } from "zod-to-json-schema";
|
|
190
190
|
var tools = new Hono3();
|
|
191
191
|
var activeExecution = null;
|
|
192
192
|
function nowIso() {
|
|
@@ -556,7 +556,7 @@ var createLlmModel = (modelDefinition, apiKey, ollamaBaseUrl) => {
|
|
|
556
556
|
|
|
557
557
|
// ../shared/tools.ts
|
|
558
558
|
import { z } from "zod";
|
|
559
|
-
import { zodToJsonSchema as zodToJsonSchema2 } from "
|
|
559
|
+
import { zodToJsonSchema as zodToJsonSchema2 } from "zod-to-json-schema";
|
|
560
560
|
import { tool } from "ai";
|
|
561
561
|
var fallbackInputSchema = z.object({}).passthrough();
|
|
562
562
|
var UNREPRESENTABLE_JSON_SCHEMA_MESSAGES = [
|
|
@@ -830,7 +830,7 @@ async function executeToolCallsFromMessages(messages, options) {
|
|
|
830
830
|
}
|
|
831
831
|
|
|
832
832
|
// routes/mcp/chat.ts
|
|
833
|
-
import { zodToJsonSchema as zodToJsonSchema3 } from "
|
|
833
|
+
import { zodToJsonSchema as zodToJsonSchema3 } from "zod-to-json-schema";
|
|
834
834
|
var ELICITATION_TIMEOUT = 3e5;
|
|
835
835
|
var MAX_AGENT_STEPS = 10;
|
|
836
836
|
var BACKEND_FETCH_ERROR_MESSAGE = "We are having difficulties processing your message right now. Please try again later.";
|
|
@@ -1911,7 +1911,7 @@ var oauth_default = oauth;
|
|
|
1911
1911
|
|
|
1912
1912
|
// routes/mcp/export.ts
|
|
1913
1913
|
import { Hono as Hono9 } from "hono";
|
|
1914
|
-
import { zodToJsonSchema as zodToJsonSchema4 } from "
|
|
1914
|
+
import { zodToJsonSchema as zodToJsonSchema4 } from "zod-to-json-schema";
|
|
1915
1915
|
var exporter = new Hono9();
|
|
1916
1916
|
exporter.post("/server", async (c) => {
|
|
1917
1917
|
try {
|
|
@@ -2731,7 +2731,7 @@ import { Hono as Hono11 } from "hono";
|
|
|
2731
2731
|
|
|
2732
2732
|
// services/mcp-http-bridge.ts
|
|
2733
2733
|
import { z as z2 } from "zod";
|
|
2734
|
-
import { zodToJsonSchema as zodToJsonSchema5 } from "
|
|
2734
|
+
import { zodToJsonSchema as zodToJsonSchema5 } from "zod-to-json-schema";
|
|
2735
2735
|
function buildInitializeResult(serverId, mode) {
|
|
2736
2736
|
if (mode === "adapter") {
|
|
2737
2737
|
return {
|