hermes-agent/ui-tui/src
Ben Barclay d33965396e
feat(tui): include session name in the terminal titlebar (#43188)
The terminal/console titlebar was composed from status marker + model +
cwd only; the session's (auto-)title never appeared, even though the TUI
already knows it.

Change the format to `<marker> <session name> · <model> · <cwd>`, with the
session name and cwd each omitted when absent so single-segment titles stay
clean. The current session's live title is pulled from the existing
session.active_list poll (which already carries each session's current flag
and title), so there's no extra round-trip; UiState gains a sessionTitle
field updated only when it actually changes, preserving the existing
idle-flicker guard.

Extract the join logic into a pure composeTabTitle() helper in domain/paths
and cover its edge cases (name omitted, cwd omitted, whitespace-only name,
marker-only fallback, truncation, boundary length) in paths.test.ts.
2026-06-10 11:24:01 +10:00
..
__tests__ feat(tui): include session name in the terminal titlebar (#43188) 2026-06-10 11:24:01 +10:00
app feat(tui): include session name in the terminal titlebar (#43188) 2026-06-10 11:24:01 +10:00
components feat(tui): interactive Plugins Hub overlay for enable/disable 2026-06-09 10:50:13 -07:00
config feat(credits): usage-aware credits — in-session notices, /usage view, dev readout (#40011) 2026-06-06 13:18:18 +05:30
content
domain feat(tui): include session name in the terminal titlebar (#43188) 2026-06-10 11:24:01 +10:00
hooks
lib test(tui): cover heapdump opt-in gate + retention; add AUTHOR_MAP 2026-06-08 02:20:49 -07:00
protocol
types
app.tsx
banner.ts
entry.tsx fix(tui): install the process.on('exit') terminal-mode backstop (#42165) 2026-06-08 08:21:19 -07:00
gatewayClient.ts fix(tui): auto-recover session on unexpected gateway death (+ persist lifecycle breadcrumbs) (#35893) 2026-05-31 10:36:57 -05:00
gatewayTypes.ts feat(credits): usage-aware credits — in-session notices, /usage view, dev readout (#40011) 2026-06-06 13:18:18 +05:30
theme.ts
types.ts feat(credits): usage-aware credits — in-session notices, /usage view, dev readout (#40011) 2026-06-06 13:18:18 +05:30