@mastra/core 0.9.0 → 0.9.1-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/dist/agent/index.cjs +2 -2
  2. package/dist/agent/index.d.cts +4 -2
  3. package/dist/agent/index.d.ts +4 -2
  4. package/dist/agent/index.js +1 -1
  5. package/dist/{base-oP3DoUrm.d.cts → base-CZmT-p10.d.cts} +524 -53
  6. package/dist/{base-Bk5V1doj.d.ts → base-DDoWFpFc.d.ts} +524 -53
  7. package/dist/{chunk-NTHHPNOW.js → chunk-34622N67.js} +1 -1
  8. package/dist/{chunk-ATXF6TIO.cjs → chunk-422BXQRT.cjs} +24 -677
  9. package/dist/{chunk-HARYMLZH.js → chunk-4K4DHXRF.js} +6 -658
  10. package/dist/{chunk-N2ONCUUS.js → chunk-6AHC67YY.js} +132 -12
  11. package/dist/chunk-7AGAXO6B.cjs +588 -0
  12. package/dist/{chunk-GEIPVIW4.js → chunk-BFF2O6RO.js} +1 -1
  13. package/dist/{chunk-RASVJ3TR.js → chunk-BU45BMXY.js} +55 -1
  14. package/dist/{chunk-DIZZQ3E5.cjs → chunk-CEXM6WP5.cjs} +2 -2
  15. package/dist/chunk-HNEE7IF4.js +60 -0
  16. package/dist/{chunk-NZDXKMDP.cjs → chunk-LABUWBKX.cjs} +1 -1
  17. package/dist/chunk-MUNFCOMB.cjs +62 -0
  18. package/dist/{chunk-GJWCFDFN.js → chunk-PS2ZF6MA.js} +1 -1
  19. package/dist/{chunk-M472GIT6.js → chunk-SGGPJWRQ.js} +1 -1
  20. package/dist/{chunk-7CSNWYGJ.cjs → chunk-U5DGGGS2.cjs} +2 -2
  21. package/dist/{chunk-W5IA5OGL.cjs → chunk-V7IE36YV.cjs} +58 -4
  22. package/dist/chunk-VMVXIPGW.js +586 -0
  23. package/dist/{chunk-53P5ZBJE.cjs → chunk-YTTBFAQJ.cjs} +2 -2
  24. package/dist/{chunk-KZWBYRXW.cjs → chunk-YZFNMXY4.cjs} +135 -14
  25. package/dist/di/index.cjs +2 -2
  26. package/dist/di/index.d.cts +1 -52
  27. package/dist/di/index.d.ts +1 -52
  28. package/dist/di/index.js +1 -1
  29. package/dist/eval/index.d.cts +4 -2
  30. package/dist/eval/index.d.ts +4 -2
  31. package/dist/index.cjs +60 -55
  32. package/dist/index.d.cts +5 -3
  33. package/dist/index.d.ts +5 -3
  34. package/dist/index.js +10 -9
  35. package/dist/integration/index.cjs +3 -3
  36. package/dist/integration/index.d.cts +4 -2
  37. package/dist/integration/index.d.ts +4 -2
  38. package/dist/integration/index.js +1 -1
  39. package/dist/llm/index.cjs +8 -0
  40. package/dist/llm/index.d.cts +4 -2
  41. package/dist/llm/index.d.ts +4 -2
  42. package/dist/llm/index.js +1 -1
  43. package/dist/mastra/index.cjs +2 -2
  44. package/dist/mastra/index.d.cts +4 -2
  45. package/dist/mastra/index.d.ts +4 -2
  46. package/dist/mastra/index.js +1 -1
  47. package/dist/memory/index.cjs +7 -3
  48. package/dist/memory/index.d.cts +4 -2
  49. package/dist/memory/index.d.ts +4 -2
  50. package/dist/memory/index.js +1 -1
  51. package/dist/network/index.cjs +4 -4
  52. package/dist/network/index.d.cts +4 -2
  53. package/dist/network/index.d.ts +4 -2
  54. package/dist/network/index.js +2 -2
  55. package/dist/relevance/index.cjs +4 -4
  56. package/dist/relevance/index.d.cts +4 -2
  57. package/dist/relevance/index.d.ts +4 -2
  58. package/dist/relevance/index.js +1 -1
  59. package/dist/runtime-context/index.cjs +7 -68
  60. package/dist/runtime-context/index.js +1 -69
  61. package/dist/server/index.d.cts +4 -2
  62. package/dist/server/index.d.ts +4 -2
  63. package/dist/storage/index.d.cts +4 -2
  64. package/dist/storage/index.d.ts +4 -2
  65. package/dist/storage/libsql/index.cjs +19 -0
  66. package/dist/storage/libsql/index.d.cts +7 -8
  67. package/dist/storage/libsql/index.d.ts +7 -8
  68. package/dist/storage/libsql/index.js +19 -0
  69. package/dist/telemetry/index.d.cts +4 -2
  70. package/dist/telemetry/index.d.ts +4 -2
  71. package/dist/tools/index.cjs +4 -4
  72. package/dist/tools/index.d.cts +4 -2
  73. package/dist/tools/index.d.ts +4 -2
  74. package/dist/tools/index.js +1 -1
  75. package/dist/utils.cjs +14 -14
  76. package/dist/utils.d.cts +6 -4
  77. package/dist/utils.d.ts +6 -4
  78. package/dist/utils.js +1 -1
  79. package/dist/voice/index.d.cts +5 -3
  80. package/dist/voice/index.d.ts +5 -3
  81. package/dist/workflows/index.cjs +22 -26
  82. package/dist/workflows/index.d.cts +5 -3
  83. package/dist/workflows/index.d.ts +5 -3
  84. package/dist/workflows/index.js +1 -1
  85. package/dist/workflows/vNext/index.cjs +1058 -0
  86. package/dist/workflows/vNext/index.d.cts +180 -0
  87. package/dist/workflows/vNext/index.d.ts +180 -0
  88. package/dist/workflows/vNext/index.js +1046 -0
  89. package/package.json +11 -1
  90. package/workflows/vNext.d.ts +1 -0
  91. /package/dist/{chunk-WEYWYKLG.cjs → chunk-27PAET7X.cjs} +0 -0
  92. /package/dist/{chunk-FRQFWZDN.cjs → chunk-HSVOEWAM.cjs} +0 -0
  93. /package/dist/{chunk-ZDWFBE5L.js → chunk-NH5WJNNS.js} +0 -0
  94. /package/dist/{chunk-LANFNMEE.js → chunk-SGTFVHOZ.js} +0 -0
