Merge pull request #269 from morinokami/patch-3

feat: Add completions capability in ServerCapabilitiesSchema
This commit is contained in:
Justin Spahr-Summers 2025-04-07 11:31:10 +01:00 • committed by GitHub
commit 39e6ec5efa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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