@mastra/deployer 0.11.0-alpha.1 → 0.11.0-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.
Files changed (34) hide show
  1. package/dist/_tsup-dts-rollup.d.cts +79 -8
  2. package/dist/_tsup-dts-rollup.d.ts +79 -8
  3. package/dist/build/analyze.cjs +2 -2
  4. package/dist/build/analyze.js +1 -1
  5. package/dist/build/bundler.cjs +3 -3
  6. package/dist/build/bundler.js +1 -1
  7. package/dist/build/index.cjs +15 -15
  8. package/dist/build/index.js +5 -5
  9. package/dist/bundler/index.cjs +2 -2
  10. package/dist/bundler/index.js +1 -1
  11. package/dist/{chunk-GPD54HBC.js → chunk-7HFWRNM7.js} +1 -7
  12. package/dist/{chunk-Z544XXXK.js → chunk-AFR3LY44.js} +45 -4
  13. package/dist/{chunk-LT2BJRBN.js → chunk-APPDEIPA.js} +9 -4
  14. package/dist/{chunk-YFMAWUII.cjs → chunk-D73JIE6N.cjs} +37 -19
  15. package/dist/{chunk-HJGC75ZR.js → chunk-DB7LRMOC.js} +27 -9
  16. package/dist/{chunk-M2VZQFTW.cjs → chunk-E7ZSCQUV.cjs} +15 -9
  17. package/dist/{chunk-KCP5ITLV.cjs → chunk-F25LATVR.cjs} +3 -9
  18. package/dist/{chunk-TIC2KT3M.js → chunk-HZNWZQHG.js} +2 -1
  19. package/dist/{chunk-D2DCFCLH.cjs → chunk-MOG6ASL4.cjs} +4 -3
  20. package/dist/{chunk-ENT5RDOI.js → chunk-NB6XIOPQ.js} +14 -8
  21. package/dist/{chunk-YVPLA2GR.cjs → chunk-TK2RG7LU.cjs} +14 -9
  22. package/dist/{chunk-UYQZMNZL.js → chunk-TLGEPS44.js} +29 -3
  23. package/dist/{chunk-54KOF3NB.cjs → chunk-WKW236CI.cjs} +46 -4
  24. package/dist/{chunk-XKH6F4NE.cjs → chunk-WTGMSQT5.cjs} +32 -6
  25. package/dist/index.cjs +11 -11
  26. package/dist/index.js +4 -4
  27. package/dist/server/index.cjs +1169 -375
  28. package/dist/server/index.d.cts +1 -0
  29. package/dist/server/index.d.ts +1 -0
  30. package/dist/server/index.js +1174 -381
  31. package/dist/services/index.cjs +4 -4
  32. package/dist/services/index.js +1 -1
  33. package/dist/templates/instrumentation-template.js +10 -6
  34. package/package.json +3 -3
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
 
3
- var chunkKCP5ITLV_cjs = require('../chunk-KCP5ITLV.cjs');
3
+ var chunkF25LATVR_cjs = require('../chunk-F25LATVR.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "DepsService", {
8
8
  enumerable: true,
9
- get: function () { return chunkKCP5ITLV_cjs.DepsService; }
9
+ get: function () { return chunkF25LATVR_cjs.DepsService; }
10
10
  });
11
11
  Object.defineProperty(exports, "EnvService", {
12
12
  enumerable: true,
13
- get: function () { return chunkKCP5ITLV_cjs.EnvService; }
13
+ get: function () { return chunkF25LATVR_cjs.EnvService; }
14
14
  });
15
15
  Object.defineProperty(exports, "FileService", {
16
16
  enumerable: true,
17
- get: function () { return chunkKCP5ITLV_cjs.FileService; }
17
+ get: function () { return chunkF25LATVR_cjs.FileService; }
18
18
  });
@@ -1 +1 @@
1
- export { DepsService, EnvService, FileService } from '../chunk-GPD54HBC.js';
1
+ export { DepsService, EnvService, FileService } from '../chunk-7HFWRNM7.js';
@@ -127,11 +127,15 @@ const sdk = new NodeSDK({
127
127
  instrumentations: [getNodeAutoInstrumentations()],
128
128
  });
129
129
 
130
- sdk.start();
130
+ if (telemetry.enabled !== false) {
131
+ sdk.start();
131
132
 
132
- // gracefully shut down the SDK on process exit
133
- process.on('SIGTERM', () => {
134
- sdk.shutdown().catch(() => {
135
- // do nothing
133
+ // gracefully shut down the SDK on process exit
134
+ process.on('SIGTERM', () => {
135
+ sdk.shutdown().catch(() => {
136
+ // do nothing
137
+ });
136
138
  });
137
- });
139
+ }
140
+
141
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/deployer",
3
- "version": "0.11.0-alpha.1",
3
+ "version": "0.11.0-alpha.2",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
@@ -108,7 +108,7 @@
108
108
  "rollup-plugin-node-externals": "^8.0.1",
109
109
  "typescript-paths": "^1.5.1",
110
110
  "zod": "^3.25.67",
111
- "@mastra/server": "^0.11.0-alpha.1"
111
+ "@mastra/server": "^0.11.0-alpha.2"
112
112
  },
113
113
  "devDependencies": {
114
114
  "@hono/node-server": "^1.14.4",
@@ -128,7 +128,7 @@
128
128
  "typescript": "^5.8.3",
129
129
  "vitest": "^3.2.4",
130
130
  "@internal/lint": "0.0.20",
131
- "@mastra/core": "0.11.0-alpha.1",
131
+ "@mastra/core": "0.11.0-alpha.2",
132
132
  "@mastra/mcp": "^0.10.6"
133
133
  },
134
134
  "peerDependencies": {