@@ -3,7 +3,7 @@ import { SpanKind } from '@opentelemetry/api';
3
3
  import { ExportResult } from '@opentelemetry/core';
4
4
  import { SpanExporter, ReadableSpan } from '@opentelemetry/sdk-trace-base';
5
5
  import { L as Logger } from '../index-CquI0inB.cjs';
6
- import { e as MastraStorage } from '../base-oP3DoUrm.cjs';
6
+ import { e as MastraStorage } from '../base-CZmT-p10.cjs';
7
7
  import 'stream';
8
8
  import 'pino';
9
9
  import 'ai';
@@ -11,17 +11,19 @@ import '../types-BtMyV38I.cjs';
11
11
  import 'sift';
12
12
  import 'zod';
13
13
  import 'json-schema';
14
- import '../di/index.cjs';
14
+ import '../runtime-context/index.cjs';
15
15
  import 'xstate';
16
16
  import 'node:events';
17
17
  import '../vector/index.cjs';
18
18
  import '../vector/filter/index.cjs';
19
19
  import '../tts/index.cjs';
20
+ import 'events';
20
21
  import '../deployer/index.cjs';
21
22
  import '../bundler/index.cjs';
22
23
  import 'hono';
23
24
  import 'hono/cors';
24
25
  import 'hono-openapi';
26
+ import 'ai/test';
25
27
 
