{"_id":"anthropic-vertex-ai","_rev":"8-11a8ee69a38806be820cbaf7d157047a","name":"anthropic-vertex-ai","dist-tags":{"latest":"1.0.2"},"versions":{"0.0.1":{"name":"anthropic-vertex-ai","version":"0.0.1","keywords":["ai","vertexai","anthropic","claude"],"license":"Apache-2.0","_id":"anthropic-vertex-ai@0.0.1","maintainers":[{"name":"nalaso","email":"nalaso.dev@gmail.com"}],"homepage":"https://sdk.vercel.ai/providers/community-providers","bugs":{"url":"https://github.com/vercel/ai/issues"},"dist":{"shasum":"75bd9dfbf5d85177a519086465009cb64ca88297","tarball":"https://registry.npmjs.org/anthropic-vertex-ai/-/anthropic-vertex-ai-0.0.1.tgz","fileCount":3,"integrity":"sha512-9kYqQh6FBNBqpBurYMvGH0DOGEu2uZryOswetoJRSQBdTNgtiNVCXfIfp+1D+G/tXjX0G3pTMHfeXrV/oDJ/Kg==","signatures":[{"sig":"MEUCIFfQpjHWrCcQIwpstacXXkFXUrhenTx71PQpkSUsbTobAiEAievBll03JNfJDrIlja+gSo8T1pIAOdZlc4ODywZhwnk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2819},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"0959c02f35d5672c8c21e7fa63fcf90573d8571b","scripts":{"dev":"tsup --watch","lint":"eslint \"./**/*.ts*\"","test":"pnpm test:node && pnpm test:edge","build":"tsup","clean":"rm -rf dist","test:edge":"vitest --config vitest.edge.config.js --run","test:node":"vitest --config vitest.node.config.js --run","type-check":"tsc --noEmit","prettier-check":"prettier --check \"./**/*.ts*\""},"_npmUser":{"name":"nalaso","email":"nalaso.dev@gmail.com"},"repository":{"url":"git+https://github.com/vercel/ai.git","type":"git"},"_npmVersion":"10.2.4","description":"The **Anthropic Vertex Provider** contains language model support for the Anthropic Vertex Messages API.","directories":{},"sideEffects":false,"_nodeVersion":"20.11.1","dependencies":{"@ai-sdk/provider":"0.0.22","google-auth-library":"^9.12.0","@ai-sdk/provider-utils":"1.0.17"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"3.23.8","tsup":"^8","turbo":"^1.10.13","vitest":"1.6.0","typescript":"5.5.4","@types/node":"^18"},"peerDependencies":{"zod":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/anthropic-vertex-ai_0.0.1_1724785219256_0.21268289057981238","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"anthropic-vertex-ai","version":"0.0.2","keywords":["ai","vertexai","anthropic","claude"],"license":"Apache-2.0","_id":"anthropic-vertex-ai@0.0.2","maintainers":[{"name":"nalaso","email":"nalaso.dev@gmail.com"}],"homepage":"https://sdk.vercel.ai/providers/community-providers","bugs":{"url":"https://github.com/vercel/ai/issues"},"dist":{"shasum":"0b40873f94009b603de2ce3b3a4dec81d64cf41c","tarball":"https://registry.npmjs.org/anthropic-vertex-ai/-/anthropic-vertex-ai-0.0.2.tgz","fileCount":9,"integrity":"sha512-wTnlKqX/lLffFwtMlyoTcomQZp5/fCwHnMi+V+ACrKdDfW2/OSxC03Mis724O7uJsfucykOip0CG1xx8WR9XeA==","signatures":[{"sig":"MEQCIF1CvuR6XBaTXQ8BloqC7ZzY/ChuY6PRQD74UTsJzmQsAiA2IIZ3ek6Ab08YQTLRYa8H+ILpiQO4B9x5nN1gdSNaIA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":136787},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"0959c02f35d5672c8c21e7fa63fcf90573d8571b","scripts":{"dev":"tsup --watch","lint":"eslint \"./**/*.ts*\"","test":"pnpm test:node && pnpm test:edge","build":"tsup","clean":"rm -rf dist","test:edge":"vitest --config vitest.edge.config.js --run","test:node":"vitest --config vitest.node.config.js --run","type-check":"tsc --noEmit","prettier-check":"prettier --check \"./**/*.ts*\""},"_npmUser":{"name":"nalaso","email":"nalaso.dev@gmail.com"},"repository":{"url":"git+https://github.com/vercel/ai.git","type":"git"},"_npmVersion":"10.2.4","description":"The **Anthropic Vertex Provider** contains language model support for the Anthropic Vertex Messages API.","directories":{},"sideEffects":false,"_nodeVersion":"20.11.1","dependencies":{"@ai-sdk/provider":"0.0.22","google-auth-library":"^9.12.0","@ai-sdk/provider-utils":"1.0.17"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"3.23.8","tsup":"^8","turbo":"^1.10.13","vitest":"1.6.0","typescript":"5.5.4","@types/node":"^18"},"peerDependencies":{"zod":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/anthropic-vertex-ai_0.0.2_1724786069656_0.018901609399053276","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"anthropic-vertex-ai","version":"0.0.3","keywords":["ai","vertexai","anthropic","claude"],"license":"Apache-2.0","_id":"anthropic-vertex-ai@0.0.3","maintainers":[{"name":"nalaso","email":"nalaso.dev@gmail.com"}],"homepage":"https://sdk.vercel.ai/providers/community-providers","bugs":{"url":"https://github.com/vercel/ai/issues"},"dist":{"shasum":"9a52ff2dc9518dd56cdbddfe691c4399243bedcd","tarball":"https://registry.npmjs.org/anthropic-vertex-ai/-/anthropic-vertex-ai-0.0.3.tgz","fileCount":10,"integrity":"sha512-/U/iVNAqeoHZ1r6pgdAo5UyDZgXBpwV5328AUlIah//XCZ3Pgb5eTOs6+sxEYYtJN1SEOuhNL/Tl6aylsbuS5g==","signatures":[{"sig":"MEYCIQCTL6xmIy6H48pjs+jkgphUGStAIA0AAFvKkNRQEKwQ5gIhAIWdbIunazS8YpbBJhdr9FzULOCTN6E/1KkwemXRpNJJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":140376},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"9e8feb1cdda988d6a2e7b683ad6ba7086b9ea108","scripts":{"dev":"tsup --watch","lint":"eslint \"./**/*.ts*\"","test":"pnpm test:node && pnpm test:edge","build":"tsup","clean":"rm -rf dist","test:edge":"vitest --config vitest.edge.config.js --run","test:node":"vitest --config vitest.node.config.js --run","type-check":"tsc --noEmit","prettier-check":"prettier --check \"./**/*.ts*\""},"_npmUser":{"name":"nalaso","email":"nalaso.dev@gmail.com"},"repository":{"url":"git+https://github.com/vercel/ai.git","type":"git"},"_npmVersion":"10.2.4","description":"[nalaso/anthropic-vertex-ai](https://github.com/nalaso/anthropic-vertex-ai) is a community provider that uses Anthropic models through Vertex AI to provide language model support for the Vercel AI SDK.","directories":{},"sideEffects":false,"_nodeVersion":"20.11.1","dependencies":{"@ai-sdk/provider":"0.0.22","google-auth-library":"^9.12.0","@ai-sdk/provider-utils":"1.0.17"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"3.23.8","tsup":"^8","turbo":"^1.10.13","vitest":"1.6.0","typescript":"5.5.4","@types/node":"^18"},"peerDependencies":{"zod":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/anthropic-vertex-ai_0.0.3_1724831100009_0.17981741756044434","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"anthropic-vertex-ai","version":"0.0.4","keywords":["ai","vertexai","anthropic","claude"],"license":"Apache-2.0","_id":"anthropic-vertex-ai@0.0.4","maintainers":[{"name":"nalaso","email":"nalaso.dev@gmail.com"}],"homepage":"https://sdk.vercel.ai/providers/community-providers","bugs":{"url":"https://github.com/nalaso/anthropic-vertex-ai/issues"},"dist":{"shasum":"4eb81a9813fe0ae95efac6b39c1442d6434f3714","tarball":"https://registry.npmjs.org/anthropic-vertex-ai/-/anthropic-vertex-ai-0.0.4.tgz","fileCount":10,"integrity":"sha512-3hkd5+eCNTkVRm4yUbI9AIt2c2z2pLEYC/5hba08S33qI8d+cT04SZpI3EXyeFMnuLpE/MbYPDRhACr6uVr16A==","signatures":[{"sig":"MEUCICNbYF9EY31iMwtHvCM8jUmup2Oefg/kVhlrr2OXNmonAiEAtlz+uWIho1gfx8D7MEt6qIPbejSL5z87N3KKGo7zb78=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":140410},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"9e8feb1cdda988d6a2e7b683ad6ba7086b9ea108","scripts":{"dev":"tsup --watch","lint":"eslint \"./**/*.ts*\"","test":"pnpm test:node && pnpm test:edge","build":"tsup","clean":"rm -rf dist","test:edge":"vitest --config vitest.edge.config.js --run","test:node":"vitest --config vitest.node.config.js --run","type-check":"tsc --noEmit","prettier-check":"prettier --check \"./**/*.ts*\""},"_npmUser":{"name":"nalaso","email":"nalaso.dev@gmail.com"},"repository":{"url":"git+https://github.com/nalaso/anthropic-vertex-ai.git","type":"git"},"_npmVersion":"10.2.4","description":"[nalaso/anthropic-vertex-ai](https://github.com/nalaso/anthropic-vertex-ai) is a community provider that uses Anthropic models through Vertex AI to provide language model support for the Vercel AI SDK.","directories":{},"sideEffects":false,"_nodeVersion":"20.11.1","dependencies":{"@ai-sdk/provider":"0.0.22","google-auth-library":"^9.12.0","@ai-sdk/provider-utils":"1.0.17"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"3.23.8","tsup":"^8","turbo":"^1.10.13","vitest":"1.6.0","typescript":"5.5.4","@types/node":"^18"},"peerDependencies":{"zod":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/anthropic-vertex-ai_0.0.4_1724831282823_0.8596813448395495","host":"s3://npm-registry-packages"}},"0.0.5-a":{"name":"anthropic-vertex-ai","version":"0.0.5-a","keywords":["ai","vertexai","anthropic","claude"],"license":"Apache-2.0","_id":"anthropic-vertex-ai@0.0.5-a","maintainers":[{"name":"nalaso","email":"nalaso.dev@gmail.com"}],"homepage":"https://sdk.vercel.ai/providers/community-providers","bugs":{"url":"https://github.com/nalaso/anthropic-vertex-ai/issues"},"dist":{"shasum":"017a9541af0c8766e9bb7fc1c2dabad81984ea9e","tarball":"https://registry.npmjs.org/anthropic-vertex-ai/-/anthropic-vertex-ai-0.0.5-a.tgz","fileCount":11,"integrity":"sha512-QtlL/CtxLdE388JrUiyv9FOuE3Bhk9/pVd/rJOMcpxkjoqNOGVv4zNf4NkaH3PzrQ0ifbVw4sknY5nRQICE1FQ==","signatures":[{"sig":"MEUCIQDD6i2SigUIa/YRQcpSpVzOW45r+GRfTqxyVys8Z80GgAIgLQl+eYV3Qtq+BxeC2zyy/t83FYby8lcwN+L9BqdmF3U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/anthropic-vertex-ai@0.0.5-a","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":163546},"main":"./dist/index.js","_from":"file:anthropic-vertex-ai-0.0.5a.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"tsup --watch","lint":"eslint \"./**/*.ts*\"","test":"pnpm test:node && pnpm test:edge","build":"tsup","clean":"rm -rf dist","test:edge":"vitest --config vitest.edge.config.js --run","test:node":"vitest --config vitest.node.config.js --run","type-check":"tsc --noEmit","prettier-check":"prettier --check \"./**/*.ts*\""},"_npmUser":{"name":"nalaso","email":"nalaso.dev@gmail.com"},"_resolved":"/tmp/b99a52c59b15575df82b7ec2a8c61415/anthropic-vertex-ai-0.0.5a.tgz","_integrity":"sha512-QtlL/CtxLdE388JrUiyv9FOuE3Bhk9/pVd/rJOMcpxkjoqNOGVv4zNf4NkaH3PzrQ0ifbVw4sknY5nRQICE1FQ==","repository":{"url":"git+https://github.com/nalaso/anthropic-vertex-ai.git","type":"git"},"_npmVersion":"10.8.2","description":"[nalaso/anthropic-vertex-ai](https://github.com/nalaso/anthropic-vertex-ai) is a community provider that uses Anthropic models through Vertex AI to provide language model support for the Vercel AI SDK.","directories":{},"sideEffects":false,"_nodeVersion":"20.17.0","dependencies":{"@ai-sdk/provider":"0.0.22","google-auth-library":"^9.12.0","@ai-sdk/provider-utils":"1.0.17"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"3.23.8","tsup":"^8","turbo":"^1.10.13","vitest":"1.6.0","typescript":"5.5.4","@types/node":"^18"},"peerDependencies":{"zod":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/anthropic-vertex-ai_0.0.5-a_1724913814867_0.1563582102478922","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"anthropic-vertex-ai","version":"0.0.6","keywords":["ai","vertexai","anthropic","claude"],"license":"Apache-2.0","_id":"anthropic-vertex-ai@0.0.6","maintainers":[{"name":"nalaso","email":"nalaso.dev@gmail.com"}],"homepage":"https://sdk.vercel.ai/providers/community-providers","bugs":{"url":"https://github.com/nalaso/anthropic-vertex-ai/issues"},"dist":{"shasum":"851cc55d212191bc677673e371c7a47a1d617f2f","tarball":"https://registry.npmjs.org/anthropic-vertex-ai/-/anthropic-vertex-ai-0.0.6.tgz","fileCount":11,"integrity":"sha512-HAkYIGfPhVGcsvu+b7vV2pVHsHIb1oOnZ/jwE4uFPvKFTQVkJAwPjpBs4W+Z4IU6ToCFgGY9oKRABAATUfEw4g==","signatures":[{"sig":"MEYCIQC6btTr3ADdB4PmDp0ESx1Qkang08WMi8wtthYU88AF8QIhAJe2G/nUidbj4msn1XVma+T2q0qWLXldbTn0EEOH0CxI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/anthropic-vertex-ai@0.0.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":163719},"main":"./dist/index.js","_from":"file:anthropic-vertex-ai-0.0.6.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"tsup --watch","lint":"eslint \"./**/*.ts*\"","test":"pnpm test:node && pnpm test:edge","build":"tsup","clean":"rm -rf dist","test:edge":"vitest --config vitest.edge.config.js --run","test:node":"vitest --config vitest.node.config.js --run","type-check":"tsc --noEmit","prettier-check":"prettier --check \"./**/*.ts*\""},"_npmUser":{"name":"nalaso","email":"nalaso.dev@gmail.com"},"_resolved":"/tmp/53f5fa4e5b2d5357bfd589666900c82e/anthropic-vertex-ai-0.0.6.tgz","_integrity":"sha512-HAkYIGfPhVGcsvu+b7vV2pVHsHIb1oOnZ/jwE4uFPvKFTQVkJAwPjpBs4W+Z4IU6ToCFgGY9oKRABAATUfEw4g==","repository":{"url":"git+https://github.com/nalaso/anthropic-vertex-ai.git","type":"git"},"_npmVersion":"10.8.2","description":"[nalaso/anthropic-vertex-ai](https://github.com/nalaso/anthropic-vertex-ai) is a community provider that uses Anthropic models through Vertex AI to provide language model support for the Vercel AI SDK.","directories":{},"sideEffects":false,"_nodeVersion":"20.17.0","dependencies":{"@ai-sdk/provider":"0.0.22","google-auth-library":"^9.12.0","@ai-sdk/provider-utils":"1.0.17"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"3.23.8","tsup":"^8","turbo":"^1.10.13","vitest":"1.6.0","typescript":"5.5.4","@types/node":"^18"},"peerDependencies":{"zod":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/anthropic-vertex-ai_0.0.6_1724918984734_0.6967214539253981","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"anthropic-vertex-ai","version":"1.0.0","keywords":["ai","vertexai","anthropic","claude"],"license":"Apache-2.0","_id":"anthropic-vertex-ai@1.0.0","maintainers":[{"name":"nalaso","email":"nalaso.dev@gmail.com"}],"homepage":"https://sdk.vercel.ai/providers/community-providers","bugs":{"url":"https://github.com/nalaso/anthropic-vertex-ai/issues"},"dist":{"shasum":"523fdd15208843d0f5457f3518f03bde73602735","tarball":"https://registry.npmjs.org/anthropic-vertex-ai/-/anthropic-vertex-ai-1.0.0.tgz","fileCount":11,"integrity":"sha512-ME1e8kCNLVvVWrR6vB3zFlREEp1kRLmNZUC+oih+tziPkb/li5ESRvzb1eDV+zyhw7tZDDLy7numRllJwdkCEw==","signatures":[{"sig":"MEUCIAfc51MF60XoK61FjGmJEzzj4lqWVWy3xzVTJwZuEaNuAiEA72ixqPMqXoz1VDM9lJTEbrOCiZS+SOtyVEsTOAuuYEA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/anthropic-vertex-ai@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":164819},"main":"./dist/index.js","_from":"file:anthropic-vertex-ai-1.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"tsup --watch","lint":"eslint \"./**/*.ts*\"","test":"pnpm test:node && pnpm test:edge","build":"tsup","clean":"rm -rf dist","test:edge":"vitest --config vitest.edge.config.js --run","test:node":"vitest --config vitest.node.config.js --run","type-check":"tsc --noEmit","prettier-check":"prettier --check \"./**/*.ts*\""},"_npmUser":{"name":"nalaso","email":"nalaso.dev@gmail.com"},"_resolved":"/tmp/f141a626ba3440ddd4c110b54bbce4e2/anthropic-vertex-ai-1.0.0.tgz","_integrity":"sha512-ME1e8kCNLVvVWrR6vB3zFlREEp1kRLmNZUC+oih+tziPkb/li5ESRvzb1eDV+zyhw7tZDDLy7numRllJwdkCEw==","repository":{"url":"git+https://github.com/nalaso/anthropic-vertex-ai.git","type":"git"},"_npmVersion":"10.8.2","description":"[nalaso/anthropic-vertex-ai](https://github.com/nalaso/anthropic-vertex-ai) is a community provider that uses Anthropic models through Vertex AI to provide language model support for the Vercel AI SDK.","directories":{},"sideEffects":false,"_nodeVersion":"20.17.0","dependencies":{"@ai-sdk/provider":"0.0.22","google-auth-library":"^9.12.0","@ai-sdk/provider-utils":"1.0.17"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"3.23.8","tsup":"^8","turbo":"^1.10.13","vitest":"1.6.0","typescript":"5.5.4","@types/node":"^18"},"peerDependencies":{"zod":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/anthropic-vertex-ai_1.0.0_1724929574794_0.13001802366846138","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"anthropic-vertex-ai","version":"1.0.1","keywords":["ai","sonnet","vercel","vertex","anthropic","claude"],"license":"Apache-2.0","_id":"anthropic-vertex-ai@1.0.1","maintainers":[{"name":"nalaso","email":"nalaso.dev@gmail.com"}],"homepage":"https://sdk.vercel.ai/providers/community-providers/anthropic-vertex-ai","bugs":{"url":"https://github.com/nalaso/anthropic-vertex-ai/issues"},"dist":{"shasum":"6fd0a91331c2572373ffaef6008a748544cc95c1","tarball":"https://registry.npmjs.org/anthropic-vertex-ai/-/anthropic-vertex-ai-1.0.1.tgz","fileCount":11,"integrity":"sha512-Gr/7O1YQTO3oOYtq1tScfkUZXePqZ+5qyoaBrPWgnOsS2VZBfS990mD8D7AIkt+rsx77RrheQ/TBp6c1trqRcw==","signatures":[{"sig":"MEYCIQCIgqEP04C87OLVAhOKj77xUGz8qadqefdyXSglMUd6BgIhAP8ylETTFAK8yZlaAFD0ZIco8U+sd2VXByMvgQ3x3D07","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/anthropic-vertex-ai@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":165160},"main":"./dist/index.js","_from":"file:anthropic-vertex-ai-1.0.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"tsup --watch","lint":"eslint \"./**/*.ts*\"","test":"pnpm test:node && pnpm test:edge","build":"tsup","clean":"rm -rf dist","test:edge":"vitest --config vitest.edge.config.js --run","test:node":"vitest --config vitest.node.config.js --run","type-check":"tsc --noEmit","prettier-check":"prettier --check \"./**/*.ts*\""},"_npmUser":{"name":"nalaso","email":"nalaso.dev@gmail.com"},"_resolved":"/tmp/6476081d0ab250d40864692f0e5eb72e/anthropic-vertex-ai-1.0.1.tgz","_integrity":"sha512-Gr/7O1YQTO3oOYtq1tScfkUZXePqZ+5qyoaBrPWgnOsS2VZBfS990mD8D7AIkt+rsx77RrheQ/TBp6c1trqRcw==","repository":{"url":"git+https://github.com/nalaso/anthropic-vertex-ai.git","type":"git"},"_npmVersion":"10.8.2","description":"[nalaso/anthropic-vertex-ai](https://github.com/nalaso/anthropic-vertex-ai) is a community provider that uses Anthropic models through Vertex AI to provide language model support for the Vercel AI SDK.","directories":{},"sideEffects":false,"_nodeVersion":"20.18.0","dependencies":{"@ai-sdk/provider":"0.0.24","google-auth-library":"^9.14.1","@ai-sdk/provider-utils":"1.0.20"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"3.23.8","tsup":"^8","turbo":"^2.1.3","vitest":"1.6.0","typescript":"5.5.4","@types/node":"^22"},"peerDependencies":{"zod":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/anthropic-vertex-ai_1.0.1_1732111395277_0.40319176644184496","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"anthropic-vertex-ai","version":"1.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","require":"./dist/index.js"}},"dependencies":{"@ai-sdk/provider":"0.0.24","@ai-sdk/provider-utils":"1.0.20","google-auth-library":"^9.14.1"},"devDependencies":{"@types/node":"^22","tsup":"^8","typescript":"5.5.4","zod":"3.23.8","turbo":"^2.1.3","vitest":"1.6.0"},"peerDependencies":{"zod":"^3.0.0"},"engines":{"node":">=18"},"publishConfig":{"access":"public"},"homepage":"https://sdk.vercel.ai/providers/community-providers/anthropic-vertex-ai","repository":{"type":"git","url":"git+https://github.com/nalaso/anthropic-vertex-ai.git"},"bugs":{"url":"https://github.com/nalaso/anthropic-vertex-ai/issues"},"keywords":["ai","sonnet","vercel","vertex","anthropic","claude"],"scripts":{"build":"tsup","clean":"rm -rf dist","dev":"tsup --watch","lint":"eslint \"./**/*.ts*\"","type-check":"tsc --noEmit","prettier-check":"prettier --check \"./**/*.ts*\"","test":"pnpm test:node && pnpm test:edge","test:edge":"vitest --config vitest.edge.config.js --run","test:node":"vitest --config vitest.node.config.js --run"},"_id":"anthropic-vertex-ai@1.0.2","description":"[nalaso/anthropic-vertex-ai](https://github.com/nalaso/anthropic-vertex-ai) is a community provider that uses Anthropic models through Vertex AI to provide language model support for the Vercel AI SDK.","_integrity":"sha512-4YuK04KMmBGkx6fi2UjnHkE4mhaIov7tnT5La9+DMn/gw/NSOLZoWNUx+13VY3mkcaseKBMEn1DBzdXXJFIP7A==","_resolved":"/tmp/15d119c4594c8046b7b064abe3e26369/anthropic-vertex-ai-1.0.2.tgz","_from":"file:anthropic-vertex-ai-1.0.2.tgz","_nodeVersion":"20.18.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-4YuK04KMmBGkx6fi2UjnHkE4mhaIov7tnT5La9+DMn/gw/NSOLZoWNUx+13VY3mkcaseKBMEn1DBzdXXJFIP7A==","shasum":"419eb6ef3a7fd3dcfb48c3600c62de132d9f0079","tarball":"https://registry.npmjs.org/anthropic-vertex-ai/-/anthropic-vertex-ai-1.0.2.tgz","fileCount":11,"unpackedSize":165288,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/anthropic-vertex-ai@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBDSoIZpR1ofAOTxKeBg+nR6IYPf69Wk+3YuTU3WDqFdAiEAu8aXDi4R5z4eEaxni9lSx6JFa5ezWssjczESExHmVyY="}]},"_npmUser":{"name":"nalaso","email":"nalaso.dev@gmail.com"},"directories":{},"maintainers":[{"name":"nalaso","email":"nalaso.dev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/anthropic-vertex-ai_1.0.2_1732175014918_0.033785343814377145"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-27T19:00:19.130Z","modified":"2024-11-21T07:43:35.423Z","0.0.1":"2024-08-27T19:00:19.404Z","0.0.2":"2024-08-27T19:14:29.827Z","0.0.3":"2024-08-28T07:45:00.172Z","0.0.4":"2024-08-28T07:48:03.003Z","0.0.5-a":"2024-08-29T06:43:35.065Z","0.0.6":"2024-08-29T08:09:44.898Z","1.0.0":"2024-08-29T11:06:14.937Z","1.0.1":"2024-11-20T14:03:15.484Z","1.0.2":"2024-11-21T07:43:35.081Z"},"bugs":{"url":"https://github.com/nalaso/anthropic-vertex-ai/issues"},"license":"Apache-2.0","homepage":"https://sdk.vercel.ai/providers/community-providers/anthropic-vertex-ai","keywords":["ai","sonnet","vercel","vertex","anthropic","claude"],"repository":{"type":"git","url":"git+https://github.com/nalaso/anthropic-vertex-ai.git"},"description":"[nalaso/anthropic-vertex-ai](https://github.com/nalaso/anthropic-vertex-ai) is a community provider that uses Anthropic models through Vertex AI to provide language model support for the Vercel AI SDK.","maintainers":[{"name":"nalaso","email":"nalaso.dev@gmail.com"}],"readme":"# Vercel AI SDK - Anthropic Vertex Provider\n\n[nalaso/anthropic-vertex-ai](https://github.com/nalaso/anthropic-vertex-ai) is a community provider that uses Anthropic models through Vertex AI to provide language model support for the Vercel AI SDK.\n\nDocs - [anthropic-vertex-ai Documentation](https://sdk.vercel.ai/providers/community-providers/anthropic-vertex-ai)\n\n![NPM Downloads](https://img.shields.io/npm/dw/anthropic-vertex-ai?style=for-the-badge&label=anthropic-vertex-ai&link=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2Fanthropic-vertex-ai)\n\n## Setup\n\nThe AnthropicVertex provider is available in the `anthropic-vertex-ai` module. You can install it with:\n\n```bash\nnpm install anthropic-vertex-ai\n# or\npnpm add anthropic-vertex-ai\n# or\nyarn add anthropic-vertex-ai\n# or\nbun add anthropic-vertex-ai\n```\n\n## Provider Instance\n\nYou can import the default provider instance `anthropicVertex` from `anthropic-vertex-ai`:\n\n```ts\nimport { anthropicVertex } from 'anthropic-vertex-ai';\n```\n\nIf you need a customized setup, you can import `createAnthropicVertex` from `anthropic-vertex-ai` and create a provider instance with your settings:\n\n```ts\nimport { createAnthropicVertex } from 'anthropic-vertex-ai';\n\nconst anthropicVertex = createAnthropicVertex({\n  region: 'us-central1',\n  projectId: 'your-project-id',\n  // other options\n});\n```\n\nYou can use the following optional settings to customize the AnthropicVertex provider instance:\n\n- **region** _string_\n\n  Your Google Vertex region. Defaults to the `GOOGLE_VERTEX_REGION` environment variable.\n\n- **projectId** _string_\n\n  Your Google Vertex project ID. Defaults to the `GOOGLE_VERTEX_PROJECT_ID` environment variable.\n\n- **googleAuth** _GoogleAuth_\n\n  Optional. The Authentication options provided by google-auth-library.\n\n- **baseURL** _string_\n\n  Use a different URL prefix for API calls, e.g., to use proxy servers.\n  The default prefix is `https://{region}-aiplatform.googleapis.com/v1`.\n\n- **headers** _Record&lt;string,string&gt;_\n\n  Custom headers to include in the requests.\n\n- **fetch** _(input: RequestInfo, init?: RequestInit) => Promise&lt;Response&gt;_\n\n  Custom fetch implementation. You can use it as a middleware to intercept requests,\n  or to provide a custom fetch implementation for e.g., testing.\n\n## Language Models\n\nYou can create models that call the Anthropic API through Vertex AI using the provider instance.\nThe first argument is the model ID, e.g., `claude-3-sonnet@20240229`:\n\n```ts\nconst model = anthropicVertex('claude-3-sonnet@20240229');\n```\n\n### Example: Generate Text\n\nYou can use AnthropicVertex language models to generate text with the `generateText` function:\n\n```ts\nimport { anthropicVertex } from 'anthropic-vertex-ai';\nimport { generateText } from 'ai';\n\nconst { text } = await generateText({\n  model: anthropicVertex('claude-3-sonnet@20240229'),\n  prompt: 'Write a vegetarian lasagna recipe for 4 people.',\n});\n```\n\nAnthropicVertex language models can also be used in the `streamText`, `generateObject`, and `streamObject` functions\n(see [AI SDK Core](/docs/ai-sdk-core) for more information).\n\n### Model Capabilities\n\n| Model                        | Image Input         | Object Generation   | Tool Usage          | Tool Streaming      |\n| ---------------------------- | ------------------- | ------------------- | ------------------- | ------------------- |\n| `claude-3-5-sonnet@20240620` | :heavy_check_mark:  | :heavy_check_mark:  | :heavy_check_mark:  | :heavy_check_mark:  |\n| `claude-3-opus@20240229`     | :heavy_check_mark:  | :heavy_check_mark:  | :heavy_check_mark:  | :heavy_check_mark:  |\n| `claude-3-sonnet@20240229`   | :heavy_check_mark:  | :heavy_check_mark:  | :heavy_check_mark:  | :heavy_check_mark:  |\n| `claude-3-haiku@20240307`    | :heavy_check_mark:  | :heavy_check_mark:  | :heavy_check_mark:  | :heavy_check_mark:  |\n\n## Environment Variables\n\nTo use the AnthropicVertex provider, you need to set up the following environment variables:\n\n- `GOOGLE_VERTEX_REGION`: Your Google Vertex region (e.g., 'us-central1')\n- `GOOGLE_VERTEX_PROJECT_ID`: Your Google Cloud project ID\n\nMake sure to set these variables in your environment or in a `.env` file in your project root.\n\n## Authentication\n\nThe AnthropicVertex provider uses Google Cloud authentication. Make sure you have set up your Google Cloud credentials properly. You can either use a service account key file or default application credentials.\n\nFor more information on setting up authentication, refer to the [Google Cloud Authentication guide](https://cloud.google.com/docs/authentication).","readmeFilename":"README.md"}