@mastra/core 0.17.0-alpha.5 → 0.17.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/CHANGELOG.md +35 -0
- package/cache.d.ts +1 -0
- package/dist/agent/agent.d.ts +1 -1
- package/dist/agent/index.cjs +11 -11
- package/dist/agent/index.js +2 -2
- package/dist/agent/input-processor/index.cjs +6 -6
- package/dist/agent/input-processor/index.js +1 -1
- package/dist/ai-tracing/index.cjs +32 -32
- package/dist/ai-tracing/index.js +1 -1
- package/dist/base.cjs +2 -2
- package/dist/base.js +1 -1
- package/dist/bundler/index.cjs +2 -2
- package/dist/bundler/index.js +1 -1
- package/dist/cache/base.d.ts +14 -0
- package/dist/cache/base.d.ts.map +1 -0
- package/dist/cache/index.cjs +16 -0
- package/dist/cache/index.cjs.map +1 -0
- package/dist/cache/index.d.ts +3 -0
- package/dist/cache/index.d.ts.map +1 -0
- package/dist/cache/index.js +3 -0
- package/dist/cache/index.js.map +1 -0
- package/dist/cache/inmemory.d.ts +13 -0
- package/dist/cache/inmemory.d.ts.map +1 -0
- package/dist/{chunk-XRJDA7BI.js → chunk-2B5DS7ML.js} +3 -3
- package/dist/{chunk-XRJDA7BI.js.map → chunk-2B5DS7ML.js.map} +1 -1
- package/dist/{chunk-IYN65QCO.js → chunk-36QJI2HU.js} +18 -33
- package/dist/chunk-36QJI2HU.js.map +1 -0
- package/dist/chunk-3PQNUWJM.js +62 -0
- package/dist/chunk-3PQNUWJM.js.map +1 -0
- package/dist/{chunk-QHDT3QQC.cjs → chunk-4HWB6PCC.cjs} +4 -4
- package/dist/{chunk-QHDT3QQC.cjs.map → chunk-4HWB6PCC.cjs.map} +1 -1
- package/dist/{chunk-KXCUCBEI.cjs → chunk-4L3P3PCP.cjs} +8 -8
- package/dist/{chunk-KXCUCBEI.cjs.map → chunk-4L3P3PCP.cjs.map} +1 -1
- package/dist/{chunk-VXJFKEON.js → chunk-4LANQQSH.js} +5 -5
- package/dist/{chunk-VXJFKEON.js.map → chunk-4LANQQSH.js.map} +1 -1
- package/dist/{chunk-TLJPVRO5.js → chunk-5QXPHYHO.js} +2 -3
- package/dist/chunk-5QXPHYHO.js.map +1 -0
- package/dist/{chunk-VBBMXF7Z.cjs → chunk-64ONYYLY.cjs} +30 -45
- package/dist/chunk-64ONYYLY.cjs.map +1 -0
- package/dist/{chunk-EXG53YAJ.cjs → chunk-6WEZASFM.cjs} +72 -60
- package/dist/chunk-6WEZASFM.cjs.map +1 -0
- package/dist/{chunk-7NKIBBCV.cjs → chunk-725O36VY.cjs} +6 -6
- package/dist/{chunk-7NKIBBCV.cjs.map → chunk-725O36VY.cjs.map} +1 -1
- package/dist/{chunk-6GF5M4GX.js → chunk-BMVFEBPE.js} +3 -3
- package/dist/{chunk-6GF5M4GX.js.map → chunk-BMVFEBPE.js.map} +1 -1
- package/dist/{chunk-X3GXU6TZ.js → chunk-BN2M4UK5.js} +5 -4
- package/dist/chunk-BN2M4UK5.js.map +1 -0
- package/dist/{chunk-IODUKRQP.js → chunk-C7EN3GVU.js} +3 -3
- package/dist/{chunk-IODUKRQP.js.map → chunk-C7EN3GVU.js.map} +1 -1
- package/dist/{chunk-3DHX2SDR.cjs → chunk-CWTKL7YK.cjs} +7 -7
- package/dist/{chunk-3DHX2SDR.cjs.map → chunk-CWTKL7YK.cjs.map} +1 -1
- package/dist/{chunk-YFAHGS45.js → chunk-DH34KXOJ.js} +4 -4
- package/dist/{chunk-YFAHGS45.js.map → chunk-DH34KXOJ.js.map} +1 -1
- package/dist/{chunk-MRZHPP3G.cjs → chunk-FJWPEAJE.cjs} +4 -4
- package/dist/{chunk-MRZHPP3G.cjs.map → chunk-FJWPEAJE.cjs.map} +1 -1
- package/dist/{chunk-2PQSZI63.js → chunk-GBW5ZDLZ.js} +3 -3
- package/dist/{chunk-2PQSZI63.js.map → chunk-GBW5ZDLZ.js.map} +1 -1
- package/dist/{chunk-CP4TZ4HO.cjs → chunk-GKSWFKHA.cjs} +16 -16
- package/dist/{chunk-CP4TZ4HO.cjs.map → chunk-GKSWFKHA.cjs.map} +1 -1
- package/dist/{chunk-K3JIDVC4.js → chunk-ITD7IHN5.js} +3 -3
- package/dist/{chunk-K3JIDVC4.js.map → chunk-ITD7IHN5.js.map} +1 -1
- package/dist/{chunk-HBQSSMAD.cjs → chunk-K72D7BXB.cjs} +8 -8
- package/dist/{chunk-HBQSSMAD.cjs.map → chunk-K72D7BXB.cjs.map} +1 -1
- package/dist/chunk-KTCBGNCZ.cjs +69 -0
- package/dist/chunk-KTCBGNCZ.cjs.map +1 -0
- package/dist/{chunk-NRGXWM6C.js → chunk-L3EC4ERG.js} +6 -6
- package/dist/{chunk-NRGXWM6C.js.map → chunk-L3EC4ERG.js.map} +1 -1
- package/dist/{chunk-RNJ4GD7U.cjs → chunk-MVBGQHNV.cjs} +9 -9
- package/dist/{chunk-RNJ4GD7U.cjs.map → chunk-MVBGQHNV.cjs.map} +1 -1
- package/dist/{chunk-QQIBOVFQ.js → chunk-NRJQMZLW.js} +4 -4
- package/dist/{chunk-QQIBOVFQ.js.map → chunk-NRJQMZLW.js.map} +1 -1
- package/dist/{chunk-Z73WO76N.js → chunk-NTXNE4YR.js} +3 -3
- package/dist/{chunk-Z73WO76N.js.map → chunk-NTXNE4YR.js.map} +1 -1
- package/dist/{chunk-S5QJEY5X.cjs → chunk-O6PQYYT6.cjs} +4 -4
- package/dist/{chunk-S5QJEY5X.cjs.map → chunk-O6PQYYT6.cjs.map} +1 -1
- package/dist/{chunk-4VHC2F5H.js → chunk-OCKXNBKT.js} +4 -4
- package/dist/{chunk-4VHC2F5H.js.map → chunk-OCKXNBKT.js.map} +1 -1
- package/dist/{chunk-AHJY7RHO.cjs → chunk-OT25QTJ2.cjs} +6 -6
- package/dist/{chunk-AHJY7RHO.cjs.map → chunk-OT25QTJ2.cjs.map} +1 -1
- package/dist/{chunk-666JQVO5.js → chunk-OWYPTFXD.js} +37 -26
- package/dist/chunk-OWYPTFXD.js.map +1 -0
- package/dist/{chunk-ABRPHTOG.cjs → chunk-PRVMPHNQ.cjs} +2 -2
- package/dist/{chunk-ABRPHTOG.cjs.map → chunk-PRVMPHNQ.cjs.map} +1 -1
- package/dist/{chunk-G366B5BY.js → chunk-PYVA36ZV.js} +3 -3
- package/dist/{chunk-G366B5BY.js.map → chunk-PYVA36ZV.js.map} +1 -1
- package/dist/{chunk-PL3B3FZM.js → chunk-QBRFMSMN.js} +6 -6
- package/dist/{chunk-PL3B3FZM.js.map → chunk-QBRFMSMN.js.map} +1 -1
- package/dist/chunk-QLYANYE2.cjs +14 -0
- package/dist/{chunk-QPOJZU26.cjs.map → chunk-QLYANYE2.cjs.map} +1 -1
- package/dist/{chunk-BJGHUKKM.js → chunk-RAQ4VAQ4.js} +2 -2
- package/dist/{chunk-BJGHUKKM.js.map → chunk-RAQ4VAQ4.js.map} +1 -1
- package/dist/{chunk-KYFRWMTX.js → chunk-SW656AYX.js} +3 -3
- package/dist/{chunk-KYFRWMTX.js.map → chunk-SW656AYX.js.map} +1 -1
- package/dist/{chunk-F6XWBVVG.cjs → chunk-WOC5SCZF.cjs} +4 -4
- package/dist/{chunk-F6XWBVVG.cjs.map → chunk-WOC5SCZF.cjs.map} +1 -1
- package/dist/{chunk-V5WKCX3G.cjs → chunk-WVCEJBDR.cjs} +5 -4
- package/dist/chunk-WVCEJBDR.cjs.map +1 -0
- package/dist/{chunk-SZZPFXZ7.cjs → chunk-XNZBDAEX.cjs} +13 -13
- package/dist/{chunk-SZZPFXZ7.cjs.map → chunk-XNZBDAEX.cjs.map} +1 -1
- package/dist/{chunk-7UO6UWCO.cjs → chunk-YISIO2V3.cjs} +4 -4
- package/dist/{chunk-7UO6UWCO.cjs.map → chunk-YISIO2V3.cjs.map} +1 -1
- package/dist/{chunk-GEPX327P.cjs → chunk-YWXSGDDO.cjs} +4 -4
- package/dist/{chunk-GEPX327P.cjs.map → chunk-YWXSGDDO.cjs.map} +1 -1
- package/dist/{chunk-BHB4PDNV.cjs → chunk-ZBINIUJL.cjs} +2 -3
- package/dist/chunk-ZBINIUJL.cjs.map +1 -0
- package/dist/{chunk-D43ZGJR3.js → chunk-ZFD7BUUD.js} +3 -3
- package/dist/{chunk-D43ZGJR3.js.map → chunk-ZFD7BUUD.js.map} +1 -1
- package/dist/deployer/index.cjs +2 -2
- package/dist/deployer/index.js +1 -1
- package/dist/index.cjs +66 -66
- package/dist/index.js +18 -18
- package/dist/integration/index.cjs +3 -3
- package/dist/integration/index.js +1 -1
- package/dist/logger/constants.d.ts +1 -0
- package/dist/logger/constants.d.ts.map +1 -1
- package/dist/logger/index.cjs +6 -6
- package/dist/logger/index.js +1 -1
- package/dist/loop/index.cjs +2 -2
- package/dist/loop/index.js +1 -1
- package/dist/loop/network/index.d.ts.map +1 -1
- package/dist/loop/test-utils/generateText.d.ts.map +1 -1
- package/dist/loop/workflows/agentic-execution/llm-execution-step.d.ts.map +1 -1
- package/dist/mastra/index.cjs +2 -2
- package/dist/mastra/index.d.ts +6 -12
- package/dist/mastra/index.d.ts.map +1 -1
- package/dist/mastra/index.js +1 -1
- package/dist/mcp/index.cjs +4 -4
- package/dist/mcp/index.js +2 -2
- package/dist/memory/index.cjs +4 -4
- package/dist/memory/index.js +1 -1
- package/dist/network/vNext/index.cjs +34 -34
- package/dist/network/vNext/index.cjs.map +1 -1
- package/dist/network/vNext/index.d.ts +67 -0
- package/dist/network/vNext/index.d.ts.map +1 -1
- package/dist/network/vNext/index.js +5 -5
- package/dist/network/vNext/index.js.map +1 -1
- package/dist/processors/index.cjs +8 -8
- package/dist/processors/index.js +2 -2
- package/dist/processors/processors/prompt-injection-detector.d.ts.map +1 -1
- package/dist/relevance/index.cjs +4 -4
- package/dist/relevance/index.js +1 -1
- package/dist/scores/index.cjs +8 -8
- package/dist/scores/index.js +1 -1
- package/dist/scores/run-experiment/index.d.ts +2 -2
- package/dist/scores/run-experiment/index.d.ts.map +1 -1
- package/dist/server/index.cjs +4 -4
- package/dist/server/index.js +2 -2
- package/dist/storage/index.cjs +17 -17
- package/dist/storage/index.js +4 -4
- package/dist/stream/MastraAgentNetworkStream.d.ts +1 -1
- package/dist/stream/MastraAgentNetworkStream.d.ts.map +1 -1
- package/dist/stream/MastraWorkflowStream.d.ts +5 -4
- package/dist/stream/MastraWorkflowStream.d.ts.map +1 -1
- package/dist/stream/base/output.d.ts.map +1 -1
- package/dist/stream/index.cjs +7 -3
- package/dist/stream/index.d.ts +1 -0
- package/dist/stream/index.d.ts.map +1 -1
- package/dist/stream/index.js +1 -1
- package/dist/telemetry/index.cjs +7 -7
- package/dist/telemetry/index.js +1 -1
- package/dist/telemetry/telemetry.decorators.d.ts.map +1 -1
- package/dist/test-utils/llm-mock.cjs +2 -2
- package/dist/test-utils/llm-mock.js +1 -1
- package/dist/tools/index.cjs +4 -4
- package/dist/tools/index.js +1 -1
- package/dist/tools/is-vercel-tool.cjs +2 -2
- package/dist/tools/is-vercel-tool.js +1 -1
- package/dist/tools/tool-builder/builder.d.ts.map +1 -1
- package/dist/tools/tool.d.ts +2 -4
- package/dist/tools/tool.d.ts.map +1 -1
- package/dist/tools/types.d.ts +5 -4
- package/dist/tools/types.d.ts.map +1 -1
- package/dist/tts/index.cjs +2 -2
- package/dist/tts/index.js +1 -1
- package/dist/utils.cjs +17 -17
- package/dist/utils.d.ts +1 -1
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +1 -1
- package/dist/vector/index.cjs +4 -4
- package/dist/vector/index.js +1 -1
- package/dist/voice/index.cjs +4 -4
- package/dist/voice/index.js +1 -1
- package/dist/workflows/default.d.ts.map +1 -1
- package/dist/workflows/evented/index.cjs +10 -10
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/evented/workflow.d.ts +2 -2
- package/dist/workflows/evented/workflow.d.ts.map +1 -1
- package/dist/workflows/index.cjs +10 -10
- package/dist/workflows/index.js +1 -1
- package/dist/workflows/legacy/index.cjs +22 -22
- package/dist/workflows/legacy/index.js +1 -1
- package/dist/workflows/types.d.ts +4 -1
- package/dist/workflows/types.d.ts.map +1 -1
- package/dist/workflows/workflow.d.ts +51 -11
- package/dist/workflows/workflow.d.ts.map +1 -1
- package/package.json +7 -6
- package/dist/chunk-666JQVO5.js.map +0 -1
- package/dist/chunk-BHB4PDNV.cjs.map +0 -1
- package/dist/chunk-EXG53YAJ.cjs.map +0 -1
- package/dist/chunk-IYN65QCO.js.map +0 -1
- package/dist/chunk-QPOJZU26.cjs +0 -14
- package/dist/chunk-TLJPVRO5.js.map +0 -1
- package/dist/chunk-V5WKCX3G.cjs.map +0 -1
- package/dist/chunk-VBBMXF7Z.cjs.map +0 -1
- package/dist/chunk-X3GXU6TZ.js.map +0 -1
- package/dist/network/index.cjs +0 -316
- package/dist/network/index.cjs.map +0 -1
- package/dist/network/index.d.ts +0 -3
- package/dist/network/index.d.ts.map +0 -1
- package/dist/network/index.js +0 -314
- package/dist/network/index.js.map +0 -1
- package/dist/network/network.d.ts +0 -124
- package/dist/network/network.d.ts.map +0 -1
- package/dist/network/types.d.ts +0 -9
- package/dist/network/types.d.ts.map +0 -1
- package/network.d.ts +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
3
|
+
var chunk725O36VY_cjs = require('./chunk-725O36VY.cjs');
|
|
4
|
+
var chunkYWXSGDDO_cjs = require('./chunk-YWXSGDDO.cjs');
|
|
5
|
+
var chunkO6PQYYT6_cjs = require('./chunk-O6PQYYT6.cjs');
|
|
6
|
+
var chunkWOC5SCZF_cjs = require('./chunk-WOC5SCZF.cjs');
|
|
7
|
+
var chunk64ONYYLY_cjs = require('./chunk-64ONYYLY.cjs');
|
|
8
|
+
var chunkMVBGQHNV_cjs = require('./chunk-MVBGQHNV.cjs');
|
|
9
|
+
var chunkYISIO2V3_cjs = require('./chunk-YISIO2V3.cjs');
|
|
10
|
+
var chunkQLYANYE2_cjs = require('./chunk-QLYANYE2.cjs');
|
|
10
11
|
var chunkSW7WPHZ2_cjs = require('./chunk-SW7WPHZ2.cjs');
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var chunkBHB4PDNV_cjs = require('./chunk-BHB4PDNV.cjs');
|
|
12
|
+
var chunk6WEZASFM_cjs = require('./chunk-6WEZASFM.cjs');
|
|
13
|
+
var chunkZBINIUJL_cjs = require('./chunk-ZBINIUJL.cjs');
|
|
14
14
|
var chunkTSNDVBUU_cjs = require('./chunk-TSNDVBUU.cjs');
|
|
15
|
-
var
|
|
16
|
-
var
|
|
17
|
-
var
|
|
15
|
+
var chunkGKSWFKHA_cjs = require('./chunk-GKSWFKHA.cjs');
|
|
16
|
+
var chunkPRVMPHNQ_cjs = require('./chunk-PRVMPHNQ.cjs');
|
|
17
|
+
var chunk4L3P3PCP_cjs = require('./chunk-4L3P3PCP.cjs');
|
|
18
18
|
|
|
19
19
|
// src/agent/index.warning.ts
|
|
20
|
-
var Agent2 = class extends
|
|
20
|
+
var Agent2 = class extends chunk6WEZASFM_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"');
|
|
@@ -25,7 +25,7 @@ var Agent2 = class extends chunkEXG53YAJ_cjs.Agent {
|
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
// src/base.warning.ts
|
|
28
|
-
var MastraBase2 = class extends
|
|
28
|
+
var MastraBase2 = class extends chunk4L3P3PCP_cjs.MastraBase {
|
|
29
29
|
constructor(args) {
|
|
30
30
|
super(args);
|
|
31
31
|
this.logger.warn('Please import "MastraBase" from "@mastra/core/base" instead of "@mastra/core"');
|
|
@@ -33,7 +33,7 @@ var MastraBase2 = class extends chunkKXCUCBEI_cjs.MastraBase {
|
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
// src/deployer/index.warning.ts
|
|
36
|
-
var MastraDeployer2 = class extends
|
|
36
|
+
var MastraDeployer2 = class extends chunkQLYANYE2_cjs.MastraDeployer {
|
|
37
37
|
constructor(args) {
|
|
38
38
|
super(args);
|
|
39
39
|
this.logger.warn('Please import "MastraDeployer" from "@mastra/core/deployer" instead of "@mastra/core"');
|
|
@@ -41,7 +41,7 @@ var MastraDeployer2 = class extends chunkQPOJZU26_cjs.MastraDeployer {
|
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
// src/storage/base.warning.ts
|
|
44
|
-
var MastraStorage2 = class extends
|
|
44
|
+
var MastraStorage2 = class extends chunkO6PQYYT6_cjs.MastraStorage {
|
|
45
45
|
constructor({ name }) {
|
|
46
46
|
super({
|
|
47
47
|
name
|
|
@@ -51,7 +51,7 @@ var MastraStorage2 = class extends chunkS5QJEY5X_cjs.MastraStorage {
|
|
|
51
51
|
};
|
|
52
52
|
|
|
53
53
|
// src/integration/integration.warning.ts
|
|
54
|
-
var Integration2 = class extends
|
|
54
|
+
var Integration2 = class extends chunkWOC5SCZF_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 chunkF6XWBVVG_cjs.Integration {
|
|
|
59
59
|
};
|
|
60
60
|
|
|
61
61
|
// src/integration/openapi-toolset.warning.ts
|
|
62
|
-
var OpenAPIToolset2 = class extends
|
|
62
|
+
var OpenAPIToolset2 = class extends chunkWOC5SCZF_cjs.OpenAPIToolset {
|
|
63
63
|
constructor() {
|
|
64
64
|
super();
|
|
65
65
|
console.warn('Please import "OpenAPIToolset" from "@mastra/core/integration" instead of "@mastra/core"');
|
|
@@ -67,7 +67,7 @@ var OpenAPIToolset2 = class extends chunkF6XWBVVG_cjs.OpenAPIToolset {
|
|
|
67
67
|
};
|
|
68
68
|
|
|
69
69
|
// src/memory/index.warning.ts
|
|
70
|
-
var MastraMemory2 = class extends
|
|
70
|
+
var MastraMemory2 = class extends chunkMVBGQHNV_cjs.MastraMemory {
|
|
71
71
|
constructor(_arg) {
|
|
72
72
|
super({ name: `Deprecated memory` });
|
|
73
73
|
this.logger.warn('Please import "MastraMemory" from "@mastra/core/memory" instead of "@mastra/core"');
|
|
@@ -75,7 +75,7 @@ var MastraMemory2 = class extends chunkRNJ4GD7U_cjs.MastraMemory {
|
|
|
75
75
|
};
|
|
76
76
|
|
|
77
77
|
// src/tools/index.warning.ts
|
|
78
|
-
var Tool2 = class extends
|
|
78
|
+
var Tool2 = class extends chunkPRVMPHNQ_cjs.Tool {
|
|
79
79
|
constructor(opts) {
|
|
80
80
|
super(opts);
|
|
81
81
|
console.warn('Please import "Tool" from "@mastra/core/tools" instead of "@mastra/core"');
|
|
@@ -83,7 +83,7 @@ var Tool2 = class extends chunkABRPHTOG_cjs.Tool {
|
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
// src/tts/index.warning.ts
|
|
86
|
-
var MastraTTS2 = class extends
|
|
86
|
+
var MastraTTS2 = class extends chunk725O36VY_cjs.MastraTTS {
|
|
87
87
|
constructor(args) {
|
|
88
88
|
super(args);
|
|
89
89
|
this.logger.warn('Please import "MastraTTS" from "@mastra/core/tts" instead of "@mastra/core"');
|
|
@@ -91,7 +91,7 @@ var MastraTTS2 = class extends chunk7NKIBBCV_cjs.MastraTTS {
|
|
|
91
91
|
};
|
|
92
92
|
|
|
93
93
|
// src/vector/index.warning.ts
|
|
94
|
-
var MastraVector2 = class extends
|
|
94
|
+
var MastraVector2 = class extends chunkYWXSGDDO_cjs.MastraVector {
|
|
95
95
|
constructor() {
|
|
96
96
|
super();
|
|
97
97
|
this.logger.warn('Please import "MastraVector" from "@mastra/core/vector" instead of "@mastra/core"');
|
|
@@ -99,7 +99,7 @@ var MastraVector2 = class extends chunkGEPX327P_cjs.MastraVector {
|
|
|
99
99
|
};
|
|
100
100
|
|
|
101
101
|
// src/workflows/workflow.warning.ts
|
|
102
|
-
var Workflow2 = class extends
|
|
102
|
+
var Workflow2 = class extends chunk6WEZASFM_cjs.Workflow {
|
|
103
103
|
constructor(args) {
|
|
104
104
|
super(args);
|
|
105
105
|
this.logger.warn('Please import "Workflow" from "@mastra/core/workflows" instead of "@mastra/core"');
|
|
@@ -108,47 +108,47 @@ var Workflow2 = class extends chunkEXG53YAJ_cjs.Workflow {
|
|
|
108
108
|
|
|
109
109
|
Object.defineProperty(exports, "embedV1", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkYWXSGDDO_cjs.embed; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "embedV2", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkYWXSGDDO_cjs.embed2; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "ensureDate", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkO6PQYYT6_cjs.ensureDate; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "resolveMessageLimit", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkO6PQYYT6_cjs.resolveMessageLimit; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "serializeDate", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkO6PQYYT6_cjs.serializeDate; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "Mastra", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunk64ONYYLY_cjs.Mastra; }
|
|
132
132
|
});
|
|
133
133
|
Object.defineProperty(exports, "MemoryProcessor", {
|
|
134
134
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkMVBGQHNV_cjs.MemoryProcessor; }
|
|
136
136
|
});
|
|
137
137
|
Object.defineProperty(exports, "memoryDefaultOptions", {
|
|
138
138
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkMVBGQHNV_cjs.memoryDefaultOptions; }
|
|
140
140
|
});
|
|
141
141
|
Object.defineProperty(exports, "CohereRelevanceScorer", {
|
|
142
142
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunkYISIO2V3_cjs.CohereRelevanceScorer; }
|
|
144
144
|
});
|
|
145
145
|
Object.defineProperty(exports, "MastraAgentRelevanceScorer", {
|
|
146
146
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunkYISIO2V3_cjs.MastraAgentRelevanceScorer; }
|
|
148
148
|
});
|
|
149
149
|
Object.defineProperty(exports, "createSimilarityPrompt", {
|
|
150
150
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkYISIO2V3_cjs.createSimilarityPrompt; }
|
|
152
152
|
});
|
|
153
153
|
Object.defineProperty(exports, "Metric", {
|
|
154
154
|
enumerable: true,
|
|
@@ -160,59 +160,59 @@ Object.defineProperty(exports, "evaluate", {
|
|
|
160
160
|
});
|
|
161
161
|
Object.defineProperty(exports, "DefaultExecutionEngine", {
|
|
162
162
|
enumerable: true,
|
|
163
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunk6WEZASFM_cjs.DefaultExecutionEngine; }
|
|
164
164
|
});
|
|
165
165
|
Object.defineProperty(exports, "ExecutionEngine", {
|
|
166
166
|
enumerable: true,
|
|
167
|
-
get: function () { return
|
|
167
|
+
get: function () { return chunk6WEZASFM_cjs.ExecutionEngine; }
|
|
168
168
|
});
|
|
169
169
|
Object.defineProperty(exports, "Run", {
|
|
170
170
|
enumerable: true,
|
|
171
|
-
get: function () { return
|
|
171
|
+
get: function () { return chunk6WEZASFM_cjs.Run; }
|
|
172
172
|
});
|
|
173
173
|
Object.defineProperty(exports, "cloneStep", {
|
|
174
174
|
enumerable: true,
|
|
175
|
-
get: function () { return
|
|
175
|
+
get: function () { return chunk6WEZASFM_cjs.cloneStep; }
|
|
176
176
|
});
|
|
177
177
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
178
178
|
enumerable: true,
|
|
179
|
-
get: function () { return
|
|
179
|
+
get: function () { return chunk6WEZASFM_cjs.cloneWorkflow; }
|
|
180
180
|
});
|
|
181
181
|
Object.defineProperty(exports, "createStep", {
|
|
182
182
|
enumerable: true,
|
|
183
|
-
get: function () { return
|
|
183
|
+
get: function () { return chunk6WEZASFM_cjs.createStep; }
|
|
184
184
|
});
|
|
185
185
|
Object.defineProperty(exports, "createWorkflow", {
|
|
186
186
|
enumerable: true,
|
|
187
|
-
get: function () { return
|
|
187
|
+
get: function () { return chunk6WEZASFM_cjs.createWorkflow; }
|
|
188
188
|
});
|
|
189
189
|
Object.defineProperty(exports, "mapVariable", {
|
|
190
190
|
enumerable: true,
|
|
191
|
-
get: function () { return
|
|
191
|
+
get: function () { return chunk6WEZASFM_cjs.mapVariable; }
|
|
192
192
|
});
|
|
193
193
|
Object.defineProperty(exports, "InstrumentClass", {
|
|
194
194
|
enumerable: true,
|
|
195
|
-
get: function () { return
|
|
195
|
+
get: function () { return chunkZBINIUJL_cjs.InstrumentClass; }
|
|
196
196
|
});
|
|
197
197
|
Object.defineProperty(exports, "OTLPStorageExporter", {
|
|
198
198
|
enumerable: true,
|
|
199
|
-
get: function () { return
|
|
199
|
+
get: function () { return chunkZBINIUJL_cjs.OTLPTraceExporter; }
|
|
200
200
|
});
|
|
201
201
|
Object.defineProperty(exports, "Telemetry", {
|
|
202
202
|
enumerable: true,
|
|
203
|
-
get: function () { return
|
|
203
|
+
get: function () { return chunkZBINIUJL_cjs.Telemetry; }
|
|
204
204
|
});
|
|
205
205
|
Object.defineProperty(exports, "getBaggageValues", {
|
|
206
206
|
enumerable: true,
|
|
207
|
-
get: function () { return
|
|
207
|
+
get: function () { return chunkZBINIUJL_cjs.getBaggageValues; }
|
|
208
208
|
});
|
|
209
209
|
Object.defineProperty(exports, "hasActiveTelemetry", {
|
|
210
210
|
enumerable: true,
|
|
211
|
-
get: function () { return
|
|
211
|
+
get: function () { return chunkZBINIUJL_cjs.hasActiveTelemetry; }
|
|
212
212
|
});
|
|
213
213
|
Object.defineProperty(exports, "withSpan", {
|
|
214
214
|
enumerable: true,
|
|
215
|
-
get: function () { return
|
|
215
|
+
get: function () { return chunkZBINIUJL_cjs.withSpan; }
|
|
216
216
|
});
|
|
217
217
|
Object.defineProperty(exports, "AvailableHooks", {
|
|
218
218
|
enumerable: true,
|
|
@@ -228,71 +228,71 @@ Object.defineProperty(exports, "registerHook", {
|
|
|
228
228
|
});
|
|
229
229
|
Object.defineProperty(exports, "checkEvalStorageFields", {
|
|
230
230
|
enumerable: true,
|
|
231
|
-
get: function () { return
|
|
231
|
+
get: function () { return chunkGKSWFKHA_cjs.checkEvalStorageFields; }
|
|
232
232
|
});
|
|
233
233
|
Object.defineProperty(exports, "createMastraProxy", {
|
|
234
234
|
enumerable: true,
|
|
235
|
-
get: function () { return
|
|
235
|
+
get: function () { return chunkGKSWFKHA_cjs.createMastraProxy; }
|
|
236
236
|
});
|
|
237
237
|
Object.defineProperty(exports, "deepMerge", {
|
|
238
238
|
enumerable: true,
|
|
239
|
-
get: function () { return
|
|
239
|
+
get: function () { return chunkGKSWFKHA_cjs.deepMerge; }
|
|
240
240
|
});
|
|
241
241
|
Object.defineProperty(exports, "delay", {
|
|
242
242
|
enumerable: true,
|
|
243
|
-
get: function () { return
|
|
243
|
+
get: function () { return chunkGKSWFKHA_cjs.delay; }
|
|
244
244
|
});
|
|
245
245
|
Object.defineProperty(exports, "ensureToolProperties", {
|
|
246
246
|
enumerable: true,
|
|
247
|
-
get: function () { return
|
|
247
|
+
get: function () { return chunkGKSWFKHA_cjs.ensureToolProperties; }
|
|
248
248
|
});
|
|
249
249
|
Object.defineProperty(exports, "fetchWithRetry", {
|
|
250
250
|
enumerable: true,
|
|
251
|
-
get: function () { return
|
|
251
|
+
get: function () { return chunkGKSWFKHA_cjs.fetchWithRetry; }
|
|
252
252
|
});
|
|
253
253
|
Object.defineProperty(exports, "generateEmptyFromSchema", {
|
|
254
254
|
enumerable: true,
|
|
255
|
-
get: function () { return
|
|
255
|
+
get: function () { return chunkGKSWFKHA_cjs.generateEmptyFromSchema; }
|
|
256
256
|
});
|
|
257
257
|
Object.defineProperty(exports, "isCoreMessage", {
|
|
258
258
|
enumerable: true,
|
|
259
|
-
get: function () { return
|
|
259
|
+
get: function () { return chunkGKSWFKHA_cjs.isCoreMessage; }
|
|
260
260
|
});
|
|
261
261
|
Object.defineProperty(exports, "isUiMessage", {
|
|
262
262
|
enumerable: true,
|
|
263
|
-
get: function () { return
|
|
263
|
+
get: function () { return chunkGKSWFKHA_cjs.isUiMessage; }
|
|
264
264
|
});
|
|
265
265
|
Object.defineProperty(exports, "isZodType", {
|
|
266
266
|
enumerable: true,
|
|
267
|
-
get: function () { return
|
|
267
|
+
get: function () { return chunkGKSWFKHA_cjs.isZodType; }
|
|
268
268
|
});
|
|
269
269
|
Object.defineProperty(exports, "makeCoreTool", {
|
|
270
270
|
enumerable: true,
|
|
271
|
-
get: function () { return
|
|
271
|
+
get: function () { return chunkGKSWFKHA_cjs.makeCoreTool; }
|
|
272
272
|
});
|
|
273
273
|
Object.defineProperty(exports, "makeCoreToolV5", {
|
|
274
274
|
enumerable: true,
|
|
275
|
-
get: function () { return
|
|
275
|
+
get: function () { return chunkGKSWFKHA_cjs.makeCoreToolV5; }
|
|
276
276
|
});
|
|
277
277
|
Object.defineProperty(exports, "maskStreamTags", {
|
|
278
278
|
enumerable: true,
|
|
279
|
-
get: function () { return
|
|
279
|
+
get: function () { return chunkGKSWFKHA_cjs.maskStreamTags; }
|
|
280
280
|
});
|
|
281
281
|
Object.defineProperty(exports, "parseFieldKey", {
|
|
282
282
|
enumerable: true,
|
|
283
|
-
get: function () { return
|
|
283
|
+
get: function () { return chunkGKSWFKHA_cjs.parseFieldKey; }
|
|
284
284
|
});
|
|
285
285
|
Object.defineProperty(exports, "parseSqlIdentifier", {
|
|
286
286
|
enumerable: true,
|
|
287
|
-
get: function () { return
|
|
287
|
+
get: function () { return chunkGKSWFKHA_cjs.parseSqlIdentifier; }
|
|
288
288
|
});
|
|
289
289
|
Object.defineProperty(exports, "resolveSerializedZodOutput", {
|
|
290
290
|
enumerable: true,
|
|
291
|
-
get: function () { return
|
|
291
|
+
get: function () { return chunkGKSWFKHA_cjs.resolveSerializedZodOutput; }
|
|
292
292
|
});
|
|
293
293
|
Object.defineProperty(exports, "createTool", {
|
|
294
294
|
enumerable: true,
|
|
295
|
-
get: function () { return
|
|
295
|
+
get: function () { return chunkPRVMPHNQ_cjs.createTool; }
|
|
296
296
|
});
|
|
297
297
|
exports.Agent = Agent2;
|
|
298
298
|
exports.Integration = Integration2;
|
package/dist/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { MastraTTS } from './chunk-
|
|
2
|
-
import { MastraVector } from './chunk-
|
|
3
|
-
export { embed as embedV1, embed2 as embedV2 } from './chunk-
|
|
4
|
-
import { MastraStorage } from './chunk-
|
|
5
|
-
export { ensureDate, resolveMessageLimit, serializeDate } from './chunk-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export {
|
|
10
|
-
|
|
1
|
+
import { MastraTTS } from './chunk-DH34KXOJ.js';
|
|
2
|
+
import { MastraVector } from './chunk-NTXNE4YR.js';
|
|
3
|
+
export { embed as embedV1, embed2 as embedV2 } from './chunk-NTXNE4YR.js';
|
|
4
|
+
import { MastraStorage } from './chunk-ITD7IHN5.js';
|
|
5
|
+
export { ensureDate, resolveMessageLimit, serializeDate } from './chunk-ITD7IHN5.js';
|
|
6
|
+
import { Integration, OpenAPIToolset } from './chunk-C7EN3GVU.js';
|
|
7
|
+
export { Mastra } from './chunk-36QJI2HU.js';
|
|
8
|
+
import { MastraMemory } from './chunk-4LANQQSH.js';
|
|
9
|
+
export { MemoryProcessor, memoryDefaultOptions } from './chunk-4LANQQSH.js';
|
|
10
|
+
export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from './chunk-SW656AYX.js';
|
|
11
|
+
import { MastraDeployer } from './chunk-GBW5ZDLZ.js';
|
|
11
12
|
export { Metric, evaluate } from './chunk-FXLZYRV7.js';
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
export {
|
|
15
|
-
export { InstrumentClass, OTLPTraceExporter as OTLPStorageExporter, Telemetry, getBaggageValues, hasActiveTelemetry, withSpan } from './chunk-TLJPVRO5.js';
|
|
13
|
+
import { Agent, Workflow } from './chunk-OWYPTFXD.js';
|
|
14
|
+
export { DefaultExecutionEngine, ExecutionEngine, Run, cloneStep, cloneWorkflow, createStep, createWorkflow, mapVariable } from './chunk-OWYPTFXD.js';
|
|
15
|
+
export { InstrumentClass, OTLPTraceExporter as OTLPStorageExporter, Telemetry, getBaggageValues, hasActiveTelemetry, withSpan } from './chunk-5QXPHYHO.js';
|
|
16
16
|
export { AvailableHooks, executeHook, registerHook } from './chunk-TTELJD4F.js';
|
|
17
|
-
export { checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureToolProperties, fetchWithRetry, generateEmptyFromSchema, isCoreMessage, isUiMessage, isZodType, makeCoreTool, makeCoreToolV5, maskStreamTags, parseFieldKey, parseSqlIdentifier, resolveSerializedZodOutput } from './chunk-
|
|
18
|
-
import { Tool } from './chunk-
|
|
19
|
-
export { createTool } from './chunk-
|
|
20
|
-
import { MastraBase } from './chunk-
|
|
17
|
+
export { checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureToolProperties, fetchWithRetry, generateEmptyFromSchema, isCoreMessage, isUiMessage, isZodType, makeCoreTool, makeCoreToolV5, maskStreamTags, parseFieldKey, parseSqlIdentifier, resolveSerializedZodOutput } from './chunk-QBRFMSMN.js';
|
|
18
|
+
import { Tool } from './chunk-RAQ4VAQ4.js';
|
|
19
|
+
export { createTool } from './chunk-RAQ4VAQ4.js';
|
|
20
|
+
import { MastraBase } from './chunk-BMVFEBPE.js';
|
|
21
21
|
|
|
22
22
|
// src/agent/index.warning.ts
|
|
23
23
|
var Agent2 = class extends Agent {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkWOC5SCZF_cjs = require('../chunk-WOC5SCZF.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 chunkWOC5SCZF_cjs.Integration; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "OpenAPIToolset", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkWOC5SCZF_cjs.OpenAPIToolset; }
|
|
14
14
|
});
|
|
15
15
|
//# sourceMappingURL=index.cjs.map
|
|
16
16
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -14,6 +14,7 @@ export declare const RegisteredLogger: {
|
|
|
14
14
|
readonly STORAGE: "STORAGE";
|
|
15
15
|
readonly EMBEDDINGS: "EMBEDDINGS";
|
|
16
16
|
readonly MCP_SERVER: "MCP_SERVER";
|
|
17
|
+
readonly SERVER_CACHE: "SERVER_CACHE";
|
|
17
18
|
};
|
|
18
19
|
export type RegisteredLogger = (typeof RegisteredLogger)[keyof typeof RegisteredLogger];
|
|
19
20
|
export declare const LogLevel: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/logger/constants.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/logger/constants.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;CAiBnB,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAExF,eAAO,MAAM,QAAQ;;;;;;CAMX,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,QAAQ,CAAC,CAAC,MAAM,OAAO,QAAQ,CAAC,CAAC"}
|
package/dist/logger/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunk6TEQIYXV_cjs = require('../chunk-6TEQIYXV.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkWVCEJBDR_cjs = require('../chunk-WVCEJBDR.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -23,23 +23,23 @@ Object.defineProperty(exports, "noopLogger", {
|
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "ConsoleLogger", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkWVCEJBDR_cjs.ConsoleLogger; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "LogLevel", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkWVCEJBDR_cjs.LogLevel; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "MastraLogger", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkWVCEJBDR_cjs.MastraLogger; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "RegisteredLogger", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkWVCEJBDR_cjs.RegisteredLogger; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "createLogger", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkWVCEJBDR_cjs.createLogger; }
|
|
43
43
|
});
|
|
44
44
|
//# sourceMappingURL=index.cjs.map
|
|
45
45
|
//# sourceMappingURL=index.cjs.map
|
package/dist/logger/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { LoggerTransport, MultiLogger, createCustomTransport, noopLogger } from '../chunk-PFXXH2RP.js';
|
|
2
|
-
export { ConsoleLogger, LogLevel, MastraLogger, RegisteredLogger, createLogger } from '../chunk-
|
|
2
|
+
export { ConsoleLogger, LogLevel, MastraLogger, RegisteredLogger, createLogger } from '../chunk-BN2M4UK5.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/loop/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk6WEZASFM_cjs = require('../chunk-6WEZASFM.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "loop", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk6WEZASFM_cjs.loop; }
|
|
10
10
|
});
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/loop/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/loop/network/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,KAAK,EAAmB,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAClF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AAqEjF,wBAAgB,cAAc,CAAC,QAAQ,EAAE,gBAAgB,UAsBxD;AAED,wBAAsB,iBAAiB,CAAC,EACtC,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,YAAY,EACZ,cAAc,EACd,UAAU,GACX,EAAE;IACD,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,YAAY,EAAE,KAAK,CAAC;IACpB,cAAc,EAAE,cAAc,CAAC;IAC/B,UAAU,EAAE,MAAM,MAAM,CAAC;CAC1B;;GAwCA;AAED,wBAAsB,iBAAiB,CAAC,EACtC,WAAW,EACX,cAAc,EACd,KAAK,EACL,KAAK,EACL,UAAU,EACV,mBAAmB,GACpB,EAAE;IACD,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,cAAc,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,KAAK,CAAC;IACb,mBAAmB,CAAC,EAAE,IAAI,CAAC,8BAA8B,EAAE,WAAW,GAAG,eAAe,CAAC,CAAC;IAC1F,UAAU,EAAE,MAAM,MAAM,CAAC;CAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/loop/network/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,KAAK,EAAmB,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAClF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AAqEjF,wBAAgB,cAAc,CAAC,QAAQ,EAAE,gBAAgB,UAsBxD;AAED,wBAAsB,iBAAiB,CAAC,EACtC,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,YAAY,EACZ,cAAc,EACd,UAAU,GACX,EAAE;IACD,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,YAAY,EAAE,KAAK,CAAC;IACpB,cAAc,EAAE,cAAc,CAAC;IAC/B,UAAU,EAAE,MAAM,MAAM,CAAC;CAC1B;;GAwCA;AAED,wBAAsB,iBAAiB,CAAC,EACtC,WAAW,EACX,cAAc,EACd,KAAK,EACL,KAAK,EACL,UAAU,EACV,mBAAmB,GACpB,EAAE;IACD,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,cAAc,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,KAAK,CAAC;IACb,mBAAmB,CAAC,EAAE,IAAI,CAAC,8BAA8B,EAAE,WAAW,GAAG,eAAe,CAAC,CAAC;IAC1F,UAAU,EAAE,MAAM,MAAM,CAAC;CAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+pBA;AAED,wBAAsB,WAAW,CAC/B,MAAM,SAAS,YAAY,GAAG,SAAS,GAAG,SAAS,EACnD,iBAAiB,SAAS,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,EACzE,MAAM,SAAS,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,EACzD,EACA,WAAW,EACX,cAAc,EACd,KAAK,EACL,YAAY,EACZ,mBAAmB,EACnB,UAAU,EACV,aAAa,EACb,QAAQ,EACR,UAAU,EACV,QAAQ,GACT,EAAE;IACD,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,cAAc,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,KAAK,CAAC;IACpB,mBAAmB,CAAC,EAAE,qBAAqB,CAAC,MAAM,EAAE,iBAAiB,EAAE,MAAM,CAAC,CAAC;IAC/E,UAAU,EAAE,MAAM,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,gBAAgB,CAAC;CAC5B,qCA+FA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generateText.d.ts","sourceRoot":"","sources":["../../../src/loop/test-utils/generateText.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAKpC,wBAAgB,mBAAmB,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE;IAAE,MAAM,EAAE,OAAO,IAAI,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"generateText.d.ts","sourceRoot":"","sources":["../../../src/loop/test-utils/generateText.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAKpC,wBAAgB,mBAAmB,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE;IAAE,MAAM,EAAE,OAAO,IAAI,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,QAm8F5F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"llm-execution-step.d.ts","sourceRoot":"","sources":["../../../../src/loop/workflows/agentic-execution/llm-execution-step.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAMrC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAUhE,OAAO,KAAK,EAAc,WAAW,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"llm-execution-step.d.ts","sourceRoot":"","sources":["../../../../src/loop/workflows/agentic-execution/llm-execution-step.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAMrC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAUhE,OAAO,KAAK,EAAc,WAAW,EAAE,MAAM,aAAa,CAAC;AA8X3D,wBAAgB,sBAAsB,CACpC,KAAK,SAAS,OAAO,GAAG,OAAO,EAC/B,MAAM,SAAS,YAAY,GAAG,SAAS,GAAG,SAAS,EACnD,EACA,MAAM,EACN,SAAS,EACT,SAAS,EACT,KAAK,EACL,eAAe,EACf,kBAAkB,EAClB,KAAK,EACL,UAAU,EACV,WAAW,EACX,gBAAgB,EAChB,aAAa,EACb,eAAe,EACf,OAAO,EACP,iBAAiB,EACjB,UAAU,EACV,MAAM,EACN,gBAAgB,EAChB,OAAO,EACP,eAAe,EACf,mBAAmB,GACpB,EAAE,WAAW,CAAC,KAAK,EAAE,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gKAmV5B"}
|
package/dist/mastra/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk64ONYYLY_cjs = require('../chunk-64ONYYLY.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Mastra", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk64ONYYLY_cjs.Mastra; }
|
|
10
10
|
});
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/mastra/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Agent } from '../agent/index.js';
|
|
2
2
|
import type { ObservabilityRegistryConfig } from '../ai-tracing/index.js';
|
|
3
3
|
import type { BundlerConfig } from '../bundler/types.js';
|
|
4
|
+
import type { MastraServerCache } from '../cache/index.js';
|
|
4
5
|
import type { MastraDeployer } from '../deployer/index.js';
|
|
5
6
|
import type { PubSub } from '../events/pubsub.js';
|
|
6
7
|
import type { Event } from '../events/types.js';
|
|
@@ -8,7 +9,6 @@ import { LogLevel } from '../logger/index.js';
|
|
|
8
9
|
import type { IMastraLogger } from '../logger/index.js';
|
|
9
10
|
import type { MCPServerBase } from '../mcp/index.js';
|
|
10
11
|
import type { MastraMemory } from '../memory/memory.js';
|
|
11
|
-
import type { AgentNetwork } from '../network/index.js';
|
|
12
12
|
import type { NewAgentNetwork } from '../network/vNext/index.js';
|
|
13
13
|
import type { MastraScorer } from '../scores/index.js';
|
|
14
14
|
import type { Middleware, ServerConfig } from '../server/types.js';
|
|
@@ -20,9 +20,8 @@ import type { MastraIdGenerator } from '../types.js';
|
|
|
20
20
|
import type { MastraVector } from '../vector/index.js';
|
|
21
21
|
import type { Workflow } from '../workflows/index.js';
|
|
22
22
|
import type { LegacyWorkflow } from '../workflows/legacy/index.js';
|
|
23
|
-
export interface Config<TAgents extends Record<string, Agent<any>> = Record<string, Agent<any>>, TLegacyWorkflows extends Record<string, LegacyWorkflow> = Record<string, LegacyWorkflow>, TWorkflows extends Record<string, Workflow> = Record<string, Workflow>, TVectors extends Record<string, MastraVector> = Record<string, MastraVector>, TTTS extends Record<string, MastraTTS> = Record<string, MastraTTS>, TLogger extends IMastraLogger = IMastraLogger,
|
|
23
|
+
export interface Config<TAgents extends Record<string, Agent<any>> = Record<string, Agent<any>>, TLegacyWorkflows extends Record<string, LegacyWorkflow> = Record<string, LegacyWorkflow>, TWorkflows extends Record<string, Workflow> = Record<string, Workflow>, TVectors extends Record<string, MastraVector> = Record<string, MastraVector>, TTTS extends Record<string, MastraTTS> = Record<string, MastraTTS>, TLogger extends IMastraLogger = IMastraLogger, TVNextNetworks extends Record<string, NewAgentNetwork> = Record<string, NewAgentNetwork>, TMCPServers extends Record<string, MCPServerBase> = Record<string, MCPServerBase>, TScorers extends Record<string, MastraScorer<any, any, any, any>> = Record<string, MastraScorer<any, any, any, any>>> {
|
|
24
24
|
agents?: TAgents;
|
|
25
|
-
networks?: TNetworks;
|
|
26
25
|
vnext_networks?: TVNextNetworks;
|
|
27
26
|
storage?: MastraStorage;
|
|
28
27
|
vectors?: TVectors;
|
|
@@ -53,7 +52,7 @@ export interface Config<TAgents extends Record<string, Agent<any>> = Record<stri
|
|
|
53
52
|
[topic: string]: (event: Event, cb?: () => Promise<void>) => Promise<void> | ((event: Event, cb?: () => Promise<void>) => Promise<void>)[];
|
|
54
53
|
};
|
|
55
54
|
}
|
|
56
|
-
export declare class Mastra<TAgents extends Record<string, Agent<any>> = Record<string, Agent<any>>, TLegacyWorkflows extends Record<string, LegacyWorkflow> = Record<string, LegacyWorkflow>, TWorkflows extends Record<string, Workflow> = Record<string, Workflow>, TVectors extends Record<string, MastraVector> = Record<string, MastraVector>, TTTS extends Record<string, MastraTTS> = Record<string, MastraTTS>, TLogger extends IMastraLogger = IMastraLogger,
|
|
55
|
+
export declare class Mastra<TAgents extends Record<string, Agent<any>> = Record<string, Agent<any>>, TLegacyWorkflows extends Record<string, LegacyWorkflow> = Record<string, LegacyWorkflow>, TWorkflows extends Record<string, Workflow> = Record<string, Workflow>, TVectors extends Record<string, MastraVector> = Record<string, MastraVector>, TTTS extends Record<string, MastraTTS> = Record<string, MastraTTS>, TLogger extends IMastraLogger = IMastraLogger, TVNextNetworks extends Record<string, NewAgentNetwork> = Record<string, NewAgentNetwork>, TMCPServers extends Record<string, MCPServerBase> = Record<string, MCPServerBase>, TScorers extends Record<string, MastraScorer<any, any, any, any>> = Record<string, MastraScorer<any, any, any, any>>> {
|
|
57
56
|
#private;
|
|
58
57
|
/**
|
|
59
58
|
* @deprecated use getTelemetry() instead
|
|
@@ -75,7 +74,7 @@ export declare class Mastra<TAgents extends Record<string, Agent<any>> = Record<
|
|
|
75
74
|
*/
|
|
76
75
|
generateId(): string;
|
|
77
76
|
setIdGenerator(idGenerator: MastraIdGenerator): void;
|
|
78
|
-
constructor(config?: Config<TAgents, TLegacyWorkflows, TWorkflows, TVectors, TTTS, TLogger,
|
|
77
|
+
constructor(config?: Config<TAgents, TLegacyWorkflows, TWorkflows, TVectors, TTTS, TLogger, TVNextNetworks, TMCPServers, TScorers>);
|
|
79
78
|
/**
|
|
80
79
|
* Register this Mastra instance with AI tracing exporters that need it
|
|
81
80
|
*/
|
|
@@ -120,17 +119,11 @@ export declare class Mastra<TAgents extends Record<string, Agent<any>> = Record<
|
|
|
120
119
|
handler: (c: any, next: () => Promise<void>) => Promise<Response | void>;
|
|
121
120
|
path: string;
|
|
122
121
|
}[];
|
|
122
|
+
getServerCache(): MastraServerCache;
|
|
123
123
|
setServerMiddleware(serverMiddleware: Middleware | Middleware[]): void;
|
|
124
|
-
getNetworks(): AgentNetwork[];
|
|
125
124
|
vnext_getNetworks(): NewAgentNetwork[];
|
|
126
125
|
getServer(): ServerConfig | undefined;
|
|
127
126
|
getBundlerConfig(): BundlerConfig | undefined;
|
|
128
|
-
/**
|
|
129
|
-
* Get a specific network by ID
|
|
130
|
-
* @param networkId - The ID of the network to retrieve
|
|
131
|
-
* @returns The network with the specified ID, or undefined if not found
|
|
132
|
-
*/
|
|
133
|
-
getNetwork(networkId: string): AgentNetwork | undefined;
|
|
134
127
|
vnext_getNetwork(networkId: string): NewAgentNetwork | undefined;
|
|
135
128
|
getLogsByRunId({ runId, transportId, fromDate, toDate, logLevel, filters, page, perPage, }: {
|
|
136
129
|
runId: string;
|
|
@@ -185,5 +178,6 @@ export declare class Mastra<TAgents extends Record<string, Agent<any>> = Record<
|
|
|
185
178
|
* Shutdown Mastra and clean up all resources
|
|
186
179
|
*/
|
|
187
180
|
shutdown(): Promise<void>;
|
|
181
|
+
get serverCache(): MastraServerCache;
|
|
188
182
|
}
|
|
189
183
|
//# sourceMappingURL=index.d.ts.map
|