@mastra/editor 0.10.1-alpha.0 → 0.10.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @mastra/editor
2
2
 
3
+ ## 0.10.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Added optional constructor argument support to `createBuilderAgent()` so callers can override agent defaults while the canonical `id`, `name`, and `description` are preserved. ([#17109](https://github.com/mastra-ai/mastra/pull/17109))
8
+
9
+ ```ts
10
+ // Before — could only use the built-in defaults
11
+ const builder = createBuilderAgent();
12
+
13
+ // After — pass overrides while keeping the canonical identity
14
+ const builder = createBuilderAgent({
15
+ model: openai('gpt-4o'),
16
+ instructions: 'Custom instructions for this deployment',
17
+ });
18
+ ```
19
+
20
+ - Updated dependencies [[`21db1a4`](https://github.com/mastra-ai/mastra/commit/21db1a4b8ac058d5a4fbe38b516cc1b81e526915)]:
21
+ - @mastra/core@1.37.1
22
+
3
23
  ## 0.10.1-alpha.0
4
24
 
5
25
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/editor",
3
- "version": "0.10.1-alpha.0",
3
+ "version": "0.10.1",
4
4
  "description": "Mastra Editor for agent management and instantiation",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
@@ -85,13 +85,13 @@
85
85
  "typescript": "^6.0.3",
86
86
  "vitest": "4.1.5",
87
87
  "zod": "^3.25.76",
88
- "@internal/ai-v6": "0.0.45",
89
- "@internal/ai-sdk-v5": "0.0.45",
90
- "@mastra/hono": "1.4.19",
88
+ "@internal/ai-sdk-v4": "0.0.46",
89
+ "@internal/ai-sdk-v5": "0.0.46",
90
+ "@mastra/core": "1.37.1",
91
91
  "@mastra/libsql": "1.11.1",
92
- "@mastra/core": "1.37.0",
93
- "@internal/ai-sdk-v4": "0.0.45",
94
- "@mastra/mcp": "1.8.1"
92
+ "@mastra/hono": "1.4.20",
93
+ "@mastra/mcp": "1.8.1",
94
+ "@internal/ai-v6": "0.0.46"
95
95
  },
96
96
  "peerDependencies": {
97
97
  "@mastra/core": ">=1.34.0-0 <2.0.0-0",