Skip to content

The Open Standard for Generative UI

feat(examples): add LangGraph multi-agent chat example (#293) (#644)

Nandishwarde5a936e533d
diff --git a/examples/langgraph-chat/.env.example b/examples/langgraph-chat/.env.example
new file mode 100644
index 000000000..bff5c4378
--- /dev/null
+++ b/examples/langgraph-chat/.env.example
@@ -0,0 +1,18 @@
+# ── Model (used by the LangGraph server) ──────────────────────────
+# The graph runs the LLM, so the API key lives with the LangGraph
+# process, not the Next.js app.
+OPENAI_API_KEY=sk-your-key-here
+OPENAI_MODEL=gpt-5.5
+
+# ── LangGraph connection (used by the Next.js /api/chat proxy) ─────
+# Local: the URL printed by `pnpm langgraph:dev` (defaults to 2024).
+LANGGRAPH_API_URL=http://localhost:2024
+# The graph name from langgraph.json ("agent"), or a deployed
+# assistant id.
+LANGGRAPH_ASSISTANT_ID=agent
+
+# ── LangGraph Cloud / Platform (only for a hosted deployment) ──────
+# Point LANGGRAPH_API_URL at your deployment URL and set the key.
+# Leave blank when running locally.
+# LANGGRAPH_API_URL=https://your-deployment.us.langgraph.app
+# LANGSMITH_API_KEY=lsv2-...
diff --git a/examples/langgraph-chat/.gitignore b/examples/langgraph-chat/.gitignore
new file mode 100644
index 000000000..6cc799b5f
--- /dev/null
+++ b/examples/langgraph-chat/.gitignore
@@ -0,0 +1,45 @@
+# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
+
+# dependencies
+/node_modules
+/.pnp
+.pnp.*
+.yarn/*
+!.yarn/patches
+!.yarn/plugins
+!.yarn/releases
+!.yarn/versions
+
+# testing
+/coverage
+
+# next.js
+/.next/
+/out/
+
+# production
+/build
+
+# misc
+.DS_Store
+*.pem
+
+# debug
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+.pnpm-debug.log*
+
+# env files (can opt-in for committing if needed)
+.env*
+!.env.example
+
+# langgraph dev server state
+.langgraph_api/
+
+# vercel
+.vercel
+
+# typescript
+*.tsbuildinfo
+next-env.d.ts
diff --git a/examples/langgraph-chat/README.md b/examples/langgraph-chat/README.md
new file mode 100644
index 000000000..fa7f7613a
--- /dev/null
+++ b/examples/langgraph-chat/README.md
@@ -0,0 +1,95 @@
+# OpenUI + LangGraph Chat
+
+A generative-UI chat app where the responses are produced by a **multi-agent
+[LangGraph](https://langchain-ai.github.io/langgraphjs/) graph** and rendered
+live with [OpenUI](https://openui.com).
+
+A supervisor routes each message to one of three specialists — **weather**,
+**finance**, or **research** — and the chosen agent streams its answer as
+[OpenUI Lang](https://www.openui.com/docs/openui-lang/overview), which the
+renderer turns into cards, tables, and charts as the tokens arrive.
+
+```
+browser ──fetch /api/chat──▶ Next.js route ──@langchain/langgraph-sdk──▶ LangGraph server
+ ▲ │ (router → specialist
+ └────── SSE (LangGraph) ───────┘ → tools → OpenUI Lang)
+ parsed by langGraphAdapter()
+```
+
+## How it connects
+
+| Piece | File | Role |
+| --- | --- | --- |
+| Frontend | `src/app/page.tsx` | `<FullScreen>` with `streamProtocol={langGraphAdapter()}`; converts messages with `langGraphMessageFormat.toApi`. |
+| Proxy | `src/app/api/chat/route.ts` | Opens a stateless run on the LangGraph server and forwards its SSE. Keeps the API key + deployment URL server-side. |
+| Graph | `src/agent/graph.ts` | Supervisor + specialist ReAct loops. Each specialist shares the generated OpenUI system prompt, so its output is OpenUI Lang. |
+| Tools | `src/agent/tools.ts` | Mock `get_weather` / `get_stock_price` / `search_web` (no external keys needed). |
+| Component library | `src/library.ts` | The OpenUI components the model is allowed to render. `pnpm generate:prompt` turns it into `src/generated/system-prompt.txt`. |
+
+The graph streams in `messages-tuple` mode; the proxy normalizes those events to
+`event: messages`, which is exactly what `langGraphAdapter()` consumes.
+
+## Getting started (local)
+
+This example runs **two processes**: the LangGraph server (runs the model) and
+the Next.js app (serves the UI). Run them in two terminals.
+
+1. Create a `.env` from the template:
+
+ ```bash
+ cp .env.example .env
+ ```
+
+ ```env
+ OPENAI_API_KEY=sk-your-key-here
+ OPENAI_MODEL=gpt-5.5
+ LANGGRAPH_API_URL=http://localhost:2024
+ LANGGRAPH_ASSISTANT_ID=agent
+ ```
+
+2. **Terminal 1 — LangGraph server** (hot-reloads the graph on `:2024`):
+
+ ```bash
+ pnpm langgraph:dev
+ ```
+
+3. **Terminal 2 — Next.js app**:
+
+ ```bash
+ pnpm dev
+ ```
+
+Open [http://localhost:3000](http://localhost:3000) and try a starter such as
+"Weather in Tokyo" or "AAPL stock price".
+
+> `OPENAI_API_KEY` is read by the **LangGraph server** (it runs the LLM), so it
+> belongs in `.env` next to `langgraph.json`. The Next.js app only needs the
+> `LANGGRAPH_*` variables.
+
+## Using LangGraph Cloud / Platform
+
+Deploy the graph (this folder already has a `langgraph.json`) and point the app
+at the deployment instead of localhost — no app code changes:
+
+```env
+LANGGRAPH_API_URL=https://your-deployment.us.langgraph.app
+LANGGRAPH_ASSISTANT_ID=agent # graph name, or a created assistant id
+LANGSMITH_API_KEY=lsv2-... # auth for the deployment
+```
+
+`LANGSMITH_API_KEY` is sent as `x-api-key` by the SDK from the server side only.
+Restart `pnpm dev` after changing `.env`.
+
+## Customizing
+
+- **Add a specialist:** extend the `SPECIALISTS` map in `src/agent/graph.ts` and
+ add the matching `*_agent` / `*_tools` node pair in the graph wiring.
+- **Use real tools:** replace the mock bodies in `src/agent/tools.ts` with real
+ API calls.
+- **Change what the model can render:** edit `src/library.ts`, then re-run
+ `pnpm generate:prompt` (the dev scripts do this for you).
+
+## Learn more
+
+- [OpenUI docs](https://openui.com/docs) and the [LangGraph provider guide](https://www.openui.com/docs/chat/providers)
+- [LangGraph.js docs](https://langchain-ai.github.io/langgraphjs/)
diff --git a/examples/langgraph-chat/eslint.config.mjs b/examples/langgraph-chat/eslint.config.mjs
new file mode 100644
index 000000000..05e726d1b
--- /dev/null
+++ b/examples/langgraph-chat/eslint.config.mjs
@@ -0,0 +1,18 @@
+import { defineConfig, globalIgnores } from "eslint/config";
+import nextVitals from "eslint-config-next/core-web-vitals";
+import nextTs from "eslint-config-next/typescript";
+
+const eslintConfig = defineConfig([
+ ...nextVitals,
+ ...nextTs,
+ // Override default ignores of eslint-config-next.
+ globalIgnores([
+ // Default ignores of eslint-config-next:
+ ".next/**",
+ "out/**",
+ "build/**",
+ "next-env.d.ts",
+ ]),
+]);
+
+export default eslintConfig;
diff --git a/examples/langgraph-chat/langgraph.json b/examples/langgraph-chat/langgraph.json
new file mode 100644
index 000000000..3e9114594
--- /dev/null
+++ b/examples/langgraph-chat/langgraph.json
@@ -0,0 +1,8 @@
+{
+ "node_version": "20",
+ "dependencies": ["."],
+ "graphs": {
+ "agent": "./src/agent/graph.ts:graph"
+ },
+ "env": ".env"
+}
diff --git a/examples/langgraph-chat/next.config.ts b/examples/langgraph-chat/next.config.ts
new file mode 100644
index 000000000..7e1f0ae21
--- /dev/null
+++ b/examples/langgraph-chat/next.config.ts
@@ -0,0 +1,8 @@
+import type { NextConfig } from "next";
+
+const nextConfig: NextConfig = {
+ output: "standalone",
+ turbopack: {},
+};
+
+export default nextConfig;
diff --git a/examples/langgraph-chat/package.json b/examples/langgraph-chat/package.json
new file mode 100644
index 000000000..34e4c1d49
--- /dev/null
+++ b/examples/langgraph-chat/package.json
@@ -0,0 +1,38 @@
+{
+ "name": "langgraph-chat",
+ "version": "0.1.0",
+ "private": true,
+ "scripts": {
+ "generate:prompt": "pnpm --filter @openuidev/cli build && pnpm exec openui generate src/library.ts --out src/generated/system-prompt.txt",
+ "langgraph:dev": "pnpm generate:prompt && langgraphjs dev",
+ "dev": "pnpm generate:prompt && next dev",
+ "build": "next build",
+ "start": "next start",
+ "lint": "eslint"
+ },
+ "dependencies": {
+ "@langchain/core": "^1.1.48",
+ "@langchain/langgraph": "^1.3.6",
+ "@langchain/langgraph-sdk": "^1.9.18",
+ "@langchain/openai": "^1.4.7",
+ "@openuidev/react-headless": "workspace:*",
+ "@openuidev/react-lang": "workspace:*",
+ "@openuidev/react-ui": "workspace:*",
+ "next": "16.1.6",
+ "react": "19.2.3",
+ "react-dom": "19.2.3",
+ "zod": "^4.0.0"
+ },
+ "devDependencies": {
+ "@langchain/langgraph-cli": "^1.2.5",
+ "@openuidev/cli": "workspace:*",
+ "@tailwindcss/postcss": "^4",
+ "@types/node": "^20",
+ "@types/react": "^19",
+ "@types/react-dom": "^19",
+ "eslint": "^9",
+ "eslint-config-next": "16.1.6",
+ "tailwindcss": "^4",
+ "typescript": "^5"
+ }
+}
diff --git a/examples/langgraph-chat/postcss.config.mjs b/examples/langgraph-chat/postcss.config.mjs
new file mode 100644
index 000000000..61e36849c
--- /dev/null
+++ b/examples/langgraph-chat/postcss.config.mjs
@@ -0,0 +1,7 @@
+const config = {
+ plugins: {
+ "@tailwindcss/postcss": {},
+ },
+};
+
+export default config;
diff --git a/examples/langgraph-chat/src/agent/graph.ts b/examples/langgraph-chat/src/agent/graph.ts
new file mode 100644
index 000000000..5e7b8c5e7
--- /dev/null
+++ b/examples/langgraph-chat/src/agent/graph.ts
@@ -0,0 +1,158 @@
+import { existsSync, readFileSync } from "node:fs";
+import { dirname, join } from "node:path";
+import { fileURLToPath } from "node:url";
+
+import { AIMessage, SystemMessage } from "@langchain/core/messages";
+import { Annotation, END, MessagesAnnotation, START, StateGraph } from "@langchain/langgraph";
+import { ToolNode } from "@langchain/langgraph/prebuilt";
+import { ChatOpenAI } from "@langchain/openai";
+import { z } from "zod";
+
+import { getStockPrice, getWeather, searchWeb } from "./tools";
+
+/**
+ * The OpenUI system prompt is generated from `src/library.ts` by the OpenUI
+ * CLI (`pnpm generate:prompt`). It teaches the model to answer in OpenUI Lang
+ * so the renderer can turn each reply into live React components.
+ *
+ * Every specialist shares this prompt, which is what makes their streamed
+ * output render as generative UI in the chat.
+ */
+function loadSystemPrompt(): string {
+ const candidates = [
+ // Primary: relative to the working dir (how `langgraphjs dev` runs).
+ join(process.cwd(), "src/generated/system-prompt.txt"),
+ // Fallback: relative to this module, for runners whose cwd differs.
+ join(dirname(fileURLToPath(import.meta.url)), "../generated/system-prompt.txt"),
+ ];
+ for (const path of candidates) {
+ if (existsSync(path)) return readFileSync(path, "utf-8");
+ }
+ throw new Error(
+ "OpenUI system prompt not found. Run `pnpm generate:prompt` before starting the graph.",
+ );
+}
+
+const OPENUI_SYSTEM_PROMPT = loadSystemPrompt();
+
+const MODEL = process.env.OPENAI_MODEL || "gpt-5.5";
+
+/** Streaming model used by the specialists (tokens stream to the UI). */
+const chatModel = new ChatOpenAI({ model: MODEL, streaming: true });
+
+/** Non-streaming model used by the router for a single structured decision. */
+const routerModel = new ChatOpenAI({ model: MODEL });
+
+// ── Specialists ──────────────────────────────────────────────────
+// Each specialist owns one tool and a short role hint layered on top of the
+// shared OpenUI prompt. Add a specialist by extending this map and wiring a
+// matching agent/tools node pair below.
+
+const SPECIALISTS = {
+ weather: {
+ tools: [getWeather],
+ hint: "You are the weather specialist. Use get_weather, then present conditions and the forecast as generative UI (cards, stats, a small table).",
+ },
+ finance: {
+ tools: [getStockPrice],
+ hint: "You are the finance specialist. Use get_stock_price, then present the quote and day range as generative UI (stat cards, a chart or table).",
+ },
+ research: {
+ tools: [searchWeb],
+ hint: "You are the research specialist. Use search_web, then summarize the findings as generative UI (headings, lists, callouts).",
+ },
+} as const;
+
+type Specialist = keyof typeof SPECIALISTS;
+
+// ── State ────────────────────────────────────────────────────────
+
+const AgentState = Annotation.Root({
+ ...MessagesAnnotation.spec,
+ next: Annotation<Specialist>(),
+});
+
+type State = typeof AgentState.State;
+
+// ── Router node ──────────────────────────────────────────────────
+
+const RouteSchema = z.object({
+ next: z
+ .enum(["weather", "finance", "research"])
+ .describe("Which specialist should handle the most recent user request."),
+});
+
+const ROUTER_PROMPT = [
+ "You are a supervisor routing a user request to exactly one specialist:",
+ "- weather: current weather, forecasts, climate for a place.",
+ "- finance: stock prices, tickers, market data.",
+ "- research: everything else / general questions that need a web lookup.",
+ "Pick the single best specialist for the latest user message.",
+].join("\n");
+
+async function router(state: State): Promise<Partial<State>> {
+ try {
+ const decision = await routerModel
+ .withStructuredOutput(RouteSchema, { name: "route" })
+ .invoke([new SystemMessage(ROUTER_PROMPT), ...state.messages]);
+ return { next: decision.next };
+ } catch {
+ // Default to research if structured routing fails for any reason.
+ return { next: "research" };
+ }
+}
+
+// ── Agent node factory ───────────────────────────────────────────
+
+function agentNode(specialist: Specialist) {
+ const { tools, hint } = SPECIALISTS[specialist];
+ const boundModel = chatModel.bindTools([...tools]);
+ const systemMessage = new SystemMessage(`${OPENUI_SYSTEM_PROMPT}\n\n${hint}`);
+
+ return async (state: State): Promise<Partial<State>> => {
+ const response = await boundModel.invoke([systemMessage, ...state.messages]);
+ return { messages: [response] };
+ };
+}
+
+/** After an agent runs, loop to its tools if it requested any, else finish. */
+function routeAfterAgent(state: State): "tools" | "end" {
+ const last = state.messages[state.messages.length - 1] as AIMessage | undefined;
+ return last?.tool_calls?.length ? "tools" : "end";
+}
+
+// ── Graph wiring ─────────────────────────────────────────────────
+// Nodes are wired explicitly (rather than in a loop) to keep LangGraph's
+// node-name types intact. Each specialist is its own ReAct loop:
+// agent -> (tool_calls?) -> tools -> agent -> ... -> END
+
+export const graph = new StateGraph(AgentState)
+ .addNode("router", router)
+ .addNode("weather_agent", agentNode("weather"))
+ .addNode("weather_tools", new ToolNode([...SPECIALISTS.weather.tools]))
+ .addNode("finance_agent", agentNode("finance"))
+ .addNode("finance_tools", new ToolNode([...SPECIALISTS.finance.tools]))
+ .addNode("research_agent", agentNode("research"))
+ .addNode("research_tools", new ToolNode([...SPECIALISTS.research.tools]))
+ .addEdge(START, "router")
+ .addConditionalEdges("router", (state: State) => state.next, {
+ weather: "weather_agent",
+ finance: "finance_agent",
+ research: "research_agent",
+ })
+ .addConditionalEdges("weather_agent", routeAfterAgent, {
+ tools: "weather_tools",
+ end: END,
+ })
+ .addEdge("weather_tools", "weather_agent")
+ .addConditionalEdges("finance_agent", routeAfterAgent, {
+ tools: "finance_tools",
+ end: END,
+ })
+ .addEdge("finance_tools", "finance_agent")
+ .addConditionalEdges("research_agent", routeAfterAgent, {
+ tools: "research_tools",
+ end: END,
+ })
+ .addEdge("research_tools", "research_agent")
+ .compile();
diff --git a/examples/langgraph-chat/src/agent/tools.ts b/examples/langgraph-chat/src/agent/tools.ts
new file mode 100644
index 000000000..5577ba9fd
--- /dev/null
+++ b/examples/langgraph-chat/src/agent/tools.ts
@@ -0,0 +1,85 @@
+import { tool } from "@langchain/core/tools";
+import { z } from "zod";
+
+/**
+ * Mock domain tools shared by the specialist agents.
+ *
+ * They return canned-but-plausible JSON so the example runs without any
+ * third-party API keys. Swap the bodies for real API calls when adapting
+ * this example. The conversation starters in the UI map onto these tools.
+ */
+
+export const getWeather = tool(
+ async ({ location }: { location: string }) => {
+ 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 JSON.stringify({
+ 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" },
+ ],
+ });
+ },
+ {
+ name: "get_weather",
+ description: "Get current weather for a location.",
+ schema: z.object({ location: z.string().describe("City name") }),
+ },
+);
+
+export const getStockPrice = tool(
+ async ({ symbol }: { symbol: string }) => {
+ 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 JSON.stringify({
+ 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)),
+ });
+ },
+ {
+ name: "get_stock_price",
+ description: "Get the stock price for a ticker symbol.",
+ schema: z.object({ symbol: z.string().describe("Ticker symbol, e.g. AAPL") }),
+ },
+);
+
+export const searchWeb = tool(
+ async ({ query }: { query: string }) => {
+ return JSON.stringify({
+ 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}.` },
+ ],
+ });
+ },
+ {
+ name: "search_web",
+ description: "Search the web for general information.",
+ schema: z.object({ query: z.string().describe("Search query") }),
+ },
+);
diff --git a/examples/langgraph-chat/src/app/api/chat/route.ts b/examples/langgraph-chat/src/app/api/chat/route.ts
new file mode 100644
index 000000000..6bbcc7a92
--- /dev/null
+++ b/examples/langgraph-chat/src/app/api/chat/route.ts
@@ -0,0 +1,129 @@
+import { Client } from "@langchain/langgraph-sdk";
+import { NextRequest } from "next/server";
+
+export const runtime = "nodejs";
+
+const API_URL = process.env.LANGGRAPH_API_URL || "http://localhost:2024";
+const ASSISTANT_ID = process.env.LANGGRAPH_ASSISTANT_ID || "agent";
+const API_KEY = process.env.LANGSMITH_API_KEY;
+
+// Graph nodes whose streamed tokens are internal (e.g. the supervisor's routing
+// decision) and must not surface as assistant output in the chat.
+const INTERNAL_NODES = new Set(["router"]);
+
+interface LangGraphInputMessage {
+ type: string;
+ content?: unknown;
+ tool_calls?: unknown;
+ tool_call_id?: string;
+ [key: string]: unknown;
+}
+
+/**
+ * The browser stores the specialist's streamed tool call and final answer as
+ * one assistant message, but it does not store the ToolNode result. Replaying
+ * that partial tool transcript makes OpenAI reject the next request. Tool
+ * execution belongs to the current graph run, so retain only visible chat
+ * history between stateless runs.
+ */
+function stripInternalToolHistory(messages: LangGraphInputMessage[]): LangGraphInputMessage[] {
+ return messages.flatMap((message) => {
+ if (message.type === "tool") return [];
+ if (message.type !== "ai" || !message.tool_calls) return [message];
+
+ const visibleMessage = { ...message };
+ delete visibleMessage.tool_calls;
+ return [visibleMessage];
+ });
+}
+
+/**
+ * Proxies the browser <-> LangGraph server.
+ *
+ * The client posts messages already in LangChain format (see `page.tsx`,
+ * which runs `langGraphMessageFormat.toApi`). We open a stateless streaming
+ * run and forward the LangGraph server's Server-Sent Events to the browser,
+ * where `langGraphAdapter()` parses them.
+ *
+ * Keeping the LangGraph connection here (rather than calling the server
+ * directly from the browser) is what lets us attach the API key and keep the
+ * deployment URL server-side.
+ */
+export async function POST(req: NextRequest) {
+ const { messages = [] } = (await req.json()) as { messages?: LangGraphInputMessage[] };
+ const visibleMessages = stripInternalToolHistory(messages);
+
+ const client = new Client({ apiUrl: API_URL, apiKey: API_KEY });
+ const encoder = new TextEncoder();
+
+ const readable = new ReadableStream<Uint8Array>({
+ async start(controller) {
+ let closed = false;
+
+ const send = (event: string, data: unknown) => {
+ if (closed) return;
+ try {
+ controller.enqueue(encoder.encode(`event: ${event}\ndata: ${JSON.stringify(data)}\n\n`));
+ } catch {
+ // Controller already closed (client disconnected) — stop writing.
+ closed = true;
+ }
+ };
+
+ const close = () => {
+ if (closed) return;
+ closed = true;
+ try {
+ controller.close();
+ } catch {
+ // already closed
+ }
+ };
+
+ try {
+ const run = client.runs.stream(null, ASSISTANT_ID, {
+ input: { messages: visibleMessages },
+ streamMode: ["messages-tuple", "updates"],
+ signal: req.signal,
+ });
+
+ for await (const chunk of run) {
+ const raw = chunk.event ?? "";
+
+ if (raw.startsWith("messages")) {
+ // Token tuples arrive as [messageChunk, metadata]. Drop tokens from
+ // internal nodes (the supervisor) so only specialist output renders,
+ // and normalize the event name to what langGraphAdapter() expects.
+ const meta = Array.isArray(chunk.data)
+ ? (chunk.data[1] as { langgraph_node?: string } | undefined)
+ : undefined;
+ if (meta?.langgraph_node && INTERNAL_NODES.has(meta.langgraph_node)) continue;
+ send("messages", chunk.data);
+ continue;
+ }
+
+ send(raw, chunk.data);
+ }
+
+ send("end", null);
+ } catch (err) {
+ // A client disconnect aborts the upstream run — that's not an error.
+ if (!req.signal.aborted) {
+ const message = err instanceof Error ? err.message : "LangGraph stream error";
+ console.error("LangGraph route error:", message);
+ send("error", { error: "StreamError", message });
+ }
+ } finally {
+ close();
+ }
+ },
+ });
+
+ return new Response(readable, {
+ headers: {
+ "Content-Type": "text/event-stream",
+ "Cache-Control": "no-cache, no-transform",
+ Connection: "keep-alive",
+ },
+ });
+}
diff --git a/examples/langgraph-chat/src/app/globals.css b/examples/langgraph-chat/src/app/globals.css
new file mode 100644
index 000000000..0ffe00eb2
--- /dev/null
+++ b/examples/langgraph-chat/src/app/globals.css
@@ -0,0 +1,3 @@
+@layer theme, base, openui, components, utilities;
+@import "tailwindcss";
+
diff --git a/examples/langgraph-chat/src/app/layout.tsx b/examples/langgraph-chat/src/app/layout.tsx
new file mode 100644
index 000000000..cb7855df5
--- /dev/null
+++ b/examples/langgraph-chat/src/app/layout.tsx
@@ -0,0 +1,22 @@
+import type { Metadata } from "next";
+import { ThemeProvider } from "@/hooks/use-system-theme";
+import "./globals.css";
+
+export const metadata: Metadata = {
+ title: "OpenUI + LangGraph Chat",
+ description: "Generative UI chat streamed from a multi-agent LangGraph graph",
+};
+
+export default function RootLayout({
+ children,
+}: Readonly<{
+ children: React.ReactNode;
+}>) {
+ return (
+ <html lang="en">
+ <body>
+ <ThemeProvider>{children}</ThemeProvider>
+ </body>
+ </html>
+ );
+}
diff --git a/examples/langgraph-chat/src/app/page.tsx b/examples/langgraph-chat/src/app/page.tsx
new file mode 100644
index 000000000..6786d0d5e
--- /dev/null
+++ b/examples/langgraph-chat/src/app/page.tsx
@@ -0,0 +1,52 @@
+"use client";
+import "@openuidev/react-ui/components.css";
+
+import { useTheme } from "@/hooks/use-system-theme";
+import { langGraphAdapter, langGraphMessageFormat } from "@openuidev/react-headless";
+import { FullScreen } from "@openuidev/react-ui";
+import { openuiChatLibrary } from "@openuidev/react-ui/genui-lib";
+
+export default function Page() {
+ const mode = useTheme();
+
+ return (
+ <div className="h-screen w-screen overflow-hidden relative">
+ <FullScreen
+ processMessage={async ({ messages, abortController }) => {
+ return fetch("/api/chat", {
+ method: "POST",
+ headers: { "Content-Type": "application/json" },
+ body: JSON.stringify({
+ // Convert OpenUI messages to LangChain shape for the graph.
+ // The run is stateless: the full history is sent each turn.
+ messages: langGraphMessageFormat.toApi(messages),
+ }),
+ signal: abortController.signal,
+ });
+ }}
+ streamProtocol={langGraphAdapter()}
+ componentLibrary={openuiChatLibrary}
+ agentName="OpenUI + LangGraph Chat"
+ theme={{ mode }}
+ conversationStarters={{
+ variant: "short",
+ options: [
+ {
+ displayText: "Weather in Tokyo",
+ prompt: "What's the weather like in Tokyo right now?",
+ },
+ { displayText: "AAPL stock price", prompt: "What's the current Apple stock price?" },
+ {
+ displayText: "Research a topic",
+ prompt: "Give me a quick briefing on the James Webb Space Telescope.",
+ },
+ {
+ displayText: "Compare cities",
+ prompt: "Compare the weather in London and Sydney right now.",
+ },
+ ],
+ }}
+ />
+ </div>
+ );
+}
diff --git a/examples/langgraph-chat/src/generated/system-prompt.txt b/examples/langgraph-chat/src/generated/system-prompt.txt
new file mode 100644
index 000000000..cbd28d059
--- /dev/null
+++ b/examples/langgraph-chat/src/generated/system-prompt.txt
@@ -0,0 +1,223 @@
+You are an AI assistant that responds using openui-lang, a declarative UI language. Your ENTIRE response must be valid openui-lang code — no markdown, no explanations, just openui-lang.
+
+## Syntax Rules
+
+1. Each statement is on its own line: `identifier = Expression`
+2. `root` is the entry point — every program must define `root = Card(...)`
+3. Expressions are: strings ("..."), numbers, booleans (true/false), null, arrays ([...]), objects ({...}), or component calls TypeName(arg1, arg2, ...)
+4. Use references for readability: define `name = ...` on one line, then use `name` later
+5. EVERY variable (except root) MUST be referenced by at least one other variable. Unreferenced variables are silently dropped and will NOT render. Always include defined variables in their parent's children/items array.
+6. Arguments are POSITIONAL (order matters, not names). Write `Stack([children], "row", "l")` NOT `Stack([children], direction: "row", gap: "l")` — colon syntax is NOT supported and silently breaks
+7. Optional arguments can be omitted from the end
+- Strings use double quotes with backslash escaping
+
+## Component Signatures
+
+Arguments marked with ? are optional. Sub-components can be inline or referenced; prefer references for better streaming.
+Props typed `ActionExpression` accept an Action([@steps...]) expression. See the Action section for available steps (@ToAssistant, @OpenUrl).
+Props marked `$binding<type>` accept a `$variable` reference for two-way binding.
+
+### Content
+CardHeader(title?: string, subtitle?: string) — Header with optional title and subtitle
+TextContent(text: string, size?: "small" | "default" | "large" | "small-heavy" | "large-heavy") — Text block. Supports markdown. Optional size: "small" | "default" | "large" | "small-heavy" | "large-heavy".
+MarkDownRenderer(textMarkdown: string, variant?: "clear" | "card" | "sunk") — Renders markdown text with optional container variant
+Callout(variant: "info" | "warning" | "error" | "success" | "neutral", title: string, description: string, visible?: $binding<boolean>) — Callout banner. Optional visible is a reactive $boolean — auto-dismisses after 3s by setting $visible to false.
+TextCallout(variant?: "neutral" | "info" | "warning" | "success" | "danger", title?: string, description?: string) — Text callout with variant, title, and description
+Image(alt: string, src?: string) — Image with alt text and optional URL
+ImageBlock(src: string, alt?: string) — Image block with loading state
+ImageGallery(images: {src: string, alt?: string, details?: string}[]) — Gallery grid of images with modal preview
+CodeBlock(language: string, codeString: string) — Syntax-highlighted code block
+Separator(orientation?: "horizontal" | "vertical", decorative?: boolean) — Visual divider between content sections
+
+### Tables
+Table(columns: Col[]) — Data table — column-oriented. Each Col holds its own data array.
+Col(label: string, data: any, type?: "string" | "number" | "action") — Column definition — holds label + data array
+
+### Charts (2D)
+BarChart(labels: string[], series: Series[], variant?: "grouped" | "stacked", xLabel?: string, yLabel?: string) — Vertical bars; use for comparing values across categories with one or more series
+LineChart(labels: string[], series: Series[], variant?: "linear" | "natural" | "step", xLabel?: string, yLabel?: string) — Lines over categories; use for trends and continuous data over time
+AreaChart(labels: string[], series: Series[], variant?: "linear" | "natural" | "step", xLabel?: string, yLabel?: string) — Filled area under lines; use for cumulative totals or volume trends over time
+RadarChart(labels: string[], series: Series[]) — Spider/web chart; use for comparing multiple variables across one or more entities
+HorizontalBarChart(labels: string[], series: Series[], variant?: "grouped" | "stacked", xLabel?: string, yLabel?: string) — Horizontal bars; prefer when category labels are long or for ranked lists
+Series(category: string, values: number[]) — One data series
+
+### Charts (1D)
+PieChart(labels: string[], values: number[], variant?: "pie" | "donut", appearance?: "circular" | "semiCircular") — Circular slices; use plucked arrays: PieChart(data.categories, data.values)
+RadialChart(labels: string[], values: number[]) — Radial bars; use plucked arrays: RadialChart(data.categories, data.values)
+SingleStackedBarChart(labels: string[], values: number[]) — Single horizontal stacked bar; use plucked arrays: SingleStackedBarChart(data.categories, data.values)
+Slice(category: string, value: number) — One slice with label and numeric value
+
+### Charts (Scatter)
+ScatterChart(datasets: ScatterSeries[], xLabel?: string, yLabel?: string) — X/Y scatter plot; use for correlations, distributions, and clustering
+ScatterSeries(name: string, points: Point[]) — Named dataset
+Point(x: number, y: number, z?: number) — Data point with numeric coordinates
+
+### Forms
+Form(name: string, buttons: Buttons, fields?: FormControl[]) — Form container with fields and explicit action buttons
+FormControl(label: string, input: Input | TextArea | Select | DatePicker | Slider | CheckBoxGroup | RadioGroup, hint?: string) — Field with label, input component, and optional hint text
+Label(text: string) — Text label
+Input(name: string, placeholder?: string, type?: "text" | "email" | "password" | "number" | "url", rules?: {required?: boolean, email?: boolean, url?: boolean, numeric?: boolean, min?: number, max?: number, minLength?: number, maxLength?: number, pattern?: string}, value?: $binding<string>)
+TextArea(name: string, placeholder?: string, rows?: number, rules?: {required?: boolean, email?: boolean, url?: boolean, numeric?: boolean, min?: number, max?: number, minLength?: number, maxLength?: number, pattern?: string}, value?: $binding<string>)
+Select(name: string, items: SelectItem[], placeholder?: string, rules?: {required?: boolean, email?: boolean, url?: boolean, numeric?: boolean, min?: number, max?: number, minLength?: number, maxLength?: number, pattern?: string}, value?: $binding<string>, size?: "small" | "medium" | "large")
+SelectItem(value: string, label: string) — Option for Select
+DatePicker(name: string, mode?: "single" | "range", rules?: {required?: boolean, email?: boolean, url?: boolean, numeric?: boolean, min?: number, max?: number, minLength?: number, maxLength?: number, pattern?: string}, value?: $binding<any>)
+Slider(name: string, variant: "continuous" | "discrete", min: number, max: number, step?: number, defaultValue?: number[], label?: string, rules?: {required?: boolean, email?: boolean, url?: boolean, numeric?: boolean, min?: number, max?: number, minLength?: number, maxLength?: number, pattern?: string}, value?: $binding<number[]>) — Numeric slider input; supports continuous and discrete (stepped) variants
+CheckBoxGroup(name: string, items: CheckBoxItem[], rules?: {required?: boolean, email?: boolean, url?: boolean, numeric?: boolean, min?: number, max?: number, minLength?: number, maxLength?: number, pattern?: string}, value?: $binding<Record<string, boolean>>)
+CheckBoxItem(label: string, description: string, name: string, defaultChecked?: boolean)
+RadioGroup(name: string, items: RadioItem[], defaultValue?: string, rules?: {required?: boolean, email?: boolean, url?: boolean, numeric?: boolean, min?: number, max?: number, minLength?: number, maxLength?: number, pattern?: string}, value?: $binding<string>)
+RadioItem(label: string, description: string, value: string)
+SwitchGroup(name: string, items: SwitchItem[], variant?: "clear" | "card" | "sunk", value?: $binding<Record<string, boolean>>) — Group of switch toggles
+SwitchItem(label?: string, description?: string, name: string, defaultChecked?: boolean) — Individual switch toggle
+- Define EACH FormControl as its own reference — do NOT inline all controls in one array.
+- NEVER nest Form inside Form.
+- Form requires explicit buttons. Always pass a Buttons(...) reference as the third Form argument.
+- rules is an optional object: { required: true, email: true, min: 8, maxLength: 100 }
+- The renderer shows error messages automatically — do NOT generate error text in the UI
+
+### Buttons
+Button(label: string, action?: ActionExpression, variant?: "primary" | "secondary" | "tertiary", type?: "normal" | "destructive", size?: "extra-small" | "small" | "medium" | "large") — Clickable button
+Buttons(buttons: Button[], direction?: "row" | "column") — Group of Button components. direction: "row" (default) | "column".
+
+### Lists & Follow-ups
+ListBlock(items: ListItem[], variant?: "number" | "image") — A list of items with number or image indicators. Each item can optionally have an action.
+ListItem(title: string, subtitle?: string, image?: {src: string, alt: string}, actionLabel?: string, action?: ActionExpression) — Item in a ListBlock — displays a title with an optional subtitle and image. When action is provided, the item becomes clickable.
+FollowUpBlock(items: FollowUpItem[]) — List of clickable follow-up suggestions placed at the end of a response
+FollowUpItem(text: string) — Clickable follow-up suggestion — when clicked, sends text as user message
+- Use ListBlock with ListItem references for numbered, clickable lists.
+- Use FollowUpBlock with FollowUpItem references at the end of a response to suggest next actions.
+- Clicking a ListItem or FollowUpItem sends its text to the LLM as a user message.
+- Example: list = ListBlock([item1, item2]) item1 = ListItem("Option A", "Details about A")
+
+### Sections
+SectionBlock(sections: SectionItem[], isFoldable?: boolean) — Collapsible accordion sections. Auto-opens sections as they stream in. Use SectionItem for each section.
+SectionItem(value: string, trigger: string, content: (TextContent | MarkDownRenderer | CardHeader | Callout | TextCallout | CodeBlock | Image | ImageBlock | ImageGallery | Separator | HorizontalBarChart | RadarChart | PieChart | RadialChart | SingleStackedBarChart | ScatterChart | AreaChart | BarChart | LineChart | Table | TagBlock | Form | Buttons | Steps | ListBlock | FollowUpBlock)[]) — Section with a label and collapsible content — used inside SectionBlock
+- SectionBlock renders collapsible accordion sections that auto-open as they stream.
+- Each section needs a unique `value` id, a `trigger` label, and a `content` array.
+- Example: sections = SectionBlock([s1, s2]) s1 = SectionItem("intro", "Introduction", [content1])
+- Set isFoldable=false to render sections as flat headers instead of accordion.
+
+### Layout
+Tabs(items: TabItem[]) — Tabbed container
+TabItem(value: string, trigger: string, content: (TextContent | MarkDownRenderer | CardHeader | Callout | TextCallout | CodeBlock | Image | ImageBlock | ImageGallery | Separator | HorizontalBarChart | RadarChart | PieChart | RadialChart | SingleStackedBarChart | ScatterChart | AreaChart | BarChart | LineChart | Table | TagBlock | Form | Buttons | Steps)[]) — value is unique id, trigger is tab label, content is array of components
+Accordion(items: AccordionItem[]) — Collapsible sections
+AccordionItem(value: string, trigger: string, content: (TextContent | MarkDownRenderer | CardHeader | Callout | TextCallout | CodeBlock | Image | ImageBlock | ImageGallery | Separator | HorizontalBarChart | RadarChart | PieChart | RadialChart | SingleStackedBarChart | ScatterChart | AreaChart | BarChart | LineChart | Table | TagBlock | Form | Buttons | Steps)[]) — value is unique id, trigger is section title
+Steps(items: StepsItem[]) — Step-by-step guide
+StepsItem(title: string, details: string) — title and details text for one step
+Carousel(children: (TextContent | MarkDownRenderer | CardHeader | Callout | TextCallout | CodeBlock | Image | ImageBlock | ImageGallery | Separator | HorizontalBarChart | RadarChart | PieChart | RadialChart | SingleStackedBarChart | ScatterChart | AreaChart | BarChart | LineChart | Table | TagBlock | Form | Buttons | Steps)[][], variant?: "card" | "sunk") — Horizontal scrollable carousel
+- Use Tabs to present alternative views — each TabItem has a value id, trigger label, and content array.
+- Carousel takes an array of slides, where each slide is an array of content: carousel = Carousel([[t1, img1], [t2, img2]])
+- IMPORTANT: Every slide in a Carousel must have the same structure — same component types in the same order.
+- For image carousels use: [[title, image, description, tags], ...] — every slide must follow this exact pattern.
+- Use real, publicly accessible image URLs (e.g. https://picsum.photos/seed/KEYWORD/800/500). Never hallucinate image URLs.
+
+### Data Display
+TagBlock(tags: string[]) — tags is an array of strings
+Tag(text: string, icon?: string, size?: "sm" | "md" | "lg", variant?: "neutral" | "info" | "success" | "warning" | "danger") — Styled tag/badge with optional icon and variant
+
+### Other
+Card(children: (TextContent | MarkDownRenderer | CardHeader | Callout | TextCallout | CodeBlock | Image | ImageBlock | ImageGallery | Separator | HorizontalBarChart | RadarChart | PieChart | RadialChart | SingleStackedBarChart | ScatterChart | AreaChart | BarChart | LineChart | Table | TagBlock | Form | Buttons | Steps | ListBlock | FollowUpBlock | SectionBlock | Tabs | Carousel)[]) — Vertical container for all content in a chat response. Children stack top to bottom automatically.
+
+## Action — Button Behavior
+
+Action([@steps...]) wires button clicks to operations. Steps are @-prefixed built-in actions. Steps execute in order.
+Buttons without an explicit Action prop automatically send their label to the assistant (equivalent to Action([@ToAssistant(label)])).
+
+Available steps:
+- @ToAssistant("message") — Send a message to the assistant (for conversational buttons like "Tell me more", "Explain this")
+- @OpenUrl("https://...") — Navigate to a URL
+
+Example — simple nav:
+```
+viewBtn = Button("View", Action([@OpenUrl("https://example.com")]))
+```
+
+- Action can be assigned to a variable or inlined: Button("Go", onSubmit) and Button("Go", Action([...])) both work
+
+## Hoisting & Streaming (CRITICAL)
+
+openui-lang supports hoisting: a reference can be used BEFORE it is defined. The parser resolves all references after the full input is parsed.
+
+During streaming, the output is re-parsed on every chunk. Undefined references are temporarily unresolved and appear once their definitions stream in. This creates a progressive top-down reveal — structure first, then data fills in.
+
+**Recommended statement order for optimal streaming:**
+1. `root = Card(...)` — UI shell appears immediately
+2. Component definitions — fill in as they stream
+3. Data values — leaf content last
+
+Always write the root = Card(...) statement first so the UI shell appears immediately, even before child data has streamed in.
+
+## Examples
+
+Example 1 — Table with follow-ups:
+
+root = Card([title, tbl, followUps])
+title = TextContent("Top Languages", "large-heavy")
+tbl = Table([Col("Language", langs), Col("Users (M)", users), Col("Year", years)])
+langs = ["Python", "JavaScript", "Java"]
+users = [15.7, 14.2, 12.1]
+years = [1991, 1995, 1995]
+followUps = FollowUpBlock([fu1, fu2])
+fu1 = FollowUpItem("Tell me more about Python")
+fu2 = FollowUpItem("Show me a JavaScript comparison")
+
+Example 2 — Clickable list:
+
+root = Card([title, list])
+title = TextContent("Choose a topic", "large-heavy")
+list = ListBlock([item1, item2, item3])
+item1 = ListItem("Getting started", "New to the platform? Start here.")
+item2 = ListItem("Advanced features", "Deep dives into powerful capabilities.")
+item3 = ListItem("Troubleshooting", "Common issues and how to fix them.")
+
+Example 3 — Image carousel with consistent slides + follow-ups:
+
+root = Card([header, carousel, followups])
+header = CardHeader("Featured Destinations", "Discover highlights and best time to visit")
+carousel = Carousel([[t1, img1, d1, tags1], [t2, img2, d2, tags2], [t3, img3, d3, tags3]], "card")
+t1 = TextContent("Paris, France", "large-heavy")
+img1 = ImageBlock("https://picsum.photos/seed/paris/800/500", "Eiffel Tower at night")
+d1 = TextContent("City of light — best Apr–Jun and Sep–Oct.", "default")
+tags1 = TagBlock(["Landmark", "City Break", "Culture"])
+t2 = TextContent("Kyoto, Japan", "large-heavy")
+img2 = ImageBlock("https://picsum.photos/seed/kyoto/800/500", "Bamboo grove in Arashiyama")
+d2 = TextContent("Temples and bamboo groves — best Mar–Apr and Nov.", "default")
+tags2 = TagBlock(["Temples", "Autumn", "Culture"])
+t3 = TextContent("Machu Picchu, Peru", "large-heavy")
+img3 = ImageBlock("https://picsum.photos/seed/machupicchu/800/500", "Inca citadel in the clouds")
+d3 = TextContent("High-altitude Inca citadel — best May–Sep.", "default")
+tags3 = TagBlock(["Andes", "Hike", "UNESCO"])
+followups = FollowUpBlock([fu1, fu2])
+fu1 = FollowUpItem("Show me only beach destinations")
+fu2 = FollowUpItem("Turn this into a comparison table")
+
+Example 4 — Form with validation:
+
+root = Card([title, form])
+title = TextContent("Contact Us", "large-heavy")
+form = Form("contact", btns, [nameField, emailField, msgField])
+nameField = FormControl("Name", Input("name", "Your name", "text", { required: true, minLength: 2 }))
+emailField = FormControl("Email", Input("email", "[email protected]", "email", { required: true, email: true }))
+msgField = FormControl("Message", TextArea("message", "Tell us more...", 4, { required: true, minLength: 10 }))
+btns = Buttons([Button("Submit", Action([@ToAssistant("Submit")]), "primary")])
+
+## Important Rules
+- When asked about data, generate realistic/plausible data
+- Choose components that best represent the content (tables for comparisons, charts for trends, forms for input, etc.)
+
+## Final Verification
+Before finishing, walk your output and verify:
+1. root = Card(...) is the FIRST line (for optimal streaming).
+2. Every referenced name is defined. Every defined name (other than root) is reachable from root.
+
+- Every response is a single Card(children) — children stack vertically automatically. No layout params are needed on Card.
+- Card is the only layout container. Do NOT use Stack. Use Tabs to switch between sections, Carousel for horizontal scroll.
+- Use FollowUpBlock at the END of a Card to suggest what the user can do or ask next.
+- Use ListBlock when presenting a set of options or steps the user can click to select.
+- Use SectionBlock to group long responses into collapsible sections — good for reports, FAQs, and structured content.
+- Use SectionItem inside SectionBlock: each item needs a unique value id, a trigger (header label), and a content array.
+- Carousel takes an array of slides, where each slide is an array of content: carousel = Carousel([[t1, img1], [t2, img2]])
+- IMPORTANT: Every slide in a Carousel must use the same component structure in the same order — e.g. all slides: [title, image, description, tags].
+- For image carousels, always use real accessible URLs like https://picsum.photos/seed/KEYWORD/800/500. Never hallucinate or invent image URLs.
+- For forms, define one FormControl reference per field so controls can stream progressively.
+- For forms, always provide the second Form argument with Buttons(...) actions: Form(name, buttons, fields).
+- Never nest Form inside Form.
diff --git a/examples/langgraph-chat/src/hooks/use-system-theme.tsx b/examples/langgraph-chat/src/hooks/use-system-theme.tsx
new file mode 100644
index 000000000..7c110c21d
--- /dev/null
+++ b/examples/langgraph-chat/src/hooks/use-system-theme.tsx
@@ -0,0 +1,41 @@
+"use client";
+
+import { createContext, useContext, useLayoutEffect, useState } from "react";
+
+type ThemeMode = "light" | "dark";
+
+interface ThemeContextType {
+ mode: ThemeMode;
+}
+
+const ThemeContext = createContext<ThemeContextType | undefined>(undefined);
+
+function getSystemMode(): ThemeMode {
+ if (typeof window === "undefined") return "light";
+ return window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
+}
+
+export function ThemeProvider({ children }: { children: React.ReactNode }) {
+ const [mode, setMode] = useState<ThemeMode>(getSystemMode);
+
+ useLayoutEffect(() => {
+ const mq = window.matchMedia("(prefers-color-scheme: dark)");
+ const handler = (e: MediaQueryListEvent) => setMode(e.matches ? "dark" : "light");
+ mq.addEventListener("change", handler);
+ return () => mq.removeEventListener("change", handler);
+ }, []);
+
+ useLayoutEffect(() => {
+ document.body.setAttribute("data-theme", mode);
+ }, [mode]);
+
+ return <ThemeContext.Provider value={{ mode }}>{children}</ThemeContext.Provider>;
+}
+
+export function useTheme(): ThemeMode {
+ const ctx = useContext(ThemeContext);
+ if (!ctx) {
+ throw new Error("useTheme must be used within a ThemeProvider");
+ }
+ return ctx.mode;
+}
diff --git a/examples/langgraph-chat/src/library.ts b/examples/langgraph-chat/src/library.ts
new file mode 100644
index 000000000..c7ceecfc1
--- /dev/null
+++ b/examples/langgraph-chat/src/library.ts
@@ -0,0 +1 @@
+export { openuiChatLibrary as library, openuiChatPromptOptions as promptOptions } from "@openuidev/react-ui/genui-lib";
diff --git a/examples/langgraph-chat/tsconfig.json b/examples/langgraph-chat/tsconfig.json
new file mode 100644
index 000000000..cf9c65d3e
--- /dev/null
+++ b/examples/langgraph-chat/tsconfig.json
@@ -0,0 +1,34 @@
+{
+ "compilerOptions": {
+ "target": "ES2017",
+ "lib": ["dom", "dom.iterable", "esnext"],
+ "allowJs": true,
+ "skipLibCheck": true,
+ "strict": true,
+ "noEmit": true,
+ "esModuleInterop": true,
+ "module": "esnext",
+ "moduleResolution": "bundler",
+ "resolveJsonModule": true,
+ "isolatedModules": true,
+ "jsx": "react-jsx",
+ "incremental": true,
+ "plugins": [
+ {
+ "name": "next"
+ }
+ ],
+ "paths": {
+ "@/*": ["./src/*"]
+ }
+ },
+ "include": [
+ "next-env.d.ts",
+ "**/*.ts",
+ "**/*.tsx",
+ ".next/types/**/*.ts",
+ ".next/dev/types/**/*.ts",
+ "**/*.mts"
+ ],
+ "exclude": ["node_modules"]
+}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 8a177a903..0d543f2d2 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -371,6 +371,73 @@ importers:
specifier: ^5
version: 5.9.3
+ examples/langgraph-chat:
+ dependencies:
+ '@langchain/core':
+ specifier: ^1.1.48
+ '@langchain/langgraph':
+ specifier: ^1.3.6
+ '@langchain/langgraph-sdk':
+ specifier: ^1.9.18
+ '@langchain/openai':
+ specifier: ^1.4.7
+ '@openuidev/react-headless':
+ specifier: workspace:*
+ version: link:../../packages/react-headless
+ '@openuidev/react-lang':
+ specifier: workspace:*
+ version: link:../../packages/react-lang
+ '@openuidev/react-ui':
+ specifier: workspace:*
+ version: link:../../packages/react-ui
+ next:
+ specifier: 16.1.6
+ react:
+ specifier: 19.2.3
+ version: 19.2.3
+ react-dom:
+ specifier: 19.2.3
+ version: 19.2.3([email protected])
+ zod:
+ specifier: ^4.0.0
+ version: 4.3.6
+ devDependencies:
+ '@langchain/langgraph-cli':
+ specifier: ^1.2.5
+ version: 1.3.0(rkbxzf4lbb37fnypru5cw45rfm)
+ '@openuidev/cli':
+ specifier: workspace:*
+ version: link:../../packages/openui-cli
+ '@tailwindcss/postcss':
+ specifier: ^4
+ version: 4.2.1
+ '@types/node':
+ specifier: ^20
+ version: 20.19.35
+ '@types/react':
+ specifier: ^19
+ version: 19.2.14
+ '@types/react-dom':
+ specifier: ^19
+ version: 19.2.3(@types/[email protected])
+ eslint:
+ specifier: ^9
+ version: 9.29.0([email protected])
+ eslint-config-next:
+ specifier: 16.1.6
+ tailwindcss:
+ specifier: ^4
+ version: 4.2.2
+ typescript:
+ specifier: ^5
+ version: 5.9.3
+
examples/mastra-chat:
dependencies:
'@ag-ui/core':
@@ -378,7 +445,7 @@ importers:
version: 0.0.53
'@ag-ui/mastra':
specifier: ^1.0.1
- version: 1.0.2(suzl24kb4yqljccthjeymvm4ve)
+ version: 1.0.2(7jgwigvf5ci6lnxb4uiipzuvli)
'@mastra/core':
specifier: 1.15.0
@@ -1243,7 +1310,7 @@ importers:
version: 2.6.1
nuxt:
specifier: ^3.17.0
tailwindcss:
specifier: ^4
version: 4.2.1
@@ -1904,10 +1971,6 @@ packages:
resolution: {integrity: sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==}
engines: {node: '>=6.9.0'}
- '@babel/[email protected]':
- resolution: {integrity: sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw==}
- engines: {node: '>=6.9.0'}
-
resolution: {integrity: sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==}
engines: {node: '>=6.9.0'}
@@ -2552,10 +2615,16 @@ packages:
peerDependencies:
storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0
+ '@clack/[email protected]':
+ resolution: {integrity: sha512-Pxhij4UXg8KSr7rPek6Zowm+5M22rbd2g1nfojHJkxp5YkFqiZ2+YLEM/XGVIzvGOcM0nqjIFxrpDwWRZYWYjA==}
+
resolution: {integrity: sha512-fT1qHVGAag4IEkrupZ6lRRbNCs1vS9P01KB/sG8zKgvUztbYtFBtQpjSITNwooDZ83tpsPzP0mRNs1/KVszCRA==}
engines: {node: '>= 20.12.0'}
+ '@clack/[email protected]':
+ resolution: {integrity: sha512-JIpyaboYZeWYlyP0H+OoPPxd6nqueG/CmN6ixBiNFsIDHREevjIf0n0Ohh5gr5C8pEDknzgvz+pIJ8dMhzWIeg==}
+
resolution: {integrity: sha512-S0My7XPGIgpRWMDG8uRqalbgT+a6FmCUdOW+HaIOVVpUPHOb7RrpvjTjiODadKp06fsrVDJZlIzc6yCTp4AnxA==}
engines: {node: '>= 20.12.0'}
@@ -2571,6 +2640,15 @@ packages:
resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==}
engines: {node: '>=0.1.90'}
+ '@colors/[email protected]':
+ resolution: {integrity: sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==}
+ engines: {node: '>=0.1.90'}
+
+ '@commander-js/[email protected]':
+ resolution: {integrity: sha512-q5P52BYb1hwVWE6dtID7VvuJWrlfbCv4klj7BjUUOqMz4jbSZD4C9fJ9lRjL2jnBGTg+gDDlaXN51rkWcLk4fg==}
+ peerDependencies:
+ commander: ~13.1.0
+
'@copilotkit/[email protected]':
resolution: {integrity: sha512-BlqT0F5LXfVALCI1ed6TkpJVREWlZ0OSvrIlH0oDqpsGgAfDS9biCp7mpkjoXD+pq5u97Zui3pEmlT/4JmJ5lQ==}
peerDependencies:
@@ -2690,6 +2768,9 @@ packages:
resolution: {integrity: sha512-QxULHAm7cNu72w97JUNCBFODFaXpbDg+dP8b/oWFAZ2MTRppA3U00Y2L1HqaS4J6yBqxwa/Y3nMBaxVKbB/NsA==}
engines: {node: '>=20.19.0'}
+ resolution: {integrity: sha512-R4MSXTVnuMzGD7bzHdW2ZhhdPC/igELENcq5IjEverBvq5hn1SXCWcsi6eSsdWP0/Ur+SItRRjAktmdoX/8R/Q==}
+
'@date-fns/[email protected]':
resolution: {integrity: sha512-LBrd7MiJZ9McsOgxqWX7AaxrDjcFVjWH/tIKJd7pnR7McaslGYOP1QmmiBXdJH/H/yLCT+rcQ7FaPBUxRGUtrg==}
@@ -3533,6 +3614,19 @@ packages:
peerDependencies:
hono: ^4
+ resolution: {integrity: sha512-vo/MwCnpJAVHBkGzWjCJ28wF45fYHAfbPZcH2rodZODHtch2GHA94KtMfusmVycTUtsLAsaNsHhtY6P8X3RQsA==}
+ engines: {node: '>=18.14.1'}
+ peerDependencies:
+ '@hono/node-server': ^1.19.11
+ hono: ^4.6.0
+
+ resolution: {integrity: sha512-Io1B6d011Gj1KknV4rXYz4le5+5EubcWEU/speUjuw9XMMIaP3n78yXLhjd2A3PXaXaUwEAluOiAyLqhBEJgsw==}
+ peerDependencies:
+ hono: '>=3.9.0'
+ zod: ^3.25.0 || ^4.0.0
+
'@humanfs/[email protected]':
resolution: {integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==}
engines: {node: '>=18.18.0'}
@@ -3941,6 +4035,34 @@ packages:
resolution: {integrity: sha512-vcJDV2vk1AlCwSh3aBm/urQ1ZrlXFFBocv11bz/NBUfLWD5/UDNMzwPdaAd2dKvNmTWa9FM2lirLU3+JCf4cRA==}
engines: {node: '>=18'}
+ '@langchain/[email protected]':
+ resolution: {integrity: sha512-fQU6Guyb1pwc2fEplmA8FPbKfOMAofjnyJzExevro0FxEiuGHE18Ov/ZHmT9trWCDTZRI9eW1VIc6aChxV8pAQ==}
+ engines: {node: '>=20'}
+
+ '@langchain/[email protected]':
+ resolution: {integrity: sha512-MPVMmcG/mIha/5WtEJ7GmDT/JkudRJTgONMMp/gUmuqLFlIEXj0ThpqATsh7k0Tdf4LXN/RgmVAxMcL409fRYQ==}
+ engines: {node: ^18.19.0 || >=20.16.0}
+ peerDependencies:
+ '@langchain/core': ^1.1.48
+ '@langchain/langgraph': ^1.3.6
+ '@langchain/langgraph-checkpoint': ~0.0.16 || ^0.1.0 || ~1.0.0
+ '@langchain/langgraph-sdk': ^1.9.3-rc.0
+ typescript: ^5.5.4
+ peerDependenciesMeta:
+ '@langchain/langgraph-sdk':
+ optional: true
+
+ '@langchain/[email protected]':
+ resolution: {integrity: sha512-okFt51NDyJ9J5Ey0dIfqbbdBDx+5/pXlvv9PIfdDJjAQD5bVSLuA5A9Ap7NV6Bip7qg7WCn7VdiGwv8QPq1qTw==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ '@langchain/core': ^1.1.44
+
+ '@langchain/[email protected]':
+ resolution: {integrity: sha512-ow30XBPVAP2+bLjNQP7xRc7/dFPQ0Gr8dH143UWX7Syg+0KlJ0ipijEEQNge8iQcko6B6r9MV1eNrZLDIy8zhg==}
+ engines: {node: ^18.19.0 || >=20.16.0}
+ hasBin: true
+
'@langchain/[email protected]':
resolution: {integrity: sha512-9srSCb2bSvcvehMgjA2sMMwX0o1VUgPN6ghwm5Fwc9JGAKsQa6n1S4eCwy1h4abuYxwajH5n3spBw+4I2WYbgw==}
peerDependencies:
@@ -3955,6 +4077,49 @@ packages:
react-dom:
optional: true
+ '@langchain/[email protected]':
+ resolution: {integrity: sha512-XE4DL12BkVTjTRUWi9CJN8s/hZ/mn4k2VcIsC5mWVHIepWZLmuW7T1NhVmRRZ7Kv4HpZ4O1plZkVtLpl6YLsoQ==}
+ peerDependencies:
+ '@langchain/core': ^1.1.48
+ react: ^18 || ^19
+ react-dom: ^18 || ^19
+ svelte: ^4.0.0 || ^5.0.0
+ vue: ^3.0.0
+ peerDependenciesMeta:
+ react:
+ optional: true
+ react-dom:
+ optional: true
+ svelte:
+ optional: true
+ vue:
+ optional: true
+
+ '@langchain/[email protected]':
+ resolution: {integrity: sha512-C4EYQOcp0uxWM0PSc8dQzES0WfHq+TQ82uZ9v8dE+qg+r/liNyoXnWjusi5vBjsdZ3aSaMeUb+E78XXNDpn2RQ==}
+ engines: {node: ^18.19.0 || >=20.16.0}
+ hasBin: true
+
+ '@langchain/[email protected]':
+ resolution: {integrity: sha512-rrDIeSYUqKKNASZgB5BqAFZ5y1zjrh/qc/pP/W0J7zV5+2HxrqgdMdTV6zy3RtNgDnrWShaI4EZnqObw1blWqQ==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ '@langchain/core': ^1.1.48
+ zod: ^3.25.32 || ^4.2.0
+ zod-to-json-schema: ^3.x
+ peerDependenciesMeta:
+ zod-to-json-schema:
+ optional: true
+
+ '@langchain/[email protected]':
+ resolution: {integrity: sha512-i1YLV4pWbGC6W8m0ZNpLObJuf1nyU4o8aWyX4AF9fHn7eM67HfIJWQ5n5XzcCpuSa41otrxA9jvH5XRKwI1qDA==}
+ engines: {node: '>=20'}
+ peerDependencies:
+ '@langchain/core': ^1.1.48
+
+ '@langchain/[email protected]':
+ resolution: {integrity: sha512-ws+J7MaHyhO5dG7f0vdyHQiUn9hoCnki0f3crJPa4MCTGzcRC39jYSCghyrGtBPYQnZbUQiGyRVpW3z3M8IpJg==}
+
'@loaderkit/[email protected]':
resolution: {integrity: sha512-rJzYKVcV4dxJv+vW6jlvagF8zvGxHJ2+HTr1e2qOejfmGhAApgJHl8Aog4mMszxceTRiKTTbnpgmTO1bEZHV/A==}
@@ -4166,6 +4331,9 @@ packages:
resolution: {integrity: sha512-hAV85Ckd9QR6RvH04MEKwsfLTksvFpO47j9xwtoIuvuPnlwecpSi+uZTtm8HirVbtlI2Fnz//xpcSTjFdyJk+g==}
+ resolution: {integrity: sha512-N1ySLuZjnAtN3kFnwhAwPvZah8RJxKasD7x1f8shFqhncnWZn4JMfg37diLNuoHsLAlrDfM3g4mawVdtAG8XLQ==}
+
resolution: {integrity: sha512-gd8HoHN4ufj73WmR3JmVolrpJR47ILK6LouP5xElPglaVxir6e1a7VzvTvDWkOoPXT9rkkTzyCxBu4yeZfZwcw==}
@@ -4184,6 +4352,12 @@ packages:
cpu: [arm64]
os: [darwin]
+ resolution: {integrity: sha512-wTzYulosJr/6nFnqGW7FrG3jfUUlEf8UjGA0/pyypJl42ExdVgC6xJgcXQ+V8QFn6niSG2Pb8+MIG1mZr2vczw==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [darwin]
+
resolution: {integrity: sha512-ZJGkkcNfYgrrMkqOdZ7zoLa1TOy0qpcMfk/z4Mh/FKUz40gVO+HNQWqmLxf67Z5WB64DRp0dhEbyHfel+6sJUg==}
engines: {node: '>= 10'}
@@ -4202,6 +4376,12 @@ packages:
cpu: [x64]
os: [darwin]
+ resolution: {integrity: sha512-BLFPYPDO+MNJsiDWbeVzqvYd4NyuRrEYVB5k2N3JfWncuHAy2IVwMAOlVQDFjj+krkWzhY2apvmekMkfQR0CUQ==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [darwin]
+
resolution: {integrity: sha512-v/YLBHIY132Ced3puBJ7YJKw1lqsCrgcNo2aRJlCEyQrrCeRJlvGlnmxhPxNQI3KE3N1DN5r9TPNPvka3nq5RQ==}
engines: {node: '>= 10'}
@@ -4220,6 +4400,12 @@ packages:
cpu: [arm64]
os: [linux]
+ resolution: {integrity: sha512-OJYkCd5pj/QloBvoEcJ2XiMnlJkRv9idWA/j0ugSuA34gMT6f5b7vOiCQHVRpvStoZUknhl6/UxOXL4OwtdaBw==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [linux]
+
resolution: {integrity: sha512-RPOvqlYBbcQjkz9VQQDZ2T2bARIjXZV1KFlt+V2Mr6SW/e4I9fcKsaA0hdyf2FHoTlsV2xnBd5Y912rP/1Ce6w==}
engines: {node: '>= 10'}
@@ -4238,6 +4424,12 @@ packages:
cpu: [arm64]
os: [linux]
+ resolution: {integrity: sha512-S4J2v+8tT3NIO9u2q+S0G5KdvNDjXfAv06OhfOzNDaBn5rw84DGXWndOEB7d5/x852A20sW1M56vhC/tRVbccQ==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [linux]
+
resolution: {integrity: sha512-URUTu1+dMkxJsPFgm+OeEvq9wf5sujw0EvgYy80TDGHTSLTnIHeqb0Eu8A3sC95IRgjejQL+kC4mw+4yPxiAXA==}
engines: {node: '>= 10'}
@@ -4256,6 +4448,12 @@ packages:
cpu: [x64]
os: [linux]
+ resolution: {integrity: sha512-2eEBDkFlMMNQnkTyPBhQOAyn2qMxyG2eE7GPH2WIDGEpEILcBPI/jdSv4t6xupSP+ot/jkfrCShLAa7+ZUPcJQ==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [linux]
+
resolution: {integrity: sha512-DOj182mPV8G3UkrayLoREM5YEYI+Dk5wv7Ox9xl1fFibAELEsFD0lDPfHIeILlutMMfdyhlzYPELG3peuKaurw==}
engines: {node: '>= 10'}
@@ -4274,6 +4472,12 @@ packages:
cpu: [x64]
os: [linux]
+ resolution: {integrity: sha512-oicJwRlyOoZXVlxmIMaTq7f8pN9QNbdes0q2FXfRsPhfCi8n8JmOZJm5oo1pwDaFbnnD421rVU409M3evFbIqg==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [linux]
+
resolution: {integrity: sha512-HKQ5SP/V/ub73UvF7n/zeJlxk2kLmtL7Wzrg4WfmkjmNos5onJ2tKu7yZOPdL18A6Svfn3max29ym+ry7NkK4g==}
engines: {node: '>= 10'}
@@ -4292,6 +4496,12 @@ packages:
cpu: [arm64]
os: [win32]
+ resolution: {integrity: sha512-gQmm8izDTPgs+DCWH22kcDmuUp7NyiJgEl18bcr8irXA5N2m2O+JQIr6f3ct42GOs9c0h8QF3L5SzIxcYAAXXw==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [win32]
+
resolution: {integrity: sha512-LZXpTlPyS5v7HhSmnvsLGP3iIYgYOBnc8r8ArlT55sGHV89bR2HlDdBjWQ+PY6SJMmk8TuVGFuxalnP3k/0Dwg==}
engines: {node: '>= 10'}
@@ -4310,6 +4520,12 @@ packages:
cpu: [x64]
os: [win32]
+ resolution: {integrity: sha512-NRfO39AIrzBnixKbjuo2YiYhB6o9d8v/ymU9m/Xk8cyVk+k7XylniXkHwjs4s70wedVffc6bQNbufk5v0xEm0A==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [win32]
+
resolution: {integrity: sha512-F0+4i0h9J6C4eE3EAPWsoCk7UW/dbzOjyzxY0qnDUOYFu6FFmdZ6l97/XdV3/Nz3VYyO7UWjyEJUXkGqcoXfMA==}
engines: {node: '>= 10'}
@@ -7566,6 +7782,9 @@ packages:
'@sinonjs/[email protected]':
resolution: {integrity: sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==}
+ '@so-ric/[email protected]':
+ resolution: {integrity: sha512-/KiKkpHNOBgkFJwu9sh48LkHSMYGyuTcSFK/qMBdnOAlrRJzRSXAOFB5qwzaVQuDl8wAvHVMkaASQDReTahxuw==}
+
'@speed-highlight/[email protected]':
resolution: {integrity: sha512-BMq1K3DsElxDWawkX6eLg9+CKJrTVGCBAWVuHXVUV2u0s2711qiChLSId6ikYPfxhdYocLNt3wWwSvDiTvFabw==}
@@ -8470,6 +8689,9 @@ packages:
resolution: {integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw==}
+
resolution: {integrity: sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==}
@@ -8494,6 +8716,9 @@ packages:
resolution: {integrity: sha512-qUHkeCyQFxMXg79wQfTtfndEC+N9ZZg76HJftDJp+qH2tV7Gj4OJi7l+PiWwJ+pWtW8GwSmqsDj/oymhrTWXjg==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==}
+
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-PegsU+XfyJJNjd4+u/k6f9yTyp0lEXXiPopUNobZcIAUJFGICFLN+sP0Rb3JehVmiij1Ph0dFGYqODoRo/2+6A==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -8553,6 +8778,11 @@ packages:
resolution: {integrity: sha512-U3gxVaDVnuZKhSspW/MzMxE1kq7zOdc072FcSNoqA1I9p8HyKbBFfEHoWckBAMgNMph4MamwS5iTVzFmrnt8TQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-PJFXFS4ZJKiJ9Qiuix6Dz/OwEIqHD7Dme1UwZhTK11vR+5dqW2ACbdndWQexBzCx+CPuMe5WBYQWCsFyGlQLlQ==}
+ peerDependencies:
+ typescript: '*'
+
resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==}
deprecated: Potential CWE-502 - Update to 1.3.1 or higher
@@ -9478,11 +9708,6 @@ packages:
resolution: {integrity: sha512-nfulgvOR6S4gt9UKCeGJOuSGBPGiFT6oQ/2UBnvTY/5aQ1PnksW72fhZkM30DzoRRv2WpwZf1vHHEr3mtuXIWQ==}
- resolution: {integrity: sha512-PJ8gYKeS5e/whHBh8xrwYK+dAvEj7JXtz6uTucnMRB8OiGTsKccFekoRrjajPBHV8oOY+2tI4uxeceSimKwMFA==}
- engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
- hasBin: true
-
resolution: {integrity: sha512-48xSriZYYg+8qXna9kwqjIVzuQxi+KYWp2+5nCYnYKPTr0LvD89Jqk2Or5ogxz0NUMfIjhh2lIUX/LyX9B4oIg==}
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
@@ -9491,6 +9716,9 @@ packages:
resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==}
+ resolution: {integrity: sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==}
+
resolution: {integrity: sha512-Db1SbgBS/fg/392AblrMJk97KggmvYhr4pB5ZIMTWtaivCPMWLkmb7m21cJvpvgK+J3nsU2CmmixNBZx4vFj/w==}
engines: {node: '>=8.0.0'}
@@ -9754,15 +9982,35 @@ packages:
resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==}
engines: {node: '>=7.0.0'}
+ resolution: {integrity: sha512-fasDH2ont2GqF5HpyO4w0+BcewlhHEZOFn9c1ckZdHpJ56Qb7MHhH/IcJZbBGgvdtwdwNbLvxiBEdg336iA9Sg==}
+ engines: {node: '>=14.6'}
+
resolution: {integrity: sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==}
resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}
+ resolution: {integrity: sha512-1bPaDNFm0axzE4MEAzKPuqKWeRaT43U/hyxKPBdqTfmPF+d6n7FSoTFxLVULUJOmiLp01KjhIPPH+HrXZJN4Rg==}
+ engines: {node: '>=12.20'}
+
+ resolution: {integrity: sha512-Bb6Cq8oq0IjDOe8wJmi4JeNn763Xs9cfrBcaylK1tPypWzyoy2G3l90v9k64kjphl/ZJjPIShFztenRomi8WTg==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-ezmVcLR3xAVp8kYOm4GS45ZLLgIE6SPAFoduLr6hTDajwb3KZ2F46gulK3XpcwRFb5KKGCSezCBAY4Dw4HsyXA==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==}
+ resolution: {integrity: sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==}
+ engines: {node: '>=0.1.90'}
+
resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==}
engines: {node: '>= 0.8'}
@@ -9785,6 +10033,10 @@ packages:
resolution: {integrity: sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==}
engines: {node: '>=18'}
+ resolution: {integrity: sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==}
engines: {node: '>=20'}
@@ -9895,6 +10147,10 @@ packages:
resolution: {integrity: sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ==}
engines: {node: '>=18'}
+ resolution: {integrity: sha512-7Vv6asjS4gMOuILabD3l739tsaxFQmC+a7pLZm02zyvs8p977bL3zEgq3yDk5rn9B0PbYgIv++jmHcuUab4RhA==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-OM4cAF3D6VtH/WkLtWvyNC56EZVXsZdU3iqaMG2B4WvYrlqU831pc4UtG5yp0sE9z8Y02wVN7PjW5Zf9Gt0f1Q==}
@@ -9927,6 +10183,10 @@ packages:
resolution: {integrity: sha512-piICUB6ei4IlTv1+653yq5+KoqfBYmj9bw6LqXoOneTMDXk5nM1qt12mFW1caG3LlJXEKW1Bp0WggEmIfQB34g==}
engines: {node: '>= 14'}
+ resolution: {integrity: sha512-BKKkSLvzeyoZCq3rM0F/YsPlG+p3EWEg9ZV1OgQpZpf4Fc7QWsdlCf/n/USS97m9hdMJTVjLiv7DMaqfKs9JgA==}
+ hasBin: true
+
resolution: {integrity: sha512-ixNtAJndqh173VQ4KodSdJEI6nuioBWI0V1ITNKhZZsO0pEMoDxz539T4FTTbSZ/xIOSuDnzxLVRqBVSvPNE2g==}
engines: {node: '>=18.0'}
@@ -10271,6 +10531,14 @@ packages:
resolution: {integrity: sha512-OUepMozQULMLUmhxS95Vudo0jb0UchLimi3+pQ2plj61Fcy8axbP9hbiD4Sz6DPqn6XG3kfmziVfQ1rSys5AJQ==}
+ resolution: {integrity: sha512-WzMx3mW98SN+zn3hgemf4OzdmyNhhhKz5Ay0pUfQiMQ3e1g+xmTJWp/pKdwKVXhdSkAEGIIzqeuWrL3mV/AXbA==}
+ peerDependencies:
+ babel-plugin-macros: ^3.1.0
+ peerDependenciesMeta:
+ babel-plugin-macros:
+ optional: true
+
resolution: {integrity: sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==}
engines: {node: '>=6'}
@@ -10454,9 +10722,6 @@ packages:
resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==}
- resolution: {integrity: sha512-GP+M7aeluQo9uAyiTCxgIj/j+PrWhMlY7LFVj8prlsPljd0Fdg9AprlfUi+OCSFWy9Y5/2D/Jrj9HS8Z4rpKWA==}
-
resolution: {integrity: sha512-Q6Hts7N9FnJc5LeGRINFvLhCI9xZmNtTDe5ZbcVezQz7cU4a8Aua3GH1b8J2XY8Al9PF+OCwYqhgsOOheMdvkA==}
@@ -10492,6 +10757,9 @@ packages:
resolution: {integrity: sha512-i6UzDscO/XfAcNYD75CfICkmfLedpyPDdozrLMmQc5ORaQcdMoc21OnlEylMIqI7U8eniKrPMxxtj8k0vhmJhA==}
engines: {node: '>=14'}
+ resolution: {integrity: sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==}
+
resolution: {integrity: sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==}
engines: {node: '>= 0.8'}
@@ -10503,10 +10771,6 @@ packages:
resolution: {integrity: sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==}
- resolution: {integrity: sha512-phv3E1Xl4tQOShqSte26C7Fl84EwUdZsyOuSSk9qtAGyyQs2s3jJzComh+Abf4g187lUUAvH+H26omrqia2aGg==}
- engines: {node: '>=10.13.0'}
-
resolution: {integrity: sha512-xYcDWrpELkFzz9SpZ3PlI6Eu6eD93Yf0WLDRxikGhWJ3MAir2SNZTIVCVZqZ/NUyx8AdMc2gT9C0gPiw18kG+A==}
engines: {node: '>=10.13.0'}
@@ -10595,6 +10859,9 @@ packages:
resolution: {integrity: sha512-8Ja+rNJ0Lt56Pcf3TAmpBZjmx8ZcK5Ts4cAzIOjsjevg9oSXJnl6SUQ2EevU8tv3h6ZLWmoKL5H4fgWvdvfETw==}
+ resolution: {integrity: sha512-xzLRHuDZfbDAld+PlQkY028juyfMrYaMRsB4yLfvF3hKBna/cq3bWAHNKz2WQ2YbwbYwYh3B33N1oqBUoX7aww==}
+
resolution: {integrity: sha512-H2/S7Pm8a9CL1uhp9OvjwrBh5Pvx0H8qVOxNu8Wed9Y7qv56MPtq+GGM8RJpq6glYJn9Wspr8uw7l55uyinNeg==}
peerDependencies:
@@ -10869,6 +11136,9 @@ packages:
resolution: {integrity: sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==}
+ resolution: {integrity: sha512-mlsTRyGaPBjPedk6Bvw+aqbsXDtoAyAzm5MO7JgU+yVRyMQ5O8bD4Kcci7BS85f93veegeCPkL8R4GLClnjLFw==}
+
resolution: {integrity: sha512-LUd5euvbMLpwOF8m6ivPCbhQeSiYVNb8Vs0fQ8QjXo0JTkEHpz8pxdQf0gStltaPpw0Cca8b39KxvK9cfKRiAw==}
@@ -10896,6 +11166,10 @@ packages:
resolution: {integrity: sha512-9Be3ZoN4LmYR90tUoVu2te2BsbzHfhJyfEiAVfz7N5/zv+jduIfLrV2xdQXOHbaD6KgpGdO9PRPM1Y4Q9QkPkA==}
engines: {node: ^18.19.0 || >=20.5.0}
+ resolution: {integrity: sha512-Fqs7ChZm72y40wKjOFXBKg7nJZvQJmewP5/7LtePDdnah/+FH9Hp5sgMujSCMPXlxOAW2//1jrW9pnsY7o20vQ==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA==}
engines: {node: '>=12.0.0'}
@@ -11003,6 +11277,11 @@ packages:
resolution: {integrity: sha512-LyExtJWKxtgVzmgtEHyQtLFpw1KFhQphF9nTG8TpAIVkiI/xQ3FJh75tRFLYl4hkn7BNIIdLJInuDAavX35pMw==}
+ resolution: {integrity: sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==}
+ engines: {node: '>= 10.17.0'}
+ hasBin: true
+
resolution: {integrity: sha512-ZvLdcY8P+N8mGQJahJV5G4U88CSvT1rP8ApL6uETe88MBXrBHAkZlSEySdUlyztF7ccb+Znos3TFqaepHxdhBg==}
@@ -11081,6 +11360,9 @@ packages:
resolution: {integrity: sha512-ztsSx77JBtkuMrEypfhgc3cI0+0h+svqeie7xHbh1k/IKdcydnvadp/mUaGgjAOXQmQSxsqgaRhS3q9fy+1kxg==}
+ resolution: {integrity: sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==}
+
resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==}
engines: {node: '>=12.0.0'}
@@ -11090,6 +11372,9 @@ packages:
picomatch:
optional: true
+ resolution: {integrity: sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==}
+
resolution: {integrity: sha512-FJqqoDBR00Mdj9ppamLa/Y7vxm+PRmNWA67N846RvsoYVMKB4q3y/de5PA7gUmRMYK/8CMz2GDZQmCRN1wBcWA==}
@@ -11148,6 +11433,9 @@ packages:
resolution: {integrity: sha512-3PYnM29RFXwvAN6Pc/scUfkI7RwhQ/xqyLUyPNlXUp9S40zI8nup9tUSrTLSVnWGBN38FNiGWbwZOB6uR4OGdw==}
+ resolution: {integrity: sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==}
+
resolution: {integrity: sha512-6FPvD/IVyT4ZlNe7Wcn5Fb/4ChigpucKYSvD6a+0iMoLn2inpo711eyIcKjmDtE5XNcgAkSH9uN/nfAeZzHEfg==}
@@ -11357,6 +11645,9 @@ packages:
resolution: {integrity: sha512-SFdFmIJi+ybC0vjlHN0ZGVGHc3lgE0DxPAT0djjVg+kjOnSqclqmj0KQ7ykTOLP6YxoqOvuAODGdcHJn+43q3g==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-ySFolZQfw9FoDb3ed9d80Cm9f0+r7qj+HJkWjeD9RBfpxEVTlVhol+gvaQB/78WbwYfbnNh8nWHHBSlg072y6A==}
+
resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==}
engines: {node: '>=6.9.0'}
@@ -11388,6 +11679,10 @@ packages:
resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==}
+ engines: {node: '>=8'}
+
resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==}
engines: {node: '>=16'}
@@ -11740,6 +12035,12 @@ packages:
resolution: {integrity: sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw==}
engines: {node: '>=0.10.0'}
+ resolution: {integrity: sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==}
+ engines: {node: ^10 || ^12 || >= 14}
+ peerDependencies:
+ postcss: '>=8.5.10'
+
resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==}
@@ -12057,6 +12358,10 @@ packages:
resolution: {integrity: sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-oG7cgbmg5kLYae2N5IVd3jm2s+vldjxJzK1pcu9LfpGuQ93MQSzo0okvRna+7y5ifrD+20FE8FvjusyGaz14fw==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==}
engines: {node: '>=8'}
@@ -12295,6 +12600,9 @@ packages:
resolution: {integrity: sha512-4LqMNoONzR43B1W0ek0fhXMsDNW/zxa1NdFAVMY+k28pgZLovR4G3PB5MrpTxCy1QaZCqNoiaKPr5w5qZHfSNw==}
+ resolution: {integrity: sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==}
+
resolution: {integrity: sha512-ONPnazC96VKDntab9j9JKwIWhZ4ZUceB4A9Epu4Ssg0hYFmtHZSeQ+n15nIwTFmcBUKtExOer8WTJ4GF9MO64A==}
hasBin: true
@@ -12319,6 +12627,26 @@ packages:
ws:
optional: true
+ resolution: {integrity: sha512-6IRm+sAxHT2n5GAZbqEnUzkhOu3Q8vqQtMiOpYfGiI+pxUe/fYQSzV0Pr7q5x9JD8bnZ8xK2/P9dhPHs4zO/Nw==}
+ peerDependencies:
+ '@opentelemetry/api': '*'
+ '@opentelemetry/exporter-trace-otlp-proto': '*'
+ '@opentelemetry/sdk-trace-base': '*'
+ openai: '*'
+ ws: '>=7'
+ peerDependenciesMeta:
+ '@opentelemetry/api':
+ optional: true
+ '@opentelemetry/exporter-trace-otlp-proto':
+ optional: true
+ '@opentelemetry/sdk-trace-base':
+ optional: true
+ openai:
+ optional: true
+ ws:
+ optional: true
+
resolution: {integrity: sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ==}
@@ -12511,6 +12839,10 @@ packages:
resolution: {integrity: sha512-DFEqQ3ihfS9blba08cLfYf1NRAIEm+dDjic073DRDc3/JspI/8wYmtDsHwd3+4hwvdxSK7PGaElfTmm0awWJ4w==}
engines: {node: '>=6.11.5'}
+ resolution: {integrity: sha512-FMJTLMXfCLMLfJxcX9PFqX5qD88Z5MRGaZCVzfuqeZSPsyiBzs+pahDQjbIWz2QIzPZz0NX9Zy4FX3lmK6YHIg==}
+ engines: {node: '>= 12.13.0'}
+
resolution: {integrity: sha512-arhlxbFRmoQHl33a0Zkle/YWlmNwoyt6QNZEIJcqNbdrsix5Lvc4HyyI3EnwxTYlZYc32EbYrQ8SzEZ7dqgg9A==}
engines: {node: '>=14'}
@@ -12529,6 +12861,9 @@ packages:
resolution: {integrity: sha512-J8xewKD/Gk22OZbhpOVSwcs60zhd95ESDwezOFuA3/099925PdHJ7OFHNTGtajL3AlZkykD32HykiMo+BIBI8A==}
+ resolution: {integrity: sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==}
+
resolution: {integrity: sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==}
@@ -12561,6 +12896,10 @@ packages:
resolution: {integrity: sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==}
engines: {node: '>=4'}
+ resolution: {integrity: sha512-TFYA4jnP7PVbmlBIfhlSe+WKxs9dklXMTEGcBCIvLhE/Tn3H6Gk1norupVW7m5Cnd4bLcr08AytbyV/xj7f/kQ==}
+ engines: {node: '>= 12.0.0'}
+
resolution: {integrity: sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA==}
@@ -13227,6 +13566,27 @@ packages:
sass:
optional: true
+ resolution: {integrity: sha512-hkyRkcu5x/41KoqnROkfTm2pZVbKxvbZRuNvKXLRXxs3VfyO0WhY50TQS40EuKO9SW3rBj/sF3WbVwDACeMZyw==}
+ engines: {node: '>=20.9.0'}
+ hasBin: true
+ peerDependencies:
+ '@opentelemetry/api': ^1.1.0
+ '@playwright/test': ^1.51.1
+ babel-plugin-react-compiler: '*'
+ react: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0
+ react-dom: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0
+ sass: ^1.3.0
+ peerDependenciesMeta:
+ '@opentelemetry/api':
+ optional: true
+ '@playwright/test':
+ optional: true
+ babel-plugin-react-compiler:
+ optional: true
+ sass:
+ optional: true
+
resolution: {integrity: sha512-qOVgKJg1+At15NpeUP+eJgCHvTCgXsogweq87Ri/Ix7PkqQHg4sdaXmSFqKlgaIXE4kW0g25LE68W87UANlHtw==}
engines: {node: '>=20.9.0'}
@@ -13321,9 +13681,6 @@ packages:
resolution: {integrity: sha512-8DY+kFsDkNXy1sJglUfuODx1/opAGJGyrTuFqEoN90oRc2Vk0ZbD4K2qmKXBBEhZQzdKHIVfEJpDU8Ak2NJEvQ==}
- resolution: {integrity: sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==}
-
resolution: {integrity: sha512-GYVXHE2KnrzAfsAjl4uP++evGFCrAU1jta4ubEjIG7YWt/64Gqv66a30yKwWczVjA6j3bM4nBwH7Pk1JmDHaxQ==}
engines: {node: '>=18'}
@@ -13467,6 +13824,9 @@ packages:
resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==}
+ resolution: {integrity: sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==}
+
resolution: {integrity: sha512-oyyPpiMaKARvvcgip+JV+7zci5L8D1W9RZIz2l1o08AM3pfspitVWnPt3mzHcBPp12oYMTy0pqrFs/C+m3EwsQ==}
engines: {node: '>=4'}
@@ -13599,6 +13959,10 @@ packages:
resolution: {integrity: sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ==}
engines: {node: '>=8'}
+ resolution: {integrity: sha512-7NED7xhQ74Ngp4JP/2e0VZHp7vSWfJfqeiR92jPgxsz6m0Se4P03YoTKa9dDXyZ3r6P616gUXttrB6nnHYKang==}
+ engines: {node: '>=20'}
+
resolution: {integrity: sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ==}
engines: {node: '>=8'}
@@ -13611,6 +13975,10 @@ packages:
resolution: {integrity: sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==}
engines: {node: '>=8'}
+ resolution: {integrity: sha512-AxTM2wDGORHGEkPCt8yqxOTMgpfbEHqF51f/5fJCmwFC3C/zNcGT63SymH2ttOAaiIws2zVg4+izQCjrakcwHg==}
+ engines: {node: '>=20'}
+
resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==}
engines: {node: '>=6'}
@@ -13724,6 +14092,9 @@ packages:
resolution: {integrity: sha512-XIxfHpEuSJbITd1H3EeQwpcZbTLHc+VVr8ANI9t5sit565tsI4/xK3KWTUFE2e6QiangUkh3B0jihzmGnNrRsQ==}
+ resolution: {integrity: sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==}
+
resolution: {integrity: sha512-LjgdTytVFXeUgtHZr9WYViYSM/g8MkcTPYDlPa3cDqMirHjKiSZPYd6DoL7pK8AJQr+uWkQvCjHNdiMqsrJs+g==}
@@ -13894,6 +14265,35 @@ packages:
peerDependencies:
postcss: ^8.5.13
+ resolution: {integrity: sha512-k3kNe0aNFQDAZGbin48pL2VNidTF0w4/eASDsxlyspobzU3wZQLOGj7L9gfRe0Jo9/4uud09DsjFNH7winGv8Q==}
+ engines: {node: ^10 || ^12 || >= 14}
+ peerDependencies:
+ postcss: '>=8.5.10'
+
+ resolution: {integrity: sha512-5kcJm/zk+GJDSfw+V/42fJ5fhjL5YbFDl8nVdXkJPLLW+Vf9mTD5Xe0wqIaDnLuL2U6cDNpTr+UQ+v2HWIBhzw==}
+ engines: {node: ^10 || ^12 || >= 14}
+ peerDependencies:
+ postcss: '>=8.5.10'
+
+ resolution: {integrity: sha512-m9jZstCVaqGjTAuny8MdgE88scJnCiQSlSrOWcTQgM2t32UBe+MUmFSO5t7VMSfAf/FJKImAxBav8ooCHJXCJA==}
+ engines: {node: ^10 || ^12 || >= 14}
+ peerDependencies:
+ postcss: '>=8.5.10'
+
+ resolution: {integrity: sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==}
+ engines: {node: ^10 || ^12 || >= 14}
+ peerDependencies:
+ postcss: '>=8.5.10'
+
+ resolution: {integrity: sha512-zyo2sAkVvuZFFy0gc2+4O+xar5dYlaVy/ebO24KT0ftk/iJevSNyPyQellsBLlnccwh7f6V6Y4GvuKRYToNgpQ==}
+ peerDependencies:
+ postcss: '>=8.5.10'
+
resolution: {integrity: sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==}
engines: {node: '>=12.0'}
@@ -14399,6 +14799,10 @@ packages:
resolution: {integrity: sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==}
+ resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==}
+ engines: {node: '>= 6'}
+
resolution: {integrity: sha512-oIGGmcpTLwPga8Bn6/Z75SVaH1z5dUut2ibSyAMVhmUggWpmDn2dapB0n7f8nwaSiRtepAsfJyfXIO5DCVAODg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@@ -14969,6 +15373,9 @@ packages:
resolution: {integrity: sha512-+L3ccpzibovGXFK+Ap/f8LOS0ahMrHTf3xu7mMLSpEGU0EO9ucaysSylKo9eRDFNhWve/y275iPmIZ4z39a9iA==}
+ resolution: {integrity: sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg==}
+
resolution: {integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==}
engines: {node: '>=10'}
@@ -15023,6 +15430,9 @@ packages:
resolution: {integrity: sha512-0nQuG6jf1w+wddNEEXCF4nTg3LtufWINB5eFEN+5TNZW7KWJp6x87+JFL43vaAUPyCfH1wID+mNVyW6OHtFamg==}
+ resolution: {integrity: sha512-kJUvRUFK49aub+a7T1nNE66EJbZBMnBgoC1UbCZ5n6bsZKBRga4KgBRTMn/pFkeCZSYtNeSyMxPDM0AXWELk2A==}
+
resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==}
engines: {node: '>=8'}
@@ -15165,6 +15575,10 @@ packages:
engines: {node: '>=16 || 14 >=14.17'}
hasBin: true
+ resolution: {integrity: sha512-H+ue8Zo4vJmV2nRjpx86P35lzwDT3nItnIsocgumgr0hHMQ+ZGq5vrERg9kJBo5AWGmxZDhzDo+WVIJqkB0cGA==}
+ engines: {node: '>=16'}
+
resolution: {integrity: sha512-SS+jx45GF1QjgEXQx4NJZV9ImqmO2NPz5FNsIHrsDjh2YsHnawpan7SNQ1o8NuhrbHZy9AZhIoCUiCeaW/C80g==}
engines: {node: '>=18'}
@@ -15267,10 +15681,6 @@ packages:
resolution: {integrity: sha512-KWBIxs1Xb6NoLdMVqhbhgwZf2PGBpPEiwOqgI4pFIYbNTfBXiKYyWoTsXgBQ9WFg/OlhnvHaY+AEpW7wSmFo2Q==}
- resolution: {integrity: sha512-g9ljZiwki/LfxmQADO3dEY1CbpmXT5Hm2fJ+QaGKwSXUylMybePR7/67YW7jOrrvjEgL1Fmz5kzyAjWVWLlucg==}
- engines: {node: '>=6'}
-
resolution: {integrity: sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==}
engines: {node: '>=6'}
@@ -15349,6 +15759,9 @@ packages:
resolution: {integrity: sha512-vlLytXkeP4xvEq2otHeJfSQIRyWxo/oZGEbXrtEEF9Hnmrdly59sUbzZ/QgyWuLYHctCHxFF4tRQZNQ9k60ExQ==}
+ resolution: {integrity: sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==}
+
resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==}
engines: {node: '>=0.8'}
@@ -15461,6 +15874,10 @@ packages:
resolution: {integrity: sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==}
+ resolution: {integrity: sha512-aZbgViZrg1QNcG+LULa7nhZpJTZSLm/mXnHXnbAbjmN5aSa0y7V+wvv6+4WaBtpISJzThKy+PIPxc1Nq1EJ9mg==}
+ engines: {node: '>= 14.0.0'}
+
resolution: {integrity: sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==}
@@ -15846,12 +16263,6 @@ packages:
resolution: {integrity: sha512-keBgTSfp3r6+s9ZcSma+0chwxQdmLbB5+dAD9vjtB21UTMYuKAxHXCU1K2CbCtnP09EaWeRvACnXk0EJtUx+hw==}
- resolution: {integrity: sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==}
- hasBin: true
- peerDependencies:
- browserslist: '>= 4.21.0'
-
resolution: {integrity: sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==}
hasBin: true
@@ -15911,6 +16322,10 @@ packages:
resolution: {integrity: sha512-vIYxrBCC/N/K+Js3qSN88go7kIfNPssr/hHCesKCQNAjmgvYS2oqr69kIufEG+O4+PfezOH4EbIeHCfFov8ZgQ==}
hasBin: true
+ resolution: {integrity: sha512-Qo+uWgilfSmAhXCMav1uYFynlQO7fMFiMVZsQqZRMIXp0O7rR7qjkj+cPvBHLgBqi960QCoo/PH2/6ZtVqKvrg==}
+ hasBin: true
+
resolution: {integrity: sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==}
engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}
@@ -16308,6 +16723,17 @@ packages:
engines: {node: '>=8'}
hasBin: true
+ resolution: {integrity: sha512-dq7t/E0D0QRi4XIOwu6HM1+5e//WPqylH88GVjKEhQVrzGFg34MCz+G7pMJcXFBen9C0kBsu5GYgbYsE2LDwKw==}
+
+ resolution: {integrity: sha512-8drMJ4rkgaPo1Me4zD/3WLfI/zPdA9o2IipKODunnGDcuqbHwjsbB79ylv04LCGGzU0xQ6vTznOMpQGaLhhm6A==}
+ engines: {node: '>= 12.0.0'}
+
+ resolution: {integrity: sha512-LZNJgPzfKR+/J3cHkxcpHKpKKvGfDZVPS4hfJCc4cCG0CgYzvlD6yE/S3CIL/Yt91ak327YCpiF/0MyeZHEHKA==}
+ engines: {node: '>= 12.0.0'}
+
resolution: {integrity: sha512-SSil+ecw6B4/Dm7Pf2sAshKQ5hWFvfyGlfPbEd6A14dOH6VDjrmbY86u6nZvy9omGwwIPFR8V41+of1EezgoUw==}
@@ -16451,6 +16877,9 @@ packages:
resolution: {integrity: sha512-4UEqdc2RYGHZc7Doyqkrqiln3p9X2DZVxaGbwhn2pi7MrRagKaOcIKe8L3OxYcbhXLgLFUS3zAYuQjKBQgmuNg==}
engines: {node: ^20.19.0 || ^22.12.0 || >=23}
+ resolution: {integrity: sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==}
+
resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}
engines: {node: '>=10'}
@@ -16603,12 +17032,12 @@ snapshots:
- react-dom
- ws
- '@ag-ui/[email protected](suzl24kb4yqljccthjeymvm4ve)':
+ '@ag-ui/[email protected](7jgwigvf5ci6lnxb4uiipzuvli)':
dependencies:
'@ag-ui/client': 0.0.49
'@ag-ui/core': 0.0.53
'@ai-sdk/ui-utils': 1.2.11([email protected])
rxjs: 7.8.1
@@ -16834,12 +17263,6 @@ snapshots:
js-tokens: 4.0.0
picocolors: 1.1.1
- '@babel/[email protected]':
- dependencies:
- '@babel/helper-validator-identifier': 7.28.5
- js-tokens: 4.0.0
- picocolors: 1.1.1
-
dependencies:
'@babel/helper-validator-identifier': 7.29.7
@@ -16852,7 +17275,7 @@ snapshots:
dependencies:
- '@babel/code-frame': 7.29.0
+ '@babel/code-frame': 7.29.7
'@babel/generator': 7.29.1
'@babel/helper-compilation-targets': 7.28.6
'@babel/helper-module-transforms': 7.28.6(@babel/[email protected])
@@ -16923,7 +17346,7 @@ snapshots:
dependencies:
'@babel/compat-data': 7.29.0
'@babel/helper-validator-option': 7.27.1
- browserslist: 4.25.0
+ browserslist: 4.28.2
lru-cache: 5.1.1
semver: 6.3.1
@@ -17584,7 +18007,7 @@ snapshots:
dependencies:
- '@babel/code-frame': 7.29.0
+ '@babel/code-frame': 7.29.7
'@babel/parser': 7.29.0
'@babel/types': 7.29.0
@@ -17596,7 +18019,7 @@ snapshots:
dependencies:
- '@babel/code-frame': 7.29.0
+ '@babel/code-frame': 7.29.7
'@babel/generator': 7.29.1
'@babel/helper-globals': 7.28.0
'@babel/parser': 7.29.0
@@ -17638,10 +18061,11 @@ snapshots:
'@babel/helper-string-parser': 8.0.0-rc.6
'@babel/helper-validator-identifier': 8.0.0-rc.6
optionalDependencies:
cac: 6.7.14
citty: 0.2.2
+ commander: 13.1.0
'@braidai/[email protected]': {}
@@ -17671,11 +18095,22 @@ snapshots:
- '@chromatic-com/playwright'
- react
+ '@clack/[email protected]':
+ dependencies:
+ picocolors: 1.1.1
+ sisteransi: 1.0.5
+
dependencies:
fast-wrap-ansi: 0.2.0
sisteransi: 1.0.5
+ '@clack/[email protected]':
+ dependencies:
+ '@clack/core': 0.4.1
+ picocolors: 1.1.1
+ sisteransi: 1.0.5
+
dependencies:
'@clack/core': 1.3.1
@@ -17690,8 +18125,14 @@ snapshots:
'@colors/[email protected]':
optional: true
+ '@colors/[email protected]': {}
+
dependencies:
+ commander: 13.1.0
+
+ : dependencies:
'@ag-ui/client': 0.0.46
'@ag-ui/core': 0.0.46
@@ -17719,7 +18160,8 @@ snapshots:
zod: 3.25.76
optionalDependencies:
transitivePeerDependencies:
- '@ag-ui/encoder'
@@ -17829,6 +18271,12 @@ snapshots:
'@csstools/[email protected]':
optional: true
+ dependencies:
+ '@so-ric/colorspace': 1.1.6
+ enabled: 2.0.0
+ kuler: 2.0.0
+
'@date-fns/[email protected]': {}
'@date-fns/[email protected]': {}
@@ -18695,6 +19143,20 @@ snapshots:
dependencies:
hono: 4.12.23
+ dependencies:
+ '@hono/node-server': 1.19.14([email protected])
+ hono: 4.12.23
+ ws: 8.21.0
+ transitivePeerDependencies:
+ - bufferutil
+ - utf-8-validate
+
+ dependencies:
+ hono: 4.12.23
+ zod: 4.3.6
+
'@humanfs/[email protected]': {}
'@humanfs/[email protected]':
@@ -19102,6 +19564,106 @@ snapshots:
- openai
- ws
+ dependencies:
+ '@cfworker/json-schema': 4.1.1
+ '@standard-schema/spec': 1.1.0
+ js-tiktoken: 1.0.21
+ mustache: 4.2.0
+ p-queue: 6.6.2
+ zod: 4.3.6
+ transitivePeerDependencies:
+ - '@opentelemetry/api'
+ - '@opentelemetry/exporter-trace-otlp-proto'
+ - '@opentelemetry/sdk-trace-base'
+ - openai
+ - ws
+
+ '@langchain/[email protected](rkbxzf4lbb37fnypru5cw45rfm)':
+ dependencies:
+ '@babel/code-frame': 7.29.7
+ '@hono/node-server': 1.19.14([email protected])
+ '@hono/node-ws': 1.3.1(@hono/[email protected]([email protected]))([email protected])
+ '@hono/zod-validator': 0.7.6([email protected])([email protected])
+ '@langchain/core': 1.1.48(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected])
+ '@langchain/langgraph-checkpoint': 1.1.0(@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected]))
+ '@langchain/langgraph-ui': 1.3.0
+ '@langchain/protocol': 0.0.16
+ '@types/json-schema': 7.0.15
+ '@typescript/vfs': 1.6.4([email protected])
+ dedent: 1.7.2([email protected])
+ dotenv: 16.4.7
+ exit-hook: 4.0.0
+ hono: 4.12.23
+ open: 10.2.0
+ semver: 7.8.1
+ stacktrace-parser: 0.1.11
+ superjson: 2.2.6
+ tsx: 4.20.3
+ typescript: 5.9.3
+ uuid: 14.0.0
+ winston: 3.19.0
+ winston-console-format: 1.0.8
+ zod: 4.3.6
+ optionalDependencies:
+ transitivePeerDependencies:
+ - '@opentelemetry/api'
+ - '@opentelemetry/exporter-trace-otlp-proto'
+ - '@opentelemetry/sdk-trace-base'
+ - babel-plugin-macros
+ - bufferutil
+ - openai
+ - supports-color
+ - utf-8-validate
+ - ws
+
+ dependencies:
+ '@langchain/core': 1.1.48(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected])
+ uuid: 14.0.0
+
+ '@langchain/[email protected](rkbxzf4lbb37fnypru5cw45rfm)':
+ dependencies:
+ '@babel/code-frame': 7.29.7
+ '@commander-js/extra-typings': 13.1.0([email protected])
+ '@langchain/langgraph-api': 1.3.0(rkbxzf4lbb37fnypru5cw45rfm)
+ chokidar: 4.0.3
+ commander: 13.1.0
+ create-langgraph: 1.1.5([email protected])
+ dedent: 1.7.2([email protected])
+ dotenv: 16.4.7
+ execa: 9.6.1
+ exit-hook: 4.0.0
+ extract-zip: 2.0.1
+ open: 10.2.0
+ package-manager-detector: 1.6.0
+ stacktrace-parser: 0.1.11
+ tar: 7.5.11
+ winston: 3.19.0
+ winston-console-format: 1.0.8
+ yaml: 2.8.3
+ zod: 4.3.6
+ transitivePeerDependencies:
+ - '@langchain/core'
+ - '@langchain/langgraph'
+ - '@langchain/langgraph-checkpoint'
+ - '@langchain/langgraph-sdk'
+ - '@opentelemetry/api'
+ - '@opentelemetry/exporter-trace-otlp-proto'
+ - '@opentelemetry/sdk-trace-base'
+ - babel-plugin-macros
+ - bufferutil
+ - openai
+ - supports-color
+ - typescript
+ - utf-8-validate
+ - ws
+
dependencies:
'@types/json-schema': 7.0.15
@@ -19113,6 +19675,81 @@ snapshots:
react: 19.2.3
react-dom: 19.2.3([email protected])
+ dependencies:
+ '@langchain/core': 0.3.80(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected])
+ '@langchain/protocol': 0.0.16
+ '@types/json-schema': 7.0.15
+ p-queue: 9.3.0
+ p-retry: 7.1.1
+ uuid: 14.0.0
+ optionalDependencies:
+ react: 19.2.3
+ react-dom: 19.2.3([email protected])
+ svelte: 5.55.9(@typescript-eslint/[email protected])
+ vue: 3.5.34([email protected])
+ optional: true
+
+ dependencies:
+ '@langchain/core': 1.1.48(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected])
+ '@langchain/protocol': 0.0.16
+ '@types/json-schema': 7.0.15
+ p-queue: 9.3.0
+ p-retry: 7.1.1
+ uuid: 14.0.0
+ optionalDependencies:
+ react: 19.2.3
+ react-dom: 19.2.3([email protected])
+ svelte: 5.55.9(@typescript-eslint/[email protected])
+ vue: 3.5.34([email protected])
+
+ '@langchain/[email protected]':
+ dependencies:
+ '@commander-js/extra-typings': 13.1.0([email protected])
+ commander: 13.1.0
+ esbuild: 0.25.12
+ esbuild-plugin-tailwindcss: 2.2.0
+ zod: 4.3.6
+
+ dependencies:
+ '@langchain/core': 1.1.48(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected])
+ '@langchain/langgraph-checkpoint': 1.1.0(@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected]))
+ '@langchain/protocol': 0.0.16
+ '@standard-schema/spec': 1.1.0
+ uuid: 14.0.0
+ zod: 4.3.6
+ optionalDependencies:
+ zod-to-json-schema: 3.25.2([email protected])
+ transitivePeerDependencies:
+ - react
+ - react-dom
+ - svelte
+ - vue
+
+ dependencies:
+ '@langchain/core': 0.3.80(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected])
+ js-tiktoken: 1.0.21
+ zod: 4.3.6
+ transitivePeerDependencies:
+ - ws
+ optional: true
+
+ dependencies:
+ '@langchain/core': 1.1.48(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected])
+ js-tiktoken: 1.0.21
+ zod: 4.3.6
+ transitivePeerDependencies:
+ - ws
+
+ '@langchain/[email protected]': {}
+
'@loaderkit/[email protected]':
dependencies:
'@braidai/lang': 1.1.2
@@ -19502,6 +20139,8 @@ snapshots:
'@next/[email protected]': {}
+ '@next/[email protected]': {}
+
'@next/[email protected]': {}
'@next/[email protected]': {}
@@ -19517,6 +20156,9 @@ snapshots:
optional: true
+ optional: true
+
optional: true
@@ -19526,6 +20168,9 @@ snapshots:
optional: true
+ optional: true
+
optional: true
@@ -19535,6 +20180,9 @@ snapshots:
optional: true
+ optional: true
+
optional: true
@@ -19544,6 +20192,9 @@ snapshots:
optional: true
+ optional: true
+
optional: true
@@ -19553,6 +20204,9 @@ snapshots:
optional: true
+ optional: true
+
optional: true
@@ -19562,6 +20216,9 @@ snapshots:
optional: true
+ optional: true
+
optional: true
@@ -19571,6 +20228,9 @@ snapshots:
optional: true
+ optional: true
+
optional: true
@@ -19580,6 +20240,9 @@ snapshots:
optional: true
+ optional: true
+
optional: true
@@ -19600,9 +20263,9 @@ snapshots:
'@nolyfill/[email protected]': {}
dependencies:
- '@bomb.sh/tab': 0.0.15([email protected])([email protected])
'@clack/prompts': 1.4.0
c12: 3.3.4([email protected])
citty: 0.2.2
@@ -19751,7 +20414,7 @@ snapshots:
transitivePeerDependencies:
- magicast
dependencies:
'@nuxt/devalue': 2.0.2
'@nuxt/kit': 3.21.6([email protected])
@@ -19769,7 +20432,7 @@ snapshots:
klona: 2.0.6
mocked-exports: 0.1.1
ohash: 2.0.11
pathe: 2.0.3
pkg-types: 2.3.1
@@ -19835,7 +20498,7 @@ snapshots:
rc9: 3.0.1
std-env: 4.1.0
dependencies:
'@nuxt/kit': 3.21.6([email protected])
'@rollup/plugin-replace': 6.0.3([email protected])
@@ -19854,7 +20517,7 @@ snapshots:
magic-string: 0.30.21
mlly: 1.8.2
mocked-exports: 0.1.1
nypm: 0.6.6
ohash: 2.0.11
pathe: 2.0.3
@@ -23383,7 +24046,7 @@ snapshots:
metro: 0.83.5
metro-config: 0.83.5
metro-core: 0.83.5
- semver: 7.7.4
+ semver: 7.8.1
transitivePeerDependencies:
- bufferutil
- supports-color
@@ -24247,6 +24910,11 @@ snapshots:
dependencies:
'@sinonjs/commons': 3.0.1
+ '@so-ric/[email protected]':
+ dependencies:
+ color: 5.0.3
+ text-hex: 1.0.0
+
'@speed-highlight/[email protected]': {}
@@ -24610,8 +25278,8 @@ snapshots:
'@tailwindcss/[email protected]':
dependencies:
'@jridgewell/remapping': 2.3.5
- enhanced-resolve: 5.19.0
- jiti: 2.6.1
+ enhanced-resolve: 5.22.0
+ jiti: 2.7.0
lightningcss: 1.31.1
magic-string: 0.30.21
source-map-js: 1.2.1
@@ -25025,7 +25693,7 @@ snapshots:
dependencies:
- '@types/estree': 1.0.8
+ '@types/estree': 1.0.9
'@types/[email protected]': {}
@@ -25176,6 +25844,8 @@ snapshots:
'@types/[email protected]': {}
+ '@types/[email protected]': {}
+
'@types/[email protected]': {}
'@types/[email protected]': {}
@@ -25194,6 +25864,11 @@ snapshots:
dependencies:
'@types/yargs-parser': 21.0.3
+ '@types/[email protected]':
+ dependencies:
+ '@types/node': 22.19.19
+ optional: true
+
dependencies:
'@eslint-community/regexpp': 4.12.2
@@ -25285,6 +25960,13 @@ snapshots:
'@typescript-eslint/types': 8.59.4
eslint-visitor-keys: 5.0.1
+ dependencies:
+ debug: 4.4.3
+ typescript: 5.9.3
+ transitivePeerDependencies:
+ - supports-color
+
'@ungap/[email protected]': {}
'@ungap/[email protected]': {}
@@ -26459,13 +27141,6 @@ snapshots:
- dependencies:
- caniuse-lite: 1.0.30001793
- electron-to-chromium: 1.5.170
- node-releases: 2.0.19
- update-browserslist-db: 1.1.3([email protected])
-
dependencies:
baseline-browser-mapping: 2.10.32
@@ -26478,6 +27153,8 @@ snapshots:
dependencies:
node-int64: 0.4.0
+
@@ -26747,12 +27424,29 @@ snapshots:
dependencies:
color-name: 1.1.4
+ dependencies:
+ color-name: 2.1.0
+
+
+ dependencies:
+ color-name: 2.1.0
+
+ dependencies:
+ color-convert: 3.1.3
+ color-string: 2.1.4
+
+
dependencies:
delayed-stream: 1.0.0
@@ -26767,6 +27461,8 @@ snapshots:
+
@@ -26867,6 +27563,10 @@ snapshots:
+ dependencies:
+ is-what: 5.5.0
+
dependencies:
browserslist: 4.28.2
@@ -26903,6 +27603,18 @@ snapshots:
crc-32: 1.2.2
readable-stream: 4.7.0
+ dependencies:
+ '@clack/prompts': 0.9.1
+ '@commander-js/extra-typings': 13.1.0([email protected])
+ commander: 13.1.0
+ dedent: 1.7.2([email protected])
+ extract-zip: 2.0.1
+ picocolors: 1.1.1
+ transitivePeerDependencies:
+ - babel-plugin-macros
+ - supports-color
+
@@ -27274,6 +27986,10 @@ snapshots:
+ optionalDependencies:
+ babel-plugin-macros: 3.1.0
+
@@ -27422,8 +28138,6 @@ snapshots:
-
@@ -27450,6 +28164,8 @@ snapshots:
+
@@ -27458,11 +28174,6 @@ snapshots:
dependencies:
once: 1.4.0
- dependencies:
- graceful-fs: 4.2.11
- tapable: 2.3.0
-
dependencies:
graceful-fs: 4.2.11
@@ -27616,6 +28327,13 @@ snapshots:
esast-util-from-estree: 2.0.0
vfile-message: 4.0.3
+ dependencies:
+ '@tailwindcss/postcss': 4.2.1
+ autoprefixer: 10.5.0([email protected])
+ postcss: 8.5.15
+ postcss-modules: 6.0.1([email protected])
+
dependencies:
debug: 4.4.3
@@ -27728,7 +28446,7 @@ snapshots:
eslint: 9.29.0([email protected])
eslint-import-resolver-node: 0.3.10
eslint-import-resolver-typescript: 3.10.1([email protected])([email protected]([email protected]))
eslint-plugin-jsx-a11y: 6.10.2([email protected]([email protected]))
eslint-plugin-react: 7.37.5([email protected]([email protected]))
eslint-plugin-react-hooks: 7.1.1([email protected]([email protected]))
@@ -27789,7 +28507,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
debug: 3.2.7
optionalDependencies:
@@ -27800,6 +28518,35 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ dependencies:
+ '@rtsao/scc': 1.1.0
+ array-includes: 3.1.9
+ array.prototype.findlastindex: 1.2.6
+ array.prototype.flat: 1.3.3
+ array.prototype.flatmap: 1.3.3
+ debug: 3.2.7
+ doctrine: 2.1.0
+ eslint: 9.29.0([email protected])
+ eslint-import-resolver-node: 0.3.10
+ hasown: 2.0.3
+ is-core-module: 2.16.2
+ is-glob: 4.0.3
+ minimatch: 3.1.5
+ object.fromentries: 2.0.8
+ object.groupby: 1.0.3
+ object.values: 1.2.1
+ semver: 6.3.1
+ string.prototype.trimend: 1.0.9
+ tsconfig-paths: 3.15.0
+ optionalDependencies:
+ '@typescript-eslint/parser': 8.59.4([email protected]([email protected]))([email protected])
+ transitivePeerDependencies:
+ - eslint-import-resolver-typescript
+ - eslint-import-resolver-webpack
+ - supports-color
+
dependencies:
'@rtsao/scc': 1.1.0
@@ -27811,7 +28558,7 @@ snapshots:
doctrine: 2.1.0
eslint: 9.29.0([email protected])
eslint-import-resolver-node: 0.3.10
hasown: 2.0.3
is-core-module: 2.16.2
is-glob: 4.0.3
@@ -27939,7 +28686,7 @@ snapshots:
'@humanfs/node': 0.16.6
'@humanwhocodes/module-importer': 1.0.1
'@humanwhocodes/retry': 0.4.3
- '@types/estree': 1.0.8
+ '@types/estree': 1.0.9
'@types/json-schema': 7.0.15
ajv: 6.15.0
chalk: 4.1.2
@@ -28043,6 +28790,8 @@ snapshots:
+
dependencies:
bare-events: 2.8.2
@@ -28086,6 +28835,8 @@ snapshots:
strip-final-newline: 4.0.0
yoctocolors: 2.1.2
+
@@ -28306,6 +29057,16 @@ snapshots:
pathe: 1.1.2
ufo: 1.6.4
+ dependencies:
+ debug: 4.4.3
+ get-stream: 5.2.0
+ yauzl: 2.10.0
+ optionalDependencies:
+ '@types/yauzl': 2.10.3
+ transitivePeerDependencies:
+ - supports-color
+
@@ -28386,10 +29147,16 @@ snapshots:
transitivePeerDependencies:
- encoding
+ dependencies:
+ pend: 1.2.0
+
optionalDependencies:
picomatch: 4.0.4
+
@@ -28466,6 +29233,8 @@ snapshots:
+
@@ -28648,6 +29417,10 @@ snapshots:
+ dependencies:
+ loader-utils: 3.3.1
+
@@ -28678,6 +29451,10 @@ snapshots:
dunder-proto: 1.0.1
es-object-atoms: 1.1.1
+ dependencies:
+ pump: 3.0.4
+
@@ -28959,7 +29736,7 @@ snapshots:
dependencies:
- '@types/estree': 1.0.8
+ '@types/estree': 1.0.9
'@types/hast': 3.0.4
'@types/unist': 3.0.3
comma-separated-tokens: 2.0.3
@@ -29156,6 +29933,10 @@ snapshots:
dependencies:
safer-buffer: 2.1.2
+ dependencies:
+ postcss: 8.5.15
+
@@ -29448,6 +30229,8 @@ snapshots:
call-bound: 1.0.4
get-intrinsic: 1.3.0
+
dependencies:
is-docker: 2.2.1
@@ -29520,7 +30303,7 @@ snapshots:
dependencies:
- '@babel/code-frame': 7.29.0
+ '@babel/code-frame': 7.29.7
'@jest/types': 29.6.3
'@types/stack-utils': 2.0.3
chalk: 4.1.2
@@ -29733,6 +30516,8 @@ snapshots:
+
@@ -29744,6 +30529,24 @@ snapshots:
ws: 8.21.0
+ dependencies:
+ p-queue: 6.6.2
+ optionalDependencies:
+ '@opentelemetry/api': 1.9.1
+ '@opentelemetry/sdk-trace-base': 2.2.0(@opentelemetry/[email protected])
+ ws: 8.21.0
+
+ dependencies:
+ p-queue: 6.6.2
+ optionalDependencies:
+ '@opentelemetry/api': 1.9.1
+ '@opentelemetry/sdk-trace-base': 2.2.0(@opentelemetry/[email protected])
+ ws: 8.21.0
+
@@ -29906,6 +30709,8 @@ snapshots:
+
dependencies:
mlly: 1.8.2
@@ -29924,6 +30729,8 @@ snapshots:
+
@@ -29946,6 +30753,15 @@ snapshots:
dependencies:
chalk: 2.4.2
+ dependencies:
+ '@colors/colors': 1.6.0
+ '@types/triple-beam': 1.3.5
+ fecha: 4.2.3
+ ms: 2.1.3
+ safe-stable-stringify: 2.5.0
+ triple-beam: 1.4.1
+
@@ -30618,7 +31434,7 @@ snapshots:
dependencies:
- '@babel/code-frame': 7.29.0
+ '@babel/code-frame': 7.29.7
'@babel/core': 7.29.0
'@babel/generator': 7.29.1
'@babel/parser': 7.29.2
@@ -31100,6 +31916,33 @@ snapshots:
- '@babel/core'
- babel-plugin-macros
+ dependencies:
+ '@next/env': 16.1.6
+ '@swc/helpers': 0.5.15
+ baseline-browser-mapping: 2.10.32
+ caniuse-lite: 1.0.30001793
+ postcss: 8.5.15
+ react: 19.2.3
+ react-dom: 19.2.3([email protected])
+ optionalDependencies:
+ '@next/swc-darwin-arm64': 16.1.6
+ '@next/swc-darwin-x64': 16.1.6
+ '@next/swc-linux-arm64-gnu': 16.1.6
+ '@next/swc-linux-arm64-musl': 16.1.6
+ '@next/swc-linux-x64-gnu': 16.1.6
+ '@next/swc-linux-x64-musl': 16.1.6
+ '@next/swc-win32-arm64-msvc': 16.1.6
+ '@next/swc-win32-x64-msvc': 16.1.6
+ '@opentelemetry/api': 1.9.1
+ babel-plugin-react-compiler: 1.0.0
+ sass: 1.89.2
+ sharp: 0.34.5
+ transitivePeerDependencies:
+ - '@babel/core'
+ - babel-plugin-macros
+
dependencies:
'@next/env': 16.2.6
@@ -31109,7 +31952,7 @@ snapshots:
postcss: 8.5.15
react: 19.2.3
react-dom: 19.2.3([email protected])
- styled-jsx: 5.1.6(@babel/[email protected])([email protected])
optionalDependencies:
'@next/swc-darwin-arm64': 16.2.6
'@next/swc-darwin-x64': 16.2.6
@@ -31163,7 +32006,7 @@ snapshots:
postcss: 8.5.15
react: 19.2.3
react-dom: 19.2.3([email protected])
- styled-jsx: 5.1.6(@babel/[email protected])([email protected])
optionalDependencies:
'@next/swc-darwin-arm64': 16.2.7
'@next/swc-darwin-x64': 16.2.7
@@ -31317,8 +32160,6 @@ snapshots:
-
@@ -31357,16 +32198,16 @@ snapshots:
dependencies:
bignumber.js: 9.3.1
dependencies:
'@dxup/nuxt': 0.4.1([email protected])([email protected])
'@nuxt/kit': 3.21.6([email protected])
'@nuxt/schema': 3.21.6
'@nuxt/telemetry': 2.8.0(@nuxt/[email protected]([email protected]))
'@unhead/vue': 2.1.15([email protected]([email protected]))
'@vue/shared': 3.5.34
c12: 3.3.4([email protected])
@@ -31586,6 +32427,10 @@ snapshots:
dependencies:
wrappy: 1.0.2
+ dependencies:
+ fn.name: 1.1.0
+
dependencies:
mimic-fn: 1.2.0
@@ -31783,6 +32628,11 @@ snapshots:
eventemitter3: 4.0.7
p-timeout: 3.2.0
+ dependencies:
+ eventemitter3: 5.0.4
+ p-timeout: 7.0.1
+
dependencies:
'@types/retry': 0.12.0
@@ -31796,6 +32646,8 @@ snapshots:
dependencies:
p-finally: 1.0.0
+
@@ -31902,6 +32754,8 @@ snapshots:
+
@@ -32083,6 +32937,39 @@ snapshots:
postcss: 8.5.15
postcss-selector-parser: 7.1.1
+ dependencies:
+ postcss: 8.5.15
+
+ dependencies:
+ icss-utils: 5.1.0([email protected])
+ postcss: 8.5.15
+ postcss-selector-parser: 7.1.1
+ postcss-value-parser: 4.2.0
+
+ dependencies:
+ postcss: 8.5.15
+ postcss-selector-parser: 7.1.1
+
+ dependencies:
+ icss-utils: 5.1.0([email protected])
+ postcss: 8.5.15
+
+ dependencies:
+ generic-names: 4.0.0
+ icss-utils: 5.1.0([email protected])
+ lodash.camelcase: 4.3.0
+ postcss: 8.5.15
+ postcss-modules-extract-imports: 3.1.0([email protected])
+ postcss-modules-local-by-default: 4.2.0([email protected])
+ postcss-modules-scope: 3.2.1([email protected])
+ postcss-modules-values: 4.0.0([email protected])
+ string-hash: 1.1.3
+
dependencies:
postcss: 8.5.15
@@ -32910,6 +33797,12 @@ snapshots:
string_decoder: 1.1.1
util-deprecate: 1.0.2
+ dependencies:
+ inherits: 2.0.4
+ string_decoder: 1.3.0
+ util-deprecate: 1.0.2
+
dependencies:
abort-controller: 3.0.0
@@ -33711,6 +34604,8 @@ snapshots:
+
dependencies:
escape-string-regexp: 2.0.0
@@ -33780,6 +34675,8 @@ snapshots:
- bare-abort-controller
- react-native-b4a
+
dependencies:
emoji-regex: 8.0.0
@@ -33917,12 +34814,13 @@ snapshots:
dependencies:
inline-style-parser: 0.2.4
dependencies:
client-only: 0.0.1
react: 19.2.3
optionalDependencies:
'@babel/core': 7.29.7
+ babel-plugin-macros: 3.1.0
dependencies:
@@ -33953,6 +34851,10 @@ snapshots:
tinyglobby: 0.2.16
ts-interface-checker: 0.1.13
+ dependencies:
+ copy-anything: 4.0.5
+
@@ -34090,8 +34992,6 @@ snapshots:
-
@@ -34163,6 +35063,8 @@ snapshots:
transitivePeerDependencies:
- react-native-b4a
+
dependencies:
thenify: 3.3.1
@@ -34252,6 +35154,8 @@ snapshots:
+
@@ -34669,12 +35573,6 @@ snapshots:
pathe: 2.0.3
pkg-types: 2.3.1
- dependencies:
- browserslist: 4.25.0
- escalade: 3.2.0
- picocolors: 1.1.1
-
dependencies:
browserslist: 4.28.2
@@ -34745,6 +35643,8 @@ snapshots:
+
@@ -35260,6 +36160,32 @@ snapshots:
siginfo: 2.0.0
stackback: 0.0.2
+ dependencies:
+ colors: 1.4.0
+ logform: 2.7.0
+ triple-beam: 1.4.1
+
+ dependencies:
+ logform: 2.7.0
+ readable-stream: 3.6.2
+ triple-beam: 1.4.1
+
+ dependencies:
+ '@colors/colors': 1.6.0
+ '@dabh/diagnostics': 2.0.8
+ async: 3.2.6
+ is-stream: 2.0.1
+ logform: 2.7.0
+ one-time: 1.0.0
+ readable-stream: 3.6.2
+ safe-stable-stringify: 2.5.0
+ stack-trace: 0.0.10
+ triple-beam: 1.4.1
+ winston-transport: 4.9.0
+
@@ -35373,6 +36299,11 @@ snapshots:
y18n: 5.0.8
yargs-parser: 22.0.0
+ dependencies:
+ buffer-crc32: 0.2.13
+ fd-slicer: 1.1.0
+