@mastra/server 0.10.9 → 0.10.10-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 (59) hide show
  1. package/dist/_tsup-dts-rollup.d.cts +11 -1
  2. package/dist/_tsup-dts-rollup.d.ts +11 -1
  3. package/dist/{chunk-OCWPVYNI.cjs → chunk-2KZFMI6P.cjs} +1 -0
  4. package/dist/{chunk-DPRB3R7Y.cjs → chunk-2SLFAFTR.cjs} +12 -12
  5. package/dist/{chunk-BOXE6WSV.js → chunk-4D66QEKC.js} +2 -2
  6. package/dist/{chunk-7GQJAMTA.js → chunk-5PQQ42EZ.js} +2 -2
  7. package/dist/{chunk-TVBPFPTN.cjs → chunk-7TP2LX5L.cjs} +16 -16
  8. package/dist/{chunk-7524QH7G.cjs → chunk-B2PAS2IB.cjs} +89 -58
  9. package/dist/{chunk-4QBIUKVY.js → chunk-BK4XT6EG.js} +3 -3
  10. package/dist/{chunk-57CJTIPW.cjs → chunk-CCGRCYWJ.cjs} +2 -2
  11. package/dist/{chunk-VMXLEF54.js → chunk-CRCR3ZUK.js} +3 -3
  12. package/dist/{chunk-3DKDT264.cjs → chunk-DN7K6FJK.cjs} +34 -34
  13. package/dist/{chunk-FGGMQCPP.cjs → chunk-FRVBFMO2.cjs} +15 -15
  14. package/dist/{chunk-ULFULEW4.cjs → chunk-G7KH752Y.cjs} +5 -5
  15. package/dist/{chunk-Z5TH5F35.js → chunk-H7DMHBKY.js} +33 -3
  16. package/dist/{chunk-TGZIR6AK.cjs → chunk-JMLYCXMK.cjs} +36 -36
  17. package/dist/{chunk-G37NVEDX.js → chunk-KHZKYUNR.js} +3 -3
  18. package/dist/{chunk-NYN7KFXL.js → chunk-LCM566I4.js} +1 -0
  19. package/dist/{chunk-QDOJJCS4.js → chunk-LF7P5PLR.js} +4 -2
  20. package/dist/{chunk-DFJUGWNU.js → chunk-LRCAAFUA.js} +3 -3
  21. package/dist/{chunk-BWHGBV3K.cjs → chunk-LZ3VJXSO.cjs} +14 -14
  22. package/dist/{chunk-LTJNMM2Y.js → chunk-MKLYEKEF.js} +3 -3
  23. package/dist/{chunk-MTR2B27E.cjs → chunk-PZQDCRPV.cjs} +5 -3
  24. package/dist/{chunk-CNVDCLSY.cjs → chunk-QGX47B5D.cjs} +7 -7
  25. package/dist/{chunk-BP24Z4WG.js → chunk-RG473F6Y.js} +2 -2
  26. package/dist/{chunk-L3N7ST2Z.cjs → chunk-RHSWAXKB.cjs} +22 -22
  27. package/dist/{chunk-H5PTF3Y4.js → chunk-RSEO4XPX.js} +1 -1
  28. package/dist/{chunk-FVMGZKFD.js → chunk-WNVFNNWN.js} +2 -2
  29. package/dist/server/handlers/agents.cjs +7 -7
  30. package/dist/server/handlers/agents.js +1 -1
  31. package/dist/server/handlers/error.cjs +2 -2
  32. package/dist/server/handlers/error.js +1 -1
  33. package/dist/server/handlers/legacyWorkflows.cjs +11 -11
  34. package/dist/server/handlers/legacyWorkflows.js +1 -1
  35. package/dist/server/handlers/logs.cjs +4 -4
  36. package/dist/server/handlers/logs.js +1 -1
  37. package/dist/server/handlers/memory.cjs +9 -9
  38. package/dist/server/handlers/memory.js +1 -1
  39. package/dist/server/handlers/network.cjs +5 -5
  40. package/dist/server/handlers/network.js +1 -1
  41. package/dist/server/handlers/telemetry.cjs +3 -3
  42. package/dist/server/handlers/telemetry.js +1 -1
  43. package/dist/server/handlers/tools.cjs +5 -5
  44. package/dist/server/handlers/tools.js +1 -1
  45. package/dist/server/handlers/utils.cjs +2 -2
  46. package/dist/server/handlers/utils.js +1 -1
  47. package/dist/server/handlers/vNextNetwork.cjs +18 -18
  48. package/dist/server/handlers/vNextNetwork.js +3 -3
  49. package/dist/server/handlers/vector.cjs +7 -7
  50. package/dist/server/handlers/vector.js +1 -1
  51. package/dist/server/handlers/voice.cjs +5 -5
  52. package/dist/server/handlers/voice.js +1 -1
  53. package/dist/server/handlers/workflows.cjs +18 -14
  54. package/dist/server/handlers/workflows.d.cts +1 -0
  55. package/dist/server/handlers/workflows.d.ts +1 -0
  56. package/dist/server/handlers/workflows.js +1 -1
  57. package/dist/server/handlers.cjs +20 -20
  58. package/dist/server/handlers.js +10 -10
  59. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  import { stringify, esm_default } from '../../chunk-MEGCYGBU.js';
