@mastra/server 0.0.0-fix-fetching-workflow-snapshots-20250625000954 → 0.0.0-http-transporter-20250702160118

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 (65) hide show
  1. package/dist/_tsup-dts-rollup.d.cts +77 -3
  2. package/dist/_tsup-dts-rollup.d.ts +77 -3
  3. package/dist/{chunk-OCWPVYNI.cjs → chunk-2KZFMI6P.cjs} +1 -0
  4. package/dist/{chunk-VPNDC2DI.cjs → chunk-2SLFAFTR.cjs} +12 -12
  5. package/dist/{chunk-QLG2PFHE.js → chunk-4D66QEKC.js} +2 -2
  6. package/dist/{chunk-N2YBMSO2.js → chunk-5PQQ42EZ.js} +8 -8
  7. package/dist/{chunk-BNEY4P4P.cjs → chunk-7TP2LX5L.cjs} +16 -16
  8. package/dist/{chunk-TO5U6HW3.cjs → chunk-B2PAS2IB.cjs} +147 -68
  9. package/dist/{chunk-PMUATKV2.js → chunk-BK4XT6EG.js} +5 -5
  10. package/dist/{chunk-57CJTIPW.cjs → chunk-CCGRCYWJ.cjs} +2 -2
  11. package/dist/{chunk-C7564HUT.js → chunk-CRCR3ZUK.js} +3 -3
  12. package/dist/{chunk-RQ2Z56EC.cjs → chunk-DN7K6FJK.cjs} +34 -34
  13. package/dist/{chunk-CPPYMJX5.cjs → chunk-FRVBFMO2.cjs} +20 -20
  14. package/dist/{chunk-B4MQFJ7G.cjs → chunk-G7KH752Y.cjs} +5 -5
  15. package/dist/{chunk-SOBBILUG.js → chunk-H7DMHBKY.js} +89 -12
  16. package/dist/{chunk-4DTDPTQC.cjs → chunk-JMLYCXMK.cjs} +43 -43
  17. package/dist/{chunk-R5VGYBV6.js → chunk-KHZKYUNR.js} +3 -3
  18. package/dist/{chunk-NYN7KFXL.js → chunk-LCM566I4.js} +1 -0
  19. package/dist/chunk-LF7P5PLR.js +14 -0
  20. package/dist/{chunk-MN6F4D5A.cjs → chunk-LI436ITD.cjs} +107 -69
  21. package/dist/{chunk-XR7VJOOP.js → chunk-LRCAAFUA.js} +4 -4
  22. package/dist/{chunk-GKM45O24.cjs → chunk-LZ3VJXSO.cjs} +19 -19
  23. package/dist/{chunk-OSZM4EAY.js → chunk-MEGCYGBU.js} +108 -70
  24. package/dist/{chunk-XUIJ7WRT.js → chunk-MKLYEKEF.js} +3 -3
  25. package/dist/chunk-PZQDCRPV.cjs +16 -0
  26. package/dist/{chunk-IMBY5XUG.cjs → chunk-QGX47B5D.cjs} +7 -7
  27. package/dist/{chunk-BFOA2QQY.js → chunk-RG473F6Y.js} +2 -2
  28. package/dist/{chunk-WJY57THV.cjs → chunk-RHSWAXKB.cjs} +22 -22
  29. package/dist/{chunk-H5PTF3Y4.js → chunk-RSEO4XPX.js} +1 -1
  30. package/dist/{chunk-55DOQLP6.js → chunk-WNVFNNWN.js} +2 -2
  31. package/dist/server/handlers/agents.cjs +7 -7
  32. package/dist/server/handlers/agents.js +1 -1
  33. package/dist/server/handlers/error.cjs +2 -2
  34. package/dist/server/handlers/error.js +1 -1
  35. package/dist/server/handlers/legacyWorkflows.cjs +11 -11
  36. package/dist/server/handlers/legacyWorkflows.js +1 -1
  37. package/dist/server/handlers/logs.cjs +4 -4
  38. package/dist/server/handlers/logs.js +1 -1
  39. package/dist/server/handlers/memory.cjs +9 -9
  40. package/dist/server/handlers/memory.js +1 -1
  41. package/dist/server/handlers/network.cjs +5 -5
  42. package/dist/server/handlers/network.js +1 -1
  43. package/dist/server/handlers/telemetry.cjs +3 -3
  44. package/dist/server/handlers/telemetry.js +1 -1
  45. package/dist/server/handlers/tools.cjs +5 -5
  46. package/dist/server/handlers/tools.js +1 -1
  47. package/dist/server/handlers/utils.cjs +2 -2
  48. package/dist/server/handlers/utils.js +1 -1
  49. package/dist/server/handlers/vNextNetwork.cjs +63 -20
  50. package/dist/server/handlers/vNextNetwork.d.cts +1 -0
  51. package/dist/server/handlers/vNextNetwork.d.ts +1 -0
  52. package/dist/server/handlers/vNextNetwork.js +47 -5
  53. package/dist/server/handlers/vector.cjs +7 -7
  54. package/dist/server/handlers/vector.js +1 -1
  55. package/dist/server/handlers/voice.cjs +5 -5
  56. package/dist/server/handlers/voice.js +1 -1
  57. package/dist/server/handlers/workflows.cjs +21 -13
  58. package/dist/server/handlers/workflows.d.cts +2 -0
  59. package/dist/server/handlers/workflows.d.ts +2 -0
  60. package/dist/server/handlers/workflows.js +1 -1
  61. package/dist/server/handlers.cjs +20 -20
  62. package/dist/server/handlers.js +10 -10
  63. package/package.json +5 -5
  64. package/dist/chunk-64U3UDTH.cjs +0 -13
  65. package/dist/chunk-M5ABIP7D.js +0 -11
