@tanstack/ai-client 0.7.2 → 0.7.5
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/README.md +9 -5
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -49,6 +49,10 @@ A powerful, type-safe AI SDK for building AI-powered applications.
|
|
|
49
49
|
|
|
50
50
|
### <a href="https://tanstack.com/ai">Read the docs →</a>
|
|
51
51
|
|
|
52
|
+
## Requirements
|
|
53
|
+
|
|
54
|
+
- **Node.js v24+** is required to avoid compatibility issues with `isolated-vm`.
|
|
55
|
+
|
|
52
56
|
## Tree-Shakeable Adapters
|
|
53
57
|
|
|
54
58
|
Import only the functionality you need for smaller bundle sizes:
|
|
@@ -87,8 +91,8 @@ Available adapters: `openaiText`, `openaiEmbed`, `openaiSummarize`, `anthropicTe
|
|
|
87
91
|
<td>
|
|
88
92
|
<a href="https://www.coderabbit.ai/?via=tanstack&dub_id=aCcEEdAOqqutX6OS" >
|
|
89
93
|
<picture>
|
|
90
|
-
|
|
91
|
-
<source media="(prefers-color-scheme: light)" srcset="https://tanstack.com/assets/coderabbit-light-CIzGLYU_.svg"
|
|
94
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://tanstack.com/assets/coderabbit-dark-D643Zkrv.svg" />
|
|
95
|
+
<source media="(prefers-color-scheme: light)" srcset="https://tanstack.com/assets/coderabbit-light-CIzGLYU_.svg" />
|
|
92
96
|
<img src="https://tanstack.com/assets/coderabbit-light-CIzGLYU_.svg" height="40" alt="CodeRabbit" />
|
|
93
97
|
</picture>
|
|
94
98
|
</a>
|
|
@@ -96,9 +100,9 @@ Available adapters: `openaiText`, `openaiEmbed`, `openaiSummarize`, `anthropicTe
|
|
|
96
100
|
<td>
|
|
97
101
|
<a href="https://www.cloudflare.com?utm_source=tanstack">
|
|
98
102
|
<picture>
|
|
99
|
-
|
|
100
|
-
<source media="(prefers-color-scheme: light)" srcset="https://tanstack.com/assets/cloudflare-black-6Ojsn8yh.svg"
|
|
101
|
-
<img src="https://tanstack.com/assets/cloudflare-
|
|
103
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://tanstack.com/assets/cloudflare-white-Co-Tyjbl.svg" />
|
|
104
|
+
<source media="(prefers-color-scheme: light)" srcset="https://tanstack.com/assets/cloudflare-black-6Ojsn8yh.svg" />
|
|
105
|
+
<img src="https://tanstack.com/assets/cloudflare-white-Co-Tyjbl.svg" height="60" alt="Cloudflare" />
|
|
102
106
|
</picture>
|
|
103
107
|
</a>
|
|
104
108
|
</td>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/ai-client",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.5",
|
|
4
4
|
"description": "Framework-agnostic headless client for TanStack AI",
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "MIT",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"src"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@tanstack/ai": "0.
|
|
35
|
-
"@tanstack/ai-event-client": "0.1.
|
|
34
|
+
"@tanstack/ai": "0.9.2",
|
|
35
|
+
"@tanstack/ai-event-client": "0.1.4"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@vitest/coverage-v8": "4.0.14",
|