@mastra/server 0.0.0-cloud-deployer-for-core-0.19.1-20251001164939 → 0.0.0-cloud-storage-adapter-20251106204059

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.
Files changed (247) hide show
  1. package/CHANGELOG.md +1000 -3
  2. package/README.md +1 -1
  3. package/dist/{chunk-YGQ5F6E6.js → chunk-2IS5WICF.js} +13428 -8379
  4. package/dist/chunk-2IS5WICF.js.map +1 -0
  5. package/dist/{chunk-PPYGWINI.cjs → chunk-2PLXW4ZX.cjs} +74 -74
  6. package/dist/{chunk-PPYGWINI.cjs.map → chunk-2PLXW4ZX.cjs.map} +1 -1
  7. package/dist/{chunk-BKCWZLEL.cjs → chunk-2YZH5PH6.cjs} +53 -50
  8. package/dist/chunk-2YZH5PH6.cjs.map +1 -0
  9. package/dist/{chunk-WUJLVNLU.js → chunk-3AMNUUZF.js} +21 -21
  10. package/dist/chunk-3AMNUUZF.js.map +1 -0
  11. package/dist/{chunk-XJOYGRTN.js → chunk-3F52QCI4.js} +45 -42
  12. package/dist/chunk-3F52QCI4.js.map +1 -0
  13. package/dist/{chunk-SQY4T6EJ.js → chunk-4JF5WXPL.js} +157 -226
  14. package/dist/chunk-4JF5WXPL.js.map +1 -0
  15. package/dist/{chunk-7NADHFD2.cjs → chunk-64ITUOXI.cjs} +2 -2
  16. package/dist/chunk-64ITUOXI.cjs.map +1 -0
  17. package/dist/{chunk-MMROOK5J.js → chunk-6QWQZI4Q.js} +2 -2
  18. package/dist/{chunk-7NADHFD2.cjs.map → chunk-6QWQZI4Q.js.map} +1 -1
  19. package/dist/{chunk-A3AL7EWJ.js → chunk-73PAWDM5.js} +14 -14
  20. package/dist/chunk-73PAWDM5.js.map +1 -0
  21. package/dist/{chunk-52UP7DFT.cjs → chunk-A24TSVEZ.cjs} +41 -41
  22. package/dist/chunk-A24TSVEZ.cjs.map +1 -0
  23. package/dist/chunk-A2NPD5N6.cjs +517 -0
  24. package/dist/chunk-A2NPD5N6.cjs.map +1 -0
  25. package/dist/{chunk-JRDEOHAJ.js → chunk-B3Z6J745.js} +18 -18
  26. package/dist/chunk-B3Z6J745.js.map +1 -0
  27. package/dist/{chunk-G4PUALCE.cjs → chunk-BTWIR2B7.cjs} +4 -4
  28. package/dist/{chunk-G4PUALCE.cjs.map → chunk-BTWIR2B7.cjs.map} +1 -1
  29. package/dist/{chunk-YWOK4F5A.js → chunk-D7T74TVR.js} +4 -6
  30. package/dist/chunk-D7T74TVR.js.map +1 -0
  31. package/dist/chunk-EHACNWDL.cjs +681 -0
  32. package/dist/chunk-EHACNWDL.cjs.map +1 -0
  33. package/dist/{chunk-6IJWRJZE.js → chunk-FPBYKMIS.js} +14 -14
  34. package/dist/chunk-FPBYKMIS.js.map +1 -0
  35. package/dist/{chunk-NLWACBE7.cjs → chunk-GLAZTMX3.cjs} +39 -39
  36. package/dist/chunk-GLAZTMX3.cjs.map +1 -0
  37. package/dist/{chunk-4VJG7FZK.cjs → chunk-ID6JYDNL.cjs} +13491 -8439
  38. package/dist/chunk-ID6JYDNL.cjs.map +1 -0
  39. package/dist/{chunk-LJFAAEU7.cjs → chunk-KF3RI45U.cjs} +48 -43
  40. package/dist/chunk-KF3RI45U.cjs.map +1 -0
  41. package/dist/{chunk-OPI3FZYH.cjs → chunk-KJIDZQRA.cjs} +16 -16
  42. package/dist/chunk-KJIDZQRA.cjs.map +1 -0
  43. package/dist/{chunk-WHN4VX55.js → chunk-KWH5QBXP.js} +5 -5
  44. package/dist/{chunk-WHN4VX55.js.map → chunk-KWH5QBXP.js.map} +1 -1
  45. package/dist/{chunk-SIGXR3JT.cjs → chunk-LPM6BBAX.cjs} +5 -5
  46. package/dist/{chunk-SIGXR3JT.cjs.map → chunk-LPM6BBAX.cjs.map} +1 -1
  47. package/dist/{chunk-KM7EJKXV.js → chunk-ND5OKOMT.js} +32 -27
  48. package/dist/chunk-ND5OKOMT.js.map +1 -0
  49. package/dist/{chunk-EMMSS5I5.cjs → chunk-O7I5CWRX.cjs} +10 -3
  50. package/dist/{chunk-EMMSS5I5.cjs.map → chunk-O7I5CWRX.cjs.map} +1 -1
  51. package/dist/{chunk-SPLSYTYW.cjs → chunk-PPMIB3FQ.cjs} +22 -22
  52. package/dist/chunk-PPMIB3FQ.cjs.map +1 -0
  53. package/dist/{chunk-G3PMV62Z.js → chunk-PR4QN5HX.js} +10 -4
  54. package/dist/{chunk-G3PMV62Z.js.map → chunk-PR4QN5HX.js.map} +1 -1
  55. package/dist/chunk-QU6N55W6.cjs +256 -0
  56. package/dist/chunk-QU6N55W6.cjs.map +1 -0
  57. package/dist/{chunk-NG5IVLEZ.js → chunk-RQK4FQUD.js} +3 -3
  58. package/dist/{chunk-NG5IVLEZ.js.map → chunk-RQK4FQUD.js.map} +1 -1
  59. package/dist/{chunk-T3TIA3O6.cjs → chunk-S54HNARD.cjs} +20 -20
  60. package/dist/{chunk-T3TIA3O6.cjs.map → chunk-S54HNARD.cjs.map} +1 -1
  61. package/dist/chunk-SHWNNZBL.js +254 -0
  62. package/dist/chunk-SHWNNZBL.js.map +1 -0
  63. package/dist/{chunk-4QCXUEAT.js → chunk-SZIFSF4T.js} +3 -3
  64. package/dist/{chunk-4QCXUEAT.js.map → chunk-SZIFSF4T.js.map} +1 -1
  65. package/dist/chunk-TOCYBDP2.js +46 -0
  66. package/dist/chunk-TOCYBDP2.js.map +1 -0
  67. package/dist/{chunk-CY4TP3FK.js → chunk-UXGQZUYZ.js} +3 -3
  68. package/dist/{chunk-CY4TP3FK.js.map → chunk-UXGQZUYZ.js.map} +1 -1
  69. package/dist/{chunk-RE4RPXT2.cjs → chunk-V5WWQN7P.cjs} +4 -4
  70. package/dist/{chunk-RE4RPXT2.cjs.map → chunk-V5WWQN7P.cjs.map} +1 -1
  71. package/dist/{chunk-VY4ENABS.cjs → chunk-W2KMU354.cjs} +4 -6
  72. package/dist/chunk-W2KMU354.cjs.map +1 -0
  73. package/dist/chunk-X3MICMI2.cjs +620 -0
  74. package/dist/chunk-X3MICMI2.cjs.map +1 -0
  75. package/dist/chunk-X6C7BUWN.cjs +48 -0
  76. package/dist/chunk-X6C7BUWN.cjs.map +1 -0
  77. package/dist/chunk-Z2O5YVHY.js +661 -0
  78. package/dist/chunk-Z2O5YVHY.js.map +1 -0
  79. package/dist/{chunk-JLPZWKPR.js → chunk-ZJ6KEY6H.js} +174 -156
  80. package/dist/chunk-ZJ6KEY6H.js.map +1 -0
  81. package/dist/{chunk-6GMFZ5LK.js → chunk-ZULZ2752.js} +3 -3
  82. package/dist/{chunk-6GMFZ5LK.js.map → chunk-ZULZ2752.js.map} +1 -1
  83. package/dist/{dist-R3L5J3LL.cjs → dist-4MVGNSRL.cjs} +20 -20
  84. package/dist/{dist-R3L5J3LL.cjs.map → dist-4MVGNSRL.cjs.map} +1 -1
  85. package/dist/{dist-OC4J73ML.cjs → dist-FZYCV3VB.cjs} +26 -26
  86. package/dist/{dist-OC4J73ML.cjs.map → dist-FZYCV3VB.cjs.map} +1 -1
  87. package/dist/{dist-N6P7NYGX.cjs → dist-G2BYZJOC.cjs} +28 -28
  88. package/dist/{dist-N6P7NYGX.cjs.map → dist-G2BYZJOC.cjs.map} +1 -1
  89. package/dist/dist-P4MXBQ3U.cjs +16 -0
  90. package/dist/{dist-EZZMMMNT.cjs.map → dist-P4MXBQ3U.cjs.map} +1 -1
  91. package/dist/{dist-LKU3RRT2.js → dist-PQZUVLPC.js} +3 -3
  92. package/dist/{dist-LKU3RRT2.js.map → dist-PQZUVLPC.js.map} +1 -1
  93. package/dist/{dist-ZHCN47XA.js → dist-R7WYX6LC.js} +3 -3
  94. package/dist/{dist-ZHCN47XA.js.map → dist-R7WYX6LC.js.map} +1 -1
  95. package/dist/{dist-QI7RYOYQ.cjs → dist-RFMYFILX.cjs} +30 -30
  96. package/dist/{dist-QI7RYOYQ.cjs.map → dist-RFMYFILX.cjs.map} +1 -1
  97. package/dist/{dist-JNIWWFE5.js → dist-X7XR3M3Z.js} +3 -3
  98. package/dist/{dist-JNIWWFE5.js.map → dist-X7XR3M3Z.js.map} +1 -1
  99. package/dist/{dist-COC6WFAX.js → dist-XVBSOGFK.js} +3 -3
  100. package/dist/{dist-COC6WFAX.js.map → dist-XVBSOGFK.js.map} +1 -1
  101. package/dist/dist-YREX2TJT.js +3 -0
  102. package/dist/{dist-26HWEQY6.js.map → dist-YREX2TJT.js.map} +1 -1
  103. package/dist/server/handlers/a2a.cjs +7 -7
  104. package/dist/server/handlers/a2a.d.ts +10 -10
  105. package/dist/server/handlers/a2a.d.ts.map +1 -1
  106. package/dist/server/handlers/a2a.js +1 -1
  107. package/dist/server/handlers/agent-builder.cjs +31 -19
  108. package/dist/server/handlers/agent-builder.d.ts +38 -47
  109. package/dist/server/handlers/agent-builder.d.ts.map +1 -1
  110. package/dist/server/handlers/agent-builder.js +1 -1
  111. package/dist/server/handlers/agents.cjs +28 -32
  112. package/dist/server/handlers/agents.d.ts +91 -113
  113. package/dist/server/handlers/agents.d.ts.map +1 -1
  114. package/dist/server/handlers/agents.js +1 -1
  115. package/dist/server/handlers/error.cjs +2 -2
  116. package/dist/server/handlers/error.js +1 -1
  117. package/dist/server/handlers/logs.cjs +7 -7
  118. package/dist/server/handlers/logs.d.ts +3 -3
  119. package/dist/server/handlers/logs.d.ts.map +1 -1
  120. package/dist/server/handlers/logs.js +1 -1
  121. package/dist/server/handlers/memory.cjs +17 -25
  122. package/dist/server/handlers/memory.d.ts +28 -34
  123. package/dist/server/handlers/memory.d.ts.map +1 -1
  124. package/dist/server/handlers/memory.js +1 -1
  125. package/dist/server/handlers/observability.cjs +8 -8
  126. package/dist/server/handlers/observability.d.ts +12 -12
  127. package/dist/server/handlers/observability.d.ts.map +1 -1
  128. package/dist/server/handlers/observability.js +1 -1
  129. package/dist/server/handlers/scores.cjs +11 -11
  130. package/dist/server/handlers/scores.d.ts +33 -132
  131. package/dist/server/handlers/scores.d.ts.map +1 -1
  132. package/dist/server/handlers/scores.js +1 -1
  133. package/dist/server/handlers/tools.cjs +7 -7
  134. package/dist/server/handlers/tools.d.ts +8 -8
  135. package/dist/server/handlers/tools.d.ts.map +1 -1
  136. package/dist/server/handlers/tools.js +1 -1
  137. package/dist/server/handlers/utils.cjs +3 -3
  138. package/dist/server/handlers/utils.js +1 -1
  139. package/dist/server/handlers/vector.cjs +7 -7
  140. package/dist/server/handlers/vector.js +1 -1
  141. package/dist/server/handlers/voice.cjs +5 -5
  142. package/dist/server/handlers/voice.d.ts +6 -6
  143. package/dist/server/handlers/voice.js +1 -1
  144. package/dist/server/handlers/workflows.cjs +30 -26
  145. package/dist/server/handlers/workflows.d.ts +35 -37
  146. package/dist/server/handlers/workflows.d.ts.map +1 -1
  147. package/dist/server/handlers/workflows.js +1 -1
  148. package/dist/server/handlers.cjs +28 -38
  149. package/dist/server/handlers.d.ts +0 -2
  150. package/dist/server/handlers.d.ts.map +1 -1
  151. package/dist/server/handlers.js +11 -13
  152. package/dist/server/http-exception.d.ts +0 -5
  153. package/dist/server/http-exception.d.ts.map +1 -1
  154. package/dist/server/utils.d.ts +3 -2
  155. package/dist/server/utils.d.ts.map +1 -1
  156. package/dist/token-375W3LEI.cjs +64 -0
  157. package/dist/token-375W3LEI.cjs.map +1 -0
  158. package/dist/token-C3IMNCC4.js +62 -0
  159. package/dist/token-C3IMNCC4.js.map +1 -0
  160. package/dist/token-util-CV3RRG6K.cjs +9 -0
  161. package/dist/token-util-CV3RRG6K.cjs.map +1 -0
  162. package/dist/token-util-E5QO2RCL.js +7 -0
  163. package/dist/token-util-E5QO2RCL.js.map +1 -0
  164. package/package.json +12 -9
  165. package/dist/chunk-4RRMWXQ2.js +0 -3522
  166. package/dist/chunk-4RRMWXQ2.js.map +0 -1
  167. package/dist/chunk-4VJG7FZK.cjs.map +0 -1
  168. package/dist/chunk-52UP7DFT.cjs.map +0 -1
  169. package/dist/chunk-6IJWRJZE.js.map +0 -1
  170. package/dist/chunk-A3AL7EWJ.js.map +0 -1
  171. package/dist/chunk-BKCWZLEL.cjs.map +0 -1
  172. package/dist/chunk-BX5XPVO2.cjs +0 -676
  173. package/dist/chunk-BX5XPVO2.cjs.map +0 -1
  174. package/dist/chunk-FALVL2VV.cjs +0 -3525
  175. package/dist/chunk-FALVL2VV.cjs.map +0 -1
  176. package/dist/chunk-HCFCPUTA.cjs +0 -601
  177. package/dist/chunk-HCFCPUTA.cjs.map +0 -1
  178. package/dist/chunk-HFEPCQAR.js +0 -655
  179. package/dist/chunk-HFEPCQAR.js.map +0 -1
  180. package/dist/chunk-HVBBFCDH.cjs +0 -2321
  181. package/dist/chunk-HVBBFCDH.cjs.map +0 -1
  182. package/dist/chunk-JLPZWKPR.js.map +0 -1
  183. package/dist/chunk-JRDEOHAJ.js.map +0 -1
  184. package/dist/chunk-KM7EJKXV.js.map +0 -1
  185. package/dist/chunk-KNGXRN26.cjs +0 -335
  186. package/dist/chunk-KNGXRN26.cjs.map +0 -1
  187. package/dist/chunk-KV6VHX4V.js +0 -160
  188. package/dist/chunk-KV6VHX4V.js.map +0 -1
  189. package/dist/chunk-LJFAAEU7.cjs.map +0 -1
  190. package/dist/chunk-MMROOK5J.js.map +0 -1
  191. package/dist/chunk-N7F33WAD.js +0 -2290
  192. package/dist/chunk-N7F33WAD.js.map +0 -1
  193. package/dist/chunk-NLWACBE7.cjs.map +0 -1
  194. package/dist/chunk-OPI3FZYH.cjs.map +0 -1
  195. package/dist/chunk-OZLRIVC4.cjs +0 -588
  196. package/dist/chunk-OZLRIVC4.cjs.map +0 -1
  197. package/dist/chunk-PWTXZZTR.cjs +0 -165
  198. package/dist/chunk-PWTXZZTR.cjs.map +0 -1
  199. package/dist/chunk-SPLSYTYW.cjs.map +0 -1
  200. package/dist/chunk-SQY4T6EJ.js.map +0 -1
  201. package/dist/chunk-TTHEEIZ3.js +0 -323
  202. package/dist/chunk-TTHEEIZ3.js.map +0 -1
  203. package/dist/chunk-VY4ENABS.cjs.map +0 -1
  204. package/dist/chunk-WUJLVNLU.js.map +0 -1
  205. package/dist/chunk-XJOYGRTN.js.map +0 -1
  206. package/dist/chunk-YGQ5F6E6.js.map +0 -1
  207. package/dist/chunk-YWOK4F5A.js.map +0 -1
  208. package/dist/dist-26HWEQY6.js +0 -3
  209. package/dist/dist-3DRD6USP.cjs +0 -1411
  210. package/dist/dist-3DRD6USP.cjs.map +0 -1
  211. package/dist/dist-7GVM5ZCS.js +0 -845
  212. package/dist/dist-7GVM5ZCS.js.map +0 -1
  213. package/dist/dist-CCDXEZDR.js +0 -1408
  214. package/dist/dist-CCDXEZDR.js.map +0 -1
  215. package/dist/dist-EZZMMMNT.cjs +0 -16
  216. package/dist/dist-H64VX6DE.js +0 -3
  217. package/dist/dist-H64VX6DE.js.map +0 -1
  218. package/dist/dist-H7RR3EXL.js +0 -2006
  219. package/dist/dist-H7RR3EXL.js.map +0 -1
  220. package/dist/dist-L76NFIWM.cjs +0 -934
  221. package/dist/dist-L76NFIWM.cjs.map +0 -1
  222. package/dist/dist-MQUZENT7.js +0 -931
  223. package/dist/dist-MQUZENT7.js.map +0 -1
  224. package/dist/dist-S3ILRJUH.cjs +0 -2013
  225. package/dist/dist-S3ILRJUH.cjs.map +0 -1
  226. package/dist/dist-WKYB3LTJ.cjs +0 -16
  227. package/dist/dist-WKYB3LTJ.cjs.map +0 -1
  228. package/dist/dist-WY4WSW7C.cjs +0 -849
  229. package/dist/dist-WY4WSW7C.cjs.map +0 -1
  230. package/dist/server/handlers/legacyWorkflows.cjs +0 -48
  231. package/dist/server/handlers/legacyWorkflows.cjs.map +0 -1
  232. package/dist/server/handlers/legacyWorkflows.d.ts +0 -59
  233. package/dist/server/handlers/legacyWorkflows.d.ts.map +0 -1
  234. package/dist/server/handlers/legacyWorkflows.js +0 -3
  235. package/dist/server/handlers/legacyWorkflows.js.map +0 -1
  236. package/dist/server/handlers/telemetry.cjs +0 -20
  237. package/dist/server/handlers/telemetry.cjs.map +0 -1
  238. package/dist/server/handlers/telemetry.d.ts +0 -33
  239. package/dist/server/handlers/telemetry.d.ts.map +0 -1
  240. package/dist/server/handlers/telemetry.js +0 -3
  241. package/dist/server/handlers/telemetry.js.map +0 -1
  242. package/dist/server/handlers/vNextNetwork.cjs +0 -220
  243. package/dist/server/handlers/vNextNetwork.cjs.map +0 -1
  244. package/dist/server/handlers/vNextNetwork.d.ts +0 -246
  245. package/dist/server/handlers/vNextNetwork.d.ts.map +0 -1
  246. package/dist/server/handlers/vNextNetwork.js +0 -213
  247. package/dist/server/handlers/vNextNetwork.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,6 +1,1001 @@
