Repository navigation
feat(opentui): add universal renderer binding - #852
Merged
Merged
Conversation
jonkwheeler
marked this pull request as ready for review
August 25, 2026 21:40
- restore deferred image sources after host recreation - cover slot fallback identity across plugin add, reorder, and removal
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
Bugbot Autofix is ON, but it could not run because the branch was deleted or merged before autofix could start.
Reviewed by Cursor Bugbot for commit 2289a65. Configure here.
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
@octanejs/opentui, an Octane universal renderer binding for@opentui/[email protected]Why
@opentui/coreresponsible for layout, input, rendering, and native resources while Octane owns component lifecycle and reconciliationChanges
.opentui.tsrxcompiler configuration and renderer-local intrinsic typesTimeToFirstDraw, test utility, and slot registry surface@opentui/[email protected]package integrity, commit, MIT license, public export crosswalk, and upstream test inventoryValidation
pnpm syncpnpm format:checkpnpm typecheck67774aaeepnpm test— browser projects require the CI browser harness; current-head CI is the authoritative full-suite resultRisk / follow-ups
--experimental-ffirecorded-unverified: all 56 upstream React registrations are pinned and inventoried, but this PR does not claim they have all been adapted one-for-oneProvenance
agent-authored)Note
Medium Risk
Adds a new native-FFI terminal renderer and compiler surface (Bun 1.3+ or Node 26.4+ with
--experimental-ffi); scope is mostly isolated to the new package but expands CI and binding discovery paths.Overview
Introduces
@octanejs/opentui, an experimental Octane binding for@opentui/[email protected]that drives terminal UIs through Octane reconciliation instead of React Reconciler, while reusing@opentui/coreunchanged.The package adds
.opentui.tsrxcompiler support viaopentuiRenderers, renderer-local terminal intrinsics (full built-in catalogue plus text modifiers),createRoot/createPortal, public OpenTUI hooks, slot plugins,act/flushSync, and an FFI-backedtestRenderhelper. Upstream@opentui/reactsources are pinned and vendored underpackages/opentui/upstreamwith documented export crosswalk and arecorded-unverifiedparity manifest.Workspace wiring updates binding inventories and status docs, maps
@opentui/reactin CLI/MCP tooling, addspackages/opentuitobindings:typecheck, registers the package for external hook slots, and runs OpenTUI native integration tests in CI (pnpm --dir packages/opentui test:native). Lockfile hash churn in existing parity audit JSON and eval manifests reflects the new dependency graph.Reviewed by Cursor Bugbot for commit 67774aa. Bugbot is set up for automated code reviews on this repo. Configure here.
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.