mastra 0.4.1-alpha.0 → 0.4.1-alpha.2

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/dist/index.js CHANGED
@@ -258,8 +258,8 @@ var startServer = async (dotMastraPath, port, env) => {
258
258
  {
259
259
  cwd: dotMastraPath,
260
260
  env: {
261
- PORT: port.toString() || "4111",
262
261
  ...Object.fromEntries(env),
262
+ PORT: port.toString() || process.env.PORT || "4111",
263
263
  MASTRA_DEFAULT_STORAGE_URL: `file:${join(dotMastraPath, "..", "mastra.db")}`
264
264
  },
265
265
  stdio: "inherit",
@@ -6,11 +6,6 @@ import { TABLE_EVALS } from '@mastra/core/storage';
6
6
  import { mastra } from '#mastra';
7
7
  import { createNodeServer } from '#server';
8
8
 
9
- // init storage
10
- if (mastra.storage) {
11
- await mastra.storage.init();
12
- }
13
-
14
9
  // @ts-ignore
15
10
  await createNodeServer(mastra, { playground: true, swaggerUI: true });
16
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mastra",
3
- "version": "0.4.1-alpha.0",
3
+ "version": "0.4.1-alpha.2",
4
4
  "license": "ISC",
5
5
  "description": "cli for mastra",
6
6
  "type": "module",
@@ -55,8 +55,8 @@
55
55
  "yocto-spinner": "^0.1.2",
56
56
  "zod": "^3.24.2",
57
57
  "zod-to-json-schema": "^3.24.3",
58
- "@mastra/deployer": "^0.2.2-alpha.0",
59
- "@mastra/core": "^0.6.1"
58
+ "@mastra/core": "^0.6.2-alpha.0",
59
+ "@mastra/deployer": "^0.2.2-alpha.1"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@microsoft/api-extractor": "^7.52.1",
@@ -74,9 +74,9 @@
74
74
  "type-fest": "^4.37.0",
75
75
  "typescript": "^5.8.2",
76
76
  "vitest": "^3.0.8",
77
- "@internal/lint": "0.0.1",
78
- "@mastra/client-js": "0.1.9",
79
- "@mastra/playground-ui": "2.0.1"
77
+ "@mastra/client-js": "0.1.10-alpha.0",
78
+ "@mastra/playground-ui": "2.0.2-alpha.0",
79
+ "@internal/lint": "0.0.1"
80
80
  },
81
81
  "scripts": {
82
82
  "build": "npm-run-all --serial build:lib copy-starter-files copy-templates build:playground",