"use client"; import "./globals.css"; import "@copilotkit/react-core/v2/styles.css"; import { CopilotKit } from "@copilotkit/react-core/v2"; import { ThemeProvider } from "@/hooks/use-theme"; // A2UI catalog: definitions + renderers in ./declarative-generative-ui/ import { demonstrationCatalog } from "./declarative-generative-ui/renderers"; export default function RootLayout({ children, }: Readonly<{ children: React.ReactNode }>) { return ( CopilotKit {/* suppressHydrationWarning: browser extensions (e.g. Grammarly) inject attributes like data-gr-ext-installed onto before React hydrates, which would otherwise surface as a hydration mismatch on first load. This only relaxes the check for 's own attributes (one level deep); everything rendered inside is still fully hydration-checked. */} {children} ); }