2
- import { validateBody } from '../../chunk-H5PTF3Y4.js';
3
- import { handleError } from '../../chunk-QDOJJCS4.js';
4
- import { HTTPException } from '../../chunk-NYN7KFXL.js';
2
+ import { validateBody } from '../../chunk-RSEO4XPX.js';
3
+ import { handleError } from '../../chunk-LF7P5PLR.js';
4
+ import { HTTPException } from '../../chunk-LCM566I4.js';
5
5
 
6
6
  // src/server/handlers/vNextNetwork.ts
7
7
  async function getVNextNetworksHandler({
@@ -1,30 +1,30 @@
1
1
  'use strict';
2
2
 
3
- var chunkTVBPFPTN_cjs = require('../../chunk-TVBPFPTN.cjs');
3
+ var chunk7TP2LX5L_cjs = require('../../chunk-7TP2LX5L.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "createIndex", {
8
8
  enumerable: true,
9
- get: function () { return chunkTVBPFPTN_cjs.createIndex; }
9
+ get: function () { return chunk7TP2LX5L_cjs.createIndex; }
10
10
  });
11
11
  Object.defineProperty(exports, "deleteIndex", {
12
12
  enumerable: true,
13
- get: function () { return chunkTVBPFPTN_cjs.deleteIndex; }
13
+ get: function () { return chunk7TP2LX5L_cjs.deleteIndex; }
14
14
  });
15
15
  Object.defineProperty(exports, "describeIndex", {
16
16
  enumerable: true,
17
- get: function () { return chunkTVBPFPTN_cjs.describeIndex; }
17
+ get: function () { return chunk7TP2LX5L_cjs.describeIndex; }
18
18
  });
19
19
  Object.defineProperty(exports, "listIndexes", {
20
20
  enumerable: true,
21
- get: function () { return chunkTVBPFPTN_cjs.listIndexes; }
21
+ get: function () { return chunk7TP2LX5L_cjs.listIndexes; }
22
22
  });
23
23
  Object.defineProperty(exports, "queryVectors", {
24
24
  enumerable: true,
25
- get: function () { return chunkTVBPFPTN_cjs.queryVectors; }
25
+ get: function () { return chunk7TP2LX5L_cjs.queryVectors; }
26
26
  });
27
27
  Object.defineProperty(exports, "upsertVectors", {
28
28
  enumerable: true,
29
- get: function () { return chunkTVBPFPTN_cjs.upsertVectors; }
29
+ get: function () { return chunk7TP2LX5L_cjs.upsertVectors; }
30
30
  });
@@ -1 +1 @@
1
- export { createIndex, deleteIndex, describeIndex, listIndexes, queryVectors, upsertVectors } from '../../chunk-FVMGZKFD.js';
1
+ export { createIndex, deleteIndex, describeIndex, listIndexes, queryVectors, upsertVectors } from '../../chunk-WNVFNNWN.js';
@@ -1,22 +1,22 @@
1
1
  'use strict';
2
2
 
3
- var chunkL3N7ST2Z_cjs = require('../../chunk-L3N7ST2Z.cjs');
3
+ var chunkRHSWAXKB_cjs = require('../../chunk-RHSWAXKB.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "generateSpeechHandler", {
8
8
  enumerable: true,
9
- get: function () { return chunkL3N7ST2Z_cjs.generateSpeechHandler; }
9
+ get: function () { return chunkRHSWAXKB_cjs.generateSpeechHandler; }
10
10
  });
