@mastra/core 1.11.0-alpha.1 → 1.11.0-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 (59) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/agent/index.cjs +13 -13
  3. package/dist/agent/index.js +2 -2
  4. package/dist/agent/message-list/conversion/output-converter.d.ts.map +1 -1
  5. package/dist/agent/message-list/index.cjs +18 -18
  6. package/dist/agent/message-list/index.js +1 -1
  7. package/dist/{chunk-2CSKXHM7.cjs → chunk-6NZQ52RZ.cjs} +22 -10
  8. package/dist/chunk-6NZQ52RZ.cjs.map +1 -0
  9. package/dist/{chunk-PUTCRAH6.cjs → chunk-6VSVQ62A.cjs} +43 -43
  10. package/dist/{chunk-PUTCRAH6.cjs.map → chunk-6VSVQ62A.cjs.map} +1 -1
  11. package/dist/{chunk-C574TBOV.js → chunk-VVX2O7XN.js} +3 -3
  12. package/dist/{chunk-C574TBOV.js.map → chunk-VVX2O7XN.js.map} +1 -1
  13. package/dist/{chunk-GQRY6HEY.js → chunk-WD467XGW.js} +22 -10
  14. package/dist/chunk-WD467XGW.js.map +1 -0
  15. package/dist/datasets/index.cjs +16 -16
  16. package/dist/datasets/index.js +1 -1
  17. package/dist/docs/SKILL.md +1 -1
  18. package/dist/docs/assets/SOURCE_MAP.json +182 -182
  19. package/dist/evals/index.cjs +4 -4
  20. package/dist/evals/index.js +1 -1
  21. package/dist/evals/scoreTraces/index.cjs +3 -3
  22. package/dist/evals/scoreTraces/index.js +1 -1
  23. package/dist/harness/index.cjs +3 -3
  24. package/dist/harness/index.js +1 -1
  25. package/dist/index.cjs +2 -2
  26. package/dist/index.js +1 -1
  27. package/dist/llm/index.cjs +6 -6
  28. package/dist/llm/index.js +1 -1
  29. package/dist/loop/index.cjs +14 -14
  30. package/dist/loop/index.js +1 -1
  31. package/dist/mastra/index.cjs +2 -2
  32. package/dist/mastra/index.js +1 -1
  33. package/dist/memory/index.cjs +14 -14
  34. package/dist/memory/index.js +1 -1
  35. package/dist/processor-provider/index.cjs +10 -10
  36. package/dist/processor-provider/index.js +1 -1
  37. package/dist/processors/index.cjs +42 -42
  38. package/dist/processors/index.js +1 -1
  39. package/dist/relevance/index.cjs +3 -3
  40. package/dist/relevance/index.js +1 -1
  41. package/dist/storage/index.cjs +64 -64
  42. package/dist/storage/index.js +1 -1
  43. package/dist/stream/index.cjs +11 -11
  44. package/dist/stream/index.js +2 -2
  45. package/dist/test-utils/llm-mock.cjs +12 -12
  46. package/dist/test-utils/llm-mock.js +3 -3
  47. package/dist/tool-loop-agent/index.cjs +4 -4
  48. package/dist/tool-loop-agent/index.js +1 -1
  49. package/dist/utils.cjs +23 -23
  50. package/dist/utils.js +1 -1
  51. package/dist/vector/index.cjs +9 -9
  52. package/dist/vector/index.js +2 -2
  53. package/dist/workflows/evented/index.cjs +10 -10
  54. package/dist/workflows/evented/index.js +1 -1
  55. package/dist/workflows/index.cjs +24 -24
  56. package/dist/workflows/index.js +1 -1
  57. package/package.json +5 -5
  58. package/dist/chunk-2CSKXHM7.cjs.map +0 -1
  59. package/dist/chunk-GQRY6HEY.js.map +0 -1
@@ -1,4 +1,4 @@
1
- export { ChunkFrom, MastraAgentNetworkStream, MastraModelOutput, WorkflowRunOutput, convertFullStreamChunkToMastra, convertFullStreamChunkToUIMessageStream, convertMastraChunkToAISDKv5 } from '../chunk-C574TBOV.js';
2
- export { DefaultGeneratedFile, DefaultGeneratedFileWithType } from '../chunk-GQRY6HEY.js';
1
+ export { ChunkFrom, MastraAgentNetworkStream, MastraModelOutput, WorkflowRunOutput, convertFullStreamChunkToMastra, convertFullStreamChunkToUIMessageStream, convertMastraChunkToAISDKv5 } from '../chunk-VVX2O7XN.js';
2
+ export { DefaultGeneratedFile, DefaultGeneratedFileWithType } from '../chunk-WD467XGW.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var chunkPUTCRAH6_cjs = require('../chunk-PUTCRAH6.cjs');
4
- var chunk2CSKXHM7_cjs = require('../chunk-2CSKXHM7.cjs');
3
+ var chunk6VSVQ62A_cjs = require('../chunk-6VSVQ62A.cjs');
4
+ var chunk6NZQ52RZ_cjs = require('../chunk-6NZQ52RZ.cjs');
5
5
  var async_hooks = require('async_hooks');
