cross-agent-teams-mcp 0.5.12 → 0.5.13
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 +2 -2
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
- package/src/daemon/server.ts +1 -1
- package/src/mcp/transport.ts +6 -4
package/dist/cli.js
CHANGED
|
@@ -3860,7 +3860,7 @@ function mountMcp(app, db, fanout, channelWakeFanout, opts = {}) {
|
|
|
3860
3860
|
await session.transport.handleRequest(req.raw, reply.raw);
|
|
3861
3861
|
return reply;
|
|
3862
3862
|
});
|
|
3863
|
-
function reapOrphanSessions(now, graceMs =
|
|
3863
|
+
function reapOrphanSessions(now, graceMs = 3e5) {
|
|
3864
3864
|
for (const session of sessions.values()) {
|
|
3865
3865
|
if (session.agentIdHolder.current !== void 0) continue;
|
|
3866
3866
|
const idleMs = now - session.lastActivityAt;
|
|
@@ -4051,7 +4051,7 @@ function bindHostCoversIpv4Loopback(host) {
|
|
|
4051
4051
|
// src/daemon/server.ts
|
|
4052
4052
|
var DEFAULT_KEEP_ALIVE_TIMEOUT_MS = 12e4;
|
|
4053
4053
|
var DEFAULT_ORPHAN_GC_INTERVAL_MS = 6e4;
|
|
4054
|
-
var DEFAULT_ORPHAN_GC_IDLE_MS =
|
|
4054
|
+
var DEFAULT_ORPHAN_GC_IDLE_MS = 3e5;
|
|
4055
4055
|
function parsePositiveInt(raw, fallback) {
|
|
4056
4056
|
const n = Number(raw);
|
|
4057
4057
|
return Number.isInteger(n) && n > 0 ? n : fallback;
|