mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
A Windows-installed cua-driver can return an absolute ``C:\Users\...\cua-driver.exe`` mcp_invocation.command to a Hermes process running inside WSL. POSIX spawning can't use the raw Windows string even though the binary is reachable through DrvFS. Translate ``<drive>:\...`` to ``/mnt/<drive>/...`` in _resolve_mcp_invocation (before the path-separator check, since backslash is not a separator on POSIX), only when actually running under WSL. Salvaged from #63532 by @motoblurr (original commit carried a placeholder 'Hermes Agent <hermes@local>' identity; re-authored). Fixes #63938 premise. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| backend.py | ||
| cua_backend.py | ||
| doctor.py | ||
| permissions.py | ||
| schema.py | ||
| tool.py | ||
| vision_routing.py | ||