11
11
  Object.defineProperty(exports, "getListenerHandler", {
12
12
  enumerable: true,
13
- get: function () { return chunkL3N7ST2Z_cjs.getListenerHandler; }
13
+ get: function () { return chunkRHSWAXKB_cjs.getListenerHandler; }
14
14
  });
15
15
  Object.defineProperty(exports, "getSpeakersHandler", {
16
16
  enumerable: true,
17
- get: function () { return chunkL3N7ST2Z_cjs.getSpeakersHandler; }
17
+ get: function () { return chunkRHSWAXKB_cjs.getSpeakersHandler; }
18
18
  });
19
19
  Object.defineProperty(exports, "transcribeSpeechHandler", {
20
20
  enumerable: true,
21
- get: function () { return chunkL3N7ST2Z_cjs.transcribeSpeechHandler; }
21
+ get: function () { return chunkRHSWAXKB_cjs.transcribeSpeechHandler; }
22
22
  });
@@ -1 +1 @@
1
- export { generateSpeechHandler, getListenerHandler, getSpeakersHandler, transcribeSpeechHandler } from '../../chunk-G37NVEDX.js';
1
+ export { generateSpeechHandler, getListenerHandler, getSpeakersHandler, transcribeSpeechHandler } from '../../chunk-KHZKYUNR.js';
@@ -1,58 +1,62 @@
1
1
  'use strict';
2
2
 
3
- var chunk7524QH7G_cjs = require('../../chunk-7524QH7G.cjs');
3
+ var chunkB2PAS2IB_cjs = require('../../chunk-B2PAS2IB.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "cancelWorkflowRunHandler", {
8
8
  enumerable: true,
9
- get: function () { return chunk7524QH7G_cjs.cancelWorkflowRunHandler; }
9
+ get: function () { return chunkB2PAS2IB_cjs.cancelWorkflowRunHandler; }
10
10
  });
11
11
  Object.defineProperty(exports, "createWorkflowRunHandler", {
12
12
  enumerable: true,
13
- get: function () { return chunk7524QH7G_cjs.createWorkflowRunHandler; }
13
+ get: function () { return chunkB2PAS2IB_cjs.createWorkflowRunHandler; }
14
14
  });
15
15
  Object.defineProperty(exports, "getWorkflowByIdHandler", {
16
16
  enumerable: true,
17
- get: function () { return chunk7524QH7G_cjs.getWorkflowByIdHandler; }
17
+ get: function () { return chunkB2PAS2IB_cjs.getWorkflowByIdHandler; }
18
18
  });
19
19
  Object.defineProperty(exports, "getWorkflowRunByIdHandler", {
20
20
  enumerable: true,
21
- get: function () { return chunk7524QH7G_cjs.getWorkflowRunByIdHandler; }
21
+ get: function () { return chunkB2PAS2IB_cjs.getWorkflowRunByIdHandler; }
22
22
  });
23
23
  Object.defineProperty(exports, "getWorkflowRunExecutionResultHandler", {
24
24
  enumerable: true,
25
- get: function () { return chunk7524QH7G_cjs.getWorkflowRunExecutionResultHandler; }
25
+ get: function () { return chunkB2PAS2IB_cjs.getWorkflowRunExecutionResultHandler; }
26
26
  });
27
27
  Object.defineProperty(exports, "getWorkflowRunsHandler", {
28
28
  enumerable: true,
29
- get: function () { return chunk7524QH7G_cjs.getWorkflowRunsHandler; }
29
+ get: function () { return chunkB2PAS2IB_cjs.getWorkflowRunsHandler; }
30
30
  });
