@mastra/core 0.9.0-alpha.5 → 0.9.0-alpha.7
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/agent/index.cjs +2 -2
- package/dist/agent/index.js +1 -1
- package/dist/{chunk-E5CFDUHK.cjs → chunk-3XWBNOSO.cjs} +2 -2
- package/dist/{chunk-2A2M2HHE.js → chunk-5OPUKM43.js} +1 -1
- package/dist/{chunk-GHIBOJBM.cjs → chunk-63YK3N3V.cjs} +2 -2
- package/dist/{chunk-WBSBDECU.cjs → chunk-BBDXZGCM.cjs} +16 -16
- package/dist/{chunk-XD3ZW5QR.js → chunk-BUNPX6LU.js} +2 -2
- package/dist/{chunk-SWEQNJKB.cjs → chunk-F4WOCJZQ.cjs} +2 -2
- package/dist/{chunk-K2ND7GWX.js → chunk-HHDP5KHS.js} +1 -1
- package/dist/{chunk-4EEVN2IP.js → chunk-KAJSLFMA.js} +3 -5
- package/dist/{chunk-GNLZQNPE.cjs → chunk-KR6AYHNH.cjs} +3 -5
- package/dist/{chunk-QUJUO2L7.js → chunk-M6MZXBG5.js} +1 -1
- package/dist/index.cjs +49 -49
- package/dist/index.js +8 -8
- package/dist/integration/index.cjs +3 -3
- package/dist/integration/index.js +1 -1
- package/dist/memory/index.cjs +3 -3
- package/dist/memory/index.js +1 -1
- package/dist/network/index.cjs +4 -4
- package/dist/network/index.js +2 -2
- package/dist/relevance/index.cjs +4 -4
- package/dist/relevance/index.js +1 -1
- package/dist/tools/index.cjs +4 -4
- package/dist/tools/index.js +1 -1
- package/dist/utils.cjs +13 -13
- package/dist/utils.js +1 -1
- package/dist/workflows/index.cjs +23 -23
- package/dist/workflows/index.js +1 -1
- package/package.json +1 -1
package/dist/agent/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBBDXZGCM_cjs = require('../chunk-BBDXZGCM.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Agent", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkBBDXZGCM_cjs.Agent; }
|
|
10
10
|
});
|
package/dist/agent/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Agent } from '../chunk-
|
|
1
|
+
export { Agent } from '../chunk-BUNPX6LU.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkKR6AYHNH_cjs = require('./chunk-KR6AYHNH.cjs');
|
|
4
4
|
var zod = require('zod');
|
|
5
5
|
|
|
6
6
|
// src/integration/integration.ts
|
|
@@ -68,7 +68,7 @@ var OpenAPIToolset = class {
|
|
|
68
68
|
const tools = Object.keys(clientMethods).reduce((acc, key) => {
|
|
69
69
|
const comment = documentations[key]?.comment;
|
|
70
70
|
const fallbackComment = `Execute ${key}`;
|
|
71
|
-
const tool =
|
|
71
|
+
const tool = chunkKR6AYHNH_cjs.createTool({
|
|
72
72
|
id: key,
|
|
73
73
|
inputSchema: schemas[key] || zod.z.object({}),
|
|
74
74
|
description: comment || fallbackComment,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LibSQLVector } from './chunk-YVPTMEI4.js';
|
|
2
2
|
import { DefaultProxyStorage, augmentWithInit } from './chunk-LANFNMEE.js';
|
|
3
|
-
import { deepMerge } from './chunk-
|
|
3
|
+
import { deepMerge } from './chunk-KAJSLFMA.js';
|
|
4
4
|
import { MastraBase } from './chunk-CLJQYXNM.js';
|
|
5
5
|
import { existsSync } from 'fs';
|
|
6
6
|
import { join } from 'path';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkAAMFAGE5_cjs = require('./chunk-AAMFAGE5.cjs');
|
|
4
4
|
var chunkWEYWYKLG_cjs = require('./chunk-WEYWYKLG.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkKR6AYHNH_cjs = require('./chunk-KR6AYHNH.cjs');
|
|
6
6
|
var chunkD63P5O4Q_cjs = require('./chunk-D63P5O4Q.cjs');
|
|
7
7
|
var fs = require('fs');
|
|
8
8
|
var path = require('path');
|
|
@@ -227,7 +227,7 @@ var MastraMemory = class extends chunkD63P5O4Q_cjs.MastraBase {
|
|
|
227
227
|
return { indexName };
|
|
228
228
|
}
|
|
229
229
|
getMergedThreadConfig(config) {
|
|
230
|
-
return
|
|
230
|
+
return chunkKR6AYHNH_cjs.deepMerge(this.threadConfig, config || {});
|
|
231
231
|
}
|
|
232
232
|
/**
|
|
233
233
|
* Apply all configured message processors to a list of messages.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkFKUPMQZP_cjs = require('./chunk-FKUPMQZP.cjs');
|
|
4
4
|
var chunkRIBNDTA6_cjs = require('./chunk-RIBNDTA6.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkKR6AYHNH_cjs = require('./chunk-KR6AYHNH.cjs');
|
|
6
6
|
var chunkD63P5O4Q_cjs = require('./chunk-D63P5O4Q.cjs');
|
|
7
7
|
var chunkO7IW545H_cjs = require('./chunk-O7IW545H.cjs');
|
|
8
8
|
var chunkLZQIMLJV_cjs = require('./chunk-LZQIMLJV.cjs');
|
|
@@ -205,7 +205,7 @@ var MastraLLM = class extends MastraLLMBase {
|
|
|
205
205
|
let mastraProxy = void 0;
|
|
206
206
|
const logger = this.logger;
|
|
207
207
|
if (this.#mastra) {
|
|
208
|
-
mastraProxy =
|
|
208
|
+
mastraProxy = chunkKR6AYHNH_cjs.createMastraProxy({
|
|
209
209
|
mastra: this.#mastra,
|
|
210
210
|
logger
|
|
211
211
|
});
|
|
@@ -224,7 +224,7 @@ var MastraLLM = class extends MastraLLMBase {
|
|
|
224
224
|
mastra: mastraProxy,
|
|
225
225
|
container
|
|
226
226
|
};
|
|
227
|
-
memo[k] =
|
|
227
|
+
memo[k] = chunkKR6AYHNH_cjs.makeCoreTool(tool, options);
|
|
228
228
|
}
|
|
229
229
|
return memo;
|
|
230
230
|
}, {});
|
|
@@ -287,7 +287,7 @@ var MastraLLM = class extends MastraLLMBase {
|
|
|
287
287
|
this.logger.warn("Rate limit approaching, waiting 10 seconds", {
|
|
288
288
|
runId
|
|
289
289
|
});
|
|
290
|
-
await
|
|
290
|
+
await chunkKR6AYHNH_cjs.delay(10 * 1e3);
|
|
291
291
|
}
|
|
292
292
|
},
|
|
293
293
|
...rest
|
|
@@ -369,7 +369,7 @@ var MastraLLM = class extends MastraLLMBase {
|
|
|
369
369
|
this.logger.warn("Rate limit approaching, waiting 10 seconds", {
|
|
370
370
|
runId
|
|
371
371
|
});
|
|
372
|
-
await
|
|
372
|
+
await chunkKR6AYHNH_cjs.delay(10 * 1e3);
|
|
373
373
|
}
|
|
374
374
|
},
|
|
375
375
|
...rest
|
|
@@ -453,7 +453,7 @@ var MastraLLM = class extends MastraLLMBase {
|
|
|
453
453
|
this.logger.warn("Rate limit approaching, waiting 10 seconds", {
|
|
454
454
|
runId
|
|
455
455
|
});
|
|
456
|
-
await
|
|
456
|
+
await chunkKR6AYHNH_cjs.delay(10 * 1e3);
|
|
457
457
|
}
|
|
458
458
|
},
|
|
459
459
|
onFinish: async props => {
|
|
@@ -554,7 +554,7 @@ var MastraLLM = class extends MastraLLMBase {
|
|
|
554
554
|
this.logger.warn("Rate limit approaching, waiting 10 seconds", {
|
|
555
555
|
runId
|
|
556
556
|
});
|
|
557
|
-
await
|
|
557
|
+
await chunkKR6AYHNH_cjs.delay(10 * 1e3);
|
|
558
558
|
}
|
|
559
559
|
},
|
|
560
560
|
onFinish: async props => {
|
|
@@ -751,7 +751,7 @@ exports.Agent = class Agent extends (_a = chunkD63P5O4Q_cjs.MastraBase) {
|
|
|
751
751
|
this.metrics = {};
|
|
752
752
|
this.evals = {};
|
|
753
753
|
if (config.tools) {
|
|
754
|
-
this.tools =
|
|
754
|
+
this.tools = chunkKR6AYHNH_cjs.ensureToolProperties(config.tools);
|
|
755
755
|
}
|
|
756
756
|
if (config.mastra) {
|
|
757
757
|
this.__registerMastra(config.mastra);
|
|
@@ -881,7 +881,7 @@ exports.Agent = class Agent extends (_a = chunkD63P5O4Q_cjs.MastraBase) {
|
|
|
881
881
|
messages: userMessages
|
|
882
882
|
};
|
|
883
883
|
}
|
|
884
|
-
const newMessages =
|
|
884
|
+
const newMessages = chunkKR6AYHNH_cjs.ensureAllMessagesAreCoreMessages(userMessages);
|
|
885
885
|
const now = Date.now();
|
|
886
886
|
const messages = newMessages.map((u, index) => {
|
|
887
887
|
return {
|
|
@@ -925,7 +925,7 @@ exports.Agent = class Agent extends (_a = chunkD63P5O4Q_cjs.MastraBase) {
|
|
|
925
925
|
messages: [memorySystemMessage ? {
|
|
926
926
|
role: "system",
|
|
927
927
|
content: memorySystemMessage
|
|
928
|
-
} : null, ...processedMessages
|
|
928
|
+
} : null, ...processedMessages].filter(message => Boolean(message))
|
|
929
929
|
};
|
|
930
930
|
}
|
|
931
931
|
return {
|
|
@@ -1059,7 +1059,7 @@ exports.Agent = class Agent extends (_a = chunkD63P5O4Q_cjs.MastraBase) {
|
|
|
1059
1059
|
let mastraProxy = void 0;
|
|
1060
1060
|
const logger = this.logger;
|
|
1061
1061
|
if (this.#mastra) {
|
|
1062
|
-
mastraProxy =
|
|
1062
|
+
mastraProxy = chunkKR6AYHNH_cjs.createMastraProxy({
|
|
1063
1063
|
mastra: this.#mastra,
|
|
1064
1064
|
logger
|
|
1065
1065
|
});
|
|
@@ -1079,7 +1079,7 @@ exports.Agent = class Agent extends (_a = chunkD63P5O4Q_cjs.MastraBase) {
|
|
|
1079
1079
|
agentName: this.name,
|
|
1080
1080
|
container
|
|
1081
1081
|
};
|
|
1082
|
-
memo[k] =
|
|
1082
|
+
memo[k] = chunkKR6AYHNH_cjs.makeCoreTool(tool, options);
|
|
1083
1083
|
}
|
|
1084
1084
|
return memo;
|
|
1085
1085
|
}, {});
|
|
@@ -1144,7 +1144,7 @@ exports.Agent = class Agent extends (_a = chunkD63P5O4Q_cjs.MastraBase) {
|
|
|
1144
1144
|
agentName: this.name,
|
|
1145
1145
|
container
|
|
1146
1146
|
};
|
|
1147
|
-
const convertedToCoreTool =
|
|
1147
|
+
const convertedToCoreTool = chunkKR6AYHNH_cjs.makeCoreTool(toolObj, options, "toolset");
|
|
1148
1148
|
toolsFromToolsetsConverted[toolName] = convertedToCoreTool;
|
|
1149
1149
|
});
|
|
1150
1150
|
});
|
|
@@ -1170,7 +1170,7 @@ exports.Agent = class Agent extends (_a = chunkD63P5O4Q_cjs.MastraBase) {
|
|
|
1170
1170
|
agentName: this.name,
|
|
1171
1171
|
container
|
|
1172
1172
|
};
|
|
1173
|
-
const convertedToCoreTool =
|
|
1173
|
+
const convertedToCoreTool = chunkKR6AYHNH_cjs.makeCoreTool(rest, options, "client-tool");
|
|
1174
1174
|
toolsFromToolsetsConverted[toolName] = convertedToCoreTool;
|
|
1175
1175
|
});
|
|
1176
1176
|
}
|
|
@@ -1337,7 +1337,7 @@ exports.Agent = class Agent extends (_a = chunkD63P5O4Q_cjs.MastraBase) {
|
|
|
1337
1337
|
const userMessage = this.getMostRecentUserMessage(messages);
|
|
1338
1338
|
const newMessages = userMessage ? [userMessage] : messages;
|
|
1339
1339
|
const now = Date.now();
|
|
1340
|
-
const threadMessages = this.sanitizeResponseMessages(
|
|
1340
|
+
const threadMessages = this.sanitizeResponseMessages(chunkKR6AYHNH_cjs.ensureAllMessagesAreCoreMessages(newMessages)).map((u, index) => {
|
|
1341
1341
|
return {
|
|
1342
1342
|
id: this.getMemory()?.generateId(),
|
|
1343
1343
|
createdAt: new Date(now + index),
|
|
@@ -2398,7 +2398,7 @@ var Machine = class extends EventEmitter__default.default {
|
|
|
2398
2398
|
const logger = this.logger;
|
|
2399
2399
|
let mastraProxy = void 0;
|
|
2400
2400
|
if (this.#mastra) {
|
|
2401
|
-
mastraProxy =
|
|
2401
|
+
mastraProxy = chunkKR6AYHNH_cjs.createMastraProxy({
|
|
2402
2402
|
mastra: this.#mastra,
|
|
2403
2403
|
logger
|
|
2404
2404
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DefaultVoice } from './chunk-MWLZJBPF.js';
|
|
2
2
|
import { InstrumentClass } from './chunk-HFOT2NFM.js';
|
|
3
|
-
import { ensureToolProperties, ensureAllMessagesAreCoreMessages, createMastraProxy, makeCoreTool, delay } from './chunk-
|
|
3
|
+
import { ensureToolProperties, ensureAllMessagesAreCoreMessages, createMastraProxy, makeCoreTool, delay } from './chunk-KAJSLFMA.js';
|
|
4
4
|
import { MastraBase } from './chunk-CLJQYXNM.js';
|
|
5
5
|
import { RegisteredLogger } from './chunk-2BVZNKLX.js';
|
|
6
6
|
import { Container } from './chunk-3PBEAM6M.js';
|
|
@@ -918,7 +918,7 @@ var Agent = class extends (_a = MastraBase) {
|
|
|
918
918
|
messages: [memorySystemMessage ? {
|
|
919
919
|
role: "system",
|
|
920
920
|
content: memorySystemMessage
|
|
921
|
-
} : null, ...processedMessages
|
|
921
|
+
} : null, ...processedMessages].filter(message => Boolean(message))
|
|
922
922
|
};
|
|
923
923
|
}
|
|
924
924
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBBDXZGCM_cjs = require('./chunk-BBDXZGCM.cjs');
|
|
4
4
|
var cohereAi = require('cohere-ai');
|
|
5
5
|
|
|
6
6
|
var CohereRelevanceScorer = class {
|
|
@@ -38,7 +38,7 @@ Relevance score (0-1):`;
|
|
|
38
38
|
var MastraAgentRelevanceScorer = class {
|
|
39
39
|
agent;
|
|
40
40
|
constructor(name, model) {
|
|
41
|
-
this.agent = new
|
|
41
|
+
this.agent = new chunkBBDXZGCM_cjs.Agent({
|
|
42
42
|
name: `Relevance Scorer ${name}`,
|
|
43
43
|
instructions: `You are a specialized agent for evaluating the relevance of text to queries.
|
|
44
44
|
Your task is to rate how well a text passage answers a given query.
|
|
@@ -206,7 +206,7 @@ function resolveSerializedZodOutput(schema) {
|
|
|
206
206
|
function isVercelTool(tool) {
|
|
207
207
|
return !!(tool && !(tool instanceof Tool) && "parameters" in tool);
|
|
208
208
|
}
|
|
209
|
-
function createLogMessageOptions({ agentName, toolName,
|
|
209
|
+
function createLogMessageOptions({ agentName, toolName, type }) {
|
|
210
210
|
if (!agentName) {
|
|
211
211
|
return {
|
|
212
212
|
start: `Executing tool ${toolName}`,
|
|
@@ -214,11 +214,10 @@ function createLogMessageOptions({ agentName, toolName, tool, type }) {
|
|
|
214
214
|
};
|
|
215
215
|
}
|
|
216
216
|
const prefix = `[Agent:${agentName}]`;
|
|
217
|
-
const vercelPrefix = isVercelTool(tool) ? "Vercel " : "";
|
|
218
217
|
const toolType = type === "toolset" ? "toolset" : "tool";
|
|
219
218
|
return {
|
|
220
|
-
start: `${prefix} - Executing ${
|
|
221
|
-
error: `${prefix} - Failed ${
|
|
219
|
+
start: `${prefix} - Executing ${toolType} ${toolName}`,
|
|
220
|
+
error: `${prefix} - Failed ${toolType} execution`
|
|
222
221
|
};
|
|
223
222
|
}
|
|
224
223
|
function createExecute(tool, options, logType) {
|
|
@@ -226,7 +225,6 @@ function createExecute(tool, options, logType) {
|
|
|
226
225
|
const { start, error } = createLogMessageOptions({
|
|
227
226
|
agentName: options.agentName,
|
|
228
227
|
toolName: options.name,
|
|
229
|
-
tool,
|
|
230
228
|
type: logType
|
|
231
229
|
});
|
|
232
230
|
const execFunction = async (args, execOptions) => {
|
|
@@ -212,7 +212,7 @@ function resolveSerializedZodOutput(schema) {
|
|
|
212
212
|
function isVercelTool(tool) {
|
|
213
213
|
return !!(tool && !(tool instanceof Tool) && "parameters" in tool);
|
|
214
214
|
}
|
|
215
|
-
function createLogMessageOptions({ agentName, toolName,
|
|
215
|
+
function createLogMessageOptions({ agentName, toolName, type }) {
|
|
216
216
|
if (!agentName) {
|
|
217
217
|
return {
|
|
218
218
|
start: `Executing tool ${toolName}`,
|
|
@@ -220,11 +220,10 @@ function createLogMessageOptions({ agentName, toolName, tool, type }) {
|
|
|
220
220
|
};
|
|
221
221
|
}
|
|
222
222
|
const prefix = `[Agent:${agentName}]`;
|
|
223
|
-
const vercelPrefix = isVercelTool(tool) ? "Vercel " : "";
|
|
224
223
|
const toolType = type === "toolset" ? "toolset" : "tool";
|
|
225
224
|
return {
|
|
226
|
-
start: `${prefix} - Executing ${
|
|
227
|
-
error: `${prefix} - Failed ${
|
|
225
|
+
start: `${prefix} - Executing ${toolType} ${toolName}`,
|
|
226
|
+
error: `${prefix} - Failed ${toolType} execution`
|
|
228
227
|
};
|
|
229
228
|
}
|
|
230
229
|
function createExecute(tool, options, logType) {
|
|
@@ -232,7 +231,6 @@ function createExecute(tool, options, logType) {
|
|
|
232
231
|
const { start, error } = createLogMessageOptions({
|
|
233
232
|
agentName: options.agentName,
|
|
234
233
|
toolName: options.name,
|
|
235
|
-
tool,
|
|
236
234
|
type: logType
|
|
237
235
|
});
|
|
238
236
|
const execFunction = async (args, execOptions) => {
|
package/dist/index.cjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkP6KJ7FZZ_cjs = require('./chunk-P6KJ7FZZ.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunk3XWBNOSO_cjs = require('./chunk-3XWBNOSO.cjs');
|
|
5
5
|
var chunkD6OBOFCM_cjs = require('./chunk-D6OBOFCM.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunk63YK3N3V_cjs = require('./chunk-63YK3N3V.cjs');
|
|
7
7
|
var chunk7JBINHJX_cjs = require('./chunk-7JBINHJX.cjs');
|
|
8
8
|
var chunkFPM2XCMS_cjs = require('./chunk-FPM2XCMS.cjs');
|
|
9
|
-
var
|
|
10
|
-
var
|
|
9
|
+
var chunkF4WOCJZQ_cjs = require('./chunk-F4WOCJZQ.cjs');
|
|
10
|
+
var chunkBBDXZGCM_cjs = require('./chunk-BBDXZGCM.cjs');
|
|
11
11
|
var chunkRIBNDTA6_cjs = require('./chunk-RIBNDTA6.cjs');
|
|
12
|
-
var
|
|
12
|
+
var chunkKR6AYHNH_cjs = require('./chunk-KR6AYHNH.cjs');
|
|
13
13
|
var chunkRZCYBC7D_cjs = require('./chunk-RZCYBC7D.cjs');
|
|
14
14
|
var chunkD63P5O4Q_cjs = require('./chunk-D63P5O4Q.cjs');
|
|
15
15
|
var chunkO7IW545H_cjs = require('./chunk-O7IW545H.cjs');
|
|
@@ -17,7 +17,7 @@ var chunk3C6V2FEP_cjs = require('./chunk-3C6V2FEP.cjs');
|
|
|
17
17
|
var chunkST5RMVLG_cjs = require('./chunk-ST5RMVLG.cjs');
|
|
18
18
|
|
|
19
19
|
// src/agent/index.warning.ts
|
|
20
|
-
var Agent2 = class extends
|
|
20
|
+
var Agent2 = class extends chunkBBDXZGCM_cjs.Agent {
|
|
21
21
|
constructor(config) {
|
|
22
22
|
super(config);
|
|
23
23
|
this.logger.warn('Please import "Agent from "@mastra/core/agent" instead of "@mastra/core"');
|
|
@@ -51,7 +51,7 @@ var MastraStorage2 = class extends chunkFPM2XCMS_cjs.MastraStorage {
|
|
|
51
51
|
};
|
|
52
52
|
|
|
53
53
|
// src/integration/integration.warning.ts
|
|
54
|
-
var Integration2 = class extends
|
|
54
|
+
var Integration2 = class extends chunk3XWBNOSO_cjs.Integration {
|
|
55
55
|
constructor() {
|
|
56
56
|
super();
|
|
57
57
|
console.warn('Please import "Integration" from "@mastra/core/integration" instead of "@mastra/core"');
|
|
@@ -59,7 +59,7 @@ var Integration2 = class extends chunkE5CFDUHK_cjs.Integration {
|
|
|
59
59
|
};
|
|
60
60
|
|
|
61
61
|
// src/integration/openapi-toolset.warning.ts
|
|
62
|
-
var OpenAPIToolset2 = class extends
|
|
62
|
+
var OpenAPIToolset2 = class extends chunk3XWBNOSO_cjs.OpenAPIToolset {
|
|
63
63
|
constructor() {
|
|
64
64
|
super();
|
|
65
65
|
console.warn('Please import "OpenAPIToolset" from "@mastra/core/integration" instead of "@mastra/core"');
|
|
@@ -73,7 +73,7 @@ function createLogger2(options) {
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
// src/memory/index.warning.ts
|
|
76
|
-
var MastraMemory2 = class extends
|
|
76
|
+
var MastraMemory2 = class extends chunk63YK3N3V_cjs.MastraMemory {
|
|
77
77
|
constructor(_arg) {
|
|
78
78
|
super({ name: `Deprecated memory` });
|
|
79
79
|
this.logger.warn('Please import "MastraMemory" from "@mastra/core/memory" instead of "@mastra/core"');
|
|
@@ -81,7 +81,7 @@ var MastraMemory2 = class extends chunkGHIBOJBM_cjs.MastraMemory {
|
|
|
81
81
|
};
|
|
82
82
|
|
|
83
83
|
// src/tools/index.warning.ts
|
|
84
|
-
var Tool2 = class extends
|
|
84
|
+
var Tool2 = class extends chunkKR6AYHNH_cjs.Tool {
|
|
85
85
|
constructor(opts) {
|
|
86
86
|
super(opts);
|
|
87
87
|
console.warn('Please import "Tool" from "@mastra/core/tools" instead of "@mastra/core"');
|
|
@@ -105,7 +105,7 @@ var MastraVector2 = class extends chunk7JBINHJX_cjs.MastraVector {
|
|
|
105
105
|
};
|
|
106
106
|
|
|
107
107
|
// src/workflows/workflow.warning.ts
|
|
108
|
-
var Workflow2 = class extends
|
|
108
|
+
var Workflow2 = class extends chunkBBDXZGCM_cjs.Workflow {
|
|
109
109
|
constructor(args) {
|
|
110
110
|
super(args);
|
|
111
111
|
this.logger.warn('Please import "Workflow" from "@mastra/core/workflows" instead of "@mastra/core"');
|
|
@@ -118,103 +118,103 @@ Object.defineProperty(exports, "Mastra", {
|
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "MemoryProcessor", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunk63YK3N3V_cjs.MemoryProcessor; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "CohereRelevanceScorer", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkF4WOCJZQ_cjs.CohereRelevanceScorer; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "MastraAgentRelevanceScorer", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkF4WOCJZQ_cjs.MastraAgentRelevanceScorer; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "createSimilarityPrompt", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkF4WOCJZQ_cjs.createSimilarityPrompt; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "Step", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkBBDXZGCM_cjs.Step; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "WhenConditionReturnValue", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkBBDXZGCM_cjs.WhenConditionReturnValue; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "agentToStep", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkBBDXZGCM_cjs.agentToStep; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "createStep", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkBBDXZGCM_cjs.createStep; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "getActivePathsAndStatus", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkBBDXZGCM_cjs.getActivePathsAndStatus; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "getResultActivePaths", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkBBDXZGCM_cjs.getResultActivePaths; }
|
|
158
158
|
});
|
|
159
159
|
Object.defineProperty(exports, "getStepResult", {
|
|
160
160
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkBBDXZGCM_cjs.getStepResult; }
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(exports, "getSuspendedPaths", {
|
|
164
164
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkBBDXZGCM_cjs.getSuspendedPaths; }
|
|
166
166
|
});
|
|
167
167
|
Object.defineProperty(exports, "isAgent", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkBBDXZGCM_cjs.isAgent; }
|
|
170
170
|
});
|
|
171
171
|
Object.defineProperty(exports, "isConditionalKey", {
|
|
172
172
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunkBBDXZGCM_cjs.isConditionalKey; }
|
|
174
174
|
});
|
|
175
175
|
Object.defineProperty(exports, "isErrorEvent", {
|
|
176
176
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunkBBDXZGCM_cjs.isErrorEvent; }
|
|
178
178
|
});
|
|
179
179
|
Object.defineProperty(exports, "isFinalState", {
|
|
180
180
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunkBBDXZGCM_cjs.isFinalState; }
|
|
182
182
|
});
|
|
183
183
|
Object.defineProperty(exports, "isLimboState", {
|
|
184
184
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
185
|
+
get: function () { return chunkBBDXZGCM_cjs.isLimboState; }
|
|
186
186
|
});
|
|
187
187
|
Object.defineProperty(exports, "isTransitionEvent", {
|
|
188
188
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
189
|
+
get: function () { return chunkBBDXZGCM_cjs.isTransitionEvent; }
|
|
190
190
|
});
|
|
191
191
|
Object.defineProperty(exports, "isVariableReference", {
|
|
192
192
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
193
|
+
get: function () { return chunkBBDXZGCM_cjs.isVariableReference; }
|
|
194
194
|
});
|
|
195
195
|
Object.defineProperty(exports, "isWorkflow", {
|
|
196
196
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
197
|
+
get: function () { return chunkBBDXZGCM_cjs.isWorkflow; }
|
|
198
198
|
});
|
|
199
199
|
Object.defineProperty(exports, "mergeChildValue", {
|
|
200
200
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
201
|
+
get: function () { return chunkBBDXZGCM_cjs.mergeChildValue; }
|
|
202
202
|
});
|
|
203
203
|
Object.defineProperty(exports, "recursivelyCheckForFinalState", {
|
|
204
204
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
205
|
+
get: function () { return chunkBBDXZGCM_cjs.recursivelyCheckForFinalState; }
|
|
206
206
|
});
|
|
207
207
|
Object.defineProperty(exports, "resolveVariables", {
|
|
208
208
|
enumerable: true,
|
|
209
|
-
get: function () { return
|
|
209
|
+
get: function () { return chunkBBDXZGCM_cjs.resolveVariables; }
|
|
210
210
|
});
|
|
211
211
|
Object.defineProperty(exports, "updateStepInHierarchy", {
|
|
212
212
|
enumerable: true,
|
|
213
|
-
get: function () { return
|
|
213
|
+
get: function () { return chunkBBDXZGCM_cjs.updateStepInHierarchy; }
|
|
214
214
|
});
|
|
215
215
|
Object.defineProperty(exports, "workflowToStep", {
|
|
216
216
|
enumerable: true,
|
|
217
|
-
get: function () { return
|
|
217
|
+
get: function () { return chunkBBDXZGCM_cjs.workflowToStep; }
|
|
218
218
|
});
|
|
219
219
|
Object.defineProperty(exports, "InstrumentClass", {
|
|
220
220
|
enumerable: true,
|
|
@@ -238,55 +238,55 @@ Object.defineProperty(exports, "withSpan", {
|
|
|
238
238
|
});
|
|
239
239
|
Object.defineProperty(exports, "checkEvalStorageFields", {
|
|
240
240
|
enumerable: true,
|
|
241
|
-
get: function () { return
|
|
241
|
+
get: function () { return chunkKR6AYHNH_cjs.checkEvalStorageFields; }
|
|
242
242
|
});
|
|
243
243
|
Object.defineProperty(exports, "createMastraProxy", {
|
|
244
244
|
enumerable: true,
|
|
245
|
-
get: function () { return
|
|
245
|
+
get: function () { return chunkKR6AYHNH_cjs.createMastraProxy; }
|
|
246
246
|
});
|
|
247
247
|
Object.defineProperty(exports, "createTool", {
|
|
248
248
|
enumerable: true,
|
|
249
|
-
get: function () { return
|
|
249
|
+
get: function () { return chunkKR6AYHNH_cjs.createTool; }
|
|
250
250
|
});
|
|
251
251
|
Object.defineProperty(exports, "deepMerge", {
|
|
252
252
|
enumerable: true,
|
|
253
|
-
get: function () { return
|
|
253
|
+
get: function () { return chunkKR6AYHNH_cjs.deepMerge; }
|
|
254
254
|
});
|
|
255
255
|
Object.defineProperty(exports, "delay", {
|
|
256
256
|
enumerable: true,
|
|
257
|
-
get: function () { return
|
|
257
|
+
get: function () { return chunkKR6AYHNH_cjs.delay; }
|
|
258
258
|
});
|
|
259
259
|
Object.defineProperty(exports, "ensureAllMessagesAreCoreMessages", {
|
|
260
260
|
enumerable: true,
|
|
261
|
-
get: function () { return
|
|
261
|
+
get: function () { return chunkKR6AYHNH_cjs.ensureAllMessagesAreCoreMessages; }
|
|
262
262
|
});
|
|
263
263
|
Object.defineProperty(exports, "ensureToolProperties", {
|
|
264
264
|
enumerable: true,
|
|
265
|
-
get: function () { return
|
|
265
|
+
get: function () { return chunkKR6AYHNH_cjs.ensureToolProperties; }
|
|
266
266
|
});
|
|
267
267
|
Object.defineProperty(exports, "isVercelTool", {
|
|
268
268
|
enumerable: true,
|
|
269
|
-
get: function () { return
|
|
269
|
+
get: function () { return chunkKR6AYHNH_cjs.isVercelTool; }
|
|
270
270
|
});
|
|
271
271
|
Object.defineProperty(exports, "jsonSchemaPropertiesToTSTypes", {
|
|
272
272
|
enumerable: true,
|
|
273
|
-
get: function () { return
|
|
273
|
+
get: function () { return chunkKR6AYHNH_cjs.jsonSchemaPropertiesToTSTypes; }
|
|
274
274
|
});
|
|
275
275
|
Object.defineProperty(exports, "jsonSchemaToModel", {
|
|
276
276
|
enumerable: true,
|
|
277
|
-
get: function () { return
|
|
277
|
+
get: function () { return chunkKR6AYHNH_cjs.jsonSchemaToModel; }
|
|
278
278
|
});
|
|
279
279
|
Object.defineProperty(exports, "makeCoreTool", {
|
|
280
280
|
enumerable: true,
|
|
281
|
-
get: function () { return
|
|
281
|
+
get: function () { return chunkKR6AYHNH_cjs.makeCoreTool; }
|
|
282
282
|
});
|
|
283
283
|
Object.defineProperty(exports, "maskStreamTags", {
|
|
284
284
|
enumerable: true,
|
|
285
|
-
get: function () { return
|
|
285
|
+
get: function () { return chunkKR6AYHNH_cjs.maskStreamTags; }
|
|
286
286
|
});
|
|
287
287
|
Object.defineProperty(exports, "resolveSerializedZodOutput", {
|
|
288
288
|
enumerable: true,
|
|
289
|
-
get: function () { return
|
|
289
|
+
get: function () { return chunkKR6AYHNH_cjs.resolveSerializedZodOutput; }
|
|
290
290
|
});
|
|
291
291
|
Object.defineProperty(exports, "LogLevel", {
|
|
292
292
|
enumerable: true,
|
package/dist/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { MastraTTS } from './chunk-ZRMY72JX.js';
|
|
2
|
-
import { Integration, OpenAPIToolset } from './chunk-
|
|
2
|
+
import { Integration, OpenAPIToolset } from './chunk-M6MZXBG5.js';
|
|
3
3
|
export { Mastra } from './chunk-WXENXL7L.js';
|
|
4
|
-
import { MastraMemory } from './chunk-
|
|
5
|
-
export { MemoryProcessor } from './chunk-
|
|
4
|
+
import { MastraMemory } from './chunk-5OPUKM43.js';
|
|
5
|
+
export { MemoryProcessor } from './chunk-5OPUKM43.js';
|
|
6
6
|
import { MastraVector } from './chunk-FY57LEMC.js';
|
|
7
7
|
import { MastraStorage } from './chunk-KWV5ZLOF.js';
|
|
8
|
-
export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from './chunk-
|
|
9
|
-
import { Agent, Workflow } from './chunk-
|
|
10
|
-
export { Step, WhenConditionReturnValue, agentToStep, createStep, getActivePathsAndStatus, getResultActivePaths, getStepResult, getSuspendedPaths, isAgent, isConditionalKey, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, isWorkflow, mergeChildValue, recursivelyCheckForFinalState, resolveVariables, updateStepInHierarchy, workflowToStep } from './chunk-
|
|
8
|
+
export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from './chunk-HHDP5KHS.js';
|
|
9
|
+
import { Agent, Workflow } from './chunk-BUNPX6LU.js';
|
|
10
|
+
export { Step, WhenConditionReturnValue, agentToStep, createStep, getActivePathsAndStatus, getResultActivePaths, getStepResult, getSuspendedPaths, isAgent, isConditionalKey, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, isWorkflow, mergeChildValue, recursivelyCheckForFinalState, resolveVariables, updateStepInHierarchy, workflowToStep } from './chunk-BUNPX6LU.js';
|
|
11
11
|
export { InstrumentClass, OTLPTraceExporter as OTLPStorageExporter, Telemetry, hasActiveTelemetry, withSpan } from './chunk-HFOT2NFM.js';
|
|
12
|
-
import { Tool } from './chunk-
|
|
13
|
-
export { checkEvalStorageFields, createMastraProxy, createTool, deepMerge, delay, ensureAllMessagesAreCoreMessages, ensureToolProperties, isVercelTool, jsonSchemaPropertiesToTSTypes, jsonSchemaToModel, makeCoreTool, maskStreamTags, resolveSerializedZodOutput } from './chunk-
|
|
12
|
+
import { Tool } from './chunk-KAJSLFMA.js';
|
|
13
|
+
export { checkEvalStorageFields, createMastraProxy, createTool, deepMerge, delay, ensureAllMessagesAreCoreMessages, ensureToolProperties, isVercelTool, jsonSchemaPropertiesToTSTypes, jsonSchemaToModel, makeCoreTool, maskStreamTags, resolveSerializedZodOutput } from './chunk-KAJSLFMA.js';
|
|
14
14
|
import { MastraDeployer } from './chunk-5TFGORLG.js';
|
|
15
15
|
import { MastraBase } from './chunk-CLJQYXNM.js';
|
|
16
16
|
import { createLogger } from './chunk-2BVZNKLX.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3XWBNOSO_cjs = require('../chunk-3XWBNOSO.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Integration", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk3XWBNOSO_cjs.Integration; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "OpenAPIToolset", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk3XWBNOSO_cjs.OpenAPIToolset; }
|
|
14
14
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Integration, OpenAPIToolset } from '../chunk-
|
|
1
|
+
export { Integration, OpenAPIToolset } from '../chunk-M6MZXBG5.js';
|
package/dist/memory/index.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk63YK3N3V_cjs = require('../chunk-63YK3N3V.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "MastraMemory", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk63YK3N3V_cjs.MastraMemory; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "MemoryProcessor", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk63YK3N3V_cjs.MemoryProcessor; }
|
|
14
14
|
});
|
package/dist/memory/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { MastraMemory, MemoryProcessor } from '../chunk-
|
|
1
|
+
export { MastraMemory, MemoryProcessor } from '../chunk-5OPUKM43.js';
|
package/dist/network/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkBBDXZGCM_cjs = require('../chunk-BBDXZGCM.cjs');
|
|
4
|
+
var chunkKR6AYHNH_cjs = require('../chunk-KR6AYHNH.cjs');
|
|
5
5
|
var chunkD63P5O4Q_cjs = require('../chunk-D63P5O4Q.cjs');
|
|
6
6
|
var chunkO7IW545H_cjs = require('../chunk-O7IW545H.cjs');
|
|
7
7
|
var zod = require('zod');
|
|
@@ -17,7 +17,7 @@ var AgentNetwork = class extends chunkD63P5O4Q_cjs.MastraBase {
|
|
|
17
17
|
this.#instructions = config.instructions;
|
|
18
18
|
this.#agents = config.agents;
|
|
19
19
|
this.#model = config.model;
|
|
20
|
-
this.#routingAgent = new
|
|
20
|
+
this.#routingAgent = new chunkBBDXZGCM_cjs.Agent({
|
|
21
21
|
name: config.name,
|
|
22
22
|
instructions: this.getInstructions(),
|
|
23
23
|
model: this.#model,
|
|
@@ -29,7 +29,7 @@ var AgentNetwork = class extends chunkD63P5O4Q_cjs.MastraBase {
|
|
|
29
29
|
}
|
|
30
30
|
getTools() {
|
|
31
31
|
return {
|
|
32
|
-
transmit:
|
|
32
|
+
transmit: chunkKR6AYHNH_cjs.createTool({
|
|
33
33
|
id: "transmit",
|
|
34
34
|
description: "Call one or more specialized agents to handle specific tasks",
|
|
35
35
|
inputSchema: zod.z.object({
|
package/dist/network/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Agent } from '../chunk-
|
|
2
|
-
import { createTool } from '../chunk-
|
|
1
|
+
import { Agent } from '../chunk-BUNPX6LU.js';
|
|
2
|
+
import { createTool } from '../chunk-KAJSLFMA.js';
|
|
3
3
|
import { MastraBase } from '../chunk-CLJQYXNM.js';
|
|
4
4
|
import { RegisteredLogger } from '../chunk-2BVZNKLX.js';
|
|
5
5
|
import { z } from 'zod';
|
package/dist/relevance/index.cjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkF4WOCJZQ_cjs = require('../chunk-F4WOCJZQ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "CohereRelevanceScorer", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkF4WOCJZQ_cjs.CohereRelevanceScorer; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "MastraAgentRelevanceScorer", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkF4WOCJZQ_cjs.MastraAgentRelevanceScorer; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "createSimilarityPrompt", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkF4WOCJZQ_cjs.createSimilarityPrompt; }
|
|
18
18
|
});
|
package/dist/relevance/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from '../chunk-
|
|
1
|
+
export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from '../chunk-HHDP5KHS.js';
|
package/dist/tools/index.cjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkKR6AYHNH_cjs = require('../chunk-KR6AYHNH.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Tool", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkKR6AYHNH_cjs.Tool; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "createTool", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkKR6AYHNH_cjs.createTool; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "isVercelTool", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkKR6AYHNH_cjs.isVercelTool; }
|
|
18
18
|
});
|
package/dist/tools/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Tool, createTool, isVercelTool } from '../chunk-
|
|
1
|
+
export { Tool, createTool, isVercelTool } from '../chunk-KAJSLFMA.js';
|
package/dist/utils.cjs
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkKR6AYHNH_cjs = require('./chunk-KR6AYHNH.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "checkEvalStorageFields", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkKR6AYHNH_cjs.checkEvalStorageFields; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "createMastraProxy", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkKR6AYHNH_cjs.createMastraProxy; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "deepMerge", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkKR6AYHNH_cjs.deepMerge; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "delay", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkKR6AYHNH_cjs.delay; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "ensureAllMessagesAreCoreMessages", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkKR6AYHNH_cjs.ensureAllMessagesAreCoreMessages; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "ensureToolProperties", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkKR6AYHNH_cjs.ensureToolProperties; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "isVercelTool", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkKR6AYHNH_cjs.isVercelTool; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "jsonSchemaPropertiesToTSTypes", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkKR6AYHNH_cjs.jsonSchemaPropertiesToTSTypes; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "jsonSchemaToModel", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkKR6AYHNH_cjs.jsonSchemaToModel; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "makeCoreTool", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkKR6AYHNH_cjs.makeCoreTool; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "maskStreamTags", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkKR6AYHNH_cjs.maskStreamTags; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "resolveSerializedZodOutput", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkKR6AYHNH_cjs.resolveSerializedZodOutput; }
|
|
54
54
|
});
|
package/dist/utils.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureAllMessagesAreCoreMessages, ensureToolProperties, isVercelTool, jsonSchemaPropertiesToTSTypes, jsonSchemaToModel, makeCoreTool, maskStreamTags, resolveSerializedZodOutput } from './chunk-
|
|
1
|
+
export { checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureAllMessagesAreCoreMessages, ensureToolProperties, isVercelTool, jsonSchemaPropertiesToTSTypes, jsonSchemaToModel, makeCoreTool, maskStreamTags, resolveSerializedZodOutput } from './chunk-KAJSLFMA.js';
|
package/dist/workflows/index.cjs
CHANGED
|
@@ -1,94 +1,94 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBBDXZGCM_cjs = require('../chunk-BBDXZGCM.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Step", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkBBDXZGCM_cjs.Step; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "WhenConditionReturnValue", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkBBDXZGCM_cjs.WhenConditionReturnValue; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "Workflow", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkBBDXZGCM_cjs.Workflow; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "agentToStep", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkBBDXZGCM_cjs.agentToStep; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "createStep", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkBBDXZGCM_cjs.createStep; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "getActivePathsAndStatus", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkBBDXZGCM_cjs.getActivePathsAndStatus; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "getResultActivePaths", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkBBDXZGCM_cjs.getResultActivePaths; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "getStepResult", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkBBDXZGCM_cjs.getStepResult; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "getSuspendedPaths", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkBBDXZGCM_cjs.getSuspendedPaths; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "isAgent", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkBBDXZGCM_cjs.isAgent; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "isConditionalKey", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkBBDXZGCM_cjs.isConditionalKey; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "isErrorEvent", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkBBDXZGCM_cjs.isErrorEvent; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "isFinalState", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkBBDXZGCM_cjs.isFinalState; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "isLimboState", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkBBDXZGCM_cjs.isLimboState; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "isTransitionEvent", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkBBDXZGCM_cjs.isTransitionEvent; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "isVariableReference", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkBBDXZGCM_cjs.isVariableReference; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "isWorkflow", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkBBDXZGCM_cjs.isWorkflow; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "mergeChildValue", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkBBDXZGCM_cjs.mergeChildValue; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "recursivelyCheckForFinalState", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkBBDXZGCM_cjs.recursivelyCheckForFinalState; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "resolveVariables", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkBBDXZGCM_cjs.resolveVariables; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "updateStepInHierarchy", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkBBDXZGCM_cjs.updateStepInHierarchy; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "workflowToStep", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkBBDXZGCM_cjs.workflowToStep; }
|
|
94
94
|
});
|
package/dist/workflows/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Step, WhenConditionReturnValue, Workflow, agentToStep, createStep, getActivePathsAndStatus, getResultActivePaths, getStepResult, getSuspendedPaths, isAgent, isConditionalKey, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, isWorkflow, mergeChildValue, recursivelyCheckForFinalState, resolveVariables, updateStepInHierarchy, workflowToStep } from '../chunk-
|
|
1
|
+
export { Step, WhenConditionReturnValue, Workflow, agentToStep, createStep, getActivePathsAndStatus, getResultActivePaths, getStepResult, getSuspendedPaths, isAgent, isConditionalKey, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, isWorkflow, mergeChildValue, recursivelyCheckForFinalState, resolveVariables, updateStepInHierarchy, workflowToStep } from '../chunk-BUNPX6LU.js';
|