Merge pull request #15351 from helix4u/fix/tui-rebuild-missing-ink-bundle

fix(tui): rebuild when ink bundle is missing
This commit is contained in:
brooklyn! 2026-04-25 13:14:23 -05:00 committed by GitHub
commit ee0728c6c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 30 additions and 0 deletions

View file

@ -839,6 +839,8 @@ def _find_bundled_tui(tui_dir: Path) -> Optional[Path]:
def _tui_build_needed(tui_dir: Path) -> bool:
if _hermes_ink_bundle_stale(tui_dir):
return True
entry = tui_dir / "dist" / "entry.js"
if not entry.exists():
return True