You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
[Fix] oclite TUI renders blank - ink-text-input may not work in bundle #139
oclite TUI renders ANSI escape codes but NO VISIBLE TEXT.
Root Cause: React Version Mismatch
Workspace React: 18.3.1
Ink requires: >=19.0.0
Ink bundles: 19.1.0
Both React versions get bundled together. When hooks execute, React's internal dispatcher is null because the App uses React 18 context while Ink uses React 19.
Error:Invalid hook call... You might have more than one copy of React
Fix Options
Option 1: Upgrade workspace React to 19.1.0 (cleanest)
Option 2: Configure build-lite.ts to alias React imports to Ink's React 19
Activity
fix(opencode): force single React version in oclite build (#139)
fix(oclite): resolve React version mismatch by upgrading to React 19 (#…
fix(oclite): address review feedback - cleanup, race condition, sanit…
fix(opencode): force single React version in oclite build (#139) (#140)
randomm commentedon Feb 5, 2026
✅ Fixed in PR #140 (merged as f837a85)
Root cause: React version mismatch (workspace 18.x vs Ink 19.x)
Fixes applied: