@mastra/evals 0.0.0-structured-output-issue-20260227214155 → 0.0.0-structured-output-errors-20260409185629
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 +178 -5
- package/LICENSE.md +15 -0
- package/dist/chunk-AY4K3J4R.cjs +581 -0
- package/dist/chunk-AY4K3J4R.cjs.map +1 -0
- package/dist/chunk-X4MKZ735.js +555 -0
- package/dist/chunk-X4MKZ735.js.map +1 -0
- package/dist/docs/SKILL.md +20 -19
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/docs-evals-built-in-scorers.md +3 -2
- package/dist/docs/references/docs-evals-overview.md +12 -13
- package/dist/docs/references/reference-evals-answer-relevancy.md +16 -16
- package/dist/docs/references/reference-evals-answer-similarity.md +21 -23
- package/dist/docs/references/reference-evals-bias.md +15 -15
- package/dist/docs/references/reference-evals-completeness.md +9 -9
- package/dist/docs/references/reference-evals-content-similarity.md +9 -9
- package/dist/docs/references/reference-evals-context-precision.md +16 -16
- package/dist/docs/references/reference-evals-context-relevance.md +22 -22
- package/dist/docs/references/reference-evals-faithfulness.md +15 -15
- package/dist/docs/references/reference-evals-hallucination.md +24 -34
- package/dist/docs/references/reference-evals-keyword-coverage.md +8 -8
- package/dist/docs/references/reference-evals-noise-sensitivity.md +27 -27
- package/dist/docs/references/reference-evals-prompt-alignment.md +24 -24
- package/dist/docs/references/reference-evals-scorer-utils.md +208 -20
- package/dist/docs/references/reference-evals-textual-difference.md +7 -7
- package/dist/docs/references/reference-evals-tone-consistency.md +8 -8
- package/dist/docs/references/reference-evals-tool-call-accuracy.md +18 -18
- package/dist/docs/references/reference-evals-toxicity.md +12 -12
- package/dist/docs/references/reference-evals-trajectory-accuracy.md +627 -0
- package/dist/scorers/code/index.d.ts +1 -0
- package/dist/scorers/code/index.d.ts.map +1 -1
- package/dist/scorers/code/trajectory/index.d.ts +164 -0
- package/dist/scorers/code/trajectory/index.d.ts.map +1 -0
- package/dist/scorers/llm/answer-similarity/index.d.ts +2 -2
- package/dist/scorers/llm/context-precision/index.d.ts +2 -2
- package/dist/scorers/llm/context-relevance/index.d.ts +1 -1
- package/dist/scorers/llm/faithfulness/index.d.ts +1 -1
- package/dist/scorers/llm/hallucination/index.d.ts +2 -2
- package/dist/scorers/llm/index.d.ts +1 -0
- package/dist/scorers/llm/index.d.ts.map +1 -1
- package/dist/scorers/llm/noise-sensitivity/index.d.ts +1 -1
- package/dist/scorers/llm/prompt-alignment/index.d.ts +5 -5
- package/dist/scorers/llm/tool-call-accuracy/index.d.ts +1 -1
- package/dist/scorers/llm/toxicity/index.d.ts +1 -1
- package/dist/scorers/llm/trajectory/index.d.ts +58 -0
- package/dist/scorers/llm/trajectory/index.d.ts.map +1 -0
- package/dist/scorers/llm/trajectory/prompts.d.ts +20 -0
- package/dist/scorers/llm/trajectory/prompts.d.ts.map +1 -0
- package/dist/scorers/prebuilt/index.cjs +628 -60
- package/dist/scorers/prebuilt/index.cjs.map +1 -1
- package/dist/scorers/prebuilt/index.js +568 -3
- package/dist/scorers/prebuilt/index.js.map +1 -1
- package/dist/scorers/utils.cjs +41 -17
- package/dist/scorers/utils.d.ts +168 -1
- package/dist/scorers/utils.d.ts.map +1 -1
- package/dist/scorers/utils.js +1 -1
- package/package.json +12 -9
- package/dist/chunk-OEOE7ZHN.js +0 -195
- package/dist/chunk-OEOE7ZHN.js.map +0 -1
- package/dist/chunk-W3U7MMDX.cjs +0 -212
- package/dist/chunk-W3U7MMDX.cjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,184 @@
|
|
|
1
1
|
# @mastra/evals
|
|
2
2
|
|
|
3
|
-
## 0.0.0-structured-output-
|
|
3
|
+
## 0.0.0-structured-output-errors-20260409185629
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
- Updated dependencies [[`
|
|
8
|
-
- @mastra/core@0.0.0-structured-output-
|
|
7
|
+
- Updated dependencies [[`87df955`](https://github.com/mastra-ai/mastra/commit/87df955c028660c075873fd5d74af28233ce32eb), [`920f258`](https://github.com/mastra-ai/mastra/commit/920f258392868b1acaa9390f708a19466fff9d7f), [`075e91a`](https://github.com/mastra-ai/mastra/commit/075e91a4549baf46ad7a42a6a8ac8dfa78cc09e6)]:
|
|
8
|
+
- @mastra/core@0.0.0-structured-output-errors-20260409185629
|
|
9
|
+
|
|
10
|
+
## 1.2.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Fix answer-similarity scorer to align prompt guidelines with allowed match types ([#15001](https://github.com/mastra-ai/mastra/pull/15001))
|
|
15
|
+
|
|
16
|
+
The answer-similarity scorer could throw a ZodError when the LLM returned
|
|
17
|
+
"contradiction" as a matchType, since only exact/semantic/partial/missing are
|
|
18
|
+
valid. The prompt now correctly directs contradictory information to the
|
|
19
|
+
existing contradictions array instead.
|
|
20
|
+
|
|
21
|
+
- Updated dependencies [[`f32b9e1`](https://github.com/mastra-ai/mastra/commit/f32b9e115a3c754d1c8cfa3f4256fba87b09cfb7), [`7d6f521`](https://github.com/mastra-ai/mastra/commit/7d6f52164d0cca099f0b07cb2bba334360f1c8ab), [`a50d220`](https://github.com/mastra-ai/mastra/commit/a50d220b01ecbc5644d489a3d446c3bd4ab30245), [`665477b`](https://github.com/mastra-ai/mastra/commit/665477bc104fd52cfef8e7610d7664781a70c220), [`4cc2755`](https://github.com/mastra-ai/mastra/commit/4cc2755a7194cb08720ff2ab4dffb4b4a5103dfd), [`ac7baf6`](https://github.com/mastra-ai/mastra/commit/ac7baf66ef1db15e03975ef4ebb02724f015a391), [`ed425d7`](https://github.com/mastra-ai/mastra/commit/ed425d78e7c66cbda8209fee910856f98c6c6b82), [`1371703`](https://github.com/mastra-ai/mastra/commit/1371703835080450ef3f9aea58059a95d0da2e5a), [`0df8321`](https://github.com/mastra-ai/mastra/commit/0df832196eeb2450ab77ce887e8553abdd44c5a6), [`98f8a8b`](https://github.com/mastra-ai/mastra/commit/98f8a8bdf5761b9982f3ad3acbe7f1cc3efa71f3), [`ba6f7e9`](https://github.com/mastra-ai/mastra/commit/ba6f7e9086d8281393f2acae60fda61de3bff1f9), [`7eb2596`](https://github.com/mastra-ai/mastra/commit/7eb25960d607e07468c9a10c5437abd2deaf1e9a), [`1805ddc`](https://github.com/mastra-ai/mastra/commit/1805ddc9c9b3b14b63749735a13c05a45af43a80), [`fff91cf`](https://github.com/mastra-ai/mastra/commit/fff91cf914de0e731578aacebffdeebef82f0440), [`61109b3`](https://github.com/mastra-ai/mastra/commit/61109b34feb0e38d54bee4b8ca83eb7345b1d557), [`33f1ead`](https://github.com/mastra-ai/mastra/commit/33f1eadfa19c86953f593478e5fa371093b33779)]:
|
|
22
|
+
- @mastra/core@1.23.0
|
|
23
|
+
|
|
24
|
+
## 1.2.1-alpha.0
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- Fix answer-similarity scorer to align prompt guidelines with allowed match types ([#15001](https://github.com/mastra-ai/mastra/pull/15001))
|
|
29
|
+
|
|
30
|
+
The answer-similarity scorer could throw a ZodError when the LLM returned
|
|
31
|
+
"contradiction" as a matchType, since only exact/semantic/partial/missing are
|
|
32
|
+
valid. The prompt now correctly directs contradictory information to the
|
|
33
|
+
existing contradictions array instead.
|
|
34
|
+
|
|
35
|
+
- Updated dependencies [[`ac7baf6`](https://github.com/mastra-ai/mastra/commit/ac7baf66ef1db15e03975ef4ebb02724f015a391), [`0df8321`](https://github.com/mastra-ai/mastra/commit/0df832196eeb2450ab77ce887e8553abdd44c5a6), [`61109b3`](https://github.com/mastra-ai/mastra/commit/61109b34feb0e38d54bee4b8ca83eb7345b1d557), [`33f1ead`](https://github.com/mastra-ai/mastra/commit/33f1eadfa19c86953f593478e5fa371093b33779)]:
|
|
36
|
+
- @mastra/core@1.23.0-alpha.8
|
|
37
|
+
|
|
38
|
+
## 1.2.0
|
|
39
|
+
|
|
40
|
+
### Minor Changes
|
|
41
|
+
|
|
42
|
+
- **Trajectory scorers**: Added scorers for evaluating agent and workflow execution paths. ([#14697](https://github.com/mastra-ai/mastra/pull/14697))
|
|
43
|
+
- `createTrajectoryScorerCode` — unified scorer that evaluates accuracy, efficiency, blacklist violations, and tool failure patterns in a single pass. Supports per-item expectations from datasets with static defaults. Nested `ExpectedStep.children` configs allow recursive evaluation with different rules per hierarchy level.
|
|
44
|
+
- `createTrajectoryAccuracyScorerCode` — deterministic accuracy scorer with strict, relaxed, and unordered ordering modes.
|
|
45
|
+
- `createTrajectoryAccuracyScorerLLM` — LLM-based scorer for semantic trajectory evaluation.
|
|
46
|
+
|
|
47
|
+
**Utility functions:**
|
|
48
|
+
- `extractTrajectory` / `extractWorkflowTrajectory` — Convert agent runs and workflow executions into structured trajectories
|
|
49
|
+
- `extractTrajectoryFromTrace` — Build hierarchical trajectories from observability trace spans, including nested agent/tool calls
|
|
50
|
+
- `compareTrajectories` — Compare actual vs. expected trajectories with configurable ordering and data matching. Accepts `ExpectedStep[]` for simpler expected step definitions
|
|
51
|
+
- `checkTrajectoryEfficiency` — Evaluate step counts, token usage, and duration against budgets
|
|
52
|
+
- `checkTrajectoryBlacklist` — Detect forbidden tools or tool sequences
|
|
53
|
+
- `analyzeToolFailures` — Detect retry patterns, fallbacks, and argument corrections
|
|
54
|
+
|
|
55
|
+
**Example — unified scorer with defaults:**
|
|
56
|
+
|
|
57
|
+
```ts
|
|
58
|
+
import { createTrajectoryScorerCode } from '@mastra/evals/scorers';
|
|
59
|
+
|
|
60
|
+
const scorer = createTrajectoryScorerCode({
|
|
61
|
+
defaults: {
|
|
62
|
+
ordering: 'strict',
|
|
63
|
+
steps: [
|
|
64
|
+
{ name: 'validate-input' },
|
|
65
|
+
{
|
|
66
|
+
name: 'research-agent',
|
|
67
|
+
stepType: 'agent_run',
|
|
68
|
+
children: {
|
|
69
|
+
ordering: 'unordered',
|
|
70
|
+
steps: [{ name: 'search' }, { name: 'summarize' }],
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
{ name: 'save-result' },
|
|
74
|
+
],
|
|
75
|
+
maxSteps: 10,
|
|
76
|
+
blacklistedTools: ['deleteAll'],
|
|
77
|
+
},
|
|
78
|
+
});
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### Patch Changes
|
|
82
|
+
|
|
83
|
+
- **Configurable weights**: Add `weights` option to `createTrajectoryScorerCode` for controlling how dimension scores are combined. Defaults to `{ accuracy: 0.4, efficiency: 0.3, toolFailures: 0.2, blacklist: 0.1 }`. ([#14740](https://github.com/mastra-ai/mastra/pull/14740))
|
|
84
|
+
|
|
85
|
+
```ts
|
|
86
|
+
const scorer = createTrajectoryScorerCode({
|
|
87
|
+
defaults: { steps: [{ name: 'search' }], maxSteps: 5 },
|
|
88
|
+
weights: { accuracy: 0.6, efficiency: 0.2, toolFailures: 0.1, blacklist: 0.1 },
|
|
89
|
+
});
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
**ExpectedStep redesign**: `ExpectedStep` is now a discriminated union mirroring `TrajectoryStep`. When you specify a `stepType`, you get autocomplete for that variant's fields (e.g., `toolArgs` for `tool_call`, `modelId` for `model_generation`). The old `data: Record<string, unknown>` field is replaced by direct variant fields.
|
|
93
|
+
|
|
94
|
+
```ts
|
|
95
|
+
// Before: { name: 'search', stepType: 'tool_call', data: { input: { query: 'weather' } } }
|
|
96
|
+
// After:
|
|
97
|
+
{ name: 'search', stepType: 'tool_call', toolArgs: { query: 'weather' } }
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
**Remove `compareStepData`**: The `compareStepData` option is removed from `compareTrajectories`, `TrajectoryExpectation`, and all scorers. Data fields are now auto-compared when present on expected steps — if you specify `toolArgs` on an `ExpectedStep`, it will be compared against the actual step. If you omit it, only name and stepType are matched.
|
|
101
|
+
|
|
102
|
+
Also fixes documentation inaccuracies in `trajectory-accuracy.mdx` and `scorer-utils.mdx`.
|
|
103
|
+
|
|
104
|
+
- Updated dependencies [[`dc514a8`](https://github.com/mastra-ai/mastra/commit/dc514a83dba5f719172dddfd2c7b858e4943d067), [`e333b77`](https://github.com/mastra-ai/mastra/commit/e333b77e2d76ba57ccec1818e08cebc1993469ff), [`dc9fc19`](https://github.com/mastra-ai/mastra/commit/dc9fc19da4437f6b508cc355f346a8856746a76b), [`60a224d`](https://github.com/mastra-ai/mastra/commit/60a224dd497240e83698cfa5bfd02e3d1d854844), [`fbf22a7`](https://github.com/mastra-ai/mastra/commit/fbf22a7ad86bcb50dcf30459f0d075e51ddeb468), [`f16d92c`](https://github.com/mastra-ai/mastra/commit/f16d92c677a119a135cebcf7e2b9f51ada7a9df4), [`949b7bf`](https://github.com/mastra-ai/mastra/commit/949b7bfd4e40f2b2cba7fef5eb3f108a02cfe938), [`404fea1`](https://github.com/mastra-ai/mastra/commit/404fea13042181f0b0c73a101392ac87c79ceae2), [`ebf5047`](https://github.com/mastra-ai/mastra/commit/ebf5047e825c38a1a356f10b214c1d4260dfcd8d), [`12c647c`](https://github.com/mastra-ai/mastra/commit/12c647cf3a26826eb72d40b42e3c8356ceae16ed), [`d084b66`](https://github.com/mastra-ai/mastra/commit/d084b6692396057e83c086b954c1857d20b58a14), [`79c699a`](https://github.com/mastra-ai/mastra/commit/79c699acf3cd8a77e11c55530431f48eb48456e9), [`62757b6`](https://github.com/mastra-ai/mastra/commit/62757b6db6e8bb86569d23ad0b514178f57053f8), [`675f15b`](https://github.com/mastra-ai/mastra/commit/675f15b7eaeea649158d228ea635be40480c584d), [`b174c63`](https://github.com/mastra-ai/mastra/commit/b174c63a093108d4e53b9bc89a078d9f66202b3f), [`819f03c`](https://github.com/mastra-ai/mastra/commit/819f03c25823373b32476413bd76be28a5d8705a), [`04160ee`](https://github.com/mastra-ai/mastra/commit/04160eedf3130003cf842ad08428c8ff69af4cc1), [`2c27503`](https://github.com/mastra-ai/mastra/commit/2c275032510d131d2cde47f99953abf0fe02c081), [`424a1df`](https://github.com/mastra-ai/mastra/commit/424a1df7bee59abb5c83717a54807fdd674a6224), [`3d70b0b`](https://github.com/mastra-ai/mastra/commit/3d70b0b3524d817173ad870768f259c06d61bd23), [`eef7cb2`](https://github.com/mastra-ai/mastra/commit/eef7cb2abe7ef15951e2fdf792a5095c6c643333), [`260fe12`](https://github.com/mastra-ai/mastra/commit/260fe1295fe7354e39d6def2775e0797a7a277f0), [`12c88a6`](https://github.com/mastra-ai/mastra/commit/12c88a6e32bf982c2fe0c6af62e65a3414519a75), [`43595bf`](https://github.com/mastra-ai/mastra/commit/43595bf7b8df1a6edce7a23b445b5124d2a0b473), [`78670e9`](https://github.com/mastra-ai/mastra/commit/78670e97e76d7422cf7025faf371b2aeafed860d), [`e8a5b0b`](https://github.com/mastra-ai/mastra/commit/e8a5b0b9bc94d12dee4150095512ca27a288d778), [`3b45a13`](https://github.com/mastra-ai/mastra/commit/3b45a138d09d040779c0aba1edbbfc1b57442d23), [`d400e7c`](https://github.com/mastra-ai/mastra/commit/d400e7c8b8d7afa6ba2c71769eace4048e3cef8e), [`f58d1a7`](https://github.com/mastra-ai/mastra/commit/f58d1a7a457588a996c3ecb53201a68f3d28c432), [`a49a929`](https://github.com/mastra-ai/mastra/commit/a49a92904968b4fc67e01effee8c7c8d0464ba85), [`8127d96`](https://github.com/mastra-ai/mastra/commit/8127d96280492e335d49b244501088dfdd59a8f1)]:
|
|
105
|
+
- @mastra/core@1.18.0
|
|
106
|
+
|
|
107
|
+
## 1.2.0-alpha.1
|
|
108
|
+
|
|
109
|
+
### Patch Changes
|
|
110
|
+
|
|
111
|
+
- **Configurable weights**: Add `weights` option to `createTrajectoryScorerCode` for controlling how dimension scores are combined. Defaults to `{ accuracy: 0.4, efficiency: 0.3, toolFailures: 0.2, blacklist: 0.1 }`. ([#14740](https://github.com/mastra-ai/mastra/pull/14740))
|
|
112
|
+
|
|
113
|
+
```ts
|
|
114
|
+
const scorer = createTrajectoryScorerCode({
|
|
115
|
+
defaults: { steps: [{ name: 'search' }], maxSteps: 5 },
|
|
116
|
+
weights: { accuracy: 0.6, efficiency: 0.2, toolFailures: 0.1, blacklist: 0.1 },
|
|
117
|
+
});
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
**ExpectedStep redesign**: `ExpectedStep` is now a discriminated union mirroring `TrajectoryStep`. When you specify a `stepType`, you get autocomplete for that variant's fields (e.g., `toolArgs` for `tool_call`, `modelId` for `model_generation`). The old `data: Record<string, unknown>` field is replaced by direct variant fields.
|
|
121
|
+
|
|
122
|
+
```ts
|
|
123
|
+
// Before: { name: 'search', stepType: 'tool_call', data: { input: { query: 'weather' } } }
|
|
124
|
+
// After:
|
|
125
|
+
{ name: 'search', stepType: 'tool_call', toolArgs: { query: 'weather' } }
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
**Remove `compareStepData`**: The `compareStepData` option is removed from `compareTrajectories`, `TrajectoryExpectation`, and all scorers. Data fields are now auto-compared when present on expected steps — if you specify `toolArgs` on an `ExpectedStep`, it will be compared against the actual step. If you omit it, only name and stepType are matched.
|
|
129
|
+
|
|
130
|
+
Also fixes documentation inaccuracies in `trajectory-accuracy.mdx` and `scorer-utils.mdx`.
|
|
131
|
+
|
|
132
|
+
- Updated dependencies [[`e333b77`](https://github.com/mastra-ai/mastra/commit/e333b77e2d76ba57ccec1818e08cebc1993469ff), [`60a224d`](https://github.com/mastra-ai/mastra/commit/60a224dd497240e83698cfa5bfd02e3d1d854844), [`949b7bf`](https://github.com/mastra-ai/mastra/commit/949b7bfd4e40f2b2cba7fef5eb3f108a02cfe938), [`d084b66`](https://github.com/mastra-ai/mastra/commit/d084b6692396057e83c086b954c1857d20b58a14), [`79c699a`](https://github.com/mastra-ai/mastra/commit/79c699acf3cd8a77e11c55530431f48eb48456e9), [`62757b6`](https://github.com/mastra-ai/mastra/commit/62757b6db6e8bb86569d23ad0b514178f57053f8), [`3d70b0b`](https://github.com/mastra-ai/mastra/commit/3d70b0b3524d817173ad870768f259c06d61bd23), [`3b45a13`](https://github.com/mastra-ai/mastra/commit/3b45a138d09d040779c0aba1edbbfc1b57442d23), [`8127d96`](https://github.com/mastra-ai/mastra/commit/8127d96280492e335d49b244501088dfdd59a8f1)]:
|
|
133
|
+
- @mastra/core@1.18.0-alpha.3
|
|
134
|
+
|
|
135
|
+
## 1.2.0-alpha.0
|
|
136
|
+
|
|
137
|
+
### Minor Changes
|
|
138
|
+
|
|
139
|
+
- **Trajectory scorers**: Added scorers for evaluating agent and workflow execution paths. ([#14697](https://github.com/mastra-ai/mastra/pull/14697))
|
|
140
|
+
- `createTrajectoryScorerCode` — unified scorer that evaluates accuracy, efficiency, blacklist violations, and tool failure patterns in a single pass. Supports per-item expectations from datasets with static defaults. Nested `ExpectedStep.children` configs allow recursive evaluation with different rules per hierarchy level.
|
|
141
|
+
- `createTrajectoryAccuracyScorerCode` — deterministic accuracy scorer with strict, relaxed, and unordered ordering modes.
|
|
142
|
+
- `createTrajectoryAccuracyScorerLLM` — LLM-based scorer for semantic trajectory evaluation.
|
|
143
|
+
|
|
144
|
+
**Utility functions:**
|
|
145
|
+
- `extractTrajectory` / `extractWorkflowTrajectory` — Convert agent runs and workflow executions into structured trajectories
|
|
146
|
+
- `extractTrajectoryFromTrace` — Build hierarchical trajectories from observability trace spans, including nested agent/tool calls
|
|
147
|
+
- `compareTrajectories` — Compare actual vs. expected trajectories with configurable ordering and data matching. Accepts `ExpectedStep[]` for simpler expected step definitions
|
|
148
|
+
- `checkTrajectoryEfficiency` — Evaluate step counts, token usage, and duration against budgets
|
|
149
|
+
- `checkTrajectoryBlacklist` — Detect forbidden tools or tool sequences
|
|
150
|
+
- `analyzeToolFailures` — Detect retry patterns, fallbacks, and argument corrections
|
|
151
|
+
|
|
152
|
+
**Example — unified scorer with defaults:**
|
|
153
|
+
|
|
154
|
+
```ts
|
|
155
|
+
import { createTrajectoryScorerCode } from '@mastra/evals/scorers';
|
|
156
|
+
|
|
157
|
+
const scorer = createTrajectoryScorerCode({
|
|
158
|
+
defaults: {
|
|
159
|
+
ordering: 'strict',
|
|
160
|
+
steps: [
|
|
161
|
+
{ name: 'validate-input' },
|
|
162
|
+
{
|
|
163
|
+
name: 'research-agent',
|
|
164
|
+
stepType: 'agent_run',
|
|
165
|
+
children: {
|
|
166
|
+
ordering: 'unordered',
|
|
167
|
+
steps: [{ name: 'search' }, { name: 'summarize' }],
|
|
168
|
+
},
|
|
169
|
+
},
|
|
170
|
+
{ name: 'save-result' },
|
|
171
|
+
],
|
|
172
|
+
maxSteps: 10,
|
|
173
|
+
blacklistedTools: ['deleteAll'],
|
|
174
|
+
},
|
|
175
|
+
});
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
### Patch Changes
|
|
179
|
+
|
|
180
|
+
- Updated dependencies [[`dc9fc19`](https://github.com/mastra-ai/mastra/commit/dc9fc19da4437f6b508cc355f346a8856746a76b), [`260fe12`](https://github.com/mastra-ai/mastra/commit/260fe1295fe7354e39d6def2775e0797a7a277f0)]:
|
|
181
|
+
- @mastra/core@1.18.0-alpha.1
|
|
9
182
|
|
|
10
183
|
## 1.1.2
|
|
11
184
|
|
|
@@ -2376,7 +2549,7 @@
|
|
|
2376
2549
|
- 876b8a2: Rename difference metric to textual difference metric
|
|
2377
2550
|
- 1bbec77: Reorganized evals into nlp and llm
|
|
2378
2551
|
- 35764f4: Added workflow for eval tests
|
|
2379
|
-
- 8769a62: Split core into
|
|
2552
|
+
- 8769a62: Split core into separate entry files
|
|
2380
2553
|
- aea3c13: Fix evals export for llm and nlp
|
|
2381
2554
|
- 4f1d1a1: Enforce types ann cleanup package.json
|
|
2382
2555
|
- 202d404: Added instructions when generating evals
|
|
@@ -2790,7 +2963,7 @@
|
|
|
2790
2963
|
### Patch Changes
|
|
2791
2964
|
|
|
2792
2965
|
- 9625602: Use mastra core splitted bundles in other packages
|
|
2793
|
-
- 8769a62: Split core into
|
|
2966
|
+
- 8769a62: Split core into separate entry files
|
|
2794
2967
|
- Updated dependencies [30322ce]
|
|
2795
2968
|
- Updated dependencies [78eec7c]
|
|
2796
2969
|
- Updated dependencies [9625602]
|
package/LICENSE.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
Portions of this software are licensed as follows:
|
|
2
|
+
|
|
3
|
+
- All content that resides under any directory named "ee/" within this
|
|
4
|
+
repository, including but not limited to:
|
|
5
|
+
- `packages/core/src/auth/ee/`
|
|
6
|
+
- `packages/server/src/server/auth/ee/`
|
|
7
|
+
is licensed under the license defined in `ee/LICENSE`.
|
|
8
|
+
|
|
9
|
+
- All third-party components incorporated into the Mastra Software are
|
|
10
|
+
licensed under the original license provided by the owner of the
|
|
11
|
+
applicable component.
|
|
12
|
+
|
|
13
|
+
- Content outside of the above-mentioned directories or restrictions is
|
|
14
|
+
available under the "Apache License 2.0" as defined below.
|
|
15
|
+
|
|
1
16
|
# Apache License 2.0
|
|
2
17
|
|
|
3
18
|
Copyright (c) 2025 Kepler Software, Inc.
|