@mastra/core 0.10.1 → 0.10.2-alpha.0

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 (75) hide show
  1. package/dist/agent/index.cjs +7 -2
  2. package/dist/agent/index.d.cts +9 -9
  3. package/dist/agent/index.d.ts +9 -9
  4. package/dist/agent/index.js +2 -1
  5. package/dist/{base-QP4OC4dB.d.ts → base-CAqn5W09.d.ts} +1454 -1361
  6. package/dist/{base-B96VvaWm.d.cts → base-D9eDBAGU.d.cts} +1454 -1361
  7. package/dist/{chunk-SFZZYGKB.cjs → chunk-45KYIT4M.cjs} +2 -2
  8. package/dist/{chunk-VRACJIAE.js → chunk-4E23D2OW.js} +2 -2
  9. package/dist/{chunk-STLR3SIQ.cjs → chunk-4I6LG5EO.cjs} +6 -92
  10. package/dist/{chunk-2YYOF7DO.js → chunk-5UFUPI3G.js} +5 -91
  11. package/dist/{chunk-U3L3NEOM.cjs → chunk-DXLVS7ML.cjs} +1 -19
  12. package/dist/{chunk-2PW6UJMW.js → chunk-EQTIDVPN.js} +2 -19
  13. package/dist/{chunk-MAFHTHTJ.cjs → chunk-F36FCB7W.cjs} +4 -4
  14. package/dist/{chunk-5JRD3NDP.cjs → chunk-I5OLBJ26.cjs} +6 -77
  15. package/dist/chunk-LCCQWUQP.js +962 -0
  16. package/dist/{chunk-SLKAWVQR.cjs → chunk-MRZIV2XD.cjs} +192 -378
  17. package/dist/{chunk-SKG2NIZW.cjs → chunk-RK6DHZUA.cjs} +2 -2
  18. package/dist/{chunk-OCT2762Q.js → chunk-RMTG7VWR.js} +1 -1
  19. package/dist/{chunk-RARKB3F2.js → chunk-UNWU2RJV.js} +1 -1
  20. package/dist/chunk-XAO67QBR.cjs +964 -0
  21. package/dist/{chunk-RFERFI6B.js → chunk-YA4JI2CB.js} +183 -369
  22. package/dist/{chunk-BPTSLJHA.js → chunk-ZJYHZO6Y.js} +2 -73
  23. package/dist/eval/index.d.cts +8 -8
  24. package/dist/eval/index.d.ts +8 -8
  25. package/dist/index.cjs +46 -50
  26. package/dist/index.d.cts +7 -7
  27. package/dist/index.d.ts +7 -7
  28. package/dist/index.js +10 -10
  29. package/dist/integration/index.cjs +3 -3
  30. package/dist/integration/index.d.cts +9 -9
  31. package/dist/integration/index.d.ts +9 -9
  32. package/dist/integration/index.js +1 -1
  33. package/dist/llm/index.d.cts +8 -8
  34. package/dist/llm/index.d.ts +8 -8
  35. package/dist/mastra/index.d.cts +6 -6
  36. package/dist/mastra/index.d.ts +6 -6
  37. package/dist/mcp/index.d.cts +11 -11
  38. package/dist/mcp/index.d.ts +11 -11
  39. package/dist/memory/index.cjs +4 -4
  40. package/dist/memory/index.d.cts +9 -9
  41. package/dist/memory/index.d.ts +9 -9
  42. package/dist/memory/index.js +1 -1
  43. package/dist/network/index.cjs +4 -4
  44. package/dist/network/index.d.cts +9 -9
  45. package/dist/network/index.d.ts +9 -9
  46. package/dist/network/index.js +2 -2
  47. package/dist/relevance/index.cjs +4 -4
  48. package/dist/relevance/index.d.cts +11 -11
  49. package/dist/relevance/index.d.ts +11 -11
  50. package/dist/relevance/index.js +1 -1
  51. package/dist/server/index.d.cts +9 -9
  52. package/dist/server/index.d.ts +9 -9
  53. package/dist/storage/index.d.cts +18 -18
  54. package/dist/storage/index.d.ts +18 -18
  55. package/dist/telemetry/index.d.cts +9 -9
  56. package/dist/telemetry/index.d.ts +9 -9
  57. package/dist/tools/index.cjs +4 -4
  58. package/dist/tools/index.d.cts +9 -9
  59. package/dist/tools/index.d.ts +9 -9
  60. package/dist/tools/index.js +1 -1
  61. package/dist/utils.cjs +15 -19
  62. package/dist/utils.d.cts +10 -11
  63. package/dist/utils.d.ts +10 -11
  64. package/dist/utils.js +1 -1
  65. package/dist/voice/index.d.cts +9 -9
  66. package/dist/voice/index.d.ts +9 -9
  67. package/dist/workflows/index.cjs +9 -9
  68. package/dist/workflows/index.d.cts +9 -9
  69. package/dist/workflows/index.d.ts +9 -9
  70. package/dist/workflows/index.js +1 -1
  71. package/dist/workflows/legacy/index.cjs +22 -22
  72. package/dist/workflows/legacy/index.d.cts +9 -9
  73. package/dist/workflows/legacy/index.d.ts +9 -9
  74. package/dist/workflows/legacy/index.js +1 -1
  75. package/package.json +5 -2