26
28
  declare function withSpan(options: {
27
29
  spanName?: string;
@@ -3,7 +3,7 @@ import { SpanKind } from '@opentelemetry/api';
3
3
  import { ExportResult } from '@opentelemetry/core';
4
4
  import { SpanExporter, ReadableSpan } from '@opentelemetry/sdk-trace-base';
5
5
  import { L as Logger } from '../index-CquI0inB.js';
6
- import { e as MastraStorage } from '../base-Bk5V1doj.js';
6
+ import { e as MastraStorage } from '../base-DDoWFpFc.js';
7
7
  import 'stream';
8
8
  import 'pino';
9
9
  import 'ai';
@@ -11,17 +11,19 @@ import '../types-BtMyV38I.js';
11
11
  import 'sift';
12
12
  import 'zod';
13
13
  import 'json-schema';
14
- import '../di/index.js';
14
+ import '../runtime-context/index.js';
15
15
  import 'xstate';
16
16
  import 'node:events';
17
17
  import '../vector/index.js';
18
18
  import '../vector/filter/index.js';
19
19
  import '../tts/index.js';
20
+ import 'events';
20
21
  import '../deployer/index.js';
21
22
  import '../bundler/index.js';
22
23
  import 'hono';
23
24
  import 'hono/cors';
24
25
  import 'hono-openapi';
26
+ import 'ai/test';
25
27
 
26
28
  declare function withSpan(options: {
27
29
  spanName?: string;
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
 
3
- var chunk53P5ZBJE_cjs = require('../chunk-53P5ZBJE.cjs');
3
+ var chunkYTTBFAQJ_cjs = require('../chunk-YTTBFAQJ.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "Tool", {
8
8
  enumerable: true,
9
- get: function () { return chunk53P5ZBJE_cjs.Tool; }
9
+ get: function () { return chunkYTTBFAQJ_cjs.Tool; }
10
10
  });
11
11
  Object.defineProperty(exports, "createTool", {
12
12
  enumerable: true,
13
- get: function () { return chunk53P5ZBJE_cjs.createTool; }
13
+ get: function () { return chunkYTTBFAQJ_cjs.createTool; }
14
14
  });
15
15
  Object.defineProperty(exports, "isVercelTool", {
16
16
  enumerable: true,
17
- get: function () { return chunk53P5ZBJE_cjs.isVercelTool; }
17
+ get: function () { return chunkYTTBFAQJ_cjs.isVercelTool; }
18
18
  });
@@ -1,4 +1,4 @@
1
- export { a5 as CoreTool, n as Tool, i as ToolAction, m as ToolExecutionContext, a4 as VercelTool, a3 as createTool } from '../base-oP3DoUrm.cjs';
1
+ export { au as CoreTool, J as Tool, D as ToolAction, I as ToolExecutionContext, at as VercelTool, as as createTool } from '../base-CZmT-p10.cjs';
2
2
  export { isVercelTool } from '../utils.cjs';
3
3
  import 'ai';
4
4
  import '../base-BihKcqDY.cjs';
@@ -11,14 +11,16 @@ import '../types-BtMyV38I.cjs';
11
11
  import 'sift';
12
12
  import 'zod';
13
13
  import 'json-schema';
14
- import '../di/index.cjs';
14
+ import '../runtime-context/index.cjs';
15
15
  import 'xstate';
16
16
  import 'node:events';
17
17
  import '../vector/index.cjs';
18
18
  import '../vector/filter/index.cjs';
19
19
  import '../tts/index.cjs';
20
+ import 'events';
20
21
  import '../deployer/index.cjs';
21
22
  import '../bundler/index.cjs';
22
23
  import 'hono';
23
24
  import 'hono/cors';
24
25
  import 'hono-openapi';
26
+ import 'ai/test';
@@ -1,4 +1,4 @@
1
- export { a5 as CoreTool, n as Tool, i as ToolAction, m as ToolExecutionContext, a4 as VercelTool, a3 as createTool } from '../base-Bk5V1doj.js';
1
+ export { au as CoreTool, J as Tool, D as ToolAction, I as ToolExecutionContext, at as VercelTool, as as createTool } from '../base-DDoWFpFc.js';
2
2
  export { isVercelTool } from '../utils.js';
3
3
  import 'ai';
4
4
  import '../base-DT2poiVK.js';
@@ -11,14 +11,16 @@ import '../types-BtMyV38I.js';
11
11
  import 'sift';
12
12
  import 'zod';
13
13
  import 'json-schema';
14
- import '../di/index.js';
14
+ import '../runtime-context/index.js';
15
15
  import 'xstate';
16
16
  import 'node:events';
17
17
  import '../vector/index.js';
18
18
  import '../vector/filter/index.js';
19
19
  import '../tts/index.js';
20
+ import 'events';
20
21
  import '../deployer/index.js';
21
22
  import '../bundler/index.js';
22
23
  import 'hono';
23
24
  import 'hono/cors';
24
25
  import 'hono-openapi';
26
+ import 'ai/test';
@@ -1 +1 @@
1
- export { Tool, createTool, isVercelTool } from '../chunk-NTHHPNOW.js';
1
+ export { Tool, createTool, isVercelTool } from '../chunk-34622N67.js';
package/dist/utils.cjs CHANGED
@@ -1,58 +1,58 @@
1
1
  'use strict';
2
2
 
3
- var chunk53P5ZBJE_cjs = require('./chunk-53P5ZBJE.cjs');
3
+ var chunkYTTBFAQJ_cjs = require('./chunk-YTTBFAQJ.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "checkEvalStorageFields", {
8
8
  enumerable: true,
9
- get: function () { return chunk53P5ZBJE_cjs.checkEvalStorageFields; }
9
+ get: function () { return chunkYTTBFAQJ_cjs.checkEvalStorageFields; }
10
10
  });
11
11
  Object.defineProperty(exports, "createMastraProxy", {
12
12
  enumerable: true,
13
- get: function () { return chunk53P5ZBJE_cjs.createMastraProxy; }
13
+ get: function () { return chunkYTTBFAQJ_cjs.createMastraProxy; }
14
14
  });
15
15
  Object.defineProperty(exports, "deepMerge", {
16
16
  enumerable: true,
17
- get: function () { return chunk53P5ZBJE_cjs.deepMerge; }
17
+ get: function () { return chunkYTTBFAQJ_cjs.deepMerge; }
18
18
  });
19
19
  Object.defineProperty(exports, "delay", {
20
20
  enumerable: true,
21
- get: function () { return chunk53P5ZBJE_cjs.delay; }
21
+ get: function () { return chunkYTTBFAQJ_cjs.delay; }
22
22
  });
23
23
  Object.defineProperty(exports, "ensureAllMessagesAreCoreMessages", {
24
24
  enumerable: true,
25
- get: function () { return chunk53P5ZBJE_cjs.ensureAllMessagesAreCoreMessages; }
25
+ get: function () { return chunkYTTBFAQJ_cjs.ensureAllMessagesAreCoreMessages; }
26
26
  });
27
27
  Object.defineProperty(exports, "ensureToolProperties", {
28
28
  enumerable: true,
29
- get: function () { return chunk53P5ZBJE_cjs.ensureToolProperties; }
29
+ get: function () { return chunkYTTBFAQJ_cjs.ensureToolProperties; }
30
30
  });
31
31
  Object.defineProperty(exports, "isVercelTool", {
32
32
  enumerable: true,
33
- get: function () { return chunk53P5ZBJE_cjs.isVercelTool; }
33
+ get: function () { return chunkYTTBFAQJ_cjs.isVercelTool; }
34
34
  });
35
35
  Object.defineProperty(exports, "isZodType", {
36
36
  enumerable: true,
37
- get: function () { return chunk53P5ZBJE_cjs.isZodType; }
37
+ get: function () { return chunkYTTBFAQJ_cjs.isZodType; }
38
38
  });
39
39
  Object.defineProperty(exports, "jsonSchemaPropertiesToTSTypes", {
40
40
  enumerable: true,
41
- get: function () { return chunk53P5ZBJE_cjs.jsonSchemaPropertiesToTSTypes; }
41
+ get: function () { return chunkYTTBFAQJ_cjs.jsonSchemaPropertiesToTSTypes; }
42
42
  });
43
43
  Object.defineProperty(exports, "jsonSchemaToModel", {
44
44
  enumerable: true,
45
- get: function () { return chunk53P5ZBJE_cjs.jsonSchemaToModel; }
45
+ get: function () { return chunkYTTBFAQJ_cjs.jsonSchemaToModel; }
46
46
  });
47
47
  Object.defineProperty(exports, "makeCoreTool", {
48
48
  enumerable: true,
49
- get: function () { return chunk53P5ZBJE_cjs.makeCoreTool; }
49
+ get: function () { return chunkYTTBFAQJ_cjs.makeCoreTool; }
50
50
  });
51
51
  Object.defineProperty(exports, "maskStreamTags", {
52
52
  enumerable: true,
53
- get: function () { return chunk53P5ZBJE_cjs.maskStreamTags; }
53
+ get: function () { return chunkYTTBFAQJ_cjs.maskStreamTags; }
54
54
  });
55
55
  Object.defineProperty(exports, "resolveSerializedZodOutput", {
56
56
  enumerable: true,
57
- get: function () { return chunk53P5ZBJE_cjs.resolveSerializedZodOutput; }
57
+ get: function () { return chunkYTTBFAQJ_cjs.resolveSerializedZodOutput; }
58
58
  });
package/dist/utils.d.cts CHANGED
@@ -1,17 +1,18 @@
1
- import { a4 as VercelTool, i as ToolAction, aH as ToolsInput, a as Mastra, aI as MastraPrimitives, l as MastraMemory, a5 as CoreTool, j as Agent, p as Workflow, o as Step, a6 as StepExecutionContext, am as WorkflowContext, aJ as AgentNetwork } from './base-oP3DoUrm.cjs';
1
+ import { at as VercelTool, D as ToolAction, b3 as ToolsInput, a as Mastra, b4 as MastraPrimitives, H as MastraMemory, au as CoreTool, F as Agent, L as Workflow, K as Step, av as StepExecutionContext, aL as WorkflowContext, s as NewWorkflow, N as NewStep, b5 as AgentNetwork } from './base-CZmT-p10.cjs';
2
2
  import { CoreMessage, Message } from 'ai';
3
3
  import { MastraTTS } from './tts/index.cjs';
4
4
  import { MastraVector } from './vector/index.cjs';
5
- import { z, ZodObject } from 'zod';
6
5
  import { a as Metric } from './types-BtMyV38I.cjs';
6
+ import { z, ZodObject } from 'zod';
7
7
  import { L as Logger } from './index-CquI0inB.cjs';
8
8
  import './base-BihKcqDY.cjs';
9
- import { RuntimeContext } from './di/index.cjs';
9
+ import { RuntimeContext } from './runtime-context/index.cjs';
10
10
  import 'sift';
11
11
  import 'json-schema';
12
12
  import '@opentelemetry/api';
13
13
  import 'xstate';
14
14
  import 'node:events';
15
+ import 'events';
15
16
  import './deployer/index.cjs';
16
17
  import './bundler/index.cjs';
17
18
  import 'stream';
@@ -20,6 +21,7 @@ import '@opentelemetry/sdk-trace-base';
20
21
  import 'hono';
21
22
  import 'hono/cors';
22
23
  import 'hono-openapi';
24
+ import 'ai/test';
23
25
  import './vector/filter/index.cjs';
24
26
 
25
27
  declare const delay: (ms: number) => Promise<unknown>;
@@ -100,7 +102,7 @@ declare function makeCoreTool(tool: ToolToConvert, options: ToolOptions, logType
100
102
  declare function createMastraProxy({ mastra, logger }: {
101
103
  mastra: Mastra;
102
104
  logger: Logger;
103
- }): Mastra<Record<string, Agent<any, ToolsInput, Record<string, Metric>>>, Record<string, Workflow<Step<string, any, any, StepExecutionContext<any, WorkflowContext<any, Step<string, any, any, any>[], Record<string, any>>>>[], string, any, any>>, Record<string, MastraVector>, Record<string, MastraTTS>, Logger, Record<string, AgentNetwork>>;
105
+ }): Mastra<Record<string, Agent<any, ToolsInput, Record<string, Metric>>>, Record<string, Workflow<Step<string, any, any, StepExecutionContext<any, WorkflowContext<any, Step<string, any, any, any>[], Record<string, any>>>>[], string, any, any>>, Record<string, NewWorkflow<NewStep<string, any, any, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>>[], string, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>>>, Record<string, MastraVector>, Record<string, MastraTTS>, Logger, Record<string, AgentNetwork>>;
104
106
  declare function checkEvalStorageFields(traceObject: any, logger?: Logger): boolean;
105
107
  declare function ensureAllMessagesAreCoreMessages(messages: (CoreMessage | Message)[]): CoreMessage[];
106
108
 
package/dist/utils.d.ts CHANGED
@@ -1,17 +1,18 @@
1
- import { a4 as VercelTool, i as ToolAction, aH as ToolsInput, a as Mastra, aI as MastraPrimitives, l as MastraMemory, a5 as CoreTool, j as Agent, p as Workflow, o as Step, a6 as StepExecutionContext, am as WorkflowContext, aJ as AgentNetwork } from './base-Bk5V1doj.js';
1
+ import { at as VercelTool, D as ToolAction, b3 as ToolsInput, a as Mastra, b4 as MastraPrimitives, H as MastraMemory, au as CoreTool, F as Agent, L as Workflow, K as Step, av as StepExecutionContext, aL as WorkflowContext, s as NewWorkflow, N as NewStep, b5 as AgentNetwork } from './base-DDoWFpFc.js';
2
2
  import { CoreMessage, Message } from 'ai';
3
3
  import { MastraTTS } from './tts/index.js';
4
4
  import { MastraVector } from './vector/index.js';
5
- import { z, ZodObject } from 'zod';
6
5
  import { a as Metric } from './types-BtMyV38I.js';
6
+ import { z, ZodObject } from 'zod';
7
7
  import { L as Logger } from './index-CquI0inB.js';
8
8
  import './base-DT2poiVK.js';
9
- import { RuntimeContext } from './di/index.js';
9
+ import { RuntimeContext } from './runtime-context/index.js';
10
10
  import 'sift';
11
11
  import 'json-schema';
12
12
  import '@opentelemetry/api';
13
13
  import 'xstate';
14
14
  import 'node:events';
15
+ import 'events';
15
16
  import './deployer/index.js';
16
17
  import './bundler/index.js';
17
18
  import 'stream';
@@ -20,6 +21,7 @@ import '@opentelemetry/sdk-trace-base';
20
21
  import 'hono';
21
22
  import 'hono/cors';
22
23
  import 'hono-openapi';
24
+ import 'ai/test';
23
25
  import './vector/filter/index.js';
24
26
 
25
27
  declare const delay: (ms: number) => Promise<unknown>;
@@ -100,7 +102,7 @@ declare function makeCoreTool(tool: ToolToConvert, options: ToolOptions, logType
100
102
  declare function createMastraProxy({ mastra, logger }: {
101
103
  mastra: Mastra;
102
104
  logger: Logger;
103
- }): Mastra<Record<string, Agent<any, ToolsInput, Record<string, Metric>>>, Record<string, Workflow<Step<string, any, any, StepExecutionContext<any, WorkflowContext<any, Step<string, any, any, any>[], Record<string, any>>>>[], string, any, any>>, Record<string, MastraVector>, Record<string, MastraTTS>, Logger, Record<string, AgentNetwork>>;
105
+ }): Mastra<Record<string, Agent<any, ToolsInput, Record<string, Metric>>>, Record<string, Workflow<Step<string, any, any, StepExecutionContext<any, WorkflowContext<any, Step<string, any, any, any>[], Record<string, any>>>>[], string, any, any>>, Record<string, NewWorkflow<NewStep<string, any, any, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>>[], string, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>>>, Record<string, MastraVector>, Record<string, MastraTTS>, Logger, Record<string, AgentNetwork>>;
104
106
  declare function checkEvalStorageFields(traceObject: any, logger?: Logger): boolean;
