@mastra/server 0.11.0-alpha.1 → 0.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 (35) hide show
  1. package/dist/_tsup-dts-rollup.d.cts +155 -12
  2. package/dist/_tsup-dts-rollup.d.ts +155 -12
  3. package/dist/{chunk-H7DMHBKY.js → chunk-2SPBWAKY.js} +30 -1
  4. package/dist/chunk-424T5F2J.cjs +157 -0
  5. package/dist/chunk-6T5JUKOQ.js +149 -0
  6. package/dist/{chunk-KOHWJYJT.js → chunk-AHXXKSOO.js} +207 -2
  7. package/dist/{chunk-LZ3VJXSO.cjs → chunk-ENPKI53P.cjs} +31 -1
  8. package/dist/{chunk-B2PAS2IB.cjs → chunk-G7AFLCTK.cjs} +30 -0
  9. package/dist/{chunk-LRCAAFUA.js → chunk-RFV6JJFC.js} +1 -1
  10. package/dist/{chunk-3CNDE7QY.cjs → chunk-SE2BQ536.cjs} +209 -1
  11. package/dist/{chunk-BK4XT6EG.js → chunk-VRJ2TE5J.js} +31 -2
  12. package/dist/{chunk-FRVBFMO2.cjs → chunk-WDFLW64N.cjs} +4 -4
  13. package/dist/server/handlers/agents.cjs +11 -7
  14. package/dist/server/handlers/agents.d.cts +1 -0
  15. package/dist/server/handlers/agents.d.ts +1 -0
  16. package/dist/server/handlers/agents.js +1 -1
  17. package/dist/server/handlers/memory.cjs +23 -11
  18. package/dist/server/handlers/memory.d.cts +3 -0
  19. package/dist/server/handlers/memory.d.ts +3 -0
  20. package/dist/server/handlers/memory.js +1 -1
  21. package/dist/server/handlers/scores.cjs +30 -0
  22. package/dist/server/handlers/scores.d.cts +6 -0
  23. package/dist/server/handlers/scores.d.ts +6 -0
  24. package/dist/server/handlers/scores.js +1 -0
  25. package/dist/server/handlers/tools.cjs +5 -5
  26. package/dist/server/handlers/tools.js +1 -1
  27. package/dist/server/handlers/workflows.cjs +19 -15
  28. package/dist/server/handlers/workflows.d.cts +1 -0
  29. package/dist/server/handlers/workflows.d.ts +1 -0
  30. package/dist/server/handlers/workflows.js +1 -1
  31. package/dist/server/handlers.cjs +16 -11
  32. package/dist/server/handlers.d.cts +3 -2
  33. package/dist/server/handlers.d.ts +3 -2
  34. package/dist/server/handlers.js +5 -4
  35. package/package.json +3 -2
@@ -1,62 +1,66 @@
1
1
  'use strict';
2
2
 
3
- var chunkB2PAS2IB_cjs = require('../../chunk-B2PAS2IB.cjs');
3
+ var chunkG7AFLCTK_cjs = require('../../chunk-G7AFLCTK.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "cancelWorkflowRunHandler", {
8
8
  enumerable: true,
9
- get: function () { return chunkB2PAS2IB_cjs.cancelWorkflowRunHandler; }
9
+ get: function () { return chunkG7AFLCTK_cjs.cancelWorkflowRunHandler; }
10
10
  });
11
11
  Object.defineProperty(exports, "createWorkflowRunHandler", {
12
12
  enumerable: true,
13
- get: function () { return chunkB2PAS2IB_cjs.createWorkflowRunHandler; }
13
+ get: function () { return chunkG7AFLCTK_cjs.createWorkflowRunHandler; }
14
14
  });
15
15
  Object.defineProperty(exports, "getWorkflowByIdHandler", {
16
16
  enumerable: true,
17
- get: function () { return chunkB2PAS2IB_cjs.getWorkflowByIdHandler; }
17
+ get: function () { return chunkG7AFLCTK_cjs.getWorkflowByIdHandler; }
18
18
  });
19
19
  Object.defineProperty(exports, "getWorkflowRunByIdHandler", {
20
20
  enumerable: true,
21
- get: function () { return chunkB2PAS2IB_cjs.getWorkflowRunByIdHandler; }
21
+ get: function () { return chunkG7AFLCTK_cjs.getWorkflowRunByIdHandler; }
22
22
  });
23
23
  Object.defineProperty(exports, "getWorkflowRunExecutionResultHandler", {
24
24
  enumerable: true,
25
- get: function () { return chunkB2PAS2IB_cjs.getWorkflowRunExecutionResultHandler; }
25
+ get: function () { return chunkG7AFLCTK_cjs.getWorkflowRunExecutionResultHandler; }
26
26
  });
