diff --git a/lib/relay-agent-claims.js b/lib/relay-agent-claims.js index 9923227b..0c3d5944 100644 --- a/lib/relay-agent-claims.js +++ b/lib/relay-agent-claims.js @@ -44,6 +44,7 @@ var net = require("net"); var os = require("os"); var path = require("path"); var crypto = require("crypto"); +var config = require("./config"); var HEARTBEAT_INTERVAL_MS = 30 * 1000; // 30 seconds — relay TTL is 90s var SOCKET_CONNECT_TIMEOUT_MS = 2000; // 2s timeout for connectivity check @@ -189,6 +190,7 @@ function registerClaim(agentName, convId, sessionLabel) { conversation_id: convId, participant: agentName, claim_id: claimId, + daemon_sock_path: config.socketPath(), }; if (sessionLabel) body.session_label = sessionLabel;