agent-relay-server 0.10.9 → 0.10.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/routes.ts +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-relay-server",
3
- "version": "0.10.9",
3
+ "version": "0.10.10",
4
4
  "description": "Lightweight HTTP message relay for inter-agent communication across machines",
5
5
  "module": "src/index.ts",
6
6
  "type": "module",
package/src/routes.ts CHANGED
@@ -1384,11 +1384,12 @@ const postOrchestrator: Handler = async (req) => {
1384
1384
  }
1385
1385
  }
1386
1386
  const envKeys = cleanStringArray(parsed.body.envKeys, "envKeys");
1387
+ const apiUrl = cleanString(parsed.body.apiUrl, "apiUrl", { max: 500 });
1387
1388
  const version = cleanString(parsed.body.version, "version", { max: 80 });
1388
1389
  const gitSha = cleanString(parsed.body.gitSha, "gitSha", { max: 80 });
1389
1390
  const protocolVersion = cleanProtocolVersion(parsed.body.protocolVersion);
1390
1391
  const meta = cleanMeta(parsed.body.meta);
1391
- const orch = upsertOrchestrator({ id, hostname, providers: providers ?? ["claude", "codex"], baseDir, envKeys, version, protocolVersion, gitSha, meta });
1392
+ const orch = upsertOrchestrator({ id, hostname, providers: providers ?? ["claude", "codex"], baseDir, apiUrl, envKeys, version, protocolVersion, gitSha, meta });
1392
1393
  auditEvent({
1393
1394
  clientId: "server-orchestrator-register-" + id + "-" + Date.now(),
1394
1395
  kind: "state",