@mastra/editor 0.7.24 → 0.7.25-alpha.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 +10 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @mastra/editor
|
|
2
2
|
|
|
3
|
+
## 0.7.25-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fixed stored agent tool overrides so conditional tool configuration no longer recursively calls the forked agent when merging code-defined tools. ([#16544](https://github.com/mastra-ai/mastra/pull/16544))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`fceae1f`](https://github.com/mastra-ai/mastra/commit/fceae1f5f5db4722cb078a663c6eb4bd22944123), [`97fe629`](https://github.com/mastra-ai/mastra/commit/97fe629d07b0a9952e6657b1e6334ca4d9aa15ce), [`bf02acb`](https://github.com/mastra-ai/mastra/commit/bf02acbb8a6110f638ac844e89f1ebf04cb7fe74), [`0fd3fbe`](https://github.com/mastra-ai/mastra/commit/0fd3fbe40fb63657aedd72f6e7b38c8e8ee6940d), [`fed0475`](https://github.com/mastra-ai/mastra/commit/fed0475ccfea31e4fc251469ac05640d0742c1f0), [`522f44d`](https://github.com/mastra-ai/mastra/commit/522f44d947214bfc06cff50599bae1ef3494880d)]:
|
|
10
|
+
- @mastra/core@1.34.0-alpha.1
|
|
11
|
+
- @mastra/memory@1.18.1-alpha.0
|
|
12
|
+
|
|
3
13
|
## 0.7.24
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -697,7 +697,7 @@ var EditorAgentNamespace = class extends CrudEditorNamespace {
|
|
|
697
697
|
const hasConditionalIntegrationTools = storedConfig.integrationTools != null && this.isConditionalVariants(storedConfig.integrationTools);
|
|
698
698
|
const isDynamicTools = hasConditionalTools || hasConditionalMCPClients || hasConditionalIntegrationTools || hasStoredIntegrationTools;
|
|
699
699
|
if (isDynamicTools) {
|
|
700
|
-
const originalTools =
|
|
700
|
+
const originalTools = agent.listTools.bind(agent);
|
|
701
701
|
const toolsFn = async ({ requestContext: requestContext2 }) => {
|
|
702
702
|
const codeTools = await originalTools({ requestContext: requestContext2 });
|
|
703
703
|
const ctx = requestContext2.toJSON();
|
package/dist/index.js
CHANGED
|
@@ -649,7 +649,7 @@ var EditorAgentNamespace = class extends CrudEditorNamespace {
|
|
|
649
649
|
const hasConditionalIntegrationTools = storedConfig.integrationTools != null && this.isConditionalVariants(storedConfig.integrationTools);
|
|
650
650
|
const isDynamicTools = hasConditionalTools || hasConditionalMCPClients || hasConditionalIntegrationTools || hasStoredIntegrationTools;
|
|
651
651
|
if (isDynamicTools) {
|
|
652
|
-
const originalTools =
|
|
652
|
+
const originalTools = agent.listTools.bind(agent);
|
|
653
653
|
const toolsFn = async ({ requestContext: requestContext2 }) => {
|
|
654
654
|
const codeTools = await originalTools({ requestContext: requestContext2 });
|
|
655
655
|
const ctx = requestContext2.toJSON();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/editor",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.25-alpha.0",
|
|
4
4
|
"description": "Mastra Editor for agent management and instantiation",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@arcadeai/arcadejs": "^2.3.0",
|
|
66
66
|
"@composio/core": "^0.6.5",
|
|
67
67
|
"@composio/mastra": "^0.6.5",
|
|
68
|
-
"@mastra/memory": "1.18.0",
|
|
68
|
+
"@mastra/memory": "1.18.1-alpha.0",
|
|
69
69
|
"@mastra/schema-compat": "1.2.10"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
@@ -75,13 +75,13 @@
|
|
|
75
75
|
"typescript": "^6.0.3",
|
|
76
76
|
"vitest": "4.1.5",
|
|
77
77
|
"zod": "^3.25.76",
|
|
78
|
-
"@internal/ai-sdk-v4": "0.0.
|
|
79
|
-
"@internal/ai-
|
|
80
|
-
"@mastra/
|
|
81
|
-
"@mastra/
|
|
82
|
-
"@
|
|
78
|
+
"@internal/ai-sdk-v4": "0.0.41",
|
|
79
|
+
"@internal/ai-sdk-v5": "0.0.41",
|
|
80
|
+
"@mastra/core": "1.34.0-alpha.2",
|
|
81
|
+
"@mastra/hono": "1.4.16-alpha.2",
|
|
82
|
+
"@mastra/libsql": "1.10.1",
|
|
83
83
|
"@mastra/mcp": "1.7.0",
|
|
84
|
-
"@
|
|
84
|
+
"@internal/ai-v6": "0.0.41"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
87
|
"@mastra/core": ">=1.13.2-0 <2.0.0-0",
|