fix: add 0.21.0 deps (firecrawl-anydoc, snowballstemmer) and --version check

Upstream 0.21.0 added firecrawl-anydoc==0.2.4 (document-to-Markdown
converter) as a direct core dependency. It ships only Rust/maturin
artifacts, so package.nix consumes the prebuilt cp310-abi3 x86_64-linux
wheel (zero runtime deps per PyPI), mirroring the existing nemo-relay
wheel pattern.

Re-adds snowballstemmer==3.1.1 (tool_search BM25 stemming, required
since 0.20.6) which the candidate regeneration from main dropped, and
restores the 'hermes --version' form in the package-contents check (the
'hermes version' subcommand was removed upstream in 0.20.6).

Files: package.nix (add firecrawl-anydoc builder + both deps),
checks.nix (--version).
This commit is contained in:
hermes 2026-09-04 10:38:19 +00:00
commit 24a7df544e
2 changed files with 20 additions and 1 deletions

View file

@ -12,7 +12,7 @@
echo "PASS: All binaries present" echo "PASS: All binaries present"
echo "=== Checking version ===" echo "=== Checking version ==="
${hermes-agent}/bin/hermes version 2>&1 | grep -q "Hermes Agent" || (echo "FAIL: version check"; exit 1) ${hermes-agent}/bin/hermes --version 2>&1 | grep -q "Hermes Agent" || (echo "FAIL: version check"; exit 1)
echo "PASS: Version check" echo "PASS: Version check"
echo "=== Checking key Python modules ===" echo "=== Checking key Python modules ==="

View file

@ -156,6 +156,21 @@ let
pythonImportsCheck = [ "nemo_relay" ]; pythonImportsCheck = [ "nemo_relay" ];
}; };
firecrawl-anydoc = pythonPackages.buildPythonPackage rec {
pname = "firecrawl-anydoc";
version = "0.2.4";
# Upstream ships only Rust/maturin artifacts; the prebuilt abi3 wheel has
# no base runtime dependencies (PyPI requires_dist is empty). x86_64-linux
# wheel only — matches the system the flake's checks target.
format = "wheel";
src = fetchurl {
url = "https://files.pythonhosted.org/packages/fc/16/feeca9705bfdb237f1cb69ede0b373b144c0d51df4297e595a74b815557e/firecrawl_anydoc-0.2.4-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl";
hash = "sha256-DlrtAb9tTlxYjTNjiIKT8s7rn+sARJoy4LqZN5fPC9M=";
};
doCheck = false;
pythonImportsCheck = [ "anydoc" ];
};
agent-client-protocol = pythonPackages.buildPythonPackage rec { agent-client-protocol = pythonPackages.buildPythonPackage rec {
pname = "agent-client-protocol"; pname = "agent-client-protocol";
version = "0.8.1"; version = "0.8.1";
@ -223,6 +238,10 @@ pythonPackages.buildPythonApplication {
firecrawl-py firecrawl-py
fal-client fal-client
parallel-web parallel-web
# Document conversion (upstream >=0.21.0, firecrawl-anydoc==0.2.4)
firecrawl-anydoc
# tool_search BM25 stemming (upstream >=0.20.6, snowballstemmer==3.1.1)
snowballstemmer
# TTS # TTS
edge-tts edge-tts
faster-whisper faster-whisper