@mastra/core 0.21.0 → 0.21.1
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 +24 -0
- package/dist/agent/agent.d.ts +7 -1
- package/dist/agent/agent.d.ts.map +1 -1
- package/dist/agent/index.cjs +13 -13
- 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/agent/utils.d.ts.map +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/index.cjs +3 -3
- package/dist/cache/index.js +1 -1
- package/dist/{chunk-EQV2PPN2.js → chunk-3NTOFNIU.js} +3 -3
- package/dist/{chunk-EQV2PPN2.js.map → chunk-3NTOFNIU.js.map} +1 -1
- package/dist/{chunk-DD3PWTXW.js → chunk-3V4O35FO.js} +4 -4
- package/dist/{chunk-DD3PWTXW.js.map → chunk-3V4O35FO.js.map} +1 -1
- package/dist/{chunk-JKJW6ASJ.cjs → chunk-44ODA6L3.cjs} +10 -10
- package/dist/{chunk-JKJW6ASJ.cjs.map → chunk-44ODA6L3.cjs.map} +1 -1
- package/dist/{chunk-VLJO4NT4.cjs → chunk-462DRETM.cjs} +62 -57
- package/dist/chunk-462DRETM.cjs.map +1 -0
- package/dist/{chunk-U5JW6KRX.js → chunk-5DZ4RYWL.js} +3 -3
- package/dist/{chunk-U5JW6KRX.js.map → chunk-5DZ4RYWL.js.map} +1 -1
- package/dist/{chunk-4L3P3PCP.cjs → chunk-6VOPKVYH.cjs} +8 -8
- package/dist/{chunk-4L3P3PCP.cjs.map → chunk-6VOPKVYH.cjs.map} +1 -1
- package/dist/{chunk-WVCEJBDR.cjs → chunk-A5KDVZDL.cjs} +3 -3
- package/dist/{chunk-WVCEJBDR.cjs.map → chunk-A5KDVZDL.cjs.map} +1 -1
- package/dist/{chunk-AVKWVYFN.cjs → chunk-AJK7QPSD.cjs} +11 -11
- package/dist/{chunk-AVKWVYFN.cjs.map → chunk-AJK7QPSD.cjs.map} +1 -1
- package/dist/{chunk-G4GBV44L.cjs → chunk-APY2BE4K.cjs} +4 -4
- package/dist/{chunk-G4GBV44L.cjs.map → chunk-APY2BE4K.cjs.map} +1 -1
- package/dist/{chunk-UU5L5GDY.cjs → chunk-B7V6NYWH.cjs} +4 -4
- package/dist/{chunk-UU5L5GDY.cjs.map → chunk-B7V6NYWH.cjs.map} +1 -1
- package/dist/{chunk-EABGDF4D.cjs → chunk-BV6CD4IZ.cjs} +9 -9
- package/dist/{chunk-EABGDF4D.cjs.map → chunk-BV6CD4IZ.cjs.map} +1 -1
- package/dist/{chunk-WU7LIV3L.cjs → chunk-DGQW5VRR.cjs} +337 -15
- package/dist/chunk-DGQW5VRR.cjs.map +1 -0
- package/dist/{chunk-MUBNGSAO.js → chunk-F6BMIPYW.js} +3 -3
- package/dist/{chunk-MUBNGSAO.js.map → chunk-F6BMIPYW.js.map} +1 -1
- package/dist/{chunk-AJQHJNNW.cjs → chunk-FESSBG5D.cjs} +17 -17
- package/dist/{chunk-AJQHJNNW.cjs.map → chunk-FESSBG5D.cjs.map} +1 -1
- package/dist/{chunk-Y3IFARBC.js → chunk-FLXB6WXO.js} +3 -3
- package/dist/{chunk-Y3IFARBC.js.map → chunk-FLXB6WXO.js.map} +1 -1
- package/dist/{chunk-UMLRW5Y3.js → chunk-HBJVAMCS.js} +16 -11
- package/dist/chunk-HBJVAMCS.js.map +1 -0
- package/dist/{chunk-VNVHOWW4.js → chunk-HP7B2TQQ.js} +335 -13
- package/dist/chunk-HP7B2TQQ.js.map +1 -0
- package/dist/{chunk-7QC3MHP7.cjs → chunk-I7KJDXUK.cjs} +4 -4
- package/dist/{chunk-7QC3MHP7.cjs.map → chunk-I7KJDXUK.cjs.map} +1 -1
- package/dist/{chunk-4PRV2Y55.cjs → chunk-IQGDOBME.cjs} +4 -4
- package/dist/{chunk-4PRV2Y55.cjs.map → chunk-IQGDOBME.cjs.map} +1 -1
- package/dist/{chunk-4EXSSE3I.js → chunk-J2OKI2L3.js} +5 -5
- package/dist/{chunk-4EXSSE3I.js.map → chunk-J2OKI2L3.js.map} +1 -1
- package/dist/{chunk-HQKCS7H7.cjs → chunk-KAV4EP3T.cjs} +4 -4
- package/dist/{chunk-HQKCS7H7.cjs.map → chunk-KAV4EP3T.cjs.map} +1 -1
- package/dist/{chunk-GBW5ZDLZ.js → chunk-KDX3ZMQ2.js} +3 -3
- package/dist/{chunk-GBW5ZDLZ.js.map → chunk-KDX3ZMQ2.js.map} +1 -1
- package/dist/{chunk-42VT5WOB.js → chunk-LBEV3YZ2.js} +3 -3
- package/dist/{chunk-42VT5WOB.js.map → chunk-LBEV3YZ2.js.map} +1 -1
- package/dist/{chunk-T4MYULBA.js → chunk-MUAFIPD7.js} +4 -4
- package/dist/{chunk-T4MYULBA.js.map → chunk-MUAFIPD7.js.map} +1 -1
- package/dist/{chunk-EF6Y74CN.js → chunk-NFIADRH5.js} +3 -3
- package/dist/{chunk-EF6Y74CN.js.map → chunk-NFIADRH5.js.map} +1 -1
- package/dist/{chunk-NXBBSTIG.js → chunk-NHKXTGR6.js} +4 -4
- package/dist/{chunk-NXBBSTIG.js.map → chunk-NHKXTGR6.js.map} +1 -1
- package/dist/{chunk-R37WYGEC.js → chunk-NUURZ3AY.js} +5 -5
- package/dist/{chunk-R37WYGEC.js.map → chunk-NUURZ3AY.js.map} +1 -1
- package/dist/{chunk-W5YMECZP.cjs → chunk-OY6UJ3QL.cjs} +4 -4
- package/dist/{chunk-W5YMECZP.cjs.map → chunk-OY6UJ3QL.cjs.map} +1 -1
- package/dist/{chunk-4HWB6PCC.cjs → chunk-QFF5JUKT.cjs} +4 -4
- package/dist/{chunk-4HWB6PCC.cjs.map → chunk-QFF5JUKT.cjs.map} +1 -1
- package/dist/{chunk-NMSLDMQ6.js → chunk-RBO5BUGG.js} +3 -3
- package/dist/{chunk-NMSLDMQ6.js.map → chunk-RBO5BUGG.js.map} +1 -1
- package/dist/{chunk-NEWEONKX.cjs → chunk-ROBLMWF6.cjs} +4 -4
- package/dist/{chunk-NEWEONKX.cjs.map → chunk-ROBLMWF6.cjs.map} +1 -1
- package/dist/chunk-SSULK22X.cjs +14 -0
- package/dist/{chunk-QLYANYE2.cjs.map → chunk-SSULK22X.cjs.map} +1 -1
- package/dist/{chunk-2KES233Q.js → chunk-T3PBU7JK.js} +3 -3
- package/dist/{chunk-2KES233Q.js.map → chunk-T3PBU7JK.js.map} +1 -1
- package/dist/{chunk-IB27A3HF.cjs → chunk-TKYKL7Y4.cjs} +4 -4
- package/dist/{chunk-IB27A3HF.cjs.map → chunk-TKYKL7Y4.cjs.map} +1 -1
- package/dist/{chunk-3Q5AADIA.js → chunk-U6CUPKV2.js} +7 -7
- package/dist/{chunk-3Q5AADIA.js.map → chunk-U6CUPKV2.js.map} +1 -1
- package/dist/{chunk-BN2M4UK5.js → chunk-UXG7PYML.js} +3 -3
- package/dist/{chunk-BN2M4UK5.js.map → chunk-UXG7PYML.js.map} +1 -1
- package/dist/{chunk-BMVFEBPE.js → chunk-VQASQG5D.js} +3 -3
- package/dist/{chunk-BMVFEBPE.js.map → chunk-VQASQG5D.js.map} +1 -1
- package/dist/{chunk-BBNBATLR.cjs → chunk-W3DS6F6G.cjs} +4 -4
- package/dist/{chunk-BBNBATLR.cjs.map → chunk-W3DS6F6G.cjs.map} +1 -1
- package/dist/{chunk-HOPRWFM3.cjs → chunk-XHPBKALR.cjs} +16 -16
- package/dist/{chunk-HOPRWFM3.cjs.map → chunk-XHPBKALR.cjs.map} +1 -1
- package/dist/{chunk-FJJV3END.cjs → chunk-XVREJCOW.cjs} +8 -8
- package/dist/{chunk-FJJV3END.cjs.map → chunk-XVREJCOW.cjs.map} +1 -1
- package/dist/{chunk-KK5LUATU.js → chunk-Z2OK2JM2.js} +3 -3
- package/dist/{chunk-KK5LUATU.js.map → chunk-Z2OK2JM2.js.map} +1 -1
- package/dist/{chunk-PYVA36ZV.js → chunk-ZMELUU72.js} +3 -3
- package/dist/{chunk-PYVA36ZV.js.map → chunk-ZMELUU72.js.map} +1 -1
- package/dist/deployer/index.cjs +2 -2
- package/dist/deployer/index.js +1 -1
- package/dist/index.cjs +61 -61
- package/dist/index.js +15 -15
- package/dist/llm/index.cjs +6 -6
- package/dist/llm/index.js +1 -1
- package/dist/llm/model/provider-types.generated.d.ts +160 -3
- package/dist/llm/model/registry-generator.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/mastra/index.cjs +2 -2
- 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/netlify-3B6HDHRP.cjs +12 -0
- package/dist/{netlify-53AMH53Z.cjs.map → netlify-3B6HDHRP.cjs.map} +1 -1
- package/dist/netlify-NYFKA6UB.js +3 -0
- package/dist/{netlify-NP3YFNSZ.js.map → netlify-NYFKA6UB.js.map} +1 -1
- package/dist/processors/index.cjs +11 -11
- package/dist/processors/index.js +1 -1
- package/dist/provider-registry.json +330 -8
- package/dist/{registry-generator-7XDUEFUT.cjs → registry-generator-6WVOHM2L.cjs} +8 -2
- package/dist/registry-generator-6WVOHM2L.cjs.map +1 -0
- package/dist/{registry-generator-ZKIT6I3E.js → registry-generator-DXRSYYYT.js} +7 -2
- package/dist/{registry-generator-7XDUEFUT.cjs.map → registry-generator-DXRSYYYT.js.map} +1 -1
- package/dist/relevance/index.cjs +4 -4
- package/dist/relevance/index.js +1 -1
- package/dist/scores/index.cjs +9 -9
- package/dist/scores/index.js +2 -2
- package/dist/scores/scoreTraces/index.cjs +8 -8
- package/dist/scores/scoreTraces/index.js +3 -3
- package/dist/server/index.cjs +2 -2
- package/dist/server/index.js +1 -1
- package/dist/storage/index.cjs +17 -17
- package/dist/storage/index.js +4 -4
- package/dist/stream/aisdk/v5/output.d.ts.map +1 -1
- package/dist/stream/base/output.d.ts.map +1 -1
- package/dist/stream/index.cjs +10 -10
- package/dist/stream/index.js +2 -2
- package/dist/stream/types.d.ts +78 -8
- package/dist/stream/types.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/tts/index.cjs +2 -2
- package/dist/tts/index.js +1 -1
- package/dist/utils.cjs +17 -17
- 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/evented/index.cjs +10 -10
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/index.cjs +12 -12
- 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 +2 -70
- package/dist/workflows/types.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/llm/model/provider-types.generated.d.ts +160 -3
- package/dist/chunk-QLYANYE2.cjs +0 -14
- package/dist/chunk-UMLRW5Y3.js.map +0 -1
- package/dist/chunk-VLJO4NT4.cjs.map +0 -1
- package/dist/chunk-VNVHOWW4.js.map +0 -1
- package/dist/chunk-WU7LIV3L.cjs.map +0 -1
- package/dist/netlify-53AMH53Z.cjs +0 -12
- package/dist/netlify-NP3YFNSZ.js +0 -3
- package/dist/registry-generator-ZKIT6I3E.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
3
|
+
var chunkROBLMWF6_cjs = require('./chunk-ROBLMWF6.cjs');
|
|
4
|
+
var chunkIQGDOBME_cjs = require('./chunk-IQGDOBME.cjs');
|
|
5
|
+
var chunkTKYKL7Y4_cjs = require('./chunk-TKYKL7Y4.cjs');
|
|
6
|
+
var chunkFESSBG5D_cjs = require('./chunk-FESSBG5D.cjs');
|
|
7
|
+
var chunkBV6CD4IZ_cjs = require('./chunk-BV6CD4IZ.cjs');
|
|
8
|
+
var chunkW3DS6F6G_cjs = require('./chunk-W3DS6F6G.cjs');
|
|
9
|
+
var chunkSSULK22X_cjs = require('./chunk-SSULK22X.cjs');
|
|
10
10
|
var chunk576KDLXN_cjs = require('./chunk-576KDLXN.cjs');
|
|
11
11
|
var chunkL5A4MRCK_cjs = require('./chunk-L5A4MRCK.cjs');
|
|
12
|
-
var
|
|
12
|
+
var chunk462DRETM_cjs = require('./chunk-462DRETM.cjs');
|
|
13
13
|
var chunk2JUDZXVI_cjs = require('./chunk-2JUDZXVI.cjs');
|
|
14
|
-
var
|
|
14
|
+
var chunkDGQW5VRR_cjs = require('./chunk-DGQW5VRR.cjs');
|
|
15
15
|
var chunkTSNDVBUU_cjs = require('./chunk-TSNDVBUU.cjs');
|
|
16
|
-
var
|
|
16
|
+
var chunk44ODA6L3_cjs = require('./chunk-44ODA6L3.cjs');
|
|
17
17
|
var chunkSE4PA467_cjs = require('./chunk-SE4PA467.cjs');
|
|
18
|
-
var
|
|
18
|
+
var chunk6VOPKVYH_cjs = require('./chunk-6VOPKVYH.cjs');
|
|
19
19
|
|
|
20
20
|
// src/agent/index.warning.ts
|
|
21
|
-
var Agent2 = class extends
|
|
21
|
+
var Agent2 = class extends chunk462DRETM_cjs.Agent {
|
|
22
22
|
constructor(config) {
|
|
23
23
|
super(config);
|
|
24
24
|
this.logger.warn('Please import Agent from "@mastra/core/agent" instead of "@mastra/core"');
|
|
@@ -26,7 +26,7 @@ var Agent2 = class extends chunkVLJO4NT4_cjs.Agent {
|
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
// src/base.warning.ts
|
|
29
|
-
var MastraBase2 = class extends
|
|
29
|
+
var MastraBase2 = class extends chunk6VOPKVYH_cjs.MastraBase {
|
|
30
30
|
constructor(args) {
|
|
31
31
|
super(args);
|
|
32
32
|
this.logger.warn('Please import "MastraBase" from "@mastra/core/base" instead of "@mastra/core"');
|
|
@@ -34,7 +34,7 @@ var MastraBase2 = class extends chunk4L3P3PCP_cjs.MastraBase {
|
|
|
34
34
|
};
|
|
35
35
|
|
|
36
36
|
// src/deployer/index.warning.ts
|
|
37
|
-
var MastraDeployer2 = class extends
|
|
37
|
+
var MastraDeployer2 = class extends chunkSSULK22X_cjs.MastraDeployer {
|
|
38
38
|
constructor(args) {
|
|
39
39
|
super(args);
|
|
40
40
|
this.logger.warn('Please import "MastraDeployer" from "@mastra/core/deployer" instead of "@mastra/core"');
|
|
@@ -42,7 +42,7 @@ var MastraDeployer2 = class extends chunkQLYANYE2_cjs.MastraDeployer {
|
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
// src/storage/base.warning.ts
|
|
45
|
-
var MastraStorage2 = class extends
|
|
45
|
+
var MastraStorage2 = class extends chunkTKYKL7Y4_cjs.MastraStorage {
|
|
46
46
|
constructor({ name }) {
|
|
47
47
|
super({
|
|
48
48
|
name
|
|
@@ -68,7 +68,7 @@ var OpenAPIToolset2 = class extends chunkL5A4MRCK_cjs.OpenAPIToolset {
|
|
|
68
68
|
};
|
|
69
69
|
|
|
70
70
|
// src/memory/index.warning.ts
|
|
71
|
-
var MastraMemory2 = class extends
|
|
71
|
+
var MastraMemory2 = class extends chunkBV6CD4IZ_cjs.MastraMemory {
|
|
72
72
|
constructor(_arg) {
|
|
73
73
|
super({ name: `Deprecated memory` });
|
|
74
74
|
this.logger.warn('Please import "MastraMemory" from "@mastra/core/memory" instead of "@mastra/core"');
|
|
@@ -84,7 +84,7 @@ var Tool2 = class extends chunkSE4PA467_cjs.Tool {
|
|
|
84
84
|
};
|
|
85
85
|
|
|
86
86
|
// src/tts/index.warning.ts
|
|
87
|
-
var MastraTTS2 = class extends
|
|
87
|
+
var MastraTTS2 = class extends chunkROBLMWF6_cjs.MastraTTS {
|
|
88
88
|
constructor(args) {
|
|
89
89
|
super(args);
|
|
90
90
|
this.logger.warn('Please import "MastraTTS" from "@mastra/core/tts" instead of "@mastra/core"');
|
|
@@ -92,7 +92,7 @@ var MastraTTS2 = class extends chunkNEWEONKX_cjs.MastraTTS {
|
|
|
92
92
|
};
|
|
93
93
|
|
|
94
94
|
// src/vector/index.warning.ts
|
|
95
|
-
var MastraVector2 = class extends
|
|
95
|
+
var MastraVector2 = class extends chunkIQGDOBME_cjs.MastraVector {
|
|
96
96
|
constructor() {
|
|
97
97
|
super();
|
|
98
98
|
this.logger.warn('Please import "MastraVector" from "@mastra/core/vector" instead of "@mastra/core"');
|
|
@@ -100,7 +100,7 @@ var MastraVector2 = class extends chunk4PRV2Y55_cjs.MastraVector {
|
|
|
100
100
|
};
|
|
101
101
|
|
|
102
102
|
// src/workflows/workflow.warning.ts
|
|
103
|
-
var Workflow2 = class extends
|
|
103
|
+
var Workflow2 = class extends chunk462DRETM_cjs.Workflow {
|
|
104
104
|
constructor(args) {
|
|
105
105
|
super(args);
|
|
106
106
|
this.logger.warn('Please import "Workflow" from "@mastra/core/workflows" instead of "@mastra/core"');
|
|
@@ -109,47 +109,47 @@ var Workflow2 = class extends chunkVLJO4NT4_cjs.Workflow {
|
|
|
109
109
|
|
|
110
110
|
Object.defineProperty(exports, "embedV1", {
|
|
111
111
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkIQGDOBME_cjs.embed; }
|
|
113
113
|
});
|
|
114
114
|
Object.defineProperty(exports, "embedV2", {
|
|
115
115
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkIQGDOBME_cjs.embed2; }
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(exports, "ensureDate", {
|
|
119
119
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkTKYKL7Y4_cjs.ensureDate; }
|
|
121
121
|
});
|
|
122
122
|
Object.defineProperty(exports, "resolveMessageLimit", {
|
|
123
123
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkTKYKL7Y4_cjs.resolveMessageLimit; }
|
|
125
125
|
});
|
|
126
126
|
Object.defineProperty(exports, "serializeDate", {
|
|
127
127
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkTKYKL7Y4_cjs.serializeDate; }
|
|
129
129
|
});
|
|
130
130
|
Object.defineProperty(exports, "Mastra", {
|
|
131
131
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkFESSBG5D_cjs.Mastra; }
|
|
133
133
|
});
|
|
134
134
|
Object.defineProperty(exports, "MemoryProcessor", {
|
|
135
135
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunkBV6CD4IZ_cjs.MemoryProcessor; }
|
|
137
137
|
});
|
|
138
138
|
Object.defineProperty(exports, "memoryDefaultOptions", {
|
|
139
139
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunkBV6CD4IZ_cjs.memoryDefaultOptions; }
|
|
141
141
|
});
|
|
142
142
|
Object.defineProperty(exports, "CohereRelevanceScorer", {
|
|
143
143
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunkW3DS6F6G_cjs.CohereRelevanceScorer; }
|
|
145
145
|
});
|
|
146
146
|
Object.defineProperty(exports, "MastraAgentRelevanceScorer", {
|
|
147
147
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunkW3DS6F6G_cjs.MastraAgentRelevanceScorer; }
|
|
149
149
|
});
|
|
150
150
|
Object.defineProperty(exports, "createSimilarityPrompt", {
|
|
151
151
|
enumerable: true,
|
|
152
|
-
get: function () { return
|
|
152
|
+
get: function () { return chunkW3DS6F6G_cjs.createSimilarityPrompt; }
|
|
153
153
|
});
|
|
154
154
|
Object.defineProperty(exports, "Metric", {
|
|
155
155
|
enumerable: true,
|
|
@@ -161,43 +161,43 @@ Object.defineProperty(exports, "evaluate", {
|
|
|
161
161
|
});
|
|
162
162
|
Object.defineProperty(exports, "DefaultExecutionEngine", {
|
|
163
163
|
enumerable: true,
|
|
164
|
-
get: function () { return
|
|
164
|
+
get: function () { return chunk462DRETM_cjs.DefaultExecutionEngine; }
|
|
165
165
|
});
|
|
166
166
|
Object.defineProperty(exports, "ExecutionEngine", {
|
|
167
167
|
enumerable: true,
|
|
168
|
-
get: function () { return
|
|
168
|
+
get: function () { return chunk462DRETM_cjs.ExecutionEngine; }
|
|
169
169
|
});
|
|
170
170
|
Object.defineProperty(exports, "Run", {
|
|
171
171
|
enumerable: true,
|
|
172
|
-
get: function () { return
|
|
172
|
+
get: function () { return chunk462DRETM_cjs.Run; }
|
|
173
173
|
});
|
|
174
174
|
Object.defineProperty(exports, "cloneStep", {
|
|
175
175
|
enumerable: true,
|
|
176
|
-
get: function () { return
|
|
176
|
+
get: function () { return chunk462DRETM_cjs.cloneStep; }
|
|
177
177
|
});
|
|
178
178
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
179
179
|
enumerable: true,
|
|
180
|
-
get: function () { return
|
|
180
|
+
get: function () { return chunk462DRETM_cjs.cloneWorkflow; }
|
|
181
181
|
});
|
|
182
182
|
Object.defineProperty(exports, "createStep", {
|
|
183
183
|
enumerable: true,
|
|
184
|
-
get: function () { return
|
|
184
|
+
get: function () { return chunk462DRETM_cjs.createStep; }
|
|
185
185
|
});
|
|
186
186
|
Object.defineProperty(exports, "createWorkflow", {
|
|
187
187
|
enumerable: true,
|
|
188
|
-
get: function () { return
|
|
188
|
+
get: function () { return chunk462DRETM_cjs.createWorkflow; }
|
|
189
189
|
});
|
|
190
190
|
Object.defineProperty(exports, "getStepResult", {
|
|
191
191
|
enumerable: true,
|
|
192
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunk462DRETM_cjs.getStepResult; }
|
|
193
193
|
});
|
|
194
194
|
Object.defineProperty(exports, "mapVariable", {
|
|
195
195
|
enumerable: true,
|
|
196
|
-
get: function () { return
|
|
196
|
+
get: function () { return chunk462DRETM_cjs.mapVariable; }
|
|
197
197
|
});
|
|
198
198
|
Object.defineProperty(exports, "validateStepInput", {
|
|
199
199
|
enumerable: true,
|
|
200
|
-
get: function () { return
|
|
200
|
+
get: function () { return chunk462DRETM_cjs.validateStepInput; }
|
|
201
201
|
});
|
|
202
202
|
Object.defineProperty(exports, "InstrumentClass", {
|
|
203
203
|
enumerable: true,
|
|
@@ -225,23 +225,23 @@ Object.defineProperty(exports, "withSpan", {
|
|
|
225
225
|
});
|
|
226
226
|
Object.defineProperty(exports, "ModelRouterLanguageModel", {
|
|
227
227
|
enumerable: true,
|
|
228
|
-
get: function () { return
|
|
228
|
+
get: function () { return chunkDGQW5VRR_cjs.ModelRouterLanguageModel; }
|
|
229
229
|
});
|
|
230
230
|
Object.defineProperty(exports, "PROVIDER_REGISTRY", {
|
|
231
231
|
enumerable: true,
|
|
232
|
-
get: function () { return
|
|
232
|
+
get: function () { return chunkDGQW5VRR_cjs.PROVIDER_REGISTRY; }
|
|
233
233
|
});
|
|
234
234
|
Object.defineProperty(exports, "getProviderConfig", {
|
|
235
235
|
enumerable: true,
|
|
236
|
-
get: function () { return
|
|
236
|
+
get: function () { return chunkDGQW5VRR_cjs.getProviderConfig; }
|
|
237
237
|
});
|
|
238
238
|
Object.defineProperty(exports, "parseModelString", {
|
|
239
239
|
enumerable: true,
|
|
240
|
-
get: function () { return
|
|
240
|
+
get: function () { return chunkDGQW5VRR_cjs.parseModelString; }
|
|
241
241
|
});
|
|
242
242
|
Object.defineProperty(exports, "resolveModelConfig", {
|
|
243
243
|
enumerable: true,
|
|
244
|
-
get: function () { return
|
|
244
|
+
get: function () { return chunkDGQW5VRR_cjs.resolveModelConfig; }
|
|
245
245
|
});
|
|
246
246
|
Object.defineProperty(exports, "AvailableHooks", {
|
|
247
247
|
enumerable: true,
|
|
@@ -257,67 +257,67 @@ Object.defineProperty(exports, "registerHook", {
|
|
|
257
257
|
});
|
|
258
258
|
Object.defineProperty(exports, "checkEvalStorageFields", {
|
|
259
259
|
enumerable: true,
|
|
260
|
-
get: function () { return
|
|
260
|
+
get: function () { return chunk44ODA6L3_cjs.checkEvalStorageFields; }
|
|
261
261
|
});
|
|
262
262
|
Object.defineProperty(exports, "createMastraProxy", {
|
|
263
263
|
enumerable: true,
|
|
264
|
-
get: function () { return
|
|
264
|
+
get: function () { return chunk44ODA6L3_cjs.createMastraProxy; }
|
|
265
265
|
});
|
|
266
266
|
Object.defineProperty(exports, "deepMerge", {
|
|
267
267
|
enumerable: true,
|
|
268
|
-
get: function () { return
|
|
268
|
+
get: function () { return chunk44ODA6L3_cjs.deepMerge; }
|
|
269
269
|
});
|
|
270
270
|
Object.defineProperty(exports, "delay", {
|
|
271
271
|
enumerable: true,
|
|
272
|
-
get: function () { return
|
|
272
|
+
get: function () { return chunk44ODA6L3_cjs.delay; }
|
|
273
273
|
});
|
|
274
274
|
Object.defineProperty(exports, "ensureToolProperties", {
|
|
275
275
|
enumerable: true,
|
|
276
|
-
get: function () { return
|
|
276
|
+
get: function () { return chunk44ODA6L3_cjs.ensureToolProperties; }
|
|
277
277
|
});
|
|
278
278
|
Object.defineProperty(exports, "fetchWithRetry", {
|
|
279
279
|
enumerable: true,
|
|
280
|
-
get: function () { return
|
|
280
|
+
get: function () { return chunk44ODA6L3_cjs.fetchWithRetry; }
|
|
281
281
|
});
|
|
282
282
|
Object.defineProperty(exports, "generateEmptyFromSchema", {
|
|
283
283
|
enumerable: true,
|
|
284
|
-
get: function () { return
|
|
284
|
+
get: function () { return chunk44ODA6L3_cjs.generateEmptyFromSchema; }
|
|
285
285
|
});
|
|
286
286
|
Object.defineProperty(exports, "isCoreMessage", {
|
|
287
287
|
enumerable: true,
|
|
288
|
-
get: function () { return
|
|
288
|
+
get: function () { return chunk44ODA6L3_cjs.isCoreMessage; }
|
|
289
289
|
});
|
|
290
290
|
Object.defineProperty(exports, "isUiMessage", {
|
|
291
291
|
enumerable: true,
|
|
292
|
-
get: function () { return
|
|
292
|
+
get: function () { return chunk44ODA6L3_cjs.isUiMessage; }
|
|
293
293
|
});
|
|
294
294
|
Object.defineProperty(exports, "isZodType", {
|
|
295
295
|
enumerable: true,
|
|
296
|
-
get: function () { return
|
|
296
|
+
get: function () { return chunk44ODA6L3_cjs.isZodType; }
|
|
297
297
|
});
|
|
298
298
|
Object.defineProperty(exports, "makeCoreTool", {
|
|
299
299
|
enumerable: true,
|
|
300
|
-
get: function () { return
|
|
300
|
+
get: function () { return chunk44ODA6L3_cjs.makeCoreTool; }
|
|
301
301
|
});
|
|
302
302
|
Object.defineProperty(exports, "makeCoreToolV5", {
|
|
303
303
|
enumerable: true,
|
|
304
|
-
get: function () { return
|
|
304
|
+
get: function () { return chunk44ODA6L3_cjs.makeCoreToolV5; }
|
|
305
305
|
});
|
|
306
306
|
Object.defineProperty(exports, "maskStreamTags", {
|
|
307
307
|
enumerable: true,
|
|
308
|
-
get: function () { return
|
|
308
|
+
get: function () { return chunk44ODA6L3_cjs.maskStreamTags; }
|
|
309
309
|
});
|
|
310
310
|
Object.defineProperty(exports, "parseFieldKey", {
|
|
311
311
|
enumerable: true,
|
|
312
|
-
get: function () { return
|
|
312
|
+
get: function () { return chunk44ODA6L3_cjs.parseFieldKey; }
|
|
313
313
|
});
|
|
314
314
|
Object.defineProperty(exports, "parseSqlIdentifier", {
|
|
315
315
|
enumerable: true,
|
|
316
|
-
get: function () { return
|
|
316
|
+
get: function () { return chunk44ODA6L3_cjs.parseSqlIdentifier; }
|
|
317
317
|
});
|
|
318
318
|
Object.defineProperty(exports, "resolveSerializedZodOutput", {
|
|
319
319
|
enumerable: true,
|
|
320
|
-
get: function () { return
|
|
320
|
+
get: function () { return chunk44ODA6L3_cjs.resolveSerializedZodOutput; }
|
|
321
321
|
});
|
|
322
322
|
Object.defineProperty(exports, "createTool", {
|
|
323
323
|
enumerable: true,
|
package/dist/index.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
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
|
-
export { Mastra } from './chunk-
|
|
7
|
-
import { MastraMemory } from './chunk-
|
|
8
|
-
export { MemoryProcessor, memoryDefaultOptions } from './chunk-
|
|
9
|
-
export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from './chunk-
|
|
10
|
-
import { MastraDeployer } from './chunk-
|
|
1
|
+
import { MastraTTS } from './chunk-NFIADRH5.js';
|
|
2
|
+
import { MastraVector } from './chunk-Z2OK2JM2.js';
|
|
3
|
+
export { embed as embedV1, embed2 as embedV2 } from './chunk-Z2OK2JM2.js';
|
|
4
|
+
import { MastraStorage } from './chunk-RBO5BUGG.js';
|
|
5
|
+
export { ensureDate, resolveMessageLimit, serializeDate } from './chunk-RBO5BUGG.js';
|
|
6
|
+
export { Mastra } from './chunk-U6CUPKV2.js';
|
|
7
|
+
import { MastraMemory } from './chunk-J2OKI2L3.js';
|
|
8
|
+
export { MemoryProcessor, memoryDefaultOptions } from './chunk-J2OKI2L3.js';
|
|
9
|
+
export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from './chunk-F6BMIPYW.js';
|
|
10
|
+
import { MastraDeployer } from './chunk-KDX3ZMQ2.js';
|
|
11
11
|
export { Metric, evaluate } from './chunk-M4AX46DS.js';
|
|
12
12
|
import { Integration, OpenAPIToolset } from './chunk-H4KO46HZ.js';
|
|
13
|
-
import { Agent, Workflow } from './chunk-
|
|
14
|
-
export { DefaultExecutionEngine, ExecutionEngine, Run, cloneStep, cloneWorkflow, createStep, createWorkflow, getStepResult, mapVariable, validateStepInput } from './chunk-
|
|
13
|
+
import { Agent, Workflow } from './chunk-HBJVAMCS.js';
|
|
14
|
+
export { DefaultExecutionEngine, ExecutionEngine, Run, cloneStep, cloneWorkflow, createStep, createWorkflow, getStepResult, mapVariable, validateStepInput } from './chunk-HBJVAMCS.js';
|
|
15
15
|
export { InstrumentClass, OTLPTraceExporter as OTLPStorageExporter, Telemetry, getBaggageValues, hasActiveTelemetry, withSpan } from './chunk-2DVGQK2L.js';
|
|
16
|
-
export { ModelRouterLanguageModel, PROVIDER_REGISTRY, getProviderConfig, parseModelString, resolveModelConfig } from './chunk-
|
|
16
|
+
export { ModelRouterLanguageModel, PROVIDER_REGISTRY, getProviderConfig, parseModelString, resolveModelConfig } from './chunk-HP7B2TQQ.js';
|
|
17
17
|
export { AvailableHooks, executeHook, registerHook } from './chunk-TTELJD4F.js';
|
|
18
|
-
export { checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureToolProperties, fetchWithRetry, generateEmptyFromSchema, isCoreMessage, isUiMessage, isZodType, makeCoreTool, makeCoreToolV5, maskStreamTags, parseFieldKey, parseSqlIdentifier, resolveSerializedZodOutput } from './chunk-
|
|
18
|
+
export { checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureToolProperties, fetchWithRetry, generateEmptyFromSchema, isCoreMessage, isUiMessage, isZodType, makeCoreTool, makeCoreToolV5, maskStreamTags, parseFieldKey, parseSqlIdentifier, resolveSerializedZodOutput } from './chunk-3V4O35FO.js';
|
|
19
19
|
import { Tool } from './chunk-6OLRLZJ3.js';
|
|
20
20
|
export { createTool } from './chunk-6OLRLZJ3.js';
|
|
21
|
-
import { MastraBase } from './chunk-
|
|
21
|
+
import { MastraBase } from './chunk-VQASQG5D.js';
|
|
22
22
|
|
|
23
23
|
// src/agent/index.warning.ts
|
|
24
24
|
var Agent2 = class extends Agent {
|
package/dist/llm/index.cjs
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkDGQW5VRR_cjs = require('../chunk-DGQW5VRR.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "ModelRouterLanguageModel", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkDGQW5VRR_cjs.ModelRouterLanguageModel; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "PROVIDER_REGISTRY", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkDGQW5VRR_cjs.PROVIDER_REGISTRY; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "getProviderConfig", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkDGQW5VRR_cjs.getProviderConfig; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "parseModelString", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkDGQW5VRR_cjs.parseModelString; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "resolveModelConfig", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkDGQW5VRR_cjs.resolveModelConfig; }
|
|
26
26
|
});
|
|
27
27
|
//# sourceMappingURL=index.cjs.map
|
|
28
28
|
//# sourceMappingURL=index.cjs.map
|
package/dist/llm/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { ModelRouterLanguageModel, PROVIDER_REGISTRY, getProviderConfig, parseModelString, resolveModelConfig } from '../chunk-
|
|
1
|
+
export { ModelRouterLanguageModel, PROVIDER_REGISTRY, getProviderConfig, parseModelString, resolveModelConfig } from '../chunk-HP7B2TQQ.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|