mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
Bug fixes: - hermes-agent.nix: fold makeWrapper line continuations into the optionalStrings. When rev == null (dirty trees), the empty expansion left a dangling backslash that ended the command early and ran `--suffix PYTHONPATH ...` as its own shell command (exit 127). Clean trees passed CI; dirty trees with extraPythonPackages failed. - nixosModules.nix: delete duplicated extraPlugins assertions block. - nixosModules.nix: stop setting deprecated MESSAGING_CWD (which made the module trigger hermes' own startup deprecation warning); inject terminal.cwd into the generated config instead. cfg.settings wins via recursiveUpdate; container mode maps to the in-container path. Rebuild scope: - lib.nix: exclude flake.nix, flake.lock, root docs (AGENTS.md etc), and skills/ + optional-skills/ from pythonSrc — SKILL.md edits and flake tweaks no longer rebuild the Python venv. Skills ship solely via HERMES_BUNDLED_SKILLS / HERMES_OPTIONAL_SKILLS (same mechanism as Homebrew packaging). optional-mcps stays: pyproject lists its manifests as explicit data-files. - hermes-agent.nix: symlink skills/plugins/locales/web_dist/ui-tui into $out instead of cp -r — the wrapper drv is near-instant when only the venv changed. checks.nix uses find -L through symlinks and gains optional-skills assertions. Dev/release venv split: - python.nix: venvName param; hermes-agent.nix builds hermesDevVenv ([all] + [dev]: pytest, ruff, ty, debugpy) alongside the release venv. The devShell hook exports HERMES_PYTHON pointing at the dev venv only (and now always, not just on stamp hits), so nix develop never pulls the release venv. Local uv fallback installs [all,dev]. - run_tests.sh: fall back to $HERMES_PYTHON when no local venv exists. Cleanliness: - callHermesArgs.nix: shared callPackage args imported + spread by packages.nix and overlays.nix (one place to add flake inputs). - lib.nix: drop dead npmDepsSrc export; gate set -x behind DEBUG=1 in update-npm-lockfile / fix-lockfiles; comment why fix-lockfiles deliberately omits -e. - hermes-agent.nix: filter __pycache__ from bundled skills. Verified: nix flake check exit 0 (all 16 checks); built .#default, .#tui, .#web; devshell closure contains only hermes-agent-dev-env; run_tests.sh works via HERMES_PYTHON with no local venv. |
||
|---|---|---|
| .. | ||
| lib | ||
| tests | ||
| whatsapp-bridge | ||
| analyze_livetest.py | ||
| benchmark_browser_eval.py | ||
| build_model_catalog.py | ||
| build_skills_index.py | ||
| check-windows-footguns.py | ||
| contributor_audit.py | ||
| discord-voice-doctor.py | ||
| docker_config_migrate.py | ||
| hermes-gateway | ||
| install.cmd | ||
| install.ps1 | ||
| install.sh | ||
| install_psutil_android.py | ||
| keystroke_diagnostic.py | ||
| kill_modal.sh | ||
| lint_diff.py | ||
| LIVETEST_README.md | ||
| profile-tui.py | ||
| release.py | ||
| run_tests.sh | ||
| run_tests_parallel.py | ||
| sample_and_compress.py | ||
| setup_open_webui.sh | ||
| tool_search_livetest.py | ||