From 92d61510fb41e109a45525666738ca234b8e7da9 Mon Sep 17 00:00:00 2001 From: SHL0MS Date: Wed, 12 Aug 2026 13:48:16 -0400 Subject: [PATCH] fix(desktop): resolve the Hermes preset by a command that is on PATH The hermes preset spawned `hermes-acp`, a console script that exists only inside the Hermes install's own venv. That directory is not on the login-shell PATH, so resolve_command() found nothing and the runtime was marked unavailable. An unavailable preset with no auto-installer fails isYourHarnessEntry(), so no row rendered under "Your runtimes". Hermes still appeared under "Add runtimes", which made this look like a detection failure rather than a missing install. Use `hermes acp` instead. `hermes` is the launcher the Hermes installer writes to ~/.local/bin, which is both on the login-shell PATH and in common_binary_paths(). Both invocations reach the same ACP server, and this spelling works on Hermes installs that predate its own fix. Matches the sibling openclaw entry, which is already command + ["acp"]. Signed-off-by: SHL0MS --- .../src-tauri/src/managed_agents/discovery/presets.rs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/desktop/src-tauri/src/managed_agents/discovery/presets.rs b/desktop/src-tauri/src/managed_agents/discovery/presets.rs index d86e5f33f05..d1ece925ca9 100644 --- a/desktop/src-tauri/src/managed_agents/discovery/presets.rs +++ b/desktop/src-tauri/src/managed_agents/discovery/presets.rs @@ -156,10 +156,14 @@ pub(super) const PRESET_HARNESSES: &[PresetHarness] = &[ PresetHarness { id: "hermes", label: "Hermes Agent", - command: "hermes-acp", - args: &[], + // `hermes` is the launcher the Hermes installer writes to ~/.local/bin, + // which is on the login-shell PATH. The `hermes-acp` console script + // exists only inside Hermes' own venv, which is not, so resolving by + // that name fails on a default install. + command: "hermes", + args: &["acp"], install_instructions_url: "https://hermes-agent.nousresearch.com", - install_hint: "Buzz talks to Hermes Agent through its hermes-acp command.", + install_hint: "Buzz talks to Hermes Agent through its ACP mode (hermes acp).", underlying_cli: None, }, PresetHarness {