@mastra/deployer 1.52.0-alpha.4 → 1.52.0-alpha.9
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 +48 -0
- package/dist/build/analyze.cjs +2 -2
- package/dist/build/analyze.d.ts.map +1 -1
- package/dist/build/analyze.js +1 -1
- package/dist/build/babel/check-config-export.d.ts +2 -2
- package/dist/build/babel/check-config-export.d.ts.map +1 -1
- package/dist/build/babel/detect-pino-transports.d.ts +2 -2
- package/dist/build/babel/detect-pino-transports.d.ts.map +1 -1
- package/dist/build/babel/remove-all-options-except.d.ts +2 -2
- package/dist/build/babel/remove-all-options-except.d.ts.map +1 -1
- package/dist/build/babel/remove-deployer.d.ts +6 -2
- package/dist/build/babel/remove-deployer.d.ts.map +1 -1
- package/dist/build/babel/remove-non-referenced-nodes.d.ts +2 -2
- package/dist/build/babel/remove-non-referenced-nodes.d.ts.map +1 -1
- package/dist/build/bundler.cjs +5 -5
- package/dist/build/bundler.js +1 -1
- package/dist/build/index.cjs +22 -22
- package/dist/build/index.js +5 -5
- package/dist/build/plugins/remove-all-except.d.ts.map +1 -1
- package/dist/build/plugins/remove-deployer.d.ts.map +1 -1
- package/dist/build/plugins/remove-unused-references.d.ts.map +1 -1
- package/dist/bundler/index.cjs +3 -3
- package/dist/bundler/index.js +1 -1
- package/dist/{chunk-UFIOPABI.cjs → chunk-4XMRN3U4.cjs} +41 -54
- package/dist/chunk-4XMRN3U4.cjs.map +1 -0
- package/dist/{chunk-PLCERTF6.js → chunk-72CHYUGH.js} +6 -6
- package/dist/{chunk-PLCERTF6.js.map → chunk-72CHYUGH.js.map} +1 -1
- package/dist/{chunk-X2ZJLEWO.cjs → chunk-7CT7DAME.cjs} +13 -24
- package/dist/chunk-7CT7DAME.cjs.map +1 -0
- package/dist/{chunk-UY7KZXD2.js → chunk-CBK2CAL4.js} +7 -7
- package/dist/chunk-CBK2CAL4.js.map +1 -0
- package/dist/{chunk-VKAFARW6.cjs → chunk-FKKJQUGR.cjs} +4 -4
- package/dist/{chunk-VKAFARW6.cjs.map → chunk-FKKJQUGR.cjs.map} +1 -1
- package/dist/{chunk-SZ3KU5RT.cjs → chunk-GPKHP7J7.cjs} +12 -12
- package/dist/{chunk-SZ3KU5RT.cjs.map → chunk-GPKHP7J7.cjs.map} +1 -1
- package/dist/{chunk-S32IJ4F6.js → chunk-H6J5QQ45.js} +5 -5
- package/dist/{chunk-S32IJ4F6.js.map → chunk-H6J5QQ45.js.map} +1 -1
- package/dist/{chunk-5K7ECKKW.js → chunk-HPYZGYQL.js} +13 -25
- package/dist/chunk-HPYZGYQL.js.map +1 -0
- package/dist/{chunk-JTWXTX2D.js → chunk-PXUWQC3X.js} +37 -51
- package/dist/chunk-PXUWQC3X.js.map +1 -0
- package/dist/{chunk-2SUO6N5G.cjs → chunk-QGBVR3DR.cjs} +14 -14
- package/dist/{chunk-2SUO6N5G.cjs.map → chunk-QGBVR3DR.cjs.map} +1 -1
- package/dist/{chunk-7BDGRATY.cjs → chunk-XOP6IB66.cjs} +24 -24
- package/dist/chunk-XOP6IB66.cjs.map +1 -0
- package/dist/{chunk-ZL66GDLP.js → chunk-YUBKHO52.js} +2 -2
- package/dist/{chunk-ZL66GDLP.js.map → chunk-YUBKHO52.js.map} +1 -1
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +5 -5
- package/dist/docs/references/docs-deployment-mastra-server.md +35 -0
- package/dist/docs/references/docs-deployment-monorepo.md +2 -0
- package/dist/docs/references/docs-deployment-overview.md +6 -0
- package/dist/index.cjs +11 -11
- package/dist/index.js +4 -4
- package/dist/server/index.cjs +9 -2
- package/dist/server/index.cjs.map +1 -1
- package/dist/server/index.js +9 -2
- package/dist/server/index.js.map +1 -1
- package/dist/services/index.cjs +4 -4
- package/dist/services/index.js +1 -1
- package/package.json +12 -14
- package/dist/chunk-5K7ECKKW.js.map +0 -1
- package/dist/chunk-7BDGRATY.cjs.map +0 -1
- package/dist/chunk-JTWXTX2D.js.map +0 -1
- package/dist/chunk-UFIOPABI.cjs.map +0 -1
- package/dist/chunk-UY7KZXD2.js.map +0 -1
- package/dist/chunk-X2ZJLEWO.cjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,53 @@
|
|
|
1
1
|
# @mastra/deployer
|
|
2
2
|
|
|
3
|
+
## 1.52.0-alpha.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`0a2c22c`](https://github.com/mastra-ai/mastra/commit/0a2c22c902604439ec490319e14c17f331e0c84c), [`3a8024c`](https://github.com/mastra-ai/mastra/commit/3a8024ce615f8aa89479c0d71fe61d10bb0040be)]:
|
|
8
|
+
- @mastra/core@1.52.0-alpha.9
|
|
9
|
+
- @mastra/server@1.52.0-alpha.9
|
|
10
|
+
|
|
11
|
+
## 1.52.0-alpha.8
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- dependencies updates: ([#19393](https://github.com/mastra-ai/mastra/pull/19393))
|
|
16
|
+
- Updated dependency [`@babel/core@^8.0.1` ↗︎](https://www.npmjs.com/package/@babel/core/v/8.0.1) (from `^7.29.7`, in `dependencies`)
|
|
17
|
+
- Updated dependency [`@babel/preset-typescript@^8.0.1` ↗︎](https://www.npmjs.com/package/@babel/preset-typescript/v/8.0.1) (from `^7.29.7`, in `dependencies`)
|
|
18
|
+
- Updated dependency [`@babel/traverse@^8.0.4` ↗︎](https://www.npmjs.com/package/@babel/traverse/v/8.0.4) (from `^7.29.7`, in `dependencies`)
|
|
19
|
+
- Removed dependency [`@types/babel__traverse@^7.28.0` ↗︎](https://www.npmjs.com/package/@types/babel__traverse/v/7.28.0) (from `dependencies`)
|
|
20
|
+
|
|
21
|
+
- Fixed Babel 8 compatibility for build-time transforms. ([#19393](https://github.com/mastra-ai/mastra/pull/19393))
|
|
22
|
+
|
|
23
|
+
- Updated dependencies [[`3b77e77`](https://github.com/mastra-ai/mastra/commit/3b77e7704936522e4769d29de1b5ea6901f302bd), [`6b1bf3b`](https://github.com/mastra-ai/mastra/commit/6b1bf3b9494bd51aa8f654c68c9355d6046fa2a1), [`72e437c`](https://github.com/mastra-ai/mastra/commit/72e437c515942c80b9def5b026e0bdee61b469d9)]:
|
|
24
|
+
- @mastra/core@1.52.0-alpha.8
|
|
25
|
+
- @mastra/server@1.52.0-alpha.8
|
|
26
|
+
|
|
27
|
+
## 1.52.0-alpha.7
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- Updated dependencies [[`b7e79c3`](https://github.com/mastra-ai/mastra/commit/b7e79c3c02ac5cd415db34ba0975ceafc1464333), [`b75d749`](https://github.com/mastra-ai/mastra/commit/b75d749621ff5d17e86bcb4ee809d301fb4f7cf3), [`a8799bb`](https://github.com/mastra-ai/mastra/commit/a8799bb8e44f4a60d01e4e2acd3448ff80bf14f8)]:
|
|
32
|
+
- @mastra/core@1.52.0-alpha.7
|
|
33
|
+
- @mastra/server@1.52.0-alpha.7
|
|
34
|
+
|
|
35
|
+
## 1.52.0-alpha.6
|
|
36
|
+
|
|
37
|
+
### Patch Changes
|
|
38
|
+
|
|
39
|
+
- Updated dependencies [[`a40adeb`](https://github.com/mastra-ai/mastra/commit/a40adeb222b961a56a58af56a106106525721b74), [`660bebd`](https://github.com/mastra-ai/mastra/commit/660bebd81af91098ce4df440eb3b8a4945a9a619), [`a40adeb`](https://github.com/mastra-ai/mastra/commit/a40adeb222b961a56a58af56a106106525721b74), [`821648b`](https://github.com/mastra-ai/mastra/commit/821648bf2871ef840100c7bacbecf676010bd12a), [`11f6cd9`](https://github.com/mastra-ai/mastra/commit/11f6cd96fe42582403416608beb212cc1a2cc79e), [`11f6cd9`](https://github.com/mastra-ai/mastra/commit/11f6cd96fe42582403416608beb212cc1a2cc79e)]:
|
|
40
|
+
- @mastra/core@1.52.0-alpha.6
|
|
41
|
+
- @mastra/server@1.52.0-alpha.6
|
|
42
|
+
|
|
43
|
+
## 1.52.0-alpha.5
|
|
44
|
+
|
|
45
|
+
### Patch Changes
|
|
46
|
+
|
|
47
|
+
- Updated dependencies [[`ec857fc`](https://github.com/mastra-ai/mastra/commit/ec857fc79c264b53b38e16478c789b7177f2ad59), [`e1f2fae`](https://github.com/mastra-ai/mastra/commit/e1f2faebaf048c3d4c2e2c01d293767c195d5794), [`63aa799`](https://github.com/mastra-ai/mastra/commit/63aa799c6b44eacc7806cda6846b7c5bbee06b37), [`73db8db`](https://github.com/mastra-ai/mastra/commit/73db8db90d69ab6153c7942749f624db0d96952d), [`7d273ca`](https://github.com/mastra-ai/mastra/commit/7d273cacdcdca72425ce1c4dc5d78ed4aaa9141c), [`73db8db`](https://github.com/mastra-ai/mastra/commit/73db8db90d69ab6153c7942749f624db0d96952d), [`76b7181`](https://github.com/mastra-ai/mastra/commit/76b71810366e6d90b9d3973149d1c7ba3659ffb9), [`0c0e8d7`](https://github.com/mastra-ai/mastra/commit/0c0e8d7becd4d1445c656b78d5d845f606c1ff9d), [`39c6753`](https://github.com/mastra-ai/mastra/commit/39c6753788a8d17278531b3381eb508747495b67), [`9f7c67a`](https://github.com/mastra-ai/mastra/commit/9f7c67abeeb52c41c51a9b5edee60b62afe7cd8d), [`3b65e68`](https://github.com/mastra-ai/mastra/commit/3b65e68d7f1c771c7a70eea42d83fefdd28cad88), [`e3868e2`](https://github.com/mastra-ai/mastra/commit/e3868e22babfffd0133771669ca724501c2dd58e)]:
|
|
48
|
+
- @mastra/core@1.52.0-alpha.5
|
|
49
|
+
- @mastra/server@1.52.0-alpha.5
|
|
50
|
+
|
|
3
51
|
## 1.52.0-alpha.4
|
|
4
52
|
|
|
5
53
|
### Patch Changes
|
package/dist/build/analyze.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkXOP6IB66_cjs = require('../chunk-XOP6IB66.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "analyzeBundle", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkXOP6IB66_cjs.analyzeBundle; }
|
|
10
10
|
});
|
|
11
11
|
//# sourceMappingURL=analyze.cjs.map
|
|
12
12
|
//# sourceMappingURL=analyze.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analyze.d.ts","sourceRoot":"","sources":["../../src/build/analyze.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAIzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAQ7E,OAAO,KAAK,EAAE,cAAc,EAAsB,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAS1F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"analyze.d.ts","sourceRoot":"","sources":["../../src/build/analyze.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAIzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAQ7E,OAAO,KAAK,EAAE,cAAc,EAAsB,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAS1F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAkV/C;;;;;;;GAOG;AACH,wBAAsB,aAAa,CACjC,OAAO,EAAE,MAAM,EAAE,EACjB,WAAW,EAAE,MAAM,EACnB,EACE,SAAS,EACT,WAAW,EACX,QAAQ,EACR,KAAa,EACb,cAAc,GACf,EAAE;IACD,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,eAAe,CAAC;IAC1B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,cAAc,CAAC,EAAE,IAAI,CAAC,cAAc,EAAE,WAAW,GAAG,iBAAiB,GAAG,iBAAiB,CAAC,GAAG,IAAI,CAAC;CACnG,EACD,MAAM,EAAE,aAAa;;;;GA8PtB"}
|
package/dist/build/analyze.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-config-export.d.ts","sourceRoot":"","sources":["../../../src/build/babel/check-config-export.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"check-config-export.d.ts","sourceRoot":"","sources":["../../../src/build/babel/check-config-export.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGhD,wBAAgB,iBAAiB,CAAC,MAAM,EAAE;IAAE,cAAc,EAAE,OAAO,CAAA;CAAE,GAAG,YAAY,CAoDnF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PluginObject } from '@babel/core';
|
|
2
2
|
/**
|
|
3
3
|
* Babel plugin to detect pino transport targets in code.
|
|
4
4
|
* Matches patterns like:
|
|
@@ -9,5 +9,5 @@ import type { PluginObj } from '@babel/core';
|
|
|
9
9
|
* @param transports - Set to collect detected transport package names
|
|
10
10
|
* @returns Babel plugin object
|
|
11
11
|
*/
|
|
12
|
-
export declare function detectPinoTransports(transports: Set<string>):
|
|
12
|
+
export declare function detectPinoTransports(transports: Set<string>): PluginObject;
|
|
13
13
|
//# sourceMappingURL=detect-pino-transports.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detect-pino-transports.d.ts","sourceRoot":"","sources":["../../../src/build/babel/detect-pino-transports.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"detect-pino-transports.d.ts","sourceRoot":"","sources":["../../../src/build/babel/detect-pino-transports.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAY,MAAM,aAAa,CAAC;AA8J1D;;;;;;;;;GASG;AACH,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,YAAY,CAiB1E"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import babel from '@babel/core';
|
|
1
|
+
import * as babel from '@babel/core';
|
|
2
2
|
import type { IMastraLogger } from '@mastra/core/logger';
|
|
3
3
|
import type { Config as MastraConfig } from '@mastra/core/mastra';
|
|
4
4
|
export declare function removeAllOptionsFromMastraExcept(result: {
|
|
5
5
|
hasCustomConfig: boolean;
|
|
6
|
-
}, option: keyof MastraConfig, logger?: IMastraLogger): babel.
|
|
6
|
+
}, option: keyof MastraConfig, logger?: IMastraLogger): babel.PluginObject;
|
|
7
7
|
//# sourceMappingURL=remove-all-options-except.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-all-options-except.d.ts","sourceRoot":"","sources":["../../../src/build/babel/remove-all-options-except.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"remove-all-options-except.d.ts","sourceRoot":"","sources":["../../../src/build/babel/remove-all-options-except.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,aAAa,CAAC;AAErC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAElE,wBAAgB,gCAAgC,CAC9C,MAAM,EAAE;IAAE,eAAe,EAAE,OAAO,CAAA;CAAE,EACpC,MAAM,EAAE,MAAM,YAAY,EAC1B,MAAM,CAAC,EAAE,aAAa,GACrB,KAAK,CAAC,YAAY,CAuGpB"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
import babel from '@babel/core';
|
|
2
|
-
|
|
1
|
+
import * as babel from '@babel/core';
|
|
2
|
+
interface RemoveDeployerState extends babel.PluginPass {
|
|
3
|
+
hasReplaced?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare function removeDeployer(): babel.PluginObject<RemoveDeployerState>;
|
|
6
|
+
export {};
|
|
3
7
|
//# sourceMappingURL=remove-deployer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-deployer.d.ts","sourceRoot":"","sources":["../../../src/build/babel/remove-deployer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"remove-deployer.d.ts","sourceRoot":"","sources":["../../../src/build/babel/remove-deployer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,aAAa,CAAC;AAErC,UAAU,mBAAoB,SAAQ,KAAK,CAAC,UAAU;IACpD,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,cAAc,IAAI,KAAK,CAAC,YAAY,CAAC,mBAAmB,CAAC,CAgFxE"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import babel from '@babel/core';
|
|
2
|
-
export declare function removeNonReferencedNodes(): babel.
|
|
1
|
+
import * as babel from '@babel/core';
|
|
2
|
+
export declare function removeNonReferencedNodes(): babel.PluginObject;
|
|
3
3
|
//# sourceMappingURL=remove-non-referenced-nodes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-non-referenced-nodes.d.ts","sourceRoot":"","sources":["../../../src/build/babel/remove-non-referenced-nodes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"remove-non-referenced-nodes.d.ts","sourceRoot":"","sources":["../../../src/build/babel/remove-non-referenced-nodes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,aAAa,CAAC;AAErC,wBAAgB,wBAAwB,IA8DjC,KAAK,CAAC,YAAY,CACxB"}
|
package/dist/build/bundler.cjs
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk7CT7DAME_cjs = require('../chunk-7CT7DAME.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "createBundler", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk7CT7DAME_cjs.createBundler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getInputOptions", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk7CT7DAME_cjs.getInputOptions; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "mastraInternalAliasPlugin", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk7CT7DAME_cjs.mastraInternalAliasPlugin; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "mastraToolsAliasPlugin", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk7CT7DAME_cjs.mastraToolsAliasPlugin; }
|
|
22
22
|
});
|
|
23
23
|
//# sourceMappingURL=bundler.cjs.map
|
|
24
24
|
//# sourceMappingURL=bundler.cjs.map
|
package/dist/build/bundler.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { createBundler, getInputOptions, mastraInternalAliasPlugin, mastraToolsAliasPlugin } from '../chunk-
|
|
1
|
+
export { createBundler, getInputOptions, mastraInternalAliasPlugin, mastraToolsAliasPlugin } from '../chunk-HPYZGYQL.js';
|
|
2
2
|
//# sourceMappingURL=bundler.js.map
|
|
3
3
|
//# sourceMappingURL=bundler.js.map
|
package/dist/build/index.cjs
CHANGED
|
@@ -1,81 +1,81 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
3
|
+
var chunkGPKHP7J7_cjs = require('../chunk-GPKHP7J7.cjs');
|
|
4
|
+
var chunk4XMRN3U4_cjs = require('../chunk-4XMRN3U4.cjs');
|
|
5
|
+
var chunkXOP6IB66_cjs = require('../chunk-XOP6IB66.cjs');
|
|
6
|
+
var chunk7CT7DAME_cjs = require('../chunk-7CT7DAME.cjs');
|
|
7
|
+
var chunkFKKJQUGR_cjs = require('../chunk-FKKJQUGR.cjs');
|
|
8
8
|
var chunkJZRFRUGM_cjs = require('../chunk-JZRFRUGM.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "createWatcher", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkGPKHP7J7_cjs.createWatcher; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "discoverFsAgents", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkGPKHP7J7_cjs.discoverFsAgents; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "discoverFsSingleton", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkGPKHP7J7_cjs.discoverFsSingleton; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "discoverFsWorkflows", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkGPKHP7J7_cjs.discoverFsWorkflows; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "generateFsAgentsModule", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkGPKHP7J7_cjs.generateFsAgentsModule; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "generateFsWorkflowsCodegen", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkGPKHP7J7_cjs.generateFsWorkflowsCodegen; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "getServerOptions", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkGPKHP7J7_cjs.getServerOptions; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "getWatcherInputOptions", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkGPKHP7J7_cjs.getInputOptions; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "mirrorFsAgentWorkspaces", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkGPKHP7J7_cjs.mirrorFsAgentWorkspaces; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "prepareFsAgentsEntry", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkGPKHP7J7_cjs.prepareFsAgentsEntry; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "writeFsAgentsEntry", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkGPKHP7J7_cjs.writeFsAgentsEntry; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "getBundlerOptions", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunk4XMRN3U4_cjs.getBundlerOptions; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "analyzeBundle", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkXOP6IB66_cjs.analyzeBundle; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "createBundler", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunk7CT7DAME_cjs.createBundler; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "getBundlerInputOptions", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunk7CT7DAME_cjs.getInputOptions; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "Deps", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkFKKJQUGR_cjs.Deps; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "FileService", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkFKKJQUGR_cjs.FileService; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "detectRuntime", {
|
|
81
81
|
enumerable: true,
|
package/dist/build/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { createWatcher, discoverFsAgents, discoverFsSingleton, discoverFsWorkflows, generateFsAgentsModule, generateFsWorkflowsCodegen, getServerOptions, getInputOptions as getWatcherInputOptions, mirrorFsAgentWorkspaces, prepareFsAgentsEntry, writeFsAgentsEntry } from '../chunk-
|
|
2
|
-
export { getBundlerOptions } from '../chunk-
|
|
3
|
-
export { analyzeBundle } from '../chunk-
|
|
4
|
-
export { createBundler, getInputOptions as getBundlerInputOptions } from '../chunk-
|
|
5
|
-
export { Deps, FileService } from '../chunk-
|
|
1
|
+
export { createWatcher, discoverFsAgents, discoverFsSingleton, discoverFsWorkflows, generateFsAgentsModule, generateFsWorkflowsCodegen, getServerOptions, getInputOptions as getWatcherInputOptions, mirrorFsAgentWorkspaces, prepareFsAgentsEntry, writeFsAgentsEntry } from '../chunk-H6J5QQ45.js';
|
|
2
|
+
export { getBundlerOptions } from '../chunk-PXUWQC3X.js';
|
|
3
|
+
export { analyzeBundle } from '../chunk-CBK2CAL4.js';
|
|
4
|
+
export { createBundler, getInputOptions as getBundlerInputOptions } from '../chunk-HPYZGYQL.js';
|
|
5
|
+
export { Deps, FileService } from '../chunk-YUBKHO52.js';
|
|
6
6
|
export { detectRuntime, escapeStudioHtmlValue, injectStudioHtmlConfig, normalizeStudioBase } from '../chunk-WP65JQAT.js';
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-all-except.d.ts","sourceRoot":"","sources":["../../../src/build/plugins/remove-all-except.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"remove-all-except.d.ts","sourceRoot":"","sources":["../../../src/build/plugins/remove-all-except.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,KAAK,EAAE,MAAM,EAAkB,MAAM,QAAQ,CAAC;AAGrD,wBAAgB,sCAAsC,CACpD,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,MAAM,YAAY,EACxB,MAAM,EAAE;IAAE,eAAe,EAAE,OAAO,CAAA;CAAE,EACpC,OAAO,CAAC,EAAE;IAAE,SAAS,CAAC,EAAE,OAAO,CAAC;IAAC,MAAM,CAAC,EAAE,aAAa,CAAA;CAAE,GACxD,MAAM,CAsBR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-deployer.d.ts","sourceRoot":"","sources":["../../../src/build/plugins/remove-deployer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"remove-deployer.d.ts","sourceRoot":"","sources":["../../../src/build/plugins/remove-deployer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAkB,MAAM,QAAQ,CAAC;AAIrD,wBAAgB,cAAc,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,MAAM,CAsB7F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-unused-references.d.ts","sourceRoot":"","sources":["../../../src/build/plugins/remove-unused-references.ts"],"names":[],"mappings":"AAGA,
|
|
1
|
+
{"version":3,"file":"remove-unused-references.d.ts","sourceRoot":"","sources":["../../../src/build/plugins/remove-unused-references.ts"],"names":[],"mappings":"AAGA,wBAAsB,iCAAiC,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,GAAG,CAAA;CAAE,CAAC,CAgBzG"}
|
package/dist/bundler/index.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkQGBVR3DR_cjs = require('../chunk-QGBVR3DR.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Bundler", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkQGBVR3DR_cjs.Bundler; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "IS_DEFAULT", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkQGBVR3DR_cjs.IS_DEFAULT; }
|
|
14
14
|
});
|
|
15
15
|
//# sourceMappingURL=index.cjs.map
|
|
16
16
|
//# sourceMappingURL=index.cjs.map
|
package/dist/bundler/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk7CT7DAME_cjs = require('./chunk-7CT7DAME.cjs');
|
|
4
4
|
var url = require('url');
|
|
5
5
|
var rollupPlugin = require('@optimize-lodash/rollup-plugin');
|
|
6
6
|
var commonjs = require('@rollup/plugin-commonjs');
|
|
@@ -33,14 +33,22 @@ var json__default = /*#__PURE__*/_interopDefault(json);
|
|
|
33
33
|
var babel__namespace = /*#__PURE__*/_interopNamespace(babel);
|
|
34
34
|
|
|
35
35
|
function removeAllOptionsFromMastraExcept(result, option, logger) {
|
|
36
|
-
const t = babel__namespace.
|
|
36
|
+
const t = babel__namespace.types;
|
|
37
37
|
return {
|
|
38
38
|
name: "remove-all-except-" + option + "-config",
|
|
39
39
|
visitor: {
|
|
40
40
|
ExportNamedDeclaration: {
|
|
41
|
-
// remove all exports
|
|
41
|
+
// remove all exports, but keep the underlying declarations — the
|
|
42
|
+
// extracted option may reference them (e.g. `export const deployer = ...`
|
|
43
|
+
// used as `new Mastra({ deployer })`). Unreferenced declarations are
|
|
44
|
+
// dropped by the cleanup pass afterwards.
|
|
42
45
|
exit(path) {
|
|
43
|
-
path.
|
|
46
|
+
if (path.node.declaration) {
|
|
47
|
+
const [declaration] = path.replaceWith(path.node.declaration);
|
|
48
|
+
declaration.skip();
|
|
49
|
+
} else {
|
|
50
|
+
path.remove();
|
|
51
|
+
}
|
|
44
52
|
}
|
|
45
53
|
},
|
|
46
54
|
NewExpression(path, state) {
|
|
@@ -114,32 +122,21 @@ function removeAllOptionsFromMastraExceptPlugin(mastraEntry, name, result, optio
|
|
|
114
122
|
if (id !== mastraEntry) {
|
|
115
123
|
return;
|
|
116
124
|
}
|
|
117
|
-
return
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
(err, result2) => {
|
|
128
|
-
if (err) {
|
|
129
|
-
return reject(err);
|
|
130
|
-
}
|
|
131
|
-
resolve({
|
|
132
|
-
code: result2.code,
|
|
133
|
-
map: result2.map
|
|
134
|
-
});
|
|
135
|
-
}
|
|
136
|
-
);
|
|
137
|
-
});
|
|
125
|
+
return babel__namespace.transformAsync(code, {
|
|
126
|
+
babelrc: false,
|
|
127
|
+
configFile: false,
|
|
128
|
+
filename: id,
|
|
129
|
+
plugins: [() => removeAllOptionsFromMastraExcept(result, name, options?.logger)],
|
|
130
|
+
sourceMaps: options?.sourcemap
|
|
131
|
+
}).then((result2) => ({
|
|
132
|
+
code: result2.code,
|
|
133
|
+
map: result2.map
|
|
134
|
+
}));
|
|
138
135
|
}
|
|
139
136
|
};
|
|
140
137
|
}
|
|
141
138
|
function removeNonReferencedNodes() {
|
|
142
|
-
const t = babel__namespace.
|
|
139
|
+
const t = babel__namespace.types;
|
|
143
140
|
return {
|
|
144
141
|
name: "remove-non-referenced-nodes",
|
|
145
142
|
visitor: {
|
|
@@ -187,29 +184,19 @@ function removeNonReferencedNodes() {
|
|
|
187
184
|
}
|
|
188
185
|
|
|
189
186
|
// src/build/plugins/remove-unused-references.ts
|
|
190
|
-
function recursiveRemoveNonReferencedNodes(code) {
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
babelrc: false,
|
|
196
|
-
configFile: false,
|
|
197
|
-
plugins: [removeNonReferencedNodes()]
|
|
198
|
-
},
|
|
199
|
-
(err, result) => {
|
|
200
|
-
if (err) {
|
|
201
|
-
return reject(err);
|
|
202
|
-
}
|
|
203
|
-
if (result && result.code !== code) {
|
|
204
|
-
return recursiveRemoveNonReferencedNodes(result.code).then(resolve, reject);
|
|
205
|
-
}
|
|
206
|
-
resolve({
|
|
207
|
-
code: result.code,
|
|
208
|
-
map: result.map
|
|
209
|
-
});
|
|
210
|
-
}
|
|
211
|
-
);
|
|
187
|
+
async function recursiveRemoveNonReferencedNodes(code) {
|
|
188
|
+
const result = await babel__namespace.transformAsync(code, {
|
|
189
|
+
babelrc: false,
|
|
190
|
+
configFile: false,
|
|
191
|
+
plugins: [removeNonReferencedNodes]
|
|
212
192
|
});
|
|
193
|
+
if (result && result.code !== code) {
|
|
194
|
+
return recursiveRemoveNonReferencedNodes(result.code);
|
|
195
|
+
}
|
|
196
|
+
return {
|
|
197
|
+
code: result.code,
|
|
198
|
+
map: result.map
|
|
199
|
+
};
|
|
213
200
|
}
|
|
214
201
|
|
|
215
202
|
// src/build/shared/extract-mastra-option.ts
|
|
@@ -221,9 +208,9 @@ function extractMastraOptionBundler(name, entryFile, result, logger) {
|
|
|
221
208
|
},
|
|
222
209
|
treeshake: "smallest",
|
|
223
210
|
plugins: [
|
|
224
|
-
|
|
211
|
+
chunk7CT7DAME_cjs.tsConfigPaths(),
|
|
225
212
|
// transpile typescript to something we understand
|
|
226
|
-
|
|
213
|
+
chunk7CT7DAME_cjs.esbuild(),
|
|
227
214
|
rollupPlugin.optimizeLodashImports({
|
|
228
215
|
include: "**/*.{js,ts,mjs,cjs}"
|
|
229
216
|
}),
|
|
@@ -236,7 +223,7 @@ function extractMastraOptionBundler(name, entryFile, result, logger) {
|
|
|
236
223
|
json__default.default(),
|
|
237
224
|
removeAllOptionsFromMastraExceptPlugin(entryFile, name, result, { logger }),
|
|
238
225
|
// let esbuild remove all unused imports
|
|
239
|
-
|
|
226
|
+
chunk7CT7DAME_cjs.esbuild(),
|
|
240
227
|
{
|
|
241
228
|
name: "cleanup",
|
|
242
229
|
transform(code, id) {
|
|
@@ -247,7 +234,7 @@ function extractMastraOptionBundler(name, entryFile, result, logger) {
|
|
|
247
234
|
}
|
|
248
235
|
},
|
|
249
236
|
// let esbuild remove it once more
|
|
250
|
-
|
|
237
|
+
chunk7CT7DAME_cjs.esbuild()
|
|
251
238
|
]
|
|
252
239
|
});
|
|
253
240
|
}
|
|
@@ -282,5 +269,5 @@ async function getBundlerOptions(entryFile, outputDir, logger) {
|
|
|
282
269
|
|
|
283
270
|
exports.extractMastraOption = extractMastraOption;
|
|
284
271
|
exports.getBundlerOptions = getBundlerOptions;
|
|
285
|
-
//# sourceMappingURL=chunk-
|
|
286
|
-
//# sourceMappingURL=chunk-
|
|
272
|
+
//# sourceMappingURL=chunk-4XMRN3U4.cjs.map
|
|
273
|
+
//# sourceMappingURL=chunk-4XMRN3U4.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/build/babel/remove-all-options-except.ts","../src/build/plugins/remove-all-except.ts","../src/build/babel/remove-non-referenced-nodes.ts","../src/build/plugins/remove-unused-references.ts","../src/build/shared/extract-mastra-option.ts","../src/build/bundlerOptions.ts"],"names":["babel","path","babel2","result","babel3","babel4","rollup","tsConfigPaths","esbuild","optimizeLodashImports","commonjs","json","pathToFileURL"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKO,SAAS,gCAAA,CACd,MAAA,EACA,MAAA,EACA,MAAA,EACoB;AACpB,EAAA,MAAM,CAAA,GAAUA,gBAAA,CAAA,KAAA;AAEhB,EAAA,OAAO;AAAA,IACL,IAAA,EAAM,uBAAuB,MAAA,GAAS,SAAA;AAAA,IACtC,OAAA,EAAS;AAAA,MACP,sBAAA,EAAwB;AAAA;AAAA;AAAA;AAAA;AAAA,QAKtB,KAAK,IAAA,EAAM;AACT,UAAA,IAAI,IAAA,CAAK,KAAK,WAAA,EAAa;AACzB,YAAA,MAAM,CAAC,WAAW,CAAA,GAAI,KAAK,WAAA,CAAY,IAAA,CAAK,KAAK,WAAW,CAAA;AAG5D,YAAA,WAAA,CAAY,IAAA,EAAK;AAAA,UACnB,CAAA,MAAO;AACL,YAAA,IAAA,CAAK,MAAA,EAAO;AAAA,UACd;AAAA,QACF;AAAA,OACF;AAAA,MAEA,aAAA,CAAc,MAAM,KAAA,EAAO;AAEzB,QAAA,MAAM,iBAAA,GAAoB,KAAK,UAAA,CAAW,CAAAC,UAAQ,CAAA,CAAE,oBAAA,CAAqBA,KAAAA,CAAK,IAAI,CAAC,CAAA;AACnF,Q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SAAS,CAAA,CAAA,EAAI,IAAI,CAAA,WAAA,CAAA;AAEvC,IAAA,OAAO;AAAA,MACL,YAAA,EAAc,MAAA;AAAA,MACd,SAAA,EAAW,MAAM,OAAOI,iBAAA,CAAc,UAAU,CAAA,CAAE,IAAA,CAAA,CAAM,IAAA,CAAK,CAAA,CAAA,KAAK,CAAA,CAAE,IAAI,CAAoB;AAAA,KAC9F;AAAA,EACF;AAEA,EAAA,OAAO,IAAA;AACT;;;AC9EA,eAAsB,iBAAA,CACpB,SAAA,EACA,SAAA,EACA,MAAA,EACmC;AACnC,EAAA,MAAM,SAAS,MAAM,mBAAA,CAAoB,SAAA,EAAW,SAAA,EAAW,WAAW,MAAM,CAAA;AAEhF,EAAA,IAAI,CAAC,MAAA,EAAQ;AACX,IAAA,OAAO,IAAA;AAAA,EACT;AAEA,EAAA,OAAO,OAAO,SAAA,EAAU;AAC1B","file":"chunk-4XMRN3U4.cjs","sourcesContent":["import * as babel from '@babel/core';\nimport type { NodePath, types } from '@babel/core';\nimport type { IMastraLogger } from '@mastra/core/logger';\nimport type { Config as MastraConfig } from '@mastra/core/mastra';\n\nexport function removeAllOptionsFromMastraExcept(\n result: { hasCustomConfig: boolean },\n option: keyof MastraConfig,\n logger?: IMastraLogger,\n): babel.PluginObject {\n const t = babel.types;\n\n return {\n name: 'remove-all-except-' + option + '-config',\n visitor: {\n ExportNamedDeclaration: {\n // remove all exports, but keep the underlying declarations — the\n // extracted option may reference them (e.g. `export const deployer = ...`\n // used as `new Mastra({ deployer })`). Unreferenced declarations are\n // dropped by the cleanup pass afterwards.\n exit(path) {\n if (path.node.declaration) {\n const [declaration] = path.replaceWith(path.node.declaration);\n // Already traversed — don't requeue, or the NewExpression visitor\n // would append the extracted export a second time.\n declaration.skip();\n } else {\n path.remove();\n }\n },\n },\n\n NewExpression(path, state) {\n // is a variable declaration\n const varDeclaratorPath = path.findParent(path => t.isVariableDeclarator(path.node));\n if (!varDeclaratorPath) {\n return;\n }\n\n const parentNode = path.parentPath.node;\n // check if it's a const of mastra\n if (!t.isVariableDeclarator(parentNode) || !t.isIdentifier(parentNode.id) || parentNode.id.name !== 'mastra') {\n return;\n }\n\n let mastraArgs = t.objectExpression([]);\n if (t.isObjectExpression(path.node.arguments[0])) {\n mastraArgs = path.node.arguments[0];\n }\n\n // Find the config property, skipping SpreadElement nodes\n let configProperty = mastraArgs.properties.find(\n prop => t.isObjectProperty(prop) && t.isIdentifier(prop.key) && prop.key.name === option,\n );\n let configValue: types.Expression = t.objectExpression([]);\n\n const programPath = path.scope.getProgramParent().path as NodePath<types.Program> | undefined;\n if (!programPath) {\n return;\n }\n\n if (configProperty && t.isObjectProperty(configProperty) && t.isExpression(configProperty.value)) {\n result.hasCustomConfig = true;\n configValue = configProperty.value;\n\n if (t.isIdentifier(configProperty.value) && configProperty.value.name === option) {\n const configBinding = state.file.scope.getBinding(option)!;\n\n if (configBinding && t.isVariableDeclarator(configBinding.path.node)) {\n const id = path.scope.generateUidIdentifier(option);\n\n configBinding.path.replaceWith(t.variableDeclarator(id, configBinding.path.node.init!));\n configValue = id;\n }\n }\n }\n\n // add the deployer export\n const exportDeclaration = t.exportNamedDeclaration(\n t.variableDeclaration('const', [t.variableDeclarator(t.identifier(option), configValue)]),\n [],\n );\n\n programPath.node.body.push(exportDeclaration);\n },\n\n Program: {\n exit(path) {\n // Add a fallback export if no mastra configuration was found\n const hasExport = path.node.body.some(\n node => node.type === 'ExportNamedDeclaration' || node.type === 'ExportDefaultDeclaration',\n );\n\n if (!hasExport) {\n if (logger) {\n logger.warn('Mastra config could not be extracted', {\n option,\n details:\n 'Please make sure your entry file looks like this:\\nexport const mastra = new Mastra({\\n <option>: <value>\\n})',\n });\n }\n\n const fallbackExportDeclaration = t.exportNamedDeclaration(\n t.variableDeclaration('const', [t.variableDeclarator(t.identifier(option), t.objectExpression([]))]),\n [],\n );\n path.node.body.push(fallbackExportDeclaration);\n }\n },\n },\n },\n } satisfies babel.PluginObject;\n}\n","import * as babel from '@babel/core';\nimport type { IMastraLogger } from '@mastra/core/logger';\nimport type { Config as MastraConfig } from '@mastra/core/mastra';\nimport type { Plugin, SourceMapInput } from 'rollup';\nimport { removeAllOptionsFromMastraExcept } from '../babel/remove-all-options-except';\n\nexport function removeAllOptionsFromMastraExceptPlugin(\n mastraEntry: string,\n name: keyof MastraConfig,\n result: { hasCustomConfig: boolean },\n options?: { sourcemap?: boolean; logger?: IMastraLogger },\n): Plugin {\n return {\n name: `remove-${name}`,\n transform(code, id) {\n if (id !== mastraEntry) {\n return;\n }\n\n return babel\n .transformAsync(code, {\n babelrc: false,\n configFile: false,\n filename: id,\n plugins: [() => removeAllOptionsFromMastraExcept(result, name, options?.logger)],\n sourceMaps: options?.sourcemap,\n })\n .then(result => ({\n code: result!.code!,\n map: result!.map! as SourceMapInput,\n }));\n },\n } satisfies Plugin;\n}\n","import * as babel from '@babel/core';\n\nexport function removeNonReferencedNodes() {\n const t = babel.types;\n\n return {\n name: 'remove-non-referenced-nodes',\n visitor: {\n Program(path) {\n // Get the scope information\n const scope = path.scope;\n\n // Filter body to keep only referenced nodes\n const currentBody = path.get('body');\n const filteredBody = currentBody.filter(childPath => {\n if (childPath.isExportDeclaration()) {\n return true;\n }\n\n // For variable declarations, check if any declared variables are referenced\n if (childPath.isVariableDeclaration()) {\n return childPath.node.declarations.some(decl => {\n if (!t.isIdentifier(decl.id)) {\n return false;\n }\n\n const name = decl.id.name;\n const binding = scope.getBinding(name);\n // Keep if it has references or is exported\n return binding && (binding.referenced || binding.referencePaths.length > 0);\n });\n }\n\n // For function/class declarations, check if they're referenced\n if (childPath.isFunctionDeclaration() || childPath.isClassDeclaration()) {\n if (!t.isIdentifier(childPath.node.id)) {\n return false;\n }\n\n const name = childPath.node.id.name;\n const binding = scope.getBinding(name);\n return binding && (binding.referenced || binding.referencePaths.length > 0);\n }\n\n // For imports, check if any imported items are referenced\n if (childPath.isImportDeclaration()) {\n return childPath.node.specifiers.some(specifier => {\n const importedName = specifier.local.name;\n const binding = scope.getBinding(importedName);\n return binding && (binding.referenced || binding.referencePaths.length > 0);\n });\n }\n\n // Default to keeping other node types\n return false;\n });\n\n // Replace the program body with filtered nodes\n path.set(\n 'body',\n filteredBody.map(p => p.node),\n );\n },\n },\n } as babel.PluginObject;\n}\n","import * as babel from '@babel/core';\nimport { removeNonReferencedNodes } from '../babel/remove-non-referenced-nodes';\n\nexport async function recursiveRemoveNonReferencedNodes(code: string): Promise<{ code: string; map: any }> {\n const result = await babel.transformAsync(code, {\n babelrc: false,\n configFile: false,\n plugins: [removeNonReferencedNodes],\n });\n\n // keep looping until the code is not changed\n if (result && result.code! !== code) {\n return recursiveRemoveNonReferencedNodes(result!.code!);\n }\n\n return {\n code: result!.code!,\n map: result!.map!,\n };\n}\n","import { pathToFileURL } from 'node:url';\nimport type { IMastraLogger } from '@mastra/core/logger';\nimport type { Config as MastraConfig } from '@mastra/core/mastra';\nimport { optimizeLodashImports } from '@optimize-lodash/rollup-plugin';\nimport commonjs from '@rollup/plugin-commonjs';\nimport json from '@rollup/plugin-json';\nimport { rollup } from 'rollup';\nimport type { RollupOutput } from 'rollup';\nimport { esbuild } from '../plugins/esbuild';\nimport { removeAllOptionsFromMastraExceptPlugin } from '../plugins/remove-all-except';\nimport { recursiveRemoveNonReferencedNodes } from '../plugins/remove-unused-references';\nimport { tsConfigPaths } from '../plugins/tsconfig-paths';\n\nexport function extractMastraOptionBundler(\n name: keyof MastraConfig,\n entryFile: string,\n result: {\n hasCustomConfig: boolean;\n },\n logger?: IMastraLogger,\n) {\n return rollup({\n logLevel: 'silent',\n input: {\n [`${name}-config`]: entryFile,\n },\n treeshake: 'smallest',\n plugins: [\n tsConfigPaths(),\n // transpile typescript to something we understand\n esbuild(),\n optimizeLodashImports({\n include: '**/*.{js,ts,mjs,cjs}',\n }),\n commonjs({\n extensions: ['.js', '.ts'],\n strictRequires: 'strict',\n transformMixedEsModules: true,\n ignoreTryCatch: false,\n }),\n json(),\n removeAllOptionsFromMastraExceptPlugin(entryFile, name, result, { logger }),\n // let esbuild remove all unused imports\n esbuild(),\n {\n name: 'cleanup',\n transform(code, id) {\n if (id !== entryFile) {\n return;\n }\n\n return recursiveRemoveNonReferencedNodes(code);\n },\n },\n // let esbuild remove it once more\n esbuild(),\n ],\n });\n}\n\nexport async function extractMastraOption<T extends keyof MastraConfig>(\n name: T,\n entryFile: string,\n outputDir: string,\n logger?: IMastraLogger,\n): Promise<{\n bundleOutput: RollupOutput;\n getConfig: () => Promise<MastraConfig[T]>;\n} | null> {\n const result = {\n hasCustomConfig: false,\n };\n\n const bundler = await extractMastraOptionBundler(name, entryFile, result, logger);\n\n const output = await bundler.write({\n dir: outputDir,\n format: 'es',\n entryFileNames: '[name].mjs',\n });\n\n if (result.hasCustomConfig) {\n const configPath = `${outputDir}/${name}-config.mjs`;\n\n return {\n bundleOutput: output,\n getConfig: () => import(pathToFileURL(configPath).href).then(m => m[name] as MastraConfig[T]),\n };\n }\n\n return null;\n}\n","import type { IMastraLogger } from '@mastra/core/logger';\nimport type { Config } from '@mastra/core/mastra';\nimport { extractMastraOption, extractMastraOptionBundler } from './shared/extract-mastra-option';\n\nexport function getBundlerOptionsBundler(\n entryFile: string,\n result: {\n hasCustomConfig: false;\n },\n) {\n return extractMastraOptionBundler('bundler', entryFile, result);\n}\n\nexport async function getBundlerOptions(\n entryFile: string,\n outputDir: string,\n logger?: IMastraLogger,\n): Promise<Config['bundler'] | null> {\n const result = await extractMastraOption('bundler', entryFile, outputDir, logger);\n\n if (!result) {\n return null;\n }\n\n return result.getConfig();\n}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { getBundlerOptions } from './chunk-
|
|
2
|
-
import { analyzeBundle, getWorkspaceInformation } from './chunk-
|
|
3
|
-
import { createBundler, getInputOptions } from './chunk-
|
|
4
|
-
import { DepsService, FileService } from './chunk-
|
|
1
|
+
import { getBundlerOptions } from './chunk-PXUWQC3X.js';
|
|
2
|
+
import { analyzeBundle, getWorkspaceInformation } from './chunk-CBK2CAL4.js';
|
|
3
|
+
import { createBundler, getInputOptions } from './chunk-HPYZGYQL.js';
|
|
4
|
+
import { DepsService, FileService } from './chunk-YUBKHO52.js';
|
|
5
5
|
import { slash, isBareModuleSpecifier } from './chunk-WP65JQAT.js';
|
|
6
6
|
import { execSync } from 'child_process';
|
|
7
7
|
import { existsSync } from 'fs';
|
|
@@ -353,5 +353,5 @@ export const tools = [${toolsExports.join(", ")}]`
|
|
|
353
353
|
};
|
|
354
354
|
|
|
355
355
|
export { Bundler, IS_DEFAULT };
|
|
356
|
-
//# sourceMappingURL=chunk-
|
|
357
|
-
//# sourceMappingURL=chunk-
|
|
356
|
+
//# sourceMappingURL=chunk-72CHYUGH.js.map
|
|
357
|
+
//# sourceMappingURL=chunk-72CHYUGH.js.map
|