@mastra/react 0.0.0-fix-deploy-cmd-20260410174122 → 0.0.0-graysonhicks-oom-stream-debug-20260416124609

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/CHANGELOG.md CHANGED
@@ -1,12 +1,52 @@
1
1
  # @mastra/react
2
2
 
3
- ## 0.0.0-fix-deploy-cmd-20260410174122
3
+ ## 0.0.0-graysonhicks-oom-stream-debug-20260416124609
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - Updated dependencies [[`87df955`](https://github.com/mastra-ai/mastra/commit/87df955c028660c075873fd5d74af28233ce32eb), [`8fad147`](https://github.com/mastra-ai/mastra/commit/8fad14759804179c8e080ce4d9dec6ef1a808b31), [`582644c`](https://github.com/mastra-ai/mastra/commit/582644c4a87f83b4f245a84d72b9e8590585012e), [`5d84914`](https://github.com/mastra-ai/mastra/commit/5d84914e0e520c642a40329b210b413fcd139898), [`fd2f314`](https://github.com/mastra-ai/mastra/commit/fd2f31473d3449b6b97e837ef8641264377f41a7), [`e80fead`](https://github.com/mastra-ai/mastra/commit/e80fead1412cc0d1b2f7d6a1ce5017d9e0098ff7), [`0287b64`](https://github.com/mastra-ai/mastra/commit/0287b644a5c3272755cf3112e71338106664103b), [`075e91a`](https://github.com/mastra-ai/mastra/commit/075e91a4549baf46ad7a42a6a8ac8dfa78cc09e6)]:
8
- - @mastra/core@0.0.0-fix-deploy-cmd-20260410174122
9
- - @mastra/client-js@0.0.0-fix-deploy-cmd-20260410174122
7
+ - Updated dependencies [[`d63ffdb`](https://github.com/mastra-ai/mastra/commit/d63ffdbb2c11e76fe5ea45faab44bc15460f010c), [`7020c06`](https://github.com/mastra-ai/mastra/commit/7020c0690b199d9da337f0e805f16948e557922e), [`d63ffdb`](https://github.com/mastra-ai/mastra/commit/d63ffdbb2c11e76fe5ea45faab44bc15460f010c)]:
8
+ - @mastra/client-js@0.0.0-graysonhicks-oom-stream-debug-20260416124609
9
+ - @mastra/core@0.0.0-graysonhicks-oom-stream-debug-20260416124609
10
+
11
+ ## 0.2.27-alpha.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [[`7020c06`](https://github.com/mastra-ai/mastra/commit/7020c0690b199d9da337f0e805f16948e557922e)]:
16
+ - @mastra/core@1.25.1-alpha.1
17
+ - @mastra/client-js@1.13.5-alpha.1
18
+
19
+ ## 0.2.27-alpha.0
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies [[`d63ffdb`](https://github.com/mastra-ai/mastra/commit/d63ffdbb2c11e76fe5ea45faab44bc15460f010c), [`d63ffdb`](https://github.com/mastra-ai/mastra/commit/d63ffdbb2c11e76fe5ea45faab44bc15460f010c)]:
24
+ - @mastra/client-js@1.13.5-alpha.0
25
+ - @mastra/core@1.25.1-alpha.0
26
+
27
+ ## 0.2.26
28
+
29
+ ### Patch Changes
30
+
31
+ - Updated dependencies [[`87df955`](https://github.com/mastra-ai/mastra/commit/87df955c028660c075873fd5d74af28233ce32eb), [`8fad147`](https://github.com/mastra-ai/mastra/commit/8fad14759804179c8e080ce4d9dec6ef1a808b31), [`582644c`](https://github.com/mastra-ai/mastra/commit/582644c4a87f83b4f245a84d72b9e8590585012e), [`cbdf3e1`](https://github.com/mastra-ai/mastra/commit/cbdf3e12b3d0c30a6e5347be658e2009648c130a), [`8fe46d3`](https://github.com/mastra-ai/mastra/commit/8fe46d354027f3f0f0846e64219772348de106dd), [`18c67db`](https://github.com/mastra-ai/mastra/commit/18c67dbb9c9ebc26f26f65f7d3ff836e5691ef46), [`4ba3bb1`](https://github.com/mastra-ai/mastra/commit/4ba3bb1e465ad2ddaba3bbf2bc47e0faec32985e), [`5d84914`](https://github.com/mastra-ai/mastra/commit/5d84914e0e520c642a40329b210b413fcd139898), [`8dcc77e`](https://github.com/mastra-ai/mastra/commit/8dcc77e78a5340f5848f74b9e9f1b3da3513c1f5), [`aa67fc5`](https://github.com/mastra-ai/mastra/commit/aa67fc59ee8a5eeff1f23eb05970b8d7a536c8ff), [`fd2f314`](https://github.com/mastra-ai/mastra/commit/fd2f31473d3449b6b97e837ef8641264377f41a7), [`fa8140b`](https://github.com/mastra-ai/mastra/commit/fa8140bcd4251d2e3ac85fdc5547dfc4f372b5be), [`190f452`](https://github.com/mastra-ai/mastra/commit/190f45258b0640e2adfc8219fa3258cdc5b8f071), [`e80fead`](https://github.com/mastra-ai/mastra/commit/e80fead1412cc0d1b2f7d6a1ce5017d9e0098ff7), [`0287b64`](https://github.com/mastra-ai/mastra/commit/0287b644a5c3272755cf3112e71338106664103b), [`7e7bf60`](https://github.com/mastra-ai/mastra/commit/7e7bf606886bf374a6f9d4ca9b09dd83d0533372), [`184907d`](https://github.com/mastra-ai/mastra/commit/184907d775d8609c03c26e78ccaf37315f3aa287), [`075e91a`](https://github.com/mastra-ai/mastra/commit/075e91a4549baf46ad7a42a6a8ac8dfa78cc09e6), [`0c4cd13`](https://github.com/mastra-ai/mastra/commit/0c4cd131931c04ac5405373c932a242dbe88edd6), [`b16a753`](https://github.com/mastra-ai/mastra/commit/b16a753d5748440248d7df82e29bb987a9c8386c)]:
32
+ - @mastra/core@1.25.0
33
+ - @mastra/client-js@1.13.4
34
+
35
+ ## 0.2.26-alpha.3
36
+
37
+ ### Patch Changes
38
+
39
+ - Updated dependencies [[`cbdf3e1`](https://github.com/mastra-ai/mastra/commit/cbdf3e12b3d0c30a6e5347be658e2009648c130a), [`8fe46d3`](https://github.com/mastra-ai/mastra/commit/8fe46d354027f3f0f0846e64219772348de106dd), [`18c67db`](https://github.com/mastra-ai/mastra/commit/18c67dbb9c9ebc26f26f65f7d3ff836e5691ef46), [`8dcc77e`](https://github.com/mastra-ai/mastra/commit/8dcc77e78a5340f5848f74b9e9f1b3da3513c1f5), [`aa67fc5`](https://github.com/mastra-ai/mastra/commit/aa67fc59ee8a5eeff1f23eb05970b8d7a536c8ff), [`fa8140b`](https://github.com/mastra-ai/mastra/commit/fa8140bcd4251d2e3ac85fdc5547dfc4f372b5be), [`190f452`](https://github.com/mastra-ai/mastra/commit/190f45258b0640e2adfc8219fa3258cdc5b8f071), [`7e7bf60`](https://github.com/mastra-ai/mastra/commit/7e7bf606886bf374a6f9d4ca9b09dd83d0533372), [`184907d`](https://github.com/mastra-ai/mastra/commit/184907d775d8609c03c26e78ccaf37315f3aa287), [`0c4cd13`](https://github.com/mastra-ai/mastra/commit/0c4cd131931c04ac5405373c932a242dbe88edd6), [`b16a753`](https://github.com/mastra-ai/mastra/commit/b16a753d5748440248d7df82e29bb987a9c8386c)]:
40
+ - @mastra/core@1.25.0-alpha.3
41
+ - @mastra/client-js@1.13.4-alpha.3
42
+
43
+ ## 0.2.26-alpha.2
44
+
45
+ ### Patch Changes
46
+
47
+ - Updated dependencies [[`4ba3bb1`](https://github.com/mastra-ai/mastra/commit/4ba3bb1e465ad2ddaba3bbf2bc47e0faec32985e)]:
48
+ - @mastra/core@1.25.0-alpha.2
49
+ - @mastra/client-js@1.13.4-alpha.2
10
50
 
11
51
  ## 0.2.26-alpha.1
12
52
 
package/dist/index.cjs CHANGED
@@ -297,6 +297,37 @@ var toUIMessage = ({ chunk, conversation, metadata }) => {
297
297
  }
298
298
  ];
299
299
  }
300
+ case "background-task-progress": {
301
+ const lastMessage = result[result.length - 1];
302
+ if (!lastMessage || lastMessage.role !== "assistant") return result;
303
+ return [
304
+ ...result.slice(0, -1),
305
+ {
306
+ ...lastMessage,
307
+ metadata: {
308
+ mode: metadata.mode,
309
+ ...lastMessage.metadata,
310
+ runningBackgroundTasksCount: chunk.payload.runningCount
311
+ }
312
+ }
313
+ ];
314
+ }
315
+ case "background-task-failed":
316
+ case "background-task-completed": {
317
+ const lastMessage = result[result.length - 1];
318
+ if (!lastMessage || lastMessage.role !== "assistant") return result;
319
+ return [
320
+ ...result.slice(0, -1),
321
+ {
322
+ ...lastMessage,
323
+ metadata: {
324
+ mode: metadata.mode,
325
+ ...lastMessage.metadata,
326
+ runningBackgroundTasksCount: void 0
327
+ }
328
+ }
329
+ ];
330
+ }
300
331
  case "text-delta": {
301
332
  const lastMessage = result[result.length - 1];
302
333
  if (!lastMessage || lastMessage.role !== "assistant") return result;