105
107
  declare function ensureAllMessagesAreCoreMessages(messages: (CoreMessage | Message)[]): CoreMessage[];
106
108
 
package/dist/utils.js CHANGED
@@ -1 +1 @@
1
- export { checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureAllMessagesAreCoreMessages, ensureToolProperties, isVercelTool, isZodType, jsonSchemaPropertiesToTSTypes, jsonSchemaToModel, makeCoreTool, maskStreamTags, resolveSerializedZodOutput } from './chunk-NTHHPNOW.js';
1
+ export { checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureAllMessagesAreCoreMessages, ensureToolProperties, isVercelTool, isZodType, jsonSchemaPropertiesToTSTypes, jsonSchemaToModel, makeCoreTool, maskStreamTags, resolveSerializedZodOutput } from './chunk-34622N67.js';
@@ -1,26 +1,28 @@
1
- import { b as MastraVoice } from '../base-oP3DoUrm.cjs';
2
- export { C as CompositeVoice, d as VoiceConfig, c as VoiceEventMap, V as VoiceEventType } from '../base-oP3DoUrm.cjs';
1
+ import { b as MastraVoice } from '../base-CZmT-p10.cjs';
2
+ export { C as CompositeVoice, d as VoiceConfig, c as VoiceEventMap, V as VoiceEventType } from '../base-CZmT-p10.cjs';
3
3
  import '../base-BihKcqDY.cjs';
