@mastra/mcp-docs-server 0.13.46-alpha.0 → 0.13.46-alpha.2
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%2Fclickhouse.md +11 -11
- package/.docs/organized/changelogs/%40mastra%2Fclient-js.md +92 -92
- package/.docs/organized/changelogs/%40mastra%2Fcloud.md +52 -52
- package/.docs/organized/changelogs/%40mastra%2Fcloudflare-d1.md +11 -11
- package/.docs/organized/changelogs/%40mastra%2Fcloudflare.md +11 -11
- package/.docs/organized/changelogs/%40mastra%2Fcore.md +57 -57
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloud.md +23 -23
- package/.docs/organized/changelogs/%40mastra%2Fdeployer.md +26 -26
- package/.docs/organized/changelogs/%40mastra%2Fdynamodb.md +12 -12
- package/.docs/organized/changelogs/%40mastra%2Flance.md +11 -11
- package/.docs/organized/changelogs/%40mastra%2Flibsql.md +11 -11
- package/.docs/organized/changelogs/%40mastra%2Fmcp-docs-server.md +16 -16
- package/.docs/organized/changelogs/%40mastra%2Fmcp.md +11 -11
- package/.docs/organized/changelogs/%40mastra%2Fmemory.md +9 -9
- package/.docs/organized/changelogs/%40mastra%2Fmongodb.md +11 -11
- package/.docs/organized/changelogs/%40mastra%2Fmssql.md +12 -12
- package/.docs/organized/changelogs/%40mastra%2Fpg.md +11 -11
- package/.docs/organized/changelogs/%40mastra%2Fplayground-ui.md +26 -26
- package/.docs/organized/changelogs/%40mastra%2Freact.md +15 -15
- package/.docs/organized/changelogs/%40mastra%2Fschema-compat.md +6 -0
- package/.docs/organized/changelogs/%40mastra%2Fserver.md +61 -61
- package/.docs/organized/changelogs/%40mastra%2Fupstash.md +12 -12
- package/.docs/organized/changelogs/create-mastra.md +11 -11
- package/.docs/organized/changelogs/mastra.md +18 -18
- package/.docs/raw/agents/overview.mdx +17 -2
- package/.docs/raw/mcp/overview.mdx +6 -0
- package/.docs/raw/observability/otel-tracing.mdx +17 -2
- package/.docs/raw/observability/overview.mdx +12 -2
- package/.docs/raw/rag/vector-databases.mdx +58 -0
- package/.docs/raw/reference/streaming/workflows/timeTravelStream.mdx +170 -0
- package/.docs/raw/reference/tools/mcp-server.mdx +72 -1
- package/.docs/raw/reference/workflows/run-methods/restart.mdx +98 -0
- package/.docs/raw/reference/workflows/run-methods/timeTravel.mdx +310 -0
- package/.docs/raw/reference/workflows/run.mdx +21 -0
- package/.docs/raw/reference/workflows/step.mdx +7 -0
- package/.docs/raw/reference/workflows/workflow.mdx +19 -0
- package/.docs/raw/server-db/mastra-server.mdx +1 -1
- package/.docs/raw/workflows/error-handling.mdx +1 -0
- package/.docs/raw/workflows/overview.mdx +56 -44
- package/.docs/raw/workflows/snapshots.mdx +1 -0
- package/.docs/raw/workflows/suspend-and-resume.mdx +2 -0
- package/.docs/raw/workflows/time-travel.mdx +313 -0
- package/.docs/raw/workflows/workflow-state.mdx +191 -0
- package/CHANGELOG.md +15 -0
- package/package.json +4 -4
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @mastra/agent-builder
|
|
2
2
|
|
|
3
|
+
## 0.2.6-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`5cc85aa`](https://github.com/mastra-ai/mastra/commit/5cc85aa4329773cac8314f3aa0146227b6b158e4), [`c53f8e6`](https://github.com/mastra-ai/mastra/commit/c53f8e68df42464935f9a63eb0fc765a65aacb83), [`386ab43`](https://github.com/mastra-ai/mastra/commit/386ab4350cf2a814fb4ac0a5fc6983ca93158ffe), [`2b62302`](https://github.com/mastra-ai/mastra/commit/2b623027a9d65c1dbc963bf651e9e6a9d09da1fa), [`7d85da4`](https://github.com/mastra-ai/mastra/commit/7d85da42a5fab56009a959a9c20328558d14f4b5), [`3d7c5bd`](https://github.com/mastra-ai/mastra/commit/3d7c5bdbee1b2693cd45bf207b960dd9b7277680), [`31b381e`](https://github.com/mastra-ai/mastra/commit/31b381efb48e031c0ecc46bc6e410ae6e67b88e5), [`e77a5f9`](https://github.com/mastra-ai/mastra/commit/e77a5f9718dc418e29e3c8a389299ed6dc0a6401), [`b069af5`](https://github.com/mastra-ai/mastra/commit/b069af514c4dcfc4fdcb164303569bfff1c26e3d), [`7dc8304`](https://github.com/mastra-ai/mastra/commit/7dc830420296db516b86dcec663e54d0309b8fb8), [`6942109`](https://github.com/mastra-ai/mastra/commit/694210903c70e3c26b5ce8ca4f4637ca2d9eb369), [`62d13f4`](https://github.com/mastra-ai/mastra/commit/62d13f4d1db1c16742831f210fe4c2caf8a26d57), [`358ab98`](https://github.com/mastra-ai/mastra/commit/358ab98024c388e383aca15616e8988bf4a5b66e)]:
|
|
8
|
+
- @mastra/core@0.24.7-alpha.1
|
|
9
|
+
- @mastra/memory@0.15.13-alpha.0
|
|
10
|
+
|
|
3
11
|
## 0.2.5
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -490,13 +498,5 @@
|
|
|
490
498
|
- [#5816](https://github.com/mastra-ai/mastra/pull/5816) [`ab48c97`](https://github.com/mastra-ai/mastra/commit/ab48c979098ea571faf998a55d3a00e7acd7a715) Thanks [@dane-ai-mastra](https://github.com/apps/dane-ai-mastra)! - dependencies updates:
|
|
491
499
|
- Updated dependency [`zod@^3.25.76` ↗︎](https://www.npmjs.com/package/zod/v/3.25.76) (from `^3.25.67`, in `dependencies`)
|
|
492
500
|
|
|
493
|
-
- [#7330](https://github.com/mastra-ai/mastra/pull/7330) [`b8e1a83`](https://github.com/mastra-ai/mastra/commit/b8e1a8381b356f51bf7c3d525943095cc3c912cc) Thanks [@wardpeet](https://github.com/wardpeet)! - Fix package.json
|
|
494
|
-
|
|
495
|
-
- [#7136](https://github.com/mastra-ai/mastra/pull/7136) [`48f0742`](https://github.com/mastra-ai/mastra/commit/48f0742662414610dc9a7a99d45902d059ee123d) Thanks [@NikAiyer](https://github.com/NikAiyer)! - add deployer, server and clientjs handlers for agent builder template
|
|
496
|
-
|
|
497
|
-
- Updated dependencies [[`ab48c97`](https://github.com/mastra-ai/mastra/commit/ab48c979098ea571faf998a55d3a00e7acd7a715), [`ab48c97`](https://github.com/mastra-ai/mastra/commit/ab48c979098ea571faf998a55d3a00e7acd7a715), [`ff89505`](https://github.com/mastra-ai/mastra/commit/ff895057c8c7e91a5535faef46c5e5391085ddfa), [`183dc95`](https://github.com/mastra-ai/mastra/commit/183dc95596f391b977bd1a2c050b8498dac74891), [`a1111e2`](https://github.com/mastra-ai/mastra/commit/a1111e24e705488adfe5e0a6f20c53bddf26cb22), [`61debef`](https://github.com/mastra-ai/mastra/commit/61debefd80ad3a7ed5737e19df6a23d40091689a), [`9beaeff`](https://github.com/mastra-ai/mastra/commit/9beaeffa4a97b1d5fd01a7f8af8708b16067f67c), [`9eee594`](https://github.com/mastra-ai/mastra/commit/9eee594e35e0ca2a650fcc33fa82009a142b9ed0), [`979912c`](https://github.com/mastra-ai/mastra/commit/979912cfd180aad53287cda08af771df26454e2c), [`7dcf4c0`](https://github.com/mastra-ai/mastra/commit/7dcf4c04f44d9345b1f8bc5d41eae3f11ac61611), [`ad78bfc`](https://github.com/mastra-ai/mastra/commit/ad78bfc4ea6a1fff140432bf4f638e01af7af668), [`0ce418a`](https://github.com/mastra-ai/mastra/commit/0ce418a1ccaa5e125d4483a9651b635046152569), [`8387952`](https://github.com/mastra-ai/mastra/commit/838795227b4edf758c84a2adf6f7fba206c27719), [`5eca5d2`](https://github.com/mastra-ai/mastra/commit/5eca5d2655788863ea0442a46c9ef5d3c6dbe0a8)]:
|
|
498
|
-
- @mastra/core@0.15.3-alpha.4
|
|
499
|
-
- @mastra/memory@0.14.3-alpha.1
|
|
500
|
-
|
|
501
501
|
|
|
502
|
-
...
|
|
502
|
+
... 19 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @mastra/clickhouse
|
|
2
2
|
|
|
3
|
+
## 0.15.10-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Add restart method to workflow run that allows restarting an active workflow run ([#10703](https://github.com/mastra-ai/mastra/pull/10703))
|
|
8
|
+
Add status filter to `getWorkflowRuns`
|
|
9
|
+
Add automatic restart to restart active workflow runs when server starts
|
|
10
|
+
- Updated dependencies [[`5cc85aa`](https://github.com/mastra-ai/mastra/commit/5cc85aa4329773cac8314f3aa0146227b6b158e4), [`c53f8e6`](https://github.com/mastra-ai/mastra/commit/c53f8e68df42464935f9a63eb0fc765a65aacb83), [`386ab43`](https://github.com/mastra-ai/mastra/commit/386ab4350cf2a814fb4ac0a5fc6983ca93158ffe), [`2b62302`](https://github.com/mastra-ai/mastra/commit/2b623027a9d65c1dbc963bf651e9e6a9d09da1fa), [`7d85da4`](https://github.com/mastra-ai/mastra/commit/7d85da42a5fab56009a959a9c20328558d14f4b5), [`3d7c5bd`](https://github.com/mastra-ai/mastra/commit/3d7c5bdbee1b2693cd45bf207b960dd9b7277680), [`31b381e`](https://github.com/mastra-ai/mastra/commit/31b381efb48e031c0ecc46bc6e410ae6e67b88e5), [`e77a5f9`](https://github.com/mastra-ai/mastra/commit/e77a5f9718dc418e29e3c8a389299ed6dc0a6401), [`b069af5`](https://github.com/mastra-ai/mastra/commit/b069af514c4dcfc4fdcb164303569bfff1c26e3d), [`7dc8304`](https://github.com/mastra-ai/mastra/commit/7dc830420296db516b86dcec663e54d0309b8fb8), [`6942109`](https://github.com/mastra-ai/mastra/commit/694210903c70e3c26b5ce8ca4f4637ca2d9eb369), [`62d13f4`](https://github.com/mastra-ai/mastra/commit/62d13f4d1db1c16742831f210fe4c2caf8a26d57), [`358ab98`](https://github.com/mastra-ai/mastra/commit/358ab98024c388e383aca15616e8988bf4a5b66e)]:
|
|
11
|
+
- @mastra/core@0.24.7-alpha.1
|
|
12
|
+
|
|
3
13
|
## 0.15.9
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -488,15 +498,5 @@
|
|
|
488
498
|
- 4a406ec: fixes TypeScript declaration file imports to ensure proper ESM compatibility
|
|
489
499
|
- Updated dependencies [cb36de0]
|
|
490
500
|
- Updated dependencies [a82b851]
|
|
491
|
-
- Updated dependencies [41a0a0e]
|
|
492
|
-
- Updated dependencies [2871020]
|
|
493
|
-
- Updated dependencies [4a406ec]
|
|
494
|
-
- Updated dependencies [5d377e5]
|
|
495
|
-
- @mastra/core@0.13.0-alpha.2
|
|
496
|
-
|
|
497
|
-
## 0.13.0-alpha.1
|
|
498
|
-
|
|
499
|
-
### Patch Changes
|
|
500
|
-
|
|
501
501
|
|
|
502
|
-
...
|
|
502
|
+
... 1004 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,96 @@
|
|
|
1
1
|
# @mastra/client-js
|
|
2
2
|
|
|
3
|
+
## 0.17.0-alpha.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- The client-js package had its own simpler zodToJsonSchema implementation that was missing critical features from schema-compat. This could cause issues when users pass Zod schemas with `z.record()` or `z.date()` through the MastraClient. ([#10925](https://github.com/mastra-ai/mastra/pull/10925))
|
|
8
|
+
|
|
9
|
+
Now the client uses the same implementation as the rest of the codebase, which includes the Zod v4 `z.record()` bug fix, date-time format conversion for `z.date()`, and proper handling of unrepresentable types.
|
|
10
|
+
|
|
11
|
+
Also removes the now-unused `zod-to-json-schema` dependency from client-js.
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [[`b685c9c`](https://github.com/mastra-ai/mastra/commit/b685c9c0b89f49e0d4542c4ac72569682db69794)]:
|
|
14
|
+
- @mastra/core@0.24.7-alpha.2
|
|
15
|
+
|
|
16
|
+
## 0.17.0-alpha.1
|
|
17
|
+
|
|
18
|
+
### Minor Changes
|
|
19
|
+
|
|
20
|
+
- Add support for custom fetch function in MastraClient to enable environments like Tauri that require custom fetch implementations to avoid timeout errors. ([#10679](https://github.com/mastra-ai/mastra/pull/10679))
|
|
21
|
+
|
|
22
|
+
You can now pass a custom fetch function when creating a MastraClient:
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import { MastraClient } from '@mastra/client-js';
|
|
26
|
+
|
|
27
|
+
// Before: Only global fetch was available
|
|
28
|
+
const client = new MastraClient({
|
|
29
|
+
baseUrl: 'http://your-api-url',
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
// After: Custom fetch can be passed
|
|
33
|
+
const client = new MastraClient({
|
|
34
|
+
baseUrl: 'http://your-api-url',
|
|
35
|
+
fetch: customFetch, // Your custom fetch implementation
|
|
36
|
+
});
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
If no custom fetch is provided, it falls back to the global fetch function, maintaining backward compatibility.
|
|
40
|
+
|
|
41
|
+
Fixes #10673
|
|
42
|
+
|
|
43
|
+
### Patch Changes
|
|
44
|
+
|
|
45
|
+
- Add timeTravel APIs and add timeTravel feature to studio ([#10757](https://github.com/mastra-ai/mastra/pull/10757))
|
|
46
|
+
|
|
47
|
+
- feat: Add partial response support for agent and workflow list endpoints ([#10906](https://github.com/mastra-ai/mastra/pull/10906))
|
|
48
|
+
|
|
49
|
+
Add optional `partial` query parameter to `/api/agents` and `/api/workflows` endpoints to return minimal data without schemas, reducing payload size for list views:
|
|
50
|
+
- When `partial=true`: tool schemas (inputSchema, outputSchema) are omitted
|
|
51
|
+
- When `partial=true`: workflow steps are replaced with stepCount integer
|
|
52
|
+
- When `partial=true`: workflow root schemas (inputSchema, outputSchema) are omitted
|
|
53
|
+
- Maintains backward compatibility when partial parameter is not provided
|
|
54
|
+
|
|
55
|
+
## Server Endpoint Usage
|
|
56
|
+
|
|
57
|
+
```http
|
|
58
|
+
# Get partial agent data (no tool schemas)
|
|
59
|
+
GET /api/agents?partial=true
|
|
60
|
+
|
|
61
|
+
# Get full agent data (default behavior)
|
|
62
|
+
GET /api/agents
|
|
63
|
+
|
|
64
|
+
# Get partial workflow data (stepCount instead of steps, no schemas)
|
|
65
|
+
GET /api/workflows?partial=true
|
|
66
|
+
|
|
67
|
+
# Get full workflow data (default behavior)
|
|
68
|
+
GET /api/workflows
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## Client SDK Usage
|
|
72
|
+
|
|
73
|
+
```typescript
|
|
74
|
+
import { MastraClient } from '@mastra/client-js';
|
|
75
|
+
|
|
76
|
+
const client = new MastraClient({ baseUrl: 'http://localhost:4111' });
|
|
77
|
+
|
|
78
|
+
// Get partial agent list (smaller payload)
|
|
79
|
+
const partialAgents = await client.listAgents({ partial: true });
|
|
80
|
+
|
|
81
|
+
// Get full agent list with tool schemas
|
|
82
|
+
const fullAgents = await client.listAgents();
|
|
83
|
+
|
|
84
|
+
// Get partial workflow list (smaller payload)
|
|
85
|
+
const partialWorkflows = await client.listWorkflows({ partial: true });
|
|
86
|
+
|
|
87
|
+
// Get full workflow list with steps and schemas
|
|
88
|
+
const fullWorkflows = await client.listWorkflows();
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
- Updated dependencies [[`5cc85aa`](https://github.com/mastra-ai/mastra/commit/5cc85aa4329773cac8314f3aa0146227b6b158e4), [`c53f8e6`](https://github.com/mastra-ai/mastra/commit/c53f8e68df42464935f9a63eb0fc765a65aacb83), [`386ab43`](https://github.com/mastra-ai/mastra/commit/386ab4350cf2a814fb4ac0a5fc6983ca93158ffe), [`2b62302`](https://github.com/mastra-ai/mastra/commit/2b623027a9d65c1dbc963bf651e9e6a9d09da1fa), [`7d85da4`](https://github.com/mastra-ai/mastra/commit/7d85da42a5fab56009a959a9c20328558d14f4b5), [`3d7c5bd`](https://github.com/mastra-ai/mastra/commit/3d7c5bdbee1b2693cd45bf207b960dd9b7277680), [`31b381e`](https://github.com/mastra-ai/mastra/commit/31b381efb48e031c0ecc46bc6e410ae6e67b88e5), [`e77a5f9`](https://github.com/mastra-ai/mastra/commit/e77a5f9718dc418e29e3c8a389299ed6dc0a6401), [`b069af5`](https://github.com/mastra-ai/mastra/commit/b069af514c4dcfc4fdcb164303569bfff1c26e3d), [`7dc8304`](https://github.com/mastra-ai/mastra/commit/7dc830420296db516b86dcec663e54d0309b8fb8), [`6942109`](https://github.com/mastra-ai/mastra/commit/694210903c70e3c26b5ce8ca4f4637ca2d9eb369), [`62d13f4`](https://github.com/mastra-ai/mastra/commit/62d13f4d1db1c16742831f210fe4c2caf8a26d57), [`358ab98`](https://github.com/mastra-ai/mastra/commit/358ab98024c388e383aca15616e8988bf4a5b66e)]:
|
|
92
|
+
- @mastra/core@0.24.7-alpha.1
|
|
93
|
+
|
|
3
94
|
## 0.16.16-alpha.0
|
|
4
95
|
|
|
5
96
|
### Patch Changes
|
|
@@ -408,95 +499,4 @@
|
|
|
408
499
|
|
|
409
500
|
## 0.15.0-alpha.0
|
|
410
501
|
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
- Breaking change to move the agent.streamVNext/generateVNext implementation to the default stream/generate. The old stream/generate have now been moved to streamLegacy and generateLegacy ([#8097](https://github.com/mastra-ai/mastra/pull/8097))
|
|
414
|
-
|
|
415
|
-
### Patch Changes
|
|
416
|
-
|
|
417
|
-
- Fix an issue preventing showing working memory and semantic recall in the playground ([#8358](https://github.com/mastra-ai/mastra/pull/8358))
|
|
418
|
-
|
|
419
|
-
- Add observe strean to get streans after workflow has been interrupted ([#8318](https://github.com/mastra-ai/mastra/pull/8318))
|
|
420
|
-
|
|
421
|
-
- Updated dependencies [[`00cb6bd`](https://github.com/mastra-ai/mastra/commit/00cb6bdf78737c0fac14a5a0c7b532a11e38558a), [`869ba22`](https://github.com/mastra-ai/mastra/commit/869ba222e1d6b58fc1b65e7c9fd55ca4e01b8c2f), [`1b73665`](https://github.com/mastra-ai/mastra/commit/1b73665e8e23f5c09d49fcf3e7d709c75259259e), [`f7d7475`](https://github.com/mastra-ai/mastra/commit/f7d747507341aef60ed39e4b49318db1f86034a6), [`084b77b`](https://github.com/mastra-ai/mastra/commit/084b77b2955960e0190af8db3f77138aa83ed65c), [`a93ff84`](https://github.com/mastra-ai/mastra/commit/a93ff84b5e1af07ee236ac8873dac9b49aa5d501), [`bc5aacb`](https://github.com/mastra-ai/mastra/commit/bc5aacb646d468d325327e36117129f28cd13bf6), [`6b5af12`](https://github.com/mastra-ai/mastra/commit/6b5af12ce9e09066e0c32e821c203a6954498bea), [`bf60e4a`](https://github.com/mastra-ai/mastra/commit/bf60e4a89c515afd9570b7b79f33b95e7d07c397), [`d41aee5`](https://github.com/mastra-ai/mastra/commit/d41aee526d124e35f42720a08e64043229193679), [`e8fe13c`](https://github.com/mastra-ai/mastra/commit/e8fe13c4b4c255a42520127797ec394310f7c919), [`3ca833d`](https://github.com/mastra-ai/mastra/commit/3ca833dc994c38e3c9b4f9b4478a61cd8e07b32a), [`1edb8d1`](https://github.com/mastra-ai/mastra/commit/1edb8d1cfb963e72a12412990fb9170936c9904c), [`fbf6e32`](https://github.com/mastra-ai/mastra/commit/fbf6e324946332d0f5ed8930bf9d4d4479cefd7a), [`4753027`](https://github.com/mastra-ai/mastra/commit/4753027ee889288775c6958bdfeda03ff909af67)]:
|
|
422
|
-
- @mastra/core@0.20.0-alpha.0
|
|
423
|
-
|
|
424
|
-
## 0.14.1
|
|
425
|
-
|
|
426
|
-
### Patch Changes
|
|
427
|
-
|
|
428
|
-
- Updated dependencies [[`4a70ccc`](https://github.com/mastra-ai/mastra/commit/4a70ccc5cfa12ae9c2b36545a5814cd98e5a0ead), [`0992b8b`](https://github.com/mastra-ai/mastra/commit/0992b8bf0f4f1ba7ad9940883ec4bb8d867d3105), [`283bea0`](https://github.com/mastra-ai/mastra/commit/283bea07adbaf04a27fa3ad2df611095e0825195)]:
|
|
429
|
-
- @mastra/core@0.19.1
|
|
430
|
-
|
|
431
|
-
## 0.14.1-alpha.1
|
|
432
|
-
|
|
433
|
-
### Patch Changes
|
|
434
|
-
|
|
435
|
-
- Updated dependencies [[`4a70ccc`](https://github.com/mastra-ai/mastra/commit/4a70ccc5cfa12ae9c2b36545a5814cd98e5a0ead)]:
|
|
436
|
-
- @mastra/core@0.19.1-alpha.1
|
|
437
|
-
|
|
438
|
-
## 0.14.1-alpha.0
|
|
439
|
-
|
|
440
|
-
### Patch Changes
|
|
441
|
-
|
|
442
|
-
- Updated dependencies [[`0992b8b`](https://github.com/mastra-ai/mastra/commit/0992b8bf0f4f1ba7ad9940883ec4bb8d867d3105), [`283bea0`](https://github.com/mastra-ai/mastra/commit/283bea07adbaf04a27fa3ad2df611095e0825195)]:
|
|
443
|
-
- @mastra/core@0.19.1-alpha.0
|
|
444
|
-
|
|
445
|
-
## 0.14.0
|
|
446
|
-
|
|
447
|
-
### Minor Changes
|
|
448
|
-
|
|
449
|
-
- Remove legacy helpers ([#8017](https://github.com/mastra-ai/mastra/pull/8017))
|
|
450
|
-
|
|
451
|
-
### Patch Changes
|
|
452
|
-
|
|
453
|
-
- Fix duplicate messages being created using clientTools with client-js sdk ([#8187](https://github.com/mastra-ai/mastra/pull/8187))
|
|
454
|
-
|
|
455
|
-
- Fix hanging stream for non-self executing client-tools ([#8272](https://github.com/mastra-ai/mastra/pull/8272))
|
|
456
|
-
|
|
457
|
-
- Support passing tracing options for start/resume workflows for server APIs and client sdk ([#8277](https://github.com/mastra-ai/mastra/pull/8277))
|
|
458
|
-
|
|
459
|
-
- Support tracing options for workflow streaming endpoints ([#8278](https://github.com/mastra-ai/mastra/pull/8278))
|
|
460
|
-
|
|
461
|
-
- Adjust deprecation warnings ([#8326](https://github.com/mastra-ai/mastra/pull/8326))
|
|
462
|
-
|
|
463
|
-
- Add server apis to get scores by span ([#8237](https://github.com/mastra-ai/mastra/pull/8237))
|
|
464
|
-
|
|
465
|
-
- Updated dependencies [[`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), [`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)]:
|
|
466
|
-
- @mastra/core@0.19.0
|
|
467
|
-
|
|
468
|
-
## 0.14.0-alpha.1
|
|
469
|
-
|
|
470
|
-
### Patch Changes
|
|
471
|
-
|
|
472
|
-
- Fix duplicate messages being created using clientTools with client-js sdk ([#8187](https://github.com/mastra-ai/mastra/pull/8187))
|
|
473
|
-
|
|
474
|
-
- Fix hanging stream for non-self executing client-tools ([#8272](https://github.com/mastra-ai/mastra/pull/8272))
|
|
475
|
-
|
|
476
|
-
- Support passing tracing options for start/resume workflows for server APIs and client sdk ([#8277](https://github.com/mastra-ai/mastra/pull/8277))
|
|
477
|
-
|
|
478
|
-
- Support tracing options for workflow streaming endpoints ([#8278](https://github.com/mastra-ai/mastra/pull/8278))
|
|
479
|
-
|
|
480
|
-
- Add server apis to get scores by span ([#8237](https://github.com/mastra-ai/mastra/pull/8237))
|
|
481
|
-
|
|
482
|
-
- Updated dependencies [[`504438b`](https://github.com/mastra-ai/mastra/commit/504438b961bde211071186bba63a842c4e3db879), [`a7243e2`](https://github.com/mastra-ai/mastra/commit/a7243e2e58762667a6e3921e755e89d6bb0a3282), [`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)]:
|
|
483
|
-
- @mastra/core@0.19.0-alpha.1
|
|
484
|
-
|
|
485
|
-
## 0.14.0-alpha.0
|
|
486
|
-
|
|
487
|
-
### Minor Changes
|
|
488
|
-
|
|
489
|
-
- Remove legacy helpers ([#8017](https://github.com/mastra-ai/mastra/pull/8017))
|
|
490
|
-
|
|
491
|
-
### Patch Changes
|
|
492
|
-
|
|
493
|
-
- Updated dependencies [[`dc099b4`](https://github.com/mastra-ai/mastra/commit/dc099b40fb31147ba3f362f98d991892033c4c67), [`b342a68`](https://github.com/mastra-ai/mastra/commit/b342a68e1399cf1ece9ba11bda112db89d21118c), [`303a9c0`](https://github.com/mastra-ai/mastra/commit/303a9c0d7dd58795915979f06a0512359e4532fb), [`370f8a6`](https://github.com/mastra-ai/mastra/commit/370f8a6480faec70fef18d72e5f7538f27004301), [`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), [`3e292ba`](https://github.com/mastra-ai/mastra/commit/3e292ba00837886d5d68a34cbc0d9b703c991883), [`418c136`](https://github.com/mastra-ai/mastra/commit/418c1366843d88e491bca3f87763899ce855ca29), [`c84b7d0`](https://github.com/mastra-ai/mastra/commit/c84b7d093c4657772140cbfd2b15ef72f3315ed5)]:
|
|
494
|
-
- @mastra/core@0.18.1-alpha.0
|
|
495
|
-
|
|
496
|
-
## 0.13.2
|
|
497
|
-
|
|
498
|
-
### Patch Changes
|
|
499
|
-
|
|
500
|
-
- fix: result object type inference when using structuredOutput and unify output/structuredOutput types with single OUTPUT generic ([#7969](https://github.com/mastra-ai/mastra/pull/7969))
|
|
501
|
-
|
|
502
|
-
... 2965 more lines hidden. See full changelog in package directory.
|
|
502
|
+
... 3056 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,56 @@
|
|
|
1
1
|
# @mastra/cloud
|
|
2
2
|
|
|
3
|
+
## 0.1.23-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- feat: Add partial response support for agent and workflow list endpoints ([#10906](https://github.com/mastra-ai/mastra/pull/10906))
|
|
8
|
+
|
|
9
|
+
Add optional `partial` query parameter to `/api/agents` and `/api/workflows` endpoints to return minimal data without schemas, reducing payload size for list views:
|
|
10
|
+
- When `partial=true`: tool schemas (inputSchema, outputSchema) are omitted
|
|
11
|
+
- When `partial=true`: workflow steps are replaced with stepCount integer
|
|
12
|
+
- When `partial=true`: workflow root schemas (inputSchema, outputSchema) are omitted
|
|
13
|
+
- Maintains backward compatibility when partial parameter is not provided
|
|
14
|
+
|
|
15
|
+
## Server Endpoint Usage
|
|
16
|
+
|
|
17
|
+
```http
|
|
18
|
+
# Get partial agent data (no tool schemas)
|
|
19
|
+
GET /api/agents?partial=true
|
|
20
|
+
|
|
21
|
+
# Get full agent data (default behavior)
|
|
22
|
+
GET /api/agents
|
|
23
|
+
|
|
24
|
+
# Get partial workflow data (stepCount instead of steps, no schemas)
|
|
25
|
+
GET /api/workflows?partial=true
|
|
26
|
+
|
|
27
|
+
# Get full workflow data (default behavior)
|
|
28
|
+
GET /api/workflows
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Client SDK Usage
|
|
32
|
+
|
|
33
|
+
```typescript
|
|
34
|
+
import { MastraClient } from '@mastra/client-js';
|
|
35
|
+
|
|
36
|
+
const client = new MastraClient({ baseUrl: 'http://localhost:4111' });
|
|
37
|
+
|
|
38
|
+
// Get partial agent list (smaller payload)
|
|
39
|
+
const partialAgents = await client.listAgents({ partial: true });
|
|
40
|
+
|
|
41
|
+
// Get full agent list with tool schemas
|
|
42
|
+
const fullAgents = await client.listAgents();
|
|
43
|
+
|
|
44
|
+
// Get partial workflow list (smaller payload)
|
|
45
|
+
const partialWorkflows = await client.listWorkflows({ partial: true });
|
|
46
|
+
|
|
47
|
+
// Get full workflow list with steps and schemas
|
|
48
|
+
const fullWorkflows = await client.listWorkflows();
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
- Updated dependencies [[`5cc85aa`](https://github.com/mastra-ai/mastra/commit/5cc85aa4329773cac8314f3aa0146227b6b158e4), [`c53f8e6`](https://github.com/mastra-ai/mastra/commit/c53f8e68df42464935f9a63eb0fc765a65aacb83), [`386ab43`](https://github.com/mastra-ai/mastra/commit/386ab4350cf2a814fb4ac0a5fc6983ca93158ffe), [`2b62302`](https://github.com/mastra-ai/mastra/commit/2b623027a9d65c1dbc963bf651e9e6a9d09da1fa), [`7d85da4`](https://github.com/mastra-ai/mastra/commit/7d85da42a5fab56009a959a9c20328558d14f4b5), [`3d7c5bd`](https://github.com/mastra-ai/mastra/commit/3d7c5bdbee1b2693cd45bf207b960dd9b7277680), [`31b381e`](https://github.com/mastra-ai/mastra/commit/31b381efb48e031c0ecc46bc6e410ae6e67b88e5), [`e77a5f9`](https://github.com/mastra-ai/mastra/commit/e77a5f9718dc418e29e3c8a389299ed6dc0a6401), [`b069af5`](https://github.com/mastra-ai/mastra/commit/b069af514c4dcfc4fdcb164303569bfff1c26e3d), [`7dc8304`](https://github.com/mastra-ai/mastra/commit/7dc830420296db516b86dcec663e54d0309b8fb8), [`6942109`](https://github.com/mastra-ai/mastra/commit/694210903c70e3c26b5ce8ca4f4637ca2d9eb369), [`62d13f4`](https://github.com/mastra-ai/mastra/commit/62d13f4d1db1c16742831f210fe4c2caf8a26d57), [`358ab98`](https://github.com/mastra-ai/mastra/commit/358ab98024c388e383aca15616e8988bf4a5b66e)]:
|
|
52
|
+
- @mastra/core@0.24.7-alpha.1
|
|
53
|
+
|
|
3
54
|
## 0.1.22
|
|
4
55
|
|
|
5
56
|
### Patch Changes
|
|
@@ -447,56 +498,5 @@
|
|
|
447
498
|
- Updated dependencies [0c99fbe]
|
|
448
499
|
- @mastra/core@0.12.0
|
|
449
500
|
|
|
450
|
-
## 0.1.5-alpha.0
|
|
451
|
-
|
|
452
|
-
### Patch Changes
|
|
453
|
-
|
|
454
|
-
- f42c4c2: update peer deps for packages to latest core range
|
|
455
|
-
- @mastra/core@0.12.0-alpha.5
|
|
456
|
-
|
|
457
|
-
## 0.1.4
|
|
458
|
-
|
|
459
|
-
### Patch Changes
|
|
460
|
-
|
|
461
|
-
- ce088f5: Update all peerdeps to latest core
|
|
462
|
-
- @mastra/core@0.11.1
|
|
463
|
-
|
|
464
|
-
## 0.1.3
|
|
465
|
-
|
|
466
|
-
### Patch Changes
|
|
467
|
-
|
|
468
|
-
- 63f6b7d: dependencies updates:
|
|
469
|
-
- Updated dependency [`@opentelemetry/otlp-transformer@^0.201.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/otlp-transformer/v/0.201.1) (from `^0.201.0`, in `dependencies`)
|
|
470
|
-
- Updated dependency [`@opentelemetry/otlp-exporter-base@^0.201.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/otlp-exporter-base/v/0.201.1) (from `^0.201.0`, in `dependencies`)
|
|
471
|
-
- Updated dependencies [63f6b7d]
|
|
472
|
-
- Updated dependencies [12a95fc]
|
|
473
|
-
- Updated dependencies [4b0f8a6]
|
|
474
|
-
- Updated dependencies [51264a5]
|
|
475
|
-
- Updated dependencies [8e6f677]
|
|
476
|
-
- Updated dependencies [d70c420]
|
|
477
|
-
- Updated dependencies [ee9af57]
|
|
478
|
-
- Updated dependencies [36f1c36]
|
|
479
|
-
- Updated dependencies [2a16996]
|
|
480
|
-
- Updated dependencies [10d352e]
|
|
481
|
-
- Updated dependencies [9589624]
|
|
482
|
-
- Updated dependencies [53d3c37]
|
|
483
|
-
- Updated dependencies [751c894]
|
|
484
|
-
- Updated dependencies [577ce3a]
|
|
485
|
-
- Updated dependencies [9260b3a]
|
|
486
|
-
- @mastra/core@0.10.6
|
|
487
|
-
|
|
488
|
-
## 0.1.3-alpha.0
|
|
489
|
-
|
|
490
|
-
### Patch Changes
|
|
491
|
-
|
|
492
|
-
- 63f6b7d: dependencies updates:
|
|
493
|
-
- Updated dependency [`@opentelemetry/otlp-transformer@^0.201.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/otlp-transformer/v/0.201.1) (from `^0.201.0`, in `dependencies`)
|
|
494
|
-
- Updated dependency [`@opentelemetry/otlp-exporter-base@^0.201.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/otlp-exporter-base/v/0.201.1) (from `^0.201.0`, in `dependencies`)
|
|
495
|
-
- Updated dependencies [63f6b7d]
|
|
496
|
-
- Updated dependencies [36f1c36]
|
|
497
|
-
- Updated dependencies [10d352e]
|
|
498
|
-
- Updated dependencies [53d3c37]
|
|
499
|
-
- @mastra/core@0.10.6-alpha.0
|
|
500
|
-
|
|
501
501
|
|
|
502
|
-
...
|
|
502
|
+
... 445 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @mastra/cloudflare-d1
|
|
2
2
|
|
|
3
|
+
## 0.13.10-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Add restart method to workflow run that allows restarting an active workflow run ([#10703](https://github.com/mastra-ai/mastra/pull/10703))
|
|
8
|
+
Add status filter to `getWorkflowRuns`
|
|
9
|
+
Add automatic restart to restart active workflow runs when server starts
|
|
10
|
+
- Updated dependencies [[`5cc85aa`](https://github.com/mastra-ai/mastra/commit/5cc85aa4329773cac8314f3aa0146227b6b158e4), [`c53f8e6`](https://github.com/mastra-ai/mastra/commit/c53f8e68df42464935f9a63eb0fc765a65aacb83), [`386ab43`](https://github.com/mastra-ai/mastra/commit/386ab4350cf2a814fb4ac0a5fc6983ca93158ffe), [`2b62302`](https://github.com/mastra-ai/mastra/commit/2b623027a9d65c1dbc963bf651e9e6a9d09da1fa), [`7d85da4`](https://github.com/mastra-ai/mastra/commit/7d85da42a5fab56009a959a9c20328558d14f4b5), [`3d7c5bd`](https://github.com/mastra-ai/mastra/commit/3d7c5bdbee1b2693cd45bf207b960dd9b7277680), [`31b381e`](https://github.com/mastra-ai/mastra/commit/31b381efb48e031c0ecc46bc6e410ae6e67b88e5), [`e77a5f9`](https://github.com/mastra-ai/mastra/commit/e77a5f9718dc418e29e3c8a389299ed6dc0a6401), [`b069af5`](https://github.com/mastra-ai/mastra/commit/b069af514c4dcfc4fdcb164303569bfff1c26e3d), [`7dc8304`](https://github.com/mastra-ai/mastra/commit/7dc830420296db516b86dcec663e54d0309b8fb8), [`6942109`](https://github.com/mastra-ai/mastra/commit/694210903c70e3c26b5ce8ca4f4637ca2d9eb369), [`62d13f4`](https://github.com/mastra-ai/mastra/commit/62d13f4d1db1c16742831f210fe4c2caf8a26d57), [`358ab98`](https://github.com/mastra-ai/mastra/commit/358ab98024c388e383aca15616e8988bf4a5b66e)]:
|
|
11
|
+
- @mastra/core@0.24.7-alpha.1
|
|
12
|
+
|
|
3
13
|
## 0.13.9
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -488,15 +498,5 @@
|
|
|
488
498
|
|
|
489
499
|
- 9881232: dependencies updates:
|
|
490
500
|
- Updated dependency [`cloudflare@^4.5.0` ↗︎](https://www.npmjs.com/package/cloudflare/v/4.5.0) (from `^4.4.1`, in `dependencies`)
|
|
491
|
-
- Updated dependencies [27cc97a]
|
|
492
|
-
- Updated dependencies [41daa63]
|
|
493
|
-
- Updated dependencies [254a36b]
|
|
494
|
-
- Updated dependencies [0b89602]
|
|
495
|
-
- Updated dependencies [4d37822]
|
|
496
|
-
- Updated dependencies [ff9c125]
|
|
497
|
-
- Updated dependencies [b8efbb9]
|
|
498
|
-
- Updated dependencies [71466e7]
|
|
499
|
-
- Updated dependencies [0c99fbe]
|
|
500
|
-
- @mastra/core@0.12.0-alpha.2
|
|
501
501
|
|
|
502
|
-
...
|
|
502
|
+
... 777 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @mastra/cloudflare
|
|
2
2
|
|
|
3
|
+
## 0.13.4-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Add restart method to workflow run that allows restarting an active workflow run ([#10703](https://github.com/mastra-ai/mastra/pull/10703))
|
|
8
|
+
Add status filter to `getWorkflowRuns`
|
|
9
|
+
Add automatic restart to restart active workflow runs when server starts
|
|
10
|
+
- Updated dependencies [[`5cc85aa`](https://github.com/mastra-ai/mastra/commit/5cc85aa4329773cac8314f3aa0146227b6b158e4), [`c53f8e6`](https://github.com/mastra-ai/mastra/commit/c53f8e68df42464935f9a63eb0fc765a65aacb83), [`386ab43`](https://github.com/mastra-ai/mastra/commit/386ab4350cf2a814fb4ac0a5fc6983ca93158ffe), [`2b62302`](https://github.com/mastra-ai/mastra/commit/2b623027a9d65c1dbc963bf651e9e6a9d09da1fa), [`7d85da4`](https://github.com/mastra-ai/mastra/commit/7d85da42a5fab56009a959a9c20328558d14f4b5), [`3d7c5bd`](https://github.com/mastra-ai/mastra/commit/3d7c5bdbee1b2693cd45bf207b960dd9b7277680), [`31b381e`](https://github.com/mastra-ai/mastra/commit/31b381efb48e031c0ecc46bc6e410ae6e67b88e5), [`e77a5f9`](https://github.com/mastra-ai/mastra/commit/e77a5f9718dc418e29e3c8a389299ed6dc0a6401), [`b069af5`](https://github.com/mastra-ai/mastra/commit/b069af514c4dcfc4fdcb164303569bfff1c26e3d), [`7dc8304`](https://github.com/mastra-ai/mastra/commit/7dc830420296db516b86dcec663e54d0309b8fb8), [`6942109`](https://github.com/mastra-ai/mastra/commit/694210903c70e3c26b5ce8ca4f4637ca2d9eb369), [`62d13f4`](https://github.com/mastra-ai/mastra/commit/62d13f4d1db1c16742831f210fe4c2caf8a26d57), [`358ab98`](https://github.com/mastra-ai/mastra/commit/358ab98024c388e383aca15616e8988bf4a5b66e)]:
|
|
11
|
+
- @mastra/core@0.24.7-alpha.1
|
|
12
|
+
|
|
3
13
|
## 0.13.3
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -488,15 +498,5 @@
|
|
|
488
498
|
|
|
489
499
|
## 0.11.4-alpha.0
|
|
490
500
|
|
|
491
|
-
### Patch Changes
|
|
492
|
-
|
|
493
|
-
- 9881232: dependencies updates:
|
|
494
|
-
- Updated dependency [`cloudflare@^4.5.0` ↗︎](https://www.npmjs.com/package/cloudflare/v/4.5.0) (from `^4.4.1`, in `dependencies`)
|
|
495
|
-
- Updated dependencies [27cc97a]
|
|
496
|
-
- Updated dependencies [41daa63]
|
|
497
|
-
- Updated dependencies [254a36b]
|
|
498
|
-
- Updated dependencies [0b89602]
|
|
499
|
-
- Updated dependencies [4d37822]
|
|
500
|
-
- Updated dependencies [ff9c125]
|
|
501
501
|
|
|
502
|
-
...
|
|
502
|
+
... 965 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,61 @@
|
|
|
1
1
|
# @mastra/core
|
|
2
2
|
|
|
3
|
+
## 0.24.7-alpha.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fix writer.custom not working during workflow resume operations ([#10921](https://github.com/mastra-ai/mastra/pull/10921))
|
|
8
|
+
|
|
9
|
+
When a workflow step is resumed, the writer parameter was not being properly passed through, causing writer.custom() calls to fail. This fix ensures the writableStream parameter is correctly passed to both run.resume() and run.start() calls in the workflow execution engine, allowing custom events to be emitted properly during resume operations.
|
|
10
|
+
|
|
11
|
+
## 0.24.7-alpha.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- unexpected json parse issue, log error but dont fail ([#10640](https://github.com/mastra-ai/mastra/pull/10640))
|
|
16
|
+
|
|
17
|
+
- Emit error chunk and call onError when agent workflow step fails ([#10905](https://github.com/mastra-ai/mastra/pull/10905))
|
|
18
|
+
|
|
19
|
+
When a workflow step fails (e.g., tool not found), the error is now properly emitted as an error chunk to the stream and the onError callback is called. This fixes the issue where agent.generate() would throw "promise 'text' was not resolved or rejected" instead of the actual error message.
|
|
20
|
+
|
|
21
|
+
- Improved typing for `workflow.then` to allow the provided steps `inputSchema` to be a subset of the previous steps `outputSchema`. Also errors if the provided steps `inputSchema` is a superset of the previous steps outputSchema. ([#10775](https://github.com/mastra-ai/mastra/pull/10775))
|
|
22
|
+
|
|
23
|
+
- Add timeTravel APIs and add timeTravel feature to studio ([#10757](https://github.com/mastra-ai/mastra/pull/10757))
|
|
24
|
+
|
|
25
|
+
- Fix backport ([#10599](https://github.com/mastra-ai/mastra/pull/10599))
|
|
26
|
+
|
|
27
|
+
- Fix type issue with workflow `.parallel()` when passing multiple steps, one or more of which has a `resumeSchema` provided. ([#10712](https://github.com/mastra-ai/mastra/pull/10712))
|
|
28
|
+
|
|
29
|
+
- Handle state update and bailing in foreach steps ([#10826](https://github.com/mastra-ai/mastra/pull/10826))
|
|
30
|
+
|
|
31
|
+
- Fix discriminatedUnion schema information lost when json schema is converted to zod ([#10764](https://github.com/mastra-ai/mastra/pull/10764))
|
|
32
|
+
|
|
33
|
+
- Add restart method to workflow run that allows restarting an active workflow run ([#10703](https://github.com/mastra-ai/mastra/pull/10703))
|
|
34
|
+
Add status filter to `getWorkflowRuns`
|
|
35
|
+
Add automatic restart to restart active workflow runs when server starts
|
|
36
|
+
|
|
37
|
+
- Add timeTravel to workflows. This makes it possible to start a workflow run from a particular step in the workflow ([#10717](https://github.com/mastra-ai/mastra/pull/10717))
|
|
38
|
+
|
|
39
|
+
Example code:
|
|
40
|
+
|
|
41
|
+
```ts
|
|
42
|
+
const result = await run.timeTravel({
|
|
43
|
+
step: 'step2',
|
|
44
|
+
inputData: {
|
|
45
|
+
value: 'input',
|
|
46
|
+
},
|
|
47
|
+
});
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
- Fixed OpenAI reasoning message merging so distinct reasoning items are no longer dropped when they share a message ID. Prevents downstream errors where a function call is missing its required "reasoning" item. See #9005. ([#10729](https://github.com/mastra-ai/mastra/pull/10729))
|
|
51
|
+
|
|
52
|
+
- Commit registered uncommitted workflows automatically ([#10829](https://github.com/mastra-ai/mastra/pull/10829))
|
|
53
|
+
|
|
54
|
+
- Safe stringify objects in telemetry ([#10918](https://github.com/mastra-ai/mastra/pull/10918))
|
|
55
|
+
|
|
56
|
+
- Updated dependencies [[`e77a5f9`](https://github.com/mastra-ai/mastra/commit/e77a5f9718dc418e29e3c8a389299ed6dc0a6401)]:
|
|
57
|
+
- @mastra/schema-compat@0.11.9-alpha.0
|
|
58
|
+
|
|
3
59
|
## 0.24.7-alpha.0
|
|
4
60
|
|
|
5
61
|
### Patch Changes
|
|
@@ -442,61 +498,5 @@
|
|
|
442
498
|
|
|
443
499
|
**Backend changes (@mastra/core):**
|
|
444
500
|
- Add assistant messages to messageList immediately after LLM execution
|
|
445
|
-
- Flush messages synchronously before suspension to persist state
|
|
446
|
-
- Create thread if it doesn't exist before flushing
|
|
447
|
-
- Add metadata helpers to persist and remove tool approval state
|
|
448
|
-
- Pass saveQueueManager and memory context through workflow for immediate persistence
|
|
449
|
-
|
|
450
|
-
**Frontend changes (@mastra/react):**
|
|
451
|
-
- Extract runId from pending approvals to enable resumption after refresh
|
|
452
|
-
- Convert `pendingToolApprovals` (DB format) to `requireApprovalMetadata` (runtime format)
|
|
453
|
-
- Handle both `dynamic-tool` and `tool-{NAME}` part types for approval state
|
|
454
|
-
- Change runId from hardcoded `agentId` to unique `uuid()`
|
|
455
|
-
|
|
456
|
-
**UI changes (@mastra/playground-ui):**
|
|
457
|
-
- Handle tool calls awaiting approval in message initialization
|
|
458
|
-
- Convert approval metadata format when loading initial messages
|
|
459
|
-
|
|
460
|
-
Fixes #9745, #9906
|
|
461
|
-
|
|
462
|
-
- Fix race condition in parallel tool stream writes ([#10481](https://github.com/mastra-ai/mastra/pull/10481))
|
|
463
|
-
|
|
464
|
-
Introduces a write queue to ToolStream to serialize access to the underlying stream, preventing writer locked errors
|
|
465
|
-
|
|
466
|
-
- Remove unneeded console warning when flushing messages and no threadId or saveQueueManager is found. ([#10542](https://github.com/mastra-ai/mastra/pull/10542))
|
|
467
|
-
|
|
468
|
-
- Fixes GPT-5 reasoning which was failing on subsequent tool calls with the error: ([#10489](https://github.com/mastra-ai/mastra/pull/10489))
|
|
469
|
-
|
|
470
|
-
```
|
|
471
|
-
Item 'fc_xxx' of type 'function_call' was provided without its required 'reasoning' item: 'rs_xxx'
|
|
472
|
-
```
|
|
473
|
-
|
|
474
|
-
- Add optional includeRawChunks parameter to agent execution options, ([#10459](https://github.com/mastra-ai/mastra/pull/10459))
|
|
475
|
-
allowing users to include raw chunks in stream output where supported
|
|
476
|
-
by the model provider.
|
|
477
|
-
|
|
478
|
-
- When `mastra dev` runs, multiple processes can write to `provider-registry.json` concurrently (auto-refresh, syncGateways, syncGlobalCacheToLocal). This causes file corruption where the end of the JSON appears twice, making it unparseable. ([#10529](https://github.com/mastra-ai/mastra/pull/10529))
|
|
479
|
-
|
|
480
|
-
The fix uses atomic writes via the write-to-temp-then-rename pattern. Instead of:
|
|
481
|
-
|
|
482
|
-
```ts
|
|
483
|
-
fs.writeFileSync(filePath, content, 'utf-8');
|
|
484
|
-
```
|
|
485
|
-
|
|
486
|
-
We now do:
|
|
487
|
-
|
|
488
|
-
```ts
|
|
489
|
-
const tempPath = `${filePath}.${process.pid}.${Date.now()}.${randomSuffix}.tmp`;
|
|
490
|
-
fs.writeFileSync(tempPath, content, 'utf-8');
|
|
491
|
-
fs.renameSync(tempPath, filePath); // atomic on POSIX
|
|
492
|
-
```
|
|
493
|
-
|
|
494
|
-
`fs.rename()` is atomic on POSIX systems when both paths are on the same filesystem, so concurrent writes will each complete fully rather than interleaving.
|
|
495
|
-
|
|
496
|
-
- Ensures that data chunks written via `writer.custom()` always bubble up directly to the top-level stream, even when nested in sub-agents. This allows tools to emit custom progress updates, metrics, and other data that can be consumed at any level of the agent hierarchy. ([#10523](https://github.com/mastra-ai/mastra/pull/10523))
|
|
497
|
-
- **Added bubbling logic in sub-agent execution**: When sub-agents execute, data chunks (chunks with type starting with `data-`) are detected and written via `writer.custom()` instead of `writer.write()`, ensuring they bubble up directly without being wrapped in `tool-output` chunks.
|
|
498
|
-
- **Added comprehensive tests**:
|
|
499
|
-
- Test for `writer.custom()` with direct tool execution
|
|
500
|
-
- Test for `writer.custom()` with sub-agent tools (nested execution)
|
|
501
501
|
|
|
502
|
-
...
|
|
502
|
+
... 5407 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @mastra/deployer-cloud
|
|
2
2
|
|
|
3
|
+
## 0.24.7-alpha.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`b685c9c`](https://github.com/mastra-ai/mastra/commit/b685c9c0b89f49e0d4542c4ac72569682db69794)]:
|
|
8
|
+
- @mastra/core@0.24.7-alpha.2
|
|
9
|
+
- @mastra/deployer@0.24.7-alpha.2
|
|
10
|
+
|
|
11
|
+
## 0.24.7-alpha.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Fix installing external peer deps for cloud deployer ([#10787](https://github.com/mastra-ai/mastra/pull/10787))
|
|
16
|
+
|
|
17
|
+
Adds `--force` and `--legacy-peer-deps=false` flags to npm install command to ensure peer dependencies for external packages are properly installed in the mastra output directory. The `--legacy-peer-deps=false` flag overrides package manager settings (like pnpm's default of `true`) to ensure consistent behavior.
|
|
18
|
+
|
|
19
|
+
- Fix backport ([#10599](https://github.com/mastra-ai/mastra/pull/10599))
|
|
20
|
+
|
|
21
|
+
- Updated dependencies [[`5cc85aa`](https://github.com/mastra-ai/mastra/commit/5cc85aa4329773cac8314f3aa0146227b6b158e4), [`c901d6d`](https://github.com/mastra-ai/mastra/commit/c901d6db4ddb069ccba91071b49635bdf79c6049), [`64fba3c`](https://github.com/mastra-ai/mastra/commit/64fba3c672418d9c1ca505703221a50b3ad286a9), [`c53f8e6`](https://github.com/mastra-ai/mastra/commit/c53f8e68df42464935f9a63eb0fc765a65aacb83), [`35c172e`](https://github.com/mastra-ai/mastra/commit/35c172e42c804e6bdc1e5d75435516229ffc0203), [`386ab43`](https://github.com/mastra-ai/mastra/commit/386ab4350cf2a814fb4ac0a5fc6983ca93158ffe), [`2b62302`](https://github.com/mastra-ai/mastra/commit/2b623027a9d65c1dbc963bf651e9e6a9d09da1fa), [`7d85da4`](https://github.com/mastra-ai/mastra/commit/7d85da42a5fab56009a959a9c20328558d14f4b5), [`3d7c5bd`](https://github.com/mastra-ai/mastra/commit/3d7c5bdbee1b2693cd45bf207b960dd9b7277680), [`31b381e`](https://github.com/mastra-ai/mastra/commit/31b381efb48e031c0ecc46bc6e410ae6e67b88e5), [`e77a5f9`](https://github.com/mastra-ai/mastra/commit/e77a5f9718dc418e29e3c8a389299ed6dc0a6401), [`b069af5`](https://github.com/mastra-ai/mastra/commit/b069af514c4dcfc4fdcb164303569bfff1c26e3d), [`7dc8304`](https://github.com/mastra-ai/mastra/commit/7dc830420296db516b86dcec663e54d0309b8fb8), [`6942109`](https://github.com/mastra-ai/mastra/commit/694210903c70e3c26b5ce8ca4f4637ca2d9eb369), [`62d13f4`](https://github.com/mastra-ai/mastra/commit/62d13f4d1db1c16742831f210fe4c2caf8a26d57), [`358ab98`](https://github.com/mastra-ai/mastra/commit/358ab98024c388e383aca15616e8988bf4a5b66e)]:
|
|
22
|
+
- @mastra/core@0.24.7-alpha.1
|
|
23
|
+
- @mastra/deployer@0.24.7-alpha.1
|
|
24
|
+
|
|
3
25
|
## 0.24.7-alpha.0
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
|
@@ -477,26 +499,4 @@
|
|
|
477
499
|
|
|
478
500
|
### Patch Changes
|
|
479
501
|
|
|
480
|
-
|
|
481
|
-
- @mastra/core@0.19.1-alpha.1
|
|
482
|
-
- @mastra/deployer@0.19.1-alpha.1
|
|
483
|
-
|
|
484
|
-
## 0.19.1-alpha.0
|
|
485
|
-
|
|
486
|
-
### Patch Changes
|
|
487
|
-
|
|
488
|
-
- Updated dependencies [[`0992b8b`](https://github.com/mastra-ai/mastra/commit/0992b8bf0f4f1ba7ad9940883ec4bb8d867d3105), [`283bea0`](https://github.com/mastra-ai/mastra/commit/283bea07adbaf04a27fa3ad2df611095e0825195)]:
|
|
489
|
-
- @mastra/deployer@0.19.1-alpha.0
|
|
490
|
-
- @mastra/core@0.19.1-alpha.0
|
|
491
|
-
|
|
492
|
-
## 0.19.0
|
|
493
|
-
|
|
494
|
-
### Patch Changes
|
|
495
|
-
|
|
496
|
-
- Update peer deps ([#8154](https://github.com/mastra-ai/mastra/pull/8154))
|
|
497
|
-
|
|
498
|
-
- Fix peer deps ([#8134](https://github.com/mastra-ai/mastra/pull/8134))
|
|
499
|
-
|
|
500
|
-
- Update peer deps ([#8276](https://github.com/mastra-ai/mastra/pull/8276))
|
|
501
|
-
|
|
502
|
-
... 565 more lines hidden. See full changelog in package directory.
|
|
502
|
+
... 587 more lines hidden. See full changelog in package directory.
|