27
27
  Object.defineProperty(exports, "getWorkflowRunsHandler", {
28
28
  enumerable: true,
29
- get: function () { return chunkB2PAS2IB_cjs.getWorkflowRunsHandler; }
29
+ get: function () { return chunkG7AFLCTK_cjs.getWorkflowRunsHandler; }
30
30
  });
31
31
  Object.defineProperty(exports, "getWorkflowsHandler", {
32
32
  enumerable: true,
33
- get: function () { return chunkB2PAS2IB_cjs.getWorkflowsHandler; }
33
+ get: function () { return chunkG7AFLCTK_cjs.getWorkflowsHandler; }
34
34
  });
35
35
  Object.defineProperty(exports, "resumeAsyncWorkflowHandler", {
36
36
  enumerable: true,
37
- get: function () { return chunkB2PAS2IB_cjs.resumeAsyncWorkflowHandler; }
37
+ get: function () { return chunkG7AFLCTK_cjs.resumeAsyncWorkflowHandler; }
38
38
  });
39
39
  Object.defineProperty(exports, "resumeWorkflowHandler", {
40
40
  enumerable: true,
41
- get: function () { return chunkB2PAS2IB_cjs.resumeWorkflowHandler; }
41
+ get: function () { return chunkG7AFLCTK_cjs.resumeWorkflowHandler; }
42
42
  });
43
43
  Object.defineProperty(exports, "sendWorkflowRunEventHandler", {
44
44
  enumerable: true,
45
- get: function () { return chunkB2PAS2IB_cjs.sendWorkflowRunEventHandler; }
45
+ get: function () { return chunkG7AFLCTK_cjs.sendWorkflowRunEventHandler; }
46
46
  });
47
47
  Object.defineProperty(exports, "startAsyncWorkflowHandler", {
48
48
  enumerable: true,
49
- get: function () { return chunkB2PAS2IB_cjs.startAsyncWorkflowHandler; }
49
+ get: function () { return chunkG7AFLCTK_cjs.startAsyncWorkflowHandler; }
50
50
  });
51
51
  Object.defineProperty(exports, "startWorkflowRunHandler", {
52
52
  enumerable: true,
53
- get: function () { return chunkB2PAS2IB_cjs.startWorkflowRunHandler; }
53
+ get: function () { return chunkG7AFLCTK_cjs.startWorkflowRunHandler; }
54
+ });
55
+ Object.defineProperty(exports, "streamVNextWorkflowHandler", {
56
+ enumerable: true,
57
+ get: function () { return chunkG7AFLCTK_cjs.streamVNextWorkflowHandler; }
54
58
  });
55
59
  Object.defineProperty(exports, "streamWorkflowHandler", {
56
60
  enumerable: true,
57
- get: function () { return chunkB2PAS2IB_cjs.streamWorkflowHandler; }
61
+ get: function () { return chunkG7AFLCTK_cjs.streamWorkflowHandler; }
58
62
  });
59
63
  Object.defineProperty(exports, "watchWorkflowHandler", {
60
64
  enumerable: true,
61
- get: function () { return chunkB2PAS2IB_cjs.watchWorkflowHandler; }
65
+ get: function () { return chunkG7AFLCTK_cjs.watchWorkflowHandler; }
62
66
  });
@@ -7,6 +7,7 @@ export { startAsyncWorkflowHandler } from '../../_tsup-dts-rollup.cjs';
7
7
  export { startWorkflowRunHandler } from '../../_tsup-dts-rollup.cjs';
8
8
  export { watchWorkflowHandler } from '../../_tsup-dts-rollup.cjs';
9
9
  export { streamWorkflowHandler } from '../../_tsup-dts-rollup.cjs';
10
+ export { streamVNextWorkflowHandler } from '../../_tsup-dts-rollup.cjs';
10
11
  export { resumeAsyncWorkflowHandler } from '../../_tsup-dts-rollup.cjs';
11
12
  export { resumeWorkflowHandler } from '../../_tsup-dts-rollup.cjs';
12
13
  export { getWorkflowRunsHandler } from '../../_tsup-dts-rollup.cjs';
@@ -7,6 +7,7 @@ export { startAsyncWorkflowHandler } from '../../_tsup-dts-rollup.js';
7
7
  export { startWorkflowRunHandler } from '../../_tsup-dts-rollup.js';
8
8
  export { watchWorkflowHandler } from '../../_tsup-dts-rollup.js';
9
9
  export { streamWorkflowHandler } from '../../_tsup-dts-rollup.js';
10
+ export { streamVNextWorkflowHandler } from '../../_tsup-dts-rollup.js';
10
11
  export { resumeAsyncWorkflowHandler } from '../../_tsup-dts-rollup.js';
11
12
  export { resumeWorkflowHandler } from '../../_tsup-dts-rollup.js';
12
13
  export { getWorkflowRunsHandler } from '../../_tsup-dts-rollup.js';
