The Open Standard for Generative UI
lang-core, react-lang, react-ui, browser-bundle: README for 1.0 (#1394)
Aditya-thesys51865854eb16
diff --git a/.changeset/refresh-package-readmes.md b/.changeset/refresh-package-readmes.mdnew file mode 100644index 000000000..5f100279b--- /dev/null+++ b/.changeset/refresh-package-readmes.md@@ -0,0 +1,12 @@+---+"@openuidev/lang-core": patch+"@openuidev/react-lang": patch+"@openuidev/react-ui": patch+"@openuidev/react-headless": patch+"@openuidev/browser-bundle": patch+"@openuidev/vue-lang": patch+"@openuidev/svelte-lang": patch+"@openuidev/angular-lang": patch+---++Update the README for OpenUI Lang 1.0: working snippets and links to the new docs pages.diff --git a/packages/angular-lang/README.md b/packages/angular-lang/README.mdindex 7af471c74..b1c2d6528 100644--- a/packages/angular-lang/README.md+++ b/packages/angular-lang/README.md@@ -18,6 +18,8 @@ pnpm add @openuidev/angular-lang**Peer dependencies:** `@angular/core`, `@angular/common`, `rxjs`, `zod`+This package works with `@openuidev/lang-core` ^0.4 (OpenUI Lang 0.5). OpenUI Lang 1.0 features need the React renderer, `@openuidev/react-lang` 1.x, for now.+## Overview`@openuidev/angular-lang` brings the OpenUI Lang runtime to Angular:@@ -321,7 +323,7 @@ const schema = library.toJSONSchema();## Documentation- [OpenUI Lang guide](https://openui.com/docs/openui-lang)-- [Language specification](https://openui.com/docs/openui-lang/specification-v05)+- [Language specification 0.5](https://openui.com/docs/openui-lang/specification/v0.5)- [Source on GitHub](https://github.com/thesysdev/openui/tree/main/packages/angular-lang)## Licensediff --git a/packages/browser-bundle/README.md b/packages/browser-bundle/README.mdindex b94d70fbd..1b11ded95 100644--- a/packages/browser-bundle/README.md+++ b/packages/browser-bundle/README.md@@ -16,14 +16,14 @@ For any build-pipeline project, use `@openuidev/react-lang` and `@openuidev/reac## Install-You almost certainly want to use the CDN. jsDelivr and unpkg both auto-publish from npm:+You almost certainly want to use the CDN. jsDelivr and unpkg both auto-publish from npm. Version 0.2 bundles react-lang 1.0 and react-ui 0.18, so it renders OpenUI Lang 1.0; pair it with a system prompt from lang-core 1.x:```html<linkrel="stylesheet"- href="https://cdn.jsdelivr.net/npm/@openuidev/[email protected]/dist/openui-styles.css"+ href="https://cdn.jsdelivr.net/npm/@openuidev/[email protected]/dist/openui-styles.css"/>-<script src="https://cdn.jsdelivr.net/npm/@openuidev/[email protected]/dist/openui-bundle.min.js"></script>+<script src="https://cdn.jsdelivr.net/npm/@openuidev/[email protected]/dist/openui-bundle.min.js"></script>```## Public API@@ -35,7 +35,7 @@ window.__OpenUI = {React, // reactcreateRoot, // react-dom/clientRenderer, // @openuidev/react-lang- openuiChatLibrary, // @openuidev/react-ui/genui-lib+ openuiChatLibrary, // @openuidev/react-ui/genui-lib, a Library};```@@ -47,20 +47,19 @@ This shape is a **stable public contract**. Any change to the keys or their expo<div id="root"></div><script>const { React, createRoot, Renderer, openuiChatLibrary } = window.__OpenUI;- const { library, schema } = openuiChatLibrary;- const openuiLangCode = "..."; // from your LLM / backend+ const response = "..."; // OpenUI Lang from your LLM / backendcreateRoot(document.getElementById("root")).render(- React.createElement(Renderer, { code: openuiLangCode, library, schema }),+ React.createElement(Renderer, { response, library: openuiChatLibrary }),);</script>```## Size-- `openui-bundle.min.js`: ~2.2 MB raw / ~650 KB gzipped-- `openui-styles.css`: ~150 KB raw+- `openui-bundle.min.js`: ~3.2 MB raw / ~900 KB gzipped+- `openui-styles.css`: ~320 KB raw / ~35 KB gzippedAll dependencies are inlined; there are no runtime fetches beyond the two files above.diff --git a/packages/lang-core/README.md b/packages/lang-core/README.mdindex 2755f25fe..f256233f6 100644--- a/packages/lang-core/README.md+++ b/packages/lang-core/README.md@@ -25,24 +25,26 @@ pnpm add @openuidev/lang-core- **Evaluate** reactive expressions, `$variables`, and query results at runtime- **Merge** incremental edits into existing programs-If you're building a framework-specific app, use `@openuidev/react-lang`, `@openuidev/vue-lang` or `@openuidev/svelte-lang` instead. It re-exports everything from this package plus framework-specific components and hooks.+For a React app, use `@openuidev/react-lang`, which re-exports the parts you need plus the renderer and hooks. `@openuidev/vue-lang`, `@openuidev/svelte-lang` and `@openuidev/angular-lang` stay on lang-core 0.4 for now.## Quick Start### Parse OpenUI Lang+Parsers take a library's JSON Schema: `library.toJSONSchema()`, or the `schema` field of a `.spec.json` from `openui generate`.+```tsimport { createParser } from "@openuidev/lang-core";-const parser = createParser(libraryJsonSchema);+const parser = createParser(libraryJsonSchema, "Stack");const result = parser.parse(`root = Stack([header, content])header = CardHeader("Hello")content = TextContent("World")`);-console.log(result.root); // ElementNode tree-console.log(result.meta); // { incomplete, unresolved, statementCount, validationErrors }+console.log(result.root); // ElementNode tree+console.log(result.meta); // { incomplete, unresolved, orphaned, statementCount, errors }```### Streaming parser@@ -50,12 +52,12 @@ console.log(result.meta); // { incomplete, unresolved, statementCount, val```tsimport { createStreamingParser } from "@openuidev/lang-core";-const sp = createStreamingParser(libraryJsonSchema);+const sp = createStreamingParser(libraryJsonSchema, "Stack");-// Feed chunks as they arrive from the LLM+// Feed chunks as they arrive from the LLM; `set` takes the full text so farconst result1 = sp.set("root = Stack([header])\n");-const result2 = sp.set("root = Stack([header])\nheader = CardHeader(\"Hello\")\n");-// result2.root now resolves the forward reference+const result2 = sp.set("root = Stack([header])\nheader = CardHeader(\"Hello\")\n", true);+// result2.root now resolves the forward reference; `true` marks the stream complete```### Generate a system prompt@@ -124,9 +126,16 @@ const merged = mergeStatements(original, patch);| Export | Description || :--- | :--- |-| `createParser(schema)` | One-shot parser for complete text |-| `createStreamingParser(schema)` | Incremental parser for streaming input |-| `parse(input, schema)` | Convenience one-shot parse |+| `createParser(schema, rootName?)` | One-shot parser for complete text |+| `createStreamingParser(schema, rootName?)` | Incremental parser: `push(chunk)`, `set(fullText, complete?)`, `getResult()` |++### Library and messages++| Export | Description |+| :--- | :--- |+| `createLibrary(definition)` | A library from components, functions and actions; `prompt()`, `toSpec()`, `toJSONSchema()`, `extend()` |+| `defineComponent` / `defineFunction` / `defineAction` | Define a component, an `@Name(...)` [function](https://openui.com/docs/openui-lang/functions), or a custom [action](https://openui.com/docs/openui-lang/actions) step |+| `buildMessage(input)` / `parseMessage(raw)` | Write and read a stored message ([message protocol](https://openui.com/docs/openui-lang/message-protocol)) |### Prompt Generation@@ -174,6 +183,7 @@ sending it.| `createStore()` | Reactive store for `$variables` and form state || `evaluate(ast, context)` | Evaluate an AST node to a concrete value || `evaluateElementProps(root, context)` | Recursively evaluate all props in an element tree |+| `evaluateRoot(result, context)` | Evaluate the entry of a `ParseResult` || `extractToolResult(result)` | Extract data from an MCP `callTool` response || `mergeStatements(original, patch)` | Merge incremental edits by statement name |@@ -196,7 +206,7 @@ import type {## Documentation- [OpenUI Lang guide](https://openui.com/docs/openui-lang)-- [Language specification](https://openui.com/docs/openui-lang/specification-v05)+- [Language specification 1.0](https://openui.com/docs/openui-lang/specification)- [Source on GitHub](https://github.com/thesysdev/openui/tree/main/packages/lang-core)## Licensediff --git a/packages/react-headless/README.md b/packages/react-headless/README.mdindex c07a2879d..a70757f23 100644--- a/packages/react-headless/README.md+++ b/packages/react-headless/README.md@@ -6,7 +6,7 @@ Headless React state and streaming primitives for OpenUI chat experiences. Bring[](https://www.npmjs.com/package/@openuidev/react-headless)[](https://github.com/thesysdev/openui/blob/main/LICENSE)-**Links:** [Package docs](https://openui.com/docs/api-reference/react-headless) | [Chat docs](https://openui.com/docs/chat) | [GitHub repo](https://github.com/thesysdev/openui)+**Links:** [Package docs](https://openui.com/docs/api-reference/react-headless) | [Chat docs](https://openui.com/docs/agent) | [GitHub repo](https://github.com/thesysdev/openui)## Install@@ -288,7 +288,7 @@ import type {## Documentation- [React Headless API reference](https://openui.com/docs/api-reference/react-headless)-- [Chat guides](https://openui.com/docs/chat)+- [Chat guides](https://openui.com/docs/agent)- [Source on GitHub](https://github.com/thesysdev/openui/tree/main/packages/react-headless)## Licensediff --git a/packages/react-lang/README.md b/packages/react-lang/README.mdindex 5a60540db..74d868f3b 100644--- a/packages/react-lang/README.md+++ b/packages/react-lang/README.md@@ -16,7 +16,7 @@ npm install @openuidev/react-langpnpm add @openuidev/react-lang```-**Peer dependencies:** `react >=19.0.0`+**Peer dependencies:** `react >=19.0.0`, `zod ^3.25.0 || ^4.0.0` (schemas use Zod 4: `import { z } from "zod/v4"`)## Query failures@@ -61,9 +61,11 @@ While queries load, `Renderer.Content` renders their defaults or previously succ### 1. Define a component+Renderers receive the parsed props as `props`:+```tsximport { defineComponent } from "@openuidev/react-lang";-import { z } from "zod";+import { z } from "zod/v4";const Greeting = defineComponent({name: "Greeting",@@ -72,9 +74,9 @@ const Greeting = defineComponent({name: z.string().describe("The person's name"),mood: z.enum(["happy", "excited"]).optional().describe("Tone of the greeting"),}),- component: ({ name, mood }) => (- <div className={mood === "excited" ? "text-xl font-bold" : ""}>- Hello, {name}!+ component: ({ props }) => (+ <div className={props.mood === "excited" ? "text-xl font-bold" : ""}>+ Hello, {props.name}!</div>),});@@ -86,18 +88,20 @@ const Greeting = defineComponent({import { createLibrary } from "@openuidev/react-lang";const library = createLibrary({- components: [Greeting, Card, Table /* ... */],- root: "Card", // optional default root component+ components: [Greeting /* , Card, Table, ... */],+ root: "Greeting", // the component the program's root statement calls});```### 3. Generate a system prompt+Examples are written in OpenUI Lang:+```tsconst systemPrompt = library.prompt({preamble: "You are a helpful assistant.",additionalRules: ["Always greet the user by name."],- examples: ["<Greeting name='Alice' mood='happy' />"],+ examples: [`root = Greeting("Alice", "happy")`],});```@@ -106,18 +110,21 @@ const systemPrompt = library.prompt({```tsximport { Renderer } from "@openuidev/react-lang";-function AssistantMessage({ response, isStreaming }) {+function AssistantMessage({ response, isStreaming }: { response: string; isStreaming: boolean }) {return (<Rendererresponse={response}library={library}isStreaming={isStreaming}- onAction={(event) => console.log("Action:", event)}+ onAction={(event) => console.log("Action:", event.type, event.params)}+ onError={(errors) => console.warn(errors)}/>);}```+`response` is the raw model output, or a stored message written with `buildMessage`.+## API Reference### Component Definition@@ -125,70 +132,46 @@ function AssistantMessage({ response, isStreaming }) {| Export | Description || :--- | :--- || `defineComponent(config)` | Define a single component with a name, Zod props schema, description, and React renderer |-| `createLibrary(definition)` | Create a library from an array of defined components |+| `defineFunction(config)` | A library function the model calls as `@Name(...)` ([docs](https://openui.com/docs/openui-lang/functions)) |+| `defineAction(config)` | A custom action step a button can run, delivered to `onAction` ([docs](https://openui.com/docs/openui-lang/actions)) |+| `createLibrary(definition)` | A library from components, functions and actions; `library.extend()` derives a new one |+| `action()` | Schema for an action prop (one step, or `Action([...])`) |+| `reactive(schema)` | Marks a prop as bindable to a `$variable`; read it with `useStateField()` |### Rendering-| Export | Description |-| :--- | :--- |-| `Renderer` | Render OpenUI Lang |-**`RendererProps`:**| Prop | Type | Description || :--- | :--- | :--- |-| `response` | `string \| null` | Raw OpenUI Lang text from the model |+| `response` | `string \| null` | Raw OpenUI Lang text, or a stored message (see `buildMessage`) || `library` | `Library` | Component library from `createLibrary()` || `isStreaming` | `boolean` | Whether the model is still streaming (disables form interactions) || `onAction` | `(event: ActionEvent) => void` | Callback when a component triggers an action |-| `onStateUpdate` | `(state: Record<string, any>) => void` | Callback when form field values change |-| `initialState` | `Record<string, any>` | Initial form state for hydration |+| `onStateUpdate` | `(state: Record<string, any>) => void` | Callback when form fields or `$variables` change |+| `initialState` | `Record<string, any>` | State to restore, e.g. from a stored message |+| `toolProvider` | function map or MCP client | Runs `Query()` and `Mutation()` tools |+| `onError` | `(errors: OpenUIError[]) => void` | Structured errors, `[]` when resolved || `queryLoader` | `React.ReactNode` | Custom loading indicator; defaults to a spinner || `onParseResult` | `(result: ParseResult \| null) => void` | Callback when the parse result changes |-### Parser (Server-Side)--| Export | Description |-| :--- | :--- |-| `createParser(library)` | Create a one-shot parser for complete OpenUI Lang text |-| `createStreamingParser(library)` | Create an incremental parser for streaming input |--The streaming parser exposes two methods:--| Method | Description |-| :--- | :--- |-| `push(chunk)` | Feed the next chunk; returns the latest `ParseResult` |-| `getResult()` | Get the latest result without consuming new data |--After the stream ends, check `meta.unresolved` for any identifiers that were referenced but never defined. During streaming these are expected (forward refs) and are not treated as errors.--#### Errors--`ParseResult.meta.errors` contains structured `OpenUIError` objects. Each error has a `type` discriminant (currently always `"validation"`) and a `code` for consumer-side filtering:--| Code | Meaning |-| :--- | :--- |-| `missing-required` | Required prop absent with no default |-| `null-required` | Required prop explicitly null with no default |-| `unknown-component` | Component name not found in the library schema |-| `excess-args` | More positional args passed than the schema defines |+### Parser and prompt (server-side)-Errors do not affect rendering. The parser stays permissive and renders what it can. Use `code` to decide how to surface or log errors:+Parsers take the library's JSON Schema, not the library itself:```ts+import { createParser, createStreamingParser } from "@openuidev/react-lang";++const parser = createParser(library.toJSONSchema(), library.root);const result = parser.parse(output);-const critical = result.meta.errors.filter(- (e) => e.code === "unknown-component"-);++const streaming = createStreamingParser(library.toJSONSchema(), library.root);+streaming.push(chunk); // returns the latest ParseResult```-To check for unresolved references after streaming, inspect `meta.unresolved`:+`result.meta.errors` holds structured errors with a `code` (`missing-required`, `null-required`, `type-mismatch`, `unknown-component`, `unknown-function`, `excess-args`, `inline-reserved`, `no-root`). The parser stays permissive and renders what it can. `meta.unresolved` lists names referenced but never defined; during streaming these are expected forward references.-```ts-if (result.meta.unresolved.length > 0) {- console.warn("Unresolved refs:", result.meta.unresolved);-}-```+`generateSystemPrompt`, `buildMessage`, `parseMessage` and `mergeStatements` are re-exported from `@openuidev/lang-core`. Stored messages are described in the [message protocol](https://openui.com/docs/openui-lang/message-protocol).### Context Hooks@@ -201,6 +184,7 @@ Use these inside component renderers to interact with the rendering context:| `useTriggerAction()` | Trigger an action event || `useGetFieldValue()` | Get a form field's current value || `useSetFieldValue()` | Set a form field's value |+| `useStateField(name, value)` | Read and write a field or bound `$variable` || `useSetDefaultValue()` | Set a field's default value || `useFormName()` | Get the current form's name |@@ -229,8 +213,6 @@ import type {ElementNode,ParseResult,OpenUIError,- ValidationErrorCode,- LibraryJSONSchema,} from "@openuidev/react-lang";```@@ -248,6 +230,7 @@ const schema = library.toJSONSchema();- [React API reference](https://openui.com/docs/api-reference/react-lang)- [OpenUI Lang guide](https://openui.com/docs/openui-lang)+- [Language specification 1.0](https://openui.com/docs/openui-lang/specification)- [Source on GitHub](https://github.com/thesysdev/openui/tree/main/packages/react-lang)## Licensediff --git a/packages/react-ui/README.md b/packages/react-ui/README.mdindex 719740d54..04a55a534 100644--- a/packages/react-ui/README.md+++ b/packages/react-ui/README.md@@ -6,7 +6,7 @@ React components and a ready-made chat surface for OpenUI. Use the `AgentInterfa[](https://www.npmjs.com/package/@openuidev/react-ui)[](https://github.com/thesysdev/openui/blob/main/LICENSE)-**Links:** [Package docs](https://openui.com/docs/api-reference/react-ui) | [Chat docs](https://openui.com/docs/chat) | [GitHub repo](https://github.com/thesysdev/openui)+**Links:** [Package docs](https://openui.com/docs/api-reference/react-ui) | [Chat docs](https://openui.com/docs/agent) | [GitHub repo](https://github.com/thesysdev/openui)## Install@@ -16,7 +16,9 @@ npm install @openuidev/react-ui @openuidev/react-lang @openuidev/react-headlesspnpm add @openuidev/react-ui @openuidev/react-lang @openuidev/react-headless```-**Peer dependencies:** `react >=19.0.0`, `react-dom >=19.0.0`, `zustand ^4.5.5`, `@openuidev/react-lang`, `@openuidev/react-headless`+**Peer dependencies:** `react >=19.0.0`, `react-dom >=19.0.0`, `zustand ^4.5.5`, `zod ^3.25.0 || ^4.0.0`, `@openuidev/react-lang >=1.0.0 <2.0.0`, `@openuidev/react-headless`++react-ui 0.18 renders OpenUI Lang 1.0: upgrade it together with `@openuidev/react-lang` 1.x and the server that builds your system prompt.Don't forget to import the component styles:@@ -74,7 +76,7 @@ function App() {| `agentName` | Name displayed in the header || `starters` | Conversation-starter prompts shown on the welcome screen |-See the [chat docs](https://openui.com/docs/chat) for full configuration.+See the [chat docs](https://openui.com/docs/agent) for full configuration.## Built-in Component Libraries@@ -91,7 +93,7 @@ Use them directly when building custom chat experiences:import { Renderer } from "@openuidev/react-lang";import { openuiLibrary } from "@openuidev/react-ui";-function AssistantMessage({ content, isStreaming }) {+function AssistantMessage({ content, isStreaming }: { content: string; isStreaming: boolean }) {return <Renderer response={content} library={openuiLibrary} isStreaming={isStreaming} />;}```@@ -112,9 +114,9 @@ Wrap your app in `ThemeProvider` to customize colors, typography, spacing, and eimport { ThemeProvider, createTheme } from "@openuidev/react-ui";const customTheme = createTheme({- primary: "#6366f1",+ interactiveAccentDefault: "#6366f1",background: "#fafafa",- foreground: "#1a1a1a",+ textNeutralPrimary: "#1a1a1a",});function App() {@@ -129,7 +131,7 @@ function App() {| Export | Description || :----------------------- | :------------------------------------------ || `ThemeProvider` | Context provider for theming |-| `createTheme(overrides)` | Create a theme with validation and defaults |+| `createTheme(overrides)` | Type a partial theme; warns about unknown keys in development || `defaultLightTheme` | Built-in light theme || `defaultDarkTheme` | Built-in dark theme || `swatchTokens` | Token palette for use in theme builders |@@ -186,8 +188,8 @@ All components are available as individual imports:| Category | Components || :--------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------- |-| **Layout** | `Card`, `CardHeader`, `SectionBlock`, `Tabs`, `Accordion`, `Carousel`, `Separator`, `Steps` |-| **Data Display** | `Table`, `Charts` (bar, line, area, pie, radar, scatter), `ListBlock`, `ListItem`, `Tag`, `TagBlock`, `CodeBlock`, `Image`, `ImageBlock`, `ImageGallery` |+| **Layout** | `Card`, `CardHeader`, `Tabs`, `Accordion`, `Carousel`, `Separator`, `Steps` |+| **Data Display** | `Table`, charts (`BarChart`, `LineChart`, `AreaChart`, `PieChart`, `RadarChart`, `RadialChart`, ...), `ListBlock`, `ListItem`, `Tag`, `TagBlock`, `CodeBlock`, `Image`, `ImageBlock`, `ImageGallery` || **Forms** | `Input`, `TextArea`, `Select`, `CheckBoxGroup`, `CheckBoxItem`, `RadioGroup`, `RadioItem`, `SwitchGroup`, `SwitchItem`, `Slider`, `DatePicker`, `FormControl`, `Label` || **Actions** | `Button`, `Buttons`, `IconButton`, `FollowUpBlock`, `FollowUpItem` || **Feedback** | `Callout`, `TextCallout` |@@ -201,7 +203,7 @@ For smaller bundles, import components individually:```tsimport { Button } from "@openuidev/react-ui/Button";import { Card } from "@openuidev/react-ui/Card";-import { Charts } from "@openuidev/react-ui/Charts";+import { BarChart } from "@openuidev/react-ui/Charts";```## Subpath Exports@@ -223,7 +225,7 @@ import { Charts } from "@openuidev/react-ui/Charts";## Documentation- [React UI API reference](https://openui.com/docs/api-reference/react-ui)-- [Chat guides](https://openui.com/docs/chat)+- [Chat guides](https://openui.com/docs/agent)- [Source on GitHub](https://github.com/thesysdev/openui/tree/main/packages/react-ui)## Licensediff --git a/packages/svelte-lang/README.md b/packages/svelte-lang/README.mdindex c0cc8925c..2baf78842 100644--- a/packages/svelte-lang/README.md+++ b/packages/svelte-lang/README.md@@ -18,6 +18,8 @@ pnpm add @openuidev/svelte-lang zod**Peer dependencies:** `svelte >=5.0.0`, `zod ^3.25.0 || ^4.0.0`+This package works with `@openuidev/lang-core` ^0.4 (OpenUI Lang 0.5). OpenUI Lang 1.0 features need the React renderer, `@openuidev/react-lang` 1.x, for now.+## Overview`@openuidev/svelte-lang` brings the OpenUI Lang runtime to Svelte:@@ -256,7 +258,7 @@ const schema = library.toJSONSchema();## Documentation- [OpenUI Lang guide](https://openui.com/docs/openui-lang)-- [Language specification](https://openui.com/docs/openui-lang/specification-v05)+- [Language specification 0.5](https://openui.com/docs/openui-lang/specification/v0.5)- [Source on GitHub](https://github.com/thesysdev/openui/tree/main/packages/svelte-lang)## Licensediff --git a/packages/vue-lang/README.md b/packages/vue-lang/README.mdindex 97249800a..bc17e3151 100644--- a/packages/vue-lang/README.md+++ b/packages/vue-lang/README.md@@ -18,6 +18,8 @@ pnpm add @openuidev/vue-lang zod**Peer dependencies:** `vue >=3.5.0`, `zod ^3.25.0 || ^4.0.0`+This package works with `@openuidev/lang-core` ^0.4 (OpenUI Lang 0.5). OpenUI Lang 1.0 features need the React renderer, `@openuidev/react-lang` 1.x, for now.+## Overview`@openuidev/vue-lang` brings the OpenUI Lang runtime to Vue:@@ -246,7 +248,7 @@ const schema = library.toJSONSchema();## Documentation- [OpenUI Lang guide](https://openui.com/docs/openui-lang)-- [Language specification](https://openui.com/docs/openui-lang/specification-v05)+- [Language specification 0.5](https://openui.com/docs/openui-lang/specification/v0.5)- [Source on GitHub](https://github.com/thesysdev/openui/tree/main/packages/vue-lang)## License