@mastra/core 1.11.0 → 1.12.0-alpha.0
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 +25 -0
- package/dist/agent/agent.d.ts.map +1 -1
- package/dist/agent/index.cjs +8 -8
- package/dist/agent/index.js +1 -1
- package/dist/{chunk-QAIBZ7GH.cjs → chunk-2DFKNHEI.cjs} +79 -48
- package/dist/chunk-2DFKNHEI.cjs.map +1 -0
- package/dist/{chunk-RF2EPUM4.js → chunk-4RE5DA24.js} +4 -4
- package/dist/{chunk-RF2EPUM4.js.map → chunk-4RE5DA24.js.map} +1 -1
- package/dist/{chunk-GOGAIHBU.js → chunk-55I2D5RA.js} +22 -3
- package/dist/chunk-55I2D5RA.js.map +1 -0
- package/dist/{chunk-NJVIJQ4R.cjs → chunk-5CZTEH74.cjs} +18 -14
- package/dist/chunk-5CZTEH74.cjs.map +1 -0
- package/dist/{chunk-W3LSSG4T.js → chunk-5X4N6M7R.js} +2 -2
- package/dist/{chunk-W3LSSG4T.js.map → chunk-5X4N6M7R.js.map} +1 -1
- package/dist/{chunk-CWLK5FXA.cjs → chunk-BJHH5WFG.cjs} +202 -221
- package/dist/chunk-BJHH5WFG.cjs.map +1 -0
- package/dist/{chunk-FN6ZOGJ7.cjs → chunk-NMUP4X54.cjs} +2 -2
- package/dist/{chunk-FN6ZOGJ7.cjs.map → chunk-NMUP4X54.cjs.map} +1 -1
- package/dist/{chunk-VW4MYD6N.js → chunk-PYRU2AFG.js} +15 -11
- package/dist/chunk-PYRU2AFG.js.map +1 -0
- package/dist/{chunk-KK2U4Z7X.cjs → chunk-RD2IELJM.cjs} +24 -2
- package/dist/chunk-RD2IELJM.cjs.map +1 -0
- package/dist/{chunk-Y2MVLQFW.js → chunk-TZE75LDQ.js} +29 -48
- package/dist/chunk-TZE75LDQ.js.map +1 -0
- package/dist/{chunk-FIQRYC7M.cjs → chunk-Y5TNEU6E.cjs} +5 -5
- package/dist/{chunk-FIQRYC7M.cjs.map → chunk-Y5TNEU6E.cjs.map} +1 -1
- package/dist/{chunk-S5BMBKUR.js → chunk-Z7VOJIJU.js} +55 -24
- package/dist/chunk-Z7VOJIJU.js.map +1 -0
- package/dist/datasets/index.cjs +16 -16
- package/dist/datasets/index.js +1 -1
- package/dist/docs/SKILL.md +2 -2
- package/dist/docs/assets/SOURCE_MAP.json +424 -424
- package/dist/docs/references/docs-memory-storage.md +5 -5
- package/dist/docs/references/reference-storage-composite.md +11 -3
- package/dist/docs/references/reference-storage-overview.md +18 -1
- package/dist/evals/index.cjs +19 -19
- package/dist/evals/index.js +2 -2
- package/dist/evals/scoreTraces/index.cjs +5 -5
- package/dist/evals/scoreTraces/index.js +2 -2
- package/dist/harness/index.cjs +6 -6
- package/dist/harness/index.js +4 -4
- 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/gateways/azure.d.ts +2 -1
- package/dist/llm/model/gateways/azure.d.ts.map +1 -1
- package/dist/llm/model/gateways/constants.d.ts +1 -0
- package/dist/llm/model/gateways/constants.d.ts.map +1 -1
- package/dist/llm/model/gateways/models-dev.d.ts.map +1 -1
- package/dist/llm/model/gateways/netlify.d.ts.map +1 -1
- package/dist/loop/index.cjs +14 -14
- package/dist/loop/index.js +1 -1
- package/dist/loop/workflows/agentic-loop/index.d.ts.map +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-G3WSTWOC.cjs +12 -0
- package/dist/{models-dev-7JBNQXVK.cjs.map → models-dev-G3WSTWOC.cjs.map} +1 -1
- package/dist/models-dev-RXHGE3WI.js +3 -0
- package/dist/{models-dev-BB5C46BD.js.map → models-dev-RXHGE3WI.js.map} +1 -1
- package/dist/netlify-EEOC6JL7.cjs +12 -0
- package/dist/{netlify-RN36CL4F.cjs.map → netlify-EEOC6JL7.cjs.map} +1 -1
- package/dist/netlify-ZUJJUCID.js +3 -0
- package/dist/{netlify-BFMLDQM5.js.map → netlify-ZUJJUCID.js.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-7ZTKNI7T.cjs +40 -0
- package/dist/{provider-registry-IHJW2WNI.cjs.map → provider-registry-7ZTKNI7T.cjs.map} +1 -1
- package/dist/provider-registry-E5XXTB3V.js +3 -0
- package/dist/{provider-registry-6FITK73S.js.map → provider-registry-E5XXTB3V.js.map} +1 -1
- 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.d.ts +1 -1
- package/dist/storage/constants.js +1 -1
- package/dist/storage/domains/observability/types.d.ts +6 -6
- package/dist/storage/index.cjs +172 -172
- package/dist/storage/index.js +2 -2
- package/dist/storage/types.d.ts +10 -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/test-utils/llm-mock.cjs +4 -4
- package/dist/test-utils/llm-mock.js +1 -1
- package/dist/tool-loop-agent/index.cjs +4 -4
- package/dist/tool-loop-agent/index.js +1 -1
- package/dist/utils.cjs +23 -23
- package/dist/utils.js +1 -1
- package/dist/vector/index.cjs +9 -9
- package/dist/vector/index.js +2 -2
- 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/step-executor.d.ts +3 -0
- package/dist/workflows/evented/step-executor.d.ts.map +1 -1
- package/dist/workflows/handlers/entry.d.ts +9 -0
- package/dist/workflows/handlers/entry.d.ts.map +1 -1
- package/dist/workflows/index.cjs +24 -24
- package/dist/workflows/index.js +1 -1
- package/dist/workflows/types.d.ts +13 -0
- package/dist/workflows/types.d.ts.map +1 -1
- package/dist/workflows/workflow.d.ts.map +1 -1
- package/package.json +4 -4
- package/dist/chunk-CWLK5FXA.cjs.map +0 -1
- package/dist/chunk-GOGAIHBU.js.map +0 -1
- package/dist/chunk-KK2U4Z7X.cjs.map +0 -1
- package/dist/chunk-NJVIJQ4R.cjs.map +0 -1
- package/dist/chunk-QAIBZ7GH.cjs.map +0 -1
- package/dist/chunk-S5BMBKUR.js.map +0 -1
- package/dist/chunk-VW4MYD6N.js.map +0 -1
- package/dist/chunk-Y2MVLQFW.js.map +0 -1
- package/dist/models-dev-7JBNQXVK.cjs +0 -12
- package/dist/models-dev-BB5C46BD.js +0 -3
- package/dist/netlify-BFMLDQM5.js +0 -3
- package/dist/netlify-RN36CL4F.cjs +0 -12
- package/dist/provider-registry-6FITK73S.js +0 -3
- package/dist/provider-registry-IHJW2WNI.cjs +0 -40
package/dist/datasets/index.cjs
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2DFKNHEI_cjs = require('../chunk-2DFKNHEI.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Dataset", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk2DFKNHEI_cjs.Dataset; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "DatasetsManager", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk2DFKNHEI_cjs.DatasetsManager; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "SchemaUpdateValidationError", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk2DFKNHEI_cjs.SchemaUpdateValidationError; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "SchemaValidationError", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk2DFKNHEI_cjs.SchemaValidationError; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "SchemaValidator", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk2DFKNHEI_cjs.SchemaValidator; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "compareExperiments", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunk2DFKNHEI_cjs.compareExperiments; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "computeMean", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunk2DFKNHEI_cjs.computeMean; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "computeScorerStats", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunk2DFKNHEI_cjs.computeScorerStats; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "createValidator", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunk2DFKNHEI_cjs.createValidator; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "executeTarget", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunk2DFKNHEI_cjs.executeTarget; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "getSchemaValidator", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunk2DFKNHEI_cjs.getSchemaValidator; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "isRegression", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunk2DFKNHEI_cjs.isRegression; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "resolveScorers", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunk2DFKNHEI_cjs.resolveScorers; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "runExperiment", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunk2DFKNHEI_cjs.runExperiment; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "runScorersForItem", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunk2DFKNHEI_cjs.runScorersForItem; }
|
|
66
66
|
});
|
|
67
67
|
//# sourceMappingURL=index.cjs.map
|
|
68
68
|
//# sourceMappingURL=index.cjs.map
|
package/dist/datasets/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Dataset, DatasetsManager, SchemaUpdateValidationError, SchemaValidationError, SchemaValidator, compareExperiments, computeMean, computeScorerStats, createValidator, executeTarget, getSchemaValidator, isRegression, resolveScorers, runExperiment, runScorersForItem } from '../chunk-
|
|
1
|
+
export { Dataset, DatasetsManager, SchemaUpdateValidationError, SchemaValidationError, SchemaValidator, compareExperiments, computeMean, computeScorerStats, createValidator, executeTarget, getSchemaValidator, isRegression, resolveScorers, runExperiment, runScorersForItem } from '../chunk-Z7VOJIJU.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/docs/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: mastra-core
|
|
|
3
3
|
description: Documentation for @mastra/core. Use when working with @mastra/core APIs, configuration, or implementation.
|
|
4
4
|
metadata:
|
|
5
5
|
package: "@mastra/core"
|
|
6
|
-
version: "1.
|
|
6
|
+
version: "1.12.0-alpha.0"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## When to use
|
|
@@ -34,7 +34,7 @@ Read the individual reference documents for detailed explanations and code examp
|
|
|
34
34
|
- [Observational memory](references/docs-memory-observational-memory.md) - Learn how Observational Memory keeps your agent's context window small while preserving long-term memory across conversations.
|
|
35
35
|
- [Memory overview](references/docs-memory-overview.md) - Learn how Mastra's memory system works with working memory, message history, semantic recall, and observational memory.
|
|
36
36
|
- [Semantic recall](references/docs-memory-semantic-recall.md) - Learn how to use semantic recall in Mastra to retrieve relevant messages from past conversations using vector search and embeddings.
|
|
37
|
-
- [Storage](references/docs-memory-storage.md) - Configure storage for Mastra
|
|
37
|
+
- [Storage](references/docs-memory-storage.md) - Configure storage for Mastra to persist conversations and other runtime state.
|
|
38
38
|
- [Working memory](references/docs-memory-working-memory.md) - Learn how to configure working memory in Mastra to store persistent user data, preferences.
|
|
39
39
|
- [Datasets overview](references/docs-observability-datasets-overview.md) - Manage versioned test data, run experiments against agents and workflows, and track results over time.
|
|
40
40
|
- [Running experiments](references/docs-observability-datasets-running-experiments.md) - Run experiments against agents or workflows, with scoring and result tracking.
|