@mastra/core 0.23.2-alpha.0 → 0.23.2

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 (76) hide show
  1. package/CHANGELOG.md +70 -0
  2. package/dist/agent/index.cjs +10 -10
  3. package/dist/agent/index.js +1 -1
  4. package/dist/agent/input-processor/index.cjs +6 -6
  5. package/dist/agent/input-processor/index.js +1 -1
  6. package/dist/agent/utils.d.ts.map +1 -1
  7. package/dist/agent/workflows/prepare-stream/prepare-memory-step.d.ts.map +1 -1
  8. package/dist/{chunk-6GDXSCHL.js → chunk-4RWU3F4F.js} +3 -3
  9. package/dist/{chunk-6GDXSCHL.js.map → chunk-4RWU3F4F.js.map} +1 -1
  10. package/dist/{chunk-OOMWL2VB.cjs → chunk-5YHNPD6A.cjs} +4 -4
  11. package/dist/{chunk-OOMWL2VB.cjs.map → chunk-5YHNPD6A.cjs.map} +1 -1
  12. package/dist/{chunk-32ZQNYMV.js → chunk-ELFP5KHN.js} +3 -3
  13. package/dist/{chunk-32ZQNYMV.js.map → chunk-ELFP5KHN.js.map} +1 -1
  14. package/dist/{chunk-4PYSODHR.cjs → chunk-EV64MRWJ.cjs} +4 -4
  15. package/dist/{chunk-4PYSODHR.cjs.map → chunk-EV64MRWJ.cjs.map} +1 -1
  16. package/dist/{chunk-CE2Y5BC2.cjs → chunk-F7DVKNKD.cjs} +39 -38
  17. package/dist/chunk-F7DVKNKD.cjs.map +1 -0
  18. package/dist/{chunk-N4DKYHQH.js → chunk-ML3WETVK.js} +39 -39
  19. package/dist/chunk-ML3WETVK.js.map +1 -0
  20. package/dist/{chunk-SKAKD7UJ.cjs → chunk-OLFLBDUQ.cjs} +12 -12
  21. package/dist/{chunk-SKAKD7UJ.cjs.map → chunk-OLFLBDUQ.cjs.map} +1 -1
  22. package/dist/{chunk-NNBF7NYQ.js → chunk-OSAYWQD3.js} +3 -3
  23. package/dist/{chunk-NNBF7NYQ.js.map → chunk-OSAYWQD3.js.map} +1 -1
  24. package/dist/{chunk-NTKOVUTG.cjs → chunk-PHMC6B3L.cjs} +9 -9
  25. package/dist/{chunk-NTKOVUTG.cjs.map → chunk-PHMC6B3L.cjs.map} +1 -1
  26. package/dist/{chunk-455LR5KI.js → chunk-Q7Y7FU4Y.js} +3 -3
  27. package/dist/{chunk-455LR5KI.js.map → chunk-Q7Y7FU4Y.js.map} +1 -1
  28. package/dist/index.cjs +24 -20
  29. package/dist/index.js +4 -4
  30. package/dist/loop/index.cjs +2 -2
  31. package/dist/loop/index.js +1 -1
  32. package/dist/loop/network/index.d.ts.map +1 -1
  33. package/dist/loop/test-utils/options.d.ts.map +1 -1
  34. package/dist/loop/workflows/agentic-execution/llm-execution-step.d.ts.map +1 -1
  35. package/dist/mastra/index.cjs +2 -2
  36. package/dist/mastra/index.js +1 -1
  37. package/dist/processors/index.cjs +11 -11
  38. package/dist/processors/index.js +1 -1
  39. package/dist/processors/processors/language-detector.d.ts +5 -5
  40. package/dist/processors/processors/language-detector.d.ts.map +1 -1
  41. package/dist/processors/processors/moderation.d.ts +17 -16
  42. package/dist/processors/processors/moderation.d.ts.map +1 -1
  43. package/dist/processors/processors/pii-detector.d.ts +19 -20
  44. package/dist/processors/processors/pii-detector.d.ts.map +1 -1
  45. package/dist/processors/processors/prompt-injection-detector.d.ts +20 -14
  46. package/dist/processors/processors/prompt-injection-detector.d.ts.map +1 -1
  47. package/dist/processors/processors/system-prompt-scrubber.d.ts +16 -6
  48. package/dist/processors/processors/system-prompt-scrubber.d.ts.map +1 -1
  49. package/dist/relevance/index.cjs +4 -4
  50. package/dist/relevance/index.js +1 -1
  51. package/dist/scores/index.cjs +4 -4
  52. package/dist/scores/index.js +1 -1
  53. package/dist/scores/scoreTraces/index.cjs +3 -3
  54. package/dist/scores/scoreTraces/index.js +1 -1
  55. package/dist/stream/MastraAgentNetworkStream.d.ts.map +1 -1
  56. package/dist/stream/RunOutput.d.ts.map +1 -1
  57. package/dist/stream/aisdk/v5/output.d.ts.map +1 -1
  58. package/dist/stream/base/output.d.ts.map +1 -1
  59. package/dist/stream/index.cjs +8 -8
  60. package/dist/stream/index.js +1 -1
  61. package/dist/stream/types.d.ts +4 -0
  62. package/dist/stream/types.d.ts.map +1 -1
  63. package/dist/workflows/default.d.ts.map +1 -1
  64. package/dist/workflows/evented/index.cjs +10 -10
  65. package/dist/workflows/evented/index.js +1 -1
  66. package/dist/workflows/index.cjs +17 -13
  67. package/dist/workflows/index.js +1 -1
  68. package/dist/workflows/legacy/index.cjs +22 -22
  69. package/dist/workflows/legacy/index.js +1 -1
  70. package/dist/workflows/utils.d.ts +2 -0
  71. package/dist/workflows/utils.d.ts.map +1 -1
  72. package/dist/workflows/workflow.d.ts +1 -1
  73. package/dist/workflows/workflow.d.ts.map +1 -1
  74. package/package.json +6 -5
  75. package/dist/chunk-CE2Y5BC2.cjs.map +0 -1
  76. package/dist/chunk-N4DKYHQH.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,75 @@