1
1
  # @mastra/server
2
2
 
3
- ## 0.0.0-cloud-deployer-for-core-0.19.1-20251001164939
3
+ ## 0.0.0-cloud-storage-adapter-20251106204059
4
+
5
+ ### Major Changes
6
+
7
+ - Moving scorers under the eval domain, api method consistency, prebuilt evals, scorers require ids. ([#9589](https://github.com/mastra-ai/mastra/pull/9589))
8
+
9
+ - Every Mastra primitive (agent, MCPServer, workflow, tool, processor, scorer, and vector) now has a get, list, and add method associated with it. Each primitive also now requires an id to be set. ([#9675](https://github.com/mastra-ai/mastra/pull/9675))
10
+
11
+ Primitives that are added to other primitives are also automatically added to the Mastra instance
12
+
13
+ - Update handlers to use `listWorkflowRuns` instead of `getWorkflowRuns`. Fix type names from `StoragelistThreadsByResourceIdInput/Output` to `StorageListThreadsByResourceIdInput/Output`. ([#9507](https://github.com/mastra-ai/mastra/pull/9507))
14
+
15
+ - **BREAKING:** Remove `getMessagesPaginated()` and add `perPage: false` support ([#9670](https://github.com/mastra-ai/mastra/pull/9670))
16
+
17
+ Removes deprecated `getMessagesPaginated()` method. The `listMessages()` API and score handlers now support `perPage: false` to fetch all records without pagination limits.
18
+
19
+ **Storage changes:**
20
+ - `StoragePagination.perPage` type changed from `number` to `number | false`
21
+ - All storage implementations support `perPage: false`:
22
+ - Memory: `listMessages()`
23
+ - Scores: `listScoresBySpan()`, `listScoresByRunId()`, `listScoresByExecutionId()`
24
+ - HTTP query parser accepts `"false"` string (e.g., `?perPage=false`)
25
+
26
+ **Memory changes:**
27
+ - `memory.query()` parameter type changed from `StorageGetMessagesArg` to `StorageListMessagesInput`
28
+ - Uses flat parameters (`page`, `perPage`, `include`, `filter`, `vectorSearchString`) instead of `selectBy` object
29
+
30
+ **Stricter validation:**
31
+ - `listMessages()` requires non-empty, non-whitespace `threadId` (throws error instead of returning empty results)
32
+
33
+ **Migration:**
34
+
35
+ ```typescript
36
+ // Storage/Memory: Replace getMessagesPaginated with listMessages
37
+ - storage.getMessagesPaginated({ threadId, selectBy: { pagination: { page: 0, perPage: 20 } } })
38
+ + storage.listMessages({ threadId, page: 0, perPage: 20 })
39
+ + storage.listMessages({ threadId, page: 0, perPage: false }) // Fetch all
40
+
41
+ // Memory: Replace selectBy with flat parameters
42
+ - memory.query({ threadId, selectBy: { last: 20, include: [...] } })
43
+ + memory.query({ threadId, perPage: 20, include: [...] })
44
+
45
+ // Client SDK
46
+ - thread.getMessagesPaginated({ selectBy: { pagination: { page: 0 } } })
47
+ + thread.listMessages({ page: 0, perPage: 20 })
48
+ ```
49
+
50
+ - # Major Changes ([#9695](https://github.com/mastra-ai/mastra/pull/9695))
51
+
52
+ ## Storage Layer
53
+
54
+ ### BREAKING: Removed `storage.getMessages()`
55
+
56
+ The `getMessages()` method has been removed from all storage implementations. Use `listMessages()` instead, which provides pagination support.
57
+
58
+ **Migration:**
59
+
60
+ ```typescript
61
+ // Before
62
+ const messages = await storage.getMessages({ threadId: 'thread-1' });
63
+
64
+ // After
65
+ const result = await storage.listMessages({
66
+ threadId: 'thread-1',
67
+ page: 0,
68
+ perPage: 50,
69
+ });
70
+ const messages = result.messages; // Access messages array
71
+ console.log(result.total); // Total count
72
+ console.log(result.hasMore); // Whether more pages exist
73
+ ```
74
+
75
+ ### Message ordering default
76
+
77
+ `listMessages()` defaults to ASC (oldest first) ordering by `createdAt`, matching the previous `getMessages()` behavior.
78
+
79
+ **To use DESC ordering (newest first):**
80
+
81
+ ```typescript
82
+ const result = await storage.listMessages({
83
+ threadId: 'thread-1',
84
+ orderBy: { field: 'createdAt', direction: 'DESC' },
85
+ });
86
+ ```
87
+
88
+ ## Client SDK
89
+
90
+ ### BREAKING: Renamed `client.getThreadMessages()` → `client.listThreadMessages()`
91
+
92
+ **Migration:**
93
+
94
+ ```typescript
95
+ // Before
96
+ const response = await client.getThreadMessages(threadId, { agentId });
97
+
98
+ // After
99
+ const response = await client.listThreadMessages(threadId, { agentId });
100
+ ```
101
+
102
+ The response format remains the same.
103
+
104
+ ## Type Changes
105
+
106
+ ### BREAKING: Removed `StorageGetMessagesArg` type
107
+
108
+ Use `StorageListMessagesInput` instead:
109
+
110
+ ```typescript
111
+ // Before
112
+ import type { StorageGetMessagesArg } from '@mastra/core';
113
+
114
+ // After
115
+ import type { StorageListMessagesInput } from '@mastra/core';
116
+ ```
117
+
118
+ - Bump minimum required Node.js version to 22.13.0 ([#9706](https://github.com/mastra-ai/mastra/pull/9706))
119
+
120
+ - Replace `getThreadsByResourceIdPaginated` with `listThreadsByResourceId` across memory handlers. Update client SDK to use `listThreads()` with `offset`/`limit` parameters instead of deprecated `getMemoryThreads()`. Consolidate `/api/memory/threads` routes to single paginated endpoint. ([#9508](https://github.com/mastra-ai/mastra/pull/9508))
121
+
122
+ - This simplifies the Memory API by removing the confusing rememberMessages method and renaming query to recall for better clarity. ([#9701](https://github.com/mastra-ai/mastra/pull/9701))
123
+
124
+ The rememberMessages method name implied it might persist data when it was actually just retrieving messages, same as query. Having two methods that did essentially the same thing was unnecessary.
125
+
126
+ Before:
127
+
128
+ ```typescript
129
+ // Two methods that did the same thing
130
+ memory.rememberMessages({ threadId, resourceId, config, vectorMessageSearch });
131
+ memory.query({ threadId, resourceId, perPage, vectorSearchString });
132
+ ```
133
+
134
+ After:
135
+
136
+ ```typescript
137
+ // Single unified method with clear purpose
138
+ memory.recall({ threadId, resourceId, perPage, vectorMessageSearch, threadConfig });
139
+ ```
140
+
141
+ All usages have been updated across the codebase including tests. The agent now calls recall directly with the appropriate parameters.
142
+
143
+ - Rename RuntimeContext to RequestContext ([#9511](https://github.com/mastra-ai/mastra/pull/9511))
144
+
145
+ - Rename `defaultVNextStreamOptions` to `defaultOptions`. Add "Legacy" suffix to v1 option properties and methods (`defaultGenerateOptions` → `defaultGenerateOptionsLegacy`, `defaultStreamOptions` → `defaultStreamOptionsLegacy`). ([#9535](https://github.com/mastra-ai/mastra/pull/9535))
146
+
147
+ - Remove `getThreadsByResourceId` and `getThreadsByResourceIdPaginated` methods from storage interfaces in favor of `listThreadsByResourceId`. The new method uses `offset`/`limit` pagination and a nested `orderBy` object structure (`{ field, direction }`). ([#9536](https://github.com/mastra-ai/mastra/pull/9536))
148
+
149
+ - Renamed a bunch of observability/tracing-related things to drop the AI prefix. ([#9744](https://github.com/mastra-ai/mastra/pull/9744))
150
+
151
+ - **Breaking Change**: Remove legacy v1 watch events and consolidate on v2 implementation. ([#9252](https://github.com/mastra-ai/mastra/pull/9252))
152
+
153
+ This change simplifies the workflow watching API by removing the legacy v1 event system and promoting v2 as the standard (renamed to just `watch`).
154
+
155
+ ### What's Changed
156
+ - Removed legacy v1 watch event handlers and types
157
+ - Renamed `watch-v2` to `watch` throughout the codebase
158
+ - Removed `.watch()` method from client-js SDK (`Workflow` and `AgentBuilder` classes)
159
+ - Removed `/watch` HTTP endpoints from server and deployer
160
+ - Removed `WorkflowWatchResult` and v1 `WatchEvent` types
161
+
162
+ - **BREAKING CHANGE**: Pagination APIs now use `page`/`perPage` instead of `offset`/`limit` ([#9592](https://github.com/mastra-ai/mastra/pull/9592))
163
+
164
+ All storage and memory pagination APIs have been updated to use `page` (0-indexed) and `perPage` instead of `offset` and `limit`, aligning with standard REST API patterns.
165
+
166
+ **Affected APIs:**
167
+ - `Memory.listThreadsByResourceId()`
168
+ - `Memory.listMessages()`
169
+ - `Storage.listWorkflowRuns()`
170
+
171
+ **Migration:**
172
+
173
+ ```typescript
174
+ // Before
175
+ await memory.listThreadsByResourceId({
176
+ resourceId: 'user-123',
177
+ offset: 20,
178
+ limit: 10,
179
+ });
180
+
181
+ // After
182
+ await memory.listThreadsByResourceId({
183
+ resourceId: 'user-123',
184
+ page: 2, // page = Math.floor(offset / limit)
185
+ perPage: 10,
186
+ });
187
+
188
+ // Before
189
+ await memory.listMessages({
190
+ threadId: 'thread-456',
191
+ offset: 20,
192
+ limit: 10,
193
+ });
194
+
195
+ // After
196
+ await memory.listMessages({
197
+ threadId: 'thread-456',
198
+ page: 2,
199
+ perPage: 10,
200
+ });
201
+
202
+ // Before
203
+ await storage.listWorkflowRuns({
204
+ workflowName: 'my-workflow',
205
+ offset: 20,
206
+ limit: 10,
207
+ });
208
+
209
+ // After
210
+ await storage.listWorkflowRuns({
211
+ workflowName: 'my-workflow',
212
+ page: 2,
213
+ perPage: 10,
214
+ });
215
+ ```
216
+
217
+ **Additional improvements:**
218
+ - Added validation for negative `page` values in all storage implementations
219
+ - Improved `perPage` validation to handle edge cases (negative values, `0`, `false`)
220
+ - Added reusable query parser utilities for consistent validation in handlers
221
+
222
+ - Changing getAgents -> listAgents, getTools -> listTools, getWorkflows -> listWorkflows ([#9495](https://github.com/mastra-ai/mastra/pull/9495))
223
+
224
+ - Removed old tracing code based on OpenTelemetry ([#9237](https://github.com/mastra-ai/mastra/pull/9237))
225
+
226
+ - Remove deprecated vector prompts and cohere provider from code ([#9596](https://github.com/mastra-ai/mastra/pull/9596))
227
+
228
+ - Mark as stable ([`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc))
229
+
230
+ - Enforcing id required on Processor primitive ([#9591](https://github.com/mastra-ai/mastra/pull/9591))
231
+
232
+ - Renamed `MastraMessageV2` to `MastraDBMessage` ([#9255](https://github.com/mastra-ai/mastra/pull/9255))
233
+ Made the return format of all methods that return db messages consistent. It's always `{ messages: MastraDBMessage[] }` now, and messages can be converted after that using `@mastra/ai-sdk/ui`'s `toAISdkV4/5Messages()` function
234
+
235
+ - moved ai-tracing code into @mastra/observability ([#9661](https://github.com/mastra-ai/mastra/pull/9661))
236
+
237
+ - Remove legacy evals from Mastra ([#9491](https://github.com/mastra-ai/mastra/pull/9491))
238
+
239
+ ### Minor Changes
240
+
241
+ - Update peer dependencies to match core package version bump (1.0.0) ([#9237](https://github.com/mastra-ai/mastra/pull/9237))
242
+
243
+ - **BREAKING CHANGE**: Memory scope defaults changed from 'thread' to 'resource' ([#8983](https://github.com/mastra-ai/mastra/pull/8983))
244
+
245
+ Both `workingMemory.scope` and `semanticRecall.scope` now default to `'resource'` instead of `'thread'`. This means:
246
+ - Working memory persists across all conversations for the same user/resource
247
+ - Semantic recall searches across all threads for the same user/resource
248
+
249
+ **Migration**: To maintain the previous thread-scoped behavior, explicitly set `scope: 'thread'`:
250
+
251
+ ```typescript
252
+ memory: new Memory({
253
+ storage,
254
+ workingMemory: {
255
+ enabled: true,
256
+ scope: 'thread', // Explicitly set for thread-scoped behavior
257
+ },
258
+ semanticRecall: {
259
+ scope: 'thread', // Explicitly set for thread-scoped behavior
260
+ },
261
+ }),
262
+ ```
263
+
264
+ See the [migration guide](https://mastra.ai/docs/guides/migrations/memory-scope-defaults) for more details.
265
+
266
+ Also fixed issues where playground semantic recall search could show missing or incorrect results in certain cases.
267
+
268
+ - Update peer dependencies to match core package version bump (1.0.0) ([#9495](https://github.com/mastra-ai/mastra/pull/9495))
269
+
270
+ - Update peer dependencies to match core package version bump (0.22.1) ([#8649](https://github.com/mastra-ai/mastra/pull/8649))
271
+
272
+ - Add observeStream support for agent-builder template installation ([#9372](https://github.com/mastra-ai/mastra/pull/9372))
273
+ - Add observeStream, observeStreamVNext, observeStreamLegacy, and resumeStream methods to agent-builder client SDK
274
+ - Add corresponding server handlers and deployer routes for observe streaming
275
+ - Add tracingOptions parameter to existing agent-builder handlers for parity with workflows
276
+ - Update template installation processor to support both legacy and VNext streaming event formats
277
+
278
+ - Update peer dependencies to match core package version bump (0.22.0) ([#8983](https://github.com/mastra-ai/mastra/pull/8983))
279
+
280
+ - Update peer dependencies to match core package version bump (1.0.0) ([#9491](https://github.com/mastra-ai/mastra/pull/9491))
281
+
282
+ ### Patch Changes
283
+
284
+ - Make step optional in all resume APIs ([#9454](https://github.com/mastra-ai/mastra/pull/9454))
285
+
286
+ - Add agent id to the list agent ([#9770](https://github.com/mastra-ai/mastra/pull/9770))
287
+
288
+ - Update tool execution signature ([#9587](https://github.com/mastra-ai/mastra/pull/9587))
289
+
290
+ Consolidated the 3 different execution contexts to one
291
+
292
+ ```typescript
293
+ // before depending on the context the tool was executed in
294
+ tool.execute({ context: data });
295
+ tool.execute({ context: { inputData: data } });
296
+ tool.execute(data);
297
+
298
+ // now, for all contexts
299
+ tool.execute(data, context);
300
+ ```
301
+
302
+ **Before:**
303
+
304
+ ```typescript
305
+ inputSchema: z.object({ something: z.string() }),
306
+ execute: async ({ context, tracingContext, runId, ... }) => {
307
+ return doSomething(context.string);
308
+ }
309
+ ```
310
+
311
+ **After:**
312
+
313
+ ```typescript
314
+ inputSchema: z.object({ something: z.string() }),
315
+ execute: async (inputData, context) => {
316
+ const { agent, mcp, workflow, ...sharedContext } = context
317
+
318
+ // context that only an agent would get like toolCallId, messages, suspend, resume, etc
319
+ if (agent) {
320
+ doSomething(inputData.something, agent)
321
+ // context that only a workflow would get like runId, state, suspend, resume, etc
322
+ } else if (workflow) {
323
+ doSomething(inputData.something, workflow)
324
+ // context that only a workflow would get like "extra", "elicitation"
325
+ } else if (mcp) {
326
+ doSomething(inputData.something, mcp)
327
+ } else {
328
+ // Running a tool in no execution context
329
+ return doSomething(inputData.something);
330
+ }
331
+ }
332
+ ```
333
+
334
+ - Add the description field to listAgents ([#9672](https://github.com/mastra-ai/mastra/pull/9672))
335
+
336
+ - Fix the link issue in observability ([#9764](https://github.com/mastra-ai/mastra/pull/9764))
337
+
338
+ - Add tool call approval ([#8649](https://github.com/mastra-ai/mastra/pull/8649))
339
+
340
+ - Fix scorers listing filtring ([#9801](https://github.com/mastra-ai/mastra/pull/9801))
341
+
342
+ - Fixes issue where clicking the reset button in the model picker would fail to restore the original LanguageModelV2 (or any other types) object that was passed during agent construction. ([#9481](https://github.com/mastra-ai/mastra/pull/9481))
343
+
344
+ - Update peer dependencies to match core package version bump (1.0.0) ([#9489](https://github.com/mastra-ai/mastra/pull/9489))
345
+
346
+ - Fix undefined runtimeContext using memory from playground ([#9328](https://github.com/mastra-ai/mastra/pull/9328))
347
+
348
+ - Make step optional in resumeStreamVNext API ([#9453](https://github.com/mastra-ai/mastra/pull/9453))
349
+
350
+ - Remove `waitForEvent` from workflows. `waitForEvent` is now removed, please use suspend & resume flow instead. See https://mastra.ai/en/docs/workflows/suspend-and-resume for more details on suspend & resume flow. ([#9214](https://github.com/mastra-ai/mastra/pull/9214))
351
+
352
+ - Use memory mock in server tests ([#9486](https://github.com/mastra-ai/mastra/pull/9486))
353
+
354
+ - Remove format from stream/generate ([#9577](https://github.com/mastra-ai/mastra/pull/9577))
355
+
356
+ - Updated dependencies [[`39c9743`](https://github.com/mastra-ai/mastra/commit/39c97432d084294f8ba85fbf3ef28098ff21459e), [`f743dbb`](https://github.com/mastra-ai/mastra/commit/f743dbb8b40d1627b5c10c0e6fc154f4ebb6e394), [`fec5129`](https://github.com/mastra-ai/mastra/commit/fec5129de7fc64423ea03661a56cef31dc747a0d), [`0491e7c`](https://github.com/mastra-ai/mastra/commit/0491e7c9b714cb0ba22187ee062147ec2dd7c712), [`f6f4903`](https://github.com/mastra-ai/mastra/commit/f6f4903397314f73362061dc5a3e8e7c61ea34aa), [`0e8ed46`](https://github.com/mastra-ai/mastra/commit/0e8ed467c54d6901a6a365f270ec15d6faadb36c), [`6c049d9`](https://github.com/mastra-ai/mastra/commit/6c049d94063fdcbd5b81c4912a2bf82a92c9cc0b), [`2f897df`](https://github.com/mastra-ai/mastra/commit/2f897df208508f46f51b7625e5dd20c37f93e0e3), [`3443770`](https://github.com/mastra-ai/mastra/commit/3443770662df8eb24c9df3589b2792d78cfcb811), [`f0a07e0`](https://github.com/mastra-ai/mastra/commit/f0a07e0111b3307c5fabfa4094c5c2cfb734fbe6), [`aaa40e7`](https://github.com/mastra-ai/mastra/commit/aaa40e788628b319baa8e889407d11ad626547fa), [`1521d71`](https://github.com/mastra-ai/mastra/commit/1521d716e5daedc74690c983fbd961123c56756b), [`9e1911d`](https://github.com/mastra-ai/mastra/commit/9e1911db2b4db85e0e768c3f15e0d61e319869f6), [`ebac155`](https://github.com/mastra-ai/mastra/commit/ebac15564a590117db7078233f927a7e28a85106), [`dd1c38d`](https://github.com/mastra-ai/mastra/commit/dd1c38d1b75f1b695c27b40d8d9d6ed00d5e0f6f), [`5948e6a`](https://github.com/mastra-ai/mastra/commit/5948e6a5146c83666ba3f294b2be576c82a513fb), [`8940859`](https://github.com/mastra-ai/mastra/commit/89408593658199b4ad67f7b65e888f344e64a442), [`e629310`](https://github.com/mastra-ai/mastra/commit/e629310f1a73fa236d49ec7a1d1cceb6229dc7cc), [`4c6b492`](https://github.com/mastra-ai/mastra/commit/4c6b492c4dd591c6a592520c1f6855d6e936d71f), [`dff01d8`](https://github.com/mastra-ai/mastra/commit/dff01d81ce1f4e4087cfac20fa868e6db138dd14), [`9d819d5`](https://github.com/mastra-ai/mastra/commit/9d819d54b61481639f4008e4694791bddf187edd), [`71c8d6c`](https://github.com/mastra-ai/mastra/commit/71c8d6c161253207b2b9588bdadb7eed604f7253), [`6179a9b`](https://github.com/mastra-ai/mastra/commit/6179a9ba36ffac326de3cc3c43cdc8028d37c251), [`00f4921`](https://github.com/mastra-ai/mastra/commit/00f4921dd2c91a1e5446799599ef7116a8214a1a), [`ca8041c`](https://github.com/mastra-ai/mastra/commit/ca8041cce0379fda22ed293a565bcb5b6ddca68a), [`7051bf3`](https://github.com/mastra-ai/mastra/commit/7051bf38b3b122a069008f861f7bfc004a6d9f6e), [`a8f1494`](https://github.com/mastra-ai/mastra/commit/a8f1494f4bbdc2770bcf327d4c7d869e332183f1), [`0793497`](https://github.com/mastra-ai/mastra/commit/079349753620c40246ffd673e3f9d7d9820beff3), [`5df9cce`](https://github.com/mastra-ai/mastra/commit/5df9cce1a753438413f64c11eeef8f845745c2a8), [`a854ede`](https://github.com/mastra-ai/mastra/commit/a854ede62bf5ac0945a624ac48913dd69c73aabf), [`c576fc0`](https://github.com/mastra-ai/mastra/commit/c576fc0b100b2085afded91a37c97a0ea0ec09c7), [`3defc80`](https://github.com/mastra-ai/mastra/commit/3defc80cf2b88a1b7fc1cc4ddcb91e982a614609), [`16153fe`](https://github.com/mastra-ai/mastra/commit/16153fe7eb13c99401f48e6ca32707c965ee28b9), [`9f4a683`](https://github.com/mastra-ai/mastra/commit/9f4a6833e88b52574665c028fd5508ad5c2f6004), [`bc94344`](https://github.com/mastra-ai/mastra/commit/bc943444a1342d8a662151b7bce1df7dae32f59c), [`57d157f`](https://github.com/mastra-ai/mastra/commit/57d157f0b163a95c3e6c9eae31bdb11d1bfc64f9), [`903f67d`](https://github.com/mastra-ai/mastra/commit/903f67d184504a273893818c02b961f5423a79ad), [`2a90c55`](https://github.com/mastra-ai/mastra/commit/2a90c55a86a9210697d5adaab5ee94584b079adc), [`eb09742`](https://github.com/mastra-ai/mastra/commit/eb09742197f66c4c38154c3beec78313e69760b2), [`96d35f6`](https://github.com/mastra-ai/mastra/commit/96d35f61376bc2b1bf148648a2c1985bd51bef55), [`5cbe88a`](https://github.com/mastra-ai/mastra/commit/5cbe88aefbd9f933bca669fd371ea36bf939ac6d), [`a1bd7b8`](https://github.com/mastra-ai/mastra/commit/a1bd7b8571db16b94eb01588f451a74758c96d65), [`d78b38d`](https://github.com/mastra-ai/mastra/commit/d78b38d898fce285260d3bbb4befade54331617f), [`0633100`](https://github.com/mastra-ai/mastra/commit/0633100a911ad22f5256471bdf753da21c104742), [`c710c16`](https://github.com/mastra-ai/mastra/commit/c710c1652dccfdc4111c8412bca7a6bb1d48b441), [`354ad0b`](https://github.com/mastra-ai/mastra/commit/354ad0b7b1b8183ac567f236a884fc7ede6d7138), [`cfae733`](https://github.com/mastra-ai/mastra/commit/cfae73394f4920635e6c919c8e95ff9a0788e2e5), [`e3dfda7`](https://github.com/mastra-ai/mastra/commit/e3dfda7b11bf3b8c4bb55637028befb5f387fc74), [`844ea5d`](https://github.com/mastra-ai/mastra/commit/844ea5dc0c248961e7bf73629ae7dcff503e853c), [`398fde3`](https://github.com/mastra-ai/mastra/commit/398fde3f39e707cda79372cdae8f9870e3b57c8d), [`f0f8f12`](https://github.com/mastra-ai/mastra/commit/f0f8f125c308f2d0fd36942ef652fd852df7522f), [`0d7618b`](https://github.com/mastra-ai/mastra/commit/0d7618bc650bf2800934b243eca5648f4aeed9c2), [`7b763e5`](https://github.com/mastra-ai/mastra/commit/7b763e52fc3eaf699c2a99f2adf418dd46e4e9a5), [`d36cfbb`](https://github.com/mastra-ai/mastra/commit/d36cfbbb6565ba5f827883cc9bb648eb14befdc1), [`3697853`](https://github.com/mastra-ai/mastra/commit/3697853deeb72017d90e0f38a93c1e29221aeca0), [`b2e45ec`](https://github.com/mastra-ai/mastra/commit/b2e45eca727a8db01a81ba93f1a5219c7183c839), [`d6d49f7`](https://github.com/mastra-ai/mastra/commit/d6d49f7b8714fa19a52ff9c7cf7fb7e73751901e), [`a534e95`](https://github.com/mastra-ai/mastra/commit/a534e9591f83b3cc1ebff99c67edf4cda7bf81d3), [`9d0e7fe`](https://github.com/mastra-ai/mastra/commit/9d0e7feca8ed98de959f53476ee1456073673348), [`53d927c`](https://github.com/mastra-ai/mastra/commit/53d927cc6f03bff33655b7e2b788da445a08731d), [`3f2faf2`](https://github.com/mastra-ai/mastra/commit/3f2faf2e2d685d6c053cc5af1bf9fedf267b2ce5), [`22f64bc`](https://github.com/mastra-ai/mastra/commit/22f64bc1d37149480b58bf2fefe35b79a1e3e7d5), [`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc), [`b7959e6`](https://github.com/mastra-ai/mastra/commit/b7959e6e25a46b480f9ea2217c4c6c588c423791), [`bda6370`](https://github.com/mastra-ai/mastra/commit/bda637009360649aaf579919e7873e33553c273e), [`d7acd8e`](https://github.com/mastra-ai/mastra/commit/d7acd8e987b5d7eff4fd98b0906c17c06a2e83d5), [`c7f1f7d`](https://github.com/mastra-ai/mastra/commit/c7f1f7d24f61f247f018cc2d1f33bf63212959a7), [`0bddc6d`](https://github.com/mastra-ai/mastra/commit/0bddc6d8dbd6f6008c0cba2e4960a2da75a55af1), [`735d8c1`](https://github.com/mastra-ai/mastra/commit/735d8c1c0d19fbc09e6f8b66cf41bc7655993838), [`acf322e`](https://github.com/mastra-ai/mastra/commit/acf322e0f1fd0189684cf529d91c694bea918a45), [`c942802`](https://github.com/mastra-ai/mastra/commit/c942802a477a925b01859a7b8688d4355715caaa), [`a0c8c1b`](https://github.com/mastra-ai/mastra/commit/a0c8c1b87d4fee252aebda73e8637fbe01d761c9), [`cc34739`](https://github.com/mastra-ai/mastra/commit/cc34739c34b6266a91bea561119240a7acf47887), [`c218bd3`](https://github.com/mastra-ai/mastra/commit/c218bd3759e32423735b04843a09404572631014), [`2c4438b`](https://github.com/mastra-ai/mastra/commit/2c4438b87817ab7eed818c7990fef010475af1a3), [`2b8893c`](https://github.com/mastra-ai/mastra/commit/2b8893cb108ef9acb72ee7835cd625610d2c1a4a), [`8e5c75b`](https://github.com/mastra-ai/mastra/commit/8e5c75bdb1d08a42d45309a4c72def4b6890230f), [`e59e0d3`](https://github.com/mastra-ai/mastra/commit/e59e0d32afb5fcf2c9f3c00c8f81f6c21d3a63fa), [`fa8409b`](https://github.com/mastra-ai/mastra/commit/fa8409bc39cfd8ba6643b9db5269b90b22e2a2f7), [`e7266a2`](https://github.com/mastra-ai/mastra/commit/e7266a278db02035c97a5e9cd9d1669a6b7a535d), [`173c535`](https://github.com/mastra-ai/mastra/commit/173c535c0645b0da404fe09f003778f0b0d4e019)]:
357
+ - @mastra/core@0.0.0-cloud-storage-adapter-20251106204059
358
+
359
+ ## 1.0.0-beta.0
360
+
361
+ ### Major Changes
362
+
363
+ - Moving scorers under the eval domain, api method consistency, prebuilt evals, scorers require ids. ([#9589](https://github.com/mastra-ai/mastra/pull/9589))
364
+
365
+ - Every Mastra primitive (agent, MCPServer, workflow, tool, processor, scorer, and vector) now has a get, list, and add method associated with it. Each primitive also now requires an id to be set. ([#9675](https://github.com/mastra-ai/mastra/pull/9675))
366
+
367
+ Primitives that are added to other primitives are also automatically added to the Mastra instance
368
+
369
+ - Update handlers to use `listWorkflowRuns` instead of `getWorkflowRuns`. Fix type names from `StoragelistThreadsByResourceIdInput/Output` to `StorageListThreadsByResourceIdInput/Output`. ([#9507](https://github.com/mastra-ai/mastra/pull/9507))
370
+
371
+ - **BREAKING:** Remove `getMessagesPaginated()` and add `perPage: false` support ([#9670](https://github.com/mastra-ai/mastra/pull/9670))
372
+
373
+ Removes deprecated `getMessagesPaginated()` method. The `listMessages()` API and score handlers now support `perPage: false` to fetch all records without pagination limits.
374
+
375
+ **Storage changes:**
376
+ - `StoragePagination.perPage` type changed from `number` to `number | false`
377
+ - All storage implementations support `perPage: false`:
378
+ - Memory: `listMessages()`
379
+ - Scores: `listScoresBySpan()`, `listScoresByRunId()`, `listScoresByExecutionId()`
380
+ - HTTP query parser accepts `"false"` string (e.g., `?perPage=false`)
381
+
382
+ **Memory changes:**
383
+ - `memory.query()` parameter type changed from `StorageGetMessagesArg` to `StorageListMessagesInput`
384
+ - Uses flat parameters (`page`, `perPage`, `include`, `filter`, `vectorSearchString`) instead of `selectBy` object
385
+
386
+ **Stricter validation:**
387
+ - `listMessages()` requires non-empty, non-whitespace `threadId` (throws error instead of returning empty results)
388
+
389
+ **Migration:**
390
+
391
+ ```typescript
392
+ // Storage/Memory: Replace getMessagesPaginated with listMessages
393
+ - storage.getMessagesPaginated({ threadId, selectBy: { pagination: { page: 0, perPage: 20 } } })
394
+ + storage.listMessages({ threadId, page: 0, perPage: 20 })
395
+ + storage.listMessages({ threadId, page: 0, perPage: false }) // Fetch all
396
+
397
+ // Memory: Replace selectBy with flat parameters
398
+ - memory.query({ threadId, selectBy: { last: 20, include: [...] } })
399
+ + memory.query({ threadId, perPage: 20, include: [...] })
400
+
401
+ // Client SDK
402
+ - thread.getMessagesPaginated({ selectBy: { pagination: { page: 0 } } })
403
+ + thread.listMessages({ page: 0, perPage: 20 })
404
+ ```
405
+
406
+ - # Major Changes ([#9695](https://github.com/mastra-ai/mastra/pull/9695))
407
+
408
+ ## Storage Layer
409
+
410
+ ### BREAKING: Removed `storage.getMessages()`
411
+
412
+ The `getMessages()` method has been removed from all storage implementations. Use `listMessages()` instead, which provides pagination support.
413
+
414
+ **Migration:**
415
+
416
+ ```typescript
417
+ // Before
418
+ const messages = await storage.getMessages({ threadId: 'thread-1' });
419
+
420
+ // After
421
+ const result = await storage.listMessages({
422
+ threadId: 'thread-1',
423
+ page: 0,
424
+ perPage: 50,
425
+ });
426
+ const messages = result.messages; // Access messages array
427
+ console.log(result.total); // Total count
428
+ console.log(result.hasMore); // Whether more pages exist
429
+ ```
430
+
431
+ ### Message ordering default
432
+
433
+ `listMessages()` defaults to ASC (oldest first) ordering by `createdAt`, matching the previous `getMessages()` behavior.
434
+
435
+ **To use DESC ordering (newest first):**
436
+
437
+ ```typescript
438
+ const result = await storage.listMessages({
439
+ threadId: 'thread-1',
440
+ orderBy: { field: 'createdAt', direction: 'DESC' },
441
+ });
442
+ ```
443
+
444
+ ## Client SDK
445
+
446
+ ### BREAKING: Renamed `client.getThreadMessages()` → `client.listThreadMessages()`
447
+
448
+ **Migration:**
449
+
450
+ ```typescript
451
+ // Before
452
+ const response = await client.getThreadMessages(threadId, { agentId });
453
+
454
+ // After
455
+ const response = await client.listThreadMessages(threadId, { agentId });
456
+ ```
457
+
458
+ The response format remains the same.
459
+
460
+ ## Type Changes
461
+
462
+ ### BREAKING: Removed `StorageGetMessagesArg` type
463
+
464
+ Use `StorageListMessagesInput` instead:
465
+
466
+ ```typescript
467
+ // Before
468
+ import type { StorageGetMessagesArg } from '@mastra/core';
469
+
470
+ // After
471
+ import type { StorageListMessagesInput } from '@mastra/core';
472
+ ```
473
+
474
+ - Bump minimum required Node.js version to 22.13.0 ([#9706](https://github.com/mastra-ai/mastra/pull/9706))
475
+
476
+ - Replace `getThreadsByResourceIdPaginated` with `listThreadsByResourceId` across memory handlers. Update client SDK to use `listThreads()` with `offset`/`limit` parameters instead of deprecated `getMemoryThreads()`. Consolidate `/api/memory/threads` routes to single paginated endpoint. ([#9508](https://github.com/mastra-ai/mastra/pull/9508))
477
+
478
+ - This simplifies the Memory API by removing the confusing rememberMessages method and renaming query to recall for better clarity. ([#9701](https://github.com/mastra-ai/mastra/pull/9701))
479
+
480
+ The rememberMessages method name implied it might persist data when it was actually just retrieving messages, same as query. Having two methods that did essentially the same thing was unnecessary.
481
+
482
+ Before:
483
+
484
+ ```typescript
485
+ // Two methods that did the same thing
486
+ memory.rememberMessages({ threadId, resourceId, config, vectorMessageSearch });
487
+ memory.query({ threadId, resourceId, perPage, vectorSearchString });
488
+ ```
489
+
490
+ After:
491
+
492
+ ```typescript
493
+ // Single unified method with clear purpose
494
+ memory.recall({ threadId, resourceId, perPage, vectorMessageSearch, threadConfig });
495
+ ```
496
+
497
+ All usages have been updated across the codebase including tests. The agent now calls recall directly with the appropriate parameters.
498
+
499
+ - Rename RuntimeContext to RequestContext ([#9511](https://github.com/mastra-ai/mastra/pull/9511))
500
+
501
+ - Rename `defaultVNextStreamOptions` to `defaultOptions`. Add "Legacy" suffix to v1 option properties and methods (`defaultGenerateOptions` → `defaultGenerateOptionsLegacy`, `defaultStreamOptions` → `defaultStreamOptionsLegacy`). ([#9535](https://github.com/mastra-ai/mastra/pull/9535))
502
+
503
+ - Remove `getThreadsByResourceId` and `getThreadsByResourceIdPaginated` methods from storage interfaces in favor of `listThreadsByResourceId`. The new method uses `offset`/`limit` pagination and a nested `orderBy` object structure (`{ field, direction }`). ([#9536](https://github.com/mastra-ai/mastra/pull/9536))
504
+
505
+ - Renamed a bunch of observability/tracing-related things to drop the AI prefix. ([#9744](https://github.com/mastra-ai/mastra/pull/9744))
506
+
507
+ - **Breaking Change**: Remove legacy v1 watch events and consolidate on v2 implementation. ([#9252](https://github.com/mastra-ai/mastra/pull/9252))
508
+
509
+ This change simplifies the workflow watching API by removing the legacy v1 event system and promoting v2 as the standard (renamed to just `watch`).
510
+
511
+ ### What's Changed
512
+ - Removed legacy v1 watch event handlers and types
513
+ - Renamed `watch-v2` to `watch` throughout the codebase
514
+ - Removed `.watch()` method from client-js SDK (`Workflow` and `AgentBuilder` classes)
515
+ - Removed `/watch` HTTP endpoints from server and deployer
516
+ - Removed `WorkflowWatchResult` and v1 `WatchEvent` types
517
+
518
+ - **BREAKING CHANGE**: Pagination APIs now use `page`/`perPage` instead of `offset`/`limit` ([#9592](https://github.com/mastra-ai/mastra/pull/9592))
519
+
520
+ All storage and memory pagination APIs have been updated to use `page` (0-indexed) and `perPage` instead of `offset` and `limit`, aligning with standard REST API patterns.
521
+
522
+ **Affected APIs:**
523
+ - `Memory.listThreadsByResourceId()`
524
+ - `Memory.listMessages()`
525
+ - `Storage.listWorkflowRuns()`
526
+
527
+ **Migration:**
528
+
529
+ ```typescript
530
+ // Before
531
+ await memory.listThreadsByResourceId({
532
+ resourceId: 'user-123',
533
+ offset: 20,
534
+ limit: 10,
535
+ });
536
+
537
+ // After
538
+ await memory.listThreadsByResourceId({
539
+ resourceId: 'user-123',
540
+ page: 2, // page = Math.floor(offset / limit)
541
+ perPage: 10,
542
+ });
543
+
544
+ // Before
545
+ await memory.listMessages({
546
+ threadId: 'thread-456',
547
+ offset: 20,
548
+ limit: 10,
549
+ });
550
+
551
+ // After
552
+ await memory.listMessages({
553
+ threadId: 'thread-456',
554
+ page: 2,
555
+ perPage: 10,
556
+ });
557
+
558
+ // Before
559
+ await storage.listWorkflowRuns({
560
+ workflowName: 'my-workflow',
561
+ offset: 20,
562
+ limit: 10,
563
+ });
564
+
565
+ // After
566
+ await storage.listWorkflowRuns({
567
+ workflowName: 'my-workflow',
568
+ page: 2,
569
+ perPage: 10,
570
+ });
571
+ ```
572
+
573
+ **Additional improvements:**
574
+ - Added validation for negative `page` values in all storage implementations
575
+ - Improved `perPage` validation to handle edge cases (negative values, `0`, `false`)
576
+ - Added reusable query parser utilities for consistent validation in handlers
577
+
578
+ - Changing getAgents -> listAgents, getTools -> listTools, getWorkflows -> listWorkflows ([#9495](https://github.com/mastra-ai/mastra/pull/9495))
579
+
580
+ - Removed old tracing code based on OpenTelemetry ([#9237](https://github.com/mastra-ai/mastra/pull/9237))
581
+
582
+ - Remove deprecated vector prompts and cohere provider from code ([#9596](https://github.com/mastra-ai/mastra/pull/9596))
583
+
584
+ - Mark as stable ([`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc))
585
+
586
+ - Enforcing id required on Processor primitive ([#9591](https://github.com/mastra-ai/mastra/pull/9591))
587
+
588
+ - Renamed `MastraMessageV2` to `MastraDBMessage` ([#9255](https://github.com/mastra-ai/mastra/pull/9255))
589
+ Made the return format of all methods that return db messages consistent. It's always `{ messages: MastraDBMessage[] }` now, and messages can be converted after that using `@mastra/ai-sdk/ui`'s `toAISdkV4/5Messages()` function
590
+
591
+ - moved ai-tracing code into @mastra/observability ([#9661](https://github.com/mastra-ai/mastra/pull/9661))
592
+
593
+ - Remove legacy evals from Mastra ([#9491](https://github.com/mastra-ai/mastra/pull/9491))
594
+
595
+ ### Minor Changes
596
+
597
+ - Update peer dependencies to match core package version bump (1.0.0) ([#9237](https://github.com/mastra-ai/mastra/pull/9237))
598
+
599
+ - **BREAKING CHANGE**: Memory scope defaults changed from 'thread' to 'resource' ([#8983](https://github.com/mastra-ai/mastra/pull/8983))
600
+
601
+ Both `workingMemory.scope` and `semanticRecall.scope` now default to `'resource'` instead of `'thread'`. This means:
602
+ - Working memory persists across all conversations for the same user/resource
603
+ - Semantic recall searches across all threads for the same user/resource
604
+
605
+ **Migration**: To maintain the previous thread-scoped behavior, explicitly set `scope: 'thread'`:
606
+
607
+ ```typescript
608
+ memory: new Memory({
609
+ storage,
610
+ workingMemory: {
611
+ enabled: true,
612
+ scope: 'thread', // Explicitly set for thread-scoped behavior
613
+ },
614
+ semanticRecall: {
615
+ scope: 'thread', // Explicitly set for thread-scoped behavior
616
+ },
617
+ }),
618
+ ```
619
+
620
+ See the [migration guide](https://mastra.ai/docs/guides/migrations/memory-scope-defaults) for more details.
621
+
622
+ Also fixed issues where playground semantic recall search could show missing or incorrect results in certain cases.
623
+
624
+ - Update peer dependencies to match core package version bump (1.0.0) ([#9495](https://github.com/mastra-ai/mastra/pull/9495))
625
+
626
+ - Update peer dependencies to match core package version bump (0.22.1) ([#8649](https://github.com/mastra-ai/mastra/pull/8649))
627
+
628
+ - Add observeStream support for agent-builder template installation ([#9372](https://github.com/mastra-ai/mastra/pull/9372))
629
+ - Add observeStream, observeStreamVNext, observeStreamLegacy, and resumeStream methods to agent-builder client SDK
630
+ - Add corresponding server handlers and deployer routes for observe streaming
631
+ - Add tracingOptions parameter to existing agent-builder handlers for parity with workflows
632
+ - Update template installation processor to support both legacy and VNext streaming event formats
633
+
634
+ - Update peer dependencies to match core package version bump (0.22.0) ([#8983](https://github.com/mastra-ai/mastra/pull/8983))
635
+
636
+ - Update peer dependencies to match core package version bump (1.0.0) ([#9491](https://github.com/mastra-ai/mastra/pull/9491))
637
+
638
+ ### Patch Changes
639
+
640
+ - Make step optional in all resume APIs ([#9454](https://github.com/mastra-ai/mastra/pull/9454))
641
+
642
+ - Add agent id to the list agent ([#9770](https://github.com/mastra-ai/mastra/pull/9770))
643
+
644
+ - Update tool execution signature ([#9587](https://github.com/mastra-ai/mastra/pull/9587))
645
+
646
+ Consolidated the 3 different execution contexts to one
647
+
648
+ ```typescript
649
+ // before depending on the context the tool was executed in
650
+ tool.execute({ context: data });
651
+ tool.execute({ context: { inputData: data } });
652
+ tool.execute(data);
653
+
654
+ // now, for all contexts
655
+ tool.execute(data, context);
656
+ ```
657
+
658
+ **Before:**
659
+
660
+ ```typescript
661
+ inputSchema: z.object({ something: z.string() }),
662
+ execute: async ({ context, tracingContext, runId, ... }) => {
663
+ return doSomething(context.string);
664
+ }
665
+ ```
666
+
667
+ **After:**
668
+
669
+ ```typescript
670
+ inputSchema: z.object({ something: z.string() }),
671
+ execute: async (inputData, context) => {
672
+ const { agent, mcp, workflow, ...sharedContext } = context
673
+
674
+ // context that only an agent would get like toolCallId, messages, suspend, resume, etc
675
+ if (agent) {
676
+ doSomething(inputData.something, agent)
677
+ // context that only a workflow would get like runId, state, suspend, resume, etc
678
+ } else if (workflow) {
679
+ doSomething(inputData.something, workflow)
680
+ // context that only a workflow would get like "extra", "elicitation"
681
+ } else if (mcp) {
682
+ doSomething(inputData.something, mcp)
683
+ } else {
684
+ // Running a tool in no execution context
685
+ return doSomething(inputData.something);
686
+ }
687
+ }
688
+ ```
689
+
690
+ - Add the description field to listAgents ([#9672](https://github.com/mastra-ai/mastra/pull/9672))
691
+
692
+ - Fix the link issue in observability ([#9764](https://github.com/mastra-ai/mastra/pull/9764))
693
+
694
+ - Add tool call approval ([#8649](https://github.com/mastra-ai/mastra/pull/8649))
695
+
696
+ - Fix scorers listing filtring ([#9801](https://github.com/mastra-ai/mastra/pull/9801))
697
+
698
+ - Fixes issue where clicking the reset button in the model picker would fail to restore the original LanguageModelV2 (or any other types) object that was passed during agent construction. ([#9481](https://github.com/mastra-ai/mastra/pull/9481))
699
+
700
+ - Update peer dependencies to match core package version bump (1.0.0) ([#9489](https://github.com/mastra-ai/mastra/pull/9489))
701
+
702
+ - Fix undefined runtimeContext using memory from playground ([#9328](https://github.com/mastra-ai/mastra/pull/9328))
703
+
704
+ - Make step optional in resumeStreamVNext API ([#9453](https://github.com/mastra-ai/mastra/pull/9453))
705
+
706
+ - Remove `waitForEvent` from workflows. `waitForEvent` is now removed, please use suspend & resume flow instead. See https://mastra.ai/en/docs/workflows/suspend-and-resume for more details on suspend & resume flow. ([#9214](https://github.com/mastra-ai/mastra/pull/9214))
707
+
708
+ - Use memory mock in server tests ([#9486](https://github.com/mastra-ai/mastra/pull/9486))
709
+
710
+ - Remove format from stream/generate ([#9577](https://github.com/mastra-ai/mastra/pull/9577))
711
+
712
+ - Updated dependencies [[`39c9743`](https://github.com/mastra-ai/mastra/commit/39c97432d084294f8ba85fbf3ef28098ff21459e), [`f743dbb`](https://github.com/mastra-ai/mastra/commit/f743dbb8b40d1627b5c10c0e6fc154f4ebb6e394), [`fec5129`](https://github.com/mastra-ai/mastra/commit/fec5129de7fc64423ea03661a56cef31dc747a0d), [`0491e7c`](https://github.com/mastra-ai/mastra/commit/0491e7c9b714cb0ba22187ee062147ec2dd7c712), [`f6f4903`](https://github.com/mastra-ai/mastra/commit/f6f4903397314f73362061dc5a3e8e7c61ea34aa), [`0e8ed46`](https://github.com/mastra-ai/mastra/commit/0e8ed467c54d6901a6a365f270ec15d6faadb36c), [`6c049d9`](https://github.com/mastra-ai/mastra/commit/6c049d94063fdcbd5b81c4912a2bf82a92c9cc0b), [`2f897df`](https://github.com/mastra-ai/mastra/commit/2f897df208508f46f51b7625e5dd20c37f93e0e3), [`3443770`](https://github.com/mastra-ai/mastra/commit/3443770662df8eb24c9df3589b2792d78cfcb811), [`f0a07e0`](https://github.com/mastra-ai/mastra/commit/f0a07e0111b3307c5fabfa4094c5c2cfb734fbe6), [`aaa40e7`](https://github.com/mastra-ai/mastra/commit/aaa40e788628b319baa8e889407d11ad626547fa), [`1521d71`](https://github.com/mastra-ai/mastra/commit/1521d716e5daedc74690c983fbd961123c56756b), [`9e1911d`](https://github.com/mastra-ai/mastra/commit/9e1911db2b4db85e0e768c3f15e0d61e319869f6), [`ebac155`](https://github.com/mastra-ai/mastra/commit/ebac15564a590117db7078233f927a7e28a85106), [`dd1c38d`](https://github.com/mastra-ai/mastra/commit/dd1c38d1b75f1b695c27b40d8d9d6ed00d5e0f6f), [`5948e6a`](https://github.com/mastra-ai/mastra/commit/5948e6a5146c83666ba3f294b2be576c82a513fb), [`8940859`](https://github.com/mastra-ai/mastra/commit/89408593658199b4ad67f7b65e888f344e64a442), [`e629310`](https://github.com/mastra-ai/mastra/commit/e629310f1a73fa236d49ec7a1d1cceb6229dc7cc), [`4c6b492`](https://github.com/mastra-ai/mastra/commit/4c6b492c4dd591c6a592520c1f6855d6e936d71f), [`dff01d8`](https://github.com/mastra-ai/mastra/commit/dff01d81ce1f4e4087cfac20fa868e6db138dd14), [`9d819d5`](https://github.com/mastra-ai/mastra/commit/9d819d54b61481639f4008e4694791bddf187edd), [`71c8d6c`](https://github.com/mastra-ai/mastra/commit/71c8d6c161253207b2b9588bdadb7eed604f7253), [`6179a9b`](https://github.com/mastra-ai/mastra/commit/6179a9ba36ffac326de3cc3c43cdc8028d37c251), [`00f4921`](https://github.com/mastra-ai/mastra/commit/00f4921dd2c91a1e5446799599ef7116a8214a1a), [`ca8041c`](https://github.com/mastra-ai/mastra/commit/ca8041cce0379fda22ed293a565bcb5b6ddca68a), [`7051bf3`](https://github.com/mastra-ai/mastra/commit/7051bf38b3b122a069008f861f7bfc004a6d9f6e), [`a8f1494`](https://github.com/mastra-ai/mastra/commit/a8f1494f4bbdc2770bcf327d4c7d869e332183f1), [`0793497`](https://github.com/mastra-ai/mastra/commit/079349753620c40246ffd673e3f9d7d9820beff3), [`5df9cce`](https://github.com/mastra-ai/mastra/commit/5df9cce1a753438413f64c11eeef8f845745c2a8), [`a854ede`](https://github.com/mastra-ai/mastra/commit/a854ede62bf5ac0945a624ac48913dd69c73aabf), [`c576fc0`](https://github.com/mastra-ai/mastra/commit/c576fc0b100b2085afded91a37c97a0ea0ec09c7), [`3defc80`](https://github.com/mastra-ai/mastra/commit/3defc80cf2b88a1b7fc1cc4ddcb91e982a614609), [`16153fe`](https://github.com/mastra-ai/mastra/commit/16153fe7eb13c99401f48e6ca32707c965ee28b9), [`9f4a683`](https://github.com/mastra-ai/mastra/commit/9f4a6833e88b52574665c028fd5508ad5c2f6004), [`bc94344`](https://github.com/mastra-ai/mastra/commit/bc943444a1342d8a662151b7bce1df7dae32f59c), [`57d157f`](https://github.com/mastra-ai/mastra/commit/57d157f0b163a95c3e6c9eae31bdb11d1bfc64f9), [`903f67d`](https://github.com/mastra-ai/mastra/commit/903f67d184504a273893818c02b961f5423a79ad), [`2a90c55`](https://github.com/mastra-ai/mastra/commit/2a90c55a86a9210697d5adaab5ee94584b079adc), [`eb09742`](https://github.com/mastra-ai/mastra/commit/eb09742197f66c4c38154c3beec78313e69760b2), [`96d35f6`](https://github.com/mastra-ai/mastra/commit/96d35f61376bc2b1bf148648a2c1985bd51bef55), [`5cbe88a`](https://github.com/mastra-ai/mastra/commit/5cbe88aefbd9f933bca669fd371ea36bf939ac6d), [`a1bd7b8`](https://github.com/mastra-ai/mastra/commit/a1bd7b8571db16b94eb01588f451a74758c96d65), [`d78b38d`](https://github.com/mastra-ai/mastra/commit/d78b38d898fce285260d3bbb4befade54331617f), [`0633100`](https://github.com/mastra-ai/mastra/commit/0633100a911ad22f5256471bdf753da21c104742), [`c710c16`](https://github.com/mastra-ai/mastra/commit/c710c1652dccfdc4111c8412bca7a6bb1d48b441), [`354ad0b`](https://github.com/mastra-ai/mastra/commit/354ad0b7b1b8183ac567f236a884fc7ede6d7138), [`cfae733`](https://github.com/mastra-ai/mastra/commit/cfae73394f4920635e6c919c8e95ff9a0788e2e5), [`e3dfda7`](https://github.com/mastra-ai/mastra/commit/e3dfda7b11bf3b8c4bb55637028befb5f387fc74), [`844ea5d`](https://github.com/mastra-ai/mastra/commit/844ea5dc0c248961e7bf73629ae7dcff503e853c), [`398fde3`](https://github.com/mastra-ai/mastra/commit/398fde3f39e707cda79372cdae8f9870e3b57c8d), [`f0f8f12`](https://github.com/mastra-ai/mastra/commit/f0f8f125c308f2d0fd36942ef652fd852df7522f), [`0d7618b`](https://github.com/mastra-ai/mastra/commit/0d7618bc650bf2800934b243eca5648f4aeed9c2), [`7b763e5`](https://github.com/mastra-ai/mastra/commit/7b763e52fc3eaf699c2a99f2adf418dd46e4e9a5), [`d36cfbb`](https://github.com/mastra-ai/mastra/commit/d36cfbbb6565ba5f827883cc9bb648eb14befdc1), [`3697853`](https://github.com/mastra-ai/mastra/commit/3697853deeb72017d90e0f38a93c1e29221aeca0), [`b2e45ec`](https://github.com/mastra-ai/mastra/commit/b2e45eca727a8db01a81ba93f1a5219c7183c839), [`d6d49f7`](https://github.com/mastra-ai/mastra/commit/d6d49f7b8714fa19a52ff9c7cf7fb7e73751901e), [`a534e95`](https://github.com/mastra-ai/mastra/commit/a534e9591f83b3cc1ebff99c67edf4cda7bf81d3), [`9d0e7fe`](https://github.com/mastra-ai/mastra/commit/9d0e7feca8ed98de959f53476ee1456073673348), [`53d927c`](https://github.com/mastra-ai/mastra/commit/53d927cc6f03bff33655b7e2b788da445a08731d), [`3f2faf2`](https://github.com/mastra-ai/mastra/commit/3f2faf2e2d685d6c053cc5af1bf9fedf267b2ce5), [`22f64bc`](https://github.com/mastra-ai/mastra/commit/22f64bc1d37149480b58bf2fefe35b79a1e3e7d5), [`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc), [`b7959e6`](https://github.com/mastra-ai/mastra/commit/b7959e6e25a46b480f9ea2217c4c6c588c423791), [`bda6370`](https://github.com/mastra-ai/mastra/commit/bda637009360649aaf579919e7873e33553c273e), [`d7acd8e`](https://github.com/mastra-ai/mastra/commit/d7acd8e987b5d7eff4fd98b0906c17c06a2e83d5), [`c7f1f7d`](https://github.com/mastra-ai/mastra/commit/c7f1f7d24f61f247f018cc2d1f33bf63212959a7), [`0bddc6d`](https://github.com/mastra-ai/mastra/commit/0bddc6d8dbd6f6008c0cba2e4960a2da75a55af1), [`735d8c1`](https://github.com/mastra-ai/mastra/commit/735d8c1c0d19fbc09e6f8b66cf41bc7655993838), [`acf322e`](https://github.com/mastra-ai/mastra/commit/acf322e0f1fd0189684cf529d91c694bea918a45), [`c942802`](https://github.com/mastra-ai/mastra/commit/c942802a477a925b01859a7b8688d4355715caaa), [`a0c8c1b`](https://github.com/mastra-ai/mastra/commit/a0c8c1b87d4fee252aebda73e8637fbe01d761c9), [`cc34739`](https://github.com/mastra-ai/mastra/commit/cc34739c34b6266a91bea561119240a7acf47887), [`c218bd3`](https://github.com/mastra-ai/mastra/commit/c218bd3759e32423735b04843a09404572631014), [`2c4438b`](https://github.com/mastra-ai/mastra/commit/2c4438b87817ab7eed818c7990fef010475af1a3), [`2b8893c`](https://github.com/mastra-ai/mastra/commit/2b8893cb108ef9acb72ee7835cd625610d2c1a4a), [`8e5c75b`](https://github.com/mastra-ai/mastra/commit/8e5c75bdb1d08a42d45309a4c72def4b6890230f), [`e59e0d3`](https://github.com/mastra-ai/mastra/commit/e59e0d32afb5fcf2c9f3c00c8f81f6c21d3a63fa), [`fa8409b`](https://github.com/mastra-ai/mastra/commit/fa8409bc39cfd8ba6643b9db5269b90b22e2a2f7), [`173c535`](https://github.com/mastra-ai/mastra/commit/173c535c0645b0da404fe09f003778f0b0d4e019)]:
713
+ - @mastra/core@1.0.0-beta.0
714
+
715
+ ## 0.22.2
716
+
717
+ ### Patch Changes
718
+
719
+ - Updated dependencies [[`2b031e2`](https://github.com/mastra-ai/mastra/commit/2b031e25ca10cd3e4d63e6a27f909cba26d91405)]:
720
+ - @mastra/core@0.22.2
721
+
722
+ ## 0.22.2-alpha.0
723
+
724
+ ### Patch Changes
725
+
726
+ - Updated dependencies [[`2b031e2`](https://github.com/mastra-ai/mastra/commit/2b031e25ca10cd3e4d63e6a27f909cba26d91405)]:
727
+ - @mastra/core@0.22.2-alpha.0
728
+
729
+ ## 0.22.1
730
+
731
+ ### Patch Changes
732
+
733
+ - Get agent registered on a parent agent via API ([#9106](https://github.com/mastra-ai/mastra/pull/9106))
734
+
735
+ - Updated dependencies []:
736
+ - @mastra/core@0.22.1
737
+
738
+ ## 0.22.1-alpha.0
739
+
740
+ ### Patch Changes
741
+
742
+ - Get agent registered on a parent agent via API ([#9106](https://github.com/mastra-ai/mastra/pull/9106))
743
+
744
+ - Updated dependencies []:
745
+ - @mastra/core@0.22.1-alpha.0
746
+
747
+ ## 0.22.0
748
+
749
+ ### Minor Changes
750
+
751
+ - Consolidate streamVNext logic into stream, move old stream function into streamLegacy ([#9092](https://github.com/mastra-ai/mastra/pull/9092))
752
+
753
+ - Update peer dependencies to match core package version bump (0.21.2) ([#9038](https://github.com/mastra-ai/mastra/pull/9038))
754
+
755
+ - Update peer dependencies to match core package version bump (0.22.0) ([#9092](https://github.com/mastra-ai/mastra/pull/9092))
756
+
757
+ - Update peer dependencies to match core package version bump (0.21.2) ([#9021](https://github.com/mastra-ai/mastra/pull/9021))
758
+
759
+ ### Patch Changes
760
+
761
+ - Updated `watch` and `watchAsync` methods to use proper function overloads instead of generic conditional types, ensuring compatibility with the base Run class signatures. ([#9048](https://github.com/mastra-ai/mastra/pull/9048))
762
+
763
+ - Generate a title for Agent.network() threads ([#8853](https://github.com/mastra-ai/mastra/pull/8853))
764
+
765
+ - Fix custom metadata preservation in UIMessages when loading threads. The `getMessagesHandler` now converts `messagesV2` (V2 format with metadata) instead of `messages` (V1 format without metadata) to AIV5.UI format. Also updates the abstract `MastraMemory.query()` return type to include `messagesV2` for proper type safety. ([#9029](https://github.com/mastra-ai/mastra/pull/9029))
766
+
767
+ - Fix provider tools for popular providers and add support for anthropic/claude skills. ([#9038](https://github.com/mastra-ai/mastra/pull/9038))
768
+
769
+ - Show agent tool output better in playground ([#9021](https://github.com/mastra-ai/mastra/pull/9021))
770
+
771
+ - Update peerdeps to 0.23.0-0 ([#9043](https://github.com/mastra-ai/mastra/pull/9043))
772
+
773
+ - Updated dependencies [[`c67ca32`](https://github.com/mastra-ai/mastra/commit/c67ca32e3c2cf69bfc146580770c720220ca44ac), [`efb5ed9`](https://github.com/mastra-ai/mastra/commit/efb5ed946ae7f410bc68c9430beb4b010afd25ec), [`dbc9e12`](https://github.com/mastra-ai/mastra/commit/dbc9e1216ba575ba59ead4afb727a01215f7de4f), [`99e41b9`](https://github.com/mastra-ai/mastra/commit/99e41b94957cdd25137d3ac12e94e8b21aa01b68), [`c28833c`](https://github.com/mastra-ai/mastra/commit/c28833c5b6d8e10eeffd7f7d39129d53b8bca240), [`8ea07b4`](https://github.com/mastra-ai/mastra/commit/8ea07b4bdc73e4218437dbb6dcb0f4b23e745a44), [`ba201b8`](https://github.com/mastra-ai/mastra/commit/ba201b8f8feac4c72350f2dbd52c13c7297ba7b0), [`f053e89`](https://github.com/mastra-ai/mastra/commit/f053e89160dbd0bd3333fc3492f68231b5c7c349), [`4fc4136`](https://github.com/mastra-ai/mastra/commit/4fc413652866a8d2240694fddb2562e9edbb70df), [`b78e04d`](https://github.com/mastra-ai/mastra/commit/b78e04d935a16ecb1e59c5c96e564903527edddd), [`d10baf5`](https://github.com/mastra-ai/mastra/commit/d10baf5a3c924f2a6654e23a3e318ed03f189b76), [`038c55a`](https://github.com/mastra-ai/mastra/commit/038c55a7090fc1b1513a966386d3072617f836ac), [`182f045`](https://github.com/mastra-ai/mastra/commit/182f0458f25bd70aa774e64fd923c8a483eddbf1), [`9a1a485`](https://github.com/mastra-ai/mastra/commit/9a1a4859b855e37239f652bf14b1ecd1029b8c4e), [`9257233`](https://github.com/mastra-ai/mastra/commit/9257233c4ffce09b2bedc2a9adbd70d7a83fa8e2), [`7620d2b`](https://github.com/mastra-ai/mastra/commit/7620d2bddeb4fae4c3c0a0b4e672969795fca11a), [`b2365f0`](https://github.com/mastra-ai/mastra/commit/b2365f038dd4c5f06400428b224af963f399ad50), [`0f1a4c9`](https://github.com/mastra-ai/mastra/commit/0f1a4c984fb4b104b2f0b63ba18c9fa77f567700), [`9029ba3`](https://github.com/mastra-ai/mastra/commit/9029ba34459c8859fed4c6b73efd8e2d0021e7ba), [`426cc56`](https://github.com/mastra-ai/mastra/commit/426cc561c85ae76a112ded2385532a91f9f9f074), [`00931fb`](https://github.com/mastra-ai/mastra/commit/00931fb1a21aa42c4fbc20c2c40dd62466b8fc8f), [`e473bfe`](https://github.com/mastra-ai/mastra/commit/e473bfe416c0b8e876973c2b6a6f13c394b7a93f), [`b78e04d`](https://github.com/mastra-ai/mastra/commit/b78e04d935a16ecb1e59c5c96e564903527edddd), [`2db6160`](https://github.com/mastra-ai/mastra/commit/2db6160e2022ff8827c15d30157e684683b934b5), [`8aeea37`](https://github.com/mastra-ai/mastra/commit/8aeea37efdde347c635a67fed56794943b7f74ec), [`02fe153`](https://github.com/mastra-ai/mastra/commit/02fe15351d6021d214da48ec982a0e9e4150bcee), [`648e2ca`](https://github.com/mastra-ai/mastra/commit/648e2ca42da54838c6ccbdaadc6fadd808fa6b86), [`74567b3`](https://github.com/mastra-ai/mastra/commit/74567b3d237ae3915cd0bca3cf55fa0a64e4e4a4), [`b65c5e0`](https://github.com/mastra-ai/mastra/commit/b65c5e0fe6f3c390a9a8bbcf69304d972c3a4afb), [`15a1733`](https://github.com/mastra-ai/mastra/commit/15a1733074cee8bd37370e1af34cd818e89fa7ac), [`fc2a774`](https://github.com/mastra-ai/mastra/commit/fc2a77468981aaddc3e77f83f0c4ad4a4af140da), [`4e08933`](https://github.com/mastra-ai/mastra/commit/4e08933625464dfde178347af5b6278fcf34188e)]:
774
+ - @mastra/core@0.22.0
775
+
776
+ ## 0.22.0-alpha.1
777
+
778
+ ### Minor Changes
779
+
780
+ - Consolidate streamVNext logic into stream, move old stream function into streamLegacy ([#9092](https://github.com/mastra-ai/mastra/pull/9092))
781
+
782
+ - Update peer dependencies to match core package version bump (0.21.2) ([#9038](https://github.com/mastra-ai/mastra/pull/9038))
783
+
784
+ - Update peer dependencies to match core package version bump (0.22.0) ([#9092](https://github.com/mastra-ai/mastra/pull/9092))
785
+
786
+ - Update peer dependencies to match core package version bump (0.21.2) ([#9021](https://github.com/mastra-ai/mastra/pull/9021))
787
+
788
+ ### Patch Changes
789
+
790
+ - Updated `watch` and `watchAsync` methods to use proper function overloads instead of generic conditional types, ensuring compatibility with the base Run class signatures. ([#9048](https://github.com/mastra-ai/mastra/pull/9048))
791
+
792
+ - Fix custom metadata preservation in UIMessages when loading threads. The `getMessagesHandler` now converts `messagesV2` (V2 format with metadata) instead of `messages` (V1 format without metadata) to AIV5.UI format. Also updates the abstract `MastraMemory.query()` return type to include `messagesV2` for proper type safety. ([#9029](https://github.com/mastra-ai/mastra/pull/9029))
793
+
794
+ - Fix provider tools for popular providers and add support for anthropic/claude skills. ([#9038](https://github.com/mastra-ai/mastra/pull/9038))
795
+
796
+ - Show agent tool output better in playground ([#9021](https://github.com/mastra-ai/mastra/pull/9021))
797
+
798
+ - Update peerdeps to 0.23.0-0 ([#9043](https://github.com/mastra-ai/mastra/pull/9043))
799
+
800
+ - Updated dependencies [[`efb5ed9`](https://github.com/mastra-ai/mastra/commit/efb5ed946ae7f410bc68c9430beb4b010afd25ec), [`8ea07b4`](https://github.com/mastra-ai/mastra/commit/8ea07b4bdc73e4218437dbb6dcb0f4b23e745a44), [`ba201b8`](https://github.com/mastra-ai/mastra/commit/ba201b8f8feac4c72350f2dbd52c13c7297ba7b0), [`4fc4136`](https://github.com/mastra-ai/mastra/commit/4fc413652866a8d2240694fddb2562e9edbb70df), [`b78e04d`](https://github.com/mastra-ai/mastra/commit/b78e04d935a16ecb1e59c5c96e564903527edddd), [`d10baf5`](https://github.com/mastra-ai/mastra/commit/d10baf5a3c924f2a6654e23a3e318ed03f189b76), [`038c55a`](https://github.com/mastra-ai/mastra/commit/038c55a7090fc1b1513a966386d3072617f836ac), [`182f045`](https://github.com/mastra-ai/mastra/commit/182f0458f25bd70aa774e64fd923c8a483eddbf1), [`7620d2b`](https://github.com/mastra-ai/mastra/commit/7620d2bddeb4fae4c3c0a0b4e672969795fca11a), [`b2365f0`](https://github.com/mastra-ai/mastra/commit/b2365f038dd4c5f06400428b224af963f399ad50), [`9029ba3`](https://github.com/mastra-ai/mastra/commit/9029ba34459c8859fed4c6b73efd8e2d0021e7ba), [`426cc56`](https://github.com/mastra-ai/mastra/commit/426cc561c85ae76a112ded2385532a91f9f9f074), [`00931fb`](https://github.com/mastra-ai/mastra/commit/00931fb1a21aa42c4fbc20c2c40dd62466b8fc8f), [`e473bfe`](https://github.com/mastra-ai/mastra/commit/e473bfe416c0b8e876973c2b6a6f13c394b7a93f), [`b78e04d`](https://github.com/mastra-ai/mastra/commit/b78e04d935a16ecb1e59c5c96e564903527edddd), [`648e2ca`](https://github.com/mastra-ai/mastra/commit/648e2ca42da54838c6ccbdaadc6fadd808fa6b86), [`b65c5e0`](https://github.com/mastra-ai/mastra/commit/b65c5e0fe6f3c390a9a8bbcf69304d972c3a4afb)]:
801
+ - @mastra/core@0.22.0-alpha.1
802
+
803
+ ## 0.21.2-alpha.0
804
+
805
+ ### Patch Changes
806
+
807
+ - Generate a title for Agent.network() threads ([#8853](https://github.com/mastra-ai/mastra/pull/8853))
808
+
809
+ - Updated dependencies [[`c67ca32`](https://github.com/mastra-ai/mastra/commit/c67ca32e3c2cf69bfc146580770c720220ca44ac), [`dbc9e12`](https://github.com/mastra-ai/mastra/commit/dbc9e1216ba575ba59ead4afb727a01215f7de4f), [`99e41b9`](https://github.com/mastra-ai/mastra/commit/99e41b94957cdd25137d3ac12e94e8b21aa01b68), [`c28833c`](https://github.com/mastra-ai/mastra/commit/c28833c5b6d8e10eeffd7f7d39129d53b8bca240), [`f053e89`](https://github.com/mastra-ai/mastra/commit/f053e89160dbd0bd3333fc3492f68231b5c7c349), [`9a1a485`](https://github.com/mastra-ai/mastra/commit/9a1a4859b855e37239f652bf14b1ecd1029b8c4e), [`9257233`](https://github.com/mastra-ai/mastra/commit/9257233c4ffce09b2bedc2a9adbd70d7a83fa8e2), [`0f1a4c9`](https://github.com/mastra-ai/mastra/commit/0f1a4c984fb4b104b2f0b63ba18c9fa77f567700), [`2db6160`](https://github.com/mastra-ai/mastra/commit/2db6160e2022ff8827c15d30157e684683b934b5), [`8aeea37`](https://github.com/mastra-ai/mastra/commit/8aeea37efdde347c635a67fed56794943b7f74ec), [`02fe153`](https://github.com/mastra-ai/mastra/commit/02fe15351d6021d214da48ec982a0e9e4150bcee), [`74567b3`](https://github.com/mastra-ai/mastra/commit/74567b3d237ae3915cd0bca3cf55fa0a64e4e4a4), [`15a1733`](https://github.com/mastra-ai/mastra/commit/15a1733074cee8bd37370e1af34cd818e89fa7ac), [`fc2a774`](https://github.com/mastra-ai/mastra/commit/fc2a77468981aaddc3e77f83f0c4ad4a4af140da), [`4e08933`](https://github.com/mastra-ai/mastra/commit/4e08933625464dfde178347af5b6278fcf34188e)]:
810
+ - @mastra/core@0.21.2-alpha.0
811
+
812
+ ## 0.21.1
813
+
814
+ ### Patch Changes
815
+
816
+ - Updated dependencies [[`ca85c93`](https://github.com/mastra-ai/mastra/commit/ca85c932b232e6ad820c811ec176d98e68c59b0a), [`a1d40f8`](https://github.com/mastra-ai/mastra/commit/a1d40f88d4ce42c4508774ad22e38ac582157af2), [`01c4a25`](https://github.com/mastra-ai/mastra/commit/01c4a2506c514d5e861c004d3d2fb3791c6391f3), [`cce8aad`](https://github.com/mastra-ai/mastra/commit/cce8aad878a0dd98e5647680f3765caba0b1701c)]:
817
+ - @mastra/core@0.21.1
818
+
819
+ ## 0.21.1-alpha.0
820
+
821
+ ### Patch Changes
822
+
823
+ - Updated dependencies [[`ca85c93`](https://github.com/mastra-ai/mastra/commit/ca85c932b232e6ad820c811ec176d98e68c59b0a), [`a1d40f8`](https://github.com/mastra-ai/mastra/commit/a1d40f88d4ce42c4508774ad22e38ac582157af2), [`01c4a25`](https://github.com/mastra-ai/mastra/commit/01c4a2506c514d5e861c004d3d2fb3791c6391f3), [`cce8aad`](https://github.com/mastra-ai/mastra/commit/cce8aad878a0dd98e5647680f3765caba0b1701c)]:
824
+ - @mastra/core@0.21.1-alpha.0
825
+
826
+ ## 0.21.0
827
+
828
+ ### Minor Changes
829
+
830
+ - Update structuredOutput to use response format by default with an opt in to json prompt injection. ([#8557](https://github.com/mastra-ai/mastra/pull/8557))
831
+ Replaced internal usage of output with structuredOutput.
832
+
833
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8557](https://github.com/mastra-ai/mastra/pull/8557))
834
+
835
+ ### Patch Changes
836
+
837
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8619](https://github.com/mastra-ai/mastra/pull/8619))
838
+
839
+ - Include span id and trace id when running live scorers ([#8842](https://github.com/mastra-ai/mastra/pull/8842))
840
+
841
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8626](https://github.com/mastra-ai/mastra/pull/8626))
842
+
843
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8686](https://github.com/mastra-ai/mastra/pull/8686))
844
+
845
+ - Updated dependencies [[`1ed9670`](https://github.com/mastra-ai/mastra/commit/1ed9670d3ca50cb60dc2e517738c5eef3968ed27), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`f59fc1e`](https://github.com/mastra-ai/mastra/commit/f59fc1e406b8912e692f6bff6cfd4754cc8d165c), [`158381d`](https://github.com/mastra-ai/mastra/commit/158381d39335be934b81ef8a1947bccace492c25), [`a1799bc`](https://github.com/mastra-ai/mastra/commit/a1799bcc1b5a1cdc188f2ac0165f17a1c4ac6f7b), [`6ff6094`](https://github.com/mastra-ai/mastra/commit/6ff60946f4ecfebdeef6e21d2b230c2204f2c9b8), [`fb703b9`](https://github.com/mastra-ai/mastra/commit/fb703b9634eeaff1a6eb2b5531ce0f9e8fb04727), [`37a2314`](https://github.com/mastra-ai/mastra/commit/37a23148e0e5a3b40d4f9f098b194671a8a49faf), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`05a9dee`](https://github.com/mastra-ai/mastra/commit/05a9dee3d355694d28847bfffb6289657fcf7dfa), [`e3c1077`](https://github.com/mastra-ai/mastra/commit/e3c107763aedd1643d3def5df450c235da9ff76c), [`1908ca0`](https://github.com/mastra-ai/mastra/commit/1908ca0521f90e43779cc29ab590173ca560443c), [`1bccdb3`](https://github.com/mastra-ai/mastra/commit/1bccdb33eb90cbeba2dc5ece1c2561fb774b26b6), [`5ef944a`](https://github.com/mastra-ai/mastra/commit/5ef944a3721d93105675cac2b2311432ff8cc393), [`d6b186f`](https://github.com/mastra-ai/mastra/commit/d6b186fb08f1caf1b86f73d3a5ee88fb999ca3be), [`ee68e82`](https://github.com/mastra-ai/mastra/commit/ee68e8289ea4408d29849e899bc6e78b3bd4e843), [`228228b`](https://github.com/mastra-ai/mastra/commit/228228b0b1de9291cb8887587f5cea1a8757ebad), [`ea33930`](https://github.com/mastra-ai/mastra/commit/ea339301e82d6318257720d811b043014ee44064), [`65493b3`](https://github.com/mastra-ai/mastra/commit/65493b31c36f6fdb78f9679f7e1ecf0c250aa5ee), [`a998b8f`](https://github.com/mastra-ai/mastra/commit/a998b8f858091c2ec47683e60766cf12d03001e4), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`8a37bdd`](https://github.com/mastra-ai/mastra/commit/8a37bddb6d8614a32c5b70303d583d80c620ea61), [`135d6f2`](https://github.com/mastra-ai/mastra/commit/135d6f22a326ed1dffff858700669dff09d2c9eb)]:
846
+ - @mastra/core@0.21.0
847
+
848
+ ## 0.21.0-alpha.4
849
+
850
+ ### Patch Changes
851
+
852
+ - Include span id and trace id when running live scorers ([#8842](https://github.com/mastra-ai/mastra/pull/8842))
853
+
854
+ - Updated dependencies [[`1908ca0`](https://github.com/mastra-ai/mastra/commit/1908ca0521f90e43779cc29ab590173ca560443c)]:
855
+ - @mastra/core@0.21.0-alpha.4
856
+
857
+ ## 0.21.0-alpha.3
858
+
859
+ ### Patch Changes
860
+
861
+ - Updated dependencies [[`a1799bc`](https://github.com/mastra-ai/mastra/commit/a1799bcc1b5a1cdc188f2ac0165f17a1c4ac6f7b), [`6ff6094`](https://github.com/mastra-ai/mastra/commit/6ff60946f4ecfebdeef6e21d2b230c2204f2c9b8)]:
862
+ - @mastra/core@0.21.0-alpha.3
863
+
864
+ ## 0.21.0-alpha.2
865
+
866
+ ### Patch Changes
867
+
868
+ - Updated dependencies [[`f59fc1e`](https://github.com/mastra-ai/mastra/commit/f59fc1e406b8912e692f6bff6cfd4754cc8d165c)]:
869
+ - @mastra/core@0.21.0-alpha.2
870
+
871
+ ## 0.21.0-alpha.1
872
+
873
+ ### Patch Changes
874
+
875
+ - Updated dependencies [[`1ed9670`](https://github.com/mastra-ai/mastra/commit/1ed9670d3ca50cb60dc2e517738c5eef3968ed27), [`158381d`](https://github.com/mastra-ai/mastra/commit/158381d39335be934b81ef8a1947bccace492c25), [`fb703b9`](https://github.com/mastra-ai/mastra/commit/fb703b9634eeaff1a6eb2b5531ce0f9e8fb04727), [`37a2314`](https://github.com/mastra-ai/mastra/commit/37a23148e0e5a3b40d4f9f098b194671a8a49faf), [`05a9dee`](https://github.com/mastra-ai/mastra/commit/05a9dee3d355694d28847bfffb6289657fcf7dfa), [`e3c1077`](https://github.com/mastra-ai/mastra/commit/e3c107763aedd1643d3def5df450c235da9ff76c), [`1bccdb3`](https://github.com/mastra-ai/mastra/commit/1bccdb33eb90cbeba2dc5ece1c2561fb774b26b6), [`5ef944a`](https://github.com/mastra-ai/mastra/commit/5ef944a3721d93105675cac2b2311432ff8cc393), [`d6b186f`](https://github.com/mastra-ai/mastra/commit/d6b186fb08f1caf1b86f73d3a5ee88fb999ca3be), [`65493b3`](https://github.com/mastra-ai/mastra/commit/65493b31c36f6fdb78f9679f7e1ecf0c250aa5ee), [`a998b8f`](https://github.com/mastra-ai/mastra/commit/a998b8f858091c2ec47683e60766cf12d03001e4), [`8a37bdd`](https://github.com/mastra-ai/mastra/commit/8a37bddb6d8614a32c5b70303d583d80c620ea61)]:
876
+ - @mastra/core@0.21.0-alpha.1
877
+
878
+ ## 0.21.0-alpha.0
879
+
880
+ ### Minor Changes
881
+
882
+ - Update structuredOutput to use response format by default with an opt in to json prompt injection. ([#8557](https://github.com/mastra-ai/mastra/pull/8557))
883
+ Replaced internal usage of output with structuredOutput.
884
+
885
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8557](https://github.com/mastra-ai/mastra/pull/8557))
886
+
887
+ ### Patch Changes
888
+
889
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8619](https://github.com/mastra-ai/mastra/pull/8619))
890
+
891
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8626](https://github.com/mastra-ai/mastra/pull/8626))
892
+
893
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8686](https://github.com/mastra-ai/mastra/pull/8686))
894
+
895
+ - Updated dependencies [[`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`ee68e82`](https://github.com/mastra-ai/mastra/commit/ee68e8289ea4408d29849e899bc6e78b3bd4e843), [`228228b`](https://github.com/mastra-ai/mastra/commit/228228b0b1de9291cb8887587f5cea1a8757ebad), [`ea33930`](https://github.com/mastra-ai/mastra/commit/ea339301e82d6318257720d811b043014ee44064), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`135d6f2`](https://github.com/mastra-ai/mastra/commit/135d6f22a326ed1dffff858700669dff09d2c9eb), [`59d036d`](https://github.com/mastra-ai/mastra/commit/59d036d4c2706b430b0e3f1f1e0ee853ce16ca04)]:
896
+ - @mastra/core@0.21.0-alpha.0
897
+
898
+ ## 0.20.2
899
+
900
+ ### Patch Changes
901
+
902
+ - Pass through input/output processors to the server agent endpoints ([#8546](https://github.com/mastra-ai/mastra/pull/8546))
903
+
904
+ - Updated dependencies [[`07eaf25`](https://github.com/mastra-ai/mastra/commit/07eaf25aada9e42235dbf905854de53da4d8121b), [`0d71771`](https://github.com/mastra-ai/mastra/commit/0d71771f5711164c79f8e80919bc84d6bffeb6bc), [`0d6e55e`](https://github.com/mastra-ai/mastra/commit/0d6e55ecc5a2e689cd4fc9c86525e0eb54d82372), [`68b1111`](https://github.com/mastra-ai/mastra/commit/68b11118a1303f93e9c0c157850c0751309304c5)]:
905
+ - @mastra/core@0.20.2
906
+
907
+ ## 0.20.2-alpha.1
908
+
909
+ ### Patch Changes
910
+
911
+ - Pass through input/output processors to the server agent endpoints ([#8546](https://github.com/mastra-ai/mastra/pull/8546))
912
+
913
+ - Updated dependencies [[`07eaf25`](https://github.com/mastra-ai/mastra/commit/07eaf25aada9e42235dbf905854de53da4d8121b), [`68b1111`](https://github.com/mastra-ai/mastra/commit/68b11118a1303f93e9c0c157850c0751309304c5)]:
914
+ - @mastra/core@0.20.2-alpha.1
915
+
916
+ ## 0.20.2-alpha.0
917
+
918
+ ### Patch Changes
919
+
920
+ - Updated dependencies [[`0d71771`](https://github.com/mastra-ai/mastra/commit/0d71771f5711164c79f8e80919bc84d6bffeb6bc), [`0d6e55e`](https://github.com/mastra-ai/mastra/commit/0d6e55ecc5a2e689cd4fc9c86525e0eb54d82372)]:
921
+ - @mastra/core@0.20.2-alpha.0
922
+
923
+ ## 0.20.1
924
+
925
+ ### Patch Changes
926
+
927
+ - Mutable shared workflow run state ([#8545](https://github.com/mastra-ai/mastra/pull/8545))
928
+
929
+ - Fix TypeScript errors with provider-defined tools by updating ai-v5 and openai-v5 to matching provider-utils versions. This ensures npm deduplicates to a single provider-utils instance, resolving type incompatibility issues when passing provider tools to Agent. ([#8584](https://github.com/mastra-ai/mastra/pull/8584))
930
+
931
+ Also adds deprecation warning to Agent import from root path to encourage using the recommended subpath import.
932
+
933
+ - Updated dependencies [[`c621613`](https://github.com/mastra-ai/mastra/commit/c621613069173c69eb2c3ef19a5308894c6549f0), [`12b1189`](https://github.com/mastra-ai/mastra/commit/12b118942445e4de0dd916c593e33ec78dc3bc73), [`4783b30`](https://github.com/mastra-ai/mastra/commit/4783b3063efea887825514b783ba27f67912c26d), [`076b092`](https://github.com/mastra-ai/mastra/commit/076b0924902ff0f49d5712d2df24c4cca683713f), [`2aee9e7`](https://github.com/mastra-ai/mastra/commit/2aee9e7d188b8b256a4ddc203ccefb366b4867fa), [`c582906`](https://github.com/mastra-ai/mastra/commit/c5829065a346260f96c4beb8af131b94804ae3ad), [`fa2eb96`](https://github.com/mastra-ai/mastra/commit/fa2eb96af16c7d433891a73932764960d3235c1d), [`ee9108f`](https://github.com/mastra-ai/mastra/commit/ee9108fa29bb8368fc23df158c9f0645b2d7b65c), [`4783b30`](https://github.com/mastra-ai/mastra/commit/4783b3063efea887825514b783ba27f67912c26d), [`a739d0c`](https://github.com/mastra-ai/mastra/commit/a739d0c8b37cd89569e04a6ca0827083c6167e19), [`603e927`](https://github.com/mastra-ai/mastra/commit/603e9279db8bf8a46caf83881c6b7389ccffff7e), [`cd45982`](https://github.com/mastra-ai/mastra/commit/cd4598291cda128a88738734ae6cbef076ebdebd), [`874f74d`](https://github.com/mastra-ai/mastra/commit/874f74da4b1acf6517f18132d035612c3ecc394a), [`b728a45`](https://github.com/mastra-ai/mastra/commit/b728a45ab3dba59da0f5ee36b81fe246659f305d), [`0baf2ba`](https://github.com/mastra-ai/mastra/commit/0baf2bab8420277072ef1f95df5ea7b0a2f61fe7), [`10e633a`](https://github.com/mastra-ai/mastra/commit/10e633a07d333466d9734c97acfc3dbf757ad2d0), [`a6d69c5`](https://github.com/mastra-ai/mastra/commit/a6d69c5fb50c0875b46275811fece5862f03c6a0), [`84199af`](https://github.com/mastra-ai/mastra/commit/84199af8673f6f9cb59286ffb5477a41932775de), [`7f431af`](https://github.com/mastra-ai/mastra/commit/7f431afd586b7d3265075e73106eb73167edbb86), [`26e968d`](https://github.com/mastra-ai/mastra/commit/26e968db2171ded9e4d47aa1b4f19e1e771158d0), [`cbd3fb6`](https://github.com/mastra-ai/mastra/commit/cbd3fb65adb03a7c0df193cb998aed5ac56675ee)]:
934
+ - @mastra/core@0.20.1
935
+
936
+ ## 0.20.1-alpha.4
937
+
938
+ ### Patch Changes
939
+
940
+ - Updated dependencies [[`b728a45`](https://github.com/mastra-ai/mastra/commit/b728a45ab3dba59da0f5ee36b81fe246659f305d)]:
941
+ - @mastra/core@0.20.1-alpha.4
942
+
943
+ ## 0.20.1-alpha.3
944
+
945
+ ### Patch Changes
946
+
947
+ - Fix TypeScript errors with provider-defined tools by updating ai-v5 and openai-v5 to matching provider-utils versions. This ensures npm deduplicates to a single provider-utils instance, resolving type incompatibility issues when passing provider tools to Agent. ([#8584](https://github.com/mastra-ai/mastra/pull/8584))
948
+
949
+ Also adds deprecation warning to Agent import from root path to encourage using the recommended subpath import.
950
+
951
+ - Updated dependencies [[`a6d69c5`](https://github.com/mastra-ai/mastra/commit/a6d69c5fb50c0875b46275811fece5862f03c6a0), [`84199af`](https://github.com/mastra-ai/mastra/commit/84199af8673f6f9cb59286ffb5477a41932775de), [`7f431af`](https://github.com/mastra-ai/mastra/commit/7f431afd586b7d3265075e73106eb73167edbb86)]:
952
+ - @mastra/core@0.20.1-alpha.3
953
+
954
+ ## 0.20.1-alpha.2
955
+
956
+ ### Patch Changes
957
+
958
+ - Updated dependencies [[`ee9108f`](https://github.com/mastra-ai/mastra/commit/ee9108fa29bb8368fc23df158c9f0645b2d7b65c)]:
959
+ - @mastra/core@0.20.1-alpha.2
960
+
961
+ ## 0.20.1-alpha.1
962
+
963
+ ### Patch Changes
964
+
965
+ - Mutable shared workflow run state ([#8545](https://github.com/mastra-ai/mastra/pull/8545))
966
+
967
+ - Updated dependencies [[`c621613`](https://github.com/mastra-ai/mastra/commit/c621613069173c69eb2c3ef19a5308894c6549f0), [`12b1189`](https://github.com/mastra-ai/mastra/commit/12b118942445e4de0dd916c593e33ec78dc3bc73), [`4783b30`](https://github.com/mastra-ai/mastra/commit/4783b3063efea887825514b783ba27f67912c26d), [`076b092`](https://github.com/mastra-ai/mastra/commit/076b0924902ff0f49d5712d2df24c4cca683713f), [`2aee9e7`](https://github.com/mastra-ai/mastra/commit/2aee9e7d188b8b256a4ddc203ccefb366b4867fa), [`c582906`](https://github.com/mastra-ai/mastra/commit/c5829065a346260f96c4beb8af131b94804ae3ad), [`fa2eb96`](https://github.com/mastra-ai/mastra/commit/fa2eb96af16c7d433891a73932764960d3235c1d), [`4783b30`](https://github.com/mastra-ai/mastra/commit/4783b3063efea887825514b783ba27f67912c26d), [`a739d0c`](https://github.com/mastra-ai/mastra/commit/a739d0c8b37cd89569e04a6ca0827083c6167e19), [`603e927`](https://github.com/mastra-ai/mastra/commit/603e9279db8bf8a46caf83881c6b7389ccffff7e), [`cd45982`](https://github.com/mastra-ai/mastra/commit/cd4598291cda128a88738734ae6cbef076ebdebd), [`874f74d`](https://github.com/mastra-ai/mastra/commit/874f74da4b1acf6517f18132d035612c3ecc394a), [`0baf2ba`](https://github.com/mastra-ai/mastra/commit/0baf2bab8420277072ef1f95df5ea7b0a2f61fe7), [`26e968d`](https://github.com/mastra-ai/mastra/commit/26e968db2171ded9e4d47aa1b4f19e1e771158d0), [`cbd3fb6`](https://github.com/mastra-ai/mastra/commit/cbd3fb65adb03a7c0df193cb998aed5ac56675ee)]:
968
+ - @mastra/core@0.20.1-alpha.1
969
+
970
+ ## 0.20.1-alpha.0
971
+
972
+ ### Patch Changes
973
+
974
+ - Updated dependencies [[`10e633a`](https://github.com/mastra-ai/mastra/commit/10e633a07d333466d9734c97acfc3dbf757ad2d0)]:
975
+ - @mastra/core@0.20.1-alpha.0
976
+
977
+ ## 0.20.0
978
+
979
+ ### Minor Changes
980
+
981
+ - Breaking change to move the agent.streamVNext/generateVNext implementation to the default stream/generate. The old stream/generate have now been moved to streamLegacy and generateLegacy ([#8097](https://github.com/mastra-ai/mastra/pull/8097))
982
+
983
+ ### Patch Changes
984
+
985
+ - Add approve and decline tool calls to mastra server pkg ([#8360](https://github.com/mastra-ai/mastra/pull/8360))
986
+
987
+ - Fix/8219 preserve resourceid on resume ([#8359](https://github.com/mastra-ai/mastra/pull/8359))
988
+
989
+ - Add observe strean to get streans after workflow has been interrupted ([#8318](https://github.com/mastra-ai/mastra/pull/8318))
990
+
991
+ - Updated dependencies [[`00cb6bd`](https://github.com/mastra-ai/mastra/commit/00cb6bdf78737c0fac14a5a0c7b532a11e38558a), [`869ba22`](https://github.com/mastra-ai/mastra/commit/869ba222e1d6b58fc1b65e7c9fd55ca4e01b8c2f), [`1b73665`](https://github.com/mastra-ai/mastra/commit/1b73665e8e23f5c09d49fcf3e7d709c75259259e), [`f7d7475`](https://github.com/mastra-ai/mastra/commit/f7d747507341aef60ed39e4b49318db1f86034a6), [`084b77b`](https://github.com/mastra-ai/mastra/commit/084b77b2955960e0190af8db3f77138aa83ed65c), [`a93ff84`](https://github.com/mastra-ai/mastra/commit/a93ff84b5e1af07ee236ac8873dac9b49aa5d501), [`bc5aacb`](https://github.com/mastra-ai/mastra/commit/bc5aacb646d468d325327e36117129f28cd13bf6), [`6b5af12`](https://github.com/mastra-ai/mastra/commit/6b5af12ce9e09066e0c32e821c203a6954498bea), [`bf60e4a`](https://github.com/mastra-ai/mastra/commit/bf60e4a89c515afd9570b7b79f33b95e7d07c397), [`d41aee5`](https://github.com/mastra-ai/mastra/commit/d41aee526d124e35f42720a08e64043229193679), [`e8fe13c`](https://github.com/mastra-ai/mastra/commit/e8fe13c4b4c255a42520127797ec394310f7c919), [`3ca833d`](https://github.com/mastra-ai/mastra/commit/3ca833dc994c38e3c9b4f9b4478a61cd8e07b32a), [`1edb8d1`](https://github.com/mastra-ai/mastra/commit/1edb8d1cfb963e72a12412990fb9170936c9904c), [`fbf6e32`](https://github.com/mastra-ai/mastra/commit/fbf6e324946332d0f5ed8930bf9d4d4479cefd7a), [`4753027`](https://github.com/mastra-ai/mastra/commit/4753027ee889288775c6958bdfeda03ff909af67)]:
992
+ - @mastra/core@0.20.0
993
+
994
+ ## 0.20.0-alpha.0
995
+
996
+ ### Minor Changes
997
+
998
+ - Breaking change to move the agent.streamVNext/generateVNext implementation to the default stream/generate. The old stream/generate have now been moved to streamLegacy and generateLegacy ([#8097](https://github.com/mastra-ai/mastra/pull/8097))
4
999
 
5
1000
  ### Patch Changes
6
1001
 
@@ -8,8 +1003,10 @@
8
1003
 
9
1004
  - Fix/8219 preserve resourceid on resume ([#8359](https://github.com/mastra-ai/mastra/pull/8359))
10
1005
 
11
- - Updated dependencies [[`f7d7475`](https://github.com/mastra-ai/mastra/commit/f7d747507341aef60ed39e4b49318db1f86034a6), [`bf60e4a`](https://github.com/mastra-ai/mastra/commit/bf60e4a89c515afd9570b7b79f33b95e7d07c397), [`e8fe13c`](https://github.com/mastra-ai/mastra/commit/e8fe13c4b4c255a42520127797ec394310f7c919), [`fbf6e32`](https://github.com/mastra-ai/mastra/commit/fbf6e324946332d0f5ed8930bf9d4d4479cefd7a)]:
12
- - @mastra/core@0.0.0-cloud-deployer-for-core-0.19.1-20251001164939
1006
+ - Add observe strean to get streans after workflow has been interrupted ([#8318](https://github.com/mastra-ai/mastra/pull/8318))
1007
+
1008
+ - Updated dependencies [[`00cb6bd`](https://github.com/mastra-ai/mastra/commit/00cb6bdf78737c0fac14a5a0c7b532a11e38558a), [`869ba22`](https://github.com/mastra-ai/mastra/commit/869ba222e1d6b58fc1b65e7c9fd55ca4e01b8c2f), [`1b73665`](https://github.com/mastra-ai/mastra/commit/1b73665e8e23f5c09d49fcf3e7d709c75259259e), [`f7d7475`](https://github.com/mastra-ai/mastra/commit/f7d747507341aef60ed39e4b49318db1f86034a6), [`084b77b`](https://github.com/mastra-ai/mastra/commit/084b77b2955960e0190af8db3f77138aa83ed65c), [`a93ff84`](https://github.com/mastra-ai/mastra/commit/a93ff84b5e1af07ee236ac8873dac9b49aa5d501), [`bc5aacb`](https://github.com/mastra-ai/mastra/commit/bc5aacb646d468d325327e36117129f28cd13bf6), [`6b5af12`](https://github.com/mastra-ai/mastra/commit/6b5af12ce9e09066e0c32e821c203a6954498bea), [`bf60e4a`](https://github.com/mastra-ai/mastra/commit/bf60e4a89c515afd9570b7b79f33b95e7d07c397), [`d41aee5`](https://github.com/mastra-ai/mastra/commit/d41aee526d124e35f42720a08e64043229193679), [`e8fe13c`](https://github.com/mastra-ai/mastra/commit/e8fe13c4b4c255a42520127797ec394310f7c919), [`3ca833d`](https://github.com/mastra-ai/mastra/commit/3ca833dc994c38e3c9b4f9b4478a61cd8e07b32a), [`1edb8d1`](https://github.com/mastra-ai/mastra/commit/1edb8d1cfb963e72a12412990fb9170936c9904c), [`fbf6e32`](https://github.com/mastra-ai/mastra/commit/fbf6e324946332d0f5ed8930bf9d4d4479cefd7a), [`4753027`](https://github.com/mastra-ai/mastra/commit/4753027ee889288775c6958bdfeda03ff909af67)]:
1009
+ - @mastra/core@0.20.0-alpha.0
13
1010
 
14
1011
  ## 0.19.1
15
1012