Open History to see the last commit
1{
2 "name": "@tanstack/ai-cloudflare",
3 "version": "1.0.0",
4 "description": "Cloudflare adapter for TanStack AI — Workers AI chat, embeddings, images, speech, transcription, and summarization over the AI binding or REST, with AI Gateway routing for any provider.",
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-cloudflare"
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 "./models": {
33 "types": "./dist/esm/models.d.ts",
34 "import": "./dist/esm/models.js"
35 },
36 "./gateway-models": {
37 "types": "./dist/esm/gateway-models.d.ts",
38 "import": "./dist/esm/gateway-models.js"
39 }
40 },
41 "files": [
42 "dist",
43 "src"
44 ],
45 "scripts": {
46 "build": "vite build",
47 "clean": "premove ./build ./dist",
48 "lint:fix": "oxlint src --type-aware --fix",
49 "test:build": "publint --strict",
50 "test:oxlint": "oxlint src --type-aware",
51 "test:coverage": "vitest run --coverage --coverage.include='src/**' --coverage.reporter=text-summary --coverage.reporter=json-summary",
52 "test:lib": "vitest run",
53 "test:lib:dev": "pnpm test:lib --watch",
54 "test:types": "tsc"
55 },
56 "keywords": [
57 "ai",
58 "ai-sdk",
59 "typescript",
60 "tanstack",
61 "cloudflare",
62 "workers-ai",
63 "ai-gateway",
64 "workers",
65 "adapter",
66 "chat",
67 "streaming",
68 "tool-calling",
69 "structured-outputs",
70 "embeddings",
71 "image-generation",
72 "text-to-speech",
73 "transcription"
74 ],
75 "dependencies": {
76 "@cloudflare/workers-types": "^4.20260317.1",
77 "@tanstack/ai-utils": "workspace:^",
78 "@tanstack/openai-base": "workspace:^",
79 "openai": "^7.30.0"
80 },
81 "devDependencies": {
82 "@tanstack/ai": "workspace:*",
83 "@vitest/coverage-v8": "4.1.10",
84 "vite": "^8.2.1"
85 },
86 "peerDependencies": {
87 "@tanstack/ai": "workspace:^"
88 }
89}