@mastra/editor 0.17.1-alpha.5 → 0.17.1-alpha.6

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.
@@ -3,7 +3,7 @@ name: mastra-editor
3
3
  description: Documentation for @mastra/editor. Use when working with @mastra/editor APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/editor"
6
- version: "0.17.1-alpha.5"
6
+ version: "0.17.1-alpha.6"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.17.1-alpha.5",
2
+ "version": "0.17.1-alpha.6",
3
3
  "package": "@mastra/editor",
4
4
  "exports": {
5
5
  "CrudEditorNamespace": {
@@ -38,7 +38,7 @@ export const mastra = new Mastra({
38
38
 
39
39
  **builder** (`AgentBuilderOptions`): Agent Builder configuration. See the AgentBuilderOptions reference. Omit or set enabled: false to disable the Builder.
40
40
 
41
- **source** (`'code' | 'db'`): Where agent overrides are stored. With 'db', overrides live in the configured storage backend and Studio shows the save and publish flow. With 'code', overrides live as per-agent JSON files on disk (routed through a local FilesystemStore) and Studio shows filesystem actions. See Editor storage options for the difference. (Default: `'db'`)
41
+ **source** (`'code' | 'db'`): Where agent overrides are stored. With 'db', overrides live in the configured storage backend and Studio shows the save and publish flow. With 'code', overrides live as per-agent JSON files at codePath (routed through a local FilesystemStore) and Studio shows filesystem actions. When source is 'code' and a source-control provider is configured, agent overrides are persisted through source-control operations instead of the local filesystem, and the provider controls the repository path. A provider passed as sourceControlProvider uses its own pathPrefix; the provider created from environment variables uses MASTRA_SOURCE_STORAGE_PATH_PREFIX when it is set, and codePath otherwise. The environment provider is created only when MASTRA_SOURCE_PROVIDER is github, an endpoint is set (MASTRA_SOURCE_PROVIDER_ENDPOINT, MASTRA_SHARED_API_URL, or MASTRA_CLOUD_API_ENDPOINT), and a token is set (MASTRA_PLATFORM_ACCESS_TOKEN or MASTRA_CLOUD_ACCESS_TOKEN). Each list is checked in order and the first defined variable wins, so an empty higher-priority variable disables the provider instead of falling back. The endpoint is a Mastra platform API that brokers the GitHub operations, so the provider never calls the GitHub API directly. Without a provider, overrides stay in the local files at codePath. See Editor storage options for the difference. (Default: `'db'`)
42
42
 
43
43
  **codePath** (`string`): Directory used by the 'code' source for per-agent JSON files. Ignored when source is not 'code'. (Default: `'./mastra/editor'`)
44
44
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/editor",
3
- "version": "0.17.1-alpha.5",
3
+ "version": "0.17.1-alpha.6",
4
4
  "description": "Mastra Editor for agent management and instantiation",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.cjs",
@@ -75,8 +75,8 @@
75
75
  "@arcadeai/arcadejs": "^2.4.1",
76
76
  "@composio/core": "^0.18.1",
77
77
  "@composio/mastra": "^0.10.6",
78
- "@mastra/memory": "1.41.1-alpha.3",
79
- "@mastra/schema-compat": "1.3.18-alpha.0"
78
+ "@mastra/memory": "1.41.1-alpha.4",
79
+ "@mastra/schema-compat": "1.4.0-alpha.1"
80
80
  },
81
81
  "devDependencies": {
82
82
  "@hono/node-server": "^2.1.3",
@@ -87,12 +87,12 @@
87
87
  "typescript": "^7.0.2",
88
88
  "vitest": "5.1.0",
89
89
  "zod": "^4.6.7",
90
- "@internal/ai-v6": "0.0.95",
91
90
  "@internal/ai-sdk-v4": "0.0.95",
92
91
  "@internal/ai-sdk-v5": "0.0.95",
93
- "@mastra/core": "1.83.0-alpha.7",
94
- "@mastra/hono": "1.7.25-alpha.7",
95
- "@mastra/libsql": "1.30.0-alpha.2",
92
+ "@internal/ai-v6": "0.0.95",
93
+ "@mastra/core": "1.83.0-alpha.9",
94
+ "@mastra/hono": "1.7.25-alpha.9",
95
+ "@mastra/libsql": "1.30.0-alpha.3",
96
96
  "@mastra/mcp": "2.9.0-alpha.3"
97
97
  },
98
98
  "peerDependencies": {