UNPKG

ai

Version:

AI SDK by Vercel - build apps like ChatGPT, Claude, Gemini, and more with a single interface for any model using the Vercel AI Gateway or go direct to OpenAI, Anthropic, Google, or any other model provider.

128 lines 3.35 kB
{ "name": "ai", "version": "7.0.83", "type": "module", "description": "AI SDK by Vercel - build apps like ChatGPT, Claude, Gemini, and more with a single interface for any model using the Vercel AI Gateway or go direct to OpenAI, Anthropic, Google, or any other model provider.", "license": "Apache-2.0", "sideEffects": false, "main": "./dist/index.js", "types": "./dist/index.d.ts", "source": "./src/index.ts", "files": [ "dist/**/*", "docs/**/*", "src", "!src/**/*.test.ts", "!src/**/*.test-d.ts", "!src/**/__snapshots__", "CHANGELOG.md", "internal.d.ts", "README.md", "test.d.ts" ], "directories": { "doc": "./docs" }, "exports": { "./package.json": "./package.json", ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "default": "./dist/index.js" }, "./internal": { "types": "./dist/internal/index.d.ts", "import": "./dist/internal/index.js", "default": "./dist/internal/index.js" }, "./test": { "types": "./dist/test/index.d.ts", "import": "./dist/test/index.js", "default": "./dist/test/index.js" } }, "dependencies": { "@ai-sdk/gateway": "4.0.67", "@ai-sdk/provider": "4.0.8", "@ai-sdk/provider-utils": "5.0.32" }, "devDependencies": { "@ai-sdk/amazon-bedrock": "5.0.66", "@ai-sdk/deepseek": "3.0.35", "@ai-sdk/google": "4.0.54", "@ai-sdk/groq": "4.0.33", "@ai-sdk/huggingface": "2.0.39", "@ai-sdk/moonshotai": "3.0.41", "@ai-sdk/open-responses": "2.0.34", "@ai-sdk/openai": "4.0.50", "@ai-sdk/test-server": "2.0.1", "@ai-sdk/xai": "4.0.47", "@edge-runtime/vm": "^5.0.0", "@smithy/eventstream-codec": "^4.3.3", "@smithy/util-utf8": "^4.3.3", "@types/json-schema": "7.0.15", "@types/node": "22.19.19", "@vercel/ai-tsconfig": "0.0.0", "esbuild": "^0.28.1", "tsup": "^7.2.0", "tsx": "4.23.12", "typescript": "5.8.3", "zod": "3.25.76" }, "peerDependencies": { "zod": "^3.25.76 || ^4.1.8" }, "engines": { "node": ">=22" }, "publishConfig": { "access": "public", "provenance": true }, "homepage": "https://ai-sdk.dev/docs", "repository": { "type": "git", "url": "https://github.com/vercel/ai", "directory": "packages/ai" }, "bugs": { "url": "https://github.com/vercel/ai/issues" }, "keywords": [ "ai", "vercel", "sdk", "llm", "mcp", "tool-calling", "tools", "structured-output", "agent", "agentic", "generative", "genai", "chatbot", "prompt", "inference", "language-model", "streaming", "openai", "anthropic", "claude", "gemini", "xai", "grok" ], "scripts": { "build": "pnpm clean && tsup --tsconfig tsconfig.build.json", "build:watch": "pnpm clean && tsup --watch --tsconfig tsconfig.build.json", "clean": "del-cli dist docs *.tsbuildinfo", "type-check": "tsc --build", "test": "pnpm test:node && pnpm test:edge", "test:update": "pnpm test:node -u", "test:watch": "vitest --config vitest.node.config.js", "test:edge": "vitest --config vitest.edge.config.js --run", "test:node": "vitest --config vitest.node.config.js --run", "check-bundle-size": "tsx scripts/check-bundle-size.ts" } }