@@ -1 +1 @@
1
- export { cancelWorkflowRunHandler, createWorkflowRunHandler, getWorkflowByIdHandler, getWorkflowRunByIdHandler, getWorkflowRunExecutionResultHandler, getWorkflowRunsHandler, getWorkflowsHandler, resumeAsyncWorkflowHandler, resumeWorkflowHandler, sendWorkflowRunEventHandler, startAsyncWorkflowHandler, startWorkflowRunHandler, streamWorkflowHandler, watchWorkflowHandler } from '../../chunk-H7DMHBKY.js';
1
+ export { cancelWorkflowRunHandler, createWorkflowRunHandler, getWorkflowByIdHandler, getWorkflowRunByIdHandler, getWorkflowRunExecutionResultHandler, getWorkflowRunsHandler, getWorkflowsHandler, resumeAsyncWorkflowHandler, resumeWorkflowHandler, sendWorkflowRunEventHandler, startAsyncWorkflowHandler, startWorkflowRunHandler, streamVNextWorkflowHandler, streamWorkflowHandler, watchWorkflowHandler } from '../../chunk-2SPBWAKY.js';
@@ -1,30 +1,39 @@
1
1
  'use strict';
2
2
 
3
+ var chunkG7AFLCTK_cjs = require('../chunk-G7AFLCTK.cjs');
3
4
  var chunk2SLFAFTR_cjs = require('../chunk-2SLFAFTR.cjs');
5
+ var chunk424T5F2J_cjs = require('../chunk-424T5F2J.cjs');
4
6
  var chunkG7KH752Y_cjs = require('../chunk-G7KH752Y.cjs');
5
- var chunkFRVBFMO2_cjs = require('../chunk-FRVBFMO2.cjs');
7
+ var chunkWDFLW64N_cjs = require('../chunk-WDFLW64N.cjs');
6
8
  var chunk7TP2LX5L_cjs = require('../chunk-7TP2LX5L.cjs');
7
9
  var chunkRHSWAXKB_cjs = require('../chunk-RHSWAXKB.cjs');
8
- var chunkB2PAS2IB_cjs = require('../chunk-B2PAS2IB.cjs');
9
10
  var chunkSDPGVWQJ_cjs = require('../chunk-SDPGVWQJ.cjs');
10
- var chunkLZ3VJXSO_cjs = require('../chunk-LZ3VJXSO.cjs');
11
+ var chunkENPKI53P_cjs = require('../chunk-ENPKI53P.cjs');
11
12
  var chunkJMLYCXMK_cjs = require('../chunk-JMLYCXMK.cjs');
12
13
  var chunkQGX47B5D_cjs = require('../chunk-QGX47B5D.cjs');
13
- var chunk3CNDE7QY_cjs = require('../chunk-3CNDE7QY.cjs');
14
+ var chunkSE2BQ536_cjs = require('../chunk-SE2BQ536.cjs');
14
15
 
15
16
 
16
17
 
18
+ Object.defineProperty(exports, "workflows", {
19
+ enumerable: true,
20
+ get: function () { return chunkG7AFLCTK_cjs.workflows_exports; }
21
+ });
17
22
  Object.defineProperty(exports, "network", {
18
23
  enumerable: true,
19
24
  get: function () { return chunk2SLFAFTR_cjs.network_exports; }
20
25
  });
26
+ Object.defineProperty(exports, "scores", {
27
+ enumerable: true,
28
+ get: function () { return chunk424T5F2J_cjs.scores_exports; }
29
+ });
21
30
  Object.defineProperty(exports, "telemetry", {
22
31
  enumerable: true,
23
32
  get: function () { return chunkG7KH752Y_cjs.telemetry_exports; }
24
33
  });
25
34
  Object.defineProperty(exports, "tools", {
26
35
  enumerable: true,
27
- get: function () { return chunkFRVBFMO2_cjs.tools_exports; }
36
+ get: function () { return chunkWDFLW64N_cjs.tools_exports; }
28
37
  });
