Linux execve limits arguments to 128KB, causing Paperclip to fail with spawn E2BIG on large prompts. Adds runtime patch to write prompt to /tmp/hermes-prompt-*.txt and pass via Hermes native --query-file flag, while cleaning up file after execution and filtering oversized env vars.
Fixes Invalid timeout argument httpx.Timeout vs httpx2 error by removing httpx2 and installing anthropic==0.87.0, which matches the official Hermes Agent SDK requirements.
Sets Hermes default model provider to MiniMax (MiniMax-M3) using MINIMAX_API_KEY from shared.env. Updates PaperClip OpenCode providers with MiniMax baseURL and additional models (MiniMax-M3, MiniMax-Text-01).
Fixes Hermes CLI not found in PATH by installing hermes-agent inside paperclip_app container. Symlinks hermes executable to PATH, mounts persistent volumes for venv and hermes-data, configures shared API keys, and integrates setup script into deployment.
- NEW: services/hermes/service.init — wartet auf Hermes-API, konfiguriert
Provider aus shared.env (OpenRouter bevorzugt), gibt Dashboard-URL aus
- NEW: services/paperclip/service.init — extrahiert PaperClip-Setup aus
main() in eigenständiges Skript (Patch, Onboarding, Bootstrap-URL)
- NEW: run_service_inits() in deploy_script.sh — ruft automatisch alle
service.init-Skripte nach dem Start auf
- CLEANUP: main() in deploy_script.sh ist jetzt schlank und generisch
- New service in services/hermes/ with docker-compose.yml
- Uses nousresearch/hermes-agent:latest on paperclip-net
- Hermes reachable internally at http://hermes:8642 (API) and :9119 (dashboard)
- Public dashboard at hermes.orfel.de via Caddy
- .env.age encrypted with age for OPENROUTER_API_KEY
- README updated with Hermes architecture and PaperClip integration guide