Open History to see the last commit
1{
2 "name": "@tanstack/ai-react",
3 "version": "0.29.3",
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 "./ui": {
33 "types": "./dist/esm/ui.d.ts",
34 "import": "./dist/esm/ui.js"
35 },
36 "./byok": {
37 "types": "./dist/esm/byok.d.ts",
38 "import": "./dist/esm/byok.js"
39 }
40 },
41 "files": [
42 "dist",
43 "src"
44 ],
45 "scripts": {
46 "clean": "premove ./build ./dist",
47 "lint:fix": "oxlint src --type-aware --fix",
48 "test:oxlint": "oxlint src --type-aware",
49 "test:coverage": "vitest run --coverage --coverage.include='src/**' --coverage.reporter=text-summary --coverage.reporter=json-summary",
50 "test:lib": "vitest run",
51 "test:lib:dev": "pnpm test:lib --watch",
52 "test:types": "tsc",
53 "test:build": "publint --strict",
54 "build": "vite build"
55 },
56 "keywords": [
57 "ai",
58 "ai-sdk",
59 "typescript",
60 "tanstack",
61 "react",
62 "hooks",
63 "chat",
64 "streaming",
65 "realtime",
66 "tool-calling",
67 "structured-outputs",
68 "media-generation"
69 ],
70 "dependencies": {
71 "@tanstack/ai-client": "workspace:^",
72 "@tanstack/markdown": "^0.0.13"
73 },
74 "peerDependencies": {
75 "@mcp-ui/client": "^7",
76 "@tanstack/ai": "workspace:^",
77 "@types/react": ">=18.0.0",
78 "react": ">=18.0.0",
79 "react-dom": ">=18.0.0"
80 },
81 "peerDependenciesMeta": {
82 "@mcp-ui/client": {
83 "optional": true
84 },
85 "react-dom": {
86 "optional": true
87 }
88 },
89 "devDependencies": {
90 "@mcp-ui/client": "^7.1.1",
91 "@standard-schema/spec": "^1.1.0",
92 "@tanstack/ai": "workspace:*",
93 "@testing-library/react": "^16.3.2",
94 "@types/react": "^19.2.7",
95 "@vitest/coverage-v8": "4.1.10",
96 "jsdom": "^27.4.0",
97 "react": "^19.2.3",
98 "react-dom": "^19.2.3",
99 "vite": "^8.2.1"
100 }
101}