From 1c1178143c19c60370540cedb0d1280b086804be Mon Sep 17 00:00:00 2001 From: Shinya Fujino Date: Sun, 6 Apr 2025 22:46:02 +0900 Subject: [PATCH] feat: add completions capability in ServerCapabilitiesSchema --- src/types.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/types.ts b/src/types.ts index b9c0ab37..da4afd2a 100644 --- a/src/types.ts +++ b/src/types.ts @@ -247,6 +247,10 @@ export const ServerCapabilitiesSchema = z * Present if the server supports sending log messages to the client. */ logging: z.optional(z.object({}).passthrough()), + /** + * Present if the server supports sending completions to the client. + */ + completions: z.optional(z.object({}).passthrough()), /** * Present if the server offers any prompt templates. */