@mastra/server 0.10.7-alpha.2 → 0.10.7-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 +15 -3
- package/dist/_tsup-dts-rollup.d.ts +15 -3
- package/dist/{chunk-E5IRS3XH.cjs → chunk-GKM45O24.cjs} +8 -4
- package/dist/{chunk-5UV7XQ4G.js → chunk-PMUATKV2.js} +8 -4
- package/dist/{chunk-GKLL733B.js → chunk-SOBBILUG.js} +7 -7
- package/dist/{chunk-ZYCTFFDB.cjs → chunk-TO5U6HW3.cjs} +7 -7
- package/dist/server/handlers/agents.cjs +7 -7
- package/dist/server/handlers/agents.js +1 -1
- package/dist/server/handlers/workflows.cjs +13 -13
- package/dist/server/handlers/workflows.js +1 -1
- package/dist/server/handlers.cjs +4 -4
- package/dist/server/handlers.js +2 -2
- package/package.json +2 -2
|
@@ -163,13 +163,14 @@ export declare function executeToolHandler(tools: ToolsContext['tools']): ({ mas
|
|
|
163
163
|
runtimeContext: RuntimeContext_2;
|
|
164
164
|
}) => Promise<any>;
|
|
165
165
|
|
|
166
|
-
export declare function generateHandler({ mastra, runtimeContext, agentId, body, }: Context & {
|
|
166
|
+
export declare function generateHandler({ mastra, runtimeContext, agentId, body, abortSignal, }: Context & {
|
|
167
167
|
runtimeContext: RuntimeContext;
|
|
168
168
|
agentId: string;
|
|
169
169
|
body: GetBody<'generate'> & {
|
|
170
170
|
resourceid?: string;
|
|
171
171
|
runtimeContext?: Record<string, unknown>;
|
|
172
172
|
};
|
|
173
|
+
abortSignal?: AbortSignal;
|
|
173
174
|
}): Promise<GenerateTextResult<any, unknown>>;
|
|
174
175
|
|
|
175
176
|
export declare function generateHandler_alias_1({ mastra, runtimeContext, networkId, body, }: NetworkContext & {
|
|
@@ -241,7 +242,17 @@ export declare function getAgentExecutionHandler({ requestId, mastra, agentId, r
|
|
|
241
242
|
|
|
242
243
|
export declare function getAgentsHandler({ mastra, runtimeContext }: Context & {
|
|
243
244
|
runtimeContext: RuntimeContext;
|
|
244
|
-
}): Promise<
|
|
245
|
+
}): Promise<Record<string, Omit<{
|
|
246
|
+
id: string;
|
|
247
|
+
name: any;
|
|
248
|
+
instructions: string;
|
|
249
|
+
tools: any;
|
|
250
|
+
workflows: {};
|
|
251
|
+
provider: string;
|
|
252
|
+
modelId: string;
|
|
253
|
+
defaultGenerateOptions: any;
|
|
254
|
+
defaultStreamOptions: any;
|
|
255
|
+
}, "id">>>;
|
|
245
256
|
|
|
246
257
|
declare type GetBody<T extends keyof Agent & {
|
|
247
258
|
[K in keyof Agent]: Agent[K] extends (...args: any) => any ? K : never;
|
|
@@ -782,13 +793,14 @@ export declare function storeTelemetryHandler({ mastra, body }: Context & {
|
|
|
782
793
|
traceCount: number;
|
|
783
794
|
}>;
|
|
784
795
|
|
|
785
|
-
export declare function streamGenerateHandler({ mastra, runtimeContext, agentId, body, }: Context & {
|
|
796
|
+
export declare function streamGenerateHandler({ mastra, runtimeContext, agentId, body, abortSignal, }: Context & {
|
|
786
797
|
runtimeContext: RuntimeContext;
|
|
787
798
|
agentId: string;
|
|
788
799
|
body: GetBody<'stream'> & {
|
|
789
800
|
resourceid?: string;
|
|
790
801
|
runtimeContext?: string;
|
|
791
802
|
};
|
|
803
|
+
abortSignal?: AbortSignal;
|
|
792
804
|
}): Promise<Response | undefined>;
|
|
793
805
|
|
|
794
806
|
export declare function streamGenerateHandler_alias_1({ mastra, networkId, body, runtimeContext, }: NetworkContext & {
|
|
@@ -163,13 +163,14 @@ export declare function executeToolHandler(tools: ToolsContext['tools']): ({ mas
|
|
|
163
163
|
runtimeContext: RuntimeContext_2;
|
|
164
164
|
}) => Promise<any>;
|
|
165
165
|
|
|
166
|
-
export declare function generateHandler({ mastra, runtimeContext, agentId, body, }: Context & {
|
|
166
|
+
export declare function generateHandler({ mastra, runtimeContext, agentId, body, abortSignal, }: Context & {
|
|
167
167
|
runtimeContext: RuntimeContext;
|
|
168
168
|
agentId: string;
|
|
169
169
|
body: GetBody<'generate'> & {
|
|
170
170
|
resourceid?: string;
|
|
171
171
|
runtimeContext?: Record<string, unknown>;
|
|
172
172
|
};
|
|
173
|
+
abortSignal?: AbortSignal;
|
|
173
174
|
}): Promise<GenerateTextResult<any, unknown>>;
|
|
174
175
|
|
|
175
176
|
export declare function generateHandler_alias_1({ mastra, runtimeContext, networkId, body, }: NetworkContext & {
|
|
@@ -241,7 +242,17 @@ export declare function getAgentExecutionHandler({ requestId, mastra, agentId, r
|
|
|
241
242
|
|
|
242
243
|
export declare function getAgentsHandler({ mastra, runtimeContext }: Context & {
|
|
243
244
|
runtimeContext: RuntimeContext;
|
|
244
|
-
}): Promise<
|
|
245
|
+
}): Promise<Record<string, Omit<{
|
|
246
|
+
id: string;
|
|
247
|
+
name: any;
|
|
248
|
+
instructions: string;
|
|
249
|
+
tools: any;
|
|
250
|
+
workflows: {};
|
|
251
|
+
provider: string;
|
|
252
|
+
modelId: string;
|
|
253
|
+
defaultGenerateOptions: any;
|
|
254
|
+
defaultStreamOptions: any;
|
|
255
|
+
}, "id">>>;
|
|
245
256
|
|
|
246
257
|
declare type GetBody<T extends keyof Agent & {
|
|
247
258
|
[K in keyof Agent]: Agent[K] extends (...args: any) => any ? K : never;
|
|
@@ -782,13 +793,14 @@ export declare function storeTelemetryHandler({ mastra, body }: Context & {
|
|
|
782
793
|
traceCount: number;
|
|
783
794
|
}>;
|
|
784
795
|
|
|
785
|
-
export declare function streamGenerateHandler({ mastra, runtimeContext, agentId, body, }: Context & {
|
|
796
|
+
export declare function streamGenerateHandler({ mastra, runtimeContext, agentId, body, abortSignal, }: Context & {
|
|
786
797
|
runtimeContext: RuntimeContext;
|
|
787
798
|
agentId: string;
|
|
788
799
|
body: GetBody<'stream'> & {
|
|
789
800
|
resourceid?: string;
|
|
790
801
|
runtimeContext?: string;
|
|
791
802
|
};
|
|
803
|
+
abortSignal?: AbortSignal;
|
|
792
804
|
}): Promise<Response | undefined>;
|
|
793
805
|
|
|
794
806
|
export declare function streamGenerateHandler_alias_1({ mastra, networkId, body, runtimeContext, }: NetworkContext & {
|
|
@@ -196,7 +196,8 @@ async function generateHandler({
|
|
|
196
196
|
mastra,
|
|
197
197
|
runtimeContext: runtimeContext$1,
|
|
198
198
|
agentId,
|
|
199
|
-
body
|
|
199
|
+
body,
|
|
200
|
+
abortSignal
|
|
200
201
|
}) {
|
|
201
202
|
try {
|
|
202
203
|
const agent = mastra.getAgent(agentId);
|
|
@@ -214,7 +215,8 @@ async function generateHandler({
|
|
|
214
215
|
...rest,
|
|
215
216
|
// @ts-expect-error TODO fix types
|
|
216
217
|
resourceId: finalResourceId,
|
|
217
|
-
runtimeContext: finalRuntimeContext
|
|
218
|
+
runtimeContext: finalRuntimeContext,
|
|
219
|
+
signal: abortSignal
|
|
218
220
|
});
|
|
219
221
|
return result;
|
|
220
222
|
} catch (error) {
|
|
@@ -225,7 +227,8 @@ async function streamGenerateHandler({
|
|
|
225
227
|
mastra,
|
|
226
228
|
runtimeContext: runtimeContext$1,
|
|
227
229
|
agentId,
|
|
228
|
-
body
|
|
230
|
+
body,
|
|
231
|
+
abortSignal
|
|
229
232
|
}) {
|
|
230
233
|
try {
|
|
231
234
|
const agent = mastra.getAgent(agentId);
|
|
@@ -243,7 +246,8 @@ async function streamGenerateHandler({
|
|
|
243
246
|
...rest,
|
|
244
247
|
// @ts-expect-error TODO fix types
|
|
245
248
|
resourceId: finalResourceId,
|
|
246
|
-
runtimeContext: finalRuntimeContext
|
|
249
|
+
runtimeContext: finalRuntimeContext,
|
|
250
|
+
signal: abortSignal
|
|
247
251
|
});
|
|
248
252
|
const streamResponse = rest.output ? streamResult.toTextStreamResponse({
|
|
249
253
|
headers: {
|
|
@@ -194,7 +194,8 @@ async function generateHandler({
|
|
|
194
194
|
mastra,
|
|
195
195
|
runtimeContext,
|
|
196
196
|
agentId,
|
|
197
|
-
body
|
|
197
|
+
body,
|
|
198
|
+
abortSignal
|
|
198
199
|
}) {
|
|
199
200
|
try {
|
|
200
201
|
const agent = mastra.getAgent(agentId);
|
|
@@ -212,7 +213,8 @@ async function generateHandler({
|
|
|
212
213
|
...rest,
|
|
213
214
|
// @ts-expect-error TODO fix types
|
|
214
215
|
resourceId: finalResourceId,
|
|
215
|
-
runtimeContext: finalRuntimeContext
|
|
216
|
+
runtimeContext: finalRuntimeContext,
|
|
217
|
+
signal: abortSignal
|
|
216
218
|
});
|
|
217
219
|
return result;
|
|
218
220
|
} catch (error) {
|
|
@@ -223,7 +225,8 @@ async function streamGenerateHandler({
|
|
|
223
225
|
mastra,
|
|
224
226
|
runtimeContext,
|
|
225
227
|
agentId,
|
|
226
|
-
body
|
|
228
|
+
body,
|
|
229
|
+
abortSignal
|
|
227
230
|
}) {
|
|
228
231
|
try {
|
|
229
232
|
const agent = mastra.getAgent(agentId);
|
|
@@ -241,7 +244,8 @@ async function streamGenerateHandler({
|
|
|
241
244
|
...rest,
|
|
242
245
|
// @ts-expect-error TODO fix types
|
|
243
246
|
resourceId: finalResourceId,
|
|
244
|
-
runtimeContext: finalRuntimeContext
|
|
247
|
+
runtimeContext: finalRuntimeContext,
|
|
248
|
+
signal: abortSignal
|
|
245
249
|
});
|
|
246
250
|
const streamResponse = rest.output ? streamResult.toTextStreamResponse({
|
|
247
251
|
headers: {
|
|
@@ -179,7 +179,7 @@ async function createWorkflowRunHandler({
|
|
|
179
179
|
if (!workflow) {
|
|
180
180
|
throw new HTTPException(404, { message: "Workflow not found" });
|
|
181
181
|
}
|
|
182
|
-
const run = workflow.
|
|
182
|
+
const run = await workflow.createRunAsync({ runId: prevRunId });
|
|
183
183
|
return { runId: run.runId };
|
|
184
184
|
} catch (error) {
|
|
185
185
|
throw new HTTPException(500, { message: error?.message || "Error creating workflow run" });
|
|
@@ -200,7 +200,7 @@ async function startAsyncWorkflowHandler({
|
|
|
200
200
|
if (!workflow) {
|
|
201
201
|
throw new HTTPException(404, { message: "Workflow not found" });
|
|
202
202
|
}
|
|
203
|
-
const _run = workflow.
|
|
203
|
+
const _run = await workflow.createRunAsync({ runId });
|
|
204
204
|
const result = await _run.start({
|
|
205
205
|
inputData,
|
|
206
206
|
runtimeContext
|
|
@@ -232,7 +232,7 @@ async function startWorkflowRunHandler({
|
|
|
232
232
|
if (!run) {
|
|
233
233
|
throw new HTTPException(404, { message: "Workflow run not found" });
|
|
234
234
|
}
|
|
235
|
-
const _run = workflow.
|
|
235
|
+
const _run = await workflow.createRunAsync({ runId });
|
|
236
236
|
void _run.start({
|
|
237
237
|
inputData,
|
|
238
238
|
runtimeContext
|
|
@@ -262,7 +262,7 @@ async function watchWorkflowHandler({
|
|
|
262
262
|
if (!run) {
|
|
263
263
|
throw new HTTPException(404, { message: "Workflow run not found" });
|
|
264
264
|
}
|
|
265
|
-
const _run = workflow.
|
|
265
|
+
const _run = await workflow.createRunAsync({ runId });
|
|
266
266
|
let unwatch;
|
|
267
267
|
let asyncRef = null;
|
|
268
268
|
const stream = new ReadableStream({
|
|
@@ -309,7 +309,7 @@ async function streamWorkflowHandler({
|
|
|
309
309
|
if (!workflow) {
|
|
310
310
|
throw new HTTPException(404, { message: "Workflow not found" });
|
|
311
311
|
}
|
|
312
|
-
const run = workflow.
|
|
312
|
+
const run = await workflow.createRunAsync({ runId });
|
|
313
313
|
const result = run.stream({
|
|
314
314
|
inputData,
|
|
315
315
|
runtimeContext
|
|
@@ -344,7 +344,7 @@ async function resumeAsyncWorkflowHandler({
|
|
|
344
344
|
if (!run) {
|
|
345
345
|
throw new HTTPException(404, { message: "Workflow run not found" });
|
|
346
346
|
}
|
|
347
|
-
const _run = workflow.
|
|
347
|
+
const _run = await workflow.createRunAsync({ runId });
|
|
348
348
|
const result = await _run.resume({
|
|
349
349
|
step: body.step,
|
|
350
350
|
resumeData: body.resumeData,
|
|
@@ -380,7 +380,7 @@ async function resumeWorkflowHandler({
|
|
|
380
380
|
if (!run) {
|
|
381
381
|
throw new HTTPException(404, { message: "Workflow run not found" });
|
|
382
382
|
}
|
|
383
|
-
const _run = workflow.
|
|
383
|
+
const _run = await workflow.createRunAsync({ runId });
|
|
384
384
|
void _run.resume({
|
|
385
385
|
step: body.step,
|
|
386
386
|
resumeData: body.resumeData,
|
|
@@ -181,7 +181,7 @@ async function createWorkflowRunHandler({
|
|
|
181
181
|
if (!workflow) {
|
|
182
182
|
throw new chunkOCWPVYNI_cjs.HTTPException(404, { message: "Workflow not found" });
|
|
183
183
|
}
|
|
184
|
-
const run = workflow.
|
|
184
|
+
const run = await workflow.createRunAsync({ runId: prevRunId });
|
|
185
185
|
return { runId: run.runId };
|
|
186
186
|
} catch (error) {
|
|
187
187
|
throw new chunkOCWPVYNI_cjs.HTTPException(500, { message: error?.message || "Error creating workflow run" });
|
|
@@ -202,7 +202,7 @@ async function startAsyncWorkflowHandler({
|
|
|
202
202
|
if (!workflow) {
|
|
203
203
|
throw new chunkOCWPVYNI_cjs.HTTPException(404, { message: "Workflow not found" });
|
|
204
204
|
}
|
|
205
|
-
const _run = workflow.
|
|
205
|
+
const _run = await workflow.createRunAsync({ runId });
|
|
206
206
|
const result = await _run.start({
|
|
207
207
|
inputData,
|
|
208
208
|
runtimeContext
|
|
@@ -234,7 +234,7 @@ async function startWorkflowRunHandler({
|
|
|
234
234
|
if (!run) {
|
|
235
235
|
throw new chunkOCWPVYNI_cjs.HTTPException(404, { message: "Workflow run not found" });
|
|
236
236
|
}
|
|
237
|
-
const _run = workflow.
|
|
237
|
+
const _run = await workflow.createRunAsync({ runId });
|
|
238
238
|
void _run.start({
|
|
239
239
|
inputData,
|
|
240
240
|
runtimeContext
|
|
@@ -264,7 +264,7 @@ async function watchWorkflowHandler({
|
|
|
264
264
|
if (!run) {
|
|
265
265
|
throw new chunkOCWPVYNI_cjs.HTTPException(404, { message: "Workflow run not found" });
|
|
266
266
|
}
|
|
267
|
-
const _run = workflow.
|
|
267
|
+
const _run = await workflow.createRunAsync({ runId });
|
|
268
268
|
let unwatch;
|
|
269
269
|
let asyncRef = null;
|
|
270
270
|
const stream = new web.ReadableStream({
|
|
@@ -311,7 +311,7 @@ async function streamWorkflowHandler({
|
|
|
311
311
|
if (!workflow) {
|
|
312
312
|
throw new chunkOCWPVYNI_cjs.HTTPException(404, { message: "Workflow not found" });
|
|
313
313
|
}
|
|
314
|
-
const run = workflow.
|
|
314
|
+
const run = await workflow.createRunAsync({ runId });
|
|
315
315
|
const result = run.stream({
|
|
316
316
|
inputData,
|
|
317
317
|
runtimeContext
|
|
@@ -346,7 +346,7 @@ async function resumeAsyncWorkflowHandler({
|
|
|
346
346
|
if (!run) {
|
|
347
347
|
throw new chunkOCWPVYNI_cjs.HTTPException(404, { message: "Workflow run not found" });
|
|
348
348
|
}
|
|
349
|
-
const _run = workflow.
|
|
349
|
+
const _run = await workflow.createRunAsync({ runId });
|
|
350
350
|
const result = await _run.resume({
|
|
351
351
|
step: body.step,
|
|
352
352
|
resumeData: body.resumeData,
|
|
@@ -382,7 +382,7 @@ async function resumeWorkflowHandler({
|
|
|
382
382
|
if (!run) {
|
|
383
383
|
throw new chunkOCWPVYNI_cjs.HTTPException(404, { message: "Workflow run not found" });
|
|
384
384
|
}
|
|
385
|
-
const _run = workflow.
|
|
385
|
+
const _run = await workflow.createRunAsync({ runId });
|
|
386
386
|
void _run.resume({
|
|
387
387
|
step: body.step,
|
|
388
388
|
resumeData: body.resumeData,
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkGKM45O24_cjs = require('../../chunk-GKM45O24.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 chunkGKM45O24_cjs.generateHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getAgentByIdHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkGKM45O24_cjs.getAgentByIdHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getAgentsHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkGKM45O24_cjs.getAgentsHandler; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "getEvalsByAgentIdHandler", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkGKM45O24_cjs.getEvalsByAgentIdHandler; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getLiveEvalsByAgentIdHandler", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkGKM45O24_cjs.getLiveEvalsByAgentIdHandler; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "streamGenerateHandler", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkGKM45O24_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-PMUATKV2.js';
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkTO5U6HW3_cjs = require('../../chunk-TO5U6HW3.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "createWorkflowRunHandler", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkTO5U6HW3_cjs.createWorkflowRunHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getWorkflowByIdHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkTO5U6HW3_cjs.getWorkflowByIdHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getWorkflowRunByIdHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkTO5U6HW3_cjs.getWorkflowRunByIdHandler; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "getWorkflowRunExecutionResultHandler", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkTO5U6HW3_cjs.getWorkflowRunExecutionResultHandler; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getWorkflowRunsHandler", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkTO5U6HW3_cjs.getWorkflowRunsHandler; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "getWorkflowsHandler", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkTO5U6HW3_cjs.getWorkflowsHandler; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "resumeAsyncWorkflowHandler", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkTO5U6HW3_cjs.resumeAsyncWorkflowHandler; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "resumeWorkflowHandler", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkTO5U6HW3_cjs.resumeWorkflowHandler; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "startAsyncWorkflowHandler", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkTO5U6HW3_cjs.startAsyncWorkflowHandler; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "startWorkflowRunHandler", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkTO5U6HW3_cjs.startWorkflowRunHandler; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "streamWorkflowHandler", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkTO5U6HW3_cjs.streamWorkflowHandler; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "watchWorkflowHandler", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkTO5U6HW3_cjs.watchWorkflowHandler; }
|
|
54
54
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { createWorkflowRunHandler, getWorkflowByIdHandler, getWorkflowRunByIdHandler, getWorkflowRunExecutionResultHandler, getWorkflowRunsHandler, getWorkflowsHandler, resumeAsyncWorkflowHandler, resumeWorkflowHandler, startAsyncWorkflowHandler, startWorkflowRunHandler, streamWorkflowHandler, watchWorkflowHandler } from '../../chunk-
|
|
1
|
+
export { createWorkflowRunHandler, getWorkflowByIdHandler, getWorkflowRunByIdHandler, getWorkflowRunExecutionResultHandler, getWorkflowRunsHandler, getWorkflowsHandler, resumeAsyncWorkflowHandler, resumeWorkflowHandler, startAsyncWorkflowHandler, startWorkflowRunHandler, streamWorkflowHandler, watchWorkflowHandler } from '../../chunk-SOBBILUG.js';
|
package/dist/server/handlers.cjs
CHANGED
|
@@ -5,9 +5,9 @@ var chunkB4MQFJ7G_cjs = require('../chunk-B4MQFJ7G.cjs');
|
|
|
5
5
|
var chunkCPPYMJX5_cjs = require('../chunk-CPPYMJX5.cjs');
|
|
6
6
|
var chunkBNEY4P4P_cjs = require('../chunk-BNEY4P4P.cjs');
|
|
7
7
|
var chunkWJY57THV_cjs = require('../chunk-WJY57THV.cjs');
|
|
8
|
-
var
|
|
8
|
+
var chunkTO5U6HW3_cjs = require('../chunk-TO5U6HW3.cjs');
|
|
9
9
|
var chunkSDPGVWQJ_cjs = require('../chunk-SDPGVWQJ.cjs');
|
|
10
|
-
var
|
|
10
|
+
var chunkGKM45O24_cjs = require('../chunk-GKM45O24.cjs');
|
|
11
11
|
var chunk4DTDPTQC_cjs = require('../chunk-4DTDPTQC.cjs');
|
|
12
12
|
var chunkIMBY5XUG_cjs = require('../chunk-IMBY5XUG.cjs');
|
|
13
13
|
var chunkRQ2Z56EC_cjs = require('../chunk-RQ2Z56EC.cjs');
|
|
@@ -36,7 +36,7 @@ Object.defineProperty(exports, "voice", {
|
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "workflows", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkTO5U6HW3_cjs.workflows_exports; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "a2a", {
|
|
42
42
|
enumerable: true,
|
|
@@ -44,7 +44,7 @@ Object.defineProperty(exports, "a2a", {
|
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "agents", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkGKM45O24_cjs.agents_exports; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "legacyWorkflows", {
|
|
50
50
|
enumerable: true,
|
package/dist/server/handlers.js
CHANGED
|
@@ -3,9 +3,9 @@ export { telemetry_exports as telemetry } from '../chunk-BFOA2QQY.js';
|
|
|
3
3
|
export { tools_exports as tools } from '../chunk-XR7VJOOP.js';
|
|
4
4
|
export { vector_exports as vector } from '../chunk-55DOQLP6.js';
|
|
5
5
|
export { voice_exports as voice } from '../chunk-R5VGYBV6.js';
|
|
6
|
-
export { workflows_exports as workflows } from '../chunk-
|
|
6
|
+
export { workflows_exports as workflows } from '../chunk-SOBBILUG.js';
|
|
7
7
|
export { a2a_exports as a2a } from '../chunk-GHC4YV6R.js';
|
|
8
|
-
export { agents_exports as agents } from '../chunk-
|
|
8
|
+
export { agents_exports as agents } from '../chunk-PMUATKV2.js';
|
|
9
9
|
export { legacyWorkflows_exports as legacyWorkflows } from '../chunk-N2YBMSO2.js';
|
|
10
10
|
export { logs_exports as logs } from '../chunk-QLG2PFHE.js';
|
|
11
11
|
export { memory_exports as memory } from '../chunk-XUIJ7WRT.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/server",
|
|
3
|
-
"version": "0.10.7-alpha.
|
|
3
|
+
"version": "0.10.7-alpha.3",
|
|
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.13",
|
|
63
|
-
"@mastra/core": "0.10.7-alpha.
|
|
63
|
+
"@mastra/core": "0.10.7-alpha.3"
|
|
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",
|