@mastra/server 0.0.0-generate-message-id-20250512171942 → 0.0.0-http-transporter-20250702160118
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_tsup-dts-rollup.d.cts +394 -128
- package/dist/_tsup-dts-rollup.d.ts +394 -128
- package/dist/{chunk-OCWPVYNI.cjs → chunk-2KZFMI6P.cjs} +1 -0
- package/dist/{chunk-VPNDC2DI.cjs → chunk-2SLFAFTR.cjs} +12 -12
- package/dist/chunk-4D66QEKC.js +81 -0
- package/dist/{chunk-EJO45KYT.js → chunk-5PQQ42EZ.js} +43 -43
- package/dist/{chunk-4YZ3U35L.cjs → chunk-7TP2LX5L.cjs} +18 -18
- package/dist/chunk-B2PAS2IB.cjs +514 -0
- package/dist/{chunk-Q6KMBIAN.js → chunk-BK4XT6EG.js} +93 -14
- package/dist/{chunk-57CJTIPW.cjs → chunk-CCGRCYWJ.cjs} +2 -2
- package/dist/{chunk-C7564HUT.js → chunk-CRCR3ZUK.js} +3 -3
- package/dist/{chunk-24EGIVT7.cjs → chunk-DN7K6FJK.cjs} +91 -54
- package/dist/{chunk-ZE5AAC4I.cjs → chunk-FRVBFMO2.cjs} +26 -36
- package/dist/{chunk-MHKNLNAN.cjs → chunk-G7KH752Y.cjs} +10 -7
- package/dist/{chunk-P6SCPDYW.js → chunk-GHC4YV6R.js} +5 -1
- package/dist/chunk-H7DMHBKY.js +498 -0
- package/dist/chunk-JMLYCXMK.cjs +332 -0
- package/dist/{chunk-HFWCEP5S.js → chunk-KHZKYUNR.js} +33 -10
- package/dist/{chunk-NYN7KFXL.js → chunk-LCM566I4.js} +1 -0
- package/dist/chunk-LF7P5PLR.js +14 -0
- package/dist/{chunk-YWLUOY3D.cjs → chunk-LI436ITD.cjs} +107 -69
- package/dist/{chunk-TJKLBTFB.js → chunk-LRCAAFUA.js} +10 -20
- package/dist/{chunk-3HQNCTZ2.cjs → chunk-LZ3VJXSO.cjs} +107 -28
- package/dist/{chunk-LIVAK2DM.js → chunk-MEGCYGBU.js} +108 -70
- package/dist/{chunk-X3ZDCS52.js → chunk-MKLYEKEF.js} +62 -25
- package/dist/chunk-PZQDCRPV.cjs +16 -0
- package/dist/chunk-QGX47B5D.cjs +86 -0
- package/dist/{chunk-OR3CIE2H.js → chunk-RG473F6Y.js} +7 -4
- package/dist/chunk-RHSWAXKB.cjs +118 -0
- package/dist/{chunk-H5PTF3Y4.js → chunk-RSEO4XPX.js} +1 -1
- package/dist/{chunk-5SN4U5AC.cjs → chunk-SDPGVWQJ.cjs} +5 -1
- package/dist/{chunk-IU5VO2I2.js → chunk-WNVFNNWN.js} +4 -4
- package/dist/server/handlers/a2a.cjs +7 -7
- package/dist/server/handlers/a2a.js +1 -1
- package/dist/server/handlers/agents.cjs +7 -7
- package/dist/server/handlers/agents.js +1 -1
- package/dist/server/handlers/error.cjs +2 -2
- package/dist/server/handlers/error.js +1 -1
- package/dist/server/handlers/legacyWorkflows.cjs +46 -0
- package/dist/server/handlers/legacyWorkflows.d.cts +10 -0
- package/dist/server/handlers/legacyWorkflows.d.ts +10 -0
- package/dist/server/handlers/legacyWorkflows.js +1 -0
- package/dist/server/handlers/logs.cjs +4 -4
- package/dist/server/handlers/logs.js +1 -1
- package/dist/server/handlers/memory.cjs +9 -9
- package/dist/server/handlers/memory.js +1 -1
- package/dist/server/handlers/network.cjs +5 -5
- package/dist/server/handlers/network.js +1 -1
- package/dist/server/handlers/telemetry.cjs +3 -3
- package/dist/server/handlers/telemetry.js +1 -1
- package/dist/server/handlers/tools.cjs +5 -5
- package/dist/server/handlers/tools.js +1 -1
- package/dist/server/handlers/utils.cjs +2 -2
- package/dist/server/handlers/utils.js +1 -1
- package/dist/server/handlers/vNextNetwork.cjs +218 -0
- package/dist/server/handlers/vNextNetwork.d.cts +6 -0
- package/dist/server/handlers/vNextNetwork.d.ts +6 -0
- package/dist/server/handlers/vNextNetwork.js +211 -0
- package/dist/server/handlers/vector.cjs +7 -7
- package/dist/server/handlers/vector.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/workflows.cjs +29 -13
- package/dist/server/handlers/workflows.d.cts +6 -2
- package/dist/server/handlers/workflows.d.ts +6 -2
- package/dist/server/handlers/workflows.js +1 -1
- package/dist/server/handlers.cjs +28 -28
- package/dist/server/handlers.d.cts +1 -1
- package/dist/server/handlers.d.ts +1 -1
- package/dist/server/handlers.js +11 -11
- package/package.json +12 -13
- package/dist/chunk-64U3UDTH.cjs +0 -13
- package/dist/chunk-HWZVAG3H.js +0 -49
- package/dist/chunk-I2B73Y4I.cjs +0 -332
- package/dist/chunk-M5ABIP7D.js +0 -11
- package/dist/chunk-MIQYDLLM.js +0 -329
- package/dist/chunk-OGCNNUHF.cjs +0 -54
- package/dist/chunk-UCTEMO2Q.cjs +0 -341
- package/dist/chunk-YBVOQN4M.cjs +0 -94
- package/dist/server/handlers/vNextWorkflows.cjs +0 -46
- package/dist/server/handlers/vNextWorkflows.d.cts +0 -10
- package/dist/server/handlers/vNextWorkflows.d.ts +0 -10
- package/dist/server/handlers/vNextWorkflows.js +0 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk2KZFMI6P_cjs = require('./chunk-2KZFMI6P.cjs');
|
|
4
|
+
|
|
5
|
+
// src/server/handlers/error.ts
|
|
6
|
+
function handleError(error, defaultMessage) {
|
|
7
|
+
const apiError = error;
|
|
8
|
+
const apiErrorStatus = apiError.status || apiError.details?.status || 500;
|
|
9
|
+
throw new chunk2KZFMI6P_cjs.HTTPException(apiErrorStatus, {
|
|
10
|
+
message: apiError.message || defaultMessage,
|
|
11
|
+
stack: apiError.stack,
|
|
12
|
+
cause: apiError.cause
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
exports.handleError = handleError;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkCCGRCYWJ_cjs = require('./chunk-CCGRCYWJ.cjs');
|
|
4
|
+
var chunkPZQDCRPV_cjs = require('./chunk-PZQDCRPV.cjs');
|
|
5
|
+
var chunk75ZPJI57_cjs = require('./chunk-75ZPJI57.cjs');
|
|
6
|
+
|
|
7
|
+
// src/server/handlers/logs.ts
|
|
8
|
+
var logs_exports = {};
|
|
9
|
+
chunk75ZPJI57_cjs.__export(logs_exports, {
|
|
10
|
+
getLogTransports: () => getLogTransports,
|
|
11
|
+
getLogsByRunIdHandler: () => getLogsByRunIdHandler,
|
|
12
|
+
getLogsHandler: () => getLogsHandler
|
|
13
|
+
});
|
|
14
|
+
async function getLogsHandler({
|
|
15
|
+
mastra,
|
|
16
|
+
transportId,
|
|
17
|
+
params
|
|
18
|
+
}) {
|
|
19
|
+
try {
|
|
20
|
+
chunkCCGRCYWJ_cjs.validateBody({ transportId });
|
|
21
|
+
const { fromDate, toDate, logLevel, filters: _filters, page, perPage } = params || {};
|
|
22
|
+
const filters = _filters ? Object.fromEntries(
|
|
23
|
+
(Array.isArray(_filters) ? _filters : [_filters]).map((attr) => {
|
|
24
|
+
const [key, value] = attr.split(":");
|
|
25
|
+
return [key, value];
|
|
26
|
+
})
|
|
27
|
+
) : void 0;
|
|
28
|
+
const logs = await mastra.getLogs(transportId, {
|
|
29
|
+
fromDate,
|
|
30
|
+
toDate,
|
|
31
|
+
logLevel,
|
|
32
|
+
filters,
|
|
33
|
+
page: page ? Number(page) : void 0,
|
|
34
|
+
perPage: perPage ? Number(perPage) : void 0
|
|
35
|
+
});
|
|
36
|
+
return logs;
|
|
37
|
+
} catch (error) {
|
|
38
|
+
return chunkPZQDCRPV_cjs.handleError(error, "Error getting logs");
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
async function getLogsByRunIdHandler({
|
|
42
|
+
mastra,
|
|
43
|
+
runId,
|
|
44
|
+
transportId,
|
|
45
|
+
params
|
|
46
|
+
}) {
|
|
47
|
+
try {
|
|
48
|
+
chunkCCGRCYWJ_cjs.validateBody({ runId, transportId });
|
|
49
|
+
const { fromDate, toDate, logLevel, filters: _filters, page, perPage } = params || {};
|
|
50
|
+
const filters = _filters ? Object.fromEntries(
|
|
51
|
+
(Array.isArray(_filters) ? _filters : [_filters]).map((attr) => {
|
|
52
|
+
const [key, value] = attr.split(":");
|
|
53
|
+
return [key, value];
|
|
54
|
+
})
|
|
55
|
+
) : void 0;
|
|
56
|
+
const logs = await mastra.getLogsByRunId({
|
|
57
|
+
runId,
|
|
58
|
+
transportId,
|
|
59
|
+
fromDate,
|
|
60
|
+
toDate,
|
|
61
|
+
logLevel,
|
|
62
|
+
filters,
|
|
63
|
+
page: page ? Number(page) : void 0,
|
|
64
|
+
perPage: perPage ? Number(perPage) : void 0
|
|
65
|
+
});
|
|
66
|
+
return logs;
|
|
67
|
+
} catch (error) {
|
|
68
|
+
return chunkPZQDCRPV_cjs.handleError(error, "Error getting logs by run ID");
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
async function getLogTransports({ mastra }) {
|
|
72
|
+
try {
|
|
73
|
+
const logger = mastra.getLogger();
|
|
74
|
+
const transports = logger.getTransports();
|
|
75
|
+
return {
|
|
76
|
+
transports: transports ? [...transports.keys()] : []
|
|
77
|
+
};
|
|
78
|
+
} catch (error) {
|
|
79
|
+
return chunkPZQDCRPV_cjs.handleError(error, "Error getting log Transports");
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
exports.getLogTransports = getLogTransports;
|
|
84
|
+
exports.getLogsByRunIdHandler = getLogsByRunIdHandler;
|
|
85
|
+
exports.getLogsHandler = getLogsHandler;
|
|
86
|
+
exports.logs_exports = logs_exports;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { handleError } from './chunk-
|
|
2
|
-
import { HTTPException } from './chunk-
|
|
1
|
+
import { handleError } from './chunk-LF7P5PLR.js';
|
|
2
|
+
import { HTTPException } from './chunk-LCM566I4.js';
|
|
3
3
|
import { __export } from './chunk-MLKGABMK.js';
|
|
4
4
|
|
|
5
5
|
// src/server/handlers/telemetry.ts
|
|
@@ -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;
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkCCGRCYWJ_cjs = require('./chunk-CCGRCYWJ.cjs');
|
|
4
|
+
var chunkPZQDCRPV_cjs = require('./chunk-PZQDCRPV.cjs');
|
|
5
|
+
var chunk2KZFMI6P_cjs = require('./chunk-2KZFMI6P.cjs');
|
|
6
|
+
var chunk75ZPJI57_cjs = require('./chunk-75ZPJI57.cjs');
|
|
7
|
+
var stream = require('stream');
|
|
8
|
+
|
|
9
|
+
// src/server/handlers/voice.ts
|
|
10
|
+
var voice_exports = {};
|
|
11
|
+
chunk75ZPJI57_cjs.__export(voice_exports, {
|
|
12
|
+
generateSpeechHandler: () => generateSpeechHandler,
|
|
13
|
+
getListenerHandler: () => getListenerHandler,
|
|
14
|
+
getSpeakersHandler: () => getSpeakersHandler,
|
|
15
|
+
transcribeSpeechHandler: () => transcribeSpeechHandler
|
|
16
|
+
});
|
|
17
|
+
async function getSpeakersHandler({ mastra, agentId }) {
|
|
18
|
+
try {
|
|
19
|
+
if (!agentId) {
|
|
20
|
+
throw new chunk2KZFMI6P_cjs.HTTPException(400, { message: "Agent ID is required" });
|
|
21
|
+
}
|
|
22
|
+
const agent = mastra.getAgent(agentId);
|
|
23
|
+
if (!agent) {
|
|
24
|
+
throw new chunk2KZFMI6P_cjs.HTTPException(404, { message: "Agent not found" });
|
|
25
|
+
}
|
|
26
|
+
const voice = await agent.getVoice();
|
|
27
|
+
if (!voice) {
|
|
28
|
+
throw new chunk2KZFMI6P_cjs.HTTPException(400, { message: "Agent does not have voice capabilities" });
|
|
29
|
+
}
|
|
30
|
+
const speakers = await voice.getSpeakers();
|
|
31
|
+
return speakers;
|
|
32
|
+
} catch (error) {
|
|
33
|
+
return chunkPZQDCRPV_cjs.handleError(error, "Error getting speakers");
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
async function generateSpeechHandler({
|
|
37
|
+
mastra,
|
|
38
|
+
agentId,
|
|
39
|
+
body
|
|
40
|
+
}) {
|
|
41
|
+
try {
|
|
42
|
+
if (!agentId) {
|
|
43
|
+
throw new chunk2KZFMI6P_cjs.HTTPException(400, { message: "Agent ID is required" });
|
|
44
|
+
}
|
|
45
|
+
chunkCCGRCYWJ_cjs.validateBody({
|
|
46
|
+
text: body?.text
|
|
47
|
+
});
|
|
48
|
+
const agent = mastra.getAgent(agentId);
|
|
49
|
+
if (!agent) {
|
|
50
|
+
throw new chunk2KZFMI6P_cjs.HTTPException(404, { message: "Agent not found" });
|
|
51
|
+
}
|
|
52
|
+
const voice = await agent.getVoice();
|
|
53
|
+
if (!voice) {
|
|
54
|
+
throw new chunk2KZFMI6P_cjs.HTTPException(400, { message: "Agent does not have voice capabilities" });
|
|
55
|
+
}
|
|
56
|
+
const audioStream = await voice.speak(body.text, { speaker: body.speakerId });
|
|
57
|
+
if (!audioStream) {
|
|
58
|
+
throw new chunk2KZFMI6P_cjs.HTTPException(500, { message: "Failed to generate speech" });
|
|
59
|
+
}
|
|
60
|
+
return audioStream;
|
|
61
|
+
} catch (error) {
|
|
62
|
+
return chunkPZQDCRPV_cjs.handleError(error, "Error generating speech");
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
async function transcribeSpeechHandler({
|
|
66
|
+
mastra,
|
|
67
|
+
agentId,
|
|
68
|
+
body
|
|
69
|
+
}) {
|
|
70
|
+
try {
|
|
71
|
+
if (!agentId) {
|
|
72
|
+
throw new chunk2KZFMI6P_cjs.HTTPException(400, { message: "Agent ID is required" });
|
|
73
|
+
}
|
|
74
|
+
if (!body?.audioData) {
|
|
75
|
+
throw new chunk2KZFMI6P_cjs.HTTPException(400, { message: "Audio data is required" });
|
|
76
|
+
}
|
|
77
|
+
const agent = mastra.getAgent(agentId);
|
|
78
|
+
if (!agent) {
|
|
79
|
+
throw new chunk2KZFMI6P_cjs.HTTPException(404, { message: "Agent not found" });
|
|
80
|
+
}
|
|
81
|
+
const voice = await agent.getVoice();
|
|
82
|
+
if (!voice) {
|
|
83
|
+
throw new chunk2KZFMI6P_cjs.HTTPException(400, { message: "Agent does not have voice capabilities" });
|
|
84
|
+
}
|
|
85
|
+
const audioStream = new stream.Readable();
|
|
86
|
+
audioStream.push(body.audioData);
|
|
87
|
+
audioStream.push(null);
|
|
88
|
+
const text = await voice.listen(audioStream, body.options);
|
|
89
|
+
return { text };
|
|
90
|
+
} catch (error) {
|
|
91
|
+
return chunkPZQDCRPV_cjs.handleError(error, "Error transcribing speech");
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
async function getListenerHandler({ mastra, agentId }) {
|
|
95
|
+
try {
|
|
96
|
+
if (!agentId) {
|
|
97
|
+
throw new chunk2KZFMI6P_cjs.HTTPException(400, { message: "Agent ID is required" });
|
|
98
|
+
}
|
|
99
|
+
const agent = mastra.getAgent(agentId);
|
|
100
|
+
if (!agent) {
|
|
101
|
+
throw new chunk2KZFMI6P_cjs.HTTPException(404, { message: "Agent not found" });
|
|
102
|
+
}
|
|
103
|
+
const voice = await agent.getVoice();
|
|
104
|
+
if (!voice) {
|
|
105
|
+
throw new chunk2KZFMI6P_cjs.HTTPException(400, { message: "Agent does not have voice capabilities" });
|
|
106
|
+
}
|
|
107
|
+
const listeners = await voice.getListener();
|
|
108
|
+
return listeners;
|
|
109
|
+
} catch (error) {
|
|
110
|
+
return chunkPZQDCRPV_cjs.handleError(error, "Error getting listeners");
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
exports.generateSpeechHandler = generateSpeechHandler;
|
|
115
|
+
exports.getListenerHandler = getListenerHandler;
|
|
116
|
+
exports.getSpeakersHandler = getSpeakersHandler;
|
|
117
|
+
exports.transcribeSpeechHandler = transcribeSpeechHandler;
|
|
118
|
+
exports.voice_exports = voice_exports;
|
|
@@ -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,5 +1,5 @@
|
|
|
1
|
-
import { handleError } from './chunk-
|
|
2
|
-
import { HTTPException } from './chunk-
|
|
1
|
+
import { handleError } from './chunk-LF7P5PLR.js';
|
|
2
|
+
import { HTTPException } from './chunk-LCM566I4.js';
|
|
3
3
|
import { __export } from './chunk-MLKGABMK.js';
|
|
4
4
|
|
|
5
5
|
// src/server/handlers/vector.ts
|
|
@@ -91,7 +91,7 @@ async function describeIndex({
|
|
|
91
91
|
throw new HTTPException(400, { message: "Index name is required" });
|
|
92
92
|
}
|
|
93
93
|
const vector = getVector(mastra, vectorName);
|
|
94
|
-
const stats = await vector.describeIndex(indexName);
|
|
94
|
+
const stats = await vector.describeIndex({ indexName });
|
|
95
95
|
return {
|
|
96
96
|
dimension: stats.dimension,
|
|
97
97
|
count: stats.count,
|
|
@@ -111,7 +111,7 @@ async function deleteIndex({
|
|
|
111
111
|
throw new HTTPException(400, { message: "Index name is required" });
|
|
112
112
|
}
|
|
113
113
|
const vector = getVector(mastra, vectorName);
|
|
114
|
-
await vector.deleteIndex(indexName);
|
|
114
|
+
await vector.deleteIndex({ indexName });
|
|
115
115
|
return { success: true };
|
|
116
116
|
} catch (error) {
|
|
117
117
|
return handleError(error, "Error deleting index");
|
|
@@ -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,30 +1,30 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLZ3VJXSO_cjs = require('../../chunk-LZ3VJXSO.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 chunkLZ3VJXSO_cjs.generateHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getAgentByIdHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkLZ3VJXSO_cjs.getAgentByIdHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getAgentsHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkLZ3VJXSO_cjs.getAgentsHandler; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "getEvalsByAgentIdHandler", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkLZ3VJXSO_cjs.getEvalsByAgentIdHandler; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getLiveEvalsByAgentIdHandler", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkLZ3VJXSO_cjs.getLiveEvalsByAgentIdHandler; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "streamGenerateHandler", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkLZ3VJXSO_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-BK4XT6EG.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkPZQDCRPV_cjs = require('../../chunk-PZQDCRPV.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "handleError", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkPZQDCRPV_cjs.handleError; }
|
|
10
10
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { handleError } from '../../chunk-
|
|
1
|
+
export { handleError } from '../../chunk-LF7P5PLR.js';
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkJMLYCXMK_cjs = require('../../chunk-JMLYCXMK.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "createLegacyWorkflowRunHandler", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkJMLYCXMK_cjs.createLegacyWorkflowRunHandler; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "getLegacyWorkflowByIdHandler", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkJMLYCXMK_cjs.getLegacyWorkflowByIdHandler; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "getLegacyWorkflowRunHandler", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkJMLYCXMK_cjs.getLegacyWorkflowRunHandler; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "getLegacyWorkflowRunsHandler", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkJMLYCXMK_cjs.getLegacyWorkflowRunsHandler; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "getLegacyWorkflowsHandler", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunkJMLYCXMK_cjs.getLegacyWorkflowsHandler; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "resumeAsyncLegacyWorkflowHandler", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return chunkJMLYCXMK_cjs.resumeAsyncLegacyWorkflowHandler; }
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "resumeLegacyWorkflowHandler", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return chunkJMLYCXMK_cjs.resumeLegacyWorkflowHandler; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "startAsyncLegacyWorkflowHandler", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunkJMLYCXMK_cjs.startAsyncLegacyWorkflowHandler; }
|
|
38
|
+
});
|
|
39
|
+
Object.defineProperty(exports, "startLegacyWorkflowRunHandler", {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function () { return chunkJMLYCXMK_cjs.startLegacyWorkflowRunHandler; }
|
|
42
|
+
});
|
|
43
|
+
Object.defineProperty(exports, "watchLegacyWorkflowHandler", {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function () { return chunkJMLYCXMK_cjs.watchLegacyWorkflowHandler; }
|
|
46
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { getLegacyWorkflowsHandler } from '../../_tsup-dts-rollup.cjs';
|
|
2
|
+
export { getLegacyWorkflowByIdHandler } from '../../_tsup-dts-rollup.cjs';
|
|
3
|
+
export { startAsyncLegacyWorkflowHandler } from '../../_tsup-dts-rollup.cjs';
|
|
4
|
+
export { getLegacyWorkflowRunHandler } from '../../_tsup-dts-rollup.cjs';
|
|
5
|
+
export { createLegacyWorkflowRunHandler } from '../../_tsup-dts-rollup.cjs';
|
|
6
|
+
export { startLegacyWorkflowRunHandler } from '../../_tsup-dts-rollup.cjs';
|
|
7
|
+
export { watchLegacyWorkflowHandler } from '../../_tsup-dts-rollup.cjs';
|
|
8
|
+
export { resumeAsyncLegacyWorkflowHandler } from '../../_tsup-dts-rollup.cjs';
|
|
9
|
+
export { resumeLegacyWorkflowHandler } from '../../_tsup-dts-rollup.cjs';
|
|
10
|
+
export { getLegacyWorkflowRunsHandler } from '../../_tsup-dts-rollup.cjs';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { getLegacyWorkflowsHandler } from '../../_tsup-dts-rollup.js';
|
|
2
|
+
export { getLegacyWorkflowByIdHandler } from '../../_tsup-dts-rollup.js';
|
|
3
|
+
export { startAsyncLegacyWorkflowHandler } from '../../_tsup-dts-rollup.js';
|
|
4
|
+
export { getLegacyWorkflowRunHandler } from '../../_tsup-dts-rollup.js';
|
|
5
|
+
export { createLegacyWorkflowRunHandler } from '../../_tsup-dts-rollup.js';
|
|
6
|
+
export { startLegacyWorkflowRunHandler } from '../../_tsup-dts-rollup.js';
|
|
7
|
+
export { watchLegacyWorkflowHandler } from '../../_tsup-dts-rollup.js';
|
|
8
|
+
export { resumeAsyncLegacyWorkflowHandler } from '../../_tsup-dts-rollup.js';
|
|
9
|
+
export { resumeLegacyWorkflowHandler } from '../../_tsup-dts-rollup.js';
|
|
10
|
+
export { getLegacyWorkflowRunsHandler } from '../../_tsup-dts-rollup.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { createLegacyWorkflowRunHandler, getLegacyWorkflowByIdHandler, getLegacyWorkflowRunHandler, getLegacyWorkflowRunsHandler, getLegacyWorkflowsHandler, resumeAsyncLegacyWorkflowHandler, resumeLegacyWorkflowHandler, startAsyncLegacyWorkflowHandler, startLegacyWorkflowRunHandler, watchLegacyWorkflowHandler } from '../../chunk-5PQQ42EZ.js';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkQGX47B5D_cjs = require('../../chunk-QGX47B5D.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "getLogTransports", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkQGX47B5D_cjs.getLogTransports; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getLogsByRunIdHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkQGX47B5D_cjs.getLogsByRunIdHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getLogsHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkQGX47B5D_cjs.getLogsHandler; }
|
|
18
18
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { getLogTransports, getLogsByRunIdHandler, getLogsHandler } from '../../chunk-
|
|
1
|
+
export { getLogTransports, getLogsByRunIdHandler, getLogsHandler } from '../../chunk-4D66QEKC.js';
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkDN7K6FJK_cjs = require('../../chunk-DN7K6FJK.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "createThreadHandler", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkDN7K6FJK_cjs.createThreadHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "deleteThreadHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkDN7K6FJK_cjs.deleteThreadHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getMemoryStatusHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkDN7K6FJK_cjs.getMemoryStatusHandler; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "getMessagesHandler", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkDN7K6FJK_cjs.getMessagesHandler; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getThreadByIdHandler", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkDN7K6FJK_cjs.getThreadByIdHandler; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "getThreadsHandler", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkDN7K6FJK_cjs.getThreadsHandler; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "saveMessagesHandler", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkDN7K6FJK_cjs.saveMessagesHandler; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "updateThreadHandler", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkDN7K6FJK_cjs.updateThreadHandler; }
|
|
38
38
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { createThreadHandler, deleteThreadHandler, getMemoryStatusHandler, getMessagesHandler, getThreadByIdHandler, getThreadsHandler, saveMessagesHandler, updateThreadHandler } from '../../chunk-
|
|
1
|
+
export { createThreadHandler, deleteThreadHandler, getMemoryStatusHandler, getMessagesHandler, getThreadByIdHandler, getThreadsHandler, saveMessagesHandler, updateThreadHandler } from '../../chunk-MKLYEKEF.js';
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2SLFAFTR_cjs = require('../../chunk-2SLFAFTR.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 chunk2SLFAFTR_cjs.generateHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getNetworkByIdHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk2SLFAFTR_cjs.getNetworkByIdHandler; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getNetworksHandler", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk2SLFAFTR_cjs.getNetworksHandler; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "streamGenerateHandler", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk2SLFAFTR_cjs.streamGenerateHandler; }
|
|
22
22
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { generateHandler, getNetworkByIdHandler, getNetworksHandler, streamGenerateHandler } from '../../chunk-
|
|
1
|
+
export { generateHandler, getNetworkByIdHandler, getNetworksHandler, streamGenerateHandler } from '../../chunk-CRCR3ZUK.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkG7KH752Y_cjs = require('../../chunk-G7KH752Y.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 chunkG7KH752Y_cjs.getTelemetryHandler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "storeTelemetryHandler", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkG7KH752Y_cjs.storeTelemetryHandler; }
|
|
14
14
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { getTelemetryHandler, storeTelemetryHandler } from '../../chunk-
|
|
1
|
+
export { getTelemetryHandler, storeTelemetryHandler } from '../../chunk-RG473F6Y.js';
|