Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app-bridge.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { ZodLiteral, ZodObject } from "zod";
import { ZodLiteral, ZodObject } from "zod/v4";

import { Transport } from "@modelcontextprotocol/sdk/shared/transport.js";
import {
Expand Down
6 changes: 3 additions & 3 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
RequestSchema,
ToolSchema,
} from "@modelcontextprotocol/sdk/types.js";
import { z } from "zod";
import { z } from "zod/v4";

export const LATEST_PROTOCOL_VERSION = "2025-11-21";

Expand Down Expand Up @@ -77,7 +77,7 @@ export type McpUiSizeChangeNotification = z.infer<
export const McpUiToolInputNotificationSchema = z.object({
method: z.literal("ui/notifications/tool-input"),
params: z.object({
arguments: z.record(z.unknown()).optional(),
arguments: z.record(z.string(), z.unknown()).optional(),
}),
});
export type McpUiToolInputNotification = z.infer<
Expand All @@ -87,7 +87,7 @@ export type McpUiToolInputNotification = z.infer<
export const McpUiToolInputPartialNotificationSchema = z.object({
method: z.literal("ui/notifications/tool-input-partial"),
params: z.object({
arguments: z.record(z.unknown()).optional(),
arguments: z.record(z.string(), z.unknown()).optional(),
}),
});
export type McpUiToolInputPartialNotification = z.infer<
Expand Down