From 211b43cb168dec4160e9106eac8eef61fa58b3f8 Mon Sep 17 00:00:00 2001 From: Ido Salomon Date: Mon, 1 Dec 2025 22:21:57 +0200 Subject: [PATCH] fix: remove carousel display mode --- specification/draft/apps.mdx | 2 +- src/types.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/draft/apps.mdx b/specification/draft/apps.mdx index daab42761..cee96f059 100644 --- a/specification/draft/apps.mdx +++ b/specification/draft/apps.mdx @@ -401,7 +401,7 @@ interface HostContext { /** Current color theme preference */ theme?: "light" | "dark" | "system"; /** How the UI is currently displayed */ - displayMode?: "inline" | "fullscreen" | "pip" | "carousel"; + displayMode?: "inline" | "fullscreen" | "pip"; /** Display modes the host supports */ availableDisplayModes?: string[]; /** Current and maximum dimensions available to the UI */ diff --git a/src/types.ts b/src/types.ts index 0ce8540d2..c78649331 100644 --- a/src/types.ts +++ b/src/types.ts @@ -430,7 +430,7 @@ export interface McpUiHostContext { * How the UI is currently displayed. * @example "inline" */ - displayMode?: "inline" | "fullscreen" | "pip" | "carousel"; + displayMode?: "inline" | "fullscreen" | "pip"; /** * Display modes the host supports. * Apps can use this to offer mode-switching UI if applicable. @@ -502,7 +502,7 @@ export const McpUiHostContextSchema: z.ZodType = z.object({ }) .optional(), theme: z.enum(["light", "dark", "system"]).optional(), - displayMode: z.enum(["inline", "fullscreen", "pip", "carousel"]).optional(), + displayMode: z.enum(["inline", "fullscreen", "pip"]).optional(), availableDisplayModes: z.array(z.string()).optional(), viewport: z .object({