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:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user