@tanstack/ai-devtools-core 1.0.1 → 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 CHANGED
@@ -19,17 +19,17 @@
19
19
  <br />
20
20
 
21
21
  <div align="center">
22
- <a href="https://npmjs.com/package/@tanstack/ai-devtools-core" target="_parent">
23
- <img alt="NPM downloads" src="https://img.shields.io/npm/dm/@tanstack/ai-devtools-core.svg" />
22
+ <a href="https://npmjs.com/package/@tanstack/ai" target="_parent">
23
+ <img alt="NPM downloads" src="https://img.shields.io/npm/dm/@tanstack/ai.svg" />
24
24
  </a>
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://www.npmjs.com/package/@tanstack/ai-devtools-core" target="_parent">
29
- <img alt="npm version" src="https://img.shields.io/npm/v/@tanstack/ai-devtools-core.svg" />
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://bundlejs.com/?q=%40tanstack%2Fai-devtools-core" target="_parent">
32
- <img alt="Bundle size" src="https://deno.bundlejs.com/?q=%40tanstack%2Fai-devtools-core&badge" />
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',
@@ -307,9 +308,9 @@ on.
307
308
  <td>
308
309
  <a href="https://www.cloudflare.com?utm_source=tanstack">
309
310
  <picture>
310
- <source media="(prefers-color-scheme: dark)" srcset="https://tanstack.com/assets/cloudflare-white-Co-Tyjbl.svg" />
311
- <source media="(prefers-color-scheme: light)" srcset="https://tanstack.com/assets/cloudflare-black-6Ojsn8yh.svg" />
312
- <img src="https://tanstack.com/assets/cloudflare-black-6Ojsn8yh.svg" height="60" alt="Cloudflare" />
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" />
313
314
  </picture>
314
315
  </a>
315
316
  </td>