feat: JARVIS v3 Phase 1 — WebSocket relay vers Hermes A.L.E.X.A.
- Serveur WebSocket direct avec websockets 16.0 - Interface HTML/CSS/JS dark theme avec chat - Relay vers API Hermes sur port 8642 - Historique de conversation (20 messages) - Clé API via Infisical - Testé et fonctionnel sur openclaw1.dev.home:7081
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Launcher pour JARVIS v3 Phase 1 (direct WebSocket)."""
|
||||
import json, subprocess, os, sys
|
||||
|
||||
creds = json.load(open("/opt/infisical/admin-credentials.json"))
|
||||
r = subprocess.run(
|
||||
["/home/openclaw/.local/bin/infisical", "secrets", "get",
|
||||
"API_SERVER_KEY", "--domain", "https://secret.dracodev.net",
|
||||
"--projectId", "192c1eed-6666-41ee-80df-a4636a2da0ad",
|
||||
"--env", "prod", "--path", "/hermes-claw", "--plain",
|
||||
"--token", creds["token"]],
|
||||
capture_output=True, text=True, timeout=20,
|
||||
)
|
||||
hermes_key = r.stdout.strip()
|
||||
if not hermes_key:
|
||||
print(f"ERROR: {r.stderr}", file=sys.stderr); sys.exit(1)
|
||||
|
||||
os.chdir("/home/openclaw/workspace/jarvis-pipecat")
|
||||
os.environ["HERMES_API_KEY"] = hermes_key
|
||||
os.execvp("./venv/bin/python", ["./venv/bin/python", "bot_direct.py"])
|
||||
Reference in New Issue
Block a user