feat: add 7zz for CHM documentation extraction with scraping + Himalaya install pattern #40

Closed
Hermes wants to merge 2 commits from feat/hermes-chromium-packages into master
2 changed files with 110 additions and 77 deletions
Showing only changes of commit 772da2e050 - Show all commits

20
ai/hermes/entrypoint.sh Normal file
View File

@@ -0,0 +1,20 @@
#!/bin/bash
set -e
# Hermes Agent entrypoint script
# Installs custom tools and runtime dependencies,
# then delegates to the passed command (usually "gateway run").
# Install custom tools from persistent volume if available
if [ -f /opt/data/hermes-tools/install.sh ]; then
bash /opt/data/hermes-tools/install.sh
fi
# Install additional runtime deps (idempotent)
if command -v uv &>/dev/null; then
uv pip install --system --no-cache-dir --quiet \
openai mautrix[encryption] 2>/dev/null || true
fi
# Execute the passed command with tini for proper signal handling
exec tini -g -- "$@"