From 6c4e8b9d4d083f157351b940ec8094b54bb9465a Mon Sep 17 00:00:00 2001 From: Guillaume Sabran Date: Mon, 16 Dec 2024 21:29:42 -0800 Subject: [PATCH 1/3] Add ListResourceTemplatesResult to ServerResult --- schema/schema.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/schema/schema.ts b/schema/schema.ts index b9fb9b9..2a8f2ab 100644 --- a/schema/schema.ts +++ b/schema/schema.ts @@ -1108,6 +1108,7 @@ export type ServerResult = | GetPromptResult | ListPromptsResult | ListResourcesResult + | ListResourceTemplatesResult | ReadResourceResult | CallToolResult | ListToolsResult; From 201903b54c356db299673d64921170cc6b134892 Mon Sep 17 00:00:00 2001 From: Guillaume Sabran Date: Mon, 16 Dec 2024 21:33:49 -0800 Subject: [PATCH 2/3] Update schema.ts --- schema/schema.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/schema/schema.ts b/schema/schema.ts index 2a8f2ab..eddca23 100644 --- a/schema/schema.ts +++ b/schema/schema.ts @@ -1072,6 +1072,7 @@ export type ClientRequest = | GetPromptRequest | ListPromptsRequest | ListResourcesRequest + | ListResourceTemplatesRequest | ReadResourceRequest | SubscribeRequest | UnsubscribeRequest From 2b3e636366f0c89de509324ba4fbef9a2275e5bc Mon Sep 17 00:00:00 2001 From: Gui Sabran Date: Tue, 17 Dec 2024 09:55:47 -0800 Subject: [PATCH 3/3] run npm run generate:json --- schema/schema.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/schema/schema.json b/schema/schema.json index c46e0f0..e8b8c78 100644 --- a/schema/schema.json +++ b/schema/schema.json @@ -199,6 +199,9 @@ { "$ref": "#/definitions/ListResourcesRequest" }, + { + "$ref": "#/definitions/ListResourceTemplatesRequest" + }, { "$ref": "#/definitions/ReadResourceRequest" }, @@ -1835,6 +1838,9 @@ { "$ref": "#/definitions/ListResourcesResult" }, + { + "$ref": "#/definitions/ListResourceTemplatesResult" + }, { "$ref": "#/definitions/ReadResourceResult" },