hermes - ✅(Solved) Fix Show current session title in status bar (CLI/TUI) [1 pull requests, 1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
NousResearch/hermes-agent#14859Fetched 2026-04-24 10:44:40
View on GitHub
Comments
1
Participants
2
Timeline
7
Reactions
0
Timeline (top)
labeled ×4commented ×1cross-referenced ×1referenced ×1

Fix Action

Fixed

PR fix notes

PR #14912: feat(cli): show current session title in status bar

Description (problem / solution / changelog)

Closes #14859

Adds session title display to the TUI/CLI status bar for wide terminals (>=76 cols). The title is sourced from pending title (set via /title before DB persistence) or persisted title from SessionDB.

New config options under ‘display.statusbar’:

  • ‘show_session_title’: bool (default true)
  • ‘session_title_max_len’: int (default 28)

Narrow terminals (<76 cols) continue to hide the title to preserve space. Untitled sessions omit the field entirely.

Changes:

  • Updated ‘_get_status_bar_snapshot()’ to resolve and truncate session title
  • Updated ‘_build_status_bar_text()’ and ‘_get_status_bar_fragments()’ to inject title when enabled
  • Added default config in ‘load_cli_config()’

Tested:

  • pytest tests/cli/test_cli_status_bar.py → 29 passed

Changed files

  • CONTRIBUTIONS.md (added, +23/-0)
  • cli.py (modified, +45/-2)
  • hermes_cli/model_normalize.py (modified, +6/-5)
  • hermes_cli/models.py (modified, +1/-0)
  • hermes_cli/web_server.py (modified, +54/-4)
  • tests/cli/test_cli_status_bar.py (modified, +149/-0)
  • tests/hermes_cli/test_web_server.py (modified, +77/-0)
RAW_BUFFERClick to expand / collapse

Title: Show current session title in Hermes status bar (CLI/TUI)

Repository: https://github.com/NousResearch/hermes-agent Type: Feature request

Summary Add the active session title to the Hermes status bar line, next to existing runtime metrics (model, token usage/context %, elapsed time).

Current behavior Status bar shows runtime metrics such as: ⚕ gpt-5.3-codex │ 164K/400K │ [████░░░░░░] 41% │ 2m │ ⏲ 8s But it does not show which titled session is currently active.

Problem When users run many similarly-scoped sessions, they can’t quickly confirm they are in the right session without running extra commands (/status, sessions list, etc.). This increases context-switch friction and occasional mistakes.

Proposed behavior Show active session title as an optional status bar segment.

Example ⚕ gpt-5.3-codex │ Session: weekly-kpi-audit │ 164K/400K │ [████░░░░░░] 41% │ 2m │ ⏲ 8s

Suggested implementation

  1. Add config toggle (default true): display.statusbar.show_session_title: true

  2. Optional max width: display.statusbar.session_title_max_len: 28

    • Truncate with ellipsis if longer.
  3. Fallback behavior:

    • If untitled: show Session: <untitled> OR omit segment based on toggle.
    • If title unavailable: fail silently (no crash, no extra noise).
  4. CLI + TUI parity:

    • Keep behavior consistent in both status bar implementations.

Why this helps

  • Faster context verification when switching work.
  • Fewer wrong-session actions.
  • Better discoverability of /title and session naming workflows.

Potential acceptance criteria

  • Session title appears in status bar when available.
  • Hidden when display.statusbar.show_session_title is false.
  • Long titles truncate cleanly.
  • No regressions in status bar rendering/performance.

Related context

  • Existing request about status extensibility via plugin hook: #8642 (this request is user-facing built-in title display, not only plugin extensibility)

Prepared by Hermes operator session, 2026-04-24

extent analysis

TL;DR

Add a configuration toggle to display the active session title in the Hermes status bar, with optional max width and fallback behavior.

Guidance

  • Implement the suggested configuration options: display.statusbar.show_session_title and display.statusbar.session_title_max_len to control the display of the session title.
  • Update the status bar rendering logic to include the session title, truncating it if necessary, and handle untitled or unavailable titles according to the proposed fallback behavior.
  • Ensure consistent behavior in both CLI and TUI status bar implementations to maintain parity.
  • Test the implementation against the provided potential acceptance criteria to verify correct functionality.

Example

No code snippet is provided as the issue does not contain sufficient technical details to generate a specific example.

Notes

The implementation should consider the related context of existing requests for status extensibility via plugin hooks, but focus on the user-facing built-in title display as requested.

Recommendation

Apply the proposed implementation with the configuration toggle and optional max width to provide a user-friendly solution for displaying the active session title in the Hermes status bar.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - ✅(Solved) Fix Show current session title in status bar (CLI/TUI) [1 pull requests, 1 comments, 2 participants]