@mastra/core 0.24.1-alpha.0 → 0.24.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # @mastra/core
2
2
 
3
+ ## 0.24.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Integrates the native **Mistral AI SDK** provider (`@ai-sdk/mistral`) to replace the current OpenAI-compatible endpoint implementation for Mistral models. ([#10048](https://github.com/mastra-ai/mastra/pull/10048))
8
+
9
+ - Fix: Don't download unsupported media ([#9860](https://github.com/mastra-ai/mastra/pull/9860))
10
+
11
+ - Use a shared `getAllToolPaths()` method from the bundler to discover tool paths. ([#10049](https://github.com/mastra-ai/mastra/pull/10049))
12
+
13
+ - Add an additional check to determine whether the model natively supports specific file types. Only download the file if the model does not support it natively. ([#10052](https://github.com/mastra-ai/mastra/pull/10052))
14
+
15
+ - Fix agent network iteration counter bug causing infinite loops ([#9934](https://github.com/mastra-ai/mastra/pull/9934))
16
+
17
+ The iteration counter in agent networks was stuck at 0 due to a faulty ternary operator that treated 0 as falsy. This prevented `maxSteps` from working correctly, causing infinite loops when the routing agent kept selecting primitives instead of returning "none".
18
+
19
+ **Changes:**
20
+ - Fixed iteration counter logic in `loop/network/index.ts` from `(inputData.iteration ? inputData.iteration : -1) + 1` to `(inputData.iteration ?? -1) + 1`
21
+ - Changed initial iteration value from `0` to `-1` so first iteration correctly starts at 0
22
+ - Added `checkIterations()` helper to validate iteration counting in all network tests
23
+
24
+ Fixes #9314
25
+
26
+ - Revert download supported files for now ([`16a324f`](https://github.com/mastra-ai/mastra/commit/16a324f8c30a07d0d899bc2e4e7998c6b40a4cb6))
27
+
28
+ - Exposes requiresAuth to custom api routes ([#10046](https://github.com/mastra-ai/mastra/pull/10046))
29
+
30
+ - Fix agent network working memory tool routing. Memory tools are now included in routing agent instructions but excluded from its direct tool calls, allowing the routing agent to properly route to tool execution steps for memory updates. ([#9730](https://github.com/mastra-ai/mastra/pull/9730))
31
+
32
+ - Fixes assets not being downloaded when available ([#10080](https://github.com/mastra-ai/mastra/pull/10080))
33
+
3
34
  ## 0.24.1-alpha.0
4
35
 
5
36
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/core",
3
- "version": "0.24.1-alpha.0",
3
+ "version": "0.24.1",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -247,9 +247,9 @@
247
247
  "vitest": "^3.2.4",
248
248
  "zod": "^3.25.76",
249
249
  "zod-v4": "npm:zod@4.1.12",
250
- "@internal/external-types": "0.0.8",
251
- "@internal/lint": "0.0.58",
252
- "@internal/types-builder": "0.0.33"
250
+ "@internal/external-types": "0.0.9",
251
+ "@internal/lint": "0.0.59",
252
+ "@internal/types-builder": "0.0.34"
253
253
  },
254
254
  "engines": {
255
255
  "node": ">=20"