{"_id":"@ai-translate/provider-ai-sdk","_rev":"6-cc4ecd5b720cf80aaef19819fa906648","name":"@ai-translate/provider-ai-sdk","dist-tags":{"latest":"0.2.3"},"versions":{"0.1.0":{"name":"@ai-translate/provider-ai-sdk","version":"0.1.0","keywords":["i18n","l10n","internationalization","localization","translation","ai","ai-sdk","vercel","llm","anthropic","openai"],"author":{"name":"Thiago Peres"},"license":"MIT","_id":"@ai-translate/provider-ai-sdk@0.1.0","maintainers":[{"name":"tperes","email":"hi@peres.pro"}],"homepage":"https://github.com/thiagoperes/ai-translate#packages","bugs":{"url":"https://github.com/thiagoperes/ai-translate/issues"},"dist":{"shasum":"8da3fea2c24435eefb841a81027c544f900dbd08","tarball":"https://registry.npmjs.org/@ai-translate/provider-ai-sdk/-/provider-ai-sdk-0.1.0.tgz","fileCount":7,"integrity":"sha512-D4JSR983t3q0tI9vv5EyKKYnwWdnkPWXXuiwkV42uWRf0KbGVv6F5cjSmnTD6d6H57PR5mii2UXAy2G3wwEhfA==","signatures":[{"sig":"MEUCIQCoNj79yrP9iDLTC+TeuB1wQjobCVD+EzHONlGTgJAvhwIgXE8Br+R6FvhnI6mIxBCiJh1GcHIJxC8eR6Grevs3rS0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-translate%2fprovider-ai-sdk@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":23187},"main":"./dist/index.mjs","type":"module","_from":"file:ai-translate-provider-ai-sdk-0.1.0.tgz","types":"./dist/index.d.mts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./package.json":"./package.json"},"scripts":{"lint":"oxlint -c ../../.oxlintrc.json --type-aware --deny-warnings src test vitest.config.ts tsdown.config.ts","test":"vitest run --config vitest.config.ts","build":"tsdown","coverage":"vitest run --config vitest.config.ts --coverage","test:pack":"publint . && attw --pack . --profile esm-only","typecheck":"tsc -p tsconfig.json --noEmit","coverage:strict":"vitest run --config vitest.config.ts --coverage --coverage.include=src/index.ts --coverage.thresholds.lines=95 --coverage.thresholds.functions=95 --coverage.thresholds.branches=95 --coverage.thresholds.statements=95"},"_npmUser":{"name":"tperes","email":"hi@peres.pro"},"_resolved":"/tmp/794c0d6c46025692fcb36e684aed1f49/ai-translate-provider-ai-sdk-0.1.0.tgz","_integrity":"sha512-D4JSR983t3q0tI9vv5EyKKYnwWdnkPWXXuiwkV42uWRf0KbGVv6F5cjSmnTD6d6H57PR5mii2UXAy2G3wwEhfA==","repository":{"url":"git+https://github.com/thiagoperes/ai-translate.git","type":"git","directory":"packages/ai-translate-provider-ai-sdk"},"_npmVersion":"11.12.1","description":"Run ai-translate against any AI SDK provider — OpenAI, Anthropic, Google, Bedrock, or a gateway — with one interchangeable translation and semantic-audit provider.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"zod":"4.4.3","@ai-translate/core":"0.1.0","@ai-translate/provider-core":"0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"7.0.48"},"peerDependencies":{"ai":"^6.0.0 || ^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/provider-ai-sdk_0.1.0_1787177669919_0.16066323639215163","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@ai-translate/provider-ai-sdk","version":"0.1.1","keywords":["i18n","l10n","internationalization","localization","translation","ai","ai-sdk","vercel","llm","anthropic","openai"],"author":{"name":"Thiago Peres"},"license":"MIT","_id":"@ai-translate/provider-ai-sdk@0.1.1","maintainers":[{"name":"tperes","email":"hi@peres.pro"}],"homepage":"https://github.com/thiagoperes/ai-translate#packages","bugs":{"url":"https://github.com/thiagoperes/ai-translate/issues"},"dist":{"shasum":"f2cfec4276f29c4446f9c403558a6a11c123fb24","tarball":"https://registry.npmjs.org/@ai-translate/provider-ai-sdk/-/provider-ai-sdk-0.1.1.tgz","fileCount":7,"integrity":"sha512-Thn2c1X2SDFMhimUsjIvAvpGTrXAdjGRyr6WPDuEB4QoKuUVy6dlc3aIyx7Hmzoo+aMNlZDVT8eb60i+Ywcb8Q==","signatures":[{"sig":"MEQCIEs/3HJPe538FTK1KTD0I6CbEGMCU0AY/CzSxu/x40LcAiBOx6kEx3+lrNbGpINRkzziSHaECVRfc/WDIh1HqfP4kQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23187},"main":"./dist/index.mjs","type":"module","_from":"file:ai-translate-provider-ai-sdk-0.1.1.tgz","types":"./dist/index.d.mts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./package.json":"./package.json"},"scripts":{"lint":"oxlint -c ../../.oxlintrc.json --type-aware --deny-warnings src test vitest.config.ts tsdown.config.ts","test":"vitest run --config vitest.config.ts","build":"tsdown","coverage":"vitest run --config vitest.config.ts --coverage","test:pack":"publint . && attw --pack . --profile esm-only","typecheck":"tsc -p tsconfig.json --noEmit","coverage:strict":"vitest run --config vitest.config.ts --coverage --coverage.include=src/index.ts --coverage.thresholds.lines=95 --coverage.thresholds.functions=95 --coverage.thresholds.branches=95 --coverage.thresholds.statements=95"},"_npmUser":{"name":"tperes","email":"hi@peres.pro"},"_resolved":"/private/var/folders/0t/cw43w8gd5n583bgt4dcw1_cr0000gn/T/53bbc7f62e1311d7a70a03f44a1b0e71/ai-translate-provider-ai-sdk-0.1.1.tgz","_integrity":"sha512-Thn2c1X2SDFMhimUsjIvAvpGTrXAdjGRyr6WPDuEB4QoKuUVy6dlc3aIyx7Hmzoo+aMNlZDVT8eb60i+Ywcb8Q==","repository":{"url":"git+https://github.com/thiagoperes/ai-translate.git","type":"git","directory":"packages/ai-translate-provider-ai-sdk"},"_npmVersion":"11.6.2","description":"Run ai-translate against any AI SDK provider — OpenAI, Anthropic, Google, Bedrock, or a gateway — with one interchangeable translation and semantic-audit provider.","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"zod":"4.4.3","@ai-translate/core":"0.2.0","@ai-translate/provider-core":"0.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"7.0.48"},"peerDependencies":{"ai":"^6.0.0 || ^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/provider-ai-sdk_0.1.1_1787221938315_0.5399161529456562","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@ai-translate/provider-ai-sdk","version":"0.2.0","keywords":["i18n","l10n","internationalization","localization","translation","ai","ai-sdk","vercel","llm","anthropic","openai"],"author":{"name":"Thiago Peres"},"license":"MIT","_id":"@ai-translate/provider-ai-sdk@0.2.0","maintainers":[{"name":"tperes","email":"hi@peres.pro"}],"homepage":"https://github.com/thiagoperes/ai-translate#packages","bugs":{"url":"https://github.com/thiagoperes/ai-translate/issues"},"dist":{"shasum":"6416b65addc2cb7488a0aa51002aaf1fcdc35bd0","tarball":"https://registry.npmjs.org/@ai-translate/provider-ai-sdk/-/provider-ai-sdk-0.2.0.tgz","fileCount":7,"integrity":"sha512-YiKOd6KFGUBQIaYNajU0qq9pm+R47nDX6668//Ui1fuV43WUbJztDXfzTHw5F/DTX4V+ePZbRHHRpK0BX+51og==","signatures":[{"sig":"MEYCIQDn6OCCpE81zFzlPX4Oi4WTZk72LH0Jk5d0MXIChadHtAIhAIaXlRuwzoKp37f6yvdElU8qgXbaIesnvvsFqgEe4C6k","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25843},"main":"./dist/index.mjs","type":"module","_from":"file:ai-translate-provider-ai-sdk-0.2.0.tgz","types":"./dist/index.d.mts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./package.json":"./package.json"},"scripts":{"lint":"oxlint -c ../../.oxlintrc.json --type-aware --deny-warnings src test vitest.config.ts tsdown.config.ts","test":"vitest run --config vitest.config.ts","build":"tsdown","coverage":"vitest run --config vitest.config.ts --coverage","test:pack":"publint . && attw --pack . --profile esm-only","typecheck":"tsc -p tsconfig.json --noEmit","coverage:strict":"vitest run --config vitest.config.ts --coverage --coverage.include=src/index.ts --coverage.thresholds.lines=95 --coverage.thresholds.functions=95 --coverage.thresholds.branches=95 --coverage.thresholds.statements=95"},"_npmUser":{"name":"tperes","email":"hi@peres.pro"},"_resolved":"/private/var/folders/0t/cw43w8gd5n583bgt4dcw1_cr0000gn/T/9d1fc786f672ceab611a491c07d40358/ai-translate-provider-ai-sdk-0.2.0.tgz","_integrity":"sha512-YiKOd6KFGUBQIaYNajU0qq9pm+R47nDX6668//Ui1fuV43WUbJztDXfzTHw5F/DTX4V+ePZbRHHRpK0BX+51og==","repository":{"url":"git+https://github.com/thiagoperes/ai-translate.git","type":"git","directory":"packages/ai-translate-provider-ai-sdk"},"_npmVersion":"11.19.0","description":"Run ai-translate against any AI SDK provider — OpenAI, Anthropic, Google, Bedrock, or a gateway — with one interchangeable translation and semantic-audit provider.","directories":{},"sideEffects":false,"_nodeVersion":"24.20.0","dependencies":{"zod":"4.4.3","@ai-translate/core":"0.3.0","@ai-translate/provider-core":"0.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"7.0.48"},"peerDependencies":{"ai":"^6.0.0 || ^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/provider-ai-sdk_0.2.0_1788612640199_0.8830654089708223","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@ai-translate/provider-ai-sdk","version":"0.2.1","keywords":["i18n","l10n","internationalization","localization","translation","ai","ai-sdk","vercel","llm","anthropic","openai"],"author":{"name":"Thiago Peres"},"license":"MIT","_id":"@ai-translate/provider-ai-sdk@0.2.1","maintainers":[{"name":"tperes","email":"hi@peres.pro"}],"homepage":"https://github.com/thiagoperes/ai-translate#packages","bugs":{"url":"https://github.com/thiagoperes/ai-translate/issues"},"dist":{"shasum":"c5e9c1c5870df351282bb44d2dec53246fe5a5b2","tarball":"https://registry.npmjs.org/@ai-translate/provider-ai-sdk/-/provider-ai-sdk-0.2.1.tgz","fileCount":7,"integrity":"sha512-56nm2n7x2BzxlM/Wy74BQIHO/rkwpOW1vN+2PJUIkce0mH/tLVYnf3YfEUK/XhZVaJgHsyGeziUP2xcR672yig==","signatures":[{"sig":"MEQCIBpl4lGxBxY62ZZ5TEAH1FLR6PL+X6/bst1YCFQAMS6SAiAOfG7h550ThwMW6Iq88MdXZunSdK2KT2DEdlKCzk34Tg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCLn0T0QVfEX/A5iShtmbspQLIxXdLOtca1BpTaeNsi0AIgCj1OWCmhFG7KyLkSpLk/UbZBDFgnWErDTHimVdPvpiw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-translate%2fprovider-ai-sdk@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":25646},"main":"./dist/index.mjs","type":"module","_from":"file:ai-translate-provider-ai-sdk-0.2.1.tgz","types":"./dist/index.d.mts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./package.json":"./package.json"},"scripts":{"lint":"oxlint -c ../../.oxlintrc.json --type-aware --deny-warnings src test vitest.config.ts tsdown.config.ts","test":"vitest run --config vitest.config.ts","build":"tsdown","coverage":"vitest run --config vitest.config.ts --coverage","test:pack":"publint . && attw --pack . --profile esm-only","typecheck":"tsc -p tsconfig.json --noEmit","coverage:strict":"vitest run --config vitest.config.ts --coverage --coverage.include=src/index.ts --coverage.thresholds.lines=95 --coverage.thresholds.functions=95 --coverage.thresholds.branches=95 --coverage.thresholds.statements=95"},"_npmUser":{"name":"tperes","email":"hi@peres.pro"},"_resolved":"/tmp/135cdfccee719c54a3876cff18ac152f/ai-translate-provider-ai-sdk-0.2.1.tgz","_integrity":"sha512-56nm2n7x2BzxlM/Wy74BQIHO/rkwpOW1vN+2PJUIkce0mH/tLVYnf3YfEUK/XhZVaJgHsyGeziUP2xcR672yig==","repository":{"url":"git+https://github.com/thiagoperes/ai-translate.git","type":"git","directory":"packages/ai-translate-provider-ai-sdk"},"_npmVersion":"11.19.0","description":"Run ai-translate against any AI SDK provider — OpenAI, Anthropic, Google, Bedrock, or a gateway — with one interchangeable translation and semantic-audit provider.","directories":{},"sideEffects":false,"_nodeVersion":"24.20.0","dependencies":{"zod":"4.6.5","@ai-translate/core":"0.3.1","@ai-translate/provider-core":"0.3.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"7.0.106"},"peerDependencies":{"ai":"^6.0.0 || ^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/provider-ai-sdk_0.2.1_1789730713592_0.8229182890684097","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@ai-translate/provider-ai-sdk","version":"0.2.2","keywords":["i18n","l10n","internationalization","localization","translation","ai","ai-sdk","vercel","llm","anthropic","openai"],"author":{"name":"Thiago Peres"},"license":"MIT","_id":"@ai-translate/provider-ai-sdk@0.2.2","maintainers":[{"name":"tperes","email":"hi@peres.pro"}],"homepage":"https://github.com/thiagoperes/ai-translate#packages","bugs":{"url":"https://github.com/thiagoperes/ai-translate/issues"},"dist":{"shasum":"8113a69e29194aae363ee0540fb167b4b6073f7d","tarball":"https://registry.npmjs.org/@ai-translate/provider-ai-sdk/-/provider-ai-sdk-0.2.2.tgz","fileCount":7,"integrity":"sha512-wXj+dZ9d7sezz2gYAxibfojQtqNp65dlZwtALwQJ+wPnWkwsCYWlAme+hQxfee+jwnrwFxl+4cUXDWmmL8ijiw==","signatures":[{"sig":"MEUCIQDlC+UNFbHQHJ+SgzxxeFWAPtfDwVPEQMHZYRev6mIc7AIgTjjJCV0gs/XJwbdA6XfmFFdsb0tEdAnfGMKF/LhqNWE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIGBBWT2BEnBc7DX5dbtT/cZulnNLEl5LzqRVAetvwxweAiEAuuznF546Dm1tv/77yxpXK1Vd6KwxnjFUlAVm2mtTRTw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-translate%2fprovider-ai-sdk@0.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":25646},"main":"./dist/index.mjs","type":"module","_from":"file:ai-translate-provider-ai-sdk-0.2.2.tgz","types":"./dist/index.d.mts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./package.json":"./package.json"},"scripts":{"lint":"oxlint -c ../../.oxlintrc.json --type-aware --deny-warnings src test vitest.config.ts tsdown.config.ts","test":"vitest run --config vitest.config.ts","build":"tsdown","coverage":"vitest run --config vitest.config.ts --coverage","test:pack":"publint . && attw --pack . --profile esm-only","typecheck":"tsc -p tsconfig.json --noEmit","coverage:strict":"vitest run --config vitest.config.ts --coverage --coverage.include=src/index.ts --coverage.thresholds.lines=95 --coverage.thresholds.functions=95 --coverage.thresholds.branches=95 --coverage.thresholds.statements=95"},"_npmUser":{"name":"tperes","email":"hi@peres.pro"},"_resolved":"/tmp/72f7decb87d05dcf35bb9cdfe950e485/ai-translate-provider-ai-sdk-0.2.2.tgz","_integrity":"sha512-wXj+dZ9d7sezz2gYAxibfojQtqNp65dlZwtALwQJ+wPnWkwsCYWlAme+hQxfee+jwnrwFxl+4cUXDWmmL8ijiw==","repository":{"url":"git+https://github.com/thiagoperes/ai-translate.git","type":"git","directory":"packages/ai-translate-provider-ai-sdk"},"_npmVersion":"11.19.0","description":"Run ai-translate against any AI SDK provider — OpenAI, Anthropic, Google, Bedrock, or a gateway — with one interchangeable translation and semantic-audit provider.","directories":{},"sideEffects":false,"_nodeVersion":"24.20.0","dependencies":{"zod":"4.6.5","@ai-translate/core":"0.3.2","@ai-translate/provider-core":"0.3.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"7.0.106"},"peerDependencies":{"ai":"^6.0.0 || ^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/provider-ai-sdk_0.2.2_1789731062662_0.5000701210048653","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"_id":"@ai-translate/provider-ai-sdk@0.2.3","bugs":{"url":"https://github.com/thiagoperes/ai-translate/issues"},"dist":{"shasum":"6b2c5741ce78058def48ba7a2b02234190d2f7c9","tarball":"https://registry.npmjs.org/@ai-translate/provider-ai-sdk/-/provider-ai-sdk-0.2.3.tgz","fileCount":7,"integrity":"sha512-QIm/wL7+QIxjkC7i4iBmwMNSyT9HzLdV7M3Ba0SAoMkiCi9y0fl1+H9u7c1An/LsUhwDvTAOnCI2wDxnjQExnQ==","signatures":[{"sig":"MEUCIQDXkkHpB4PzD146NtMLuuDW1lg0kt3NeM0yVgO5/nMEoAIgeJuMRRXnZvs7TIkI3jTvt373Chc4fWVHl38mkjlcLrA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBtBV+CxlLnJ0CYNpTmz2Y1K+o4h6uUApJz6dulmXwqtAiEA7fLvodImMqeDI3tQQ9iSQVeaqL6e3TFAuzv0Km4KMCk="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-translate%2fprovider-ai-sdk@0.2.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":25646},"main":"./dist/index.mjs","name":"@ai-translate/provider-ai-sdk","type":"module","_from":"file:ai-translate-provider-ai-sdk-0.2.3.tgz","types":"./dist/index.d.mts","author":{"name":"Thiago Peres"},"engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./package.json":"./package.json"},"license":"MIT","scripts":{"lint":"oxlint -c ../../.oxlintrc.json --type-aware --deny-warnings src test vitest.config.ts tsdown.config.ts","test":"vitest run --config vitest.config.ts","build":"tsdown","coverage":"vitest run --config vitest.config.ts --coverage","test:pack":"publint . && attw --pack . --profile esm-only","typecheck":"tsc -p tsconfig.json --noEmit","coverage:strict":"vitest run --config vitest.config.ts --coverage --coverage.include=src/index.ts --coverage.thresholds.lines=95 --coverage.thresholds.functions=95 --coverage.thresholds.branches=95 --coverage.thresholds.statements=95"},"version":"0.2.3","_npmUser":{"name":"tperes","email":"hi@peres.pro"},"homepage":"https://github.com/thiagoperes/ai-translate#packages","keywords":["i18n","l10n","internationalization","localization","translation","ai","ai-sdk","vercel","llm","anthropic","openai"],"_resolved":"/tmp/30f96168424d50201719cb7bf9b178a1/ai-translate-provider-ai-sdk-0.2.3.tgz","_integrity":"sha512-QIm/wL7+QIxjkC7i4iBmwMNSyT9HzLdV7M3Ba0SAoMkiCi9y0fl1+H9u7c1An/LsUhwDvTAOnCI2wDxnjQExnQ==","repository":{"url":"git+https://github.com/thiagoperes/ai-translate.git","type":"git","directory":"packages/ai-translate-provider-ai-sdk"},"_npmVersion":"11.19.0","description":"Run ai-translate against any AI SDK provider — OpenAI, Anthropic, Google, Bedrock, or a gateway — with one interchangeable translation and semantic-audit provider.","directories":{},"maintainers":[{"name":"tperes","email":"hi@peres.pro"}],"sideEffects":false,"_nodeVersion":"24.20.0","dependencies":{"zod":"4.6.5","@ai-translate/core":"0.4.0","@ai-translate/provider-core":"0.3.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"7.0.106"},"peerDependencies":{"ai":"^6.0.0 || ^7.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/provider-ai-sdk_0.2.3_1789906723388_0.8801030653049282"}}},"time":{"created":"2026-08-19T22:14:29.786Z","modified":"2026-09-20T12:18:43.785Z","0.1.0":"2026-08-19T22:14:30.058Z","0.1.1":"2026-08-20T10:32:18.429Z","0.2.0":"2026-09-05T12:50:40.342Z","0.2.1":"2026-09-18T11:25:13.720Z","0.2.2":"2026-09-18T11:31:02.742Z","0.2.3":"2026-09-20T12:18:43.475Z"},"bugs":{"url":"https://github.com/thiagoperes/ai-translate/issues"},"author":{"name":"Thiago Peres"},"license":"MIT","homepage":"https://github.com/thiagoperes/ai-translate#packages","keywords":["i18n","l10n","internationalization","localization","translation","ai","ai-sdk","vercel","llm","anthropic","openai"],"repository":{"url":"git+https://github.com/thiagoperes/ai-translate.git","type":"git","directory":"packages/ai-translate-provider-ai-sdk"},"description":"Run ai-translate against any AI SDK provider — OpenAI, Anthropic, Google, Bedrock, or a gateway — with one interchangeable translation and semantic-audit provider.","maintainers":[{"name":"tperes","email":"hi@peres.pro"}],"readme":"# @ai-translate/provider-ai-sdk\n\nRun [ai-translate](https://github.com/thiagoperes/ai-translate) against any [AI SDK](https://ai-sdk.dev) model — OpenAI, Anthropic, Google, Bedrock, Groq, xAI, a gateway, or a local model.\n\nThis package is a transport. Every decision that shapes a translation — prompt assembly, batching, key aliasing, response decoding, the repair loop, self-check attestation — lives in [`@ai-translate/provider-core`](../ai-translate-provider-core) and behaves identically whichever vendor you point it at.\n\n## Install\n\n```bash\nnpm install --save-dev @ai-translate/provider-ai-sdk ai @ai-sdk/anthropic\n```\n\n`ai` is a peer dependency, as is whichever AI SDK vendor package you use.\n\n## Usage\n\n```ts\nimport { anthropic } from \"@ai-sdk/anthropic\";\nimport { createAiSdkTranslationProvider } from \"@ai-translate/provider-ai-sdk\";\n\nexport default defineConfig({\n  provider: createAiSdkTranslationProvider({\n    model: anthropic(\"claude-sonnet-4\"),\n  }),\n  // ...\n});\n```\n\nCredentials are the AI SDK's business: each vendor package reads its own environment variable, so nothing about keys belongs in your ai-translate config.\n\n### Semantic audits\n\n```ts\nimport { createAiSdkSemanticAuditProvider } from \"@ai-translate/provider-ai-sdk\";\n\nsemanticAudit: {\n  provider: createAiSdkSemanticAuditProvider({\n    model: (modelId) => registry.languageModel(modelId),\n  }),\n}\n```\n\nAn audit names its model per request — the forward and adversarial passes routinely differ — so pass a resolver function when the two passes should run on different models. A single `LanguageModel` also works and serves every request that names it.\n\n### Vendor-specific settings\n\nAnything the neutral request has no field for travels as `providerOptions`, keyed by AI SDK provider id:\n\n```ts\ncreateAiSdkTranslationProvider({\n  model: anthropic(\"claude-sonnet-4\"),\n  providerOptions: { anthropic: { thinking: { budgetTokens: 4_096, type: \"enabled\" } } },\n});\n```\n\nPrompt cache keys and reasoning effort are derived from the request automatically and merged under `openai`; anything you configure explicitly wins.\n\n## Bringing your own vendor\n\nIf a model is not reachable through the AI SDK, implement `StructuredCompletionTransport` — one `complete` method and a `label` — and hand it to `createStructuredTranslationProvider` from `@ai-translate/provider-core`.\n","readmeFilename":"README.md"}