@mastra/ai-sdk 1.4.1 → 1.4.2-alpha.0
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 +9 -0
- package/dist/_types/@internal_ai-sdk-v5/dist/index.d.ts +425 -1757
- package/dist/_types/@internal_ai-v6/dist/index.d.ts +311 -1772
- package/dist/helpers.d.ts.map +1 -1
- package/dist/index.cjs +895 -440
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +895 -440
- package/dist/index.js.map +1 -1
- package/dist/ui.cjs +1 -0
- package/dist/ui.cjs.map +1 -1
- package/dist/ui.js +1 -0
- package/dist/ui.js.map +1 -1
- package/package.json +14 -14
- package/dist/chunk-3YJ25IUJ.js +0 -79
- package/dist/chunk-3YJ25IUJ.js.map +0 -1
- package/dist/chunk-DGUM43GV.js +0 -10
- package/dist/chunk-DGUM43GV.js.map +0 -1
- package/dist/chunk-HDI4ZP7N.js +0 -79
- package/dist/chunk-HDI4ZP7N.js.map +0 -1
- package/dist/chunk-HMOX24BQ.js +0 -439
- package/dist/chunk-HMOX24BQ.js.map +0 -1
- package/dist/chunk-IV3RKEE4.js +0 -439
- package/dist/chunk-IV3RKEE4.js.map +0 -1
- package/dist/chunk-JEQ2X3Z6.cjs +0 -12
- package/dist/chunk-JEQ2X3Z6.cjs.map +0 -1
- package/dist/chunk-PEZAMDZJ.cjs +0 -84
- package/dist/chunk-PEZAMDZJ.cjs.map +0 -1
- package/dist/chunk-VJW66KXQ.cjs +0 -441
- package/dist/chunk-VJW66KXQ.cjs.map +0 -1
- package/dist/chunk-WFARZCDO.cjs +0 -84
- package/dist/chunk-WFARZCDO.cjs.map +0 -1
- package/dist/chunk-X72VW7EY.cjs +0 -441
- package/dist/chunk-X72VW7EY.cjs.map +0 -1
- package/dist/token-APYSY3BW-CBIBV5F2.js +0 -61
- package/dist/token-APYSY3BW-CBIBV5F2.js.map +0 -1
- package/dist/token-APYSY3BW-INR55PKP.js +0 -61
- package/dist/token-APYSY3BW-INR55PKP.js.map +0 -1
- package/dist/token-APYSY3BW-M2K6HVOG.cjs +0 -63
- package/dist/token-APYSY3BW-M2K6HVOG.cjs.map +0 -1
- package/dist/token-APYSY3BW-Y5VD4L7Z.cjs +0 -63
- package/dist/token-APYSY3BW-Y5VD4L7Z.cjs.map +0 -1
- package/dist/token-util-RMHT2CPJ-3LCBPXJ6.cjs +0 -10
- package/dist/token-util-RMHT2CPJ-3LCBPXJ6.cjs.map +0 -1
- package/dist/token-util-RMHT2CPJ-4YTBAZ23.cjs +0 -10
- package/dist/token-util-RMHT2CPJ-4YTBAZ23.cjs.map +0 -1
- package/dist/token-util-RMHT2CPJ-HCMQIDTV.js +0 -8
- package/dist/token-util-RMHT2CPJ-HCMQIDTV.js.map +0 -1
- package/dist/token-util-RMHT2CPJ-IOKQM5O3.js +0 -8
- package/dist/token-util-RMHT2CPJ-IOKQM5O3.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @mastra/ai-sdk
|
|
2
2
|
|
|
3
|
+
## 1.4.2-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fixed cache write tokens not being set on the AI SDK v6 usage object. `inputTokenDetails.cacheWriteTokens` now reflects the prompt cache creation tokens reported by the provider instead of always being `undefined`. Previously this value was only accessible via `providerMetadata.anthropic.cacheCreationInputTokens`. ([#16354](https://github.com/mastra-ai/mastra/pull/16354))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`6742347`](https://github.com/mastra-ai/mastra/commit/6742347d71955d7639adc9ddf6ff8282de7ee3ba), [`7b0ad1f`](https://github.com/mastra-ai/mastra/commit/7b0ad1f5c53dc118c6da12ae82ae2587037dc2b8), [`62666c3`](https://github.com/mastra-ai/mastra/commit/62666c367eaeac3941ead454b1d38810cc855721), [`4af2160`](https://github.com/mastra-ai/mastra/commit/4af2160322f4718cac421930cce85641e9512389), [`136c959`](https://github.com/mastra-ai/mastra/commit/136c9592fb0eeb0cd212f28629d8a29b7557a2fc), [`4df7cc7`](https://github.com/mastra-ai/mastra/commit/4df7cc79342fd065fe7fdeef93c094db14b12bcd), [`aca3121`](https://github.com/mastra-ai/mastra/commit/aca31211233dac25459f140ea4fcfb3a5af64c18), [`9cdf38e`](https://github.com/mastra-ai/mastra/commit/9cdf38e58506e1109c8b38f97cd7770978a4218e), [`990851e`](https://github.com/mastra-ai/mastra/commit/990851edcb0e30be5c2c18b6532f1a876cc2d335), [`6068a6c`](https://github.com/mastra-ai/mastra/commit/6068a6c42950fad3ebfc92346417896ba60803d2), [`00106be`](https://github.com/mastra-ai/mastra/commit/00106bede59b81e5b0e9cd6aad8d3b5dbc336387), [`e2a079c`](https://github.com/mastra-ai/mastra/commit/e2a079cc3755b1895f7bd5dc36e9be81b11c7c22), [`534a456`](https://github.com/mastra-ai/mastra/commit/534a456a25e4df1e5407e7e632f4cb3b1fa14f9d), [`36bae07`](https://github.com/mastra-ai/mastra/commit/36bae07c0e70b1b3006f2fd20830e8883dcbd066)]:
|
|
10
|
+
- @mastra/core@1.33.0-alpha.7
|
|
11
|
+
|
|
3
12
|
## 1.4.1
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|