29
38
  Object.defineProperty(exports, "vector", {
30
39
  enumerable: true,
@@ -34,17 +43,13 @@ Object.defineProperty(exports, "voice", {
34
43
  enumerable: true,
35
44
  get: function () { return chunkRHSWAXKB_cjs.voice_exports; }
36
45
  });
37
- Object.defineProperty(exports, "workflows", {
38
- enumerable: true,
39
- get: function () { return chunkB2PAS2IB_cjs.workflows_exports; }
40
- });
41
46
  Object.defineProperty(exports, "a2a", {
42
47
  enumerable: true,
43
48
  get: function () { return chunkSDPGVWQJ_cjs.a2a_exports; }
44
49
  });
45
50
  Object.defineProperty(exports, "agents", {
46
51
  enumerable: true,
47
- get: function () { return chunkLZ3VJXSO_cjs.agents_exports; }
52
+ get: function () { return chunkENPKI53P_cjs.agents_exports; }
48
53
  });
49
54
  Object.defineProperty(exports, "legacyWorkflows", {
50
55
  enumerable: true,
@@ -56,5 +61,5 @@ Object.defineProperty(exports, "logs", {
56
61
  });
57
62
  Object.defineProperty(exports, "memory", {
58
63
  enumerable: true,
59
- get: function () { return chunk3CNDE7QY_cjs.memory_exports; }
64
+ get: function () { return chunkSE2BQ536_cjs.memory_exports; }
60
65
  });
@@ -1,11 +1,12 @@
1
1
  export { agents } from '../_tsup-dts-rollup.cjs';
2
2
  export { a2a } from '../_tsup-dts-rollup.cjs';
3
+ export { legacyWorkflows } from '../_tsup-dts-rollup.cjs';
3
4
  export { logs } from '../_tsup-dts-rollup.cjs';
4
5
  export { memory } from '../_tsup-dts-rollup.cjs';
5
6
  export { network } from '../_tsup-dts-rollup.cjs';
7
+ export { scores } from '../_tsup-dts-rollup.cjs';
6
8
  export { telemetry } from '../_tsup-dts-rollup.cjs';
7
9
  export { tools } from '../_tsup-dts-rollup.cjs';
8
- export { legacyWorkflows } from '../_tsup-dts-rollup.cjs';
9
- export { workflows } from '../_tsup-dts-rollup.cjs';
10
10
  export { vector } from '../_tsup-dts-rollup.cjs';
11
11
  export { voice } from '../_tsup-dts-rollup.cjs';
12
+ export { workflows } from '../_tsup-dts-rollup.cjs';
@@ -1,11 +1,12 @@
1
1
  export { agents } from '../_tsup-dts-rollup.js';
2
2
  export { a2a } from '../_tsup-dts-rollup.js';
3
+ export { legacyWorkflows } from '../_tsup-dts-rollup.js';
3
4
  export { logs } from '../_tsup-dts-rollup.js';
4
5
  export { memory } from '../_tsup-dts-rollup.js';
5
6
  export { network } from '../_tsup-dts-rollup.js';
7
+ export { scores } from '../_tsup-dts-rollup.js';
6
8
  export { telemetry } from '../_tsup-dts-rollup.js';
7
9
  export { tools } from '../_tsup-dts-rollup.js';
8
- export { legacyWorkflows } from '../_tsup-dts-rollup.js';
9
- export { workflows } from '../_tsup-dts-rollup.js';
10
10
  export { vector } from '../_tsup-dts-rollup.js';
11
11
  export { voice } from '../_tsup-dts-rollup.js';
12
+ export { workflows } from '../_tsup-dts-rollup.js';
@@ -1,11 +1,12 @@
1
+ export { workflows_exports as workflows } from '../chunk-2SPBWAKY.js';
1
2
  export { network_exports as network } from '../chunk-CRCR3ZUK.js';
3
+ export { scores_exports as scores } from '../chunk-6T5JUKOQ.js';
2
4
  export { telemetry_exports as telemetry } from '../chunk-RG473F6Y.js';
3
- export { tools_exports as tools } from '../chunk-LRCAAFUA.js';
5
+ export { tools_exports as tools } from '../chunk-RFV6JJFC.js';
4
6
  export { vector_exports as vector } from '../chunk-WNVFNNWN.js';
5
7
  export { voice_exports as voice } from '../chunk-KHZKYUNR.js';
6
- export { workflows_exports as workflows } from '../chunk-H7DMHBKY.js';
7
8
  export { a2a_exports as a2a } from '../chunk-GHC4YV6R.js';
8
- export { agents_exports as agents } from '../chunk-BK4XT6EG.js';
9
+ export { agents_exports as agents } from '../chunk-VRJ2TE5J.js';
9
10
  export { legacyWorkflows_exports as legacyWorkflows } from '../chunk-5PQQ42EZ.js';
10
11
  export { logs_exports as logs } from '../chunk-4D66QEKC.js';
11
- export { memory_exports as memory } from '../chunk-KOHWJYJT.js';
12
+ export { memory_exports as memory } from '../chunk-AHXXKSOO.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/server",
3
- "version": "0.11.0-alpha.1",
3
+ "version": "0.11.0-alpha.2",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
@@ -60,7 +60,8 @@
60
60
  "zod": "^3.25.67",
61
61
  "zod-to-json-schema": "^3.24.5",
62
62
  "@internal/lint": "0.0.20",
63
- "@mastra/core": "0.11.0-alpha.1"
63
+ "@internal/storage-test-utils": "0.0.16",
64
+ "@mastra/core": "0.11.0-alpha.2"
64
65
  },
65
66
  "scripts": {
66
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",