agentschat-mcp 0.36.13 → 0.36.14

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.
package/dist/connector.js CHANGED
@@ -118,7 +118,7 @@ function matchesLiveLoop(msg, agentId, response) {
118
118
  const rows = response?.loops;
119
119
  if (!Array.isArray(rows))
120
120
  return false;
121
- const matches = rows.filter((row) => row?.loop_id === tick.loop_id);
121
+ const matches = rows.filter((row2) => row2?.loop_id === tick.loop_id);
122
122
  if (matches.length !== 1)
123
123
  return false;
124
124
  const row = matches[0];
@@ -194,7 +194,7 @@ class IdentityTable {
194
194
  }
195
195
  }
196
196
  function requireIdentity(identities, botId) {
197
- const id = identities.find((id) => id.botId === botId);
197
+ const id = identities.find((id2) => id2.botId === botId);
198
198
  if (!id)
199
199
  throw new Error(`unknown identity: ${botId}`);
200
200
  return id;
@@ -761,13 +761,13 @@ function parseIdentitiesJson(raw, source) {
761
761
  function loadIdentities() {
762
762
  const file = (process.env.RELAY_IDENTITIES_FILE || "").trim();
763
763
  if (file) {
764
- let raw;
764
+ let raw2;
765
765
  try {
766
- raw = readFileSync2(file, "utf8");
766
+ raw2 = readFileSync2(file, "utf8");
767
767
  } catch {
768
768
  throw new Error("RELAY_IDENTITIES_FILE could not be read");
769
769
  }
770
- return parseIdentitiesJson(raw, "RELAY_IDENTITIES_FILE");
770
+ return parseIdentitiesJson(raw2, "RELAY_IDENTITIES_FILE");
771
771
  }
772
772
  const raw = (process.env.RELAY_IDENTITIES || "").trim();
773
773
  if (raw) {