@mastra/core 0.15.3-alpha.0 → 0.15.3-alpha.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 (73) hide show
  1. package/dist/agent/index.cjs +8 -8
  2. package/dist/agent/index.js +1 -1
  3. package/dist/agent/input-processor/index.cjs +6 -6
  4. package/dist/agent/input-processor/index.js +1 -1
  5. package/dist/{chunk-6JAIHLZY.js → chunk-5NGEKEU7.js} +10 -3
  6. package/dist/chunk-5NGEKEU7.js.map +1 -0
  7. package/dist/{chunk-I2YGYG3Y.cjs → chunk-7OSUKFNG.cjs} +11 -4
  8. package/dist/chunk-7OSUKFNG.cjs.map +1 -0
  9. package/dist/{chunk-IAOFOXVA.js → chunk-BRNBKCHE.js} +3 -3
  10. package/dist/chunk-BRNBKCHE.js.map +1 -0
  11. package/dist/{chunk-GVMFAUQR.cjs → chunk-GEPX327P.cjs} +12 -2
  12. package/dist/chunk-GEPX327P.cjs.map +1 -0
  13. package/dist/{chunk-2KK7QQH2.cjs → chunk-HHLPYCQG.cjs} +4 -4
  14. package/dist/{chunk-2KK7QQH2.cjs.map → chunk-HHLPYCQG.cjs.map} +1 -1
  15. package/dist/{chunk-YPT3YX6U.cjs → chunk-HXYE4EJA.cjs} +7 -7
  16. package/dist/{chunk-YPT3YX6U.cjs.map → chunk-HXYE4EJA.cjs.map} +1 -1
  17. package/dist/{chunk-Q67FV4QB.js → chunk-IYCG5OVT.js} +3 -3
  18. package/dist/{chunk-Q67FV4QB.js.map → chunk-IYCG5OVT.js.map} +1 -1
  19. package/dist/{chunk-EEGBKQYC.js → chunk-T64BA34G.js} +3 -3
  20. package/dist/{chunk-EEGBKQYC.js.map → chunk-T64BA34G.js.map} +1 -1
  21. package/dist/{chunk-Y3WIANDM.js → chunk-UT6KEZRF.js} +3 -3
  22. package/dist/{chunk-Y3WIANDM.js.map → chunk-UT6KEZRF.js.map} +1 -1
  23. package/dist/{chunk-SFLYVXLG.cjs → chunk-VBAWR62U.cjs} +3 -3
  24. package/dist/chunk-VBAWR62U.cjs.map +1 -0
  25. package/dist/{chunk-7U76TYYN.cjs → chunk-WHEH32QU.cjs} +4 -4
  26. package/dist/{chunk-7U76TYYN.cjs.map → chunk-WHEH32QU.cjs.map} +1 -1
  27. package/dist/{chunk-IKOGUY3M.js → chunk-Z73WO76N.js} +4 -2
  28. package/dist/chunk-Z73WO76N.js.map +1 -0
  29. package/dist/index.cjs +27 -19
  30. package/dist/index.js +6 -5
  31. package/dist/index.js.map +1 -1
  32. package/dist/llm/model/model.d.ts.map +1 -1
  33. package/dist/loop/index.cjs +2 -2
  34. package/dist/loop/index.js +1 -1
  35. package/dist/mastra/index.cjs +2 -2
  36. package/dist/mastra/index.js +1 -1
  37. package/dist/network/index.cjs +2 -2
  38. package/dist/network/index.js +1 -1
  39. package/dist/network/vNext/index.cjs +12 -12
  40. package/dist/network/vNext/index.js +1 -1
  41. package/dist/processors/index.cjs +8 -8
  42. package/dist/processors/index.js +2 -2
  43. package/dist/relevance/index.cjs +4 -4
  44. package/dist/relevance/index.js +1 -1
  45. package/dist/scores/index.cjs +5 -5
  46. package/dist/scores/index.js +1 -1
  47. package/dist/stream/aisdk/v5/compat.d.ts +8 -117
  48. package/dist/stream/aisdk/v5/compat.d.ts.map +1 -1
  49. package/dist/stream/index.cjs +3 -3
  50. package/dist/stream/index.js +1 -1
  51. package/dist/test-utils/llm-mock.cjs +2 -2
  52. package/dist/test-utils/llm-mock.js +1 -1
  53. package/dist/vector/embed.d.ts +3 -0
  54. package/dist/vector/embed.d.ts.map +1 -0
  55. package/dist/vector/index.cjs +10 -2
  56. package/dist/vector/index.d.ts +1 -0
  57. package/dist/vector/index.d.ts.map +1 -1
  58. package/dist/vector/index.js +1 -1
  59. package/dist/vector/vector.d.ts +3 -0
  60. package/dist/vector/vector.d.ts.map +1 -1
  61. package/dist/workflows/evented/index.cjs +10 -10
  62. package/dist/workflows/evented/index.js +1 -1
  63. package/dist/workflows/index.cjs +10 -10
  64. package/dist/workflows/index.js +1 -1
  65. package/dist/workflows/legacy/index.cjs +22 -22
  66. package/dist/workflows/legacy/index.js +1 -1
  67. package/package.json +2 -2
  68. package/dist/chunk-6JAIHLZY.js.map +0 -1
  69. package/dist/chunk-GVMFAUQR.cjs.map +0 -1
  70. package/dist/chunk-I2YGYG3Y.cjs.map +0 -1
  71. package/dist/chunk-IAOFOXVA.js.map +0 -1
  72. package/dist/chunk-IKOGUY3M.js.map +0 -1
  73. package/dist/chunk-SFLYVXLG.cjs.map +0 -1
