The Open Standard for Generative UI
Chore/pr ready 20260403 (#419)
Visharad Kashyapcd8e652f7595
diff --git a/examples/multi-agent-chat/.gitignore b/examples/multi-agent-chat/.gitignorenew file mode 100644index 000000000..63271800a--- /dev/null+++ b/examples/multi-agent-chat/.gitignore@@ -0,0 +1,39 @@+# dependencies+/node_modules+/.pnp+.pnp.*+.yarn/*+!.yarn/patches+!.yarn/plugins+!.yarn/releases+!.yarn/versions++# testing+/coverage++# next.js+/.next/+/out/++# production+/build++# misc+.DS_Store+*.pem++# debug+npm-debug.log*+yarn-debug.log*+yarn-error.log*+.pnpm-debug.log*++# env files (can opt-in for committing if needed)+.env*++# vercel+.vercel++# typescript+*.tsbuildinfo+next-env.d.tsdiff --git a/examples/multi-agent-chat/README.md b/examples/multi-agent-chat/README.mdnew file mode 100644index 000000000..a624ba15f--- /dev/null+++ b/examples/multi-agent-chat/README.md@@ -0,0 +1,270 @@+# Vercel AI Chat Example++A full-stack generative UI chatbot built with the [Vercel AI SDK](https://ai-sdk.dev/) and [OpenUI Lang](https://www.openui.com/docs/openui-lang/overview). Instead of replying with plain text or markdown, the LLM generates structured UI markup that the client renders as interactive React components — cards, tables, charts, forms, and more — in real time as tokens stream in.++Features: multi-step tool calling, persistent conversation threads (localStorage), collapsible sidebar, and automatic light/dark theme support.++<video src="../../docs/public/videos/vercel-ai-chat.mp4"+ noControls+ playsInline+ muted+ preload="metadata"+ className="w-full rounded-lg m-auto"+ autoPlay+ loop+/>++[View source on GitHub →](https://github.com/thesysdev/openui/tree/main/examples/vercel-ai-chat)++---++## How It Works++The LLM is prompted with a system prompt that describes a set of UI components — their names, props, and when to use them. Instead of writing prose, the model responds in **OpenUI Lang**: a declarative markup syntax that maps directly to React components. For example:++```+Card([+ CardHeader(title="Weather in Tokyo"),+ BarChart(data=[...], title="Temperature this week")+])+```++On the client, `<Renderer />` from `@openuidev/react-lang` parses this markup token-by-token as it streams in and renders it as real React components. The user sees UI building up live — not a wall of text.++The Vercel AI SDK handles the streaming transport on both ends:+- **Backend**: `streamText` calls the LLM, executes tools, and streams the response.+- **Frontend**: `useChat` manages message state, accumulates the streamed text, and triggers re-renders.++---++## Architecture++```+┌────────────────────────────────────┐ ┌────────────────────────────────────┐+│ Browser │ HTTP │ Next.js API Route │+│ │ ──────►│ │+│ • useChat manages message state │ │ • Loads system-prompt.txt │+│ • <Renderer /> parses OpenUI Lang │◄────── │ • Calls LLM with streamText │+│ • openuiChatLibrary renders UI │ stream │ • Executes tools server-side │+│ • Sidebar with thread history │ │ • Returns toUIMessageStreamResponse│+└────────────────────────────────────┘ └────────────────────────────────────┘+```++### Request / Response Flow++1. User types a message. `useChat` sends `POST /api/chat` with the full conversation history.+2. The API route reads `system-prompt.txt`, calls `streamText` with the model, system prompt, messages, and tool definitions.+3. If the LLM calls a tool, the Vercel AI SDK executes it server-side and feeds the result back into the model. This loop runs up to 5 steps (`stopWhen: stepCountIs(5)`).+4. The LLM generates a final OpenUI Lang response and it streams back via `toUIMessageStreamResponse()`.+5. `useChat` accumulates the streaming text and passes it to `<AssistantMessage />`.+6. `<AssistantMessage />` feeds the accumulated text into `<Renderer response={text} library={openuiChatLibrary} isStreaming={isStreaming} />`.+7. `<Renderer />` parses the markup progressively and renders live React components as each token arrives.+8. When the stream ends, `isStreaming` is set to `false`. The message is saved to localStorage via `useThreads`.++---++## Project Structure++```+vercel-ai-chat/+├── src/+│ ├── app/+│ │ ├── api/chat/route.ts # Streaming chat endpoint (Vercel AI SDK)+│ │ ├── page.tsx # Main chat page — wires useChat + components+│ │ └── layout.tsx # Root layout with ThemeProvider+│ ├── components/+│ │ ├── assistant-message.tsx # Renders <Renderer /> for each AI reply+│ │ ├── user-message.tsx # Renders user messages+│ │ ├── chat-input.tsx # Textarea input with send / stop buttons+│ │ ├── chat-header.tsx # Top bar with sidebar toggle+│ │ ├── sidebar.tsx # Thread list with new/switch/delete+│ │ ├── sidebar-toggle.tsx # Mobile sidebar toggle button+│ │ ├── conversation-starters.tsx # Suggested prompts on empty chat+│ │ ├── thinking-indicator.tsx # Animated dots while model is thinking+│ │ └── tool-call-indicator.tsx # Shows which tool is running+│ ├── hooks/+│ │ ├── use-system-theme.tsx # Detects system light/dark preference+│ │ └── use-threads.ts # Thread CRUD + localStorage persistence+│ ├── lib/+│ │ ├── tools.ts # Four mock tool definitions (Vercel AI SDK format)+│ │ └── thread-store.ts # Read/write threads to localStorage+│ ├── library.ts # OpenUI library export for prompt generation+│ └── generated/+│ └── system-prompt.txt # Auto-generated — do not edit manually+└── package.json+```++---++## Getting Started++### Prerequisites++- Node.js 18++- pnpm+- An OpenAI API key++### 1. Install dependencies++```bash+cd examples/vercel-ai-chat+pnpm install+```++### 2. Configure environment++```bash+cp .env.example .env.local+```++Add your key to `.env.local`:++```+OPENAI_API_KEY=sk-...+```++### 3. Start the dev server++```bash+pnpm dev+```++This runs `generate:prompt` first (compiles `src/library.ts` → `src/generated/system-prompt.txt`) then starts the Next.js dev server at `http://localhost:3000`.++---++## What's in This Example++### System Prompt Generation++`src/library.ts` re-exports `openuiChatLibrary` (as `library`) and `openuiChatPromptOptions` (as `promptOptions`) from `@openuidev/react-ui/genui-lib`. At dev time, the OpenUI CLI reads this file and generates `src/generated/system-prompt.txt` — a text file containing every component's name, prop schema, description, and usage examples. This is what the LLM receives as the system prompt, teaching it which components exist and how to use them.++Re-run generation any time you change component definitions:++```bash+pnpm generate:prompt+```++### `src/app/api/chat/route.ts` — Backend++The API route uses the Vercel AI SDK's `streamText` with five arguments:++| Argument | Value | Purpose |+| -------- | ----- | ------- |+| `model` | `openai("gpt-5.4")` | The LLM to call |+| `system` | contents of `system-prompt.txt` | Teaches the model OpenUI Lang and the available components |+| `messages` | conversation history from client | The full thread so far |+| `tools` | four tool definitions | Functions the LLM can call mid-generation |+| `stopWhen` | `stepCountIs(5)` | Stops the tool-call loop after 5 steps maximum |++`convertToModelMessages` bridges the Vercel AI SDK's `UIMessage` client format to the `ModelMessage` server format. `toUIMessageStreamResponse()` serializes the stream in the format `useChat` on the client expects.++### `src/components/assistant-message.tsx` — Frontend Renderer++Each assistant message is rendered by `<AssistantMessage />`, which:++1. Finds all `text` parts in the message (filtering out tool-call parts).+2. Concatenates them into `textContent`.+3. Passes it to `<Renderer />`:++```tsx+<Renderer+ response={textContent}+ library={openuiChatLibrary}+ isStreaming={isStreaming}+ onAction={handleAction}+/>+```++The `onAction` handler listens for `BuiltinActionType.ContinueConversation` events — fired when the user clicks a follow-up button inside a rendered card — and calls `onSend(event.humanFriendlyMessage)` to feed it back into the conversation.++### `src/hooks/use-threads.ts` — Thread Management++Conversations are organized into threads. Each thread has an `id`, `title` (derived from the first user message), `messages`, and timestamps. Threads are stored in localStorage under the key `vercel-ai-chat-threads`.++The hook exposes:++| Function | Description |+| -------- | ----------- |+| `createThread()` | Creates a new empty thread and makes it active |+| `switchThread(id)` | Loads a previous thread's messages into `useChat` |+| `deleteThread(id)` | Removes a thread; switches to a new one if it was active |+| `persistMessages(messages)` | Saves the current `useChat` messages to localStorage |++### `src/lib/tools.ts` — Mock Tools++All four tools are mock implementations with simulated network delays. They return realistic-looking data so the LLM can generate rich UI responses.++#### `get_weather`++Returns current conditions and a two-day forecast for a city.++- **Input**: `location` (string) — city name+- **Simulated delay**: 800ms+- **Returns**:++| Field | Example |+| ----- | ------- |+| `temperature_celsius` | `22` |+| `temperature_fahrenheit` | `72` |+| `condition` | `"Sunny"` |+| `humidity_percent` | `65` |+| `wind_speed_kmh` | `12` |+| `forecast` | `[{ day, high, low, condition }, ...]` (2 days) |++Hardcoded temperatures for: Tokyo (22°C), San Francisco (18°C), London (14°C), New York (25°C), Paris (19°C), Sydney (27°C), Mumbai (33°C), Berlin (16°C). Any other city gets a random temperature between 5–35°C.++#### `get_stock_price`++Returns current price data for a stock ticker.++- **Input**: `symbol` (string) — e.g. `AAPL`+- **Simulated delay**: 600ms+- **Returns**:++| Field | Example |+| ----- | ------- |+| `price` | `190.12` |+| `change` | `+0.28` |+| `change_percent` | `+0.15%` |+| `volume` | `"42.3M"` |+| `day_high` | `191.50` |+| `day_low` | `188.90` |++Hardcoded prices for: AAPL ($189.84), GOOGL ($141.80), TSLA ($248.42), MSFT ($378.91), AMZN ($178.25), NVDA ($875.28), META ($485.58). Other tickers get a random price.++#### `calculate`++Evaluates a math expression safely.++- **Input**: `expression` (string) — e.g. `"2 * (3 + 4)"` or `"Math.sqrt(144)"`+- **Simulated delay**: 300ms+- **Supports**: `+`, `-`, `*`, `/`, `()`, `%`, `Math.sqrt`, `pow`, `abs`, `ceil`, `floor`, `round`+- **Returns**: `{ expression, result }` or `{ expression, error }` on invalid input++#### `search_web`++Returns mock search results for any query.++- **Input**: `query` (string) — the search term+- **Simulated delay**: 1000ms+- **Returns**: an array of 3 results, each with `title` and `snippet` templated from the query string++---++## Scripts++| Script | Description |+| ------ | ----------- |+| `pnpm dev` | Generate system prompt, then start the Next.js dev server |+| `pnpm generate:prompt` | Recompile `src/library.ts` → `src/generated/system-prompt.txt` |+| `pnpm build` | Build for production |+| `pnpm start` | Start the production server |++---++## Learn More++- [OpenUI Lang overview](https://www.openui.com/docs/openui-lang/overview) — Library, Prompt Generator, Parser, Renderer+- [Vercel AI SDK docs](https://ai-sdk.dev/) — `streamText`, `useChat`, `tool()`+- [`@openuidev/react-lang` package](../../packages/react-lang)diff --git a/examples/multi-agent-chat/eslint.config.mjs b/examples/multi-agent-chat/eslint.config.mjsnew file mode 100644index 000000000..199c0ecf8--- /dev/null+++ b/examples/multi-agent-chat/eslint.config.mjs@@ -0,0 +1,16 @@+import { defineConfig, globalIgnores } from "eslint/config";+import nextVitals from "eslint-config-next/core-web-vitals";+import nextTs from "eslint-config-next/typescript";++const eslintConfig = defineConfig([+ ...nextVitals,+ ...nextTs,+ globalIgnores([+ ".next/**",+ "out/**",+ "build/**",+ "next-env.d.ts",+ ]),+]);++export default eslintConfig;diff --git a/examples/multi-agent-chat/next.config.ts b/examples/multi-agent-chat/next.config.tsnew file mode 100644index 000000000..cd052058f--- /dev/null+++ b/examples/multi-agent-chat/next.config.ts@@ -0,0 +1,8 @@+import type { NextConfig } from "next";++const nextConfig: NextConfig = {+ turbopack: {},+ transpilePackages: ["@openuidev/react-ui", "@openuidev/react-lang"],+};++export default nextConfig;diff --git a/examples/multi-agent-chat/package.json b/examples/multi-agent-chat/package.jsonnew file mode 100644index 000000000..3f9ac7f49--- /dev/null+++ b/examples/multi-agent-chat/package.json@@ -0,0 +1,36 @@+{+ "name": "vercel-ai-chat",+ "version": "0.1.0",+ "private": true,+ "scripts": {+ "generate:prompt": "pnpm --filter @openuidev/cli build && pnpm exec openui generate src/library.ts --out src/generated/system-prompt.txt",+ "dev": "pnpm generate:prompt && next dev",+ "build": "next build",+ "start": "next start",+ "lint": "eslint"+ },+ "dependencies": {+ "@ai-sdk/openai": "^3.0.41",+ "@ai-sdk/react": "^3.0.118",+ "@openuidev/cli": "workspace:*",+ "@openuidev/react-lang": "workspace:*",+ "@openuidev/react-ui": "workspace:*",+ "ai": "^6.0.116",+ "lucide-react": "^0.575.0",+ "next": "16.1.6",+ "react": "19.2.3",+ "react-dom": "19.2.3",+ "streamdown": "^2.5.0",+ "zod": "^4.3.6"+ },+ "devDependencies": {+ "@tailwindcss/postcss": "^4",+ "@types/node": "^20",+ "@types/react": "^19",+ "@types/react-dom": "^19",+ "eslint": "^9",+ "eslint-config-next": "16.1.6",+ "tailwindcss": "^4",+ "typescript": "^5"+ }+}diff --git a/examples/multi-agent-chat/postcss.config.mjs b/examples/multi-agent-chat/postcss.config.mjsnew file mode 100644index 000000000..61e36849c--- /dev/null+++ b/examples/multi-agent-chat/postcss.config.mjs@@ -0,0 +1,7 @@+const config = {+ plugins: {+ "@tailwindcss/postcss": {},+ },+};++export default config;diff --git a/examples/multi-agent-chat/src/app/api/chat/route.ts b/examples/multi-agent-chat/src/app/api/chat/route.tsnew file mode 100644index 000000000..c781d7281--- /dev/null+++ b/examples/multi-agent-chat/src/app/api/chat/route.ts@@ -0,0 +1,57 @@+import { tools } from "@/lib/tools";+import { openai } from "@ai-sdk/openai";+import { type UIMessage, convertToModelMessages, stepCountIs, streamText } from "ai";++const mainAgentSystemPrompt = `You are the main orchestrator agent.++Core behavior:+- Reply to the user in plain text only.+- Never generate OpenUI language, XML, HTML, JSX, Markdown code fences, or UI specs directly.+- Use tools proactively.++Delegation policy:+- For any request that asks to build/show/create a dashboard, chart, table, KPI card, report, trend view, comparison, segmentation, market overview, or data summary, call analytics_subagent immediately.+- If a request could reasonably benefit from visual analytics, call analytics_subagent by default.+- Do not wait for explicit keywords like "use sub-agent".+- Only skip analytics_subagent for clearly non-analytic requests (casual chat, simple factual Q&A, pure writing, or non-data tasks).++When calling analytics_subagent:+- Pass a complete task with user intent, entities, time ranges, requested layout, and constraints.+- Ask for a polished production-style OpenUI dashboard when appropriate.++Response style after tool returns:+- Do not narrate planning or progress (avoid lines like "I'll fetch data" or "now building dashboard").+- Provide a concise plain-text summary in 1-3 sentences max.+- Let the tool output carry the visual detail; your text should be brief and helpful.`;++function prettyJson(value: unknown): string {+ try {+ return JSON.stringify(value, null, 2);+ } catch {+ return String(value);+ }+}++export async function POST(req: Request) {+ const { messages } = (await req.json()) as { messages: UIMessage[] };++ console.info("[Main Agent] ---- New Chat Prompt ----");+ console.info("[Main Agent] Full UI chat history:\n", prettyJson(messages));++ const modelMessages = await convertToModelMessages(messages);+ console.info("[Main Agent] Full model chat history:\n", prettyJson(modelMessages));++ const result = streamText({+ model: openai("gpt-5.4"),+ system: mainAgentSystemPrompt,+ messages: modelMessages,+ tools,+ stopWhen: stepCountIs(5),+ });++ result.text.then((text) => {+ console.info("[Main Agent] Final assistant text:\n", text);+ });++ return result.toUIMessageStreamResponse();+}diff --git a/examples/multi-agent-chat/src/app/globals.css b/examples/multi-agent-chat/src/app/globals.cssnew file mode 100644index 000000000..e4ac5af9b--- /dev/null+++ b/examples/multi-agent-chat/src/app/globals.css@@ -0,0 +1,2 @@+@import "tailwindcss";+@import "@openuidev/react-ui/components.css";diff --git a/examples/multi-agent-chat/src/app/layout.tsx b/examples/multi-agent-chat/src/app/layout.tsxnew file mode 100644index 000000000..b4a6e9b58--- /dev/null+++ b/examples/multi-agent-chat/src/app/layout.tsx@@ -0,0 +1,22 @@+import type { Metadata } from "next";+import { ThemeProvider } from "@/hooks/use-system-theme";+import "./globals.css";++export const metadata: Metadata = {+ title: "Vercel AI Chat",+ description: "Generative UI Chat with Vercel AI SDK + OpenUI Renderer",+};++export default function RootLayout({+ children,+}: Readonly<{+ children: React.ReactNode;+}>) {+ return (+ <html lang="en">+ <body>+ <ThemeProvider>{children}</ThemeProvider>+ </body>+ </html>+ );+}diff --git a/examples/multi-agent-chat/src/app/page.tsx b/examples/multi-agent-chat/src/app/page.tsxnew file mode 100644index 000000000..00836248d--- /dev/null+++ b/examples/multi-agent-chat/src/app/page.tsx@@ -0,0 +1,121 @@+"use client";++import "@openuidev/react-ui/components.css";++import { useChat } from "@ai-sdk/react";+import { useRef, useEffect, useState } from "react";+import { useTheme } from "@/hooks/use-system-theme";+import { useThreads } from "@/hooks/use-threads";+import { ChatHeader } from "@/components/chat-header";+import { ChatInput } from "@/components/chat-input";+import { ConversationStarters } from "@/components/conversation-starters";+import { AssistantMessage } from "@/components/assistant-message";+import { UserMessage } from "@/components/user-message";+import { ThinkingIndicator } from "@/components/thinking-indicator";+import { Sidebar } from "@/components/sidebar";++export default function Page() {+ useTheme();+ const scrollRef = useRef<HTMLDivElement>(null);+ const [input, setInput] = useState("");++ const {+ threads,+ activeThreadId,+ activeThread,+ sidebarOpen,+ setSidebarOpen,+ persistMessages,+ createThread,+ switchThread,+ deleteThread,+ } = useThreads();++ const { messages, sendMessage, status, stop } = useChat({+ id: activeThreadId,+ messages: activeThread?.messages,+ });++ const isLoading = status === "submitted" || status === "streaming";++ // Auto-save messages to localStorage+ useEffect(() => {+ if (messages.length > 0) {+ persistMessages(messages);+ }+ }, [messages, persistMessages]);++ useEffect(() => {+ if (scrollRef.current) {+ scrollRef.current.scrollTop = scrollRef.current.scrollHeight;+ }+ }, [messages]);++ const handleSend = (text: string) => {+ const trimmed = text.trim();+ if (!trimmed || isLoading) return;+ setInput("");+ sendMessage({ text: trimmed });+ };++ const isEmpty = messages.length === 0;+ const lastIsUser = messages[messages.length - 1]?.role === "user";++ return (+ <div className="h-screen bg-white dark:bg-zinc-950">+ <Sidebar+ threads={threads}+ activeThreadId={activeThreadId}+ isOpen={sidebarOpen}+ onNewChat={createThread}+ onSelectThread={switchThread}+ onDeleteThread={deleteThread}+ onClose={() => setSidebarOpen(false)}+ />++ <div+ className={`flex flex-col h-full transition-[margin] duration-200 ease-in-out ${+ sidebarOpen ? "md:ml-[280px]" : "ml-0"+ }`}+ >+ <ChatHeader+ isSidebarOpen={sidebarOpen}+ onToggleSidebar={() => setSidebarOpen((o) => !o)}+ />++ <div ref={scrollRef} className="flex-1 overflow-y-auto">+ {isEmpty ? (+ <ConversationStarters onSelect={handleSend} />+ ) : (+ <div className="max-w-3xl mx-auto px-4 py-6 space-y-6">+ {messages.map((m) => {+ if (m.role === "assistant") {+ return (+ <AssistantMessage+ key={m.id}+ message={m}+ onSend={handleSend}+ />+ );+ }+ if (m.role === "user") {+ return <UserMessage key={m.id} message={m} />;+ }+ return null;+ })}+ {isLoading && lastIsUser && <ThinkingIndicator />}+ </div>+ )}+ </div>++ <ChatInput+ input={input}+ isLoading={isLoading}+ onInputChange={setInput}+ onSend={handleSend}+ onStop={stop}+ />+ </div>+ </div>+ );+}diff --git a/examples/multi-agent-chat/src/components/assistant-message.tsx b/examples/multi-agent-chat/src/components/assistant-message.tsxnew file mode 100644index 000000000..24a485548--- /dev/null+++ b/examples/multi-agent-chat/src/components/assistant-message.tsx@@ -0,0 +1,99 @@+import type { ActionEvent } from "@openuidev/react-lang";+import { BuiltinActionType, Renderer } from "@openuidev/react-lang";+import { openuiChatLibrary } from "@openuidev/react-ui/genui-lib";+import type { UIMessage } from "ai";+import { Bot } from "lucide-react";+import { ToolCallIndicator } from "./tool-call-indicator";++interface AssistantMessageProps {+ message: UIMessage;+ onSend: (text: string) => void;+}++function isToolPart(+ part: UIMessage["parts"][number],+): part is UIMessage["parts"][number] & { toolCallId: string; state: string } {+ return part.type.startsWith("tool-") || part.type === "dynamic-tool";+}++function getToolName(part: UIMessage["parts"][number]): string {+ if (part.type === "dynamic-tool" && "toolName" in part) {+ return (part as { toolName: string }).toolName;+ }+ return part.type.replace(/^tool-/, "");+}++function getOpenUiToolOutput(part: UIMessage["parts"][number]): string | null {+ if (!("output" in part)) return null;+ const output = (part as { output?: unknown }).output;+ if (!output || typeof output !== "object") return null;++ const openuiSpec = (output as { openuiSpec?: unknown }).openuiSpec;+ return typeof openuiSpec === "string" ? openuiSpec : null;+}+++function isOpenUiToolOutputStreaming(part: UIMessage["parts"][number]): boolean {+ if (!("output" in part)) return false;+ const output = (part as { output?: unknown }).output;+ if (!output || typeof output !== "object") return false;++ return (output as { complete?: unknown }).complete === false;+}++export function AssistantMessage({ message, onSend }: AssistantMessageProps) {+ const textContent = message.parts+ .filter((p): p is { type: "text"; text: string } => p.type === "text")+ .map((p) => p.text)+ .join("");++ const toolParts = message.parts.filter(isToolPart);++ const handleAction = (event: ActionEvent) => {+ if (event.type === BuiltinActionType.ContinueConversation && event.humanFriendlyMessage) {+ onSend(event.humanFriendlyMessage);+ }+ };++ const isToolDone = (state: string) => state === "output-available";++ return (+ <div className="flex gap-3 max-w-3xl">+ <div className="shrink-0 w-7 h-7 rounded-full bg-gradient-to-br from-violet-500 to-indigo-600 flex items-center justify-center">+ <Bot size={14} className="text-white" />+ </div>+ <div className="flex-1 min-w-0 space-y-2">+ {toolParts.map((tp) => {+ const toolState = (tp as { state: string }).state;+ const toolName = getToolName(tp);+ const openUiSpec = getOpenUiToolOutput(tp);+ const isOpenUiStreaming = isOpenUiToolOutputStreaming(tp);+++ return (+ <div key={(tp as { toolCallId: string }).toolCallId} className="space-y-2">+ <ToolCallIndicator name={toolName} isDone={isToolDone(toolState)} />+ {isToolDone(toolState) && toolName === "analytics_subagent" && openUiSpec && (+ <div className="prose-container">+ <Renderer+ response={openUiSpec}+ library={openuiChatLibrary}+ isStreaming={isOpenUiStreaming}+ onAction={handleAction}+ />+ </div>+ )}+ </div>+ );+ })}+ {textContent && (+ <div className="text-sm leading-6 whitespace-pre-wrap text-zinc-900 dark:text-zinc-100">+ {textContent}+ </div>+ )}+ </div>+ </div>+ );++}+diff --git a/examples/multi-agent-chat/src/components/chat-header.tsx b/examples/multi-agent-chat/src/components/chat-header.tsxnew file mode 100644index 000000000..33e910bbc--- /dev/null+++ b/examples/multi-agent-chat/src/components/chat-header.tsx@@ -0,0 +1,26 @@+import { Sparkles } from "lucide-react";+import { SidebarToggle } from "./sidebar-toggle";++interface ChatHeaderProps {+ isSidebarOpen: boolean;+ onToggleSidebar: () => void;+}++export function ChatHeader({ isSidebarOpen, onToggleSidebar }: ChatHeaderProps) {+ return (+ <header className="shrink-0 border-b border-zinc-200 dark:border-zinc-800 px-4 py-3">+ <div className="flex items-center gap-2">+ <SidebarToggle isOpen={isSidebarOpen} onToggle={onToggleSidebar} />+ <div className="w-7 h-7 rounded-lg bg-gradient-to-br from-violet-500 to-indigo-600 flex items-center justify-center">+ <Sparkles size={14} className="text-white" />+ </div>+ <div className="flex flex-col items-start">+ <h1 className="text-sm font-semibold text-zinc-900 dark:text-zinc-100">Vercel AI Chat</h1>+ <span className="text-xs text-zinc-400 dark:text-zinc-500">+ Vercel AI SDK + OpenUI Renderer+ </span>+ </div>+ </div>+ </header>+ );+}diff --git a/examples/multi-agent-chat/src/components/chat-input.tsx b/examples/multi-agent-chat/src/components/chat-input.tsxnew file mode 100644index 000000000..7f74245df--- /dev/null+++ b/examples/multi-agent-chat/src/components/chat-input.tsx@@ -0,0 +1,70 @@+import { SendHorizonal, Square } from "lucide-react";+import { useRef, useState } from "react";++interface ChatInputProps {+ input: string;+ isLoading: boolean;+ onInputChange: (value: string) => void;+ onSend: (text: string) => void;+ onStop: () => void;+}++export function ChatInput({ input, isLoading, onInputChange, onSend, onStop }: ChatInputProps) {+ const inputRef = useRef<HTMLTextAreaElement>(null);+ const [composing, setComposing] = useState(false);++ const handleKeyDown = (e: React.KeyboardEvent<HTMLTextAreaElement>) => {+ if (e.key === "Enter" && !e.shiftKey && !composing) {+ e.preventDefault();+ onSend(input);+ }+ };++ const handleSubmit = (e: React.FormEvent) => {+ e.preventDefault();+ onSend(input);+ };++ return (+ <div className="shrink-0 border-t border-zinc-200 dark:border-zinc-800 px-4 py-3">+ <form onSubmit={handleSubmit} className="max-w-3xl mx-auto flex items-start gap-2">+ <div className="flex-1 flex relative items-center">+ <textarea+ ref={inputRef}+ value={input}+ onChange={(e) => onInputChange(e.target.value)}+ onKeyDown={handleKeyDown}+ onCompositionStart={() => setComposing(true)}+ onCompositionEnd={() => setComposing(false)}+ placeholder="Send a message…"+ rows={1}+ className="w-full resize-none rounded-xl border border-zinc-300 dark:border-zinc-700 bg-white dark:bg-zinc-900 px-4 py-2.5 text-sm text-zinc-900 dark:text-zinc-100 placeholder-zinc-400 focus:outline-none focus:ring-2 focus:ring-violet-500/40 focus:border-violet-500 transition-shadow"+ style={{ maxHeight: 160 }}+ onInput={(e) => {+ const el = e.currentTarget;+ el.style.height = "auto";+ el.style.height = `${Math.min(el.scrollHeight, 160)}px`;+ }}+ />+ </div>+ {isLoading ? (+ <button+ type="button"+ onClick={onStop}+ className="shrink-0 w-10 h-10 rounded-xl bg-zinc-200 dark:bg-zinc-800 flex items-center justify-center text-zinc-600 dark:text-zinc-400 hover:bg-zinc-300 dark:hover:bg-zinc-700 transition-colors"+ >+ <Square size={16} />+ </button>+ ) : (+ <button+ type="submit"+ disabled={!input.trim()}+ className="shrink-0 w-10 h-10 rounded-xl bg-zinc-900 dark:bg-zinc-100 flex items-center justify-center text-white dark:text-zinc-900 hover:bg-zinc-800 dark:hover:bg-zinc-200 transition-colors disabled:opacity-30 disabled:cursor-not-allowed"+ >+ <SendHorizonal size={16} />+ </button>+ )}+ </form>+ </div>+ );+}diff --git a/examples/multi-agent-chat/src/components/conversation-starters.tsx b/examples/multi-agent-chat/src/components/conversation-starters.tsxnew file mode 100644index 000000000..bfb82eb90--- /dev/null+++ b/examples/multi-agent-chat/src/components/conversation-starters.tsx@@ -0,0 +1,42 @@+import { Sparkles } from "lucide-react";++const STARTERS = [+ { displayText: "Weather in Tokyo", prompt: "What's the weather like in Tokyo right now?" },+ { displayText: "AAPL stock price", prompt: "What's the current Apple stock price?" },+ {+ displayText: "Contact form",+ prompt: "Build me a contact form with name, email, topic, and message fields.",+ },+ {+ displayText: "Data table",+ prompt: "Show me a table of the top 5 programming languages by popularity with year created.",+ },+];++export function ConversationStarters({ onSelect }: { onSelect: (prompt: string) => void }) {+ return (+ <div className="flex flex-col items-center justify-center h-full px-4">+ <div className="w-12 h-12 rounded-2xl bg-gradient-to-br from-violet-500 to-indigo-600 flex items-center justify-center mb-4">+ <Sparkles size={22} className="text-white" />+ </div>+ <h2 className="text-lg font-semibold text-zinc-900 dark:text-zinc-100 mb-1">+ What can I help you with?+ </h2>+ <p className="text-sm text-zinc-500 dark:text-zinc-400 mb-6 text-center max-w-md">+ Ask me anything — I can check weather, look up stocks, do math, search the web, and build+ interactive UI.+ </p>+ <div className="grid grid-cols-2 gap-2 w-full max-w-md">+ {STARTERS.map((s) => (+ <button+ key={s.prompt}+ onClick={() => onSelect(s.prompt)}+ className="text-left text-sm px-3 py-2.5 rounded-xl border border-zinc-200 dark:border-zinc-800 text-zinc-700 dark:text-zinc-300 hover:bg-zinc-50 dark:hover:bg-zinc-900 transition-colors"+ >+ {s.displayText}+ </button>+ ))}+ </div>+ </div>+ );+}diff --git a/examples/multi-agent-chat/src/components/sidebar-toggle.tsx b/examples/multi-agent-chat/src/components/sidebar-toggle.tsxnew file mode 100644index 000000000..99dd30eb0--- /dev/null+++ b/examples/multi-agent-chat/src/components/sidebar-toggle.tsx@@ -0,0 +1,18 @@+import { PanelLeft, X } from "lucide-react";++interface SidebarToggleProps {+ isOpen: boolean;+ onToggle: () => void;+}++export function SidebarToggle({ isOpen, onToggle }: SidebarToggleProps) {+ return (+ <button+ onClick={onToggle}+ className="w-8 h-8 rounded-lg flex items-center justify-center text-zinc-500 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800 transition-colors"+ aria-label={isOpen ? "Close sidebar" : "Open sidebar"}+ >+ {isOpen ? <X size={18} /> : <PanelLeft size={18} />}+ </button>+ );+}diff --git a/examples/multi-agent-chat/src/components/sidebar.tsx b/examples/multi-agent-chat/src/components/sidebar.tsxnew file mode 100644index 000000000..c513a567c--- /dev/null+++ b/examples/multi-agent-chat/src/components/sidebar.tsx@@ -0,0 +1,153 @@+"use client";++import type { Thread } from "@/lib/thread-store";+import { Plus, Trash2, MessageSquare } from "lucide-react";++interface SidebarProps {+ threads: Thread[];+ activeThreadId: string;+ isOpen: boolean;+ onNewChat: () => void;+ onSelectThread: (id: string) => void;+ onDeleteThread: (id: string) => void;+ onClose: () => void;+}++function relativeTime(timestamp: number): string {+ const diff = Date.now() - timestamp;+ const mins = Math.floor(diff / 60000);+ if (mins < 1) return "Just now";+ if (mins < 60) return `${mins}m ago`;+ const hours = Math.floor(mins / 60);+ if (hours < 24) return `${hours}h ago`;+ const days = Math.floor(hours / 24);+ if (days < 7) return `${days}d ago`;+ return new Date(timestamp).toLocaleDateString();+}++function groupByDate(threads: Thread[]): { label: string; threads: Thread[] }[] {+ const now = new Date();+ const startOfToday = new Date(now.getFullYear(), now.getMonth(), now.getDate()).getTime();+ const startOfYesterday = startOfToday - 86400000;+ const startOfLastWeek = startOfToday - 7 * 86400000;++ const today: Thread[] = [];+ const yesterday: Thread[] = [];+ const lastWeek: Thread[] = [];+ const older: Thread[] = [];++ for (const t of threads) {+ if (t.updatedAt >= startOfToday) today.push(t);+ else if (t.updatedAt >= startOfYesterday) yesterday.push(t);+ else if (t.updatedAt >= startOfLastWeek) lastWeek.push(t);+ else older.push(t);+ }++ const groups: { label: string; threads: Thread[] }[] = [];+ if (today.length) groups.push({ label: "Today", threads: today });+ if (yesterday.length) groups.push({ label: "Yesterday", threads: yesterday });+ if (lastWeek.length) groups.push({ label: "Last 7 days", threads: lastWeek });+ if (older.length) groups.push({ label: "Older", threads: older });+ return groups;+}++export function Sidebar({+ threads,+ activeThreadId,+ isOpen,+ onNewChat,+ onSelectThread,+ onDeleteThread,+ onClose,+}: SidebarProps) {+ const groups = groupByDate(threads);++ return (+ <>+ {/* Backdrop for mobile */}+ {isOpen && (+ <div+ className="fixed inset-0 z-40 bg-black/30 md:hidden"+ onClick={onClose}+ />+ )}++ <aside+ className={`+ fixed z-50 top-0 left-0 h-full+ w-[280px] shrink-0+ bg-zinc-50 dark:bg-zinc-900 border-r border-zinc-200 dark:border-zinc-800+ flex flex-col+ transition-transform duration-200 ease-in-out+ ${isOpen ? "translate-x-0" : "-translate-x-full"}+ `}+ >+ {/* Sidebar header */}+ <div className="p-3 border-b border-zinc-200 dark:border-zinc-800">+ <button+ onClick={() => {+ onNewChat();+ onClose();+ }}+ className="w-full flex items-center gap-2 px-3 py-[7px] rounded-lg text-sm font-medium text-zinc-700 dark:text-zinc-200 bg-white dark:bg-zinc-800 border border-zinc-200 dark:border-zinc-700 hover:bg-zinc-100 dark:hover:bg-zinc-700 transition-colors"+ >+ <Plus size={16} />+ New Chat+ </button>+ </div>++ {/* Thread list */}+ <div className="flex-1 overflow-y-auto py-2">+ {groups.length === 0 ? (+ <p className="px-4 py-8 text-center text-xs text-zinc-400 dark:text-zinc-500">+ No conversations yet+ </p>+ ) : (+ groups.map((group) => (+ <div key={group.label} className="flex flex-col gap-1">+ <h3 className="px-4 py-1 text-[11px] font-semibold uppercase tracking-wider text-zinc-400 dark:text-zinc-500">+ {group.label}+ </h3>+ {group.threads.map((thread) => {+ const isActive = thread.id === activeThreadId;+ return (+ <div+ key={thread.id}+ className={`group flex items-start gap-2 mx-2 px-2 py-1.5 rounded-lg cursor-pointer transition-colors ${+ isActive+ ? "bg-zinc-200 dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100"+ : "text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800/60"+ }`}+ onClick={() => {+ onSelectThread(thread.id);+ onClose();+ }}+ >+ <MessageSquare size={14} className="shrink-0 opacity-50 mt-1" />+ <div className="flex-1 min-w-0">+ <p className="text-sm truncate">{thread.title}</p>+ <p className="text-[11px] text-zinc-400 dark:text-zinc-500">+ {relativeTime(thread.updatedAt)}+ </p>+ </div>+ <button+ onClick={(e) => {+ e.stopPropagation();+ onDeleteThread(thread.id);+ }}+ className="shrink-0 p-1 rounded opacity-0 group-hover:opacity-100 hover:bg-zinc-300 dark:hover:bg-zinc-700 transition-opacity text-zinc-400 hover:text-red-500"+ aria-label="Delete thread"+ >+ <Trash2 size={14} />+ </button>+ </div>+ );+ })}+ </div>+ ))+ )}+ </div>+ </aside>+ </>+ );+}diff --git a/examples/multi-agent-chat/src/components/thinking-indicator.tsx b/examples/multi-agent-chat/src/components/thinking-indicator.tsxnew file mode 100644index 000000000..321bd732c--- /dev/null+++ b/examples/multi-agent-chat/src/components/thinking-indicator.tsx@@ -0,0 +1,15 @@+import { Bot, Loader2 } from "lucide-react";++export function ThinkingIndicator() {+ return (+ <div className="flex gap-3 max-w-3xl">+ <div className="shrink-0 w-7 h-7 rounded-full bg-gradient-to-br from-violet-500 to-indigo-600 flex items-center justify-center">+ <Bot size={14} className="text-white" />+ </div>+ <div className="flex items-center gap-2 text-sm text-zinc-400">+ <Loader2 size={14} className="animate-spin" />+ Thinking…+ </div>+ </div>+ );+}diff --git a/examples/multi-agent-chat/src/components/tool-call-indicator.tsx b/examples/multi-agent-chat/src/components/tool-call-indicator.tsxnew file mode 100644index 000000000..f5e4f7576--- /dev/null+++ b/examples/multi-agent-chat/src/components/tool-call-indicator.tsx@@ -0,0 +1,17 @@+import { CheckCircle2, Loader2, Wrench } from "lucide-react";++export function ToolCallIndicator({ name, isDone }: { name: string; isDone: boolean }) {+ const label = name.replace(/_/g, " ");++ return (+ <div className="flex items-center gap-2 px-3 py-1.5 text-xs rounded-lg bg-zinc-100 dark:bg-zinc-800 text-zinc-600 dark:text-zinc-400 w-fit">+ {isDone ? (+ <CheckCircle2 size={14} className="text-emerald-500" />+ ) : (+ <Loader2 size={14} className="animate-spin" />+ )}+ <Wrench size={12} />+ <span className="capitalize">{label}</span>+ </div>+ );+}diff --git a/examples/multi-agent-chat/src/components/user-message.tsx b/examples/multi-agent-chat/src/components/user-message.tsxnew file mode 100644index 000000000..c5082d10e--- /dev/null+++ b/examples/multi-agent-chat/src/components/user-message.tsx@@ -0,0 +1,24 @@+import type { UIMessage } from "ai";+import { User } from "lucide-react";++function extractText(message: UIMessage): string {+ return message.parts+ .filter((p): p is { type: "text"; text: string } => p.type === "text")+ .map((p) => p.text)+ .join("");+}++export function UserMessage({ message }: { message: UIMessage }) {+ const text = extractText(message);++ return (+ <div className="flex gap-3 max-w-3xl justify-end ml-auto">+ <div className="px-4 py-2.5 rounded-2xl bg-zinc-900 dark:bg-zinc-100 text-white dark:text-zinc-900 text-sm leading-relaxed max-w-[80%]">+ {text}+ </div>+ <div className="shrink-0 w-7 h-7 rounded-full bg-zinc-300 dark:bg-zinc-700 flex items-center justify-center">+ <User size={14} className="text-zinc-600 dark:text-zinc-300" />+ </div>+ </div>+ );+}diff --git a/examples/multi-agent-chat/src/generated/system-prompt.txt b/examples/multi-agent-chat/src/generated/system-prompt.txtnew file mode 100644index 000000000..9a444471c--- /dev/null+++ b/examples/multi-agent-chat/src/generated/system-prompt.txt@@ -0,0 +1,202 @@+You are an AI assistant that responds using openui-lang, a declarative UI language. Your ENTIRE response must be valid openui-lang code — no markdown, no explanations, just openui-lang.++## Syntax Rules++1. Each statement is on its own line: `identifier = Expression`+2. `root` is the entry point — every program must define `root = Card(...)`+3. Expressions are: strings ("..."), numbers, booleans (true/false), arrays ([...]), objects ({...}), or component calls TypeName(arg1, arg2, ...)+4. Use references for readability: define `name = ...` on one line, then use `name` later+5. EVERY variable (except root) MUST be referenced by at least one other variable. Unreferenced variables are silently dropped and will NOT render. Always include defined variables in their parent's children/items array.+6. Arguments are POSITIONAL (order matters, not names)+7. Optional arguments can be omitted from the end+8. No operators, no logic, no variables — only declarations+9. Strings use double quotes with backslash escaping++## Component Signatures++Arguments marked with ? are optional. Sub-components can be inline or referenced; prefer references for better streaming.+The `action` prop type accepts: ContinueConversation (sends message to LLM), OpenUrl (navigates to URL), or Custom (app-defined).++### Content+CardHeader(title?: string, subtitle?: string) — Header with optional title and subtitle+TextContent(text: string, size?: "small" | "default" | "large" | "small-heavy" | "large-heavy") — Text block. Supports markdown. Optional size: "small" | "default" | "large" | "small-heavy" | "large-heavy".+MarkDownRenderer(textMarkdown: string, variant?: "clear" | "card" | "sunk") — Renders markdown text with optional container variant+Callout(variant: "info" | "warning" | "error" | "success" | "neutral", title: string, description: string) — Callout banner with variant, title, and description+TextCallout(variant?: "neutral" | "info" | "warning" | "success" | "danger", title?: string, description?: string) — Text callout with variant, title, and description+Image(alt: string, src?: string) — Image with alt text and optional URL+ImageBlock(src: string, alt?: string) — Image block with loading state+ImageGallery(images: {src: string, alt?: string, details?: string}[]) — Gallery grid of images with modal preview+CodeBlock(language: string, codeString: string) — Syntax-highlighted code block+Separator(orientation?: "horizontal" | "vertical", decorative?: boolean) — Visual divider between content sections++### Tables+Table(columns: Col[], rows: (string | number | boolean)[][]) — Data table+Col(label: string, type?: "string" | "number" | "action") — Column definition++### Charts (2D)+BarChart(labels: string[], series: Series[], variant?: "grouped" | "stacked", xLabel?: string, yLabel?: string) — Vertical bars; use for comparing values across categories with one or more series+LineChart(labels: string[], series: Series[], variant?: "linear" | "natural" | "step", xLabel?: string, yLabel?: string) — Lines over categories; use for trends and continuous data over time+AreaChart(labels: string[], series: Series[], variant?: "linear" | "natural" | "step", xLabel?: string, yLabel?: string) — Filled area under lines; use for cumulative totals or volume trends over time+RadarChart(labels: string[], series: Series[]) — Spider/web chart; use for comparing multiple variables across one or more entities+HorizontalBarChart(labels: string[], series: Series[], variant?: "grouped" | "stacked", xLabel?: string, yLabel?: string) — Horizontal bars; prefer when category labels are long or for ranked lists+Series(category: string, values: number[]) — One data series++### Charts (1D)+PieChart(slices: Slice[], variant?: "pie" | "donut") — Circular slices showing part-to-whole proportions; supports pie and donut variants+RadialChart(slices: Slice[]) — Radial bars showing proportional distribution across named segments+SingleStackedBarChart(slices: Slice[]) — Single horizontal stacked bar; use for showing part-to-whole proportions in one row+Slice(category: string, value: number) — One slice with label and numeric value++### Charts (Scatter)+ScatterChart(datasets: ScatterSeries[], xLabel?: string, yLabel?: string) — X/Y scatter plot; use for correlations, distributions, and clustering+ScatterSeries(name: string, points: Point[]) — Named dataset+Point(x: number, y: number, z?: number) — Data point with numeric coordinates++### Forms+Form(name: string, buttons: Buttons, fields) — Form container with fields and explicit action buttons+FormControl(label: string, input: Input | TextArea | Select | DatePicker | Slider | CheckBoxGroup | RadioGroup, hint?: string) — Field with label, input component, and optional hint text+Label(text: string) — Text label+Input(name: string, placeholder?: string, type?: "text" | "email" | "password" | "number" | "url", rules?: {required?: boolean, email?: boolean, url?: boolean, numeric?: boolean, min?: number, max?: number, minLength?: number, maxLength?: number, pattern?: string})+TextArea(name: string, placeholder?: string, rows?: number, rules?: {required?: boolean, email?: boolean, url?: boolean, numeric?: boolean, min?: number, max?: number, minLength?: number, maxLength?: number, pattern?: string})+Select(name: string, items: SelectItem[], placeholder?: string, rules?: {required?: boolean, email?: boolean, url?: boolean, numeric?: boolean, min?: number, max?: number, minLength?: number, maxLength?: number, pattern?: string})+SelectItem(value: string, label: string) — Option for Select+DatePicker(name: string, mode: "single" | "range", rules?: {required?: boolean, email?: boolean, url?: boolean, numeric?: boolean, min?: number, max?: number, minLength?: number, maxLength?: number, pattern?: string})+Slider(name: string, variant: "continuous" | "discrete", min: number, max: number, step?: number, defaultValue?: number[], label?: string, rules?: {required?: boolean, email?: boolean, url?: boolean, numeric?: boolean, min?: number, max?: number, minLength?: number, maxLength?: number, pattern?: string}) — Numeric slider input; supports continuous and discrete (stepped) variants+CheckBoxGroup(name: string, items: CheckBoxItem[], rules?: {required?: boolean, email?: boolean, url?: boolean, numeric?: boolean, min?: number, max?: number, minLength?: number, maxLength?: number, pattern?: string})+CheckBoxItem(label: string, description: string, name: string, defaultChecked?: boolean)+RadioGroup(name: string, items: RadioItem[], defaultValue?: string, rules?: {required?: boolean, email?: boolean, url?: boolean, numeric?: boolean, min?: number, max?: number, minLength?: number, maxLength?: number, pattern?: string})+RadioItem(label: string, description: string, value: string)+SwitchGroup(name: string, items: SwitchItem[], variant?: "clear" | "card" | "sunk") — Group of switch toggles+SwitchItem(label?: string, description?: string, name: string, defaultChecked?: boolean) — Individual switch toggle+- Define EACH FormControl as its own reference — do NOT inline all controls in one array.+- NEVER nest Form inside Form.+- Form requires explicit buttons. Always pass a Buttons(...) reference as the third Form argument.+- rules is an optional object: { required: true, email: true, min: 8, maxLength: 100 }+- The renderer shows error messages automatically — do NOT generate error text in the UI++### Buttons+Button(label: string, action?: {type: "open_url", url: string} | {type: "continue_conversation", context?: string} | {type: string, params?}, variant?: "primary" | "secondary" | "tertiary", type?: "normal" | "destructive", size?: "extra-small" | "small" | "medium" | "large") — Clickable button+Buttons(buttons: Button[], direction?: "row" | "column") — Group of Button components. direction: "row" (default) | "column".++### Lists & Follow-ups+ListBlock(items: ListItem[], variant?: "number" | "image") — A list of items with number or image indicators. Each item can optionally have an action.+ListItem(title: string, subtitle?: string, image?: {src: string, alt: string}, actionLabel?: string, action?: {type: "open_url", url: string} | {type: "continue_conversation", context?: string} | {type: string, params?}) — Item in a ListBlock — displays a title with an optional subtitle and image. When action is provided, the item becomes clickable.+FollowUpBlock(items: FollowUpItem[]) — List of clickable follow-up suggestions placed at the end of a response+FollowUpItem(text: string) — Clickable follow-up suggestion — when clicked, sends text as user message+- Use ListBlock with ListItem references for numbered, clickable lists.+- Use FollowUpBlock with FollowUpItem references at the end of a response to suggest next actions.+- Clicking a ListItem or FollowUpItem sends its text to the LLM as a user message.+- Example: list = ListBlock([item1, item2]) item1 = ListItem("Option A", "Details about A")++### Sections+SectionBlock(sections: SectionItem[], isFoldable?: boolean) — Collapsible accordion sections. Auto-opens sections as they stream in. Use SectionItem for each section.+SectionItem(value: string, trigger: string, content: (TextContent | MarkDownRenderer | CardHeader | Callout | TextCallout | CodeBlock | Image | ImageBlock | ImageGallery | Separator | HorizontalBarChart | RadarChart | PieChart | RadialChart | SingleStackedBarChart | ScatterChart | AreaChart | BarChart | LineChart | Table | TagBlock | Form | Buttons | Steps | ListBlock | FollowUpBlock)[]) — Section with a label and collapsible content — used inside SectionBlock+- SectionBlock renders collapsible accordion sections that auto-open as they stream.+- Each section needs a unique `value` id, a `trigger` label, and a `content` array.+- Example: sections = SectionBlock([s1, s2]) s1 = SectionItem("intro", "Introduction", [content1])+- Set isFoldable=false to render sections as flat headers instead of accordion.++### Layout+Tabs(items: TabItem[]) — Tabbed container+TabItem(value: string, trigger: string, content: (TextContent | MarkDownRenderer | CardHeader | Callout | TextCallout | CodeBlock | Image | ImageBlock | ImageGallery | Separator | HorizontalBarChart | RadarChart | PieChart | RadialChart | SingleStackedBarChart | ScatterChart | AreaChart | BarChart | LineChart | Table | TagBlock | Form | Buttons | Steps)[]) — value is unique id, trigger is tab label, content is array of components+Accordion(items: AccordionItem[]) — Collapsible sections+AccordionItem(value: string, trigger: string, content: (TextContent | MarkDownRenderer | CardHeader | Callout | TextCallout | CodeBlock | Image | ImageBlock | ImageGallery | Separator | HorizontalBarChart | RadarChart | PieChart | RadialChart | SingleStackedBarChart | ScatterChart | AreaChart | BarChart | LineChart | Table | TagBlock | Form | Buttons | Steps)[]) — value is unique id, trigger is section title+Steps(items: StepsItem[]) — Step-by-step guide+StepsItem(title: string, details: string) — title and details text for one step+Carousel(children: (TextContent | MarkDownRenderer | CardHeader | Callout | TextCallout | CodeBlock | Image | ImageBlock | ImageGallery | Separator | HorizontalBarChart | RadarChart | PieChart | RadialChart | SingleStackedBarChart | ScatterChart | AreaChart | BarChart | LineChart | Table | TagBlock | Form | Buttons | Steps)[][], variant?: "card" | "sunk") — Horizontal scrollable carousel+- Use Tabs to present alternative views — each TabItem has a value id, trigger label, and content array.+- Carousel takes an array of slides, where each slide is an array of content: carousel = Carousel([[t1, img1], [t2, img2]])+- IMPORTANT: Every slide in a Carousel must have the same structure — same component types in the same order.+- For image carousels use: [[title, image, description, tags], ...] — every slide must follow this exact pattern.+- Use real, publicly accessible image URLs (e.g. https://picsum.photos/seed/KEYWORD/800/500). Never hallucinate image URLs.++### Data Display+TagBlock(tags: string[]) — tags is an array of strings+Tag(text: string, icon?: string, size?: "sm" | "md" | "lg", variant?: "neutral" | "info" | "success" | "warning" | "danger") — Styled tag/badge with optional icon and variant++### Ungrouped+Card(children: (TextContent | MarkDownRenderer | CardHeader | Callout | TextCallout | CodeBlock | Image | ImageBlock | ImageGallery | Separator | HorizontalBarChart | RadarChart | PieChart | RadialChart | SingleStackedBarChart | ScatterChart | AreaChart | BarChart | LineChart | Table | TagBlock | Form | Buttons | Steps | ListBlock | FollowUpBlock | SectionBlock | Tabs | Carousel)[]) — Vertical container for all content in a chat response. Children stack top to bottom automatically.++## Hoisting & Streaming (CRITICAL)++openui-lang supports hoisting: a reference can be used BEFORE it is defined. The parser resolves all references after the full input is parsed.++During streaming, the output is re-parsed on every chunk. Undefined references are temporarily unresolved and appear once their definitions stream in. This creates a progressive top-down reveal — structure first, then data fills in.++**Recommended statement order for optimal streaming:**+1. `root = Card(...)` — UI shell appears immediately+2. Component definitions — fill in as they stream+3. Data values — leaf content last++Always write the root = Card(...) statement first so the UI shell appears immediately, even before child data has streamed in.++## Examples++Example 1 — Table with follow-ups:+root = Card([title, tbl, followUps])+title = TextContent("Top Languages", "large-heavy")+tbl = Table(cols, rows)+cols = [Col("Language", "string"), Col("Users (M)", "number"), Col("Year", "number")]+rows = [["Python", 15.7, 1991], ["JavaScript", 14.2, 1995], ["Java", 12.1, 1995]]+followUps = FollowUpBlock([fu1, fu2])+fu1 = FollowUpItem("Tell me more about Python")+fu2 = FollowUpItem("Show me a JavaScript comparison")++Example 2 — Clickable list:+root = Card([title, list])+title = TextContent("Choose a topic", "large-heavy")+list = ListBlock([item1, item2, item3])+item1 = ListItem("Getting started", "New to the platform? Start here.")+item2 = ListItem("Advanced features", "Deep dives into powerful capabilities.")+item3 = ListItem("Troubleshooting", "Common issues and how to fix them.")++Example 3 — Image carousel with consistent slides + follow-ups:+root = Card([header, carousel, followups])+header = CardHeader("Featured Destinations", "Discover highlights and best time to visit")+carousel = Carousel([[t1, img1, d1, tags1], [t2, img2, d2, tags2], [t3, img3, d3, tags3]], "card")+t1 = TextContent("Paris, France", "large-heavy")+img1 = ImageBlock("https://picsum.photos/seed/paris/800/500", "Eiffel Tower at night")+d1 = TextContent("City of light — best Apr–Jun and Sep–Oct.", "default")+tags1 = TagBlock(["Landmark", "City Break", "Culture"])+t2 = TextContent("Kyoto, Japan", "large-heavy")+img2 = ImageBlock("https://picsum.photos/seed/kyoto/800/500", "Bamboo grove in Arashiyama")+d2 = TextContent("Temples and bamboo groves — best Mar–Apr and Nov.", "default")+tags2 = TagBlock(["Temples", "Autumn", "Culture"])+t3 = TextContent("Machu Picchu, Peru", "large-heavy")+img3 = ImageBlock("https://picsum.photos/seed/machupicchu/800/500", "Inca citadel in the clouds")+d3 = TextContent("High-altitude Inca citadel — best May–Sep.", "default")+tags3 = TagBlock(["Andes", "Hike", "UNESCO"])+followups = FollowUpBlock([fu1, fu2])+fu1 = FollowUpItem("Show me only beach destinations")+fu2 = FollowUpItem("Turn this into a comparison table")++Example 4 — Form with validation:+root = Card([title, form])+title = TextContent("Contact Us", "large-heavy")+form = Form("contact", btns, [nameField, emailField, msgField])+nameField = FormControl("Name", Input("name", "Your name", "text", { required: true, minLength: 2 }))+emailField = FormControl("Email", Input("email", "[email protected]", "email", { required: true, email: true }))+msgField = FormControl("Message", TextArea("message", "Tell us more...", 4, { required: true, minLength: 10 }))+btns = Buttons([Button("Submit", { type: "continue_conversation" }, "primary")])++## Important Rules+- ALWAYS start with root = Card(...)+- Write statements in TOP-DOWN order: root → components → data (leverages hoisting for progressive streaming)+- Each statement on its own line+- No trailing text or explanations — output ONLY openui-lang code+- When asked about data, generate realistic/plausible data+- Choose components that best represent the content (tables for comparisons, charts for trends, forms for input, etc.)+- NEVER define a variable without referencing it from the tree. Every variable must be reachable from root, otherwise it will not render.++- Every response is a single Card(children) — children stack vertically automatically. No layout params are needed on Card.+- Card is the only layout container. Do NOT use Stack. Use Tabs to switch between sections, Carousel for horizontal scroll.+- Use FollowUpBlock at the END of a Card to suggest what the user can do or ask next.+- Use ListBlock when presenting a set of options or steps the user can click to select.+- Use SectionBlock to group long responses into collapsible sections — good for reports, FAQs, and structured content.+- Use SectionItem inside SectionBlock: each item needs a unique value id, a trigger (header label), and a content array.+- Carousel takes an array of slides, where each slide is an array of content: carousel = Carousel([[t1, img1], [t2, img2]])+- IMPORTANT: Every slide in a Carousel must use the same component structure in the same order — e.g. all slides: [title, image, description, tags].+- For image carousels, always use real accessible URLs like https://picsum.photos/seed/KEYWORD/800/500. Never hallucinate or invent image URLs.+- For forms, define one FormControl reference per field so controls can stream progressively.+- For forms, always provide the second Form argument with Buttons(...) actions: Form(name, buttons, fields).+- Never nest Form inside Form.diff --git a/examples/multi-agent-chat/src/hooks/use-system-theme.tsx b/examples/multi-agent-chat/src/hooks/use-system-theme.tsxnew file mode 100644index 000000000..f001d61fe--- /dev/null+++ b/examples/multi-agent-chat/src/hooks/use-system-theme.tsx@@ -0,0 +1,46 @@+"use client";++import { createContext, useContext, useEffect, useState } from "react";+import { ThemeProvider as OpenUIThemeProvider } from "@openuidev/react-ui";++type ThemeMode = "light" | "dark";++interface ThemeContextType {+ mode: ThemeMode;+}++const ThemeContext = createContext<ThemeContextType | undefined>(undefined);++function getSystemMode(): ThemeMode {+ if (typeof window === "undefined") return "light";+ return window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";+}++export function ThemeProvider({ children }: { children: React.ReactNode }) {+ const [mode, setMode] = useState<ThemeMode>(getSystemMode);++ useEffect(() => {+ const mq = window.matchMedia("(prefers-color-scheme: dark)");+ const handler = (e: MediaQueryListEvent) => setMode(e.matches ? "dark" : "light");+ mq.addEventListener("change", handler);+ return () => mq.removeEventListener("change", handler);+ }, []);++ useEffect(() => {+ document.documentElement.classList.toggle("dark", mode === "dark");+ }, [mode]);++ return (+ <ThemeContext.Provider value={{ mode }}>+ <OpenUIThemeProvider mode={mode}>{children}</OpenUIThemeProvider>+ </ThemeContext.Provider>+ );+}++export function useTheme(): ThemeMode {+ const ctx = useContext(ThemeContext);+ if (!ctx) {+ throw new Error("useTheme must be used within a ThemeProvider");+ }+ return ctx.mode;+}diff --git a/examples/multi-agent-chat/src/hooks/use-threads.ts b/examples/multi-agent-chat/src/hooks/use-threads.tsnew file mode 100644index 000000000..4fb76aa60--- /dev/null+++ b/examples/multi-agent-chat/src/hooks/use-threads.ts@@ -0,0 +1,73 @@+"use client";++import { useState, useCallback } from "react";+import type { UIMessage } from "ai";+import {+ getThreads,+ getThread,+ saveThread,+ deleteThread as removeThread,+ generateId,+ titleFromMessages,+ type Thread,+} from "@/lib/thread-store";++export function useThreads() {+ const [threads, setThreads] = useState<Thread[]>(() => getThreads());+ const [activeThreadId, setActiveThreadId] = useState<string>(() => generateId());+ const [sidebarOpen, setSidebarOpen] = useState(false);++ const refreshThreads = useCallback(() => {+ setThreads(getThreads());+ }, []);++ const persistMessages = useCallback(+ (messages: UIMessage[]) => {+ if (messages.length === 0) return;+ const existing = getThread(activeThreadId);+ const now = Date.now();+ saveThread({+ id: activeThreadId,+ title: titleFromMessages(messages),+ messages,+ createdAt: existing?.createdAt ?? now,+ updatedAt: now,+ });+ refreshThreads();+ },+ [activeThreadId, refreshThreads],+ );++ const createThread = useCallback(() => {+ setActiveThreadId(generateId());+ }, []);++ const switchThread = useCallback((id: string) => {+ setActiveThreadId(id);+ }, []);++ const deleteThread = useCallback(+ (id: string) => {+ removeThread(id);+ refreshThreads();+ if (id === activeThreadId) {+ setActiveThreadId(generateId());+ }+ },+ [activeThreadId, refreshThreads],+ );++ const activeThread = getThread(activeThreadId);++ return {+ threads,+ activeThreadId,+ activeThread,+ sidebarOpen,+ setSidebarOpen,+ persistMessages,+ createThread,+ switchThread,+ deleteThread,+ };+}diff --git a/examples/multi-agent-chat/src/lib/thread-store.ts b/examples/multi-agent-chat/src/lib/thread-store.tsnew file mode 100644index 000000000..8da5c3317--- /dev/null+++ b/examples/multi-agent-chat/src/lib/thread-store.ts@@ -0,0 +1,62 @@+import type { UIMessage } from "ai";++export interface Thread {+ id: string;+ title: string;+ messages: UIMessage[];+ createdAt: number;+ updatedAt: number;+}++const STORAGE_KEY = "vercel-ai-chat-threads";++function readAll(): Thread[] {+ if (typeof window === "undefined") return [];+ try {+ const raw = localStorage.getItem(STORAGE_KEY);+ return raw ? JSON.parse(raw) : [];+ } catch {+ return [];+ }+}++function writeAll(threads: Thread[]) {+ localStorage.setItem(STORAGE_KEY, JSON.stringify(threads));+}++export function getThreads(): Thread[] {+ return readAll().sort((a, b) => b.updatedAt - a.updatedAt);+}++export function getThread(id: string): Thread | null {+ return readAll().find((t) => t.id === id) ?? null;+}++export function saveThread(thread: Thread) {+ const threads = readAll();+ const idx = threads.findIndex((t) => t.id === thread.id);+ if (idx >= 0) {+ threads[idx] = thread;+ } else {+ threads.push(thread);+ }+ writeAll(threads);+}++export function deleteThread(id: string) {+ writeAll(readAll().filter((t) => t.id !== id));+}++export function generateId(): string {+ return crypto.randomUUID();+}++export function titleFromMessages(messages: UIMessage[]): string {+ const first = messages.find((m) => m.role === "user");+ if (!first) return "New Chat";+ const text = first.parts+ .filter((p): p is { type: "text"; text: string } => p.type === "text")+ .map((p) => p.text)+ .join(" ");+ return text.length > 40 ? text.slice(0, 40) + "..." : text || "New Chat";+}diff --git a/examples/multi-agent-chat/src/lib/tools.ts b/examples/multi-agent-chat/src/lib/tools.tsnew file mode 100644index 000000000..35b796e18--- /dev/null+++ b/examples/multi-agent-chat/src/lib/tools.ts@@ -0,0 +1,206 @@+import { openai } from "@ai-sdk/openai";+import { streamText, tool } from "ai";+import { readFileSync } from "fs";+import { join } from "path";+import { z } from "zod";++const analyticsSubagentSystemPrompt = readFileSync(+ join(process.cwd(), "src/generated/system-prompt.txt"),+ "utf-8",+);++function sanitizeOpenUiSpec(raw: string): string {+ let text = raw.trim();++ // Strip fenced code blocks if the model wraps output in markdown.+ text = text.replace(/^```[a-zA-Z0-9_-]*\s*\n?/, "").replace(/\n?```$/, "").trim();++ // Strip full-document HTML wrappers while preserving inner OpenUI content.+ text = text+ .replace(/^<!doctype[^>]*>\s*/i, "")+ .replace(/^<html[^>]*>\s*/i, "")+ .replace(/\s*<\/html>\s*$/i, "")+ .replace(/^<body[^>]*>\s*/i, "")+ .replace(/\s*<\/body>\s*$/i, "")+ .trim();++ return text;+}++export const tools = {+ analytics_subagent: tool({+ description:+ "Delegate analytics tasks to a specialized sub-agent that returns an OpenUI response payload.",+ inputSchema: z.object({+ task: z+ .string()+ .describe("The analytics task to perform, including the question and expected output."),+ context: z+ .string()+ .optional()+ .describe("Optional additional context, such as prior conversation details."),+ }),+ execute: async function* ({ task, context }, { abortSignal }) {+ const prompt = context+ ? `Analytics task:+${task}++Additional context:+${context}++Output contract (strict):+- Return only OpenUI language content.+- Do not include HTML wrappers like <html>, <body>, <div>, or markdown code fences.+- Do not include explanatory prose before or after the OpenUI output.`+ : `Analytics task:+${task}++Output contract (strict):+- Return only OpenUI language content.+- Do not include HTML wrappers like <html>, <body>, <div>, or markdown code fences.+- Do not include explanatory prose before or after the OpenUI output.`;++ console.info("[analytics_subagent] Input:\n", JSON.stringify({ task, context }, null, 2));+ console.info("[analytics_subagent] Prompt:\n", prompt);++ const result = streamText({+ model: openai("gpt-5.4"),+ system: analyticsSubagentSystemPrompt,+ prompt,+ abortSignal,+ });++ let accumulated = "";+ for await (const chunk of result.textStream) {+ accumulated += chunk;+ yield {+ openuiSpec: sanitizeOpenUiSpec(accumulated),+ complete: false,+ };+ }++ const sanitizedOpenUiSpec = sanitizeOpenUiSpec(accumulated);++ console.info("[analytics_subagent] Raw output:\n", accumulated);+ console.info("[analytics_subagent] Sanitized output:\n", sanitizedOpenUiSpec);++ yield {+ openuiSpec: sanitizedOpenUiSpec,+ complete: true,+ };+ },+ }),++ get_weather: tool({+ description: "Get current weather for a location.",+ inputSchema: z.object({+ location: z.string().describe("City name"),+ }),+ execute: async ({ location }) => {+ await new Promise((r) => setTimeout(r, 800));+ const knownTemps: Record<string, number> = {+ tokyo: 22,+ "san francisco": 18,+ london: 14,+ "new york": 25,+ paris: 19,+ sydney: 27,+ mumbai: 33,+ berlin: 16,+ };+ const conditions = ["Sunny", "Partly Cloudy", "Cloudy", "Light Rain", "Clear Skies"];+ const temp = knownTemps[location.toLowerCase()] ?? Math.floor(Math.random() * 30 + 5);+ const condition = conditions[Math.floor(Math.random() * conditions.length)];+ return {+ location,+ temperature_celsius: temp,+ temperature_fahrenheit: Math.round(temp * 1.8 + 32),+ condition,+ humidity_percent: Math.floor(Math.random() * 40 + 40),+ wind_speed_kmh: Math.floor(Math.random() * 25 + 5),+ forecast: [+ { day: "Tomorrow", high: temp + 2, low: temp - 4, condition: "Partly Cloudy" },+ { day: "Day After", high: temp + 1, low: temp - 3, condition: "Sunny" },+ ],+ };+ },+ }),++ get_stock_price: tool({+ description: "Get stock price for a ticker symbol.",+ inputSchema: z.object({+ symbol: z.string().describe("Ticker symbol, e.g. AAPL"),+ }),+ execute: async ({ symbol }) => {+ await new Promise((r) => setTimeout(r, 600));+ const s = symbol.toUpperCase();+ const knownPrices: Record<string, number> = {+ AAPL: 189.84,+ GOOGL: 141.8,+ TSLA: 248.42,+ MSFT: 378.91,+ AMZN: 178.25,+ NVDA: 875.28,+ META: 485.58,+ };+ const price = knownPrices[s] ?? Math.floor(Math.random() * 500 + 20);+ const change = parseFloat((Math.random() * 8 - 4).toFixed(2));+ return {+ symbol: s,+ price: parseFloat((price + change).toFixed(2)),+ change,+ change_percent: parseFloat(((change / price) * 100).toFixed(2)),+ volume: `${(Math.random() * 50 + 10).toFixed(1)}M`,+ day_high: parseFloat((price + Math.abs(change) + 1.5).toFixed(2)),+ day_low: parseFloat((price - Math.abs(change) - 1.2).toFixed(2)),+ };+ },+ }),++ calculate: tool({+ description: "Evaluate a math expression.",+ inputSchema: z.object({+ expression: z.string().describe("Math expression to evaluate"),+ }),+ execute: async ({ expression }) => {+ await new Promise((r) => setTimeout(r, 300));+ try {+ const sanitized = expression.replace(+ /[^0-9+\-*/().%\s,Math.sqrtpowabsceilfloorround]/g,+ "",+ );+ const result = new Function(`return (${sanitized})`)();+ return { expression, result: Number(result) };+ } catch {+ return { expression, error: "Invalid expression" };+ }+ },+ }),++ search_web: tool({+ description: "Search the web for information.",+ inputSchema: z.object({+ query: z.string().describe("Search query"),+ }),+ execute: async ({ query }) => {+ await new Promise((r) => setTimeout(r, 1000));+ return {+ query,+ results: [+ {+ title: `Top result for "${query}"`,+ snippet: `Comprehensive overview of ${query} with the latest information.`,+ },+ {+ title: `${query} - Latest News`,+ snippet: `Recent developments and updates related to ${query}.`,+ },+ {+ title: `Understanding ${query}`,+ snippet: `An in-depth guide explaining everything about ${query}.`,+ },+ ],+ };+ },+ }),+};diff --git a/examples/multi-agent-chat/src/library.ts b/examples/multi-agent-chat/src/library.tsnew file mode 100644index 000000000..c7ceecfc1--- /dev/null+++ b/examples/multi-agent-chat/src/library.ts@@ -0,0 +1 @@+export { openuiChatLibrary as library, openuiChatPromptOptions as promptOptions } from "@openuidev/react-ui/genui-lib";diff --git a/examples/multi-agent-chat/tsconfig.json b/examples/multi-agent-chat/tsconfig.jsonnew file mode 100644index 000000000..cf9c65d3e--- /dev/null+++ b/examples/multi-agent-chat/tsconfig.json@@ -0,0 +1,34 @@+{+ "compilerOptions": {+ "target": "ES2017",+ "lib": ["dom", "dom.iterable", "esnext"],+ "allowJs": true,+ "skipLibCheck": true,+ "strict": true,+ "noEmit": true,+ "esModuleInterop": true,+ "module": "esnext",+ "moduleResolution": "bundler",+ "resolveJsonModule": true,+ "isolatedModules": true,+ "jsx": "react-jsx",+ "incremental": true,+ "plugins": [+ {+ "name": "next"+ }+ ],+ "paths": {+ "@/*": ["./src/*"]+ }+ },+ "include": [+ "next-env.d.ts",+ "**/*.ts",+ "**/*.tsx",+ ".next/types/**/*.ts",+ ".next/dev/types/**/*.ts",+ "**/*.mts"+ ],+ "exclude": ["node_modules"]+}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 72162f65c..c901c51fe 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -191,6 +191,70 @@ importers:specifier: ^5version: 5.9.3+ examples/multi-agent-chat:+ dependencies:+ '@ai-sdk/openai':+ specifier: ^3.0.41+ version: 3.0.41([email protected])+ '@ai-sdk/react':+ specifier: ^3.0.118+ version: 3.0.118([email protected])([email protected])+ '@openuidev/cli':+ specifier: workspace:*+ version: link:../../packages/openui-cli+ '@openuidev/react-lang':+ specifier: workspace:*+ version: link:../../packages/react-lang+ '@openuidev/react-ui':+ specifier: workspace:*+ version: link:../../packages/react-ui+ ai:+ specifier: ^6.0.116+ version: 6.0.141([email protected])+ lucide-react:+ specifier: ^0.575.0+ version: 0.575.0([email protected])+ next:+ specifier: 16.1.6+ version: 16.1.6(@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])+ react:+ specifier: 19.2.3+ version: 19.2.3+ react-dom:+ specifier: 19.2.3+ version: 19.2.3([email protected])+ streamdown:+ specifier: ^2.5.0+ zod:+ specifier: ^4.3.6+ version: 4.3.6+ devDependencies:+ '@tailwindcss/postcss':+ specifier: ^4+ version: 4.2.1+ '@types/node':+ specifier: ^20+ version: 20.19.35+ '@types/react':+ specifier: ^19+ version: 19.2.14+ '@types/react-dom':+ specifier: ^19+ version: 19.2.3(@types/[email protected])+ eslint:+ specifier: ^9+ version: 9.29.0([email protected])+ eslint-config-next:+ specifier: 16.1.6+ version: 16.1.6(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ tailwindcss:+ specifier: ^4+ version: 4.2.2+ typescript:+ specifier: ^5+ version: 5.9.3+examples/openui-artifact-demo:dependencies:'@openuidev/react-headless':@@ -250,7 +314,7 @@ importers:version: 16.1.6(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])tailwindcss:specifier: ^4- version: 4.2.1+ version: 4.2.2typescript:specifier: ^5version: 5.9.3@@ -1247,6 +1311,9 @@ packages:resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==}engines: {node: '>=6.0.0'}+ '@antfu/[email protected]':+ resolution: {integrity: sha512-MGQsmw10ZyI+EJo45CdSER4zEb+p31LpDAFp2Z3gkSd1yqVZGi0Ebx++YTEMonJy4oChEMLsxZ64j8FH6sSqtQ==}+'@asamuzakjp/[email protected]':resolution: {integrity: sha512-K1A6z8tS3XsmCMM86xoWdn7Fkdn9m6RSVtocUrJYIwZnFVkng/PvkEoWtOWmP+Scc6saYWHWZYbndEEXxl24jw==}@@ -1832,10 +1899,28 @@ packages:commander:optional: true+ '@braintree/[email protected]':+ resolution: {integrity: sha512-jigsZK+sMF/cuiB7sERuo9V7N9jx+dhmHHnQyDSVdpZwVutaBu7WvNYqMDLSgFgfB30n452TP3vjDAvFC973mA==}+'@bramus/[email protected]':resolution: {integrity: sha512-ctxtJ/eA+t+6q2++vj5j7FYX3nRu311q1wfYH3xjlLOsczhlhxAg2FWNUXhpGvAw3BWo1xBcvOV6/YLc2r5FJw==}hasBin: true+ '@chevrotain/[email protected]':+ resolution: {integrity: sha512-XTsjvDVB5nDZBQB8o0o/0ozNelQtn2KrUVteIHSlPd2VAV2utEb6JzyCJaJ8tGxACR4RiBNWy5uYUHX2eji88Q==}++ '@chevrotain/[email protected]':+ resolution: {integrity: sha512-Z9zfXR5jNZb1Hlsd/p+4XWeUFugrHirq36bKzPWDSIacV+GPSVXdk+ahVWZTwjhNwofAWg/sZg58fyucKSQx5g==}++ '@chevrotain/[email protected]':+ resolution: {integrity: sha512-nMU3Uj8naWer7xpZTYJdxbAs6RIv/dxYzkYU8GSwgUtcAAlzjcPfX1w+RKRcYG8POlzMeayOQ/znfwxEGo5ulw==}++ '@chevrotain/[email protected]':+ resolution: {integrity: sha512-U+HFai5+zmJCkK86QsaJtoITlboZHBqrVketcO2ROv865xfCMSFpELQoz1GkX5GzME8pTa+3kbKrZHQtI0gdbw==}++ '@chevrotain/[email protected]':+ resolution: {integrity: sha512-4mudFAQ6H+MqBTfqLmU7G1ZwRzCLfJEooL/fsF6rCX5eePMbGhoy5n4g+G4vlh2muDcsCTJtL+uKbOzWxs5LHA==}+'@chromatic-com/[email protected]':resolution: {integrity: sha512-FDmn5Ry2DzQdik+eq2sp/kJMMT36Ewe7ONXUXM2Izd97c7r6R/QyGli8eyh/F0iyqVvbLveNYFyF0dBOJNwLqw==}engines: {node: '>=16.0.0', yarn: '>=1.22.18'}@@ -2782,6 +2867,12 @@ packages:resolution: {integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==}engines: {node: '>=18.18'}+ '@iconify/[email protected]':+ resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==}++ '@iconify/[email protected]':+ resolution: {integrity: sha512-Zlzem1ZXhI1iHeeERabLNzBHdOa4VhQbqAcOQaMKuTuyZCpwKbC2R4Dd0Zo3g9EAc+Y4fiarO8HIHRAth7+skw==}+'@img/[email protected]':resolution: {integrity: sha512-A5P/LfWGFSl6nsckYtjw9da+19jB8hkJ6ACTGcDfEJ0aE+l2n2El7dsVM7UVHZQ9s2lmYMWlrS21YLy2IR1LUw==}engines: {node: '>=18'}@@ -3166,6 +3257,9 @@ packages:'@types/react': '>=16'react: '>=16'+ '@mermaid-js/[email protected]':+ resolution: {integrity: sha512-gxK9ZX2+Fex5zu8LhRQoMeMPEHbc73UKZ0FQ54YrQtUxE1VVhMwzeNtKRPAu5aXks4FasbMe4xB4bWrmq6Jlxw==}+'@napi-rs/[email protected]':resolution: {integrity: sha512-ZVWUcfwY4E/yPitQJl481FjFo3K22D6qF0DuFH6Y/nbnE11GY5uguDxZMGXPQ8WQ0128MXQD7TnfHyK4oWoIJQ==}@@ -6648,30 +6742,96 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-Y2Jn2idRrLzUfAKV2LyRImR+y4oa2AntrgID95SHJxuMUrkNXmanDSed71sRNZysveJVt1hLLemQZIady0FpEg==}+ '@types/[email protected]':+ resolution: {integrity: sha512-pYeijfZuBd87T0hGn0FO1vQ/cgLk6E1ALJjfkC0oJ8cbwkZl3TpgS8bVBLZN+2jjGgg38epgxb2zmoGtSfvgMw==}++ '@types/[email protected]':+ resolution: {integrity: sha512-nH60IZNNxEcrh6L1ZSMNA28rj27ut/2ZmI3r96Zd+1jrZD++zD3LsMIjWlvg4AYrHn/Pqz4CF3veCxGjtbqt7A==}++ '@types/[email protected]':+ resolution: {integrity: sha512-LFYWWd8nwfwEmTZG9PfQxd17HbNPksHBiJHaKuY1XeqscXacsS2tyoo6OdRsjf+NQYeB6XrNL3a25E3gH69lcg==}+'@types/[email protected]':resolution: {integrity: sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A==}+ '@types/[email protected]':+ resolution: {integrity: sha512-BjzLgXGnCWjUSYGfH1cpdo41/hgdWETu4YxpezoztawmqsvCeep+8QGfiY6YbDvfgHz/DkjeIkkZVJavB4a3rg==}++ '@types/[email protected]':+ resolution: {integrity: sha512-ZMaSKu4THYCU6sV64Lhg6qjf1orxBthaC161plr5KuPHo3CNm8DTHiLw/5Eq2b6TsNP0W0iJrUOFscY6Q450Hw==}++ '@types/[email protected]':+ resolution: {integrity: sha512-5o9OIAdKkhN1QItV2oqaE5KMIiXAvDWBDPrD85e58Qlz1c1kI/J0NcqbEG88CoTwJrYe7ntUCVfeUl2UJKbWgA==}++ '@types/[email protected]':+ resolution: {integrity: sha512-HE3jVKlzU9AaMazNufooRJ5ZpWmLIoc90A37WU2JMmeq28w1FQqCZswHZ3xR+SuxYftzHq6WU6KJHvqxKzTxxQ==}++ '@types/[email protected]':+ resolution: {integrity: sha512-n6QBF9/+XASqcKK6waudgL0pf/S5XHPPI8APyMLLUHd8NqouBGLsU8MgtO7NINGtPBtk9Kko/W4ea0oAspwh9g==}+'@types/[email protected]':resolution: {integrity: sha512-NcV1JjO5oDzoK26oMzbILE6HW7uVXOHLQvHshBUW4UMdZGfiY6v5BeQwh9a9tCzv+CeefZQHJt5SRgK154RtiA==}+ '@types/[email protected]':+ resolution: {integrity: sha512-fTAfNmxSb9SOWNB9IoG5c8Hg6R+AzUHDRlsXsDZsNp6sxAEOP0tkP3gKkNSO/qmHPoBFTxNrjDprVHDQDvo5aA==}++ '@types/[email protected]':+ resolution: {integrity: sha512-ZYeSaCF3p73RdOKcjj+swRlZfnYpK1EbaDiYICEEp5Q6sUiqFaFQ9qgoshp5CzIyyb/yD09kD9o2zEltCexlgw==}++ '@types/[email protected]':+ resolution: {integrity: sha512-fALi2aI6shfg7vM5KiR1wNJnZ7r6UuggVqtDA+xiEdPZQwy/trcQaHnwShLuLdta2rTymCNpxYTiMZX/e09F4g==}++ '@types/[email protected]':+ resolution: {integrity: sha512-856sckF0oP/diXtS4jNsiQw/UuK5fQG8l/a9VVLeSouf1/PPbBE1i1W852zVwKwYCBkFJJB7nCFTbk6UMEXBOQ==}++ '@types/[email protected]':+ resolution: {integrity: sha512-tJFtNoYBtRtkNysX1Xq4sxtjK8YgoWUNpIiUee0/jHGRwqvzYxkq0hGVbbOGSz+JgFxxRu4K8nb3YpG3CMARtg==}+'@types/[email protected]':resolution: {integrity: sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA==}'@types/[email protected]':resolution: {integrity: sha512-VMZBYyQvbGmWyWVea0EHs/BwLgxc+MKi1zLDCONksozI4YJMcTt8ZEuIR4Sb1MMTE8MMW49v0IwI5+b7RmfWlg==}+ '@types/[email protected]':+ resolution: {integrity: sha512-ZuWOtMaHCkN9xoeEMr1ubW2nGWsp4nIql+OPQRstu4ypeZ+zk3YKqQT0CXVe/PYqrKpZAi+J9mTs05TKwjXSRA==}++ '@types/[email protected]':+ resolution: {integrity: sha512-oUzyO1/Zm6rsxKRHA1vH0NEDG58HrT5icx/azi9MF1TWdtttWl0UIUsjEQBBh+SIkrpd21ZjEv7ptxWys1ncsg==}++ '@types/[email protected]':+ resolution: {integrity: sha512-Imagg1vJ3y76Y2ea0871wpabqp613+8/r0mCLEBfdtqC7xMSfj9idOnmBYyMoULfHePJyxMAw3nWhJxzc+LFwQ==}++ '@types/[email protected]':+ resolution: {integrity: sha512-iWMJgwkK7yTRmWqRB5plb1kadXyQ5Sj8V/zYlFGMUBbIPKQScw+Dku9cAAMgJG+z5GYDoMjWGLVOvjghDEFnKQ==}+'@types/[email protected]':resolution: {integrity: sha512-dLmtwB8zkAeO/juAMfnV+sItKjlsw2lKdZVVy6LRr0cBmegxSABiLEpGVmSJJ8O08i4+sGR6qQtb6WtuwJdvVw==}+ '@types/[email protected]':+ resolution: {integrity: sha512-bhAXu23DJWsrI45xafYpkQ4NtcKMwWnAC/vKrd2l+nxMFuvOT3XMYTIj2opv8vq8AO5Yh7Qac/nSeP/3zjTK0w==}+'@types/[email protected]':resolution: {integrity: sha512-VLvUQ33C+3J+8p+Daf+nYSOsjB4GXp19/S/aGo60m9h1v6XaxjiT82lKVWJCfzhtuZ3yD7i/TPeC/fuKLLOSmg==}+ '@types/[email protected]':+ resolution: {integrity: sha512-5xg9rC+wWL8kdDj153qZcsJ0FWiFt0J5RB6LYUNZjwSnesfblqrI/bJ1wBdJ8OQfncgbJG5+2F+qfqnqyzYxyg==}+'@types/[email protected]':resolution: {integrity: sha512-yuzZug1nkAAaBlBBikKZTgzCeA+k1uy4ZFwWANOfKw5z5LRhV0gNA7gNkKm7HoK+HRN0wX3EkxGk0fpbWhmB7g==}'@types/[email protected]':resolution: {integrity: sha512-Ps3T8E8dZDam6fUyNiMkekK3XUsaUEik+idO9/YjPtfj2qruF8tFBXS7XhtE4iIXBLxhmLjP3SXpLhVf21I9Lw==}+ '@types/[email protected]':+ resolution: {integrity: sha512-uZS5shfxzO3rGlu0cC3bjmMFKsXv+SmZZcgp0KD22ts4uGXp5EVYGzu/0YdwZeKmddhcAccYtREJKkPfXkZuCg==}++ '@types/[email protected]':+ resolution: {integrity: sha512-iqMC4/YlFCSlO8+2Ii1GGGliCAY4XdeG748w5vQUbevlbDu0zSjH/+jojorQVBK/se0j6DUFNPBGSqD3YWYnDw==}++ '@types/[email protected]':+ resolution: {integrity: sha512-lZXZ9ckh5R8uiFVt8ogUNf+pIrK4EsWrx2Np75WvF/eTpJ0FMHNhjXk8CKEx/+gpHbNQyJWehbFaTvqmHWB3ww==}+'@types/[email protected]':resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==}@@ -6696,6 +6856,9 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==}+ '@types/[email protected]':+ resolution: {integrity: sha512-6C8nqWur3j98U6+lXDfTUWIfgvZU+EumvpHKcYjujKH7woYyLj2sUmff0tRhrqM7BohUw7Pz3ZB1jj2gW9Fvmg==}+'@types/[email protected]':resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==}@@ -6956,6 +7119,9 @@ packages:cpu: [x64]os: [win32]+ '@upsetjs/[email protected]':+ resolution: {integrity: sha512-WbBhLrooyePuQ1VZxrJjtLvTc4NVfpOyKx0sKqioq9bX1C1m7Jgykkn8gLrtwumBioXIqam8DLxp88Adbue6Hw==}+'@urql/[email protected]':resolution: {integrity: sha512-/n0ieD0mvvDnVAXEQgX/7qJiVcvYvNkOHeBvkwtylfjydar123caCXcl58PXFY11oU1oquJocVXHxLAbtv4x1A==}@@ -7818,6 +7984,14 @@ packages:resolution: {integrity: sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==}engines: {node: '>= 16'}+ resolution: {integrity: sha512-b7g+y9A0v4mxCW1qUhf3BSVPg+/NvGErk/dOkrDaHA0nQIQGAtrOjlX//9OQtRlSCy+x9rfB5N8yC71lH1nvMw==}+ peerDependencies:+ chevrotain: ^11.0.0++ resolution: {integrity: sha512-opLQzEVriiH1uUQ4Kctsd49bRoFDXGGSC4GUqj7pGyxM3RehRhvTlZJc1FL/Flew2p5uwxa1tUDWKzI4wNM8pg==}+resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==}engines: {node: '>= 8.10.0'}@@ -8044,6 +8218,12 @@ packages:resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==}+ resolution: {integrity: sha512-s9whTXInMSgAp/NVXVNuVxVKzGH2qck3aQlVHxDCdAEPgtMKwc4Wq6/QKhgdEdgbLSi9rBTAcPoRa6JpiG4ksg==}++ resolution: {integrity: sha512-AzlgcsCbUMymkADOJtQm3wO9S3ltPfYOFD5033keQn9NJzIbtnZj+UdBJe7DYml/8TdbtHJW3j58SOnKhWY/5g==}+resolution: {integrity: sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==}engines: {node: '>=0.8'}@@ -8136,34 +8316,129 @@ packages:resolution: {integrity: sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==}+ resolution: {integrity: sha512-wgQlVIUJF13Quxiv5e1gstZ08rnZj2XaLHGoFMYXz7SkNfCDOOteKBE6SYRfA9WxxI/iBc3ajfDoc6hb/MRAHQ==}+ peerDependencies:+ cytoscape: ^3.2.0++ resolution: {integrity: sha512-ki1/VuRIHFCzxWNrsshHYPs6L7TvLu3DL+TyIGEsRcvVERmxokbf5Gdk7mFxZnTdiGtnA4cfSmjZJMviqSuZrQ==}+ peerDependencies:+ cytoscape: ^3.2.0++ resolution: {integrity: sha512-iJc4TwyANnOGR1OmWhsS9ayRS3s+XQ185FmuHObThD+5AeJCakAAbWv8KimMTt08xCCLNgneQwFp+JRJOr9qGQ==}+ engines: {node: '>=0.10'}++ resolution: {integrity: sha512-B0ErZK/66mHtEsR1TkPEEkwdy+WDesimkM5gpZr5Dsg54BiTA5RXtYW5qTLIAcekaS9xfZrzBLF/OAkB3Qn1YQ==}+resolution: {integrity: sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==}engines: {node: '>=12'}+ resolution: {integrity: sha512-IH5tgjV4jE/GhHkRV0HiVYPDtvfjHQlQfJHs0usq7M30XcSBvOotpmH1IgkcXsO/5gEQZD43B//fc7SRT5S+xw==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-ALnjWlVYkXsVIGlOsuWH1+3udkYFI48Ljihfnh8FZPF2QS9o+PzGLBslO0PjzVoHLZ2KCVgAM8NVkXPJB2aNnQ==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-VE5S6TNa+j8msksl7HwjxMHDM2yNK3XCkusIlpX5kwauBfXuyLAtNg9jCp/iHH61tgI4sb6R/EIMWCqEIdjT/g==}+ engines: {node: '>=12'}+resolution: {integrity: sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==}engines: {node: '>=12'}+ resolution: {integrity: sha512-4EzFTRIikzs47RGmdxbeUvLWtGedDUNkTcmzoeyg4sP/dvCexO47AaQL7VKy/gul85TOxw+IBgA8US2xwbToNA==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-mdjtIZ1XLAM8bm/hx3WwjfHt6Sggek7qH043O8KEjDXN40xi3vx/6pYSVTwLjEgiXQTbvaouWKynLBiUZ6SK6A==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-rzUyPU/S7rwUflMyLc1ETDeBj0NRuHKKAcvukozwhshr6g6c5d8zh4c2gQjY2bZ0dXeGLWc1PF174P2tVvKhfg==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-pWbUJLdETVA8lQNJecMxoXfH6x+mO2UQo8rSmZ+QqxcbyA3hfeprFgIT//HW2nlHChWeIIMwS2Fq+gEARkhTkg==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-UG6OvdI5afDIFP9w4G0mNq50dSOsXHJaRE8arAS5o9ApWnIElp8GZw1Dun8vP8OyHOZ/QJUKUJwxiiCCnUwm+Q==}+ engines: {node: '>=12'}+ hasBin: true+resolution: {integrity: sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w==}engines: {node: '>=12'}+ resolution: {integrity: sha512-kpkQIM20n3oLVBKGg6oHrUchHM3xODkTzjMoj7aWQFq5QEM+R6E4WkzT5+tojDY7yjez8KgCBRoj4aEr99Fdqw==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-zxV/SsA+U4yte8051P4ECydjD/S+qeYtnaIyAs9tgHCqfguma/aAQDjo85A9Z6EKhBirHRJHXIgJUlffT4wdLg==}+ engines: {node: '>=12'}+resolution: {integrity: sha512-YyUI6AEuY/Wpt8KWLgZHsIU86atmikuoOmCfommt0LYHiQSPjvX2AcFc38PX0CBpr2RCyZhjex+NS/LPOv6YqA==}engines: {node: '>=12'}+ resolution: {integrity: sha512-637ln3gXKXOwhalDzinUgY83KzNWZRKbYubaG+fGVuc/dxO64RRljtCTnf5ecMyE1RIdtqpkVcq0IbtU2S8j2Q==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-FX/9frcub54beBdugHjDCdikxThEqjnR93Qt7PvQTOHxyiNCAlvMrHhclk3cD5VeAaq9fxmfRp+CnWw9rEMBuA==}+ engines: {node: '>=12'}+resolution: {integrity: sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==}engines: {node: '>=12'}+ resolution: {integrity: sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg==}+resolution: {integrity: sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==}engines: {node: '>=12'}+ resolution: {integrity: sha512-3vbA7vXYwfe1SYhED++fPUQlWSYTTGmFmQiany/gdbiWgU/iEyQzyymwL9SkJjFFuCS4902BSzewVGsHHmHtXg==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-04xDrxQTDTCFwP5H6hRhsRcb9xxv2RzkcsygFzmkSIOJy3PeRJP7sNk3VRIbKXcog561P9oU0/rVH6vDROAgUw==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-FXMe9GfxTxqd5D6jFsQ+DJ8BJS4E/fT5mqqdjovykEB2oFbTMDVdg1MGFxfQW+FBOGoB++k8swBrgwSHT1cUXQ==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-nQhsBRmM19Ax5xEIPLMY9ZmJ/cDvd1BG3UVvt5h3WRxKg5zGRbvnteTyWAbzeSvlh3tW7ZEmq4VwR5mB3tutmQ==}++ resolution: {integrity: sha512-A3s5PWiZ9YCXFye1o246KoscMWqf8BsD9eRiJ3He7C9OBaxKhAd5TFCdEx/7VbKtxxTsu//1mMJFrEt572cEyQ==}+ engines: {node: '>=12'}+resolution: {integrity: sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==}engines: {node: '>=12'}+ resolution: {integrity: sha512-fmTRWbNMmsmWq6xJV8D19U/gw/bwrHfNXxrIN+HfZgnzqTHp9jOmKMhsTUjXOJnZOdZY9Q28y4yebKzqDKlxlQ==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==}+resolution: {integrity: sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==}engines: {node: '>=12'}@@ -8180,6 +8455,23 @@ packages:resolution: {integrity: sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==}engines: {node: '>=12'}+ resolution: {integrity: sha512-ApKvfjsSR6tg06xrL434C0WydLr7JewBB3V+/39RMHsaXTOG0zmt/OAXeng5M5LBm0ojmxJrpomQVZ1aPvBL4w==}+ engines: {node: '>=12'}+ peerDependencies:+ d3-selection: 2 - 3++ resolution: {integrity: sha512-b8AmV3kfQaqWAuacbPuNbL6vahnOJflOhexLzMMNLga62+/nh0JzvJ0aO/5a5MVgUFGS7Hu1P9P03o3fJkDCyw==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-e1U46jVP+w7Iut8Jt8ri1YsPOvFpg46k+K8TpCb0P+zjCkjkPnV7WzfDJzMHy1LnA+wj5pLT1wjO901gLXeEhA==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-P4rFMVq9ESWqmOgK+dlXvOtLwYg0i7u0HBGJER0LZDJT2VHIPAMZ/riPxqJceWMStH5+E61QxFra9kIS3AqdMg==}+resolution: {integrity: sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==}@@ -8209,6 +8501,9 @@ packages:resolution: {integrity: sha512-Ukq0owbQXxa/U3EGtsdVBkR1w7KOQ5gIBqdH2hkvknzZPYvBxb/aa6E8L7tmjFtkwZBu3UXBbjIgPo/Ez4xaNg==}+ resolution: {integrity: sha512-YbwwqR/uYpeoP4pu043q+LTDLFBLApUP6VxRihdfNTqu4ubqMlGDLd6ErXhEgsyvY0K6nCs7nggYumAN+9uEuQ==}+resolution: {integrity: sha512-RiXXi4WaNzPTHEOu8UPQKMooIbqOEyqA1t7Z6MsdxSCeb8iUC9ko3LcmsLmeUt2SM5bctfArZKkRQggKZz7JNw==}peerDependencies:@@ -8326,6 +8621,9 @@ packages:resolution: {integrity: sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==}+ resolution: {integrity: sha512-AGrQ4QSgssa1NGmWmLPqN5NY2KajF5MqxetNEO+o0n3ZwZZeTmt7bBnvzHWrmkZFxGgr4HdyFgelzgi06otLuQ==}+resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==}engines: {node: '>=0.4.0'}@@ -9345,6 +9643,9 @@ packages:resolution: {integrity: sha512-YzJeWSkDZxAhvmp8dexjRK5hxziRO7I9m0N53WhvYL5NiWfkUkzssVzY9jvGu0HBoLFW6+duYmNSn6MaZBCCtg==}+ resolution: {integrity: sha512-3GKBOn+m2LX9iq+JC1064cSFprJY4jL1jCXTcpnfER5HYE2l/4EfWSGzkPa/ZDBmYI0ZOEj5VHV/eKnPGkHuOg==}+resolution: {integrity: sha512-R3pbpkcIqv2Pm3dUwgjclDRVmWpTJW2DcMzcIhEXEx1oh/CEMObMm3KLmRJOdvhM7o4uQBnwr8pzRK2sJWIqfg==}engines: {node: '>= 0.4'}@@ -9400,6 +9701,9 @@ packages:resolution: {integrity: sha512-Y8/SBAHkZGoNkpzqqfCldijcuUKh7/su31kEBp67cFY09Wy0mTRgtsLYsiIxMJxlu0f6AA5SUTbDR8K0rxnbUw==}+ resolution: {integrity: sha512-3yTWghByc50aGS7JlGhk61SPenfE/p1oaFeNwkOOyrscaOkMGrcW9+Cy/QAIOBpZxP1yqDIzFMR0+Np0i0+usg==}+resolution: {integrity: sha512-48+B/rJWAp0jamNbAAf9M7Uf//UVqAoMmgXhBdxTDJLGKY+LRnZ99qcG+Qjl5HfMpYNzS5v4EAwVEF34LeAj7w==}@@ -9607,6 +9911,9 @@ packages:resolution: {integrity: sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==}engines: {node: '>= 0.4'}+ resolution: {integrity: sha512-lDB5YccMydFBtasVtxnZ3MRBHuaoE8GKsppq+EchKL2U4nK/DmEpPHNH8MZe5HkMtpSiTSOZwfN0tzYjO/lJEw==}+resolution: {integrity: sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==}engines: {node: '>=12'}@@ -10000,9 +10307,16 @@ packages:resolution: {integrity: sha512-XCHRdUw4lf3SKBaJe4EvgqIuWwkPSo9XoeO8GjQW94Bp7TWv9hNhzZjZ+OH9yf1UmLygb7DIT5GSFQiyt16zYg==}hasBin: true+ resolution: {integrity: sha512-EkxoDTk8ufHqHlf9QxGwcxeLkWRR3iOuYfRpfORgYfqc8s13bgb+YtRY59NK5ZpRaCwq1kqA6a5lpX8C/eLphQ==}+ hasBin: true+resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==}+ resolution: {integrity: sha512-Ls993zuzfayK269Svk9hzpeGUKob/sIgZzyHYdjQoAdQetRKpOLj+k/QQQ/6Qi0Yz65mlROrfd+Ev+1+7dz9Kw==}+resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==}engines: {node: '>=6'}@@ -10022,6 +10336,10 @@ packages:resolution: {integrity: sha512-mnIlAEMu4OyEvUNdzco9xpuB9YVcPkQec+QsgycBCtPZvEqWPCDPfbAE4OJMdBBWpZWtpCn1xw9jJYlwjWI5zQ==}hasBin: true+ resolution: {integrity: sha512-zu9QWmjpzJcomzdJQAHgDVhLGq5bLosVak1KVa40NzQHXfqr4eAHupvnPOVXEoLkg6Ocefvf/93d//SB7du4YQ==}+ engines: {node: '>=20.10.0', npm: '>=10.2.3'}+resolution: {integrity: sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ==}@@ -10032,6 +10350,12 @@ packages:resolution: {integrity: sha512-4VVDnbOpLXy/s8rdRCSXb+zfMeFR0WlJWpET1iA9CQdlZDfwyLjUuGQzXU4VeOoey6AicSAluWan7Etga6Kcmg==}+ resolution: {integrity: sha512-8h2oVEZNktL4BH2JCOI90iD1yXwL6iNW7KcCKT2QZgQJR2vbqDsldCTPRU9NifTCqHZci57XvQQ15YTu+sTYPg==}++ resolution: {integrity: sha512-dp3s92+uNI1hWIpPGH3jK2kxE2lMjdXdr+DH8ynZHpd6PUlH6x6cbuXnoMmiNumznqaNO31xu9e79F0uuZ0JFg==}+resolution: {integrity: sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw==}engines: {node: '>= 0.6.3'}@@ -10223,6 +10547,12 @@ packages:resolution: {integrity: sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==}+ resolution: {integrity: sha512-kVI48u3PZr38HdYz98UmfPnXl2DXrpdctLrFLCd3kOx1xUkOmpFPx7gCWWM5MPkL/fD8zb+Ph0QzjGFs4+hHWg==}++ resolution: {integrity: sha512-J8xewKD/Gk22OZbhpOVSwcs60zhd95ESDwezOFuA3/099925PdHJ7OFHNTGtajL3AlZkykD32HykiMo+BIBI8A==}+resolution: {integrity: sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==}@@ -10333,6 +10663,16 @@ packages:resolution: {integrity: sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==}+ resolution: {integrity: sha512-TI3V8YYWvkVf3KJe1dRkpnjs68JUPyEa5vjKrp1XEEJUAOaQc+Qj+L1qWbPd0SJuAdQkFU0h73sXXqwDYxsiDA==}+ engines: {node: '>= 20'}+ hasBin: true++ resolution: {integrity: sha512-6hLvc0/JEbRjRgzI6wnT2P1XuM1/RrrDEX0kPt0N7jGm1133g6X7DlxFasUIx+72aKAr904GTxhSLDrd5DIlZg==}+ engines: {node: '>= 20'}+ hasBin: true+resolution: {integrity: sha512-t8eP0dXRJMtMvBojtkcsA7n48BkauktUKzfkPSCq85ZMTJ0v76Rke4DYz01omYpPTUh4p/f7HePgRo3ebG8+QQ==}engines: {node: '>= 16'}@@ -10429,6 +10769,9 @@ packages:resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}engines: {node: '>= 8'}+ resolution: {integrity: sha512-GSGloRsBs+JINmmhl0JDwjpuezCsHB4WGI4NASHxL3fHo3o/BRXTxhDLKnln8/Q0lRFRyDdEjmk1/d5Sn1Xz8g==}+resolution: {integrity: sha512-1vxlvj2yY24ES1O5RsSIvg4a4WeL7PFXgKOHvXTXiW0deLvQr28ExXj6LjwCCDZ4YZLhq6HddLpZnX4dEdSq5g==}engines: {node: '>=20.19.4'}@@ -11158,6 +11501,9 @@ packages:resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==}+ resolution: {integrity: sha512-61A5ThoTiDG/C8s8UMZwSorAGwMJ0ERVGj2OjoW5pAalsNOg15+iQiPzrLJ4jhZ1HJzmC2PIHT2oEiH3R5fzNA==}+resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==}engines: {node: '>=6'}@@ -11188,6 +11534,9 @@ packages:resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==}+ resolution: {integrity: sha512-NOnmBpt5Y2RWbuv0LMzsayp3lVylAHLPUTut412ZA3l+C4uw4ZVkQbjShYCQ8TCpUMdPapr4YjUqLYD6v68j+w==}+resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==}engines: {node: '>=8'}@@ -11271,6 +11620,12 @@ packages:resolution: {integrity: sha512-NCrCHhWmnQklfH4MtJMRjZ2a8c80qXeMlQMv2uVp9ISJMTt562SbGd6n2oq0PaPgKm7Z6pL9E2UlLIhC+SHL3w==}engines: {node: '>=4.0.0'}+ resolution: {integrity: sha512-0mYKnYYe9ZcqMCWhUjItv/oHjvgEsfKvnUTg8sAtnHr3GVy7rGkXCb6d5cSyqrWqL4k81b9CPg3urd+T7aop3A==}++ resolution: {integrity: sha512-25ClnWWuw7JbWZcgqY/gJ4FQWadKxGWk+3kR/7kD0tCaDtPPMj7oHu2ToLaVhfpnHrZzYby2w6tUA0eOIuUg8g==}+resolution: {integrity: sha512-OBatVyC/N7SCW/FaDHrSd+vn0o5cS855TOmYi4OkdWUMSJCET/xip//ch8xGUvtr3i44X9LVyWwQlRMTN3pwSA==}engines: {node: '>=10'}@@ -11961,6 +12316,9 @@ packages:resolution: {integrity: sha512-NZQZdC5wOE/H3UT28fVGL+ikOZcEzfMGk/c3iN9UGxzWHMa1op7274oyiUVrAG4B2EuFhus8SvkaYnhvW92p9Q==}hasBin: true+ resolution: {integrity: sha512-Qn7vR1xrf6fZCrkm9TDWi/AB4ylrHy+jqsNm1EHOAmbARYA6gsnVJBq/sdBh6kmT4NEZxH5vgIjrscefJAOXcw==}+resolution: {integrity: sha512-OiM2wrZ/wuhKkigASodFoo8wimG3H12LWQaH8qSPVJn9apWKFSH3YOCtbKpBorTVw/eI7cuT21XBbvwEswbIOA==}@@ -11970,6 +12328,9 @@ packages:resolution: {integrity: sha512-lqA4rGUf1JmacCNWWZx0Wv1dHqMwxzsDWYMTowuplHF3xH0N/MmrZ/G3BDZnzAkRmxDadujCjaKM2hqYdCBOGw==}+ resolution: {integrity: sha512-CsnhKNsyI8Tub6L4sm5ZFsme4puGfc6pYylvXo1AeqaGbjOYyzNv3qZPwvs0oMJ39eryyeOdmxwUIo94IpEhqg==}+resolution: {integrity: sha512-IjEjJOkH4FuJvHZVIW0QCDWxcG96kCq7An/KVH2NfJe6rKZU2AsHeB3OEjPNRxi4QC34Xdx7I2KGYn6IpT7gxQ==}@@ -11998,6 +12359,9 @@ packages:resolution: {integrity: sha512-Eht5w30ruCXgFmxVUSlNWQ9iiimq07URKeFS3hNc8cUWy1llX4KDWfyEDZRycMc+znsN9Ux5/tJ/BFdgdOwA3A==}+ resolution: {integrity: sha512-iIhggPkhW3hFImKtB10w0dz4EZbs28mV/dmbcYVonWEJ6UGHHpP+bFZnTh6GNWJONg5m+U56JrL+8IxZRdgWjw==}+resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==}engines: {node: '>=0.10.0'}@@ -12059,6 +12423,9 @@ packages:deprecated: Rimraf versions prior to v4 are no longer supportedhasBin: true+ resolution: {integrity: sha512-NS3levdsRIUOmiJ8FZWCP7LG3QpJyrs/TE0Zpf1yvZu8cAJJ6QMW92H1c7kWpdIHo8RvmLxN/o2JXTKHp74lUA==}+resolution: {integrity: sha512-UJUT4+1Ho4OcWmPYU3sYXgUqI8B8Ayfe06MX7y0qCJ1K8aGoKtR/NDd/2nZqM7ADkrzny+I99Ul7GgyoiVNAgg==}engines: {node: '>=22'}@@ -12085,6 +12452,9 @@ packages:resolution: {integrity: sha512-ePa+XGk00/3HuCqrEnK3LxJW7I0SdNg6EFzKUJG73hMAdDcOUC/i/aSz7LSDwLrGr33kal/rqOGydzwl6U7zBA==}+ resolution: {integrity: sha512-ZUz/69+SYpFN/g/lUlo2FXcIjRkSu3nDarreVdGGndHEBJ6cXPdKguS8JGxwj5HA5xIbVKSmLgr5b3AWxtRfvQ==}+resolution: {integrity: sha512-guoltQEx+9aMf2gDZ0s62EcV8lsXR+0w8915TC3ITdn2YueuNjdAYh/levpU9nFaoChh9RUS5ZdQMrKfVEN9tw==}@@ -12095,6 +12465,9 @@ packages:resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}+ resolution: {integrity: sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ==}+resolution: {integrity: sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==}@@ -12392,6 +12765,12 @@ packages:resolution: {integrity: sha512-uyQK/mx5QjHun80FLJTfaWE7JtwfRMKBLkMne6udYOmvH0CawotVa7TfgYHzAnpphn4+TweIx1QKMnRIbipmUg==}engines: {node: '>= 0.10.0'}+ resolution: {integrity: sha512-/tTnURfIOxZK/pqJAxsfCvETG/XCJHoWnk3jq9xLcuz6CSpnjjuxSRBTTL4PKGhxiZQf0lqPxGhImdpwcZ2XwA==}+ peerDependencies:+ react: ^18.0.0 || ^19.0.0+ react-dom: ^18.0.0 || ^19.0.0+resolution: {integrity: sha512-0nQuG6jf1w+wddNEEXCF4nTg3LtufWINB5eFEN+5TNZW7KWJp6x87+JFL43vaAUPyCfH1wID+mNVyW6OHtFamg==}@@ -12512,6 +12891,9 @@ packages:resolution: {integrity: sha512-3ZUifmCDCQanjeej1f6kyl/BeP/Vae5EYkQ9iJfUm/QwZvlgnZzyflqAsAWYURdtea8Vkvswu2GrC57h3qffcA==}+ resolution: {integrity: sha512-yQ3rwFWRfwNUY7H5vpU0wfdkNSnvnJinhF9830Swlaxl03zsOjCfmX0ugac+3LtK0lYSgwL/KXc8oYL3mG4YFQ==}+resolution: {integrity: sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==}engines: {node: '>=16 || 14 >=14.17'}@@ -13142,6 +13524,10 @@ packages:resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==}engines: {node: '>= 0.4.0'}+ resolution: {integrity: sha512-0/A9rDy9P7cJ+8w1c9WD9V//9Wj15Ce2MPz8Ri6032usz+NfePxx5AcN3bN+r6ZL6jEo066/yNYB3tn4pQEx+A==}+ hasBin: true+resolution: {integrity: sha512-DPSke0pXhTZgoF/d+WSt2QaKMCFSfx7QegxEWT+JOuHF5aWrKEn0G+ztjuJg/gG8/ItK+rbPCD/yNv8yyih6Cg==}hasBin: true@@ -13433,6 +13819,23 @@ packages:resolution: {integrity: sha512-gQpnTgkubC6hQgdIcRdYGDSDc+SaujOdyesZQMv6JlfQee/9Mp0Qhnys6WxDWvQnL5WZdT7o2Ul187aSt0Rq+w==}+ resolution: {integrity: sha512-C+r0eKJUIfiDIfwJhria30+TYWPtuHJXHtI7J0YlOmKAo7ogxP20T0zxB7HZQIFhIyvoBPwWskjxrvAtfjyZfA==}+ engines: {node: '>=14.0.0'}++ resolution: {integrity: sha512-mb1bvRJN8SVznADSGWM9u/b07H7Ecg0I3OgXDuLdn307rl/J3A9YD6/eYOssqhecL27hK1IPZAsaqh00i/Jljg==}++ resolution: {integrity: sha512-cxWNPesCnQCcMPeenjKKsOCKQZ/L6Tv19DTRIGuLWe32lyzWhihGVJ/rcckZXJxfdKCFvRLS3fpBIsV/ZGX4zA==}++ resolution: {integrity: sha512-Ld1VelNuX9pdF39h2Hgaeb5hEZM2Z3jUrrMgWQAu82jMtZp7p3vJT3BzToKtZI7NgQssZje5o0zryOrhQvzQAg==}++ resolution: {integrity: sha512-woByF3PDpkHFUreUa7Hos7+pUWdeWMXRd26+ZX2A8cFx6v/JPTtd4/uN0/jB6XQHYaOlHbio03NTHCqrgG5n7g==}+ hasBin: true+resolution: {integrity: sha512-/BpdSx+yCQGnCvecbyXdxHDkuk55/G3xwnC0GqY4gmQ3j+A+g8kzzgB4Nk/SINjqn6+waqw3EgbVF2QKExkRxQ==}@@ -13881,6 +14284,11 @@ snapshots:'@jridgewell/gen-mapping': 0.3.13'@jridgewell/trace-mapping': 0.3.31+ '@antfu/[email protected]':+ dependencies:+ package-manager-detector: 1.6.0+ tinyexec: 1.0.2+'@asamuzakjp/[email protected]':dependencies:'@csstools/css-calc': 2.1.4(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])@@ -14618,11 +15026,30 @@ snapshots:cac: 6.7.14citty: 0.2.1+ '@braintree/[email protected]': {}+'@bramus/[email protected]':dependencies:css-tree: 3.2.1optional: true+ '@chevrotain/[email protected]':+ dependencies:+ '@chevrotain/gast': 11.1.2+ '@chevrotain/types': 11.1.2+ lodash-es: 4.17.23++ '@chevrotain/[email protected]':+ dependencies:+ '@chevrotain/types': 11.1.2+ lodash-es: 4.17.23++ '@chevrotain/[email protected]': {}++ '@chevrotain/[email protected]': {}++ '@chevrotain/[email protected]': {}+dependencies:chromatic: 11.29.0@@ -15477,6 +15904,14 @@ snapshots:'@humanwhocodes/[email protected]': {}+ '@iconify/[email protected]': {}++ '@iconify/[email protected]':+ dependencies:+ '@antfu/install-pkg': 1.1.0+ '@iconify/types': 2.0.0+ mlly: 1.8.2+'@img/[email protected]':optional: true@@ -15884,6 +16319,10 @@ snapshots:'@types/react': 19.2.14react: 19.2.4+ '@mermaid-js/[email protected]':+ dependencies:+ langium: 4.2.1+'@napi-rs/[email protected]':dependencies:'@emnapi/core': 1.8.1@@ -20605,28 +21044,121 @@ snapshots:'@types/[email protected]': {}+ '@types/[email protected]':+ dependencies:+ '@types/d3-selection': 3.0.11++ '@types/[email protected]':+ dependencies:+ '@types/d3-selection': 3.0.11++ '@types/[email protected]': {}+'@types/[email protected]': {}+ '@types/[email protected]':+ dependencies:+ '@types/d3-array': 3.2.1+ '@types/geojson': 7946.0.16++ '@types/[email protected]': {}++ '@types/[email protected]': {}++ '@types/[email protected]':+ dependencies:+ '@types/d3-selection': 3.0.11++ '@types/[email protected]': {}+'@types/[email protected]': {}+ '@types/[email protected]':+ dependencies:+ '@types/d3-dsv': 3.0.7++ '@types/[email protected]': {}++ '@types/[email protected]': {}++ '@types/[email protected]':+ dependencies:+ '@types/geojson': 7946.0.16++ '@types/[email protected]': {}+'@types/[email protected]':dependencies:'@types/d3-color': 3.1.3'@types/[email protected]': {}+ '@types/[email protected]': {}++ '@types/[email protected]': {}++ '@types/[email protected]': {}++ '@types/[email protected]': {}+'@types/[email protected]':dependencies:'@types/d3-time': 3.0.4+ '@types/[email protected]': {}+'@types/[email protected]':dependencies:'@types/d3-path': 3.1.1+ '@types/[email protected]': {}+'@types/[email protected]': {}'@types/[email protected]': {}+ '@types/[email protected]':+ dependencies:+ '@types/d3-selection': 3.0.11++ '@types/[email protected]':+ dependencies:+ '@types/d3-interpolate': 3.0.4+ '@types/d3-selection': 3.0.11++ '@types/[email protected]':+ dependencies:+ '@types/d3-array': 3.2.1+ '@types/d3-axis': 3.0.6+ '@types/d3-brush': 3.0.6+ '@types/d3-chord': 3.0.6+ '@types/d3-color': 3.1.3+ '@types/d3-contour': 3.0.6+ '@types/d3-delaunay': 6.0.4+ '@types/d3-dispatch': 3.0.7+ '@types/d3-drag': 3.0.7+ '@types/d3-dsv': 3.0.7+ '@types/d3-ease': 3.0.2+ '@types/d3-fetch': 3.0.7+ '@types/d3-force': 3.0.10+ '@types/d3-format': 3.0.4+ '@types/d3-geo': 3.1.0+ '@types/d3-hierarchy': 3.1.7+ '@types/d3-interpolate': 3.0.4+ '@types/d3-path': 3.1.1+ '@types/d3-polygon': 3.0.2+ '@types/d3-quadtree': 3.0.6+ '@types/d3-random': 3.0.3+ '@types/d3-scale': 4.0.9+ '@types/d3-scale-chromatic': 3.1.0+ '@types/d3-selection': 3.0.11+ '@types/d3-shape': 3.1.7+ '@types/d3-time': 3.0.4+ '@types/d3-time-format': 4.0.3+ '@types/d3-timer': 3.0.2+ '@types/d3-transition': 3.0.9+ '@types/d3-zoom': 3.0.8+'@types/[email protected]':dependencies:'@types/ms': 2.1.0@@ -20653,6 +21185,8 @@ snapshots:'@types/[email protected]': {}+ '@types/[email protected]': {}+'@types/[email protected]':dependencies:'@types/node': 22.15.32@@ -20908,6 +21442,11 @@ snapshots:'@unrs/[email protected]':optional: true+ '@upsetjs/[email protected]':+ optionalDependencies:+ d3-selection: 3.0.0+ d3-transition: 3.0.1([email protected])+'@urql/[email protected]':dependencies:'@0no-co/graphql.web': 1.2.0@@ -21979,6 +22518,20 @@ snapshots:+ dependencies:+ chevrotain: 11.1.2+ lodash-es: 4.18.1++ dependencies:+ '@chevrotain/cst-dts-gen': 11.1.2+ '@chevrotain/gast': 11.1.2+ '@chevrotain/regexp-to-ast': 11.1.2+ '@chevrotain/types': 11.1.2+ '@chevrotain/utils': 11.1.2+ lodash-es: 4.17.23+dependencies:anymatch: 3.1.3@@ -22193,6 +22746,14 @@ snapshots:+ dependencies:+ layout-base: 1.0.2++ dependencies:+ layout-base: 2.0.1+@@ -22318,22 +22879,107 @@ snapshots:+ dependencies:+ cose-base: 1.0.3+ cytoscape: 3.33.1++ dependencies:+ cose-base: 2.2.0+ cytoscape: 3.33.1++ [email protected]: {}++ dependencies:+ internmap: 1.0.1+dependencies:internmap: 2.0.3+ [email protected]: {}++ dependencies:+ d3-dispatch: 3.0.1+ d3-drag: 3.0.0+ d3-interpolate: 3.0.1+ d3-selection: 3.0.0+ d3-transition: 3.0.1([email protected])++ dependencies:+ d3-path: 3.1.0++ dependencies:+ d3-array: 3.2.4++ dependencies:+ delaunator: 5.1.0++ [email protected]: {}++ dependencies:+ d3-dispatch: 3.0.1+ d3-selection: 3.0.0++ dependencies:+ commander: 7.2.0+ iconv-lite: 0.6.3+ rw: 1.3.3++ dependencies:+ d3-dsv: 3.0.1++ dependencies:+ d3-dispatch: 3.0.1+ d3-quadtree: 3.0.1+ d3-timer: 3.0.1++ dependencies:+ d3-array: 3.2.4++ [email protected]: {}+dependencies:d3-color: 3.1.0+ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ d3-array: 2.12.1+ d3-shape: 1.3.7++ dependencies:+ d3-color: 3.1.0+ d3-interpolate: 3.0.1+dependencies:d3-array: 3.2.4@@ -22342,6 +22988,12 @@ snapshots:d3-time: 3.1.0d3-time-format: 4.1.0+ [email protected]: {}++ dependencies:+ d3-path: 1.0.9+dependencies:d3-path: 3.1.0@@ -22356,6 +23008,61 @@ snapshots:+ dependencies:+ d3-color: 3.1.0+ d3-dispatch: 3.0.1+ d3-ease: 3.0.1+ d3-interpolate: 3.0.1+ d3-selection: 3.0.0+ d3-timer: 3.0.1++ dependencies:+ d3-dispatch: 3.0.1+ d3-drag: 3.0.0+ d3-interpolate: 3.0.1+ d3-selection: 3.0.0+ d3-transition: 3.0.1([email protected])++ dependencies:+ d3-array: 3.2.4+ d3-axis: 3.0.0+ d3-brush: 3.0.0+ d3-chord: 3.0.1+ d3-color: 3.1.0+ d3-contour: 4.0.2+ d3-delaunay: 6.0.4+ d3-dispatch: 3.0.1+ d3-drag: 3.0.0+ d3-dsv: 3.0.1+ d3-ease: 3.0.1+ d3-fetch: 3.0.1+ d3-force: 3.0.0+ d3-format: 3.1.0+ d3-geo: 3.1.1+ d3-hierarchy: 3.1.2+ d3-interpolate: 3.0.1+ d3-path: 3.1.0+ d3-polygon: 3.0.1+ d3-quadtree: 3.0.1+ d3-random: 3.0.1+ d3-scale: 4.0.2+ d3-scale-chromatic: 3.1.0+ d3-selection: 3.0.0+ d3-shape: 3.2.0+ d3-time: 3.1.0+ d3-time-format: 4.1.0+ d3-timer: 3.0.1+ d3-transition: 3.0.1([email protected])+ d3-zoom: 3.0.0++ dependencies:+ d3: 7.9.0+ lodash-es: 4.18.1+@@ -22393,6 +23100,8 @@ snapshots:+ [email protected]: {}+@@ -22460,6 +23169,10 @@ snapshots:+ dependencies:+ robust-predicates: 3.0.3+@@ -23719,6 +24432,8 @@ snapshots:ufo: 1.6.3uncrypto: 0.1.3+ [email protected]: {}+@@ -23802,6 +24517,12 @@ snapshots:web-namespaces: 2.0.1zwitch: 2.0.4+ dependencies:+ '@types/hast': 3.0.4+ '@ungap/structured-clone': 1.3.0+ unist-util-position: 5.0.0+dependencies:'@types/estree': 1.0.8@@ -24073,6 +24794,8 @@ snapshots:hasown: 2.0.2side-channel: 1.1.0+ [email protected]: {}+@@ -24535,10 +25258,16 @@ snapshots:dependencies:commander: 8.3.0+ dependencies:+ commander: 8.3.0+dependencies:json-buffer: 3.0.1+ [email protected]: {}+@@ -24549,6 +25278,14 @@ snapshots:+ dependencies:+ chevrotain: 11.1.2+ chevrotain-allstar: 0.3.1([email protected])+ vscode-languageserver: 9.0.1+ vscode-languageserver-textdocument: 1.0.12+ vscode-uri: 3.1.0+@@ -24560,6 +25297,10 @@ snapshots:picocolors: 1.1.1shell-quote: 1.8.3+ [email protected]: {}++ [email protected]: {}+dependencies:readable-stream: 2.3.8@@ -24723,6 +25464,10 @@ snapshots:+ [email protected]: {}++ [email protected]: {}+@@ -24828,6 +25573,10 @@ snapshots:+ [email protected]: {}++ [email protected]: {}+@@ -25042,6 +25791,30 @@ snapshots:+ dependencies:+ '@braintree/sanitize-url': 7.1.2+ '@iconify/utils': 3.1.0+ '@mermaid-js/parser': 1.1.0+ '@types/d3': 7.4.3+ '@upsetjs/venn.js': 2.0.0+ cytoscape: 3.33.1+ cytoscape-cose-bilkent: 4.1.0([email protected])+ cytoscape-fcose: 2.2.0([email protected])+ d3: 7.9.0+ d3-sankey: 0.12.3+ dagre-d3-es: 7.0.14+ dayjs: 1.11.20+ dompurify: 3.3.1+ katex: 0.16.44+ khroma: 2.1.0+ lodash-es: 4.18.1+ marked: 16.4.2+ roughjs: 4.6.6+ stylis: 4.3.6+ ts-dedent: 2.2.0+ uuid: 11.1.0+dependencies:'@babel/core': 7.29.0@@ -26444,6 +27217,8 @@ snapshots:+ [email protected]: {}+dependencies:callsites: 3.1.0@@ -26489,6 +27264,8 @@ snapshots:+ [email protected]: {}+@@ -26553,6 +27330,13 @@ snapshots:+ [email protected]: {}++ dependencies:+ path-data-parser: 0.1.0+ points-on-curve: 0.2.0+dependencies:'@babel/runtime': 7.27.6@@ -27599,6 +28383,10 @@ snapshots:dependencies:jsesc: 3.1.0+ dependencies:+ unist-util-visit: 5.1.0+dependencies:'@types/hast': 3.0.4@@ -27623,6 +28411,11 @@ snapshots:transitivePeerDependencies:- supports-color+ dependencies:+ '@types/hast': 3.0.4+ hast-util-sanitize: 5.0.2+dependencies:'@types/mdast': 4.0.4@@ -27696,6 +28489,8 @@ snapshots:transitivePeerDependencies:- supports-color+ [email protected]: {}+@@ -27752,6 +28547,8 @@ snapshots:dependencies:glob: 7.2.3+ [email protected]: {}+dependencies:open: 11.0.0@@ -27820,6 +28617,13 @@ snapshots:+ dependencies:+ hachure-fill: 0.5.2+ path-data-parser: 0.1.0+ points-on-curve: 0.2.0+ points-on-path: 0.2.1+@@ -27828,6 +28632,8 @@ snapshots:dependencies:queue-microtask: 1.2.3+ [email protected]: {}+dependencies:tslib: 2.8.1@@ -28184,6 +28990,29 @@ snapshots:+ dependencies:+ clsx: 2.1.1+ hast-util-to-jsx-runtime: 2.3.6+ html-url-attributes: 3.0.1+ marked: 17.0.5+ mermaid: 11.14.0+ react: 19.2.3+ react-dom: 19.2.3([email protected])+ rehype-harden: 1.1.8+ rehype-raw: 7.0.0+ rehype-sanitize: 6.0.0+ remark-gfm: 4.0.1+ remark-parse: 11.0.0+ remark-rehype: 11.1.2+ remend: 1.3.0+ tailwind-merge: 3.5.0+ unified: 11.0.5+ unist-util-visit: 5.1.0+ unist-util-visit-parents: 6.0.1+ transitivePeerDependencies:+ - supports-color+dependencies:events-universal: 1.0.1@@ -28340,6 +29169,8 @@ snapshots:+ [email protected]: {}+dependencies:'@jridgewell/gen-mapping': 0.3.13@@ -29051,6 +29882,8 @@ snapshots:+ [email protected]: {}+@@ -29331,6 +30164,21 @@ snapshots:+ [email protected]: {}++ dependencies:+ vscode-jsonrpc: 8.2.0+ vscode-languageserver-types: 3.17.5++ [email protected]: {}++ [email protected]: {}++ dependencies:+ vscode-languageserver-protocol: 3.17.5+