Skip to content

The Open Standard for Generative UI

OpenUI Paste Playground (#775)

AB28f7d80e369c
diff --git a/docs/app/global.css b/docs/app/global.css
index 109d40605..9660186fa 100644
--- a/docs/app/global.css
+++ b/docs/app/global.css
@@ -145,6 +145,12 @@ body {
color: var(--openui-text-neutral-tertiary) !important;
}
+/* External sidebar links: icon after the label (Fumadocs puts it first). */
+#nd-sidebar [data-radix-scroll-area-viewport] a[target="_blank"] > svg:first-child,
+#nd-sidebar-mobile [data-radix-scroll-area-viewport] a[target="_blank"] > svg:first-child {
+ order: 1;
+}
+
@media (max-width: 767px) {
#nd-docs-layout {
--fd-banner-height: calc(4rem + 2.5rem) !important;
@@ -152,3 +158,4 @@ body {
padding-top: calc(4rem + 2.5rem) !important;
}
}
+
diff --git a/docs/app/paste/components/Banner.tsx b/docs/app/paste/components/Banner.tsx
new file mode 100644
index 000000000..f6204e139
--- /dev/null
+++ b/docs/app/paste/components/Banner.tsx
@@ -0,0 +1,18 @@
+"use client";
+
+import { Callout } from "@openuidev/react-ui";
+import styles from "@paste/paste.module.css";
+
+export function Banner({
+ tone,
+ children,
+}: {
+ tone: "warning" | "danger" | "info";
+ children: React.ReactNode;
+}) {
+ return (
+ <div className={styles.bannerSlot}>
+ <Callout variant={tone} description={children} />
+ </div>
+ );
+}
diff --git a/docs/app/paste/components/EditorPane.tsx b/docs/app/paste/components/EditorPane.tsx
new file mode 100644
index 000000000..253680620
--- /dev/null
+++ b/docs/app/paste/components/EditorPane.tsx
@@ -0,0 +1,77 @@
+"use client";
+
+import { EditorView } from "@codemirror/view";
+import CodeMirror from "@uiw/react-codemirror";
+import { useMemo } from "react";
+import { useTheme } from "next-themes";
+import { componentHoverTooltip, type ComponentDefs } from "@paste/lib/editor/hover";
+import { openuiLang } from "@paste/lib/editor/openui-lang";
+import styles from "@paste/paste.module.css";
+
+const editorTheme = EditorView.theme({
+ "&": {
+ height: "100%",
+ fontSize: "14px",
+ backgroundColor: "transparent",
+ },
+ ".cm-content": {
+ fontFamily: "var(--openui-font-code, ui-monospace, SFMono-Regular, monospace)",
+ caretColor: "var(--openui-text-neutral-primary, currentColor)",
+ },
+ ".cm-gutters": {
+ backgroundColor: "transparent",
+ color: "var(--openui-text-neutral-tertiary, #888)",
+ border: "none",
+ },
+ "&.cm-focused": { outline: "none" },
+ ".cm-activeLine": { backgroundColor: "var(--openui-sunk, rgba(0,0,0,0.03))" },
+ ".cm-activeLineGutter": { backgroundColor: "transparent" },
+});
+
+export function EditorPane({
+ code,
+ onChange,
+ readOnly,
+ componentDefs,
+}: {
+ code: string;
+ onChange: (code: string) => void;
+ readOnly: boolean;
+ /** Active library's schema $defs — powers hover signatures. */
+ componentDefs: ComponentDefs | null;
+}) {
+ const extensions = useMemo(
+ () => [
+ openuiLang,
+ editorTheme,
+ EditorView.lineWrapping,
+ componentHoverTooltip(() => componentDefs),
+ ],
+ [componentDefs],
+ );
+ // Docs theming is class-based via next-themes, not prefers-color-scheme.
+ const dark = useTheme().resolvedTheme === "dark";
+ return (
+ <div className={styles.editorPane}>
+ <CodeMirror
+ value={code}
+ onChange={onChange}
+ extensions={extensions}
+ // Built-in dark theme keeps syntax colors readable on the dark token
+ // background; our editorTheme keeps the background itself transparent.
+ theme={dark ? "dark" : "light"}
+ readOnly={readOnly}
+ height="100%"
+ style={{ height: "100%" }}
+ basicSetup={{
+ lineNumbers: true,
+ foldGutter: false,
+ highlightActiveLine: true,
+ autocompletion: false,
+ }}
+ placeholder={'Paste OpenUI Lang code, e.g.\n\nroot = Stack([title])\ntitle = TextContent("Hello")'}
+ />
+ {readOnly && <div className={styles.editorLock}>read-only during playback</div>}
+ </div>
+ );
+}
diff --git a/docs/app/paste/components/HelpDialog.tsx b/docs/app/paste/components/HelpDialog.tsx
new file mode 100644
index 000000000..23f6e8a6f
--- /dev/null
+++ b/docs/app/paste/components/HelpDialog.tsx
@@ -0,0 +1,112 @@
+"use client";
+
+import { Button } from "@openuidev/react-ui";
+import { HelpCircle, X } from "lucide-react";
+import { useEffect, useState } from "react";
+import styles from "@paste/paste.module.css";
+
+export function HelpDialog() {
+ const [open, setOpen] = useState(false);
+
+ useEffect(() => {
+ if (!open) return;
+ const onKey = (e: KeyboardEvent) => {
+ if (e.key === "Escape") setOpen(false);
+ };
+ window.addEventListener("keydown", onKey);
+ return () => window.removeEventListener("keydown", onKey);
+ }, [open]);
+
+ return (
+ <>
+ <Button
+ variant="secondary"
+ size="small"
+ onClick={() => setOpen(true)}
+ aria-haspopup="dialog"
+ aria-label="How to use paste"
+ title="How to use paste"
+ >
+ <HelpCircle size={16} />
+ </Button>
+ {open && (
+ <div className={styles.helpOverlay} onClick={() => setOpen(false)}>
+ <div
+ className={styles.helpDialog}
+ role="dialog"
+ aria-modal="true"
+ aria-label="How to use paste"
+ onClick={(e) => e.stopPropagation()}
+ >
+ <div className={styles.helpHeader}>
+ <h2>How to use Paste</h2>
+ <Button
+ variant="tertiary"
+ size="small"
+ iconLeft={<X size={14} />}
+ onClick={() => setOpen(false)}
+ aria-label="Close"
+ />
+ </div>
+
+ <div className={styles.helpBody}>
+ <p>
+ Paste is a playground for <strong>OpenUI Lang</strong>. Paste code on the left; the
+ panels on the right show what the parser and renderer make of it.
+ </p>
+
+ <h3>Quick start</h3>
+ <ol>
+ <li>
+ Pick an example from <strong>Examples</strong>, or paste your own Lang code
+ </li>
+ <li>
+ Validation runs as you type against the selected <strong>lang-core</strong>{" "}
+ version. Every published npm version is available and loaded on demand.
+ </li>
+ <li>
+ Switch the component <strong>Library</strong> (openui, openui chat) to validate
+ and render against a different component set.
+ </li>
+ </ol>
+
+ <h3>Panels</h3>
+ <ul>
+ <li>
+ <strong>Render</strong>: live output. Interactive: forms hold state, and{" "}
+ <code>Query()</code> calls resolve with mocked data (any tool name returns sample
+ data; calls are logged under the canvas). Always rendered with the bundled
+ renderer; the selected lang-core version drives the other panels.
+ </li>
+ <li>
+ <strong>Validation</strong>: errors grouped by code, with fix hints, plus
+ unresolved refs and orphaned statements.
+ </li>
+ <li>
+ <strong>Tree</strong>: the parsed element tree, state declarations, queries and
+ mutations.
+ </li>
+ <li>
+ <strong>JSON</strong>: the raw ParseResult.
+ </li>
+ <li>
+ <strong>Stream</strong>: a per-chunk trace of the streaming parse with a final
+ streaming-vs-one-shot convergence check.
+ </li>
+ </ul>
+
+ <h3>Streaming mode</h3>
+ <p>
+ <strong>Stream</strong> replays your code as if an LLM were emitting it.{" "}
+ <em>LLM-like</em> chunking adds realistic jitter and stalls (reproducible via{" "}
+ <strong>Seed</strong>). Watch the render window build up live, pause and{" "}
+ <strong>Step</strong> chunk by chunk, and check whether the root ever appears or
+ drops mid-stream.
+ </p>
+ </div>
+ </div>
+ </div>
+ )}
+ </>
+ );
+}
diff --git a/docs/app/paste/components/Playground.tsx b/docs/app/paste/components/Playground.tsx
new file mode 100644
index 000000000..9eb8ededd
--- /dev/null
+++ b/docs/app/paste/components/Playground.tsx
@@ -0,0 +1,202 @@
+"use client";
+
+import { Tabs, TabsContent, TabsList, TabsTrigger } from "@openuidev/react-ui";
+import { useMemo, useState } from "react";
+import { Group, Panel, Separator } from "react-resizable-panels";
+import { useMediaQuery } from "@paste/hooks/useMediaQuery";
+import { useValidation } from "@paste/hooks/useValidation";
+import { useVersionList } from "@paste/hooks/useVersionList";
+import { DEFAULT_EXAMPLE } from "@paste/lib/examples";
+import { getRootName, getSchema, type LibraryId } from "@paste/lib/libraries";
+import { usePlayback } from "@paste/lib/streaming/usePlayback";
+import { BUNDLED_LANG_CORE_VERSION } from "@paste/lib/versions/loader";
+import styles from "@paste/paste.module.css";
+import { Banner } from "./Banner";
+import { EditorPane } from "./EditorPane";
+import { RenderErrorBoundary } from "./RenderErrorBoundary";
+import { JsonPanel } from "./panels/JsonPanel";
+import { RenderPanel } from "./panels/RenderPanel";
+import { StreamTimeline } from "./panels/StreamTimeline";
+import { TreePanel } from "./panels/TreePanel";
+import { ValidationPanel } from "./panels/ValidationPanel";
+import { Toasts, type ToastItem } from "./Toasts";
+import { Toolbar } from "./Toolbar";
+
+type Tab = "render" | "validation" | "tree" | "json" | "stream";
+
+const TABS: { id: Tab; label: string }[] = [
+ { id: "render", label: "Render" },
+ { id: "validation", label: "Validation" },
+ { id: "tree", label: "Tree" },
+ { id: "json", label: "JSON" },
+ { id: "stream", label: "Stream" },
+];
+
+const BIG_INPUT_BYTES = 200 * 1024;
+const CHAR_STRATEGY_LIMIT = 50 * 1024;
+
+export function Playground() {
+ const [code, setCode] = useState(DEFAULT_EXAMPLE.code);
+ const [libraryId, setLibraryId] = useState<LibraryId>("openui");
+ // null = "no explicit pick yet" → follow the registry's latest tag.
+ const [pickedVersion, setPickedVersion] = useState<string | null>(null);
+ const [tab, setTab] = useState<Tab>("render");
+
+ const versions = useVersionList();
+ const version = pickedVersion ?? versions.list.latest ?? BUNDLED_LANG_CORE_VERSION;
+ const { outcome, loaded, loadingVersion } = useValidation(code, version, libraryId);
+
+ const schema = useMemo(() => getSchema(libraryId), [libraryId]);
+ const componentDefs = useMemo(
+ () => (schema as { $defs?: import("@paste/lib/editor/hover").ComponentDefs })?.$defs ?? null,
+ [schema],
+ );
+ const rootName = getRootName(libraryId);
+ const playback = usePlayback(code, loaded, schema, rootName);
+
+ const playbackActive = playback.state.status === "playing" || playback.state.status === "paused";
+ const isStreaming = playback.state.status === "playing";
+ // Editor stacks above the output on narrow screens (split flips vertical).
+ const narrow = useMediaQuery("(max-width: 860px)");
+
+ // Streaming playback takes over all panels while it owns the parse state.
+ const displayed = playbackActive || playback.state.status === "done"
+ ? { result: playback.state.result, enriched: null, fatal: playback.state.fatal }
+ : outcome;
+ const renderedCode = playbackActive ? playback.state.prefix : code;
+
+ const changeCode = (next: string) => {
+ if (playback.state.status !== "idle") playback.reset();
+ setCode(next);
+ };
+
+ const loadExample = (exampleCode: string) => {
+ changeCode(exampleCode);
+ };
+
+ const toasts: ToastItem[] = [];
+ if (versions.loading)
+ toasts.push({ id: "versions", text: "Fetching lang-core versions from npm…", spinning: true });
+ if (loadingVersion)
+ toasts.push({ id: "load", text: `Loading lang-core ${version} from CDN…`, spinning: true });
+
+ return (
+ <div className={styles.paste}>
+ <Toolbar
+ libraryId={libraryId}
+ onLibraryChange={(id) => {
+ if (playback.state.status !== "idle") playback.reset();
+ setLibraryId(id);
+ }}
+ version={version}
+ onVersionChange={(v) => {
+ if (playback.state.status !== "idle") playback.reset();
+ setPickedVersion(v);
+ }}
+ versions={versions}
+ loaded={loaded}
+ onLoadExample={loadExample}
+ playback={playback}
+ bigInput={code.length > CHAR_STRATEGY_LIMIT}
+ versionLoading={loadingVersion}
+ />
+
+ {loaded && !loaded.compatible && (
+ <Banner tone="danger">
+ lang-core {loaded.version} is incompatible with this playground ({loaded.reason}) —
+ validation is running on the bundled {BUNDLED_LANG_CORE_VERSION} instead.
+ </Banner>
+ )}
+ {loaded && loaded.compatible && loaded.source === "bundled" && version !== BUNDLED_LANG_CORE_VERSION && (
+ <Banner tone="warning">
+ Could not load lang-core {version} from a CDN — validating with the bundled{" "}
+ {BUNDLED_LANG_CORE_VERSION}.
+ </Banner>
+ )}
+ {code.length > BIG_INPUT_BYTES && (
+ <Banner tone="warning">
+ Large input ({Math.round(code.length / 1024)} KB) — validation may feel sluggish.
+ </Banner>
+ )}
+
+ <Group orientation={narrow ? "vertical" : "horizontal"} className={styles.mainSplit}>
+ {/* v4: unitless strings are percentages; numbers would mean pixels */}
+ <Panel defaultSize="45%" minSize="25%" className={styles.splitPanel}>
+ <EditorPane
+ code={code}
+ onChange={changeCode}
+ readOnly={playbackActive}
+ componentDefs={componentDefs}
+ />
+ </Panel>
+ <Separator className={styles.resizeHandle} />
+ <Panel minSize="30%" className={styles.splitPanel}>
+ <RenderErrorBoundary
+ resetKey={`${version}:${libraryId}:${code}`}
+ title="Output panel crashed"
+ hint="This is usually an incompatibility with the selected lang-core version — pick a different version or edit the code to recover."
+ >
+ <div
+ className={
+ loadingVersion
+ ? `${styles.outputPane} ${styles.isLoading}`
+ : styles.outputPane
+ }
+ aria-busy={loadingVersion}
+ >
+ <Tabs
+ value={tab}
+ onValueChange={(v) => {
+ if (!loadingVersion) setTab(v as Tab);
+ }}
+ className={styles.outputTabs}
+ variant="clear"
+ >
+ <div className={styles.tabStrip}>
+ <TabsList variant="title">
+ {TABS.map((t) => (
+ <TabsTrigger
+ key={t.id}
+ value={t.id}
+ disabled={loadingVersion}
+ text={
+ t.id === "validation" && displayed.result
+ ? `${t.label} (${displayed.result.meta.errors.length})`
+ : t.label
+ }
+ />
+ ))}
+ </TabsList>
+ </div>
+ <div className={styles.tabPanels} inert={loadingVersion}>
+ <TabsContent value="render" className={styles.tabBody}>
+ <RenderPanel
+ key={libraryId}
+ code={renderedCode}
+ libraryId={libraryId}
+ isStreaming={isStreaming}
+ selectedVersion={loaded?.version ?? version}
+ />
+ </TabsContent>
+ <TabsContent value="validation" className={styles.tabBody}>
+ <ValidationPanel outcome={displayed} />
+ </TabsContent>
+ <TabsContent value="tree" className={styles.tabBody}>
+ <TreePanel result={displayed.result} />
+ </TabsContent>
+ <TabsContent value="json" className={styles.tabBody}>
+ <JsonPanel result={displayed.result} />
+ </TabsContent>
+ <TabsContent value="stream" className={styles.tabBody}>
+ <StreamTimeline state={playback.state} />
+ </TabsContent>
+ </div>
+ </Tabs>
+ </div>
+ </RenderErrorBoundary>
+ </Panel>
+ </Group>
+ <Toasts items={toasts} />
+ </div>
+ );
+}
diff --git a/docs/app/paste/components/RenderErrorBoundary.tsx b/docs/app/paste/components/RenderErrorBoundary.tsx
new file mode 100644
index 000000000..a9722eaef
--- /dev/null
+++ b/docs/app/paste/components/RenderErrorBoundary.tsx
@@ -0,0 +1,51 @@
+"use client";
+
+import { Button } from "@openuidev/react-ui";
+import { Component, type ReactNode } from "react";
+import styles from "@paste/paste.module.css";
+
+interface Props {
+ /** Bump to clear the error state (e.g. when the code or version changes). */
+ resetKey: string;
+ /** Card headline, e.g. "Renderer crashed" or "Output panel crashed". */
+ title?: string;
+ /** Extra context line shown under the error message. */
+ hint?: string;
+ children: ReactNode;
+}
+
+interface State {
+ error: Error | null;
+ lastResetKey: string;
+}
+
+export class RenderErrorBoundary extends Component<Props, State> {
+ state: State = { error: null, lastResetKey: this.props.resetKey };
+
+ static getDerivedStateFromError(error: Error): Partial<State> {
+ return { error };
+ }
+
+ static getDerivedStateFromProps(props: Props, state: State): Partial<State> | null {
+ if (props.resetKey !== state.lastResetKey) {
+ return { error: null, lastResetKey: props.resetKey };
+ }
+ return null;
+ }
+
+ render() {
+ if (this.state.error) {
+ return (
+ <div className={styles.renderCrash}>
+ <strong>{this.props.title ?? "Renderer crashed"}</strong>
+ <pre>{this.state.error.message}</pre>
+ {this.props.hint && <p>{this.props.hint}</p>}
+ <Button variant="secondary" size="small" onClick={() => this.setState({ error: null })}>
+ Try again
+ </Button>
+ </div>
+ );
+ }
+ return this.props.children;
+ }
+}
diff --git a/docs/app/paste/components/StreamControls.tsx b/docs/app/paste/components/StreamControls.tsx
new file mode 100644
index 000000000..64e8c139f
--- /dev/null
+++ b/docs/app/paste/components/StreamControls.tsx
@@ -0,0 +1,184 @@
+"use client";
+
+import {
+ Button,
+ Input,
+ Label,
+ Select,
+ SelectContent,
+ SelectItem,
+ SelectTrigger,
+ SelectValue,
+} from "@openuidev/react-ui";
+import { Pause, Play, RotateCcw, StepForward } from "lucide-react";
+import { CHUNK_STRATEGIES, type ChunkStrategy } from "@paste/lib/streaming/chunker";
+import type { PlaybackControls } from "@paste/lib/streaming/usePlayback";
+import styles from "@paste/paste.module.css";
+
+const SPEEDS = ["0.25", "0.5", "1", "2", "4", "8"];
+const ICON = { size: 14 };
+
+/**
+ * Split so the toolbar can compose them differently per breakpoint: buttons
+ * stay inline on mobile while the settings fields move into the drawer.
+ * strategy/seed state lives in Toolbar for the same reason.
+ */
+export interface StreamSettings {
+ strategy: ChunkStrategy;
+ onStrategyChange: (s: ChunkStrategy) => void;
+ seed: number;
+ onSeedChange: (n: number) => void;
+}
+
+export function PlaybackButtons({
+ playback,
+ settings,
+ disabled,
+}: {
+ playback: PlaybackControls;
+ settings: StreamSettings;
+ disabled?: boolean;
+}) {
+ const { state, start, pause, resume, step, reset } = playback;
+ return (
+ <>
+ <div className={styles.btnGroup} role="group" aria-label="Playback controls">
+ {state.status === "playing" ? (
+ <Button
+ variant="primary"
+ size="small"
+ onClick={pause}
+ disabled={disabled}
+ aria-label="Pause"
+ title="Pause"
+ >
+ <Pause {...ICON} />
+ </Button>
+ ) : state.status === "paused" ? (
+ <Button
+ variant="primary"
+ size="small"
+ onClick={resume}
+ disabled={disabled}
+ aria-label="Resume"
+ title="Resume"
+ >
+ <Play {...ICON} />
+ </Button>
+ ) : (
+ <Button
+ variant="primary"
+ size="small"
+ onClick={() => start({ strategy: settings.strategy, seed: settings.seed })}
+ disabled={disabled}
+ aria-label="Stream"
+ title="Stream (replay as simulated LLM output)"
+ >
+ <Play {...ICON} />
+ </Button>
+ )}
+ <Button
+ variant="secondary"
+ size="small"
+ onClick={step}
+ disabled={disabled || state.status !== "paused"}
+ aria-label="Step one chunk"
+ title="Step one chunk"
+ >
+ <StepForward {...ICON} />
+ </Button>
+ <Button
+ variant="secondary"
+ size="small"
+ onClick={reset}
+ disabled={disabled || state.status === "idle"}
+ aria-label="Reset playback"
+ title="Reset playback"
+ >
+ <RotateCcw {...ICON} />
+ </Button>
+ </div>
+ {state.totalChunks > 0 && (
+ <span className={styles.streamProgress}>
+ {state.chunkIndex}/{state.totalChunks}
+ {state.emulated && " · emulated"}
+ </span>
+ )}
+ </>
+ );
+}
+
+export function StreamSettingsFields({
+ playback,
+ bigInput,
+ settings,
+ disabled,
+}: {
+ playback: PlaybackControls;
+ bigInput: boolean;
+ settings: StreamSettings;
+ disabled?: boolean;
+}) {
+ const { state, setSpeed, speed } = playback;
+ const active = disabled || state.status === "playing" || state.status === "paused";
+ const { strategy, onStrategyChange, seed, onSeedChange } = settings;
+
+ return (
+ <>
+ <div className={styles.toolbarField}>
+ <Label className={styles.toolbarLabel}>Chunks</Label>
+ <Select
+ value={strategy}
+ onValueChange={(v) => onStrategyChange(v as ChunkStrategy)}
+ disabled={active}
+ size="sm"
+ >
+ <SelectTrigger size="sm" aria-label="Chunk strategy">
+ <SelectValue />
+ </SelectTrigger>
+ <SelectContent>
+ {CHUNK_STRATEGIES.map((s) => (
+ <SelectItem key={s.id} value={s.id} disabled={s.id === "char" && bigInput}>
+ {s.label}
+ {s.id === "char" && bigInput ? " (input too large)" : ""}
+ </SelectItem>
+ ))}
+ </SelectContent>
+ </Select>
+ </div>
+
+ <div className={styles.toolbarField}>
+ <Label className={styles.toolbarLabel}>Speed</Label>
+ <Select
+ value={String(speed)}
+ onValueChange={(v) => setSpeed(Number(v))}
+ disabled={disabled}
+ size="sm"
+ >
+ <SelectTrigger size="sm" aria-label="Playback speed">
+ <SelectValue />
+ </SelectTrigger>
+ <SelectContent>
+ {SPEEDS.map((s) => (
+ <SelectItem key={s} value={s}>
+ {s}×
+ </SelectItem>
+ ))}
+ </SelectContent>
+ </Select>
+ </div>
+
+ <div className={styles.toolbarField}>
+ <Label className={styles.toolbarLabel}>Seed</Label>
+ <Input
+ type="number"
+ size="small"
+ className={styles.seedInput}
+ value={seed}
+ onChange={(e) => onSeedChange(Number(e.target.value) || 0)}
+ disabled={active || strategy !== "llm"}
+ />
+ </div>
+ </>
+ );
+}
diff --git a/docs/app/paste/components/Toasts.tsx b/docs/app/paste/components/Toasts.tsx
new file mode 100644
index 000000000..f7d7ccae4
--- /dev/null
+++ b/docs/app/paste/components/Toasts.tsx
@@ -0,0 +1,36 @@
+"use client";
+
+import { Callout, DotMatrixLoader } from "@openuidev/react-ui";
+import styles from "@paste/paste.module.css";
+
+export interface ToastItem {
+ id: string;
+ text: string;
+ /** Loading toasts get a spinner; they disappear when the state resolves. */
+ spinning?: boolean;
+}
+
+/**
+ * Purely derived toast stack — callers pass the currently active long-running
+ * tasks and the stack reflects them; no timers or imperative queue needed.
+ */
+export function Toasts({ items }: { items: ToastItem[] }) {
+ if (items.length === 0) return null;
+ return (
+ <div className={styles.toastStack} role="status" aria-live="polite">
+ {items.map((t) => (
+ <Callout
+ key={t.id}
+ variant="info"
+ className={styles.toast}
+ title={
+ <span className={styles.toastBody}>
+ {t.spinning && <DotMatrixLoader variant="compact" size={16} />}
+ {t.text}
+ </span>
+ }
+ />
+ ))}
+ </div>
+ );
+}
diff --git a/docs/app/paste/components/Toolbar.tsx b/docs/app/paste/components/Toolbar.tsx
new file mode 100644
index 000000000..f29aaced9
--- /dev/null
+++ b/docs/app/paste/components/Toolbar.tsx
@@ -0,0 +1,227 @@
+"use client";
+
+import {
+ Button,
+ Label,
+ Select,
+ SelectContent,
+ SelectItem,
+ SelectTrigger,
+ SelectValue,
+ Tag,
+} from "@openuidev/react-ui";
+import { ArrowLeft, SlidersHorizontal, X } from "lucide-react";
+import Link from "next/link";
+import { useEffect, useState } from "react";
+import { useMediaQuery } from "@paste/hooks/useMediaQuery";
+import type { VersionListState } from "@paste/hooks/useVersionList";
+import { EXAMPLES } from "@paste/lib/examples";
+import { LIBRARIES, type LibraryId } from "@paste/lib/libraries";
+import type { ChunkStrategy } from "@paste/lib/streaming/chunker";
+import type { PlaybackControls } from "@paste/lib/streaming/usePlayback";
+import type { LoadedLangCore } from "@paste/lib/versions/types";
+import { HelpDialog } from "./HelpDialog";
+import { PlaybackButtons, StreamSettingsFields } from "./StreamControls";
+// The docs site's own toggle (animated sun/moon, phosphor icons) — same one
+// as the homepage header, so /paste matches the rest of the site.
+import { ThemeToggle } from "@/components/theme-toggle";
+import { VersionPicker } from "./VersionPicker";
+import styles from "@paste/paste.module.css";
+
+export function Toolbar({
+ libraryId,
+ onLibraryChange,
+ version,
+ onVersionChange,
+ versions,
+ loaded,
+ onLoadExample,
+ playback,
+ bigInput,
+ versionLoading,
+}: {
+ libraryId: LibraryId;
+ onLibraryChange: (id: LibraryId) => void;
+ version: string;
+ onVersionChange: (v: string) => void;
+ versions: VersionListState;
+ loaded: LoadedLangCore | null;
+ onLoadExample: (code: string) => void;
+ playback: PlaybackControls;
+ bigInput: boolean;
+ versionLoading: boolean;
+}) {
+ const playbackActive =
+ playback.state.status === "playing" || playback.state.status === "paused";
+ // strategy/seed live here (not in StreamControls) so the play button in the
+ // toolbar and the settings fields in the mobile drawer share them.
+ const [strategy, setStrategy] = useState<ChunkStrategy>("llm");
+ const [seed, setSeed] = useState(42);
+ const settings = {
+ strategy,
+ onStrategyChange: setStrategy,
+ seed,
+ onSeedChange: setSeed,
+ };
+
+ const narrow = useMediaQuery("(max-width: 860px)");
+ const [drawerOpen, setDrawerOpen] = useState(false);
+
+ useEffect(() => {
+ if (!drawerOpen) return;
+ const onKey = (e: KeyboardEvent) => {
+ if (e.key === "Escape") setDrawerOpen(false);
+ };
+ window.addEventListener("keydown", onKey);
+ return () => window.removeEventListener("keydown", onKey);
+ }, [drawerOpen]);
+
+ const libraryField = (
+ <div className={styles.toolbarField}>
+ <Label className={styles.toolbarLabel}>Library</Label>
+ <Select
+ value={libraryId}
+ onValueChange={(v) => onLibraryChange(v as LibraryId)}
+ disabled={playbackActive}
+ size="sm"
+ >
+ <SelectTrigger size="sm" aria-label="Component library">
+ <SelectValue />
+ </SelectTrigger>
+ <SelectContent>
+ {LIBRARIES.map((l) => (
+ <SelectItem key={l.id} value={l.id}>
+ {l.label}
+ </SelectItem>
+ ))}
+ </SelectContent>
+ </Select>
+ </div>
+ );
+
+ const examplesField = (
+ <div className={styles.toolbarField}>
+ {!narrow && <Label className={styles.toolbarLabel}>Examples</Label>}
+ {/* value stays "" so the same example can be re-selected */}
+ <Select
+ value=""
+ onValueChange={(id) => {
+ const ex = EXAMPLES.find((x) => x.id === id);
+ if (ex) onLoadExample(ex.code);
+ }}
+ disabled={playbackActive}
+ size="sm"
+ >
+ <SelectTrigger size="sm" aria-label="Load example">
+ <SelectValue placeholder={narrow ? "Examples" : "Select"} />
+ </SelectTrigger>
+ <SelectContent>
+ {EXAMPLES.map((ex) => (
+ <SelectItem key={ex.id} value={ex.id}>
+ {ex.label}
+ </SelectItem>
+ ))}
+ </SelectContent>
+ </Select>
+ </div>
+ );
+
+ const viaTag =
+ loaded && loaded.source !== "bundled" ? (
+ <Tag size="sm" variant="info" text={`via ${loaded.source}`} />
+ ) : null;
+
+ return (
+ <>
+ <header className={styles.topbar}>
+ <Link className={styles.backLink} href="/" prefetch={false}>
+ <ArrowLeft aria-hidden size={16} />
+ <span>Back to docs</span>
+ </Link>
+ <div className={styles.topbarRight}>
+ <span className={styles.toolbarLogo}>OpenUI Paste</span>
+ <ThemeToggle />
+ </div>
+ </header>
+ <div className={styles.toolbar}>
+ <div className={styles.toolbarControls}>
+ <PlaybackButtons playback={playback} settings={settings} disabled={versionLoading} />
+ {narrow ? (
+ <>
+ {examplesField}
+ <Button
+ variant="secondary"
+ size="small"
+ onClick={() => setDrawerOpen(true)}
+ aria-label="Playground settings"
+ title="Playground settings"
+ aria-haspopup="dialog"
+ >
+ <SlidersHorizontal size={16} />
+ </Button>
+ </>
+ ) : (
+ <>
+ <StreamSettingsFields
+ playback={playback}
+ bigInput={bigInput}
+ settings={settings}
+ disabled={versionLoading}
+ />
+ <span className={styles.toolbarDivider} aria-hidden />
+ {libraryField}
+ <VersionPicker
+ value={version}
+ onChange={onVersionChange}
+ versions={versions}
+ disabled={playbackActive}
+ />
+ {examplesField}
+ {viaTag}
+ </>
+ )}
+ <HelpDialog />
+ </div>
+ </div>
+ {narrow && drawerOpen && (
+ <div className={styles.drawerOverlay} onClick={() => setDrawerOpen(false)}>
+ <div
+ className={styles.drawer}
+ role="dialog"
+ aria-modal="true"
+ aria-label="Playground settings"
+ onClick={(e) => e.stopPropagation()}
+ >
+ <div className={styles.drawerHeader}>
+ <h2>Settings</h2>
+ <Button
+ variant="tertiary"
+ size="small"
+ onClick={() => setDrawerOpen(false)}
+ aria-label="Close settings"
+ >
+ <X size={16} />
+ </Button>
+ </div>
+ <div className={styles.drawerBody}>
+ <StreamSettingsFields
+ playback={playback}
+ bigInput={bigInput}
+ settings={settings}
+ disabled={versionLoading}
+ />
+ {libraryField}
+ <VersionPicker
+ value={version}
+ onChange={onVersionChange}
+ versions={versions}
+ disabled={playbackActive}
+ />
+ {viaTag}
+ </div>
+ </div>
+ </div>
+ )}
+ </>
+ );
+}
diff --git a/docs/app/paste/components/VersionPicker.tsx b/docs/app/paste/components/VersionPicker.tsx
new file mode 100644
index 000000000..ebca2d7e0
--- /dev/null
+++ b/docs/app/paste/components/VersionPicker.tsx
@@ -0,0 +1,57 @@
+"use client";
+
+import {
+ Button,
+ Label,
+ Select,
+ SelectContent,
+ SelectGroup,
+ SelectItem,
+ SelectLabel,
+ SelectTrigger,
+ SelectValue,
+} from "@openuidev/react-ui";
+import type { VersionListState } from "@paste/hooks/useVersionList";
+import styles from "@paste/paste.module.css";
+
+export function VersionPicker({
+ value,
+ onChange,
+ versions,
+ disabled,
+}: {
+ value: string;
+ onChange: (v: string) => void;
+ versions: VersionListState;
+ disabled?: boolean;
+}) {
+ const { list, loading, error, retry } = versions;
+ return (
+ <div className={styles.toolbarField}>
+ <Label className={styles.toolbarLabel}>lang-core</Label>
+ <Select value={value} onValueChange={onChange} disabled={disabled || loading} size="sm">
+ <SelectTrigger size="sm" aria-label="lang-core version">
+ <SelectValue placeholder="version" />
+ </SelectTrigger>
+ <SelectContent>
+ {list.groups.map((g) => (
+ <SelectGroup key={g.label}>
+ <SelectLabel>v{g.label}</SelectLabel>
+ {g.versions.map((v) => (
+ <SelectItem key={v} value={v}>
+ {v}
+ {v === list.latest ? " (latest)" : ""}
+ </SelectItem>
+ ))}
+ </SelectGroup>
+ ))}
+ </SelectContent>
+ </Select>
+ {error && (
+ <Button variant="tertiary" size="extra-small" onClick={retry} title={error}>
+ versions unavailable — retry
+ </Button>
+ )}
+ </div>
+ );
+}
diff --git a/docs/app/paste/components/panels/JsonPanel.tsx b/docs/app/paste/components/panels/JsonPanel.tsx
new file mode 100644
index 000000000..e82a90ea0
--- /dev/null
+++ b/docs/app/paste/components/panels/JsonPanel.tsx
@@ -0,0 +1,43 @@
+"use client";
+
+import { Button } from "@openuidev/react-ui";
+import { useMemo, useState } from "react";
+import type { ParseResult } from "@paste/lib/versions/types";
+import styles from "@paste/paste.module.css";
+
+const COLLAPSE_BYTES = 200 * 1024;
+
+export function JsonPanel({ result }: { result: ParseResult | null }) {
+ const [forceExpand, setForceExpand] = useState(false);
+ const json = useMemo(() => {
+ if (!result) return null;
+ try {
+ return JSON.stringify(
+ result,
+ (_k, v) => (typeof v === "function" ? `[function]` : v === undefined ? null : v),
+ 2,
+ );
+ } catch (err) {
+ return `/* could not stringify: ${err instanceof Error ? err.message : String(err)} */`;
+ }
+ }, [result]);
+
+ if (!json) return <div className={styles.panelEmpty}>No parse result yet.</div>;
+ if (json.length > COLLAPSE_BYTES && !forceExpand) {
+ return (
+ <div className={styles.panelScroll}>
+ <p>
+ Result is {(json.length / 1024).toFixed(0)} KB.{" "}
+ <Button variant="secondary" size="extra-small" onClick={() => setForceExpand(true)}>
+ Expand anyway
+ </Button>
+ </p>
+ </div>
+ );
+ }
+ return (
+ <div className={styles.panelScroll}>
+ <pre className={styles.treeJson}>{json}</pre>
+ </div>
+ );
+}
diff --git a/docs/app/paste/components/panels/RenderPanel.tsx b/docs/app/paste/components/panels/RenderPanel.tsx
new file mode 100644
index 000000000..497dd3a0c
--- /dev/null
+++ b/docs/app/paste/components/panels/RenderPanel.tsx
@@ -0,0 +1,132 @@
+"use client";
+
+import { Renderer } from "@openuidev/react-lang";
+import { FlaskConical } from "lucide-react";
+import { useMemo, useState } from "react";
+import { getLibrary, type LibraryId } from "@paste/lib/libraries";
+import { createMockToolProvider, type MockToolCall } from "@paste/lib/mockTools";
+import { BUNDLED_LANG_CORE_VERSION } from "@paste/lib/versions/loader";
+import type { OpenUIError } from "@paste/lib/versions/types";
+import { RenderErrorBoundary } from "../RenderErrorBoundary";
+import styles from "@paste/paste.module.css";
+
+const TOOL_CALL_LOG_CAP = 20;
+
+export function RenderPanel({
+ code,
+ libraryId,
+ isStreaming,
+ selectedVersion,
+}: {
+ code: string;
+ libraryId: LibraryId;
+ isStreaming: boolean;
+ selectedVersion: string;
+}) {
+ const [runtimeErrors, setRuntimeErrors] = useState<OpenUIError[]>([]);
+ const [formState, setFormState] = useState<Record<string, unknown>>({});
+ const [actionLog, setActionLog] = useState<string[]>([]);
+ const [toolCalls, setToolCalls] = useState<MockToolCall[]>([]);
+
+ // Stale logs from a previous snippet are misleading — reset when the code
+ // changes (render-time state adjustment, not an effect). Skipped while
+ // streaming, where `code` grows chunk by chunk and calls should accumulate.
+ const [lastCode, setLastCode] = useState(code);
+ if (code !== lastCode && !isStreaming) {
+ setLastCode(code);
+ setToolCalls([]);
+ setActionLog([]);
+ }
+ // Mounted with key={libraryId}, so switching library remounts the panel and
+ // clears stale runtime errors / form state / logs naturally.
+ const library = getLibrary(libraryId).library;
+
+ const toolProvider = useMemo(
+ () =>
+ createMockToolProvider((call) =>
+ setToolCalls((log) => [...log.slice(-(TOOL_CALL_LOG_CAP - 1)), call]),
+ ),
+ [],
+ );
+
+ const usesTools = /\b(Query|Mutation)\s*\(/.test(code);
+
+ return (
+ <div className={styles.renderPanel}>
+ {selectedVersion !== BUNDLED_LANG_CORE_VERSION && (
+ <p className={styles.renderSeam}>
+ Rendered with bundled lang-core {BUNDLED_LANG_CORE_VERSION} — validation uses v
+ {selectedVersion}.
+ </p>
+ )}
+ {usesTools && (
+ <p className={styles.mockNote}>
+ <FlaskConical size={13} aria-hidden />
+ <span>
+ <code>Query()</code> and <code>Mutation()</code> run against a{" "}
+ <strong>mock tool provider</strong>: any tool name resolves with sample data after
+ ~400ms. Calls are logged below the canvas.
+ </span>
+ </p>
+ )}
+ <div className={styles.renderCanvas}>
+ <RenderErrorBoundary resetKey={`${libraryId}:${code}`}>
+ <Renderer
+ response={code || null}
+ library={library}
+ isStreaming={isStreaming}
+ toolProvider={toolProvider}
+ onError={setRuntimeErrors}
+ onStateUpdate={setFormState}
+ onAction={(event) => setActionLog((log) => [...log.slice(-19), safeDescribe(event)])}
+ />
+ </RenderErrorBoundary>
+ </div>
+ {toolCalls.length > 0 && (
+ <details className={styles.renderDetails} open>
+ <summary>Mock tool calls ({toolCalls.length})</summary>
+ <ul>
+ {toolCalls.map((c, i) => (
+ <li key={`${c.at}-${i}`} className={styles.errorRow}>
+ <code>{c.tool}</code>({safeDescribe(c.args)}) → sample data
+ </li>
+ ))}
+ </ul>
+ </details>
+ )}
+ {runtimeErrors.length > 0 && (
+ <details className={styles.renderDetails} open>
+ <summary>Runtime errors ({runtimeErrors.length})</summary>
+ <ul>
+ {runtimeErrors.map((e, i) => (
+ <li key={i} className={styles.errorRow}>
+ <code>{e.code}</code> {e.message}
+ {e.hint && <p className={styles.errHint}>{e.hint}</p>}
+ </li>
+ ))}
+ </ul>
+ </details>
+ )}
+ {actionLog.length > 0 && (
+ <details className={styles.renderDetails}>
+ <summary>Actions ({actionLog.length})</summary>
+ <pre className={styles.treeJson}>{actionLog.join("\n")}</pre>
+ </details>
+ )}
+ {Object.keys(formState).length > 0 && (
+ <details className={styles.renderDetails}>
+ <summary>Form state</summary>
+ <pre className={styles.treeJson}>{JSON.stringify(formState, null, 2)}</pre>
+ </details>
+ )}
+ </div>
+ );
+}
+
+function safeDescribe(event: unknown): string {
+ try {
+ return JSON.stringify(event);
+ } catch {
+ return String(event);
+ }
+}
diff --git a/docs/app/paste/components/panels/StreamTimeline.tsx b/docs/app/paste/components/panels/StreamTimeline.tsx
new file mode 100644
index 000000000..f03d56aa3
--- /dev/null
+++ b/docs/app/paste/components/panels/StreamTimeline.tsx
@@ -0,0 +1,105 @@
+"use client";
+
+import type { PlaybackState } from "@paste/lib/streaming/usePlayback";
+import { CheckCircle2, Circle, CircleDot, CircleMinus, CirclePlus, XCircle } from "lucide-react";
+import styles from "@paste/paste.module.css";
+
+export function StreamTimeline({ state }: { state: PlaybackState }) {
+ if (state.status === "idle") {
+ return (
+ <div className={styles.panelEmpty}>
+ Press <strong>Stream</strong> to replay the current code as simulated LLM output and watch
+ the parser converge chunk by chunk.
+ </div>
+ );
+ }
+ return (
+ <div className={styles.panelScroll}>
+ {state.convergence && (
+ <div
+ className={`${styles.convergence} ${
+ state.convergence === "converged"
+ ? styles.convergenceConverged
+ : styles.convergenceDiverged
+ }`}
+ >
+ {state.convergence === "converged" ? (
+ <>
+ <CheckCircle2 size={15} /> Streaming result converged with one-shot parse
+ </>
+ ) : (
+ <>
+ <XCircle size={15} /> DIVERGED from one-shot parse — parser bug in this version?
+ </>
+ )}
+ </div>
+ )}
+ {state.fatal && (
+ <div className={styles.fatalCard}>
+ <strong>Streaming parse threw</strong>
+ <pre>{state.fatal}</pre>
+ </div>
+ )}
+ {state.traceTruncated && (
+ <p className="toolbar-hint">Trace capped at 5,000 rows — remaining chunks not logged.</p>
+ )}
+ <table className={styles.traceTable}>
+ <thead>
+ <tr>
+ <th>#</th>
+ <th>chunk</th>
+ <th>delay</th>
+ <th>root</th>
+ <th>stmts</th>
+ <th>state</th>
+ <th>unres</th>
+ <th>errs</th>
+ </tr>
+ </thead>
+ <tbody>
+ {state.trace.map((row) => (
+ <tr
+ key={row.i}
+ className={
+ row.rootAppeared
+ ? styles.rowAppeared
+ : row.rootDropped
+ ? styles.rowDropped
+ : ""
+ }
+ >
+ <td>{row.i}</td>
+ <td>
+ <code className={styles.chunkPreview}>{visualize(row.chunkPreview)}</code>
+ </td>
+ <td>{row.delayMs}ms</td>
+ <td className={styles.rootCell}>
+ {row.rootAppeared ? (
+ <>
+ <CirclePlus size={12} /> appeared
+ </>
+ ) : row.rootDropped ? (
+ <>
+ <CircleMinus size={12} /> dropped
+ </>
+ ) : row.rootPresent ? (
+ <CircleDot size={12} />
+ ) : (
+ <Circle size={12} />
+ )}
+ </td>
+ <td>{row.statementCount}</td>
+ <td>{row.incomplete ? "incomplete" : "complete"}</td>
+ <td>{row.unresolvedCount}</td>
+ <td>{row.errorCount}</td>
+ </tr>
+ ))}
+ </tbody>
+ </table>
+ </div>
+ );
+}
+
+function visualize(text: string): string {
+ return text.replace(/\n/g, "⏎").replace(/\t/g, "⇥");
+}
diff --git a/docs/app/paste/components/panels/TreePanel.tsx b/docs/app/paste/components/panels/TreePanel.tsx
new file mode 100644
index 000000000..122ed5734
--- /dev/null
+++ b/docs/app/paste/components/panels/TreePanel.tsx
@@ -0,0 +1,121 @@
+"use client";
+
+import { Tag } from "@openuidev/react-ui";
+import { ChevronDown, ChevronRight } from "lucide-react";
+import { useState } from "react";
+import type { ParseResult } from "@paste/lib/versions/types";
+import styles from "@paste/paste.module.css";
+
+function isElementNode(v: unknown): v is { type: "element"; typeName: string; props: Record<string, unknown>; partial?: boolean; statementId?: string } {
+ return !!v && typeof v === "object" && (v as { type?: unknown }).type === "element";
+}
+
+/** AST / runtime-expression values render as ⟨…⟩ placeholders, like the harness. */
+function isExprLike(v: unknown): boolean {
+ if (!v || typeof v !== "object") return false;
+ const t = (v as { type?: unknown }).type;
+ return typeof t === "string" && t !== "element";
+}
+
+function PropValue({ value }: { value: unknown }) {
+ if (isElementNode(value)) return <NodeView node={value} />;
+ if (Array.isArray(value)) {
+ if (value.some((v) => isElementNode(v))) {
+ return (
+ <div className={styles.treeChildren}>
+ {value.map((v, i) => (
+ <PropValue key={i} value={v} />
+ ))}
+ </div>
+ );
+ }
+ return <code className={styles.treeScalar}>{safeStringify(value)}</code>;
+ }
+ if (isExprLike(value)) {
+ return <code className={styles.treeExpr}>⟨{(value as { type: string }).type}⟩</code>;
+ }
+ return <code className={styles.treeScalar}>{safeStringify(value)}</code>;
+}
+
+function safeStringify(v: unknown): string {
+ try {
+ const s = JSON.stringify(v);
+ return s && s.length > 120 ? `${s.slice(0, 120)}…` : (s ?? String(v));
+ } catch {
+ return String(v);
+ }
+}
+
+function NodeView({ node }: { node: { typeName: string; props: Record<string, unknown>; partial?: boolean; statementId?: string } }) {
+ const [open, setOpen] = useState(true);
+ const entries = Object.entries(node.props ?? {});
+ return (
+ <div className={styles.treeNode}>
+ <button className={styles.treeHeader} onClick={() => setOpen((o) => !o)}>
+ <span className={styles.treeCaret}>
+ {open ? <ChevronDown size={14} /> : <ChevronRight size={14} />}
+ </span>
+ <span className={styles.treeType}>{node.typeName}</span>
+ {node.statementId && <Tag size="sm" variant="neutral" text={node.statementId} />}
+ {node.partial && <Tag size="sm" variant="warning" text="partial" />}
+ </button>
+ {open && entries.length > 0 && (
+ <dl className={styles.treeProps}>
+ {entries.map(([k, v]) => (
+ <div key={k} className={styles.treeProp}>
+ <dt>{k}</dt>
+ <dd>
+ <PropValue value={v} />
+ </dd>
+ </div>
+ ))}
+ </dl>
+ )}
+ </div>
+ );
+}
+
+export function TreePanel({ result }: { result: ParseResult | null }) {
+ if (!result) return <div className={styles.panelEmpty}>No parse result yet.</div>;
+ const state = result.stateDeclarations ?? {};
+ const queries = result.queryStatements ?? [];
+ const mutations = result.mutationStatements ?? [];
+ return (
+ <div className={styles.panelScroll}>
+ {result.root ? (
+ <NodeView node={result.root} />
+ ) : (
+ <div className={styles.panelEmpty}>
+ root is null — the renderer would show a blank UI for this input.
+ </div>
+ )}
+ {Object.keys(state).length > 0 && (
+ <section className={styles.treeExtra}>
+ <h3>State declarations</h3>
+ <dl className={styles.treeProps}>
+ {Object.entries(state).map(([k, v]) => (
+ <div key={k} className={styles.treeProp}>
+ <dt>${k.replace(/^\$/, "")}</dt>
+ <dd>
+ <code className={styles.treeScalar}>{safeStringify(v)}</code>
+ </dd>
+ </div>
+ ))}
+ </dl>
+ </section>
+ )}
+ {queries.length > 0 && (
+ <section className={styles.treeExtra}>
+ <h3>Queries ({queries.length})</h3>
+ <pre className={styles.treeJson}>{safeStringify(queries)}</pre>
+ </section>
+ )}
+ {mutations.length > 0 && (
+ <section className={styles.treeExtra}>
+ <h3>Mutations ({mutations.length})</h3>
+ <pre className={styles.treeJson}>{safeStringify(mutations)}</pre>
+ </section>
+ )}
+ </div>
+ );
+}
diff --git a/docs/app/paste/components/panels/ValidationPanel.tsx b/docs/app/paste/components/panels/ValidationPanel.tsx
new file mode 100644
index 000000000..049c35c84
--- /dev/null
+++ b/docs/app/paste/components/panels/ValidationPanel.tsx
@@ -0,0 +1,92 @@
+"use client";
+
+import { Tag } from "@openuidev/react-ui";
+import { groupByCode } from "@paste/lib/groupErrors";
+import type { ValidationOutcome } from "@paste/lib/parse";
+import type { OpenUIError } from "@paste/lib/versions/types";
+import { CheckCircle2, Lightbulb } from "lucide-react";
+import styles from "@paste/paste.module.css";
+
+function hintFor(enriched: OpenUIError[] | null, code: string, path: string, component: string) {
+ return enriched?.find((e) => e.code === code && e.path === path && e.component === component)
+ ?.hint;
+}
+
+export function ValidationPanel({ outcome }: { outcome: ValidationOutcome }) {
+ const { result, enriched, fatal } = outcome;
+
+ if (fatal) {
+ return (
+ <div className={styles.panelScroll}>
+ <div className={styles.fatalCard}>
+ <strong>Parser threw</strong>
+ <pre>{fatal}</pre>
+ <p>This can happen on old lang-core versions with a different API surface.</p>
+ </div>
+ </div>
+ );
+ }
+ if (!result)
+ return <div className={styles.panelEmpty}>Paste some OpenUI Lang code to validate it.</div>;
+
+ const { meta } = result;
+ const groups = groupByCode(meta.errors);
+
+ return (
+ <div className={styles.panelScroll}>
+ <div className={styles.metaStrip}>
+ <Tag size="sm" variant="neutral" text={`Statements: ${meta.statementCount}`} />
+ <Tag
+ size="sm"
+ variant={meta.incomplete ? "warning" : "success"}
+ text={meta.incomplete ? "Incomplete" : "Complete"}
+ />
+ <Tag
+ size="sm"
+ variant={result.root ? "success" : "warning"}
+ text={`Root: ${result.root ? result.root.typeName : "none"}`}
+ />
+ {meta.unresolved.map((u) => (
+ <Tag key={u} size="sm" variant="warning" text={`unresolved: ${u}`} />
+ ))}
+ {meta.orphaned.map((o) => (
+ <Tag key={o} size="sm" variant="neutral" text={`orphaned: ${o}`} />
+ ))}
+ </div>
+
+ {meta.errors.length === 0 ? (
+ <div className={styles.allClear}>
+ <CheckCircle2 size={16} /> No validation errors
+ </div>
+ ) : (
+ [...groups.entries()].map(([code, errors]) => (
+ <section key={code} className={styles.errorGroup}>
+ <h3>
+ <code>{code}</code> <span className={styles.count}>({errors.length})</span>
+ </h3>
+ <ul>
+ {errors.map((e, i) => {
+ const hint = hintFor(enriched, e.code, e.path, e.component);
+ return (
+ <li key={`${e.path}-${i}`} className={styles.errorRow}>
+ <div className={styles.errHead}>
+ <code className={styles.errComponent}>{e.component}</code>
+ <code className={styles.errPath}>{e.path}</code>
+ {e.statementId && <Tag size="sm" variant="neutral" text={e.statementId} />}
+ </div>
+ <p className={styles.errMessage}>{e.message}</p>
+ {hint && (
+ <p className={styles.errHint}>
+ <Lightbulb size={13} className="err-hint-icon" /> {hint}
+ </p>
+ )}
+ </li>
+ );
+ })}
+ </ul>
+ </section>
+ ))
+ )}
+ </div>
+ );
+}
diff --git a/docs/app/paste/hooks/useMediaQuery.ts b/docs/app/paste/hooks/useMediaQuery.ts
new file mode 100644
index 000000000..c8df6542c
--- /dev/null
+++ b/docs/app/paste/hooks/useMediaQuery.ts
@@ -0,0 +1,16 @@
+"use client";
+
+import { useSyncExternalStore } from "react";
+
+/** Reactive matchMedia — SSR-safe (returns false on the server snapshot). */
+export function useMediaQuery(query: string): boolean {
+ return useSyncExternalStore(
+ (onChange) => {
+ const mql = window.matchMedia(query);
+ mql.addEventListener("change", onChange);
+ return () => mql.removeEventListener("change", onChange);
+ },
+ () => window.matchMedia(query).matches,
+ () => false,
+ );
+}
diff --git a/docs/app/paste/hooks/useValidation.ts b/docs/app/paste/hooks/useValidation.ts
new file mode 100644
index 000000000..e17ebd337
--- /dev/null
+++ b/docs/app/paste/hooks/useValidation.ts
@@ -0,0 +1,63 @@
+"use client";
+
+import { useEffect, useMemo, useState } from "react";
+import { getComponentNames, getRootName, getSchema, type LibraryId } from "@paste/lib/libraries";
+import { EMPTY_OUTCOME, runValidation, type ValidationOutcome } from "@paste/lib/parse";
+import { loadLangCore } from "@paste/lib/versions/loader";
+import type { LoadedLangCore } from "@paste/lib/versions/types";
+
+export interface ValidationState {
+ outcome: ValidationOutcome;
+ loaded: LoadedLangCore | null;
+ /** True while the selected version is downloading from the CDN. */
+ loadingVersion: boolean;
+}
+
+const DEBOUNCE_MS = 150;
+
+function useDebounced<T>(value: T, ms: number): T {
+ const [debounced, setDebounced] = useState(value);
+ useEffect(() => {
+ const timer = setTimeout(() => setDebounced(value), ms);
+ return () => clearTimeout(timer);
+ }, [value, ms]);
+ return debounced;
+}
+
+/**
+ * Loads the selected lang-core version and derives debounced one-shot
+ * validation from code / version / library.
+ */
+export function useValidation(code: string, version: string, libraryId: LibraryId): ValidationState {
+ // Which version a load completed FOR (the loaded module may be a fallback
+ // with a different .version) — loading state is derived by comparison.
+ const [loadState, setLoadState] = useState<{ requested: string; loaded: LoadedLangCore } | null>(
+ null,
+ );
+
+ useEffect(() => {
+ let cancelled = false;
+ loadLangCore(version).then((loaded) => {
+ if (!cancelled) setLoadState({ requested: version, loaded });
+ });
+ return () => {
+ cancelled = true;
+ };
+ }, [version]);
+
+ const loaded = loadState?.requested === version ? loadState.loaded : null;
+ const debouncedCode = useDebounced(code, DEBOUNCE_MS);
+
+ const outcome = useMemo(() => {
+ if (!loaded?.compatible) return EMPTY_OUTCOME;
+ return runValidation(
+ debouncedCode,
+ loaded,
+ getSchema(libraryId),
+ getRootName(libraryId),
+ getComponentNames(libraryId),
+ );
+ }, [debouncedCode, loaded, libraryId]);
+
+ return { outcome, loaded, loadingVersion: !loaded };
+}
diff --git a/docs/app/paste/hooks/useVersionList.ts b/docs/app/paste/hooks/useVersionList.ts
new file mode 100644
index 000000000..783328c71
--- /dev/null
+++ b/docs/app/paste/hooks/useVersionList.ts
@@ -0,0 +1,54 @@
+"use client";
+
+import { useCallback, useEffect, useState } from "react";
+import { bundledOnlyList, fetchVersionList } from "@paste/lib/versions/registry";
+import type { VersionList } from "@paste/lib/versions/types";
+
+export interface VersionListState {
+ list: VersionList;
+ loading: boolean;
+ error: string | null;
+ retry: () => void;
+}
+
+interface FetchState {
+ list: VersionList;
+ loading: boolean;
+ error: string | null;
+}
+
+export function useVersionList(): VersionListState {
+ const [state, setState] = useState<FetchState>({
+ list: bundledOnlyList(),
+ loading: true,
+ error: null,
+ });
+ const [attempt, setAttempt] = useState(0);
+
+ useEffect(() => {
+ let cancelled = false;
+ fetchVersionList()
+ .then((list) => {
+ if (!cancelled) setState({ list, loading: false, error: null });
+ })
+ .catch((err) => {
+ if (!cancelled)
+ setState((prev) => ({
+ ...prev,
+ loading: false,
+ error: err instanceof Error ? err.message : String(err),
+ }));
+ });
+ return () => {
+ cancelled = true;
+ };
+ }, [attempt]);
+
+ const retry = useCallback(() => {
+ // Event handler, so synchronous state updates are fine here.
+ setState((prev) => ({ ...prev, loading: true, error: null }));
+ setAttempt((a) => a + 1);
+ }, []);
+
+ return { ...state, retry };
+}
diff --git a/docs/app/paste/layout.tsx b/docs/app/paste/layout.tsx
new file mode 100644
index 000000000..1a4e09615
--- /dev/null
+++ b/docs/app/paste/layout.tsx
@@ -0,0 +1,13 @@
+import { WebsiteThemeProvider } from "@/components/website-theme-provider";
+import type { Metadata } from "next";
+import type { ReactNode } from "react";
+
+export const metadata: Metadata = {
+ title: "OpenUI Paste",
+ description:
+ "Paste OpenUI Lang code, validate it against any published @openuidev/lang-core version, replay it as a simulated LLM stream, and see what renders.",
+};
+
+export default function PasteLayout({ children }: { children: ReactNode }) {
+ return <WebsiteThemeProvider>{children}</WebsiteThemeProvider>;
+}
diff --git a/docs/app/paste/lib/editor/hover.ts b/docs/app/paste/lib/editor/hover.ts
new file mode 100644
index 000000000..dfe5caef0
--- /dev/null
+++ b/docs/app/paste/lib/editor/hover.ts
@@ -0,0 +1,88 @@
+import { hoverTooltip } from "@codemirror/view";
+import type { Extension } from "@codemirror/state";
+
+interface PropSchema {
+ type?: string | string[];
+ enum?: unknown[];
+ items?: PropSchema;
+ anyOf?: PropSchema[];
+ oneOf?: PropSchema[];
+ $ref?: string;
+ description?: string;
+}
+
+interface ComponentDef {
+ properties?: Record<string, PropSchema>;
+ required?: string[];
+ description?: string;
+}
+
+export type ComponentDefs = Record<string, ComponentDef>;
+
+function typeLabel(prop: PropSchema | undefined): string {
+ if (!prop) return "any";
+ if (prop.$ref) return prop.$ref.split("/").pop() ?? "any";
+ if (prop.enum) {
+ const shown = prop.enum.slice(0, 4).map((v) => JSON.stringify(v));
+ if (prop.enum.length > 4) shown.push("…");
+ return shown.join(" | ");
+ }
+ const variants = prop.anyOf ?? prop.oneOf;
+ if (variants) return variants.map(typeLabel).join(" | ");
+ if (prop.type === "array") {
+ const inner = typeLabel(prop.items);
+ return inner === "any" ? "any[]" : `${inner}[]`;
+ }
+ if (Array.isArray(prop.type)) return prop.type.join(" | ");
+ return prop.type ?? "any";
+}
+
+/**
+ * VSCode-style hover: over a Capitalized component name, show its signature
+ * (props in positional order, `?` for optional) from the active library's
+ * JSON schema. `getDefs` is read at hover time so the extension doesn't need
+ * rebuilding when the library changes.
+ */
+export function componentHoverTooltip(getDefs: () => ComponentDefs | null): Extension {
+ return hoverTooltip((view, pos) => {
+ const line = view.state.doc.lineAt(pos);
+ let start = pos;
+ let end = pos;
+ while (start > line.from && /\w/.test(view.state.doc.sliceString(start - 1, start))) start--;
+ while (end < line.to && /\w/.test(view.state.doc.sliceString(end, end + 1))) end++;
+ if (start === end) return null;
+
+ const word = view.state.doc.sliceString(start, end);
+ if (!/^[A-Z]/.test(word)) return null;
+ const def = getDefs()?.[word];
+ if (!def?.properties) return null;
+
+ const required = new Set(def.required ?? []);
+ const args = Object.entries(def.properties).map(
+ ([name, prop]) => `${name}${required.has(name) ? "" : "?"}: ${typeLabel(prop)}`,
+ );
+
+ return {
+ pos: start,
+ end,
+ above: true,
+ create() {
+ const dom = document.createElement("div");
+ dom.className = "cm-signature-tooltip";
+
+ const sig = document.createElement("div");
+ sig.className = "cm-signature-code";
+ sig.textContent = `${word}(${args.join(", ")})`;
+ dom.appendChild(sig);
+
+ if (def.description) {
+ const doc = document.createElement("div");
+ doc.className = "cm-signature-doc";
+ doc.textContent = def.description;
+ dom.appendChild(doc);
+ }
+ return { dom };
+ },
+ };
+ });
+}
diff --git a/docs/app/paste/lib/editor/openui-lang.ts b/docs/app/paste/lib/editor/openui-lang.ts
new file mode 100644
index 000000000..d5b310e92
--- /dev/null
+++ b/docs/app/paste/lib/editor/openui-lang.ts
@@ -0,0 +1,22 @@
+import { StreamLanguage } from "@codemirror/language";
+
+/**
+ * Minimal CodeMirror 6 highlighter for OpenUI Lang:
+ * statements are `name = Component(args)`; "strings"; $stateVars;
+ * Capitalized names are components. (The language has no comment syntax.)
+ */
+export const openuiLang = StreamLanguage.define({
+ name: "openui-lang",
+ token(stream) {
+ if (stream.match(/^"(?:[^"\\]|\\.)*"?/)) return "string";
+ if (stream.match(/^\$[A-Za-z_][\w]*/)) return "variableName.special";
+ if (stream.match(/^-?\d+(?:\.\d+)?/)) return "number";
+ if (stream.match(/^(?:true|false|null)\b/)) return "atom";
+ if (stream.match(/^[A-Z][\w]*/)) return "typeName";
+ if (stream.match(/^[a-z_][\w]*/)) return "variableName";
+ if (stream.match(/^=/)) return "operator";
+ if (stream.match(/^[[\]{}(),:]/)) return "punctuation";
+ stream.next();
+ return null;
+ },
+});
diff --git a/docs/app/paste/lib/examples.ts b/docs/app/paste/lib/examples.ts
new file mode 100644
index 000000000..6dfcfaaab
--- /dev/null
+++ b/docs/app/paste/lib/examples.ts
@@ -0,0 +1,76 @@
+export interface Example {
+ id: string;
+ label: string;
+ code: string;
+}
+
+export const EXAMPLES: Example[] = [
+ {
+ id: "valid",
+ label: "Valid: basic stack",
+ code: `root = Card([title, body])
+
+title = TextContent("Quarterly Overview")
+body = TextContent("Revenue up 12% QoQ; headcount at 128.")
+`,
+ },
+ {
+ id: "invalid",
+ label: "Validation errors",
+ code: `root = Stack([heading, Table(5, []), missingRef])
+
+heading = TextContent("Broken example")
+stray = TextContent("nobody references me")
+`,
+ },
+ {
+ id: "partial",
+ label: "Truncated / incomplete",
+ code: `root = Stack([title, body, chart])
+
+title = TextContent("Live streaming demo")
+body = TextContent("This program is truncated mid-statement to show partial parsing.")
+chart = BarChart(["Q1", "Q2", "Q3"], [series`,
+ },
+ {
+ id: "missing-required",
+ label: "Missing required props",
+ code: `root = Stack([title, code, chart, pic])
+
+title = TextContent()
+code = CodeBlock("typescript")
+chart = BarChart(["Q1", "Q2", "Q3"])
+pic = Image()
+`,
+ },
+ {
+ id: "kitchen-sink",
+ label: "Kitchen sink (form + table + chart)",
+ code: `root = Stack([title, note, form, tbl, chart])
+
+title = TextContent("paste playground", "large-heavy")
+note = Callout("info", "Demo", "A form with validation, a table and a chart — rendered fully client-side.")
+form = Form("contact", btns, [nameField, emailField])
+nameField = FormControl("Name", Input("name", "Your name", "text", { required: true, minLength: 2 }))
+emailField = FormControl("Email", Input("email", "[email protected]", "email", { required: true, email: true }))
+btns = Buttons([Button("Submit", Action([@ToAssistant("Submit")]), "primary")])
+tbl = Table([Col("Language", langs), Col("Users (M)", users)])
+langs = ["Python", "JavaScript", "Go"]
+users = [15.7, 14.2, 5.2]
+chart = BarChart(["Q1", "Q2", "Q3"], [Series("Revenue", [120, 150, 180])], "grouped")
+`,
+ },
+ {
+ id: "mock-tools",
+ label: "Query() with mock tools",
+ code: `root = Stack([title, note, tickets])
+
+title = TextContent("Ticket dashboard", "large-heavy")
+note = TextContent("The Query() below hits the playground's mock tool provider: any tool name resolves with sample data.")
+data = Query("list_tickets", {}, {items: []})
+tickets = Table([Col("Ticket", data.items.label), Col("Priority", data.items.value)])
+`,
+ },
+];
+
+export const DEFAULT_EXAMPLE = EXAMPLES[0];
diff --git a/docs/app/paste/lib/groupErrors.ts b/docs/app/paste/lib/groupErrors.ts
new file mode 100644
index 000000000..de1e17482
--- /dev/null
+++ b/docs/app/paste/lib/groupErrors.ts
@@ -0,0 +1,23 @@
+import type { ValidationError } from "./versions/types";
+
+/** Known codes, in display order; unknown codes (future versions) sort after. */
+export const KNOWN_ERROR_CODES = [
+ "type-mismatch",
+ "missing-required",
+ "null-required",
+ "excess-args",
+ "unknown-component",
+ "inline-reserved",
+] as const;
+
+export function groupByCode(errors: ValidationError[]): Map<string, ValidationError[]> {
+ const map = new Map<string, ValidationError[]>();
+ for (const code of KNOWN_ERROR_CODES) map.set(code, []);
+ for (const e of errors) {
+ const list = map.get(e.code) ?? [];
+ list.push(e);
+ map.set(e.code, list);
+ }
+ for (const [code, list] of map) if (list.length === 0) map.delete(code);
+ return map;
+}
diff --git a/docs/app/paste/lib/libraries.ts b/docs/app/paste/lib/libraries.ts
new file mode 100644
index 000000000..ba780ecef
--- /dev/null
+++ b/docs/app/paste/lib/libraries.ts
@@ -0,0 +1,41 @@
+import type { Library } from "@openuidev/react-lang";
+import { openuiChatLibrary, openuiLibrary } from "@openuidev/react-ui/genui-lib";
+import { chatLibrary } from "@openuidev/thesys";
+
+export type LibraryId = "openui" | "chat" | "thesys";
+
+export interface LibraryEntry {
+ id: LibraryId;
+ label: string;
+ library: Library;
+}
+
+export const LIBRARIES: LibraryEntry[] = [
+ { id: "openui", label: "openui", library: openuiLibrary as Library },
+ { id: "chat", label: "openui chat", library: openuiChatLibrary as Library },
+ { id: "thesys", label: "openui thesys", library: chatLibrary as Library },
+];
+
+export function getLibrary(id: LibraryId): LibraryEntry {
+ return LIBRARIES.find((l) => l.id === id) ?? LIBRARIES[0];
+}
+
+// toJSONSchema() walks every component's zod schema — do it once per library.
+const schemaCache = new Map<LibraryId, unknown>();
+
+export function getSchema(id: LibraryId): unknown {
+ let schema = schemaCache.get(id);
+ if (!schema) {
+ schema = getLibrary(id).library.toJSONSchema();
+ schemaCache.set(id, schema);
+ }
+ return schema;
+}
+
+export function getRootName(id: LibraryId): string | undefined {
+ return getLibrary(id).library.root;
+}
+
+export function getComponentNames(id: LibraryId): string[] {
+ return Object.keys(getLibrary(id).library.components);
+}
diff --git a/docs/app/paste/lib/mockTools.ts b/docs/app/paste/lib/mockTools.ts
new file mode 100644
index 000000000..f37cd7427
--- /dev/null
+++ b/docs/app/paste/lib/mockTools.ts
@@ -0,0 +1,43 @@
+/**
+ * Mock tool provider for the render window: any Query()/Mutation() tool name
+ * resolves after a short delay with canned data, so interactive snippets
+ * render instead of erroring on unregistered tools.
+ */
+const CANNED_RESULT = {
+ status: "ok",
+ note: "Mock response from the paste playground — tools are not connected.",
+ items: [
+ { id: 1, label: "Alpha", value: 42 },
+ { id: 2, label: "Beta", value: 17 },
+ { id: 3, label: "Gamma", value: 8 },
+ ],
+};
+
+export interface MockToolCall {
+ tool: string;
+ args: Record<string, unknown>;
+ at: number;
+}
+
+// react-lang treats anything with a callTool() method as an MCP client, and
+// the runtime may probe `then` (thenable checks) — the catch-all must not
+// answer to those, or the provider is misdetected.
+const RESERVED = new Set(["callTool", "then", "toJSON", "constructor"]);
+
+/**
+ * `onCall` fires for every mocked invocation so the UI can show users that
+ * their Query()/Mutation() calls hit a mock, not a real backend.
+ */
+export function createMockToolProvider(onCall?: (call: MockToolCall) => void) {
+ return new Proxy({} as Record<string, (args: Record<string, unknown>) => Promise<unknown>>, {
+ get: (_target, prop) => {
+ if (typeof prop !== "string" || RESERVED.has(prop)) return undefined;
+ return async (args: Record<string, unknown>) => {
+ onCall?.({ tool: prop, args, at: Date.now() });
+ await new Promise((r) => setTimeout(r, 400));
+ return { ...CANNED_RESULT, tool: prop, receivedArgs: args };
+ };
+ },
+ has: (_target, prop) => typeof prop === "string" && !RESERVED.has(prop),
+ });
+}
diff --git a/docs/app/paste/lib/parse.ts b/docs/app/paste/lib/parse.ts
new file mode 100644
index 000000000..58a0c8990
--- /dev/null
+++ b/docs/app/paste/lib/parse.ts
@@ -0,0 +1,83 @@
+import type {
+ LoadedLangCore,
+ OpenUIError,
+ ParseResult,
+ ValidationError,
+} from "./versions/types";
+
+export interface ValidationOutcome {
+ result: ParseResult | null;
+ enriched: OpenUIError[] | null;
+ /** The parser itself threw — happens on some old lang-core versions. */
+ fatal: string | null;
+}
+
+export const EMPTY_OUTCOME: ValidationOutcome = { result: null, enriched: null, fatal: null };
+
+/**
+ * Old lang-core versions return ParseResults with missing fields (0.1.x has
+ * no meta.unresolved/orphaned, for example) — panels would crash on `.map`.
+ * Coerce every result to the full modern shape before it reaches React.
+ */
+export function normalizeResult(raw: unknown): ParseResult | null {
+ if (!raw || typeof raw !== "object") return null;
+ const r = raw as Partial<ParseResult>;
+ const meta = (r.meta ?? {}) as Partial<ParseResult["meta"]>;
+ return {
+ root: r.root ?? null,
+ meta: {
+ incomplete: !!meta.incomplete,
+ unresolved: Array.isArray(meta.unresolved) ? meta.unresolved : [],
+ orphaned: Array.isArray(meta.orphaned) ? meta.orphaned : [],
+ statementCount: typeof meta.statementCount === "number" ? meta.statementCount : 0,
+ errors: Array.isArray(meta.errors) ? meta.errors : [],
+ },
+ stateDeclarations: r.stateDeclarations,
+ queryStatements: r.queryStatements,
+ mutationStatements: r.mutationStatements,
+ };
+}
+
+/**
+ * One-shot validation with the user-selected lang-core version. Everything a
+ * dynamically loaded module does is wrapped — a throw becomes `fatal`, never
+ * an unhandled exception. (If parsing ever needs to move off the main thread,
+ * this function is the seam to put behind a worker.)
+ */
+export function runValidation(
+ code: string,
+ loaded: LoadedLangCore,
+ schema: unknown,
+ rootName: string | undefined,
+ componentNames: string[],
+): ValidationOutcome {
+ if (!code.trim()) return EMPTY_OUTCOME;
+ let result: ParseResult | null;
+ try {
+ result = normalizeResult(loaded.mod.createParser!(schema, rootName).parse(code));
+ } catch (err) {
+ return {
+ result: null,
+ enriched: null,
+ fatal: err instanceof Error ? err.message : String(err),
+ };
+ }
+ if (!result) {
+ return { result: null, enriched: null, fatal: "Parser returned an unrecognizable result." };
+ }
+ return { result, enriched: tryEnrich(result.meta.errors, loaded, schema, componentNames), fatal: null };
+}
+
+export function tryEnrich(
+ errors: ValidationError[],
+ loaded: LoadedLangCore,
+ schema: unknown,
+ componentNames: string[],
+): OpenUIError[] | null {
+ if (!loaded.capabilities.enrich || errors.length === 0) return null;
+ try {
+ return loaded.mod.enrichErrors!(errors, schema, componentNames);
+ } catch {
+ return null;
+ }
+}
diff --git a/docs/app/paste/lib/streaming/chunker.ts b/docs/app/paste/lib/streaming/chunker.ts
new file mode 100644
index 000000000..0f9b837b7
--- /dev/null
+++ b/docs/app/paste/lib/streaming/chunker.ts
@@ -0,0 +1,54 @@
+export interface StreamChunk {
+ text: string;
+ /** Wait before pushing this chunk — models inconsistent LLM/network arrival. */
+ delayMs: number;
+}
+
+export type ChunkStrategy = "24" | "line" | "char" | "llm";
+
+export const CHUNK_STRATEGIES: { id: ChunkStrategy; label: string }[] = [
+ { id: "llm", label: "LLM-like" },
+ { id: "24", label: "24 chars" },
+ { id: "line", label: "Per line" },
+ { id: "char", label: "Per char" },
+];
+
+/** Deterministic PRNG so llm-strategy runs are reproducible via seed. */
+export function mulberry32(seed: number): () => number {
+ let a = seed >>> 0;
+ return () => {
+ a |= 0;
+ a = (a + 0x6d2b79f5) | 0;
+ let t = Math.imul(a ^ (a >>> 15), 1 | a);
+ t = (t + Math.imul(t ^ (t >>> 7), 61 | t)) ^ t;
+ return ((t ^ (t >>> 14)) >>> 0) / 4294967296;
+ };
+}
+
+export function splitChunks(source: string, spec: ChunkStrategy, rng: () => number): StreamChunk[] {
+ if (spec === "llm") {
+ const chunks: StreamChunk[] = [];
+ let i = 0;
+ while (i < source.length) {
+ const len = rng() < 0.8 ? 1 + Math.floor(rng() * 12) : 13 + Math.floor(rng() * 48);
+ const text = source.slice(i, i + len);
+ i += text.length;
+ const r = rng();
+ const delayMs =
+ r < 0.15 ? 0 : r < 0.9 ? 5 + Math.floor(rng() * 75) : 200 + Math.floor(rng() * 400);
+ chunks.push({ text, delayMs });
+ }
+ return chunks;
+ }
+ if (spec === "line") {
+ return source
+ .split(/(?<=\n)/)
+ .filter((s) => s.length > 0)
+ .map((text) => ({ text, delayMs: 0 }));
+ }
+ const n = spec === "char" ? 1 : Math.max(1, parseInt(spec, 10) || 24);
+ const chunks: StreamChunk[] = [];
+ for (let i = 0; i < source.length; i += n)
+ chunks.push({ text: source.slice(i, i + n), delayMs: 0 });
+ return chunks;
+}
diff --git a/docs/app/paste/lib/streaming/usePlayback.ts b/docs/app/paste/lib/streaming/usePlayback.ts
new file mode 100644
index 000000000..1f1597d38
--- /dev/null
+++ b/docs/app/paste/lib/streaming/usePlayback.ts
@@ -0,0 +1,273 @@
+"use client";
+
+import { useCallback, useRef, useState } from "react";
+import { normalizeResult } from "../parse";
+import type { LoadedLangCore, ParseResult, StreamParserLike } from "../versions/types";
+import { type ChunkStrategy, type StreamChunk, mulberry32, splitChunks } from "./chunker";
+
+export interface TraceRow {
+ i: number;
+ chunkPreview: string;
+ delayMs: number;
+ rootPresent: boolean;
+ rootAppeared: boolean;
+ rootDropped: boolean;
+ statementCount: number;
+ incomplete: boolean;
+ unresolvedCount: number;
+ errorCount: number;
+}
+
+export type PlaybackStatus = "idle" | "playing" | "paused" | "done";
+
+export interface PlaybackState {
+ status: PlaybackStatus;
+ /** Accumulated source text pushed so far — feed this to the Renderer. */
+ prefix: string;
+ chunkIndex: number;
+ totalChunks: number;
+ trace: TraceRow[];
+ traceTruncated: boolean;
+ result: ParseResult | null;
+ /** Streaming result vs one-shot parse of the full source, checked on finish. */
+ convergence: "converged" | "diverged" | null;
+ /** True when the selected version has no createStreamingParser (re-parse per chunk). */
+ emulated: boolean;
+ fatal: string | null;
+}
+
+const IDLE: PlaybackState = {
+ status: "idle",
+ prefix: "",
+ chunkIndex: 0,
+ totalChunks: 0,
+ trace: [],
+ traceTruncated: false,
+ result: null,
+ convergence: null,
+ emulated: false,
+ fatal: null,
+};
+
+const TRACE_CAP = 5000;
+const BASE_INTERVAL_MS = 40;
+
+interface Session {
+ /** Snapshot of the editor content when playback started. */
+ source: string;
+ chunks: StreamChunk[];
+ strategy: ChunkStrategy;
+ emulated: boolean;
+ push: (chunk: string, prefix: string) => ParseResult;
+ getFinal: () => ParseResult;
+ prefix: string;
+ index: number;
+ lastRootPresent: boolean;
+ rows: TraceRow[];
+ truncated: boolean;
+}
+
+export interface PlaybackControls {
+ state: PlaybackState;
+ start: (opts: { strategy: ChunkStrategy; seed: number }) => void;
+ pause: () => void;
+ resume: () => void;
+ step: () => void;
+ reset: () => void;
+ setSpeed: (speed: number) => void;
+ speed: number;
+}
+
+export function usePlayback(
+ code: string,
+ loaded: LoadedLangCore | null,
+ schema: unknown,
+ rootName: string | undefined,
+): PlaybackControls {
+ const [state, setState] = useState<PlaybackState>(IDLE);
+ const [speed, setSpeedState] = useState(1);
+ const speedRef = useRef(1);
+ // Incremented on pause/reset/start — in-flight timeout callbacks bail when stale.
+ const generation = useRef(0);
+ const session = useRef<Session | null>(null);
+
+ const setSpeed = useCallback((s: number) => {
+ speedRef.current = s;
+ setSpeedState(s);
+ }, []);
+
+ const finish = useCallback(
+ (s: Session, l: LoadedLangCore) => {
+ let convergence: PlaybackState["convergence"] = null;
+ let fatal: string | null = null;
+ let result: ParseResult | null = null;
+ try {
+ result = normalizeResult(s.getFinal());
+ const oneShot = normalizeResult(l.mod.createParser!(schema, rootName).parse(s.source));
+ convergence =
+ JSON.stringify(result?.root) === JSON.stringify(oneShot?.root)
+ ? "converged"
+ : "diverged";
+ } catch (err) {
+ fatal = err instanceof Error ? err.message : String(err);
+ }
+ setState((prev) => ({
+ ...prev,
+ status: "done",
+ result: result ?? prev.result,
+ convergence,
+ fatal,
+ }));
+ },
+ [schema, rootName],
+ );
+
+ /** Parse one chunk, record a trace row, publish state. Returns false on fatal error. */
+ const advance = useCallback(
+ (s: Session, status: PlaybackStatus): boolean => {
+ const chunk = s.chunks[s.index];
+ s.prefix += chunk.text;
+ let result: ParseResult | null = null;
+ let fatal: string | null = null;
+ try {
+ result = normalizeResult(s.push(chunk.text, s.prefix));
+ } catch (err) {
+ fatal = err instanceof Error ? err.message : String(err);
+ }
+ const rootPresent = !!result?.root;
+ if (result) {
+ if (s.rows.length >= TRACE_CAP) {
+ s.truncated = true;
+ } else {
+ s.rows.push({
+ i: s.index,
+ chunkPreview: chunk.text.length > 40 ? `${chunk.text.slice(0, 40)}…` : chunk.text,
+ delayMs: chunk.delayMs,
+ rootPresent,
+ rootAppeared: rootPresent && !s.lastRootPresent,
+ rootDropped: !rootPresent && s.lastRootPresent,
+ statementCount: result.meta.statementCount,
+ incomplete: result.meta.incomplete,
+ unresolvedCount: result.meta.unresolved.length,
+ errorCount: result.meta.errors.length,
+ });
+ }
+ }
+ s.lastRootPresent = rootPresent;
+ s.index += 1;
+ setState({
+ status: fatal ? "done" : status,
+ prefix: s.prefix,
+ chunkIndex: s.index,
+ totalChunks: s.chunks.length,
+ trace: [...s.rows],
+ traceTruncated: s.truncated,
+ result,
+ convergence: null,
+ emulated: s.emulated,
+ fatal,
+ });
+ return !fatal;
+ },
+ [],
+ );
+
+ const play = useCallback(
+ (s: Session, l: LoadedLangCore) => {
+ const gen = generation.current;
+ const tick = () => {
+ if (generation.current !== gen || session.current !== s) return;
+ if (s.index >= s.chunks.length) {
+ finish(s, l);
+ return;
+ }
+ if (!advance(s, "playing")) return;
+ if (s.index >= s.chunks.length) {
+ finish(s, l);
+ return;
+ }
+ schedule();
+ };
+ const schedule = () => {
+ const next = s.chunks[s.index];
+ const base = s.strategy === "llm" && next ? next.delayMs : BASE_INTERVAL_MS;
+ setTimeout(tick, Math.max(0, base / speedRef.current));
+ };
+ schedule();
+ },
+ [advance, finish],
+ );
+
+ const start = useCallback(
+ ({ strategy, seed }: { strategy: ChunkStrategy; seed: number }) => {
+ if (!loaded?.compatible || !loaded.mod.createParser || !code.trim()) return;
+ generation.current += 1;
+
+ const emulated = !loaded.capabilities.streaming;
+ let push: Session["push"];
+ let getFinal: Session["getFinal"];
+ if (emulated) {
+ // O(n²) full re-parse per chunk — fine at playground scale.
+ let last: ParseResult | null = null;
+ push = (_chunk, prefix) => {
+ last = loaded.mod.createParser!(schema, rootName).parse(prefix);
+ return last;
+ };
+ getFinal = () => last ?? loaded.mod.createParser!(schema, rootName).parse(code);
+ } else {
+ const sp: StreamParserLike = loaded.mod.createStreamingParser!(schema, rootName);
+ push = (chunk) => sp.push(chunk);
+ getFinal = () => sp.getResult();
+ }
+
+ const s: Session = {
+ source: code,
+ chunks: splitChunks(code, strategy, mulberry32(seed)),
+ strategy,
+ emulated,
+ push,
+ getFinal,
+ prefix: "",
+ index: 0,
+ lastRootPresent: false,
+ rows: [],
+ truncated: false,
+ };
+ session.current = s;
+ setState({ ...IDLE, status: "playing", totalChunks: s.chunks.length, emulated });
+ play(s, loaded);
+ },
+ [code, loaded, schema, rootName, play],
+ );
+
+ const pause = useCallback(() => {
+ generation.current += 1;
+ setState((prev) => (prev.status === "playing" ? { ...prev, status: "paused" } : prev));
+ }, []);
+
+ const resume = useCallback(() => {
+ const s = session.current;
+ if (!s || !loaded) return;
+ generation.current += 1;
+ setState((prev) => (prev.status === "paused" ? { ...prev, status: "playing" } : prev));
+ play(s, loaded);
+ }, [loaded, play]);
+
+ const step = useCallback(() => {
+ const s = session.current;
+ if (!s || !loaded) return;
+ if (s.index >= s.chunks.length) {
+ finish(s, loaded);
+ return;
+ }
+ if (advance(s, "paused") && s.index >= s.chunks.length) finish(s, loaded);
+ }, [advance, finish, loaded]);
+
+ const reset = useCallback(() => {
+ generation.current += 1;
+ session.current = null;
+ setState(IDLE);
+ }, []);
+
+ return { state, start, pause, resume, step, reset, setSpeed, speed };
+}
diff --git a/docs/app/paste/lib/versions/loader.ts b/docs/app/paste/lib/versions/loader.ts
new file mode 100644
index 000000000..ba5fcdb95
--- /dev/null
+++ b/docs/app/paste/lib/versions/loader.ts
@@ -0,0 +1,134 @@
+import * as bundled from "@openuidev/lang-core";
+import { version as workspaceLangCoreVersion } from "../../../../../packages/lang-core/package.json";
+import type { LangCoreModule, LoadedLangCore, ParseResult } from "./types";
+
+/** Workspace `@openuidev/lang-core` version — stays in sync with the local package. */
+export const BUNDLED_LANG_CORE_VERSION: string = workspaceLangCoreVersion;
+
+// Both webpack and Turbopack rewrite `import(expr)`; magic comments differ
+// between them and drift across Next versions. `new Function` is the one
+// bundler-proof way to get a native dynamic import.
+const dynamicImport = new Function("u", "return import(u)") as (
+ u: string,
+) => Promise<Record<string, unknown>>;
+
+const CDN_SOURCES = [
+ {
+ source: "esm.sh" as const,
+ url: (v: string) => `https://esm.sh/@openuidev/lang-core@${v}`,
+ },
+ {
+ source: "jsdelivr" as const,
+ url: (v: string) => `https://cdn.jsdelivr.net/npm/@openuidev/lang-core@${v}/+esm`,
+ },
+];
+
+const cache = new Map<string, Promise<LoadedLangCore>>();
+
+function detect(
+ mod: LangCoreModule,
+ version: string,
+ source: LoadedLangCore["source"],
+): LoadedLangCore {
+ if (typeof mod.createParser !== "function") {
+ return {
+ version,
+ mod,
+ source,
+ compatible: false,
+ reason: "This version does not export createParser().",
+ capabilities: { streaming: false, streamSet: false, enrich: false },
+ };
+ }
+
+ // Smoke test: the ParseResult shape must be recognizable or every panel breaks.
+ try {
+ const result: ParseResult = mod
+ .createParser({ $defs: { Text: { type: "object", properties: {} } } })
+ .parse('root = Text("hi")');
+ if (
+ !result ||
+ typeof result !== "object" ||
+ !result.meta ||
+ !Array.isArray(result.meta.errors)
+ ) {
+ throw new Error("ParseResult has no meta.errors array");
+ }
+ } catch (err) {
+ return {
+ version,
+ mod,
+ source,
+ compatible: false,
+ reason: `Smoke test failed: ${err instanceof Error ? err.message : String(err)}`,
+ capabilities: { streaming: false, streamSet: false, enrich: false },
+ };
+ }
+
+ let streamSet = false;
+ const streaming = typeof mod.createStreamingParser === "function";
+ if (streaming) {
+ try {
+ const sp = mod.createStreamingParser!({ $defs: {} });
+ streamSet = typeof sp.set === "function";
+ } catch {
+ // constructor threw — treat streaming as unsupported
+ return {
+ version,
+ mod,
+ source,
+ compatible: true,
+ capabilities: {
+ streaming: false,
+ streamSet: false,
+ enrich: typeof mod.enrichErrors === "function",
+ },
+ };
+ }
+ }
+
+ return {
+ version,
+ mod,
+ source,
+ compatible: true,
+ capabilities: { streaming, streamSet, enrich: typeof mod.enrichErrors === "function" },
+ };
+}
+
+async function loadUncached(version: string): Promise<LoadedLangCore> {
+ if (version === BUNDLED_LANG_CORE_VERSION) {
+ return detect(bundled as LangCoreModule, version, "bundled");
+ }
+ for (const cdn of CDN_SOURCES) {
+ try {
+ const mod = await Promise.race([
+ dynamicImport(cdn.url(version)),
+ new Promise<never>((_, reject) =>
+ // esm.sh can hang while building a never-requested version, not just 404.
+ setTimeout(() => reject(new Error("CDN timeout")), 8000),
+ ),
+ ]);
+ return detect(mod as LangCoreModule, version, cdn.source);
+ } catch {
+ continue;
+ }
+ }
+ // All CDNs unreachable — validate with the bundled parser and say so in the UI.
+ return detect(bundled as LangCoreModule, BUNDLED_LANG_CORE_VERSION, "bundled");
+}
+
+/**
+ * Load a specific published version. Resolved modules (and in-flight loads)
+ * are cached per version so switching back is instant.
+ */
+export function loadLangCore(version: string): Promise<LoadedLangCore> {
+ let pending = cache.get(version);
+ if (!pending) {
+ pending = loadUncached(version);
+ cache.set(version, pending);
+ // Don't poison the cache with transient failures (e.g. offline).
+ pending.catch(() => cache.delete(version));
+ }
+ return pending;
+}
diff --git a/docs/app/paste/lib/versions/registry.ts b/docs/app/paste/lib/versions/registry.ts
new file mode 100644
index 000000000..69412255a
--- /dev/null
+++ b/docs/app/paste/lib/versions/registry.ts
@@ -0,0 +1,85 @@
+import { gte, rcompare, valid } from "semver";
+import type { VersionList } from "./types";
+import { BUNDLED_LANG_CORE_VERSION } from "./loader";
+
+const REGISTRY_URL = "https://registry.npmjs.org/@openuidev/lang-core";
+const CACHE_KEY = "paste:lang-core-versions:v1";
+const CACHE_TTL_MS = 10 * 60 * 1000;
+
+interface CachedList {
+ fetchedAt: number;
+ versions: string[];
+ latest: string | null;
+}
+
+function readCache(): CachedList | null {
+ if (typeof window === "undefined") return null;
+ try {
+ const raw = sessionStorage.getItem(CACHE_KEY);
+ if (!raw) return null;
+ const parsed = JSON.parse(raw) as CachedList;
+ if (Date.now() - parsed.fetchedAt > CACHE_TTL_MS) return null;
+ return parsed;
+ } catch {
+ return null;
+ }
+}
+
+function writeCache(entry: CachedList): void {
+ try {
+ sessionStorage.setItem(CACHE_KEY, JSON.stringify(entry));
+ } catch {
+ // storage full / private mode — cache is best-effort
+ }
+}
+
+function group(versions: string[], latest: string | null): VersionList {
+ const sorted = [...versions].filter((v) => valid(v)).sort(rcompare);
+ const groups = new Map<string, string[]>();
+ for (const v of sorted) {
+ const [major, minor] = v.split(".");
+ const label = `${major}.${minor}`;
+ const list = groups.get(label) ?? [];
+ list.push(v);
+ groups.set(label, list);
+ }
+ return {
+ groups: [...groups.entries()].map(([label, vs]) => ({ label, versions: vs })),
+ latest,
+ };
+}
+
+/** Always expose the workspace package, and prefer it as latest when it is newer than npm. */
+function resolveList(versions: string[], npmLatest: string | null): VersionList {
+ const bundled = BUNDLED_LANG_CORE_VERSION;
+ const all = versions.includes(bundled) ? versions : [...versions, bundled];
+ const latest =
+ npmLatest && valid(npmLatest) && !gte(bundled, npmLatest) ? npmLatest : bundled;
+ return group(all, latest);
+}
+
+/** Fallback entry so the picker always works even when the registry is down. */
+export function bundledOnlyList(): VersionList {
+ return resolveList([], null);
+}
+
+export async function fetchVersionList(): Promise<VersionList> {
+ const cached = readCache();
+ if (cached) return resolveList(cached.versions, cached.latest);
+
+ const res = await fetch(REGISTRY_URL, {
+ // Corgi doc: much smaller than the full packument, still has versions + dist-tags.
+ headers: { Accept: "application/vnd.npm.install-v1+json" },
+ signal: AbortSignal.timeout(10_000),
+ });
+ if (!res.ok) throw new Error(`npm registry responded ${res.status}`);
+ const doc = (await res.json()) as {
+ versions?: Record<string, unknown>;
+ "dist-tags"?: Record<string, string>;
+ };
+ const versions = Object.keys(doc.versions ?? {});
+ const latest = doc["dist-tags"]?.latest ?? null;
+ if (versions.length === 0) throw new Error("npm registry returned no versions");
+ writeCache({ fetchedAt: Date.now(), versions, latest });
+ return resolveList(versions, latest);
+}
diff --git a/docs/app/paste/lib/versions/types.ts b/docs/app/paste/lib/versions/types.ts
new file mode 100644
index 000000000..094f3c9d6
--- /dev/null
+++ b/docs/app/paste/lib/versions/types.ts
@@ -0,0 +1,96 @@
+/**
+ * Structural types for whatever version of @openuidev/lang-core the user
+ * selects. Never import types from the package itself here — these must
+ * compile against ANY published version, old or new (same approach as
+ * lang-harness/src/langcore.ts).
+ */
+
+export interface ValidationError {
+ code: string;
+ component: string;
+ path: string;
+ message: string;
+ statementId?: string;
+}
+
+export interface OpenUIError {
+ source: string;
+ code: string;
+ message: string;
+ component?: string;
+ path?: string;
+ statementId?: string;
+ hint?: string;
+}
+
+export interface ElementNode {
+ type: "element";
+ typeName: string;
+ props: Record<string, unknown>;
+ partial: boolean;
+ statementId?: string;
+ hasDynamicProps?: boolean;
+}
+
+export interface ParseMeta {
+ incomplete: boolean;
+ unresolved: string[];
+ orphaned: string[];
+ statementCount: number;
+ errors: ValidationError[];
+}
+
+export interface ParseResult {
+ root: ElementNode | null;
+ meta: ParseMeta;
+ stateDeclarations?: Record<string, unknown>;
+ queryStatements?: unknown[];
+ mutationStatements?: unknown[];
+}
+
+export interface ParserLike {
+ parse(src: string): ParseResult;
+}
+
+export interface StreamParserLike {
+ push(chunk: string): ParseResult;
+ /** Diffs against internal buffer; resets if text was replaced. Newer versions only. */
+ set?(fullText: string): ParseResult;
+ getResult(): ParseResult;
+}
+
+export interface LangCoreModule {
+ createParser?: (schema: unknown, rootName?: string) => ParserLike;
+ createStreamingParser?: (schema: unknown, rootName?: string) => StreamParserLike;
+ enrichErrors?: (
+ errors: ValidationError[],
+ schema: unknown,
+ componentNames: string[],
+ ) => OpenUIError[];
+}
+
+export interface LoadedLangCore {
+ version: string;
+ mod: LangCoreModule;
+ /** Where the module actually came from. */
+ source: "esm.sh" | "jsdelivr" | "bundled";
+ compatible: boolean;
+ /** Human-readable reason when compatible === false. */
+ reason?: string;
+ capabilities: {
+ streaming: boolean;
+ streamSet: boolean;
+ enrich: boolean;
+ };
+}
+
+export interface VersionGroup {
+ /** "0.2", "1.0", ... */
+ label: string;
+ versions: string[];
+}
+
+export interface VersionList {
+ groups: VersionGroup[];
+ latest: string | null;
+}
diff --git a/docs/app/paste/page.tsx b/docs/app/paste/page.tsx
new file mode 100644
index 000000000..4f3d04483
--- /dev/null
+++ b/docs/app/paste/page.tsx
@@ -0,0 +1,15 @@
+"use client";
+
+import dynamic from "next/dynamic";
+import styles from "./paste.module.css";
+
+// Client-only: the playground drives CodeMirror, CDN version loading and
+// playback in the browser, and @openuidev/thesys does not survive SSR.
+const Playground = dynamic(() => import("./components/Playground").then((m) => m.Playground), {
+ ssr: false,
+ loading: () => <div className={styles.loading}>Loading playground…</div>,
+});
+
+export default function PastePage() {
+ return <Playground />;
+}
diff --git a/docs/app/paste/paste.module.css b/docs/app/paste/paste.module.css
new file mode 100644
index 000000000..5761f9b27
--- /dev/null
+++ b/docs/app/paste/paste.module.css
@@ -0,0 +1,902 @@
+/* Paste page styles. Root `.paste` replaces the old global `.playground`
+ scope; other names are local to this module. */
+
+:where(.paste, .paste *, .paste *::before, .paste *::after) {
+ box-sizing: border-box;
+ margin: 0;
+ padding: 0;
+}
+
+.paste {
+ --paste-border: 1px solid var(--openui-border-default, rgba(128, 128, 128, 0.25));
+ --paste-mono: var(--openui-font-code, ui-monospace, SFMono-Regular, Menlo, monospace);
+ height: 100dvh;
+ display: flex;
+ flex-direction: column;
+ background: var(--openui-background, #fff);
+ color: var(--openui-text-neutral-primary, #171717);
+ font-size: 16px;
+}
+
+/* Hover signature tooltip (VSCode-style). CodeMirror sets these class names
+ in JS, so they stay global and are scoped by the paste root. */
+.paste :global(.cm-signature-tooltip) {
+ /* popover token is fully opaque; --openui-elevated is a translucent tint */
+ background: var(--openui-popover-background, var(--openui-background, #fff));
+ border: var(--paste-border);
+ border-radius: var(--openui-radius-m, 8px);
+ box-shadow: var(--openui-shadow-l, 0 6px 24px rgba(0, 0, 0, 0.12));
+ padding: var(--openui-space-xs, 8px) var(--openui-space-s, 10px);
+ max-width: 480px;
+}
+
+.paste :global(.cm-signature-code) {
+ font-family: var(--paste-mono);
+ font-size: var(--openui-font-size-xs, 12px);
+ white-space: pre-wrap;
+ word-break: break-word;
+}
+
+.paste :global(.cm-signature-doc) {
+ margin-top: var(--openui-space-2xs, 6px);
+ color: var(--openui-text-neutral-secondary, #666);
+ font-size: var(--openui-font-size-xs, 12px);
+}
+
+.loading {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ color: var(--openui-text-neutral-secondary);
+ height: 100vh;
+}
+
+/* ── toolbar ───────────────────────────────────────────────────────────── */
+
+.toolbar {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: var(--openui-space-m, 16px);
+ padding: var(--openui-space-m, 16px);
+ border-bottom: var(--paste-border);
+ flex-wrap: wrap;
+}
+
+.toolbarBrand {
+ display: flex;
+ align-items: baseline;
+ gap: var(--openui-space-s, 10px);
+}
+
+.toolbarLogo {
+ font-weight: 600;
+ font-size: var(--openui-font-size-xl, 20px);
+}
+
+.toolbarTagline {
+ color: var(--openui-text-neutral-secondary, #666);
+ font-size: var(--openui-font-size-xl, 14px);
+}
+
+.toolbarControls {
+ display: flex;
+ align-items: center;
+ gap: var(--openui-space-m, 16px);
+ flex-wrap: wrap;
+}
+
+.toolbarField {
+ display: flex;
+ align-items: center;
+ gap: var(--openui-space-2xs, 6px);
+}
+
+.toolbarLabel {
+ color: var(--openui-text-neutral-secondary, #666);
+ font-size: var(--openui-font-size-xs, 12px);
+}
+
+.toolbarDivider {
+ width: 1px;
+ height: 22px;
+ background: var(--openui-border-default, rgba(128, 128, 128, 0.25));
+}
+
+/* ── help dialog ───────────────────────────────────────────────────────── */
+
+.helpOverlay {
+ position: fixed;
+ inset: 0;
+ background: rgba(0, 0, 0, 0.4);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ z-index: 200;
+ padding: var(--openui-space-l, 24px);
+}
+
+.helpDialog {
+ background: var(--openui-background, #fff);
+ border: var(--paste-border);
+ border-radius: var(--openui-radius-l, 12px);
+ box-shadow: var(--openui-shadow-2xl, 0 24px 64px rgba(0, 0, 0, 0.25));
+ max-width: 640px;
+ width: 100%;
+ max-height: 80vh;
+ display: flex;
+ flex-direction: column;
+ overflow: hidden;
+}
+
+.helpHeader {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: var(--openui-space-m, 16px) var(--openui-space-l, 24px);
+ border-bottom: var(--paste-border);
+}
+
+.helpHeader h2 {
+ font-size: var(--openui-font-size-lg, 18px);
+ font-weight: 700;
+}
+
+.helpBody {
+ padding: var(--openui-space-l, 24px);
+ overflow-y: auto;
+ display: flex;
+ flex-direction: column;
+ gap: var(--openui-space-s, 10px);
+ font-size: var(--openui-font-size-m, 14px);
+ line-height: 1.55;
+}
+
+.helpBody h3 {
+ font-size: var(--openui-font-size-m, 14px);
+ font-weight: 700;
+ margin-top: var(--openui-space-s, 10px);
+}
+
+.helpBody ol,
+.helpBody ul {
+ padding-left: var(--openui-space-l, 24px);
+ display: flex;
+ flex-direction: column;
+ gap: var(--openui-space-2xs, 6px);
+}
+
+/* Tailwind preflight strips list-style from ul/ol — restore markers. */
+.helpBody ul {
+ list-style: disc;
+}
+
+.helpBody ol {
+ list-style: decimal;
+}
+
+.helpBody li {
+ display: list-item;
+}
+
+.helpBody code {
+ font-family: var(--paste-mono);
+ font-size: 0.9em;
+ background: var(--openui-sunk, rgba(0, 0, 0, 0.05));
+ border-radius: var(--openui-radius-xs, 4px);
+ padding: 1px var(--openui-space-2xs, 6px);
+}
+
+/* ── stream controls ───────────────────────────────────────────────────── */
+
+.streamControls {
+ display: flex;
+ align-items: center;
+ gap: var(--openui-space-s, 10px);
+ flex-wrap: wrap;
+}
+
+.seedInput {
+ width: 70px;
+}
+
+.streamProgress {
+ color: var(--openui-text-neutral-secondary, #666);
+ font-size: var(--openui-font-size-xs, 12px);
+ font-family: var(--paste-mono);
+}
+
+/* ── split layout ──────────────────────────────────────────────────────── */
+
+.mainSplit {
+ flex: 1;
+ min-height: 0;
+}
+
+.resizeHandle {
+ width: 5px;
+ background: transparent;
+ border-left: var(--paste-border);
+ transition: background 0.15s;
+}
+
+.resizeHandle:hover,
+.resizeHandle:active {
+ background: var(--openui-interactive-accent-default, #4467f6);
+}
+
+/* react-resizable-panels v4 applies Panel className to a nested div */
+.splitPanel {
+ height: 100%;
+ min-width: 0;
+}
+
+.editorPane {
+ height: 100%;
+ position: relative;
+ overflow: hidden;
+}
+
+.editorPane :global(.cm-editor) {
+ height: 100%;
+}
+
+.editorPane :global(.cm-tooltip) {
+ border: none;
+ background: transparent;
+}
+
+.editorLock {
+ position: absolute;
+ bottom: var(--openui-space-s, 10px);
+ right: var(--openui-space-s, 10px);
+ background: var(--openui-elevated, #f5f5f5);
+ border: var(--paste-border);
+ border-radius: var(--openui-radius-full, 999px);
+ padding: var(--openui-space-3xs, 2px) var(--openui-space-s, 10px);
+ font-size: var(--openui-font-size-2xs, 10px);
+ color: var(--openui-text-neutral-secondary, #666);
+}
+
+/* ── output tabs ───────────────────────────────────────────────────────── */
+
+.outputPane {
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+ min-width: 0;
+ position: relative;
+}
+
+.outputPane.isLoading .tabPanels {
+ pointer-events: none;
+ user-select: none;
+}
+
+.tabPanels {
+ flex: 1;
+ min-height: 0;
+ display: flex;
+ flex-direction: column;
+ position: relative;
+}
+
+.panelLoading {
+ position: absolute;
+ inset: 0;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ gap: var(--openui-space-s, 10px);
+ z-index: 2;
+ color: var(--openui-text-neutral-secondary, #666);
+ font-size: var(--openui-font-size-m, 14px);
+ background: color-mix(in srgb, var(--openui-background, #fff) 72%, transparent);
+}
+
+.outputTabs {
+ display: flex;
+ flex-direction: column;
+ height: 100%;
+ min-height: 0;
+}
+
+.tabStrip {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: var(--openui-space-s, 10px);
+ padding: var(--openui-space-2xs, 6px) var(--openui-space-s, 10px);
+ border-bottom: var(--paste-border);
+}
+
+/* Our border spans the full pane width — drop the library's own list underline. */
+.tabStrip :global(.openui-tabs-list-container)::after {
+ display: none;
+}
+
+.bannerSlot {
+ padding: var(--openui-space-xs, 8px) var(--openui-space-m, 16px) 0;
+}
+
+.tabBody {
+ flex: 1;
+ min-height: 0;
+ overflow: hidden;
+ display: flex;
+ flex-direction: column;
+}
+
+/* Radix keeps inactive TabsContent in the DOM with [hidden]; display rules
+ would otherwise override it and stack every pane below the active one. */
+.tabBody[hidden],
+.tabBody[data-state="inactive"] {
+ display: none;
+}
+
+/* The library's TabsContent wraps children in .openui-tabs-content-inner,
+ which is height-unconstrained — without this, .panelScroll grows to
+ its content and nothing ever scrolls. */
+.tabBody > :global(.openui-tabs-content-inner) {
+ display: flex;
+ flex-direction: column;
+ flex: 1;
+ min-height: 0;
+ overflow: hidden;
+}
+
+.panelScroll {
+ overflow: auto;
+ padding: var(--openui-space-m, 16px);
+ flex: 1;
+}
+
+.panelEmpty {
+ padding: var(--openui-space-xl, 32px);
+ color: var(--openui-text-neutral-tertiary, #999);
+ text-align: center;
+ margin: auto;
+ /* Guards against the docs bundle's unscoped .panel-empty rule. */
+ display: block;
+ height: auto;
+}
+
+/* ── validation panel ──────────────────────────────────────────────────── */
+
+.metaStrip {
+ display: flex;
+ gap: var(--openui-space-2xs, 6px);
+ flex-wrap: wrap;
+ margin-bottom: var(--openui-space-m, 16px);
+}
+
+.allClear {
+ color: var(--openui-text-success-primary, #171);
+ font-weight: 500;
+ display: flex;
+ align-items: center;
+ gap: var(--openui-space-2xs, 6px);
+}
+
+.errorGroup {
+ margin-bottom: var(--openui-space-l, 24px);
+}
+
+.errorGroup h3 {
+ font-size: var(--openui-font-size-s, 13px);
+ margin-bottom: var(--openui-space-xs, 8px);
+}
+
+.errorGroup .count {
+ color: var(--openui-text-neutral-tertiary, #999);
+ font-weight: 400;
+}
+
+.errorGroup ul {
+ list-style: none;
+}
+
+.errorRow {
+ padding: var(--openui-space-xs, 8px);
+ border: var(--paste-border);
+ border-radius: var(--openui-radius-s, 6px);
+ margin-bottom: var(--openui-space-xs, 8px);
+}
+
+.errHead {
+ display: flex;
+ align-items: center;
+ gap: var(--openui-space-xs, 8px);
+}
+
+.errComponent {
+ font-weight: 600;
+ font-family: var(--paste-mono);
+}
+
+.errPath {
+ color: var(--openui-text-neutral-secondary, #666);
+ font-family: var(--paste-mono);
+}
+
+.errMessage {
+ margin-top: var(--openui-space-3xs, 2px);
+}
+
+.errHint {
+ margin-top: var(--openui-space-3xs, 2px);
+ color: var(--openui-text-info-primary, #147);
+ font-size: var(--openui-font-size-s, 13px);
+ display: flex;
+ align-items: center;
+ gap: var(--openui-space-2xs, 6px);
+}
+
+.fatalCard {
+ border: 1px solid var(--openui-text-danger-primary, #a11);
+ border-radius: var(--openui-radius-m, 8px);
+ padding: var(--openui-space-m, 16px);
+ color: var(--openui-text-danger-primary, #a11);
+}
+
+.fatalCard pre {
+ margin: var(--openui-space-xs, 8px) 0;
+ font-family: var(--paste-mono);
+ white-space: pre-wrap;
+}
+
+/* ── render panel ──────────────────────────────────────────────────────── */
+
+.renderPanel {
+ display: flex;
+ flex-direction: column;
+ flex: 1;
+ min-height: 0;
+ overflow: auto;
+}
+
+.renderSeam {
+ padding: var(--openui-space-2xs, 6px) var(--openui-space-m, 16px);
+ color: var(--openui-text-neutral, #999);
+ font-size: var(--openui-font-size-xs, 10px);
+ margin-bottom: var(--openui-space-xs);
+}
+
+.renderCanvas {
+ padding: var(--openui-space-l, 24px);
+ flex: 1;
+}
+
+.renderDetails {
+ border-top: var(--paste-border);
+ padding: var(--openui-space-xs, 8px) var(--openui-space-m, 16px);
+ font-size: var(--openui-font-size-s, 13px);
+}
+
+.renderDetails summary {
+ cursor: pointer;
+ color: var(--openui-text-neutral-secondary, #666);
+}
+
+.renderDetails ul {
+ list-style: none;
+ margin-top: var(--openui-space-xs, 8px);
+}
+
+.renderCrash {
+ border: 1px solid var(--openui-text-danger-primary, #a11);
+ border-radius: var(--openui-radius-m, 8px);
+ padding: var(--openui-space-m, 16px);
+ color: var(--openui-text-danger-primary, #a11);
+}
+
+.renderCrash pre {
+ margin: var(--openui-space-xs, 8px) 0;
+ white-space: pre-wrap;
+ font-family: var(--paste-mono);
+}
+
+/* ── tree panel ────────────────────────────────────────────────────────── */
+
+.treeNode {
+ margin-bottom: var(--openui-space-3xs, 2px);
+}
+
+.treeHeader {
+ display: inline-flex;
+ align-items: center;
+ gap: var(--openui-space-2xs, 6px);
+ border: none;
+ background: none;
+ cursor: pointer;
+ color: inherit;
+ font: inherit;
+ padding: var(--openui-space-3xs, 2px) 0;
+}
+
+.treeCaret {
+ color: var(--openui-text-neutral-tertiary, #999);
+ display: inline-flex;
+ width: 1em;
+}
+
+.treeType {
+ font-family: var(--paste-mono);
+ font-weight: 600;
+}
+
+.treeProps {
+ margin-left: var(--openui-space-l, 24px);
+ border-left: var(--paste-border);
+ padding-left: var(--openui-space-s, 10px);
+}
+
+.treeProp {
+ display: flex;
+ gap: var(--openui-space-s, 10px);
+ align-items: baseline;
+ padding: 1px 0;
+}
+
+.treeProp dt {
+ color: var(--openui-text-neutral-secondary, #666);
+ font-family: var(--paste-mono);
+ font-size: var(--openui-font-size-xs, 12px);
+ min-width: 80px;
+}
+
+.treeChildren {
+ display: flex;
+ flex-direction: column;
+}
+
+.treeScalar {
+ font-family: var(--paste-mono);
+ font-size: var(--openui-font-size-xs, 12px);
+ word-break: break-word;
+}
+
+.treeExpr {
+ font-family: var(--paste-mono);
+ font-size: var(--openui-font-size-xs, 12px);
+ color: var(--openui-text-info-primary, #147);
+}
+
+.treeExtra {
+ margin-top: var(--openui-space-l, 24px);
+}
+
+.treeExtra h3 {
+ font-size: var(--openui-font-size-s, 13px);
+ margin-bottom: var(--openui-space-xs, 8px);
+}
+
+.treeJson {
+ font-family: var(--paste-mono);
+ font-size: var(--openui-font-size-xs, 12px);
+ white-space: pre-wrap;
+ word-break: break-word;
+}
+
+/* ── toasts ────────────────────────────────────────────────────────────── */
+
+.toastStack {
+ position: fixed;
+ bottom: var(--openui-space-l, 24px);
+ right: var(--openui-space-l, 24px);
+ display: flex;
+ flex-direction: column;
+ align-items: flex-end;
+ gap: var(--openui-space-s, 10px);
+ z-index: 100;
+}
+
+.toast {
+ min-width: 280px;
+ max-width: min(360px, calc(100vw - 48px));
+ background: var(--openui-popover-background);
+ border-top: 1px solid var(--openui-border-default);
+ border-right: 1px solid var(--openui-border-default);
+ border-bottom: 1px solid var(--openui-border-default);
+ border-radius: var(--openui-radius-xl, 12px);
+ box-shadow: var(--openui-shadow-m);
+ padding: var(--openui-space-s, 10px) var(--openui-space-m, 16px);
+ animation: pasteToastIn 0.18s ease-out;
+}
+
+.toast :global(.openui-callout-title) {
+ display: flex;
+ width: 100%;
+}
+
+.toastBody {
+ display: inline-flex;
+ align-items: center;
+ gap: var(--openui-space-s, 10px);
+}
+
+@keyframes pasteToastIn {
+ from {
+ opacity: 0;
+ transform: scale(0.95);
+ }
+ to {
+ opacity: 1;
+ transform: scale(1);
+ }
+}
+
+/* ── stream timeline ───────────────────────────────────────────────────── */
+
+.convergence {
+ padding: var(--openui-space-xs, 8px) var(--openui-space-m, 16px);
+ border-radius: var(--openui-radius-s, 6px);
+ margin-bottom: var(--openui-space-m, 16px);
+ font-weight: 600;
+ display: flex;
+ align-items: center;
+ gap: var(--openui-space-2xs, 6px);
+}
+
+.convergenceConverged {
+ background: var(--openui-success-background, #e7f7ea);
+ color: var(--openui-text-success-primary, #171);
+}
+
+.convergenceDiverged {
+ background: var(--openui-danger-background, #ffecec);
+ color: var(--openui-text-danger-primary, #a11);
+}
+
+.traceTable {
+ width: 100%;
+ border-collapse: collapse;
+ font-size: var(--openui-font-size-xs, 12px);
+ /* Fixed layout so columns don't re-expand as rows stream in. */
+ table-layout: fixed;
+}
+
+.traceTable th {
+ text-align: left;
+ color: var(--openui-text-neutral-secondary, #666);
+ font-weight: 500;
+ padding: var(--openui-space-3xs, 2px) var(--openui-space-xs, 8px);
+ border-bottom: var(--paste-border);
+ position: sticky;
+ top: calc(-1 * var(--openui-space-m, 16px));
+ background: var(--openui-background, #fff);
+}
+
+.traceTable th:nth-child(1) {
+ width: 36px;
+}
+
+.traceTable th:nth-child(3) {
+ width: 60px;
+}
+
+.traceTable th:nth-child(4) {
+ width: 96px;
+}
+
+.traceTable th:nth-child(5) {
+ width: 52px;
+}
+
+.traceTable th:nth-child(6) {
+ width: 88px;
+}
+
+.traceTable th:nth-child(7) {
+ width: 52px;
+}
+
+.traceTable th:nth-child(8) {
+ width: 46px;
+}
+
+.traceTable td {
+ padding: var(--openui-space-3xs, 2px) var(--openui-space-xs, 8px);
+ border-bottom: var(--paste-border);
+ font-family: var(--paste-mono);
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+
+.rootCell {
+ display: flex;
+ align-items: center;
+ gap: var(--openui-space-2xs, 6px);
+}
+
+.rowAppeared td {
+ background: var(--openui-success-background, #e7f7ea);
+}
+
+.rowDropped td {
+ background: var(--openui-danger-background, #ffecec);
+}
+
+.chunkPreview {
+ white-space: pre;
+ max-width: 100%;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ display: inline-block;
+ vertical-align: bottom;
+}
+
+/* ── back to docs link ─────────────────────────────────────────────────── */
+
+.backLink {
+ display: inline-flex;
+ align-items: center;
+ gap: var(--openui-space-2xs, 6px);
+ color: var(--openui-text-neutral-secondary, #666);
+ text-decoration: none;
+ font-size: var(--openui-font-size-s, 13px);
+ margin-right: var(--openui-space-s, 10px);
+}
+
+.backLink:hover {
+ color: var(--openui-text-neutral-primary, #111);
+}
+
+/* ── two-row header ────────────────────────────────────────────────────── */
+
+.topbar {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: var(--openui-space-s, 10px) var(--openui-space-m, 16px);
+ border-bottom: var(--paste-border);
+}
+
+.topbar .toolbarBrand {
+ gap: var(--openui-space-s, 10px);
+}
+
+.topbarRight {
+ display: flex;
+ align-items: center;
+ gap: var(--openui-space-s, 10px);
+}
+
+/* ── mock tools note ───────────────────────────────────────────────────── */
+
+.mockNote {
+ display: flex;
+ align-items: flex-start;
+ gap: var(--openui-space-2xs, 6px);
+ padding: var(--openui-space-2xs, 6px) var(--openui-space-m, 16px);
+ color: var(--openui-text-info-primary, #147);
+ background: var(--openui-info-background, #e8f2ff);
+ font-size: var(--openui-font-size-xs, 12px);
+ border-radius: var(--openui-space-s);
+}
+
+.mockNote svg {
+ flex-shrink: 0;
+ margin-top: 2px;
+}
+
+/* ── playback button group (icon-only, joined) ─────────────────────────── */
+
+.btnGroup {
+ display: inline-flex;
+ align-items: stretch;
+}
+
+.btnGroup > button {
+ padding-inline: var(--openui-space-s, 10px);
+}
+
+.btnGroup > button:not(:first-child) {
+ border-top-left-radius: 0;
+ border-bottom-left-radius: 0;
+ margin-left: -1px;
+}
+
+.btnGroup > button:not(:last-child) {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+}
+
+/* ── mobile settings drawer ────────────────────────────────────────────── */
+
+.drawerOverlay {
+ position: fixed;
+ inset: 0;
+ background: rgba(0, 0, 0, 0.4);
+ display: flex;
+ align-items: flex-end;
+ z-index: 200;
+}
+
+.drawer {
+ background: var(--openui-background, #fff);
+ border-top: var(--paste-border);
+ border-radius: var(--openui-radius-l, 12px) var(--openui-radius-l, 12px) 0 0;
+ box-shadow: var(--openui-shadow-2xl, 0 -12px 48px rgba(0, 0, 0, 0.25));
+ width: 100%;
+ max-height: 80dvh;
+ display: flex;
+ flex-direction: column;
+}
+
+.drawerHeader {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: var(--openui-space-s, 10px) var(--openui-space-m, 16px);
+ border-bottom: var(--paste-border);
+}
+
+.drawerHeader h2 {
+ font-size: var(--openui-font-size-m, 14px);
+ font-weight: 700;
+}
+
+.drawerBody {
+ padding: var(--openui-space-m, 16px);
+ overflow-y: auto;
+ display: flex;
+ flex-direction: column;
+ gap: var(--openui-space-m, 16px);
+}
+
+.drawerBody .toolbarField {
+ justify-content: space-between;
+ width: 100%;
+}
+
+/* ── responsive ────────────────────────────────────────────────────────── */
+
+@media (max-width: 860px) {
+ .topbar,
+ .toolbar {
+ padding: var(--openui-space-xs, 8px) var(--openui-space-s, 10px);
+ }
+
+ .toolbarControls {
+ gap: var(--openui-space-s, 10px);
+ }
+
+ .resizeHandle {
+ width: auto;
+ height: 5px;
+ border-left: none;
+ border-top: var(--paste-border);
+ }
+
+ .splitPanel {
+ height: 100%;
+ width: 100%;
+ }
+
+ .helpDialog {
+ max-width: 100%;
+ max-height: 92dvh;
+ }
+
+ .helpHeader,
+ .helpBody {
+ padding: var(--openui-space-s, 10px) var(--openui-space-m, 16px);
+ }
+
+ .toastStack {
+ left: var(--openui-space-s, 10px);
+ right: var(--openui-space-s, 10px);
+ bottom: var(--openui-space-s, 10px);
+ align-items: stretch;
+ }
+
+ .toast {
+ min-width: 0;
+ max-width: none;
+ }
+
+ .renderCanvas {
+ padding: var(--openui-space-s, 10px);
+ }
+}
diff --git a/docs/components/site-primary-nav.tsx b/docs/components/site-primary-nav.tsx
index 387185745..e80c7c520 100644
--- a/docs/components/site-primary-nav.tsx
+++ b/docs/components/site-primary-nav.tsx
@@ -107,6 +107,15 @@ export const PRIMARY_SITE_NAV_ITEMS: NavItem[] = [
dark: "/nav/community-dark.webp",
},
},
+ {
+ title: "Paste",
+ description: "Validate and stream OpenUI Lang.",
+ href: "/paste",
+ preview: {
+ light: "/nav/paste-light.webp",
+ dark: "/nav/paste-dark.webp",
+ },
+ },
],
},
// Temporarily hidden — Agent Interface isn't ready to share yet. Restore when ready:
diff --git a/docs/content/docs/openui-lang/meta.json b/docs/content/docs/openui-lang/meta.json
index ad62f7d9f..23cfdc22e 100644
--- a/docs/content/docs/openui-lang/meta.json
+++ b/docs/content/docs/openui-lang/meta.json
@@ -18,6 +18,7 @@
"incremental-editing",
"builtins",
"patterns",
+ "external:[Paste](/paste)",
"---Language Specification---",
"specification-v01",
"specification-v05",
diff --git a/docs/package.json b/docs/package.json
index 40a07cefc..7ea3dbedc 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -44,7 +44,13 @@
"reodotdev": "^1.1.0",
"tailwind-merge": "^3.4.1",
"zod": "^4.3.6",
- "zustand": "4.5.7"
+ "zustand": "4.5.7",
+ "@codemirror/language": "^6.12.4",
+ "@codemirror/state": "^6.7.1",
+ "@codemirror/view": "^6.43.6",
+ "@uiw/react-codemirror": "^4.25.11",
+ "react-resizable-panels": "^4.12.2",
+ "semver": "^7.8.5"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.1.18",
@@ -54,6 +60,7 @@
"@types/react-dom": "^19.2.3",
"eslint-config-next": "16.2.6",
"postcss": "^8.5.6",
- "tailwindcss": "^4.1.18"
+ "tailwindcss": "^4.1.18",
+ "@types/semver": "^7.7.1"
}
}
diff --git a/docs/public/nav/paste-dark.webp b/docs/public/nav/paste-dark.webp
new file mode 100644
index 000000000..0bf3918b6
Binary files /dev/null and b/docs/public/nav/paste-dark.webp differ
diff --git a/docs/public/nav/paste-light.webp b/docs/public/nav/paste-light.webp
new file mode 100644
index 000000000..f7d8b5de4
Binary files /dev/null and b/docs/public/nav/paste-light.webp differ
diff --git a/docs/tsconfig.json b/docs/tsconfig.json
index 6f43c231e..95cfd3874 100644
--- a/docs/tsconfig.json
+++ b/docs/tsconfig.json
@@ -2,7 +2,11 @@
"compilerOptions": {
"baseUrl": ".",
"target": "ESNext",
- "lib": ["dom", "dom.iterable", "esnext"],
+ "lib": [
+ "dom",
+ "dom.iterable",
+ "esnext"
+ ],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
@@ -16,10 +20,21 @@
"jsx": "react-jsx",
"incremental": true,
"paths": {
- "@components/*": ["./app/components/*"],
- "@/*": ["./*"],
- "@design-system/*": ["./shared/design-system/*"],
- "fumadocs-mdx:collections/*": [".source/*"]
+ "@components/*": [
+ "./app/components/*"
+ ],
+ "@/*": [
+ "./*"
+ ],
+ "@design-system/*": [
+ "./shared/design-system/*"
+ ],
+ "fumadocs-mdx:collections/*": [
+ ".source/*"
+ ],
+ "@paste/*": [
+ "./app/paste/*"
+ ]
},
"plugins": [
{
@@ -34,5 +49,7 @@
".next/types/**/*.ts",
".next/dev/types/**/*.ts"
],
- "exclude": ["node_modules"]
+ "exclude": [
+ "node_modules"
+ ]
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 83d01db02..5b236e986 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -4,66 +4,6 @@ settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
-catalogs:
- default:
- '@ai-sdk/openai':
- specifier: ^3.0.41
- version: 3.0.88
- '@ai-sdk/react':
- specifier: ^3.0.118
- version: 3.0.238
- '@types/node':
- specifier: ^22.15.32
- version: 22.20.1
- '@types/react':
- specifier: '>=19.0.0'
- version: 19.2.17
- '@types/react-dom':
- specifier: '>=19.0.0'
- version: 19.2.3
- '@typescript-eslint/eslint-plugin':
- specifier: ^8.56.1
- version: 8.65.0
- eslint:
- specifier: ^9.0.0
- version: 9.39.5
- eslint-config-prettier:
- specifier: ^10.1.8
- version: 10.1.8
- eslint-plugin-prettier:
- specifier: ^5.5.5
- version: 5.5.6
- eslint-plugin-react-hooks:
- specifier: ^7.0.1
- version: 7.1.1
- eslint-plugin-react-refresh:
- specifier: ^0.5.2
- version: 0.5.3
- eslint-plugin-storybook:
- specifier: ^10.2.14
- version: 10.5.5
- eslint-plugin-unused-imports:
- specifier: ^4.4.1
- version: 4.4.1
- jsdom:
- specifier: ^26.1.0
- version: 26.1.0
- react:
- specifier: ^18.3.1 || ^19.0.0
- version: 19.2.4
- react-dom:
- specifier: ^18.0.0 || ^19.0.0
- version: 19.2.4
- typescript:
- specifier: ^5.9.3
- version: 5.9.3
- zod:
- specifier: ^3.25.0 || ^4.0.0
- version: 4.4.3
- zustand:
- specifier: ^4.5.5
- version: 4.5.7
-
overrides:
langsmith@<0.6.0: ^0.6.0
ip-address@<10.1.1: '>=10.1.1'
@@ -117,13 +57,22 @@ importers:
version: 0.3.22
tsdown:
specifier: ^0.21.7
typescript:
specifier: 'catalog:'
version: 5.9.3
docs:
dependencies:
+ '@codemirror/language':
+ specifier: ^6.12.4
+ version: 6.12.4
+ '@codemirror/state':
+ specifier: ^6.7.1
+ version: 6.7.1
+ '@codemirror/view':
+ specifier: ^6.43.6
+ version: 6.43.8
'@openuidev/cli':
specifier: workspace:*
version: link:../packages/openui-cli
@@ -157,12 +106,15 @@ importers:
'@takumi-rs/image-response':
specifier: ^0.68.17
version: 0.68.17
+ '@uiw/react-codemirror':
+ specifier: ^4.25.11
fumadocs-core:
specifier: 16.9.1
fumadocs-mdx:
specifier: 14.3.2
fumadocs-ui:
specifier: 16.9.1
@@ -202,9 +154,15 @@ importers:
react-dom:
specifier: ^19.2.4
version: 19.2.4([email protected])
+ react-resizable-panels:
+ specifier: ^4.12.2
reodotdev:
specifier: ^1.1.0
version: 1.1.0
+ semver:
+ specifier: ^7.8.5
+ version: 7.8.5
tailwind-merge:
specifier: ^3.4.1
version: 3.6.0
@@ -230,6 +188,9 @@ importers:
'@types/react-dom':
specifier: ^19.2.3
version: 19.2.3(@types/[email protected])
+ '@types/semver':
+ specifier: ^7.7.1
+ version: 7.7.1
eslint-config-next:
specifier: 16.2.6
@@ -583,13 +544,13 @@ importers:
version: link:../../../packages/react-ui
'@vercel/connect':
specifier: 0.2.2
- version: 0.2.2(@ai-sdk/[email protected]([email protected]))([email protected]([email protected]))([email protected](334bb9546b1c81dc4133f38010d6ba8c))
+ version: 0.2.2(@ai-sdk/[email protected]([email protected]))([email protected]([email protected]))([email protected](@azure/[email protected])(@opentelemetry/[email protected])(@sveltejs/[email protected](@opentelemetry/[email protected])(@sveltejs/[email protected]([email protected](@typescript-eslint/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])))([email protected](@typescript-eslint/[email protected]))([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected]))([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected](@azure/[email protected])(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected](@types/[email protected]))([email protected]))([email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected](@types/[email protected]))([email protected])([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected]([email protected])([email protected]))([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected](@typescript-eslint/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected]))
ai:
specifier: 7.0.0-beta.178
version: 7.0.0-beta.178([email protected])
eve:
specifier: ^0.11.7
- version: 0.11.10(334bb9546b1c81dc4133f38010d6ba8c)
+ version: 0.11.10(@azure/[email protected])(@opentelemetry/[email protected])(@sveltejs/[email protected](@opentelemetry/[email protected])(@sveltejs/[email protected]([email protected](@typescript-eslint/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])))([email protected](@typescript-eslint/[email protected]))([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected]))([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected](@azure/[email protected])(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected](@types/[email protected]))([email protected]))([email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected](@types/[email protected]))([email protected])([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected]([email protected])([email protected]))([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected](@typescript-eslint/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected])
next:
specifier: 16.2.6
@@ -711,7 +672,7 @@ importers:
version: link:../../packages/react-ui
deepagents:
specifier: ^1.10.5
- version: 1.11.1(91bd0eba1cf83c982119a44cf5cfde79)
+ version: 1.11.1(@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))(@langchain/[email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected])))(@langchain/[email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]))([email protected]([email protected])))(@langchain/[email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]))([email protected]([email protected]))([email protected]))([email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]))([email protected]([email protected]))([email protected]))([email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))
langchain:
specifier: ^1.5.1
@@ -730,7 +691,7 @@ importers:
devDependencies:
'@langchain/langgraph-cli':
specifier: ^1.4.3
- version: 1.4.3(034c2039ce40cfd9923293160ef8005c)
+ version: 1.4.3(@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))(@langchain/[email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected])))(@langchain/[email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]))([email protected]([email protected])))(@langchain/[email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]))([email protected]([email protected]))([email protected]))(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected])([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected])([email protected])
'@openuidev/cli':
specifier: workspace:*
version: link:../../packages/openui-cli
@@ -769,7 +730,7 @@ importers:
version: 0.0.53
'@ag-ui/mastra':
specifier: ^1.0.1
+ version: 1.1.1(@ag-ui/[email protected])(@ag-ui/[email protected])(@copilotkit/[email protected](@anthropic-ai/[email protected]([email protected]))(@cfworker/[email protected])(@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))(@langchain/[email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]))([email protected]([email protected])))(@langchain/[email protected](@aws-sdk/[email protected])(@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))(@smithy/[email protected])([email protected]))(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected])([email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]))([email protected]([email protected]))([email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]))([email protected](@opentelemetry/[email protected])(@types/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])))([email protected]([email protected])))(@mastra/[email protected](@bufbuild/[email protected])(@cfworker/[email protected])(@grpc/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@mastra/[email protected](@cfworker/[email protected])(@standard-community/[email protected](@standard-schema/[email protected])(@types/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]))(@standard-community/[email protected](@standard-community/[email protected](@standard-schema/[email protected])(@types/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]))(@standard-schema/[email protected])([email protected])([email protected])([email protected]))(@types/[email protected])([email protected])([email protected]))
'@mastra/core':
specifier: 1.15.0
@@ -1697,7 +1658,7 @@ importers:
version: 2.7.0
nuxt:
specifier: ^3.17.0
tailwindcss:
specifier: ^4
version: 4.3.3
@@ -3405,6 +3366,30 @@ packages:
resolution: {integrity: sha512-SIOD2DxrRRwQ+jgzlXCqoEFiKOFqaPjhnNTGKXSRLvp1HiOvapLaFG2kEr9dYQTYe8rKrd9uvDUzmAITeNyaHQ==}
engines: {node: '>=18.0.0'}
+ '@codemirror/[email protected]':
+ resolution: {integrity: sha512-tlosUqb+3BbxCxZdu4tKeRghPFC+QM7q4X5YhKV2eCmPG+1r2F3f4AaSz5sCrFqUtX4Jh20VFTKecl16MgiV9g==}
+
+ '@codemirror/[email protected]':
+ resolution: {integrity: sha512-Ryk9y9T0FFVF0cUGhAknveAyUOl/A1qReTFi+qPKtOh2Z9F4AUBz3XOrYD4ZEgZirdugVzHvd/2/Wcwy5OliTg==}
+
+ '@codemirror/[email protected]':
+ resolution: {integrity: sha512-1q4PaT+o6PbgpkJt4Q8Fv5XJxTy4FUZ4MWETtyiDw3J0Pyr9E2vqcKL+k9wcvjNTIsauxvE7OfmWj3FRPHQ76A==}
+
+ '@codemirror/[email protected]':
+ resolution: {integrity: sha512-28/+iWLYxKxsvGYhSYL7zaCZqLz5+FFFDq9tVsvGv9kv8RY4fFAchJ5WX9M3YrrRlTIsECjsXPqeNgnSmNP2dg==}
+
+ '@codemirror/[email protected]':
+ resolution: {integrity: sha512-uMe5UO6PamJtSHrXhhHOzSX3ReWtiJrva6GnPMwSOrZtiExb5X5eExhr2OUZQVvdxPsKpY3Ro2mFbQadpPWmHA==}
+
+ '@codemirror/[email protected]':
+ resolution: {integrity: sha512-9QzNDgE4EYDnAHfrTlR2lwiPciiOymLtwKK+8yHQzCc7GXhAP9xdEbEJFy2IWB1j9UGUl9BsgMmTo/ImA02T7A==}
+
+ '@codemirror/[email protected]':
+ resolution: {integrity: sha512-NzBdIvEJmx6fjeremiGp3t/okrLPYT0d9orIc7AFun8oZcRk58aejkqhv6spnz4MLAevrKNPMQYXEWMg4s+sKA==}
+
+ '@codemirror/[email protected]':
+ resolution: {integrity: sha512-qtItTDssZ/5GFfi94hrILu9j/VUeFPDPkhovEfmWFj2ipTxnzPB8DdHgfbb8HYTzLTYhrndKmyQxXUz/PDLenw==}
+
'@colordx/[email protected]':
resolution: {integrity: sha512-3PxTH8itZzltK0U9jTwVVnjLXvnDYuq3m+QXsHkENxWiPRh4WaoLcs1SQjqgZ55kS+QyirpH5BVwzP2gMVG6EQ==}
@@ -4832,6 +4817,15 @@ packages:
'@langchain/[email protected]':
resolution: {integrity: sha512-XW1egQtPfsGI41w2AMZNFZrUIwFSQHTjVMZs0OaTpCAvht/QLoaPN8FQcsysMVypOhupG28J29yOorrc70otBQ==}
+ '@lezer/[email protected]':
+ resolution: {integrity: sha512-sxQE460fPZyU3sdc8lafxiPwJHBzZRy/udNFynGQky1SePYBdhkBl1kOagA9uT3pxR8K09bOrmTUqA9wb/PjSQ==}
+
+ '@lezer/[email protected]':
+ resolution: {integrity: sha512-qXdH7UqTvGfdVBINrgKhDsVTJTxactNNxLk7+UMwZhU13lMHaOBlJe9Vqp907ya56Y3+ed2tlqzys7jDkTmW0g==}
+
+ '@lezer/[email protected]':
+ resolution: {integrity: sha512-rnCpTIBafOx4mRp43xOxDJbFipJm/c0cia/V5TiGlhmMa+wsSdoGmUN3w5Bqrks/09Q/D4tNAmWaT8p6NRi77A==}
+
'@loaderkit/[email protected]':
resolution: {integrity: sha512-G8FdIoF5CypfwmD9rl8BXod5HDn8JqB0CCNBXDTaRZ+yRYhARrrSToX1zg1zy9jX3zLqigsELwhT4gNtkdQAUg==}
@@ -4848,6 +4842,9 @@ packages:
engines: {node: '>=18'}
hasBin: true
+ '@marijn/[email protected]':
+ resolution: {integrity: sha512-FY+MKLBoTsLNJF/eLWaOsXGdz6uh3Iu1axjPf6TUq92IYumcTcXWHoS747JARLkcdlJ/Waiaxc5wQfFO8jC6NA==}
+
'@mariozechner/[email protected]':
resolution: {integrity: sha512-BfgV7vCEWZwJwZJw03r6bP5+tf0iI/ANuQYCxi9RNn7FrWB3yzGuMKCrNLRl6V761vXRdL8+OqZ0wd4TqlsNOQ==}
engines: {node: '>= 10'}
@@ -5999,7 +5996,6 @@ packages:
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [linux]
- libc: [glibc]
'@oxc-parser/[email protected]':
resolution: {integrity: sha512-yrjmLj8ixPB25yqvPGr28meGjb+keed7m1GqqY/0uqkhZIoT4t9zmfwUgFEtC33C7dtE+UQ7TU0IaVxf97SWJg==}
@@ -6013,7 +6009,6 @@ packages:
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [linux]
- libc: [musl]
'@oxc-parser/[email protected]':
resolution: {integrity: sha512-ggGMQTN8Agwxp2WiLMpdY671dt0qTDJWiWlJeig3HnUwTnerRl0J2JdGVghWBeDcss2D9S2V2Js6dZHEiVabVA==}
@@ -6027,7 +6022,6 @@ packages:
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [ppc64]
os: [linux]
- libc: [glibc]
'@oxc-parser/[email protected]':
resolution: {integrity: sha512-IgTs8xYAFgAUGNmR65tIqjlJ8vKgrfXzC515e9goSdfMyKQV4aJpd2pUUudU4u51G64H0/DSEJEXKOraxm9ZCA==}
@@ -6041,7 +6035,6 @@ packages:
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [riscv64]
os: [linux]
- libc: [glibc]
'@oxc-parser/[email protected]':
resolution: {integrity: sha512-A1x+PMWZmSGaFVOx2YeNTFau8uD+QO14/vLP4GrcuvUPs3+nBkUOjy9Lus86ftHsDojjYMbvBelmKc3F7Rv08g==}
@@ -6055,7 +6048,6 @@ packages:
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [riscv64]
os: [linux]
- libc: [musl]
'@oxc-parser/[email protected]':
resolution: {integrity: sha512-zBqpfRo2myWPrPo5xUjeZqlnPXPXsX8BcWtWff66/eGRQdbPjhzPgXa/F+AtxT2afUViPxbuDlwscMKzQ5tg+g==}
@@ -6069,7 +6061,6 @@ packages:
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [s390x]
os: [linux]
- libc: [glibc]
'@oxc-parser/[email protected]':
resolution: {integrity: sha512-2M1DPm/8w9I//YzFlFC9qXw+r2tJFh5CYwRlYTq2vUJQS7qoQftEDeCZ8EnN7KHtvSiXvYj8mZI5pR7DpXmcEw==}
@@ -6083,7 +6074,6 @@ packages:
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [linux]
- libc: [glibc]
'@oxc-parser/[email protected]':
resolution: {integrity: sha512-8aRDbZ/U/jO8N7go1MO72jtbpb4uswV8d7vOkMvt/BPgZiyEYvl1VIWK4ESxZZhnJ4tqwVldgX7dNiP/eB1Jdg==}
@@ -6097,7 +6087,6 @@ packages:
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [linux]
- libc: [musl]
'@oxc-parser/[email protected]':
resolution: {integrity: sha512-xRqpeI8U2sQQS1W5BMWRyMTxtagkuLG2dEWruet5lFsWHTvBth11/TpSaJatHdqVVwHN0q3uuoS9zRsGinq8hg==}
@@ -6209,49 +6198,41 @@ packages:
resolution: {integrity: sha512-vDT3KHgzYp47gmtNOqL2VNhCyl5Zv643eyxm//A68J8DeUGXrvD1pZFiaT4jSfe+RInfnn1R2yVHye4enx6RnA==}
cpu: [arm64]
os: [linux]
- libc: [glibc]
'@oxc-resolver/[email protected]':
resolution: {integrity: sha512-+kMlQvbzfyEYtu5FcjE4p+ttBLpKW4d/AsAsuE69BxV6V4twZJeIQZFfD8gh/wqglY0MkPSezWXQH0jBV13MUw==}
cpu: [arm64]
os: [linux]
- libc: [musl]
'@oxc-resolver/[email protected]':
resolution: {integrity: sha512-shjfMhmZ3gq9fv/w7bi3PnZlgOPG+2QAOFf0BJF0EgBSIGZ6PMLN2zbGEblTUYB/NKVDRyYhE2ff3dJ1QqNPkA==}
cpu: [ppc64]
os: [linux]
- libc: [glibc]
'@oxc-resolver/[email protected]':
resolution: {integrity: sha512-zGelwFR5oRo+b69k8Lrzun86DyUHzfKN6cnjbR9l7Z7NIRznOE/2ZvPa1IUKqAL2PzAXOdwkfVqNvO1H2RlpAw==}
cpu: [riscv64]
os: [linux]
- libc: [glibc]
'@oxc-resolver/[email protected]':
resolution: {integrity: sha512-qxZ1SWCXJY0eyhAlP6Lmo9F2Nrtx7EkYj9oCgL8apDPCwXwCEDA2U697bbT81JIc2IrVjxO4KX6WU2N+oN9Z4w==}
cpu: [riscv64]
os: [linux]
- libc: [musl]
'@oxc-resolver/[email protected]':
resolution: {integrity: sha512-sGCecF3cx2DFlH4t/z7ApnOnXqN48p5p5mlHDEnHTAukQa2P+qMVE4CwyWE9W+q/m3QJ7kKfGrIjax31f44oFQ==}
cpu: [s390x]
os: [linux]
- libc: [glibc]
'@oxc-resolver/[email protected]':
resolution: {integrity: sha512-k/VlMMcSzMlahb3/fENM4rTlsJ0s3fFROA0KXPBmKggqmTSaE383sl8F3KCOXPLmVsYfW6hCitMhXCEtNeZxxg==}
cpu: [x64]
os: [linux]
- libc: [glibc]
'@oxc-resolver/[email protected]':
resolution: {integrity: sha512-8hbnZyNi97b/8wapYaIF9+t9GmZKBW2vunaOc3h9HGJptH7b7XpvZqOTBSm/MpTjr7H497BlgOaSfLUdhmy2bw==}
cpu: [x64]
os: [linux]
- libc: [musl]
'@oxc-resolver/[email protected]':
resolution: {integrity: sha512-MvyGik3a6pVgZ0t/kWlbmFxFLmXQJwgLsY2eYFHLpy0wGwRbfzeIGgDwQ3kXqE30z+kSXennRkCrT7TUvkptNg==}
@@ -9678,6 +9659,28 @@ packages:
resolution: {integrity: sha512-JVUD8X2tfDMWjcjLs4yVxxVrS8yR5vnh386GAXT9Qj79nBxxXSaHFQZg5FweLmT8HlPQ3kii6noUB+Z9RN7DvQ==}
engines: {node: '>=22.0.0'}
+ resolution: {integrity: sha512-otyFa+n9IOYtEjaKOxPedHkj15fTPUF21wdR9pv0GpZPfuGl27cvmcv6+tognbRu9VvEcsHKE+ESoszeo3KfTw==}
+ peerDependencies:
+ '@codemirror/autocomplete': '>=6.0.0'
+ '@codemirror/commands': '>=6.0.0'
+ '@codemirror/language': '>=6.0.0'
+ '@codemirror/lint': '>=6.0.0'
+ '@codemirror/search': '>=6.0.0'
+ '@codemirror/state': '>=6.0.0'
+ '@codemirror/view': '>=6.0.0'
+
+ resolution: {integrity: sha512-DYVFAKLX+F/4JS9N/7xexh+TICrlncwkX9HKKInrP1bwO0tSfc3k0GB6oawTYhelVKh20cX3TuRx+NJSkVXuMw==}
+ peerDependencies:
+ '@babel/runtime': '>=7.11.0'
+ '@codemirror/state': '>=6.0.0'
+ '@codemirror/theme-one-dark': '>=6.0.0'
+ '@codemirror/view': '>=6.0.0'
+ codemirror: '>=6.0.0'
+ react: '>=17.0.0'
+ react-dom: '>=17.0.0'
+
resolution: {integrity: sha512-60YRaenCQcVjYEKOcG824+DRGGIQ3VKErcBoAEDJZz5bKIs2ZG+X/H9Nk+Q6EVkwJk5QNApxbrc5QtBSwtrXAg==}
@@ -10972,6 +10975,9 @@ packages:
resolution: {integrity: sha512-Oofo0pq3IKnsFtuHqSF7TqBfr71aeyZDVJ0HpmqB7FBM2qEigL0iPONSCZSO9pE9dZTAxANe5XHG9Uy0YMv8cg==}
+ resolution: {integrity: sha512-VhydHotNW5w1UGK0Qj96BwSk/Zqbp9WbnyK2W/eVMv4QyF41INRGpjUhFJY7/uDNuudSc33a/PKr4iDqRduvHw==}
+
resolution: {integrity: sha512-loKTxY1zCOuG4j9f6EPnuyyYkf58RnhhWTvRoZEokgB+WbdXehfjFviyOVYkqzEWz1Q5kRiZdBYS5SwxbQYwzw==}
@@ -16457,6 +16463,12 @@ packages:
'@types/react':
optional: true
+ resolution: {integrity: sha512-NwY5LCo4WrxVvDh0xoMML6EMLPONP/8ckKcIdpnojxexoatZdjLiRqLJQjQK5CPkd4SYiB/2M5BVrjZBQtOO7Q==}
+ peerDependencies:
+ react: ^18.0.0 || ^19.0.0
+ react-dom: ^18.0.0 || ^19.0.0
+
resolution: {integrity: sha512-gnGKTpYwqL0Iii09gHobNolvX4Kiq4PKx6eWBCYYix+8cdw+cGo3do906l1NBPKkSWx1DghC1dlWG9L2uGd61Q==}
peerDependencies:
@@ -17352,6 +17364,9 @@ packages:
resolution: {integrity: sha512-PdHt7hHUJKxvTCgbKX9C1V/ftOcjJQgz8BZwNfV5c4B6dcGqlpelTbJ999jBGZ2jYiPAwcX5dP6oBwVlBlUbxw==}
+ resolution: {integrity: sha512-i/n8VsZydrugj3Iuzll8+x/00GH2vnYsk1eomD8QiRrSAeW6ItbCQDtfXCeJHd0iwiNagqjQkvpvREEPtW3IoQ==}
+
resolution: {integrity: sha512-RjQetxJrrUJLQPHbLku6U/ocGtzyjbJMP9lCNK7Ag0CNh690nSH8woqWH9u16nMjYBAok+i7JO1NP2pOy8IsPQ==}
@@ -18917,6 +18932,66 @@ packages:
resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==}
+catalogs:
+ default:
+ '@ai-sdk/openai':
+ specifier: ^3.0.41
+ version: 3.0.88
+ '@ai-sdk/react':
+ specifier: ^3.0.118
+ version: 3.0.238
+ '@types/node':
+ specifier: ^22.15.32
+ version: 22.20.1
+ '@types/react':
+ specifier: '>=19.0.0'
+ version: 19.2.17
+ '@types/react-dom':
+ specifier: '>=19.0.0'
+ version: 19.2.3
+ '@typescript-eslint/eslint-plugin':
+ specifier: ^8.56.1
+ version: 8.65.0
+ eslint:
+ specifier: ^9.0.0
+ version: 9.39.5
+ eslint-config-prettier:
+ specifier: ^10.1.8
+ version: 10.1.8
+ eslint-plugin-prettier:
+ specifier: ^5.5.5
+ version: 5.5.6
+ eslint-plugin-react-hooks:
+ specifier: ^7.0.1
+ version: 7.1.1
+ eslint-plugin-react-refresh:
+ specifier: ^0.5.2
+ version: 0.5.3
+ eslint-plugin-storybook:
+ specifier: ^10.2.14
+ version: 10.5.5
+ eslint-plugin-unused-imports:
+ specifier: ^4.4.1
+ version: 4.4.1
+ jsdom:
+ specifier: ^26.1.0
+ version: 26.1.0
+ react:
+ specifier: ^18.3.1 || ^19.0.0
+ version: 19.2.4
+ react-dom:
+ specifier: ^18.0.0 || ^19.0.0
+ version: 19.2.4
+ typescript:
+ specifier: ^5.9.3
+ version: 5.9.3
+ zod:
+ specifier: ^3.25.0 || ^4.0.0
+ version: 4.4.3
+ zustand:
+ specifier: ^4.5.5
+ version: 4.5.7
+
snapshots:
@@ -19057,13 +19132,13 @@ snapshots:
- vue
- ws
- dependencies:
+ ? '@ag-ui/[email protected](@ag-ui/[email protected])(@ag-ui/[email protected])(@copilotkit/[email protected](@anthropic-ai/[email protected]([email protected]))(@cfworker/[email protected])(@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))(@langchain/[email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]))([email protected]([email protected])))(@langchain/[email protected](@aws-sdk/[email protected])(@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))(@smithy/[email protected])([email protected]))(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected])([email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]))([email protected]([email protected]))([email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]))([email protected](@opentelemetry/[email protected])(@types/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])))([email protected]([email protected])))(@mastra/[email protected](@bufbuild/[email protected])(@cfworker/[email protected])(@grpc/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@mastra/[email protected](@cfworker/[email protected])(@standard-community/[email protected](@standard-schema/[email protected])(@types/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]))(@standard-community/[email protected](@standard-community/[email protected](@standard-schema/[email protected])(@types/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]))(@standard-schema/[email protected])([email protected])([email protected])([email protected]))(@types/[email protected])([email protected])([email protected]))'
+ : dependencies:
'@ag-ui/a2ui-toolkit': 0.0.4
'@ag-ui/client': 0.0.57
'@ag-ui/core': 0.0.53
'@ai-sdk/ui-utils': 1.2.11([email protected])
- '@copilotkit/runtime': 1.63.2(5169dbf412b46dd8a4cac6d73cc9c1f3)
+ '@copilotkit/runtime': 1.63.2(@anthropic-ai/[email protected]([email protected]))(@cfworker/[email protected])(@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))(@langchain/[email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]))([email protected]([email protected])))(@langchain/[email protected](@aws-sdk/[email protected])(@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))(@smithy/[email protected])([email protected]))(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected])([email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]))([email protected]([email protected]))([email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]))([email protected](@opentelemetry/[email protected])(@types/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])))([email protected]([email protected]))
fast-json-patch: 3.1.1
@@ -20423,9 +20498,9 @@ snapshots:
'@babel/helper-string-parser': 8.0.0
'@babel/helper-validator-identifier': 8.0.4
optionalDependencies:
- cac: 6.7.14
+ cac: 7.0.0
citty: 0.2.2
commander: 14.0.3
@@ -20477,6 +20552,59 @@ snapshots:
'@cloudflare/[email protected]': {}
+ '@codemirror/[email protected]':
+ dependencies:
+ '@codemirror/language': 6.12.4
+ '@codemirror/state': 6.7.1
+ '@codemirror/view': 6.43.8
+ '@lezer/common': 1.5.2
+
+ '@codemirror/[email protected]':
+ dependencies:
+ '@codemirror/language': 6.12.4
+ '@codemirror/state': 6.7.1
+ '@codemirror/view': 6.43.8
+ '@lezer/common': 1.5.2
+
+ '@codemirror/[email protected]':
+ dependencies:
+ '@codemirror/state': 6.7.1
+ '@codemirror/view': 6.43.8
+ '@lezer/common': 1.5.2
+ '@lezer/highlight': 1.2.3
+ '@lezer/lr': 1.4.10
+ style-mod: 4.1.3
+
+ '@codemirror/[email protected]':
+ dependencies:
+ '@codemirror/state': 6.7.1
+ '@codemirror/view': 6.43.8
+ crelt: 1.0.7
+
+ '@codemirror/[email protected]':
+ dependencies:
+ '@codemirror/state': 6.7.1
+ '@codemirror/view': 6.43.8
+ crelt: 1.0.7
+
+ '@codemirror/[email protected]':
+ dependencies:
+ '@marijn/find-cluster-break': 1.0.3
+
+ '@codemirror/[email protected]':
+ dependencies:
+ '@codemirror/language': 6.12.4
+ '@codemirror/state': 6.7.1
+ '@codemirror/view': 6.43.8
+ '@lezer/highlight': 1.2.3
+
+ '@codemirror/[email protected]':
+ dependencies:
+ '@codemirror/state': 6.7.1
+ crelt: 1.0.7
+ style-mod: 4.1.3
+ w3c-keyname: 2.2.8
+
'@colordx/[email protected]': {}
'@colors/[email protected]':
@@ -20536,8 +20664,8 @@ snapshots:
'@copilotkit/[email protected]': {}
- '@copilotkit/[email protected](5169dbf412b46dd8a4cac6d73cc9c1f3)':
- dependencies:
+ ? '@copilotkit/[email protected](@anthropic-ai/[email protected]([email protected]))(@cfworker/[email protected])(@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))(@langchain/[email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]))([email protected]([email protected])))(@langchain/[email protected](@aws-sdk/[email protected])(@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))(@smithy/[email protected])([email protected]))(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected])([email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]))([email protected]([email protected]))([email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]))([email protected](@opentelemetry/[email protected])(@types/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])))([email protected]([email protected]))'
+ : dependencies:
'@ag-ui/a2ui-middleware': 0.0.10(@ag-ui/[email protected])([email protected])
'@ag-ui/client': 0.0.57
'@ag-ui/core': 0.0.57
@@ -20582,6 +20710,7 @@ snapshots:
ws: 8.21.1
zod: 3.25.76
optionalDependencies:
+ '@anthropic-ai/sdk': 0.91.1([email protected])
@@ -20645,17 +20774,42 @@ snapshots:
'@date-fns/[email protected]': {}
dependencies:
'@dxup/unimport': 0.1.2
'@vue/compiler-dom': 3.5.40
chokidar: 5.0.0
knitwork: 1.3.0
magic-string: 1.1.0
pathe: 2.0.3
tinyglobby: 0.2.17
+ transitivePeerDependencies:
+ - '@farmfe/core'
+ - '@rspack/core'
+ - bun-types-no-globals
+ - esbuild
+ - magicast
+ - oxc-parser
+ - rolldown
+ - rollup
+ - unloader
+ - vite
+ - webpack
+ optional: true
+
+ dependencies:
+ '@dxup/unimport': 0.1.2
+ '@vue/compiler-dom': 3.5.40
+ chokidar: 5.0.0
+ knitwork: 1.3.0
+ magic-string: 1.1.0
+ pathe: 2.0.3
+ tinyglobby: 0.2.17
transitivePeerDependencies:
- '@farmfe/core'
- '@rspack/core'
@@ -22160,8 +22314,8 @@ snapshots:
- openai
- ws
- '@langchain/[email protected](034c2039ce40cfd9923293160ef8005c)':
- dependencies:
+ ? '@langchain/[email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))(@langchain/[email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected])))(@langchain/[email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]))([email protected]([email protected])))(@langchain/[email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]))([email protected]([email protected]))([email protected]))(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected])([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected])([email protected])'
+ : dependencies:
'@babel/code-frame': 7.29.7
'@hono/node-server': 1.19.17([email protected])
@@ -22204,11 +22358,11 @@ snapshots:
dependencies:
- '@langchain/[email protected](034c2039ce40cfd9923293160ef8005c)':
- dependencies:
+ ? '@langchain/[email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))(@langchain/[email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected])))(@langchain/[email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]))([email protected]([email protected])))(@langchain/[email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]))([email protected]([email protected]))([email protected]))(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected])([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected])([email protected])'
+ : dependencies:
'@babel/code-frame': 7.29.7
'@commander-js/extra-typings': 13.1.0([email protected])
- '@langchain/langgraph-api': 1.4.3(034c2039ce40cfd9923293160ef8005c)
+ '@langchain/langgraph-api': 1.4.3(@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))(@langchain/[email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected])))(@langchain/[email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]))([email protected]([email protected])))(@langchain/[email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]))([email protected]([email protected]))([email protected]))(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected])([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected])([email protected])
chokidar: 4.0.3
commander: 13.1.0
create-langgraph: 1.1.5([email protected])
@@ -22320,6 +22474,16 @@ snapshots:
'@langchain/[email protected]': {}
+ '@lezer/[email protected]': {}
+
+ '@lezer/[email protected]':
+ dependencies:
+ '@lezer/common': 1.5.2
+
+ '@lezer/[email protected]':
+ dependencies:
+ '@lezer/common': 1.5.2
+
'@loaderkit/[email protected]':
dependencies:
'@braidai/lang': 1.1.2
@@ -22343,6 +22507,8 @@ snapshots:
- encoding
- supports-color
+ '@marijn/[email protected]': {}
+
'@mariozechner/[email protected]':
optional: true
@@ -23105,9 +23271,9 @@ snapshots:
rimraf: 3.0.2
optional: true
dependencies:
'@clack/prompts': 1.7.0
c12: 3.3.4([email protected])
citty: 0.2.2
@@ -23146,9 +23312,22 @@ snapshots:
'@nuxt/[email protected]': {}
+ dependencies:
+ execa: 8.0.1
+ transitivePeerDependencies:
+ - magic-string
+ - magicast
+ - oxc-parser
+ - rolldown
+ - unplugin
+ optional: true
+
dependencies:
execa: 8.0.1
transitivePeerDependencies:
@@ -23169,11 +23348,77 @@ snapshots:
pkg-types: 2.3.1
semver: 7.8.5
+ dependencies:
+ '@nuxt/devtools-wizard': 3.3.1
+ '@vue/devtools-core': 8.2.1([email protected]([email protected]))
+ '@vue/devtools-kit': 8.2.1
+ birpc: 4.0.0
+ consola: 3.4.2
+ destr: 2.0.5
+ error-stack-parser-es: 1.0.5
+ execa: 8.0.1
+ fast-npm-meta: 1.5.1
+ get-port-please: 3.2.0
+ hookable: 6.1.1
+ image-meta: 0.2.2
+ is-installed-globally: 1.0.0
+ launch-editor: 2.14.1
+ local-pkg: 1.2.1
+ magicast: 0.5.3
+ nypm: 0.6.8
+ ohash: 2.0.11
+ pathe: 2.0.3
+ perfect-debounce: 2.1.0
+ pkg-types: 2.3.1
+ semver: 7.8.5
+ simple-git: 3.36.0
+ sirv: 3.0.2
+ structured-clone-es: 2.0.0
+ tinyglobby: 0.2.17
+ which: 6.0.1
+ ws: 8.21.1
+ transitivePeerDependencies:
+ - '@azure/app-configuration'
+ - '@azure/cosmos'
+ - '@azure/data-tables'
+ - '@azure/identity'
+ - '@azure/keyvault-secrets'
+ - '@azure/storage-blob'
+ - '@capacitor/preferences'
+ - '@deno/kv'
+ - '@netlify/blobs'
+ - '@planetscale/database'
+ - '@upstash/redis'
+ - '@vercel/blob'
+ - '@vercel/functions'
+ - '@vercel/kv'
+ - aws4fetch
+ - bufferutil
+ - db0
+ - idb-keyval
+ - ioredis
+ - magic-string
+ - oxc-parser
+ - rolldown
+ - supports-color
+ - unplugin
+ - uploadthing
+ - utf-8-validate
+ - vue
+ optional: true
+
dependencies:
'@nuxt/devtools-wizard': 3.3.1
'@vue/devtools-core': 8.2.1([email protected]([email protected]))
'@vue/devtools-kit': 8.2.1
birpc: 4.0.0
@@ -23201,7 +23446,7 @@ snapshots:
tinyglobby: 0.2.17
which: 6.0.1
ws: 8.21.1
@@ -23260,7 +23505,7 @@ snapshots:
transitivePeerDependencies:
- magicast
dependencies:
c12: 3.3.4([email protected])
consola: 3.4.2
@@ -23280,7 +23525,7 @@ snapshots:
scule: 1.3.0
tinyglobby: 0.2.17
ufo: 1.6.4
untyped: 2.0.0
verkit: 0.2.0
transitivePeerDependencies:
@@ -23289,8 +23534,9 @@ snapshots:
- oxc-parser
- rolldown
- unplugin
+ optional: true
dependencies:
c12: 3.3.4([email protected])
consola: 3.4.2
@@ -23310,7 +23556,7 @@ snapshots:
scule: 1.3.0
tinyglobby: 0.2.17
ufo: 1.6.4
untyped: 2.0.0
verkit: 0.2.0
transitivePeerDependencies:
@@ -23320,8 +23566,147 @@ snapshots:
- rolldown
- unplugin
- '@nuxt/[email protected](41b699148a7570ef336847082284397b)':
dependencies:
+ c12: 3.3.4([email protected])
+ consola: 3.4.2
+ defu: 6.1.7
+ destr: 2.0.5
+ errx: 0.1.2
+ exsolve: 1.1.1
+ ignore: 7.0.6
+ jiti: 2.7.0
+ klona: 2.0.6
+ mlly: 1.8.2
+ nostics: 1.2.0
+ ohash: 2.0.11
+ pathe: 2.0.3
+ pkg-types: 2.3.1
+ rc9: 3.0.1
+ scule: 1.3.0
+ tinyglobby: 0.2.17
+ ufo: 1.6.4
+ untyped: 2.0.0
+ verkit: 0.2.0
+ transitivePeerDependencies:
+ - magic-string
+ - magicast
+ - oxc-parser
+ - rolldown
+ - unplugin
+ optional: true
+
+ dependencies:
+ c12: 3.3.4([email protected])
+ consola: 3.4.2
+ defu: 6.1.7
+ destr: 2.0.5
+ errx: 0.1.2
+ exsolve: 1.1.1
+ ignore: 7.0.6
+ jiti: 2.7.0
+ klona: 2.0.6
+ mlly: 1.8.2
+ nostics: 1.2.0
+ ohash: 2.0.11
+ pathe: 2.0.3
+ pkg-types: 2.3.1
+ rc9: 3.0.1
+ scule: 1.3.0
+ tinyglobby: 0.2.17
+ ufo: 1.6.4
+ untyped: 2.0.0
+ verkit: 0.2.0
+ transitivePeerDependencies:
+ - magic-string
+ - magicast
+ - oxc-parser
+ - rolldown
+ - unplugin
+
+ ? '@nuxt/[email protected](@azure/[email protected])(@parcel/[email protected])([email protected]([email protected](@types/[email protected]))([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected]))([email protected](@azure/[email protected])(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected](@types/[email protected]))([email protected]))([email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected](@types/[email protected]))([email protected])([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected]([email protected])([email protected]))([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected])'
+ : dependencies:
+ '@nuxt/devalue': 2.0.2
+ '@nuxt/kit': 3.21.10([email protected])
+ '@unhead/vue': 2.1.16([email protected]([email protected]))
+ '@vue/shared': 3.5.40
+ consola: 3.4.2
+ defu: 6.1.7
+ destr: 2.0.5
+ devalue: 5.8.2
+ errx: 0.1.2
+ escape-string-regexp: 5.0.0
+ exsolve: 1.1.1
+ h3: 1.15.11
+ klona: 2.0.6
+ mocked-exports: 0.1.1
+ ohash: 2.0.11
+ pathe: 2.0.3
+ pkg-types: 2.3.1
+ rou3: 0.9.1
+ std-env: 4.2.0
+ ufo: 1.6.4
+ unctx: 2.5.0
+ vue: 3.5.40([email protected])
+ vue-bundle-renderer: 2.3.1
+ vue-devtools-stub: 0.1.0
+ transitivePeerDependencies:
+ - '@azure/app-configuration'
+ - '@azure/cosmos'
+ - '@azure/data-tables'
+ - '@azure/identity'
+ - '@azure/keyvault-secrets'
+ - '@azure/storage-blob'
+ - '@capacitor/preferences'
+ - '@deno/kv'
+ - '@electric-sql/pglite'
+ - '@farmfe/core'
+ - '@libsql/client'
+ - '@netlify/blobs'
+ - '@parcel/watcher'
+ - '@planetscale/database'
+ - '@rspack/core'
+ - '@upstash/redis'
+ - '@vercel/blob'
+ - '@vercel/functions'
+ - '@vercel/kv'
+ - aws4fetch
+ - bare-abort-controller
+ - bare-buffer
+ - better-sqlite3
+ - bun-types-no-globals
+ - db0
+ - drizzle-orm
+ - encoding
+ - esbuild
+ - idb-keyval
+ - ioredis
+ - magicast
+ - mysql2
+ - oxc-parser
+ - react-native-b4a
+ - rolldown
+ - rollup
+ - sqlite3
+ - srvx
+ - supports-color
+ - typescript
+ - unloader
+ - uploadthing
+ - vite
+ - webpack
+ - xml2js
+ optional: true
+
+ ? '@nuxt/[email protected](@azure/[email protected])(@parcel/[email protected])([email protected]([email protected](@types/[email protected]))([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected]))([email protected](@azure/[email protected])(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected](@types/[email protected]))([email protected]))([email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected](@types/[email protected]))([email protected])([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected]([email protected])([email protected])([email protected]))([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected])([email protected])([email protected]))([email protected])'
+ : dependencies:
'@nuxt/devalue': 2.0.2
'@nuxt/kit': 3.21.10([email protected])
'@unhead/vue': 2.1.16([email protected]([email protected]))
@@ -23334,11 +23719,11 @@ snapshots:
escape-string-regexp: 5.0.0
exsolve: 1.1.1
h3: 1.15.11
klona: 2.0.6
mocked-exports: 0.1.1
ohash: 2.0.11
pathe: 2.0.3
pkg-types: 2.3.1
@@ -23414,8 +23799,71 @@ snapshots:
rc9: 3.0.1
std-env: 4.2.0
- '@nuxt/[email protected](75be60b7727ba912465a7733945f21b9)':
- dependencies:
+ : dependencies:
+ '@nuxt/kit': 3.21.10([email protected])
+ '@rollup/plugin-replace': 6.0.3([email protected])
+ autoprefixer: 10.5.4([email protected])
+ consola: 3.4.2
+ cssnano: 7.1.9([email protected])
+ defu: 6.1.7
+ escape-string-regexp: 5.0.0
+ exsolve: 1.1.1
+ externality: 1.0.2
+ generic-names: 4.0.0
+ get-port-please: 3.2.0
+ jiti: 2.7.0
+ knitwork: 1.3.0
+ magic-string: 0.30.21
+ mlly: 1.8.2
+ mocked-exports: 0.1.1
+ nypm: 0.6.8
+ ohash: 2.0.11
+ pathe: 2.0.3
+ perfect-debounce: 2.1.0
+ pkg-types: 2.3.1
+ postcss: 8.5.24
+ seroval: 1.5.6
+ std-env: 4.2.0
+ ufo: 1.6.4
+ unenv: 2.0.0-rc.24
+ vue: 3.5.40([email protected])
+ vue-bundle-renderer: 2.3.1
+ optionalDependencies:
+ rolldown: 1.2.0
+ rollup-plugin-visualizer: 7.0.1([email protected])([email protected])
+ transitivePeerDependencies:
+ - '@biomejs/biome'
+ - '@types/node'
+ - eslint
+ - less
+ - lightningcss
+ - magicast
+ - meow
+ - optionator
+ - oxlint
+ - rollup
+ - sass
+ - sass-embedded
+ - stylelint
+ - stylus
+ - sugarss
+ - supports-color
+ - terser
+ - tsx
+ - typescript
+ - vue-tsc
+ - yaml
+ optional: true
+
+ : dependencies:
'@nuxt/kit': 3.21.10([email protected])
'@rollup/plugin-replace': 6.0.3([email protected])
@@ -23434,7 +23882,7 @@ snapshots:
magic-string: 0.30.21
mlly: 1.8.2
mocked-exports: 0.1.1
nypm: 0.6.8
ohash: 2.0.11
pathe: 2.0.3
@@ -27644,28 +28092,6 @@ snapshots:
'@opentelemetry/api': 1.9.1
typescript: 5.9.3
- dependencies:
- '@standard-schema/spec': 1.1.0
- '@sveltejs/acorn-typescript': 1.0.11([email protected])
- '@types/cookie': 0.6.0
- acorn: 8.18.0
- cookie: 1.1.1
- devalue: 5.8.2
- esm-env: 1.2.2
- kleur: 4.1.5
- magic-string: 0.30.21
- mrmime: 2.0.1
- set-cookie-parser: 3.1.2
- sirv: 3.0.2
- svelte: 5.56.8(@typescript-eslint/[email protected])
- optionalDependencies:
- '@opentelemetry/api': 1.9.1
- typescript: 5.9.3
- optional: true
-
'@sveltejs/[email protected]': {}
@@ -27688,16 +28114,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- debug: 4.4.3
- svelte: 5.56.8(@typescript-eslint/[email protected])
- transitivePeerDependencies:
- - supports-color
- optional: true
-
dependencies:
@@ -27711,20 +28127,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- debug: 4.4.3
- deepmerge: 4.3.1
- kleur: 4.1.5
- magic-string: 0.30.21
- svelte: 5.56.8(@typescript-eslint/[email protected])
- transitivePeerDependencies:
- - supports-color
- optional: true
-
dependencies:
tslib: 2.8.1
@@ -28686,6 +29088,33 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ '@uiw/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])':
+ dependencies:
+ '@codemirror/autocomplete': 6.20.3
+ '@codemirror/commands': 6.10.4
+ '@codemirror/language': 6.12.4
+ '@codemirror/lint': 6.9.7
+ '@codemirror/search': 6.7.1
+ '@codemirror/state': 6.7.1
+ '@codemirror/view': 6.43.8
+
+ dependencies:
+ '@babel/runtime': 7.29.7
+ '@codemirror/commands': 6.10.4
+ '@codemirror/state': 6.7.1
+ '@codemirror/theme-one-dark': 6.1.3
+ '@codemirror/view': 6.43.8
+ '@uiw/codemirror-extensions-basic-setup': 4.25.11(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])
+ codemirror: 6.0.2
+ react: 19.2.4
+ react-dom: 19.2.4([email protected])
+ transitivePeerDependencies:
+ - '@codemirror/autocomplete'
+ - '@codemirror/language'
+ - '@codemirror/lint'
+ - '@codemirror/search'
+
'@ungap/[email protected]': {}
@@ -28790,13 +29219,13 @@ snapshots:
dependencies:
execa: 5.1.1
- dependencies:
+ ? '@vercel/[email protected](@ai-sdk/[email protected]([email protected]))([email protected]([email protected]))([email protected](@azure/[email protected])(@opentelemetry/[email protected])(@sveltejs/[email protected](@opentelemetry/[email protected])(@sveltejs/[email protected]([email protected](@typescript-eslint/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])))([email protected](@typescript-eslint/[email protected]))([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected]))([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected](@azure/[email protected])(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected](@types/[email protected]))([email protected]))([email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected](@types/[email protected]))([email protected])([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected]([email protected])([email protected]))([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected](@typescript-eslint/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected]))'
+ : dependencies:
'@vercel/oidc': 3.6.1
optionalDependencies:
'@ai-sdk/mcp': 1.0.64([email protected])
ai: 7.0.0-beta.178([email protected])
- eve: 0.11.10(334bb9546b1c81dc4133f38010d6ba8c)
+ eve: 0.11.10(@azure/[email protected])(@opentelemetry/[email protected])(@sveltejs/[email protected](@opentelemetry/[email protected])(@sveltejs/[email protected]([email protected](@typescript-eslint/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])))([email protected](@typescript-eslint/[email protected]))([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected]))([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected](@azure/[email protected])(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected](@types/[email protected]))([email protected]))([email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected](@types/[email protected]))([email protected])([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected]([email protected])([email protected]))([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected](@typescript-eslint/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected])
dependencies:
@@ -30219,6 +30648,16 @@ snapshots:
+ dependencies:
+ '@codemirror/autocomplete': 6.20.3
+ '@codemirror/commands': 6.10.4
+ '@codemirror/language': 6.12.4
+ '@codemirror/lint': 6.9.7
+ '@codemirror/search': 6.7.1
+ '@codemirror/state': 6.7.1
+ '@codemirror/view': 6.43.8
+
@@ -30815,8 +31254,8 @@ snapshots:
- [email protected](91bd0eba1cf83c982119a44cf5cfde79):
- dependencies:
+ ? [email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))(@langchain/[email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected])))(@langchain/[email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]))([email protected]([email protected])))(@langchain/[email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]))([email protected]([email protected]))([email protected]))([email protected](@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]))([email protected]([email protected]))([email protected]))([email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))
+ : dependencies:
'@langchain/langgraph-checkpoint': 1.1.3(@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@aws-sdk/[email protected])(@smithy/[email protected])([email protected])([email protected]))([email protected]))
@@ -31354,7 +31793,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
debug: 3.2.7
optionalDependencies:
@@ -31376,7 +31815,7 @@ snapshots:
doctrine: 2.1.0
eslint: 9.39.5([email protected])
eslint-import-resolver-node: 0.3.10
hasown: 2.0.4
is-core-module: 2.16.2
is-glob: 4.0.3
@@ -31686,17 +32125,18 @@ snapshots:
- [email protected](334bb9546b1c81dc4133f38010d6ba8c):
- dependencies:
+ ? [email protected](@azure/[email protected])(@opentelemetry/[email protected])(@sveltejs/[email protected](@opentelemetry/[email protected])(@sveltejs/[email protected]([email protected](@typescript-eslint/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])))([email protected](@typescript-eslint/[email protected]))([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected]))([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected](@azure/[email protected])(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected](@types/[email protected]))([email protected]))([email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected](@types/[email protected]))([email protected])([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected]([email protected])([email protected]))([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected](@typescript-eslint/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected])
+ : dependencies:
ai: 7.0.0-beta.178([email protected])
optionalDependencies:
'@opentelemetry/api': 1.9.1
react: 19.2.3
svelte: 5.56.8(@typescript-eslint/[email protected])
vue: 3.5.40([email protected])
transitivePeerDependencies:
- '@azure/app-configuration'
@@ -32295,7 +32735,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@mdx-js/mdx': 3.1.1
'@standard-schema/spec': 1.1.0
@@ -32321,7 +32761,7 @@ snapshots:
'@types/react': 19.2.17
react: 19.2.4
transitivePeerDependencies:
- supports-color
@@ -33071,12 +33511,31 @@ snapshots:
+ dependencies:
+ '@jridgewell/trace-mapping': 0.3.31
+ es-module-lexer: 2.3.1
+ pathe: 2.0.3
+ unplugin-utils: 0.3.2
+ transitivePeerDependencies:
+ - '@farmfe/core'
+ - '@rspack/core'
+ - bun-types-no-globals
+ - esbuild
+ - rolldown
+ - rollup
+ - unloader
+ - vite
+ - webpack
+ optional: true
+
dependencies:
'@jridgewell/trace-mapping': 0.3.31
es-module-lexer: 2.3.1
pathe: 2.0.3
unplugin-utils: 0.3.2
transitivePeerDependencies:
- '@farmfe/core'
@@ -34049,12 +34508,30 @@ snapshots:
dependencies:
magic-string: 0.30.21
regexp-tree: 0.1.27
type-level-regexp: 0.1.17
+ transitivePeerDependencies:
+ - '@farmfe/core'
+ - '@rspack/core'
+ - bun-types-no-globals
+ - esbuild
+ - rolldown
+ - rollup
+ - unloader
+ - vite
+ - webpack
+ optional: true
+
+ dependencies:
+ magic-string: 0.30.21
+ regexp-tree: 0.1.27
+ type-level-regexp: 0.1.17
transitivePeerDependencies:
- '@farmfe/core'
- '@rspack/core'
@@ -35125,17 +35602,16 @@ snapshots:
lightningcss: 1.33.0
postcss: 8.5.24
dependencies:
'@jridgewell/trace-mapping': 0.3.31
jest-worker: 27.5.1
schema-utils: 4.3.3
terser: 5.49.0
optionalDependencies:
- esbuild: 0.28.1
+ esbuild: 0.25.12
lightningcss: 1.33.0
- postcss: 8.5.24
optional: true
@@ -35484,7 +35960,7 @@ snapshots:
dependencies:
consola: 3.4.2
crossws: 0.4.10([email protected])
@@ -35505,7 +35981,8 @@ snapshots:
giget: 3.3.1
jiti: 2.7.0
rollup: 4.62.3
+ xml2js: 0.6.0
transitivePeerDependencies:
- '@azure/app-configuration'
- '@azure/cosmos'
@@ -35538,7 +36015,122 @@ snapshots:
- uploadthing
- wrangler
+ dependencies:
+ '@cloudflare/kv-asset-handler': 0.4.2
+ '@rollup/plugin-alias': 6.0.0([email protected])
+ '@rollup/plugin-commonjs': 29.0.3([email protected])
+ '@rollup/plugin-inject': 5.0.5([email protected])
+ '@rollup/plugin-json': 6.1.0([email protected])
+ '@rollup/plugin-node-resolve': 16.0.3([email protected])
+ '@rollup/plugin-replace': 6.0.3([email protected])
+ '@rollup/plugin-terser': 1.0.0([email protected])
+ '@vercel/nft': 1.10.2([email protected])([email protected])
+ archiver: 7.0.1
+ c12: 3.3.4([email protected])
+ chokidar: 5.0.0
+ citty: 0.2.2
+ compatx: 0.2.0
+ confbox: 0.2.4
+ consola: 3.4.2
+ cookie-es: 2.0.1
+ croner: 10.0.1
+ crossws: 0.3.5
+ defu: 6.1.7
+ destr: 2.0.5
+ dot-prop: 10.2.0
+ esbuild: 0.28.1
+ escape-string-regexp: 5.0.0
+ etag: 1.8.1
+ exsolve: 1.1.1
+ globby: 16.2.0
+ gzip-size: 7.0.0
+ h3: 1.15.11
+ hookable: 5.5.3
+ httpxy: 0.5.5
+ ioredis: 5.11.1
+ jiti: 2.7.0
+ klona: 2.0.6
+ knitwork: 1.3.0
+ listhen: 1.10.1(@parcel/[email protected])([email protected])
+ magic-string: 0.30.21
+ magicast: 0.5.3
+ mime: 4.1.0
+ mlly: 1.8.2
+ node-fetch-native: 1.6.7
+ node-mock-http: 1.0.4
+ ofetch: 1.5.1
+ ohash: 2.0.11
+ pathe: 2.0.3
+ perfect-debounce: 2.1.0
+ pkg-types: 2.3.1
+ pretty-bytes: 7.1.1
+ radix3: 1.1.2
+ rollup: 4.62.3
+ rollup-plugin-visualizer: 7.0.1([email protected])([email protected])
+ scule: 1.3.0
+ semver: 7.8.5
+ serve-placeholder: 2.0.2
+ serve-static: 2.2.1
+ source-map: 0.7.6
+ std-env: 4.2.0
+ ufo: 1.6.4
+ ultrahtml: 1.7.0
+ uncrypto: 0.1.3
+ unctx: 2.5.0
+ unenv: 2.0.0-rc.24
+ unplugin-utils: 0.3.2
+ untyped: 2.0.0
+ unwasm: 0.5.3
+ youch: 4.1.1
+ youch-core: 0.3.3
+ optionalDependencies:
+ xml2js: 0.6.0
+ transitivePeerDependencies:
+ - '@azure/app-configuration'
+ - '@azure/cosmos'
+ - '@azure/data-tables'
+ - '@azure/identity'
+ - '@azure/keyvault-secrets'
+ - '@azure/storage-blob'
+ - '@capacitor/preferences'
+ - '@deno/kv'
+ - '@electric-sql/pglite'
+ - '@farmfe/core'
+ - '@libsql/client'
+ - '@netlify/blobs'
+ - '@parcel/watcher'
+ - '@planetscale/database'
+ - '@rspack/core'
+ - '@upstash/redis'
+ - '@vercel/blob'
+ - '@vercel/functions'
+ - '@vercel/kv'
+ - aws4fetch
+ - bare-abort-controller
+ - bare-buffer
+ - better-sqlite3
+ - bun-types-no-globals
+ - drizzle-orm
+ - encoding
+ - idb-keyval
+ - mysql2
+ - oxc-parser
+ - react-native-b4a
+ - rolldown
+ - sqlite3
+ - srvx
+ - supports-color
+ - unloader
+ - uploadthing
+ - vite
+ - webpack
+ optional: true
+
dependencies:
'@cloudflare/kv-asset-handler': 0.4.2
'@rollup/plugin-alias': 6.0.0([email protected])
@@ -35603,13 +36195,15 @@ snapshots:
uncrypto: 0.1.3
unctx: 2.5.0
unenv: 2.0.0-rc.24
unplugin-utils: 0.3.2
untyped: 2.0.0
unwasm: 0.5.3
youch: 4.1.1
youch-core: 0.3.3
+ optionalDependencies:
+ xml2js: 0.6.0
transitivePeerDependencies:
- '@azure/app-configuration'
- '@azure/cosmos'
@@ -35781,16 +36375,147 @@ snapshots:
dependencies:
bignumber.js: 9.3.1
+ dependencies:
+ '@nuxt/kit': 3.21.10([email protected])
+ '@nuxt/nitro-server': 3.21.10(@azure/[email protected])(@parcel/[email protected])([email protected]([email protected](@types/[email protected]))([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected]))([email protected](@azure/[email protected])(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected](@types/[email protected]))([email protected]))([email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected](@types/[email protected]))([email protected])([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected]([email protected])([email protected]))([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected])
+ '@nuxt/schema': 3.21.10
+ '@nuxt/telemetry': 2.8.0(@nuxt/[email protected]([email protected]))
+ '@unhead/vue': 2.1.16([email protected]([email protected]))
+ '@vue/shared': 3.5.40
+ c12: 3.3.4([email protected])
+ chokidar: 5.0.0
+ compatx: 0.2.0
+ consola: 3.4.2
+ cookie-es: 2.0.1
+ defu: 6.1.7
+ destr: 2.0.5
+ devalue: 5.8.2
+ errx: 0.1.2
+ escape-string-regexp: 5.0.0
+ exsolve: 1.1.1
+ h3: 1.15.11
+ hookable: 5.5.3
+ ignore: 7.0.6
+ jiti: 2.7.0
+ klona: 2.0.6
+ knitwork: 1.3.0
+ magic-string: 0.30.21
+ mlly: 1.8.2
+ nanotar: 0.3.0
+ nypm: 0.6.8
+ ofetch: 1.5.1
+ ohash: 2.0.11
+ on-change: 6.0.2
+ oxc-minify: 0.141.0
+ oxc-parser: 0.140.0
+ oxc-transform: 0.141.0
+ pathe: 2.0.3
+ perfect-debounce: 2.1.0
+ pkg-types: 2.3.1
+ rou3: 0.9.1
+ scule: 1.3.0
+ semver: 7.8.5
+ std-env: 4.2.0
+ tinyglobby: 0.2.17
+ ufo: 1.6.4
+ ultrahtml: 1.7.0
+ uncrypto: 0.1.3
+ unctx: 2.5.0
+ untyped: 2.0.0
+ vue: 3.5.40([email protected])
+ optionalDependencies:
+ '@parcel/watcher': 2.6.0
+ '@types/node': 24.13.3
+ transitivePeerDependencies:
+ - '@azure/app-configuration'
+ - '@azure/cosmos'
+ - '@azure/data-tables'
+ - '@azure/identity'
+ - '@azure/keyvault-secrets'
+ - '@azure/storage-blob'
+ - '@biomejs/biome'
+ - '@capacitor/preferences'
+ - '@deno/kv'
+ - '@electric-sql/pglite'
+ - '@farmfe/core'
+ - '@libsql/client'
+ - '@netlify/blobs'
+ - '@planetscale/database'
+ - '@rspack/core'
+ - '@upstash/redis'
+ - '@vercel/blob'
+ - '@vercel/functions'
+ - '@vercel/kv'
+ - '@vitejs/devtools'
+ - '@vue/compiler-sfc'
+ - aws4fetch
+ - bare-abort-controller
+ - bare-buffer
+ - better-sqlite3
+ - bufferutil
+ - bun-types-no-globals
+ - cac
+ - commander
+ - db0
+ - drizzle-orm
+ - encoding
+ - esbuild
+ - eslint
+ - idb-keyval
+ - ioredis
+ - less
+ - lightningcss
+ - magicast
+ - meow
+ - mysql2
+ - optionator
+ - oxlint
+ - react-native-b4a
+ - rolldown
+ - rollup
+ - rollup-plugin-visualizer
+ - sass
+ - sass-embedded
+ - sqlite3
+ - srvx
+ - stylelint
+ - stylus
+ - sugarss
+ - supports-color
+ - terser
+ - tsx
+ - typescript
+ - unloader
+ - uploadthing
+ - utf-8-validate
+ - vite
+ - vue-tsc
+ - webpack
+ - xml2js
+ - yaml
+ optional: true
+
dependencies:
'@nuxt/kit': 3.21.10([email protected])
- '@nuxt/nitro-server': 3.21.10(41b699148a7570ef336847082284397b)
+ '@nuxt/nitro-server': 3.21.10(@azure/[email protected])(@parcel/[email protected])([email protected]([email protected](@types/[email protected]))([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected]))([email protected](@azure/[email protected])(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected]([email protected](@types/[email protected]))([email protected]))([email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected](@types/[email protected]))([email protected])([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))([email protected]([email protected])([email protected])([email protected]))([email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected])([email protected])([email protected]))([email protected])
'@nuxt/schema': 3.21.10
'@nuxt/telemetry': 2.8.0(@nuxt/[email protected]([email protected]))
- '@nuxt/vite-builder': 3.21.10(75be60b7727ba912465a7733945f21b9)
'@unhead/vue': 2.1.16([email protected]([email protected]))
'@vue/shared': 3.5.40
c12: 3.3.4([email protected])
@@ -35807,7 +36532,7 @@ snapshots:
h3: 1.15.11
hookable: 5.5.3
ignore: 7.0.6
jiti: 2.7.0
klona: 2.0.6
knitwork: 1.3.0
@@ -35821,7 +36546,7 @@ snapshots:
oxc-minify: 0.141.0
oxc-parser: 0.140.0
oxc-transform: 0.141.0
pathe: 2.0.3
perfect-debounce: 2.1.0
pkg-types: 2.3.1
@@ -35834,8 +36559,8 @@ snapshots:
ultrahtml: 1.7.0
uncrypto: 0.1.3
unctx: 2.5.0
untyped: 2.0.0
vue: 3.5.40([email protected])
@@ -36253,9 +36978,26 @@ snapshots:
'@oxc-transform/binding-win32-ia32-msvc': 0.141.0
'@oxc-transform/binding-win32-x64-msvc': 0.141.0
dependencies:
+ optionalDependencies:
+ oxc-parser: 0.140.0
+ rolldown: 1.2.0
+ transitivePeerDependencies:
+ - '@farmfe/core'
+ - '@rspack/core'
+ - bun-types-no-globals
+ - esbuild
+ - rollup
+ - unloader
+ - vite
+ - webpack
+ optional: true
+
+ dependencies:
optionalDependencies:
oxc-parser: 0.140.0
rolldown: 1.2.0
@@ -37500,6 +38242,11 @@ snapshots:
optionalDependencies:
'@types/react': 19.2.17
+ dependencies:
+ react: 19.2.4
+ react-dom: 19.2.4([email protected])
+
dependencies:
fast-equals: 5.4.1
@@ -37964,7 +38711,7 @@ snapshots:
dependencies:
'@babel/generator': 8.0.0-rc.3
'@babel/helper-validator-identifier': 8.0.0-rc.3
@@ -37980,6 +38727,7 @@ snapshots:
optionalDependencies:
'@typescript/native-preview': 7.0.0-dev.20260523.1
typescript: 5.9.3
+ vue-tsc: 2.2.12([email protected])
transitivePeerDependencies:
- oxc-resolver
@@ -38726,6 +39474,8 @@ snapshots:
+
dependencies:
style-to-object: 1.0.14
@@ -39129,7 +39879,7 @@ snapshots:
minimist: 1.2.8
strip-bom: 3.0.0
dependencies:
ansis: 4.3.1
cac: 7.0.0
@@ -39140,7 +39890,7 @@ snapshots:
obug: 2.1.4
picomatch: 4.0.5
rolldown: 1.0.0-rc.17
- rolldown-plugin-dts: 0.23.2(@typescript/[email protected])([email protected])([email protected])([email protected])
semver: 7.8.5
tinyexec: 1.2.4
tinyglobby: 0.2.17
@@ -39295,19 +40045,35 @@ snapshots:
magic-string: 0.30.21
unplugin: 2.3.11
optionalDependencies:
magic-string: 0.30.21
oxc-parser: 0.140.0
rolldown: 1.2.0
+ optional: true
+
+ optionalDependencies:
+ magic-string: 0.30.21
+ oxc-parser: 0.140.0
+ rolldown: 1.2.0
+
+ optionalDependencies:
+ magic-string: 1.1.0
+ oxc-parser: 0.140.0
+ rolldown: 1.2.0
+ optional: true
optionalDependencies:
magic-string: 1.1.0
oxc-parser: 0.140.0
rolldown: 1.2.0
@@ -39354,7 +40120,96 @@ snapshots:
trough: 2.2.0
vfile: 6.0.3
+ dependencies:
+ acorn: 8.18.0
+ escape-string-regexp: 5.0.0
+ estree-walker: 3.0.3
+ local-pkg: 1.2.1
+ magic-string: 0.30.21
+ mlly: 1.8.2
+ pathe: 2.0.3
+ picomatch: 4.0.5
+ pkg-types: 2.3.1
+ scule: 1.3.0
+ strip-literal: 3.1.0
+ tinyglobby: 0.2.17
+ unplugin-utils: 0.3.2
+ optionalDependencies:
+ oxc-parser: 0.140.0
+ rolldown: 1.2.0
+ transitivePeerDependencies:
+ - '@farmfe/core'
+ - '@rspack/core'
+ - bun-types-no-globals
+ - esbuild
+ - rollup
+ - unloader
+ - vite
+ - webpack
+ optional: true
+
+ dependencies:
+ acorn: 8.18.0
+ escape-string-regexp: 5.0.0
+ estree-walker: 3.0.3
+ local-pkg: 1.2.1
+ magic-string: 0.30.21
+ mlly: 1.8.2
+ pathe: 2.0.3
+ picomatch: 4.0.5
+ pkg-types: 2.3.1
+ scule: 1.3.0
+ strip-literal: 3.1.0
+ tinyglobby: 0.2.17
+ unplugin-utils: 0.3.2
+ optionalDependencies:
+ oxc-parser: 0.140.0
+ rolldown: 1.2.0
+ transitivePeerDependencies:
+ - '@farmfe/core'
+ - '@rspack/core'
+ - bun-types-no-globals
+ - esbuild
+ - rollup
+ - unloader
+ - vite
+ - webpack
+
+ dependencies:
+ acorn: 8.18.0
+ escape-string-regexp: 5.0.0
+ estree-walker: 3.0.3
+ local-pkg: 1.2.1
+ magic-string: 0.30.21
+ mlly: 1.8.2
+ pathe: 2.0.3
+ picomatch: 4.0.5
+ pkg-types: 2.3.1
+ scule: 1.3.0
+ strip-literal: 3.1.0
+ tinyglobby: 0.2.17
+ unplugin-utils: 0.3.2
+ optionalDependencies:
+ oxc-parser: 0.140.0
+ rolldown: 1.2.0
+ transitivePeerDependencies:
+ - '@farmfe/core'
+ - '@rspack/core'
+ - bun-types-no-globals
+ - esbuild
+ - rollup
+ - unloader
+ - vite
+ - webpack
+ optional: true
+
dependencies:
acorn: 8.18.0
escape-string-regexp: 5.0.0
@@ -39368,7 +40223,7 @@ snapshots:
scule: 1.3.0
strip-literal: 3.1.0
tinyglobby: 0.2.17
unplugin-utils: 0.3.2
optionalDependencies:
oxc-parser: 0.140.0
@@ -39480,7 +40335,45 @@ snapshots:
picomatch: 4.0.5
webpack-virtual-modules: 0.6.2
+ dependencies:
+ '@jridgewell/remapping': 2.3.5
+ picomatch: 4.0.5
+ webpack-virtual-modules: 0.6.2
+ optionalDependencies:
+ esbuild: 0.25.12
+ rolldown: 1.2.0
+ rollup: 4.62.3
+ optional: true
+
+ dependencies:
+ '@jridgewell/remapping': 2.3.5
+ picomatch: 4.0.5
+ webpack-virtual-modules: 0.6.2
+ optionalDependencies:
+ esbuild: 0.25.12
+ rolldown: 1.2.0
+ rollup: 4.62.3
+
+ dependencies:
+ '@jridgewell/remapping': 2.3.5
+ picomatch: 4.0.5
+ webpack-virtual-modules: 0.6.2
+ optionalDependencies:
+ esbuild: 0.28.1
+ rolldown: 1.2.0
+ rollup: 4.62.3
+ optional: true
+
dependencies:
'@jridgewell/remapping': 2.3.5
picomatch: 4.0.5
@@ -39490,7 +40383,7 @@ snapshots:
rolldown: 1.2.0
rollup: 4.62.3
dependencies:
@@ -39706,12 +40599,24 @@ snapshots:
d3-time: 3.1.0
d3-timer: 3.0.1
+ dependencies:
+ birpc: 4.0.0
+ optional: true
+
dependencies:
birpc: 4.0.0
+ dependencies:
+ optional: true
+
dependencies:
@@ -39752,7 +40657,23 @@ snapshots:
typescript: 5.9.3
vue-tsc: 2.2.12([email protected])
+ dependencies:
+ ansis: 4.3.1
+ error-stack-parser-es: 1.0.5
+ obug: 2.1.4
+ ohash: 2.0.11
+ open: 11.0.0
+ perfect-debounce: 2.1.0
+ sirv: 3.0.2
+ unplugin-utils: 0.3.2
+ optionalDependencies:
+ optional: true
+
dependencies:
ansis: 4.3.1
error-stack-parser-es: 1.0.5
@@ -39765,7 +40686,18 @@ snapshots:
optionalDependencies:
+
+ dependencies:
+ estree-walker: 3.0.3
+ exsolve: 1.1.1
+ magic-string: 0.30.21
+ pathe: 2.0.3
+ source-map-js: 1.2.1
+ vue: 3.5.40([email protected])
+ optional: true
dependencies:
@@ -39795,6 +40727,25 @@ snapshots:
tsx: 4.23.1
yaml: 2.9.0
+ dependencies:
+ esbuild: 0.25.12
+ fdir: 6.5.0([email protected])
+ picomatch: 4.0.5
+ postcss: 8.5.24
+ rollup: 4.62.3
+ tinyglobby: 0.2.17
+ optionalDependencies:
+ '@types/node': 22.20.1
+ fsevents: 2.3.3
+ jiti: 2.7.0
+ lightningcss: 1.33.0
+ sass: 1.102.0
+ terser: 5.49.0
+ tsx: 4.23.1
+ yaml: 2.9.0
+ optional: true
+
dependencies:
esbuild: 0.25.12
@@ -39871,11 +40822,6 @@ snapshots:
optionalDependencies:
- optionalDependencies:
- optional: true
-
dependencies:
'@vitest/expect': 4.1.10
@@ -40092,7 +41038,7 @@ snapshots:
dependencies:
'@types/estree': 1.0.9
'@types/json-schema': 7.0.15
@@ -40108,7 +41054,7 @@ snapshots:
events: 3.3.0
graceful-fs: 4.2.11
mime-db: 1.54.0
neo-async: 2.6.2
schema-utils: 4.3.3
tapable: 2.3.3
@@ -40127,8 +41073,9 @@ snapshots:
- lightningcss
- postcss
- uglify-js
+ optional: true
dependencies:
'@types/estree': 1.0.9
'@types/json-schema': 7.0.15
@@ -40144,7 +41091,7 @@ snapshots:
events: 3.3.0
graceful-fs: 4.2.11
mime-db: 1.54.0
neo-async: 2.6.2
schema-utils: 4.3.3
tapable: 2.3.3
@@ -40163,7 +41110,6 @@ snapshots:
- lightningcss
- postcss
- uglify-js
- optional: true
dependencies: