@mastra/core 1.16.0-alpha.0 → 1.16.0-alpha.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 +22 -0
- package/dist/agent/index.cjs +8 -8
- package/dist/agent/index.js +1 -1
- package/dist/{chunk-DQDA2GAF.js → chunk-2RY3SPHJ.js} +3 -3
- package/dist/{chunk-DQDA2GAF.js.map → chunk-2RY3SPHJ.js.map} +1 -1
- package/dist/{chunk-5QV7Z7XH.js → chunk-5J2S47MC.js} +4 -3
- package/dist/chunk-5J2S47MC.js.map +1 -0
- package/dist/{chunk-3SDR4BWW.js → chunk-7FDGHLER.js} +2 -2
- package/dist/{chunk-3SDR4BWW.js.map → chunk-7FDGHLER.js.map} +1 -1
- package/dist/{chunk-PQWKSCWD.js → chunk-7SECSD2V.js} +10 -7
- package/dist/chunk-7SECSD2V.js.map +1 -0
- package/dist/{chunk-6W6AOWKN.cjs → chunk-B7YCF3H4.cjs} +75 -75
- package/dist/{chunk-6W6AOWKN.cjs.map → chunk-B7YCF3H4.cjs.map} +1 -1
- package/dist/{chunk-R5IZY5AI.cjs → chunk-BS6WLONR.cjs} +185 -185
- package/dist/{chunk-R5IZY5AI.cjs.map → chunk-BS6WLONR.cjs.map} +1 -1
- package/dist/{chunk-57NZ23ZE.cjs → chunk-FCK6EQS2.cjs} +2 -2
- package/dist/{chunk-57NZ23ZE.cjs.map → chunk-FCK6EQS2.cjs.map} +1 -1
- package/dist/{chunk-H2KIHE4I.cjs → chunk-GE543YYB.cjs} +13 -11
- package/dist/chunk-GE543YYB.cjs.map +1 -0
- package/dist/{chunk-NMVEVERK.js → chunk-GISASUBW.js} +3 -3
- package/dist/{chunk-NMVEVERK.js.map → chunk-GISASUBW.js.map} +1 -1
- package/dist/{chunk-XHXYXSH7.js → chunk-HE6XAPHW.js} +4 -4
- package/dist/{chunk-XHXYXSH7.js.map → chunk-HE6XAPHW.js.map} +1 -1
- package/dist/{chunk-3IACFBML.js → chunk-HIBJ4MJL.js} +3 -3
- package/dist/{chunk-3IACFBML.js.map → chunk-HIBJ4MJL.js.map} +1 -1
- package/dist/{chunk-P3Z47LFL.cjs → chunk-HW4ZWSSM.cjs} +7 -7
- package/dist/{chunk-P3Z47LFL.cjs.map → chunk-HW4ZWSSM.cjs.map} +1 -1
- package/dist/{chunk-XIC3EDT4.cjs → chunk-LKZYOYEA.cjs} +3 -3
- package/dist/{chunk-XIC3EDT4.cjs.map → chunk-LKZYOYEA.cjs.map} +1 -1
- package/dist/{chunk-A5LEVLFM.js → chunk-M7SQZRKA.js} +4 -4
- package/dist/{chunk-A5LEVLFM.js.map → chunk-M7SQZRKA.js.map} +1 -1
- package/dist/{chunk-VAPRBIHM.js → chunk-MURFVPT6.js} +12 -10
- package/dist/chunk-MURFVPT6.js.map +1 -0
- package/dist/{chunk-HQH3FILI.js → chunk-NOPFFKE3.js} +4 -4
- package/dist/{chunk-HQH3FILI.js.map → chunk-NOPFFKE3.js.map} +1 -1
- package/dist/{chunk-7QYYD3UW.js → chunk-RDYTHJAG.js} +6 -6
- package/dist/{chunk-7QYYD3UW.js.map → chunk-RDYTHJAG.js.map} +1 -1
- package/dist/{chunk-YQECYE7N.js → chunk-UZTYCVID.js} +8 -8
- package/dist/{chunk-YQECYE7N.js.map → chunk-UZTYCVID.js.map} +1 -1
- package/dist/{chunk-LHNUJEV5.cjs → chunk-WCJDP3LJ.cjs} +15 -15
- package/dist/{chunk-LHNUJEV5.cjs.map → chunk-WCJDP3LJ.cjs.map} +1 -1
- package/dist/{chunk-YVVZSL6J.cjs → chunk-WKTXM6PR.cjs} +7 -7
- package/dist/{chunk-YVVZSL6J.cjs.map → chunk-WKTXM6PR.cjs.map} +1 -1
- package/dist/{chunk-XAFCD3W2.cjs → chunk-WU7OHOS5.cjs} +10 -9
- package/dist/chunk-WU7OHOS5.cjs.map +1 -0
- package/dist/{chunk-QKZGMKBV.cjs → chunk-XUFHJ74U.cjs} +12 -9
- package/dist/chunk-XUFHJ74U.cjs.map +1 -0
- package/dist/{chunk-Z6SLUMEY.cjs → chunk-Y4MPSSCY.cjs} +9 -9
- package/dist/{chunk-Z6SLUMEY.cjs.map → chunk-Y4MPSSCY.cjs.map} +1 -1
- package/dist/{chunk-XZE2N5VH.cjs → chunk-Z6RS55VH.cjs} +13 -13
- package/dist/{chunk-XZE2N5VH.cjs.map → chunk-Z6RS55VH.cjs.map} +1 -1
- package/dist/{chunk-RAPHSIIS.cjs → chunk-ZO42WCKG.cjs} +50 -50
- package/dist/{chunk-RAPHSIIS.cjs.map → chunk-ZO42WCKG.cjs.map} +1 -1
- package/dist/{chunk-2PSKFARX.js → chunk-ZRJLXE3M.js} +4 -4
- package/dist/{chunk-2PSKFARX.js.map → chunk-ZRJLXE3M.js.map} +1 -1
- package/dist/datasets/dataset.d.ts.map +1 -1
- package/dist/datasets/experiment/index.d.ts.map +1 -1
- package/dist/datasets/experiment/types.d.ts +2 -0
- package/dist/datasets/experiment/types.d.ts.map +1 -1
- package/dist/datasets/index.cjs +17 -17
- package/dist/datasets/index.js +2 -2
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +328 -328
- package/dist/docs/references/docs-server-middleware.md +13 -1
- package/dist/docs/references/reference-server-mastra-server.md +3 -2
- package/dist/evals/index.cjs +20 -20
- package/dist/evals/index.js +3 -3
- package/dist/evals/scoreTraces/index.cjs +5 -5
- package/dist/evals/scoreTraces/index.js +2 -2
- package/dist/harness/index.cjs +7 -7
- package/dist/harness/index.js +5 -5
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/dist/llm/index.cjs +16 -16
- package/dist/llm/index.js +5 -5
- package/dist/llm/model/provider-types.generated.d.ts +4 -3
- package/dist/loop/index.cjs +14 -14
- package/dist/loop/index.js +1 -1
- package/dist/mastra/index.cjs +2 -2
- package/dist/mastra/index.js +1 -1
- package/dist/memory/index.cjs +14 -14
- package/dist/memory/index.js +1 -1
- package/dist/models-dev-HAY7HKUY.js +3 -0
- package/dist/{models-dev-46T4RYCV.js.map → models-dev-HAY7HKUY.js.map} +1 -1
- package/dist/models-dev-UD3X3ZZA.cjs +12 -0
- package/dist/{models-dev-IXRDPMYE.cjs.map → models-dev-UD3X3ZZA.cjs.map} +1 -1
- package/dist/netlify-QEK2EDM4.js +3 -0
- package/dist/{netlify-A25PHNK2.js.map → netlify-QEK2EDM4.js.map} +1 -1
- package/dist/netlify-VLKHEOQD.cjs +12 -0
- package/dist/{netlify-AERELDDR.cjs.map → netlify-VLKHEOQD.cjs.map} +1 -1
- package/dist/processor-provider/index.cjs +10 -10
- package/dist/processor-provider/index.js +1 -1
- package/dist/processors/index.cjs +42 -42
- package/dist/processors/index.js +1 -1
- package/dist/provider-registry-FSREWVNP.js +3 -0
- package/dist/{provider-registry-FE4XSUID.js.map → provider-registry-FSREWVNP.js.map} +1 -1
- package/dist/provider-registry-KPA73ESB.cjs +40 -0
- package/dist/{provider-registry-6T2HS3XM.cjs.map → provider-registry-KPA73ESB.cjs.map} +1 -1
- package/dist/provider-registry.json +8 -6
- package/dist/relevance/index.cjs +3 -3
- package/dist/relevance/index.js +1 -1
- package/dist/storage/constants.cjs +56 -56
- package/dist/storage/constants.js +1 -1
- package/dist/storage/domains/experiments/inmemory.d.ts.map +1 -1
- package/dist/storage/index.cjs +160 -160
- package/dist/storage/index.js +2 -2
- package/dist/storage/types.d.ts +1 -0
- package/dist/storage/types.d.ts.map +1 -1
- package/dist/stream/index.cjs +8 -8
- package/dist/stream/index.js +1 -1
- package/dist/tool-loop-agent/index.cjs +4 -4
- package/dist/tool-loop-agent/index.js +1 -1
- package/dist/vector/index.cjs +7 -7
- package/dist/vector/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 +24 -24
- package/dist/workflows/index.js +1 -1
- package/package.json +5 -5
- package/src/llm/model/provider-types.generated.d.ts +4 -3
- package/dist/chunk-5QV7Z7XH.js.map +0 -1
- package/dist/chunk-H2KIHE4I.cjs.map +0 -1
- package/dist/chunk-PQWKSCWD.js.map +0 -1
- package/dist/chunk-QKZGMKBV.cjs.map +0 -1
- package/dist/chunk-VAPRBIHM.js.map +0 -1
- package/dist/chunk-XAFCD3W2.cjs.map +0 -1
- package/dist/models-dev-46T4RYCV.js +0 -3
- package/dist/models-dev-IXRDPMYE.cjs +0 -12
- package/dist/netlify-A25PHNK2.js +0 -3
- package/dist/netlify-AERELDDR.cjs +0 -12
- package/dist/provider-registry-6T2HS3XM.cjs +0 -40
- package/dist/provider-registry-FE4XSUID.js +0 -3
|
@@ -104,6 +104,7 @@ Mastra provides reserved context keys that, when set by middleware, take precede
|
|
|
104
104
|
```typescript
|
|
105
105
|
import { Mastra } from '@mastra/core'
|
|
106
106
|
import { MASTRA_RESOURCE_ID_KEY } from '@mastra/core/request-context'
|
|
107
|
+
import { getAuthenticatedUser } from '@mastra/server/auth'
|
|
107
108
|
|
|
108
109
|
export const mastra = new Mastra({
|
|
109
110
|
server: {
|
|
@@ -117,8 +118,17 @@ export const mastra = new Mastra({
|
|
|
117
118
|
{
|
|
118
119
|
path: '/api/*',
|
|
119
120
|
handler: async (c, next) => {
|
|
121
|
+
const token = c.req.header('Authorization')
|
|
122
|
+
if (!token) {
|
|
123
|
+
return c.json({ error: 'Unauthorized' }, 401)
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
const user = await getAuthenticatedUser<{ id: string }>({
|
|
127
|
+
mastra: c.get('mastra'),
|
|
128
|
+
token,
|
|
129
|
+
request: c.req.raw,
|
|
130
|
+
})
|
|
120
131
|
const requestContext = c.get('requestContext')
|
|
121
|
-
const user = requestContext.get('user')
|
|
122
132
|
|
|
123
133
|
if (!user) {
|
|
124
134
|
return c.json({ error: 'Unauthorized' }, 401)
|
|
@@ -136,6 +146,8 @@ export const mastra = new Mastra({
|
|
|
136
146
|
})
|
|
137
147
|
```
|
|
138
148
|
|
|
149
|
+
`server.middleware` runs before Mastra's per-route auth checks. When middleware needs the authenticated user, call `getAuthenticatedUser()` to resolve it from the configured auth provider without changing the default route auth flow.
|
|
150
|
+
|
|
139
151
|
With this middleware, the server automatically:
|
|
140
152
|
|
|
141
153
|
- **Filters thread listing** to only return threads owned by the user
|
|
@@ -69,7 +69,7 @@ abstract registerContextMiddleware(): void
|
|
|
69
69
|
|
|
70
70
|
### `registerAuthMiddleware()`
|
|
71
71
|
|
|
72
|
-
|
|
72
|
+
Run the adapter auth hook during initialization. Official adapters may implement this as a no-op when auth is enforced per-route.
|
|
73
73
|
|
|
74
74
|
```typescript
|
|
75
75
|
abstract registerAuthMiddleware(): void
|
|
@@ -266,7 +266,8 @@ export class MyServer extends MastraServer<MyApp, MyRequest, MyResponse> {
|
|
|
266
266
|
registerAuthMiddleware(): void {
|
|
267
267
|
const auth = this.mastra.getServer()?.auth
|
|
268
268
|
if (!auth) return
|
|
269
|
-
//
|
|
269
|
+
// Register global auth middleware, or leave this empty and
|
|
270
|
+
// enforce auth when routes are registered.
|
|
270
271
|
}
|
|
271
272
|
|
|
272
273
|
async registerRoute(app, route, { prefix }) {
|
package/dist/evals/index.cjs
CHANGED
|
@@ -1,78 +1,78 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkHW4ZWSSM_cjs = require('../chunk-HW4ZWSSM.cjs');
|
|
4
|
+
var chunkZ6RS55VH_cjs = require('../chunk-Z6RS55VH.cjs');
|
|
5
|
+
var chunkFCK6EQS2_cjs = require('../chunk-FCK6EQS2.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "runEvals", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkHW4ZWSSM_cjs.runEvals; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "MastraScorer", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkZ6RS55VH_cjs.MastraScorer; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "createScorer", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkZ6RS55VH_cjs.createScorer; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "listScoresResponseSchema", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkFCK6EQS2_cjs.listScoresResponseSchema; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "saveScorePayloadSchema", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkFCK6EQS2_cjs.saveScorePayloadSchema; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "scoreResultSchema", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkFCK6EQS2_cjs.scoreResultSchema; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "scoreRowDataSchema", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkFCK6EQS2_cjs.scoreRowDataSchema; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "scoringEntityTypeSchema", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkFCK6EQS2_cjs.scoringEntityTypeSchema; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "scoringExtractStepResultSchema", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkFCK6EQS2_cjs.scoringExtractStepResultSchema; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "scoringHookInputSchema", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkFCK6EQS2_cjs.scoringHookInputSchema; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "scoringInputSchema", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkFCK6EQS2_cjs.scoringInputSchema; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "scoringInputWithExtractStepResultAndAnalyzeStepResultSchema", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkFCK6EQS2_cjs.scoringInputWithExtractStepResultAndAnalyzeStepResultSchema; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "scoringInputWithExtractStepResultAndScoreAndReasonSchema", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkFCK6EQS2_cjs.scoringInputWithExtractStepResultAndScoreAndReasonSchema; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "scoringInputWithExtractStepResultSchema", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkFCK6EQS2_cjs.scoringInputWithExtractStepResultSchema; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "scoringPromptsSchema", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkFCK6EQS2_cjs.scoringPromptsSchema; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "scoringSourceSchema", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkFCK6EQS2_cjs.scoringSourceSchema; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "scoringValueSchema", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkFCK6EQS2_cjs.scoringValueSchema; }
|
|
76
76
|
});
|
|
77
77
|
//# sourceMappingURL=index.cjs.map
|
|
78
78
|
//# sourceMappingURL=index.cjs.map
|
package/dist/evals/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { runEvals } from '../chunk-
|
|
2
|
-
export { MastraScorer, createScorer } from '../chunk-
|
|
3
|
-
export { listScoresResponseSchema, saveScorePayloadSchema, scoreResultSchema, scoreRowDataSchema, scoringEntityTypeSchema, scoringExtractStepResultSchema, scoringHookInputSchema, scoringInputSchema, scoringInputWithExtractStepResultAndAnalyzeStepResultSchema, scoringInputWithExtractStepResultAndScoreAndReasonSchema, scoringInputWithExtractStepResultSchema, scoringPromptsSchema, scoringSourceSchema, scoringValueSchema } from '../chunk-
|
|
1
|
+
export { runEvals } from '../chunk-HE6XAPHW.js';
|
|
2
|
+
export { MastraScorer, createScorer } from '../chunk-M7SQZRKA.js';
|
|
3
|
+
export { listScoresResponseSchema, saveScorePayloadSchema, scoreResultSchema, scoreRowDataSchema, scoringEntityTypeSchema, scoringExtractStepResultSchema, scoringHookInputSchema, scoringInputSchema, scoringInputWithExtractStepResultAndAnalyzeStepResultSchema, scoringInputWithExtractStepResultAndScoreAndReasonSchema, scoringInputWithExtractStepResultSchema, scoringPromptsSchema, scoringSourceSchema, scoringValueSchema } from '../chunk-7FDGHLER.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkZO42WCKG_cjs = require('../../chunk-ZO42WCKG.cjs');
|
|
4
|
+
var chunkFCK6EQS2_cjs = require('../../chunk-FCK6EQS2.cjs');
|
|
5
5
|
var chunk4SE5WPZS_cjs = require('../../chunk-4SE5WPZS.cjs');
|
|
6
6
|
var chunk4U7ZLI36_cjs = require('../../chunk-4U7ZLI36.cjs');
|
|
7
7
|
var pMap = require('p-map');
|
|
@@ -236,7 +236,7 @@ function transformTraceToScorerInputAndOutput(trace) {
|
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
// src/evals/scoreTraces/scoreTracesWorkflow.ts
|
|
239
|
-
var getTraceStep =
|
|
239
|
+
var getTraceStep = chunkZO42WCKG_cjs.createStep({
|
|
240
240
|
id: "__process-trace-scoring",
|
|
241
241
|
inputSchema: z__default.default.object({
|
|
242
242
|
targets: z__default.default.array(
|
|
@@ -384,7 +384,7 @@ async function validateAndSaveScore({ storage, scorerResult }) {
|
|
|
384
384
|
text: "Scores storage domain is not available"
|
|
385
385
|
});
|
|
386
386
|
}
|
|
387
|
-
const payloadToSave =
|
|
387
|
+
const payloadToSave = chunkFCK6EQS2_cjs.saveScorePayloadSchema.parse(scorerResult);
|
|
388
388
|
const result = await scoresStore.saveScore(payloadToSave);
|
|
389
389
|
return result.score;
|
|
390
390
|
}
|
|
@@ -447,7 +447,7 @@ async function attachScoreToSpan({
|
|
|
447
447
|
} catch {
|
|
448
448
|
}
|
|
449
449
|
}
|
|
450
|
-
var scoreTracesWorkflow =
|
|
450
|
+
var scoreTracesWorkflow = chunkZO42WCKG_cjs.createWorkflow({
|
|
451
451
|
id: "__batch-scoring-traces",
|
|
452
452
|
inputSchema: z__default.default.object({
|
|
453
453
|
targets: z__default.default.array(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createStep, createWorkflow } from '../../chunk-
|
|
2
|
-
import { saveScorePayloadSchema } from '../../chunk-
|
|
1
|
+
import { createStep, createWorkflow } from '../../chunk-ZRJLXE3M.js';
|
|
2
|
+
import { saveScorePayloadSchema } from '../../chunk-7FDGHLER.js';
|
|
3
3
|
import { resolveObservabilityContext } from '../../chunk-VBVVGBJJ.js';
|
|
4
4
|
import { MastraError } from '../../chunk-FJEVLHJT.js';
|
|
5
5
|
import pMap from 'p-map';
|
package/dist/harness/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkWCJDP3LJ_cjs = require('../chunk-WCJDP3LJ.cjs');
|
|
4
|
+
var chunkZ6RS55VH_cjs = require('../chunk-Z6RS55VH.cjs');
|
|
5
5
|
var chunkCTFO2ENI_cjs = require('../chunk-CTFO2ENI.cjs');
|
|
6
6
|
var chunkNQXA2BUF_cjs = require('../chunk-NQXA2BUF.cjs');
|
|
7
7
|
var chunkVWJ7H3MJ_cjs = require('../chunk-VWJ7H3MJ.cjs');
|
|
@@ -312,7 +312,7 @@ Use this tool when:
|
|
|
312
312
|
};
|
|
313
313
|
}
|
|
314
314
|
const workspace = context?.workspace;
|
|
315
|
-
const subagent = new
|
|
315
|
+
const subagent = new chunkZ6RS55VH_cjs.Agent({
|
|
316
316
|
id: `subagent-${definition.id}`,
|
|
317
317
|
name: `${definition.name} Subagent`,
|
|
318
318
|
instructions: definition.instructions,
|
|
@@ -558,7 +558,7 @@ var Harness = class {
|
|
|
558
558
|
*/
|
|
559
559
|
async init() {
|
|
560
560
|
if (this.config.storage) {
|
|
561
|
-
this.#internalMastra = new
|
|
561
|
+
this.#internalMastra = new chunkWCJDP3LJ_cjs.Mastra({ logger: false, storage: this.config.storage });
|
|
562
562
|
await this.#internalMastra.getStorage().init();
|
|
563
563
|
}
|
|
564
564
|
if (this.config.workspace && !this.workspaceInitialized && !this.workspaceFn) {
|
|
@@ -810,7 +810,7 @@ var Harness = class {
|
|
|
810
810
|
}
|
|
811
811
|
}
|
|
812
812
|
try {
|
|
813
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
813
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-KPA73ESB.cjs');
|
|
814
814
|
const registry = PROVIDER_REGISTRY;
|
|
815
815
|
const providerConfig = registry[provider];
|
|
816
816
|
const envVars = providerConfig?.apiKeyEnvVar;
|
|
@@ -830,7 +830,7 @@ var Harness = class {
|
|
|
830
830
|
*/
|
|
831
831
|
async listAvailableModels() {
|
|
832
832
|
try {
|
|
833
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
833
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-KPA73ESB.cjs');
|
|
834
834
|
if (!PROVIDER_REGISTRY) return [];
|
|
835
835
|
const registry = PROVIDER_REGISTRY;
|
|
836
836
|
const providers = Object.keys(registry);
|
|
@@ -889,7 +889,7 @@ var Harness = class {
|
|
|
889
889
|
}
|
|
890
890
|
async getProviderApiKeyEnvVar(provider) {
|
|
891
891
|
try {
|
|
892
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
892
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-KPA73ESB.cjs');
|
|
893
893
|
const registry = PROVIDER_REGISTRY;
|
|
894
894
|
const envVars = registry[provider]?.apiKeyEnvVar;
|
|
895
895
|
return Array.isArray(envVars) ? envVars[0] : envVars;
|
package/dist/harness/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Mastra } from '../chunk-
|
|
2
|
-
import { Agent } from '../chunk-
|
|
1
|
+
import { Mastra } from '../chunk-UZTYCVID.js';
|
|
2
|
+
import { Agent } from '../chunk-M7SQZRKA.js';
|
|
3
3
|
import { Workspace, createWorkspaceTools } from '../chunk-JEF7ZU43.js';
|
|
4
4
|
import { createTool } from '../chunk-UPXPPD5L.js';
|
|
5
5
|
import { toStandardSchema } from '../chunk-6VAVASZ5.js';
|
|
@@ -808,7 +808,7 @@ var Harness = class {
|
|
|
808
808
|
}
|
|
809
809
|
}
|
|
810
810
|
try {
|
|
811
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
811
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-FSREWVNP.js');
|
|
812
812
|
const registry = PROVIDER_REGISTRY;
|
|
813
813
|
const providerConfig = registry[provider];
|
|
814
814
|
const envVars = providerConfig?.apiKeyEnvVar;
|
|
@@ -828,7 +828,7 @@ var Harness = class {
|
|
|
828
828
|
*/
|
|
829
829
|
async listAvailableModels() {
|
|
830
830
|
try {
|
|
831
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
831
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-FSREWVNP.js');
|
|
832
832
|
if (!PROVIDER_REGISTRY) return [];
|
|
833
833
|
const registry = PROVIDER_REGISTRY;
|
|
834
834
|
const providers = Object.keys(registry);
|
|
@@ -887,7 +887,7 @@ var Harness = class {
|
|
|
887
887
|
}
|
|
888
888
|
async getProviderApiKeyEnvVar(provider) {
|
|
889
889
|
try {
|
|
890
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
890
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-FSREWVNP.js');
|
|
891
891
|
const registry = PROVIDER_REGISTRY;
|
|
892
892
|
const envVars = registry[provider]?.apiKeyEnvVar;
|
|
893
893
|
return Array.isArray(envVars) ? envVars[0] : envVars;
|
package/dist/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkWCJDP3LJ_cjs = require('./chunk-WCJDP3LJ.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 chunkWCJDP3LJ_cjs.Mastra; }
|
|
10
10
|
});
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.js
CHANGED
package/dist/llm/index.cjs
CHANGED
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
3
|
+
var chunkB7YCF3H4_cjs = require('../chunk-B7YCF3H4.cjs');
|
|
4
|
+
var chunkBS6WLONR_cjs = require('../chunk-BS6WLONR.cjs');
|
|
5
|
+
var chunkY4MPSSCY_cjs = require('../chunk-Y4MPSSCY.cjs');
|
|
6
|
+
var chunkLKZYOYEA_cjs = require('../chunk-LKZYOYEA.cjs');
|
|
7
|
+
var chunkGE543YYB_cjs = require('../chunk-GE543YYB.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "AzureOpenAIGateway", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkB7YCF3H4_cjs.AzureOpenAIGateway; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "EMBEDDING_MODELS", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkB7YCF3H4_cjs.EMBEDDING_MODELS; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "ModelRouterEmbeddingModel", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkB7YCF3H4_cjs.ModelRouterEmbeddingModel; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "ModelRouterLanguageModel", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkB7YCF3H4_cjs.ModelRouterLanguageModel; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "resolveModelConfig", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkB7YCF3H4_cjs.resolveModelConfig; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "ModelsDevGateway", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkBS6WLONR_cjs.ModelsDevGateway; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "NetlifyGateway", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkY4MPSSCY_cjs.NetlifyGateway; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "MastraModelGateway", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkLKZYOYEA_cjs.MastraModelGateway; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "PROVIDER_REGISTRY", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkGE543YYB_cjs.PROVIDER_REGISTRY; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "getProviderConfig", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkGE543YYB_cjs.getProviderConfig; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "parseModelString", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkGE543YYB_cjs.parseModelString; }
|
|
54
54
|
});
|
|
55
55
|
//# sourceMappingURL=index.cjs.map
|
|
56
56
|
//# sourceMappingURL=index.cjs.map
|
package/dist/llm/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { AzureOpenAIGateway, EMBEDDING_MODELS, ModelRouterEmbeddingModel, ModelRouterLanguageModel, resolveModelConfig } from '../chunk-
|
|
2
|
-
export { ModelsDevGateway } from '../chunk-
|
|
3
|
-
export { NetlifyGateway } from '../chunk-
|
|
4
|
-
export { MastraModelGateway } from '../chunk-
|
|
5
|
-
export { PROVIDER_REGISTRY, getProviderConfig, parseModelString } from '../chunk-
|
|
1
|
+
export { AzureOpenAIGateway, EMBEDDING_MODELS, ModelRouterEmbeddingModel, ModelRouterLanguageModel, resolveModelConfig } from '../chunk-RDYTHJAG.js';
|
|
2
|
+
export { ModelsDevGateway } from '../chunk-GISASUBW.js';
|
|
3
|
+
export { NetlifyGateway } from '../chunk-HIBJ4MJL.js';
|
|
4
|
+
export { MastraModelGateway } from '../chunk-2RY3SPHJ.js';
|
|
5
|
+
export { PROVIDER_REGISTRY, getProviderConfig, parseModelString } from '../chunk-MURFVPT6.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -3121,6 +3121,7 @@ export type ProviderModelsMap = {
|
|
|
3121
3121
|
'minimax/minimax-m2-her',
|
|
3122
3122
|
'minimax/minimax-m2.1',
|
|
3123
3123
|
'minimax/minimax-m2.5',
|
|
3124
|
+
'minimax/minimax-m2.7',
|
|
3124
3125
|
'miromind-ai/mirothinker-v1.5-235b',
|
|
3125
3126
|
'mistral-small-31-24b-instruct',
|
|
3126
3127
|
'mistralai/Devstral-Small-2505',
|
|
@@ -3323,9 +3324,9 @@ export type ProviderModelsMap = {
|
|
|
3323
3324
|
'grok-4-1-fast-non-reasoning',
|
|
3324
3325
|
'grok-4-fast',
|
|
3325
3326
|
'grok-4-fast-non-reasoning',
|
|
3326
|
-
'grok-4.20-
|
|
3327
|
-
'grok-4.20-
|
|
3328
|
-
'grok-4.20-multi-agent-
|
|
3327
|
+
'grok-4.20-0309-non-reasoning',
|
|
3328
|
+
'grok-4.20-0309-reasoning',
|
|
3329
|
+
'grok-4.20-multi-agent-0309',
|
|
3329
3330
|
'grok-beta',
|
|
3330
3331
|
'grok-code-fast-1',
|
|
3331
3332
|
'grok-vision-beta',
|
package/dist/loop/index.cjs
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZ6RS55VH_cjs = require('../chunk-Z6RS55VH.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "createScorer", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkZ6RS55VH_cjs.createScorer; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "formatCheckFeedback", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkZ6RS55VH_cjs.formatCheckFeedback; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "formatCompletionFeedback", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkZ6RS55VH_cjs.formatCompletionFeedback; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "formatStreamCompletionFeedback", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkZ6RS55VH_cjs.formatStreamCompletionFeedback; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "formatValidationFeedback", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkZ6RS55VH_cjs.formatValidationFeedback; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "generateFinalResult", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkZ6RS55VH_cjs.generateFinalResult; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "generateStructuredFinalResult", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkZ6RS55VH_cjs.generateStructuredFinalResult; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "loop", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkZ6RS55VH_cjs.loop; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "runChecks", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkZ6RS55VH_cjs.runChecks; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "runCompletionScorers", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkZ6RS55VH_cjs.runCompletionScorers; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "runDefaultCompletionCheck", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkZ6RS55VH_cjs.runDefaultCompletionCheck; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "runStreamCompletionScorers", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkZ6RS55VH_cjs.runStreamCompletionScorers; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "runValidation", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkZ6RS55VH_cjs.runValidation; }
|
|
58
58
|
});
|
|
59
59
|
//# sourceMappingURL=index.cjs.map
|
|
60
60
|
//# sourceMappingURL=index.cjs.map
|
package/dist/loop/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { createScorer, formatCheckFeedback, formatCompletionFeedback, formatStreamCompletionFeedback, formatValidationFeedback, generateFinalResult, generateStructuredFinalResult, loop, runChecks, runCompletionScorers, runDefaultCompletionCheck, runStreamCompletionScorers, runValidation } from '../chunk-
|
|
1
|
+
export { createScorer, formatCheckFeedback, formatCompletionFeedback, formatStreamCompletionFeedback, formatValidationFeedback, generateFinalResult, generateStructuredFinalResult, loop, runChecks, runCompletionScorers, runDefaultCompletionCheck, runStreamCompletionScorers, runValidation } from '../chunk-M7SQZRKA.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/mastra/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkWCJDP3LJ_cjs = require('../chunk-WCJDP3LJ.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 chunkWCJDP3LJ_cjs.Mastra; }
|
|
10
10
|
});
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/mastra/index.js
CHANGED
package/dist/memory/index.cjs
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZ6RS55VH_cjs = require('../chunk-Z6RS55VH.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 chunkZ6RS55VH_cjs.MastraMemory; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "MemoryProcessor", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkZ6RS55VH_cjs.MemoryProcessor; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "MockMemory", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkZ6RS55VH_cjs.MockMemory; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "WORKING_MEMORY_END_TAG", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkZ6RS55VH_cjs.WORKING_MEMORY_END_TAG; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "WORKING_MEMORY_START_TAG", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkZ6RS55VH_cjs.WORKING_MEMORY_START_TAG; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "extractWorkingMemoryContent", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkZ6RS55VH_cjs.extractWorkingMemoryContent; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "extractWorkingMemoryTags", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkZ6RS55VH_cjs.extractWorkingMemoryTags; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "getThreadOMMetadata", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkZ6RS55VH_cjs.getThreadOMMetadata; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "isObservationalMemoryEnabled", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkZ6RS55VH_cjs.isObservationalMemoryEnabled; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "memoryDefaultOptions", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkZ6RS55VH_cjs.memoryDefaultOptions; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "parseMemoryRequestContext", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkZ6RS55VH_cjs.parseMemoryRequestContext; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "removeWorkingMemoryTags", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkZ6RS55VH_cjs.removeWorkingMemoryTags; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "setThreadOMMetadata", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkZ6RS55VH_cjs.setThreadOMMetadata; }
|
|
58
58
|
});
|
|
59
59
|
//# sourceMappingURL=index.cjs.map
|
|
60
60
|
//# sourceMappingURL=index.cjs.map
|
package/dist/memory/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { MastraMemory, MemoryProcessor, MockMemory, WORKING_MEMORY_END_TAG, WORKING_MEMORY_START_TAG, extractWorkingMemoryContent, extractWorkingMemoryTags, getThreadOMMetadata, isObservationalMemoryEnabled, memoryDefaultOptions, parseMemoryRequestContext, removeWorkingMemoryTags, setThreadOMMetadata } from '../chunk-
|
|
1
|
+
export { MastraMemory, MemoryProcessor, MockMemory, WORKING_MEMORY_END_TAG, WORKING_MEMORY_START_TAG, extractWorkingMemoryContent, extractWorkingMemoryTags, getThreadOMMetadata, isObservationalMemoryEnabled, memoryDefaultOptions, parseMemoryRequestContext, removeWorkingMemoryTags, setThreadOMMetadata } from '../chunk-M7SQZRKA.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"models-dev-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"models-dev-HAY7HKUY.js"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkBS6WLONR_cjs = require('./chunk-BS6WLONR.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "ModelsDevGateway", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkBS6WLONR_cjs.ModelsDevGateway; }
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=models-dev-UD3X3ZZA.cjs.map
|
|
12
|
+
//# sourceMappingURL=models-dev-UD3X3ZZA.cjs.map
|