@@ -1,30 +1,30 @@
1
- import { c as MastraStorage, T as TABLE_NAMES, S as StorageColumn, d as StorageThreadType, e as MessageType, f as StorageGetMessagesArg, E as EvalRow, W as WorkflowRuns, g as WorkflowRun } from '../base-B96VvaWm.cjs';
2
- export { h as LegacyWorkflowRun, L as LegacyWorkflowRuns, j as TABLE_EVALS, k as TABLE_MESSAGES, n as TABLE_SCHEMAS, l as TABLE_THREADS, m as TABLE_TRACES, i as TABLE_WORKFLOW_SNAPSHOT } from '../base-B96VvaWm.cjs';
3
- import 'ai';
1
+ import { c as MastraStorage, T as TABLE_NAMES, S as StorageColumn, d as StorageThreadType, e as MastraMessageV2, f as StorageGetMessagesArg, E as EvalRow, W as WorkflowRuns, g as WorkflowRun } from '../base-D9eDBAGU.cjs';
2
+ export { h as LegacyWorkflowRun, L as LegacyWorkflowRuns, j as TABLE_EVALS, k as TABLE_MESSAGES, n as TABLE_SCHEMAS, l as TABLE_THREADS, m as TABLE_TRACES, i as TABLE_WORKFLOW_SNAPSHOT } from '../base-D9eDBAGU.cjs';
4
3
  import '../base-aPYtPBT2.cjs';
5
- import '@opentelemetry/api';
6
- import '../logger-EhZkzZOr.cjs';
7
- import 'stream';
8
- import '@opentelemetry/sdk-trace-base';
9
- import '../types-Bo1uigWx.cjs';
10
- import 'sift';
4
+ import 'ai';
11
5
  import 'zod';
12
6
  import 'json-schema';
13
- import '../deployer/index.cjs';
14
- import '../bundler/index.cjs';
15
- import 'node:http';
16
- import 'hono';
17
- import '../runtime-context/index.cjs';
7
+ import '../logger-EhZkzZOr.cjs';
8
+ import 'stream';
18
9
  import '../tts/index.cjs';
19
10
  import '../vector/index.cjs';
20
11
  import '../vector/filter/index.cjs';
12
+ import '../types-Bo1uigWx.cjs';
13
+ import 'sift';
14
+ import '../runtime-context/index.cjs';
15
+ import '@opentelemetry/api';
21
16
  import 'xstate';
22
17
  import 'node:events';
18
+ import 'node:http';
19
+ import 'hono';
23
20
  import 'events';
24
21
  import '../workflows/constants.cjs';
22
+ import 'ai/test';
23
+ import '../deployer/index.cjs';
24
+ import '../bundler/index.cjs';
25
25
  import 'hono/cors';
26
26
  import 'hono-openapi';
27
- import 'ai/test';
27
+ import '@opentelemetry/sdk-trace-base';
28
28
 
