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) <noreply@anthropic.com>
This commit is contained in:
2026-09-19 13:46:09 -04:00
co-authored by Claude Opus 5
parent c0f1fc21b7
commit b6d36ba113
+6
View File
@@ -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"