@mastra/editor 0.7.9 → 0.7.10-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/CHANGELOG.md +18 -0
- package/dist/index.cjs +6 -0
- package/dist/index.js +6 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @mastra/editor
|
|
2
2
|
|
|
3
|
+
## 0.7.10-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Code-defined agents no longer get overridden with draft version data when no version has been explicitly published. When requesting `published` status and no `activeVersionId` is set, the agent's code defaults are preserved instead of falling back to the latest draft. ([#14894](https://github.com/mastra-ai/mastra/pull/14894))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`542977f`](https://github.com/mastra-ai/mastra/commit/542977fe5043678df071ad3982b6bcbc78d95f02), [`9c57f2f`](https://github.com/mastra-ai/mastra/commit/9c57f2f7241e9f94769aa99fc86c531e8207d0f9), [`5bfc691`](https://github.com/mastra-ai/mastra/commit/5bfc69104c07ba7a9b55c2f8536422c0878b9c57), [`d2d0bea`](https://github.com/mastra-ai/mastra/commit/d2d0beaafba2e25b9ad368015ce91312c372f6a5)]:
|
|
10
|
+
- @mastra/memory@1.12.0-alpha.1
|
|
11
|
+
- @mastra/core@1.19.0-alpha.2
|
|
12
|
+
|
|
13
|
+
## 0.7.10-alpha.0
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [[`180aaaf`](https://github.com/mastra-ai/mastra/commit/180aaaf4d0903d33a49bc72de2d40ca69a5bc599), [`25bbff6`](https://github.com/mastra-ai/mastra/commit/25bbff67dadc01d5a18095574421f6266f610b17)]:
|
|
18
|
+
- @mastra/core@1.18.1-alpha.0
|
|
19
|
+
- @mastra/memory@1.11.1-alpha.0
|
|
20
|
+
|
|
3
21
|
## 0.7.9
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -683,6 +683,12 @@ var EditorAgentNamespace = class extends CrudEditorNamespace {
|
|
|
683
683
|
this.clearResolvedVersionId(agent);
|
|
684
684
|
return agent;
|
|
685
685
|
}
|
|
686
|
+
const requestedPublished = options && !("versionId" in options) && options.status === "published";
|
|
687
|
+
if (requestedPublished && !storedConfig.activeVersionId) {
|
|
688
|
+
this.restoreCodeDefaults(agent);
|
|
689
|
+
this.clearResolvedVersionId(agent);
|
|
690
|
+
return agent;
|
|
691
|
+
}
|
|
686
692
|
this.saveCodeDefaults(agent);
|
|
687
693
|
this.restoreCodeDefaults(agent);
|
|
688
694
|
this.saveCodeDefaults(agent);
|
package/dist/index.js
CHANGED
|
@@ -635,6 +635,12 @@ var EditorAgentNamespace = class extends CrudEditorNamespace {
|
|
|
635
635
|
this.clearResolvedVersionId(agent);
|
|
636
636
|
return agent;
|
|
637
637
|
}
|
|
638
|
+
const requestedPublished = options && !("versionId" in options) && options.status === "published";
|
|
639
|
+
if (requestedPublished && !storedConfig.activeVersionId) {
|
|
640
|
+
this.restoreCodeDefaults(agent);
|
|
641
|
+
this.clearResolvedVersionId(agent);
|
|
642
|
+
return agent;
|
|
643
|
+
}
|
|
638
644
|
this.saveCodeDefaults(agent);
|
|
639
645
|
this.restoreCodeDefaults(agent);
|
|
640
646
|
this.saveCodeDefaults(agent);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/editor",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.10-alpha.1",
|
|
4
4
|
"description": "Mastra Editor for agent management and instantiation",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"@arcadeai/arcadejs": "^2.3.0",
|
|
66
66
|
"@composio/core": "^0.6.5",
|
|
67
67
|
"@composio/mastra": "^0.6.5",
|
|
68
|
-
"@mastra/
|
|
69
|
-
"@mastra/
|
|
68
|
+
"@mastra/schema-compat": "1.2.7",
|
|
69
|
+
"@mastra/memory": "1.12.0-alpha.1"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@hono/node-server": "^1.19.11",
|
|
@@ -76,12 +76,12 @@
|
|
|
76
76
|
"vitest": "4.0.18",
|
|
77
77
|
"zod": "^3.25.76",
|
|
78
78
|
"@internal/ai-sdk-v4": "0.0.22",
|
|
79
|
-
"@
|
|
80
|
-
"@mastra/core": "1.18.0",
|
|
81
|
-
"@mastra/hono": "1.3.1",
|
|
79
|
+
"@mastra/core": "1.19.0-alpha.2",
|
|
82
80
|
"@internal/ai-v6": "0.0.22",
|
|
81
|
+
"@internal/ai-sdk-v5": "0.0.22",
|
|
82
|
+
"@mastra/hono": "1.3.2-alpha.2",
|
|
83
83
|
"@mastra/libsql": "1.7.3",
|
|
84
|
-
"@mastra/mcp": "1.
|
|
84
|
+
"@mastra/mcp": "1.4.0-alpha.0"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
87
|
"@mastra/core": ">=1.7.1-0 <2.0.0-0",
|