29
29
  declare class MockStore extends MastraStorage {
30
30
  private data;
@@ -65,10 +65,10 @@ declare class MockStore extends MastraStorage {
65
65
  deleteThread({ threadId }: {
66
66
  threadId: string;
67
67
  }): Promise<void>;
68
- getMessages<T extends MessageType[]>({ threadId, selectBy }: StorageGetMessagesArg): Promise<T>;
68
+ getMessages<T extends MastraMessageV2[]>({ threadId, selectBy }: StorageGetMessagesArg): Promise<T>;
69
69
  saveMessages({ messages }: {
70
- messages: MessageType[];
71
- }): Promise<MessageType[]>;
70
+ messages: MastraMessageV2[];
71
+ }): Promise<MastraMessageV2[]>;
72
72
  getTraces({ name, scope, page, perPage, attributes, filters, fromDate, toDate, }: {
73
73
  name?: string;
74
74
  scope?: string;
@@ -1,30 +1,30 @@
1
- import { c as MastraStorage, T as TABLE_NAMES, S as StorageColumn, d as StorageThreadType, e as MessageType, f as StorageGetMessagesArg, E as EvalRow, W as WorkflowRuns, g as WorkflowRun } from '../base-QP4OC4dB.js';
2
- export { h as LegacyWorkflowRun, L as LegacyWorkflowRuns, j as TABLE_EVALS, k as TABLE_MESSAGES, n as TABLE_SCHEMAS, l as TABLE_THREADS, m as TABLE_TRACES, i as TABLE_WORKFLOW_SNAPSHOT } from '../base-QP4OC4dB.js';
3
- import 'ai';
1
+ import { c as MastraStorage, T as TABLE_NAMES, S as StorageColumn, d as StorageThreadType, e as MastraMessageV2, f as StorageGetMessagesArg, E as EvalRow, W as WorkflowRuns, g as WorkflowRun } from '../base-CAqn5W09.js';
2
+ export { h as LegacyWorkflowRun, L as LegacyWorkflowRuns, j as TABLE_EVALS, k as TABLE_MESSAGES, n as TABLE_SCHEMAS, l as TABLE_THREADS, m as TABLE_TRACES, i as TABLE_WORKFLOW_SNAPSHOT } from '../base-CAqn5W09.js';
4
3
  import '../base-tc5kgDTD.js';
5
- import '@opentelemetry/api';
6
- import '../logger-EhZkzZOr.js';
7
- import 'stream';
8
- import '@opentelemetry/sdk-trace-base';
9
- import '../types-Bo1uigWx.js';
10
- import 'sift';
4
+ import 'ai';
11
5
  import 'zod';
12
6
  import 'json-schema';
13
- import '../deployer/index.js';
14
- import '../bundler/index.js';
15
- import 'node:http';
16
- import 'hono';
17
- import '../runtime-context/index.js';
7
+ import '../logger-EhZkzZOr.js';
8
+ import 'stream';
18
9
  import '../tts/index.js';
19
10
  import '../vector/index.js';
20
11
  import '../vector/filter/index.js';
12
+ import '../types-Bo1uigWx.js';
13
+ import 'sift';
14
+ import '../runtime-context/index.js';
15
+ import '@opentelemetry/api';
21
16
  import 'xstate';
22
17
  import 'node:events';
18
+ import 'node:http';
19
+ import 'hono';
23
20
  import 'events';
24
21
  import '../workflows/constants.js';
22
+ import 'ai/test';
23
+ import '../deployer/index.js';
24
+ import '../bundler/index.js';
25
25
  import 'hono/cors';
26
26
  import 'hono-openapi';
27
- import 'ai/test';
27
+ import '@opentelemetry/sdk-trace-base';
28
28
 
29
29
  declare class MockStore extends MastraStorage {
30
30
  private data;
@@ -65,10 +65,10 @@ declare class MockStore extends MastraStorage {
65
65
  deleteThread({ threadId }: {
66
66
  threadId: string;
67
67
  }): Promise<void>;
68
- getMessages<T extends MessageType[]>({ threadId, selectBy }: StorageGetMessagesArg): Promise<T>;
68
+ getMessages<T extends MastraMessageV2[]>({ threadId, selectBy }: StorageGetMessagesArg): Promise<T>;
69
69
  saveMessages({ messages }: {
70
- messages: MessageType[];
71
- }): Promise<MessageType[]>;
70
+ messages: MastraMessageV2[];
71
+ }): Promise<MastraMessageV2[]>;
72
72
  getTraces({ name, scope, page, perPage, attributes, filters, fromDate, toDate, }: {
73
73
  name?: string;
74
74
  scope?: string;
@@ -3,28 +3,28 @@ import { SpanKind, Context } from '@opentelemetry/api';
3
3
  import { ExportResult } from '@opentelemetry/core';
4
4
  import { SpanExporter, ReadableSpan } from '@opentelemetry/sdk-trace-base';
5
5
  import { I as IMastraLogger } from '../logger-EhZkzZOr.cjs';
6
- import { c as MastraStorage } from '../base-B96VvaWm.cjs';
6
+ import { c as MastraStorage } from '../base-D9eDBAGU.cjs';
7
7
  import 'stream';
8
8
  import 'ai';
9
- import '../types-Bo1uigWx.cjs';
10
- import 'sift';
11
9
  import 'zod';
12
10
  import 'json-schema';
13
- import '../deployer/index.cjs';
14
- import '../bundler/index.cjs';
15
- import 'node:http';
16
- import 'hono';
17
- import '../runtime-context/index.cjs';
18
11
  import '../tts/index.cjs';
19
12
  import '../vector/index.cjs';
20
13
  import '../vector/filter/index.cjs';
14
+ import '../types-Bo1uigWx.cjs';
15
+ import 'sift';
16
+ import '../runtime-context/index.cjs';
21
17
  import 'xstate';
22
18
  import 'node:events';
19
+ import 'node:http';
20
+ import 'hono';
23
21
  import 'events';
24
22
  import '../workflows/constants.cjs';
23
+ import 'ai/test';
24
+ import '../deployer/index.cjs';
25
+ import '../bundler/index.cjs';
25
26
  import 'hono/cors';
26
27
  import 'hono-openapi';
27
- import 'ai/test';
28
28
 
29
29
  declare function withSpan(options: {
30
30
  spanName?: string;
@@ -3,28 +3,28 @@ import { SpanKind, Context } from '@opentelemetry/api';
3
3
  import { ExportResult } from '@opentelemetry/core';
4
4
  import { SpanExporter, ReadableSpan } from '@opentelemetry/sdk-trace-base';
5
5
  import { I as IMastraLogger } from '../logger-EhZkzZOr.js';
6
- import { c as MastraStorage } from '../base-QP4OC4dB.js';
6
+ import { c as MastraStorage } from '../base-CAqn5W09.js';
7
7
  import 'stream';
8
8
  import 'ai';
9
- import '../types-Bo1uigWx.js';
10
- import 'sift';
11
9
  import 'zod';
12
10
  import 'json-schema';
13
- import '../deployer/index.js';
14
- import '../bundler/index.js';
15
- import 'node:http';
16
- import 'hono';
17
- import '../runtime-context/index.js';
18
11
  import '../tts/index.js';
19
12
  import '../vector/index.js';
20
13
  import '../vector/filter/index.js';
14
+ import '../types-Bo1uigWx.js';
15
+ import 'sift';
16
+ import '../runtime-context/index.js';
21
17
  import 'xstate';
22
18
  import 'node:events';
19
+ import 'node:http';
20
+ import 'hono';
23
21
  import 'events';
24
22
  import '../workflows/constants.js';
23
+ import 'ai/test';
24
+ import '../deployer/index.js';
25
+ import '../bundler/index.js';
25
26
  import 'hono/cors';
26
27
  import 'hono-openapi';
27
- import 'ai/test';
28
28
 
29
29
  declare function withSpan(options: {
30
30
  spanName?: string;
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
 
3
- var chunkU3L3NEOM_cjs = require('../chunk-U3L3NEOM.cjs');
3
+ var chunkDXLVS7ML_cjs = require('../chunk-DXLVS7ML.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "Tool", {
8
8
  enumerable: true,
9
- get: function () { return chunkU3L3NEOM_cjs.Tool; }
9
+ get: function () { return chunkDXLVS7ML_cjs.Tool; }
10
10
  });
11
11
  Object.defineProperty(exports, "createTool", {
12
12
  enumerable: true,
13
- get: function () { return chunkU3L3NEOM_cjs.createTool; }
13
+ get: function () { return chunkDXLVS7ML_cjs.createTool; }
14
14
  });
15
15
  Object.defineProperty(exports, "isVercelTool", {
16
16
  enumerable: true,
17
- get: function () { return chunkU3L3NEOM_cjs.isVercelTool; }
17
+ get: function () { return chunkDXLVS7ML_cjs.isVercelTool; }
18
18
  });
@@ -1,4 +1,4 @@
1
- export { aP as CoreTool, aQ as InternalCoreTool, ad as Tool, a9 as ToolAction, ac as ToolExecutionContext, aO as VercelTool, aN as createTool } from '../base-B96VvaWm.cjs';
1
+ export { aR as CoreTool, aS as InternalCoreTool, ad as Tool, a9 as ToolAction, ac as ToolExecutionContext, aQ as VercelTool, aP as createTool } from '../base-D9eDBAGU.cjs';
2
2
  export { isVercelTool } from '../utils.cjs';
3
3
  import 'ai';
4
4
  import '../base-aPYtPBT2.cjs';
@@ -6,22 +6,22 @@ import '@opentelemetry/api';
6
6
  import '../logger-EhZkzZOr.cjs';
7
7
  import 'stream';
8
8
  import '@opentelemetry/sdk-trace-base';
9
- import '../types-Bo1uigWx.cjs';
10
- import 'sift';
11
9
  import 'zod';
12
10
  import 'json-schema';
13
- import '../deployer/index.cjs';
14
- import '../bundler/index.cjs';
15
- import 'node:http';
16
- import 'hono';
17
- import '../runtime-context/index.cjs';
18
11
  import '../tts/index.cjs';
19
12
  import '../vector/index.cjs';
20
13
  import '../vector/filter/index.cjs';
14
+ import '../types-Bo1uigWx.cjs';
15
+ import 'sift';
16
+ import '../runtime-context/index.cjs';
21
17
  import 'xstate';
22
18
  import 'node:events';
19
+ import 'node:http';
20
+ import 'hono';
23
21
  import 'events';
24
22
  import '../workflows/constants.cjs';
23
+ import 'ai/test';
24
+ import '../deployer/index.cjs';
25
+ import '../bundler/index.cjs';
25
26
  import 'hono/cors';
26
27
  import 'hono-openapi';
27
- import 'ai/test';
@@ -1,4 +1,4 @@
1
- export { aP as CoreTool, aQ as InternalCoreTool, ad as Tool, a9 as ToolAction, ac as ToolExecutionContext, aO as VercelTool, aN as createTool } from '../base-QP4OC4dB.js';
1
+ export { aR as CoreTool, aS as InternalCoreTool, ad as Tool, a9 as ToolAction, ac as ToolExecutionContext, aQ as VercelTool, aP as createTool } from '../base-CAqn5W09.js';
2
2
  export { isVercelTool } from '../utils.js';
3
3
  import 'ai';
4
4
  import '../base-tc5kgDTD.js';
@@ -6,22 +6,22 @@ import '@opentelemetry/api';
6
6
  import '../logger-EhZkzZOr.js';
7
7
  import 'stream';
8
8
  import '@opentelemetry/sdk-trace-base';
9
- import '../types-Bo1uigWx.js';
10
- import 'sift';
11
9
  import 'zod';
12
10
  import 'json-schema';
13
- import '../deployer/index.js';
14
- import '../bundler/index.js';
15
- import 'node:http';
16
- import 'hono';
17
- import '../runtime-context/index.js';
18
11
  import '../tts/index.js';
19
12
  import '../vector/index.js';
20
13
  import '../vector/filter/index.js';
14
+ import '../types-Bo1uigWx.js';
15
+ import 'sift';
16
+ import '../runtime-context/index.js';
21
17
  import 'xstate';
22
18
  import 'node:events';
19
+ import 'node:http';
20
+ import 'hono';
23
21
  import 'events';
24
22
  import '../workflows/constants.js';
23
+ import 'ai/test';
24
+ import '../deployer/index.js';
25
+ import '../bundler/index.js';
25
26
  import 'hono/cors';
26
27
  import 'hono-openapi';
27
- import 'ai/test';
@@ -1 +1 @@
1
- export { Tool, createTool, isVercelTool } from '../chunk-2PW6UJMW.js';
1
+ export { Tool, createTool, isVercelTool } from '../chunk-EQTIDVPN.js';
package/dist/utils.cjs CHANGED
@@ -1,66 +1,62 @@
1
1
  'use strict';
2
2
 
3
- var chunkU3L3NEOM_cjs = require('./chunk-U3L3NEOM.cjs');
3
+ var chunkDXLVS7ML_cjs = require('./chunk-DXLVS7ML.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "checkEvalStorageFields", {
8
8
  enumerable: true,
9
- get: function () { return chunkU3L3NEOM_cjs.checkEvalStorageFields; }
9
+ get: function () { return chunkDXLVS7ML_cjs.checkEvalStorageFields; }
10
10
  });
11
11
  Object.defineProperty(exports, "createMastraProxy", {
12
12
  enumerable: true,
13
- get: function () { return chunkU3L3NEOM_cjs.createMastraProxy; }
13
+ get: function () { return chunkDXLVS7ML_cjs.createMastraProxy; }
14
14
  });
15
15
  Object.defineProperty(exports, "deepMerge", {
16
16
  enumerable: true,
17
- get: function () { return chunkU3L3NEOM_cjs.deepMerge; }
17
+ get: function () { return chunkDXLVS7ML_cjs.deepMerge; }
18
18
  });
19
19
  Object.defineProperty(exports, "delay", {
20
20
  enumerable: true,
21
- get: function () { return chunkU3L3NEOM_cjs.delay; }
22
- });
23
- Object.defineProperty(exports, "ensureAllMessagesAreCoreMessages", {
24
- enumerable: true,
25
- get: function () { return chunkU3L3NEOM_cjs.ensureAllMessagesAreCoreMessages; }
21
+ get: function () { return chunkDXLVS7ML_cjs.delay; }
26
22
  });
27
23
  Object.defineProperty(exports, "ensureToolProperties", {
28
24
  enumerable: true,
29
- get: function () { return chunkU3L3NEOM_cjs.ensureToolProperties; }
25
+ get: function () { return chunkDXLVS7ML_cjs.ensureToolProperties; }
30
26
  });
31
27
  Object.defineProperty(exports, "isCoreMessage", {
32
28
  enumerable: true,
33
- get: function () { return chunkU3L3NEOM_cjs.isCoreMessage; }
29
+ get: function () { return chunkDXLVS7ML_cjs.isCoreMessage; }
34
30
  });
35
31
  Object.defineProperty(exports, "isUiMessage", {
36
32
  enumerable: true,
37
- get: function () { return chunkU3L3NEOM_cjs.isUiMessage; }
33
+ get: function () { return chunkDXLVS7ML_cjs.isUiMessage; }
38
34
  });
39
35
  Object.defineProperty(exports, "isVercelTool", {
40
36
  enumerable: true,
41
- get: function () { return chunkU3L3NEOM_cjs.isVercelTool; }
37
+ get: function () { return chunkDXLVS7ML_cjs.isVercelTool; }
42
38
  });
43
39
  Object.defineProperty(exports, "isZodType", {
44
40
  enumerable: true,
45
- get: function () { return chunkU3L3NEOM_cjs.isZodType; }
41
+ get: function () { return chunkDXLVS7ML_cjs.isZodType; }
46
42
  });
47
43
  Object.defineProperty(exports, "makeCoreTool", {
48
44
  enumerable: true,
49
- get: function () { return chunkU3L3NEOM_cjs.makeCoreTool; }
45
+ get: function () { return chunkDXLVS7ML_cjs.makeCoreTool; }
50
46
  });
51
47
  Object.defineProperty(exports, "maskStreamTags", {
52
48
  enumerable: true,
53
- get: function () { return chunkU3L3NEOM_cjs.maskStreamTags; }
49
+ get: function () { return chunkDXLVS7ML_cjs.maskStreamTags; }
54
50
  });
55
51
  Object.defineProperty(exports, "parseFieldKey", {
56
52
  enumerable: true,
57
- get: function () { return chunkU3L3NEOM_cjs.parseFieldKey; }
53
+ get: function () { return chunkDXLVS7ML_cjs.parseFieldKey; }
58
54
  });
59
55
  Object.defineProperty(exports, "parseSqlIdentifier", {
60
56
  enumerable: true,
61
- get: function () { return chunkU3L3NEOM_cjs.parseSqlIdentifier; }
57
+ get: function () { return chunkDXLVS7ML_cjs.parseSqlIdentifier; }
62
58
  });
63
59
  Object.defineProperty(exports, "resolveSerializedZodOutput", {
64
60
  enumerable: true,
65
- get: function () { return chunkU3L3NEOM_cjs.resolveSerializedZodOutput; }
61
+ get: function () { return chunkDXLVS7ML_cjs.resolveSerializedZodOutput; }
66
62
  });
package/dist/utils.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { aO as VercelTool, a9 as ToolAction, a as Mastra, bg as MastraPrimitives, ab as MastraMemory, t as ToolsInput, aP as CoreTool, r as Agent, q as LegacyWorkflow, p as LegacyStep, x as StepExecutionContext, s as WorkflowContext, af as Workflow, ae as Step, bh as AgentNetwork, bi as MCPServerBase } from './base-B96VvaWm.cjs';
1
+ import { aQ as VercelTool, a9 as ToolAction, a as Mastra, bi as MastraPrimitives, ab as MastraMemory, t as ToolsInput, aR as CoreTool, r as Agent, q as LegacyWorkflow, p as LegacyStep, x as StepExecutionContext, s as WorkflowContext, af as Workflow, ae as Step, bj as AgentNetwork, bk as MCPServerBase } from './base-D9eDBAGU.cjs';
2
2
  import { LanguageModelV1, CoreMessage, Message } from 'ai';
3
3
  import { MastraTTS } from './tts/index.cjs';
4
4
  import { MastraVector } from './vector/index.cjs';
@@ -7,22 +7,22 @@ import { z } from 'zod';
7
7
  import { I as IMastraLogger } from './logger-EhZkzZOr.cjs';
8
8
  import './base-aPYtPBT2.cjs';
9
9
  import { RuntimeContext } from './runtime-context/index.cjs';
10
- import 'sift';
11
10
  import 'json-schema';
12
- import './deployer/index.cjs';
13
- import './bundler/index.cjs';
11
+ import 'sift';
14
12
  import '@opentelemetry/api';
15
- import 'stream';
16
- import '@opentelemetry/sdk-trace-base';
17
- import 'node:http';
18
- import 'hono';
19
13
  import 'xstate';
20
14
  import 'node:events';
15
+ import 'node:http';
16
+ import 'hono';
21
17
  import 'events';
22
18
  import './workflows/constants.cjs';
19
+ import 'ai/test';
20
+ import './deployer/index.cjs';
21
+ import './bundler/index.cjs';
22
+ import 'stream';
23
+ import '@opentelemetry/sdk-trace-base';
23
24
  import 'hono/cors';
24
25
  import 'hono-openapi';
25
- import 'ai/test';
26
26
  import './vector/filter/index.cjs';
27
27
 
28
28
  declare const delay: (ms: number) => Promise<unknown>;
@@ -106,7 +106,6 @@ declare function createMastraProxy({ mastra, logger }: {
106
106
  declare function checkEvalStorageFields(traceObject: any, logger?: IMastraLogger): boolean;
107
107
  declare function isUiMessage(message: CoreMessage | Message): message is Message;
108
108
  declare function isCoreMessage(message: CoreMessage | Message): message is CoreMessage;
109
- declare function ensureAllMessagesAreCoreMessages(messages: (CoreMessage | Message)[]): CoreMessage[];
110
109
  /** Represents a validated SQL identifier (e.g., table or column name). */
111
110
  type SqlIdentifier = string & {
112
111
  __brand: 'SqlIdentifier';
@@ -150,4 +149,4 @@ declare function parseSqlIdentifier(name: string, kind?: string): SqlIdentifier;
150
149
  */
151
150
  declare function parseFieldKey(key: string): FieldKey;
152
151
 
153
- export { type TagMaskOptions, type ToolOptions, checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureAllMessagesAreCoreMessages, ensureToolProperties, isCoreMessage, isUiMessage, isVercelTool, isZodType, makeCoreTool, maskStreamTags, parseFieldKey, parseSqlIdentifier, resolveSerializedZodOutput };
152
+ export { type TagMaskOptions, type ToolOptions, checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureToolProperties, isCoreMessage, isUiMessage, isVercelTool, isZodType, makeCoreTool, maskStreamTags, parseFieldKey, parseSqlIdentifier, resolveSerializedZodOutput };
package/dist/utils.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { aO as VercelTool, a9 as ToolAction, a as Mastra, bg as MastraPrimitives, ab as MastraMemory, t as ToolsInput, aP as CoreTool, r as Agent, q as LegacyWorkflow, p as LegacyStep, x as StepExecutionContext, s as WorkflowContext, af as Workflow, ae as Step, bh as AgentNetwork, bi as MCPServerBase } from './base-QP4OC4dB.js';
1
+ import { aQ as VercelTool, a9 as ToolAction, a as Mastra, bi as MastraPrimitives, ab as MastraMemory, t as ToolsInput, aR as CoreTool, r as Agent, q as LegacyWorkflow, p as LegacyStep, x as StepExecutionContext, s as WorkflowContext, af as Workflow, ae as Step, bj as AgentNetwork, bk as MCPServerBase } from './base-CAqn5W09.js';
2
2
  import { LanguageModelV1, CoreMessage, Message } from 'ai';
3
3
  import { MastraTTS } from './tts/index.js';
4
4
  import { MastraVector } from './vector/index.js';
@@ -7,22 +7,22 @@ import { z } from 'zod';
7
7
  import { I as IMastraLogger } from './logger-EhZkzZOr.js';
8
8
  import './base-tc5kgDTD.js';
9
9
  import { RuntimeContext } from './runtime-context/index.js';
10
- import 'sift';
11
10
  import 'json-schema';
12
- import './deployer/index.js';
13
- import './bundler/index.js';
11
+ import 'sift';
14
12
  import '@opentelemetry/api';
15
- import 'stream';
16
- import '@opentelemetry/sdk-trace-base';
17
- import 'node:http';
18
- import 'hono';
19
13
  import 'xstate';
20
14
  import 'node:events';
15
+ import 'node:http';
16
+ import 'hono';
21
17
  import 'events';
22
18
  import './workflows/constants.js';
19
+ import 'ai/test';
20
+ import './deployer/index.js';
21
+ import './bundler/index.js';
22
+ import 'stream';
23
+ import '@opentelemetry/sdk-trace-base';
23
24
  import 'hono/cors';
24
25
  import 'hono-openapi';
25
- import 'ai/test';
26
26
  import './vector/filter/index.js';
27
27
 
28
28
  declare const delay: (ms: number) => Promise<unknown>;
@@ -106,7 +106,6 @@ declare function createMastraProxy({ mastra, logger }: {
106
106
  declare function checkEvalStorageFields(traceObject: any, logger?: IMastraLogger): boolean;
107
107
  declare function isUiMessage(message: CoreMessage | Message): message is Message;
108
108
  declare function isCoreMessage(message: CoreMessage | Message): message is CoreMessage;
109
- declare function ensureAllMessagesAreCoreMessages(messages: (CoreMessage | Message)[]): CoreMessage[];
110
109
  /** Represents a validated SQL identifier (e.g., table or column name). */
111
110
  type SqlIdentifier = string & {
112
111
  __brand: 'SqlIdentifier';
@@ -150,4 +149,4 @@ declare function parseSqlIdentifier(name: string, kind?: string): SqlIdentifier;
150
149
  */
151
150
  declare function parseFieldKey(key: string): FieldKey;
152
151
 
153
- export { type TagMaskOptions, type ToolOptions, checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureAllMessagesAreCoreMessages, ensureToolProperties, isCoreMessage, isUiMessage, isVercelTool, isZodType, makeCoreTool, maskStreamTags, parseFieldKey, parseSqlIdentifier, resolveSerializedZodOutput };
152
+ export { type TagMaskOptions, type ToolOptions, checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureToolProperties, isCoreMessage, isUiMessage, isVercelTool, isZodType, makeCoreTool, maskStreamTags, parseFieldKey, parseSqlIdentifier, resolveSerializedZodOutput };
package/dist/utils.js CHANGED
@@ -1 +1 @@
1
- export { checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureAllMessagesAreCoreMessages, ensureToolProperties, isCoreMessage, isUiMessage, isVercelTool, isZodType, makeCoreTool, maskStreamTags, parseFieldKey, parseSqlIdentifier, resolveSerializedZodOutput } from './chunk-2PW6UJMW.js';
1
+ export { checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureToolProperties, isCoreMessage, isUiMessage, isVercelTool, isZodType, makeCoreTool, maskStreamTags, parseFieldKey, parseSqlIdentifier, resolveSerializedZodOutput } from './chunk-EQTIDVPN.js';
@@ -1,26 +1,26 @@
1
- export { bn as CompositeVoice, bo as DefaultVoice, bm as MastraVoice, bl as VoiceConfig, bk as VoiceEventMap, bj as VoiceEventType } from '../base-B96VvaWm.cjs';
1
+ export { bp as CompositeVoice, bq as DefaultVoice, bo as MastraVoice, bn as VoiceConfig, bm as VoiceEventMap, bl as VoiceEventType } from '../base-D9eDBAGU.cjs';
2
2
  import 'ai';
3
3
  import '../base-aPYtPBT2.cjs';
4
4
  import '@opentelemetry/api';
5
5
  import '../logger-EhZkzZOr.cjs';
6
6
  import 'stream';
7
7
  import '@opentelemetry/sdk-trace-base';
8
- import '../types-Bo1uigWx.cjs';
9
- import 'sift';
10
8
  import 'zod';
11
9
  import 'json-schema';
12
- import '../deployer/index.cjs';
13
- import '../bundler/index.cjs';
14
- import 'node:http';
15
- import 'hono';
16
- import '../runtime-context/index.cjs';
17
10
  import '../tts/index.cjs';
18
11
  import '../vector/index.cjs';
19
12
  import '../vector/filter/index.cjs';
13
+ import '../types-Bo1uigWx.cjs';
14
+ import 'sift';
15
+ import '../runtime-context/index.cjs';
20
16
  import 'xstate';
21
17
  import 'node:events';
18
+ import 'node:http';
19
+ import 'hono';
22
20
  import 'events';
23
21
  import '../workflows/constants.cjs';
22
+ import 'ai/test';
23
+ import '../deployer/index.cjs';
24
+ import '../bundler/index.cjs';
24
25
  import 'hono/cors';
25
26
  import 'hono-openapi';
26
- import 'ai/test';
@@ -1,26 +1,26 @@
1
- export { bn as CompositeVoice, bo as DefaultVoice, bm as MastraVoice, bl as VoiceConfig, bk as VoiceEventMap, bj as VoiceEventType } from '../base-QP4OC4dB.js';
1
+ export { bp as CompositeVoice, bq as DefaultVoice, bo as MastraVoice, bn as VoiceConfig, bm as VoiceEventMap, bl as VoiceEventType } from '../base-CAqn5W09.js';
2
2
  import 'ai';
3
3
  import '../base-tc5kgDTD.js';
4
4
  import '@opentelemetry/api';
5
5
  import '../logger-EhZkzZOr.js';
6
6
  import 'stream';
7
7
  import '@opentelemetry/sdk-trace-base';
8
- import '../types-Bo1uigWx.js';
9
- import 'sift';
10
8
  import 'zod';
11
9
  import 'json-schema';
12
- import '../deployer/index.js';
13
- import '../bundler/index.js';
14
- import 'node:http';
15
- import 'hono';
16
- import '../runtime-context/index.js';
17
10
  import '../tts/index.js';
18
11
  import '../vector/index.js';
19
12
  import '../vector/filter/index.js';
13
+ import '../types-Bo1uigWx.js';
14
+ import 'sift';
15
+ import '../runtime-context/index.js';
20
16
  import 'xstate';
21
17
  import 'node:events';
18
+ import 'node:http';
19
+ import 'hono';
22
20
  import 'events';
23
21
  import '../workflows/constants.js';
22
+ import 'ai/test';
23
+ import '../deployer/index.js';
24
+ import '../bundler/index.js';
24
25
  import 'hono/cors';
25
26
  import 'hono-openapi';
26
- import 'ai/test';
@@ -1,38 +1,38 @@
1
1
  'use strict';
2
2
 
3
- var chunkMAFHTHTJ_cjs = require('../chunk-MAFHTHTJ.cjs');
3
+ var chunkF36FCB7W_cjs = require('../chunk-F36FCB7W.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "DefaultExecutionEngine", {
8
8
  enumerable: true,
9
- get: function () { return chunkMAFHTHTJ_cjs.DefaultExecutionEngine; }
9
+ get: function () { return chunkF36FCB7W_cjs.DefaultExecutionEngine; }
10
10
  });
11
11
  Object.defineProperty(exports, "ExecutionEngine", {
12
12
  enumerable: true,
13
- get: function () { return chunkMAFHTHTJ_cjs.ExecutionEngine; }
13
+ get: function () { return chunkF36FCB7W_cjs.ExecutionEngine; }
14
14
  });
15
15
  Object.defineProperty(exports, "Run", {
16
16
  enumerable: true,
17
- get: function () { return chunkMAFHTHTJ_cjs.Run; }
17
+ get: function () { return chunkF36FCB7W_cjs.Run; }
18
18
  });
19
19
  Object.defineProperty(exports, "Workflow", {
20
20
  enumerable: true,
21
- get: function () { return chunkMAFHTHTJ_cjs.Workflow; }
21
+ get: function () { return chunkF36FCB7W_cjs.Workflow; }
22
22
  });
23
23
  Object.defineProperty(exports, "cloneStep", {
24
24
  enumerable: true,
25
- get: function () { return chunkMAFHTHTJ_cjs.cloneStep; }
25
+ get: function () { return chunkF36FCB7W_cjs.cloneStep; }
26
26
  });
27
27
  Object.defineProperty(exports, "cloneWorkflow", {
28
28
  enumerable: true,
29
- get: function () { return chunkMAFHTHTJ_cjs.cloneWorkflow; }
29
+ get: function () { return chunkF36FCB7W_cjs.cloneWorkflow; }
30
30
  });
31
31
  Object.defineProperty(exports, "createStep", {
32
32
  enumerable: true,
33
- get: function () { return chunkMAFHTHTJ_cjs.createStep; }
33
+ get: function () { return chunkF36FCB7W_cjs.createStep; }
34
34
  });
35
35
  Object.defineProperty(exports, "createWorkflow", {
36
36
  enumerable: true,
37
- get: function () { return chunkMAFHTHTJ_cjs.createWorkflow; }
37
+ get: function () { return chunkF36FCB7W_cjs.createWorkflow; }
38
38
  });
@@ -1,5 +1,5 @@
1
- import { a$ as ExecutionEngine, b5 as StepResult, a_ as ExecutionGraph, aR as StepFlowEntry, ae as Step, b0 as ExecuteFunction } from '../base-B96VvaWm.cjs';
2
- export { b7 as DynamicMapping, ba as ExtractSchemaFromStep, b9 as ExtractSchemaType, b8 as PathsToStringProps, aZ as Run, aS as SerializedStep, aT as SerializedStepFlowEntry, b2 as StepFailure, b4 as StepRunning, b1 as StepSuccess, b3 as StepSuspended, b6 as StepsRecord, bb as VariableReference, bc as WatchEvent, af as Workflow, ag as WorkflowConfig, aY as WorkflowResult, be as WorkflowRunState, bd as ZodPathType, aV as cloneStep, aX as cloneWorkflow, aU as createStep, aW as createWorkflow } from '../base-B96VvaWm.cjs';
1
+ import { b1 as ExecutionEngine, b7 as StepResult, b0 as ExecutionGraph, aT as StepFlowEntry, ae as Step, b2 as ExecuteFunction } from '../base-D9eDBAGU.cjs';
2
+ export { b9 as DynamicMapping, bc as ExtractSchemaFromStep, bb as ExtractSchemaType, ba as PathsToStringProps, a$ as Run, aU as SerializedStep, aV as SerializedStepFlowEntry, b4 as StepFailure, b6 as StepRunning, b3 as StepSuccess, b5 as StepSuspended, b8 as StepsRecord, bd as VariableReference, be as WatchEvent, af as Workflow, ag as WorkflowConfig, a_ as WorkflowResult, bg as WorkflowRunState, bf as ZodPathType, aX as cloneStep, aZ as cloneWorkflow, aW as createStep, aY as createWorkflow } from '../base-D9eDBAGU.cjs';
3
3
  import { Span } from '@opentelemetry/api';
4
4
  import { RuntimeContext } from '../runtime-context/index.cjs';
5
5
  import 'ai';
@@ -7,24 +7,24 @@ import '../base-aPYtPBT2.cjs';
7
7
  import '../logger-EhZkzZOr.cjs';
8
8
  import 'stream';
9
9
  import '@opentelemetry/sdk-trace-base';
10
- import '../types-Bo1uigWx.cjs';
11
- import 'sift';
12
10
  import 'zod';
13
11
  import 'json-schema';
14
- import '../deployer/index.cjs';
15
- import '../bundler/index.cjs';
16
- import 'node:http';
17
- import 'hono';
18
12
  import '../tts/index.cjs';
19
13
  import '../vector/index.cjs';
20
14
  import '../vector/filter/index.cjs';
15
+ import '../types-Bo1uigWx.cjs';
16
+ import 'sift';
21
17
  import 'xstate';
22
18
  import 'node:events';
19
+ import 'node:http';
20
+ import 'hono';
23
21
  import 'events';
24
22
  import './constants.cjs';
23
+ import 'ai/test';
24
+ import '../deployer/index.cjs';
25
+ import '../bundler/index.cjs';
25
26
  import 'hono/cors';
26
27
  import 'hono-openapi';
27
- import 'ai/test';
28
28
 
29
29
  type ExecutionContext = {
30
30
  workflowId: string;