Skip to content

Commit a9b96cd

Browse files
authored
fix: remove carousel display mode (#56)
1 parent 484768c commit a9b96cd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

specification/draft/apps.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ interface HostContext {
401401
/** Current color theme preference */
402402
theme?: "light" | "dark" | "system";
403403
/** How the UI is currently displayed */
404-
displayMode?: "inline" | "fullscreen" | "pip" | "carousel";
404+
displayMode?: "inline" | "fullscreen" | "pip";
405405
/** Display modes the host supports */
406406
availableDisplayModes?: string[];
407407
/** Current and maximum dimensions available to the UI */

src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ export interface McpUiHostContext {
430430
* How the UI is currently displayed.
431431
* @example "inline"
432432
*/
433-
displayMode?: "inline" | "fullscreen" | "pip" | "carousel";
433+
displayMode?: "inline" | "fullscreen" | "pip";
434434
/**
435435
* Display modes the host supports.
436436
* Apps can use this to offer mode-switching UI if applicable.
@@ -502,7 +502,7 @@ export const McpUiHostContextSchema: z.ZodType<McpUiHostContext> = z.object({
502502
})
503503
.optional(),
504504
theme: z.enum(["light", "dark", "system"]).optional(),
505-
displayMode: z.enum(["inline", "fullscreen", "pip", "carousel"]).optional(),
505+
displayMode: z.enum(["inline", "fullscreen", "pip"]).optional(),
506506
availableDisplayModes: z.array(z.string()).optional(),
507507
viewport: z
508508
.object({

0 commit comments

Comments
 (0)