@mastra/server 0.0.0-mcp-server-update-parse-20250421171139 → 0.0.0-pg-pool-options-20250428183821
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.
- package/dist/_tsup-dts-rollup.d.cts +99 -24
- package/dist/_tsup-dts-rollup.d.ts +99 -24
- package/dist/{chunk-A7DF4ETD.cjs → chunk-55HTWX4C.cjs} +2 -9
- package/dist/{chunk-XISBMH56.js → chunk-5JNVY6DU.js} +4 -4
- package/dist/{chunk-HABV7TZK.cjs → chunk-D3G23FP3.cjs} +4 -4
- package/dist/{chunk-JLDXUWK7.cjs → chunk-FPIWDH5Y.cjs} +4 -4
- package/dist/{chunk-4WJ5GHRG.cjs → chunk-HCOPJZ4A.cjs} +4 -4
- package/dist/chunk-L5JIIJGO.js +300 -0
- package/dist/{chunk-4B7OUZXW.js → chunk-LFOBHRFO.js} +9 -9
- package/dist/{chunk-3RVHWGWO.js → chunk-Q6SHQECN.js} +2 -9
- package/dist/{chunk-TFFNX7FI.js → chunk-R4J7XQYU.js} +4 -4
- package/dist/{chunk-YANVFOYA.js → chunk-RE6YL32K.js} +4 -4
- package/dist/{chunk-RNU4JMLM.cjs → chunk-TZK63M5N.cjs} +9 -9
- package/dist/chunk-YN63BKGG.cjs +312 -0
- package/dist/server/handlers/agents.cjs +7 -7
- package/dist/server/handlers/agents.js +1 -1
- package/dist/server/handlers/network.cjs +5 -5
- package/dist/server/handlers/network.js +1 -1
- package/dist/server/handlers/tools.cjs +5 -5
- package/dist/server/handlers/tools.js +1 -1
- package/dist/server/handlers/vNextWorkflows.cjs +46 -0
- package/dist/server/handlers/vNextWorkflows.d.cts +10 -0
- package/dist/server/handlers/vNextWorkflows.d.ts +10 -0
- package/dist/server/handlers/vNextWorkflows.js +1 -0
- package/dist/server/handlers/voice.cjs +4 -4
- package/dist/server/handlers/voice.js +1 -1
- package/dist/server/handlers/workflows.cjs +11 -11
- package/dist/server/handlers/workflows.js +1 -1
- package/dist/server/handlers.cjs +15 -10
- package/dist/server/handlers.d.cts +1 -0
- package/dist/server/handlers.d.ts +1 -0
- package/dist/server/handlers.js +6 -5
- package/package.json +4 -4
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk5SWCVTNL_cjs = require('./chunk-5SWCVTNL.cjs');
|
|
4
|
+
var chunkZLBRQFDD_cjs = require('./chunk-ZLBRQFDD.cjs');
|
|
5
|
+
var chunkFV45V6WC_cjs = require('./chunk-FV45V6WC.cjs');
|
|
6
|
+
var web = require('stream/web');
|
|
7
|
+
|
|
8
|
+
// src/server/handlers/vNextWorkflows.ts
|
|
9
|
+
var vNextWorkflows_exports = {};
|
|
10
|
+
chunkFV45V6WC_cjs.__export(vNextWorkflows_exports, {
|
|
11
|
+
createVNextWorkflowRunHandler: () => createVNextWorkflowRunHandler,
|
|
12
|
+
getVNextWorkflowByIdHandler: () => getVNextWorkflowByIdHandler,
|
|
13
|
+
getVNextWorkflowRunHandler: () => getVNextWorkflowRunHandler,
|
|
14
|
+
getVNextWorkflowRunsHandler: () => getVNextWorkflowRunsHandler,
|
|
15
|
+
getVNextWorkflowsHandler: () => getVNextWorkflowsHandler,
|
|
16
|
+
resumeAsyncVNextWorkflowHandler: () => resumeAsyncVNextWorkflowHandler,
|
|
17
|
+
resumeVNextWorkflowHandler: () => resumeVNextWorkflowHandler,
|
|
18
|
+
startAsyncVNextWorkflowHandler: () => startAsyncVNextWorkflowHandler,
|
|
19
|
+
startVNextWorkflowRunHandler: () => startVNextWorkflowRunHandler,
|
|
20
|
+
watchVNextWorkflowHandler: () => watchVNextWorkflowHandler
|
|
21
|
+
});
|
|
22
|
+
async function getVNextWorkflowsHandler({ mastra }) {
|
|
23
|
+
try {
|
|
24
|
+
const workflows = mastra.vnext_getWorkflows({ serialized: false });
|
|
25
|
+
const _workflows = Object.entries(workflows).reduce((acc, [key, workflow]) => {
|
|
26
|
+
acc[key] = {
|
|
27
|
+
name: workflow.name,
|
|
28
|
+
steps: Object.entries(workflow.steps).reduce((acc2, [key2, step]) => {
|
|
29
|
+
acc2[key2] = {
|
|
30
|
+
...step,
|
|
31
|
+
inputSchema: step.inputSchema ? chunk5SWCVTNL_cjs.stringify(chunk5SWCVTNL_cjs.esm_default(step.inputSchema)) : void 0,
|
|
32
|
+
outputSchema: step.outputSchema ? chunk5SWCVTNL_cjs.stringify(chunk5SWCVTNL_cjs.esm_default(step.outputSchema)) : void 0,
|
|
33
|
+
resumeSchema: step.resumeSchema ? chunk5SWCVTNL_cjs.stringify(chunk5SWCVTNL_cjs.esm_default(step.resumeSchema)) : void 0
|
|
34
|
+
};
|
|
35
|
+
return acc2;
|
|
36
|
+
}, {}),
|
|
37
|
+
stepGraph: workflow.stepGraph,
|
|
38
|
+
inputSchema: workflow.inputSchema ? chunk5SWCVTNL_cjs.stringify(chunk5SWCVTNL_cjs.esm_default(workflow.inputSchema)) : void 0,
|
|
39
|
+
outputSchema: workflow.outputSchema ? chunk5SWCVTNL_cjs.stringify(chunk5SWCVTNL_cjs.esm_default(workflow.outputSchema)) : void 0
|
|
40
|
+
};
|
|
41
|
+
return acc;
|
|
42
|
+
}, {});
|
|
43
|
+
return _workflows;
|
|
44
|
+
} catch (error) {
|
|
45
|
+
throw new chunkFV45V6WC_cjs.HTTPException(500, { message: error?.message || "Error getting workflows" });
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
async function getVNextWorkflowByIdHandler({ mastra, workflowId }) {
|
|
49
|
+
try {
|
|
50
|
+
if (!workflowId) {
|
|
51
|
+
throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
52
|
+
}
|
|
53
|
+
const workflow = mastra.vnext_getWorkflow(workflowId);
|
|
54
|
+
if (!workflow) {
|
|
55
|
+
throw new chunkFV45V6WC_cjs.HTTPException(404, { message: "Workflow not found" });
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
steps: Object.entries(workflow.steps).reduce((acc, [key, step]) => {
|
|
59
|
+
acc[key] = {
|
|
60
|
+
...step,
|
|
61
|
+
inputSchema: step.inputSchema ? chunk5SWCVTNL_cjs.stringify(chunk5SWCVTNL_cjs.esm_default(step.inputSchema)) : void 0,
|
|
62
|
+
outputSchema: step.outputSchema ? chunk5SWCVTNL_cjs.stringify(chunk5SWCVTNL_cjs.esm_default(step.outputSchema)) : void 0,
|
|
63
|
+
resumeSchema: step.resumeSchema ? chunk5SWCVTNL_cjs.stringify(chunk5SWCVTNL_cjs.esm_default(step.resumeSchema)) : void 0
|
|
64
|
+
};
|
|
65
|
+
return acc;
|
|
66
|
+
}, {}),
|
|
67
|
+
name: workflow.name,
|
|
68
|
+
stepGraph: workflow.stepGraph,
|
|
69
|
+
inputSchema: workflow.inputSchema ? chunk5SWCVTNL_cjs.stringify(chunk5SWCVTNL_cjs.esm_default(workflow.inputSchema)) : void 0,
|
|
70
|
+
outputSchema: workflow.outputSchema ? chunk5SWCVTNL_cjs.stringify(chunk5SWCVTNL_cjs.esm_default(workflow.outputSchema)) : void 0
|
|
71
|
+
};
|
|
72
|
+
} catch (error) {
|
|
73
|
+
throw new chunkFV45V6WC_cjs.HTTPException(500, { message: error?.message || "Error getting workflow" });
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
async function getVNextWorkflowRunHandler({
|
|
77
|
+
mastra,
|
|
78
|
+
workflowId,
|
|
79
|
+
runId
|
|
80
|
+
}) {
|
|
81
|
+
try {
|
|
82
|
+
if (!workflowId) {
|
|
83
|
+
throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
84
|
+
}
|
|
85
|
+
if (!runId) {
|
|
86
|
+
throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "Run ID is required" });
|
|
87
|
+
}
|
|
88
|
+
const workflow = mastra.vnext_getWorkflow(workflowId);
|
|
89
|
+
if (!workflow) {
|
|
90
|
+
throw new chunkFV45V6WC_cjs.HTTPException(404, { message: "Workflow not found" });
|
|
91
|
+
}
|
|
92
|
+
const run = await workflow.getWorkflowRun(runId);
|
|
93
|
+
if (!run) {
|
|
94
|
+
throw new chunkFV45V6WC_cjs.HTTPException(404, { message: "Workflow run not found" });
|
|
95
|
+
}
|
|
96
|
+
return run;
|
|
97
|
+
} catch (error) {
|
|
98
|
+
throw new chunkFV45V6WC_cjs.HTTPException(500, { message: error?.message || "Error getting workflow run" });
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
async function createVNextWorkflowRunHandler({
|
|
102
|
+
mastra,
|
|
103
|
+
workflowId,
|
|
104
|
+
runId: prevRunId
|
|
105
|
+
}) {
|
|
106
|
+
try {
|
|
107
|
+
if (!workflowId) {
|
|
108
|
+
throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
109
|
+
}
|
|
110
|
+
const workflow = mastra.vnext_getWorkflow(workflowId);
|
|
111
|
+
if (!workflow) {
|
|
112
|
+
throw new chunkFV45V6WC_cjs.HTTPException(404, { message: "Workflow not found" });
|
|
113
|
+
}
|
|
114
|
+
const run = workflow.createRun({ runId: prevRunId });
|
|
115
|
+
return { runId: run.runId };
|
|
116
|
+
} catch (error) {
|
|
117
|
+
throw new chunkFV45V6WC_cjs.HTTPException(500, { message: error?.message || "Error creating workflow run" });
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
async function startAsyncVNextWorkflowHandler({
|
|
121
|
+
mastra,
|
|
122
|
+
runtimeContext,
|
|
123
|
+
workflowId,
|
|
124
|
+
runId,
|
|
125
|
+
inputData
|
|
126
|
+
}) {
|
|
127
|
+
try {
|
|
128
|
+
if (!workflowId) {
|
|
129
|
+
throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
130
|
+
}
|
|
131
|
+
const workflow = mastra.vnext_getWorkflow(workflowId);
|
|
132
|
+
if (!workflow) {
|
|
133
|
+
throw new chunkFV45V6WC_cjs.HTTPException(404, { message: "Workflow not found" });
|
|
134
|
+
}
|
|
135
|
+
const _run = workflow.createRun({ runId });
|
|
136
|
+
const result = await _run.start({
|
|
137
|
+
inputData,
|
|
138
|
+
runtimeContext
|
|
139
|
+
});
|
|
140
|
+
return result;
|
|
141
|
+
} catch (error) {
|
|
142
|
+
throw new chunkFV45V6WC_cjs.HTTPException(500, { message: error?.message || "Error executing workflow" });
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
async function startVNextWorkflowRunHandler({
|
|
146
|
+
mastra,
|
|
147
|
+
runtimeContext,
|
|
148
|
+
workflowId,
|
|
149
|
+
runId,
|
|
150
|
+
inputData
|
|
151
|
+
}) {
|
|
152
|
+
try {
|
|
153
|
+
if (!workflowId) {
|
|
154
|
+
throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
155
|
+
}
|
|
156
|
+
if (!runId) {
|
|
157
|
+
throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "runId required to start run" });
|
|
158
|
+
}
|
|
159
|
+
const workflow = mastra.vnext_getWorkflow(workflowId);
|
|
160
|
+
const run = await workflow.getWorkflowRun(runId);
|
|
161
|
+
if (!run) {
|
|
162
|
+
throw new chunkFV45V6WC_cjs.HTTPException(404, { message: "Workflow run not found" });
|
|
163
|
+
}
|
|
164
|
+
const _run = workflow.createRun({ runId });
|
|
165
|
+
await _run.start({
|
|
166
|
+
inputData,
|
|
167
|
+
runtimeContext
|
|
168
|
+
});
|
|
169
|
+
return { message: "Workflow run started" };
|
|
170
|
+
} catch (e) {
|
|
171
|
+
return chunkZLBRQFDD_cjs.handleError(e, "Error starting workflow run");
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
async function watchVNextWorkflowHandler({
|
|
175
|
+
mastra,
|
|
176
|
+
workflowId,
|
|
177
|
+
runId
|
|
178
|
+
}) {
|
|
179
|
+
try {
|
|
180
|
+
if (!workflowId) {
|
|
181
|
+
throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
182
|
+
}
|
|
183
|
+
if (!runId) {
|
|
184
|
+
throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "runId required to watch workflow" });
|
|
185
|
+
}
|
|
186
|
+
const workflow = mastra.vnext_getWorkflow(workflowId);
|
|
187
|
+
const run = await workflow.getWorkflowRun(runId);
|
|
188
|
+
if (!run) {
|
|
189
|
+
throw new chunkFV45V6WC_cjs.HTTPException(404, { message: "Workflow run not found" });
|
|
190
|
+
}
|
|
191
|
+
const _run = workflow.createRun({ runId });
|
|
192
|
+
let unwatch;
|
|
193
|
+
let asyncRef = null;
|
|
194
|
+
const stream = new web.ReadableStream({
|
|
195
|
+
start(controller) {
|
|
196
|
+
unwatch = _run.watch(({ type, payload, eventTimestamp }) => {
|
|
197
|
+
controller.enqueue(JSON.stringify({ type, payload, eventTimestamp, runId }));
|
|
198
|
+
if (asyncRef) {
|
|
199
|
+
clearImmediate(asyncRef);
|
|
200
|
+
asyncRef = null;
|
|
201
|
+
}
|
|
202
|
+
asyncRef = setImmediate(async () => {
|
|
203
|
+
const runDone = payload.workflowState.status !== "running";
|
|
204
|
+
if (runDone) {
|
|
205
|
+
controller.close();
|
|
206
|
+
unwatch?.();
|
|
207
|
+
}
|
|
208
|
+
});
|
|
209
|
+
});
|
|
210
|
+
},
|
|
211
|
+
cancel() {
|
|
212
|
+
unwatch?.();
|
|
213
|
+
}
|
|
214
|
+
});
|
|
215
|
+
return stream;
|
|
216
|
+
} catch (error) {
|
|
217
|
+
return chunkZLBRQFDD_cjs.handleError(error, "Error watching workflow");
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
async function resumeAsyncVNextWorkflowHandler({
|
|
221
|
+
mastra,
|
|
222
|
+
workflowId,
|
|
223
|
+
runId,
|
|
224
|
+
body,
|
|
225
|
+
runtimeContext
|
|
226
|
+
}) {
|
|
227
|
+
try {
|
|
228
|
+
if (!workflowId) {
|
|
229
|
+
throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
230
|
+
}
|
|
231
|
+
if (!runId) {
|
|
232
|
+
throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "runId required to resume workflow" });
|
|
233
|
+
}
|
|
234
|
+
if (!body.step) {
|
|
235
|
+
throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "step required to resume workflow" });
|
|
236
|
+
}
|
|
237
|
+
const workflow = mastra.vnext_getWorkflow(workflowId);
|
|
238
|
+
const run = await workflow.getWorkflowRun(runId);
|
|
239
|
+
if (!run) {
|
|
240
|
+
throw new chunkFV45V6WC_cjs.HTTPException(404, { message: "Workflow run not found" });
|
|
241
|
+
}
|
|
242
|
+
const _run = workflow.createRun({ runId });
|
|
243
|
+
const result = await _run.resume({
|
|
244
|
+
step: body.step,
|
|
245
|
+
resumeData: body.resumeData,
|
|
246
|
+
runtimeContext
|
|
247
|
+
});
|
|
248
|
+
return result;
|
|
249
|
+
} catch (error) {
|
|
250
|
+
return chunkZLBRQFDD_cjs.handleError(error, "Error resuming workflow step");
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
async function resumeVNextWorkflowHandler({
|
|
254
|
+
mastra,
|
|
255
|
+
workflowId,
|
|
256
|
+
runId,
|
|
257
|
+
body,
|
|
258
|
+
runtimeContext
|
|
259
|
+
}) {
|
|
260
|
+
try {
|
|
261
|
+
if (!workflowId) {
|
|
262
|
+
throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
263
|
+
}
|
|
264
|
+
if (!runId) {
|
|
265
|
+
throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "runId required to resume workflow" });
|
|
266
|
+
}
|
|
267
|
+
if (!body.step) {
|
|
268
|
+
throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "step required to resume workflow" });
|
|
269
|
+
}
|
|
270
|
+
const workflow = mastra.vnext_getWorkflow(workflowId);
|
|
271
|
+
const run = await workflow.getWorkflowRun(runId);
|
|
272
|
+
if (!run) {
|
|
273
|
+
throw new chunkFV45V6WC_cjs.HTTPException(404, { message: "Workflow run not found" });
|
|
274
|
+
}
|
|
275
|
+
const _run = workflow.createRun({ runId });
|
|
276
|
+
await _run.resume({
|
|
277
|
+
step: body.step,
|
|
278
|
+
resumeData: body.resumeData,
|
|
279
|
+
runtimeContext
|
|
280
|
+
});
|
|
281
|
+
return { message: "Workflow run resumed" };
|
|
282
|
+
} catch (error) {
|
|
283
|
+
return chunkZLBRQFDD_cjs.handleError(error, "Error resuming workflow");
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
async function getVNextWorkflowRunsHandler({ mastra, workflowId }) {
|
|
287
|
+
try {
|
|
288
|
+
if (!workflowId) {
|
|
289
|
+
throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
290
|
+
}
|
|
291
|
+
const workflow = mastra.vnext_getWorkflow(workflowId);
|
|
292
|
+
const workflowRuns = await workflow.getWorkflowRuns() || {
|
|
293
|
+
runs: [],
|
|
294
|
+
total: 0
|
|
295
|
+
};
|
|
296
|
+
return workflowRuns;
|
|
297
|
+
} catch (error) {
|
|
298
|
+
return chunkZLBRQFDD_cjs.handleError(error, "Error getting workflow runs");
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
exports.createVNextWorkflowRunHandler = createVNextWorkflowRunHandler;
|
|
303
|
+
exports.getVNextWorkflowByIdHandler = getVNextWorkflowByIdHandler;
|
|
304
|
+
exports.getVNextWorkflowRunHandler = getVNextWorkflowRunHandler;
|
|
305
|
+
exports.getVNextWorkflowRunsHandler = getVNextWorkflowRunsHandler;
|
|
306
|
+
exports.getVNextWorkflowsHandler = getVNextWorkflowsHandler;
|
|
307
|
+
exports.resumeAsyncVNextWorkflowHandler = resumeAsyncVNextWorkflowHandler;
|
|
308
|
+
exports.resumeVNextWorkflowHandler = resumeVNextWorkflowHandler;
|
|
309
|
+
exports.startAsyncVNextWorkflowHandler = startAsyncVNextWorkflowHandler;
|
|
310
|
+
exports.startVNextWorkflowRunHandler = startVNextWorkflowRunHandler;
|
|
311
|
+
exports.vNextWorkflows_exports = vNextWorkflows_exports;
|
|
312
|
+
exports.watchVNextWorkflowHandler = watchVNextWorkflowHandler;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkHCOPJZ4A_cjs = require('../../chunk-HCOPJZ4A.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "generateHandler", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkHCOPJZ4A_cjs.generateHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getAgentByIdHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkHCOPJZ4A_cjs.getAgentByIdHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getAgentsHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkHCOPJZ4A_cjs.getAgentsHandler; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "getEvalsByAgentIdHandler", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkHCOPJZ4A_cjs.getEvalsByAgentIdHandler; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getLiveEvalsByAgentIdHandler", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkHCOPJZ4A_cjs.getLiveEvalsByAgentIdHandler; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "streamGenerateHandler", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkHCOPJZ4A_cjs.streamGenerateHandler; }
|
|
30
30
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { generateHandler, getAgentByIdHandler, getAgentsHandler, getEvalsByAgentIdHandler, getLiveEvalsByAgentIdHandler, streamGenerateHandler } from '../../chunk-
|
|
1
|
+
export { generateHandler, getAgentByIdHandler, getAgentsHandler, getEvalsByAgentIdHandler, getLiveEvalsByAgentIdHandler, streamGenerateHandler } from '../../chunk-R4J7XQYU.js';
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFPIWDH5Y_cjs = require('../../chunk-FPIWDH5Y.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "generateHandler", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkFPIWDH5Y_cjs.generateHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getNetworkByIdHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkFPIWDH5Y_cjs.getNetworkByIdHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getNetworksHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkFPIWDH5Y_cjs.getNetworksHandler; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "streamGenerateHandler", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkFPIWDH5Y_cjs.streamGenerateHandler; }
|
|
22
22
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { generateHandler, getNetworkByIdHandler, getNetworksHandler, streamGenerateHandler } from '../../chunk-
|
|
1
|
+
export { generateHandler, getNetworkByIdHandler, getNetworksHandler, streamGenerateHandler } from '../../chunk-RE6YL32K.js';
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkD3G23FP3_cjs = require('../../chunk-D3G23FP3.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "executeAgentToolHandler", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkD3G23FP3_cjs.executeAgentToolHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "executeToolHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkD3G23FP3_cjs.executeToolHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getToolByIdHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkD3G23FP3_cjs.getToolByIdHandler; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "getToolsHandler", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkD3G23FP3_cjs.getToolsHandler; }
|
|
22
22
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { executeAgentToolHandler, executeToolHandler, getToolByIdHandler, getToolsHandler } from '../../chunk-
|
|
1
|
+
export { executeAgentToolHandler, executeToolHandler, getToolByIdHandler, getToolsHandler } from '../../chunk-5JNVY6DU.js';
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkYN63BKGG_cjs = require('../../chunk-YN63BKGG.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "createVNextWorkflowRunHandler", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkYN63BKGG_cjs.createVNextWorkflowRunHandler; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "getVNextWorkflowByIdHandler", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkYN63BKGG_cjs.getVNextWorkflowByIdHandler; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "getVNextWorkflowRunHandler", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkYN63BKGG_cjs.getVNextWorkflowRunHandler; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "getVNextWorkflowRunsHandler", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkYN63BKGG_cjs.getVNextWorkflowRunsHandler; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "getVNextWorkflowsHandler", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunkYN63BKGG_cjs.getVNextWorkflowsHandler; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "resumeAsyncVNextWorkflowHandler", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return chunkYN63BKGG_cjs.resumeAsyncVNextWorkflowHandler; }
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "resumeVNextWorkflowHandler", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return chunkYN63BKGG_cjs.resumeVNextWorkflowHandler; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "startAsyncVNextWorkflowHandler", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunkYN63BKGG_cjs.startAsyncVNextWorkflowHandler; }
|
|
38
|
+
});
|
|
39
|
+
Object.defineProperty(exports, "startVNextWorkflowRunHandler", {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function () { return chunkYN63BKGG_cjs.startVNextWorkflowRunHandler; }
|
|
42
|
+
});
|
|
43
|
+
Object.defineProperty(exports, "watchVNextWorkflowHandler", {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function () { return chunkYN63BKGG_cjs.watchVNextWorkflowHandler; }
|
|
46
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { getVNextWorkflowsHandler } from '../../_tsup-dts-rollup.cjs';
|
|
2
|
+
export { getVNextWorkflowByIdHandler } from '../../_tsup-dts-rollup.cjs';
|
|
3
|
+
export { getVNextWorkflowRunHandler } from '../../_tsup-dts-rollup.cjs';
|
|
4
|
+
export { createVNextWorkflowRunHandler } from '../../_tsup-dts-rollup.cjs';
|
|
5
|
+
export { startAsyncVNextWorkflowHandler } from '../../_tsup-dts-rollup.cjs';
|
|
6
|
+
export { startVNextWorkflowRunHandler } from '../../_tsup-dts-rollup.cjs';
|
|
7
|
+
export { watchVNextWorkflowHandler } from '../../_tsup-dts-rollup.cjs';
|
|
8
|
+
export { resumeAsyncVNextWorkflowHandler } from '../../_tsup-dts-rollup.cjs';
|
|
9
|
+
export { resumeVNextWorkflowHandler } from '../../_tsup-dts-rollup.cjs';
|
|
10
|
+
export { getVNextWorkflowRunsHandler } from '../../_tsup-dts-rollup.cjs';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { getVNextWorkflowsHandler } from '../../_tsup-dts-rollup.js';
|
|
2
|
+
export { getVNextWorkflowByIdHandler } from '../../_tsup-dts-rollup.js';
|
|
3
|
+
export { getVNextWorkflowRunHandler } from '../../_tsup-dts-rollup.js';
|
|
4
|
+
export { createVNextWorkflowRunHandler } from '../../_tsup-dts-rollup.js';
|
|
5
|
+
export { startAsyncVNextWorkflowHandler } from '../../_tsup-dts-rollup.js';
|
|
6
|
+
export { startVNextWorkflowRunHandler } from '../../_tsup-dts-rollup.js';
|
|
7
|
+
export { watchVNextWorkflowHandler } from '../../_tsup-dts-rollup.js';
|
|
8
|
+
export { resumeAsyncVNextWorkflowHandler } from '../../_tsup-dts-rollup.js';
|
|
9
|
+
export { resumeVNextWorkflowHandler } from '../../_tsup-dts-rollup.js';
|
|
10
|
+
export { getVNextWorkflowRunsHandler } from '../../_tsup-dts-rollup.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { createVNextWorkflowRunHandler, getVNextWorkflowByIdHandler, getVNextWorkflowRunHandler, getVNextWorkflowRunsHandler, getVNextWorkflowsHandler, resumeAsyncVNextWorkflowHandler, resumeVNextWorkflowHandler, startAsyncVNextWorkflowHandler, startVNextWorkflowRunHandler, watchVNextWorkflowHandler } from '../../chunk-L5JIIJGO.js';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk55HTWX4C_cjs = require('../../chunk-55HTWX4C.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "generateSpeechHandler", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk55HTWX4C_cjs.generateSpeechHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getSpeakersHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk55HTWX4C_cjs.getSpeakersHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "transcribeSpeechHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk55HTWX4C_cjs.transcribeSpeechHandler; }
|
|
18
18
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { generateSpeechHandler, getSpeakersHandler, transcribeSpeechHandler } from '../../chunk-
|
|
1
|
+
export { generateSpeechHandler, getSpeakersHandler, transcribeSpeechHandler } from '../../chunk-Q6SHQECN.js';
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkTZK63M5N_cjs = require('../../chunk-TZK63M5N.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "createRunHandler", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkTZK63M5N_cjs.createRunHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getWorkflowByIdHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkTZK63M5N_cjs.getWorkflowByIdHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getWorkflowRunHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkTZK63M5N_cjs.getWorkflowRunHandler; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "getWorkflowRunsHandler", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkTZK63M5N_cjs.getWorkflowRunsHandler; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getWorkflowsHandler", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkTZK63M5N_cjs.getWorkflowsHandler; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "resumeAsyncWorkflowHandler", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkTZK63M5N_cjs.resumeAsyncWorkflowHandler; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "resumeWorkflowHandler", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkTZK63M5N_cjs.resumeWorkflowHandler; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "startAsyncWorkflowHandler", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkTZK63M5N_cjs.startAsyncWorkflowHandler; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "startWorkflowRunHandler", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkTZK63M5N_cjs.startWorkflowRunHandler; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "watchWorkflowHandler", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkTZK63M5N_cjs.watchWorkflowHandler; }
|
|
46
46
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { createRunHandler, getWorkflowByIdHandler, getWorkflowRunHandler, getWorkflowRunsHandler, getWorkflowsHandler, resumeAsyncWorkflowHandler, resumeWorkflowHandler, startAsyncWorkflowHandler, startWorkflowRunHandler, watchWorkflowHandler } from '../../chunk-
|
|
1
|
+
export { createRunHandler, getWorkflowByIdHandler, getWorkflowRunHandler, getWorkflowRunsHandler, getWorkflowsHandler, resumeAsyncWorkflowHandler, resumeWorkflowHandler, startAsyncWorkflowHandler, startWorkflowRunHandler, watchWorkflowHandler } from '../../chunk-LFOBHRFO.js';
|
package/dist/server/handlers.cjs
CHANGED
|
@@ -1,20 +1,25 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkD3G23FP3_cjs = require('../chunk-D3G23FP3.cjs');
|
|
4
|
+
var chunkYN63BKGG_cjs = require('../chunk-YN63BKGG.cjs');
|
|
4
5
|
var chunkM56ECCHK_cjs = require('../chunk-M56ECCHK.cjs');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
6
|
+
var chunk55HTWX4C_cjs = require('../chunk-55HTWX4C.cjs');
|
|
7
|
+
var chunkTZK63M5N_cjs = require('../chunk-TZK63M5N.cjs');
|
|
8
|
+
var chunkHCOPJZ4A_cjs = require('../chunk-HCOPJZ4A.cjs');
|
|
8
9
|
var chunkSKBVVI24_cjs = require('../chunk-SKBVVI24.cjs');
|
|
9
10
|
var chunk2FJURXCL_cjs = require('../chunk-2FJURXCL.cjs');
|
|
10
|
-
var
|
|
11
|
+
var chunkFPIWDH5Y_cjs = require('../chunk-FPIWDH5Y.cjs');
|
|
11
12
|
var chunk7IWQE76Z_cjs = require('../chunk-7IWQE76Z.cjs');
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
|
|
15
16
|
Object.defineProperty(exports, "tools", {
|
|
16
17
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkD3G23FP3_cjs.tools_exports; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "vNextWorkflows", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunkYN63BKGG_cjs.vNextWorkflows_exports; }
|
|
18
23
|
});
|
|
19
24
|
Object.defineProperty(exports, "vector", {
|
|
20
25
|
enumerable: true,
|
|
@@ -22,15 +27,15 @@ Object.defineProperty(exports, "vector", {
|
|
|
22
27
|
});
|
|
23
28
|
Object.defineProperty(exports, "voice", {
|
|
24
29
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunk55HTWX4C_cjs.voice_exports; }
|
|
26
31
|
});
|
|
27
32
|
Object.defineProperty(exports, "workflows", {
|
|
28
33
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkTZK63M5N_cjs.workflows_exports; }
|
|
30
35
|
});
|
|
31
36
|
Object.defineProperty(exports, "agents", {
|
|
32
37
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkHCOPJZ4A_cjs.agents_exports; }
|
|
34
39
|
});
|
|
35
40
|
Object.defineProperty(exports, "logs", {
|
|
36
41
|
enumerable: true,
|
|
@@ -42,7 +47,7 @@ Object.defineProperty(exports, "memory", {
|
|
|
42
47
|
});
|
|
43
48
|
Object.defineProperty(exports, "network", {
|
|
44
49
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkFPIWDH5Y_cjs.network_exports; }
|
|
46
51
|
});
|
|
47
52
|
Object.defineProperty(exports, "telemetry", {
|
|
48
53
|
enumerable: true,
|
|
@@ -5,5 +5,6 @@ export { network } from '../_tsup-dts-rollup.cjs';
|
|
|
5
5
|
export { telemetry } from '../_tsup-dts-rollup.cjs';
|
|
6
6
|
export { tools } from '../_tsup-dts-rollup.cjs';
|
|
7
7
|
export { workflows } from '../_tsup-dts-rollup.cjs';
|
|
8
|
+
export { vNextWorkflows } from '../_tsup-dts-rollup.cjs';
|
|
8
9
|
export { vector } from '../_tsup-dts-rollup.cjs';
|
|
9
10
|
export { voice } from '../_tsup-dts-rollup.cjs';
|
|
@@ -5,5 +5,6 @@ export { network } from '../_tsup-dts-rollup.js';
|
|
|
5
5
|
export { telemetry } from '../_tsup-dts-rollup.js';
|
|
6
6
|
export { tools } from '../_tsup-dts-rollup.js';
|
|
7
7
|
export { workflows } from '../_tsup-dts-rollup.js';
|
|
8
|
+
export { vNextWorkflows } from '../_tsup-dts-rollup.js';
|
|
8
9
|
export { vector } from '../_tsup-dts-rollup.js';
|
|
9
10
|
export { voice } from '../_tsup-dts-rollup.js';
|