feat: add completions capability in ServerCapabilitiesSchema

This commit is contained in:
Shinya Fujino 2025-04-06 22:46:02 +09:00
commit 1c1178143c

View file

@ -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.
*/