Skip to content

Add WithPreviewRenderer and standalone OpenUI bundle support - #1268

Draft
AbhinRustagi wants to merge 16 commits into
mainfrom
codex/react-lang-renderer
Draft

AbhinRustagi wants to merge 16 commits into
mainfrom
codex/react-lang-renderer

Conversation

@AbhinRustagi

@AbhinRustagi AbhinRustagi commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Support standalone rendering of complete OpenUI response bundles, with an optional inline preview. Use Renderer for direct rendering and WithPreviewRenderer when a preview should open the rendered UI.

Changes

  • Parse content, script, and completion sections; preserve bare OpenUI Lang support and show query defaults while bundled execution waits for completion.
  • Add configurable preview/content rendering, metadata, controlled visibility, and host-owned portal support through WithPreviewRenderer.
  • Add protocol-independent server helpers for stateless script execution and generalized Cloud configuration using baseResponse.
  • Initialize the telemetry counter for the existing type-mismatch validation error so lang-core typechecks.

Validation

  • Built and typechecked lang-core and react-lang.
  • Passed all 115 existing lang-core tests and 12 existing react-lang tests.
  • Confirmed the expression parser, statement parser, parser error types, and validation test match the original base.

@vercel

vercel Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
openui-docs Ready Ready Preview Oct 6, 2026 4:57pm UTC

Request Review

@AbhinRustagi AbhinRustagi changed the title Add new ArtifactRenderer to react-lang Add WithPreviewRenderer and standalone OpenUI bundle support Sep 30, 2026

This branch was successfully deployed

1 active deployment
Preview — 0ffd69d1 Deployed Oct 6, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant