Strip OSC-8 hyperlink sequences from CLI console output

NousResearch/hermes-agent · cluster 25939 · hermes cli

Data as of

Nothing open on GitHub. Fix merged in #42252. Check it covers your case.

The short answer

0open issues
0open PRs
6items grouped
Known?
Yes. 6 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #42252. 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
Nothing open on GitHub.

These issues and pull requests address OSC-8 hyperlink escape sequences appearing as visible garbage text in the CLI chat console, particularly in the welcome banner after commands like /clear, /reset, and /new. The work involves stripping these sequences from console output and related display fixes.

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.

  • #42252 fix(cli/gateway): salvage state.db dedup (#42039), tool_progress display (#33860), OSC-8 banner strip (#25939)

    merged to main

    files: agent/agent_init.py, agent/tool_executor.py, cli.py, gateway/run.py, hermes_cli/cli_agent_setup_mixin.py, run_agent.py, scripts/release.py, tests/gateway/test_42039_duplicate_user_message.py

4 PRs closed without merging

From the close comments: done elsewhere 1 · duplicate 1 · merged via another change 1 · superseded by another PR 1

  • #25948 fix(cli): strip OSC-8 hyperlinks from welcome banner on /clear /reset /new · superseded by another PR → #25940, #25939
  • #26052 fix: strip OSC-8 hyperlink sequences in ChatConsole · duplicate → #25940
  • #26256 fix(cli): strip OSC-8 links from chat banner redraw · done elsewhere → 4129092, #25939, #42252, #25940
  • #32249 fix(cli): strip OSC 8 hyperlink sequences in ChatConsole output · merged via another change → 4129092, #42252
Closed issues · 1
  • Closed#25939[Bug]: OSC-8 hyperlink garbage visible in welcome banner after /clear /reset /new
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.33: 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
#42252
Closed issues
1
Attempts
4 PRs closed without merging
Fix link checked
8 Jun 2026

For your agent

The same facts, typed.