@mastra/deployer 1.37.1 → 1.37.2-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.
@@ -3092,7 +3092,7 @@ var MastraServer = class extends MastraServer$1 {
3092
3092
  return stream(
3093
3093
  res,
3094
3094
  async (stream2) => {
3095
- if (streamFormat === "sse") {
3095
+ if (streamFormat === "sse" && route.sseFlushOnConnect) {
3096
3096
  await stream2.write(": connected\n\n");
3097
3097
  }
3098
3098
  const readableStream = result instanceof ReadableStream ? result : result.fullStream;