From 668ec71b76dc73507aab572b98dc1667ed2233c9 Mon Sep 17 00:00:00 2001 From: Justin Spahr-Summers Date: Wed, 6 Nov 2024 12:15:50 +0000 Subject: [PATCH 1/2] roots/list should not be marked as a client request --- schema/schema.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schema/schema.ts b/schema/schema.ts index a61b2a089..e26f78da8 100644 --- a/schema/schema.ts +++ b/schema/schema.ts @@ -995,13 +995,13 @@ export type ClientRequest = | SubscribeRequest | UnsubscribeRequest | CallToolRequest - | ListToolsRequest - | ListRootsRequest; + | ListToolsRequest; export type ClientNotification = | ProgressNotification | InitializedNotification | RootsListChangedNotification; + export type ClientResult = EmptyResult | CreateMessageResult | ListRootsResult; /* Server messages */ From 22bc128733823ee689c2af04a04925cda4b14af9 Mon Sep 17 00:00:00 2001 From: Justin Spahr-Summers Date: Wed, 6 Nov 2024 12:17:17 +0000 Subject: [PATCH 2/2] generate:json --- schema/schema.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/schema/schema.json b/schema/schema.json index 58d9fbea3..fb9ade6a7 100644 --- a/schema/schema.json +++ b/schema/schema.json @@ -168,9 +168,6 @@ }, { "$ref": "#/definitions/CompleteRequest" - }, - { - "$ref": "#/definitions/ListRootsRequest" } ] },