@mastra/server 2.0.4-alpha.1 → 2.0.4-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.
@@ -70,9 +70,7 @@ async function getVNextWorkflowByIdHandler({ mastra, workflowId }) {
70
70
  }, {}),
71
71
  name: workflow.name,
72
72
  stepGraph: workflow.serializedStepGraph,
73
- // @ts-ignore - ignore infinite recursion
74
73
  inputSchema: workflow.inputSchema ? stringify(esm_default(workflow.inputSchema)) : void 0,
75
- // @ts-ignore - ignore infinite recursion
76
74
  outputSchema: workflow.outputSchema ? stringify(esm_default(workflow.outputSchema)) : void 0
77
75
  };
78
76
  } catch (error) {
@@ -72,9 +72,7 @@ async function getVNextWorkflowByIdHandler({ mastra, workflowId }) {
72
72
  }, {}),
73
73
  name: workflow.name,
74
74
  stepGraph: workflow.serializedStepGraph,
75
- // @ts-ignore - ignore infinite recursion
76
75
  inputSchema: workflow.inputSchema ? chunkYWLUOY3D_cjs.stringify(chunkYWLUOY3D_cjs.esm_default(workflow.inputSchema)) : void 0,
77
- // @ts-ignore - ignore infinite recursion
78
76
  outputSchema: workflow.outputSchema ? chunkYWLUOY3D_cjs.stringify(chunkYWLUOY3D_cjs.esm_default(workflow.outputSchema)) : void 0
79
77
  };
80
78
  } catch (error) {
@@ -1,46 +1,46 @@
1
1
  'use strict';
2
2
 
3
- var chunkM6MC2QMH_cjs = require('../../chunk-M6MC2QMH.cjs');
3
+ var chunkUCTEMO2Q_cjs = require('../../chunk-UCTEMO2Q.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "createVNextWorkflowRunHandler", {
8
8
  enumerable: true,
9
- get: function () { return chunkM6MC2QMH_cjs.createVNextWorkflowRunHandler; }
9
+ get: function () { return chunkUCTEMO2Q_cjs.createVNextWorkflowRunHandler; }
10
10
  });
11
11
  Object.defineProperty(exports, "getVNextWorkflowByIdHandler", {
12
12
  enumerable: true,
13
- get: function () { return chunkM6MC2QMH_cjs.getVNextWorkflowByIdHandler; }
13
+ get: function () { return chunkUCTEMO2Q_cjs.getVNextWorkflowByIdHandler; }
14
14
  });
15
15
  Object.defineProperty(exports, "getVNextWorkflowRunByIdHandler", {
16
16
  enumerable: true,
17
- get: function () { return chunkM6MC2QMH_cjs.getVNextWorkflowRunByIdHandler; }
17
+ get: function () { return chunkUCTEMO2Q_cjs.getVNextWorkflowRunByIdHandler; }
18
18
  });
19
19
  Object.defineProperty(exports, "getVNextWorkflowRunsHandler", {
20
20
  enumerable: true,
21
- get: function () { return chunkM6MC2QMH_cjs.getVNextWorkflowRunsHandler; }
21
+ get: function () { return chunkUCTEMO2Q_cjs.getVNextWorkflowRunsHandler; }
22
22
  });
23
23
  Object.defineProperty(exports, "getVNextWorkflowsHandler", {
24
24
  enumerable: true,
25
- get: function () { return chunkM6MC2QMH_cjs.getVNextWorkflowsHandler; }
25
+ get: function () { return chunkUCTEMO2Q_cjs.getVNextWorkflowsHandler; }
26
26
  });
27
27
  Object.defineProperty(exports, "resumeAsyncVNextWorkflowHandler", {
28
28
  enumerable: true,
29
- get: function () { return chunkM6MC2QMH_cjs.resumeAsyncVNextWorkflowHandler; }
29
+ get: function () { return chunkUCTEMO2Q_cjs.resumeAsyncVNextWorkflowHandler; }
30
30
  });
31
31
  Object.defineProperty(exports, "resumeVNextWorkflowHandler", {
32
32
  enumerable: true,
33
- get: function () { return chunkM6MC2QMH_cjs.resumeVNextWorkflowHandler; }
33
+ get: function () { return chunkUCTEMO2Q_cjs.resumeVNextWorkflowHandler; }
34
34
  });
35
35
  Object.defineProperty(exports, "startAsyncVNextWorkflowHandler", {
36
36
  enumerable: true,
37
- get: function () { return chunkM6MC2QMH_cjs.startAsyncVNextWorkflowHandler; }
37
+ get: function () { return chunkUCTEMO2Q_cjs.startAsyncVNextWorkflowHandler; }
38
38
  });
