Spaces:
Paused
Paused
Commit History
-
chore(sync): replace deprecated HF_HUB_ENABLE_HF_TRANSFER with HF_XET_HIGH_PERFORMANCE
Farhan Beghuggingface_hub 0.30+ deprecated the legacy hf_transfer flag and emits a FutureWarning at import time when it's set. Switch to the new Xet flag so the warning stops appearing in Space logs and we actually get the high-performance transfer on current hub versions.d434dcb -
feat(sync): warn when keys live in ephemeral .env on a Space
Farhan BegThe Hermes dashboard's Env tab writes to $HERMES_HOME/.env which is intentionally excluded from backup. On HF Spaces the filesystem is ephemeral, so anything saved there silently disappears on the next restart and the gateway 500s with 'Provider X is set in config.yaml but no API key was found'. * hermes-sync.py: env_warning_payload() detects populated .env on a Space when SYNC_INCLUDE_ENV is off, surfaces it via write_status() so every status snapshot carries a structured warning, and prints once at loop start so it's grep-able in Space logs. * health-server.js: Backup tile on the HuggingMes status page renders the warning as a yellow callout when present, and flips the tile tone to warn so it's visible at a glance. * README + .env.example: explicit guidance to put provider keys in HF Space Secrets, with SYNC_INCLUDE_ENV=1 documented as the opt-in weaker-security alternative. Also fixed stale '10 minute' backup copy left over from the fixed-interval era. False-positi…b047e12
-
perf(hermes-sync): change-driven backups (poll/debounce, 60s ceiling)
Farhan Beg* Replace fixed 600s sleep loop with a 2s stat-only watcher * Upload 3s after the watched tree settles instead of waiting for the next tick * Hard ceiling at SYNC_INTERVAL=60s so a constantly-busy session still snapshots * New tunables: SYNC_POLL_INTERVAL, SYNC_DEBOUNCE_SECONDS * Reduces worst-case data loss on restart from ~10 minutes to ~3 seconds23ba9c5
-
fix(logs): silence noisy WebUI access log polls + bound on-disk log size
F4bC0d3Three changes to keep the HF Logs tab readable and the HF Dataset backup from growing unbounded: 1. Patch hermes-webui's log_request() at image build time to drop 2xx responses for high-frequency poll paths (/api/dashboard/status, /api/health/agent, /api/sessions, /api/profiles, /api/models, /sw.js, /static/*, etc). 4xx and 5xx still log so debugging works. 2. Rotate \/logs/*.log at boot when any file exceeds 5MB (rename to .log.1, start fresh). Bounds the disk footprint. 3. Extend hermes-sync.py exclusions to skip *.log, *.log.1, *.log.2, *.pid, *.tmp suffixes - and treat 'logs/' as a fully-excluded dir not just a top-level skip. Backup dataset stays clean.aadc662 -
Initial release: HuggingMes + Hermes WebUI integration
F4bC0d35f92103