cross-agent-teams-mcp 0.5.1 → 0.5.2

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/cli.js CHANGED
@@ -4196,14 +4196,10 @@ function mountMcp(app, db, fanout, channelWakeFanout, opts = {}) {
4196
4196
  return reply;
4197
4197
  });
4198
4198
  function reapOrphanSessions(now, graceMs = 6e4) {
4199
- for (const [sid, session] of sessions) {
4199
+ for (const session of sessions.values()) {
4200
4200
  if (session.agentIdHolder.current !== void 0) continue;
4201
4201
  const ageMs = now - session.createdAt;
4202
4202
  if (ageMs < graceMs) continue;
4203
- try {
4204
- log(`mcp orphan session reap: sid=${sid} age_s=${Math.round(ageMs / 1e3)}`);
4205
- } catch {
4206
- }
4207
4203
  try {
4208
4204
  void session.transport.close();
4209
4205
  } catch {