@mastra/ai-sdk 1.1.4-alpha.0 → 1.1.4

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 CHANGED
@@ -1,5 +1,14 @@
1
1
  # @mastra/ai-sdk
2
2
 
3
+ ## 1.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Clarified that chatRoute() aborts generation on client disconnect and documented a custom route pattern that continues server-side generation with consumeStream(). ([#14333](https://github.com/mastra-ai/mastra/pull/14333))
8
+
9
+ - Updated dependencies [[`51970b3`](https://github.com/mastra-ai/mastra/commit/51970b3828494d59a8dd4df143b194d37d31e3f5), [`4444280`](https://github.com/mastra-ai/mastra/commit/444428094253e916ec077e66284e685fde67021e), [`085e371`](https://github.com/mastra-ai/mastra/commit/085e3718a7d0fe9a210fe7dd1c867b9bdfe8d16b), [`b77aa19`](https://github.com/mastra-ai/mastra/commit/b77aa1981361c021f2c881bee8f0c703687f00da), [`dbb879a`](https://github.com/mastra-ai/mastra/commit/dbb879af0b809c668e9b3a9d8bac97d806caa267), [`8b4ce84`](https://github.com/mastra-ai/mastra/commit/8b4ce84aed0808b9805cc4fd7147c1f8a2ef7a36), [`8d4cfe6`](https://github.com/mastra-ai/mastra/commit/8d4cfe6b9a7157d3876206227ec9f04cde6dbc4a), [`dd6ca1c`](https://github.com/mastra-ai/mastra/commit/dd6ca1cdea3b8b6182f4cf61df41070ba0cc0deb), [`ce26fe2`](https://github.com/mastra-ai/mastra/commit/ce26fe2166dd90254f8bee5776e55977143e97de), [`68a019d`](https://github.com/mastra-ai/mastra/commit/68a019d30d22251ddd628a2947d60215c03c350a), [`4cb4edf`](https://github.com/mastra-ai/mastra/commit/4cb4edf3c909d197ec356c1790d13270514ffef6), [`8de3555`](https://github.com/mastra-ai/mastra/commit/8de355572c6fd838f863a3e7e6fe24d0947b774f), [`b26307f`](https://github.com/mastra-ai/mastra/commit/b26307f050df39629511b0e831b8fc26973ce8b1), [`68a019d`](https://github.com/mastra-ai/mastra/commit/68a019d30d22251ddd628a2947d60215c03c350a)]:
10
+ - @mastra/core@1.14.0
11
+
3
12
  ## 1.1.4-alpha.0
4
13
 
5
14
  ### Patch Changes
@@ -40,7 +40,7 @@ import type { MessageListInput } from '@mastra/core/agent/message-list';
40
40
  * });
41
41
  * ```
42
42
  */
43
- export declare function toAISdkV5Messages(messages: MessageListInput): import("./_types/@internal_ai-sdk-v5/dist/index.js").UIMessage<unknown, import("./_types/@internal_ai-sdk-v5/dist/index.js").UIDataTypes, import("./_types/@internal_ai-sdk-v5/dist/index.js").UITools>[];
43
+ export declare function toAISdkV5Messages(messages: MessageListInput): import("@mastra/core/_types/@internal_ai-sdk-v5/dist").UIMessage<unknown, import("@mastra/core/_types/@internal_ai-sdk-v5/dist").UIDataTypes, import("@mastra/core/_types/@internal_ai-sdk-v5/dist").UITools>[];
44
44
  /**
45
45
  * Converts messages from various input formats to AI SDK V4 UI message format.
46
46
  *
@@ -1 +1 @@
1
- {"version":3,"file":"convert-messages.d.ts","sourceRoot":"","sources":["../src/convert-messages.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAExE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,gBAAgB,wIAE3D;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,gBAAgB,wDAE3D"}
1
+ {"version":3,"file":"convert-messages.d.ts","sourceRoot":"","sources":["../src/convert-messages.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAExE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,gBAAgB,mNAE3D;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,gBAAgB,wDAE3D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/ai-sdk",
3
- "version": "1.1.4-alpha.0",
3
+ "version": "1.1.4",
4
4
  "description": "Adds custom API routes to be compatible with the AI SDK UI parts",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -46,13 +46,13 @@
46
46
  "typescript": "^5.9.3",
47
47
  "vitest": "4.0.18",
48
48
  "zod": "^4.3.6",
49
- "@internal/ai-sdk-v4": "0.0.18",
50
- "@internal/ai-sdk-v5": "0.0.18",
51
- "@internal/lint": "0.0.71",
52
- "@internal/types-builder": "0.0.46",
53
- "@mastra/core": "1.13.3-alpha.0",
54
- "@mastra/libsql": "1.7.0",
55
- "@mastra/memory": "1.8.3-alpha.0"
49
+ "@internal/ai-sdk-v4": "0.0.19",
50
+ "@internal/ai-sdk-v5": "0.0.19",
51
+ "@internal/lint": "0.0.72",
52
+ "@internal/types-builder": "0.0.47",
53
+ "@mastra/libsql": "1.7.1",
54
+ "@mastra/memory": "1.8.3",
55
+ "@mastra/core": "1.14.0"
56
56
  },
57
57
  "keywords": [
58
58
  "mastra",