0.1.1
Fixes found while bringing the line coverage of lib/ to 100%.
- The LiveView renderer keeps a null in its place in a list prop, so table columns stay aligned.
@Eachover a query or mutation named like its loop variable renders the items, as the official renderer does.- A call nested in a
$variabledefault is evaluated, so the state the host receives is plain JSON. - A DSL
functionwithoutreturns:compiles, and a slot that takes a single action is written as the official library writes it. Library.from_specreturns{:error, problems}for a LibrarySpec with sections of the wrong type, andmix openui.gen.spec --checkreports one instead of crashing.OpenUI.Promptaccepts tool schemas given as plain maps.OpenUI.SerializerandOpenUI.Canonicalhandle a component that@Setstores.
0.1.0
First release. Implements OpenUI Lang 1.0 (spec commit 9d73d17).
- Catalog DSL (
use OpenUI.Library) that generates the official LibrarySpec, andmix openui.gen.specwith backward compatibility checks. - System prompt byte-identical to
@openuidev/lang-core1.0.1. - Parser, chunked stream, edit merge and serializer; every case of the 1.0 conformance suite passes.
- Runtime for state, forms, validation, actions,
QueryandMutation, as a pure value with effects. - Stored message protocol (
OpenUI.Message). - Optional Phoenix LiveView renderer with per-component crash protection.
- Eight guides, a LiveView chat example and a React example whose contract test compares this library with the official parser.