// Current: Manual check
const theme = window.openai?.theme;
// Should have:
import { useTheme } from '@ainativekit/ui';
function MyComponent() {
const theme = useTheme(); // 'light' | 'dark', updates on change
return <div>Current theme: {theme}</div>;
}