6
6
 
7
7
  var __defProp = Object.defineProperty;
8
8
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
9
- var __require2 = /* @__PURE__ */ ((x) => typeof chunk2CSKXHM7_cjs.__require !== "undefined" ? chunk2CSKXHM7_cjs.__require : typeof Proxy !== "undefined" ? new Proxy(x, {
10
- get: (a, b) => (typeof chunk2CSKXHM7_cjs.__require !== "undefined" ? chunk2CSKXHM7_cjs.__require : a)[b]
9
+ var __require2 = /* @__PURE__ */ ((x) => typeof chunk6NZQ52RZ_cjs.__require !== "undefined" ? chunk6NZQ52RZ_cjs.__require : typeof Proxy !== "undefined" ? new Proxy(x, {
10
+ get: (a, b) => (typeof chunk6NZQ52RZ_cjs.__require !== "undefined" ? chunk6NZQ52RZ_cjs.__require : a)[b]
11
11
  }) : x)(function(x) {
12
- if (typeof chunk2CSKXHM7_cjs.__require !== "undefined")
13
- return chunk2CSKXHM7_cjs.__require.apply(this, arguments);
12
+ if (typeof chunk6NZQ52RZ_cjs.__require !== "undefined")
13
+ return chunk6NZQ52RZ_cjs.__require.apply(this, arguments);
14
14
  throw Error('Dynamic require of "' + x + '" is not supported');
15
15
  });
16
16
  var __publicField = (obj, key, value) => {
@@ -14364,11 +14364,11 @@ var MastraLanguageModelV2Mock = class {
14364
14364
  this.supportedUrls = this.#model.supportedUrls;
14365
14365
  }
14366
14366
  doGenerate(options) {
14367
- const aiSDKModel = new chunkPUTCRAH6_cjs.AISDKV5LanguageModel(this.#model);
14367
+ const aiSDKModel = new chunk6VSVQ62A_cjs.AISDKV5LanguageModel(this.#model);
14368
14368
  return aiSDKModel.doGenerate(options);
14369
14369
  }
14370
14370
  doStream(options) {
14371
- const aiSDKModel = new chunkPUTCRAH6_cjs.AISDKV5LanguageModel(this.#model);
14371
+ const aiSDKModel = new chunk6VSVQ62A_cjs.AISDKV5LanguageModel(this.#model);
14372
14372
  return aiSDKModel.doStream(options);
14373
14373
  }
14374
14374
  get doGenerateCalls() {
@@ -14412,7 +14412,7 @@ function createMockModel({
14412
14412
  textDelta: word + " "
14413
14413
  }));
14414
14414
  return {
14415
- stream: chunk2CSKXHM7_cjs.simulateReadableStream({
14415
+ stream: chunk6NZQ52RZ_cjs.simulateReadableStream({
14416
14416
  chunks: [
14417
14417
  ...chunks,
14418
14418
  {
@@ -14471,7 +14471,7 @@ function createMockModel({
14471
14471
  });
14472
14472
  return mockModel;
14473
14473
  }
14474
- var MockProvider = class extends chunkPUTCRAH6_cjs.MastraLLMV1 {
14474
+ var MockProvider = class extends chunk6VSVQ62A_cjs.MastraLLMV1 {
14475
14475
  constructor({
14476
14476
  spyGenerate,
14477
14477
  spyStream,
@@ -14509,7 +14509,7 @@ var MockProvider = class extends chunkPUTCRAH6_cjs.MastraLLMV1 {
14509
14509
  textDelta: word + " "
14510
14510
  }));
14511
14511
  return {
14512
- stream: chunk2CSKXHM7_cjs.simulateReadableStream({
14512
+ stream: chunk6NZQ52RZ_cjs.simulateReadableStream({
14513
14513
  chunks: [
14514
14514
  ...chunks,
14515
14515
  {
@@ -14776,7 +14776,7 @@ var MockProvider = class extends chunkPUTCRAH6_cjs.MastraLLMV1 {
14776
14776
 
14777
14777
  Object.defineProperty(exports, "simulateReadableStream", {
14778
14778
  enumerable: true,
14779
- get: function () { return chunk2CSKXHM7_cjs.simulateReadableStream; }
14779
+ get: function () { return chunk6NZQ52RZ_cjs.simulateReadableStream; }
14780
14780
  });
14781
14781
  exports.MastraLanguageModelV2Mock = MastraLanguageModelV2Mock;
14782
14782
  exports.MockProvider = MockProvider;
@@ -1,6 +1,6 @@
1
- import { AISDKV5LanguageModel, MastraLLMV1 } from '../chunk-C574TBOV.js';
2
- import { simulateReadableStream, __require } from '../chunk-GQRY6HEY.js';
3
- export { simulateReadableStream } from '../chunk-GQRY6HEY.js';
1
+ import { AISDKV5LanguageModel, MastraLLMV1 } from '../chunk-VVX2O7XN.js';
2
+ import { simulateReadableStream, __require } from '../chunk-WD467XGW.js';
3
+ export { simulateReadableStream } from '../chunk-WD467XGW.js';
4
4
  import { AsyncLocalStorage } from 'async_hooks';
5
5
 
6
6
  var __defProp = Object.defineProperty;
@@ -1,20 +1,20 @@
1
1
  'use strict';
2
2
 
3
- var chunkPUTCRAH6_cjs = require('../chunk-PUTCRAH6.cjs');
3
+ var chunk6VSVQ62A_cjs = require('../chunk-6VSVQ62A.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "getSettings", {
8
8
  enumerable: true,
9
- get: function () { return chunkPUTCRAH6_cjs.getSettings; }
9
+ get: function () { return chunk6VSVQ62A_cjs.getSettings; }
10
10
  });
11
11
  Object.defineProperty(exports, "isToolLoopAgentLike", {
12
12
  enumerable: true,
13
- get: function () { return chunkPUTCRAH6_cjs.isToolLoopAgentLike; }
13
+ get: function () { return chunk6VSVQ62A_cjs.isToolLoopAgentLike; }
14
14
  });
15
15
  Object.defineProperty(exports, "toolLoopAgentToMastraAgent", {
16
16
  enumerable: true,
17
- get: function () { return chunkPUTCRAH6_cjs.toolLoopAgentToMastraAgent; }
17
+ get: function () { return chunk6VSVQ62A_cjs.toolLoopAgentToMastraAgent; }
18
18
  });
19
19
  //# sourceMappingURL=index.cjs.map
20
20
  //# sourceMappingURL=index.cjs.map
@@ -1,3 +1,3 @@
1
- export { getSettings, isToolLoopAgentLike, toolLoopAgentToMastraAgent } from '../chunk-C574TBOV.js';
1
+ export { getSettings, isToolLoopAgentLike, toolLoopAgentToMastraAgent } from '../chunk-VVX2O7XN.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
package/dist/utils.cjs CHANGED
@@ -1,97 +1,97 @@
1
1
  'use strict';
2
2
 
3
- var chunkPUTCRAH6_cjs = require('./chunk-PUTCRAH6.cjs');
3
+ var chunk6VSVQ62A_cjs = require('./chunk-6VSVQ62A.cjs');
4
4
  var chunkRLPRSIR2_cjs = require('./chunk-RLPRSIR2.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "checkEvalStorageFields", {
9
9
  enumerable: true,
10
- get: function () { return chunkPUTCRAH6_cjs.checkEvalStorageFields; }
10
+ get: function () { return chunk6VSVQ62A_cjs.checkEvalStorageFields; }
11
11
  });
12
12
  Object.defineProperty(exports, "createMastraProxy", {
13
13
  enumerable: true,
14
- get: function () { return chunkPUTCRAH6_cjs.createMastraProxy; }
14
+ get: function () { return chunk6VSVQ62A_cjs.createMastraProxy; }
15
15
  });
16
16
  Object.defineProperty(exports, "deepEqual", {
17
17
  enumerable: true,
18
- get: function () { return chunkPUTCRAH6_cjs.deepEqual; }
18
+ get: function () { return chunk6VSVQ62A_cjs.deepEqual; }
19
19
  });
20
20
  Object.defineProperty(exports, "deepMerge", {
21
21
  enumerable: true,
22
- get: function () { return chunkPUTCRAH6_cjs.deepMerge; }
22
+ get: function () { return chunk6VSVQ62A_cjs.deepMerge; }
23
23
  });
24
24
  Object.defineProperty(exports, "delay", {
25
25
  enumerable: true,
26
- get: function () { return chunkPUTCRAH6_cjs.delay; }
26
+ get: function () { return chunk6VSVQ62A_cjs.delay; }
27
27
  });
28
28
  Object.defineProperty(exports, "ensureToolProperties", {
29
29
  enumerable: true,
30
- get: function () { return chunkPUTCRAH6_cjs.ensureToolProperties; }
30
+ get: function () { return chunk6VSVQ62A_cjs.ensureToolProperties; }
31
31
  });
32
32
  Object.defineProperty(exports, "fetchWithRetry", {
33
33
  enumerable: true,
34
- get: function () { return chunkPUTCRAH6_cjs.fetchWithRetry; }
34
+ get: function () { return chunk6VSVQ62A_cjs.fetchWithRetry; }
35
35
  });
36
36
  Object.defineProperty(exports, "generateEmptyFromSchema", {
37
37
  enumerable: true,
38
- get: function () { return chunkPUTCRAH6_cjs.generateEmptyFromSchema; }
38
+ get: function () { return chunk6VSVQ62A_cjs.generateEmptyFromSchema; }
39
39
  });
40
40
  Object.defineProperty(exports, "getNestedValue", {
41
41
  enumerable: true,
42
- get: function () { return chunkPUTCRAH6_cjs.getNestedValue; }
42
+ get: function () { return chunk6VSVQ62A_cjs.getNestedValue; }
43
43
  });
44
44
  Object.defineProperty(exports, "isCoreMessage", {
45
45
  enumerable: true,
46
- get: function () { return chunkPUTCRAH6_cjs.isCoreMessage; }
46
+ get: function () { return chunk6VSVQ62A_cjs.isCoreMessage; }
47
47
  });
48
48
  Object.defineProperty(exports, "isUiMessage", {
49
49
  enumerable: true,
50
- get: function () { return chunkPUTCRAH6_cjs.isUiMessage; }
50
+ get: function () { return chunk6VSVQ62A_cjs.isUiMessage; }
51
51
  });
52
52
  Object.defineProperty(exports, "isZodType", {
53
53
  enumerable: true,
54
- get: function () { return chunkPUTCRAH6_cjs.isZodType; }
54
+ get: function () { return chunk6VSVQ62A_cjs.isZodType; }
55
55
  });
56
56
  Object.defineProperty(exports, "makeCoreTool", {
57
57
  enumerable: true,
58
- get: function () { return chunkPUTCRAH6_cjs.makeCoreTool; }
58
+ get: function () { return chunk6VSVQ62A_cjs.makeCoreTool; }
59
59
  });
60
60
  Object.defineProperty(exports, "makeCoreToolV5", {
61
61
  enumerable: true,
62
- get: function () { return chunkPUTCRAH6_cjs.makeCoreToolV5; }
62
+ get: function () { return chunk6VSVQ62A_cjs.makeCoreToolV5; }
63
63
  });
64
64
  Object.defineProperty(exports, "maskStreamTags", {
65
65
  enumerable: true,
66
- get: function () { return chunkPUTCRAH6_cjs.maskStreamTags; }
66
+ get: function () { return chunk6VSVQ62A_cjs.maskStreamTags; }
67
67
  });
68
68
  Object.defineProperty(exports, "omitKeys", {
69
69
  enumerable: true,
70
- get: function () { return chunkPUTCRAH6_cjs.omitKeys; }
70
+ get: function () { return chunk6VSVQ62A_cjs.omitKeys; }
71
71
  });
72
72
  Object.defineProperty(exports, "parseFieldKey", {
73
73
  enumerable: true,
74
- get: function () { return chunkPUTCRAH6_cjs.parseFieldKey; }
74
+ get: function () { return chunk6VSVQ62A_cjs.parseFieldKey; }
75
75
  });
76
76
  Object.defineProperty(exports, "parseSqlIdentifier", {
77
77
  enumerable: true,
78
- get: function () { return chunkPUTCRAH6_cjs.parseSqlIdentifier; }
78
+ get: function () { return chunk6VSVQ62A_cjs.parseSqlIdentifier; }
79
79
  });
80
80
  Object.defineProperty(exports, "removeUndefinedValues", {
81
81
  enumerable: true,
82
- get: function () { return chunkPUTCRAH6_cjs.removeUndefinedValues; }
82
+ get: function () { return chunk6VSVQ62A_cjs.removeUndefinedValues; }
83
83
  });
84
84
  Object.defineProperty(exports, "resolveSerializedZodOutput", {
85
85
  enumerable: true,
86
- get: function () { return chunkPUTCRAH6_cjs.resolveSerializedZodOutput; }
86
+ get: function () { return chunk6VSVQ62A_cjs.resolveSerializedZodOutput; }
87
87
  });
88
88
  Object.defineProperty(exports, "selectFields", {
89
89
  enumerable: true,
90
- get: function () { return chunkPUTCRAH6_cjs.selectFields; }
90
+ get: function () { return chunk6VSVQ62A_cjs.selectFields; }
91
91
  });
92
92
  Object.defineProperty(exports, "setNestedValue", {
93
93
  enumerable: true,
94
- get: function () { return chunkPUTCRAH6_cjs.setNestedValue; }
94
+ get: function () { return chunk6VSVQ62A_cjs.setNestedValue; }
95
95
  });
96
96
  Object.defineProperty(exports, "getZodDef", {
97
97
  enumerable: true,
package/dist/utils.js CHANGED
@@ -1,4 +1,4 @@
1
- export { checkEvalStorageFields, createMastraProxy, deepEqual, deepMerge, delay, ensureToolProperties, fetchWithRetry, generateEmptyFromSchema, getNestedValue, isCoreMessage, isUiMessage, isZodType, makeCoreTool, makeCoreToolV5, maskStreamTags, omitKeys, parseFieldKey, parseSqlIdentifier, removeUndefinedValues, resolveSerializedZodOutput, selectFields, setNestedValue } from './chunk-C574TBOV.js';
1
+ export { checkEvalStorageFields, createMastraProxy, deepEqual, deepMerge, delay, ensureToolProperties, fetchWithRetry, generateEmptyFromSchema, getNestedValue, isCoreMessage, isUiMessage, isZodType, makeCoreTool, makeCoreToolV5, maskStreamTags, omitKeys, parseFieldKey, parseSqlIdentifier, removeUndefinedValues, resolveSerializedZodOutput, selectFields, setNestedValue } from './chunk-VVX2O7XN.js';
2
2
  export { getZodDef, getZodTypeName, isZodArray, isZodObject } from './chunk-RT2LCNDN.js';
3
3
  //# sourceMappingURL=utils.js.map
4
4
  //# sourceMappingURL=utils.js.map
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var chunk6XCINXZ7_cjs = require('../chunk-6XCINXZ7.cjs');
4
- var chunkPUTCRAH6_cjs = require('../chunk-PUTCRAH6.cjs');
4
+ var chunk6VSVQ62A_cjs = require('../chunk-6VSVQ62A.cjs');
5
5
  var chunkCWLK5FXA_cjs = require('../chunk-CWLK5FXA.cjs');
6
- var chunk2CSKXHM7_cjs = require('../chunk-2CSKXHM7.cjs');
6
+ var chunk6NZQ52RZ_cjs = require('../chunk-6NZQ52RZ.cjs');
7
7
  var chunkTYXLVOEC_cjs = require('../chunk-TYXLVOEC.cjs');
8
8
  var chunk4U7ZLI36_cjs = require('../chunk-4U7ZLI36.cjs');
9
9
  var chunkRO47SMI7_cjs = require('../chunk-RO47SMI7.cjs');
@@ -92,7 +92,7 @@ var MastraVector = class extends chunkRO47SMI7_cjs.MastraBase {
92
92
  function validateUpsertInput(storeName, vectors, metadata, ids) {
93
93
  if (!vectors || vectors.length === 0) {
94
94
  throw new chunk4U7ZLI36_cjs.MastraError({
95
- id: chunkPUTCRAH6_cjs.createVectorErrorId(storeName, "UPSERT", "EMPTY_VECTORS"),
95
+ id: chunk6VSVQ62A_cjs.createVectorErrorId(storeName, "UPSERT", "EMPTY_VECTORS"),
96
96
  domain: "MASTRA_VECTOR" /* MASTRA_VECTOR */,
97
97
  category: "USER" /* USER */,
98
98
  details: {
@@ -102,7 +102,7 @@ function validateUpsertInput(storeName, vectors, metadata, ids) {
102
102
  }
103
103
  if (metadata && metadata.length > 0 && metadata.length !== vectors.length) {
104
104
  throw new chunk4U7ZLI36_cjs.MastraError({
105
- id: chunkPUTCRAH6_cjs.createVectorErrorId(storeName, "UPSERT", "METADATA_LENGTH_MISMATCH"),
105
+ id: chunk6VSVQ62A_cjs.createVectorErrorId(storeName, "UPSERT", "METADATA_LENGTH_MISMATCH"),
106
106
  domain: "MASTRA_VECTOR" /* MASTRA_VECTOR */,
107
107
  category: "USER" /* USER */,
108
108
  details: {
@@ -114,7 +114,7 @@ function validateUpsertInput(storeName, vectors, metadata, ids) {
114
114
  }
115
115
  if (ids && ids.length !== vectors.length) {
116
116
  throw new chunk4U7ZLI36_cjs.MastraError({
117
- id: chunkPUTCRAH6_cjs.createVectorErrorId(storeName, "UPSERT", "IDS_LENGTH_MISMATCH"),
117
+ id: chunk6VSVQ62A_cjs.createVectorErrorId(storeName, "UPSERT", "IDS_LENGTH_MISMATCH"),
118
118
  domain: "MASTRA_VECTOR" /* MASTRA_VECTOR */,
119
119
  category: "USER" /* USER */,
120
120
  details: {
@@ -128,7 +128,7 @@ function validateUpsertInput(storeName, vectors, metadata, ids) {
128
128
  function validateTopK(storeName, topK) {
129
129
  if (!Number.isInteger(topK) || topK <= 0) {
130
130
  throw new chunk4U7ZLI36_cjs.MastraError({
131
- id: chunkPUTCRAH6_cjs.createVectorErrorId(storeName, "QUERY", "INVALID_TOP_K"),
131
+ id: chunk6VSVQ62A_cjs.createVectorErrorId(storeName, "QUERY", "INVALID_TOP_K"),
132
132
  domain: "MASTRA_VECTOR" /* MASTRA_VECTOR */,
133
133
  category: "USER" /* USER */,
134
134
  details: {
@@ -143,7 +143,7 @@ function validateVectorValues(storeName, vectors) {
143
143
  const vector = vectors[i];
144
144
  if (!vector) {
145
145
  throw new chunk4U7ZLI36_cjs.MastraError({
146
- id: chunkPUTCRAH6_cjs.createVectorErrorId(storeName, "UPSERT", "INVALID_VECTOR"),
146
+ id: chunk6VSVQ62A_cjs.createVectorErrorId(storeName, "UPSERT", "INVALID_VECTOR"),
147
147
  domain: "MASTRA_VECTOR" /* MASTRA_VECTOR */,
148
148
  category: "USER" /* USER */,
149
149
  details: {
@@ -156,7 +156,7 @@ function validateVectorValues(storeName, vectors) {
156
156
  const value = vector[j];
157
157
  if (value === null || value === void 0 || !Number.isFinite(value)) {
158
158
  throw new chunk4U7ZLI36_cjs.MastraError({
159
- id: chunkPUTCRAH6_cjs.createVectorErrorId(storeName, "UPSERT", "INVALID_VECTOR_VALUE"),
159
+ id: chunk6VSVQ62A_cjs.createVectorErrorId(storeName, "UPSERT", "INVALID_VECTOR_VALUE"),
160
160
  domain: "MASTRA_VECTOR" /* MASTRA_VECTOR */,
161
161
  category: "USER" /* USER */,
162
162
  details: {
@@ -187,7 +187,7 @@ Object.defineProperty(exports, "embedV3", {
187
187
  });
188
188
  Object.defineProperty(exports, "embedV1", {
189
189
  enumerable: true,
190
- get: function () { return chunk2CSKXHM7_cjs.embed; }
190
+ get: function () { return chunk6NZQ52RZ_cjs.embed; }
191
191
  });
192
192
  Object.defineProperty(exports, "embedV2", {
193
193
  enumerable: true,
@@ -1,7 +1,7 @@
1
1
  export { BaseFilterTranslator } from '../chunk-BWYU7D33.js';
2
- import { createVectorErrorId } from '../chunk-C574TBOV.js';
2
+ import { createVectorErrorId } from '../chunk-VVX2O7XN.js';
3
3
  export { embed as embedV3 } from '../chunk-Y2MVLQFW.js';
4
- export { embed as embedV1 } from '../chunk-GQRY6HEY.js';
4
+ export { embed as embedV1 } from '../chunk-WD467XGW.js';
5
5
  export { embed as embedV2 } from '../chunk-76ZCW5L6.js';
6
6
  import { MastraError } from '../chunk-FJEVLHJT.js';
7
7
  import { MastraBase } from '../chunk-WCAFTXGK.js';
@@ -1,44 +1,44 @@
1
1
  'use strict';
2
2
 
3
- var chunkPUTCRAH6_cjs = require('../../chunk-PUTCRAH6.cjs');
3
+ var chunk6VSVQ62A_cjs = require('../../chunk-6VSVQ62A.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "EventedExecutionEngine", {
8
8
  enumerable: true,
9
- get: function () { return chunkPUTCRAH6_cjs.EventedExecutionEngine; }
9
+ get: function () { return chunk6VSVQ62A_cjs.EventedExecutionEngine; }
10
10
  });
11
11
  Object.defineProperty(exports, "EventedRun", {
12
12
  enumerable: true,
13
- get: function () { return chunkPUTCRAH6_cjs.EventedRun; }
13
+ get: function () { return chunk6VSVQ62A_cjs.EventedRun; }
14
14
  });
15
15
  Object.defineProperty(exports, "EventedWorkflow", {
16
16
  enumerable: true,
17
- get: function () { return chunkPUTCRAH6_cjs.EventedWorkflow; }
17
+ get: function () { return chunk6VSVQ62A_cjs.EventedWorkflow; }
18
18
  });
19
19
  Object.defineProperty(exports, "StepExecutor", {
20
20
  enumerable: true,
21
- get: function () { return chunkPUTCRAH6_cjs.StepExecutor; }
21
+ get: function () { return chunk6VSVQ62A_cjs.StepExecutor; }
22
22
  });
23
23
  Object.defineProperty(exports, "WorkflowEventProcessor", {
24
24
  enumerable: true,
25
- get: function () { return chunkPUTCRAH6_cjs.WorkflowEventProcessor; }
25
+ get: function () { return chunk6VSVQ62A_cjs.WorkflowEventProcessor; }
26
26
  });
27
27
  Object.defineProperty(exports, "cloneStep", {
28
28
  enumerable: true,
29
- get: function () { return chunkPUTCRAH6_cjs.cloneStep2; }
29
+ get: function () { return chunk6VSVQ62A_cjs.cloneStep2; }
30
30
  });
31
31
  Object.defineProperty(exports, "cloneWorkflow", {
32
32
  enumerable: true,
33
- get: function () { return chunkPUTCRAH6_cjs.cloneWorkflow2; }
33
+ get: function () { return chunk6VSVQ62A_cjs.cloneWorkflow2; }
34
34
  });
35
35
  Object.defineProperty(exports, "createStep", {
36
36
  enumerable: true,
37
- get: function () { return chunkPUTCRAH6_cjs.createStep2; }
37
+ get: function () { return chunk6VSVQ62A_cjs.createStep2; }
38
38
  });
39
39
  Object.defineProperty(exports, "createWorkflow", {
40
40
  enumerable: true,
41
- get: function () { return chunkPUTCRAH6_cjs.createWorkflow2; }
41
+ get: function () { return chunk6VSVQ62A_cjs.createWorkflow2; }
42
42
  });
43
43
  //# sourceMappingURL=index.cjs.map
44
44
  //# sourceMappingURL=index.cjs.map
@@ -1,3 +1,3 @@
1
- export { EventedExecutionEngine, EventedRun, EventedWorkflow, StepExecutor, WorkflowEventProcessor, cloneStep2 as cloneStep, cloneWorkflow2 as cloneWorkflow, createStep2 as createStep, createWorkflow2 as createWorkflow } from '../../chunk-C574TBOV.js';
1
+ export { EventedExecutionEngine, EventedRun, EventedWorkflow, StepExecutor, WorkflowEventProcessor, cloneStep2 as cloneStep, cloneWorkflow2 as cloneWorkflow, createStep2 as createStep, createWorkflow2 as createWorkflow } from '../../chunk-VVX2O7XN.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -1,100 +1,100 @@
1
1
  'use strict';
2
2
 
3
- var chunkPUTCRAH6_cjs = require('../chunk-PUTCRAH6.cjs');
3
+ var chunk6VSVQ62A_cjs = require('../chunk-6VSVQ62A.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "DefaultExecutionEngine", {
8
8
  enumerable: true,
9
- get: function () { return chunkPUTCRAH6_cjs.DefaultExecutionEngine; }
9
+ get: function () { return chunk6VSVQ62A_cjs.DefaultExecutionEngine; }
10
10
  });
11
11
  Object.defineProperty(exports, "ExecutionEngine", {
12
12
  enumerable: true,
13
- get: function () { return chunkPUTCRAH6_cjs.ExecutionEngine; }
13
+ get: function () { return chunk6VSVQ62A_cjs.ExecutionEngine; }
14
14
  });
15
15
  Object.defineProperty(exports, "Run", {
16
16
  enumerable: true,
17
- get: function () { return chunkPUTCRAH6_cjs.Run; }
17
+ get: function () { return chunk6VSVQ62A_cjs.Run; }
18
18
  });
19
19
  Object.defineProperty(exports, "Workflow", {
20
20
  enumerable: true,
21
- get: function () { return chunkPUTCRAH6_cjs.Workflow; }
21
+ get: function () { return chunk6VSVQ62A_cjs.Workflow; }
22
22
  });
23
23
  Object.defineProperty(exports, "cleanStepResult", {
24
24
  enumerable: true,
25
- get: function () { return chunkPUTCRAH6_cjs.cleanStepResult; }
25
+ get: function () { return chunk6VSVQ62A_cjs.cleanStepResult; }
26
26
  });
27
27
  Object.defineProperty(exports, "cloneStep", {
28
28
  enumerable: true,
29
- get: function () { return chunkPUTCRAH6_cjs.cloneStep; }
29
+ get: function () { return chunk6VSVQ62A_cjs.cloneStep; }
30
30
  });
31
31
  Object.defineProperty(exports, "cloneWorkflow", {
32
32
  enumerable: true,
33
- get: function () { return chunkPUTCRAH6_cjs.cloneWorkflow; }
33
+ get: function () { return chunk6VSVQ62A_cjs.cloneWorkflow; }
34
34
  });
35
35
  Object.defineProperty(exports, "createDeprecationProxy", {
36
36
  enumerable: true,
37
- get: function () { return chunkPUTCRAH6_cjs.createDeprecationProxy; }
37
+ get: function () { return chunk6VSVQ62A_cjs.createDeprecationProxy; }
38
38
  });
39
39
  Object.defineProperty(exports, "createStep", {
40
40
  enumerable: true,
41
- get: function () { return chunkPUTCRAH6_cjs.createStep; }
41
+ get: function () { return chunk6VSVQ62A_cjs.createStep; }
42
42
  });
43
43
  Object.defineProperty(exports, "createTimeTravelExecutionParams", {
44
44
  enumerable: true,
45
- get: function () { return chunkPUTCRAH6_cjs.createTimeTravelExecutionParams; }
45
+ get: function () { return chunk6VSVQ62A_cjs.createTimeTravelExecutionParams; }
46
46
  });
47
47
  Object.defineProperty(exports, "createWorkflow", {
48
48
  enumerable: true,
49
- get: function () { return chunkPUTCRAH6_cjs.createWorkflow; }
49
+ get: function () { return chunk6VSVQ62A_cjs.createWorkflow; }
50
50
  });
51
51
  Object.defineProperty(exports, "getResumeLabelsByStepId", {
52
52
  enumerable: true,
53
- get: function () { return chunkPUTCRAH6_cjs.getResumeLabelsByStepId; }
53
+ get: function () { return chunk6VSVQ62A_cjs.getResumeLabelsByStepId; }
54
54
  });
55
55
  Object.defineProperty(exports, "getStepIds", {
56
56
  enumerable: true,
57
- get: function () { return chunkPUTCRAH6_cjs.getStepIds; }
57
+ get: function () { return chunk6VSVQ62A_cjs.getStepIds; }
58
58
  });
59
59
  Object.defineProperty(exports, "getStepResult", {
60
60
  enumerable: true,
61
- get: function () { return chunkPUTCRAH6_cjs.getStepResult; }
61
+ get: function () { return chunk6VSVQ62A_cjs.getStepResult; }
62
62
  });
63
63
  Object.defineProperty(exports, "hydrateSerializedStepErrors", {
64
64
  enumerable: true,
65
- get: function () { return chunkPUTCRAH6_cjs.hydrateSerializedStepErrors; }
65
+ get: function () { return chunk6VSVQ62A_cjs.hydrateSerializedStepErrors; }
66
66
  });
67
67
  Object.defineProperty(exports, "isProcessor", {
68
68
  enumerable: true,
69
- get: function () { return chunkPUTCRAH6_cjs.isProcessor; }
69
+ get: function () { return chunk6VSVQ62A_cjs.isProcessor; }
70
70
  });
71
71
  Object.defineProperty(exports, "mapVariable", {
72
72
  enumerable: true,
73
- get: function () { return chunkPUTCRAH6_cjs.mapVariable; }
73
+ get: function () { return chunk6VSVQ62A_cjs.mapVariable; }
74
74
  });
75
75
  Object.defineProperty(exports, "runCountDeprecationMessage", {
76
76
  enumerable: true,
77
- get: function () { return chunkPUTCRAH6_cjs.runCountDeprecationMessage; }
77
+ get: function () { return chunk6VSVQ62A_cjs.runCountDeprecationMessage; }
78
78
  });
79
79
  Object.defineProperty(exports, "validateStepInput", {
80
80
  enumerable: true,
81
- get: function () { return chunkPUTCRAH6_cjs.validateStepInput; }
81
+ get: function () { return chunk6VSVQ62A_cjs.validateStepInput; }
82
82
  });
83
83
  Object.defineProperty(exports, "validateStepRequestContext", {
84
84
  enumerable: true,
85
- get: function () { return chunkPUTCRAH6_cjs.validateStepRequestContext; }
85
+ get: function () { return chunk6VSVQ62A_cjs.validateStepRequestContext; }
86
86
  });
87
87
  Object.defineProperty(exports, "validateStepResumeData", {
88
88
  enumerable: true,
89
- get: function () { return chunkPUTCRAH6_cjs.validateStepResumeData; }
89
+ get: function () { return chunk6VSVQ62A_cjs.validateStepResumeData; }
90
90
  });
91
91
  Object.defineProperty(exports, "validateStepStateData", {
92
92
  enumerable: true,
93
- get: function () { return chunkPUTCRAH6_cjs.validateStepStateData; }
93
+ get: function () { return chunk6VSVQ62A_cjs.validateStepStateData; }
94
94
  });
95
95
  Object.defineProperty(exports, "validateStepSuspendData", {
96
96
  enumerable: true,
97
- get: function () { return chunkPUTCRAH6_cjs.validateStepSuspendData; }
97
+ get: function () { return chunk6VSVQ62A_cjs.validateStepSuspendData; }
98
98
  });
99
99
  //# sourceMappingURL=index.cjs.map
100
100
  //# sourceMappingURL=index.cjs.map
@@ -1,3 +1,3 @@
1
- export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cleanStepResult, cloneStep, cloneWorkflow, createDeprecationProxy, createStep, createTimeTravelExecutionParams, createWorkflow, getResumeLabelsByStepId, getStepIds, getStepResult, hydrateSerializedStepErrors, isProcessor, mapVariable, runCountDeprecationMessage, validateStepInput, validateStepRequestContext, validateStepResumeData, validateStepStateData, validateStepSuspendData } from '../chunk-C574TBOV.js';
1
+ export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cleanStepResult, cloneStep, cloneWorkflow, createDeprecationProxy, createStep, createTimeTravelExecutionParams, createWorkflow, getResumeLabelsByStepId, getStepIds, getStepResult, hydrateSerializedStepErrors, isProcessor, mapVariable, runCountDeprecationMessage, validateStepInput, validateStepRequestContext, validateStepResumeData, validateStepStateData, validateStepSuspendData } from '../chunk-VVX2O7XN.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/core",
3
- "version": "1.11.0-alpha.1",
3
+ "version": "1.11.0-alpha.2",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -279,12 +279,12 @@
279
279
  "zod": "^4.3.6",
280
280
  "@internal/ai-sdk-v4": "0.0.13",
281
281
  "@internal/ai-sdk-v5": "0.0.13",
282
- "@internal/external-types": "0.0.16",
283
282
  "@internal/ai-v6": "0.0.13",
284
- "@internal/llm-recorder": "0.0.2",
285
- "@internal/test-utils": "0.0.2",
286
283
  "@internal/lint": "0.0.66",
287
- "@internal/types-builder": "0.0.41"
284
+ "@internal/external-types": "0.0.16",
285
+ "@internal/types-builder": "0.0.41",
286
+ "@internal/test-utils": "0.0.2",
287
+ "@internal/llm-recorder": "0.0.2"
288
288
  },
289
289
  "engines": {
290
290
  "node": ">=22.13.0"