Skip to content

fix: keep CLI idle timer ticking - #45592

Merged
teknium1 merged 1 commit into
mainfrom
hermes/hermes-da2bf1e6
Jun 13, 2026
Merged

fix: keep CLI idle timer ticking#45592
teknium1 merged 1 commit into
mainfrom
hermes/hermes-da2bf1e6

Conversation

@teknium1

Copy link
Copy Markdown
Contributor

Summary

The classic CLI status bar now repaints once per second, so the post-turn ✓ Ns idle timer advances after the first render instead of sticking at ✓ 0s.

Changes

  • cli.py: set prompt_toolkit Application(refresh_interval=1.0) for wall-clock status read-outs.

Validation

  • scripts/run_tests.sh tests/cli/test_cli_status_bar.py — 44 passed
  • python3 -m py_compile cli.py

Infographic

Classic CLI Idle Timer Fix

@github-actions

github-actions Bot commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

🔎 Lint report: hermes/hermes-da2bf1e6 vs origin/main

ruff

Total: 0 on HEAD, 0 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 0 pre-existing issues carried over.

ty (type checker)

Total: 10892 on HEAD, 10892 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 5714 pre-existing issues carried over.

Diagnostics are surfaced as warnings — this check never fails the build.

@teknium1
teknium1 force-pushed the hermes/hermes-da2bf1e6 branch from 842c925 to a1b5a05 Compare June 13, 2026 12:35
@teknium1
teknium1 merged commit 6724daa into main Jun 13, 2026
28 checks passed
@teknium1
teknium1 deleted the hermes/hermes-da2bf1e6 branch June 13, 2026 12:55
AIalliAI pushed a commit to AIalliAI/Hermes that referenced this pull request Jun 14, 2026
T02200059 pushed a commit to T02200059/hermes-agent that referenced this pull request Jun 18, 2026
teknium1 added a commit that referenced this pull request Jun 19, 2026
#49087)

PR #49056 set the default to 0, which reverts the #45592 idle-clock fix:
without a periodic invalidate, prompt_toolkit stops repainting the bottom
chrome during idle and the status bar goes stale/disappears after a turn.

Restore 1.0 as the default for everyone. The config knob stays — users on
emulators where the per-second redraw fights auto-scroll (#48309) can set
display.cli_refresh_interval: 0 to opt out.
xyshanren pushed a commit to xyshanren/hermes-agent-cn that referenced this pull request Jun 25, 2026
xyshanren pushed a commit to xyshanren/hermes-agent-cn that referenced this pull request Jun 25, 2026
NousResearch#49087)

PR NousResearch#49056 set the default to 0, which reverts the NousResearch#45592 idle-clock fix:
without a periodic invalidate, prompt_toolkit stops repainting the bottom
chrome during idle and the status bar goes stale/disappears after a turn.

Restore 1.0 as the default for everyone. The config knob stays — users on
emulators where the per-second redraw fights auto-scroll (NousResearch#48309) can set
display.cli_refresh_interval: 0 to opt out.
waefrebeorn pushed a commit to waefrebeorn/slermes that referenced this pull request Jul 2, 2026
NousResearch#49087)

PR NousResearch#49056 set the default to 0, which reverts the NousResearch#45592 idle-clock fix:
without a periodic invalidate, prompt_toolkit stops repainting the bottom
chrome during idle and the status bar goes stale/disappears after a turn.

Restore 1.0 as the default for everyone. The config knob stays — users on
emulators where the per-second redraw fights auto-scroll (NousResearch#48309) can set
display.cli_refresh_interval: 0 to opt out.
habarmc1223-sudo pushed a commit to habarmc1223-sudo/hermes-agent-fluxmem that referenced this pull request Jul 8, 2026
habarmc1223-sudo pushed a commit to habarmc1223-sudo/hermes-agent-fluxmem that referenced this pull request Jul 8, 2026
NousResearch#49087)

PR NousResearch#49056 set the default to 0, which reverts the NousResearch#45592 idle-clock fix:
without a periodic invalidate, prompt_toolkit stops repainting the bottom
chrome during idle and the status bar goes stale/disappears after a turn.

Restore 1.0 as the default for everyone. The config knob stays — users on
emulators where the per-second redraw fights auto-scroll (NousResearch#48309) can set
display.cli_refresh_interval: 0 to opt out.
santhreal pushed a commit to santhreal/hermes-agent that referenced this pull request Jul 13, 2026
santhreal pushed a commit to santhreal/hermes-agent that referenced this pull request Jul 13, 2026
NousResearch#49087)

PR NousResearch#49056 set the default to 0, which reverts the NousResearch#45592 idle-clock fix:
without a periodic invalidate, prompt_toolkit stops repainting the bottom
chrome during idle and the status bar goes stale/disappears after a turn.

Restore 1.0 as the default for everyone. The config knob stays — users on
emulators where the per-second redraw fights auto-scroll (NousResearch#48309) can set
display.cli_refresh_interval: 0 to opt out.
donbowman pushed a commit to donbowman/hermes-agent that referenced this pull request Jul 13, 2026
Gravezzz pushed a commit to Gravezzz/hermes-agent that referenced this pull request Jul 21, 2026
Gravezzz pushed a commit to Gravezzz/hermes-agent that referenced this pull request Jul 21, 2026
NousResearch#49087)

PR NousResearch#49056 set the default to 0, which reverts the NousResearch#45592 idle-clock fix:
without a periodic invalidate, prompt_toolkit stops repainting the bottom
chrome during idle and the status bar goes stale/disappears after a turn.

Restore 1.0 as the default for everyone. The config knob stays — users on
emulators where the per-second redraw fights auto-scroll (NousResearch#48309) can set
display.cli_refresh_interval: 0 to opt out.
leewenjie pushed a commit to leewenjie/hermes-agent that referenced this pull request Aug 7, 2026
leewenjie pushed a commit to leewenjie/hermes-agent that referenced this pull request Aug 7, 2026
NousResearch#49087)

PR NousResearch#49056 set the default to 0, which reverts the NousResearch#45592 idle-clock fix:
without a periodic invalidate, prompt_toolkit stops repainting the bottom
chrome during idle and the status bar goes stale/disappears after a turn.

Restore 1.0 as the default for everyone. The config knob stays — users on
emulators where the per-second redraw fights auto-scroll (NousResearch#48309) can set
display.cli_refresh_interval: 0 to opt out.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant