@mastra/mcp 0.10.11 → 0.10.12-alpha.1

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/index.js CHANGED
@@ -2351,10 +2351,10 @@ Provided arguments: ${JSON.stringify(request.params.arguments, null, 2)}`
2351
2351
  await this.server.close();
2352
2352
  };
2353
2353
  while (true) {
2354
+ await stream2.sleep(6e4);
2354
2355
  const sessionIds = Array.from(this.sseHonoTransports.keys() || []);
2355
2356
  this.logger.debug("Active Hono SSE sessions:", { sessionIds });
2356
2357
  await stream2.write(":keep-alive\n\n");
2357
- await stream2.sleep(6e4);
2358
2358
  }
2359
2359
  } catch (e) {
2360
2360
  const mastraError = new MastraError(