@mastra/server 2.0.2-alpha.0 → 2.0.2-alpha.3
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 +16 -2
- package/dist/_tsup-dts-rollup.d.ts +16 -2
- package/dist/{chunk-M3YJLWTU.js → chunk-3XTEV33Q.js} +10 -2
- package/dist/{chunk-7IWQE76Z.cjs → chunk-AMVOS7YB.cjs} +4 -2
- package/dist/{chunk-WTHDCRMY.js → chunk-BPL2CBLV.js} +4 -2
- package/dist/{chunk-EVCC233P.cjs → chunk-CHFORQ7J.cjs} +10 -2
- package/dist/{chunk-AELYAUEE.cjs → chunk-FOXHTOQZ.cjs} +10 -2
- package/dist/{chunk-JPB6RPGB.js → chunk-IQTNZSFP.js} +10 -2
- package/dist/server/handlers/telemetry.cjs +3 -3
- package/dist/server/handlers/telemetry.js +1 -1
- package/dist/server/handlers/vNextWorkflows.cjs +11 -11
- package/dist/server/handlers/vNextWorkflows.js +1 -1
- package/dist/server/handlers/workflows.cjs +11 -11
- package/dist/server/handlers/workflows.js +1 -1
- package/dist/server/handlers.cjs +6 -6
- package/dist/server/handlers.js +3 -3
- package/package.json +3 -3
|
@@ -249,7 +249,13 @@ export declare function getVNextWorkflowByIdHandler({ mastra, workflowId }: VNex
|
|
|
249
249
|
|
|
250
250
|
export declare function getVNextWorkflowRunHandler({ mastra, workflowId, runId, }: Pick<VNextWorkflowContext, 'mastra' | 'workflowId' | 'runId'>): Promise<ReturnType<NewWorkflow['getWorkflowRun']>>;
|
|
251
251
|
|
|
252
|
-
export declare function getVNextWorkflowRunsHandler({ mastra, workflowId }: VNextWorkflowContext
|
|
252
|
+
export declare function getVNextWorkflowRunsHandler({ mastra, workflowId, fromDate, toDate, limit, offset, resourceId, }: VNextWorkflowContext & {
|
|
253
|
+
fromDate?: Date;
|
|
254
|
+
toDate?: Date;
|
|
255
|
+
limit?: number;
|
|
256
|
+
offset?: number;
|
|
257
|
+
resourceId?: string;
|
|
258
|
+
}): Promise<WorkflowRuns>;
|
|
253
259
|
|
|
254
260
|
export declare function getVNextWorkflowsHandler({ mastra }: VNextWorkflowContext): Promise<any>;
|
|
255
261
|
|
|
@@ -265,7 +271,13 @@ export declare function getWorkflowByIdHandler({ mastra, workflowId }: WorkflowC
|
|
|
265
271
|
|
|
266
272
|
export declare function getWorkflowRunHandler({ mastra, workflowId, runId, }: Pick<WorkflowContext, 'mastra' | 'workflowId' | 'runId'>): Promise<ReturnType<Workflow['getRun']>>;
|
|
267
273
|
|
|
268
|
-
export declare function getWorkflowRunsHandler({ mastra, workflowId }: WorkflowContext
|
|
274
|
+
export declare function getWorkflowRunsHandler({ mastra, workflowId, fromDate, toDate, limit, offset, resourceId, }: WorkflowContext & {
|
|
275
|
+
fromDate?: Date;
|
|
276
|
+
toDate?: Date;
|
|
277
|
+
limit?: number;
|
|
278
|
+
offset?: number;
|
|
279
|
+
resourceId?: string;
|
|
280
|
+
}): Promise<WorkflowRuns>;
|
|
269
281
|
|
|
270
282
|
export declare function getWorkflowsHandler({ mastra }: WorkflowContext): Promise<any>;
|
|
271
283
|
|
|
@@ -513,6 +525,8 @@ declare interface TelemetryContext extends Context {
|
|
|
513
525
|
page?: number;
|
|
514
526
|
perPage?: number;
|
|
515
527
|
attribute?: string | string[];
|
|
528
|
+
fromDate?: Date;
|
|
529
|
+
toDate?: Date;
|
|
516
530
|
};
|
|
517
531
|
}
|
|
518
532
|
|
|
@@ -249,7 +249,13 @@ export declare function getVNextWorkflowByIdHandler({ mastra, workflowId }: VNex
|
|
|
249
249
|
|
|
250
250
|
export declare function getVNextWorkflowRunHandler({ mastra, workflowId, runId, }: Pick<VNextWorkflowContext, 'mastra' | 'workflowId' | 'runId'>): Promise<ReturnType<NewWorkflow['getWorkflowRun']>>;
|
|
251
251
|
|
|
252
|
-
export declare function getVNextWorkflowRunsHandler({ mastra, workflowId }: VNextWorkflowContext
|
|
252
|
+
export declare function getVNextWorkflowRunsHandler({ mastra, workflowId, fromDate, toDate, limit, offset, resourceId, }: VNextWorkflowContext & {
|
|
253
|
+
fromDate?: Date;
|
|
254
|
+
toDate?: Date;
|
|
255
|
+
limit?: number;
|
|
256
|
+
offset?: number;
|
|
257
|
+
resourceId?: string;
|
|
258
|
+
}): Promise<WorkflowRuns>;
|
|
253
259
|
|
|
254
260
|
export declare function getVNextWorkflowsHandler({ mastra }: VNextWorkflowContext): Promise<any>;
|
|
255
261
|
|
|
@@ -265,7 +271,13 @@ export declare function getWorkflowByIdHandler({ mastra, workflowId }: WorkflowC
|
|
|
265
271
|
|
|
266
272
|
export declare function getWorkflowRunHandler({ mastra, workflowId, runId, }: Pick<WorkflowContext, 'mastra' | 'workflowId' | 'runId'>): Promise<ReturnType<Workflow['getRun']>>;
|
|
267
273
|
|
|
268
|
-
export declare function getWorkflowRunsHandler({ mastra, workflowId }: WorkflowContext
|
|
274
|
+
export declare function getWorkflowRunsHandler({ mastra, workflowId, fromDate, toDate, limit, offset, resourceId, }: WorkflowContext & {
|
|
275
|
+
fromDate?: Date;
|
|
276
|
+
toDate?: Date;
|
|
277
|
+
limit?: number;
|
|
278
|
+
offset?: number;
|
|
279
|
+
resourceId?: string;
|
|
280
|
+
}): Promise<WorkflowRuns>;
|
|
269
281
|
|
|
270
282
|
export declare function getWorkflowsHandler({ mastra }: WorkflowContext): Promise<any>;
|
|
271
283
|
|
|
@@ -513,6 +525,8 @@ declare interface TelemetryContext extends Context {
|
|
|
513
525
|
page?: number;
|
|
514
526
|
perPage?: number;
|
|
515
527
|
attribute?: string | string[];
|
|
528
|
+
fromDate?: Date;
|
|
529
|
+
toDate?: Date;
|
|
516
530
|
};
|
|
517
531
|
}
|
|
518
532
|
|
|
@@ -290,13 +290,21 @@ async function resumeWorkflowHandler({
|
|
|
290
290
|
return handleError(error, "Error resuming workflow");
|
|
291
291
|
}
|
|
292
292
|
}
|
|
293
|
-
async function getWorkflowRunsHandler({
|
|
293
|
+
async function getWorkflowRunsHandler({
|
|
294
|
+
mastra,
|
|
295
|
+
workflowId,
|
|
296
|
+
fromDate,
|
|
297
|
+
toDate,
|
|
298
|
+
limit,
|
|
299
|
+
offset,
|
|
300
|
+
resourceId
|
|
301
|
+
}) {
|
|
294
302
|
try {
|
|
295
303
|
if (!workflowId) {
|
|
296
304
|
throw new HTTPException(400, { message: "Workflow ID is required" });
|
|
297
305
|
}
|
|
298
306
|
const workflow = mastra.getWorkflow(workflowId);
|
|
299
|
-
const workflowRuns = await workflow.getWorkflowRuns() || {
|
|
307
|
+
const workflowRuns = await workflow.getWorkflowRuns({ fromDate, toDate, limit, offset, resourceId }) || {
|
|
300
308
|
runs: [],
|
|
301
309
|
total: 0
|
|
302
310
|
};
|
|
@@ -22,7 +22,7 @@ async function getTelemetryHandler({ mastra, body }) {
|
|
|
22
22
|
if (!body) {
|
|
23
23
|
throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "Body is required" });
|
|
24
24
|
}
|
|
25
|
-
const { name, scope, page, perPage, attribute } = body;
|
|
25
|
+
const { name, scope, page, perPage, attribute, fromDate, toDate } = body;
|
|
26
26
|
const attributes = attribute ? Object.fromEntries(
|
|
27
27
|
(Array.isArray(attribute) ? attribute : [attribute]).map((attr) => {
|
|
28
28
|
const [key, value] = attr.split(":");
|
|
@@ -34,7 +34,9 @@ async function getTelemetryHandler({ mastra, body }) {
|
|
|
34
34
|
scope,
|
|
35
35
|
page: Number(page ?? 0),
|
|
36
36
|
perPage: Number(perPage ?? 100),
|
|
37
|
-
attributes
|
|
37
|
+
attributes,
|
|
38
|
+
fromDate: fromDate ? new Date(fromDate) : void 0,
|
|
39
|
+
toDate: toDate ? new Date(toDate) : void 0
|
|
38
40
|
});
|
|
39
41
|
return traces;
|
|
40
42
|
} catch (error2) {
|
|
@@ -20,7 +20,7 @@ async function getTelemetryHandler({ mastra, body }) {
|
|
|
20
20
|
if (!body) {
|
|
21
21
|
throw new HTTPException(400, { message: "Body is required" });
|
|
22
22
|
}
|
|
23
|
-
const { name, scope, page, perPage, attribute } = body;
|
|
23
|
+
const { name, scope, page, perPage, attribute, fromDate, toDate } = body;
|
|
24
24
|
const attributes = attribute ? Object.fromEntries(
|
|
25
25
|
(Array.isArray(attribute) ? attribute : [attribute]).map((attr) => {
|
|
26
26
|
const [key, value] = attr.split(":");
|
|
@@ -32,7 +32,9 @@ async function getTelemetryHandler({ mastra, body }) {
|
|
|
32
32
|
scope,
|
|
33
33
|
page: Number(page ?? 0),
|
|
34
34
|
perPage: Number(perPage ?? 100),
|
|
35
|
-
attributes
|
|
35
|
+
attributes,
|
|
36
|
+
fromDate: fromDate ? new Date(fromDate) : void 0,
|
|
37
|
+
toDate: toDate ? new Date(toDate) : void 0
|
|
36
38
|
});
|
|
37
39
|
return traces;
|
|
38
40
|
} catch (error2) {
|
|
@@ -292,13 +292,21 @@ async function resumeWorkflowHandler({
|
|
|
292
292
|
return chunkZLBRQFDD_cjs.handleError(error, "Error resuming workflow");
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
|
-
async function getWorkflowRunsHandler({
|
|
295
|
+
async function getWorkflowRunsHandler({
|
|
296
|
+
mastra,
|
|
297
|
+
workflowId,
|
|
298
|
+
fromDate,
|
|
299
|
+
toDate,
|
|
300
|
+
limit,
|
|
301
|
+
offset,
|
|
302
|
+
resourceId
|
|
303
|
+
}) {
|
|
296
304
|
try {
|
|
297
305
|
if (!workflowId) {
|
|
298
306
|
throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
299
307
|
}
|
|
300
308
|
const workflow = mastra.getWorkflow(workflowId);
|
|
301
|
-
const workflowRuns = await workflow.getWorkflowRuns() || {
|
|
309
|
+
const workflowRuns = await workflow.getWorkflowRuns({ fromDate, toDate, limit, offset, resourceId }) || {
|
|
302
310
|
runs: [],
|
|
303
311
|
total: 0
|
|
304
312
|
};
|
|
@@ -287,13 +287,21 @@ async function resumeVNextWorkflowHandler({
|
|
|
287
287
|
return chunkZLBRQFDD_cjs.handleError(error, "Error resuming workflow");
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
|
-
async function getVNextWorkflowRunsHandler({
|
|
290
|
+
async function getVNextWorkflowRunsHandler({
|
|
291
|
+
mastra,
|
|
292
|
+
workflowId,
|
|
293
|
+
fromDate,
|
|
294
|
+
toDate,
|
|
295
|
+
limit,
|
|
296
|
+
offset,
|
|
297
|
+
resourceId
|
|
298
|
+
}) {
|
|
291
299
|
try {
|
|
292
300
|
if (!workflowId) {
|
|
293
301
|
throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "Workflow ID is required" });
|
|
294
302
|
}
|
|
295
303
|
const workflow = mastra.vnext_getWorkflow(workflowId);
|
|
296
|
-
const workflowRuns = await workflow.getWorkflowRuns() || {
|
|
304
|
+
const workflowRuns = await workflow.getWorkflowRuns({ fromDate, toDate, limit, offset, resourceId }) || {
|
|
297
305
|
runs: [],
|
|
298
306
|
total: 0
|
|
299
307
|
};
|
|
@@ -285,13 +285,21 @@ async function resumeVNextWorkflowHandler({
|
|
|
285
285
|
return handleError(error, "Error resuming workflow");
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
|
-
async function getVNextWorkflowRunsHandler({
|
|
288
|
+
async function getVNextWorkflowRunsHandler({
|
|
289
|
+
mastra,
|
|
290
|
+
workflowId,
|
|
291
|
+
fromDate,
|
|
292
|
+
toDate,
|
|
293
|
+
limit,
|
|
294
|
+
offset,
|
|
295
|
+
resourceId
|
|
296
|
+
}) {
|
|
289
297
|
try {
|
|
290
298
|
if (!workflowId) {
|
|
291
299
|
throw new HTTPException(400, { message: "Workflow ID is required" });
|
|
292
300
|
}
|
|
293
301
|
const workflow = mastra.vnext_getWorkflow(workflowId);
|
|
294
|
-
const workflowRuns = await workflow.getWorkflowRuns() || {
|
|
302
|
+
const workflowRuns = await workflow.getWorkflowRuns({ fromDate, toDate, limit, offset, resourceId }) || {
|
|
295
303
|
runs: [],
|
|
296
304
|
total: 0
|
|
297
305
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkAMVOS7YB_cjs = require('../../chunk-AMVOS7YB.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "getTelemetryHandler", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkAMVOS7YB_cjs.getTelemetryHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "storeTelemetryHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkAMVOS7YB_cjs.storeTelemetryHandler; }
|
|
14
14
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { getTelemetryHandler, storeTelemetryHandler } from '../../chunk-
|
|
1
|
+
export { getTelemetryHandler, storeTelemetryHandler } from '../../chunk-BPL2CBLV.js';
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFOXHTOQZ_cjs = require('../../chunk-FOXHTOQZ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "createVNextWorkflowRunHandler", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkFOXHTOQZ_cjs.createVNextWorkflowRunHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getVNextWorkflowByIdHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkFOXHTOQZ_cjs.getVNextWorkflowByIdHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getVNextWorkflowRunHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkFOXHTOQZ_cjs.getVNextWorkflowRunHandler; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "getVNextWorkflowRunsHandler", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkFOXHTOQZ_cjs.getVNextWorkflowRunsHandler; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getVNextWorkflowsHandler", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkFOXHTOQZ_cjs.getVNextWorkflowsHandler; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "resumeAsyncVNextWorkflowHandler", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkFOXHTOQZ_cjs.resumeAsyncVNextWorkflowHandler; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "resumeVNextWorkflowHandler", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkFOXHTOQZ_cjs.resumeVNextWorkflowHandler; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "startAsyncVNextWorkflowHandler", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkFOXHTOQZ_cjs.startAsyncVNextWorkflowHandler; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "startVNextWorkflowRunHandler", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkFOXHTOQZ_cjs.startVNextWorkflowRunHandler; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "watchVNextWorkflowHandler", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkFOXHTOQZ_cjs.watchVNextWorkflowHandler; }
|
|
46
46
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { createVNextWorkflowRunHandler, getVNextWorkflowByIdHandler, getVNextWorkflowRunHandler, getVNextWorkflowRunsHandler, getVNextWorkflowsHandler, resumeAsyncVNextWorkflowHandler, resumeVNextWorkflowHandler, startAsyncVNextWorkflowHandler, startVNextWorkflowRunHandler, watchVNextWorkflowHandler } from '../../chunk-
|
|
1
|
+
export { createVNextWorkflowRunHandler, getVNextWorkflowByIdHandler, getVNextWorkflowRunHandler, getVNextWorkflowRunsHandler, getVNextWorkflowsHandler, resumeAsyncVNextWorkflowHandler, resumeVNextWorkflowHandler, startAsyncVNextWorkflowHandler, startVNextWorkflowRunHandler, watchVNextWorkflowHandler } from '../../chunk-IQTNZSFP.js';
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkCHFORQ7J_cjs = require('../../chunk-CHFORQ7J.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 chunkCHFORQ7J_cjs.createRunHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getWorkflowByIdHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkCHFORQ7J_cjs.getWorkflowByIdHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getWorkflowRunHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkCHFORQ7J_cjs.getWorkflowRunHandler; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "getWorkflowRunsHandler", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkCHFORQ7J_cjs.getWorkflowRunsHandler; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getWorkflowsHandler", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkCHFORQ7J_cjs.getWorkflowsHandler; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "resumeAsyncWorkflowHandler", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkCHFORQ7J_cjs.resumeAsyncWorkflowHandler; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "resumeWorkflowHandler", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkCHFORQ7J_cjs.resumeWorkflowHandler; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "startAsyncWorkflowHandler", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkCHFORQ7J_cjs.startAsyncWorkflowHandler; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "startWorkflowRunHandler", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkCHFORQ7J_cjs.startWorkflowRunHandler; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "watchWorkflowHandler", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkCHFORQ7J_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-3XTEV33Q.js';
|
package/dist/server/handlers.cjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkD3G23FP3_cjs = require('../chunk-D3G23FP3.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkFOXHTOQZ_cjs = require('../chunk-FOXHTOQZ.cjs');
|
|
5
5
|
var chunkM56ECCHK_cjs = require('../chunk-M56ECCHK.cjs');
|
|
6
6
|
var chunk55HTWX4C_cjs = require('../chunk-55HTWX4C.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkCHFORQ7J_cjs = require('../chunk-CHFORQ7J.cjs');
|
|
8
8
|
var chunk4BIX6GMY_cjs = require('../chunk-4BIX6GMY.cjs');
|
|
9
9
|
var chunkSKBVVI24_cjs = require('../chunk-SKBVVI24.cjs');
|
|
10
10
|
var chunk2FJURXCL_cjs = require('../chunk-2FJURXCL.cjs');
|
|
11
11
|
var chunk5YGDYMRB_cjs = require('../chunk-5YGDYMRB.cjs');
|
|
12
|
-
var
|
|
12
|
+
var chunkAMVOS7YB_cjs = require('../chunk-AMVOS7YB.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -19,7 +19,7 @@ Object.defineProperty(exports, "tools", {
|
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "vNextWorkflows", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkFOXHTOQZ_cjs.vNextWorkflows_exports; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "vector", {
|
|
25
25
|
enumerable: true,
|
|
@@ -31,7 +31,7 @@ Object.defineProperty(exports, "voice", {
|
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "workflows", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkCHFORQ7J_cjs.workflows_exports; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "agents", {
|
|
37
37
|
enumerable: true,
|
|
@@ -51,5 +51,5 @@ Object.defineProperty(exports, "network", {
|
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "telemetry", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkAMVOS7YB_cjs.telemetry_exports; }
|
|
55
55
|
});
|
package/dist/server/handlers.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export { tools_exports as tools } from '../chunk-5JNVY6DU.js';
|
|
2
|
-
export { vNextWorkflows_exports as vNextWorkflows } from '../chunk-
|
|
2
|
+
export { vNextWorkflows_exports as vNextWorkflows } from '../chunk-IQTNZSFP.js';
|
|
3
3
|
export { vector_exports as vector } from '../chunk-4JINXASC.js';
|
|
4
4
|
export { voice_exports as voice } from '../chunk-Q6SHQECN.js';
|
|
5
|
-
export { workflows_exports as workflows } from '../chunk-
|
|
5
|
+
export { workflows_exports as workflows } from '../chunk-3XTEV33Q.js';
|
|
6
6
|
export { agents_exports as agents } from '../chunk-Y3SV5XK4.js';
|
|
7
7
|
export { logs_exports as logs } from '../chunk-3EJZQ6TQ.js';
|
|
8
8
|
export { memory_exports as memory } from '../chunk-RBQASTUP.js';
|
|
9
9
|
export { network_exports as network } from '../chunk-QJ3AHN64.js';
|
|
10
|
-
export { telemetry_exports as telemetry } from '../chunk-
|
|
10
|
+
export { telemetry_exports as telemetry } from '../chunk-BPL2CBLV.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/server",
|
|
3
|
-
"version": "2.0.2-alpha.
|
|
3
|
+
"version": "2.0.2-alpha.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"license": "Elastic-2.0",
|
|
47
47
|
"dependencies": {},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@mastra/core": "^0.9.2-alpha.
|
|
49
|
+
"@mastra/core": "^0.9.2-alpha.3"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@ai-sdk/openai": "^1.3.2",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"vitest": "^2.1.9",
|
|
60
60
|
"zod-to-json-schema": "^3.24.3",
|
|
61
61
|
"@internal/lint": "0.0.2",
|
|
62
|
-
"@mastra/core": "0.9.2-alpha.
|
|
62
|
+
"@mastra/core": "0.9.2-alpha.3"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
65
|
"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",
|