mastra 1.26.0-alpha.3 → 1.26.0-alpha.4
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 +8 -0
- package/dist/commands/start/start.d.ts.map +1 -1
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/index.js +4 -6
- package/dist/index.js.map +1 -1
- package/dist/studio/assets/{core-C3Lke4qH.js → core-DBWTmlPO.js} +1 -1
- package/dist/studio/assets/{index-DvlE-vkV.js → index-CC7Tuj7K.js} +2 -2
- package/dist/studio/assets/{main-p76rSoUx.js → main-rha8Sy24.js} +3 -3
- package/dist/studio/index.html +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# mastra
|
|
2
2
|
|
|
3
|
+
## 1.26.0-alpha.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`034d353`](https://github.com/mastra-ai/mastra/commit/034d3534130ae6f17d1e81a1dcf956bac0a820ee)]:
|
|
8
|
+
- @mastra/deployer@1.61.0-alpha.4
|
|
9
|
+
- @mastra/core@1.61.0-alpha.4
|
|
10
|
+
|
|
3
11
|
## 1.26.0-alpha.3
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start.d.ts","sourceRoot":"","sources":["../../../src/commands/start/start.ts"],"names":[],"mappings":"AAOA,UAAU,YAAY;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB;AAQD,eAAO,MAAM,iBAAiB,UAAY,CAAC;AAI3C,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,GAAE,MAA0B,GAAG,MAAM,CAElG;AAED,wBAAsB,KAAK,CAAC,OAAO,GAAE,YAAiB,
|
|
1
|
+
{"version":3,"file":"start.d.ts","sourceRoot":"","sources":["../../../src/commands/start/start.ts"],"names":[],"mappings":"AAOA,UAAU,YAAY;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB;AAQD,eAAO,MAAM,iBAAiB,UAAY,CAAC;AAI3C,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,GAAE,MAA0B,GAAG,MAAM,CAElG;AAED,wBAAsB,KAAK,CAAC,OAAO,GAAE,YAAiB,iBAgFrD"}
|
package/dist/docs/SKILL.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -42,7 +42,7 @@ import handler from "serve-handler";
|
|
|
42
42
|
//#region package.json
|
|
43
43
|
var package_default = {
|
|
44
44
|
name: "mastra",
|
|
45
|
-
version: "1.26.0-alpha.
|
|
45
|
+
version: "1.26.0-alpha.4",
|
|
46
46
|
license: "Apache-2.0",
|
|
47
47
|
description: "cli for mastra",
|
|
48
48
|
type: "module",
|
|
@@ -3949,15 +3949,15 @@ async function start(options = {}) {
|
|
|
3949
3949
|
stderrBuffer = boundStderr$1(stderrBuffer, data.toString());
|
|
3950
3950
|
process.stderr.write(data);
|
|
3951
3951
|
});
|
|
3952
|
-
server.on("exit", (code) => {
|
|
3953
|
-
if (code !== 0) {
|
|
3952
|
+
server.on("exit", (code, signal) => {
|
|
3953
|
+
if (code !== 0 && code !== null) {
|
|
3954
3954
|
if (stderrBuffer.includes("ERR_MODULE_NOT_FOUND")) {
|
|
3955
3955
|
const packageNameMatch = stderrBuffer.match(/Cannot find package '([^']+)'/);
|
|
3956
3956
|
const packageName = packageNameMatch ? packageNameMatch[1] : null;
|
|
3957
3957
|
if (packageName) logger.error("Module not found while starting Mastra server", { package: packageName });
|
|
3958
3958
|
}
|
|
3959
|
-
process.exit(code);
|
|
3960
3959
|
}
|
|
3960
|
+
process.exit(code ?? (signal ? 1 : 0));
|
|
3961
3961
|
});
|
|
3962
3962
|
server.on("error", (err) => {
|
|
3963
3963
|
logger.error("Failed to start server", { error: err.message });
|
|
@@ -3965,11 +3965,9 @@ async function start(options = {}) {
|
|
|
3965
3965
|
});
|
|
3966
3966
|
process.on("SIGINT", () => {
|
|
3967
3967
|
server.kill("SIGINT");
|
|
3968
|
-
process.exit(0);
|
|
3969
3968
|
});
|
|
3970
3969
|
process.on("SIGTERM", () => {
|
|
3971
3970
|
server.kill("SIGTERM");
|
|
3972
|
-
process.exit(0);
|
|
3973
3971
|
});
|
|
3974
3972
|
} catch (error) {
|
|
3975
3973
|
logger.error("Failed to start Mastra server", { error: error.message });
|