@mastra/editor 0.10.0-alpha.2 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +58 -0
- package/package.json +9 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,63 @@
|
|
|
1
1
|
# @mastra/editor
|
|
2
2
|
|
|
3
|
+
## 0.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Ship `EditorAgentBuilder` and Agent Builder runtime through the `@mastra/editor/ee` subpath. ([#16948](https://github.com/mastra-ai/mastra/pull/16948))
|
|
8
|
+
- Adds `EditorAgentBuilder` class and supporting types under `@mastra/editor/ee` (dormant unless `MastraEditorConfig.builder` is configured).
|
|
9
|
+
- Wires builder resolution on `MastraEditor`: `hasEnabledBuilderConfig()`, `resolveBuilder()`, `ensureBuilderWorkspaces()`, and `reconcileBuilderWorkspaces()`.
|
|
10
|
+
- Adds builder defaults plumbing in the agent namespace (`applyBuilderDefaults`, `BUILDER_BASELINE_DEFAULTS` enabling `observationalMemory: true` by default for Builder-created agents).
|
|
11
|
+
- Adds a defense-in-depth license guard inside `MastraEditor.resolveBuilder()` that mirrors the server-startup check in `MastraServer.validateAgentBuilderLicense()`. Dev environments bypass via `isEEEnabled()`; production without a valid `MASTRA_EE_LICENSE` throws `[mastra/auth-ee] Agent Builder is configured but no valid EE license was found.`
|
|
12
|
+
- Bumps the `@mastra/core` peer dependency to `>=1.34.0-0 <2.0.0-0` to cover the `@mastra/core/agent-builder/ee` and `@mastra/core/auth/ee` subpaths consumed by the builder runtime.
|
|
13
|
+
|
|
14
|
+
Opt-in usage:
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
import { Mastra } from '@mastra/core';
|
|
18
|
+
import { MastraEditor } from '@mastra/editor';
|
|
19
|
+
|
|
20
|
+
const editor = new MastraEditor({
|
|
21
|
+
builder: {
|
|
22
|
+
enabled: true,
|
|
23
|
+
configuration: {
|
|
24
|
+
agent: {
|
|
25
|
+
models: { default: { provider: 'openai', modelId: 'gpt-4o-mini' } },
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
new Mastra({ storage, editor });
|
|
32
|
+
|
|
33
|
+
// Later, on demand:
|
|
34
|
+
const builder = await editor.resolveBuilder();
|
|
35
|
+
// `builder` is undefined when the builder is not configured/enabled.
|
|
36
|
+
// In production it requires a valid MASTRA_EE_LICENSE; dev environments bypass.
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
This is plumbing — no UI consumer ships in this release.
|
|
40
|
+
|
|
41
|
+
### Patch Changes
|
|
42
|
+
|
|
43
|
+
- Removed zod as a required peer dependency. Internal schemas now use plain JSON Schema objects instead of zod runtime. ([#16726](https://github.com/mastra-ai/mastra/pull/16726))
|
|
44
|
+
|
|
45
|
+
- Updated dependencies [[`cfa2e3a`](https://github.com/mastra-ai/mastra/commit/cfa2e3a5292322f48bb28b4d257d631da7f9d3cc), [`0cbece9`](https://github.com/mastra-ai/mastra/commit/0cbece9d832cb134a74cdbf3682d390a058215a4), [`008baaf`](https://github.com/mastra-ai/mastra/commit/008baafd8d851f831407045aebead5a2e3342eff), [`2f5f58a`](https://github.com/mastra-ai/mastra/commit/2f5f58a9a8bb13bcdc6789db221eef7c9bf1ff02), [`7dfe1bc`](https://github.com/mastra-ai/mastra/commit/7dfe1bcfe71d261a6fd6bbf29b1dec49d78fb98f), [`ac442a4`](https://github.com/mastra-ai/mastra/commit/ac442a42fda0354ac2bcea772bf6691cb3e9dbb3), [`b7286f4`](https://github.com/mastra-ai/mastra/commit/b7286f4308267f5fd70e6bfee10dba9472640906), [`9d2c663`](https://github.com/mastra-ai/mastra/commit/9d2c663b88f5b12bc3fea1c97f40b4eeb3665df1), [`6096445`](https://github.com/mastra-ai/mastra/commit/60964459733f0ab384584d95e19c36607ffdf7b0), [`d72dc4b`](https://github.com/mastra-ai/mastra/commit/d72dc4b12d832546c05c20255fa96fe4eb515900), [`a481027`](https://github.com/mastra-ai/mastra/commit/a481027b549ba1018414990c8f045eaee7b9f413), [`1e5c067`](https://github.com/mastra-ai/mastra/commit/1e5c067d2e20a781af670578180d1ee249806d41), [`168fa09`](https://github.com/mastra-ai/mastra/commit/168fa09d6b39114cb8c13bd06f1dccb9bc81c6cd), [`df1947a`](https://github.com/mastra-ai/mastra/commit/df1947affa40f742067542251fac7ca759492ef4), [`ee59b74`](https://github.com/mastra-ai/mastra/commit/ee59b743ce73ad11784b4d9c6fbba8568edee1c8), [`a97b1a0`](https://github.com/mastra-ai/mastra/commit/a97b1a0abaed83946c3519d1e0f680d0815b8a67), [`008baaf`](https://github.com/mastra-ai/mastra/commit/008baafd8d851f831407045aebead5a2e3342eff), [`801baa0`](https://github.com/mastra-ai/mastra/commit/801baa07cccdbaec1d00942a92bdc831111744a2), [`8116436`](https://github.com/mastra-ai/mastra/commit/81164363eb225d774e41ff27da6a5ea611406688), [`c35b962`](https://github.com/mastra-ai/mastra/commit/c35b9625c7e854fcfdeee226a3338a750d0ff211), [`c27c4b9`](https://github.com/mastra-ai/mastra/commit/c27c4b9f137df5414fca4e45896aceccff6b0ed5), [`08b3b59`](https://github.com/mastra-ai/mastra/commit/08b3b590dd960dee6c9a6e39272f8927d803db6e), [`b3c3b18`](https://github.com/mastra-ai/mastra/commit/b3c3b189121489a3a51a8fd8204b569be9a89fe5), [`4084113`](https://github.com/mastra-ai/mastra/commit/408411370fc48a822e8b616b3b63f9409774e0e9), [`70cb714`](https://github.com/mastra-ai/mastra/commit/70cb7149c8f16f478e15b58498254a53181750a4), [`91cf0e0`](https://github.com/mastra-ai/mastra/commit/91cf0e027e511b871481a8576b56b7af83b15afd), [`7f9da22`](https://github.com/mastra-ai/mastra/commit/7f9da22efd5aa595e138a31de55a5f0f2f28b33d)]:
|
|
46
|
+
- @mastra/core@1.37.0
|
|
47
|
+
- @mastra/memory@1.20.0
|
|
48
|
+
- @mastra/mcp@1.8.1
|
|
49
|
+
|
|
50
|
+
## 0.10.0-alpha.3
|
|
51
|
+
|
|
52
|
+
### Patch Changes
|
|
53
|
+
|
|
54
|
+
- Removed zod as a required peer dependency. Internal schemas now use plain JSON Schema objects instead of zod runtime. ([#16726](https://github.com/mastra-ai/mastra/pull/16726))
|
|
55
|
+
|
|
56
|
+
- Updated dependencies [[`9d2c663`](https://github.com/mastra-ai/mastra/commit/9d2c663b88f5b12bc3fea1c97f40b4eeb3665df1), [`c35b962`](https://github.com/mastra-ai/mastra/commit/c35b9625c7e854fcfdeee226a3338a750d0ff211), [`4084113`](https://github.com/mastra-ai/mastra/commit/408411370fc48a822e8b616b3b63f9409774e0e9)]:
|
|
57
|
+
- @mastra/mcp@1.8.1-alpha.0
|
|
58
|
+
- @mastra/memory@1.20.0-alpha.2
|
|
59
|
+
- @mastra/core@1.37.0-alpha.8
|
|
60
|
+
|
|
3
61
|
## 0.10.0-alpha.2
|
|
4
62
|
|
|
5
63
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/editor",
|
|
3
|
-
"version": "0.10.0
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "Mastra Editor for agent management and instantiation",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"@arcadeai/arcadejs": "^2.3.0",
|
|
76
76
|
"@composio/core": "^0.6.5",
|
|
77
77
|
"@composio/mastra": "^0.6.5",
|
|
78
|
-
"@mastra/memory": "1.20.0
|
|
78
|
+
"@mastra/memory": "1.20.0",
|
|
79
79
|
"@mastra/schema-compat": "1.2.10"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
@@ -85,18 +85,17 @@
|
|
|
85
85
|
"typescript": "^6.0.3",
|
|
86
86
|
"vitest": "4.1.5",
|
|
87
87
|
"zod": "^3.25.76",
|
|
88
|
-
"@internal/ai-sdk-v4": "0.0.
|
|
89
|
-
"@internal/ai-
|
|
90
|
-
"@
|
|
91
|
-
"@
|
|
92
|
-
"@mastra/
|
|
88
|
+
"@internal/ai-sdk-v4": "0.0.45",
|
|
89
|
+
"@internal/ai-sdk-v5": "0.0.45",
|
|
90
|
+
"@internal/ai-v6": "0.0.45",
|
|
91
|
+
"@mastra/hono": "1.4.19",
|
|
92
|
+
"@mastra/core": "1.37.0",
|
|
93
93
|
"@mastra/libsql": "1.11.1",
|
|
94
|
-
"@mastra/mcp": "1.8.
|
|
94
|
+
"@mastra/mcp": "1.8.1"
|
|
95
95
|
},
|
|
96
96
|
"peerDependencies": {
|
|
97
97
|
"@mastra/core": ">=1.34.0-0 <2.0.0-0",
|
|
98
|
-
"@mastra/mcp": ">=1.0.0-0 <2.0.0-0"
|
|
99
|
-
"zod": "^3.25.0 || ^4.0.0"
|
|
98
|
+
"@mastra/mcp": ">=1.0.0-0 <2.0.0-0"
|
|
100
99
|
},
|
|
101
100
|
"peerDependenciesMeta": {
|
|
102
101
|
"@mastra/mcp": {
|