Problem or Use Case
Hi! I’d like to request a small CLI UI enhancement.
Proposal
Add the number of context compressions/compactions performed in the current session to the CLI status bar.
Why this would help
When working in long sessions, context compression is an important runtime signal. Exposing it in the status bar would make it much easier to understand:
- how many times the session has already been compacted
- whether the agent is operating in a “heavily compressed” conversation
- how much trust to place in very old conversational context
- when it may be better to start a fresh session
Proposed Solution
Suggested display
Something like this in the existing status bar:
⚕ glm-5 │ 78.3K/204.8K │ 🔟 [████░░░░░░] 38% │ 20m │ ⏱ 16s
Where:
- the extra number/icon indicates the count of context compressions in the current session
- for example, “10” means the session has been compacted 10 times
Implementation note
As far as I understand, Hermes already tracks compression state internally, so this may mainly be a matter of exposing that counter in the CLI status bar render path.
Scope
This request is only for the CLI status bar, not gateway or other UIs.
Optional idea
It could also be nice to make the indicator visually stronger after several compressions, for example:
- normal color for low counts
- warning color after a threshold
Thanks — I think this would be a very useful quality-of-life improvement for long-running CLI sessions.
Alternatives Considered
No response
Feature Type
CLI improvement
Scope
Small (single file, < 50 lines)
Contribution
Debug Report (optional)
Problem or Use Case
Proposed Solution
Alternatives Considered
No response
Feature Type
CLI improvement
Scope
Small (single file, < 50 lines)
Contribution
Debug Report (optional)