hermes-agent/ui-tui/src
alt-glitch 2bd9c9b881 opentui(phase3): launcher integration — HERMES_TUI_ENGINE dual-engine
hermes --tui launches the native OpenTUI engine (Bun) when
HERMES_TUI_ENGINE=opentui (env) or display.tui_engine=opentui (config);
Ink stays the default and the shipping path is untouched.

- _resolve_tui_engine() (env > config > ink); refuses opentui on
  Windows/Termux (no Bun) -> falls back to ink with a notice.
- _make_opentui_argv() -> [bun, src/entry.real.tsx] (no build step).
- _bun_bin() with HERMES_BUN override.
- Branch at top of _make_tui_argv BEFORE _ensure_tui_node (Bun-only host
  must not bootstrap Node).
- Gate _launch_tui NODE_OPTIONS/--max-old-space-size on engine==ink (Bun
  is JSC; the V8 flag errors/ignores).

Verified end-to-end via tmux: real hermes --tui -> Bun -> OpenTUI ->
real Python gateway streamed a real reply. No-flag default still ink.
2026-06-08 11:11:54 +00:00
..
__tests__ opentui(phase3): launcher integration — HERMES_TUI_ENGINE dual-engine 2026-06-08 11:11:54 +00:00
app opentui(phase3): launcher integration — HERMES_TUI_ENGINE dual-engine 2026-06-08 11:11:54 +00:00
components opentui(phase3): launcher integration — HERMES_TUI_ENGINE dual-engine 2026-06-08 11:11:54 +00:00
config feat(credits): usage-aware credits — in-session notices, /usage view, dev readout (#40011) 2026-06-06 13:18:18 +05:30
content feat: add TUI session orchestrator 2026-05-26 20:51:59 -07:00
domain opentui(phase3): launcher integration — HERMES_TUI_ENGINE dual-engine 2026-06-08 11:11:54 +00:00
hooks fix(tui): recompute virtual tail after width resize 2026-05-23 14:49:26 -05:00
lib opentui(phase3): launcher integration — HERMES_TUI_ENGINE dual-engine 2026-06-08 11:11:54 +00:00
protocol refactor(tui): /clean pass across ui-tui — 49 files, −217 LOC 2026-04-16 22:32:53 -05:00
types fix(tui): keep Ink displayCursor in sync with fast-echo writes so cursor stops drifting (#26717) 2026-05-16 00:28:12 -05:00
app.tsx fix(tui): apply ui-tui fix pass and restore type-check 2026-04-25 14:08:54 -05:00
banner.ts feat(tui): responsive banner tiers 2026-05-23 17:37:51 -05:00
entry.tsx opentui(phase3): launcher integration — HERMES_TUI_ENGINE dual-engine 2026-06-08 11:11:54 +00:00
gatewayClient.ts opentui(phase3): launcher integration — HERMES_TUI_ENGINE dual-engine 2026-06-08 11:11:54 +00:00
gatewayTypes.ts opentui(phase3): launcher integration — HERMES_TUI_ENGINE dual-engine 2026-06-08 11:11:54 +00:00
theme.ts fix(tui): honor skin highlight colors (#20895) 2026-05-06 14:01:56 -07:00
types.ts opentui(phase3): launcher integration — HERMES_TUI_ENGINE dual-engine 2026-06-08 11:11:54 +00:00