Open History to see the last commit
1{
2 "name": "@tanstack/ai-grok",
3 "version": "1.0.0",
4 "description": "xAI Grok adapter for TanStack AI chat, image generation, realtime, and structured outputs.",
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-grok"
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 "./byok": {
29 "types": "./dist/esm/byok.d.ts",
30 "import": "./dist/esm/byok.js"
31 },
32 "./tools": {
33 "types": "./dist/esm/tools/index.d.ts",
34 "import": "./dist/esm/tools/index.js"
35 },
36 "./vertex": {
37 "types": "./dist/esm/vertex/index.d.ts",
38 "import": "./dist/esm/vertex/index.js"
39 },
40 "./models": {
41 "types": "./dist/esm/models.d.ts",
42 "import": "./dist/esm/models.js"
43 }
44 },
45 "files": [
46 "dist",
47 "src"
48 ],
49 "scripts": {
50 "build": "vite build",
51 "clean": "premove ./build ./dist",
52 "lint:fix": "oxlint src --type-aware --fix",
53 "test:build": "publint --strict",
54 "test:oxlint": "oxlint src --type-aware",
55 "test:coverage": "vitest run --coverage --coverage.include='src/**' --coverage.reporter=text-summary --coverage.reporter=json-summary",
56 "test:lib": "vitest run",
57 "test:lib:dev": "pnpm test:lib --watch",
58 "test:types": "tsc"
59 },
60 "keywords": [
61 "ai",
62 "ai-sdk",
63 "typescript",
64 "tanstack",
65 "grok",
66 "xai",
67 "adapter",
68 "chat",
69 "tool-calling",
70 "structured-outputs",
71 "image-generation",
72 "realtime"
73 ],
74 "dependencies": {
75 "@tanstack/ai-utils": "workspace:^",
76 "@tanstack/openai-base": "workspace:^",
77 "openai": "^7.30.0"
78 },
79 "devDependencies": {
80 "@tanstack/ai": "workspace:*",
81 "@vitest/coverage-v8": "4.1.10",
82 "google-auth-library": "^10.5.0",
83 "vite": "^8.2.1"
84 },
85 "peerDependencies": {
86 "@tanstack/ai": "workspace:^",
87 "google-auth-library": "^10.5.0"
88 },
89 "peerDependenciesMeta": {
90 "google-auth-library": {
91 "optional": true
92 }
93 }
94}