@@ -1,37 +1,37 @@
1
1
  'use strict';
2
2
 
3
- var chunkI2YGYG3Y_cjs = require('../chunk-I2YGYG3Y.cjs');
3
+ var chunk7OSUKFNG_cjs = require('../chunk-7OSUKFNG.cjs');
4
4
  var chunkQA2TWVUS_cjs = require('../chunk-QA2TWVUS.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "Agent", {
9
9
  enumerable: true,
10
- get: function () { return chunkI2YGYG3Y_cjs.Agent; }
10
+ get: function () { return chunk7OSUKFNG_cjs.Agent; }
11
11
  });
12
12
  Object.defineProperty(exports, "LanguageDetectorInputProcessor", {
13
13
  enumerable: true,
14
- get: function () { return chunkI2YGYG3Y_cjs.LanguageDetectorInputProcessor; }
14
+ get: function () { return chunk7OSUKFNG_cjs.LanguageDetectorInputProcessor; }
15
15
  });
16
16
  Object.defineProperty(exports, "ModerationInputProcessor", {
17
17
  enumerable: true,
18
- get: function () { return chunkI2YGYG3Y_cjs.ModerationInputProcessor; }
18
+ get: function () { return chunk7OSUKFNG_cjs.ModerationInputProcessor; }
19
19
  });
20
20
  Object.defineProperty(exports, "PIIDetectorInputProcessor", {
21
21
  enumerable: true,
22
- get: function () { return chunkI2YGYG3Y_cjs.PIIDetectorInputProcessor; }
22
+ get: function () { return chunk7OSUKFNG_cjs.PIIDetectorInputProcessor; }
23
23
  });
24
24
  Object.defineProperty(exports, "PromptInjectionDetectorInputProcessor", {
25
25
  enumerable: true,
26
- get: function () { return chunkI2YGYG3Y_cjs.PromptInjectionDetectorInputProcessor; }
26
+ get: function () { return chunk7OSUKFNG_cjs.PromptInjectionDetectorInputProcessor; }
27
27
  });
28
28
  Object.defineProperty(exports, "TripWire", {
29
29
  enumerable: true,
30
- get: function () { return chunkI2YGYG3Y_cjs.TripWire; }
30
+ get: function () { return chunk7OSUKFNG_cjs.TripWire; }
31
31
  });
32
32
  Object.defineProperty(exports, "UnicodeNormalizerInputProcessor", {
33
33
  enumerable: true,
34
- get: function () { return chunkI2YGYG3Y_cjs.UnicodeNormalizerInputProcessor; }
34
+ get: function () { return chunk7OSUKFNG_cjs.UnicodeNormalizerInputProcessor; }
35
35
  });
36
36
  Object.defineProperty(exports, "MessageList", {
37
37
  enumerable: true,
@@ -1,4 +1,4 @@
1
- export { Agent, LanguageDetectorInputProcessor, ModerationInputProcessor, PIIDetectorInputProcessor, PromptInjectionDetectorInputProcessor, TripWire, UnicodeNormalizerInputProcessor } from '../chunk-6JAIHLZY.js';
1
+ export { Agent, LanguageDetectorInputProcessor, ModerationInputProcessor, PIIDetectorInputProcessor, PromptInjectionDetectorInputProcessor, TripWire, UnicodeNormalizerInputProcessor } from '../chunk-5NGEKEU7.js';
2
2
  export { MessageList, convertMessages } from '../chunk-C5C4PN54.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 chunkI2YGYG3Y_cjs = require('../../chunk-I2YGYG3Y.cjs');
3
+ var chunk7OSUKFNG_cjs = require('../../chunk-7OSUKFNG.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "LanguageDetectorInputProcessor", {
8
8
  enumerable: true,
9
- get: function () { return chunkI2YGYG3Y_cjs.LanguageDetectorInputProcessor; }
9
+ get: function () { return chunk7OSUKFNG_cjs.LanguageDetectorInputProcessor; }
10
10
  });
11
11
  Object.defineProperty(exports, "ModerationInputProcessor", {
12
12
  enumerable: true,
13
- get: function () { return chunkI2YGYG3Y_cjs.ModerationInputProcessor; }
13
+ get: function () { return chunk7OSUKFNG_cjs.ModerationInputProcessor; }
14
14
  });
15
15
  Object.defineProperty(exports, "PIIDetectorInputProcessor", {
16
16
  enumerable: true,
17
- get: function () { return chunkI2YGYG3Y_cjs.PIIDetectorInputProcessor; }
17
+ get: function () { return chunk7OSUKFNG_cjs.PIIDetectorInputProcessor; }
18
18
  });
19
19
  Object.defineProperty(exports, "PromptInjectionDetectorInputProcessor", {
20
20
  enumerable: true,
21
- get: function () { return chunkI2YGYG3Y_cjs.PromptInjectionDetectorInputProcessor; }
21
+ get: function () { return chunk7OSUKFNG_cjs.PromptInjectionDetectorInputProcessor; }
22
22
  });
23
23
  Object.defineProperty(exports, "UnicodeNormalizerInputProcessor", {
24
24
  enumerable: true,
25
- get: function () { return chunkI2YGYG3Y_cjs.UnicodeNormalizerInputProcessor; }
25
+ get: function () { return chunk7OSUKFNG_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-6JAIHLZY.js';
1
+ export { LanguageDetectorInputProcessor, ModerationInputProcessor, PIIDetectorInputProcessor, PromptInjectionDetectorInputProcessor, UnicodeNormalizerInputProcessor } from '../../chunk-5NGEKEU7.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  import { DefaultVoice } from './chunk-XM2ASGWH.js';
2
2
  import { EMITTER_SYMBOL } from './chunk-GK5V7YTQ.js';
3
3
  import { InstrumentClass, Telemetry } from './chunk-76MWMAR7.js';
4
- import { MastraLLMV1 } from './chunk-IAOFOXVA.js';
4
+ import { MastraLLMV1 } from './chunk-BRNBKCHE.js';
5
5
  import { MessageList, DefaultGeneratedFile, DefaultGeneratedFileWithType } from './chunk-C5C4PN54.js';
6
6
  import { executeHook } from './chunk-TTELJD4F.js';
7
7
  import { ensureToolProperties, makeCoreTool, createMastraProxy, delay } from './chunk-FLXWZUIG.js';
@@ -454,6 +454,13 @@ function convertFullStreamChunkToUIMessageStream({
454
454
  } : {})
455
455
  };
456
456
  }
457
+ case "tool-output":
458
+ {
459
+ return {
460
+ id: part.toolCallId,
461
+ ...part.output
462
+ };
463
+ }
457
464
  case "tool-error":
458
465
  {
459
466
  return {
@@ -15460,5 +15467,5 @@ function deepMergeWorkflowState(a, b) {
15460
15467
  }
15461
15468
 
15462
15469
  export { AISDKV5OutputStream, Agent, DefaultExecutionEngine, ExecutionEngine, LanguageDetector, LanguageDetectorInputProcessor, LegacyStep, LegacyWorkflow, MastraModelOutput, ModerationInputProcessor, ModerationProcessor, PIIDetector, PIIDetectorInputProcessor, PromptInjectionDetector, PromptInjectionDetectorInputProcessor, Run, StructuredOutputProcessor, TripWire, UnicodeNormalizer, UnicodeNormalizerInputProcessor, WhenConditionReturnValue, Workflow, agentToStep, cloneStep, cloneWorkflow, createStep, createWorkflow, getActivePathsAndStatus, getResultActivePaths, getStepResult, getSuspendedPaths, isAgent, isConditionalKey, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, isWorkflow, loop, mapVariable, mergeChildValue, recursivelyCheckForFinalState, resolveVariables, updateStepInHierarchy, workflowToStep };
15463
- //# sourceMappingURL=chunk-6JAIHLZY.js.map
15464
- //# sourceMappingURL=chunk-6JAIHLZY.js.map
15470
+ //# sourceMappingURL=chunk-5NGEKEU7.js.map
15471
+ //# sourceMappingURL=chunk-5NGEKEU7.js.map