Add solid-lang runtime package for OpenUI#429
Open
nizarfadlan wants to merge 4 commits intothesysdev:mainfrom
Open
Add solid-lang runtime package for OpenUI#429nizarfadlan wants to merge 4 commits intothesysdev:mainfrom
nizarfadlan wants to merge 4 commits intothesysdev:mainfrom
Conversation
Contributor
|
Thanks for PR. We have assigned a reviewer. |
Author
|
Update posted on this PR: the SolidJS work is now expanded beyond I’ve also updated the PR title/body to reflect this broader scope. |
Add InputField, TextAreaField, SelectField, ToggleField, and Divider components and wire them into the example library and Stack layout. These components enable form-like rendering and two-way binding using state references so example UIs can collect and reflect user input more naturally. feat(solid-chat): extend text tones and structured button actions Add additional TextContent tones (success, warning, danger, info) and allow Button action to accept structured action objects (open_url and continue_conversation) in addition to simple action strings. This expands the expressiveness of UI primitives and enables richer status styling and actionable button semantics from generated content. feat(solid-chat): add action schemas and parser Introduce Zod schemas for open_url and continue_conversation actions and an actionSchema union used by the prompt generator and library. Add a parser created from the library JSON schema for runtime parsing of assistant responses. These additions make action payloads explicit and allow the UI to validate and interpret structured actions produced by the assistant. feat(solid-chat): add raw/parsed/thinking views and UI improvements Enhance the chat UI with a parser-backed parsed view, a raw response panel, a thinking/debug panel, prompt starters, responsive compact mode, and auto-scroll for streaming assistant messages. Expand assistant message shape to capture raw, thinking, and reasoning
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.


What
Add first-class SolidJS support to OpenUI with a new
@openuidev/solid-langpackage, plus a completeexamples/solid-chatapp to demonstrate real-world usage.This PR now covers both:
Changes
@openuidev/solid-langdefineComponent,createLibraryRenderertsconfig.json,tsconfig.test.jsonvite.config.ts(Vitest + Solid plugin)eslint.config.cjspackage.jsonscripts and depssrc/__tests__/library.test.tssrc/__tests__/validation.test.tssrc/__tests__/Renderer.test.tsxpackages/solid-lang/README.md@openuidev/solid-langto package table and repo structure inREADME.mdsolid-langoption in.github/workflows/publish-npm-package.ymlpnpm-lock.yamlAdd SolidJS example app
examples/solid-chatwith:@openuidev/solid-langCard,Chart,KpiTile,MetricList,Timeline,Badge, etc.)/api/chat) for OpenAI-compatible streamingREADME.md,.env.example)Repo-level updates
README.mdto include@openuidev/solid-langandexamples/solid-chatsolid-langpnpm-lock.yamlTest Plan
Validated locally:
solid-lang package
pnpm --filter @openuidev/solid-lang testpnpm --filter @openuidev/solid-lang run cipnpm --filter @openuidev/solid-lang buildsolid-chat example
pnpm --filter solid-chat generate:promptpnpm --filter solid-chat buildAll commands pass.
Checklist