{"name":"ai","version":"3.0.2","license":"Apache-2.0","sideEffects":false,"main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","module":"./dist/index.mjs","require":"./dist/index.js"},"./rsc":{"types":"./rsc/dist/rsc-types.d.ts","react-server":"./rsc/dist/rsc-server.mjs","import":"./rsc/dist/rsc-client.mjs","module":"./rsc/dist/rsc-client.mjs"},"./prompts":{"types":"./prompts/dist/index.d.ts","import":"./prompts/dist/index.mjs","module":"./prompts/dist/index.mjs","require":"./prompts/dist/index.js"},"./react":{"types":"./react/dist/index.d.ts","react-server":"./react/dist/index.server.mjs","import":"./react/dist/index.mjs","module":"./react/dist/index.mjs","require":"./react/dist/index.js"},"./svelte":{"types":"./svelte/dist/index.d.ts","import":"./svelte/dist/index.mjs","module":"./svelte/dist/index.mjs","require":"./svelte/dist/index.js"},"./vue":{"types":"./vue/dist/index.d.ts","import":"./vue/dist/index.mjs","module":"./vue/dist/index.mjs","require":"./vue/dist/index.js"},"./solid":{"types":"./solid/dist/index.d.ts","import":"./solid/dist/index.mjs","module":"./solid/dist/index.mjs","require":"./solid/dist/index.js"}},"dependencies":{"eventsource-parser":"1.0.0","jsondiffpatch":"^0.6.0","nanoid":"3.3.6","solid-swr-store":"0.10.7","sswr":"2.0.0","swr":"2.2.0","swr-store":"0.10.6","swrv":"1.0.4","zod-to-json-schema":"^3.22.4"},"devDependencies":{"@anthropic-ai/sdk":"0.12.0","@aws-sdk/client-bedrock-runtime":"3.451.0","@edge-runtime/vm":"^3.1.7","@google/generative-ai":"0.1.1","@huggingface/inference":"2.6.4","@mistralai/mistralai":"0.1.3","@solidjs/testing-library":"0.8.4","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^14.0.0","@testing-library/user-event":"^14.5.1","@testing-library/vue":"^8.0.1","@types/node":"^17.0.12","@types/react":"^18.2.8","@types/react-dom":"^18.2.0","@vitejs/plugin-react":"4.2.0","@vitejs/plugin-vue":"4.5.0","cohere-ai":"^7.6.2","eslint":"^7.32.0","jsdom":"^23.0.0","langchain":"0.0.196","msw":"2.0.9","openai":"4.17.4","react-dom":"^18.2.0","solid-js":"^1.8.7","tsup":"^6.7.0","typescript":"5.1.3","vite-plugin-solid":"2.7.2","eslint-config-vercel-ai":"0.0.0","@vercel/ai-tsconfig":"0.0.0"},"peerDependencies":{"react":"^18.2.0","solid-js":"^1.7.7","svelte":"^3.0.0 || ^4.0.0","vue":"^3.3.4","zod":"^3.0.0"},"peerDependenciesMeta":{"react":{"optional":true},"svelte":{"optional":true},"vue":{"optional":true},"solid-js":{"optional":true},"zod":{"optional":true}},"engines":{"node":">=14.6"},"publishConfig":{"access":"public"},"homepage":"https://sdk.vercel.ai/docs","repository":{"type":"git","url":"git+https://github.com/vercel/ai.git"},"bugs":{"url":"https://github.com/vercel/ai/issues"},"keywords":["ai","nextjs","svelte","react","vue"],"scripts":{"build":"tsup && cat react/dist/index.server.d.ts >> react/dist/index.d.ts","clean":"rm -rf dist && rm -rf react/dist && rm -rf svelte/dist && rm -rf vue/dist && rm -rf solid/dist && rm -rf rsc/dist","dev":"tsup --watch","lint":"eslint \"./**/*.ts*\"","type-check":"tsc --noEmit","prettier-check":"prettier --check \"./**/*.ts*\"","test":"pnpm test:node && pnpm test:edge && pnpm test:ui","test:edge":"vitest --config vitest.edge.config.js --run --threads=false","test:node":"vitest --config vitest.node.config.js --run --threads=false","test:ui":"pnpm test:ui:react && pnpm test:ui:vue && pnpm test:ui:solid","test:ui:react":"vitest --config vitest.ui.react.config.js --run","test:ui:solid":"vitest --config vitest.ui.solid.config.js --run","test:ui:vue":"vitest --config vitest.ui.vue.config.js --run","test:edge:watch":"vitest --config vitest.edge.config.js --threads=false","test:node:watch":"vitest --config vitest.node.config.js --threads=false","test:ui:react:watch":"vitest --config vitest.ui.react.config.js","test:ui:solid:watch":"vitest --config vitest.ui.solid.config.js","test:ui:vue:watch":"vitest --config vitest.ui.vue.config.js"},"description":"The Vercel AI SDK is **a library for building AI-powered streaming text and chat UIs**.","_id":"ai@3.0.2","_integrity":"sha512-dDOj7U63tLCSQixSKk3nmPekjqPnb0st/ZC8ERpBiu5+nezcic5B5bHKzPDLx4rbObCocfA+KPcez9Y1Luf4Vw==","_resolved":"/tmp/dc06bb02f2af4719c5214b204f1901bd/ai-3.0.2.tgz","_from":"file:ai-3.0.2.tgz","_nodeVersion":"18.19.1","_npmVersion":"10.2.4","dist":{"shasum":"0335b9f634e0b1902c3534b8b92c5dcd97250666","size":338610,"noattachment":false,"key":"/ai/-/ai-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ai/download/ai-3.0.2.tgz"},"_npmUser":{"name":"npm_bot_vercel_labs","email":"it+npmvercel@vercel.com"},"directories":{},"maintainers":[{"name":"matt.straka","email":""},{"name":"npm_bot_vercel_labs","email":""},{"name":"rauchg","email":""},{"name":"vercel-release-bot","email":""},{"name":"zeit-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ai_3.0.2_1709344139596_0.529017119342984"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-03-02T01:48:59.968Z","publish_time":1709344139968,"_source_registry_name":"default","_cnpm_publish_time":1709344139968,"dist-tags":{"ai-v5":"5.0.157","ai-v6":"6.0.132","alpha":"5.0.0-alpha.15","beta":"7.0.0-beta.33","canary":"5.0.0-canary.24","latest":"6.0.134","snapshot":"7.0.0-beta.1-gr2m-test"}}