Chore/pr ready 20260403 - #419
Merged
Merged
Conversation
vishxrad
enabled auto-merge (squash)
April 3, 2026 09:07
vishxrad
disabled auto-merge
April 3, 2026 09:07
* feat: add openui-artifact-demo example New example app demonstrating the OpenUI artifact system for displaying AI-generated code in a resizable side panel. - Custom ArtifactCodeBlock genui component with inline preview and artifact panel view - Extends openuiChatLibrary with artifact-specific component and prompt rules - Syntax highlighting via react-syntax-highlighter (Prism, vscDarkPlus) - Copy-to-clipboard, language badges, filename headers - Multiple artifacts per conversation, one active at a time - Code-focused conversation starters (React, Python, CSS, SQL) * styling fix for artifact panel * feat: add Artifact() factory function in react-ui, migrate artifact demo Adds Artifact() to @openuidev/react-ui — a factory that returns a ComponentRenderer with automatic useId, useArtifact, and ArtifactPanel wiring. Consumers provide preview/panel render functions; no manual artifact boilerplate needed. No changes to lang-core or react-lang. - react-ui: new Artifact() function with ArtifactControls injection - example: migrate ArtifactCodeBlock to use Artifact() - example: remove artifactId from schema and prompt, simplify InlinePreview Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * docs: add Artifacts page to chat layout docs Explains the artifact system for consumers — Artifact() factory, ArtifactControls, layout setup, headless hooks, and manual wiring escape hatch. Placed under Chat Layouts after BottomTray. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Update CLI README with @latest for install and generate examples - Update all documentation files to include @latest in CLI commands - Update package.json scripts to use @latest - Update OpenUiGeneratesSchema.tsx with @latest Fixes issue where npx @openuidev/cli fails without @latest tag Co-authored-by: Cursor Agent <cursoragent@cursor.com>
zahlekhan
approved these changes
Apr 3, 2026
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.
Added a multi-agent chat example built with the AI SDK, showing how a main agent delegates specialized tasks to a sub-agent.
Closed #418