diff --git a/desktop/scripts/check-file-sizes.mjs b/desktop/scripts/check-file-sizes.mjs index 3983fa591d..2ed82c57e5 100644 --- a/desktop/scripts/check-file-sizes.mjs +++ b/desktop/scripts/check-file-sizes.mjs @@ -352,7 +352,10 @@ const overrides = new Map([ // +19: codex-acp minimum-version gate — MIN_CODEX_ACP_VERSION plus the strict // three-component parse in probe_codex_acp_version, so an outdated 1.x adapter // is offered a reinstall instead of classifying as Available on major alone. - ["src-tauri/src/managed_agents/discovery.rs", 1860], + // +4 (1860 -> 1864): Hermes preset resolves via `hermes acp` with a comment + // explaining why the venv-only `hermes-acp` console script fails on a default + // install. Queued to split with the rest of this list. + ["src-tauri/src/managed_agents/discovery.rs", 1864], // BYOH — save_custom_harness_to_dir (backup-swap atomic write) + save_and_warm / // delete_and_warm (persist-mutex serialization for concurrent-safe registry // refresh, B-6). Also: id/collision/load/registry tests (from the file base) + diff --git a/desktop/src-tauri/src/managed_agents/discovery.rs b/desktop/src-tauri/src/managed_agents/discovery.rs index eecbf4de3e..5bd68d260a 100644 --- a/desktop/src-tauri/src/managed_agents/discovery.rs +++ b/desktop/src-tauri/src/managed_agents/discovery.rs @@ -1595,10 +1595,14 @@ 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 {