@mastra/mcp-docs-server 0.13.45 → 0.13.46-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.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 +86 -86
- 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 +55 -55
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloud.md +23 -23
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloudflare.md +9 -9
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-netlify.md +9 -9
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-vercel.md +9 -9
- package/.docs/organized/changelogs/%40mastra%2Fdeployer.md +32 -32
- 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 +15 -15
- 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 +13 -13
- package/.docs/organized/changelogs/mastra.md +26 -26
- 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/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 +14 -0
- package/package.json +3 -3
|
@@ -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,90 @@
|
|
|
1
1
|
# @mastra/client-js
|
|
2
2
|
|
|
3
|
+
## 0.17.0-alpha.1
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 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))
|
|
8
|
+
|
|
9
|
+
You can now pass a custom fetch function when creating a MastraClient:
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
import { MastraClient } from '@mastra/client-js';
|
|
13
|
+
|
|
14
|
+
// Before: Only global fetch was available
|
|
15
|
+
const client = new MastraClient({
|
|
16
|
+
baseUrl: 'http://your-api-url',
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
// After: Custom fetch can be passed
|
|
20
|
+
const client = new MastraClient({
|
|
21
|
+
baseUrl: 'http://your-api-url',
|
|
22
|
+
fetch: customFetch, // Your custom fetch implementation
|
|
23
|
+
});
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
If no custom fetch is provided, it falls back to the global fetch function, maintaining backward compatibility.
|
|
27
|
+
|
|
28
|
+
Fixes #10673
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- Add timeTravel APIs and add timeTravel feature to studio ([#10757](https://github.com/mastra-ai/mastra/pull/10757))
|
|
33
|
+
|
|
34
|
+
- feat: Add partial response support for agent and workflow list endpoints ([#10906](https://github.com/mastra-ai/mastra/pull/10906))
|
|
35
|
+
|
|
36
|
+
Add optional `partial` query parameter to `/api/agents` and `/api/workflows` endpoints to return minimal data without schemas, reducing payload size for list views:
|
|
37
|
+
- When `partial=true`: tool schemas (inputSchema, outputSchema) are omitted
|
|
38
|
+
- When `partial=true`: workflow steps are replaced with stepCount integer
|
|
39
|
+
- When `partial=true`: workflow root schemas (inputSchema, outputSchema) are omitted
|
|
40
|
+
- Maintains backward compatibility when partial parameter is not provided
|
|
41
|
+
|
|
42
|
+
## Server Endpoint Usage
|
|
43
|
+
|
|
44
|
+
```http
|
|
45
|
+
# Get partial agent data (no tool schemas)
|
|
46
|
+
GET /api/agents?partial=true
|
|
47
|
+
|
|
48
|
+
# Get full agent data (default behavior)
|
|
49
|
+
GET /api/agents
|
|
50
|
+
|
|
51
|
+
# Get partial workflow data (stepCount instead of steps, no schemas)
|
|
52
|
+
GET /api/workflows?partial=true
|
|
53
|
+
|
|
54
|
+
# Get full workflow data (default behavior)
|
|
55
|
+
GET /api/workflows
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Client SDK Usage
|
|
59
|
+
|
|
60
|
+
```typescript
|
|
61
|
+
import { MastraClient } from '@mastra/client-js';
|
|
62
|
+
|
|
63
|
+
const client = new MastraClient({ baseUrl: 'http://localhost:4111' });
|
|
64
|
+
|
|
65
|
+
// Get partial agent list (smaller payload)
|
|
66
|
+
const partialAgents = await client.listAgents({ partial: true });
|
|
67
|
+
|
|
68
|
+
// Get full agent list with tool schemas
|
|
69
|
+
const fullAgents = await client.listAgents();
|
|
70
|
+
|
|
71
|
+
// Get partial workflow list (smaller payload)
|
|
72
|
+
const partialWorkflows = await client.listWorkflows({ partial: true });
|
|
73
|
+
|
|
74
|
+
// Get full workflow list with steps and schemas
|
|
75
|
+
const fullWorkflows = await client.listWorkflows();
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
- 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)]:
|
|
79
|
+
- @mastra/core@0.24.7-alpha.1
|
|
80
|
+
|
|
81
|
+
## 0.16.16-alpha.0
|
|
82
|
+
|
|
83
|
+
### Patch Changes
|
|
84
|
+
|
|
85
|
+
- Updated dependencies [[`54cc99c`](https://github.com/mastra-ai/mastra/commit/54cc99cb99483b9e08ec41fa1502f43b71b4c351)]:
|
|
86
|
+
- @mastra/core@0.24.7-alpha.0
|
|
87
|
+
|
|
3
88
|
## 0.16.15
|
|
4
89
|
|
|
5
90
|
### Patch Changes
|
|
@@ -414,89 +499,4 @@
|
|
|
414
499
|
- 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)]:
|
|
415
500
|
- @mastra/core@0.20.0-alpha.0
|
|
416
501
|
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
### Patch Changes
|
|
420
|
-
|
|
421
|
-
- 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)]:
|
|
422
|
-
- @mastra/core@0.19.1
|
|
423
|
-
|
|
424
|
-
## 0.14.1-alpha.1
|
|
425
|
-
|
|
426
|
-
### Patch Changes
|
|
427
|
-
|
|
428
|
-
- Updated dependencies [[`4a70ccc`](https://github.com/mastra-ai/mastra/commit/4a70ccc5cfa12ae9c2b36545a5814cd98e5a0ead)]:
|
|
429
|
-
- @mastra/core@0.19.1-alpha.1
|
|
430
|
-
|
|
431
|
-
## 0.14.1-alpha.0
|
|
432
|
-
|
|
433
|
-
### Patch Changes
|
|
434
|
-
|
|
435
|
-
- Updated dependencies [[`0992b8b`](https://github.com/mastra-ai/mastra/commit/0992b8bf0f4f1ba7ad9940883ec4bb8d867d3105), [`283bea0`](https://github.com/mastra-ai/mastra/commit/283bea07adbaf04a27fa3ad2df611095e0825195)]:
|
|
436
|
-
- @mastra/core@0.19.1-alpha.0
|
|
437
|
-
|
|
438
|
-
## 0.14.0
|
|
439
|
-
|
|
440
|
-
### Minor Changes
|
|
441
|
-
|
|
442
|
-
- Remove legacy helpers ([#8017](https://github.com/mastra-ai/mastra/pull/8017))
|
|
443
|
-
|
|
444
|
-
### Patch Changes
|
|
445
|
-
|
|
446
|
-
- Fix duplicate messages being created using clientTools with client-js sdk ([#8187](https://github.com/mastra-ai/mastra/pull/8187))
|
|
447
|
-
|
|
448
|
-
- Fix hanging stream for non-self executing client-tools ([#8272](https://github.com/mastra-ai/mastra/pull/8272))
|
|
449
|
-
|
|
450
|
-
- Support passing tracing options for start/resume workflows for server APIs and client sdk ([#8277](https://github.com/mastra-ai/mastra/pull/8277))
|
|
451
|
-
|
|
452
|
-
- Support tracing options for workflow streaming endpoints ([#8278](https://github.com/mastra-ai/mastra/pull/8278))
|
|
453
|
-
|
|
454
|
-
- Adjust deprecation warnings ([#8326](https://github.com/mastra-ai/mastra/pull/8326))
|
|
455
|
-
|
|
456
|
-
- Add server apis to get scores by span ([#8237](https://github.com/mastra-ai/mastra/pull/8237))
|
|
457
|
-
|
|
458
|
-
- 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)]:
|
|
459
|
-
- @mastra/core@0.19.0
|
|
460
|
-
|
|
461
|
-
## 0.14.0-alpha.1
|
|
462
|
-
|
|
463
|
-
### Patch Changes
|
|
464
|
-
|
|
465
|
-
- Fix duplicate messages being created using clientTools with client-js sdk ([#8187](https://github.com/mastra-ai/mastra/pull/8187))
|
|
466
|
-
|
|
467
|
-
- Fix hanging stream for non-self executing client-tools ([#8272](https://github.com/mastra-ai/mastra/pull/8272))
|
|
468
|
-
|
|
469
|
-
- Support passing tracing options for start/resume workflows for server APIs and client sdk ([#8277](https://github.com/mastra-ai/mastra/pull/8277))
|
|
470
|
-
|
|
471
|
-
- Support tracing options for workflow streaming endpoints ([#8278](https://github.com/mastra-ai/mastra/pull/8278))
|
|
472
|
-
|
|
473
|
-
- Add server apis to get scores by span ([#8237](https://github.com/mastra-ai/mastra/pull/8237))
|
|
474
|
-
|
|
475
|
-
- 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)]:
|
|
476
|
-
- @mastra/core@0.19.0-alpha.1
|
|
477
|
-
|
|
478
|
-
## 0.14.0-alpha.0
|
|
479
|
-
|
|
480
|
-
### Minor Changes
|
|
481
|
-
|
|
482
|
-
- Remove legacy helpers ([#8017](https://github.com/mastra-ai/mastra/pull/8017))
|
|
483
|
-
|
|
484
|
-
### Patch Changes
|
|
485
|
-
|
|
486
|
-
- 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)]:
|
|
487
|
-
- @mastra/core@0.18.1-alpha.0
|
|
488
|
-
|
|
489
|
-
## 0.13.2
|
|
490
|
-
|
|
491
|
-
### Patch Changes
|
|
492
|
-
|
|
493
|
-
- 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))
|
|
494
|
-
|
|
495
|
-
- Add model fallback handlers and apis ([#7378](https://github.com/mastra-ai/mastra/pull/7378))
|
|
496
|
-
|
|
497
|
-
- Get rid off swr one for all ([#7931](https://github.com/mastra-ai/mastra/pull/7931))
|
|
498
|
-
|
|
499
|
-
- Delayed streamVNext breaking change notice by 1 week ([#8121](https://github.com/mastra-ai/mastra/pull/8121))
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
... 2958 more lines hidden. See full changelog in package directory.
|
|
502
|
+
... 3043 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,59 @@
|
|
|
1
1
|
# @mastra/core
|
|
2
2
|
|
|
3
|
+
## 0.24.7-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- unexpected json parse issue, log error but dont fail ([#10640](https://github.com/mastra-ai/mastra/pull/10640))
|
|
8
|
+
|
|
9
|
+
- Emit error chunk and call onError when agent workflow step fails ([#10905](https://github.com/mastra-ai/mastra/pull/10905))
|
|
10
|
+
|
|
11
|
+
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.
|
|
12
|
+
|
|
13
|
+
- 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))
|
|
14
|
+
|
|
15
|
+
- Add timeTravel APIs and add timeTravel feature to studio ([#10757](https://github.com/mastra-ai/mastra/pull/10757))
|
|
16
|
+
|
|
17
|
+
- Fix backport ([#10599](https://github.com/mastra-ai/mastra/pull/10599))
|
|
18
|
+
|
|
19
|
+
- 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))
|
|
20
|
+
|
|
21
|
+
- Handle state update and bailing in foreach steps ([#10826](https://github.com/mastra-ai/mastra/pull/10826))
|
|
22
|
+
|
|
23
|
+
- Fix discriminatedUnion schema information lost when json schema is converted to zod ([#10764](https://github.com/mastra-ai/mastra/pull/10764))
|
|
24
|
+
|
|
25
|
+
- Add restart method to workflow run that allows restarting an active workflow run ([#10703](https://github.com/mastra-ai/mastra/pull/10703))
|
|
26
|
+
Add status filter to `getWorkflowRuns`
|
|
27
|
+
Add automatic restart to restart active workflow runs when server starts
|
|
28
|
+
|
|
29
|
+
- 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))
|
|
30
|
+
|
|
31
|
+
Example code:
|
|
32
|
+
|
|
33
|
+
```ts
|
|
34
|
+
const result = await run.timeTravel({
|
|
35
|
+
step: 'step2',
|
|
36
|
+
inputData: {
|
|
37
|
+
value: 'input',
|
|
38
|
+
},
|
|
39
|
+
});
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
- 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))
|
|
43
|
+
|
|
44
|
+
- Commit registered uncommitted workflows automatically ([#10829](https://github.com/mastra-ai/mastra/pull/10829))
|
|
45
|
+
|
|
46
|
+
- Safe stringify objects in telemetry ([#10918](https://github.com/mastra-ai/mastra/pull/10918))
|
|
47
|
+
|
|
48
|
+
- Updated dependencies [[`e77a5f9`](https://github.com/mastra-ai/mastra/commit/e77a5f9718dc418e29e3c8a389299ed6dc0a6401)]:
|
|
49
|
+
- @mastra/schema-compat@0.11.9-alpha.0
|
|
50
|
+
|
|
51
|
+
## 0.24.7-alpha.0
|
|
52
|
+
|
|
53
|
+
### Patch Changes
|
|
54
|
+
|
|
55
|
+
- Fix corrupted provider-registry.json file ([#10605](https://github.com/mastra-ai/mastra/pull/10605))
|
|
56
|
+
|
|
3
57
|
## 0.24.6
|
|
4
58
|
|
|
5
59
|
### Patch Changes
|
|
@@ -444,59 +498,5 @@
|
|
|
444
498
|
**Frontend changes (@mastra/react):**
|
|
445
499
|
- Extract runId from pending approvals to enable resumption after refresh
|
|
446
500
|
- Convert `pendingToolApprovals` (DB format) to `requireApprovalMetadata` (runtime format)
|
|
447
|
-
- Handle both `dynamic-tool` and `tool-{NAME}` part types for approval state
|
|
448
|
-
- Change runId from hardcoded `agentId` to unique `uuid()`
|
|
449
|
-
|
|
450
|
-
**UI changes (@mastra/playground-ui):**
|
|
451
|
-
- Handle tool calls awaiting approval in message initialization
|
|
452
|
-
- Convert approval metadata format when loading initial messages
|
|
453
|
-
|
|
454
|
-
Fixes #9745, #9906
|
|
455
|
-
|
|
456
|
-
- Fix race condition in parallel tool stream writes ([#10481](https://github.com/mastra-ai/mastra/pull/10481))
|
|
457
|
-
|
|
458
|
-
Introduces a write queue to ToolStream to serialize access to the underlying stream, preventing writer locked errors
|
|
459
|
-
|
|
460
|
-
- Remove unneeded console warning when flushing messages and no threadId or saveQueueManager is found. ([#10542](https://github.com/mastra-ai/mastra/pull/10542))
|
|
461
|
-
|
|
462
|
-
- Fixes GPT-5 reasoning which was failing on subsequent tool calls with the error: ([#10489](https://github.com/mastra-ai/mastra/pull/10489))
|
|
463
|
-
|
|
464
|
-
```
|
|
465
|
-
Item 'fc_xxx' of type 'function_call' was provided without its required 'reasoning' item: 'rs_xxx'
|
|
466
|
-
```
|
|
467
|
-
|
|
468
|
-
- Add optional includeRawChunks parameter to agent execution options, ([#10459](https://github.com/mastra-ai/mastra/pull/10459))
|
|
469
|
-
allowing users to include raw chunks in stream output where supported
|
|
470
|
-
by the model provider.
|
|
471
|
-
|
|
472
|
-
- 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))
|
|
473
|
-
|
|
474
|
-
The fix uses atomic writes via the write-to-temp-then-rename pattern. Instead of:
|
|
475
|
-
|
|
476
|
-
```ts
|
|
477
|
-
fs.writeFileSync(filePath, content, 'utf-8');
|
|
478
|
-
```
|
|
479
|
-
|
|
480
|
-
We now do:
|
|
481
|
-
|
|
482
|
-
```ts
|
|
483
|
-
const tempPath = `${filePath}.${process.pid}.${Date.now()}.${randomSuffix}.tmp`;
|
|
484
|
-
fs.writeFileSync(tempPath, content, 'utf-8');
|
|
485
|
-
fs.renameSync(tempPath, filePath); // atomic on POSIX
|
|
486
|
-
```
|
|
487
|
-
|
|
488
|
-
`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.
|
|
489
|
-
|
|
490
|
-
- 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))
|
|
491
|
-
- **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.
|
|
492
|
-
- **Added comprehensive tests**:
|
|
493
|
-
- Test for `writer.custom()` with direct tool execution
|
|
494
|
-
- Test for `writer.custom()` with sub-agent tools (nested execution)
|
|
495
|
-
- Test for mixed usage of `writer.write()` and `writer.custom()` in the same tool
|
|
496
|
-
|
|
497
|
-
When a sub-agent's tool uses `writer.custom()` to write data chunks, those chunks appear in the sub-agent's stream. The parent agent's execution logic now detects these chunks and uses `writer.custom()` to bubble them up directly, preserving their structure and making them accessible at the top level.
|
|
498
|
-
|
|
499
|
-
This ensures that:
|
|
500
|
-
- Data chunks from tools always appear directly in the stream (not wrapped)
|
|
501
501
|
|
|
502
|
-
...
|
|
502
|
+
... 5399 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.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fix installing external peer deps for cloud deployer ([#10787](https://github.com/mastra-ai/mastra/pull/10787))
|
|
8
|
+
|
|
9
|
+
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.
|
|
10
|
+
|
|
11
|
+
- Fix backport ([#10599](https://github.com/mastra-ai/mastra/pull/10599))
|
|
12
|
+
|
|
13
|
+
- 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)]:
|
|
14
|
+
- @mastra/core@0.24.7-alpha.1
|
|
15
|
+
- @mastra/deployer@0.24.7-alpha.1
|
|
16
|
+
|
|
17
|
+
## 0.24.7-alpha.0
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies [[`ba9a5ad`](https://github.com/mastra-ai/mastra/commit/ba9a5ad3482e941ca8599104448a7c412f41757c), [`54cc99c`](https://github.com/mastra-ai/mastra/commit/54cc99cb99483b9e08ec41fa1502f43b71b4c351)]:
|
|
22
|
+
- @mastra/deployer@0.24.7-alpha.0
|
|
23
|
+
- @mastra/core@0.24.7-alpha.0
|
|
24
|
+
|
|
3
25
|
## 0.24.6
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
|
@@ -477,26 +499,4 @@
|
|
|
477
499
|
|
|
478
500
|
### Patch Changes
|
|
479
501
|
|
|
480
|
-
|
|
481
|
-
- @mastra/deployer@0.19.1-alpha.0
|
|
482
|
-
- @mastra/core@0.19.1-alpha.0
|
|
483
|
-
|
|
484
|
-
## 0.19.0
|
|
485
|
-
|
|
486
|
-
### Patch Changes
|
|
487
|
-
|
|
488
|
-
- Update peer deps ([#8154](https://github.com/mastra-ai/mastra/pull/8154))
|
|
489
|
-
|
|
490
|
-
- Fix peer deps ([#8134](https://github.com/mastra-ai/mastra/pull/8134))
|
|
491
|
-
|
|
492
|
-
- Update peer deps ([#8276](https://github.com/mastra-ai/mastra/pull/8276))
|
|
493
|
-
|
|
494
|
-
- Updated dependencies [[`5089c84`](https://github.com/mastra-ai/mastra/commit/5089c84a2f535ad12e79b5aa524ad7d8ca5e2b4c), [`5c98f03`](https://github.com/mastra-ai/mastra/commit/5c98f03ae76d9a93cd6be206b4abb7bf186b3163), [`dc099b4`](https://github.com/mastra-ai/mastra/commit/dc099b40fb31147ba3f362f98d991892033c4c67), [`57b75b0`](https://github.com/mastra-ai/mastra/commit/57b75b01c0c64d91c50d7384c700afda89456fe8), [`4c5e65d`](https://github.com/mastra-ai/mastra/commit/4c5e65de746fbdab23eb6072cb999f4c7aeef9f3), [`504438b`](https://github.com/mastra-ai/mastra/commit/504438b961bde211071186bba63a842c4e3db879), [`57b6dd5`](https://github.com/mastra-ai/mastra/commit/57b6dd50f9e6d92c0ed3e7199e6a92752025e3a1), [`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), [`6f67656`](https://github.com/mastra-ai/mastra/commit/6f676562276926e2982401574d1e07157579be30), [`0130986`](https://github.com/mastra-ai/mastra/commit/0130986fc62d0edcc626dd593282661dbb9af141), [`5dc8e9a`](https://github.com/mastra-ai/mastra/commit/5dc8e9a7f8472298cd3d4e8a0cf6d265529f287d)]:
|
|
495
|
-
- @mastra/deployer@0.19.0
|
|
496
|
-
- @mastra/core@0.19.0
|
|
497
|
-
- @mastra/loggers@0.10.14
|
|
498
|
-
|
|
499
|
-
## 0.19.0-alpha.1
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
... 557 more lines hidden. See full changelog in package directory.
|
|
502
|
+
... 579 more lines hidden. See full changelog in package directory.
|