Skip to content

Bug: /reset and /new slash commands freeze on Windows — routes to interactive CLI menu #30768

@noahjiang1979

Description

@noahjiang1979

Bug Description

/reset and /new slash commands freeze on Windows. After pressing Enter, an interactive
menu ("select 1/2/3") appears instead of a clean session restart. The menu is frozen — no
keyboard input is accepted. User must kill PowerShell and relaunch.

Steps to Reproduce

  1. Start Hermes in PowerShell on Windows 11
  2. Type /reset or /new and press Enter
  3. Interactive menu appears — frozen, no input accepted
  4. Must close PowerShell and relaunch

Expected Behavior

Immediate clean session restart with new session ID, no menu.

Actual Behavior

Routes through hermes reset CLI interactive menu path. prompt_toolkit input channel
appears closed at this point, causing deadlock.

Environment

  • OS: Windows 11 / PowerShell / Windows Terminal
  • Model: deepseek-v4-flash via sensenova custom provider
  • Python: 3.12

Log Evidence

agent.log 2026-05-21 23:48:14 — user reported: "reset出了问题,回车以后停在选择123的界面,就卡着无法输入了"

Workaround

Close PowerShell and relaunch hermes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High — major feature broken, no workaroundcomp/cliCLI entry point, hermes_cli/, setup wizardtype/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions