From b6d36ba113101595d852fb3d2532c85ee83a6095 Mon Sep 17 00:00:00 2001 From: Nic O'Connor Date: Sat, 19 Sep 2026 13:46:09 -0400 Subject: [PATCH] hermes: put ~/.local/bin on PATH so the post-install check finds the CLI Under the Coder agent (no managed zshrc in the parent) a successful install still failed with "hermes CLI not found after install". Co-Authored-By: Claude Opus 5 (1M context) --- hermes/install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hermes/install.sh b/hermes/install.sh index 7b74e5f..953b4a9 100755 --- a/hermes/install.sh +++ b/hermes/install.sh @@ -26,6 +26,12 @@ REPO_ROOT="$(dirname -- "$SCRIPT_DIR")" say() { printf '%s\n' "$*" >&2; } +# The installer links the CLI into ~/.local/bin, which is only on PATH in +# shells that sourced the managed ~/.zshrc. bootstrap run by a non-shell +# parent (the Coder agent's dotfiles script) has no such PATH, so the +# post-install `command -v hermes` failed on a successful install. +PATH="$HOME/.local/bin:$PATH" + # Hermes Agent version (synced with PyPI/npm). HERMES_VERSION="v0.18.2"