Repository navigation
Description
Bug Description
When attempting to use the slash commands /new, /clear, or /reset, the terminal interface completely freezes.
Upon pressing Enter, the cursor stops blinking, and the input field hangs, making it impossible to type anything. Standard interrupt shortcuts like Ctrl + C do not cancel the operation or return control to the user. The only way to recover is to completely close the terminal window and restart the program.
This bug happens regardless of the chat history: it occurs whether you have sent multiple messages, just one message, or if you run the command immediately upon launching the application without sending any text at all.
Steps to Reproduce
- Start hermes-agent.
- Type and execute /clear (or /new / /reset). Note: This happens both immediately on a fresh launch or after any number of exchanged messages — history size does not affect the outcome.
- Notice that the command line freezes: the cursor stops blinking, and you can no longer type anything.
- Try pressing Ctrl + C to interrupt — notice it has no effect.
Expected Behavior
The command should execute successfully (clearing the screen or resetting the session ID and history) and immediately return an active, usable prompt with a blinking cursor, without requiring a hard restart of the console.
Actual Behavior
The application completely locks up. The cursor stops blinking, typing becomes completely disabled, and Ctrl + C fails to break or interrupt the process. The user is forced to kill the terminal session and launch the agent again from scratch.
Affected Component
CLI (interactive chat)
Messaging Platform (if gateway-related)
N/A (CLI only)
Debug Report
Report https://paste.rs/cBHbT
agent.log https://paste.rs/Ohf0t
gateway.log https://paste.rs/voudqOperating System
Windows 11
Python Version
3.11.15
Hermes Version
v0.14.0 (2026.5.16)
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
alt-glitch commentedon May 28, 2026
Duplicate of #32207 (which is itself a duplicate of #23567). Same /clear /new /reset slash command freeze on Windows — prompt_toolkit input channel deadlock. PR #33241 (merged) fixes #32383 (the Linux/macOS variant); the Windows variant was fixed by merged #32013 + #31704. If this persists on current main, it may be a new regression.
daniij commentedon May 28, 2026
@alt-glitch Unlike previous issues that were reported using WSL, I am using the native Windows version via PowerShell.
daniij commentedon May 28, 2026
On Hermes Agent version v0.15.0 (2026.5.28), the /new now or /reset now commands work properly, but without now, the terminal still freezes
Kaabvoo commentedon May 30, 2026
I'm experiencing this too, I'm on:
windows version 10.0.26200 Build 26200
terminal version 1.24.11321.0
hermes version v0.15.1
zj-andyzhu commentedon Jun 1, 2026
experiences the same thing on WSL on windows env:
WSL 2.0
Hermes: Hermes Agent v0.14.0 (2026.5.16)
test(cli): failing regression test for native-Windows confirm deadlock (
fix(cli): use the confirm modal on native Windows instead of deadlock…
test(cli): convert stale win32 stdin-fallback tests to the modal cont…
test(cli): exercise real _prompt_text_input for native-Windows confir…
fix(cli): use the confirm modal on native Windows instead of deadlock…
50 remaining items
test(cli): exercise real _prompt_text_input for native-Windows confir…
test(cli): failing regression test for native-Windows confirm deadlock (
fix(cli): use the confirm modal on native Windows instead of deadlock…
test(cli): convert stale win32 stdin-fallback tests to the modal cont…
test(cli): exercise real _prompt_text_input for native-Windows confir…
test(cli): failing regression test for native-Windows confirm deadlock (
fix(cli): use the confirm modal on native Windows instead of deadlock…
test(cli): convert stale win32 stdin-fallback tests to the modal cont…
test(cli): exercise real _prompt_text_input for native-Windows confir…
test(cli): failing regression test for native-Windows confirm deadlock (
fix(cli): use the confirm modal on native Windows instead of deadlock…
test(cli): convert stale win32 stdin-fallback tests to the modal cont…
test(cli): exercise real _prompt_text_input for native-Windows confir…