Open History to see the last commit
1{
2 "name": "@tanstack/ai-openai",
3 "version": "0.31.0",
4 "description": "OpenAI adapter for TanStack AI chat, tools, images, video, speech, transcription, 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-openai"
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 "./compatible": {
33 "types": "./dist/esm/compatible/index.d.ts",
34 "import": "./dist/esm/compatible/index.js"
35 },
36 "./siwc": {
37 "types": "./dist/esm/siwc.d.ts",
38 "import": "./dist/esm/siwc.js"
39 },
40 "./tools": {
41 "types": "./dist/esm/tools/index.d.ts",
42 "import": "./dist/esm/tools/index.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 "openai",
66 "gpt",
67 "adapter",
68 "chat",
69 "tool-calling",
70 "structured-outputs",
71 "image-generation",
72 "video-generation",
73 "text-to-speech",
74 "transcription",
75 "realtime"
76 ],
77 "dependencies": {
78 "@tanstack/ai-utils": "workspace:^",
79 "@tanstack/openai-base": "workspace:^",
80 "openai": "^7.30.0"
81 },
82 "peerDependencies": {
83 "@tanstack/ai": "workspace:^"
84 },
85 "devDependencies": {
86 "@tanstack/ai": "workspace:*",
87 "@vitest/coverage-v8": "4.1.10",
88 "vite": "^8.2.1",
89 "zod": "^4.2.0"
90 }
91}