Skip to content

Commit 548fc01

Browse files
committed
feat: add boundPuppetId to PuppetTransport interface
1 parent 22d44d8 commit 548fc01

File tree

6 files changed

+54
-830
lines changed

6 files changed

+54
-830
lines changed

decorators/client_exec_client.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,15 @@ import type { Client } from "@modelcontextprotocol/sdk/client/index.js";
22
import { z } from "zod";
33
import type { ClientToolDefinition } from "../shared/types.ts";
44

5-
const ExecuteToolNotificationSchema = z.object({
5+
export const ExecuteToolNotificationSchema: z.ZodObject<{
6+
method: z.ZodLiteral<"proxy/execute_tool">;
7+
params: z.ZodObject<{
8+
id: z.ZodString;
9+
toolName: z.ZodString;
10+
args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
11+
clientId: z.ZodString;
12+
}>;
13+
}> = z.object({
614
method: z.literal("proxy/execute_tool"),
715
params: z.object({
816
id: z.string(),

decorators/client_exec_client_v2.ts

Lines changed: 0 additions & 272 deletions
This file was deleted.

0 commit comments

Comments
 (0)