Repository navigation
Conversation
added 3 commits
October 30, 2026 14:28
Add OpenUILang, OpenUISwiftUI and OpenUIWeb, matching the pinned OpenUI contracts. Include source-readiness metadata, native resource ownership, adaptive components and SDK regressions. Keep business scenes, preview hosts and external acceptance outputs outside this SDK-only branch.
Move embedded SVG/WebView presentation into OpenUISwiftUI, retaining explicit registration and application policy. Add a repository-root manifest, packaged resource lookup and installation guidance.
|
Someone is attempting to deploy a commit to the thesys-devs Team on Vercel. A member of the Team first needs to authorize it. |
added 15 commits
October 30, 2026 19:11
This reverts commit 9f2ed39.
This branch has not been deployed
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
Relates to #393.
This adds Swift support for iOS and macOS apps. Apps can define an OpenUI component library, generate a prompt from it, and render streamed responses with SwiftUI. Actions and tool requests are passed back to the app.
OpenUILangprovides Swift bindings to the existinglang-coreruntime through JavaScriptCore.OpenUISwiftUIprovides the native renderer and components. Apps can use the language module on its own, or select theOpenUISwiftUIproduct through Swift Package Manager to use both.Requires Swift 6 tools. Supports iOS 16+ and macOS 13+.
Changes
The language bindings reuse the shared core rather than implementing another parser. The renderer follows the OpenUI component contracts and uses SwiftUI controls and platform interactions. Existing JavaScript packages are unchanged.
Test Plan
Validated on commit
01e175519deb804ed4ac47ec443e28265d616dd4:swift test: 356 tests passed, including parsing, streaming, state, resources, native layout and interaction regressions.OpenUISwiftUIfor the iOS 16 Simulator target.The review application and its scene fixtures are maintained separately from the SDK package. Physical-device testing remains pending.
Screenshots
Six earlier examples rendered by the native iPhone Simulator app. These screenshots predate the current presentation refinements and catalogue cleanup. Prices are sample data.
Checklist