@mastra/deployer 1.45.0 → 1.46.0-alpha.1
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 +16 -0
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/server/index.cjs +12 -3
- package/dist/server/index.cjs.map +1 -1
- package/dist/server/index.js +13 -4
- package/dist/server/index.js.map +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @mastra/deployer
|
|
2
2
|
|
|
3
|
+
## 1.46.0-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`7794d71`](https://github.com/mastra-ai/mastra/commit/7794d71872c68733a30e028dfb7b1705daf6c5d2)]:
|
|
8
|
+
- @mastra/core@1.46.0-alpha.1
|
|
9
|
+
- @mastra/server@1.46.0-alpha.1
|
|
10
|
+
|
|
11
|
+
## 1.46.0-alpha.0
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [[`5bd72d2`](https://github.com/mastra-ai/mastra/commit/5bd72d255f45b5ea8ab342643bd463814a980a24), [`1cc9ee1`](https://github.com/mastra-ai/mastra/commit/1cc9ee1ba51db53020a735626d33017a60b4b5b3), [`417baae`](https://github.com/mastra-ai/mastra/commit/417baae40b995db5819c845036947f0c27dc1c00), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`30ebaf0`](https://github.com/mastra-ai/mastra/commit/30ebaf07bed5f4d30f2f257836c15d1bf7e40aae), [`5704634`](https://github.com/mastra-ai/mastra/commit/5704634b22133167dea337a942a34f57aaa3fa14), [`417baae`](https://github.com/mastra-ai/mastra/commit/417baae40b995db5819c845036947f0c27dc1c00), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`c0eda2b`](https://github.com/mastra-ai/mastra/commit/c0eda2bcd91a228427314b12c91d8b147f3a739f), [`c0eda2b`](https://github.com/mastra-ai/mastra/commit/c0eda2bcd91a228427314b12c91d8b147f3a739f), [`b13925b`](https://github.com/mastra-ai/mastra/commit/b13925bfa91aa8700f56fa54a9ce707ee7e4ba62), [`bf94ec6`](https://github.com/mastra-ai/mastra/commit/bf94ec68192d9f16e46ef7e5ac36370aeeddf35d), [`a29f371`](https://github.com/mastra-ai/mastra/commit/a29f371aef629ac8562661524a497127e93b5131), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`073f910`](https://github.com/mastra-ai/mastra/commit/073f910481e7d94b95ba3830f96531774ae95d33), [`ebbe1d3`](https://github.com/mastra-ai/mastra/commit/ebbe1d31a965a3adb0e728758f326b8122b4b55f), [`1f97ce5`](https://github.com/mastra-ai/mastra/commit/1f97ce5695463bebb4eaacf501da6fb403e20885), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`64f58c0`](https://github.com/mastra-ai/mastra/commit/64f58c04e78b40137497d47f781e897e416f22a5), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`ebbe1d3`](https://github.com/mastra-ai/mastra/commit/ebbe1d31a965a3adb0e728758f326b8122b4b55f), [`37ab9d3`](https://github.com/mastra-ai/mastra/commit/37ab9d3482cea21388008e522a5c781763832588), [`417baae`](https://github.com/mastra-ai/mastra/commit/417baae40b995db5819c845036947f0c27dc1c00), [`8e25a78`](https://github.com/mastra-ai/mastra/commit/8e25a78e0597575f0b0729bae8c5e190c84869b5), [`417baae`](https://github.com/mastra-ai/mastra/commit/417baae40b995db5819c845036947f0c27dc1c00), [`a5b22d3`](https://github.com/mastra-ai/mastra/commit/a5b22d314d62a68d801886a8d3d0eb6c089473db), [`def2671`](https://github.com/mastra-ai/mastra/commit/def267176e72ebbb28823f7d2c35da3dbf637564), [`ea55a1d`](https://github.com/mastra-ai/mastra/commit/ea55a1d67e656129b74d661a0e06fa274f503aa3), [`417baae`](https://github.com/mastra-ai/mastra/commit/417baae40b995db5819c845036947f0c27dc1c00), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858)]:
|
|
16
|
+
- @mastra/core@1.46.0-alpha.0
|
|
17
|
+
- @mastra/server@1.46.0-alpha.0
|
|
18
|
+
|
|
3
19
|
## 1.45.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
package/dist/docs/SKILL.md
CHANGED
package/dist/server/index.cjs
CHANGED
|
@@ -2984,12 +2984,21 @@ var MastraServer = class extends serverAdapter.MastraServer {
|
|
|
2984
2984
|
}
|
|
2985
2985
|
const shouldRedact = this.streamOptions?.redact ?? true;
|
|
2986
2986
|
const outputValue = shouldRedact ? serverAdapter.redactStreamChunk(value) : value;
|
|
2987
|
+
const serialized = serverAdapter.serializeStreamChunk(outputValue);
|
|
2988
|
+
if (!serialized.ok) {
|
|
2989
|
+
this.mastra.getLogger()?.error("Failed to serialize stream chunk, skipping", {
|
|
2990
|
+
path: route.path,
|
|
2991
|
+
chunkType: outputValue?.type,
|
|
2992
|
+
error: serialized.error.message
|
|
2993
|
+
});
|
|
2994
|
+
continue;
|
|
2995
|
+
}
|
|
2987
2996
|
if (streamFormat === "sse") {
|
|
2988
|
-
await stream2.write(`data: ${
|
|
2997
|
+
await stream2.write(`data: ${serialized.json}
|
|
2989
2998
|
|
|
2990
2999
|
`);
|
|
2991
3000
|
} else {
|
|
2992
|
-
await stream2.write(
|
|
3001
|
+
await stream2.write(serialized.json + "");
|
|
2993
3002
|
}
|
|
2994
3003
|
}
|
|
2995
3004
|
}
|
|
@@ -3463,7 +3472,7 @@ var MastraServer = class extends serverAdapter.MastraServer {
|
|
|
3463
3472
|
}
|
|
3464
3473
|
};
|
|
3465
3474
|
|
|
3466
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/hono-openapi/1.3.0/
|
|
3475
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/hono-openapi/1.3.0/45ace4f12872d622c60648be245a42d9401745b4cfb7d3b258ed58143d85fa07/node_modules/hono-openapi/dist/index.js
|
|
3467
3476
|
var uniqueSymbol = /* @__PURE__ */ Symbol("openapi");
|
|
3468
3477
|
function describeRoute(spec) {
|
|
3469
3478
|
const middleware2 = async (_c, next) => {
|