phamdung2209
Claude Opus 4.7 (1M context)
init: Venus β Hermes Agent on HF Space (Discord-only)
a2dba92 Download entrypoint-wrapper.sh from SoloVenus/Venus: direct link, hf CLI and curl.
- Browser
- Download file 1.37 kB
-
https://huggingface.co/spaces/SoloVenus/Venus/resolve/main/entrypoint-wrapper.sh
- Command line
-
hf download hf://spaces/SoloVenus/Venus/entrypoint-wrapper.sh
-
curl -L -o entrypoint-wrapper.sh https://huggingface.co/spaces/SoloVenus/Venus/resolve/main/entrypoint-wrapper.sh
1.37 kB
| # ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| # Venus entrypoint wrapper β runs AS ROOT. | |
| # | |
| # Base image (hermes-agent) migrated from tini β s6-overlay. | |
| # We keep tini as PID 1 (simpler on HF Spaces) and skip the | |
| # deprecated /opt/hermes/docker/entrypoint.sh. start.sh handles | |
| # all Hermes setup; hermes exec-shim auto-drops to hermes user. | |
| # ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| set -e | |
| # ββ 1. AdGuard DNS ββ | |
| if ! grep -q '94.140.14.14' /etc/resolv.conf 2>/dev/null; then | |
| printf 'nameserver 94.140.14.14\nnameserver 94.140.15.15\n' > /etc/resolv.conf 2>/dev/null || true | |
| fi | |
| # ββ 2. PATH: add s6-overlay /command + hermes binaries ββ | |
| export PATH="/command:/opt/hermes/bin:/opt/hermes/.venv/bin:/opt/data/.local/bin:${PATH}" | |
| export HF_HUB_DISABLE_TELEMETRY=1 | |
| # ββ 3. Ensure HERMES_HOME exists and hermes user can write ββ | |
| HERMES_HOME="${HERMES_HOME:-/opt/data}" | |
| mkdir -p "$HERMES_HOME" | |
| chown hermes:hermes "$HERMES_HOME" 2>/dev/null || true | |
| # ββ 4. Exec CMD (start.sh runs as root; hermes shim handles priv-drop) ββ | |
| exec "$@" | |