31
31
  Object.defineProperty(exports, "getWorkflowsHandler", {
32
32
  enumerable: true,
33
- get: function () { return chunk7524QH7G_cjs.getWorkflowsHandler; }
33
+ get: function () { return chunkB2PAS2IB_cjs.getWorkflowsHandler; }
34
34
  });
35
35
  Object.defineProperty(exports, "resumeAsyncWorkflowHandler", {
36
36
  enumerable: true,
37
- get: function () { return chunk7524QH7G_cjs.resumeAsyncWorkflowHandler; }
37
+ get: function () { return chunkB2PAS2IB_cjs.resumeAsyncWorkflowHandler; }
38
38
  });
39
39
  Object.defineProperty(exports, "resumeWorkflowHandler", {
40
40
  enumerable: true,
41
- get: function () { return chunk7524QH7G_cjs.resumeWorkflowHandler; }
41
+ get: function () { return chunkB2PAS2IB_cjs.resumeWorkflowHandler; }
42
+ });
43
+ Object.defineProperty(exports, "sendWorkflowRunEventHandler", {
44
+ enumerable: true,
45
+ get: function () { return chunkB2PAS2IB_cjs.sendWorkflowRunEventHandler; }
42
46
  });
43
47
  Object.defineProperty(exports, "startAsyncWorkflowHandler", {
44
48
  enumerable: true,
45
- get: function () { return chunk7524QH7G_cjs.startAsyncWorkflowHandler; }
49
+ get: function () { return chunkB2PAS2IB_cjs.startAsyncWorkflowHandler; }
46
50
  });
47
51
  Object.defineProperty(exports, "startWorkflowRunHandler", {
48
52
  enumerable: true,
49
- get: function () { return chunk7524QH7G_cjs.startWorkflowRunHandler; }
53
+ get: function () { return chunkB2PAS2IB_cjs.startWorkflowRunHandler; }
50
54
  });
51
55
  Object.defineProperty(exports, "streamWorkflowHandler", {
52
56
  enumerable: true,
53
- get: function () { return chunk7524QH7G_cjs.streamWorkflowHandler; }
57
+ get: function () { return chunkB2PAS2IB_cjs.streamWorkflowHandler; }
54
58
  });
55
59
  Object.defineProperty(exports, "watchWorkflowHandler", {
56
60
  enumerable: true,
57
- get: function () { return chunk7524QH7G_cjs.watchWorkflowHandler; }
61
+ get: function () { return chunkB2PAS2IB_cjs.watchWorkflowHandler; }
58
62
  });
@@ -11,3 +11,4 @@ export { resumeAsyncWorkflowHandler } from '../../_tsup-dts-rollup.cjs';
11
11
  export { resumeWorkflowHandler } from '../../_tsup-dts-rollup.cjs';
12
12
  export { getWorkflowRunsHandler } from '../../_tsup-dts-rollup.cjs';
13
13
  export { cancelWorkflowRunHandler } from '../../_tsup-dts-rollup.cjs';
14
+ export { sendWorkflowRunEventHandler } from '../../_tsup-dts-rollup.cjs';
@@ -11,3 +11,4 @@ export { resumeAsyncWorkflowHandler } from '../../_tsup-dts-rollup.js';
11
11
  export { resumeWorkflowHandler } from '../../_tsup-dts-rollup.js';
12
12
  export { getWorkflowRunsHandler } from '../../_tsup-dts-rollup.js';
13
13
  export { cancelWorkflowRunHandler } from '../../_tsup-dts-rollup.js';
