From 47d1b37ba386cf9ae9e20f66cc62c09a9f0ec800 Mon Sep 17 00:00:00 2001 From: Anton Pidkuiko <105124934+antonpk1@users.noreply.github.com> Date: Mon, 8 Dec 2025 01:14:33 +0000 Subject: [PATCH] fix: remove 'system' from theme type (#79) 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 2f90f75..85ab9b9 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"