From 4819da179745f775e4498dfbcd8ad47ba4c38121 Mon Sep 17 00:00:00 2001 From: Anton Pidkuiko MacBook Date: Fri, 5 Dec 2025 15:10:22 +0000 Subject: [PATCH] fix: remove 'system' from theme type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove 'system' option from theme, leaving only 'light' | 'dark'. This aligns the SDK with: - The spec (which already only has light/dark) - OpenAI Apps SDK compatibility 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index 05a936d88..2023dd257 100644 --- a/src/types.ts +++ b/src/types.ts @@ -425,7 +425,7 @@ export interface McpUiHostContext { * Current color theme preference. * @example "dark" */ - theme?: "light" | "dark" | "system"; + theme?: "light" | "dark"; /** * How the UI is currently displayed. * @example "inline"