mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-01 12:02:05 +00:00
complete.path and complete.slash ran inline on the tui_gateway stdin reader thread. complete.path spawns git ls-files and fuzzy-ranks the whole repo; complete.slash does first-call prompt_toolkit imports plus a skill-dir scan. While either ran, prompt.submit / session.interrupt sat unread in the stdin pipe, freezing the TUI until the 120s RPC timeout fired — most reliably reproduced by typing @ on a large repo / WSL2 mount. Add both to _LONG_HANDLERS so completion runs on the existing thread pool (write_json is already _stdout_lock-guarded). Root-cause fix: covers any slow completion, not just the bare-@ trigger. Fixes #21123 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_billing_rpc.py | ||
| test_compaction_status.py | ||
| test_custom_provider_session_persistence.py | ||
| test_entry_sys_path.py | ||
| test_finalize_session_persist.py | ||
| test_goal_command.py | ||
| test_make_agent_provider.py | ||
| test_moa_reference_emit.py | ||
| test_pet_generate_rpc.py | ||
| test_project_tree.py | ||
| test_projects_rpc.py | ||
| test_protocol.py | ||
| test_render.py | ||
| test_review_summary_callback.py | ||
| test_subagent_child_mirror.py | ||
| test_undo_command.py | ||
| test_wait_for_mcp_discovery.py | ||