@mastra/mcp-docs-server 1.0.0-beta.22 → 1.0.0-beta.24
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/.docs/organized/changelogs/%40mastra%2Fagent-builder.md +9 -9
- package/.docs/organized/changelogs/%40mastra%2Fclient-js.md +20 -20
- package/.docs/organized/changelogs/%40mastra%2Fcore.md +79 -79
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloud.md +17 -17
- package/.docs/organized/changelogs/%40mastra%2Fdeployer.md +19 -19
- package/.docs/organized/changelogs/%40mastra%2Fmcp-docs-server.md +15 -15
- package/.docs/organized/changelogs/%40mastra%2Fmemory.md +9 -9
- package/.docs/organized/changelogs/%40mastra%2Fplayground-ui.md +33 -33
- package/.docs/organized/changelogs/%40mastra%2Fqdrant.md +18 -18
- package/.docs/organized/changelogs/%40mastra%2Freact.md +21 -21
- package/.docs/organized/changelogs/%40mastra%2Fschema-compat.md +12 -0
- package/.docs/organized/changelogs/%40mastra%2Fserver.md +15 -15
- package/.docs/raw/agents/agent-memory.mdx +4 -0
- package/.docs/raw/agents/overview.mdx +1 -1
- package/.docs/raw/agents/structured-output.mdx +1 -5
- package/.docs/raw/guides/deployment/digital-ocean.mdx +6 -8
- package/.docs/raw/guides/migrations/upgrade-to-v1/client.mdx +30 -6
- package/.docs/raw/mastra-cloud/deployment.mdx +47 -0
- package/.docs/raw/memory/storage.mdx +4 -0
- package/.docs/raw/observability/tracing/exporters/arize.mdx +0 -19
- package/.docs/raw/observability/tracing/exporters/braintrust.mdx +0 -19
- package/.docs/raw/observability/tracing/exporters/laminar.mdx +0 -13
- package/.docs/raw/observability/tracing/exporters/langfuse.mdx +2 -19
- package/.docs/raw/observability/tracing/exporters/otel.mdx +0 -19
- package/.docs/raw/observability/tracing/exporters/posthog.mdx +0 -20
- package/.docs/raw/observability/tracing/overview.mdx +207 -8
- package/.docs/raw/rag/vector-databases.mdx +3 -3
- package/.docs/raw/reference/observability/tracing/exporters/arize.mdx +8 -0
- package/.docs/raw/reference/observability/tracing/exporters/braintrust.mdx +8 -0
- package/.docs/raw/reference/observability/tracing/exporters/cloud-exporter.mdx +8 -0
- package/.docs/raw/reference/observability/tracing/exporters/datadog.mdx +8 -0
- package/.docs/raw/reference/observability/tracing/exporters/default-exporter.mdx +8 -0
- package/.docs/raw/reference/observability/tracing/exporters/laminar.mdx +8 -0
- package/.docs/raw/reference/observability/tracing/exporters/langfuse.mdx +8 -0
- package/.docs/raw/reference/observability/tracing/exporters/langsmith.mdx +8 -0
- package/.docs/raw/reference/observability/tracing/exporters/otel.mdx +8 -0
- package/.docs/raw/reference/observability/tracing/exporters/posthog.mdx +8 -0
- package/.docs/raw/reference/observability/tracing/exporters/sentry.mdx +8 -0
- package/.docs/raw/reference/observability/tracing/interfaces.mdx +6 -0
- package/.docs/raw/reference/vectors/qdrant.mdx +71 -1
- package/.docs/raw/workflows/error-handling.mdx +4 -2
- package/.docs/raw/workflows/overview.mdx +42 -9
- package/.docs/raw/workflows/time-travel.mdx +7 -5
- package/CHANGELOG.md +14 -0
- package/package.json +3 -3
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @mastra/agent-builder
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`1dbd8c7`](https://github.com/mastra-ai/mastra/commit/1dbd8c729fb6536ec52f00064d76b80253d346e9), [`c59e13c`](https://github.com/mastra-ai/mastra/commit/c59e13c7688284bd96b2baee3e314335003548de), [`f9a2509`](https://github.com/mastra-ai/mastra/commit/f9a25093ea72d210a5e52cfcb3bcc8b5e02dc25c), [`7a010c5`](https://github.com/mastra-ai/mastra/commit/7a010c56b846a313a49ae42fccd3d8de2b9f292d)]:
|
|
8
|
+
- @mastra/core@1.0.0-beta.24
|
|
9
|
+
- @mastra/memory@1.0.0-beta.14
|
|
10
|
+
|
|
3
11
|
## 1.0.0-beta.13
|
|
4
12
|
|
|
5
13
|
### Major Changes
|
|
@@ -490,13 +498,5 @@
|
|
|
490
498
|
- Update package.json and README ([#7886](https://github.com/mastra-ai/mastra/pull/7886))
|
|
491
499
|
|
|
492
500
|
- Updated dependencies [[`197cbb2`](https://github.com/mastra-ai/mastra/commit/197cbb248fc8cb4bbf61bf70b770f1388b445df2), [`a1bb887`](https://github.com/mastra-ai/mastra/commit/a1bb887e8bfae44230f487648da72e96ef824561), [`6590763`](https://github.com/mastra-ai/mastra/commit/65907630ef4bf4127067cecd1cb21b56f55d5f1b), [`fb84c21`](https://github.com/mastra-ai/mastra/commit/fb84c21859d09bdc8f158bd5412bdc4b5835a61c), [`5802bf5`](https://github.com/mastra-ai/mastra/commit/5802bf57f6182e4b67c28d7d91abed349a8d14f3), [`5bda53a`](https://github.com/mastra-ai/mastra/commit/5bda53a9747bfa7d876d754fc92c83a06e503f62), [`c2eade3`](https://github.com/mastra-ai/mastra/commit/c2eade3508ef309662f065e5f340d7840295dd53), [`f26a8fd`](https://github.com/mastra-ai/mastra/commit/f26a8fd99fcb0497a5d86c28324430d7f6a5fb83), [`8a3f5e4`](https://github.com/mastra-ai/mastra/commit/8a3f5e4212ec36b302957deb4bd47005ab598382), [`222965a`](https://github.com/mastra-ai/mastra/commit/222965a98ce8197b86673ec594244650b5960257), [`6047778`](https://github.com/mastra-ai/mastra/commit/6047778e501df460648f31decddf8e443f36e373), [`a0f5f1c`](https://github.com/mastra-ai/mastra/commit/a0f5f1ca39c3c5c6d26202e9fcab986b4fe14568), [`9d4fc09`](https://github.com/mastra-ai/mastra/commit/9d4fc09b2ad55caa7738c7ceb3a905e454f74cdd), [`05c7abf`](https://github.com/mastra-ai/mastra/commit/05c7abfe105a015b7760c9bf33ff4419727502a0), [`0324ceb`](https://github.com/mastra-ai/mastra/commit/0324ceb8af9d16c12a531f90e575f6aab797ac81), [`d75ccf0`](https://github.com/mastra-ai/mastra/commit/d75ccf06dfd2582b916aa12624e3cd61b279edf1), [`0f9d227`](https://github.com/mastra-ai/mastra/commit/0f9d227890a98db33865abbea39daf407cd55ef7), [`b356f5f`](https://github.com/mastra-ai/mastra/commit/b356f5f7566cb3edb755d91f00b72fc1420b2a37), [`de056a0`](https://github.com/mastra-ai/mastra/commit/de056a02cbb43f6aa0380ab2150ea404af9ec0dd), [`f5ce05f`](https://github.com/mastra-ai/mastra/commit/f5ce05f831d42c69559bf4c0fdb46ccb920fc3a3), [`60c9cec`](https://github.com/mastra-ai/mastra/commit/60c9cec7048a79a87440f7840c383875bd710d93), [`c93532a`](https://github.com/mastra-ai/mastra/commit/c93532a340b80e4dd946d4c138d9381de5f70399), [`6cb1fcb`](https://github.com/mastra-ai/mastra/commit/6cb1fcbc8d0378ffed0d17784c96e68f30cb0272), [`aee4f00`](https://github.com/mastra-ai/mastra/commit/aee4f00e61e1a42e81a6d74ff149dbe69e32695a), [`9f6f30f`](https://github.com/mastra-ai/mastra/commit/9f6f30f04ec6648bbca798ea8aad59317c40d8db), [`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4), [`897995e`](https://github.com/mastra-ai/mastra/commit/897995e630d572fe2891e7ede817938cabb43251), [`0fed8f2`](https://github.com/mastra-ai/mastra/commit/0fed8f2aa84b167b3415ea6f8f70755775132c8d), [`4f9ea8c`](https://github.com/mastra-ai/mastra/commit/4f9ea8c95ea74ba9abbf3b2ab6106c7d7bc45689), [`c4dbd12`](https://github.com/mastra-ai/mastra/commit/c4dbd12a05e75db124c5d8abff3d893ea1b88c30), [`1a1fbe6`](https://github.com/mastra-ai/mastra/commit/1a1fbe66efb7d94abc373ed0dd9676adb8122454), [`d706fad`](https://github.com/mastra-ai/mastra/commit/d706fad6e6e4b72357b18d229ba38e6c913c0e70), [`87fd07f`](https://github.com/mastra-ai/mastra/commit/87fd07ff35387a38728967163460231b5d33ae3b), [`5c3768f`](https://github.com/mastra-ai/mastra/commit/5c3768fa959454232ad76715c381f4aac00c6881), [`2685a78`](https://github.com/mastra-ai/mastra/commit/2685a78f224b8b04e20d4fab5ac1adb638190071), [`36f39c0`](https://github.com/mastra-ai/mastra/commit/36f39c00dc794952dc3c11aab91c2fa8bca74b11), [`239b5a4`](https://github.com/mastra-ai/mastra/commit/239b5a497aeae2e8b4d764f46217cfff2284788e), [`8a3f5e4`](https://github.com/mastra-ai/mastra/commit/8a3f5e4212ec36b302957deb4bd47005ab598382)]:
|
|
493
|
-
- @mastra/core@0.17.0
|
|
494
|
-
- @mastra/memory@0.15.2
|
|
495
|
-
|
|
496
|
-
## 0.0.5-alpha.2
|
|
497
|
-
|
|
498
|
-
### Patch Changes
|
|
499
|
-
|
|
500
|
-
- clean up console logs in monorepo ([#7926](https://github.com/mastra-ai/mastra/pull/7926))
|
|
501
501
|
|
|
502
|
-
...
|
|
502
|
+
... 240 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @mastra/client-js
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.24
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- **Fixed:** Align `Agent.network` with core and update `@mastra/react` network usage. ([#12015](https://github.com/mastra-ai/mastra/pull/12015))
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`1dbd8c7`](https://github.com/mastra-ai/mastra/commit/1dbd8c729fb6536ec52f00064d76b80253d346e9), [`c59e13c`](https://github.com/mastra-ai/mastra/commit/c59e13c7688284bd96b2baee3e314335003548de), [`f93e2f5`](https://github.com/mastra-ai/mastra/commit/f93e2f575e775e627e5c1927cefdd72db07858ed), [`f9a2509`](https://github.com/mastra-ai/mastra/commit/f9a25093ea72d210a5e52cfcb3bcc8b5e02dc25c), [`7a010c5`](https://github.com/mastra-ai/mastra/commit/7a010c56b846a313a49ae42fccd3d8de2b9f292d)]:
|
|
12
|
+
- @mastra/core@1.0.0-beta.24
|
|
13
|
+
- @mastra/schema-compat@1.0.0-beta.7
|
|
14
|
+
|
|
15
|
+
## 1.0.0-beta.23
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies [[`c8417b4`](https://github.com/mastra-ai/mastra/commit/c8417b41d9f3486854dc7842d977fbe5e2166264), [`dd4f34c`](https://github.com/mastra-ai/mastra/commit/dd4f34c78cbae24063463475b0619575c415f9b8)]:
|
|
20
|
+
- @mastra/core@1.0.0-beta.23
|
|
21
|
+
|
|
3
22
|
## 1.0.0-beta.22
|
|
4
23
|
|
|
5
24
|
### Major Changes
|
|
@@ -480,23 +499,4 @@
|
|
|
480
499
|
- `restartAsync()`
|
|
481
500
|
- `timeTravelAsync()`
|
|
482
501
|
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
The `status` parameter was supported by the server API but was missing from the TypeScript types in @mastra/client-js.
|
|
486
|
-
|
|
487
|
-
Now you can filter workflow runs by status:
|
|
488
|
-
|
|
489
|
-
```typescript
|
|
490
|
-
// Get only running workflows
|
|
491
|
-
const runningRuns = await workflow.runs({ status: 'running' });
|
|
492
|
-
|
|
493
|
-
// Get completed workflows
|
|
494
|
-
const completedRuns = await workflow.runs({ status: 'success' });
|
|
495
|
-
```
|
|
496
|
-
|
|
497
|
-
- Updated dependencies [[`d5ed981`](https://github.com/mastra-ai/mastra/commit/d5ed981c8701c1b8a27a5f35a9a2f7d9244e695f), [`9650cce`](https://github.com/mastra-ai/mastra/commit/9650cce52a1d917ff9114653398e2a0f5c3ba808), [`932d63d`](https://github.com/mastra-ai/mastra/commit/932d63dd51be9c8bf1e00e3671fe65606c6fb9cd), [`b760b73`](https://github.com/mastra-ai/mastra/commit/b760b731aca7c8a3f041f61d57a7f125ae9cb215), [`695a621`](https://github.com/mastra-ai/mastra/commit/695a621528bdabeb87f83c2277cf2bb084c7f2b4), [`2b459f4`](https://github.com/mastra-ai/mastra/commit/2b459f466fd91688eeb2a44801dc23f7f8a887ab), [`486352b`](https://github.com/mastra-ai/mastra/commit/486352b66c746602b68a95839f830de14c7fb8c0), [`09e4bae`](https://github.com/mastra-ai/mastra/commit/09e4bae18dd5357d2ae078a4a95a2af32168ab08), [`24b76d8`](https://github.com/mastra-ai/mastra/commit/24b76d8e17656269c8ed09a0c038adb9cc2ae95a), [`243a823`](https://github.com/mastra-ai/mastra/commit/243a8239c5906f5c94e4f78b54676793f7510ae3), [`486352b`](https://github.com/mastra-ai/mastra/commit/486352b66c746602b68a95839f830de14c7fb8c0), [`c61fac3`](https://github.com/mastra-ai/mastra/commit/c61fac3add96f0dcce0208c07415279e2537eb62), [`6f14f70`](https://github.com/mastra-ai/mastra/commit/6f14f706ccaaf81b69544b6c1b75ab66a41e5317), [`09e4bae`](https://github.com/mastra-ai/mastra/commit/09e4bae18dd5357d2ae078a4a95a2af32168ab08), [`4524734`](https://github.com/mastra-ai/mastra/commit/45247343e384717a7c8404296275c56201d6470f), [`2a53598`](https://github.com/mastra-ai/mastra/commit/2a53598c6d8cfeb904a7fc74e57e526d751c8fa6), [`c7cd3c7`](https://github.com/mastra-ai/mastra/commit/c7cd3c7a187d7aaf79e2ca139de328bf609a14b4), [`847c212`](https://github.com/mastra-ai/mastra/commit/847c212caba7df0d6f2fc756b494ac3c75c3720d), [`6f941c4`](https://github.com/mastra-ai/mastra/commit/6f941c438ca5f578619788acc7608fc2e23bd176)]:
|
|
498
|
-
- @mastra/core@1.0.0-beta.12
|
|
499
|
-
- @mastra/schema-compat@1.0.0-beta.3
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
... 3791 more lines hidden. See full changelog in package directory.
|
|
502
|
+
... 3810 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,83 @@
|
|
|
1
1
|
# @mastra/core
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.24
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Added `flush()` method to `ObservabilityExporter`, `ObservabilityBridge`, and `ObservabilityInstance` interfaces ([#12003](https://github.com/mastra-ai/mastra/pull/12003))
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- When using agent networks, the routing agent could fail with a cryptic `TypeError: Cannot read properties of undefined` if the generation response was missing or malformed. This made it difficult to diagnose why routing failed. The release now throws a descriptive error with debugging details (response text, finish reason, usage) to help identify the root cause. ([#12028](https://github.com/mastra-ai/mastra/pull/12028))
|
|
12
|
+
|
|
13
|
+
Fixes #11749
|
|
14
|
+
|
|
15
|
+
- Improve error messaging for LLM API errors. When an error originates from an LLM provider (e.g., rate limits, overloaded, auth failures), the console now indicates it's an upstream API error and includes the provider and model information. ([#12022](https://github.com/mastra-ai/mastra/pull/12022))
|
|
16
|
+
|
|
17
|
+
Before:
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
ERROR (Mastra): Error in agent stream
|
|
21
|
+
error: { "message": "Overloaded", "type": "overloaded_error" }
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
After:
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
ERROR (Mastra): Upstream LLM API error from anthropic (model: claude-3-opus)
|
|
28
|
+
error: { "message": "Overloaded", "type": "overloaded_error" }
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
- Fixed the type of targetResult in the onItemComplete callback for runEvals. The parameter was incorrectly typed as a Promise, but the actual value passed is already resolved. Users no longer need to await targetResult inside their callback. ([#12030](https://github.com/mastra-ai/mastra/pull/12030))
|
|
32
|
+
|
|
33
|
+
- Updated dependencies [[`f93e2f5`](https://github.com/mastra-ai/mastra/commit/f93e2f575e775e627e5c1927cefdd72db07858ed)]:
|
|
34
|
+
- @mastra/schema-compat@1.0.0-beta.7
|
|
35
|
+
|
|
36
|
+
## 1.0.0-beta.23
|
|
37
|
+
|
|
38
|
+
### Patch Changes
|
|
39
|
+
|
|
40
|
+
- Added `customSpanFormatter` option to exporters for per-exporter span transformation. This allows different formatting per exporter and supports both synchronous and asynchronous operations, including async data enrichment. ([#11985](https://github.com/mastra-ai/mastra/pull/11985))
|
|
41
|
+
|
|
42
|
+
**Configuration example:**
|
|
43
|
+
|
|
44
|
+
```ts
|
|
45
|
+
import { DefaultExporter } from '@mastra/observability';
|
|
46
|
+
import { SpanType } from '@mastra/core/observability';
|
|
47
|
+
import type { CustomSpanFormatter } from '@mastra/core/observability';
|
|
48
|
+
|
|
49
|
+
// Sync formatter
|
|
50
|
+
const plainTextFormatter: CustomSpanFormatter = span => {
|
|
51
|
+
if (span.type === SpanType.AGENT_RUN && Array.isArray(span.input)) {
|
|
52
|
+
const userMessage = span.input.find(m => m.role === 'user');
|
|
53
|
+
return { ...span, input: userMessage?.content ?? span.input };
|
|
54
|
+
}
|
|
55
|
+
return span;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
// Async formatter for data enrichment
|
|
59
|
+
const enrichmentFormatter: CustomSpanFormatter = async span => {
|
|
60
|
+
const userData = await fetchUserData(span.metadata?.userId);
|
|
61
|
+
return { ...span, metadata: { ...span.metadata, userName: userData.name } };
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
const exporter = new DefaultExporter({
|
|
65
|
+
customSpanFormatter: plainTextFormatter,
|
|
66
|
+
});
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Also added `chainFormatters` utility to combine multiple formatters (supports mixed sync/async):
|
|
70
|
+
|
|
71
|
+
```ts
|
|
72
|
+
import { chainFormatters } from '@mastra/observability';
|
|
73
|
+
|
|
74
|
+
const exporter = new BraintrustExporter({
|
|
75
|
+
customSpanFormatter: chainFormatters([syncFormatter, asyncFormatter]),
|
|
76
|
+
});
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
- Fix type recursion by importing from 'zod' instead of 'zod/v3' ([#12009](https://github.com/mastra-ai/mastra/pull/12009))
|
|
80
|
+
|
|
3
81
|
## 1.0.0-beta.22
|
|
4
82
|
|
|
5
83
|
### Major Changes
|
|
@@ -420,83 +498,5 @@
|
|
|
420
498
|
});
|
|
421
499
|
```
|
|
422
500
|
|
|
423
|
-
- Make initialState optional in studio ([#11744](https://github.com/mastra-ai/mastra/pull/11744))
|
|
424
|
-
|
|
425
|
-
- Refactor: consolidate duplicate applyMessages helpers in workflow.ts ([#11688](https://github.com/mastra-ai/mastra/pull/11688))
|
|
426
|
-
- Added optional `defaultSource` parameter to `ProcessorRunner.applyMessagesToMessageList` to support both 'input' and 'response' default sources
|
|
427
|
-
- Removed 3 duplicate inline `applyMessages` helper functions from workflow.ts (in input, outputResult, and outputStep phases)
|
|
428
|
-
- All phases now use the shared `ProcessorRunner.applyMessagesToMessageList` static method
|
|
429
|
-
|
|
430
|
-
This is an internal refactoring with no changes to external behavior.
|
|
431
|
-
|
|
432
|
-
- Cache processor instances in MastraMemory to preserve embedding cache across calls ([#11720](https://github.com/mastra-ai/mastra/pull/11720))
|
|
433
|
-
Fixed issue where getInputProcessors() and getOutputProcessors() created new processor instances on each call, causing the SemanticRecall embedding cache to be discarded. Processor instances (SemanticRecall, WorkingMemory, MessageHistory) are now cached and reused, reducing unnecessary embedding API calls and improving latency.
|
|
434
|
-
Also added cache invalidation when setStorage(), setVector(), or setEmbedder() are called to ensure processors use updated dependencies.
|
|
435
|
-
Fixes #11455
|
|
436
|
-
- Updated dependencies [[`3bf08bf`](https://github.com/mastra-ai/mastra/commit/3bf08bf9c7c73818ac937b5a69d90e205653115f)]:
|
|
437
|
-
- @mastra/schema-compat@1.0.0-beta.6
|
|
438
|
-
|
|
439
|
-
## 1.0.0-beta.20
|
|
440
|
-
|
|
441
|
-
### Minor Changes
|
|
442
|
-
|
|
443
|
-
- Deprecate `default: { enabled: true }` observability configuration ([#11674](https://github.com/mastra-ai/mastra/pull/11674))
|
|
444
|
-
|
|
445
|
-
The shorthand `default: { enabled: true }` configuration is now deprecated and will be removed in a future version. Users should migrate to explicit configuration with `DefaultExporter`, `CloudExporter`, and `SensitiveDataFilter`.
|
|
446
|
-
|
|
447
|
-
**Before (deprecated):**
|
|
448
|
-
|
|
449
|
-
```typescript
|
|
450
|
-
import { Observability } from '@mastra/observability';
|
|
451
|
-
|
|
452
|
-
const mastra = new Mastra({
|
|
453
|
-
observability: new Observability({
|
|
454
|
-
default: { enabled: true },
|
|
455
|
-
}),
|
|
456
|
-
});
|
|
457
|
-
```
|
|
458
|
-
|
|
459
|
-
**After (recommended):**
|
|
460
|
-
|
|
461
|
-
```typescript
|
|
462
|
-
import { Observability, DefaultExporter, CloudExporter, SensitiveDataFilter } from '@mastra/observability';
|
|
463
|
-
|
|
464
|
-
const mastra = new Mastra({
|
|
465
|
-
observability: new Observability({
|
|
466
|
-
configs: {
|
|
467
|
-
default: {
|
|
468
|
-
serviceName: 'mastra',
|
|
469
|
-
exporters: [new DefaultExporter(), new CloudExporter()],
|
|
470
|
-
spanOutputProcessors: [new SensitiveDataFilter()],
|
|
471
|
-
},
|
|
472
|
-
},
|
|
473
|
-
}),
|
|
474
|
-
});
|
|
475
|
-
```
|
|
476
|
-
|
|
477
|
-
The explicit configuration makes it clear exactly what exporters and processors are being used, improving code readability and maintainability.
|
|
478
|
-
|
|
479
|
-
A deprecation warning will be logged when using the old configuration pattern.
|
|
480
|
-
|
|
481
|
-
- Fix processor tracing to create individual spans per processor ([#11683](https://github.com/mastra-ai/mastra/pull/11683))
|
|
482
|
-
- Processor spans now correctly show processor IDs (e.g., `input processor: validator`) instead of combined workflow IDs
|
|
483
|
-
- Each processor in a chain gets its own trace span, improving observability into processor execution
|
|
484
|
-
- Spans are only created for phases a processor actually implements, eliminating empty spans
|
|
485
|
-
- Internal agent calls within processors now properly nest under their processor span
|
|
486
|
-
- Added `INPUT_STEP_PROCESSOR` and `OUTPUT_STEP_PROCESSOR` entity types for finer-grained tracing
|
|
487
|
-
- Changed `processorType` span attribute to `processorExecutor` with values `'workflow'` or `'legacy'`
|
|
488
|
-
|
|
489
|
-
- Add completion validation to agent networks using custom scorers ([#11562](https://github.com/mastra-ai/mastra/pull/11562))
|
|
490
|
-
|
|
491
|
-
You can now validate whether an agent network has completed its task by passing MastraScorers to `agent.network()`. When validation fails, the network automatically retries with feedback injected into the conversation.
|
|
492
|
-
|
|
493
|
-
**Example: Creating a scorer to verify test coverage**
|
|
494
|
-
|
|
495
|
-
```ts
|
|
496
|
-
import { createScorer } from '@mastra/core/evals';
|
|
497
|
-
import { z } from 'zod';
|
|
498
|
-
|
|
499
|
-
// Create a scorer that checks if tests were written
|
|
500
|
-
const testsScorer = createScorer({
|
|
501
501
|
|
|
502
|
-
...
|
|
502
|
+
... 7992 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @mastra/deployer-cloud
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.24
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`1dbd8c7`](https://github.com/mastra-ai/mastra/commit/1dbd8c729fb6536ec52f00064d76b80253d346e9), [`c59e13c`](https://github.com/mastra-ai/mastra/commit/c59e13c7688284bd96b2baee3e314335003548de), [`f9a2509`](https://github.com/mastra-ai/mastra/commit/f9a25093ea72d210a5e52cfcb3bcc8b5e02dc25c), [`7a010c5`](https://github.com/mastra-ai/mastra/commit/7a010c56b846a313a49ae42fccd3d8de2b9f292d), [`de97ee5`](https://github.com/mastra-ai/mastra/commit/de97ee552241268e9931319b1358826a41534e99)]:
|
|
8
|
+
- @mastra/core@1.0.0-beta.24
|
|
9
|
+
- @mastra/deployer@1.0.0-beta.24
|
|
10
|
+
|
|
11
|
+
## 1.0.0-beta.23
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [[`c8417b4`](https://github.com/mastra-ai/mastra/commit/c8417b41d9f3486854dc7842d977fbe5e2166264), [`dd4f34c`](https://github.com/mastra-ai/mastra/commit/dd4f34c78cbae24063463475b0619575c415f9b8)]:
|
|
16
|
+
- @mastra/core@1.0.0-beta.23
|
|
17
|
+
- @mastra/deployer@1.0.0-beta.23
|
|
18
|
+
|
|
3
19
|
## 1.0.0-beta.22
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
|
@@ -482,21 +498,5 @@
|
|
|
482
498
|
### Patch Changes
|
|
483
499
|
|
|
484
500
|
- Updated dependencies [[`0d71771`](https://github.com/mastra-ai/mastra/commit/0d71771f5711164c79f8e80919bc84d6bffeb6bc), [`0d6e55e`](https://github.com/mastra-ai/mastra/commit/0d6e55ecc5a2e689cd4fc9c86525e0eb54d82372)]:
|
|
485
|
-
- @mastra/core@0.20.2-alpha.0
|
|
486
|
-
- @mastra/deployer@0.20.2-alpha.0
|
|
487
|
-
|
|
488
|
-
## 0.20.1
|
|
489
|
-
|
|
490
|
-
### Patch Changes
|
|
491
|
-
|
|
492
|
-
- Mutable shared workflow run state ([#8545](https://github.com/mastra-ai/mastra/pull/8545))
|
|
493
|
-
|
|
494
|
-
- Add dynamic creation of peerdeps ([#8582](https://github.com/mastra-ai/mastra/pull/8582))
|
|
495
|
-
|
|
496
|
-
- Updated dependencies [[`c621613`](https://github.com/mastra-ai/mastra/commit/c621613069173c69eb2c3ef19a5308894c6549f0), [`ee17cec`](https://github.com/mastra-ai/mastra/commit/ee17cec065f4454740c9cc8f8a841027a5990f57), [`12b1189`](https://github.com/mastra-ai/mastra/commit/12b118942445e4de0dd916c593e33ec78dc3bc73), [`42ffed3`](https://github.com/mastra-ai/mastra/commit/42ffed311b9d8750652bbc55c773be62c989fcc6), [`4783b30`](https://github.com/mastra-ai/mastra/commit/4783b3063efea887825514b783ba27f67912c26d), [`076b092`](https://github.com/mastra-ai/mastra/commit/076b0924902ff0f49d5712d2df24c4cca683713f), [`2aee9e7`](https://github.com/mastra-ai/mastra/commit/2aee9e7d188b8b256a4ddc203ccefb366b4867fa), [`c582906`](https://github.com/mastra-ai/mastra/commit/c5829065a346260f96c4beb8af131b94804ae3ad), [`fa2eb96`](https://github.com/mastra-ai/mastra/commit/fa2eb96af16c7d433891a73932764960d3235c1d), [`ee9108f`](https://github.com/mastra-ai/mastra/commit/ee9108fa29bb8368fc23df158c9f0645b2d7b65c), [`4783b30`](https://github.com/mastra-ai/mastra/commit/4783b3063efea887825514b783ba27f67912c26d), [`a739d0c`](https://github.com/mastra-ai/mastra/commit/a739d0c8b37cd89569e04a6ca0827083c6167e19), [`a9c4cb7`](https://github.com/mastra-ai/mastra/commit/a9c4cb7d6a35de23ca51066f166a66e0e4cca418), [`603e927`](https://github.com/mastra-ai/mastra/commit/603e9279db8bf8a46caf83881c6b7389ccffff7e), [`cd45982`](https://github.com/mastra-ai/mastra/commit/cd4598291cda128a88738734ae6cbef076ebdebd), [`874f74d`](https://github.com/mastra-ai/mastra/commit/874f74da4b1acf6517f18132d035612c3ecc394a), [`b728a45`](https://github.com/mastra-ai/mastra/commit/b728a45ab3dba59da0f5ee36b81fe246659f305d), [`0baf2ba`](https://github.com/mastra-ai/mastra/commit/0baf2bab8420277072ef1f95df5ea7b0a2f61fe7), [`10e633a`](https://github.com/mastra-ai/mastra/commit/10e633a07d333466d9734c97acfc3dbf757ad2d0), [`a6d69c5`](https://github.com/mastra-ai/mastra/commit/a6d69c5fb50c0875b46275811fece5862f03c6a0), [`84199af`](https://github.com/mastra-ai/mastra/commit/84199af8673f6f9cb59286ffb5477a41932775de), [`7f431af`](https://github.com/mastra-ai/mastra/commit/7f431afd586b7d3265075e73106eb73167edbb86), [`26e968d`](https://github.com/mastra-ai/mastra/commit/26e968db2171ded9e4d47aa1b4f19e1e771158d0), [`cbd3fb6`](https://github.com/mastra-ai/mastra/commit/cbd3fb65adb03a7c0df193cb998aed5ac56675ee)]:
|
|
497
|
-
- @mastra/core@0.20.1
|
|
498
|
-
- @mastra/deployer@0.20.1
|
|
499
|
-
|
|
500
|
-
## 0.20.1-alpha.4
|
|
501
501
|
|
|
502
|
-
...
|
|
502
|
+
... 687 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @mastra/deployer
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.24
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fix a bug where `/openapi.json` was always generated during `mastra build`. The `server.build.openAPIDocs` setting is now observed. ([#11718](https://github.com/mastra-ai/mastra/pull/11718))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`1dbd8c7`](https://github.com/mastra-ai/mastra/commit/1dbd8c729fb6536ec52f00064d76b80253d346e9), [`c59e13c`](https://github.com/mastra-ai/mastra/commit/c59e13c7688284bd96b2baee3e314335003548de), [`f9a2509`](https://github.com/mastra-ai/mastra/commit/f9a25093ea72d210a5e52cfcb3bcc8b5e02dc25c), [`7a010c5`](https://github.com/mastra-ai/mastra/commit/7a010c56b846a313a49ae42fccd3d8de2b9f292d)]:
|
|
10
|
+
- @mastra/core@1.0.0-beta.24
|
|
11
|
+
- @mastra/server@1.0.0-beta.24
|
|
12
|
+
|
|
13
|
+
## 1.0.0-beta.23
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [[`c8417b4`](https://github.com/mastra-ai/mastra/commit/c8417b41d9f3486854dc7842d977fbe5e2166264), [`dd4f34c`](https://github.com/mastra-ai/mastra/commit/dd4f34c78cbae24063463475b0619575c415f9b8)]:
|
|
18
|
+
- @mastra/core@1.0.0-beta.23
|
|
19
|
+
- @mastra/server@1.0.0-beta.23
|
|
20
|
+
|
|
3
21
|
## 1.0.0-beta.22
|
|
4
22
|
|
|
5
23
|
### Major Changes
|
|
@@ -481,22 +499,4 @@
|
|
|
481
499
|
|
|
482
500
|
### Message ordering default
|
|
483
501
|
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
**To use DESC ordering (newest first):**
|
|
487
|
-
|
|
488
|
-
```typescript
|
|
489
|
-
const result = await storage.listMessages({
|
|
490
|
-
threadId: 'thread-1',
|
|
491
|
-
orderBy: { field: 'createdAt', direction: 'DESC' },
|
|
492
|
-
});
|
|
493
|
-
```
|
|
494
|
-
|
|
495
|
-
## Client SDK
|
|
496
|
-
|
|
497
|
-
### BREAKING: Renamed `client.getThreadMessages()` → `client.listThreadMessages()`
|
|
498
|
-
|
|
499
|
-
**Migration:**
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
... 5345 more lines hidden. See full changelog in package directory.
|
|
502
|
+
... 5363 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @mastra/mcp-docs-server
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.24
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`1dbd8c7`](https://github.com/mastra-ai/mastra/commit/1dbd8c729fb6536ec52f00064d76b80253d346e9), [`c59e13c`](https://github.com/mastra-ai/mastra/commit/c59e13c7688284bd96b2baee3e314335003548de), [`f9a2509`](https://github.com/mastra-ai/mastra/commit/f9a25093ea72d210a5e52cfcb3bcc8b5e02dc25c), [`7a010c5`](https://github.com/mastra-ai/mastra/commit/7a010c56b846a313a49ae42fccd3d8de2b9f292d)]:
|
|
8
|
+
- @mastra/core@1.0.0-beta.24
|
|
9
|
+
|
|
10
|
+
## 1.0.0-beta.23
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`c8417b4`](https://github.com/mastra-ai/mastra/commit/c8417b41d9f3486854dc7842d977fbe5e2166264), [`dd4f34c`](https://github.com/mastra-ai/mastra/commit/dd4f34c78cbae24063463475b0619575c415f9b8)]:
|
|
15
|
+
- @mastra/core@1.0.0-beta.23
|
|
16
|
+
|
|
3
17
|
## 1.0.0-beta.22
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -484,19 +498,5 @@
|
|
|
484
498
|
|
|
485
499
|
### Patch Changes
|
|
486
500
|
|
|
487
|
-
- Updated dependencies [[`5f4e677`](https://github.com/mastra-ai/mastra/commit/5f4e67757bc23f2694d83af10f88cfccdc6013ff), [`dc099b4`](https://github.com/mastra-ai/mastra/commit/dc099b40fb31147ba3f362f98d991892033c4c67), [`504438b`](https://github.com/mastra-ai/mastra/commit/504438b961bde211071186bba63a842c4e3db879), [`b342a68`](https://github.com/mastra-ai/mastra/commit/b342a68e1399cf1ece9ba11bda112db89d21118c), [`a7243e2`](https://github.com/mastra-ai/mastra/commit/a7243e2e58762667a6e3921e755e89d6bb0a3282), [`504438b`](https://github.com/mastra-ai/mastra/commit/504438b961bde211071186bba63a842c4e3db879), [`7fceb0a`](https://github.com/mastra-ai/mastra/commit/7fceb0a327d678e812f90f5387c5bc4f38bd039e), [`303a9c0`](https://github.com/mastra-ai/mastra/commit/303a9c0d7dd58795915979f06a0512359e4532fb), [`df64f9e`](https://github.com/mastra-ai/mastra/commit/df64f9ef814916fff9baedd861c988084e7c41de), [`370f8a6`](https://github.com/mastra-ai/mastra/commit/370f8a6480faec70fef18d72e5f7538f27004301), [`809eea0`](https://github.com/mastra-ai/mastra/commit/809eea092fa80c3f69b9eaf078d843b57fd2a88e), [`683e5a1`](https://github.com/mastra-ai/mastra/commit/683e5a1466e48b686825b2c11f84680f296138e4), [`3679378`](https://github.com/mastra-ai/mastra/commit/3679378673350aa314741dc826f837b1984149bc), [`7775bc2`](https://github.com/mastra-ai/mastra/commit/7775bc20bb1ad1ab24797fb420e4f96c65b0d8ec), [`623ffaf`](https://github.com/mastra-ai/mastra/commit/623ffaf2d969e11e99a0224633cf7b5a0815c857), [`9fc1613`](https://github.com/mastra-ai/mastra/commit/9fc16136400186648880fd990119ac15f7c02ee4), [`61f62aa`](https://github.com/mastra-ai/mastra/commit/61f62aa31bc88fe4ddf8da6240dbcfbeb07358bd), [`db1891a`](https://github.com/mastra-ai/mastra/commit/db1891a4707443720b7cd8a260dc7e1d49b3609c), [`e8f379d`](https://github.com/mastra-ai/mastra/commit/e8f379d390efa264c4e0874f9ac0cf8839b07777), [`652066b`](https://github.com/mastra-ai/mastra/commit/652066bd1efc6bb6813ba950ed1d7573e8b7d9d4), [`3e292ba`](https://github.com/mastra-ai/mastra/commit/3e292ba00837886d5d68a34cbc0d9b703c991883), [`418c136`](https://github.com/mastra-ai/mastra/commit/418c1366843d88e491bca3f87763899ce855ca29), [`ea8d386`](https://github.com/mastra-ai/mastra/commit/ea8d386cd8c5593664515fd5770c06bf2aa980ef), [`67b0f00`](https://github.com/mastra-ai/mastra/commit/67b0f005b520335c71fb85cbaa25df4ce8484a81), [`c2a4919`](https://github.com/mastra-ai/mastra/commit/c2a4919ba6797d8bdb1509e02287496eef69303e), [`c84b7d0`](https://github.com/mastra-ai/mastra/commit/c84b7d093c4657772140cbfd2b15ef72f3315ed5), [`0130986`](https://github.com/mastra-ai/mastra/commit/0130986fc62d0edcc626dd593282661dbb9af141)]:
|
|
488
|
-
- @mastra/mcp@0.13.2
|
|
489
|
-
- @mastra/core@0.19.0
|
|
490
|
-
|
|
491
|
-
## 0.13.25-alpha.1
|
|
492
|
-
|
|
493
|
-
### Patch Changes
|
|
494
|
-
|
|
495
|
-
- Updated dependencies [[`5f4e677`](https://github.com/mastra-ai/mastra/commit/5f4e67757bc23f2694d83af10f88cfccdc6013ff), [`504438b`](https://github.com/mastra-ai/mastra/commit/504438b961bde211071186bba63a842c4e3db879), [`a7243e2`](https://github.com/mastra-ai/mastra/commit/a7243e2e58762667a6e3921e755e89d6bb0a3282), [`504438b`](https://github.com/mastra-ai/mastra/commit/504438b961bde211071186bba63a842c4e3db879), [`7fceb0a`](https://github.com/mastra-ai/mastra/commit/7fceb0a327d678e812f90f5387c5bc4f38bd039e), [`df64f9e`](https://github.com/mastra-ai/mastra/commit/df64f9ef814916fff9baedd861c988084e7c41de), [`809eea0`](https://github.com/mastra-ai/mastra/commit/809eea092fa80c3f69b9eaf078d843b57fd2a88e), [`683e5a1`](https://github.com/mastra-ai/mastra/commit/683e5a1466e48b686825b2c11f84680f296138e4), [`3679378`](https://github.com/mastra-ai/mastra/commit/3679378673350aa314741dc826f837b1984149bc), [`7775bc2`](https://github.com/mastra-ai/mastra/commit/7775bc20bb1ad1ab24797fb420e4f96c65b0d8ec), [`db1891a`](https://github.com/mastra-ai/mastra/commit/db1891a4707443720b7cd8a260dc7e1d49b3609c), [`e8f379d`](https://github.com/mastra-ai/mastra/commit/e8f379d390efa264c4e0874f9ac0cf8839b07777), [`652066b`](https://github.com/mastra-ai/mastra/commit/652066bd1efc6bb6813ba950ed1d7573e8b7d9d4), [`ea8d386`](https://github.com/mastra-ai/mastra/commit/ea8d386cd8c5593664515fd5770c06bf2aa980ef), [`c2a4919`](https://github.com/mastra-ai/mastra/commit/c2a4919ba6797d8bdb1509e02287496eef69303e), [`0130986`](https://github.com/mastra-ai/mastra/commit/0130986fc62d0edcc626dd593282661dbb9af141)]:
|
|
496
|
-
- @mastra/mcp@0.13.2-alpha.0
|
|
497
|
-
- @mastra/core@0.19.0-alpha.1
|
|
498
|
-
|
|
499
|
-
## 0.13.25-alpha.0
|
|
500
|
-
|
|
501
501
|
|
|
502
|
-
...
|
|
502
|
+
... 2177 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @mastra/memory
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`1dbd8c7`](https://github.com/mastra-ai/mastra/commit/1dbd8c729fb6536ec52f00064d76b80253d346e9), [`c59e13c`](https://github.com/mastra-ai/mastra/commit/c59e13c7688284bd96b2baee3e314335003548de), [`f93e2f5`](https://github.com/mastra-ai/mastra/commit/f93e2f575e775e627e5c1927cefdd72db07858ed), [`f9a2509`](https://github.com/mastra-ai/mastra/commit/f9a25093ea72d210a5e52cfcb3bcc8b5e02dc25c), [`7a010c5`](https://github.com/mastra-ai/mastra/commit/7a010c56b846a313a49ae42fccd3d8de2b9f292d)]:
|
|
8
|
+
- @mastra/core@1.0.0-beta.24
|
|
9
|
+
- @mastra/schema-compat@1.0.0-beta.7
|
|
10
|
+
|
|
3
11
|
## 1.0.0-beta.13
|
|
4
12
|
|
|
5
13
|
### Major Changes
|
|
@@ -491,12 +499,4 @@
|
|
|
491
499
|
// Before
|
|
492
500
|
const response = await client.getThreadMessages(threadId, { agentId });
|
|
493
501
|
|
|
494
|
-
|
|
495
|
-
const response = await client.listThreadMessages(threadId, { agentId });
|
|
496
|
-
```
|
|
497
|
-
|
|
498
|
-
The response format remains the same.
|
|
499
|
-
|
|
500
|
-
## Type Changes
|
|
501
|
-
|
|
502
|
-
... 3739 more lines hidden. See full changelog in package directory.
|
|
502
|
+
... 3747 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# @mastra/playground-ui
|
|
2
2
|
|
|
3
|
+
## 7.0.0-beta.24
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Enhance design system components with visual polish and micro-interactions. ([#12045](https://github.com/mastra-ai/mastra/pull/12045))
|
|
8
|
+
|
|
9
|
+
Phase 2 of DS enhancement covering 40+ components:
|
|
10
|
+
- **Form Controls**: Checkbox, RadioGroup, Switch, Slider, Combobox with focus rings, hover states, and smooth transitions
|
|
11
|
+
- **Navigation**: Tabs with animated indicator, Steps with progress animation, Collapsible with icon rotation
|
|
12
|
+
- **Feedback**: Alert with entrance animation, Notification with slide animations, Skeleton with gradient shimmer
|
|
13
|
+
- **Display**: Badge with semantic variants, Avatar with interactive mode, StatusBadge enhancements
|
|
14
|
+
- **Layout**: SideDialog with backdrop blur, ScrollArea with visibility transitions
|
|
15
|
+
|
|
16
|
+
All components now use consistent design tokens (duration-normal, ease-out-custom, shadow-focus-ring) and GPU-accelerated properties for smooth 60fps animations.
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [[`1dbd8c7`](https://github.com/mastra-ai/mastra/commit/1dbd8c729fb6536ec52f00064d76b80253d346e9), [`c59e13c`](https://github.com/mastra-ai/mastra/commit/c59e13c7688284bd96b2baee3e314335003548de), [`f93e2f5`](https://github.com/mastra-ai/mastra/commit/f93e2f575e775e627e5c1927cefdd72db07858ed), [`461e448`](https://github.com/mastra-ai/mastra/commit/461e448852fe999506a6046d50b1efc27d8aa378), [`f9a2509`](https://github.com/mastra-ai/mastra/commit/f9a25093ea72d210a5e52cfcb3bcc8b5e02dc25c), [`64554f4`](https://github.com/mastra-ai/mastra/commit/64554f48f26f028b738a04576d34ff992983529e), [`7a010c5`](https://github.com/mastra-ai/mastra/commit/7a010c56b846a313a49ae42fccd3d8de2b9f292d)]:
|
|
21
|
+
- @mastra/core@1.0.0-beta.24
|
|
22
|
+
- @mastra/schema-compat@1.0.0-beta.7
|
|
23
|
+
- @mastra/client-js@1.0.0-beta.24
|
|
24
|
+
- @mastra/react@1.0.0-beta.24
|
|
25
|
+
|
|
26
|
+
## 7.0.0-beta.23
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- Updated dependencies [[`c8417b4`](https://github.com/mastra-ai/mastra/commit/c8417b41d9f3486854dc7842d977fbe5e2166264), [`dd4f34c`](https://github.com/mastra-ai/mastra/commit/dd4f34c78cbae24063463475b0619575c415f9b8)]:
|
|
31
|
+
- @mastra/core@1.0.0-beta.23
|
|
32
|
+
- @mastra/client-js@1.0.0-beta.23
|
|
33
|
+
- @mastra/react@0.1.0-beta.23
|
|
34
|
+
|
|
3
35
|
## 7.0.0-beta.22
|
|
4
36
|
|
|
5
37
|
### Minor Changes
|
|
@@ -466,37 +498,5 @@
|
|
|
466
498
|
- @mastra/client-js@1.0.0-beta.12
|
|
467
499
|
- @mastra/ai-sdk@1.0.0-beta.9
|
|
468
500
|
|
|
469
|
-
## 7.0.0-beta.11
|
|
470
|
-
|
|
471
|
-
### Patch Changes
|
|
472
|
-
|
|
473
|
-
- Support new Workflow tripwire run status. Tripwires that are thrown from within a workflow will now bubble up and return a graceful state with information about tripwires. ([#10947](https://github.com/mastra-ai/mastra/pull/10947))
|
|
474
|
-
|
|
475
|
-
When a workflow contains an agent step that triggers a tripwire, the workflow returns with `status: 'tripwire'` and includes tripwire details:
|
|
476
|
-
|
|
477
|
-
```typescript showLineNumbers copy
|
|
478
|
-
const run = await workflow.createRun();
|
|
479
|
-
const result = await run.start({ inputData: { message: 'Hello' } });
|
|
480
|
-
|
|
481
|
-
if (result.status === 'tripwire') {
|
|
482
|
-
console.log('Workflow terminated by tripwire:', result.tripwire?.reason);
|
|
483
|
-
console.log('Processor ID:', result.tripwire?.processorId);
|
|
484
|
-
console.log('Retry requested:', result.tripwire?.retry);
|
|
485
|
-
}
|
|
486
|
-
```
|
|
487
|
-
|
|
488
|
-
Adds new UI state for tripwire in agent chat and workflow UI.
|
|
489
|
-
|
|
490
|
-
This is distinct from `status: 'failed'` which indicates an unexpected error. A tripwire status means a processor intentionally stopped execution (e.g., for content moderation).
|
|
491
|
-
|
|
492
|
-
- Updated dependencies [[`38380b6`](https://github.com/mastra-ai/mastra/commit/38380b60fca905824bdf6b43df307a58efb1aa15), [`798d0c7`](https://github.com/mastra-ai/mastra/commit/798d0c740232653b1d754870e6b43a55c364ffe2), [`ffe84d5`](https://github.com/mastra-ai/mastra/commit/ffe84d54f3b0f85167fe977efd027dba027eb998), [`2c212e7`](https://github.com/mastra-ai/mastra/commit/2c212e704c90e2db83d4109e62c03f0f6ebd2667), [`4ca4306`](https://github.com/mastra-ai/mastra/commit/4ca430614daa5fa04730205a302a43bf4accfe9f), [`3bf6c5f`](https://github.com/mastra-ai/mastra/commit/3bf6c5f104c25226cd84e0c77f9dec15f2cac2db), [`3bf6c5f`](https://github.com/mastra-ai/mastra/commit/3bf6c5f104c25226cd84e0c77f9dec15f2cac2db)]:
|
|
493
|
-
- @mastra/core@1.0.0-beta.11
|
|
494
|
-
- @mastra/client-js@1.0.0-beta.11
|
|
495
|
-
- @mastra/ai-sdk@1.0.0-beta.8
|
|
496
|
-
- @mastra/react@0.1.0-beta.11
|
|
497
|
-
|
|
498
|
-
## 7.0.0-beta.10
|
|
499
|
-
|
|
500
|
-
### Minor Changes
|
|
501
501
|
|
|
502
|
-
...
|
|
502
|
+
... 4714 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @mastra/qdrant
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.5
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Add full support for Qdrant named vectors, allowing collections with multiple vector spaces. ([#11905](https://github.com/mastra-ai/mastra/pull/11905))
|
|
8
|
+
- Added `namedVectors` parameter to `createIndex()` for creating multi-vector collections
|
|
9
|
+
- Added `vectorName` parameter to `upsert()` for inserting into specific vector spaces
|
|
10
|
+
- Added `using` parameter to `query()` for querying specific vector spaces
|
|
11
|
+
- Changed `client` from `private` to `protected` to enable subclass extension
|
|
12
|
+
- Added vector name validation when upserting to named vector collections
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies [[`1dbd8c7`](https://github.com/mastra-ai/mastra/commit/1dbd8c729fb6536ec52f00064d76b80253d346e9), [`c59e13c`](https://github.com/mastra-ai/mastra/commit/c59e13c7688284bd96b2baee3e314335003548de), [`f9a2509`](https://github.com/mastra-ai/mastra/commit/f9a25093ea72d210a5e52cfcb3bcc8b5e02dc25c), [`7a010c5`](https://github.com/mastra-ai/mastra/commit/7a010c56b846a313a49ae42fccd3d8de2b9f292d)]:
|
|
17
|
+
- @mastra/core@1.0.0-beta.24
|
|
18
|
+
|
|
3
19
|
## 1.0.0-beta.4
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
|
@@ -482,21 +498,5 @@
|
|
|
482
498
|
- Updated dependencies [510e2c8]
|
|
483
499
|
- Updated dependencies [2f72fb2]
|
|
484
500
|
- Updated dependencies [27cc97a]
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
- Updated dependencies [9d49408]
|
|
488
|
-
- Updated dependencies [41daa63]
|
|
489
|
-
- Updated dependencies [ad0a58b]
|
|
490
|
-
- Updated dependencies [254a36b]
|
|
491
|
-
- Updated dependencies [2ecf658]
|
|
492
|
-
- Updated dependencies [7a7754f]
|
|
493
|
-
- Updated dependencies [fc92d80]
|
|
494
|
-
- Updated dependencies [e0f73c6]
|
|
495
|
-
- Updated dependencies [0b89602]
|
|
496
|
-
- Updated dependencies [4d37822]
|
|
497
|
-
- Updated dependencies [23a6a7c]
|
|
498
|
-
- Updated dependencies [cda801d]
|
|
499
|
-
- Updated dependencies [a77c823]
|
|
500
|
-
- Updated dependencies [ff9c125]
|
|
501
|
-
|
|
502
|
-
... 1951 more lines hidden. See full changelog in package directory.
|
|
501
|
+
|
|
502
|
+
... 1967 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @mastra/react-hooks
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.24
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- **Fixed:** Align `Agent.network` with core and update `@mastra/react` network usage. ([#12015](https://github.com/mastra-ai/mastra/pull/12015))
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Fixed compatibility with updated `@mastra/client-js` generate and stream API signatures ([#12011](https://github.com/mastra-ai/mastra/pull/12011))
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [[`461e448`](https://github.com/mastra-ai/mastra/commit/461e448852fe999506a6046d50b1efc27d8aa378)]:
|
|
14
|
+
- @mastra/client-js@1.0.0-beta.24
|
|
15
|
+
|
|
16
|
+
## 0.1.0-beta.23
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies:
|
|
21
|
+
- @mastra/client-js@1.0.0-beta.23
|
|
22
|
+
|
|
3
23
|
## 0.1.0-beta.22
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
@@ -479,24 +499,4 @@
|
|
|
479
499
|
|
|
480
500
|
## 0.0.7-alpha.0
|
|
481
501
|
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
- Add @mastra/react to peer deps ([#8857](https://github.com/mastra-ai/mastra/pull/8857))
|
|
485
|
-
|
|
486
|
-
- Updated dependencies []:
|
|
487
|
-
- @mastra/client-js@0.16.1-alpha.0
|
|
488
|
-
|
|
489
|
-
## 0.0.6
|
|
490
|
-
|
|
491
|
-
### Patch Changes
|
|
492
|
-
|
|
493
|
-
- Gracefully fix errors in react-sdk when error is an object ([#8703](https://github.com/mastra-ai/mastra/pull/8703))
|
|
494
|
-
|
|
495
|
-
- Prepares some basic set of homemade components ([#8619](https://github.com/mastra-ai/mastra/pull/8619))
|
|
496
|
-
|
|
497
|
-
- Improve the surface API of the react sdk ([#8715](https://github.com/mastra-ai/mastra/pull/8715))
|
|
498
|
-
|
|
499
|
-
- Move react and react-dom deps to peer and dev deps ([#8698](https://github.com/mastra-ai/mastra/pull/8698))
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
... 209 more lines hidden. See full changelog in package directory.
|
|
502
|
+
... 229 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @mastra/schema-compat
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fixed OpenAI schema validation error when using passthrough schemas with tools like `vectorQueryTool`. ([#11846](https://github.com/mastra-ai/mastra/pull/11846))
|
|
8
|
+
|
|
9
|
+
**What was happening:** Tools using `.passthrough()` or `z.looseObject()` schemas (like the RAG `vectorQueryTool`) would fail with OpenAI models, returning the error: "Invalid schema for function: In context=('additionalProperties',), schema must have a 'type' key."
|
|
10
|
+
|
|
11
|
+
**What changed:** The OpenAI schema compatibility layer now converts passthrough schemas to strict object schemas, producing valid `additionalProperties: false` instead of the invalid empty object `{}` that Zod v4 generates.
|
|
12
|
+
|
|
13
|
+
Fixes #11823
|
|
14
|
+
|
|
3
15
|
## 1.0.0-beta.6
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|