@@ -3,3 +3,4 @@ export { getVNextNetworkByIdHandler } from '../../_tsup-dts-rollup.js';
3
3
  export { generateVNextNetworkHandler } from '../../_tsup-dts-rollup.js';
4
4
  export { streamGenerateVNextNetworkHandler } from '../../_tsup-dts-rollup.js';
5
5
  export { loopVNextNetworkHandler } from '../../_tsup-dts-rollup.js';
6
+ export { loopStreamVNextNetworkHandler } from '../../_tsup-dts-rollup.js';
@@ -1,7 +1,7 @@
1
- import { stringify, esm_default } from '../../chunk-OSZM4EAY.js';
2
- import { validateBody } from '../../chunk-H5PTF3Y4.js';
3
- import { handleError } from '../../chunk-M5ABIP7D.js';
4
- import { HTTPException } from '../../chunk-NYN7KFXL.js';
1
+ import { stringify, esm_default } from '../../chunk-MEGCYGBU.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({
@@ -16,11 +16,20 @@ async function getVNextNetworksHandler({
16
16
  const routingLLM = await routingAgent.getLLM({ runtimeContext });
17
17
  const agents = await network.getAgents({ runtimeContext });
18
18
  const workflows = await network.getWorkflows({ runtimeContext });
19
+ const tools = await network.getTools({ runtimeContext });
19
20
  const networkInstruction = await network.getInstructions({ runtimeContext });
20
21
  return {
21
22
  id: network.id,
22
23
  name: network.name,
23
24
  instructions: networkInstruction,
25
+ tools: await Promise.all(
26
+ Object.values(tools).map(async (tool) => {
27
+ return {
28
+ id: tool.id,
29
+ description: tool.description
30
+ };
31
+ })
32
+ ),
24
33
  agents: await Promise.all(
25
34
  Object.values(agents).map(async (agent) => {
26
35
  const llm = await agent.getLLM({ runtimeContext });
@@ -67,6 +76,7 @@ async function getVNextNetworkByIdHandler({
67
76
  const routingLLM = await routingAgent.getLLM({ runtimeContext });
68
77
  const agents = await network.getAgents({ runtimeContext });
69
78
  const workflows = await network.getWorkflows({ runtimeContext });
79
+ const tools = await network.getTools({ runtimeContext });
70
80
  const networkInstruction = await network.getInstructions({ runtimeContext });
71
81
  const serializedNetwork = {
72
82
  id: network.id,
@@ -92,6 +102,14 @@ async function getVNextNetworkByIdHandler({
92
102
  };
93
103
  })
94
104
  ),
105
+ tools: await Promise.all(
106
+ Object.values(tools).map(async (tool) => {
107
+ return {
108
+ id: tool.id,
109
+ description: tool.description
110
+ };
111
+ })
112
+ ),
95
113
  routingModel: {
96
114
  provider: routingLLM?.getProvider(),
97
115
  modelId: routingLLM?.getModelId()
@@ -165,5 +183,29 @@ async function loopVNextNetworkHandler({
165
183
  return handleError(error, "Error looping network");
166
184
  }
167
185
  }
186
+ async function loopStreamVNextNetworkHandler({
187
+ mastra,
188
+ networkId,
189
+ body,
190
+ runtimeContext
191
+ }) {
192
+ try {
193
+ const network = mastra.vnext_getNetwork(networkId);
194
+ if (!network) {
195
+ throw new HTTPException(404, { message: "Network not found" });
196
+ }
197
+ validateBody({ message: body.message });
198
+ const { message, threadId, resourceId, maxIterations } = body;
199
+ const result = await network.loopStream(message, {
200
+ runtimeContext,
201
+ threadId,
202
+ resourceId,
203
+ maxIterations
204
+ });
205
+ return result;
206
+ } catch (error) {
207
+ return handleError(error, "Error streaming network loop");
208
+ }
209
+ }
168
210
 
169
- export { generateVNextNetworkHandler, getVNextNetworkByIdHandler, getVNextNetworksHandler, loopVNextNetworkHandler, streamGenerateVNextNetworkHandler };
211
+ export { generateVNextNetworkHandler, getVNextNetworkByIdHandler, getVNextNetworksHandler, loopStreamVNextNetworkHandler, loopVNextNetworkHandler, streamGenerateVNextNetworkHandler };
@@ -1,30 +1,30 @@
1
1
  'use strict';
2
2
 
3
- var chunkBNEY4P4P_cjs = require('../../chunk-BNEY4P4P.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 chunkBNEY4P4P_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 chunkBNEY4P4P_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 chunkBNEY4P4P_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 chunkBNEY4P4P_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 chunkBNEY4P4P_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 chunkBNEY4P4P_cjs.upsertVectors; }
29
+ get: function () { return chunk7TP2LX5L_cjs.upsertVectors; }
30
30
  });
@@ -1 +1 @@
1
- export { createIndex, deleteIndex, describeIndex, listIndexes, queryVectors, upsertVectors } from '../../chunk-55DOQLP6.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 chunkWJY57THV_cjs = require('../../chunk-WJY57THV.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 chunkWJY57THV_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 chunkWJY57THV_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 chunkWJY57THV_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 chunkWJY57THV_cjs.transcribeSpeechHandler; }
21
+ get: function () { return chunkRHSWAXKB_cjs.transcribeSpeechHandler; }
22
22
  });
@@ -1 +1 @@
1
- export { generateSpeechHandler, getListenerHandler, getSpeakersHandler, transcribeSpeechHandler } from '../../chunk-R5VGYBV6.js';
1
+ export { generateSpeechHandler, getListenerHandler, getSpeakersHandler, transcribeSpeechHandler } from '../../chunk-KHZKYUNR.js';
@@ -1,54 +1,62 @@
1
1
  'use strict';
2
2
 
3
- var chunkTO5U6HW3_cjs = require('../../chunk-TO5U6HW3.cjs');
3
+ var chunkB2PAS2IB_cjs = require('../../chunk-B2PAS2IB.cjs');
4
4
 
5
5
 
6
6
 
7
+ Object.defineProperty(exports, "cancelWorkflowRunHandler", {
8
+ enumerable: true,
9
+ get: function () { return chunkB2PAS2IB_cjs.cancelWorkflowRunHandler; }
10
+ });
7
11
  Object.defineProperty(exports, "createWorkflowRunHandler", {
8
12
  enumerable: true,
9
- get: function () { return chunkTO5U6HW3_cjs.createWorkflowRunHandler; }
13
+ get: function () { return chunkB2PAS2IB_cjs.createWorkflowRunHandler; }
10
14
  });
11
15
  Object.defineProperty(exports, "getWorkflowByIdHandler", {
12
16
  enumerable: true,
13
- get: function () { return chunkTO5U6HW3_cjs.getWorkflowByIdHandler; }
17
+ get: function () { return chunkB2PAS2IB_cjs.getWorkflowByIdHandler; }
14
18
  });
15
19
  Object.defineProperty(exports, "getWorkflowRunByIdHandler", {
16
20
  enumerable: true,
17
- get: function () { return chunkTO5U6HW3_cjs.getWorkflowRunByIdHandler; }
21
+ get: function () { return chunkB2PAS2IB_cjs.getWorkflowRunByIdHandler; }
18
22
  });
19
23
  Object.defineProperty(exports, "getWorkflowRunExecutionResultHandler", {
20
24
  enumerable: true,
21
- get: function () { return chunkTO5U6HW3_cjs.getWorkflowRunExecutionResultHandler; }
25
+ get: function () { return chunkB2PAS2IB_cjs.getWorkflowRunExecutionResultHandler; }
22
26
  });
23
27
  Object.defineProperty(exports, "getWorkflowRunsHandler", {
24
28
  enumerable: true,
25
- get: function () { return chunkTO5U6HW3_cjs.getWorkflowRunsHandler; }
29
+ get: function () { return chunkB2PAS2IB_cjs.getWorkflowRunsHandler; }
26
30
  });
27
31
  Object.defineProperty(exports, "getWorkflowsHandler", {
28
32
  enumerable: true,
29
- get: function () { return chunkTO5U6HW3_cjs.getWorkflowsHandler; }
33
+ get: function () { return chunkB2PAS2IB_cjs.getWorkflowsHandler; }
30
34
  });
31
35
  Object.defineProperty(exports, "resumeAsyncWorkflowHandler", {
32
36
  enumerable: true,
33
- get: function () { return chunkTO5U6HW3_cjs.resumeAsyncWorkflowHandler; }
37
+ get: function () { return chunkB2PAS2IB_cjs.resumeAsyncWorkflowHandler; }
34
38
  });
35
39
  Object.defineProperty(exports, "resumeWorkflowHandler", {
36
40
  enumerable: true,
37
- get: function () { return chunkTO5U6HW3_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; }
38
46
  });
39
47
  Object.defineProperty(exports, "startAsyncWorkflowHandler", {
40
48
  enumerable: true,
41
- get: function () { return chunkTO5U6HW3_cjs.startAsyncWorkflowHandler; }
49
+ get: function () { return chunkB2PAS2IB_cjs.startAsyncWorkflowHandler; }
42
50
  });
43
51
  Object.defineProperty(exports, "startWorkflowRunHandler", {
44
52
  enumerable: true,
45
- get: function () { return chunkTO5U6HW3_cjs.startWorkflowRunHandler; }
53
+ get: function () { return chunkB2PAS2IB_cjs.startWorkflowRunHandler; }
46
54
  });
47
55
  Object.defineProperty(exports, "streamWorkflowHandler", {
48
56
  enumerable: true,
49
- get: function () { return chunkTO5U6HW3_cjs.streamWorkflowHandler; }
57
+ get: function () { return chunkB2PAS2IB_cjs.streamWorkflowHandler; }
50
58
  });
51
59
  Object.defineProperty(exports, "watchWorkflowHandler", {
52
60
  enumerable: true,
53
- get: function () { return chunkTO5U6HW3_cjs.watchWorkflowHandler; }
61
+ get: function () { return chunkB2PAS2IB_cjs.watchWorkflowHandler; }
54
62
  });
@@ -10,3 +10,5 @@ export { streamWorkflowHandler } from '../../_tsup-dts-rollup.cjs';
10
10
  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
+ export { cancelWorkflowRunHandler } from '../../_tsup-dts-rollup.cjs';
14
+ export { sendWorkflowRunEventHandler } from '../../_tsup-dts-rollup.cjs';
@@ -10,3 +10,5 @@ export { streamWorkflowHandler } from '../../_tsup-dts-rollup.js';
10
10
  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
+ export { cancelWorkflowRunHandler } from '../../_tsup-dts-rollup.js';
14
+ export { sendWorkflowRunEventHandler } from '../../_tsup-dts-rollup.js';
@@ -1 +1 @@
1
- export { createWorkflowRunHandler, getWorkflowByIdHandler, getWorkflowRunByIdHandler, getWorkflowRunExecutionResultHandler, getWorkflowRunsHandler, getWorkflowsHandler, resumeAsyncWorkflowHandler, resumeWorkflowHandler, startAsyncWorkflowHandler, startWorkflowRunHandler, streamWorkflowHandler, watchWorkflowHandler } from '../../chunk-SOBBILUG.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 chunkVPNDC2DI_cjs = require('../chunk-VPNDC2DI.cjs');
4
- var chunkB4MQFJ7G_cjs = require('../chunk-B4MQFJ7G.cjs');
5
- var chunkCPPYMJX5_cjs = require('../chunk-CPPYMJX5.cjs');
6
- var chunkBNEY4P4P_cjs = require('../chunk-BNEY4P4P.cjs');
7
- var chunkWJY57THV_cjs = require('../chunk-WJY57THV.cjs');
8
- var chunkTO5U6HW3_cjs = require('../chunk-TO5U6HW3.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 chunkGKM45O24_cjs = require('../chunk-GKM45O24.cjs');
11
- var chunk4DTDPTQC_cjs = require('../chunk-4DTDPTQC.cjs');
12
- var chunkIMBY5XUG_cjs = require('../chunk-IMBY5XUG.cjs');
13
- var chunkRQ2Z56EC_cjs = require('../chunk-RQ2Z56EC.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 chunkVPNDC2DI_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 chunkB4MQFJ7G_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 chunkCPPYMJX5_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 chunkBNEY4P4P_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 chunkWJY57THV_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 chunkTO5U6HW3_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 chunkGKM45O24_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 chunk4DTDPTQC_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 chunkIMBY5XUG_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 chunkRQ2Z56EC_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-C7564HUT.js';
2
- export { telemetry_exports as telemetry } from '../chunk-BFOA2QQY.js';
3
- export { tools_exports as tools } from '../chunk-XR7VJOOP.js';
4
- export { vector_exports as vector } from '../chunk-55DOQLP6.js';
5
- export { voice_exports as voice } from '../chunk-R5VGYBV6.js';
6
- export { workflows_exports as workflows } from '../chunk-SOBBILUG.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-PMUATKV2.js';
9
- export { legacyWorkflows_exports as legacyWorkflows } from '../chunk-N2YBMSO2.js';
10
- export { logs_exports as logs } from '../chunk-QLG2PFHE.js';
11
- export { memory_exports as memory } from '../chunk-XUIJ7WRT.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.0.0-fix-fetching-workflow-snapshots-20250625000954",
3
+ "version": "0.0.0-http-transporter-20250702160118",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
@@ -46,7 +46,7 @@
46
46
  "license": "Elastic-2.0",
47
47
  "peerDependencies": {
48
48
  "zod": "^3.0.0",
49
- "@mastra/core": "0.0.0-fix-fetching-workflow-snapshots-20250625000954"
49
+ "@mastra/core": "0.0.0-http-transporter-20250702160118"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@ai-sdk/openai": "^1.3.22",
@@ -56,11 +56,11 @@
56
56
  "superjson": "^2.2.2",
57
57
  "tsup": "^8.5.0",
58
58
  "typescript": "^5.8.3",
59
- "vitest": "^2.1.9",
59
+ "vitest": "^3.2.4",
60
60
  "zod": "^3.25.67",
61
61
  "zod-to-json-schema": "^3.24.5",
62
- "@internal/lint": "0.0.0-fix-fetching-workflow-snapshots-20250625000954",
63
- "@mastra/core": "0.0.0-fix-fetching-workflow-snapshots-20250625000954"
62
+ "@internal/lint": "0.0.0-http-transporter-20250702160118",
63
+ "@mastra/core": "0.0.0-http-transporter-20250702160118"
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",
@@ -1,13 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkOCWPVYNI_cjs = require('./chunk-OCWPVYNI.cjs');
4
-
5
- // src/server/handlers/error.ts
6
- function handleError(error, defaultMessage) {
7
- const apiError = error;
8
- throw new chunkOCWPVYNI_cjs.HTTPException(apiError.status || 500, {
9
- message: apiError.message || defaultMessage
10
- });
11
- }
12
-
13
- exports.handleError = handleError;
@@ -1,11 +0,0 @@
1
- import { HTTPException } from './chunk-NYN7KFXL.js';
2
-
3
- // src/server/handlers/error.ts
4
- function handleError(error, defaultMessage) {
5
- const apiError = error;
6
- throw new HTTPException(apiError.status || 500, {
7
- message: apiError.message || defaultMessage
8
- });
9
- }
10
-
11
- export { handleError };