{
  "name": "@tanstack/openai-base",
  "version": "1.0.4",
  "description": "Shared OpenAI SDK base adapters for TanStack AI providers using Chat Completions and Responses APIs.",
  "author": "Tanner Linsley",
  "license": "MIT",
  "homepage": "https://tanstack.com/ai",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/TanStack/ai.git",
    "directory": "packages/openai-base"
  },
  "bugs": {
    "url": "https://github.com/TanStack/ai/issues"
  },
  "funding": {
    "type": "github",
    "url": "https://github.com/sponsors/tannerlinsley"
  },
  "type": "module",
  "module": "./dist/esm/index.js",
  "types": "./dist/esm/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/esm/index.d.ts",
      "import": "./dist/esm/index.js"
    }
  },
  "sideEffects": false,
  "files": [
    "dist",
    "src"
  ],
  "keywords": [
    "ai",
    "ai-sdk",
    "typescript",
    "tanstack",
    "openai",
    "adapter",
    "provider-adapter",
    "chat-completions",
    "responses-api",
    "structured-outputs"
  ],
  "dependencies": {
    "openai": "^7.30.0",
    "@tanstack/ai-utils": "^1.1.0"
  },
  "peerDependencies": {
    "@tanstack/ai": "^1.4.0"
  },
  "devDependencies": {
    "@vitest/coverage-v8": "4.1.10",
    "vite": "^8.2.1",
    "zod": "^4.2.0",
    "@tanstack/ai": "1.4.0"
  },
  "scripts": {
    "build": "vite build",
    "clean": "premove ./build ./dist",
    "lint:fix": "oxlint src --type-aware --fix",
    "test:build": "publint --strict",
    "test:oxlint": "oxlint src --type-aware",
    "test:coverage": "vitest run --coverage --coverage.include='src/**' --coverage.reporter=text-summary --coverage.reporter=json-summary",
    "test:lib": "vitest run",
    "test:lib:dev": "pnpm test:lib --watch",
    "test:types": "tsc"
  }
}