1
1
  # @mastra/core
2
2
 
3
+ ## 0.23.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix agent onChunk callback receiving wrapped chunk instead of direct chunk ([#9402](https://github.com/mastra-ai/mastra/pull/9402))
8
+
9
+ - Ensure model_generation spans end before agent_run spans. ([#9393](https://github.com/mastra-ai/mastra/pull/9393))
10
+
11
+ - Fix OpenAI schema validation errors in processors ([#9400](https://github.com/mastra-ai/mastra/pull/9400))
12
+
13
+ - Don't call `os.homedir()` at top level (but lazy invoke it) to accommodate sandboxed environments ([#9357](https://github.com/mastra-ai/mastra/pull/9357))
14
+
15
+ - Detect thenable objects returned by AI model providers ([#9414](https://github.com/mastra-ai/mastra/pull/9414))
16
+
17
+ - Bug fix: Use input processors that are passed in generate or stream agent options rather than always defaulting to the processors set on the Agent class. ([#9422](https://github.com/mastra-ai/mastra/pull/9422))
18
+
19
+ - Fix tool input validation to use schema-compat transformed schemas ([#9360](https://github.com/mastra-ai/mastra/pull/9360))
20
+
21
+ Previously, tool input validation used the original Zod schema while the LLM received a schema-compat transformed version. This caused validation failures when LLMs (like OpenAI o3 or Claude 3.5 Haiku) sent arguments matching the transformed schema but not the original.
22
+
23
+ For example:
24
+ - OpenAI o3 reasoning models convert `.optional()` to `.nullable()`, sending `null` values
25
+ - Claude 3.5 Haiku strips `min`/`max` string constraints, sending shorter strings
26
+ - Validation would reject these valid responses because it checked against the original schema
27
+
28
+ The fix ensures validation uses the same schema-compat processed schema that was sent to the LLM, eliminating this mismatch.
29
+
30
+ - Add import for WritableStream in execution-engine and dedupe llm.getModel in agent.ts ([#9341](https://github.com/mastra-ai/mastra/pull/9341))
31
+
32
+ - pass writableStream parameter to workflow execution ([#9339](https://github.com/mastra-ai/mastra/pull/9339))
33
+
34
+ - Save correct status in snapshot for all workflow parallel steps. ([#9398](https://github.com/mastra-ai/mastra/pull/9398))
35
+ This ensures when you poll workflow run result using `getWorkflowRunExecutionResult(runId)`, you get the right status for all parallel steps
36
+
37
+ - Add ability to pass agent options when wrapping an agent with createStep. This allows configuring agent execution settings when using agents as workflow steps. ([#9359](https://github.com/mastra-ai/mastra/pull/9359))
38
+
39
+ - Fix network loop iteration counter and usage promise handling: ([#9415](https://github.com/mastra-ai/mastra/pull/9415))
40
+ - Fixed iteration counter in network loop that was stuck at 0 due to falsy check. Properly handled zero values to ensure maxSteps is correctly enforced.
41
+ - Fixed usage promise resolution in RunOutput stream by properly resolving or rejecting the promise on stream close, preventing hanging promises when streams complete.
42
+
43
+ - Workflow validation zod v4 support ([#9363](https://github.com/mastra-ai/mastra/pull/9363))
44
+
45
+ - Fix usage tracking with agent network ([#9413](https://github.com/mastra-ai/mastra/pull/9413))
46
+
47
+ - Updated dependencies [[`6bb26c4`](https://github.com/mastra-ai/mastra/commit/6bb26c4e82795d70515577a7cbd1e186c07ccf24), [`8d8f674`](https://github.com/mastra-ai/mastra/commit/8d8f67428ad1bcc944e2666179c886bae80120f5)]:
48
+ - @mastra/schema-compat@0.11.6
49
+
50
+ ## 0.23.2-alpha.1
51
+
52
+ ### Patch Changes
53
+
54
+ - Fix agent onChunk callback receiving wrapped chunk instead of direct chunk ([#9402](https://github.com/mastra-ai/mastra/pull/9402))
55
+
56
+ - Fix OpenAI schema validation errors in processors ([#9400](https://github.com/mastra-ai/mastra/pull/9400))
57
+
58
+ - Detect thenable objects returned by AI model providers ([#9414](https://github.com/mastra-ai/mastra/pull/9414))
59
+
60
+ - Bug fix: Use input processors that are passed in generate or stream agent options rather than always defaulting to the processors set on the Agent class. ([#9422](https://github.com/mastra-ai/mastra/pull/9422))
61
+
62
+ - Save correct status in snapshot for all workflow parallel steps. ([#9398](https://github.com/mastra-ai/mastra/pull/9398))
63
+ This ensures when you poll workflow run result using `getWorkflowRunExecutionResult(runId)`, you get the right status for all parallel steps
64
+
65
+ - Fix network loop iteration counter and usage promise handling: ([#9415](https://github.com/mastra-ai/mastra/pull/9415))
66
+ - Fixed iteration counter in network loop that was stuck at 0 due to falsy check. Properly handled zero values to ensure maxSteps is correctly enforced.
67
+ - Fixed usage promise resolution in RunOutput stream by properly resolving or rejecting the promise on stream close, preventing hanging promises when streams complete.
68
+
69
+ - Workflow validation zod v4 support ([#9363](https://github.com/mastra-ai/mastra/pull/9363))
70
+
71
+ - Fix usage tracking with agent network ([#9413](https://github.com/mastra-ai/mastra/pull/9413))
72
+
3
73
  ## 0.23.2-alpha.0
4
74
 
5
75
  ### Patch Changes
@@ -1,45 +1,45 @@
1
1
  'use strict';
2
2
 
3
- var chunkCE2Y5BC2_cjs = require('../chunk-CE2Y5BC2.cjs');
3
+ var chunkF7DVKNKD_cjs = require('../chunk-F7DVKNKD.cjs');
4
4
  var chunkMJMID7LX_cjs = require('../chunk-MJMID7LX.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "Agent", {
9
9
  enumerable: true,
10
- get: function () { return chunkCE2Y5BC2_cjs.Agent; }
10
+ get: function () { return chunkF7DVKNKD_cjs.Agent; }
11
11
  });
12
12
  Object.defineProperty(exports, "LanguageDetectorInputProcessor", {
13
13
  enumerable: true,
14
- get: function () { return chunkCE2Y5BC2_cjs.LanguageDetectorInputProcessor; }
14
+ get: function () { return chunkF7DVKNKD_cjs.LanguageDetectorInputProcessor; }
15
15
  });
16
16
  Object.defineProperty(exports, "ModerationInputProcessor", {
17
17
  enumerable: true,
18
- get: function () { return chunkCE2Y5BC2_cjs.ModerationInputProcessor; }
18
+ get: function () { return chunkF7DVKNKD_cjs.ModerationInputProcessor; }
19
19
  });
20
20
  Object.defineProperty(exports, "PIIDetectorInputProcessor", {
21
21
  enumerable: true,
22
- get: function () { return chunkCE2Y5BC2_cjs.PIIDetectorInputProcessor; }
22
+ get: function () { return chunkF7DVKNKD_cjs.PIIDetectorInputProcessor; }
23
23
  });
24
24
  Object.defineProperty(exports, "PromptInjectionDetectorInputProcessor", {
25
25
  enumerable: true,
26
- get: function () { return chunkCE2Y5BC2_cjs.PromptInjectionDetectorInputProcessor; }
26
+ get: function () { return chunkF7DVKNKD_cjs.PromptInjectionDetectorInputProcessor; }
27
27
  });
28
28
  Object.defineProperty(exports, "TripWire", {
29
29
  enumerable: true,
30
- get: function () { return chunkCE2Y5BC2_cjs.TripWire; }
30
+ get: function () { return chunkF7DVKNKD_cjs.TripWire; }
31
31
  });
32
32
  Object.defineProperty(exports, "UnicodeNormalizerInputProcessor", {
33
33
  enumerable: true,
34
- get: function () { return chunkCE2Y5BC2_cjs.UnicodeNormalizerInputProcessor; }
34
+ get: function () { return chunkF7DVKNKD_cjs.UnicodeNormalizerInputProcessor; }
35
35
  });
36
36
  Object.defineProperty(exports, "tryGenerateWithJsonFallback", {
37
37
  enumerable: true,
38
- get: function () { return chunkCE2Y5BC2_cjs.tryGenerateWithJsonFallback; }
38
+ get: function () { return chunkF7DVKNKD_cjs.tryGenerateWithJsonFallback; }
39
39
  });
40
40
  Object.defineProperty(exports, "tryStreamWithJsonFallback", {
41
41
  enumerable: true,
42
- get: function () { return chunkCE2Y5BC2_cjs.tryStreamWithJsonFallback; }
42
+ get: function () { return chunkF7DVKNKD_cjs.tryStreamWithJsonFallback; }
43
43
  });
44
44
  Object.defineProperty(exports, "MessageList", {
45
45
  enumerable: true,
@@ -1,4 +1,4 @@
1
- export { Agent, LanguageDetectorInputProcessor, ModerationInputProcessor, PIIDetectorInputProcessor, PromptInjectionDetectorInputProcessor, TripWire, UnicodeNormalizerInputProcessor, tryGenerateWithJsonFallback, tryStreamWithJsonFallback } from '../chunk-N4DKYHQH.js';
1
+ export { Agent, LanguageDetectorInputProcessor, ModerationInputProcessor, PIIDetectorInputProcessor, PromptInjectionDetectorInputProcessor, TripWire, UnicodeNormalizerInputProcessor, tryGenerateWithJsonFallback, tryStreamWithJsonFallback } from '../chunk-ML3WETVK.js';
2
2
  export { MessageList, convertMessages } from '../chunk-E3PG7G6E.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
@@ -1,28 +1,28 @@
1
1
  'use strict';
2
2
 
3
- var chunkCE2Y5BC2_cjs = require('../../chunk-CE2Y5BC2.cjs');
3
+ var chunkF7DVKNKD_cjs = require('../../chunk-F7DVKNKD.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "LanguageDetectorInputProcessor", {
8
8
  enumerable: true,
9
- get: function () { return chunkCE2Y5BC2_cjs.LanguageDetectorInputProcessor; }
9
+ get: function () { return chunkF7DVKNKD_cjs.LanguageDetectorInputProcessor; }
10
10
  });
11
11
  Object.defineProperty(exports, "ModerationInputProcessor", {
12
12
  enumerable: true,
13
- get: function () { return chunkCE2Y5BC2_cjs.ModerationInputProcessor; }
13
+ get: function () { return chunkF7DVKNKD_cjs.ModerationInputProcessor; }
14
14
  });
15
15
  Object.defineProperty(exports, "PIIDetectorInputProcessor", {
16
16
  enumerable: true,
17
- get: function () { return chunkCE2Y5BC2_cjs.PIIDetectorInputProcessor; }
17
+ get: function () { return chunkF7DVKNKD_cjs.PIIDetectorInputProcessor; }
18
18
  });
19
19
  Object.defineProperty(exports, "PromptInjectionDetectorInputProcessor", {
20
20
  enumerable: true,
21
- get: function () { return chunkCE2Y5BC2_cjs.PromptInjectionDetectorInputProcessor; }
21
+ get: function () { return chunkF7DVKNKD_cjs.PromptInjectionDetectorInputProcessor; }
22
22
  });
23
23
  Object.defineProperty(exports, "UnicodeNormalizerInputProcessor", {
24
24
  enumerable: true,
25
- get: function () { return chunkCE2Y5BC2_cjs.UnicodeNormalizerInputProcessor; }
25
+ get: function () { return chunkF7DVKNKD_cjs.UnicodeNormalizerInputProcessor; }
26
26
  });
27
27
  //# sourceMappingURL=index.cjs.map
28
28
  //# sourceMappingURL=index.cjs.map
@@ -1,3 +1,3 @@
1
- export { LanguageDetectorInputProcessor, ModerationInputProcessor, PIIDetectorInputProcessor, PromptInjectionDetectorInputProcessor, UnicodeNormalizerInputProcessor } from '../../chunk-N4DKYHQH.js';
1
+ export { LanguageDetectorInputProcessor, ModerationInputProcessor, PIIDetectorInputProcessor, PromptInjectionDetectorInputProcessor, UnicodeNormalizerInputProcessor } from '../../chunk-ML3WETVK.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/agent/utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEvD,wBAAsB,2BAA2B,CAC/C,MAAM,SAAS,YAAY,GAAG,SAAS,EACvC,MAAM,SAAS,OAAO,GAAG,QAAQ,GAAG,QAAQ,EAC5C,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,gBAAgB,EAAE,OAAO,EAAE,qBAAqB,CAAC,MAAM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C/B,WAAW,EAAE,MAAM,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IAC1C,UAAU,EAAE,UAAU,GAAG,QAAQ,GAAG,gBAAgB,GAAG,cAAc,CAAC;IACtE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,aAAa,CAAC;IAC5B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB;AAED,wBAAgB,uBAAuB,CACrC,MAAM,SAAS,YAAY,GAAG,SAAS,GAAG,SAAS,EACnD,MAAM,SAAS,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,EACzD,EACA,YAAY,EACZ,OAAO,EACP,cAAc,EACd,UAAU,EACV,KAAK,EACL,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,MAAM,GACP,EAAE,wBAAwB,CAAC,MAAM,EAAE,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gHAqN1C"}
1
+ {"version":3,"file":"prepare-memory-step.d.ts","sourceRoot":"","sources":["../../../../src/agent/workflows/prepare-stream/prepare-memory-step.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAEhE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC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
1
- import { WorkflowEventProcessor } from './chunk-32ZQNYMV.js';
1
+ import { WorkflowEventProcessor } from './chunk-ELFP5KHN.js';
2
2
  import { saveScorePayloadSchema } from './chunk-KAEQISOW.js';
3
3
  import { augmentWithInit } from './chunk-436FFEF6.js';
4
4
  import { PubSub } from './chunk-BVUMKER5.js';
@@ -1644,5 +1644,5 @@ Mastra = /*@__PURE__*/(_ => {
1644
1644
  })();
1645
1645
 
1646
1646
  export { Mastra };
1647
- //# sourceMappingURL=chunk-6GDXSCHL.js.map
1648
- //# sourceMappingURL=chunk-6GDXSCHL.js.map
1647
+ //# sourceMappingURL=chunk-4RWU3F4F.js.map
1648
+ //# sourceMappingURL=chunk-4RWU3F4F.js.map