ditch McpUiHostInfoSchema in favour of ImplementationSchema
This commit is contained in:
parent
8189a674e2
commit
873075e690
1 changed files with 2 additions and 512 deletions
|
|
@ -211,15 +211,9 @@ export type McpUiInitializeRequest = z.infer<
|
|||
typeof McpUiInitializeRequestSchema
|
||||
>;
|
||||
|
||||
export const McpUiHostInfoSchema = z.object({
|
||||
name: z.string(),
|
||||
version: z.string(),
|
||||
});
|
||||
export type McpUiHostInfo = z.infer<typeof McpUiHostInfoSchema>;
|
||||
|
||||
export const McpUiInitializeResultSchema = z.object({
|
||||
protocolVersion: z.string(),
|
||||
hostInfo: McpUiHostInfoSchema,
|
||||
hostInfo: ImplementationSchema,
|
||||
hostCapabilities: McpUiHostCapabilitiesSchema,
|
||||
hostContext: McpUiHostContextSchema,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue