NousResearch/hermes-agent
Windows piped-stdout crash fixes and Kanban worker patches
Cluster 22445 · hermes cli. Data as of
1 open item. Fix merged in #28330 on 19 May 2026. Check it covers your case.
The short answer
0open issues
1open PR
8items grouped
- Known?
- Yes. 8 related items grouped here, 3 issues already closed.
- Fix event
- A fix was merged to main in PR #28330. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
unresolved. That is separate from the fix event. - Still open
- 0 issues and 1 PR.
Most members address a Windows-specific crash where prompt_toolkit raises NoConsoleScreenBufferError when stdout is redirected, with fixes falling back to plain print. A smaller cluster covers Kanban worker configuration and lane-dispatch behavior.
Open issues0
Open PRs1
- PR#65811fix(cli): degrade _cprint to plain output when stdout has no console (fixes #65558)
Fixes on record
-
#28330 fix(windows): handle redirected stdout in _cprint fallback (#28083)
files:
cli.pyShow the diff
-
cli.py@@ -1785,7 +1785,16 @@ def _cprint(text: str): # direct prompt_toolkit print is safe and matches existing behavior # (spinner frames, streamed tokens, tool activity prefixes, …). if app is None or not getattr(app, "_is_running", False): - _pt_print(_PT_ANSI(text)) + try: + _pt_print(_PT_ANSI(text)) + except Exception: + # Fallback when stdout is not a real console (e.g. subprocess + # worker logging to a file). prompt_toolkit raises + # NoConsoleScreenBufferError (Windows) or OSError (other). + try: + print(text) + except Exception: + pass return try:
-
3 PRs closed without merging
From the close comments: done elsewhere 1 · merged via another change 1 · stale or abandoned 1
-
#22482 fix(cli): fall back to plain print when prompt_toolkit has no Win32 console · merged via another change →
#28330 - #25556 fix(cli): handle NoConsoleScreenBufferError in _cprint on Windows · done elsewhere
- #65850 fix(cli): plain-print fallback when stdout has no console — Windows piped/automated use (#65558) · stale or abandoned
Closed issues · 3
How this cluster was grouped
-
Link evidence (
partly structural links): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text. - Members outside that structural core may belong to a different underlying problem.
-
Pairwise link density
0.20: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Subsystem
- hermes cli
- Merged PRs
- #28330
- Closed issues
- 3
- Attempts
- 3 PRs closed without merging
- Fix link checked
- 19 May 2026