fix: complete hermes-agent 0.16.0 pin update

This commit is contained in:
hermes 2026-06-08 06:41:46 +00:00
commit 35817ccbf4
3 changed files with 14 additions and 6 deletions

View file

@ -17,7 +17,7 @@
echo "=== Checking key Python modules ==="
SITE=${hermes-agent}/lib/python3.12/site-packages
for mod in agent cli.py gateway cron tools run_agent.py model_tools.py acp_adapter honcho_integration; do
for mod in agent cli.py gateway cron tools run_agent.py model_tools.py acp_adapter; do
if [ ! -e "$SITE/$mod" ] && [ ! -e "$SITE/$mod.py" ]; then
echo "FAIL: Missing module $mod"
exit 1
@ -94,7 +94,9 @@
export HOME=$(mktemp -d)
echo "=== Running hermes doctor ==="
${hermes-agent}/bin/hermes doctor 2>&1 | grep -q "Python" || (echo "FAIL: doctor"; exit 1)
output=$(${hermes-agent}/bin/hermes doctor 2>&1 || true)
printf '%s\n' "$output"
printf '%s\n' "$output" | grep -q "Python" || (echo "FAIL: doctor"; exit 1)
echo "PASS: Doctor runs successfully"
mkdir -p $out

View file

@ -9,9 +9,9 @@
ripgrep,
ffmpeg,
git,
pinVersion ? "0.4.0",
pinRev ? "8416bc2142ad7494b3d72b055cd5a86a80472fe4",
pinHash ? "sha256-dKilXoJbu5thhCRpDYKTX9fAOq1JTqdBvuf9Ji1iY64=",
pinVersion ? "0.16.0",
pinRev ? "3c231eb3979ab9c57d5cd6d02f1d577a3b718b43",
pinHash ? "sha256-ngpkopVczNrT0bfCXHm38QjgrZT96Bm/rO89NA/ls3Y=",
}:
let
@ -173,6 +173,7 @@ pythonPackages.buildPythonApplication {
# litellm is compromised — strip it from wheel metadata so pythonRuntimeDepsCheck passes
pythonRemoveDeps = [ "litellm" ];
pythonRelaxDeps = true;
dependencies = with pythonPackages; [
# Core
@ -184,10 +185,15 @@ pythonPackages.buildPythonApplication {
rich
tenacity
pyyaml
ruamel-yaml
requests
jinja2
markdown
pydantic
prompt-toolkit
psutil
pathspec
fastapi
# Tools
firecrawl-py
fal-client

View file

@ -69,7 +69,7 @@ fi
if [[ -z "$tag_sha" ]]; then
# Last resort: ls-remote
tag_sha=$(git ls-remote https://github.com/NousResearch/hermes-agent.git "refs/tags/${release_tag}" | awk '{print $1}' || true)
tag_sha=$(git ls-remote https://github.com/NousResearch/hermes-agent.git "refs/tags/${release_tag}^{}" | awk '{print $1}' || true)
fi
if [[ -z "$tag_sha" ]]; then