Skip to content

[Bug]: When using the Hermes Agent in WSL, running the /clear command will cause the program to freeze. #23567

Closed as not planned

Description

@Kingvictory

Bug Description

When using the Hermes Agent in WSL, running the /clear command will cause the program to freeze.

Steps to Reproduce

1.Run"hermes" in wsl
2.Send the message"/clear"
3.The program freezes, and nothing can be typed in the command line.

Expected Behavior

After entering the /clear command normally, you should be able to type 1, 2, or 3 in the command line to make a selection.

Actual Behavior

The program freezes, and nothing can be typed in the command line.

Affected Component

CLI (interactive chat)

Messaging Platform (if gateway-related)

No response

Debug Report

Report     https://paste.rs/lTUq4
 agent.log  https://dpaste.com/CEJDPQD57

Operating System

Ubuntu 24.04

Python Version

3.12.3

Hermes Version

v0.13.0

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Activity

  1. added
    type/bugSomething isn't working
    P2Medium — degraded but workaround exists
    comp/cliCLI entry point, hermes_cli/, setup wizard
    on May 11, 2026
  2. WangRoy-gh commented on May 11, 2026

    @WangRoy-gh

    Issue confirmed. Current workaround would be using "hermes --tui"

  3. alt-glitch commented on May 11, 2026

    @alt-glitch

    Related to #23155 — /clear confirmation dialog freezes in TUI mode due to _prompt_text_input racing with prompt_toolkit stdin. Merged PR #23454 (drive _prompt_text_input directly when off main thread) should address this. See also fix PRs #23173, #23571.

  4. teknium1 commented on Jun 11, 2026

    @teknium1
    Collaborator

    This appears to be fixed on current main. This is an automated hermes-sweeper review.

    Evidence:

    The relevant fix is contained in release tag v2026.5.16.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium — degraded but workaround existscomp/cliCLI entry point, hermes_cli/, setup wizardduplicateThis issue or pull request already existssweeper:implemented-on-mainSweeper: behavior already present on current maintype/bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions