@mastra/deployer-cloud 0.0.0-consolidate-changesets-20250904042643
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 +231 -0
- package/LICENSE.md +15 -0
- package/README.md +176 -0
- package/dist/index.cjs +488 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +462 -0
- package/dist/index.js.map +1 -0
- package/dist/utils/auth.d.ts +2 -0
- package/dist/utils/auth.d.ts.map +1 -0
- package/dist/utils/constants.d.ts +13 -0
- package/dist/utils/constants.d.ts.map +1 -0
- package/dist/utils/deps.d.ts +24 -0
- package/dist/utils/deps.d.ts.map +1 -0
- package/dist/utils/execa.d.ts +18 -0
- package/dist/utils/execa.d.ts.map +1 -0
- package/dist/utils/file.d.ts +2 -0
- package/dist/utils/file.d.ts.map +1 -0
- package/dist/utils/logger.d.ts +45 -0
- package/dist/utils/logger.d.ts.map +1 -0
- package/dist/utils/report.d.ts +2 -0
- package/dist/utils/report.d.ts.map +1 -0
- package/package.json +64 -0
- package/templates/instrumentation-template.js +69 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
# @mastra/deployer-cloud
|
|
2
|
+
|
|
3
|
+
## 0.0.0-consolidate-changesets-20250904042643
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- de3cbc6: Update the `package.json` file to include additional fields like `repository`, `homepage` or `files`.
|
|
8
|
+
- a32248b: dependencies updates:
|
|
9
|
+
- Updated dependency [`zod@^3.25.76` ↗︎](https://www.npmjs.com/package/zod/v/3.25.76) (from `^3.25.67`, in `dependencies`)
|
|
10
|
+
dependencies updates:
|
|
11
|
+
- Updated dependency [`zod-to-json-schema@^3.24.6` ↗︎](https://www.npmjs.com/package/zod-to-json-schema/v/3.24.6) (from `^3.24.5`, in `dependencies`)
|
|
12
|
+
dependencies updates:
|
|
13
|
+
- Updated dependency [`rollup@~4.49.0` ↗︎](https://www.npmjs.com/package/rollup/v/4.49.0) (from `~4.47.1`, in `dependencies`)
|
|
14
|
+
dependencies updates:
|
|
15
|
+
- Updated dependency [`rollup@~4.50.0` ↗︎](https://www.npmjs.com/package/rollup/v/4.50.0) (from `~4.49.0`, in `dependencies`)
|
|
16
|
+
dependencies updates:
|
|
17
|
+
- Updated dependency [`redis@^5.8.2` ↗︎](https://www.npmjs.com/package/redis/v/5.8.2) (from `^5.8.0`, in `dependencies`)
|
|
18
|
+
dependencies updates:
|
|
19
|
+
- Updated dependency [`@libsql/client@^0.15.14` ↗︎](https://www.npmjs.com/package/@libsql/client/v/0.15.14) (from `^0.15.12`, in `dependencies`)
|
|
20
|
+
dependencies updates:
|
|
21
|
+
- Updated dependency [`zod@^3.25.76` ↗︎](https://www.npmjs.com/package/zod/v/3.25.76) (from `^3.25.67`, in `dependencies`)
|
|
22
|
+
- Updated dependency [`zod-to-json-schema@^3.24.6` ↗︎](https://www.npmjs.com/package/zod-to-json-schema/v/3.24.6) (from `^3.24.5`, in `dependencies`)
|
|
23
|
+
dependencies updates:
|
|
24
|
+
- Updated dependency [`zod@^4.1.5` ↗︎](https://www.npmjs.com/package/zod/v/4.1.5) (from `^4.0.15`, in `dependencies`)
|
|
25
|
+
dependencies updates:
|
|
26
|
+
- Updated dependency [`@assistant-ui/react@^0.10.44` ↗︎](https://www.npmjs.com/package/@assistant-ui/react/v/0.10.44) (from `^0.7.91`, in `dependencies`)
|
|
27
|
+
- Updated dependency [`@assistant-ui/react-markdown@^0.10.9` ↗︎](https://www.npmjs.com/package/@assistant-ui/react-markdown/v/0.10.9) (from `^0.7.21`, in `dependencies`)
|
|
28
|
+
- Updated dependency [`@assistant-ui/react-syntax-highlighter@^0.10.10` ↗︎](https://www.npmjs.com/package/@assistant-ui/react-syntax-highlighter/v/0.10.10) (from `^0.7.10`, in `dependencies`)
|
|
29
|
+
- Added dependency [`@assistant-ui/react-ui@^0.1.8` ↗︎](https://www.npmjs.com/package/@assistant-ui/react-ui/v/0.1.8) (to `dependencies`)
|
|
30
|
+
dependencies updates:
|
|
31
|
+
- Updated dependency [`@xyflow/react@^12.8.4` ↗︎](https://www.npmjs.com/package/@xyflow/react/v/12.8.4) (from `^12.8.2`, in `dependencies`)
|
|
32
|
+
dependencies updates:
|
|
33
|
+
- Updated dependency [`@assistant-ui/react@^0.10.45` ↗︎](https://www.npmjs.com/package/@assistant-ui/react/v/0.10.45) (from `^0.10.44`, in `dependencies`)
|
|
34
|
+
dependencies updates:
|
|
35
|
+
- Updated dependency [`@qdrant/js-client-rest@^1.15.1` ↗︎](https://www.npmjs.com/package/@qdrant/js-client-rest/v/1.15.1) (from `^1.15.0`, in `dependencies`)
|
|
36
|
+
dependencies updates:
|
|
37
|
+
- Updated dependency [`zod@^3.25.76` ↗︎](https://www.npmjs.com/package/zod/v/3.25.76) (from `^3.25.67`, in `dependencies`)
|
|
38
|
+
- Updated dependency [`zod-to-json-schema@^3.24.6` ↗︎](https://www.npmjs.com/package/zod-to-json-schema/v/3.24.6) (from `^3.23.5`, in `dependencies`)
|
|
39
|
+
- f0dfcac: updated core peerdep
|
|
40
|
+
- Updated dependencies [85ef90b]
|
|
41
|
+
- Updated dependencies [aedbbfa]
|
|
42
|
+
- Updated dependencies [ff89505]
|
|
43
|
+
- Updated dependencies [637f323]
|
|
44
|
+
- Updated dependencies [de3cbc6]
|
|
45
|
+
- Updated dependencies [c19bcf7]
|
|
46
|
+
- Updated dependencies [4474d04]
|
|
47
|
+
- Updated dependencies [183dc95]
|
|
48
|
+
- Updated dependencies [f5e7282]
|
|
49
|
+
- Updated dependencies [a32248b]
|
|
50
|
+
- Updated dependencies [a1111e2]
|
|
51
|
+
- Updated dependencies [b42a961]
|
|
52
|
+
- Updated dependencies [71b657b]
|
|
53
|
+
- Updated dependencies [61debef]
|
|
54
|
+
- Updated dependencies [9beaeff]
|
|
55
|
+
- Updated dependencies [00c74e7]
|
|
56
|
+
- Updated dependencies [f0dfcac]
|
|
57
|
+
- Updated dependencies [fef7375]
|
|
58
|
+
- Updated dependencies [6d98856]
|
|
59
|
+
- Updated dependencies [e3d8fea]
|
|
60
|
+
- Updated dependencies [45e4d39]
|
|
61
|
+
- Updated dependencies [9eee594]
|
|
62
|
+
- Updated dependencies [822c2e8]
|
|
63
|
+
- Updated dependencies [979912c]
|
|
64
|
+
- Updated dependencies [4106a58]
|
|
65
|
+
- Updated dependencies [ad78bfc]
|
|
66
|
+
- Updated dependencies [6f715fe]
|
|
67
|
+
- Updated dependencies [0302f50]
|
|
68
|
+
- Updated dependencies [12adcc8]
|
|
69
|
+
- Updated dependencies [74db265]
|
|
70
|
+
- Updated dependencies [8387952]
|
|
71
|
+
- Updated dependencies [7f3b8da]
|
|
72
|
+
- Updated dependencies [905352b]
|
|
73
|
+
- Updated dependencies [599d04c]
|
|
74
|
+
- Updated dependencies [a6e2254]
|
|
75
|
+
- Updated dependencies [56041d0]
|
|
76
|
+
- Updated dependencies [5eca5d2]
|
|
77
|
+
- Updated dependencies [8f22a2c]
|
|
78
|
+
- Updated dependencies [f2cda47]
|
|
79
|
+
- Updated dependencies [5de1555]
|
|
80
|
+
- Updated dependencies [cfd377a]
|
|
81
|
+
- Updated dependencies [1ed5a3e]
|
|
82
|
+
- Updated dependencies [03d0c39]
|
|
83
|
+
- @mastra/core@0.0.0-consolidate-changesets-20250904042643
|
|
84
|
+
- @mastra/deployer@0.0.0-consolidate-changesets-20250904042643
|
|
85
|
+
- @mastra/loggers@0.0.0-consolidate-changesets-20250904042643
|
|
86
|
+
|
|
87
|
+
## 0.15.3-alpha.9
|
|
88
|
+
|
|
89
|
+
### Patch Changes
|
|
90
|
+
|
|
91
|
+
- Updated dependencies [[`599d04c`](https://github.com/mastra-ai/mastra/commit/599d04cebe92c1d536fee3190434941b8c91548e)]:
|
|
92
|
+
- @mastra/core@0.15.3-alpha.9
|
|
93
|
+
- @mastra/deployer@0.15.3-alpha.9
|
|
94
|
+
|
|
95
|
+
## 0.15.3-alpha.8
|
|
96
|
+
|
|
97
|
+
### Patch Changes
|
|
98
|
+
|
|
99
|
+
- Updated dependencies [[`4474d04`](https://github.com/mastra-ai/mastra/commit/4474d0489b1e152e0985c33a4f529207317d27b5), [`4106a58`](https://github.com/mastra-ai/mastra/commit/4106a58b15b4c0a060a4a9ccab52d119d00d8edb)]:
|
|
100
|
+
- @mastra/core@0.15.3-alpha.8
|
|
101
|
+
- @mastra/deployer@0.15.3-alpha.8
|
|
102
|
+
|
|
103
|
+
## 0.15.3-alpha.7
|
|
104
|
+
|
|
105
|
+
### Patch Changes
|
|
106
|
+
|
|
107
|
+
- [#7394](https://github.com/mastra-ai/mastra/pull/7394) [`f0dfcac`](https://github.com/mastra-ai/mastra/commit/f0dfcac4458bdf789b975e2d63e984f5d1e7c4d3) Thanks [@NikAiyer](https://github.com/NikAiyer)! - updated core peerdep
|
|
108
|
+
|
|
109
|
+
- Updated dependencies [[`f0dfcac`](https://github.com/mastra-ai/mastra/commit/f0dfcac4458bdf789b975e2d63e984f5d1e7c4d3), [`7149d8d`](https://github.com/mastra-ai/mastra/commit/7149d8d4bdc1edf0008e0ca9b7925eb0b8b60dbe)]:
|
|
110
|
+
- @mastra/deployer@0.15.3-alpha.7
|
|
111
|
+
- @mastra/loggers@0.10.10-alpha.1
|
|
112
|
+
- @mastra/core@0.15.3-alpha.7
|
|
113
|
+
|
|
114
|
+
## 0.15.3-alpha.6
|
|
115
|
+
|
|
116
|
+
### Patch Changes
|
|
117
|
+
|
|
118
|
+
- [#7040](https://github.com/mastra-ai/mastra/pull/7040) [`855135e`](https://github.com/mastra-ai/mastra/commit/855135e2a746742a3da8745a3c7d701b5d43d812) Thanks [@dane-ai-mastra](https://github.com/apps/dane-ai-mastra)! - dependencies updates:
|
|
119
|
+
- Updated dependency [`redis@^5.8.2` ↗︎](https://www.npmjs.com/package/redis/v/5.8.2) (from `^5.8.0`, in `dependencies`)
|
|
120
|
+
- Updated dependencies [[`c19bcf7`](https://github.com/mastra-ai/mastra/commit/c19bcf7b43542b02157b5e17303e519933a153ab), [`b42a961`](https://github.com/mastra-ai/mastra/commit/b42a961a5aefd19d6e938a7705fc0ecc90e8f756), [`45e4d39`](https://github.com/mastra-ai/mastra/commit/45e4d391a2a09fc70c48e4d60f505586ada1ba0e), [`0302f50`](https://github.com/mastra-ai/mastra/commit/0302f50861a53c66ff28801fc371b37c5f97e41e), [`74db265`](https://github.com/mastra-ai/mastra/commit/74db265b96aa01a72ffd91dcae0bc3b346cca0f2), [`7f3b8da`](https://github.com/mastra-ai/mastra/commit/7f3b8da6dd21c35d3672e44b4f5dd3502b8f8f92), [`905352b`](https://github.com/mastra-ai/mastra/commit/905352bcda134552400eb252bca1cb05a7975c14), [`f2cda47`](https://github.com/mastra-ai/mastra/commit/f2cda47ae911038c5d5489f54c36517d6f15bdcc), [`cfd377a`](https://github.com/mastra-ai/mastra/commit/cfd377a3a33a9c88b644f6540feed9cd9832db47), [`03d0c39`](https://github.com/mastra-ai/mastra/commit/03d0c3963a748294577dd232a53ee01e1e5bcc12)]:
|
|
121
|
+
- @mastra/core@0.15.3-alpha.6
|
|
122
|
+
- @mastra/deployer@0.15.3-alpha.6
|
|
123
|
+
|
|
124
|
+
## 0.15.3-alpha.5
|
|
125
|
+
|
|
126
|
+
### Patch Changes
|
|
127
|
+
|
|
128
|
+
- [#7343](https://github.com/mastra-ai/mastra/pull/7343) [`de3cbc6`](https://github.com/mastra-ai/mastra/commit/de3cbc61079211431bd30487982ea3653517278e) Thanks [@LekoArts](https://github.com/LekoArts)! - Update the `package.json` file to include additional fields like `repository`, `homepage` or `files`.
|
|
129
|
+
|
|
130
|
+
- Updated dependencies [[`2b64943`](https://github.com/mastra-ai/mastra/commit/2b64943a282c99988c2e5b6e1269bfaca60e6fe3), [`85ef90b`](https://github.com/mastra-ai/mastra/commit/85ef90bb2cd4ae4df855c7ac175f7d392c55c1bf), [`de3cbc6`](https://github.com/mastra-ai/mastra/commit/de3cbc61079211431bd30487982ea3653517278e)]:
|
|
131
|
+
- @mastra/deployer@0.15.3-alpha.5
|
|
132
|
+
- @mastra/core@0.15.3-alpha.5
|
|
133
|
+
- @mastra/loggers@0.10.10-alpha.0
|
|
134
|
+
|
|
135
|
+
## 0.15.3-alpha.4
|
|
136
|
+
|
|
137
|
+
### Patch Changes
|
|
138
|
+
|
|
139
|
+
- Updated dependencies [[`ab48c97`](https://github.com/mastra-ai/mastra/commit/ab48c979098ea571faf998a55d3a00e7acd7a715), [`3e0bd2a`](https://github.com/mastra-ai/mastra/commit/3e0bd2aa0a19823939f9a973d44791f4927ff5c3), [`ff89505`](https://github.com/mastra-ai/mastra/commit/ff895057c8c7e91a5535faef46c5e5391085ddfa), [`183dc95`](https://github.com/mastra-ai/mastra/commit/183dc95596f391b977bd1a2c050b8498dac74891), [`a1111e2`](https://github.com/mastra-ai/mastra/commit/a1111e24e705488adfe5e0a6f20c53bddf26cb22), [`61debef`](https://github.com/mastra-ai/mastra/commit/61debefd80ad3a7ed5737e19df6a23d40091689a), [`9beaeff`](https://github.com/mastra-ai/mastra/commit/9beaeffa4a97b1d5fd01a7f8af8708b16067f67c), [`9eee594`](https://github.com/mastra-ai/mastra/commit/9eee594e35e0ca2a650fcc33fa82009a142b9ed0), [`979912c`](https://github.com/mastra-ai/mastra/commit/979912cfd180aad53287cda08af771df26454e2c), [`7dcf4c0`](https://github.com/mastra-ai/mastra/commit/7dcf4c04f44d9345b1f8bc5d41eae3f11ac61611), [`ad78bfc`](https://github.com/mastra-ai/mastra/commit/ad78bfc4ea6a1fff140432bf4f638e01af7af668), [`48f0742`](https://github.com/mastra-ai/mastra/commit/48f0742662414610dc9a7a99d45902d059ee123d), [`12adcc8`](https://github.com/mastra-ai/mastra/commit/12adcc8929db79b3cf7b83237ebaf6ba2db0181e), [`0ce418a`](https://github.com/mastra-ai/mastra/commit/0ce418a1ccaa5e125d4483a9651b635046152569), [`8387952`](https://github.com/mastra-ai/mastra/commit/838795227b4edf758c84a2adf6f7fba206c27719), [`5eca5d2`](https://github.com/mastra-ai/mastra/commit/5eca5d2655788863ea0442a46c9ef5d3c6dbe0a8), [`8f22a2c`](https://github.com/mastra-ai/mastra/commit/8f22a2c35a0a9ddd2f34a9c3ebb6ff6668aa9ea9)]:
|
|
140
|
+
- @mastra/core@0.15.3-alpha.4
|
|
141
|
+
- @mastra/deployer@0.15.3-alpha.4
|
|
142
|
+
|
|
143
|
+
## 0.15.3-alpha.3
|
|
144
|
+
|
|
145
|
+
### Patch Changes
|
|
146
|
+
|
|
147
|
+
- Updated dependencies [[`aedbbfa`](https://github.com/mastra-ai/mastra/commit/aedbbfa064124ddde039111f12629daebfea7e48), [`71b657b`](https://github.com/mastra-ai/mastra/commit/71b657bffebbdcfdf1ce9c6d72003041bd6e200a), [`f643c65`](https://github.com/mastra-ai/mastra/commit/f643c651bdaf57c2343cf9dbfc499010495701fb), [`fef7375`](https://github.com/mastra-ai/mastra/commit/fef737534574f41b432a7361a285f776c3bac42b), [`6d98856`](https://github.com/mastra-ai/mastra/commit/6d98856ed7cf56cbd6c4e02b3254e3dfb1e455db), [`e3d8fea`](https://github.com/mastra-ai/mastra/commit/e3d8feaacfb8b5c5c03c13604cc06ea2873d45fe), [`3412597`](https://github.com/mastra-ai/mastra/commit/3412597a6644c0b6bf3236d6e319ed1450c5bae8)]:
|
|
148
|
+
- @mastra/core@0.15.3-alpha.3
|
|
149
|
+
- @mastra/deployer@0.15.3-alpha.3
|
|
150
|
+
|
|
151
|
+
## 0.15.3-alpha.2
|
|
152
|
+
|
|
153
|
+
### Patch Changes
|
|
154
|
+
|
|
155
|
+
- Updated dependencies [[`822c2e8`](https://github.com/mastra-ai/mastra/commit/822c2e88a3ecbffb7c680e6227976006ccefe6a8)]:
|
|
156
|
+
- @mastra/core@0.15.3-alpha.2
|
|
157
|
+
- @mastra/deployer@0.15.3-alpha.2
|
|
158
|
+
|
|
159
|
+
## 0.15.3-alpha.1
|
|
160
|
+
|
|
161
|
+
### Patch Changes
|
|
162
|
+
|
|
163
|
+
- Updated dependencies [[`637f323`](https://github.com/mastra-ai/mastra/commit/637f32371d79a8f78c52c0d53411af0915fcec67), [`29de0e1`](https://github.com/mastra-ai/mastra/commit/29de0e1b0a7173317ae7d1ab0c0993167c659f2b), [`6ac697e`](https://github.com/mastra-ai/mastra/commit/6ac697edcc2435482c247cba615277ec4765dcc4)]:
|
|
164
|
+
- @mastra/core@0.15.3-alpha.1
|
|
165
|
+
- @mastra/deployer@0.15.3-alpha.1
|
|
166
|
+
|
|
167
|
+
## 0.15.3-alpha.0
|
|
168
|
+
|
|
169
|
+
### Patch Changes
|
|
170
|
+
|
|
171
|
+
- Updated dependencies [[`00c74e7`](https://github.com/mastra-ai/mastra/commit/00c74e73b1926be0d475693bb886fb67a22ff352), [`6f715fe`](https://github.com/mastra-ai/mastra/commit/6f715fe524296e1138a319e56bcf8e4214bd5dd5), [`af90672`](https://github.com/mastra-ai/mastra/commit/af906722d8da28688882193b1e531026f9e2e81e), [`a6e2254`](https://github.com/mastra-ai/mastra/commit/a6e225469159950bb69e8d240d510ec57dc0d79a), [`56041d0`](https://github.com/mastra-ai/mastra/commit/56041d018863a3da6b98c512e47348647c075fb3), [`5de1555`](https://github.com/mastra-ai/mastra/commit/5de15554d3d6695211945a36928f6657e76cddc9), [`1ed5a3e`](https://github.com/mastra-ai/mastra/commit/1ed5a3e19330374c4347a4237cd2f4b9ffb60376)]:
|
|
172
|
+
- @mastra/core@0.15.3-alpha.0
|
|
173
|
+
- @mastra/deployer@0.15.3-alpha.0
|
|
174
|
+
|
|
175
|
+
## 0.15.2
|
|
176
|
+
|
|
177
|
+
### Patch Changes
|
|
178
|
+
|
|
179
|
+
- [`c6113ed`](https://github.com/mastra-ai/mastra/commit/c6113ed7f9df297e130d94436ceee310273d6430) Thanks [@wardpeet](https://github.com/wardpeet)! - Fix peerdpes for @mastra/core
|
|
180
|
+
|
|
181
|
+
- Updated dependencies [[`c6113ed`](https://github.com/mastra-ai/mastra/commit/c6113ed7f9df297e130d94436ceee310273d6430)]:
|
|
182
|
+
- @mastra/deployer@0.15.2
|
|
183
|
+
- @mastra/loggers@0.10.9
|
|
184
|
+
- @mastra/core@0.15.2
|
|
185
|
+
|
|
186
|
+
## 0.15.1
|
|
187
|
+
|
|
188
|
+
### Patch Changes
|
|
189
|
+
|
|
190
|
+
- [`95b2aa9`](https://github.com/mastra-ai/mastra/commit/95b2aa908230919e67efcac0d69005a2d5745298) Thanks [@wardpeet](https://github.com/wardpeet)! - Fix peerdeps @mastra/core
|
|
191
|
+
|
|
192
|
+
- Updated dependencies [[`95b2aa9`](https://github.com/mastra-ai/mastra/commit/95b2aa908230919e67efcac0d69005a2d5745298)]:
|
|
193
|
+
- @mastra/deployer@0.15.1
|
|
194
|
+
- @mastra/loggers@0.10.8
|
|
195
|
+
- @mastra/core@0.15.1
|
|
196
|
+
|
|
197
|
+
## 0.15.0
|
|
198
|
+
|
|
199
|
+
### Patch Changes
|
|
200
|
+
|
|
201
|
+
- [#6866](https://github.com/mastra-ai/mastra/pull/6866) [`3562fd1`](https://github.com/mastra-ai/mastra/commit/3562fd14b782dc7ed00f4f03df8fbb5fe6e5ff4b) Thanks [@rphansen91](https://github.com/rphansen91)! - @mastra/deployer-cloud
|
|
202
|
+
|
|
203
|
+
- Updated dependencies [[`0778757`](https://github.com/mastra-ai/mastra/commit/07787570e4addbd501522037bd2542c3d9e26822), [`e9a36bd`](https://github.com/mastra-ai/mastra/commit/e9a36bd03ed032528b60186a318f563ebf59c01a), [`2b38a60`](https://github.com/mastra-ai/mastra/commit/2b38a60da0c1153028d8241c7748b41c5fb81121), [`943a7f3`](https://github.com/mastra-ai/mastra/commit/943a7f3dbc6a8ab3f9b7bc7c8a1c5b319c3d7f56), [`681252d`](https://github.com/mastra-ai/mastra/commit/681252d20e57fcee6821377dea96cacab3bc230f), [`01be5d3`](https://github.com/mastra-ai/mastra/commit/01be5d358fad8faa101e5c69dfa54562c02cc0af), [`bf504a8`](https://github.com/mastra-ai/mastra/commit/bf504a833051f6f321d832cc7d631f3cb86d657b), [`da58ccc`](https://github.com/mastra-ai/mastra/commit/da58ccc1f2ac33da0cb97b00443fc6208b45bdec), [`be49354`](https://github.com/mastra-ai/mastra/commit/be493546dca540101923ec700feb31f9a13939f2), [`d591ab3`](https://github.com/mastra-ai/mastra/commit/d591ab3ecc985c1870c0db347f8d7a20f7360536), [`ba82abe`](https://github.com/mastra-ai/mastra/commit/ba82abe76e869316bb5a9c95e8ea3946f3436fae), [`2a96802`](https://github.com/mastra-ai/mastra/commit/2a96802f76790ebb86a1bcb254398dccf27e5479), [`727f7e5`](https://github.com/mastra-ai/mastra/commit/727f7e5086e62e0dfe3356fb6dcd8bcb420af246), [`e6f5046`](https://github.com/mastra-ai/mastra/commit/e6f50467aff317e67e8bd74c485c3fbe2a5a6db1), [`82d9f64`](https://github.com/mastra-ai/mastra/commit/82d9f647fbe4f0177320e7c05073fce88599aa95), [`2e58325`](https://github.com/mastra-ai/mastra/commit/2e58325beb170f5b92f856e27d915cd26917e5e6), [`1191ce9`](https://github.com/mastra-ai/mastra/commit/1191ce946b40ed291e7877a349f8388e3cff7e5c), [`de24804`](https://github.com/mastra-ai/mastra/commit/de248044e79b407d211b339ce3ed4dc6e1630704), [`4189486`](https://github.com/mastra-ai/mastra/commit/4189486c6718fda78347bdf4ce4d3fc33b2236e1), [`ca8ec2f`](https://github.com/mastra-ai/mastra/commit/ca8ec2f61884b9dfec5fc0d5f4f29d281ad13c01), [`9613558`](https://github.com/mastra-ai/mastra/commit/9613558e6475f4710e05d1be7553a32ee7bddc20)]:
|
|
204
|
+
- @mastra/core@0.15.0
|
|
205
|
+
- @mastra/deployer@0.15.0
|
|
206
|
+
|
|
207
|
+
## 0.15.0-alpha.4
|
|
208
|
+
|
|
209
|
+
### Patch Changes
|
|
210
|
+
|
|
211
|
+
- Updated dependencies [[`1191ce9`](https://github.com/mastra-ai/mastra/commit/1191ce946b40ed291e7877a349f8388e3cff7e5c)]:
|
|
212
|
+
- @mastra/deployer@0.15.0-alpha.4
|
|
213
|
+
- @mastra/core@0.15.0-alpha.4
|
|
214
|
+
|
|
215
|
+
## 0.15.0-alpha.3
|
|
216
|
+
|
|
217
|
+
### Patch Changes
|
|
218
|
+
|
|
219
|
+
- Updated dependencies [[`da58ccc`](https://github.com/mastra-ai/mastra/commit/da58ccc1f2ac33da0cb97b00443fc6208b45bdec)]:
|
|
220
|
+
- @mastra/deployer@0.15.0-alpha.3
|
|
221
|
+
- @mastra/core@0.15.0-alpha.3
|
|
222
|
+
|
|
223
|
+
## 0.14.2-alpha.2
|
|
224
|
+
|
|
225
|
+
### Patch Changes
|
|
226
|
+
|
|
227
|
+
- [#6866](https://github.com/mastra-ai/mastra/pull/6866) [`3562fd1`](https://github.com/mastra-ai/mastra/commit/3562fd14b782dc7ed00f4f03df8fbb5fe6e5ff4b) Thanks [@rphansen91](https://github.com/rphansen91)! - @mastra/deployer-cloud
|
|
228
|
+
|
|
229
|
+
- Updated dependencies [[`2a96802`](https://github.com/mastra-ai/mastra/commit/2a96802f76790ebb86a1bcb254398dccf27e5479), [`2e58325`](https://github.com/mastra-ai/mastra/commit/2e58325beb170f5b92f856e27d915cd26917e5e6)]:
|
|
230
|
+
- @mastra/deployer@0.14.2-alpha.2
|
|
231
|
+
- @mastra/core@0.14.2-alpha.2
|
package/LICENSE.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Apache License 2.0
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Kepler Software, Inc.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
you may not use this file except in compliance with the License.
|
|
7
|
+
You may obtain a copy of the License at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
See the License for the specific language governing permissions and
|
|
15
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
# @mastra/deployer-cloud
|
|
2
|
+
|
|
3
|
+
A cloud-optimized deployer for Mastra applications with built-in telemetry, logging, and storage integration.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- **Cloud-Native Integration**: Automatic setup for LibSQL storage and vector databases
|
|
8
|
+
- **Advanced Logging**: Built-in PinoLogger with HTTP transport for cloud logging endpoints
|
|
9
|
+
- **Telemetry & Monitoring**: OpenTelemetry instrumentation with readiness logging
|
|
10
|
+
- **Evaluation Hooks**: Automatic agent evaluation tracking and storage
|
|
11
|
+
- **Multi-Logger Support**: Combines cloud logging with existing application loggers
|
|
12
|
+
- **Environment-Based Configuration**: Smart configuration based on deployment environment
|
|
13
|
+
|
|
14
|
+
## Installation
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
pnpm add @mastra/deployer-cloud
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Usage
|
|
21
|
+
|
|
22
|
+
The cloud deployer is used as part of the Mastra build process:
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import { CloudDeployer } from '@mastra/deployer-cloud';
|
|
26
|
+
|
|
27
|
+
const deployer = new CloudDeployer();
|
|
28
|
+
|
|
29
|
+
// Bundle your Mastra application
|
|
30
|
+
await deployer.bundle(mastraDir, outputDirectory);
|
|
31
|
+
|
|
32
|
+
// The deployer automatically:
|
|
33
|
+
// - Adds cloud dependencies
|
|
34
|
+
// - Sets up instrumentation
|
|
35
|
+
// - Configures logging and storage
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## What It Does
|
|
39
|
+
|
|
40
|
+
### 1. Dependency Management
|
|
41
|
+
|
|
42
|
+
Automatically adds cloud-specific dependencies to your package.json:
|
|
43
|
+
|
|
44
|
+
- `@mastra/loggers` - Cloud-optimized logging
|
|
45
|
+
- `@mastra/libsql` - Serverless SQL storage
|
|
46
|
+
- `@mastra/cloud` - Cloud platform utilities
|
|
47
|
+
|
|
48
|
+
### 2. Server Entry Generation
|
|
49
|
+
|
|
50
|
+
Creates a production-ready server entry point with:
|
|
51
|
+
|
|
52
|
+
- Cloud storage initialization (LibSQL)
|
|
53
|
+
- Vector database setup
|
|
54
|
+
- Multi-transport logging
|
|
55
|
+
- Telemetry and monitoring
|
|
56
|
+
- Evaluation hooks for agent metrics
|
|
57
|
+
|
|
58
|
+
### 3. Instrumentation
|
|
59
|
+
|
|
60
|
+
Provides OpenTelemetry instrumentation for:
|
|
61
|
+
|
|
62
|
+
- Distributed tracing
|
|
63
|
+
- Performance monitoring
|
|
64
|
+
- Custom telemetry configuration
|
|
65
|
+
|
|
66
|
+
## Environment Variables
|
|
67
|
+
|
|
68
|
+
The deployer configures your application to use these environment variables:
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
# Storage Configuration
|
|
72
|
+
MASTRA_STORAGE_URL=your-libsql-url
|
|
73
|
+
MASTRA_STORAGE_AUTH_TOKEN=your-auth-token
|
|
74
|
+
|
|
75
|
+
# Logging Configuration
|
|
76
|
+
BUSINESS_API_RUNNER_LOGS_ENDPOINT=your-logs-endpoint
|
|
77
|
+
BUSINESS_JWT_TOKEN=your-jwt-token
|
|
78
|
+
|
|
79
|
+
# Runtime Configuration
|
|
80
|
+
RUNNER_START_TIME=deployment-start-time
|
|
81
|
+
CI=true|false
|
|
82
|
+
|
|
83
|
+
# Deployment Metadata
|
|
84
|
+
TEAM_ID=your-team-id
|
|
85
|
+
PROJECT_ID=your-project-id
|
|
86
|
+
BUILD_ID=your-build-id
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
## Generated Server Code
|
|
90
|
+
|
|
91
|
+
The deployer generates a server entry that:
|
|
92
|
+
|
|
93
|
+
1. **Initializes Logging**:
|
|
94
|
+
- Sets up PinoLogger with cloud transports
|
|
95
|
+
- Combines with existing application loggers
|
|
96
|
+
- Provides structured JSON logging
|
|
97
|
+
|
|
98
|
+
2. **Configures Storage**:
|
|
99
|
+
- Initializes LibSQL store when credentials are provided
|
|
100
|
+
- Sets up vector database for semantic search
|
|
101
|
+
- Integrates with Mastra's memory system
|
|
102
|
+
|
|
103
|
+
3. **Registers Hooks**:
|
|
104
|
+
- `ON_GENERATION` - Tracks agent generation metrics
|
|
105
|
+
- `ON_EVALUATION` - Stores evaluation results
|
|
106
|
+
|
|
107
|
+
4. **Starts Server**:
|
|
108
|
+
- Creates Node.js server with Mastra configuration
|
|
109
|
+
- Disables playground and Swagger UI for production
|
|
110
|
+
- Exports tools for API access
|
|
111
|
+
|
|
112
|
+
## Project Structure
|
|
113
|
+
|
|
114
|
+
After deployment, your project will have:
|
|
115
|
+
|
|
116
|
+
```
|
|
117
|
+
output/
|
|
118
|
+
├── instrumentation.mjs # OpenTelemetry setup
|
|
119
|
+
├── package.json # With cloud dependencies
|
|
120
|
+
├── index.mjs # Main server entry
|
|
121
|
+
├── mastra.mjs # Your Mastra configuration
|
|
122
|
+
└── tools/ # Exported tools
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
## Readiness Logging
|
|
126
|
+
|
|
127
|
+
The deployer includes structured readiness logs for monitoring:
|
|
128
|
+
|
|
129
|
+
```json
|
|
130
|
+
{
|
|
131
|
+
"message": "Server starting|Server started|Runner Initialized",
|
|
132
|
+
"type": "READINESS",
|
|
133
|
+
"startTime": 1234567890,
|
|
134
|
+
"durationMs": 123,
|
|
135
|
+
"metadata": {
|
|
136
|
+
"teamId": "your-team-id",
|
|
137
|
+
"projectId": "your-project-id",
|
|
138
|
+
"buildId": "your-build-id"
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
## Testing
|
|
144
|
+
|
|
145
|
+
The cloud deployer includes comprehensive tests covering:
|
|
146
|
+
|
|
147
|
+
- Build pipeline functionality
|
|
148
|
+
- Server runtime generation
|
|
149
|
+
- Dependency management
|
|
150
|
+
- Error handling
|
|
151
|
+
- Integration scenarios
|
|
152
|
+
|
|
153
|
+
Run tests with:
|
|
154
|
+
|
|
155
|
+
```bash
|
|
156
|
+
pnpm test
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
## Development
|
|
160
|
+
|
|
161
|
+
For local development:
|
|
162
|
+
|
|
163
|
+
```bash
|
|
164
|
+
# Build the deployer
|
|
165
|
+
pnpm build
|
|
166
|
+
|
|
167
|
+
# Run tests
|
|
168
|
+
pnpm test
|
|
169
|
+
|
|
170
|
+
# Lint code
|
|
171
|
+
pnpm lint
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
## License
|
|
175
|
+
|
|
176
|
+
Apache-2.0
|