Open History to see the last commit
1{
2 "name": "@tanstack/ai-react",
3 "version": "0.19.2",
4 "description": "React hooks for TanStack AI streaming chat, realtime voice, structured outputs, and media generation.",
5 "author": "Tanner Linsley",
6 "license": "MIT",
7 "homepage": "https://tanstack.com/ai",
8 "repository": {
9 "type": "git",
10 "url": "git+https://github.com/TanStack/ai.git",
11 "directory": "packages/ai-react"
12 },
13 "bugs": {
14 "url": "https://github.com/TanStack/ai/issues"
15 },
16 "funding": {
17 "type": "github",
18 "url": "https://github.com/sponsors/tannerlinsley"
19 },
20 "type": "module",
21 "module": "./dist/esm/index.js",
22 "types": "./dist/esm/index.d.ts",
23 "exports": {
24 ".": {
25 "types": "./dist/esm/index.d.ts",
26 "import": "./dist/esm/index.js"
27 },
28 "./mcp-apps": {
29 "types": "./dist/esm/mcp-apps.d.ts",
30 "import": "./dist/esm/mcp-apps.js"
31 }
32 },
33 "files": [
34 "dist",
35 "src"
36 ],
37 "scripts": {
38 "clean": "premove ./build ./dist",
39 "lint:fix": "oxlint src --type-aware --fix",
40 "test:oxlint": "oxlint src --type-aware",
41 "test:lib": "vitest run",
42 "test:lib:dev": "pnpm test:lib --watch",
43 "test:types": "tsc",
44 "test:build": "publint --strict",
45 "build": "vite build"
46 },
47 "keywords": [
48 "ai",
49 "ai-sdk",
50 "typescript",
51 "tanstack",
52 "react",
53 "hooks",
54 "chat",
55 "streaming",
56 "realtime",
57 "tool-calling",
58 "structured-outputs",
59 "media-generation"
60 ],
61 "dependencies": {
62 "@tanstack/ai-client": "workspace:^"
63 },
64 "peerDependencies": {
65 "@mcp-ui/client": "^7",
66 "@tanstack/ai": "workspace:^",
67 "@types/react": ">=18.0.0",
68 "react": ">=18.0.0"
69 },
70 "peerDependenciesMeta": {
71 "@mcp-ui/client": {
72 "optional": true
73 }
74 },
75 "devDependencies": {
76 "@mcp-ui/client": "^7.1.1",
77 "@standard-schema/spec": "^1.1.0",
78 "@tanstack/ai": "workspace:*",
79 "@testing-library/react": "^16.3.0",
80 "@types/react": "^19.2.7",
81 "@vitest/coverage-v8": "4.0.14",
82 "jsdom": "^27.2.0",
83 "react": "^19.2.3",
84 "vite": "^8.1.4"
85 }
86}