mirror of
https://github.com/0xrsydn/nix-hermes-agent.git
synced 2026-08-07 00:53:52 +00:00
fix: handle upstream rename of minisweagent_path.py → mini_swe_runner.py
Upstream removed minisweagent_path.py in favor of mini_swe_runner.py, breaking the nightly-package-contents check. Accept either module name in checks and ensure both are patched into pyproject.toml py-modules. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
f6ae751bff
commit
4f787c78f3
2 changed files with 13 additions and 3 deletions
|
|
@ -17,12 +17,17 @@
|
|||
|
||||
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 minisweagent_path.py acp_adapter honcho_integration; do
|
||||
for mod in agent cli.py gateway cron tools run_agent.py model_tools.py acp_adapter honcho_integration; do
|
||||
if [ ! -e "$SITE/$mod" ] && [ ! -e "$SITE/$mod.py" ]; then
|
||||
echo "FAIL: Missing module $mod"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
# mini-swe: upstream renamed minisweagent_path.py → mini_swe_runner.py
|
||||
if [ ! -e "$SITE/minisweagent_path.py" ] && [ ! -e "$SITE/mini_swe_runner.py" ]; then
|
||||
echo "FAIL: Missing module minisweagent_path.py or mini_swe_runner.py"
|
||||
exit 1
|
||||
fi
|
||||
echo "PASS: All key modules present"
|
||||
|
||||
echo "=== Checking wrapped PATH includes runtime deps ==="
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue