NousResearch/hermes-agent

Guard optional prompt_toolkit imports in CLI code

Cluster 96075 · hermes cli. Data as of

Nothing open on GitHub. Fix merged in #128314 on 29 Sep 2026. Check it covers your case.

The short answer

0open issues
0open PRs
2items grouped
Known?
Yes. 2 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #128314. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #128314. That is separate from the fix event.
Still open
Nothing open on GitHub.

These items address unguarded prompt_toolkit imports in cli.py that cause hard failures when the package is absent or incomplete. The fixes add defensive import handling so dependent modules degrade gracefully instead of crashing.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #128314 fix(cli): degrade gracefully when prompt_toolkit.patch_stdout is missing

    merged to main

    files: cli.py, tests/hermes_cli/test_cli_import_without_patch_stdout.py

Other PRs1

Not open and not merged; GitHub state not recorded.

  • #96083 fix(cli): guard prompt_toolkit imports defensively in cli.py (#96075) · other → #96075
Closed issues · 1
  • Closed#96075cli.py imports prompt_toolkit unguarded; tui_gateway/slash_worker imports cli, so a CLI-only dep hard-fails desktop turns
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means 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 Lab

At a glance

Subsystem
hermes cli
Merged PRs
#128314
Closed issues
1
Attempts
0 PRs closed without merging
Fix link checked
29 Sep 2026

For your agent

The same facts, typed.