@mastra/editor 0.6.0-alpha.0 → 0.6.1-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.
Files changed (2) hide show
  1. package/CHANGELOG.md +82 -0
  2. package/package.json +10 -10
package/CHANGELOG.md CHANGED
@@ -1,5 +1,87 @@
1
1
  # @mastra/editor
2
2
 
3
+ ## 0.6.1-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`e8afc44`](https://github.com/mastra-ai/mastra/commit/e8afc44a41f24ffe8b8ae4a5ee27cfddbe7934a6), [`24284ff`](https://github.com/mastra-ai/mastra/commit/24284ffae306ddf0ab83273e13f033520839ef40), [`f5097cc`](https://github.com/mastra-ai/mastra/commit/f5097cc8a813c82c3378882c31178320cadeb655), [`71e237f`](https://github.com/mastra-ai/mastra/commit/71e237fa852a3ad9a50a3ddb3b5f3b20b9a8181c), [`c2e02f1`](https://github.com/mastra-ai/mastra/commit/c2e02f181843cbda8db6fd893adce85edc0f8742), [`13a291e`](https://github.com/mastra-ai/mastra/commit/13a291ebb9f9bca80befa0d9166b916bb348e8e9), [`397af5a`](https://github.com/mastra-ai/mastra/commit/397af5a69f34d4157f51a7c8da3f1ded1e1d611c), [`d4701f7`](https://github.com/mastra-ai/mastra/commit/d4701f7e24822b081b70f9c806c39411b1a712e7), [`2b40831`](https://github.com/mastra-ai/mastra/commit/2b40831dcca2275c9570ddf09b7f25ba3e8dc7fc), [`6184727`](https://github.com/mastra-ai/mastra/commit/6184727e812bf7a65cee209bacec3a2f5a16e923), [`6f6385b`](https://github.com/mastra-ai/mastra/commit/6f6385be5b33687cd21e71fc27e972e6928bb34c), [`14aba61`](https://github.com/mastra-ai/mastra/commit/14aba61b9cff76d72bc7ef6f3a83ae2c5d059193), [`dd9dd1c`](https://github.com/mastra-ai/mastra/commit/dd9dd1c9ae32ae79093f8c4adde1732ac6357233)]:
8
+ - @mastra/memory@1.5.1-alpha.0
9
+ - @mastra/core@1.7.0-alpha.0
10
+
11
+ ## 0.6.0
12
+
13
+ ### Minor Changes
14
+
15
+ - Added Processor Providers — a new system for configuring and hydrating processors on stored agents. Define custom processor types with config schemas, available phases, and a factory method, then compose them into serializable processor graphs that support sequential, parallel, and conditional execution. ([#13219](https://github.com/mastra-ai/mastra/pull/13219))
16
+
17
+ **Example — custom processor provider:**
18
+
19
+ ```ts
20
+ import { MastraEditor } from '@mastra/editor';
21
+
22
+ // Built-in processors (token-limiter, unicode-normalizer, etc.) are registered automatically.
23
+ // Only register custom providers for your own processors:
24
+ const editor = new MastraEditor({
25
+ processorProviders: {
26
+ 'my-custom-filter': myCustomFilterProvider,
27
+ },
28
+ });
29
+ ```
30
+
31
+ **Example — stored agent with a processor graph:**
32
+
33
+ ```ts
34
+ const agentConfig = {
35
+ inputProcessors: {
36
+ steps: [
37
+ {
38
+ type: 'step',
39
+ step: { id: 'norm', providerId: 'unicode-normalizer', config: {}, enabledPhases: ['processInput'] },
40
+ },
41
+ {
42
+ type: 'step',
43
+ step: {
44
+ id: 'limit',
45
+ providerId: 'token-limiter',
46
+ config: { limit: 4000 },
47
+ enabledPhases: ['processInput', 'processOutputStream'],
48
+ },
49
+ },
50
+ ],
51
+ },
52
+ };
53
+ ```
54
+
55
+ - Added MCP server storage and editor support. MCP server configurations can now be persisted in storage and managed through the editor CMS. The editor's `mcpServer` namespace provides full CRUD operations and automatically hydrates stored configs into running `MCPServer` instances by resolving tool, agent, and workflow references from the Mastra registry. ([#13285](https://github.com/mastra-ai/mastra/pull/13285))
56
+
57
+ ```ts
58
+ const editor = new MastraEditor();
59
+ const mastra = new Mastra({
60
+ tools: { getWeather: weatherTool, calculate: calculatorTool },
61
+ storage: new LibSQLStore({ url: ':memory:' }),
62
+ editor,
63
+ });
64
+
65
+ // Store an MCP server config referencing tools by ID
66
+ const server = await editor.mcpServer.create({
67
+ id: 'my-server',
68
+ name: 'My MCP Server',
69
+ version: '1.0.0',
70
+ tools: { getWeather: {}, calculate: { description: 'Custom description' } },
71
+ });
72
+
73
+ // Retrieve — automatically hydrates into a real MCPServer with resolved tools
74
+ const mcp = await editor.mcpServer.getById('my-server');
75
+ const tools = mcp.tools(); // { getWeather: ..., calculate: ... }
76
+ ```
77
+
78
+ ### Patch Changes
79
+
80
+ - Updated dependencies [[`0d9efb4`](https://github.com/mastra-ai/mastra/commit/0d9efb47992c34aa90581c18b9f51f774f6252a5), [`7184d87`](https://github.com/mastra-ai/mastra/commit/7184d87c9237d26862f500ccfd0c9f9eadd38ddf), [`5caa13d`](https://github.com/mastra-ai/mastra/commit/5caa13d1b2a496e2565ab124a11de9a51ad3e3b9), [`270dd16`](https://github.com/mastra-ai/mastra/commit/270dd168a86698a699d8a9de8dbce1a40f72d862), [`940163f`](https://github.com/mastra-ai/mastra/commit/940163fc492401d7562301e6f106ccef4fefe06f), [`b260123`](https://github.com/mastra-ai/mastra/commit/b2601234bd093d358c92081a58f9b0befdae52b3), [`47892c8`](https://github.com/mastra-ai/mastra/commit/47892c85708eac348209f99f10f9a5f5267e11c0), [`45bb78b`](https://github.com/mastra-ai/mastra/commit/45bb78b70bd9db29678fe49476cd9f4ed01bfd0b), [`70eef84`](https://github.com/mastra-ai/mastra/commit/70eef84b8f44493598fdafa2980a0e7283415eda), [`d84e52d`](https://github.com/mastra-ai/mastra/commit/d84e52d0f6511283ddd21ed5fe7f945449d0f799), [`24b80af`](https://github.com/mastra-ai/mastra/commit/24b80af87da93bb84d389340181e17b7477fa9ca), [`608e156`](https://github.com/mastra-ai/mastra/commit/608e156def954c9604c5e3f6d9dfce3bcc7aeab0), [`78d1c80`](https://github.com/mastra-ai/mastra/commit/78d1c808ad90201897a300af551bcc1d34458a20), [`2b2e157`](https://github.com/mastra-ai/mastra/commit/2b2e157a092cd597d9d3f0000d62b8bb4a7348ed), [`78d1c80`](https://github.com/mastra-ai/mastra/commit/78d1c808ad90201897a300af551bcc1d34458a20), [`59d30b5`](https://github.com/mastra-ai/mastra/commit/59d30b5d0cb44ea7a1c440e7460dfb57eac9a9b5), [`453693b`](https://github.com/mastra-ai/mastra/commit/453693bf9e265ddccecef901d50da6caaea0fbc6), [`78d1c80`](https://github.com/mastra-ai/mastra/commit/78d1c808ad90201897a300af551bcc1d34458a20), [`c204b63`](https://github.com/mastra-ai/mastra/commit/c204b632d19e66acb6d6e19b11c4540dd6ad5380), [`742a417`](https://github.com/mastra-ai/mastra/commit/742a417896088220a3b5560c354c45c5ca6d88b9)]:
81
+ - @mastra/core@1.6.0
82
+ - @mastra/schema-compat@1.1.2
83
+ - @mastra/memory@1.5.0
84
+
3
85
  ## 0.6.0-alpha.0
4
86
 
5
87
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/editor",
3
- "version": "0.6.0-alpha.0",
3
+ "version": "0.6.1-alpha.0",
4
4
  "description": "Mastra Editor for agent management and instantiation",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
@@ -55,22 +55,22 @@
55
55
  "@arcadeai/arcadejs": "^2.2.0",
56
56
  "@composio/core": "^0.6.3",
57
57
  "@composio/mastra": "^0.6.3",
58
- "@mastra/memory": "1.5.0-alpha.0",
59
- "@mastra/schema-compat": "1.1.2-alpha.0"
58
+ "@mastra/memory": "1.5.1-alpha.0",
59
+ "@mastra/schema-compat": "1.1.2"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@hono/node-server": "^1.14.1",
63
63
  "hono": "^4.7.10",
64
64
  "tsup": "^8.0.2",
65
65
  "typescript": "^5.9.3",
66
- "vitest": "4.0.16",
66
+ "vitest": "4.0.18",
67
67
  "zod": "^3.25.76",
68
- "@internal/ai-sdk-v5": "0.0.7",
69
- "@internal/ai-sdk-v4": "0.0.7",
70
- "@internal/ai-v6": "0.0.7",
71
- "@mastra/core": "1.6.0-alpha.0",
72
- "@mastra/hono": "1.1.5-alpha.0",
73
- "@mastra/libsql": "1.6.0-alpha.0",
68
+ "@internal/ai-sdk-v4": "0.0.8",
69
+ "@internal/ai-sdk-v5": "0.0.8",
70
+ "@internal/ai-v6": "0.0.8",
71
+ "@mastra/core": "1.7.0-alpha.0",
72
+ "@mastra/hono": "1.1.6-alpha.0",
73
+ "@mastra/libsql": "1.6.1-alpha.0",
74
74
  "@mastra/mcp": "1.0.1"
75
75
  },
76
76
  "peerDependencies": {