@mastra/inngest 1.10.4-alpha.4 → 1.10.4

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.
@@ -2501,6 +2501,10 @@ function createInngestDurableAgenticWorkflow(options) {
2501
2501
  from: ChunkFrom.AGENT,
2502
2502
  payload: tripwire
2503
2503
  });
2504
+ if (pubsub && !tripwire) for (const chunk of finishResult.structuredOutputChunks ?? []) await emitChunkEvent(pubsub, state.runId, {
2505
+ ...chunk,
2506
+ runId: state.runId
2507
+ });
2504
2508
  const finalOutput = {
2505
2509
  messageListState: finishResult.messageListState,
2506
2510
  messageId: state.messageId,
@@ -4089,4 +4093,4 @@ function init(inngest) {
4089
4093
  //#endregion
4090
4094
  export { createServe as a, isInngestAgent as c, InngestRun as d, InngestPubSub as f, connect as i, createInngestDurableAgenticWorkflow as l, InngestExecutionEngine as m, init as n, serve$1 as o, OVERSIZED_EVENT_CHUNK_TYPE as p, _compatibilityCheck as r, createInngestAgent as s, createStep as t, InngestWorkflow as u };
4091
4095
 
4092
- //# sourceMappingURL=src-DOd90UdQ.js.map
4096
+ //# sourceMappingURL=src-DnmHlGpc.js.map