39
39
  Object.defineProperty(exports, "startVNextWorkflowRunHandler", {
40
40
  enumerable: true,
41
- get: function () { return chunkM6MC2QMH_cjs.startVNextWorkflowRunHandler; }
41
+ get: function () { return chunkUCTEMO2Q_cjs.startVNextWorkflowRunHandler; }
42
42
  });
43
43
  Object.defineProperty(exports, "watchVNextWorkflowHandler", {
44
44
  enumerable: true,
45
- get: function () { return chunkM6MC2QMH_cjs.watchVNextWorkflowHandler; }
45
+ get: function () { return chunkUCTEMO2Q_cjs.watchVNextWorkflowHandler; }
46
46
  });
@@ -1 +1 @@
1
- export { createVNextWorkflowRunHandler, getVNextWorkflowByIdHandler, getVNextWorkflowRunByIdHandler, getVNextWorkflowRunsHandler, getVNextWorkflowsHandler, resumeAsyncVNextWorkflowHandler, resumeVNextWorkflowHandler, startAsyncVNextWorkflowHandler, startVNextWorkflowRunHandler, watchVNextWorkflowHandler } from '../../chunk-WJU67W7F.js';
1
+ export { createVNextWorkflowRunHandler, getVNextWorkflowByIdHandler, getVNextWorkflowRunByIdHandler, getVNextWorkflowRunsHandler, getVNextWorkflowsHandler, resumeAsyncVNextWorkflowHandler, resumeVNextWorkflowHandler, startAsyncVNextWorkflowHandler, startVNextWorkflowRunHandler, watchVNextWorkflowHandler } from '../../chunk-MIQYDLLM.js';
@@ -2,7 +2,7 @@
2
2
 
3
3
  var chunkMHKNLNAN_cjs = require('../chunk-MHKNLNAN.cjs');
4
4
  var chunkZE5AAC4I_cjs = require('../chunk-ZE5AAC4I.cjs');
5
- var chunkM6MC2QMH_cjs = require('../chunk-M6MC2QMH.cjs');
5
+ var chunkUCTEMO2Q_cjs = require('../chunk-UCTEMO2Q.cjs');
6
6
  var chunk4YZ3U35L_cjs = require('../chunk-4YZ3U35L.cjs');
7
7
  var chunkYBVOQN4M_cjs = require('../chunk-YBVOQN4M.cjs');
8
8
  var chunkI2B73Y4I_cjs = require('../chunk-I2B73Y4I.cjs');
@@ -24,7 +24,7 @@ Object.defineProperty(exports, "tools", {
24
24
  });
25
25
  Object.defineProperty(exports, "vNextWorkflows", {
26
26
  enumerable: true,
27
- get: function () { return chunkM6MC2QMH_cjs.vNextWorkflows_exports; }
27
+ get: function () { return chunkUCTEMO2Q_cjs.vNextWorkflows_exports; }
28
28
  });
29
29
  Object.defineProperty(exports, "vector", {
30
30
  enumerable: true,
@@ -1,6 +1,6 @@
1
1
  export { telemetry_exports as telemetry } from '../chunk-OR3CIE2H.js';
2
2
  export { tools_exports as tools } from '../chunk-TJKLBTFB.js';
3
- export { vNextWorkflows_exports as vNextWorkflows } from '../chunk-WJU67W7F.js';
3
+ export { vNextWorkflows_exports as vNextWorkflows } from '../chunk-MIQYDLLM.js';
4
4
  export { vector_exports as vector } from '../chunk-IU5VO2I2.js';
5
5
  export { voice_exports as voice } from '../chunk-HFWCEP5S.js';
6
6
  export { workflows_exports as workflows } from '../chunk-EJO45KYT.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/server",
3
- "version": "2.0.4-alpha.1",
3
+ "version": "2.0.4-alpha.2",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
@@ -47,7 +47,7 @@
47
47
  "dependencies": {},
48
48
  "peerDependencies": {
49
49
  "zod": "^3.0.0",
50
- "@mastra/core": "^0.9.4-alpha.1"
50
+ "@mastra/core": "^0.9.4-alpha.2"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@ai-sdk/openai": "^1.3.2",
@@ -61,7 +61,7 @@
61
61
  "zod": "^3.24.3",
62
62
  "zod-to-json-schema": "^3.24.5",
63
63
  "@internal/lint": "0.0.4",
64
- "@mastra/core": "0.9.4-alpha.1"
64
+ "@mastra/core": "0.9.4-alpha.2"
65
65
  },
66
66
  "scripts": {
67
67
  "build": "tsup src/index.ts src/server/handlers.ts src/server/handlers/*.ts !src/server/handlers/*.test.ts --format esm,cjs --clean --experimental-dts --treeshake=smallest --splitting",