feat(examples): add full-stack OpenUI Lynx chat#778
Open
vishxrad wants to merge 3 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@lynx-js/genuiOpenUI integration.build:allfor the full Node 22 web/native build.Why
Lynx now officially supports OpenUI. This example provides an end-to-end reference comparable to the existing React Native example, showing how to connect a native ReactLynx chat shell, model streaming, and generative component rendering.
@lynx-js/genui@0.0.6requires Node 22 for the full web/native build, while the repository's existing examples workflow intentionally runs on Node 20. Following the Vercel Eve harness pattern, the engine requirement remains explicit, the genericbuildexercises the Node-20-compatible native bundle, andbuild:allkeeps the full Node 22 validation path.Developer impact
Developers can clone the repository, configure an API key, and run a complete OpenUI-powered Lynx chat application on the web or a mobile device. The backend and renderer use the same
@lynx-js/genuiversion, keeping the generated component contract aligned.The composer uses Lynx's supported native input event bridge. This avoids the web preview's incomplete
textareaelement bridge, which prevented typed values from reaching ReactLynx state.Validation
pnpm --filter openui-lynx check:allpnpm --filter openui-lynx build:allbuild:allproduces web and native bundles plus the backend under Node 22.23.1Linear issue