@tanstack/ai-devtools-core 1.0.0 → 1.1.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/README.md +12 -10
- package/dist/Shell/{SBYXDNZ3.js → 5IGZ23AT.js} +102 -87
- package/dist/{production/Shell/UIPYEUHK.js → Shell/KYEGAX56.js} +233 -203
- package/dist/Shell/{6QCPTVG7.js → WHLM6NFS.js} +233 -203
- package/dist/dev.js +1 -1
- package/dist/index.js +1 -1
- package/dist/production/Shell/{SBYXDNZ3.js → 5IGZ23AT.js} +102 -87
- package/dist/{Shell/UIPYEUHK.js → production/Shell/KYEGAX56.js} +233 -203
- package/dist/production/Shell/{6QCPTVG7.js → WHLM6NFS.js} +233 -203
- package/dist/production/dev.js +1 -1
- package/dist/production/index.js +1 -1
- package/dist/production/server.js +1 -1
- package/dist/server.js +1 -1
- package/package.json +7 -7
- package/src/components/conversation/IterationCard.tsx +14 -0
- package/src/store/ai-context.tsx +6 -0
package/README.md
CHANGED
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
<a href="https://github.com/TanStack/ai" target="_parent">
|
|
26
26
|
<img alt="GitHub stars" src="https://img.shields.io/github/stars/TanStack/ai.svg?style=social&label=Star" />
|
|
27
27
|
</a>
|
|
28
|
-
<a href="https://
|
|
29
|
-
<img alt="
|
|
28
|
+
<a href="https://www.npmjs.com/package/@tanstack/ai" target="_parent">
|
|
29
|
+
<img alt="npm version" src="https://img.shields.io/npm/v/@tanstack/ai.svg" />
|
|
30
30
|
</a>
|
|
31
|
-
<a href="https://
|
|
32
|
-
<img alt="Bundle size" src="https://
|
|
31
|
+
<a href="https://bundlejs.com/?q=%40tanstack%2Fai" target="_parent">
|
|
32
|
+
<img alt="Bundle size" src="https://deno.bundlejs.com/?q=%40tanstack%2Fai&badge" />
|
|
33
33
|
</a>
|
|
34
34
|
<a href="https://twitter.com/tan_stack">
|
|
35
35
|
<img alt="Follow @TanStack" src="https://img.shields.io/twitter/follow/tan_stack.svg?style=social" />
|
|
@@ -165,6 +165,7 @@ input and output types:
|
|
|
165
165
|
```typescript
|
|
166
166
|
import { toolDefinition } from '@tanstack/ai'
|
|
167
167
|
import { z } from 'zod'
|
|
168
|
+
import { db } from './db'
|
|
168
169
|
|
|
169
170
|
const getProducts = toolDefinition({
|
|
170
171
|
name: 'getProducts',
|
|
@@ -244,6 +245,7 @@ Official adapters include:
|
|
|
244
245
|
| [`@tanstack/ai-reactor`](https://tanstack.com/ai/latest/docs/adapters/reactor) | Reactor live world and video generation (Orbis, Happy Oyster, LingBot, Helios, FastH3) |
|
|
245
246
|
| [`@tanstack/ai-worldlabs`](https://tanstack.com/ai/latest/docs/adapters/worldlabs) | World Labs Marble persistent 3D world generation |
|
|
246
247
|
| [`@tanstack/ai-cloudflare`](https://tanstack.com/ai/latest/docs/adapters/cloudflare) | Cloudflare Workers AI chat, embeddings, image, speech, transcription, and AI Gateway |
|
|
248
|
+
| [`@tanstack/ai-neon`](https://tanstack.com/ai/latest/docs/adapters/neon) | Neon AI Gateway chat and embeddings for Claude, GPT, Gemini, and open models |
|
|
247
249
|
|
|
248
250
|
The adapter system is tree-shakeable by activity. Import `openaiText` for chat,
|
|
249
251
|
`openaiImage` for images, `falVideo` for video, `geminiSpeech` for TTS, and so
|
|
@@ -297,18 +299,18 @@ on.
|
|
|
297
299
|
<td>
|
|
298
300
|
<a href="https://www.coderabbit.ai/?via=tanstack&dub_id=aCcEEdAOqqutX6OS">
|
|
299
301
|
<picture>
|
|
300
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://tanstack.com/
|
|
301
|
-
<source media="(prefers-color-scheme: light)" srcset="https://tanstack.com/
|
|
302
|
-
<img src="https://tanstack.com/
|
|
302
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/TanStack/tanstack.com/main/src/images/coderabbit-dark.svg" />
|
|
303
|
+
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/TanStack/tanstack.com/main/src/images/coderabbit-light.svg" />
|
|
304
|
+
<img src="https://raw.githubusercontent.com/TanStack/tanstack.com/main/src/images/coderabbit-light.svg" height="40" alt="CodeRabbit" />
|
|
303
305
|
</picture>
|
|
304
306
|
</a>
|
|
305
307
|
</td>
|
|
306
308
|
<td>
|
|
307
309
|
<a href="https://www.cloudflare.com?utm_source=tanstack">
|
|
308
310
|
<picture>
|
|
309
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://tanstack.com/
|
|
310
|
-
<source media="(prefers-color-scheme: light)" srcset="https://tanstack.com/
|
|
311
|
-
<img src="https://tanstack.com/
|
|
311
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/TanStack/tanstack.com/main/src/images/cloudflare-white.svg" />
|
|
312
|
+
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/TanStack/tanstack.com/main/src/images/cloudflare-black.svg" />
|
|
313
|
+
<img src="https://raw.githubusercontent.com/TanStack/tanstack.com/main/src/images/cloudflare-white.svg" height="60" alt="Cloudflare" />
|
|
312
314
|
</picture>
|
|
313
315
|
</a>
|
|
314
316
|
</td>
|