@mastra/server 0.10.2-alpha.1 → 0.10.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 +17 -3
- package/dist/_tsup-dts-rollup.d.ts +17 -3
- package/dist/{chunk-MHKNLNAN.cjs → chunk-B4MQFJ7G.cjs} +5 -2
- package/dist/{chunk-OR3CIE2H.js → chunk-BFOA2QQY.js} +5 -2
- package/dist/{chunk-YBVOQN4M.cjs → chunk-CMMOIUFC.cjs} +20 -0
- package/dist/{chunk-HFWCEP5S.js → chunk-CP55EVBK.js} +20 -1
- package/dist/{chunk-P6SCPDYW.js → chunk-GHC4YV6R.js} +5 -1
- package/dist/{chunk-5SN4U5AC.cjs → chunk-SDPGVWQJ.cjs} +5 -1
- package/dist/server/handlers/a2a.cjs +7 -7
- package/dist/server/handlers/a2a.js +1 -1
- package/dist/server/handlers/telemetry.cjs +3 -3
- package/dist/server/handlers/telemetry.js +1 -1
- package/dist/server/handlers/voice.cjs +8 -4
- package/dist/server/handlers/voice.d.cts +1 -0
- package/dist/server/handlers/voice.d.ts +1 -0
- package/dist/server/handlers/voice.js +1 -1
- package/dist/server/handlers.cjs +6 -6
- package/dist/server/handlers.js +3 -3
- package/package.json +3 -3
|
@@ -256,6 +256,13 @@ export declare function getLegacyWorkflowRunsHandler({ mastra, workflowId, fromD
|
|
|
256
256
|
|
|
257
257
|
export declare function getLegacyWorkflowsHandler({ mastra }: WorkflowContext): Promise<any>;
|
|
258
258
|
|
|
259
|
+
/**
|
|
260
|
+
* Get available listeners for an agent
|
|
261
|
+
*/
|
|
262
|
+
export declare function getListenerHandler({ mastra, agentId }: VoiceContext): Promise<{
|
|
263
|
+
enabled: boolean;
|
|
264
|
+
}>;
|
|
265
|
+
|
|
259
266
|
export declare function getLiveEvalsByAgentIdHandler({ mastra, runtimeContext, agentId, }: Context & {
|
|
260
267
|
runtimeContext: RuntimeContext;
|
|
261
268
|
agentId: string;
|
|
@@ -370,20 +377,22 @@ export declare function handleTaskGet({ requestId, taskStore, agentId, taskId, }
|
|
|
370
377
|
taskId: string;
|
|
371
378
|
}): Promise<JSONRPCResponse<TaskAndHistory, unknown>>;
|
|
372
379
|
|
|
373
|
-
export declare function handleTaskSend({ requestId, params, taskStore, agent, logger, runtimeContext, }: {
|
|
380
|
+
export declare function handleTaskSend({ requestId, params, taskStore, agent, agentId, logger, runtimeContext, }: {
|
|
374
381
|
requestId: string;
|
|
375
382
|
params: TaskSendParams;
|
|
376
383
|
taskStore: InMemoryTaskStore;
|
|
377
384
|
agent: Agent;
|
|
385
|
+
agentId: string;
|
|
378
386
|
logger?: IMastraLogger;
|
|
379
387
|
runtimeContext: RuntimeContext;
|
|
380
388
|
}): Promise<JSONRPCResponse<null, unknown> | JSONRPCResponse<Task, unknown>>;
|
|
381
389
|
|
|
382
|
-
export declare function handleTaskSendSubscribe({ requestId, params, taskStore, agent, logger, runtimeContext, }: {
|
|
390
|
+
export declare function handleTaskSendSubscribe({ requestId, params, taskStore, agent, agentId, logger, runtimeContext, }: {
|
|
383
391
|
requestId: string;
|
|
384
392
|
params: TaskSendParams;
|
|
385
393
|
taskStore: InMemoryTaskStore;
|
|
386
394
|
agent: Agent;
|
|
395
|
+
agentId: string;
|
|
387
396
|
logger?: IMastraLogger;
|
|
388
397
|
runtimeContext: RuntimeContext;
|
|
389
398
|
}): AsyncGenerator<JSONRPCResponse<null, unknown> | JSONRPCResponse<Task, unknown> | JSONRPCResponse< {
|
|
@@ -654,6 +663,10 @@ export declare function storeTelemetryHandler({ mastra, body }: Context & {
|
|
|
654
663
|
status: string;
|
|
655
664
|
message: string;
|
|
656
665
|
error: any;
|
|
666
|
+
} | {
|
|
667
|
+
status: string;
|
|
668
|
+
message: string;
|
|
669
|
+
traceCount?: undefined;
|
|
657
670
|
} | {
|
|
658
671
|
status: string;
|
|
659
672
|
message: string;
|
|
@@ -789,7 +802,8 @@ export declare namespace voice {
|
|
|
789
802
|
export {
|
|
790
803
|
getSpeakersHandler,
|
|
791
804
|
generateSpeechHandler,
|
|
792
|
-
transcribeSpeechHandler
|
|
805
|
+
transcribeSpeechHandler,
|
|
806
|
+
getListenerHandler
|
|
793
807
|
}
|
|
794
808
|
}
|
|
795
809
|
|
|
@@ -256,6 +256,13 @@ export declare function getLegacyWorkflowRunsHandler({ mastra, workflowId, fromD
|
|
|
256
256
|
|
|
257
257
|
export declare function getLegacyWorkflowsHandler({ mastra }: WorkflowContext): Promise<any>;
|
|
258
258
|
|
|
259
|
+
/**
|
|
260
|
+
* Get available listeners for an agent
|
|
261
|
+
*/
|
|
262
|
+
export declare function getListenerHandler({ mastra, agentId }: VoiceContext): Promise<{
|
|
263
|
+
enabled: boolean;
|
|
264
|
+
}>;
|
|
265
|
+
|
|
259
266
|
export declare function getLiveEvalsByAgentIdHandler({ mastra, runtimeContext, agentId, }: Context & {
|
|
260
267
|
runtimeContext: RuntimeContext;
|
|
261
268
|
agentId: string;
|
|
@@ -370,20 +377,22 @@ export declare function handleTaskGet({ requestId, taskStore, agentId, taskId, }
|
|
|
370
377
|
taskId: string;
|
|
371
378
|
}): Promise<JSONRPCResponse<TaskAndHistory, unknown>>;
|
|
372
379
|
|
|
373
|
-
export declare function handleTaskSend({ requestId, params, taskStore, agent, logger, runtimeContext, }: {
|
|
380
|
+
export declare function handleTaskSend({ requestId, params, taskStore, agent, agentId, logger, runtimeContext, }: {
|
|
374
381
|
requestId: string;
|
|
375
382
|
params: TaskSendParams;
|
|
376
383
|
taskStore: InMemoryTaskStore;
|
|
377
384
|
agent: Agent;
|
|
385
|
+
agentId: string;
|
|
378
386
|
logger?: IMastraLogger;
|
|
379
387
|
runtimeContext: RuntimeContext;
|
|
380
388
|
}): Promise<JSONRPCResponse<null, unknown> | JSONRPCResponse<Task, unknown>>;
|
|
381
389
|
|
|
382
|
-
export declare function handleTaskSendSubscribe({ requestId, params, taskStore, agent, logger, runtimeContext, }: {
|
|
390
|
+
export declare function handleTaskSendSubscribe({ requestId, params, taskStore, agent, agentId, logger, runtimeContext, }: {
|
|
383
391
|
requestId: string;
|
|
384
392
|
params: TaskSendParams;
|
|
385
393
|
taskStore: InMemoryTaskStore;
|
|
386
394
|
agent: Agent;
|
|
395
|
+
agentId: string;
|
|
387
396
|
logger?: IMastraLogger;
|
|
388
397
|
runtimeContext: RuntimeContext;
|
|
389
398
|
}): AsyncGenerator<JSONRPCResponse<null, unknown> | JSONRPCResponse<Task, unknown> | JSONRPCResponse< {
|
|
@@ -654,6 +663,10 @@ export declare function storeTelemetryHandler({ mastra, body }: Context & {
|
|
|
654
663
|
status: string;
|
|
655
664
|
message: string;
|
|
656
665
|
error: any;
|
|
666
|
+
} | {
|
|
667
|
+
status: string;
|
|
668
|
+
message: string;
|
|
669
|
+
traceCount?: undefined;
|
|
657
670
|
} | {
|
|
658
671
|
status: string;
|
|
659
672
|
message: string;
|
|
@@ -789,7 +802,8 @@ export declare namespace voice {
|
|
|
789
802
|
export {
|
|
790
803
|
getSpeakersHandler,
|
|
791
804
|
generateSpeechHandler,
|
|
792
|
-
transcribeSpeechHandler
|
|
805
|
+
transcribeSpeechHandler,
|
|
806
|
+
getListenerHandler
|
|
793
807
|
}
|
|
794
808
|
}
|
|
795
809
|
|
|
@@ -18,7 +18,7 @@ async function getTelemetryHandler({ mastra, body }) {
|
|
|
18
18
|
throw new chunkOCWPVYNI_cjs.HTTPException(400, { message: "Telemetry is not initialized" });
|
|
19
19
|
}
|
|
20
20
|
if (!storage) {
|
|
21
|
-
|
|
21
|
+
return [];
|
|
22
22
|
}
|
|
23
23
|
if (!body) {
|
|
24
24
|
throw new chunkOCWPVYNI_cjs.HTTPException(400, { message: "Body is required" });
|
|
@@ -49,7 +49,10 @@ async function storeTelemetryHandler({ mastra, body }) {
|
|
|
49
49
|
const storage = mastra.getStorage();
|
|
50
50
|
const logger = mastra.getLogger();
|
|
51
51
|
if (!storage) {
|
|
52
|
-
|
|
52
|
+
return {
|
|
53
|
+
status: "error",
|
|
54
|
+
message: "Storage is not initialized"
|
|
55
|
+
};
|
|
53
56
|
}
|
|
54
57
|
const now = /* @__PURE__ */ new Date();
|
|
55
58
|
const items = body?.resourceSpans?.[0]?.scopeSpans;
|
|
@@ -16,7 +16,7 @@ async function getTelemetryHandler({ mastra, body }) {
|
|
|
16
16
|
throw new HTTPException(400, { message: "Telemetry is not initialized" });
|
|
17
17
|
}
|
|
18
18
|
if (!storage) {
|
|
19
|
-
|
|
19
|
+
return [];
|
|
20
20
|
}
|
|
21
21
|
if (!body) {
|
|
22
22
|
throw new HTTPException(400, { message: "Body is required" });
|
|
@@ -47,7 +47,10 @@ async function storeTelemetryHandler({ mastra, body }) {
|
|
|
47
47
|
const storage = mastra.getStorage();
|
|
48
48
|
const logger = mastra.getLogger();
|
|
49
49
|
if (!storage) {
|
|
50
|
-
|
|
50
|
+
return {
|
|
51
|
+
status: "error",
|
|
52
|
+
message: "Storage is not initialized"
|
|
53
|
+
};
|
|
51
54
|
}
|
|
52
55
|
const now = /* @__PURE__ */ new Date();
|
|
53
56
|
const items = body?.resourceSpans?.[0]?.scopeSpans;
|
|
@@ -10,6 +10,7 @@ var stream = require('stream');
|
|
|
10
10
|
var voice_exports = {};
|
|
11
11
|
chunk75ZPJI57_cjs.__export(voice_exports, {
|
|
12
12
|
generateSpeechHandler: () => generateSpeechHandler,
|
|
13
|
+
getListenerHandler: () => getListenerHandler,
|
|
13
14
|
getSpeakersHandler: () => getSpeakersHandler,
|
|
14
15
|
transcribeSpeechHandler: () => transcribeSpeechHandler
|
|
15
16
|
});
|
|
@@ -87,8 +88,27 @@ async function transcribeSpeechHandler({
|
|
|
87
88
|
return chunk64U3UDTH_cjs.handleError(error, "Error transcribing speech");
|
|
88
89
|
}
|
|
89
90
|
}
|
|
91
|
+
async function getListenerHandler({ mastra, agentId }) {
|
|
92
|
+
try {
|
|
93
|
+
if (!agentId) {
|
|
94
|
+
throw new chunkOCWPVYNI_cjs.HTTPException(400, { message: "Agent ID is required" });
|
|
95
|
+
}
|
|
96
|
+
const agent = mastra.getAgent(agentId);
|
|
97
|
+
if (!agent) {
|
|
98
|
+
throw new chunkOCWPVYNI_cjs.HTTPException(404, { message: "Agent not found" });
|
|
99
|
+
}
|
|
100
|
+
if (!agent.voice) {
|
|
101
|
+
throw new chunkOCWPVYNI_cjs.HTTPException(400, { message: "Agent does not have voice capabilities" });
|
|
102
|
+
}
|
|
103
|
+
const listeners = await agent.voice.getListener();
|
|
104
|
+
return listeners;
|
|
105
|
+
} catch (error) {
|
|
106
|
+
return chunk64U3UDTH_cjs.handleError(error, "Error getting listeners");
|
|
107
|
+
}
|
|
108
|
+
}
|
|
90
109
|
|
|
91
110
|
exports.generateSpeechHandler = generateSpeechHandler;
|
|
111
|
+
exports.getListenerHandler = getListenerHandler;
|
|
92
112
|
exports.getSpeakersHandler = getSpeakersHandler;
|
|
93
113
|
exports.transcribeSpeechHandler = transcribeSpeechHandler;
|
|
94
114
|
exports.voice_exports = voice_exports;
|
|
@@ -8,6 +8,7 @@ import { Readable } from 'stream';
|
|
|
8
8
|
var voice_exports = {};
|
|
9
9
|
__export(voice_exports, {
|
|
10
10
|
generateSpeechHandler: () => generateSpeechHandler,
|
|
11
|
+
getListenerHandler: () => getListenerHandler,
|
|
11
12
|
getSpeakersHandler: () => getSpeakersHandler,
|
|
12
13
|
transcribeSpeechHandler: () => transcribeSpeechHandler
|
|
13
14
|
});
|
|
@@ -85,5 +86,23 @@ async function transcribeSpeechHandler({
|
|
|
85
86
|
return handleError(error, "Error transcribing speech");
|
|
86
87
|
}
|
|
87
88
|
}
|
|
89
|
+
async function getListenerHandler({ mastra, agentId }) {
|
|
90
|
+
try {
|
|
91
|
+
if (!agentId) {
|
|
92
|
+
throw new HTTPException(400, { message: "Agent ID is required" });
|
|
93
|
+
}
|
|
94
|
+
const agent = mastra.getAgent(agentId);
|
|
95
|
+
if (!agent) {
|
|
96
|
+
throw new HTTPException(404, { message: "Agent not found" });
|
|
97
|
+
}
|
|
98
|
+
if (!agent.voice) {
|
|
99
|
+
throw new HTTPException(400, { message: "Agent does not have voice capabilities" });
|
|
100
|
+
}
|
|
101
|
+
const listeners = await agent.voice.getListener();
|
|
102
|
+
return listeners;
|
|
103
|
+
} catch (error) {
|
|
104
|
+
return handleError(error, "Error getting listeners");
|
|
105
|
+
}
|
|
106
|
+
}
|
|
88
107
|
|
|
89
|
-
export { generateSpeechHandler, getSpeakersHandler, transcribeSpeechHandler, voice_exports };
|
|
108
|
+
export { generateSpeechHandler, getListenerHandler, getSpeakersHandler, transcribeSpeechHandler, voice_exports };
|
|
@@ -296,11 +296,11 @@ async function handleTaskSend({
|
|
|
296
296
|
params,
|
|
297
297
|
taskStore,
|
|
298
298
|
agent,
|
|
299
|
+
agentId,
|
|
299
300
|
logger,
|
|
300
301
|
runtimeContext
|
|
301
302
|
}) {
|
|
302
303
|
validateTaskSendParams(params);
|
|
303
|
-
const agentId = agent.id;
|
|
304
304
|
const { id: taskId, message, sessionId, metadata } = params;
|
|
305
305
|
let currentData = await loadOrCreateTaskAndHistory({
|
|
306
306
|
taskId,
|
|
@@ -374,6 +374,7 @@ async function* handleTaskSendSubscribe({
|
|
|
374
374
|
params,
|
|
375
375
|
taskStore,
|
|
376
376
|
agent,
|
|
377
|
+
agentId,
|
|
377
378
|
logger,
|
|
378
379
|
runtimeContext
|
|
379
380
|
}) {
|
|
@@ -391,6 +392,7 @@ async function* handleTaskSendSubscribe({
|
|
|
391
392
|
params,
|
|
392
393
|
taskStore,
|
|
393
394
|
agent,
|
|
395
|
+
agentId,
|
|
394
396
|
runtimeContext,
|
|
395
397
|
logger
|
|
396
398
|
});
|
|
@@ -455,6 +457,7 @@ async function getAgentExecutionHandler({
|
|
|
455
457
|
params,
|
|
456
458
|
taskStore,
|
|
457
459
|
agent,
|
|
460
|
+
agentId,
|
|
458
461
|
runtimeContext
|
|
459
462
|
});
|
|
460
463
|
return result2;
|
|
@@ -465,6 +468,7 @@ async function getAgentExecutionHandler({
|
|
|
465
468
|
taskStore,
|
|
466
469
|
params,
|
|
467
470
|
agent,
|
|
471
|
+
agentId,
|
|
468
472
|
runtimeContext
|
|
469
473
|
});
|
|
470
474
|
return result;
|
|
@@ -298,11 +298,11 @@ async function handleTaskSend({
|
|
|
298
298
|
params,
|
|
299
299
|
taskStore,
|
|
300
300
|
agent,
|
|
301
|
+
agentId,
|
|
301
302
|
logger,
|
|
302
303
|
runtimeContext
|
|
303
304
|
}) {
|
|
304
305
|
validateTaskSendParams(params);
|
|
305
|
-
const agentId = agent.id;
|
|
306
306
|
const { id: taskId, message, sessionId, metadata } = params;
|
|
307
307
|
let currentData = await loadOrCreateTaskAndHistory({
|
|
308
308
|
taskId,
|
|
@@ -376,6 +376,7 @@ async function* handleTaskSendSubscribe({
|
|
|
376
376
|
params,
|
|
377
377
|
taskStore,
|
|
378
378
|
agent,
|
|
379
|
+
agentId,
|
|
379
380
|
logger,
|
|
380
381
|
runtimeContext
|
|
381
382
|
}) {
|
|
@@ -393,6 +394,7 @@ async function* handleTaskSendSubscribe({
|
|
|
393
394
|
params,
|
|
394
395
|
taskStore,
|
|
395
396
|
agent,
|
|
397
|
+
agentId,
|
|
396
398
|
runtimeContext,
|
|
397
399
|
logger
|
|
398
400
|
});
|
|
@@ -457,6 +459,7 @@ async function getAgentExecutionHandler({
|
|
|
457
459
|
params,
|
|
458
460
|
taskStore,
|
|
459
461
|
agent,
|
|
462
|
+
agentId,
|
|
460
463
|
runtimeContext
|
|
461
464
|
});
|
|
462
465
|
return result2;
|
|
@@ -467,6 +470,7 @@ async function getAgentExecutionHandler({
|
|
|
467
470
|
taskStore,
|
|
468
471
|
params,
|
|
469
472
|
agent,
|
|
473
|
+
agentId,
|
|
470
474
|
runtimeContext
|
|
471
475
|
});
|
|
472
476
|
return result;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkSDPGVWQJ_cjs = require('../../chunk-SDPGVWQJ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "getAgentCardByIdHandler", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkSDPGVWQJ_cjs.getAgentCardByIdHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getAgentExecutionHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkSDPGVWQJ_cjs.getAgentExecutionHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "handleTaskCancel", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkSDPGVWQJ_cjs.handleTaskCancel; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "handleTaskGet", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkSDPGVWQJ_cjs.handleTaskGet; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "handleTaskSend", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkSDPGVWQJ_cjs.handleTaskSend; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "handleTaskSendSubscribe", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkSDPGVWQJ_cjs.handleTaskSendSubscribe; }
|
|
30
30
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { getAgentCardByIdHandler, getAgentExecutionHandler, handleTaskCancel, handleTaskGet, handleTaskSend, handleTaskSendSubscribe } from '../../chunk-
|
|
1
|
+
export { getAgentCardByIdHandler, getAgentExecutionHandler, handleTaskCancel, handleTaskGet, handleTaskSend, handleTaskSendSubscribe } from '../../chunk-GHC4YV6R.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkB4MQFJ7G_cjs = require('../../chunk-B4MQFJ7G.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 chunkB4MQFJ7G_cjs.getTelemetryHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "storeTelemetryHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkB4MQFJ7G_cjs.storeTelemetryHandler; }
|
|
14
14
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { getTelemetryHandler, storeTelemetryHandler } from '../../chunk-
|
|
1
|
+
export { getTelemetryHandler, storeTelemetryHandler } from '../../chunk-BFOA2QQY.js';
|
|
@@ -1,18 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkCMMOIUFC_cjs = require('../../chunk-CMMOIUFC.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 chunkCMMOIUFC_cjs.generateSpeechHandler; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "getListenerHandler", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkCMMOIUFC_cjs.getListenerHandler; }
|
|
10
14
|
});
|
|
11
15
|
Object.defineProperty(exports, "getSpeakersHandler", {
|
|
12
16
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkCMMOIUFC_cjs.getSpeakersHandler; }
|
|
14
18
|
});
|
|
15
19
|
Object.defineProperty(exports, "transcribeSpeechHandler", {
|
|
16
20
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkCMMOIUFC_cjs.transcribeSpeechHandler; }
|
|
18
22
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { generateSpeechHandler, getSpeakersHandler, transcribeSpeechHandler } from '../../chunk-
|
|
1
|
+
export { generateSpeechHandler, getListenerHandler, getSpeakersHandler, transcribeSpeechHandler } from '../../chunk-CP55EVBK.js';
|
package/dist/server/handlers.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkVPNDC2DI_cjs = require('../chunk-VPNDC2DI.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkB4MQFJ7G_cjs = require('../chunk-B4MQFJ7G.cjs');
|
|
5
5
|
var chunkZE5AAC4I_cjs = require('../chunk-ZE5AAC4I.cjs');
|
|
6
6
|
var chunkBNEY4P4P_cjs = require('../chunk-BNEY4P4P.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkCMMOIUFC_cjs = require('../chunk-CMMOIUFC.cjs');
|
|
8
8
|
var chunkMMO2HDM6_cjs = require('../chunk-MMO2HDM6.cjs');
|
|
9
|
-
var
|
|
9
|
+
var chunkSDPGVWQJ_cjs = require('../chunk-SDPGVWQJ.cjs');
|
|
10
10
|
var chunkA3KDUGS7_cjs = require('../chunk-A3KDUGS7.cjs');
|
|
11
11
|
var chunkYIOVBYZH_cjs = require('../chunk-YIOVBYZH.cjs');
|
|
12
12
|
var chunkNEOOQUKW_cjs = require('../chunk-NEOOQUKW.cjs');
|
|
@@ -20,7 +20,7 @@ Object.defineProperty(exports, "network", {
|
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "telemetry", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkB4MQFJ7G_cjs.telemetry_exports; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "tools", {
|
|
26
26
|
enumerable: true,
|
|
@@ -32,7 +32,7 @@ Object.defineProperty(exports, "vector", {
|
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "voice", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkCMMOIUFC_cjs.voice_exports; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "workflows", {
|
|
38
38
|
enumerable: true,
|
|
@@ -40,7 +40,7 @@ Object.defineProperty(exports, "workflows", {
|
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "a2a", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkSDPGVWQJ_cjs.a2a_exports; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "agents", {
|
|
46
46
|
enumerable: true,
|
package/dist/server/handlers.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export { network_exports as network } from '../chunk-C7564HUT.js';
|
|
2
|
-
export { telemetry_exports as telemetry } from '../chunk-
|
|
2
|
+
export { telemetry_exports as telemetry } from '../chunk-BFOA2QQY.js';
|
|
3
3
|
export { tools_exports as tools } from '../chunk-TJKLBTFB.js';
|
|
4
4
|
export { vector_exports as vector } from '../chunk-55DOQLP6.js';
|
|
5
|
-
export { voice_exports as voice } from '../chunk-
|
|
5
|
+
export { voice_exports as voice } from '../chunk-CP55EVBK.js';
|
|
6
6
|
export { workflows_exports as workflows } from '../chunk-KUNQFY2W.js';
|
|
7
|
-
export { a2a_exports as a2a } from '../chunk-
|
|
7
|
+
export { a2a_exports as a2a } from '../chunk-GHC4YV6R.js';
|
|
8
8
|
export { agents_exports as agents } from '../chunk-J3PKLB3A.js';
|
|
9
9
|
export { legacyWorkflows_exports as legacyWorkflows } from '../chunk-W7VCKPAD.js';
|
|
10
10
|
export { logs_exports as logs } from '../chunk-DQLE3DVM.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/server",
|
|
3
|
-
"version": "0.10.2-alpha.
|
|
3
|
+
"version": "0.10.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.10.0",
|
|
49
|
+
"@mastra/core": "^0.10.2-alpha.0",
|
|
50
50
|
"zod": "^3.0.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"zod": "^3.24.3",
|
|
62
62
|
"zod-to-json-schema": "^3.24.5",
|
|
63
63
|
"@internal/lint": "0.0.7",
|
|
64
|
-
"@mastra/core": "0.10.2-alpha.
|
|
64
|
+
"@mastra/core": "0.10.2-alpha.3"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"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",
|