hermes-agent/ui-tui/src/app
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
..
slash opentui(phase3): launcher integration — HERMES_TUI_ENGINE dual-engine 2026-06-08 11:11:54 +00:00
createGatewayEventHandler.ts opentui(phase3): launcher integration — HERMES_TUI_ENGINE dual-engine 2026-06-08 11:11:54 +00:00
createSlashHandler.ts feat(undo): /undo [N] backs up N user turns with prefill + soft-delete 2026-06-01 01:22:38 -07:00
delegationStore.ts feat(tui): subagent spawn observability overlay 2026-04-22 10:38:17 -05:00
gatewayContext.tsx feat: add inline token count etc and fix venv 2026-04-15 10:20:56 -05:00
gatewayRecovery.ts fix(tui): auto-recover session on unexpected gateway death (+ persist lifecycle breadcrumbs) (#35893) 2026-05-31 10:36:57 -05:00
inputSelectionStore.ts fix(tui): mouse + keyboard text selection in the composer (#16732) 2026-04-27 16:43:48 -07:00
interfaces.ts opentui(phase3): launcher integration — HERMES_TUI_ENGINE dual-engine 2026-06-08 11:11:54 +00:00
overlayStore.ts opentui(phase3): launcher integration — HERMES_TUI_ENGINE dual-engine 2026-06-08 11:11:54 +00:00
scroll.ts fix(tui): refresh scroll height at cached bottom 2026-05-07 05:48:19 -07:00
setupHandoff.ts feat(tui): /model and /setup slash commands with in-place CLI handoff 2026-04-17 10:58:18 -05:00
spawnHistoryStore.ts fix(tui): handle timeout/error subagent statuses in /agents (#26687) 2026-05-15 20:19:02 -05:00
turnController.ts fix(credits): let the "grant spent" notice yield on the next prompt (#40367) 2026-06-06 08:02:41 +00:00
turnStore.ts chore(tui): remove dead branch cleanup code 2026-04-26 21:54:24 -05:00
uiStore.ts opentui(phase3): launcher integration — HERMES_TUI_ENGINE dual-engine 2026-06-08 11:11:54 +00:00
useComposerState.ts fix(cli): restore fallback paste collapse + handle long single-line pastes (#32447) 2026-05-25 23:49:01 -07:00
useConfigSync.ts fix(cli): restore fallback paste collapse + handle long single-line pastes (#32447) 2026-05-25 23:49:01 -07:00
useInputHandlers.ts opentui(phase3): launcher integration — HERMES_TUI_ENGINE dual-engine 2026-06-08 11:11:54 +00:00
useLongRunToolCharms.ts chore(tui): clean live progress lint 2026-04-26 15:42:07 -05:00
useMainApp.ts opentui(phase3): launcher integration — HERMES_TUI_ENGINE dual-engine 2026-06-08 11:11:54 +00:00
useSessionLifecycle.ts fix(tui): reuse live session on resume 2026-06-04 08:18:26 -07:00
useSubmission.ts fix(tui): clean force-send of queued messages (#40235) 2026-06-06 01:39:10 +00:00