14
+ export { sendWorkflowRunEventHandler } from '../../_tsup-dts-rollup.js';
@@ -1 +1 @@
1
- export { cancelWorkflowRunHandler, createWorkflowRunHandler, getWorkflowByIdHandler, getWorkflowRunByIdHandler, getWorkflowRunExecutionResultHandler, getWorkflowRunsHandler, getWorkflowsHandler, resumeAsyncWorkflowHandler, resumeWorkflowHandler, startAsyncWorkflowHandler, startWorkflowRunHandler, streamWorkflowHandler, watchWorkflowHandler } from '../../chunk-Z5TH5F35.js';
1
+ export { cancelWorkflowRunHandler, createWorkflowRunHandler, getWorkflowByIdHandler, getWorkflowRunByIdHandler, getWorkflowRunExecutionResultHandler, getWorkflowRunsHandler, getWorkflowsHandler, resumeAsyncWorkflowHandler, resumeWorkflowHandler, sendWorkflowRunEventHandler, startAsyncWorkflowHandler, startWorkflowRunHandler, streamWorkflowHandler, watchWorkflowHandler } from '../../chunk-H7DMHBKY.js';
@@ -1,42 +1,42 @@
1
1
  'use strict';
2
2
 
3
- var chunkDPRB3R7Y_cjs = require('../chunk-DPRB3R7Y.cjs');
4
- var chunkULFULEW4_cjs = require('../chunk-ULFULEW4.cjs');
5
- var chunkFGGMQCPP_cjs = require('../chunk-FGGMQCPP.cjs');
6
- var chunkTVBPFPTN_cjs = require('../chunk-TVBPFPTN.cjs');
7
- var chunkL3N7ST2Z_cjs = require('../chunk-L3N7ST2Z.cjs');
8
- var chunk7524QH7G_cjs = require('../chunk-7524QH7G.cjs');
3
+ var chunk2SLFAFTR_cjs = require('../chunk-2SLFAFTR.cjs');
4
+ var chunkG7KH752Y_cjs = require('../chunk-G7KH752Y.cjs');
5
+ var chunkFRVBFMO2_cjs = require('../chunk-FRVBFMO2.cjs');
6
+ var chunk7TP2LX5L_cjs = require('../chunk-7TP2LX5L.cjs');
7
+ var chunkRHSWAXKB_cjs = require('../chunk-RHSWAXKB.cjs');
8
+ var chunkB2PAS2IB_cjs = require('../chunk-B2PAS2IB.cjs');
9
9
  var chunkSDPGVWQJ_cjs = require('../chunk-SDPGVWQJ.cjs');
10
- var chunkBWHGBV3K_cjs = require('../chunk-BWHGBV3K.cjs');
11
- var chunkTGZIR6AK_cjs = require('../chunk-TGZIR6AK.cjs');
12
- var chunkCNVDCLSY_cjs = require('../chunk-CNVDCLSY.cjs');
13
- var chunk3DKDT264_cjs = require('../chunk-3DKDT264.cjs');
10
+ var chunkLZ3VJXSO_cjs = require('../chunk-LZ3VJXSO.cjs');
11
+ var chunkJMLYCXMK_cjs = require('../chunk-JMLYCXMK.cjs');
12
+ var chunkQGX47B5D_cjs = require('../chunk-QGX47B5D.cjs');
13
+ var chunkDN7K6FJK_cjs = require('../chunk-DN7K6FJK.cjs');
14
14
 
15
15
 
16
16
 
17
17
  Object.defineProperty(exports, "network", {
18
18
  enumerable: true,
19
- get: function () { return chunkDPRB3R7Y_cjs.network_exports; }
19
+ get: function () { return chunk2SLFAFTR_cjs.network_exports; }
20
20
  });
21
21
  Object.defineProperty(exports, "telemetry", {
22
22
  enumerable: true,
23
- get: function () { return chunkULFULEW4_cjs.telemetry_exports; }
23
+ get: function () { return chunkG7KH752Y_cjs.telemetry_exports; }
24
24
  });
25
25
  Object.defineProperty(exports, "tools", {
26
26
  enumerable: true,
27
- get: function () { return chunkFGGMQCPP_cjs.tools_exports; }
27
+ get: function () { return chunkFRVBFMO2_cjs.tools_exports; }
28
28
  });
29
29
  Object.defineProperty(exports, "vector", {
30
30
  enumerable: true,
31
- get: function () { return chunkTVBPFPTN_cjs.vector_exports; }
31
+ get: function () { return chunk7TP2LX5L_cjs.vector_exports; }
32
32
  });
33
33
  Object.defineProperty(exports, "voice", {
34
34
  enumerable: true,
35
- get: function () { return chunkL3N7ST2Z_cjs.voice_exports; }
35
+ get: function () { return chunkRHSWAXKB_cjs.voice_exports; }
36
36
  });
