hermes-agent-features/ui-tui/src
Brooklyn Nicholson c6ed61430a perf(tui): paint banner on first frame, don't wait on session.create
Previously `historyItems` was seeded empty and the intro (with Banner +
SessionPanel) was only pushed after Python's `session.create` returned —
~1.8s of agent + tools + MCP init with nothing on screen. Base CLI feels
instant because it prints the banner as its first action.

Seed `historyItems` with an info-less intro on mount. `appLayout` now
renders the Banner unconditionally for `kind === 'intro'` and gates only
the SessionPanel on `info` being present. Gateway.ready swaps the skin
(~200ms) and session.info fills in the panel when the agent is ready.

Net: first usable frame drops from ~2s to ~300ms (node + module graph +
React mount). No behavior change — intro message is replaced in place
by `introMsg(info)` when `newSession()` / `resumeById()` resolve.
2026-04-16 14:58:12 -05:00
..
__tests__ refactor(tui): store-driven turn state + slash registry + module split 2026-04-16 12:34:45 -05:00
app perf(tui): paint banner on first frame, don't wait on session.create 2026-04-16 14:58:12 -05:00
components perf(tui): paint banner on first frame, don't wait on session.create 2026-04-16 14:58:12 -05:00
config refactor(tui): store-driven turn state + slash registry + module split 2026-04-16 12:34:45 -05:00
content refactor(tui): store-driven turn state + slash registry + module split 2026-04-16 12:34:45 -05:00
domain refactor(tui): store-driven turn state + slash registry + module split 2026-04-16 12:34:45 -05:00
hooks chore: uptick 2026-04-15 23:29:00 -05:00
lib refactor(tui): store-driven turn state + slash registry + module split 2026-04-16 12:34:45 -05:00
protocol refactor(tui): store-driven turn state + slash registry + module split 2026-04-16 12:34:45 -05:00
types fix: scrolling while selecting 2026-04-14 12:50:22 -05:00
app.tsx refactor(tui): store-driven turn state + slash registry + module split 2026-04-16 12:34:45 -05:00
banner.ts feat: add skin logo support 2026-04-07 23:59:11 -04:00
entry.tsx feat: refactor by splitting up app and doing proper state 2026-04-14 22:30:18 -05:00
gatewayClient.ts feat: just more cleaning 2026-04-15 14:14:01 -05:00
gatewayTypes.ts chore: uptick 2026-04-16 14:48:29 -05:00
theme.ts feat: change to $ when in ! mode 2026-04-15 16:34:58 -05:00
types.ts feat: just more cleaning 2026-04-15 14:14:01 -05:00