Skip to content

The Open Standard for Generative UI

Add @openuidev/svelte-lang and extract @openuidev/lang-core (#347)

shipooor | hackathon speedrunner46345076b16a
diff --git a/.gitignore b/.gitignore
index 628e6e7b1..f1718dadf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -34,6 +34,7 @@ node_modules
# Build output
dist
.next
+.svelte-kit
*.tsbuildinfo
typings
diff --git a/examples/svelte-chat/.env.example b/examples/svelte-chat/.env.example
new file mode 100644
index 000000000..e9839107a
--- /dev/null
+++ b/examples/svelte-chat/.env.example
@@ -0,0 +1 @@
+OPENAI_API_KEY=your-openai-api-key-here
diff --git a/examples/svelte-chat/.gitignore b/examples/svelte-chat/.gitignore
new file mode 100644
index 000000000..ca1328b5d
--- /dev/null
+++ b/examples/svelte-chat/.gitignore
@@ -0,0 +1,6 @@
+node_modules
+.svelte-kit
+build
+.env
+.env.*
+!.env.example
diff --git a/examples/svelte-chat/README.md b/examples/svelte-chat/README.md
new file mode 100644
index 000000000..8bfdd2751
--- /dev/null
+++ b/examples/svelte-chat/README.md
@@ -0,0 +1,75 @@
+# OpenUI Svelte Chat
+
+A chat application built with [SvelteKit](https://svelte.dev/docs/kit), [Vercel AI SDK](https://ai-sdk.dev), and [`@openuidev/svelte-lang`](../../packages/svelte-lang/) — demonstrating how to render structured LLM output as live Svelte components.
+
+## How it works
+
+1. **User sends a message** via the chat input
+2. **Server streams a response** using the Vercel AI SDK with OpenAI, guided by a system prompt written in openui-lang syntax
+3. **`@openuidev/svelte-lang` Renderer** parses the streaming openui-lang text and renders it as Svelte components in real time
+4. **Tool calls** (weather, stocks, math, web search) are displayed inline with status indicators
+
+## Setup
+
+### Prerequisites
+
+- Node.js 18+
+- [pnpm](https://pnpm.io/)
+- An OpenAI API key
+
+### Install dependencies
+
+From the monorepo root:
+
+```bash
+pnpm install
+```
+
+### Configure environment
+
+```bash
+cp .env.example .env
+```
+
+Edit `.env` and add your OpenAI API key:
+
+```
+OPENAI_API_KEY=sk-...
+```
+
+### Run
+
+```bash
+pnpm --filter svelte-chat dev
+```
+
+Open [http://localhost:5173](http://localhost:5173).
+
+## Project structure
+
+```
+src/
+├── routes/
+│ ├── +page.svelte # Chat UI with AI SDK Chat class + OpenUI Renderer
+│ ├── +layout.svelte # Root layout (imports Tailwind)
+│ ├── +layout.ts # Disables SSR (client-side rendering)
+│ └── api/chat/+server.ts # AI SDK streaming endpoint
+├── lib/
+│ ├── library.ts # OpenUI component definitions (Stack, Card, TextContent, Button)
+│ ├── tools.ts # AI tool definitions (weather, stocks, math, search)
+│ └── components/ # Svelte component renderers
+│ ├── Stack.svelte
+│ ├── Card.svelte
+│ ├── TextContent.svelte
+│ └── Button.svelte
+└── generated/
+ └── system-prompt.txt # LLM system prompt describing the openui-lang syntax
+```
+
+## Adding components
+
+1. Create a Svelte component in `src/lib/components/`
+2. Define it with `defineComponent()` in `src/lib/library.ts`
+3. Add its signature to `src/generated/system-prompt.txt`
+
+See the [`@openuidev/svelte-lang` README](../../packages/svelte-lang/README.md) for the full API.
diff --git a/examples/svelte-chat/package.json b/examples/svelte-chat/package.json
new file mode 100644
index 000000000..36266ef87
--- /dev/null
+++ b/examples/svelte-chat/package.json
@@ -0,0 +1,28 @@
+{
+ "name": "svelte-chat",
+ "private": true,
+ "type": "module",
+ "scripts": {
+ "dev": "vite dev",
+ "build": "vite build",
+ "preview": "vite preview"
+ },
+ "dependencies": {
+ "@ai-sdk/openai": "^3.0.41",
+ "@ai-sdk/svelte": "^3.0.0",
+ "@openuidev/svelte-lang": "workspace:*",
+ "ai": "^6.0.116",
+ "chart.js": "^4.5.1",
+ "zod": "^4.3.6"
+ },
+ "devDependencies": {
+ "@sveltejs/adapter-auto": "^4.0.0",
+ "@sveltejs/kit": "^2.0.0",
+ "@sveltejs/vite-plugin-svelte": "^5.0.0",
+ "@tailwindcss/vite": "^4",
+ "svelte": "^5.0.0",
+ "tailwindcss": "^4",
+ "typescript": "^5",
+ "vite": "^6.0.0"
+ }
+}
diff --git a/examples/svelte-chat/src/app.css b/examples/svelte-chat/src/app.css
new file mode 100644
index 000000000..f1d8c73cd
--- /dev/null
+++ b/examples/svelte-chat/src/app.css
@@ -0,0 +1 @@
+@import "tailwindcss";
diff --git a/examples/svelte-chat/src/app.d.ts b/examples/svelte-chat/src/app.d.ts
new file mode 100644
index 000000000..f52e41baa
--- /dev/null
+++ b/examples/svelte-chat/src/app.d.ts
@@ -0,0 +1,7 @@
+/// <reference types="@sveltejs/kit" />
+
+declare global {
+ namespace App {}
+}
+
+export {};
diff --git a/examples/svelte-chat/src/app.html b/examples/svelte-chat/src/app.html
new file mode 100644
index 000000000..3fff5cf8a
--- /dev/null
+++ b/examples/svelte-chat/src/app.html
@@ -0,0 +1,12 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <title>OpenUI Svelte Chat</title>
+ %sveltekit.head%
+ </head>
+ <body>
+ <div style="display: contents">%sveltekit.body%</div>
+ </body>
+</html>
diff --git a/examples/svelte-chat/src/lib/components/Button.svelte b/examples/svelte-chat/src/lib/components/Button.svelte
new file mode 100644
index 000000000..4610c74a2
--- /dev/null
+++ b/examples/svelte-chat/src/lib/components/Button.svelte
@@ -0,0 +1,21 @@
+<script lang="ts">
+ import type { Snippet } from "svelte";
+ import { getTriggerAction } from "@openuidev/svelte-lang";
+
+ let { props }: { props: { label?: string; action?: string }; renderNode: Snippet<[unknown]> } =
+ $props();
+
+ const triggerAction = getTriggerAction();
+</script>
+
+<button
+ class="inline-flex items-center rounded-lg border border-zinc-300 dark:border-zinc-700 bg-white dark:bg-zinc-800 px-3 py-1.5 text-sm font-medium text-zinc-700 dark:text-zinc-300 hover:bg-zinc-50 dark:hover:bg-zinc-700 transition-colors cursor-pointer"
+ onclick={() =>
+ triggerAction(
+ props.label ?? "Click",
+ undefined,
+ props.action ? { type: props.action } : undefined,
+ )}
+>
+ {props.label ?? "Button"}
+</button>
diff --git a/examples/svelte-chat/src/lib/components/Card.svelte b/examples/svelte-chat/src/lib/components/Card.svelte
new file mode 100644
index 000000000..6d52a10e7
--- /dev/null
+++ b/examples/svelte-chat/src/lib/components/Card.svelte
@@ -0,0 +1,19 @@
+<script lang="ts">
+ import type { Snippet } from "svelte";
+
+ let {
+ props,
+ renderNode,
+ }: { props: { title?: string; children?: unknown }; renderNode: Snippet<[unknown]> } = $props();
+</script>
+
+<div class="rounded-xl border border-zinc-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 p-4 shadow-sm">
+ {#if props.title}
+ <h3 class="text-base font-semibold text-zinc-900 dark:text-zinc-100 mb-2">{props.title}</h3>
+ {/if}
+ {#if props.children}
+ <div class="space-y-2">
+ {@render renderNode(props.children)}
+ </div>
+ {/if}
+</div>
diff --git a/examples/svelte-chat/src/lib/components/Chart.svelte b/examples/svelte-chat/src/lib/components/Chart.svelte
new file mode 100644
index 000000000..302b27dc5
--- /dev/null
+++ b/examples/svelte-chat/src/lib/components/Chart.svelte
@@ -0,0 +1,128 @@
+<script lang="ts">
+ import type { Snippet } from "svelte";
+ import {
+ Chart as ChartJS,
+ CategoryScale,
+ LinearScale,
+ BarController,
+ LineController,
+ PieController,
+ DoughnutController,
+ ArcElement,
+ BarElement,
+ LineElement,
+ PointElement,
+ Title,
+ Tooltip,
+ Legend,
+ Filler,
+ } from "chart.js";
+
+ ChartJS.register(
+ CategoryScale,
+ LinearScale,
+ BarController,
+ LineController,
+ PieController,
+ DoughnutController,
+ ArcElement,
+ BarElement,
+ LineElement,
+ PointElement,
+ Title,
+ Tooltip,
+ Legend,
+ Filler,
+ );
+
+ let {
+ props,
+ }: {
+ props: {
+ title?: string;
+ type?: string;
+ labels?: string[];
+ values?: number[];
+ datasetLabel?: string;
+ };
+ renderNode: Snippet<[unknown]>;
+ } = $props();
+
+ let canvas = $state<HTMLCanvasElement>();
+ let chartInstance: ChartJS | null = null;
+
+ const COLORS = [
+ "rgba(139, 92, 246, 0.7)",
+ "rgba(59, 130, 246, 0.7)",
+ "rgba(16, 185, 129, 0.7)",
+ "rgba(245, 158, 11, 0.7)",
+ "rgba(239, 68, 68, 0.7)",
+ "rgba(236, 72, 153, 0.7)",
+ "rgba(99, 102, 241, 0.7)",
+ "rgba(20, 184, 166, 0.7)",
+ ];
+
+ const BORDER_COLORS = COLORS.map((c) => c.replace("0.7", "1"));
+
+ $effect(() => {
+ if (!canvas) return;
+
+ const labels = props.labels ?? [];
+ const values = props.values ?? [];
+ const chartType = (props.type ?? "bar") as "bar" | "line" | "pie" | "doughnut";
+ const isPieType = chartType === "pie" || chartType === "doughnut";
+
+ chartInstance?.destroy();
+
+ chartInstance = new ChartJS(canvas, {
+ type: chartType,
+ data: {
+ labels,
+ datasets: [
+ {
+ label: props.datasetLabel ?? props.title ?? "Data",
+ data: values,
+ backgroundColor: isPieType
+ ? COLORS.slice(0, labels.length)
+ : COLORS[0],
+ borderColor: isPieType
+ ? BORDER_COLORS.slice(0, labels.length)
+ : BORDER_COLORS[0],
+ borderWidth: isPieType ? 2 : 2,
+ borderRadius: chartType === "bar" ? 6 : undefined,
+ tension: chartType === "line" ? 0.3 : undefined,
+ fill: chartType === "line" ? "origin" : undefined,
+ },
+ ],
+ },
+ options: {
+ responsive: true,
+ maintainAspectRatio: false,
+ plugins: {
+ legend: { display: isPieType, position: "bottom" },
+ title: { display: false },
+ },
+ scales: isPieType
+ ? {}
+ : {
+ y: { beginAtZero: true, grid: { color: "rgba(161,161,170,0.15)" } },
+ x: { grid: { display: false } },
+ },
+ },
+ });
+
+ return () => {
+ chartInstance?.destroy();
+ chartInstance = null;
+ };
+ });
+</script>
+
+<div class="rounded-xl border border-zinc-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 p-4 shadow-sm">
+ {#if props.title}
+ <h3 class="text-base font-semibold text-zinc-900 dark:text-zinc-100 mb-3">{props.title}</h3>
+ {/if}
+ <div class="relative h-64">
+ <canvas bind:this={canvas}></canvas>
+ </div>
+</div>
diff --git a/examples/svelte-chat/src/lib/components/Stack.svelte b/examples/svelte-chat/src/lib/components/Stack.svelte
new file mode 100644
index 000000000..da7273c36
--- /dev/null
+++ b/examples/svelte-chat/src/lib/components/Stack.svelte
@@ -0,0 +1,14 @@
+<script lang="ts">
+ import type { Snippet } from "svelte";
+
+ let {
+ props,
+ renderNode,
+ }: { props: { children?: unknown }; renderNode: Snippet<[unknown]> } = $props();
+</script>
+
+<div class="flex flex-col gap-4">
+ {#if props.children}
+ {@render renderNode(props.children)}
+ {/if}
+</div>
diff --git a/examples/svelte-chat/src/lib/components/TextContent.svelte b/examples/svelte-chat/src/lib/components/TextContent.svelte
new file mode 100644
index 000000000..ba49ae912
--- /dev/null
+++ b/examples/svelte-chat/src/lib/components/TextContent.svelte
@@ -0,0 +1,7 @@
+<script lang="ts">
+ import type { Snippet } from "svelte";
+
+ let { props }: { props: { text?: string }; renderNode: Snippet<[unknown]> } = $props();
+</script>
+
+<p class="text-sm leading-relaxed text-zinc-700 dark:text-zinc-300">{props.text ?? ""}</p>
diff --git a/examples/svelte-chat/src/lib/library.ts b/examples/svelte-chat/src/lib/library.ts
new file mode 100644
index 000000000..8732f1010
--- /dev/null
+++ b/examples/svelte-chat/src/lib/library.ts
@@ -0,0 +1,104 @@
+import { createLibrary, defineComponent, type PromptOptions } from "@openuidev/svelte-lang";
+import { z } from "zod";
+import Button from "./components/Button.svelte";
+import Card from "./components/Card.svelte";
+import Chart from "./components/Chart.svelte";
+import Stack from "./components/Stack.svelte";
+import TextContent from "./components/TextContent.svelte";
+
+const TextContentDef = defineComponent({
+ name: "TextContent",
+ props: z.object({ text: z.string() }),
+ description: "Displays a block of text. Supports markdown formatting within the string.",
+ component: TextContent,
+});
+
+const ButtonDef = defineComponent({
+ name: "Button",
+ props: z.object({
+ label: z.string(),
+ action: z.string().optional(),
+ }),
+ description:
+ "A clickable button. The label is shown to the user and used as the follow-up message.",
+ component: Button,
+});
+
+const ChartDef = defineComponent({
+ name: "Chart",
+ props: z.object({
+ title: z.string(),
+ type: z.enum(["bar", "line", "pie", "doughnut"]),
+ labels: z.array(z.string()),
+ values: z.array(z.number()),
+ datasetLabel: z.string().optional(),
+ }),
+ description:
+ "Renders a chart. Use bar for comparisons, line for trends, pie/doughnut for proportions.",
+ component: Chart,
+});
+
+const CardDef = defineComponent({
+ name: "Card",
+ props: z.object({
+ title: z.string(),
+ children: z.array(z.union([TextContentDef.ref, ButtonDef.ref, ChartDef.ref])),
+ }),
+ description: "A card container with a title and child components",
+ component: Card,
+});
+
+const StackDef = defineComponent({
+ name: "Stack",
+ props: z.object({
+ children: z.array(z.union([CardDef.ref, TextContentDef.ref, ButtonDef.ref, ChartDef.ref])),
+ }),
+ description: "Vertical layout container. Use as the root.",
+ component: Stack,
+});
+
+export const library = createLibrary({
+ components: [TextContentDef, ButtonDef, ChartDef, CardDef, StackDef],
+ root: "Stack",
+});
+
+export const promptOptions: PromptOptions = {
+ additionalRules: [
+ "Always use Stack as the root component.",
+ "Group related content in Card components with descriptive titles.",
+ "Use TextContent for all text output. You can use markdown within the text string.",
+ "Use Button for suggested follow-up actions the user might want to take.",
+ "For multi-section responses, use multiple Card components inside the root Stack.",
+ "Prefer using references for readability and better streaming performance.",
+ "Keep TextContent strings focused — use multiple TextContent components for different paragraphs or points.",
+ "Never nest Stack inside Stack directly.",
+ "Use Chart for data visualization. Choose bar for comparisons, line for trends, pie/doughnut for proportions.",
+ "Chart labels and values arrays must have the same length.",
+ ],
+ examples: [
+ `User: What is Svelte?
+
+t1 = TextContent("Svelte is a modern JavaScript framework that shifts work from the browser to a compile step. Unlike React or Vue, Svelte compiles your components into efficient imperative code that directly manipulates the DOM.")
+t2 = TextContent("**No virtual DOM** — Svelte updates the DOM surgically when state changes, resulting in excellent runtime performance.")
+t3 = TextContent("**Less boilerplate** — Svelte's syntax is concise and intuitive, letting you write less code to achieve the same results.")
+t4 = TextContent("**Built-in reactivity** — Simple variable assignments trigger UI updates. No hooks or special APIs needed.")
+intro = Card("What is Svelte?", [t1])
+features = Card("Key Features", [t2, t3, t4])
+cta = Button("Tell me about Svelte 5")
+root = Stack([intro, features, cta])`,
+ `User: What's the weather like?
+
+t1 = TextContent("I can look up the current weather for any city. Just tell me which location you're interested in!")
+card = Card("Weather Lookup", [t1])
+b1 = Button("Weather in New York")
+b2 = Button("Weather in Tokyo")
+root = Stack([card, b1, b2])`,
+ `User: Show me the top 5 programming languages by popularity
+
+root = Stack([card, cta])
+chart = Chart("Programming Language Popularity", "bar", ["Python", "JavaScript", "Java", "C++", "TypeScript"], [30, 25, 18, 12, 10], "% Market Share")
+t1 = TextContent("Python leads with 30% market share, driven by AI/ML adoption. JavaScript remains dominant for web development at 25%.")
+card = Card("Language Trends", [chart, t1])
+cta = Button("Compare Python vs JavaScript")`,
+ ],
+};
diff --git a/examples/svelte-chat/src/lib/tools.ts b/examples/svelte-chat/src/lib/tools.ts
new file mode 100644
index 000000000..bf7b106d6
--- /dev/null
+++ b/examples/svelte-chat/src/lib/tools.ts
@@ -0,0 +1,117 @@
+import { tool } from "ai";
+import { z } from "zod";
+
+export const tools = {
+ 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/svelte-chat/src/routes/+layout.svelte b/examples/svelte-chat/src/routes/+layout.svelte
new file mode 100644
index 000000000..d701e67c8
--- /dev/null
+++ b/examples/svelte-chat/src/routes/+layout.svelte
@@ -0,0 +1,7 @@
+<script>
+ import "../app.css";
+
+ let { children } = $props();
+</script>
+
+{@render children()}
diff --git a/examples/svelte-chat/src/routes/+layout.ts b/examples/svelte-chat/src/routes/+layout.ts
new file mode 100644
index 000000000..a3d15781a
--- /dev/null
+++ b/examples/svelte-chat/src/routes/+layout.ts
@@ -0,0 +1 @@
+export const ssr = false;
diff --git a/examples/svelte-chat/src/routes/+page.svelte b/examples/svelte-chat/src/routes/+page.svelte
new file mode 100644
index 000000000..a8af7d126
--- /dev/null
+++ b/examples/svelte-chat/src/routes/+page.svelte
@@ -0,0 +1,71 @@
+<script lang="ts">
+ import { Chat } from "@ai-sdk/svelte";
+ import { BuiltinActionType, type ActionEvent } from "@openuidev/svelte-lang";
+ import { library } from "$lib/library";
+ import ChatHeader from "./ChatHeader.svelte";
+ import WelcomeScreen from "./WelcomeScreen.svelte";
+ import UserMessage from "./UserMessage.svelte";
+ import AssistantMessage from "./AssistantMessage.svelte";
+ import LoadingIndicator from "./LoadingIndicator.svelte";
+ import ChatInput from "./ChatInput.svelte";
+
+ let messagesEnd = $state<HTMLDivElement>();
+ const chat = new Chat({});
+
+ const isLoading = $derived(chat.status === "submitted" || chat.status === "streaming");
+
+ function handleSend(text: string) {
+ if (!text.trim() || isLoading) return;
+ chat.sendMessage({ text: text.trim() });
+ }
+
+ function handleAction(event: ActionEvent) {
+ if (event.type === BuiltinActionType.ContinueConversation && event.humanFriendlyMessage) {
+ handleSend(event.humanFriendlyMessage);
+ }
+ }
+
+ $effect(() => {
+ messagesEnd?.scrollIntoView({ behavior: "smooth" });
+ });
+
+ const starters = [
+ "What is Svelte 5?",
+ "What's the weather in Tokyo?",
+ "Compare React and Svelte",
+ "Look up NVDA stock price",
+ ];
+</script>
+
+<div class="h-screen flex flex-col bg-zinc-50 dark:bg-zinc-950">
+ <ChatHeader />
+
+ <div class="flex-1 overflow-y-auto">
+ {#if chat.messages.length === 0}
+ <WelcomeScreen {starters} onSend={handleSend} />
+ {:else}
+ <div class="max-w-3xl mx-auto px-4 py-6 space-y-6">
+ {#each chat.messages as message, i}
+ {#if message.role === "user"}
+ <UserMessage parts={message.parts} />
+ {:else if message.role === "assistant"}
+ <AssistantMessage
+ parts={message.parts}
+ {library}
+ isStreaming={isLoading && i === chat.messages.length - 1}
+ onAction={handleAction}
+ />
+ {/if}
+ {/each}
+
+ {#if isLoading && (chat.messages.length === 0 || chat.messages[chat.messages.length - 1]?.role === "user")}
+ <LoadingIndicator />
+ {/if}
+
+ <div bind:this={messagesEnd}></div>
+ </div>
+ {/if}
+ </div>
+
+ <ChatInput {isLoading} onSubmit={handleSend} onStop={() => chat.stop()} />
+</div>
diff --git a/examples/svelte-chat/src/routes/AssistantMessage.svelte b/examples/svelte-chat/src/routes/AssistantMessage.svelte
new file mode 100644
index 000000000..57a8b068f
--- /dev/null
+++ b/examples/svelte-chat/src/routes/AssistantMessage.svelte
@@ -0,0 +1,71 @@
+<script lang="ts">
+ import { Renderer, type ActionEvent } from "@openuidev/svelte-lang";
+ import type { Library } from "@openuidev/svelte-lang";
+
+ interface Props {
+ parts: any[];
+ library: Library;
+ isStreaming: boolean;
+ onAction: (event: ActionEvent) => void;
+ }
+
+ let { parts, library, isStreaming, onAction }: Props = $props();
+
+ function getTextContent(parts: any[]): string {
+ return parts
+ .filter((p: any) => p.type === "text")
+ .map((p: any) => p.text)
+ .join("");
+ }
+
+ function isToolPart(part: any): boolean {
+ return part.type?.startsWith("tool-") || part.type === "dynamic-tool";
+ }
+
+ function getToolName(part: any): string {
+ if (part.type === "dynamic-tool" && "toolName" in part) return part.toolName;
+ return part.type?.replace(/^tool-/, "") ?? "";
+ }
+
+ const textContent = $derived(getTextContent(parts));
+ const toolParts = $derived(parts.filter(isToolPart));
+</script>
+
+<div class="flex gap-3">
+ <div
+ class="shrink-0 w-7 h-7 rounded-full bg-gradient-to-br from-violet-500 to-indigo-600 flex items-center justify-center"
+ >
+ <span class="text-[10px] font-bold text-white">AI</span>
+ </div>
+ <div class="flex-1 min-w-0 space-y-2">
+ {#each toolParts as tp}
+ {@const state = (tp as any).state}
+ {@const done = state === "output-available"}
+ <div class="flex items-center gap-2 text-xs text-zinc-500 dark:text-zinc-400">
+ {#if done}
+ <svg
+ class="w-3.5 h-3.5 text-green-500"
+ fill="none"
+ stroke="currentColor"
+ viewBox="0 0 24 24"
+ >
+ <path
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ stroke-width="2.5"
+ d="M5 13l4 4L19 7"
+ />
+ </svg>
+ {:else}
+ <div
+ class="w-3.5 h-3.5 border-2 border-zinc-300 dark:border-zinc-600 border-t-transparent rounded-full animate-spin"
+ ></div>
+ {/if}
+ <span class="font-medium">{getToolName(tp)}</span>
+ </div>
+ {/each}
+ {#if textContent}
+ <Renderer response={textContent} {library} {isStreaming} {onAction} />
+ {/if}
+ </div>
+</div>
diff --git a/examples/svelte-chat/src/routes/ChatHeader.svelte b/examples/svelte-chat/src/routes/ChatHeader.svelte
new file mode 100644
index 000000000..86707b508
--- /dev/null
+++ b/examples/svelte-chat/src/routes/ChatHeader.svelte
@@ -0,0 +1,11 @@
+<script lang="ts">
+</script>
+
+<header
+ class="shrink-0 border-b border-zinc-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 px-6 py-4"
+>
+ <h1 class="text-lg font-semibold text-zinc-900 dark:text-zinc-100">OpenUI Svelte Chat</h1>
+ <p class="text-xs text-zinc-500 dark:text-zinc-400">
+ Powered by @openuidev/svelte-lang & Vercel AI SDK
+ </p>
+</header>
diff --git a/examples/svelte-chat/src/routes/ChatInput.svelte b/examples/svelte-chat/src/routes/ChatInput.svelte
new file mode 100644
index 000000000..2e93f3b4b
--- /dev/null
+++ b/examples/svelte-chat/src/routes/ChatInput.svelte
@@ -0,0 +1,55 @@
+<script lang="ts">
+ interface Props {
+ isLoading: boolean;
+ onSubmit: (text: string) => void;
+ onStop: () => void;
+ }
+
+ let { isLoading, onSubmit, onStop }: Props = $props();
+ let input = $state("");
+
+ function handleSubmit(e: SubmitEvent) {
+ e.preventDefault();
+ const text = input.trim();
+ if (!text || isLoading) return;
+ input = "";
+ onSubmit(text);
+ }
+
+ function handleKeydown(e: KeyboardEvent) {
+ if (e.key === "Enter" && !e.shiftKey) {
+ e.preventDefault();
+ handleSubmit(new SubmitEvent("submit"));
+ }
+ }
+</script>
+
+<div class="shrink-0 border-t border-zinc-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 p-4">
+ <form class="max-w-3xl mx-auto flex gap-2" onsubmit={handleSubmit}>
+ <input
+ type="text"
+ placeholder="Type a message..."
+ bind:value={input}
+ onkeydown={handleKeydown}
+ disabled={isLoading}
+ class="flex-1 rounded-xl border border-zinc-300 dark:border-zinc-700 bg-white dark:bg-zinc-800 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 focus:border-transparent disabled:opacity-50"
+ />
+ {#if isLoading}
+ <button
+ type="button"
+ onclick={onStop}
+ class="rounded-xl bg-zinc-200 dark:bg-zinc-700 px-5 py-2.5 text-sm font-medium text-zinc-700 dark:text-zinc-300 hover:bg-zinc-300 dark:hover:bg-zinc-600 transition-colors cursor-pointer"
+ >
+ Stop
+ </button>
+ {:else}
+ <button
+ type="submit"
+ disabled={!input.trim()}
+ class="rounded-xl bg-violet-600 px-5 py-2.5 text-sm font-medium text-white hover:bg-violet-700 transition-colors disabled:opacity-50 disabled:cursor-not-allowed cursor-pointer"
+ >
+ Send
+ </button>
+ {/if}
+ </form>
+</div>
diff --git a/examples/svelte-chat/src/routes/LoadingIndicator.svelte b/examples/svelte-chat/src/routes/LoadingIndicator.svelte
new file mode 100644
index 000000000..07d1ab66c
--- /dev/null
+++ b/examples/svelte-chat/src/routes/LoadingIndicator.svelte
@@ -0,0 +1,19 @@
+<script lang="ts">
+</script>
+
+<div class="flex gap-3">
+ <div
+ class="shrink-0 w-7 h-7 rounded-full bg-gradient-to-br from-violet-500 to-indigo-600 flex items-center justify-center"
+ >
+ <span class="text-[10px] font-bold text-white">AI</span>
+ </div>
+ <div class="flex items-center gap-1.5 py-2">
+ <div class="w-1.5 h-1.5 bg-zinc-400 rounded-full animate-bounce"></div>
+ <div
+ class="w-1.5 h-1.5 bg-zinc-400 rounded-full animate-bounce [animation-delay:0.15s]"
+ ></div>
+ <div
+ class="w-1.5 h-1.5 bg-zinc-400 rounded-full animate-bounce [animation-delay:0.3s]"
+ ></div>
+ </div>
+</div>
diff --git a/examples/svelte-chat/src/routes/UserMessage.svelte b/examples/svelte-chat/src/routes/UserMessage.svelte
new file mode 100644
index 000000000..bb999345b
--- /dev/null
+++ b/examples/svelte-chat/src/routes/UserMessage.svelte
@@ -0,0 +1,19 @@
+<script lang="ts">
+ interface Props {
+ parts: any[];
+ }
+
+ let { parts }: Props = $props();
+</script>
+
+<div class="flex justify-end">
+ <div
+ class="bg-zinc-900 dark:bg-zinc-100 text-white dark:text-zinc-900 rounded-2xl rounded-br-sm px-4 py-2.5 max-w-[80%]"
+ >
+ {#each parts as part}
+ {#if part.type === "text"}
+ <p class="text-sm">{part.text}</p>
+ {/if}
+ {/each}
+ </div>
+</div>
diff --git a/examples/svelte-chat/src/routes/WelcomeScreen.svelte b/examples/svelte-chat/src/routes/WelcomeScreen.svelte
new file mode 100644
index 000000000..c3bb760a6
--- /dev/null
+++ b/examples/svelte-chat/src/routes/WelcomeScreen.svelte
@@ -0,0 +1,29 @@
+<script lang="ts">
+ interface Props {
+ starters: string[];
+ onSend: (text: string) => void;
+ }
+
+ let { starters, onSend }: Props = $props();
+</script>
+
+<div class="flex flex-col items-center justify-center h-full px-4">
+ <div class="text-center mb-8">
+ <h2 class="text-2xl font-semibold text-zinc-900 dark:text-zinc-100 mb-2">
+ Welcome to OpenUI Chat
+ </h2>
+ <p class="text-zinc-500 dark:text-zinc-400">
+ Ask anything — responses are rendered as structured UI components.
+ </p>
+ </div>
+ <div class="grid grid-cols-1 sm:grid-cols-2 gap-3 max-w-lg w-full">
+ {#each starters as starter}
+ <button
+ class="text-left rounded-xl border border-zinc-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 px-4 py-3 text-sm text-zinc-700 dark:text-zinc-300 hover:bg-zinc-50 dark:hover:bg-zinc-800 transition-colors cursor-pointer"
+ onclick={() => onSend(starter)}
+ >
+ {starter}
+ </button>
+ {/each}
+ </div>
+</div>
diff --git a/examples/svelte-chat/src/routes/api/chat/+server.ts b/examples/svelte-chat/src/routes/api/chat/+server.ts
new file mode 100644
index 000000000..6c0dc1620
--- /dev/null
+++ b/examples/svelte-chat/src/routes/api/chat/+server.ts
@@ -0,0 +1,23 @@
+import { env } from "$env/dynamic/private";
+import { library, promptOptions } from "$lib/library";
+import { tools } from "$lib/tools";
+import { createOpenAI } from "@ai-sdk/openai";
+import { convertToModelMessages, stepCountIs, streamText } from "ai";
+
+const openai = createOpenAI({ apiKey: env.OPENAI_API_KEY ?? "" });
+
+const systemPrompt = library.prompt(promptOptions);
+
+export async function POST({ request }: { request: Request }) {
+ const { messages } = await request.json();
+
+ const result = streamText({
+ model: openai("gpt-5.4"),
+ system: systemPrompt,
+ messages: await convertToModelMessages(messages),
+ tools,
+ stopWhen: stepCountIs(5),
+ });
+
+ return result.toUIMessageStreamResponse();
+}
diff --git a/examples/svelte-chat/svelte.config.js b/examples/svelte-chat/svelte.config.js
new file mode 100644
index 000000000..f21eeff58
--- /dev/null
+++ b/examples/svelte-chat/svelte.config.js
@@ -0,0 +1,9 @@
+import adapter from "@sveltejs/adapter-auto";
+import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
+
+export default {
+ preprocess: vitePreprocess(),
+ kit: {
+ adapter: adapter(),
+ },
+};
diff --git a/examples/svelte-chat/tsconfig.json b/examples/svelte-chat/tsconfig.json
new file mode 100644
index 000000000..e2018a00b
--- /dev/null
+++ b/examples/svelte-chat/tsconfig.json
@@ -0,0 +1,7 @@
+{
+ "extends": "./.svelte-kit/tsconfig.json",
+ "compilerOptions": {
+ "strict": true,
+ "moduleResolution": "bundler"
+ }
+}
diff --git a/examples/svelte-chat/vite.config.ts b/examples/svelte-chat/vite.config.ts
new file mode 100644
index 000000000..a23082f45
--- /dev/null
+++ b/examples/svelte-chat/vite.config.ts
@@ -0,0 +1,10 @@
+import { sveltekit } from "@sveltejs/kit/vite";
+import tailwindcss from "@tailwindcss/vite";
+import { defineConfig } from "vite";
+
+export default defineConfig({
+ plugins: [tailwindcss(), sveltekit()],
+ ssr: {
+ noExternal: ["@openuidev/svelte-lang"],
+ },
+});
diff --git a/packages/lang-core/eslint.config.cjs b/packages/lang-core/eslint.config.cjs
new file mode 100644
index 000000000..3f9a9e7c4
--- /dev/null
+++ b/packages/lang-core/eslint.config.cjs
@@ -0,0 +1,72 @@
+const tseslint = require("@typescript-eslint/eslint-plugin");
+const typescript = require("@typescript-eslint/parser");
+const prettier = require("eslint-config-prettier");
+const unusedImports = require("eslint-plugin-unused-imports");
+const eslintPluginPrettier = require("eslint-plugin-prettier");
+
+module.exports = [
+ {
+ files: ["**/__tests__/**/*.{ts,tsx}", "**/*.test.{ts,tsx}", "**/*.spec.{ts,tsx}"],
+ languageOptions: {
+ parser: typescript,
+ parserOptions: {
+ project: "./tsconfig.test.json",
+ sourceType: "module",
+ },
+ },
+ },
+ {
+ files: ["**/*.{ts,tsx}"],
+ ignores: [
+ "**/*.stories.tsx",
+ "**/__tests__/**/*.{ts,tsx}",
+ "**/*.test.{ts,tsx}",
+ "**/*.spec.{ts,tsx}",
+ ],
+ languageOptions: {
+ parser: typescript,
+ parserOptions: {
+ project: "./tsconfig.json",
+ sourceType: "module",
+ },
+ },
+ plugins: {
+ "@typescript-eslint": tseslint,
+ "unused-imports": unusedImports,
+ prettier: eslintPluginPrettier,
+ },
+ rules: {
+ "@typescript-eslint/interface-name-prefix": "off",
+ "@typescript-eslint/explicit-function-return-type": "off",
+ "@typescript-eslint/explicit-module-boundary-types": "off",
+ "@typescript-eslint/no-explicit-any": "off",
+ "no-undefined": "off",
+ "@typescript-eslint/no-unused-vars": [
+ "error",
+ {
+ vars: "all",
+ varsIgnorePattern: "^_",
+ args: "after-used",
+ argsIgnorePattern: "^_",
+ },
+ ],
+ "@typescript-eslint/no-use-before-define": [
+ "error",
+ {
+ functions: false,
+ classes: false,
+ variables: false,
+ },
+ ],
+ "unused-imports/no-unused-imports": "error",
+ "no-console": [
+ "error",
+ {
+ allow: ["error", "warn", "info"],
+ },
+ ],
+ ...eslintPluginPrettier.configs.recommended.rules,
+ },
+ },
+ prettier,
+];
diff --git a/packages/lang-core/package.json b/packages/lang-core/package.json
new file mode 100644
index 000000000..ee5e500b9
--- /dev/null
+++ b/packages/lang-core/package.json
@@ -0,0 +1,58 @@
+{
+ "name": "@openuidev/lang-core",
+ "version": "0.1.0",
+ "description": "Framework-agnostic core for OpenUI Lang: parser, prompt generation, validation, and type definitions",
+ "license": "MIT",
+ "type": "module",
+ "main": "dist/index.js",
+ "types": "dist/index.d.ts",
+ "files": [
+ "dist",
+ "README.md"
+ ],
+ "exports": {
+ ".": {
+ "types": "./dist/index.d.ts",
+ "import": "./dist/index.js",
+ "default": "./dist/index.js"
+ }
+ },
+ "scripts": {
+ "test": "vitest run",
+ "build": "tsc -p .",
+ "watch": "tsc -p . --watch",
+ "lint:check": "eslint ./src",
+ "lint:fix": "eslint ./src --fix",
+ "format:fix": "prettier --write ./src",
+ "format:check": "prettier --check ./src",
+ "prepare": "pnpm run build",
+ "ci": "pnpm run lint:check && pnpm run format:check"
+ },
+ "dependencies": {
+ "zod": "^4.0.0"
+ },
+ "keywords": [
+ "openui",
+ "openui-lang",
+ "parser",
+ "prompt-generation",
+ "validation",
+ "zod",
+ "llm",
+ "generative-ui",
+ "framework-agnostic"
+ ],
+ "homepage": "https://openui.com",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/thesysdev/openui.git",
+ "directory": "packages/lang-core"
+ },
+ "bugs": {
+ "url": "https://github.com/thesysdev/openui/issues"
+ },
+ "author": "[email protected]",
+ "devDependencies": {
+ "vitest": "^4.0.18"
+ }
+}
diff --git a/packages/lang-core/src/index.ts b/packages/lang-core/src/index.ts
new file mode 100644
index 000000000..f0696373d
--- /dev/null
+++ b/packages/lang-core/src/index.ts
@@ -0,0 +1,22 @@
+// ── Library (framework-generic) ──
+export { createLibrary, defineComponent } from "./library";
+export type {
+ ComponentGroup,
+ ComponentRenderProps,
+ DefinedComponent,
+ Library,
+ LibraryDefinition,
+ PromptOptions,
+ SubComponentOf,
+} from "./library";
+
+// ── Parser ──
+export { createParser, createStreamingParser, parse } from "./parser";
+export type { LibraryJSONSchema, Parser, StreamParser } from "./parser";
+export { generatePrompt } from "./parser/prompt";
+export { BuiltinActionType } from "./parser/types";
+export type { ActionEvent, ElementNode, ParseResult, ValidationErrorCode } from "./parser/types";
+
+// ── Validation ──
+export { builtInValidators, parseRules, parseStructuredRules, validate } from "./utils/validation";
+export type { ParsedRule, ValidatorFn } from "./utils/validation";
diff --git a/packages/lang-core/src/library.ts b/packages/lang-core/src/library.ts
new file mode 100644
index 000000000..8d0a4b18c
--- /dev/null
+++ b/packages/lang-core/src/library.ts
@@ -0,0 +1,133 @@
+import { z } from "zod";
+import { generatePrompt } from "./parser/prompt";
+
+// ─── Sub-component type ──────────────────────────────────────────────────────
+
+/**
+ * Runtime shape of a parsed sub-component element as seen by parent renderers.
+ */
+export type SubComponentOf<P> = {
+ type: "element";
+ typeName: string;
+ props: P;
+ partial: boolean;
+};
+
+// ─── Renderer types (framework-generic) ──────────────────────────────────────
+
+/**
+ * The props passed to every component renderer.
+ *
+ * Framework adapters narrow `RenderNode`:
+ * - React: RenderNode = ReactNode
+ * - Svelte: RenderNode = Snippet<[unknown]>
+ * - Vue: RenderNode = VNode
+ */
+export interface ComponentRenderProps<P = Record<string, unknown>, RenderNode = unknown> {
+ props: P;
+ renderNode: (value: unknown) => RenderNode;
+}
+
+// ─── DefinedComponent (framework-generic) ────────────────────────────────────
+
+/**
+ * A fully defined component. The `C` parameter represents the
+ * framework-specific component/renderer type. lang-core never
+ * inspects this value — it is stored opaquely and consumed
+ * by the framework adapter's Renderer.
+ */
+export interface DefinedComponent<T extends z.ZodObject<any> = z.ZodObject<any>, C = unknown> {
+ name: string;
+ props: T;
+ description: string;
+ component: C;
+ /** Use in parent schemas: `z.array(ChildComponent.ref)` */
+ ref: z.ZodType<SubComponentOf<z.infer<T>>>;
+}
+
+/**
+ * Define a component with name, schema, description, and renderer.
+ * Registers the Zod schema globally and returns a `.ref` for parent schemas.
+ */
+export function defineComponent<T extends z.ZodObject<any>, C>(config: {
+ name: string;
+ props: T;
+ description: string;
+ component: C;
+}): DefinedComponent<T, C> {
+ (config.props as any).register(z.globalRegistry, { id: config.name });
+ return {
+ ...config,
+ ref: config.props as unknown as z.ZodType<SubComponentOf<z.infer<T>>>,
+ };
+}
+
+// ─── Groups & Prompt ──────────────────────────────────────────────────────────
+
+export interface ComponentGroup {
+ name: string;
+ components: string[];
+ notes?: string[];
+}
+
+export interface PromptOptions {
+ preamble?: string;
+ additionalRules?: string[];
+ examples?: string[];
+}
+
+// ─── Library ──────────────────────────────────────────────────────────────────
+
+export interface Library<C = unknown> {
+ readonly components: Record<string, DefinedComponent<any, C>>;
+ readonly componentGroups: ComponentGroup[] | undefined;
+ readonly root: string | undefined;
+
+ prompt(options?: PromptOptions): string;
+ toJSONSchema(): object;
+}
+
+export interface LibraryDefinition<C = unknown> {
+ components: DefinedComponent<any, C>[];
+ componentGroups?: ComponentGroup[];
+ root?: string;
+}
+
+/**
+ * Create a component library from an array of defined components.
+ */
+export function createLibrary<C = unknown>(input: LibraryDefinition<C>): Library<C> {
+ const componentsRecord: Record<string, DefinedComponent<any, C>> = {};
+ for (const comp of input.components) {
+ if (!z.globalRegistry.has(comp.props)) {
+ comp.props.register(z.globalRegistry, { id: comp.name });
+ }
+ componentsRecord[comp.name] = comp;
+ }
+
+ if (input.root && !componentsRecord[input.root]) {
+ const available = Object.keys(componentsRecord).join(", ");
+ throw new Error(
+ `[createLibrary] Root component "${input.root}" was not found in components. Available components: ${available}`,
+ );
+ }
+
+ const library: Library<C> = {
+ components: componentsRecord,
+ componentGroups: input.componentGroups,
+ root: input.root,
+
+ prompt(options?: PromptOptions): string {
+ return generatePrompt(library, options);
+ },
+
+ toJSONSchema(): object {
+ const combinedSchema = z.object(
+ Object.fromEntries(Object.entries(componentsRecord).map(([k, v]) => [k, v.props])) as any,
+ );
+ return z.toJSONSchema(combinedSchema);
+ },
+ };
+
+ return library;
+}
diff --git a/packages/react-lang/src/parser/__tests__/parser.test.ts b/packages/lang-core/src/parser/__tests__/parser.test.ts
similarity index 98%
rename from packages/react-lang/src/parser/__tests__/parser.test.ts
rename to packages/lang-core/src/parser/__tests__/parser.test.ts
index bd91ede82..1ea6cfb7d 100644
--- a/packages/react-lang/src/parser/__tests__/parser.test.ts
+++ b/packages/lang-core/src/parser/__tests__/parser.test.ts
@@ -27,7 +27,7 @@ const schema: ParamMap = new Map([
// ── Helpers ───────────────────────────────────────────────────────────────────
const errors = (input: string) => parse(input, schema).meta.errors;
-const codes = (input: string) => errors(input).map((e) => e.code);
+const codes = (input: string) => errors(input).map((e: { code: string }) => e.code);
// ── unknown-component ────────────────────────────────────────────────────────
diff --git a/packages/react-lang/src/parser/index.ts b/packages/lang-core/src/parser/index.ts
similarity index 100%
rename from packages/react-lang/src/parser/index.ts
rename to packages/lang-core/src/parser/index.ts
diff --git a/packages/react-lang/src/parser/parser.ts b/packages/lang-core/src/parser/parser.ts
similarity index 100%
rename from packages/react-lang/src/parser/parser.ts
rename to packages/lang-core/src/parser/parser.ts
diff --git a/packages/react-lang/src/parser/prompt.ts b/packages/lang-core/src/parser/prompt.ts
similarity index 100%
rename from packages/react-lang/src/parser/prompt.ts
rename to packages/lang-core/src/parser/prompt.ts
diff --git a/packages/react-lang/src/parser/types.ts b/packages/lang-core/src/parser/types.ts
similarity index 100%
rename from packages/react-lang/src/parser/types.ts
rename to packages/lang-core/src/parser/types.ts
diff --git a/packages/react-lang/src/utils/validation.ts b/packages/lang-core/src/utils/validation.ts
similarity index 100%
rename from packages/react-lang/src/utils/validation.ts
rename to packages/lang-core/src/utils/validation.ts
diff --git a/packages/lang-core/tsconfig.json b/packages/lang-core/tsconfig.json
new file mode 100644
index 000000000..00124d5b9
--- /dev/null
+++ b/packages/lang-core/tsconfig.json
@@ -0,0 +1,17 @@
+{
+ "$schema": "https://json.schemastore.org/tsconfig",
+ "extends": "../../tsconfig.json",
+ "include": ["src/**/*"],
+ "exclude": ["src/**/__tests__/**", "src/**/*.test.ts"],
+ "compilerOptions": {
+ "moduleResolution": "bundler",
+ "module": "ESNext",
+ "outDir": "./dist",
+ "rootDir": "./src",
+ "declaration": true,
+ "noPropertyAccessFromIndexSignature": false,
+ "noUncheckedIndexedAccess": false,
+ "noImplicitReturns": false,
+ "noImplicitOverride": false
+ }
+}
diff --git a/packages/lang-core/tsconfig.test.json b/packages/lang-core/tsconfig.test.json
new file mode 100644
index 000000000..60b3001d5
--- /dev/null
+++ b/packages/lang-core/tsconfig.test.json
@@ -0,0 +1,9 @@
+{
+ "$schema": "https://json.schemastore.org/tsconfig",
+ "extends": "./tsconfig.json",
+ "compilerOptions": {
+ "noEmit": true
+ },
+ "include": ["src/**/*"],
+ "exclude": ["dist", "node_modules"]
+}
diff --git a/packages/react-lang/package.json b/packages/react-lang/package.json
index 08c1c5f5c..09904e67e 100644
--- a/packages/react-lang/package.json
+++ b/packages/react-lang/package.json
@@ -55,6 +55,7 @@
},
"author": "[email protected]",
"dependencies": {
+ "@openuidev/lang-core": "workspace:^",
"zod": "^4.0.0"
},
"peerDependencies": {
diff --git a/packages/react-lang/src/Renderer.tsx b/packages/react-lang/src/Renderer.tsx
index ef5997e48..fdd8c6eb9 100644
--- a/packages/react-lang/src/Renderer.tsx
+++ b/packages/react-lang/src/Renderer.tsx
@@ -1,8 +1,8 @@
+import type { ActionEvent, ElementNode, ParseResult } from "@openuidev/lang-core";
import React, { Component, Fragment, useEffect } from "react";
import { OpenUIContext, useOpenUI, useRenderNode } from "./context";
import { useOpenUIState } from "./hooks/useOpenUIState";
import type { ComponentRenderer, Library } from "./library";
-import type { ActionEvent, ElementNode, ParseResult } from "./parser/types";
export interface RendererProps {
/** Raw response text (openui-lang code). */
diff --git a/packages/react-lang/src/hooks/useFormValidation.ts b/packages/react-lang/src/hooks/useFormValidation.ts
index dfaea6708..073448b36 100644
--- a/packages/react-lang/src/hooks/useFormValidation.ts
+++ b/packages/react-lang/src/hooks/useFormValidation.ts
@@ -1,5 +1,5 @@
+import { validate, type ParsedRule } from "@openuidev/lang-core";
import { createContext, useCallback, useContext, useMemo, useRef, useState } from "react";
-import { validate, type ParsedRule } from "../utils/validation";
export interface FormValidationContextValue {
errors: Record<string, string | undefined>;
diff --git a/packages/react-lang/src/hooks/useOpenUIState.ts b/packages/react-lang/src/hooks/useOpenUIState.ts
index 59099fa9a..f10875088 100644
--- a/packages/react-lang/src/hooks/useOpenUIState.ts
+++ b/packages/react-lang/src/hooks/useOpenUIState.ts
@@ -1,10 +1,13 @@
+import {
+ BuiltinActionType,
+ createParser,
+ type ActionEvent,
+ type ParseResult,
+} from "@openuidev/lang-core";
import type React from "react";
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
import type { OpenUIContextValue } from "../context";
import type { Library } from "../library";
-import { createParser } from "../parser/parser";
-import type { ActionEvent, ParseResult } from "../parser/types";
-import { BuiltinActionType } from "../parser/types";
export interface UseOpenUIStateOptions {
response: string | null;
diff --git a/packages/react-lang/src/index.ts b/packages/react-lang/src/index.ts
index 662d02475..9ef8bdce5 100644
--- a/packages/react-lang/src/index.ts
+++ b/packages/react-lang/src/index.ts
@@ -16,11 +16,11 @@ export { Renderer } from "./Renderer";
export type { RendererProps } from "./Renderer";
// openui-lang action types
-export { BuiltinActionType } from "./parser/types";
-export type { ActionEvent, ElementNode, ParseResult } from "./parser/types";
+export { BuiltinActionType } from "@openuidev/lang-core";
+export type { ActionEvent, ElementNode, ParseResult } from "@openuidev/lang-core";
// openui-lang parser (server-side use)
-export { createParser, createStreamingParser, type LibraryJSONSchema } from "./parser";
+export { createParser, createStreamingParser, type LibraryJSONSchema } from "@openuidev/lang-core";
// openui-lang context hooks (for use inside component renderers)
export {
@@ -42,5 +42,10 @@ export {
} from "./hooks/useFormValidation";
export type { FormValidationContextValue } from "./hooks/useFormValidation";
-export { builtInValidators, parseRules, parseStructuredRules, validate } from "./utils/validation";
-export type { ParsedRule, ValidatorFn } from "./utils/validation";
+export {
+ builtInValidators,
+ parseRules,
+ parseStructuredRules,
+ validate,
+} from "@openuidev/lang-core";
+export type { ParsedRule, ValidatorFn } from "@openuidev/lang-core";
diff --git a/packages/react-lang/src/library.ts b/packages/react-lang/src/library.ts
index 7c877adb7..e0cdc8109 100644
--- a/packages/react-lang/src/library.ts
+++ b/packages/react-lang/src/library.ts
@@ -1,42 +1,34 @@
+import {
+ createLibrary as coreCreateLibrary,
+ defineComponent as coreDefineComponent,
+ type DefinedComponent as CoreDefinedComponent,
+ type Library as CoreLibrary,
+ type LibraryDefinition as CoreLibraryDefinition,
+ type ComponentRenderProps as CoreRenderProps,
+} from "@openuidev/lang-core";
import type { ReactNode } from "react";
import { z } from "zod";
-import { generatePrompt } from "./parser/prompt";
-// ─── Sub-component type ──────────────────────────────────────────────────────
+// Re-export framework-agnostic types unchanged
+export type { ComponentGroup, PromptOptions, SubComponentOf } from "@openuidev/lang-core";
-/**
- * Runtime shape of a parsed sub-component element as seen by parent renderers.
- */
-export type SubComponentOf<P> = {
- type: "element";
- typeName: string;
- props: P;
- partial: boolean;
-};
+// ─── React-specific types ───────────────────────────────────────────────────
-// ─── Renderer types ───────────────────────────────────────────────────────────
-
-export interface ComponentRenderProps<P = Record<string, unknown>> {
- props: P;
- renderNode: (value: unknown) => ReactNode;
-}
+export interface ComponentRenderProps<P = Record<string, unknown>>
+ extends CoreRenderProps<P, ReactNode> {}
export type ComponentRenderer<P = Record<string, unknown>> = React.FC<ComponentRenderProps<P>>;
-// ─── DefinedComponent ─────────────────────────────────────────────────────────
+export type DefinedComponent<T extends z.ZodObject<any> = z.ZodObject<any>> = CoreDefinedComponent<
+ T,
+ ComponentRenderer<z.infer<T>>
+>;
-/**
- * A fully defined component with name, schema, description, renderer,
- * and a `.ref` for type-safe cross-referencing in parent schemas.
- */
-export interface DefinedComponent<T extends z.ZodObject<any> = z.ZodObject<any>> {
- name: string;
- props: T;
- description: string;
- component: ComponentRenderer<z.infer<T>>;
- /** Use in parent schemas: `z.array(ChildComponent.ref)` */
- ref: z.ZodType<SubComponentOf<z.infer<T>>>;
-}
+export type Library = CoreLibrary<ComponentRenderer<any>>;
+
+export type LibraryDefinition = CoreLibraryDefinition<ComponentRenderer<any>>;
+
+// ─── defineComponent (React) ────────────────────────────────────────────────
/**
* Define a component with name, schema, description, and renderer.
@@ -67,56 +59,10 @@ export function defineComponent<T extends z.ZodObject<any>>(config: {
description: string;
component: ComponentRenderer<z.infer<T>>;
}): DefinedComponent<T> {
- (config.props as any).register(z.globalRegistry, { id: config.name });
- return {
- ...config,
- ref: config.props as unknown as z.ZodType<SubComponentOf<z.infer<T>>>,
- };
+ return coreDefineComponent<T, ComponentRenderer<z.infer<T>>>(config);
}
-// ─── Groups & Prompt ──────────────────────────────────────────────────────────
-
-export interface ComponentGroup {
- name: string;
- components: string[];
- notes?: string[];
-}
-
-export interface PromptOptions {
- preamble?: string;
- additionalRules?: string[];
- examples?: string[];
-}
-
-// ─── Library ──────────────────────────────────────────────────────────────────
-
-export interface Library {
- readonly components: Record<string, DefinedComponent>;
- readonly componentGroups: ComponentGroup[] | undefined;
- readonly root: string | undefined;
-
- prompt(options?: PromptOptions): string;
- /**
- * Returns a single, valid JSON Schema document for the entire library.
- * All component schemas are in `$defs`, keyed by component name.
- * Sub-schemas shared across components (e.g. `Series`, `CardHeader`) are
- * emitted once and referenced via `$ref` — no repetition.
- *
- * @example
- * ```ts
- * const schema = library.toJSONSchema();
- * // schema.$defs["Card"] → { properties: {...}, required: [...] }
- * // schema.$defs["Series"] → { properties: {...}, required: [...] }
- * ```
- */
- toJSONSchema(): object;
-}
-
-export interface LibraryDefinition {
- components: DefinedComponent[];
- componentGroups?: ComponentGroup[];
- root?: string;
-}
+// ─── createLibrary (React) ──────────────────────────────────────────────────
/**
* Create a component library from an array of defined components.
@@ -130,40 +76,5 @@ export interface LibraryDefinition {
* ```
*/
export function createLibrary(input: LibraryDefinition): Library {
- const componentsRecord: Record<string, DefinedComponent> = {};
- for (const comp of input.components) {
- if (!z.globalRegistry.has(comp.props)) {
- comp.props.register(z.globalRegistry, { id: comp.name });
- }
- componentsRecord[comp.name] = comp;
- }
-
- if (input.root && !componentsRecord[input.root]) {
- const available = Object.keys(componentsRecord).join(", ");
- throw new Error(
- `[createLibrary] Root component "${input.root}" was not found in components. Available components: ${available}`,
- );
- }
-
- const library: Library = {
- components: componentsRecord,
- componentGroups: input.componentGroups,
- root: input.root,
-
- prompt(options?: PromptOptions): string {
- return generatePrompt(library, options);
- },
-
- toJSONSchema(): object {
- // Build one combined z.object so z.toJSONSchema emits all component
- // schemas into a shared $defs block — sub-schemas like CardHeader or
- // Series are defined once and referenced via $ref everywhere else.
- const combinedSchema = z.object(
- Object.fromEntries(Object.entries(componentsRecord).map(([k, v]) => [k, v.props])) as any,
- );
- return z.toJSONSchema(combinedSchema);
- },
- };
-
- return library;
+ return coreCreateLibrary<ComponentRenderer<any>>(input) as Library;
}
diff --git a/packages/react-lang/src/utils/index.ts b/packages/react-lang/src/utils/index.ts
deleted file mode 100644
index 6495f6152..000000000
--- a/packages/react-lang/src/utils/index.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export { builtInValidators, parseRules, parseStructuredRules, validate } from "./validation";
-export type { ValidatorFn } from "./validation";
diff --git a/packages/svelte-lang/README.md b/packages/svelte-lang/README.md
new file mode 100644
index 000000000..8fbee62e5
--- /dev/null
+++ b/packages/svelte-lang/README.md
@@ -0,0 +1,258 @@
+# @openuidev/svelte-lang
+
+Svelte 5 runtime for [OpenUI](https://openui.com) — define component libraries, generate model prompts, and render structured UI from streaming LLM output.
+
+[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/thesysdev/openui/blob/main/LICENSE)
+
+## Install
+
+```bash
+npm install @openuidev/svelte-lang
+# or
+pnpm add @openuidev/svelte-lang
+```
+
+**Peer dependencies:** `svelte >=5.0.0`
+
+## Overview
+
+`@openuidev/svelte-lang` provides three core capabilities:
+
+1. **Define components** — Use `defineComponent` and `createLibrary` to declare what the model is allowed to generate, with typed props via Zod schemas.
+2. **Generate prompts** — Call `library.prompt()` to produce a system prompt that instructs the model how to emit OpenUI Lang output.
+3. **Render output** — Use `<Renderer>` to parse and progressively render streamed OpenUI Lang into Svelte components.
+
+## Quick Start
+
+### 1. Define a component
+
+```svelte
+<!-- Greeting.svelte -->
+<script lang="ts">
+ import type { ComponentRenderProps } from "@openuidev/svelte-lang";
+
+ let { props, renderNode }: ComponentRenderProps<{ name: string; mood?: "happy" | "excited" }> = $props();
+</script>
+
+<div class={props.mood === "excited" ? "text-xl font-bold" : ""}>
+ Hello, {props.name}!
+</div>
+```
+
+```ts
+import { defineComponent } from "@openuidev/svelte-lang";
+import { z } from "zod";
+import Greeting from "./Greeting.svelte";
+
+const GreetingDef = defineComponent({
+ name: "Greeting",
+ description: "Displays a greeting message",
+ props: z.object({
+ name: z.string().describe("The person's name"),
+ mood: z.enum(["happy", "excited"]).optional().describe("Tone of the greeting"),
+ }),
+ component: Greeting,
+});
+```
+
+### 2. Create a library
+
+```ts
+import { createLibrary } from "@openuidev/svelte-lang";
+
+const library = createLibrary({
+ components: [GreetingDef, CardDef, TableDef /* ... */],
+ root: "Card", // optional default root component
+});
+```
+
+### 3. Generate a system prompt
+
+```ts
+const systemPrompt = library.prompt({
+ preamble: "You are a helpful assistant.",
+ additionalRules: ["Always greet the user by name."],
+ examples: ['User: Hi\n\nroot = Greeting("Alice", "happy")'],
+});
+```
+
+### 4. Render streamed output
+
+```svelte
+<script lang="ts">
+ import { Renderer } from "@openuidev/svelte-lang";
+ import { library } from "$lib/library";
+
+ let { response, isStreaming }: { response: string | null; isStreaming: boolean } = $props();
+</script>
+
+<Renderer
+ {response}
+ {library}
+ {isStreaming}
+ onAction={(event) => console.log("Action:", event)}
+/>
+```
+
+## API Reference
+
+### Component Definition
+
+| Export | Description |
+| :-------------------------- | :----------------------------------------------------------------------------------------- |
+| `defineComponent(config)` | Define a single component with a name, Zod props schema, description, and Svelte component |
+| `createLibrary(definition)` | Create a library from an array of defined components |
+
+### Rendering
+
+| Export | Description |
+| :--------- | :---------------------------------------------------------- |
+| `Renderer` | Svelte component that parses and renders OpenUI Lang output |
+
+**`RendererProps`:**
+
+| Prop | Type | Description |
+| :-------------- | :-------------------------------------- | :---------------------------------------------------------------- |
+| `response` | `string \| null` | Raw OpenUI Lang text from the model |
+| `library` | `Library` | Component library from `createLibrary()` |
+| `isStreaming` | `boolean` | Whether the model is still streaming (disables form interactions) |
+| `onAction` | `(event: ActionEvent) => void` | Callback when a component triggers an action |
+| `onStateUpdate` | `(state: Record<string, any>) => void` | Callback when form field values change |
+| `initialState` | `Record<string, any>` | Initial form state for hydration |
+| `onParseResult` | `(result: ParseResult \| null) => void` | Callback when the parse result changes |
+
+### Children Rendering
+
+Svelte components receive `renderNode` as a **snippet prop** (not via context). Use it to render child element nodes:
+
+```svelte
+<script lang="ts">
+ import type { Snippet } from "svelte";
+
+ let { props, renderNode }: { props: { children?: unknown }; renderNode: Snippet<[unknown]> } = $props();
+</script>
+
+<div>
+ {#if props.children}
+ {@render renderNode(props.children)}
+ {/if}
+</div>
+```
+
+### Parser (Server-Side)
+
+| Export | Description |
+| :------------------------------ | :----------------------------------------------------- |
+| `createParser(schema)` | Create a one-shot parser for complete OpenUI Lang text |
+| `createStreamingParser(schema)` | Create an incremental parser for streaming input |
+
+The streaming parser exposes two methods:
+
+| Method | Description |
+| :------------ | :---------------------------------------------------- |
+| `push(chunk)` | Feed the next chunk; returns the latest `ParseResult` |
+| `getResult()` | Get the latest result without consuming new data |
+
+After the stream ends, check `meta.unresolved` for any identifiers that were referenced but never defined. During streaming these are expected (forward refs) and are not treated as errors.
+
+#### Errors
+
+`ParseResult.meta.errors` contains structured `OpenUIError` objects. Each error has a `type` discriminant (currently always `"validation"`) and a `code` for consumer-side filtering:
+
+| Code | Meaning |
+| :------------------ | :-------------------------------------------------- |
+| `missing-required` | Required prop absent with no default |
+| `null-required` | Required prop explicitly null with no default |
+| `unknown-component` | Component name not found in the library schema |
+| `excess-args` | More positional args passed than the schema defines |
+
+Errors do not affect rendering — the parser stays permissive and renders what it can:
+
+```ts
+const result = parser.parse(output);
+const critical = result.meta.errors.filter((e) => e.code === "unknown-component");
+```
+
+### Context Getters
+
+Use these inside component renderers to interact with the rendering context:
+
+| Function | Returns | Description |
+| :------------------------- | :-------------------- | :----------------------------------------------------------------------------- |
+| `getOpenUIContext()` | `OpenUIContextValue` | Access the full context object (library, streaming state, field accessors) |
+| `getIsStreaming()` | `() => boolean` | Returns a getter for the streaming state — call it reactively: `isStreaming()` |
+| `getTriggerAction()` | `Function` | Trigger an action event |
+| `getGetFieldValue()` | `Function` | Get a form field's current value |
+| `getSetFieldValue()` | `Function` | Set a form field's value |
+| `getFormName()` | `string \| undefined` | Get the current form's name |
+| `useSetDefaultValue(opts)` | `void` | Set a field's default value once streaming completes |
+
+### Form Validation
+
+| Export | Description |
+| :--------------------------- | :---------------------------------------------------- |
+| `getFormValidation()` | Access form validation state |
+| `createFormValidation()` | Create a form validation context |
+| `setFormValidationContext()` | Provide validation context to child components |
+| `validate(value, rules)` | Run validation rules against a value |
+| `builtInValidators` | Built-in validators (required, email, min, max, etc.) |
+| `parseRules(rules)` | Parse a rules config object into `ParsedRule[]` |
+
+### Types
+
+```ts
+import type {
+ // Component definition
+ Library,
+ LibraryDefinition,
+ DefinedComponent,
+ ComponentRenderer,
+ ComponentRenderProps,
+ ComponentGroup,
+ SubComponentOf,
+ PromptOptions,
+
+ // Rendering
+ RendererProps,
+ OpenUIContextValue,
+ ActionConfig,
+
+ // Parser & core
+ ActionEvent,
+ ElementNode,
+ ParseResult,
+ LibraryJSONSchema,
+
+ // Validation
+ FormValidationContextValue,
+ ParsedRule,
+ ValidatorFn,
+} from "@openuidev/svelte-lang";
+```
+
+## JSON Schema Output
+
+Libraries can also produce a JSON Schema representation of their components:
+
+```ts
+const schema = library.toJSONSchema();
+// schema.$defs["Card"] → { properties: {...}, required: [...] }
+// schema.$defs["Greeting"] → { properties: {...}, required: [...] }
+```
+
+## Differences from React
+
+| Concern | `react-lang` | `svelte-lang` |
+| :----------------- | :----------------------------------------------- | :----------------------------------------------- |
+| Children rendering | `renderNode` function prop returning `ReactNode` | `renderNode` **snippet** (`Snippet<[unknown]>`) |
+| Context access | Hooks (`useIsStreaming()`, etc.) | Getters (`getIsStreaming()`, etc.) |
+| Error boundaries | Class-based, preserves last valid render | `svelte:boundary` with auto-retry on prop change |
+| Reactivity | Hooks re-run on every render | Runes (`$state`, `$derived`, `$effect`) |
+
+## Documentation
+
+Full documentation, guides, and the language specification are available at **[openui.com](https://openui.com)**.
+
+## License
+
+[MIT](https://github.com/thesysdev/openui/blob/main/LICENSE)
diff --git a/packages/svelte-lang/package.json b/packages/svelte-lang/package.json
new file mode 100644
index 000000000..12ec22803
--- /dev/null
+++ b/packages/svelte-lang/package.json
@@ -0,0 +1,78 @@
+{
+ "name": "@openuidev/svelte-lang",
+ "version": "0.1.0",
+ "description": "Define component libraries, generate LLM system prompts, and render streaming OpenUI Lang output in Svelte 5 — the Svelte runtime for OpenUI generative UI",
+ "license": "MIT",
+ "type": "module",
+ "main": "dist/index.js",
+ "types": "dist/index.d.ts",
+ "svelte": "./dist/index.js",
+ "files": [
+ "dist",
+ "README.md"
+ ],
+ "exports": {
+ ".": {
+ "svelte": "./dist/index.js",
+ "import": "./dist/index.js",
+ "types": "./dist/index.d.ts"
+ }
+ },
+ "scripts": {
+ "build": "svelte-package",
+ "watch": "svelte-package --watch",
+ "lint:check": "eslint ./src",
+ "lint:fix": "eslint ./src --fix",
+ "format:fix": "prettier --write ./src",
+ "format:check": "prettier --check ./src",
+ "prepare": "pnpm run build",
+ "check": "svelte-check --tsconfig ./tsconfig.json",
+ "test": "vitest run",
+ "ci": "pnpm run lint:check && pnpm run format:check"
+ },
+ "keywords": [
+ "openui",
+ "generative-ui",
+ "svelte",
+ "svelte5",
+ "llm",
+ "streaming",
+ "renderer",
+ "parser",
+ "ai",
+ "components",
+ "prompt-generation",
+ "zod",
+ "ui-generation",
+ "model-driven-ui",
+ "openui-lang"
+ ],
+ "homepage": "https://openui.com",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/thesysdev/openui.git",
+ "directory": "packages/svelte-lang"
+ },
+ "bugs": {
+ "url": "https://github.com/thesysdev/openui/issues"
+ },
+ "author": "[email protected]",
+ "dependencies": {
+ "@openuidev/lang-core": "workspace:^",
+ "zod": "^4.0.0"
+ },
+ "peerDependencies": {
+ "svelte": ">=5.0.0"
+ },
+ "devDependencies": {
+ "@sveltejs/package": "^2.3.0",
+ "@sveltejs/vite-plugin-svelte": "^5.0.0",
+ "@testing-library/svelte": "^5.2.0",
+ "jsdom": "^26.1.0",
+ "svelte": "^5.0.0",
+ "svelte-check": "^4.0.0",
+ "typescript": "^5.0.0",
+ "vite": "^6.0.0",
+ "vitest": "^3.0.0"
+ }
+}
diff --git a/packages/svelte-lang/src/__tests__/Renderer.test.ts b/packages/svelte-lang/src/__tests__/Renderer.test.ts
new file mode 100644
index 000000000..846eb9d82
--- /dev/null
+++ b/packages/svelte-lang/src/__tests__/Renderer.test.ts
@@ -0,0 +1,127 @@
+import { render } from "@testing-library/svelte";
+import { tick } from "svelte";
+import { describe, expect, it, vi } from "vitest";
+import { z } from "zod";
+import Renderer from "../lib/Renderer.svelte";
+import { createLibrary, defineComponent } from "../lib/library.js";
+
+// Dummy renderer — never actually renders DOM, used for parser/callback tests
+const DummyComponent = (() => null) as any;
+
+const TextContent = defineComponent({
+ name: "TextContent",
+ props: z.object({ text: z.string() }),
+ description: "Displays text content",
+ component: DummyComponent,
+});
+
+const library = createLibrary({
+ components: [TextContent],
+ root: "TextContent",
+});
+
+// openui-lang uses assignment syntax: `identifier = Component(args)`
+const VALID_RESPONSE = 'root = TextContent("Hello world")';
+
+// ─── Renderer ───────────────────────────────────────────────────────────────
+
+describe("Renderer", () => {
+ it("renders without errors when response is null", () => {
+ const { container } = render(Renderer, {
+ props: {
+ response: null,
+ library,
+ },
+ });
+
+ // Should render an empty container (no crash)
+ expect(container).toBeDefined();
+ });
+
+ it("renders without errors when response is empty string", () => {
+ const { container } = render(Renderer, {
+ props: {
+ response: "",
+ library,
+ },
+ });
+
+ expect(container).toBeDefined();
+ });
+
+ it("calls onParseResult with null when response is null", async () => {
+ const onParseResult = vi.fn();
+
+ render(Renderer, {
+ props: {
+ response: null,
+ library,
+ onParseResult,
+ },
+ });
+
+ // $effect runs asynchronously — flush microtasks
+ await tick();
+
+ expect(onParseResult).toHaveBeenCalledWith(null);
+ });
+
+ it("calls onParseResult with a ParseResult when given valid openui-lang", async () => {
+ const onParseResult = vi.fn();
+
+ render(Renderer, {
+ props: {
+ response: VALID_RESPONSE,
+ library,
+ onParseResult,
+ },
+ });
+
+ await tick();
+
+ expect(onParseResult).toHaveBeenCalled();
+ const result = onParseResult.mock.calls[onParseResult.mock.calls.length - 1]![0];
+ expect(result).not.toBeNull();
+ expect(result.root).toBeDefined();
+ expect(result.root).not.toBeNull();
+ });
+
+ it("parse result contains the correct component typeName", async () => {
+ const onParseResult = vi.fn();
+
+ render(Renderer, {
+ props: {
+ response: VALID_RESPONSE,
+ library,
+ onParseResult,
+ },
+ });
+
+ await tick();
+
+ const result = onParseResult.mock.calls[onParseResult.mock.calls.length - 1]![0];
+ expect(result?.root?.typeName).toBe("TextContent");
+ });
+
+ it("defaults isStreaming to false", () => {
+ // Should not throw when isStreaming is omitted
+ const { container } = render(Renderer, {
+ props: {
+ response: null,
+ library,
+ },
+ });
+ expect(container).toBeDefined();
+ });
+
+ it("accepts isStreaming prop without errors", () => {
+ const { container } = render(Renderer, {
+ props: {
+ response: null,
+ library,
+ isStreaming: true,
+ },
+ });
+ expect(container).toBeDefined();
+ });
+});
diff --git a/packages/svelte-lang/src/__tests__/library.test.ts b/packages/svelte-lang/src/__tests__/library.test.ts
new file mode 100644
index 000000000..085abaf61
--- /dev/null
+++ b/packages/svelte-lang/src/__tests__/library.test.ts
@@ -0,0 +1,127 @@
+import { describe, expect, it } from "vitest";
+import { z } from "zod";
+import { createLibrary, defineComponent } from "../lib/library.js";
+
+// Dummy renderer — never actually called in these tests
+const DummyComponent = (() => null) as any;
+
+function makeComponent(name: string, schema: z.ZodObject<any>, description: string) {
+ return defineComponent({
+ name,
+ props: schema,
+ description,
+ component: DummyComponent,
+ });
+}
+
+// ─── defineComponent ────────────────────────────────────────────────────────
+
+describe("defineComponent", () => {
+ it("returns an object with name, props, description, component, and ref", () => {
+ const schema = z.object({ label: z.string() });
+ const result = defineComponent({
+ name: "Badge",
+ props: schema,
+ description: "A simple badge",
+ component: DummyComponent,
+ });
+
+ expect(result.name).toBe("Badge");
+ expect(result.props).toBe(schema);
+ expect(result.description).toBe("A simple badge");
+ expect(result.component).toBe(DummyComponent);
+ expect(result.ref).toBeDefined();
+ });
+
+ it("registers the Zod schema in the global registry", () => {
+ const schema = z.object({ title: z.string() });
+ const comp = defineComponent({
+ name: "Heading",
+ props: schema,
+ description: "A heading element",
+ component: DummyComponent,
+ });
+
+ // After defineComponent, the schema should be in the global registry
+ expect(z.globalRegistry.has(comp.props)).toBe(true);
+ });
+});
+
+// ─── createLibrary ──────────────────────────────────────────────────────────
+
+describe("createLibrary", () => {
+ const TextContent = makeComponent(
+ "TextContent",
+ z.object({ text: z.string() }),
+ "Displays text content",
+ );
+
+ const Container = makeComponent(
+ "Container",
+ z.object({ title: z.string() }),
+ "A container with a title",
+ );
+
+ it("creates a library with a components record", () => {
+ const lib = createLibrary({ components: [TextContent, Container] });
+
+ expect(lib.components.TextContent).toBe(TextContent);
+ expect(lib.components.Container).toBe(Container);
+ expect(Object.keys(lib.components)).toHaveLength(2);
+ });
+
+ it("stores root and componentGroups", () => {
+ const lib = createLibrary({
+ components: [TextContent],
+ root: "TextContent",
+ componentGroups: [{ name: "Display", components: ["TextContent"] }],
+ });
+
+ expect(lib.root).toBe("TextContent");
+ expect(lib.componentGroups).toEqual([{ name: "Display", components: ["TextContent"] }]);
+ });
+
+ it("throws if root component is not found in components", () => {
+ expect(() =>
+ createLibrary({
+ components: [TextContent],
+ root: "NonExistent",
+ }),
+ ).toThrow(/Root component "NonExistent" was not found/);
+ });
+
+ it("prompt() returns a string containing component descriptions", () => {
+ const lib = createLibrary({
+ components: [TextContent, Container],
+ root: "TextContent",
+ });
+
+ const prompt = lib.prompt();
+ expect(typeof prompt).toBe("string");
+ expect(prompt.length).toBeGreaterThan(0);
+ // The prompt should mention at least one component name
+ expect(prompt).toContain("TextContent");
+ });
+
+ it("toJSONSchema() returns an object with $defs", () => {
+ const lib = createLibrary({
+ components: [TextContent],
+ root: "TextContent",
+ });
+
+ const schema = lib.toJSONSchema() as Record<string, unknown>;
+ expect(schema).toBeDefined();
+ expect(typeof schema).toBe("object");
+ expect(schema["$defs"]).toBeDefined();
+ expect(typeof schema["$defs"]).toBe("object");
+ });
+
+ it("works without a root component", () => {
+ const lib = createLibrary({ components: [TextContent] });
+
+ expect(lib.root).toBeUndefined();
+ // prompt/schema should still work
+ expect(typeof lib.prompt()).toBe("string");
+ expect(lib.toJSONSchema()).toBeDefined();
+ });
+});
diff --git a/packages/svelte-lang/src/__tests__/validation.test.ts b/packages/svelte-lang/src/__tests__/validation.test.ts
new file mode 100644
index 000000000..4b319dac0
--- /dev/null
+++ b/packages/svelte-lang/src/__tests__/validation.test.ts
@@ -0,0 +1,127 @@
+import { describe, expect, it } from "vitest";
+import {
+ builtInValidators,
+ parseRules,
+ parseStructuredRules,
+ validate,
+} from "../lib/validation.svelte.js";
+
+// ─── builtInValidators ──────────────────────────────────────────────────────
+
+describe("builtInValidators", () => {
+ it("has all expected validators", () => {
+ const expected = [
+ "required",
+ "email",
+ "url",
+ "numeric",
+ "min",
+ "max",
+ "minLength",
+ "maxLength",
+ "pattern",
+ ];
+ for (const name of expected) {
+ expect(builtInValidators[name]).toBeDefined();
+ expect(typeof builtInValidators[name]).toBe("function");
+ }
+ });
+});
+
+// ─── parseRules ─────────────────────────────────────────────────────────────
+
+describe("parseRules", () => {
+ it("parses simple rule strings into ParsedRule objects", () => {
+ const result = parseRules(["required", "email"]);
+ expect(result).toEqual([{ type: "required" }, { type: "email" }]);
+ });
+
+ it("parses rules with numeric arguments", () => {
+ const result = parseRules(["min:8", "maxLength:100"]);
+ expect(result).toEqual([
+ { type: "min", arg: 8 },
+ { type: "maxLength", arg: 100 },
+ ]);
+ });
+
+ it("parses rules with string arguments", () => {
+ const result = parseRules(["pattern:^[a-z]+"]);
+ expect(result).toEqual([{ type: "pattern", arg: "^[a-z]+" }]);
+ });
+
+ it("returns an empty array for non-array input", () => {
+ expect(parseRules(null)).toEqual([]);
+ expect(parseRules(undefined)).toEqual([]);
+ expect(parseRules("required")).toEqual([]);
+ });
+
+ it("filters out non-string entries", () => {
+ const result = parseRules(["required", 42, null, "email"]);
+ expect(result).toEqual([{ type: "required" }, { type: "email" }]);
+ });
+});
+
+// ─── validate ───────────────────────────────────────────────────────────────
+
+describe("validate", () => {
+ it("returns error string for required on empty value", () => {
+ const rules = [{ type: "required" }];
+ const error = validate("", rules);
+ expect(error).toBe("This field is required");
+ });
+
+ it("returns undefined when valid value passes required", () => {
+ const rules = [{ type: "required" }];
+ expect(validate("hello", rules)).toBeUndefined();
+ });
+
+ it("validates email format", () => {
+ const rules = [{ type: "email" }];
+ expect(validate("bad-email", rules)).toBe("Please enter a valid email");
+ expect(validate("[email protected]", rules)).toBeUndefined();
+ });
+
+ it("validates min/max with numeric arguments", () => {
+ expect(validate(3, [{ type: "min", arg: 5 }])).toBe("Must be at least 5");
+ expect(validate(10, [{ type: "min", arg: 5 }])).toBeUndefined();
+ expect(validate(20, [{ type: "max", arg: 10 }])).toBe("Must be no more than 10");
+ expect(validate(5, [{ type: "max", arg: 10 }])).toBeUndefined();
+ });
+
+ it("stops on first error with multiple rules", () => {
+ const rules = [{ type: "required" }, { type: "email" }];
+ // Empty string triggers "required" first, not "email"
+ expect(validate("", rules)).toBe("This field is required");
+ });
+
+ it("returns undefined when no rules match", () => {
+ expect(validate("anything", [{ type: "nonExistentRule" }])).toBeUndefined();
+ });
+});
+
+// ─── parseStructuredRules ───────────────────────────────────────────────────
+
+describe("parseStructuredRules", () => {
+ it("parses an object of rules into ParsedRule array", () => {
+ const result = parseStructuredRules({ required: true, minLength: 5 });
+ expect(result).toContainEqual({ type: "required" });
+ expect(result).toContainEqual({ type: "minLength", arg: 5 });
+ });
+
+ it("skips false/undefined/null values", () => {
+ const result = parseStructuredRules({
+ required: true,
+ email: false,
+ max: undefined,
+ min: null,
+ });
+ expect(result).toEqual([{ type: "required" }]);
+ });
+
+ it("returns empty array for non-object input", () => {
+ expect(parseStructuredRules(null)).toEqual([]);
+ expect(parseStructuredRules(undefined)).toEqual([]);
+ expect(parseStructuredRules([])).toEqual([]);
+ expect(parseStructuredRules("string")).toEqual([]);
+ });
+});
diff --git a/packages/svelte-lang/src/lib/RenderNode.svelte b/packages/svelte-lang/src/lib/RenderNode.svelte
new file mode 100644
index 000000000..5517c2026
--- /dev/null
+++ b/packages/svelte-lang/src/lib/RenderNode.svelte
@@ -0,0 +1,66 @@
+<script lang="ts">
+ import { untrack } from "svelte";
+ import type { Snippet } from "svelte";
+ import type { ElementNode } from "@openuidev/lang-core";
+ import { getOpenUIContext } from "./context.svelte.js";
+
+ interface Props {
+ node: ElementNode;
+ renderNode: Snippet<[unknown]>;
+ }
+
+ let { node, renderNode }: Props = $props();
+
+ const ctx = getOpenUIContext();
+
+ const componentDef = $derived(node ? ctx.library.components[node.typeName] : null);
+ const Comp = $derived(componentDef?.component);
+
+ const resolvedProps = $derived.by(() => {
+ if (!node || !componentDef) return {};
+ if (node.props) return node.props;
+
+ const args = (node as any).args as unknown[] | undefined;
+ if (args) {
+ const fieldNames = Object.keys(componentDef.props.shape);
+ const mapped: Record<string, unknown> = {};
+ for (let i = 0; i < fieldNames.length && i < args.length; i++) {
+ mapped[fieldNames[i]!] = args[i];
+ }
+ return mapped;
+ }
+
+ return {};
+ });
+
+ let resetFn: (() => void) | null = $state(null);
+
+ function handleError(error: unknown, reset: () => void) {
+ console.error("[openui] Component render error:", error);
+ resetFn = reset;
+ }
+
+ // Auto-retry when node/props change after a render error (e.g. during streaming).
+ // resetFn is read inside untrack() so that consecutive errors with unchanged
+ // props don't re-trigger the effect and cause an infinite loop.
+ $effect(() => {
+ void node;
+ void resolvedProps;
+
+ untrack(() => {
+ if (resetFn) {
+ const fn = resetFn;
+ resetFn = null;
+ fn();
+ }
+ });
+ });
+</script>
+
+{#if node && Comp}
+ <svelte:boundary onerror={handleError}>
+ <Comp props={resolvedProps} {renderNode} />
+ <!-- svelte-ignore block_empty -->
+ {#snippet failed()}{/snippet}
+ </svelte:boundary>
+{/if}
diff --git a/packages/svelte-lang/src/lib/Renderer.svelte b/packages/svelte-lang/src/lib/Renderer.svelte
new file mode 100644
index 000000000..32275a7d0
--- /dev/null
+++ b/packages/svelte-lang/src/lib/Renderer.svelte
@@ -0,0 +1,162 @@
+<script lang="ts">
+ import type { ActionEvent, ElementNode, ParseResult } from "@openuidev/lang-core";
+ import { createParser, BuiltinActionType } from "@openuidev/lang-core";
+ import type { Library } from "./library.js";
+ import type { ActionConfig } from "./context.svelte.js";
+ import { setOpenUIContext } from "./context.svelte.js";
+ import RenderNode from "./RenderNode.svelte";
+
+ interface Props {
+ /** Raw response text (openui-lang code). */
+ response: string | null;
+ /** Component library from createLibrary(). */
+ library: Library;
+ /** Whether the LLM is still streaming (form interactions disabled during streaming). */
+ isStreaming?: boolean;
+ /** Callback when a component triggers an action. */
+ onAction?: (event: ActionEvent) => void;
+ /**
+ * Called whenever a form field value changes. Receives the raw form state map.
+ * The consumer decides how to persist this (e.g. embed in message, store separately).
+ */
+ onStateUpdate?: (state: Record<string, any>) => void;
+ /**
+ * Initial form state to hydrate on load (e.g. from a previously persisted message).
+ * Shape: { formName: { fieldName: { value, componentType } } }
+ */
+ initialState?: Record<string, any>;
+ /** Called whenever the parse result changes. */
+ onParseResult?: (result: ParseResult | null) => void;
+ }
+
+ let {
+ response,
+ library,
+ isStreaming = false,
+ onAction,
+ onStateUpdate,
+ initialState,
+ onParseResult,
+ }: Props = $props();
+
+ // ─── Parser (created once from the library's JSON schema) ───
+ // Intentional: parser is created once, not reactive on library changes (matches react-lang).
+ // svelte-ignore state_referenced_locally
+ const parser = createParser(library.toJSONSchema());
+
+ // ─── Parse result (derived from response) ───
+ let result = $derived<ParseResult | null>(
+ response
+ ? (() => {
+ try {
+ return parser.parse(response);
+ } catch (e) {
+ console.error("[openui] Parse error:", e);
+ return null;
+ }
+ })()
+ : null,
+ );
+
+ // ─── Form state ───
+ // svelte-ignore state_referenced_locally
+ let formState = $state<Record<string, any>>(initialState ?? {});
+
+ // Sync if initialState changes (e.g. loading a different message)
+ // svelte-ignore state_referenced_locally
+ let prevInitialState = initialState;
+ $effect(() => {
+ if (prevInitialState !== initialState) {
+ prevInitialState = initialState;
+ formState = initialState ?? {};
+ }
+ });
+
+ // ─── Notify on parse result change ───
+ $effect(() => {
+ onParseResult?.(result);
+ });
+
+ // ─── Form state functions ───
+
+ function getFieldValue(formName: string | undefined, name: string): any {
+ return formName ? formState[formName]?.[name]?.value : formState[name]?.value;
+ }
+
+ function setFieldValue(
+ formName: string | undefined,
+ componentType: string | undefined,
+ name: string,
+ value: any,
+ shouldTriggerSaveCallback: boolean = true,
+ ): void {
+ if (formName) {
+ formState[formName] = {
+ ...formState[formName],
+ [name]: { value, componentType },
+ };
+ } else {
+ formState[name] = { value, componentType };
+ }
+
+ if (shouldTriggerSaveCallback && onStateUpdate) {
+ onStateUpdate({ ...formState });
+ }
+ }
+
+ function triggerAction(userMessage: string, formName?: string, action?: ActionConfig): void {
+ const actionType = action?.type || BuiltinActionType.ContinueConversation;
+ const actionParams = action?.params;
+
+ // Collect relevant form state
+ let relevantState: Record<string, any> | undefined;
+ if (formName && formState[formName]) {
+ relevantState = { [formName]: formState[formName] };
+ } else if (Object.keys(formState).length > 0) {
+ relevantState = formState;
+ }
+
+ if (!onAction) return;
+
+ onAction({
+ type: actionType,
+ params: actionParams || {},
+ humanFriendlyMessage: userMessage,
+ formState: relevantState,
+ formName,
+ });
+ }
+
+ // ─── Provide context ───
+ setOpenUIContext({
+ get library() {
+ return library;
+ },
+ triggerAction,
+ get isStreaming() {
+ return isStreaming;
+ },
+ getFieldValue,
+ setFieldValue,
+ });
+</script>
+
+{#snippet renderNode(value: unknown)}
+ {#if value == null}
+ <!-- empty: null/undefined -->
+ {:else if typeof value === "string"}
+ {value}
+ {:else if typeof value === "number" || typeof value === "boolean"}
+ {String(value)}
+ {:else if Array.isArray(value)}
+ {#each value as item}
+ {@render renderNode(item)}
+ {/each}
+ {:else if typeof value === "object" && (value as any).type === "element"}
+ <RenderNode node={value as ElementNode} {renderNode} />
+ {/if}
+{/snippet}
+
+{#if result?.root}
+ <RenderNode node={result.root} {renderNode} />
+{/if}
diff --git a/packages/svelte-lang/src/lib/context.svelte.ts b/packages/svelte-lang/src/lib/context.svelte.ts
new file mode 100644
index 000000000..858b7a4f9
--- /dev/null
+++ b/packages/svelte-lang/src/lib/context.svelte.ts
@@ -0,0 +1,153 @@
+import { getContext, setContext } from "svelte";
+import type { Library } from "./library.js";
+
+// ─── Action config ───
+
+export interface ActionConfig {
+ type?: string;
+ params?: Record<string, any>;
+}
+
+// ─── OpenUI context ───
+
+/**
+ * Shared context provided by <Renderer /> to all rendered components.
+ *
+ * Note: `renderNode` is passed as a snippet prop, NOT via context.
+ * This avoids the stale-closure problem and matches Svelte's snippet model.
+ */
+export interface OpenUIContextValue {
+ /** The active component library (schema + renderers). */
+ library: Library;
+
+ /**
+ * Trigger an action. Components call this to fire structured ActionEvents.
+ *
+ * @param userMessage Human-readable label ("Submit Application")
+ * @param formName Optional form name — if provided, form state for this form is included
+ * @param action Optional custom action config { type, params }
+ */
+ triggerAction: (userMessage: string, formName?: string, action?: ActionConfig) => void;
+
+ /** Whether the LLM is currently streaming content. */
+ isStreaming: boolean;
+
+ /** Get a form field value. Returns undefined if not set. */
+ getFieldValue: (formName: string | undefined, name: string) => any;
+
+ /**
+ * Set a form field value.
+ *
+ * @param formName The form's name prop
+ * @param componentType The component type (e.g. "Input", "Select", "RadioGroup")
+ * @param name The field's name prop
+ * @param value The new value
+ * @param shouldTriggerSaveCallback When true, persists the updated state via updateMessage.
+ * Text inputs should pass `false` on change and `true` on blur.
+ * Discrete inputs (Select, RadioGroup, etc.) should always pass `true`.
+ */
+ setFieldValue: (
+ formName: string | undefined,
+ componentType: string | undefined,
+ name: string,
+ value: any,
+ shouldTriggerSaveCallback?: boolean,
+ ) => void;
+}
+
+const OPENUI_CONTEXT_KEY = Symbol("openui-context");
+const FORM_NAME_CONTEXT_KEY = Symbol("openui-form-name");
+
+// ─── Context setters ───
+
+export function setOpenUIContext(value: OpenUIContextValue): void {
+ setContext(OPENUI_CONTEXT_KEY, value);
+}
+
+export function setFormNameContext(formName: string | undefined): void {
+ setContext(FORM_NAME_CONTEXT_KEY, formName);
+}
+
+// ─── Context getters ───
+
+/**
+ * Access the full OpenUI context. Throws if used outside a <Renderer />.
+ */
+export function getOpenUIContext(): OpenUIContextValue {
+ const ctx = getContext<OpenUIContextValue | undefined>(OPENUI_CONTEXT_KEY);
+ if (!ctx) {
+ throw new Error("getOpenUIContext must be used within a <Renderer /> component.");
+ }
+ return ctx;
+}
+
+/**
+ * Get the triggerAction function for firing structured action events.
+ */
+export function getTriggerAction() {
+ return getOpenUIContext().triggerAction;
+}
+
+/**
+ * Returns a getter for the streaming state.
+ * Use as: `const isStreaming = getIsStreaming(); ... disabled={isStreaming()}`
+ */
+export function getIsStreaming(): () => boolean {
+ const ctx = getOpenUIContext();
+ return () => ctx.isStreaming;
+}
+
+/**
+ * Get a form field value from the form state context.
+ */
+export function getGetFieldValue() {
+ return getOpenUIContext().getFieldValue;
+}
+
+/**
+ * Get the setFieldValue function for updating form field values.
+ */
+export function getSetFieldValue() {
+ return getOpenUIContext().setFieldValue;
+}
+
+/**
+ * Get the current form name (set by the nearest parent Form component).
+ * Returns undefined if not inside a Form.
+ */
+export function getFormName(): string | undefined {
+ return getContext<string | undefined>(FORM_NAME_CONTEXT_KEY);
+}
+
+// ─── Default value helper ───
+
+/**
+ * Persists a component's default/initial value into form state once streaming
+ * finishes — but only if the user hasn't already set a value.
+ *
+ * Reads the current field value directly from form state inside the effect
+ * so that Svelte tracks it as a reactive dependency (unlike a snapshot
+ * parameter that would be captured once at call time).
+ */
+export function useSetDefaultValue({
+ formName,
+ componentType,
+ name,
+ defaultValue,
+ shouldTriggerSaveCallback = false,
+}: {
+ formName?: string;
+ componentType: string;
+ name: string;
+ defaultValue: any;
+ shouldTriggerSaveCallback?: boolean;
+}): void {
+ const ctx = getOpenUIContext();
+
+ $effect(() => {
+ const existing = ctx.getFieldValue(formName, name);
+ if (!ctx.isStreaming && existing === undefined && defaultValue !== undefined) {
+ ctx.setFieldValue(formName, componentType, name, defaultValue, shouldTriggerSaveCallback);
+ }
+ });
+}
diff --git a/packages/svelte-lang/src/lib/index.ts b/packages/svelte-lang/src/lib/index.ts
new file mode 100644
index 000000000..c413e6a91
--- /dev/null
+++ b/packages/svelte-lang/src/lib/index.ts
@@ -0,0 +1,70 @@
+// ─── Component definition ───
+
+export { createLibrary, defineComponent } from "./library.js";
+export type {
+ ComponentGroup,
+ ComponentRenderer,
+ ComponentRenderProps,
+ DefinedComponent,
+ Library,
+ LibraryDefinition,
+ PromptOptions,
+ SubComponentOf,
+} from "./library.js";
+
+// ─── Renderer ───
+
+import type { ActionEvent, ParseResult } from "@openuidev/lang-core";
+import type { Library } from "./library.js";
+
+export { default as Renderer } from "./Renderer.svelte";
+
+/** Props accepted by the Renderer component. */
+export interface RendererProps {
+ response: string | null;
+ library: Library;
+ isStreaming?: boolean;
+ onAction?: (event: ActionEvent) => void;
+ onStateUpdate?: (state: Record<string, any>) => void;
+ initialState?: Record<string, any>;
+ onParseResult?: (result: ParseResult | null) => void;
+}
+
+// ─── Context (for use inside component renderers) ───
+
+export {
+ getFormName,
+ getGetFieldValue,
+ getIsStreaming,
+ getOpenUIContext,
+ getSetFieldValue,
+ getTriggerAction,
+ setFormNameContext,
+ setOpenUIContext,
+ useSetDefaultValue,
+} from "./context.svelte.js";
+export type { ActionConfig, OpenUIContextValue } from "./context.svelte.js";
+
+// ─── Form validation ───
+
+export {
+ createFormValidation,
+ getFormValidation,
+ setFormValidationContext,
+} from "./validation.svelte.js";
+export type { FormValidationContextValue } from "./validation.svelte.js";
+
+export {
+ builtInValidators,
+ parseRules,
+ parseStructuredRules,
+ validate,
+} from "./validation.svelte.js";
+export type { ParsedRule, ValidatorFn } from "./validation.svelte.js";
+
+// ─── Re-exports from lang-core (parser, types) ───
+
+export { BuiltinActionType } from "@openuidev/lang-core";
+export type { ActionEvent, ElementNode, ParseResult } from "@openuidev/lang-core";
+
+export { createParser, createStreamingParser, type LibraryJSONSchema } from "@openuidev/lang-core";
diff --git a/packages/svelte-lang/src/lib/library.ts b/packages/svelte-lang/src/lib/library.ts
new file mode 100644
index 000000000..93c7f4e31
--- /dev/null
+++ b/packages/svelte-lang/src/lib/library.ts
@@ -0,0 +1,72 @@
+import {
+ createLibrary as coreCreateLibrary,
+ defineComponent as coreDefineComponent,
+ type DefinedComponent as CoreDefinedComponent,
+ type Library as CoreLibrary,
+ type LibraryDefinition as CoreLibraryDefinition,
+} from "@openuidev/lang-core";
+import type { Component, Snippet } from "svelte";
+import { z } from "zod";
+
+// Re-export framework-agnostic types unchanged
+export type { ComponentGroup, PromptOptions, SubComponentOf } from "@openuidev/lang-core";
+
+// ─── Svelte-specific types ──────────────────────────────────────────────────
+
+export interface ComponentRenderProps<P = Record<string, unknown>> {
+ props: P;
+ renderNode: Snippet<[unknown]>;
+}
+
+export type ComponentRenderer<P = Record<string, unknown>> = Component<ComponentRenderProps<P>>;
+
+export type DefinedComponent<T extends z.ZodObject<any> = z.ZodObject<any>> = CoreDefinedComponent<
+ T,
+ ComponentRenderer<z.infer<T>>
+>;
+
+export type Library = CoreLibrary<ComponentRenderer<any>>;
+
+export type LibraryDefinition = CoreLibraryDefinition<ComponentRenderer<any>>;
+
+// ─── defineComponent (Svelte) ───────────────────────────────────────────────
+
+/**
+ * Define a component with name, schema, description, and renderer.
+ * Registers the Zod schema globally and returns a `.ref` for parent schemas.
+ *
+ * @example
+ * ```ts
+ * const TabItem = defineComponent({
+ * name: "TabItem",
+ * props: z.object({ value: z.string(), trigger: z.string(), content: z.array(ContentChildUnion) }),
+ * description: "Tab panel",
+ * component: TabItemRenderer,
+ * });
+ * ```
+ */
+export function defineComponent<T extends z.ZodObject<any>>(config: {
+ name: string;
+ props: T;
+ description: string;
+ component: ComponentRenderer<z.infer<T>>;
+}): DefinedComponent<T> {
+ return coreDefineComponent<T, ComponentRenderer<z.infer<T>>>(config);
+}
+
+// ─── createLibrary (Svelte) ─────────────────────────────────────────────────
+
+/**
+ * Create a component library from an array of defined components.
+ *
+ * @example
+ * ```ts
+ * const library = createLibrary({
+ * components: [TabItem, Tabs, Card],
+ * root: "Card",
+ * });
+ * ```
+ */
+export function createLibrary(input: LibraryDefinition): Library {
+ return coreCreateLibrary<ComponentRenderer<any>>(input) as Library;
+}
diff --git a/packages/svelte-lang/src/lib/validation.svelte.ts b/packages/svelte-lang/src/lib/validation.svelte.ts
new file mode 100644
index 000000000..a05153ddc
--- /dev/null
+++ b/packages/svelte-lang/src/lib/validation.svelte.ts
@@ -0,0 +1,101 @@
+import {
+ builtInValidators,
+ parseRules,
+ parseStructuredRules,
+ validate,
+ type ParsedRule,
+ type ValidatorFn,
+} from "@openuidev/lang-core";
+import { getContext, setContext } from "svelte";
+
+// ─── Re-exports from lang-core ───
+
+export { builtInValidators, parseRules, parseStructuredRules, validate };
+export type { ParsedRule, ValidatorFn };
+
+// ─── Form validation context ───
+
+export interface FormValidationContextValue {
+ errors: Record<string, string | undefined>;
+ validateField: (name: string, value: unknown, rules: ParsedRule[]) => boolean;
+ registerField: (name: string, rules: ParsedRule[], getValue: () => unknown) => void;
+ unregisterField: (name: string) => void;
+ validateForm: () => boolean;
+ clearFieldError: (name: string) => void;
+}
+
+const FORM_VALIDATION_CONTEXT_KEY = Symbol("openui-form-validation");
+
+/**
+ * Create a form validation instance backed by Svelte 5 $state.
+ *
+ * Call this in the Form component's `<script>` block and then
+ * provide the result via `setFormValidationContext()`.
+ */
+export function createFormValidation(): FormValidationContextValue {
+ let errors = $state<Record<string, string | undefined>>({});
+ const fields: Record<string, { rules: ParsedRule[]; getValue: () => unknown }> = {};
+
+ function validateField(name: string, value: unknown, rules: ParsedRule[]): boolean {
+ const error = validate(value, rules);
+ if (errors[name] !== error) {
+ errors[name] = error;
+ }
+ return !error;
+ }
+
+ function registerField(name: string, rules: ParsedRule[], getValue: () => unknown): void {
+ fields[name] = { rules, getValue };
+ }
+
+ function unregisterField(name: string): void {
+ delete fields[name];
+ }
+
+ function validateForm(): boolean {
+ let allValid = true;
+ const newErrors: Record<string, string | undefined> = {};
+
+ for (const [name, reg] of Object.entries(fields)) {
+ const value = reg.getValue();
+ const error = validate(value, reg.rules);
+ newErrors[name] = error;
+ if (error) allValid = false;
+ }
+
+ errors = newErrors;
+ return allValid;
+ }
+
+ function clearFieldError(name: string): void {
+ if (errors[name] !== undefined) {
+ errors[name] = undefined;
+ }
+ }
+
+ return {
+ get errors() {
+ return errors;
+ },
+ validateField,
+ registerField,
+ unregisterField,
+ validateForm,
+ clearFieldError,
+ };
+}
+
+/**
+ * Get the form validation context set by the nearest parent Form component.
+ * Returns null if not inside a Form with validation.
+ */
+export function getFormValidation(): FormValidationContextValue | null {
+ return getContext<FormValidationContextValue | null>(FORM_VALIDATION_CONTEXT_KEY) ?? null;
+}
+
+/**
+ * Provide a FormValidationContextValue to child components.
+ */
+export function setFormValidationContext(value: FormValidationContextValue): void {
+ setContext(FORM_VALIDATION_CONTEXT_KEY, value);
+}
diff --git a/packages/svelte-lang/svelte.config.js b/packages/svelte-lang/svelte.config.js
new file mode 100644
index 000000000..27cd4964b
--- /dev/null
+++ b/packages/svelte-lang/svelte.config.js
@@ -0,0 +1,6 @@
+import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
+
+/** @type {import('@sveltejs/kit').Config} */
+export default {
+ preprocess: vitePreprocess(),
+};
diff --git a/packages/svelte-lang/tsconfig.json b/packages/svelte-lang/tsconfig.json
new file mode 100644
index 000000000..3cb597e0b
--- /dev/null
+++ b/packages/svelte-lang/tsconfig.json
@@ -0,0 +1,11 @@
+{
+ "extends": "../../tsconfig.json",
+ "compilerOptions": {
+ "rootDir": "src",
+ "outDir": "dist",
+ "declaration": true,
+ "declarationMap": true,
+ "sourceMap": true
+ },
+ "include": ["src/**/*"]
+}
diff --git a/packages/svelte-lang/tsconfig.test.json b/packages/svelte-lang/tsconfig.test.json
new file mode 100644
index 000000000..3567b8565
--- /dev/null
+++ b/packages/svelte-lang/tsconfig.test.json
@@ -0,0 +1,8 @@
+{
+ "extends": "./tsconfig.json",
+ "compilerOptions": {
+ "noEmit": true
+ },
+ "include": ["src/**/*"],
+ "exclude": ["dist", "node_modules"]
+}
diff --git a/packages/svelte-lang/vite.config.ts b/packages/svelte-lang/vite.config.ts
new file mode 100644
index 000000000..bb61f2d76
--- /dev/null
+++ b/packages/svelte-lang/vite.config.ts
@@ -0,0 +1,13 @@
+import { svelte } from "@sveltejs/vite-plugin-svelte";
+import { defineConfig } from "vitest/config";
+
+export default defineConfig({
+ plugins: [svelte()],
+ resolve: {
+ conditions: ["browser"],
+ },
+ test: {
+ include: ["src/**/*.test.ts"],
+ environment: "jsdom",
+ },
+});
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 8d18e02ed..5b69f2107 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -64,7 +64,7 @@ importers:
fumadocs-mdx:
specifier: 14.2.8
fumadocs-ui:
specifier: 16.6.5
@@ -546,6 +546,52 @@ importers:
specifier: ^5
version: 5.9.3
+ examples/svelte-chat:
+ dependencies:
+ '@ai-sdk/openai':
+ specifier: ^3.0.41
+ version: 3.0.41([email protected])
+ '@ai-sdk/svelte':
+ specifier: ^3.0.0
+ '@openuidev/svelte-lang':
+ specifier: workspace:*
+ version: link:../../packages/svelte-lang
+ ai:
+ specifier: ^6.0.116
+ version: 6.0.116([email protected])
+ chart.js:
+ specifier: ^4.5.1
+ version: 4.5.1
+ zod:
+ specifier: ^4.3.6
+ version: 4.3.6
+ devDependencies:
+ '@sveltejs/adapter-auto':
+ specifier: ^4.0.0
+ '@sveltejs/kit':
+ specifier: ^2.0.0
+ '@sveltejs/vite-plugin-svelte':
+ specifier: ^5.0.0
+ '@tailwindcss/vite':
+ specifier: ^4
+ svelte:
+ specifier: ^5.0.0
+ version: 5.55.0
+ tailwindcss:
+ specifier: ^4
+ version: 4.2.1
+ typescript:
+ specifier: ^5
+ version: 5.9.3
+ vite:
+ specifier: ^6.0.0
+
examples/vercel-ai-chat:
dependencies:
'@ai-sdk/openai':
@@ -607,6 +653,16 @@ importers:
specifier: ^5
version: 5.9.3
+ packages/lang-core:
+ dependencies:
+ zod:
+ specifier: ^4.0.0
+ version: 4.3.6
+ devDependencies:
+ vitest:
+ specifier: ^4.0.18
+
packages/openui-cli:
dependencies:
'@inquirer/core':
@@ -671,10 +727,13 @@ importers:
vitest:
specifier: ^4.0.18
packages/react-lang:
dependencies:
+ '@openuidev/lang-core':
+ specifier: workspace:^
+ version: link:../lang-core
react:
specifier: '>=19.0.0'
version: 19.2.4
@@ -687,7 +746,7 @@ importers:
version: 19.2.14
vitest:
specifier: ^4.0.18
packages/react-ui:
dependencies:
@@ -823,7 +882,7 @@ importers:
'@storybook/react-vite':
specifier: ^8.5.3
'@storybook/test':
specifier: ^8.5.3
@@ -907,7 +966,44 @@ importers:
version: 4.20.3
vite:
specifier: ^5.0.0
+
+ packages/svelte-lang:
+ dependencies:
+ '@openuidev/lang-core':
+ specifier: workspace:^
+ version: link:../lang-core
+ zod:
+ specifier: ^4.0.0
+ version: 4.3.6
+ devDependencies:
+ '@sveltejs/package':
+ specifier: ^2.3.0
+ '@sveltejs/vite-plugin-svelte':
+ specifier: ^5.0.0
+ '@testing-library/svelte':
+ specifier: ^5.2.0
+ jsdom:
+ specifier: ^26.1.0
+ version: 26.1.0
+ svelte:
+ specifier: ^5.0.0
+ version: 5.55.0
+ svelte-check:
+ specifier: ^4.0.0
+ typescript:
+ specifier: ^5.0.0
+ version: 5.9.3
+ vite:
+ specifier: ^6.0.0
+ vitest:
+ specifier: ^3.0.0
packages:
@@ -928,6 +1024,12 @@ packages:
resolution: {integrity: sha512-Ccsarxb23TChONOWXDbNBqp1fIbOSMht8g7w6AsSYBTtdOwZ7h7AkjNkr3LSdVv+RbT30JMdSLtieJE0YepNPg==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-j46B1PqvX6XG6R6xHR2YN/2rlnixvvDekFGDnLXkJhEn6BErGRqzt1jFE8UN6ZPVPp4X9a/RkAale7xERWgydQ==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ zod: ^3.25.76 || ^4.1.8
+
'@ai-sdk/[email protected]':
resolution: {integrity: sha512-SIQ0YY0iMuv+07HLsZ+bB990zUJ6S4ujORAh+Jv1V2KGNn73qQKnGO0JBk+w+Res8YqOFSycwDoWcFlQrVxS4A==}
engines: {node: '>=18'}
@@ -940,12 +1042,22 @@ packages:
peerDependencies:
zod: ^3.25.76 || ^4.1.8
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-fFT1KfUUKktfAFm5mClJhS1oux9tP2qgzmEZVl5UdwltQ1LO/s8hd7znVrgKzivwv1s1FIPza0s9OpJaNB/vHw==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ zod: ^3.25.76 || ^4.1.8
+
'@ai-sdk/[email protected]':
resolution: {integrity: sha512-3eG55CrSWCu2SXlqq2QCsFjo3+E7+Gmg7i/oRVoSZzIodTuDSfLb3MRje67xE9RFea73Zao7Lm4mADIfUETKGg==}
engines: {node: '>=18'}
peerDependencies:
zod: ^3.25.76 || ^4.1.8
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-KCUwswvsC5VsW2PWFqF8eJgSCu5Ysj7m1TxiHTVA6g7k360bk0RNQENT8KTMAYEs+8fWPD3Uu4dEmzGHc+jGng==}
+ engines: {node: '>=18'}
+
'@ai-sdk/[email protected]':
resolution: {integrity: sha512-oGMAgGoQdBXbZqNG0Ze56CHjDZ1IDYOwGYxYjO5KLSlz5HiNQ9udIXsPZ61VWaHGZ5XW/jyjmr6t2xz2jGVwbQ==}
engines: {node: '>=18'}
@@ -956,6 +1068,15 @@ packages:
peerDependencies:
react: ^18 || ~19.0.1 || ~19.1.2 || ^19.2.1
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-Eu+orixQ163WK+O+vIsbkwd3Od+INZiNOog6UOPixerg9fmO23WTudWxXgeQ5idqR31Px9Ly96SLy7k/Fv8/Hg==}
+ peerDependencies:
+ svelte: ^5.31.0
+ zod: ^3.25.76 || ^4.1.8
+ peerDependenciesMeta:
+ zod:
+ optional: true
+
resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==}
engines: {node: '>=10'}
@@ -964,6 +1085,9 @@ packages:
resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==}
engines: {node: '>=6.0.0'}
+ '@asamuzakjp/[email protected]':
+ resolution: {integrity: sha512-K1A6z8tS3XsmCMM86xoWdn7Fkdn9m6RSVtocUrJYIwZnFVkng/PvkEoWtOWmP+Scc6saYWHWZYbndEEXxl24jw==}
+
'@asamuzakjp/[email protected]':
resolution: {integrity: sha512-2SZFvqMyvboVV1d15lMf7XiI3m7SDqXUuKaTymJYLN6dSGadqp+fVojqJlVoMlbZnlTmu3S0TLwLTJpvBMO1Aw==}
engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0}
@@ -1536,10 +1660,21 @@ packages:
peerDependencies:
storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0
+ '@csstools/[email protected]':
+ resolution: {integrity: sha512-S11EXWJyy0Mz5SYvRmY8nJYTFFd1LCNV+7cXyAgQtOOuzb4EsgfqDufL+9esx72/eLhsRdGZwaldu/h+E4t4BA==}
+ engines: {node: '>=18'}
+
'@csstools/[email protected]':
resolution: {integrity: sha512-LMGQLS9EuADloEFkcTBR3BwV/CGHV7zyDxVRtVDTwdI2Ca4it0CCVTT9wCkxSgokjE5Ho41hEPgb8OEUwoXr6Q==}
engines: {node: '>=20.19.0'}
+ '@csstools/[email protected]':
+ resolution: {integrity: sha512-3N8oaj+0juUw/1H3YwmDDJXCgTB1gKU6Hc/bB502u9zR0q2vd786XJH9QfrKIEgFlZmhZiq6epXl4rHqhzsIgQ==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ '@csstools/css-parser-algorithms': ^3.0.5
+ '@csstools/css-tokenizer': ^3.0.4
+
'@csstools/[email protected]':
resolution: {integrity: sha512-HJ26Z/vmsZQqs/o3a6bgKslXGFAungXGbinULZO3eMsOyNJHeBBZfup5FiZInOghgoM4Hwnmw+OgbJCNg1wwUQ==}
engines: {node: '>=20.19.0'}
@@ -1547,6 +1682,13 @@ packages:
'@csstools/css-parser-algorithms': ^4.0.0
'@csstools/css-tokenizer': ^4.0.0
+ '@csstools/[email protected]':
+ resolution: {integrity: sha512-nbtKwh3a6xNVIp/VRuXV64yTKnb1IjTAEEh3irzS+HkKjAOYLTGNb9pmVNntZ8iVBHcWDA2Dof0QtPgFI1BaTA==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ '@csstools/css-parser-algorithms': ^3.0.5
+ '@csstools/css-tokenizer': ^3.0.4
+
'@csstools/[email protected]':
resolution: {integrity: sha512-0GEfbBLmTFf0dJlpsNU7zwxRIH0/BGEMuXLTCvFYxuL1tNhqzTbtnFICyJLTNK4a+RechKP75e7w42ClXSnJQw==}
engines: {node: '>=20.19.0'}
@@ -1554,6 +1696,12 @@ packages:
'@csstools/css-parser-algorithms': ^4.0.0
'@csstools/css-tokenizer': ^4.0.0
+ '@csstools/[email protected]':
+ resolution: {integrity: sha512-DaDeUkXZKjdGhgYaHNJTV9pV7Y9B3b644jCLs9Upc3VeNGg6LWARAT6O+Q+/COo+2gg/bM5rhpMAtf70WqfBdQ==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ '@csstools/css-tokenizer': ^3.0.4
+
'@csstools/[email protected]':
resolution: {integrity: sha512-+B87qS7fIG3L5h3qwJ/IFbjoVoOe/bpOdh9hAjXbvx0o8ImEmUsGXN0inFOnk2ChCFgqkkGFQ+TpM5rbhkKe4w==}
engines: {node: '>=20.19.0'}
@@ -1563,6 +1711,10 @@ packages:
'@csstools/[email protected]':
resolution: {integrity: sha512-H4tuz2nhWgNKLt1inYpoVCfbJbMwX/lQKp3g69rrrIMIYlFD9+zTykOKhNR8uGrAmbS/kT9n6hTFkmDkxLgeTA==}
+ '@csstools/[email protected]':
+ resolution: {integrity: sha512-Vd/9EVDiu6PPJt9yAh6roZP6El1xHrdvIVGjyBsHR0RYwNHgL7FJPyIIW4fANJNG6FtyZfvlRPpFI4ZM/lubvw==}
+ engines: {node: '>=18'}
+
'@csstools/[email protected]':
resolution: {integrity: sha512-QxULHAm7cNu72w97JUNCBFODFaXpbDg+dP8b/oWFAZ2MTRppA3U00Y2L1HqaS4J6yBqxwa/Y3nMBaxVKbB/NsA==}
engines: {node: '>=20.19.0'}
@@ -2304,89 +2456,105 @@ packages:
resolution: {integrity: sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==}
cpu: [arm64]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==}
cpu: [arm]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==}
cpu: [ppc64]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==}
cpu: [riscv64]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==}
cpu: [s390x]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==}
cpu: [x64]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==}
cpu: [arm64]
os: [linux]
+ libc: [musl]
resolution: {integrity: sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==}
cpu: [x64]
os: [linux]
+ libc: [musl]
resolution: {integrity: sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [arm64]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [arm]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [ppc64]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [riscv64]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [s390x]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [x64]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [arm64]
os: [linux]
+ libc: [musl]
resolution: {integrity: sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [x64]
os: [linux]
+ libc: [musl]
resolution: {integrity: sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==}
@@ -2637,12 +2805,12 @@ packages:
'@jridgewell/[email protected]':
resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==}
- '@jridgewell/[email protected]':
- resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==}
-
'@jridgewell/[email protected]':
resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==}
+ '@kurkle/[email protected]':
+ resolution: {integrity: sha512-M5UknZPHRu3DEDWoipU6sE8PdkZ6Z/S+v4dD+Ke8IaNlpdSQah50lz1KtcFBa2vsdOnwbbnxJwVM4wty6udA5w==}
+
'@mdx-js/[email protected]':
resolution: {integrity: sha512-f6ZO2ifpwAQIpzGWaBQT2TXxPv6z3RBzQKpVftEWN78Vl/YweF1uwussDx8ECAXVtr3Rs89fKyG9YlzUs9DyGQ==}
@@ -2693,48 +2861,56 @@ packages:
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-OJYkCd5pj/QloBvoEcJ2XiMnlJkRv9idWA/j0ugSuA34gMT6f5b7vOiCQHVRpvStoZUknhl6/UxOXL4OwtdaBw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-+fpGWvQiITgf7PUtbWY1H7qUSnBZsPPLyyq03QuAKpVoTy/QUx1JptEDTQMVvQhvizCEuNLEeghrQUyXQOekuw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
+ libc: [musl]
resolution: {integrity: sha512-S4J2v+8tT3NIO9u2q+S0G5KdvNDjXfAv06OhfOzNDaBn5rw84DGXWndOEB7d5/x852A20sW1M56vhC/tRVbccQ==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
+ libc: [musl]
resolution: {integrity: sha512-jSLvgdRRL/hrFAPqEjJf1fFguC719kmcptjNVDJl26BnJIpjL3KH5h6mzR4mAweociLQaqvt4UyzfbFjgAdDcw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-2eEBDkFlMMNQnkTyPBhQOAyn2qMxyG2eE7GPH2WIDGEpEILcBPI/jdSv4t6xupSP+ot/jkfrCShLAa7+ZUPcJQ==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-/uaF0WfmYqQgLfPmN6BvULwxY0dufI2mlN2JbOKqqceZh1G4hjREyi7pg03zjfyS6eqNemHAZPSoP84x17vo6w==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
+ libc: [musl]
resolution: {integrity: sha512-oicJwRlyOoZXVlxmIMaTq7f8pN9QNbdes0q2FXfRsPhfCi8n8JmOZJm5oo1pwDaFbnnD421rVU409M3evFbIqg==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
+ libc: [musl]
resolution: {integrity: sha512-xhsL1OvQSfGmlL5RbOmU+FV120urrgFpYLq+6U8C6KIym32gZT6XF/SDE92jKzzlPWskkbjOKCpqk5m4i8PEfg==}
@@ -2886,36 +3062,42 @@ packages:
engines: {node: '>= 10.0.0'}
cpu: [arm]
os: [linux]
+ libc: [glibc]
'@parcel/[email protected]':
resolution: {integrity: sha512-6E+m/Mm1t1yhB8X412stiKFG3XykmgdIOqhjWj+VL8oHkKABfu/gjFj8DvLrYVHSBNC+/u5PeNrujiSQ1zwd1Q==}
engines: {node: '>= 10.0.0'}
cpu: [arm]
os: [linux]
+ libc: [musl]
'@parcel/[email protected]':
resolution: {integrity: sha512-LrGp+f02yU3BN9A+DGuY3v3bmnFUggAITBGriZHUREfNEzZh/GO06FF5u2kx8x+GBEUYfyTGamol4j3m9ANe8w==}
engines: {node: '>= 10.0.0'}
cpu: [arm64]
os: [linux]
+ libc: [glibc]
'@parcel/[email protected]':
resolution: {integrity: sha512-cFOjABi92pMYRXS7AcQv9/M1YuKRw8SZniCDw0ssQb/noPkRzA+HBDkwmyOJYp5wXcsTrhxO0zq1U11cK9jsFg==}
engines: {node: '>= 10.0.0'}
cpu: [arm64]
os: [linux]
+ libc: [musl]
'@parcel/[email protected]':
resolution: {integrity: sha512-GcESn8NZySmfwlTsIur+49yDqSny2IhPeZfXunQi48DMugKeZ7uy1FX83pO0X22sHntJ4Ub+9k34XQCX+oHt2A==}
engines: {node: '>= 10.0.0'}
cpu: [x64]
os: [linux]
+ libc: [glibc]
'@parcel/[email protected]':
resolution: {integrity: sha512-n0E2EQbatQ3bXhcH2D1XIAANAcTZkQICBPVaxMeaCVBtOpBZpWJuf7LwyWPSBDITb7In8mqQgJ7gH8CILCURXg==}
engines: {node: '>= 10.0.0'}
cpu: [x64]
os: [linux]
+ libc: [musl]
'@parcel/[email protected]':
resolution: {integrity: sha512-RFzklRvmc3PkjKjry3hLF9wD7ppR4AKcWNzH7kXR7GUe0Igb3Nz8fyPwtZCSquGrhU5HhUNDr/mKBqj7tqA2Vw==}
@@ -2947,6 +3129,9 @@ packages:
resolution: {integrity: sha512-QNqXyfVS2wm9hweSYD2O7F0G06uurj9kZ96TRQE5Y9hU7+tgdZwIkbAKc5Ocy1HxEY2kuDQa6cQ1WRs/O5LFKA==}
engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0}
+ '@polka/[email protected]':
+ resolution: {integrity: sha512-wwQAWhWSuHaag8c4q/KN/vCoeOJYshAIvMQwD4GpSb3OiZklFfvAgmj0VCBBImRpuF/aFgIRzllXlVX93Jevww==}
+
'@posthog/[email protected]':
resolution: {integrity: sha512-zTDdda9NuSHrnwSOfFMxX/pyXiycF4jtU1kTr8DL61dHhV+7LF6XF1ndRZZTuaGGbfbb/GJYkEsjEX9SXfNZeQ==}
@@ -4810,56 +4995,67 @@ packages:
resolution: {integrity: sha512-gTJ/JnnjCMc15uwB10TTATBEhK9meBIY+gXP4s0sHD1zHOaIh4Dmy1X9wup18IiY9tTNk5gJc4yx9ctj/fjrIw==}
cpu: [arm]
os: [linux]
+ libc: [glibc]
'@rollup/[email protected]':
resolution: {integrity: sha512-ZJ3gZynL1LDSIvRfz0qXtTNs56n5DI2Mq+WACWZ7yGHFUEirHBRt7fyIk0NsCKhmRhn7WAcjgSkSVVxKlPNFFw==}
cpu: [arm]
os: [linux]
+ libc: [musl]
'@rollup/[email protected]':
resolution: {integrity: sha512-8FnkipasmOOSSlfucGYEu58U8cxEdhziKjPD2FIa0ONVMxvl/hmONtX/7y4vGjdUhjcTHlKlDhw3H9t98fPvyA==}
cpu: [arm64]
os: [linux]
+ libc: [glibc]
'@rollup/[email protected]':
resolution: {integrity: sha512-KPPyAdlcIZ6S9C3S2cndXDkV0Bb1OSMsX0Eelr2Bay4EsF9yi9u9uzc9RniK3mcUGCLhWY9oLr6er80P5DE6XA==}
cpu: [arm64]
os: [linux]
+ libc: [musl]
'@rollup/[email protected]':
resolution: {integrity: sha512-HPGDIH0/ZzAZjvtlXj6g+KDQ9ZMHfSP553za7o2Odegb/BEfwJcR0Sw0RLNpQ9nC6Gy8s+3mSS9xjZ0n3rhcYg==}
cpu: [loong64]
os: [linux]
+ libc: [glibc]
'@rollup/[email protected]':
resolution: {integrity: sha512-gEmwbOws4U4GLAJDhhtSPWPXUzDfMRedT3hFMyRAvM9Mrnj+dJIFIeL7otsv2WF3D7GrV0GIewW0y28dOYWkmw==}
cpu: [ppc64]
os: [linux]
+ libc: [glibc]
'@rollup/[email protected]':
resolution: {integrity: sha512-XXKvo2e+wFtXZF/9xoWohHg+MuRnvO29TI5Hqe9xwN5uN8NKUYy7tXUG3EZAlfchufNCTHNGjEx7uN78KsBo0g==}
cpu: [riscv64]
os: [linux]
+ libc: [glibc]
'@rollup/[email protected]':
resolution: {integrity: sha512-ruf3hPWhjw6uDFsOAzmbNIvlXFXlBQ4nk57Sec8E8rUxs/AI4HD6xmiiasOOx/3QxS2f5eQMKTAwk7KHwpzr/Q==}
cpu: [riscv64]
os: [linux]
+ libc: [musl]
'@rollup/[email protected]':
resolution: {integrity: sha512-QmNIAqDiEMEvFV15rsSnjoSmO0+eJLoKRD9EAa9rrYNwO/XRCtOGM3A5A0X+wmG+XRrw9Fxdsw+LnyYiZWWcVw==}
cpu: [s390x]
os: [linux]
+ libc: [glibc]
'@rollup/[email protected]':
resolution: {integrity: sha512-jAHr/S0iiBtFyzjhOkAics/2SrXE092qyqEg96e90L3t9Op8OTzS6+IX0Fy5wCt2+KqeHAkti+eitV0wvblEoQ==}
cpu: [x64]
os: [linux]
+ libc: [glibc]
'@rollup/[email protected]':
resolution: {integrity: sha512-3yATWgdeXyuHtBhrLt98w+5fKurdqvs8B53LaoKD7P7H7FKOONLsBVMNl9ghPQZQuYcceV5CDyPfyfGpMWD9mQ==}
cpu: [x64]
os: [linux]
+ libc: [musl]
'@rollup/[email protected]':
resolution: {integrity: sha512-wVzXp2qDSCOpcBCT5WRWLmpJRIzv23valvcTwMHEobkjippNf+C3ys/+wf07poPkeNix0paTNemB2XrHr2TnGw==}
@@ -5106,6 +5302,54 @@ packages:
peerDependencies:
storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0
+ '@sveltejs/[email protected]':
+ resolution: {integrity: sha512-lVJX6qEgs/4DOcRTpo56tmKzVPtoWAaVbL4hfO7t7NVwl9AAXzQR6cihesW1BmNMPl+bK6dreu2sOKBP2Q9CIA==}
+ peerDependencies:
+ acorn: ^8.9.0
+
+ '@sveltejs/[email protected]':
+ resolution: {integrity: sha512-kmuYSQdD2AwThymQF0haQhM8rE5rhutQXG4LNbnbShwhMO4qQGnKaaTy+88DuNSuoQDi58+thpq8XpHc1+oEKQ==}
+ peerDependencies:
+ '@sveltejs/kit': ^2.0.0
+
+ '@sveltejs/[email protected]':
+ resolution: {integrity: sha512-MdFRjevVxmAknf2NbaUkDF16jSIzXMWd4Nfah0Qp8TtQVoSp3bV4jKt8mX7z7qTUTWvgSaxtR0EG5WJf53gcuA==}
+ engines: {node: '>=18.13'}
+ hasBin: true
+ peerDependencies:
+ '@opentelemetry/api': ^1.0.0
+ '@sveltejs/vite-plugin-svelte': ^3.0.0 || ^4.0.0-next.1 || ^5.0.0 || ^6.0.0-next.0 || ^7.0.0
+ svelte: ^4.0.0 || ^5.0.0-next.0
+ typescript: ^5.3.3
+ vite: ^5.0.3 || ^6.0.0 || ^7.0.0-beta.0 || ^8.0.0
+ peerDependenciesMeta:
+ '@opentelemetry/api':
+ optional: true
+ typescript:
+ optional: true
+
+ '@sveltejs/[email protected]':
+ resolution: {integrity: sha512-qqD9xa9H7TDiGFrF6rz7AirOR8k15qDK/9i4MIE8te4vWsv5GEogPks61rrZcLy+yWph+aI6pIj2MdoK3YI8AQ==}
+ engines: {node: ^16.14 || >=18}
+ hasBin: true
+ peerDependencies:
+ svelte: ^3.44.0 || ^4.0.0 || ^5.0.0-next.1
+
+ '@sveltejs/[email protected]':
+ resolution: {integrity: sha512-J/Nmb2Q2y7mck2hyCX4ckVHcR5tu2J+MtBEQqpDrrgELZ2uvraQcK/ioCV61AqkdXFgriksOKIceDcQmqnGhVw==}
+ engines: {node: ^18.0.0 || ^20.0.0 || >=22}
+ peerDependencies:
+ '@sveltejs/vite-plugin-svelte': ^5.0.0
+ svelte: ^5.0.0
+ vite: ^6.0.0
+
+ '@sveltejs/[email protected]':
+ resolution: {integrity: sha512-Y1Cs7hhTc+a5E9Va/xwKlAJoariQyHY+5zBgCZg4PFWNYQ1nMN9sjK1zhw1gK69DuqVP++sht/1GZg1aRwmAXQ==}
+ engines: {node: ^18.0.0 || ^20.0.0 || >=22}
+ peerDependencies:
+ svelte: ^5.0.0
+ vite: ^6.0.0
+
resolution: {integrity: sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==}
@@ -5116,59 +5360,124 @@ packages:
'@tailwindcss/[email protected]':
resolution: {integrity: sha512-jlx6sLk4EOwO6hHe1oCGm1Q4AN/s0rSrTTPBGPM0/RQ6Uylwq17FuU8IeJJKEjtc6K6O07zsvP+gDO6MMWo7pg==}
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-pXS+wJ2gZpVXqFaUEjojq7jzMpTGf8rU6ipJz5ovJV6PUGmlJ+jvIwGrzdHdQ80Sg+wmQxUFuoW1UAAwHNEdFA==}
+
'@tailwindcss/[email protected]':
resolution: {integrity: sha512-eZ7G1Zm5EC8OOKaesIKuw77jw++QJ2lL9N+dDpdQiAB/c/B2wDh0QPFHbkBVrXnwNugvrbJFk1gK2SsVjwWReg==}
engines: {node: '>= 20'}
cpu: [arm64]
os: [android]
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-dXGR1n+P3B6748jZO/SvHZq7qBOqqzQ+yFrXpoOWWALWndF9MoSKAT3Q0fYgAzYzGhxNYOoysRvYlpixRBBoDg==}
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [android]
+
'@tailwindcss/[email protected]':
resolution: {integrity: sha512-q/LHkOstoJ7pI1J0q6djesLzRvQSIfEto148ppAd+BVQK0JYjQIFSK3JgYZJa+Yzi0DDa52ZsQx2rqytBnf8Hw==}
engines: {node: '>= 20'}
cpu: [arm64]
os: [darwin]
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-iq9Qjr6knfMpZHj55/37ouZeykwbDqF21gPFtfnhCCKGDcPI/21FKC9XdMO/XyBM7qKORx6UIhGgg6jLl7BZlg==}
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [darwin]
+
'@tailwindcss/[email protected]':
resolution: {integrity: sha512-/f/ozlaXGY6QLbpvd/kFTro2l18f7dHKpB+ieXz+Cijl4Mt9AI2rTrpq7V+t04nK+j9XBQHnSMdeQRhbGyt6fw==}
engines: {node: '>= 20'}
cpu: [x64]
os: [darwin]
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-BlR+2c3nzc8f2G639LpL89YY4bdcIdUmiOOkv2GQv4/4M0vJlpXEa0JXNHhCHU7VWOKWT/CjqHdTP8aUuDJkuw==}
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [darwin]
+
'@tailwindcss/[email protected]':
resolution: {integrity: sha512-5e/AkgYJT/cpbkys/OU2Ei2jdETCLlifwm7ogMC7/hksI2fC3iiq6OcXwjibcIjPung0kRtR3TxEITkqgn0TcA==}
engines: {node: '>= 20'}
cpu: [x64]
os: [freebsd]
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-YUqUgrGMSu2CDO82hzlQ5qSb5xmx3RUrke/QgnoEx7KvmRJHQuZHZmZTLSuuHwFf0DJPybFMXMYf+WJdxHy/nQ==}
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [freebsd]
+
'@tailwindcss/[email protected]':
resolution: {integrity: sha512-Uny1EcVTTmerCKt/1ZuKTkb0x8ZaiuYucg2/kImO5A5Y/kBz41/+j0gxUZl+hTF3xkWpDmHX+TaWhOtba2Fyuw==}
engines: {node: '>= 20'}
cpu: [arm]
os: [linux]
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-FPdhvsW6g06T9BWT0qTwiVZYE2WIFo2dY5aCSpjG/S/u1tby+wXoslXS0kl3/KXnULlLr1E3NPRRw0g7t2kgaQ==}
+ engines: {node: '>= 20'}
+ cpu: [arm]
+ os: [linux]
+
'@tailwindcss/[email protected]':
resolution: {integrity: sha512-CTrwomI+c7n6aSSQlsPL0roRiNMDQ/YzMD9EjcR+H4f0I1SQ8QqIuPnsVp7QgMkC1Qi8rtkekLkOFjo7OlEFRQ==}
engines: {node: '>= 20'}
cpu: [arm64]
os: [linux]
+ libc: [glibc]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-4og1V+ftEPXGttOO7eCmW7VICmzzJWgMx+QXAJRAhjrSjumCwWqMfkDrNu1LXEQzNAwz28NCUpucgQPrR4S2yw==}
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [linux]
+ libc: [glibc]
'@tailwindcss/[email protected]':
resolution: {integrity: sha512-WZA0CHRL/SP1TRbA5mp9htsppSEkWuQ4KsSUumYQnyl8ZdT39ntwqmz4IUHGN6p4XdSlYfJwM4rRzZLShHsGAQ==}
engines: {node: '>= 20'}
cpu: [arm64]
os: [linux]
+ libc: [musl]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-oCfG/mS+/+XRlwNjnsNLVwnMWYH7tn/kYPsNPh+JSOMlnt93mYNCKHYzylRhI51X+TbR+ufNhhKKzm6QkqX8ag==}
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [linux]
+ libc: [musl]
'@tailwindcss/[email protected]':
resolution: {integrity: sha512-qMFzxI2YlBOLW5PhblzuSWlWfwLHaneBE0xHzLrBgNtqN6mWfs+qYbhryGSXQjFYB1Dzf5w+LN5qbUTPhW7Y5g==}
engines: {node: '>= 20'}
cpu: [x64]
os: [linux]
+ libc: [glibc]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-rTAGAkDgqbXHNp/xW0iugLVmX62wOp2PoE39BTCGKjv3Iocf6AFbRP/wZT/kuCxC9QBh9Pu8XPkv/zCZB2mcMg==}
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [linux]
+ libc: [glibc]
'@tailwindcss/[email protected]':
resolution: {integrity: sha512-5r1X2FKnCMUPlXTWRYpHdPYUY6a1Ar/t7P24OuiEdEOmms5lyqjDRvVY1yy9Rmioh+AunQ0rWiOTPE8F9A3v5g==}
engines: {node: '>= 20'}
cpu: [x64]
os: [linux]
+ libc: [musl]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-XW3t3qwbIwiSyRCggeO2zxe3KWaEbM0/kW9e8+0XpBgyKU4ATYzcVSMKteZJ1iukJ3HgHBjbg9P5YPRCVUxlnQ==}
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [linux]
+ libc: [musl]
'@tailwindcss/[email protected]':
resolution: {integrity: sha512-MGFB5cVPvshR85MTJkEvqDUnuNoysrsRxd6vnk1Lf2tbiqNlXpHYZqkqOQalydienEWOHHFyyuTSYRsLfxFJ2Q==}
@@ -5182,25 +5491,58 @@ packages:
- '@emnapi/wasi-threads'
- tslib
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-eKSztKsmEsn1O5lJ4ZAfyn41NfG7vzCg496YiGtMDV86jz1q/irhms5O0VrY6ZwTUkFy/EKG3RfWgxSI3VbZ8Q==}
+ engines: {node: '>=14.0.0'}
+ cpu: [wasm32]
+ bundledDependencies:
+ - '@napi-rs/wasm-runtime'
+ - '@emnapi/core'
+ - '@emnapi/runtime'
+ - '@tybys/wasm-util'
+ - '@emnapi/wasi-threads'
+ - tslib
+
'@tailwindcss/[email protected]':
resolution: {integrity: sha512-YlUEHRHBGnCMh4Nj4GnqQyBtsshUPdiNroZj8VPkvTZSoHsilRCwXcVKnG9kyi0ZFAS/3u+qKHBdDc81SADTRA==}
engines: {node: '>= 20'}
cpu: [arm64]
os: [win32]
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-qPmaQM4iKu5mxpsrWZMOZRgZv1tOZpUm+zdhhQP0VhJfyGGO3aUKdbh3gDZc/dPLQwW4eSqWGrrcWNBZWUWaXQ==}
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [win32]
+
'@tailwindcss/[email protected]':
resolution: {integrity: sha512-rbO34G5sMWWyrN/idLeVxAZgAKWrn5LiR3/I90Q9MkA67s6T1oB0xtTe+0heoBvHSpbU9Mk7i6uwJnpo4u21XQ==}
engines: {node: '>= 20'}
cpu: [x64]
os: [win32]
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-1T/37VvI7WyH66b+vqHj/cLwnCxt7Qt3WFu5Q8hk65aOvlwAhs7rAp1VkulBJw/N4tMirXjVnylTR72uI0HGcA==}
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [win32]
+
'@tailwindcss/[email protected]':
resolution: {integrity: sha512-yv9jeEFWnjKCI6/T3Oq50yQEOqmpmpfzG1hcZsAOaXFQPfzWprWrlHSdGPEF3WQTi8zu8ohC9Mh9J470nT5pUw==}
engines: {node: '>= 20'}
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-qEUA07+E5kehxYp9BVMpq9E8vnJuBHfJEC0vPC5e7iL/hw7HR61aDKoVoKzrG+QKp56vhNZe4qwkRmMC0zDLvg==}
+ engines: {node: '>= 20'}
+
'@tailwindcss/[email protected]':
resolution: {integrity: sha512-OEwGIBnXnj7zJeonOh6ZG9woofIjGrd2BORfvE5p9USYKDCZoQmfqLcfNiRWoJlRWLdNPn2IgVZuWAOM4iTYMw==}
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-mEiF5HO1QqCLXoNEfXVA1Tzo+cYsrqV7w9Juj2wdUFyW07JRenqMG225MvPwr3ZD9N1bFQj46X7r33iHxLUW0w==}
+ peerDependencies:
+ vite: ^5.2.0 || ^6 || ^7 || ^8
+
'@takumi-rs/[email protected]':
resolution: {integrity: sha512-toMlVnB19J+eUVDOV3mhVOqFn+fMazycMZoeQSJQR/GXtog2peRp2dKqSE8w6gi7nGUOrZzX4u4L+eX+vwnfww==}
engines: {node: '>= 12.22.0 < 13 || >= 14.17.0 < 15 || >= 15.12.0 < 16 || >= 16.0.0'}
@@ -5218,24 +5560,28 @@ packages:
engines: {node: '>= 12.22.0 < 13 || >= 14.17.0 < 15 || >= 15.12.0 < 16 || >= 16.0.0'}
cpu: [arm64]
os: [linux]
+ libc: [glibc]
'@takumi-rs/[email protected]':
resolution: {integrity: sha512-4CiEF518wDnujF0fjql2XN6uO+OXl0svy0WgAF2656dCx2gJtWscaHytT2rsQ0ZmoFWE0dyWcDW1g/FBVPvuvA==}
engines: {node: '>= 12.22.0 < 13 || >= 14.17.0 < 15 || >= 15.12.0 < 16 || >= 16.0.0'}
cpu: [arm64]
os: [linux]
+ libc: [musl]
'@takumi-rs/[email protected]':
resolution: {integrity: sha512-jm8lTe2E6Tfq2b97GJC31TWK1JAEv+MsVbvL9DCLlYcafgYFlMXDUnOkZFMjlrmh0HcFAYDaBkniNDgIQfXqzg==}
engines: {node: '>= 12.22.0 < 13 || >= 14.17.0 < 15 || >= 15.12.0 < 16 || >= 16.0.0'}
cpu: [x64]
os: [linux]
+ libc: [glibc]
'@takumi-rs/[email protected]':
resolution: {integrity: sha512-nbdzQgC4ywzltDDV1fer1cKswwGE+xXZHdDiacdd7RM5XBng209Bmo3j1iv9dsX+4xXhByzCCGbxdWhhHqVXmw==}
engines: {node: '>= 12.22.0 < 13 || >= 14.17.0 < 15 || >= 15.12.0 < 16 || >= 16.0.0'}
cpu: [x64]
os: [linux]
+ libc: [musl]
'@takumi-rs/[email protected]':
resolution: {integrity: sha512-kE4F0LRmuhSwiNkFG7dTY9ID8+B7zb97QedyN/IO2fBJmRQDkqCGcip2gloh8YPPhCuKGjCqqqh2L+Tg9PKW7w==}
@@ -5281,6 +5627,25 @@ packages:
resolution: {integrity: sha512-xGGHpBXYSHUUr6XsKBfs85TWlYKpTc37cSBBVrXcib2MkHLboWlkClhWF37JKlDb9KEq3dHs+f2xR7XJEWGBxA==}
engines: {node: '>=14', npm: '>=6', yarn: '>=1'}
+ '@testing-library/[email protected]':
+ resolution: {integrity: sha512-VkUePoLV6oOYwSUvX6ShA8KLnJqZiYMIbP2JW2t0GLWLkJxKGvuH5qrrZBV/X7cXFnLGuFQEC7RheYiZOW68KQ==}
+ engines: {node: '>=16'}
+ peerDependencies:
+ svelte: ^3 || ^4 || ^5 || ^5.0.0-next.0
+
+ '@testing-library/[email protected]':
+ resolution: {integrity: sha512-8Ez7ZOqW5geRf9PF5rkuopODe5RGy3I9XR+kc7zHh26gBiktLaxTfKmhlGaSHYUOTQE7wFsLMN9xCJVCszw47w==}
+ engines: {node: '>= 10'}
+ peerDependencies:
+ svelte: ^3 || ^4 || ^5 || ^5.0.0-next.0
+ vite: '*'
+ vitest: '*'
+ peerDependenciesMeta:
+ vite:
+ optional: true
+ vitest:
+ optional: true
+
'@testing-library/[email protected]':
resolution: {integrity: sha512-YAh82Wh4TIrxYLmfGcixwD18oIjyC1pFQC2Y01F2lzV2HTMiYrI0nze0FD0ocB//CKS/7jIUgae+adPqxK5yCQ==}
engines: {node: '>=12', npm: '>=6'}
@@ -5308,6 +5673,9 @@ packages:
resolution: {integrity: sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==}
+
resolution: {integrity: sha512-Y2Jn2idRrLzUfAKV2LyRImR+y4oa2AntrgID95SHJxuMUrkNXmanDSed71sRNZysveJVt1hLLemQZIady0FpEg==}
@@ -5555,41 +5923,49 @@ packages:
resolution: {integrity: sha512-34gw7PjDGB9JgePJEmhEqBhWvCiiWCuXsL9hYphDF7crW7UgI05gyBAi6MF58uGcMOiOqSJ2ybEeCvHcq0BCmQ==}
cpu: [arm64]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-RyMIx6Uf53hhOtJDIamSbTskA99sPHS96wxVE/bJtePJJtpdKGXO1wY90oRdXuYOGOTuqjT8ACccMc4K6QmT3w==}
cpu: [arm64]
os: [linux]
+ libc: [musl]
resolution: {integrity: sha512-D8Vae74A4/a+mZH0FbOkFJL9DSK2R6TFPC9M+jCWYia/q2einCubX10pecpDiTmkJVUH+y8K3BZClycD8nCShA==}
cpu: [ppc64]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-frxL4OrzOWVVsOc96+V3aqTIQl1O2TjgExV4EKgRY09AJ9leZpEg8Ak9phadbuX0BA4k8U5qtvMSQQGGmaJqcQ==}
cpu: [riscv64]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-mJ5vuDaIZ+l/acv01sHoXfpnyrNKOk/3aDoEdLO/Xtn9HuZlDD6jKxHlkN8ZhWyLJsRBxfv9GYM2utQ1SChKew==}
cpu: [riscv64]
os: [linux]
+ libc: [musl]
resolution: {integrity: sha512-kELo8ebBVtb9sA7rMe1Cph4QHreByhaZ2QEADd9NzIQsYNQpt9UkM9iqr2lhGr5afh885d/cB5QeTXSbZHTYPg==}
cpu: [s390x]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-C3ZAHugKgovV5YvAMsxhq0gtXuwESUKc5MhEtjBpLoHPLYM+iuwSj3lflFwK3DPm68660rZ7G8BMcwSro7hD5w==}
cpu: [x64]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-rV0YSoyhK2nZ4vEswT/QwqzqQXw5I6CjoaYMOX0TqBlWhojUf8P94mvI7nuJTeaCkkds3QE4+zS8Ko+GdXuZtA==}
cpu: [x64]
os: [linux]
+ libc: [musl]
resolution: {integrity: sha512-5u4RkfxJm+Ng7IWgkzi3qrFOvLvQYnPBmjmZQ8+szTK/b31fQCnleNl1GgEt7nIsZRIf5PLhPwT0WM+q45x/UQ==}
@@ -5626,9 +6002,23 @@ packages:
'@vitest/[email protected]':
resolution: {integrity: sha512-yHZtwuP7JZivj65Gxoi8upUN2OzHTi3zVfjwdpu2WrvCZPLwsJ2Ey5ILIPccoW23dd/zQBlJ4/dhi7DWNyXCpA==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-Io0yyORnB6sikFlt8QW5K7slY4OjqNX9jmJQ02QDda8lyM6B5oNgVWoSoKPac8/kgnCUzuHQKrSLtu/uOqqrig==}
+
'@vitest/[email protected]':
resolution: {integrity: sha512-8sCWUyckXXYvx4opfzVY03EOiYVxyNrHS5QxX3DAIi5dpJAAkyJezHCP77VMX4HKA2LDT/Jpfo8i2r5BE3GnQQ==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-46ryTE9RZO/rfDd7pEqFl7etuyzekzEhUbTW3BvmeO/BcCMEgq59BKhek3dXDWgAj4oMK6OZi+vRr1wPW6qjEQ==}
+ peerDependencies:
+ msw: ^2.4.9
+ vite: ^5.0.0 || ^6.0.0 || ^7.0.0-0
+ peerDependenciesMeta:
+ msw:
+ optional: true
+ vite:
+ optional: true
+
'@vitest/[email protected]':
resolution: {integrity: sha512-HhVd0MDnzzsgevnOWCBj5Otnzobjy5wLBe4EdeeFGv8luMsGcYqDuFRMcttKWZA5vVO8RFjexVovXvAM4JoJDQ==}
peerDependencies:
@@ -5646,18 +6036,30 @@ packages:
'@vitest/[email protected]':
resolution: {integrity: sha512-KhRIdGV2U9HOUzxfiHmY8IFHTdqtOhIzCpd8WRdJiE7D/HUcZVD0EgQCVjm+Q9gkUXWgBvMmTtZgIG48wq7sOQ==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-IVNZik8IVRJRTr9fxlitMKeJeXFFFN0JaB9PHPGQ8NKQbGpfjlTx9zO4RefN8gp7eqjNy8nyK3NZmBzOPeIxtA==}
+
'@vitest/[email protected]':
resolution: {integrity: sha512-P24GK3GulZWC5tz87ux0m8OADrQIUVDPIjjj65vBXYG17ZeU3qD7r+MNZ1RNv4l8CGU2vtTRqixrOi9fYk/yKw==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-oukfKT9Mk41LreEW09vt45f8wx7DordoWUZMYdY/cyAk7w5TWkTRCNZYF7sX7n2wB7jyGAl74OxgwhPgKaqDMQ==}
+
'@vitest/[email protected]':
resolution: {integrity: sha512-rpk9y12PGa22Jg6g5M3UVVnTS7+zycIGk9ZNGN+m6tZHKQb7jrP7/77WfZy13Y/EUDd52NDsLRQhYKtv7XfPQw==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-dEYtS7qQP2CjU27QBC5oUOxLE/v5eLkGqPE0ZKEIDGMs4vKWe7IjgLOeauHsR0D5YuuycGRO5oSRXnwnmA78fQ==}
+
'@vitest/[email protected]':
resolution: {integrity: sha512-PCiV0rcl7jKQjbgYqjtakly6T1uwv/5BQ9SwBLekVg/EaYeQFPiXcgrC2Y7vDMA8dM1SUEAEV82kgSQIlXNMvA==}
'@vitest/[email protected]':
resolution: {integrity: sha512-c/jdthAhvJdpfVuaexSrnawxZz6pywlTPe84LUB2m/4t3rl2fTo9NFGBG4oWgaD+FTgDDV8hJ/nibT7IfH3JfA==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-vAfasCOe6AIK70iP5UD11Ac4siNUNJ9i/9PZ3NKx07sG6sUxeag1LWdNrMWeKKYBLlzuK+Gn65Yd5nyL6ds+nw==}
+
'@vitest/[email protected]':
resolution: {integrity: sha512-cbQt3PTSD7P2OARdVW3qWER5EGq7PHlvE+QfzSC0lbwO+xnt7+XH06ZzFjFRgzUX//JmpxrCu92VdwvEPlWSNw==}
@@ -5667,6 +6069,9 @@ packages:
'@vitest/[email protected]':
resolution: {integrity: sha512-v0psaMSkNJ3A2NMrUEHFRzJtDPFn+/VWZ5WxImB21T9fjucJRmS7xCS3ppEnARb9y11OAzaD+P2Ps+b+BGX5iQ==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-fB2V0JFrQSMsCo9HiSq3Ezpdv4iYaXRG1Sx8edX3MwxfyNn83mKiGzOcH+Fkxt4MHxr3y42fQi1oeAInqgX2QA==}
+
'@vitest/[email protected]':
resolution: {integrity: sha512-msMRKLMVLWygpK3u2Hybgi4MNjcYJvwTb0Ru09+fOyCXIgT5raYP041DRRdiJiI3k/2U6SEbAETB3YtBrUkCFA==}
@@ -5760,6 +6165,12 @@ packages:
resolution: {integrity: sha512-kja8j7PjmncONqaTsB8fQ+wE2mSU2DJ9D4XKoJ5PFWIdRMa6SLSN1ff4mOr4jCbfRSsxR4keIiySJU0N9T5hIQ==}
engines: {node: '>= 8.0.0'}
+ resolution: {integrity: sha512-gO7E3pDylxaLGZWWFf6n3DbRXtkAcg0QYySFQA6yB9fxG1PA+PSIXA7eLipyAIryfcFBjOS1BO4okRGT1rn1lA==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ zod: ^3.25.76 || ^4.1.8
+
resolution: {integrity: sha512-7yM+cTmyRLeNIXwt4Vj+mrrJgVQ9RMIW5WO0ydoLoYkewIvsMcvUmqS4j2RJTUXaF1HphwmSKUMQ/HypNRGOmA==}
engines: {node: '>=18'}
@@ -5843,6 +6254,10 @@ packages:
resolution: {integrity: sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==}
+ resolution: {integrity: sha512-Z/ZeOgVl7bcSYZ/u/rh0fOpvEpq//LZmdbkXyc7syVzjPAhfOa9ebsdTSjEBDU4vs5nC98Kfduj1uFo0qyET3g==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==}
engines: {node: '>= 0.4'}
@@ -6073,6 +6488,10 @@ packages:
resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==}
engines: {node: '>= 0.8'}
+ resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==}
+ engines: {node: '>=8'}
+
resolution: {integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==}
engines: {node: '>= 0.4'}
@@ -6158,6 +6577,10 @@ packages:
resolution: {integrity: sha512-PsezH1rqdV9VvyNhxxOW32/d75r01NY7TQCmOqomRo15ZSOKbpTFVsfjghxo6JloQUCGnH4k1LGu0R4yCLlWQQ==}
+ resolution: {integrity: sha512-GIjfiT9dbmHRiYi6Nl2yFCq7kkwdkp1W/lp2J99rX0yo9tgJGn3lKQATztIjb5tVtevcBtIdICNWqlq5+E8/Pw==}
+ engines: {pnpm: '>=8'}
+
resolution: {integrity: sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==}
engines: {node: '>= 16'}
@@ -6314,6 +6737,10 @@ packages:
resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==}
+ resolution: {integrity: sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==}
+ engines: {node: '>= 0.6'}
+
resolution: {integrity: sha512-OM4cAF3D6VtH/WkLtWvyNC56EZVXsZdU3iqaMG2B4WvYrlqU831pc4UtG5yp0sE9z8Y02wVN7PjW5Zf9Gt0f1Q==}
@@ -6353,6 +6780,10 @@ packages:
engines: {node: '>=4'}
hasBin: true
+ resolution: {integrity: sha512-2z+rWdzbbSZv6/rhtvzvqeZQHrBaqgogqt85sqFNbabZOuFbCVFb8kPeEtZjiKkbrm395irpNKiYeFeLiQnFPg==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-Fm5NvhYathRnXNVndkUsCCuR63DCLVVwGOOwQw782coXFi5HhkXdu289l59HlXZBawsyNccXfWRYvLzcDCdDig==}
engines: {node: '>=20'}
@@ -6407,6 +6838,10 @@ packages:
resolution: {integrity: sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==}
+ resolution: {integrity: sha512-ZYP5VBHshaDAiVZxjbRVcFJpc+4xGgT0bK3vzy1HLN8jTO975HEbuYzZJcHoQEY5K1a0z8YayJkyVETa08eNTg==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-23XHcCF+coGYevirZceTVD7NdJOqVn+49IHyxgszm+JIiHLoB2TkmPtsYkNWT1pvRSGkc35L6NHs0yHkN2SumA==}
engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0}
@@ -6472,6 +6907,9 @@ packages:
resolution: {integrity: sha512-c6fcElNV6ShtZXmsgNgFFV5tVX2PaV4g+MOAkb8eXHvn6sryJBrZa9r0zV6+dtTyoCKxtDy5tyQ5ZwQuidtd+Q==}
+ resolution: {integrity: sha512-OUepMozQULMLUmhxS95Vudo0jb0UchLimi3+pQ2plj61Fcy8axbP9hbiD4Sz6DPqn6XG3kfmziVfQ1rSys5AJQ==}
+
resolution: {integrity: sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==}
engines: {node: '>=6'}
@@ -6530,6 +6968,9 @@ packages:
resolution: {integrity: sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==}
+ resolution: {integrity: sha512-Gp6rDldRsFh/7XuouDbxMH3Mx8GMCcgzIb1pDTvNyn8pZGQ22u+Wa+lGV9dQCltFQ7uVw0MhRyb8XDskNFOReA==}
+
resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==}
@@ -6876,6 +7317,9 @@ packages:
jiti:
optional: true
+ resolution: {integrity: sha512-Epxrv+Nr/CaL4ZcFGPJIYLWFom+YeV1DqMLHJoEd9SYRxNbaFruBwfEX/kkHUJf55j2+TUbmDcmuilbP1TmXHA==}
+
resolution: {integrity: sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -6889,6 +7333,9 @@ packages:
resolution: {integrity: sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==}
engines: {node: '>=0.10'}
+ resolution: {integrity: sha512-suICpxAmZ9A8bzJjEl/+rLJiDKC0X4gYWUxT6URAWBLvlXmtbZd5ySMu/N2ZGEtMCAmflUDPSehrP9BQcsGcSg==}
+
resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==}
engines: {node: '>=4.0'}
@@ -7512,6 +7959,10 @@ packages:
resolution: {integrity: sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w==}
engines: {node: ^16.14.0 || >=18.0.0}
+ resolution: {integrity: sha512-Y22oTqIU4uuPgEemfz7NDJz6OeKf12Lsu+QC+s3BVpda64lTiMYCyGwg5ki4vFxkMwQdeZDl2adZoqUgdFuTgQ==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-CV9TW3Y3f8/wT0BRFc1/KAVQ3TUHiXmaAb6VW9vtiMFf7SLoMd1PdAc4W3KFOFETBJUb90KatHqlsZMWV+R9Gg==}
engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0}
@@ -7547,6 +7998,10 @@ packages:
resolution: {integrity: sha512-WDC/ui2VVRrz3jOVi+XtjqkDjiVjTtFaAGiW37k6b+ohyQ5wYDOGkvCZa8+H0nx3gyvv0+BST9xuOgIyGQ00gw==}
+ resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==}
+ engines: {node: '>=0.10.0'}
+
resolution: {integrity: sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw==}
engines: {node: '>=0.10.0'}
@@ -7579,6 +8034,9 @@ packages:
resolution: {integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==}
engines: {node: '>=6'}
+ resolution: {integrity: sha512-Iqv2fzaTQN28s/FwZAoFq0ZSs/7hMAHJVX+w8PZl3cY19Pxk6jFFalxQoIfW2826i/fDLXv8IiEZRIT0lDuWcg==}
+
resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==}
engines: {node: '>=0.8.19'}
@@ -7738,6 +8196,9 @@ packages:
resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==}
+ resolution: {integrity: sha512-ixkJoqQvAP88E6wLydLGGqCJsrFUnqoH6HnaczB8XmDH1oaWU+xxdptvikTgaEhtZ53Ky6YXiBuUI2WXLMCwjw==}
+
resolution: {integrity: sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==}
engines: {node: '>= 0.4'}
@@ -7853,6 +8314,9 @@ packages:
resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}
+ resolution: {integrity: sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==}
+
resolution: {integrity: sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==}
hasBin: true
@@ -7872,6 +8336,15 @@ packages:
resolution: {integrity: sha512-Hicd6JK5Njt2QB6XYFS7ok9e37O8AYk3jTcppG4YVQnYjOemymvTcmc7OWsmq/Qqj5TdRFO5/x/tIPmBeRtGHg==}
engines: {node: '>=12.0.0'}
+ resolution: {integrity: sha512-Cvc9WUhxSMEo4McES3P7oK3QaXldCfNWp7pl2NNeiIFlCoLr3kfq9kb1fxftiwk1FLV7CvpvDfonxtzUDeSOPg==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ canvas: ^3.0.0
+ peerDependenciesMeta:
+ canvas:
+ optional: true
+
resolution: {integrity: sha512-0+MoQNYyr2rBHqO1xilltfDjV9G7ymYGlAUazgcDLQaUf8JDHbuGwsxN6U9qWaElZ4w1B2r7yEGIL3GdeW3Rug==}
engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0}
@@ -7931,6 +8404,10 @@ packages:
resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==}
engines: {node: '>=6'}
+ resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==}
+ engines: {node: '>=6'}
+
resolution: {integrity: sha512-mnIlAEMu4OyEvUNdzco9xpuB9YVcPkQec+QsgycBCtPZvEqWPCDPfbAE4OJMdBBWpZWtpCn1xw9jJYlwjWI5zQ==}
hasBin: true
@@ -7962,70 +8439,148 @@ packages:
cpu: [arm64]
os: [android]
+ resolution: {integrity: sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [android]
+
resolution: {integrity: sha512-02uTEqf3vIfNMq3h/z2cJfcOXnQ0GRwQrkmPafhueLb2h7mqEidiCzkE4gBMEH65abHRiQvhdcQ+aP0D0g67sg==}
engines: {node: '>= 12.0.0'}
cpu: [arm64]
os: [darwin]
+ resolution: {integrity: sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [darwin]
+
resolution: {integrity: sha512-1ObhyoCY+tGxtsz1lSx5NXCj3nirk0Y0kB/g8B8DT+sSx4G9djitg9ejFnjb3gJNWo7qXH4DIy2SUHvpoFwfTA==}
engines: {node: '>= 12.0.0'}
cpu: [x64]
os: [darwin]
+ resolution: {integrity: sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [darwin]
+
resolution: {integrity: sha512-1RINmQKAItO6ISxYgPwszQE1BrsVU5aB45ho6O42mu96UiZBxEXsuQ7cJW4zs4CEodPUioj/QrXW1r9pLUM74A==}
engines: {node: '>= 12.0.0'}
cpu: [x64]
os: [freebsd]
+ resolution: {integrity: sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [freebsd]
+
resolution: {integrity: sha512-OOCm2//MZJ87CdDK62rZIu+aw9gBv4azMJuA8/KB74wmfS3lnC4yoPHm0uXZ/dvNNHmnZnB8XLAZzObeG0nS1g==}
engines: {node: '>= 12.0.0'}
cpu: [arm]
os: [linux]
+ resolution: {integrity: sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm]
+ os: [linux]
+
resolution: {integrity: sha512-WKyLWztD71rTnou4xAD5kQT+982wvca7E6QoLpoawZ1gP9JM0GJj4Tp5jMUh9B3AitHbRZ2/H3W5xQmdEOUlLg==}
engines: {node: '>= 12.0.0'}
cpu: [arm64]
os: [linux]
+ libc: [glibc]
+
+ resolution: {integrity: sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-mVZ7Pg2zIbe3XlNbZJdjs86YViQFoJSpc41CbVmKBPiGmC4YrfeOyz65ms2qpAobVd7WQsbW4PdsSJEMymyIMg==}
engines: {node: '>= 12.0.0'}
cpu: [arm64]
os: [linux]
+ libc: [musl]
+
+ resolution: {integrity: sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [linux]
+ libc: [musl]
resolution: {integrity: sha512-xGlFWRMl+0KvUhgySdIaReQdB4FNudfUTARn7q0hh/V67PVGCs3ADFjw+6++kG1RNd0zdGRlEKa+T13/tQjPMA==}
engines: {node: '>= 12.0.0'}
cpu: [x64]
os: [linux]
+ libc: [glibc]
+
+ resolution: {integrity: sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-eowF8PrKHw9LpoZii5tdZwnBcYDxRw2rRCyvAXLi34iyeYfqCQNA9rmUM0ce62NlPhCvof1+9ivRaTY6pSKDaA==}
engines: {node: '>= 12.0.0'}
cpu: [x64]
os: [linux]
+ libc: [musl]
+ resolution: {integrity: sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [linux]
+ libc: [musl]
+
resolution: {integrity: sha512-aJReEbSEQzx1uBlQizAOBSjcmr9dCdL3XuC/6HLXAxmtErsj2ICo5yYggg1qOODQMtnjNQv2UHb9NpOuFtYe4w==}
engines: {node: '>= 12.0.0'}
cpu: [arm64]
os: [win32]
+ resolution: {integrity: sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [win32]
+
resolution: {integrity: sha512-I9aiFrbd7oYHwlnQDqr1Roz+fTz61oDDJX7n9tYF9FJymH1cIN1DtKw3iYt6b8WZgEjoNwVSncwF4wx/ZedMhw==}
engines: {node: '>= 12.0.0'}
cpu: [x64]
os: [win32]
+ resolution: {integrity: sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [win32]
+
resolution: {integrity: sha512-l51N2r93WmGUye3WuFoN5k10zyvrVs0qfKBhyC5ogUQ6Ew6JUSswh78mbSO+IU3nTWsyOArqPCcShdQSadghBQ==}
engines: {node: '>= 12.0.0'}
+ resolution: {integrity: sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==}
+ engines: {node: '>= 12.0.0'}
+
resolution: {integrity: sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==}
engines: {node: '>=14'}
@@ -8037,6 +8592,9 @@ packages:
resolution: {integrity: sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==}
engines: {node: '>=6.11.5'}
+ resolution: {integrity: sha512-SW13ws7BjaeJ6p7Q6CO2nchbYEc3X3J6WrmTTDto7yMPqVSZTUyY5Tjbid+Ab8gLnATtygYtiDIJGQRRn2ZOiA==}
+
resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==}
engines: {node: '>=8'}
@@ -8533,6 +9091,14 @@ packages:
react-dom:
optional: true
+ resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ==}
+ engines: {node: '>=10'}
+
resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==}
@@ -8681,6 +9247,9 @@ packages:
resolution: {integrity: sha512-2vPPEi+Z7WqML2jZYddDIfy5Dqb0r2fze2zTxNNknZaFpVHU3mFB3R+DWeJWGVx0ecvttSGlJTI+WG+8Z4cDWw==}
+ resolution: {integrity: sha512-7wfH4sLbt4M0gCDzGE6vzQBo0bfTKjU7Sfpqy/7gs1qBfYz2vEJH6vXcBKpO3+6Yu1telwd0t9HpyOoLEQQbIQ==}
+
resolution: {integrity: sha512-egUxXCDwoWG06NGCS5s5AdcpnumHKJlfd3HH06P3m9TEMwwScfcY35wpQxbm9oHof+dM/lVH9Rfyu1elTVelSA==}
engines: {node: '>=20.19.4'}
@@ -9497,6 +10066,9 @@ packages:
engines: {node: '>=18.0.0', npm: '>=8.0.0'}
hasBin: true
+ resolution: {integrity: sha512-guoltQEx+9aMf2gDZ0s62EcV8lsXR+0w8915TC3ITdn2YueuNjdAYh/levpU9nFaoChh9RUS5ZdQMrKfVEN9tw==}
+
resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}
@@ -9506,6 +10078,10 @@ packages:
resolution: {integrity: sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==}
+ resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==}
+ engines: {node: '>=6'}
+
resolution: {integrity: sha512-AURm5f0jYEOydBj7VQlVvDrjeFgthDdEF5H1dP+6mNpoXOMo1quQqJ4wvJDyRZ9+pO3kGWoOdmV08cSv2aJV6Q==}
engines: {node: '>=0.4'}
@@ -9547,6 +10123,9 @@ packages:
resolution: {integrity: sha512-49oNpRjWRvnU8NyGVmUaYG4jtTkNonFZI86MmGRDqBphEK2EXT9gdEUoQPZhuBM8yWHxCWbobltqYO5M4XrUvQ==}
+ resolution: {integrity: sha512-6FtHJEvt+pVMIB9IBY+IcCJ6Z5f1iQnytgyfKMhDKgmzYG+TeH/wx1y3l27rshSbLiSanrR9ffZDrEsmjlQF2g==}
+
resolution: {integrity: sha512-5TF+l7p4+OsnP8BCCvSyZiSPc4x4//p5uPwK8TCnVPJYRmU2aYKMpOXvw8zM5a5JvuuCGN1jmsMwuU2W02ukfA==}
@@ -9554,11 +10133,6 @@ packages:
resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==}
hasBin: true
- resolution: {integrity: sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==}
- engines: {node: '>=10'}
- hasBin: true
-
resolution: {integrity: sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==}
engines: {node: '>=10'}
@@ -9579,6 +10153,9 @@ packages:
resolution: {integrity: sha512-x0RTqQel6g5SY7Lg6ZreMmsOzncHFU7nhnRWkKgWuMTu5NN0DR5oruckMqRvacAN9d5w6ARnRBXl9xhDCgfMeA==}
engines: {node: '>= 0.8.0'}
+ resolution: {integrity: sha512-kjnC1DXBHcxaOaOXBHBeRtltsDG2nUiUni+jP92M9gYdW12rsmx92UsfpH7o5tDRs7I1ZZPSQJQGv3UaRfCiuw==}
+
resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==}
engines: {node: '>= 0.4'}
@@ -9645,6 +10222,10 @@ packages:
resolution: {integrity: sha512-iMSw5i0XseMnrhtIzRb7XpQEXepa9xhWxGUojHBL43SIpQuDQkh3Wpy67ZbDzZVr6EKxvwVChnVpdl8hEVLDiw==}
+ resolution: {integrity: sha512-2wcC/oGxHis/BoHkkPwldgiPSYcpZK3JU28WoMVv55yHJgcZ8rlXvuG9iZggz+sU1d4bRgIGASwyWqjxu3FM0g==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==}
@@ -9805,6 +10386,9 @@ packages:
resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==}
engines: {node: '>=8'}
+ resolution: {integrity: sha512-8r3mkIM/2+PpjHoOtiAW8Rg3jJLHaV7xPwG+YRGrv6FP0wwk/toTpATxWYOW0BKdWwl82VT2tFYi5DlROa0Mxg==}
+
resolution: {integrity: sha512-0MP/Cxx5SzeeZ10p/bZI0S6MpgD+yxAhi1BOQ34jgnMXsCq3j1t6tQnZu+KdlL7dvJTLT3g9xN8tl10TqgFMcg==}
@@ -9860,6 +10444,24 @@ packages:
resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-1bSwIRCvvmSHrlK52fOlZmVtUZgil43jNL/2H18pRpa+eQjzGt6e3zayxhp1S7GajPFKNM/2PMCG+DZFHlG9fw==}
+ engines: {node: '>= 18.0.0'}
+ hasBin: true
+ peerDependencies:
+ svelte: ^4.0.0 || ^5.0.0-next.0
+ typescript: '>=5.0.0'
+
+ resolution: {integrity: sha512-svdT1FTrCLpvlU62evO5YdJt/kQ7nxgQxII/9BpQUvKr+GJRVdAXNVw8UWOt0fhoe5uWKyU0WsUTMRVAtRbMQg==}
+ peerDependencies:
+ svelte: ^3.55 || ^4.0.0-next.0 || ^4.0 || ^5.0.0-next.0
+ typescript: ^4.9.4 || ^5.0.0
+
+ resolution: {integrity: sha512-SThllKq6TRMBwPtat7ASnm/9CDXnIhBR0NPGw0ujn2DVYx9rVwsPZxDaDQcYGdUz/3BYVsCzdq7pZarRQoGvtw==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-2CC6CiKQtEwaEeNiqWTAw9PGykW8SR5zZX8MZk6TeAvEAnVS7Visz8WzphqgtQ8v2xz/4Q5K+j+SeMaKXeeQIA==}
peerDependencies:
@@ -9896,6 +10498,9 @@ packages:
resolution: {integrity: sha512-/tBrSQ36vCleJkAOsy9kbNTgaxvGbyOamC30PRePTQe/o1MFwEKHQk4Cn7BNGaPtjp+PuUrByJehM1hgxfq4sw==}
+ resolution: {integrity: sha512-KWBIxs1Xb6NoLdMVqhbhgwZf2PGBpPEiwOqgI4pFIYbNTfBXiKYyWoTsXgBQ9WFg/OlhnvHaY+AEpW7wSmFo2Q==}
+
resolution: {integrity: sha512-g9ljZiwki/LfxmQADO3dEY1CbpmXT5Hm2fJ+QaGKwSXUylMybePR7/67YW7jOrrvjEgL1Fmz5kzyAjWVWLlucg==}
engines: {node: '>=6'}
@@ -9953,6 +10558,9 @@ packages:
resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==}
+ resolution: {integrity: sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==}
+
resolution: {integrity: sha512-W/KYk+NFhkmsYpuHq5JykngiOCnxeVL8v8dFnqxSD8qEEdRfXk1SDM6JzNqcERbcGYj9tMrDQBYV9cjgnunFIg==}
engines: {node: '>=18'}
@@ -9961,10 +10569,18 @@ packages:
resolution: {integrity: sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==}
engines: {node: '>=12.0.0'}
+ resolution: {integrity: sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==}
+ engines: {node: ^18.0.0 || >=20.0.0}
+
resolution: {integrity: sha512-weEDEq7Z5eTHPDh4xjX789+fHfF+P8boiFB+0vbWzpbnbsEr/GRaohi/uMKxg8RZMXnl1ItAi/IUHWMsjDV7kQ==}
engines: {node: '>=14.0.0'}
+ resolution: {integrity: sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==}
+ engines: {node: '>=14.0.0'}
+
resolution: {integrity: sha512-PSkbLUoxOFRzJYjjxHJt9xro7D+iilgMX/C9lawzVuYiIdcihh9DXmVibBe8lmcFrRi/VzlPjBxbN7rH24q8/Q==}
engines: {node: '>=14.0.0'}
@@ -9973,9 +10589,20 @@ packages:
resolution: {integrity: sha512-n1cw8k1k0x4pgA2+9XrOkFydTerNcJ1zWCO5Nn9scWHTD+5tp8dghT2x1uduQePZTZgd3Tupf+x9BxJjeJi77Q==}
engines: {node: '>=14.0.0'}
+ resolution: {integrity: sha512-azl+t0z7pw/z958Gy9svOTuzqIk6xq+NSheJzn5MMWtWTFywIacg2wUlzKFGtt3cthx0r2SxMK0yzJOR0IES7Q==}
+ engines: {node: '>=14.0.0'}
+
+ resolution: {integrity: sha512-Je6p7pkk+KMzMv2XXKmAE3McmolOQFdxkKw0R8EYNr7sELW46JqnNeTX8ybPiQgvg1ymCoF8LXs5fzFaZvJPTA==}
+
resolution: {integrity: sha512-ZjCZK0rppSBu7rjHYDYsEaMOIbbT+nWF57hKkv4IUmZWBNrBWBOjIElc0mKRgLM8bm7x/BBlof6t2gi/Oq/Asw==}
+ resolution: {integrity: sha512-WMi/OQ2axVTf/ykqCQgXiIct+mSQDFdH2fkwhPwgEwvJ1kSzZRiinb0zF2Xb8u4+OqPChmyI6MEu4EezNJz+FQ==}
+ hasBin: true
+
resolution: {integrity: sha512-keinCnPbwXEUG3ilrWQZU+CqcTTzHq9m2HhoUP2l7Xmi8l1LuijAXLpAJ5zRW+ifKTNscs4NdCkfkDCBYm352w==}
hasBin: true
@@ -9991,6 +10618,14 @@ packages:
resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==}
engines: {node: '>=0.6'}
+ resolution: {integrity: sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-FVDYdxtnj0G6Qm/DhNPSb8Ju59ULcup3tuJxkFb5K8Bv2pUXILbf0xZWU8PX8Ov19OXljbUyveOFwRMwkXzO+A==}
+ engines: {node: '>=16'}
+
resolution: {integrity: sha512-kXuRi1mtaKMrsLUxz3sQYvVl37B0Ns6MzfrtV5DvJceE9bPyspOqk9xxv7XbZWcfLWbFmm997vl83qUWVJA64w==}
engines: {node: '>=16'}
@@ -9998,6 +10633,10 @@ packages:
resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==}
+ resolution: {integrity: sha512-hdF5ZgjTqgAntKkklYw0R03MG2x/bSzTtkxmIRw/sTNV8YXsCJ1tfLAX23lhxhHJlEf3CRCOCGGWw3vI3GaSPw==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-bLVMLPtstlZ4iMQHpFHTR7GAGj2jxi8Dg0s2h2MafAE4uSWF98FC/3MomU51iQAMf8/qDUbKWf5GxuvvVcXEhw==}
engines: {node: '>=20'}
@@ -10269,6 +10908,11 @@ packages:
resolution: {integrity: sha512-PnpQQMuxlwYdocC8fIJqVXvkeViHYzotI+NJrCuav0ZYFoq912ZHBk3mCeuj+5/VpodOjPe1z0Fk2ihgzlXqjQ==}
+ resolution: {integrity: sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg==}
+ engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0}
+ hasBin: true
+
resolution: {integrity: sha512-qO3aKv3HoQC8QKiNSTuUM1l9o/XX3+c+VTgLHbJWHZGeTPVAg2XwazI9UWzoxjIJCGCV2zU60uqMzjeLZuULqA==}
engines: {node: ^18.0.0 || >=20.0.0}
@@ -10300,6 +10944,46 @@ packages:
terser:
optional: true
+ resolution: {integrity: sha512-+Oxm7q9hDoLMyJOYfUYBuHQo+dkAloi33apOPP56pzj+vsdJDzr+j1NISE5pyaAuKL4A3UD34qd0lx5+kfKp2g==}
+ engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0}
+ hasBin: true
+ peerDependencies:
+ '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0
+ jiti: '>=1.21.0'
+ less: '*'
+ lightningcss: ^1.21.0
+ sass: '*'
+ sass-embedded: '*'
+ stylus: '*'
+ sugarss: '*'
+ terser: ^5.16.0
+ tsx: ^4.8.1
+ yaml: ^2.4.2
+ peerDependenciesMeta:
+ '@types/node':
+ optional: true
+ jiti:
+ optional: true
+ less:
+ optional: true
+ lightningcss:
+ optional: true
+ sass:
+ optional: true
+ sass-embedded:
+ optional: true
+ stylus:
+ optional: true
+ sugarss:
+ optional: true
+ terser:
+ optional: true
+ tsx:
+ optional: true
+ yaml:
+ optional: true
+
resolution: {integrity: sha512-w+N7Hifpc3gRjZ63vYBXA56dvvRlNWRczTdmCBBa+CotUzAPf5b7YMdMR/8CQoeYE5LX3W4wj6RYTgonm1b9DA==}
engines: {node: ^20.19.0 || >=22.12.0}
@@ -10340,6 +11024,42 @@ packages:
yaml:
optional: true
+ resolution: {integrity: sha512-zpKATdUbzbsycPFBN71nS2uzBUQiVnFoOrr2rvqv34S1lcAgMKKkjWleLGeiJlZ8lwCXvtWaRn7R3ZC16SYRuw==}
+ peerDependencies:
+ vite: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-beta.0
+ peerDependenciesMeta:
+ vite:
+ optional: true
+
+ resolution: {integrity: sha512-LUCP5ev3GURDysTWiP47wRRUpLKMOfPh+yKTx3kVIEiu5KOMeqzpnYNsKyOoVrULivR8tLcks4+lga33Whn90A==}
+ engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0}
+ hasBin: true
+ peerDependencies:
+ '@edge-runtime/vm': '*'
+ '@types/debug': ^4.1.12
+ '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0
+ '@vitest/browser': 3.2.4
+ '@vitest/ui': 3.2.4
+ happy-dom: '*'
+ jsdom: '*'
+ peerDependenciesMeta:
+ '@edge-runtime/vm':
+ optional: true
+ '@types/debug':
+ optional: true
+ '@types/node':
+ optional: true
+ '@vitest/browser':
+ optional: true
+ '@vitest/ui':
+ optional: true
+ happy-dom:
+ optional: true
+ jsdom:
+ optional: true
+
resolution: {integrity: sha512-hOQuK7h0FGKgBAas7v0mSAsnvrIgAvWmRFjmzpJ7SwFHH3g1k2u37JtYwOwmEKhK6ZO3v9ggDBBm0La1LCK4uQ==}
engines: {node: ^20.0.0 || ^22.0.0 || >=24.0.0}
@@ -10411,6 +11131,10 @@ packages:
resolution: {integrity: sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==}
engines: {node: '>=8'}
+ resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==}
+ engines: {node: '>=12'}
+
resolution: {integrity: sha512-BMhLD/Sw+GbJC21C/UgyaZX41nPt8bUTg+jWyDeg7e7YN4xOM05YPSIXceACnXVtqyEw/LMClUQMtMZ+PGGpqQ==}
engines: {node: '>=20'}
@@ -10432,9 +11156,18 @@ packages:
webpack-cli:
optional: true
+ resolution: {integrity: sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ==}
+ engines: {node: '>=18'}
+ deprecated: Use @exodus/bytes instead for a more spec-conformant and faster implementation
+
resolution: {integrity: sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg==}
+ resolution: {integrity: sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-sXcNcHOC51uPGF0P/D4NVtrkjSU2fNsm9iog4ZvZJsL3rjoDAzXZhkm2MWt1y+PUdggKAYVoMAIYcs78wJ51Cw==}
engines: {node: '>=20'}
@@ -10443,6 +11176,10 @@ packages:
resolution: {integrity: sha512-HoKuzZrUlgpz35YO27XgD28uh/WJH4B0+3ttFqRo//lmq+9T/mIOJ6kqmINI9HpUpz1imRC/nR/lxKpJiv0uig==}
engines: {node: '>=10'}
+ resolution: {integrity: sha512-De72GdQZzNTUBBChsXueQUnPKDkg/5A5zp7pFDuQAj5UFoENpiACU0wlCvzpAGnTkj++ihpKwKyYewn/XNUbKw==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-1to4zXBxmXHV3IiSSEInrreIlu02vUOvrhxJJH5vcxYTBDAx51cqZiKdyTxlecdKNSjj8EcxGBxNf6Vg+945gw==}
engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0}
@@ -10588,6 +11325,9 @@ packages:
resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}
engines: {node: '>=10'}
+ resolution: {integrity: sha512-B58NGBEoc8Y9MWWCQGl/gq9xBCe4IiKM0a2x7GZdQKOW5Exr8S1W24J6OgM1njK8xCRGvAJIL/MxXHf6SkmQKQ==}
+
resolution: {integrity: sha512-Q6/nZLe6jxuU80qb/4uJ4t5v2VEZ44lzQjPDhYJNztRQ4wyWc6VF3D3Kb/fAuPetZQnhS3hnajCf9CsWesghLQ==}
engines: {node: '>=18.0.0'}
@@ -10632,6 +11372,13 @@ snapshots:
rxjs: 7.8.1
zod: 3.25.76
+ dependencies:
+ '@ai-sdk/provider': 2.0.1
+ '@ai-sdk/provider-utils': 3.0.22([email protected])
+ '@vercel/oidc': 3.1.0
+ zod: 4.3.6
+
dependencies:
'@ai-sdk/provider': 3.0.8
@@ -10645,6 +11392,13 @@ snapshots:
'@ai-sdk/provider-utils': 4.0.19([email protected])
zod: 4.3.6
+ dependencies:
+ '@ai-sdk/provider': 2.0.1
+ '@standard-schema/spec': 1.1.0
+ eventsource-parser: 3.0.6
+ zod: 4.3.6
+
dependencies:
'@ai-sdk/provider': 3.0.8
@@ -10652,6 +11406,10 @@ snapshots:
eventsource-parser: 3.0.6
zod: 4.3.6
+ '@ai-sdk/[email protected]':
+ dependencies:
+ json-schema: 0.4.0
+
'@ai-sdk/[email protected]':
dependencies:
json-schema: 0.4.0
@@ -10666,12 +11424,28 @@ snapshots:
transitivePeerDependencies:
- zod
+ dependencies:
+ '@ai-sdk/provider-utils': 3.0.22([email protected])
+ ai: 5.0.160([email protected])
+ svelte: 5.55.0
+ optionalDependencies:
+ zod: 4.3.6
+
'@alloc/[email protected]': {}
'@ampproject/[email protected]':
dependencies:
'@jridgewell/gen-mapping': 0.3.8
- '@jridgewell/trace-mapping': 0.3.25
+ '@jridgewell/trace-mapping': 0.3.31
+
+ '@asamuzakjp/[email protected]':
+ dependencies:
+ '@csstools/css-calc': 2.1.4(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
+ '@csstools/css-color-parser': 3.1.0(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
+ '@csstools/css-parser-algorithms': 3.0.5(@csstools/[email protected])
+ '@csstools/css-tokenizer': 3.0.4
+ lru-cache: 10.4.3
'@asamuzakjp/[email protected]':
dependencies:
@@ -10759,7 +11533,7 @@ snapshots:
'@babel/parser': 7.27.5
'@babel/types': 7.27.6
'@jridgewell/gen-mapping': 0.3.8
- '@jridgewell/trace-mapping': 0.3.25
+ '@jridgewell/trace-mapping': 0.3.31
jsesc: 3.1.0
@@ -11411,15 +12185,29 @@ snapshots:
- '@chromatic-com/playwright'
- react
+ '@csstools/[email protected]': {}
+
'@csstools/[email protected]':
optional: true
+ '@csstools/[email protected](@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])':
+ dependencies:
+ '@csstools/css-parser-algorithms': 3.0.5(@csstools/[email protected])
+ '@csstools/css-tokenizer': 3.0.4
+
'@csstools/[email protected](@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])':
dependencies:
'@csstools/css-parser-algorithms': 4.0.0(@csstools/[email protected])
'@csstools/css-tokenizer': 4.0.0
optional: true
+ '@csstools/[email protected](@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])':
+ dependencies:
+ '@csstools/color-helpers': 5.1.0
+ '@csstools/css-calc': 2.1.4(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
+ '@csstools/css-parser-algorithms': 3.0.5(@csstools/[email protected])
+ '@csstools/css-tokenizer': 3.0.4
+
'@csstools/[email protected](@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])':
dependencies:
'@csstools/color-helpers': 6.0.2
@@ -11428,6 +12216,10 @@ snapshots:
'@csstools/css-tokenizer': 4.0.0
optional: true
+ '@csstools/[email protected](@csstools/[email protected])':
+ dependencies:
+ '@csstools/css-tokenizer': 3.0.4
+
'@csstools/[email protected](@csstools/[email protected])':
dependencies:
'@csstools/css-tokenizer': 4.0.0
@@ -11436,6 +12228,8 @@ snapshots:
'@csstools/[email protected]':
optional: true
+ '@csstools/[email protected]': {}
+
'@csstools/[email protected]':
optional: true
@@ -12441,12 +13235,12 @@ snapshots:
'@types/yargs': 17.0.35
chalk: 4.1.2
dependencies:
glob: 10.4.5
magic-string: 0.27.0
react-docgen-typescript: 2.4.0([email protected])
optionalDependencies:
typescript: 5.9.3
@@ -12458,13 +13252,13 @@ snapshots:
'@jridgewell/[email protected]':
dependencies:
'@jridgewell/set-array': 1.2.1
- '@jridgewell/sourcemap-codec': 1.5.0
- '@jridgewell/trace-mapping': 0.3.25
+ '@jridgewell/sourcemap-codec': 1.5.5
+ '@jridgewell/trace-mapping': 0.3.31
'@jridgewell/[email protected]':
dependencies:
'@jridgewell/gen-mapping': 0.3.8
- '@jridgewell/trace-mapping': 0.3.25
+ '@jridgewell/trace-mapping': 0.3.31
'@jridgewell/[email protected]': {}
@@ -12479,16 +13273,13 @@ snapshots:
'@jridgewell/[email protected]': {}
- '@jridgewell/[email protected]':
- dependencies:
- '@jridgewell/resolve-uri': 3.1.2
- '@jridgewell/sourcemap-codec': 1.5.0
-
'@jridgewell/[email protected]':
dependencies:
'@jridgewell/resolve-uri': 3.1.2
'@jridgewell/sourcemap-codec': 1.5.5
+ '@kurkle/[email protected]': {}
+
'@mdx-js/[email protected]':
dependencies:
'@types/estree': 1.0.8
@@ -12756,6 +13547,8 @@ snapshots:
'@pkgr/[email protected]': {}
+ '@polka/[email protected]': {}
+
'@posthog/[email protected]':
dependencies:
cross-spawn: 7.0.6
@@ -16120,13 +16913,13 @@ snapshots:
react: 19.2.4
react-dom: 19.2.4([email protected])
dependencies:
'@storybook/csf-plugin': 8.6.14([email protected]([email protected]))
browser-assert: 1.2.1
storybook: 8.6.14([email protected])
ts-dedent: 2.2.0
dependencies:
@@ -16146,7 +16939,7 @@ snapshots:
jsdoc-type-pratt-parser: 4.1.0
process: 0.11.10
recast: 0.23.11
- semver: 7.7.2
+ semver: 7.7.4
util: 0.12.5
ws: 8.18.2
optionalDependencies:
@@ -16193,11 +16986,11 @@ snapshots:
react-dom: 19.2.4([email protected])
storybook: 8.6.14([email protected])
dependencies:
- '@joshwooding/vite-plugin-react-docgen-typescript': 0.5.0([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected]))
+ '@joshwooding/vite-plugin-react-docgen-typescript': 0.5.0([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected]))
'@rollup/pluginutils': 5.2.0([email protected])
find-up: 5.0.0
magic-string: 0.30.17
@@ -16207,7 +17000,7 @@ snapshots:
resolve: 1.22.10
storybook: 8.6.14([email protected])
tsconfig-paths: 4.2.0
optionalDependencies:
'@storybook/test': 8.6.14([email protected]([email protected]))
transitivePeerDependencies:
@@ -16245,6 +17038,69 @@ snapshots:
dependencies:
storybook: 8.6.14([email protected])
+ dependencies:
+ acorn: 8.16.0
+
+ dependencies:
+ import-meta-resolve: 4.2.0
+
+ dependencies:
+ '@standard-schema/spec': 1.1.0
+ '@sveltejs/acorn-typescript': 1.0.9([email protected])
+ '@types/cookie': 0.6.0
+ acorn: 8.16.0
+ cookie: 0.6.0
+ devalue: 5.6.4
+ esm-env: 1.2.2
+ kleur: 4.1.5
+ magic-string: 0.30.21
+ mrmime: 2.0.1
+ set-cookie-parser: 3.1.0
+ sirv: 3.0.2
+ svelte: 5.55.0
+ optionalDependencies:
+ '@opentelemetry/api': 1.9.0
+ typescript: 5.9.3
+
+ dependencies:
+ chokidar: 5.0.0
+ kleur: 4.1.5
+ sade: 1.8.1
+ semver: 7.7.4
+ svelte: 5.55.0
+ svelte2tsx: 0.7.52([email protected])([email protected])
+ transitivePeerDependencies:
+ - typescript
+
+ dependencies:
+ debug: 4.4.3
+ svelte: 5.55.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ debug: 4.4.3
+ deepmerge: 4.3.1
+ kleur: 4.1.5
+ magic-string: 0.30.21
+ svelte: 5.55.0
+ transitivePeerDependencies:
+ - supports-color
+
dependencies:
tslib: 2.8.1
@@ -16261,42 +17117,88 @@ snapshots:
source-map-js: 1.2.1
tailwindcss: 4.2.1
+ '@tailwindcss/[email protected]':
+ dependencies:
+ '@jridgewell/remapping': 2.3.5
+ enhanced-resolve: 5.19.0
+ jiti: 2.6.1
+ lightningcss: 1.32.0
+ magic-string: 0.30.21
+ source-map-js: 1.2.1
+ tailwindcss: 4.2.2
+
'@tailwindcss/[email protected]':
optional: true
+ '@tailwindcss/[email protected]':
+ optional: true
+
'@tailwindcss/[email protected]':
optional: true
+ '@tailwindcss/[email protected]':
+ optional: true
+
'@tailwindcss/[email protected]':
optional: true
+ '@tailwindcss/[email protected]':
+ optional: true
+
'@tailwindcss/[email protected]':
optional: true
+ '@tailwindcss/[email protected]':
+ optional: true
+
'@tailwindcss/[email protected]':
optional: true
+ '@tailwindcss/[email protected]':
+ optional: true
+
'@tailwindcss/[email protected]':
optional: true
+ '@tailwindcss/[email protected]':
+ optional: true
+
'@tailwindcss/[email protected]':
optional: true
+ '@tailwindcss/[email protected]':
+ optional: true
+
'@tailwindcss/[email protected]':
optional: true
+ '@tailwindcss/[email protected]':
+ optional: true
+
'@tailwindcss/[email protected]':
optional: true
+ '@tailwindcss/[email protected]':
+ optional: true
+
'@tailwindcss/[email protected]':
optional: true
+ '@tailwindcss/[email protected]':
+ optional: true
+
'@tailwindcss/[email protected]':
optional: true
+ '@tailwindcss/[email protected]':
+ optional: true
+
'@tailwindcss/[email protected]':
optional: true
+ '@tailwindcss/[email protected]':
+ optional: true
+
'@tailwindcss/[email protected]':
optionalDependencies:
'@tailwindcss/oxide-android-arm64': 4.2.1
@@ -16312,6 +17214,21 @@ snapshots:
'@tailwindcss/oxide-win32-arm64-msvc': 4.2.1
'@tailwindcss/oxide-win32-x64-msvc': 4.2.1
+ '@tailwindcss/[email protected]':
+ optionalDependencies:
+ '@tailwindcss/oxide-android-arm64': 4.2.2
+ '@tailwindcss/oxide-darwin-arm64': 4.2.2
+ '@tailwindcss/oxide-darwin-x64': 4.2.2
+ '@tailwindcss/oxide-freebsd-x64': 4.2.2
+ '@tailwindcss/oxide-linux-arm-gnueabihf': 4.2.2
+ '@tailwindcss/oxide-linux-arm64-gnu': 4.2.2
+ '@tailwindcss/oxide-linux-arm64-musl': 4.2.2
+ '@tailwindcss/oxide-linux-x64-gnu': 4.2.2
+ '@tailwindcss/oxide-linux-x64-musl': 4.2.2
+ '@tailwindcss/oxide-wasm32-wasi': 4.2.2
+ '@tailwindcss/oxide-win32-arm64-msvc': 4.2.2
+ '@tailwindcss/oxide-win32-x64-msvc': 4.2.2
+
'@tailwindcss/[email protected]':
dependencies:
'@alloc/quick-lru': 5.2.0
@@ -16320,6 +17237,13 @@ snapshots:
postcss: 8.5.6
tailwindcss: 4.2.1
+ dependencies:
+ '@tailwindcss/node': 4.2.2
+ '@tailwindcss/oxide': 4.2.2
+ tailwindcss: 4.2.2
+
'@takumi-rs/[email protected]':
optional: true
@@ -16394,6 +17318,19 @@ snapshots:
lodash: 4.17.21
redent: 3.0.0
+ '@testing-library/[email protected]([email protected])':
+ dependencies:
+ svelte: 5.55.0
+
+ dependencies:
+ '@testing-library/dom': 10.4.0
+ '@testing-library/svelte-core': 1.0.0([email protected])
+ svelte: 5.55.0
+ optionalDependencies:
+
'@testing-library/[email protected](@testing-library/[email protected])':
dependencies:
'@testing-library/dom': 10.4.0
@@ -16431,6 +17368,8 @@ snapshots:
'@types/deep-eql': 4.0.2
assertion-error: 2.0.1
+ '@types/[email protected]': {}
+
'@types/[email protected]': {}
'@types/[email protected]': {}
@@ -16562,8 +17501,7 @@ snapshots:
'@types/[email protected]': {}
- '@types/[email protected]':
- optional: true
+ '@types/[email protected]': {}
'@types/[email protected]': {}
@@ -16750,6 +17688,14 @@ snapshots:
chai: 5.2.0
tinyrainbow: 1.2.0
+ '@vitest/[email protected]':
+ dependencies:
+ '@types/chai': 5.2.3
+ '@vitest/spy': 3.2.4
+ '@vitest/utils': 3.2.4
+ chai: 5.2.0
+ tinyrainbow: 2.0.0
+
'@vitest/[email protected]':
dependencies:
'@standard-schema/spec': 1.1.0
@@ -16759,13 +17705,21 @@ snapshots:
chai: 6.2.2
tinyrainbow: 3.0.3
+ dependencies:
+ '@vitest/spy': 3.2.4
+ estree-walker: 3.0.3
+ magic-string: 0.30.21
+ optionalDependencies:
+
dependencies:
'@vitest/spy': 4.0.18
estree-walker: 3.0.3
magic-string: 0.30.21
optionalDependencies:
'@vitest/[email protected]':
dependencies:
@@ -16775,15 +17729,31 @@ snapshots:
dependencies:
tinyrainbow: 1.2.0
+ '@vitest/[email protected]':
+ dependencies:
+ tinyrainbow: 2.0.0
+
'@vitest/[email protected]':
dependencies:
tinyrainbow: 3.0.3
+ '@vitest/[email protected]':
+ dependencies:
+ '@vitest/utils': 3.2.4
+ pathe: 2.0.3
+ strip-literal: 3.1.0
+
'@vitest/[email protected]':
dependencies:
'@vitest/utils': 4.0.18
pathe: 2.0.3
+ '@vitest/[email protected]':
+ dependencies:
+ '@vitest/pretty-format': 3.2.4
+ magic-string: 0.30.21
+ pathe: 2.0.3
+
'@vitest/[email protected]':
dependencies:
'@vitest/pretty-format': 4.0.18
@@ -16794,6 +17764,10 @@ snapshots:
dependencies:
tinyspy: 3.0.2
+ '@vitest/[email protected]':
+ dependencies:
+ tinyspy: 4.0.4
+
'@vitest/[email protected]': {}
'@vitest/[email protected]':
@@ -16809,6 +17783,12 @@ snapshots:
loupe: 3.1.4
tinyrainbow: 1.2.0
+ '@vitest/[email protected]':
+ dependencies:
+ '@vitest/pretty-format': 3.2.4
+ loupe: 3.1.4
+ tinyrainbow: 2.0.0
+
'@vitest/[email protected]':
dependencies:
'@vitest/pretty-format': 4.0.18
@@ -16910,10 +17890,6 @@ snapshots:
mime-types: 3.0.2
negotiator: 1.0.0
- dependencies:
- acorn: 8.15.0
-
dependencies:
acorn: 8.16.0
@@ -16928,6 +17904,14 @@ snapshots:
dependencies:
humanize-ms: 1.2.1
+ dependencies:
+ '@ai-sdk/gateway': 2.0.64([email protected])
+ '@ai-sdk/provider': 2.0.1
+ '@ai-sdk/provider-utils': 3.0.22([email protected])
+ '@opentelemetry/api': 1.9.0
+ zod: 4.3.6
+
dependencies:
'@ai-sdk/gateway': 3.0.66([email protected])
@@ -17006,6 +17990,8 @@ snapshots:
dependencies:
dequal: 2.0.3
+
@@ -17316,6 +18302,8 @@ snapshots:
+
dependencies:
es-errors: 1.3.0
@@ -17391,6 +18379,10 @@ snapshots:
+ dependencies:
+ '@kurkle/color': 0.3.4
+
@@ -17542,6 +18534,8 @@ snapshots:
+
dependencies:
browserslist: 4.28.1
@@ -17589,6 +18583,11 @@ snapshots:
+ dependencies:
+ '@asamuzakjp/css-color': 3.2.0
+ rrweb-cssom: 0.8.0
+
dependencies:
'@asamuzakjp/css-color': 5.0.1
@@ -17639,6 +18638,11 @@ snapshots:
+ dependencies:
+ whatwg-mimetype: 4.0.0
+ whatwg-url: 14.2.0
+
dependencies:
whatwg-mimetype: 5.0.0
@@ -17693,6 +18697,8 @@ snapshots:
dependencies:
character-entities: 2.0.2
+
@@ -17734,6 +18740,8 @@ snapshots:
+
dependencies:
dequal: 2.0.3
@@ -18286,10 +19294,12 @@ snapshots:
transitivePeerDependencies:
- supports-color
+
dependencies:
- acorn: 8.15.0
- acorn-jsx: 5.3.2([email protected])
+ acorn: 8.16.0
+ acorn-jsx: 5.3.2([email protected])
eslint-visitor-keys: 4.2.1
@@ -18298,6 +19308,11 @@ snapshots:
dependencies:
estraverse: 5.3.0
+ dependencies:
+ '@jridgewell/sourcemap-codec': 1.5.5
+ '@typescript-eslint/types': 8.56.1
+
dependencies:
estraverse: 5.3.0
@@ -18654,7 +19669,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@mdx-js/mdx': 3.1.1
'@standard-schema/spec': 1.1.0
@@ -18680,7 +19695,7 @@ snapshots:
'@types/react': 19.2.14
react: 19.2.4
transitivePeerDependencies:
- supports-color
@@ -19036,6 +20051,10 @@ snapshots:
dependencies:
lru-cache: 10.4.3
+ dependencies:
+ whatwg-encoding: 3.1.1
+
dependencies:
'@exodus/bytes': 1.15.0
@@ -19076,7 +20095,6 @@ snapshots:
debug: 4.4.3
transitivePeerDependencies:
- supports-color
- optional: true
dependencies:
@@ -19091,6 +20109,10 @@ snapshots:
+ dependencies:
+ safer-buffer: 2.1.2
+
dependencies:
safer-buffer: 2.1.2
@@ -19114,6 +20136,8 @@ snapshots:
parent-module: 1.0.1
resolve-from: 4.0.0
+
@@ -19266,8 +20290,11 @@ snapshots:
- optional: true
+
+ dependencies:
+ '@types/estree': 1.0.8
dependencies:
@@ -19429,6 +20456,8 @@ snapshots:
+
dependencies:
argparse: 1.0.10
@@ -19446,6 +20475,33 @@ snapshots:
+ dependencies:
+ cssstyle: 4.6.0
+ data-urls: 5.0.0
+ decimal.js: 10.6.0
+ html-encoding-sniffer: 4.0.0
+ http-proxy-agent: 7.0.2
+ https-proxy-agent: 7.0.6
+ is-potential-custom-element-name: 1.0.1
+ nwsapi: 2.2.23
+ parse5: 7.3.0
+ rrweb-cssom: 0.8.0
+ saxes: 6.0.0
+ symbol-tree: 3.2.4
+ tough-cookie: 5.1.2
+ w3c-xmlserializer: 5.0.0
+ webidl-conversions: 7.0.0
+ whatwg-encoding: 3.1.1
+ whatwg-mimetype: 4.0.0
+ whatwg-url: 14.2.0
+ ws: 8.18.2
+ xml-name-validator: 5.0.0
+ transitivePeerDependencies:
+ - bufferutil
+ - supports-color
+ - utf-8-validate
+
dependencies:
'@acemir/cssom': 0.9.31
@@ -19517,6 +20573,8 @@ snapshots:
+
@@ -19544,36 +20602,69 @@ snapshots:
optional: true
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
dependencies:
detect-libc: 2.1.2
@@ -19590,12 +20681,30 @@ snapshots:
lightningcss-win32-arm64-msvc: 1.31.1
lightningcss-win32-x64-msvc: 1.31.1
+ dependencies:
+ detect-libc: 2.1.2
+ optionalDependencies:
+ lightningcss-android-arm64: 1.32.0
+ lightningcss-darwin-arm64: 1.32.0
+ lightningcss-darwin-x64: 1.32.0
+ lightningcss-freebsd-x64: 1.32.0
+ lightningcss-linux-arm-gnueabihf: 1.32.0
+ lightningcss-linux-arm64-gnu: 1.32.0
+ lightningcss-linux-arm64-musl: 1.32.0
+ lightningcss-linux-x64-gnu: 1.32.0
+ lightningcss-linux-x64-musl: 1.32.0
+ lightningcss-win32-arm64-msvc: 1.32.0
+ lightningcss-win32-x64-msvc: 1.32.0
+
+
dependencies:
p-locate: 4.1.0
@@ -19661,7 +20770,7 @@ snapshots:
dependencies:
- '@jridgewell/sourcemap-codec': 1.5.0
+ '@jridgewell/sourcemap-codec': 1.5.5
dependencies:
@@ -20578,6 +21687,10 @@ snapshots:
react: 19.2.4
react-dom: 19.2.4([email protected])
+
+
@@ -20739,6 +21852,8 @@ snapshots:
+
dependencies:
flow-enums-runtime: 0.0.6
@@ -21993,6 +23108,8 @@ snapshots:
'@rollup/rollup-win32-x64-msvc': 4.43.0
fsevents: 2.3.3
+
dependencies:
queue-microtask: 1.2.3
@@ -22005,6 +23122,10 @@ snapshots:
dependencies:
tslib: 2.8.1
+ dependencies:
+ mri: 1.2.0
+
dependencies:
call-bind: 1.0.8
@@ -22041,7 +23162,6 @@ snapshots:
dependencies:
xmlchars: 2.2.0
- optional: true
@@ -22056,14 +23176,14 @@ snapshots:
dependencies:
compute-scroll-into-view: 3.1.1
+
dependencies:
parseley: 0.12.1
-
@@ -22099,6 +23219,8 @@ snapshots:
transitivePeerDependencies:
- supports-color
+
dependencies:
define-data-property: 1.1.4
@@ -22216,6 +23338,12 @@ snapshots:
bplist-parser: 0.3.1
plist: 3.1.0
+ dependencies:
+ '@polka/url': 1.0.0-next.29
+ mrmime: 2.0.1
+ totalist: 3.0.1
+
@@ -22380,6 +23508,10 @@ snapshots:
+ dependencies:
+ js-tokens: 9.0.1
+
@@ -22445,14 +23577,51 @@ snapshots:
+ dependencies:
+ '@jridgewell/trace-mapping': 0.3.31
+ chokidar: 4.0.3
+ fdir: 6.5.0([email protected])
+ picocolors: 1.1.1
+ sade: 1.8.1
+ svelte: 5.55.0
+ typescript: 5.9.3
+ transitivePeerDependencies:
+ - picomatch
+
+ dependencies:
+ dedent-js: 1.0.1
+ scule: 1.3.0
+ svelte: 5.55.0
+ typescript: 5.9.3
+
+ dependencies:
+ '@jridgewell/remapping': 2.3.5
+ '@jridgewell/sourcemap-codec': 1.5.5
+ '@sveltejs/acorn-typescript': 1.0.9([email protected])
+ '@types/estree': 1.0.8
+ '@types/trusted-types': 2.0.7
+ acorn: 8.16.0
+ aria-query: 5.3.1
+ axobject-query: 4.1.0
+ clsx: 2.1.1
+ devalue: 5.6.4
+ esm-env: 1.2.2
+ esrap: 2.2.4
+ is-reference: 3.0.3
+ locate-character: 3.0.0
+ magic-string: 0.30.21
+ zimmerframe: 1.1.4
+
dependencies:
dequal: 2.0.3
react: 19.2.3
use-sync-external-store: 1.6.0([email protected])
- optional: true
dependencies:
@@ -22497,6 +23666,8 @@ snapshots:
+
@@ -22552,6 +23723,8 @@ snapshots:
+
@@ -22559,15 +23732,27 @@ snapshots:
fdir: 6.5.0([email protected])
picomatch: 4.0.3
+
+
+
+
optional: true
+ dependencies:
+ tldts-core: 6.1.86
+
dependencies:
tldts-core: 7.0.25
@@ -22581,6 +23766,12 @@ snapshots:
+
+ dependencies:
+ tldts: 6.1.86
+
dependencies:
tldts: 7.0.25
@@ -22588,6 +23779,10 @@ snapshots:
+ dependencies:
+ punycode: 2.3.1
+
dependencies:
punycode: 2.3.1
@@ -22927,7 +24122,28 @@ snapshots:
d3-time: 3.1.0
d3-timer: 3.0.1
+ dependencies:
+ cac: 6.7.14
+ debug: 4.4.3
+ es-module-lexer: 1.7.0
+ pathe: 2.0.3
+ transitivePeerDependencies:
+ - '@types/node'
+ - jiti
+ - less
+ - lightningcss
+ - sass
+ - sass-embedded
+ - stylus
+ - sugarss
+ - supports-color
+ - terser
+ - tsx
+ - yaml
+
dependencies:
esbuild: 0.21.5
postcss: 8.5.6
@@ -22935,11 +24151,29 @@ snapshots:
optionalDependencies:
'@types/node': 22.15.32
fsevents: 2.3.3
- lightningcss: 1.31.1
+ lightningcss: 1.32.0
+ sass: 1.89.2
+ terser: 5.43.0
+
+ dependencies:
+ esbuild: 0.25.12
+ fdir: 6.5.0([email protected])
+ picomatch: 4.0.3
+ postcss: 8.5.6
+ rollup: 4.43.0
+ tinyglobby: 0.2.15
+ optionalDependencies:
+ '@types/node': 25.3.2
+ fsevents: 2.3.3
+ jiti: 2.6.1
+ lightningcss: 1.32.0
sass: 1.89.2
terser: 5.43.0
+ tsx: 4.20.3
+ yaml: 2.8.0
dependencies:
esbuild: 0.27.3
fdir: 6.5.0([email protected])
@@ -22951,16 +24185,64 @@ snapshots:
'@types/node': 25.3.2
fsevents: 2.3.3
jiti: 2.6.1
- lightningcss: 1.31.1
+ lightningcss: 1.32.0
sass: 1.89.2
terser: 5.43.0
tsx: 4.20.3
yaml: 2.8.0
+ optional: true
+
+ optionalDependencies:
+
+ dependencies:
+ '@types/chai': 5.2.3
+ '@vitest/expect': 3.2.4
+ '@vitest/pretty-format': 3.2.4
+ '@vitest/runner': 3.2.4
+ '@vitest/snapshot': 3.2.4
+ '@vitest/spy': 3.2.4
+ '@vitest/utils': 3.2.4
+ chai: 5.2.0
+ debug: 4.4.3
+ expect-type: 1.3.0
+ magic-string: 0.30.21
+ pathe: 2.0.3
+ picomatch: 4.0.3
+ std-env: 3.10.0
+ tinybench: 2.9.0
+ tinyexec: 0.3.2
+ tinyglobby: 0.2.15
+ tinypool: 1.1.1
+ tinyrainbow: 2.0.0
+ why-is-node-running: 2.3.0
+ optionalDependencies:
+ '@types/debug': 4.1.12
+ '@types/node': 25.3.2
+ jsdom: 26.1.0
+ transitivePeerDependencies:
+ - jiti
+ - less
+ - lightningcss
+ - msw
+ - sass
+ - sass-embedded
+ - stylus
+ - sugarss
+ - supports-color
+ - terser
+ - tsx
+ - yaml
dependencies:
'@vitest/expect': 4.0.18
'@vitest/pretty-format': 4.0.18
'@vitest/runner': 4.0.18
'@vitest/snapshot': 4.0.18
@@ -22977,7 +24259,7 @@ snapshots:
tinyexec: 1.0.2
tinyglobby: 0.2.15
tinyrainbow: 3.0.3
why-is-node-running: 2.3.0
optionalDependencies:
'@opentelemetry/api': 1.9.0
@@ -23001,7 +24283,6 @@ snapshots:
dependencies:
xml-name-validator: 5.0.0
- optional: true
dependencies:
@@ -23028,6 +24309,8 @@ snapshots:
+
optional: true
@@ -23066,8 +24349,14 @@ snapshots:
- esbuild
- uglify-js
+ dependencies:
+ iconv-lite: 0.6.3
+
+
optional: true
@@ -23077,6 +24366,11 @@ snapshots:
punycode: 2.3.1
webidl-conversions: 5.0.0
+ dependencies:
+ tr46: 5.1.1
+ webidl-conversions: 7.0.0
+
dependencies:
'@exodus/bytes': 1.15.0
@@ -23177,8 +24471,7 @@ snapshots:
simple-plist: 1.3.1
uuid: 7.0.3
- optional: true
dependencies:
@@ -23189,8 +24482,7 @@ snapshots:
- optional: true
@@ -23216,6 +24508,8 @@ snapshots:
+
dependencies:
zod: 4.3.6