37
37
  Object.defineProperty(exports, "workflows", {
38
38
  enumerable: true,
39
- get: function () { return chunk7524QH7G_cjs.workflows_exports; }
39
+ get: function () { return chunkB2PAS2IB_cjs.workflows_exports; }
40
40
  });
41
41
  Object.defineProperty(exports, "a2a", {
42
42
  enumerable: true,
@@ -44,17 +44,17 @@ Object.defineProperty(exports, "a2a", {
44
44
  });
45
45
  Object.defineProperty(exports, "agents", {
46
46
  enumerable: true,
47
- get: function () { return chunkBWHGBV3K_cjs.agents_exports; }
47
+ get: function () { return chunkLZ3VJXSO_cjs.agents_exports; }
48
48
  });
49
49
  Object.defineProperty(exports, "legacyWorkflows", {
50
50
  enumerable: true,
51
- get: function () { return chunkTGZIR6AK_cjs.legacyWorkflows_exports; }
51
+ get: function () { return chunkJMLYCXMK_cjs.legacyWorkflows_exports; }
52
52
  });
53
53
  Object.defineProperty(exports, "logs", {
54
54
  enumerable: true,
55
- get: function () { return chunkCNVDCLSY_cjs.logs_exports; }
55
+ get: function () { return chunkQGX47B5D_cjs.logs_exports; }
56
56
  });
57
57
  Object.defineProperty(exports, "memory", {
58
58
  enumerable: true,
59
- get: function () { return chunk3DKDT264_cjs.memory_exports; }
59
+ get: function () { return chunkDN7K6FJK_cjs.memory_exports; }
60
60
  });
@@ -1,11 +1,11 @@
1
- export { network_exports as network } from '../chunk-VMXLEF54.js';
2
- export { telemetry_exports as telemetry } from '../chunk-BP24Z4WG.js';
3
- export { tools_exports as tools } from '../chunk-DFJUGWNU.js';
4
- export { vector_exports as vector } from '../chunk-FVMGZKFD.js';
5
- export { voice_exports as voice } from '../chunk-G37NVEDX.js';
6
- export { workflows_exports as workflows } from '../chunk-Z5TH5F35.js';
1
+ export { network_exports as network } from '../chunk-CRCR3ZUK.js';
2
+ export { telemetry_exports as telemetry } from '../chunk-RG473F6Y.js';
3
+ export { tools_exports as tools } from '../chunk-LRCAAFUA.js';
4
+ export { vector_exports as vector } from '../chunk-WNVFNNWN.js';
5
+ export { voice_exports as voice } from '../chunk-KHZKYUNR.js';
6
+ export { workflows_exports as workflows } from '../chunk-H7DMHBKY.js';
7
7
  export { a2a_exports as a2a } from '../chunk-GHC4YV6R.js';
8
- export { agents_exports as agents } from '../chunk-4QBIUKVY.js';
9
- export { legacyWorkflows_exports as legacyWorkflows } from '../chunk-7GQJAMTA.js';
10
- export { logs_exports as logs } from '../chunk-BOXE6WSV.js';
11
- export { memory_exports as memory } from '../chunk-LTJNMM2Y.js';
8
+ export { agents_exports as agents } from '../chunk-BK4XT6EG.js';
9
+ export { legacyWorkflows_exports as legacyWorkflows } from '../chunk-5PQQ42EZ.js';
10
+ export { logs_exports as logs } from '../chunk-4D66QEKC.js';
11
+ export { memory_exports as memory } from '../chunk-MKLYEKEF.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/server",
3
- "version": "0.10.9",
3
+ "version": "0.10.10-alpha.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
@@ -60,7 +60,7 @@
60
60
  "zod": "^3.25.67",
61
61
  "zod-to-json-schema": "^3.24.5",
62
62
  "@internal/lint": "0.0.16",
63
- "@mastra/core": "0.10.9"
63
+ "@mastra/core": "0.10.10-alpha.1"
64
64
  },
65
65
  "scripts": {
66
66
  "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",