4
4
  import 'ai';
5
5
  import '../types-BtMyV38I.cjs';
6
6
  import 'sift';
7
7
  import 'zod';
8
8
  import 'json-schema';
9
- import '../di/index.cjs';
10
9
  import '../index-CquI0inB.cjs';
11
10
  import 'stream';
12
11
  import 'pino';
12
+ import '../runtime-context/index.cjs';
13
13
  import '@opentelemetry/api';
14
14
  import 'xstate';
15
15
  import 'node:events';
16
16
  import '../vector/index.cjs';
17
17
  import '../vector/filter/index.cjs';
18
18
  import '../tts/index.cjs';
19
+ import 'events';
19
20
  import '../deployer/index.cjs';
20
21
  import '../bundler/index.cjs';
21
22
  import 'hono';
22
23
  import 'hono/cors';
23
24
  import 'hono-openapi';
25
+ import 'ai/test';
24
26
  import '@opentelemetry/sdk-trace-base';
25
27
 
26
28
  declare class DefaultVoice extends MastraVoice {
@@ -1,26 +1,28 @@
1
- import { b as MastraVoice } from '../base-Bk5V1doj.js';
2
- export { C as CompositeVoice, d as VoiceConfig, c as VoiceEventMap, V as VoiceEventType } from '../base-Bk5V1doj.js';
1
+ import { b as MastraVoice } from '../base-DDoWFpFc.js';
2
+ export { C as CompositeVoice, d as VoiceConfig, c as VoiceEventMap, V as VoiceEventType } from '../base-DDoWFpFc.js';
3
3
  import '../base-DT2poiVK.js';
4
4
  import 'ai';
5
5
  import '../types-BtMyV38I.js';
6
6
  import 'sift';
7
7
  import 'zod';
8
8
  import 'json-schema';
9
- import '../di/index.js';
10
9
  import '../index-CquI0inB.js';
11
10
  import 'stream';
12
11
  import 'pino';
12
+ import '../runtime-context/index.js';
13
13
  import '@opentelemetry/api';
14
14
  import 'xstate';
15
15
  import 'node:events';
16
16
  import '../vector/index.js';
17
17
  import '../vector/filter/index.js';
18
18
  import '../tts/index.js';
19
+ import 'events';
19
20
  import '../deployer/index.js';
20
21
  import '../bundler/index.js';
21
22
  import 'hono';
22
23
  import 'hono/cors';
23
24
  import 'hono-openapi';
25
+ import 'ai/test';
24
26
  import '@opentelemetry/sdk-trace-base';
25
27
 
26
28
  declare class DefaultVoice extends MastraVoice {
@@ -1,94 +1,90 @@
1
1
  'use strict';
2
2
 
3
- var chunkATXF6TIO_cjs = require('../chunk-ATXF6TIO.cjs');
3
+ var chunk422BXQRT_cjs = require('../chunk-422BXQRT.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "Step", {
8
8
  enumerable: true,
9
- get: function () { return chunkATXF6TIO_cjs.Step; }
9
+ get: function () { return chunk422BXQRT_cjs.Step; }
10
10
  });
11
11
  Object.defineProperty(exports, "WhenConditionReturnValue", {
12
12
  enumerable: true,
13
- get: function () { return chunkATXF6TIO_cjs.WhenConditionReturnValue; }
13
+ get: function () { return chunk422BXQRT_cjs.WhenConditionReturnValue; }
14
14
  });
15
15
  Object.defineProperty(exports, "Workflow", {
16
16
  enumerable: true,
17
- get: function () { return chunkATXF6TIO_cjs.Workflow; }
17
+ get: function () { return chunk422BXQRT_cjs.Workflow; }
18
18
  });
19
19
  Object.defineProperty(exports, "agentToStep", {
20
20
  enumerable: true,
21
- get: function () { return chunkATXF6TIO_cjs.agentToStep; }
22
- });
23
- Object.defineProperty(exports, "createStep", {
24
- enumerable: true,
25
- get: function () { return chunkATXF6TIO_cjs.createStep; }
21
+ get: function () { return chunk422BXQRT_cjs.agentToStep; }
26
22
  });
27
23
  Object.defineProperty(exports, "getActivePathsAndStatus", {
28
24
  enumerable: true,
29
- get: function () { return chunkATXF6TIO_cjs.getActivePathsAndStatus; }
25
+ get: function () { return chunk422BXQRT_cjs.getActivePathsAndStatus; }
30
26
  });
31
27
  Object.defineProperty(exports, "getResultActivePaths", {
32
28
  enumerable: true,
33
- get: function () { return chunkATXF6TIO_cjs.getResultActivePaths; }
29
+ get: function () { return chunk422BXQRT_cjs.getResultActivePaths; }
34
30
  });
35
31
  Object.defineProperty(exports, "getStepResult", {
36
32
  enumerable: true,
37
- get: function () { return chunkATXF6TIO_cjs.getStepResult; }
33
+ get: function () { return chunk422BXQRT_cjs.getStepResult; }
38
34
  });
39
35
  Object.defineProperty(exports, "getSuspendedPaths", {
40
36
  enumerable: true,
41
- get: function () { return chunkATXF6TIO_cjs.getSuspendedPaths; }
37
+ get: function () { return chunk422BXQRT_cjs.getSuspendedPaths; }
42
38
  });
43
39
  Object.defineProperty(exports, "isAgent", {
44
40
  enumerable: true,
45
- get: function () { return chunkATXF6TIO_cjs.isAgent; }
41
+ get: function () { return chunk422BXQRT_cjs.isAgent; }
46
42
  });
47
43
  Object.defineProperty(exports, "isConditionalKey", {
48
44
  enumerable: true,
49
- get: function () { return chunkATXF6TIO_cjs.isConditionalKey; }
45
+ get: function () { return chunk422BXQRT_cjs.isConditionalKey; }
50
46
  });
51
47
  Object.defineProperty(exports, "isErrorEvent", {
52
48
  enumerable: true,
53
- get: function () { return chunkATXF6TIO_cjs.isErrorEvent; }
49
+ get: function () { return chunk422BXQRT_cjs.isErrorEvent; }
54
50
  });
55
51
  Object.defineProperty(exports, "isFinalState", {
56
52
  enumerable: true,
57
- get: function () { return chunkATXF6TIO_cjs.isFinalState; }
53
+ get: function () { return chunk422BXQRT_cjs.isFinalState; }
58
54
  });
59
55
  Object.defineProperty(exports, "isLimboState", {
60
56
  enumerable: true,
61
- get: function () { return chunkATXF6TIO_cjs.isLimboState; }
57
+ get: function () { return chunk422BXQRT_cjs.isLimboState; }
62
58
  });
63
59
  Object.defineProperty(exports, "isTransitionEvent", {
64
60
  enumerable: true,
65
- get: function () { return chunkATXF6TIO_cjs.isTransitionEvent; }
61
+ get: function () { return chunk422BXQRT_cjs.isTransitionEvent; }
66
62
  });
67
63
  Object.defineProperty(exports, "isVariableReference", {
68
64
  enumerable: true,
69
- get: function () { return chunkATXF6TIO_cjs.isVariableReference; }
65
+ get: function () { return chunk422BXQRT_cjs.isVariableReference; }
70
66
  });
71
67
  Object.defineProperty(exports, "isWorkflow", {
72
68
  enumerable: true,
73
- get: function () { return chunkATXF6TIO_cjs.isWorkflow; }
69
+ get: function () { return chunk422BXQRT_cjs.isWorkflow; }
74
70
  });
75
71
  Object.defineProperty(exports, "mergeChildValue", {
76
72
  enumerable: true,
77
- get: function () { return chunkATXF6TIO_cjs.mergeChildValue; }
73
+ get: function () { return chunk422BXQRT_cjs.mergeChildValue; }
78
74
  });
79
75
  Object.defineProperty(exports, "recursivelyCheckForFinalState", {
80
76
  enumerable: true,
81
- get: function () { return chunkATXF6TIO_cjs.recursivelyCheckForFinalState; }
77
+ get: function () { return chunk422BXQRT_cjs.recursivelyCheckForFinalState; }
82
78
  });
83
79
  Object.defineProperty(exports, "resolveVariables", {
84
80
  enumerable: true,
85
- get: function () { return chunkATXF6TIO_cjs.resolveVariables; }
81
+ get: function () { return chunk422BXQRT_cjs.resolveVariables; }
86
82
  });
87
83
  Object.defineProperty(exports, "updateStepInHierarchy", {
88
84
  enumerable: true,
89
- get: function () { return chunkATXF6TIO_cjs.updateStepInHierarchy; }
85
+ get: function () { return chunk422BXQRT_cjs.updateStepInHierarchy; }
90
86
  });
91
87
  Object.defineProperty(exports, "workflowToStep", {
92
88
  enumerable: true,
93
- get: function () { return chunkATXF6TIO_cjs.workflowToStep; }
89
+ get: function () { return chunk422BXQRT_cjs.workflowToStep; }
94
90
  });
@@ -1,5 +1,5 @@
1
- import { ac as VariableReference, aj as StepResult, o as Step, p as Workflow, j as Agent, am as WorkflowContext, aH as ToolsInput, a as Mastra, a7 as StepAction, al as WorkflowRunResult } from '../base-oP3DoUrm.cjs';
2
- export { ae as ActionContext, ad as BaseCondition, as as DependencyCheckOutput, az as ExtractSchemaFromStep, aC as ExtractSchemaType, aA as ExtractStepResult, aD as PathsToStringProps, ap as ResolverFunctionInput, aq as ResolverFunctionOutput, ab as RetryConfig, ah as StepCondition, ai as StepConfig, ag as StepDef, a6 as StepExecutionContext, aa as StepGraph, ay as StepId, aB as StepInputType, a9 as StepNode, at as StepResolverOutput, a8 as StepVariableType, ak as StepsRecord, ar as SubscriberFunctionOutput, af as WhenConditionReturnValue, av as WorkflowActionParams, aw as WorkflowActions, au as WorkflowActors, ao as WorkflowEvent, an as WorkflowLogMessage, q as WorkflowOptions, aE as WorkflowResumeResult, W as WorkflowRunState, ax as WorkflowState, aF as createStep } from '../base-oP3DoUrm.cjs';
1
+ import { aB as VariableReference, aI as StepResult, K as Step, L as Workflow, F as Agent, aL as WorkflowContext, b3 as ToolsInput, a as Mastra, aw as StepAction, aK as WorkflowRunResult } from '../base-CZmT-p10.cjs';
2
+ export { aD as ActionContext, aC as BaseCondition, aR as DependencyCheckOutput, aY as ExtractSchemaFromStep, a$ as ExtractSchemaType, aZ as ExtractStepResult, b0 as PathsToStringProps, aO as ResolverFunctionInput, aP as ResolverFunctionOutput, aA as RetryConfig, aG as StepCondition, aH as StepConfig, aF as StepDef, av as StepExecutionContext, az as StepGraph, aX as StepId, a_ as StepInputType, ay as StepNode, aS as StepResolverOutput, ax as StepVariableType, aJ as StepsRecord, aQ as SubscriberFunctionOutput, aE as WhenConditionReturnValue, aU as WorkflowActionParams, aV as WorkflowActions, aT as WorkflowActors, aN as WorkflowEvent, aM as WorkflowLogMessage, O as WorkflowOptions, b1 as WorkflowResumeResult, W as WorkflowRunState, aW as WorkflowState } from '../base-CZmT-p10.cjs';
3
3
  import { z } from 'zod';
4
4
  import { a as Metric } from '../types-BtMyV38I.cjs';
5
5
  import { L as Logger } from '../index-CquI0inB.cjs';
@@ -7,7 +7,7 @@ import '../base-BihKcqDY.cjs';
7
7
  import 'ai';
8
8
  import 'sift';
9
9
  import 'json-schema';
10
- import '../di/index.cjs';
10
+ import '../runtime-context/index.cjs';
11
11
  import '@opentelemetry/api';
12
12
  import 'xstate';
13
13
  import 'node:events';
@@ -17,11 +17,13 @@ import 'stream';
17
17
  import 'pino';
18
18
  import '@opentelemetry/sdk-trace-base';
19
19
  import '../tts/index.cjs';
20
+ import 'events';
20
21
  import '../deployer/index.cjs';
21
22
  import '../bundler/index.cjs';
22
23
  import 'hono';
23
24
  import 'hono/cors';
24
25
  import 'hono-openapi';
26
+ import 'ai/test';
25
27
 
26
28
  declare function isErrorEvent(stateEvent: any): stateEvent is {
27
29
  type: `xstate.error.actor.${string}`;
@@ -1,5 +1,5 @@
1
- import { ac as VariableReference, aj as StepResult, o as Step, p as Workflow, j as Agent, am as WorkflowContext, aH as ToolsInput, a as Mastra, a7 as StepAction, al as WorkflowRunResult } from '../base-Bk5V1doj.js';
2
- export { ae as ActionContext, ad as BaseCondition, as as DependencyCheckOutput, az as ExtractSchemaFromStep, aC as ExtractSchemaType, aA as ExtractStepResult, aD as PathsToStringProps, ap as ResolverFunctionInput, aq as ResolverFunctionOutput, ab as RetryConfig, ah as StepCondition, ai as StepConfig, ag as StepDef, a6 as StepExecutionContext, aa as StepGraph, ay as StepId, aB as StepInputType, a9 as StepNode, at as StepResolverOutput, a8 as StepVariableType, ak as StepsRecord, ar as SubscriberFunctionOutput, af as WhenConditionReturnValue, av as WorkflowActionParams, aw as WorkflowActions, au as WorkflowActors, ao as WorkflowEvent, an as WorkflowLogMessage, q as WorkflowOptions, aE as WorkflowResumeResult, W as WorkflowRunState, ax as WorkflowState, aF as createStep } from '../base-Bk5V1doj.js';
1
+ import { aB as VariableReference, aI as StepResult, K as Step, L as Workflow, F as Agent, aL as WorkflowContext, b3 as ToolsInput, a as Mastra, aw as StepAction, aK as WorkflowRunResult } from '../base-DDoWFpFc.js';
2
+ export { aD as ActionContext, aC as BaseCondition, aR as DependencyCheckOutput, aY as ExtractSchemaFromStep, a$ as ExtractSchemaType, aZ as ExtractStepResult, b0 as PathsToStringProps, aO as ResolverFunctionInput, aP as ResolverFunctionOutput, aA as RetryConfig, aG as StepCondition, aH as StepConfig, aF as StepDef, av as StepExecutionContext, az as StepGraph, aX as StepId, a_ as StepInputType, ay as StepNode, aS as StepResolverOutput, ax as StepVariableType, aJ as StepsRecord, aQ as SubscriberFunctionOutput, aE as WhenConditionReturnValue, aU as WorkflowActionParams, aV as WorkflowActions, aT as WorkflowActors, aN as WorkflowEvent, aM as WorkflowLogMessage, O as WorkflowOptions, b1 as WorkflowResumeResult, W as WorkflowRunState, aW as WorkflowState } from '../base-DDoWFpFc.js';
3
3
  import { z } from 'zod';
4
4
  import { a as Metric } from '../types-BtMyV38I.js';
5
5
  import { L as Logger } from '../index-CquI0inB.js';
@@ -7,7 +7,7 @@ import '../base-DT2poiVK.js';
7
7
  import 'ai';
8
8
  import 'sift';
9
9
  import 'json-schema';
10
- import '../di/index.js';
10
+ import '../runtime-context/index.js';
11
11
  import '@opentelemetry/api';
12
12
  import 'xstate';
13
13
  import 'node:events';
@@ -17,11 +17,13 @@ import 'stream';
17
17
  import 'pino';
18
18
  import '@opentelemetry/sdk-trace-base';
19
19
  import '../tts/index.js';
20
+ import 'events';
20
21
  import '../deployer/index.js';
21
22
  import '../bundler/index.js';
22
23
  import 'hono';
23
24
  import 'hono/cors';
24
25
  import 'hono-openapi';
26
+ import 'ai/test';
25
27
 
26
28
  declare function isErrorEvent(stateEvent: any): stateEvent is {
27
29
  type: `xstate.error.actor.${string}`;
@@ -1 +1 @@
1
- export { Step, WhenConditionReturnValue, Workflow, agentToStep, createStep, getActivePathsAndStatus, getResultActivePaths, getStepResult, getSuspendedPaths, isAgent, isConditionalKey, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, isWorkflow, mergeChildValue, recursivelyCheckForFinalState, resolveVariables, updateStepInHierarchy, workflowToStep } from '../chunk-HARYMLZH.js';
1
+ export { Step, WhenConditionReturnValue, Workflow, agentToStep, getActivePathsAndStatus, getResultActivePaths, getStepResult, getSuspendedPaths, isAgent, isConditionalKey, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, isWorkflow, mergeChildValue, recursivelyCheckForFinalState, resolveVariables, updateStepInHierarchy, workflowToStep } from '../chunk-4K4DHXRF.js';