{"_id":"@ai-stats/sdk","_rev":"21-9b0c5a8c68d6f2d17f63bd5d6da42001","name":"@ai-stats/sdk","dist-tags":{"alpha":"0.2.1-alpha.0","latest":"2.0.5"},"versions":{"0.1.0":{"name":"@ai-stats/sdk","version":"0.1.0","license":"MIT","_id":"@ai-stats/sdk@0.1.0","maintainers":[{"name":"daniel-aistats","email":"danielbutler500@gmail.com"}],"homepage":"https://github.com/DanielButler1/AI-Stats#readme","bugs":{"url":"https://github.com/DanielButler1/AI-Stats/issues"},"dist":{"shasum":"80661792b66c31866f3b820206a6acefba56281f","tarball":"https://registry.npmjs.org/@ai-stats/sdk/-/sdk-0.1.0.tgz","fileCount":191,"integrity":"sha512-E5aVPQ1DAUdGZyRR1x/pwtvnvz45Il2OSZsB4Y9TEld4hXGt8lHYZvCGnejKguj5rY6iGYBN5NVotpyaV6QKuA==","signatures":[{"sig":"MEQCICQHkWHuh3y88dxFzfarMfNa/tfb61P4KZVu+tlqngjPAiA/j6X/1KyCylmaxlNEP35kbg0qM53+KKoN/D0X7wCk5w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":507966},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"f1c4271fe462c9fff93f57a9567053d5422962f7","private":false,"scripts":{"gen":"pnpm -w openapi:gen:ts","test":"echo \"No automated tests defined yet.\"","build":"tsc -p tsconfig.build.json","clean":"rimraf dist src/gen","pack:dry":"npm pack --dry-run","test:smoke":"tsx ./scripts/smoke.ts"},"_npmUser":{"name":"daniel-aistats","email":"danielbutler500@gmail.com"},"repository":{"url":"git+https://github.com/DanielButler1/AI-Stats.git","type":"git"},"_npmVersion":"11.6.2","description":"AI Stats Gateway SDK for TypeScript/JavaScript","directories":{},"sideEffects":false,"_nodeVersion":"22.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","rimraf":"^6.0.0","typescript":"^5.6.3"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0_1764253946828_0.801779878361256","host":"s3://npm-registry-packages-npm-production"},"deprecated":"AI Stats is now Phaseo. Please migrate to @phaseo/sdk."},"0.1.1":{"name":"@ai-stats/sdk","version":"0.1.1","license":"MIT","_id":"@ai-stats/sdk@0.1.1","maintainers":[{"name":"daniel-aistats","email":"danielbutler500@gmail.com"}],"homepage":"https://github.com/DanielButler1/AI-Stats#readme","bugs":{"url":"https://github.com/DanielButler1/AI-Stats/issues"},"dist":{"shasum":"263d1fbaad4dd2b0ec331c2d5a51dda8edd23a5e","tarball":"https://registry.npmjs.org/@ai-stats/sdk/-/sdk-0.1.1.tgz","fileCount":3,"integrity":"sha512-VnEuyeBb9ZTszPTrfmEeLg9rWKQoz8TMXpHTLf3Z449Om2Bt+9VlO0rp6Dem1EdfXrGkt7FNwWB21d0MMnRJiA==","signatures":[{"sig":"MEYCIQDC/WSEHCMMkZCkYucr2A+FHp5qscpxEtuk6XISG+4F8wIhAMD9I1GCrQJj5Vck1vTVJPtk/syfAQN9dZUv2dpcGlKp","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4009},"main":"./dist/index.cjs","type":"module","_from":"file:ai-stats-sdk-0.1.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"private":false,"scripts":{"gen":"pnpm -w openapi:gen:ts","test":"echo \"No automated tests defined yet.\"","build":"tsc -p tsconfig.build.json","clean":"rimraf dist src/gen","pack:dry":"npm pack --dry-run","test:smoke":"tsx ./scripts/smoke.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2923ec08-c251-40d2-a36d-df7fd6080f46"}},"_resolved":"/tmp/05aba31db68e50c03fe542c9fbfb45cd/ai-stats-sdk-0.1.1.tgz","_integrity":"sha512-VnEuyeBb9ZTszPTrfmEeLg9rWKQoz8TMXpHTLf3Z449Om2Bt+9VlO0rp6Dem1EdfXrGkt7FNwWB21d0MMnRJiA==","repository":{"url":"git+https://github.com/DanielButler1/AI-Stats.git","type":"git"},"_npmVersion":"11.6.4","description":"AI Stats Gateway SDK for TypeScript/JavaScript","directories":{},"sideEffects":false,"_nodeVersion":"22.21.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","rimraf":"^6.0.0","typescript":"^5.6.3"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.1_1764340374382_0.39831008717158745","host":"s3://npm-registry-packages-npm-production"},"deprecated":"AI Stats is now Phaseo. Please migrate to @phaseo/sdk."},"0.1.2":{"name":"@ai-stats/sdk","version":"0.1.2","license":"MIT","_id":"@ai-stats/sdk@0.1.2","maintainers":[{"name":"daniel-aistats","email":"danielbutler500@gmail.com"}],"homepage":"https://github.com/DanielButler1/AI-Stats#readme","bugs":{"url":"https://github.com/DanielButler1/AI-Stats/issues"},"dist":{"shasum":"9569fc90a1c06f4562d2821697ac7e42baba11ca","tarball":"https://registry.npmjs.org/@ai-stats/sdk/-/sdk-0.1.2.tgz","fileCount":3,"integrity":"sha512-NfLfpXGYC6j9KQ4HZ8FxJglDFOrDOJj7efSYJ/K83ugUFR5IzMvs1oj+jVf/QnfWHmhxUu+UK1qtLmFSVExPNw==","signatures":[{"sig":"MEYCIQDO+ZzVH/8TZXnBtofzWpAE3UEG+S+4gVuUFN/qUnbSAQIhAIZzK+Zihb/NAvBo7IjMkuBWgYZOWqArqZmYUpuuF15b","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-stats%2fsdk@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":4009},"main":"./dist/index.cjs","type":"module","_from":"file:ai-stats-sdk-0.1.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"private":false,"scripts":{"gen":"pnpm -w openapi:gen:ts","test":"echo \"No automated tests defined yet.\"","build":"tsc -p tsconfig.build.json","clean":"rimraf dist src/gen","pack:dry":"npm pack --dry-run","test:smoke":"tsx ./scripts/smoke.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b78feeec-e59a-4323-947c-7d5900a59ea9"}},"_resolved":"/tmp/385bcebeba4e6e07446452cf472e902c/ai-stats-sdk-0.1.2.tgz","_integrity":"sha512-NfLfpXGYC6j9KQ4HZ8FxJglDFOrDOJj7efSYJ/K83ugUFR5IzMvs1oj+jVf/QnfWHmhxUu+UK1qtLmFSVExPNw==","repository":{"url":"git+https://github.com/DanielButler1/AI-Stats.git","type":"git"},"_npmVersion":"11.6.4","description":"AI Stats Gateway SDK for TypeScript/JavaScript","directories":{},"sideEffects":false,"_nodeVersion":"22.21.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","rimraf":"^6.0.0","typescript":"^5.6.3"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.2_1764694731452_0.163350733708582","host":"s3://npm-registry-packages-npm-production"},"deprecated":"AI Stats is now Phaseo. Please migrate to @phaseo/sdk."},"0.1.3":{"name":"@ai-stats/sdk","version":"0.1.3","license":"MIT","_id":"@ai-stats/sdk@0.1.3","maintainers":[{"name":"daniel-aistats","email":"danielbutler500@gmail.com"}],"homepage":"https://github.com/DanielButler1/AI-Stats#readme","bugs":{"url":"https://github.com/DanielButler1/AI-Stats/issues"},"dist":{"shasum":"971773904b169fd81d2644cda2583c69be33aa1f","tarball":"https://registry.npmjs.org/@ai-stats/sdk/-/sdk-0.1.3.tgz","fileCount":3,"integrity":"sha512-4r8yB5ysHtNjffAm2a19e8+/yhsbsevruySppMokPzSVAupblrmd0rBeN4LxGF+/2kHan4fllUZ/aX16Wd3New==","signatures":[{"sig":"MEUCIQCZhBU+ghaBHg4LbgeSTQxYtQ/H3qsDREKI14+eIC/2jgIgZx3waOxGTLzfO4Tx8bXNKjocIlIZntUZMGb3oAeexHk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-stats%2fsdk@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":4009},"main":"./dist/index.cjs","type":"module","_from":"file:ai-stats-sdk-0.1.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"private":false,"scripts":{"gen":"pnpm -w openapi:gen:ts","test":"echo \"No automated tests defined yet.\"","build":"tsc -p tsconfig.build.json","clean":"rimraf dist src/gen","pack:dry":"npm pack --dry-run","test:smoke":"tsx ./scripts/smoke.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b78feeec-e59a-4323-947c-7d5900a59ea9"}},"_resolved":"/tmp/e18da09054ee6033d490c3ff983ffbfd/ai-stats-sdk-0.1.3.tgz","_integrity":"sha512-4r8yB5ysHtNjffAm2a19e8+/yhsbsevruySppMokPzSVAupblrmd0rBeN4LxGF+/2kHan4fllUZ/aX16Wd3New==","repository":{"url":"git+https://github.com/DanielButler1/AI-Stats.git","type":"git"},"_npmVersion":"11.6.4","description":"AI Stats Gateway SDK for TypeScript/JavaScript","directories":{},"sideEffects":false,"_nodeVersion":"22.21.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","rimraf":"^6.0.0","typescript":"^5.6.3"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.3_1764802261863_0.5692940302735237","host":"s3://npm-registry-packages-npm-production"},"deprecated":"AI Stats is now Phaseo. Please migrate to @phaseo/sdk."},"0.1.4":{"name":"@ai-stats/sdk","version":"0.1.4","license":"MIT","_id":"@ai-stats/sdk@0.1.4","maintainers":[{"name":"daniel-aistats","email":"danielbutler500@gmail.com"}],"homepage":"https://github.com/DanielButler1/AI-Stats#readme","bugs":{"url":"https://github.com/DanielButler1/AI-Stats/issues"},"dist":{"shasum":"0a63279f4f9b8e9b4e9a240d29e7a52bbce45b0d","tarball":"https://registry.npmjs.org/@ai-stats/sdk/-/sdk-0.1.4.tgz","fileCount":3,"integrity":"sha512-wHwn0VHeydPaqESmimygXFgSBpcb9KgLV+ZfEi4aplTp1S3C9Ej3pznge5mLmDuh5qcqZVVLv842Umm7NejDsg==","signatures":[{"sig":"MEUCIQCi6iB1yS5K1e/C3hSdBDfIgmsoRDlocVNse/KmDWUKpAIgHnXOdQhLIpokEl+ROhsSw6J990g8xTE0anmAoFiIAOg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-stats%2fsdk@0.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":4009},"main":"./dist/index.cjs","type":"module","_from":"file:ai-stats-sdk-0.1.4.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"private":false,"scripts":{"gen":"pnpm -w openapi:gen:ts","test":"echo \"No automated tests defined yet.\"","build":"tsc -p tsconfig.build.json","clean":"rimraf dist src/gen","pack:dry":"npm pack --dry-run","test:smoke":"tsx ./scripts/smoke.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b78feeec-e59a-4323-947c-7d5900a59ea9"}},"_resolved":"/tmp/2fd6d6e81bc86c4f42939e91e371a7cd/ai-stats-sdk-0.1.4.tgz","_integrity":"sha512-wHwn0VHeydPaqESmimygXFgSBpcb9KgLV+ZfEi4aplTp1S3C9Ej3pznge5mLmDuh5qcqZVVLv842Umm7NejDsg==","repository":{"url":"git+https://github.com/DanielButler1/AI-Stats.git","type":"git"},"_npmVersion":"11.6.4","description":"AI Stats Gateway SDK for TypeScript/JavaScript","directories":{},"sideEffects":false,"_nodeVersion":"22.21.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","rimraf":"^6.0.0","typescript":"^5.6.3"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.4_1765014249047_0.7728896229818261","host":"s3://npm-registry-packages-npm-production"},"deprecated":"AI Stats is now Phaseo. Please migrate to @phaseo/sdk."},"0.2.0":{"name":"@ai-stats/sdk","version":"0.2.0","license":"MIT","_id":"@ai-stats/sdk@0.2.0","maintainers":[{"name":"daniel-aistats","email":"danielbutler500@gmail.com"}],"homepage":"https://github.com/DanielButler1/AI-Stats#readme","bugs":{"url":"https://github.com/DanielButler1/AI-Stats/issues"},"dist":{"shasum":"83964bbe88cf46febc5c7ba8a3bf8ac23cb63b7e","tarball":"https://registry.npmjs.org/@ai-stats/sdk/-/sdk-0.2.0.tgz","fileCount":3,"integrity":"sha512-OOAEggbDApdotKSF/23JjRulYExAmH9Wlx+es+r75MjXPDUWn1BS4Vs/kXUlTi6q/IS+Ep2beiu/pjMFXRU7rQ==","signatures":[{"sig":"MEUCICW+OhNtyViXCdGO1nSUfM/ubyuxpXDO9PZwrPst6IXFAiEA5Nb3KipzvqjjGhAjcMk24vDvsot7rDdOi+97M5UERh8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-stats%2fsdk@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":4007},"main":"./dist/index.cjs","type":"module","_from":"file:ai-stats-sdk-0.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"private":false,"scripts":{"gen":"pnpm -w openapi:gen:ts","test":"echo \"No automated tests defined yet.\"","build":"tsc -p tsconfig.build.json","clean":"rimraf dist src/gen","pack:dry":"npm pack --dry-run","test:smoke":"tsx ./scripts/smoke.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b78feeec-e59a-4323-947c-7d5900a59ea9"}},"_resolved":"/tmp/3f161d652f3fcd7c8c3864bb9666a484/ai-stats-sdk-0.2.0.tgz","_integrity":"sha512-OOAEggbDApdotKSF/23JjRulYExAmH9Wlx+es+r75MjXPDUWn1BS4Vs/kXUlTi6q/IS+Ep2beiu/pjMFXRU7rQ==","repository":{"url":"git+https://github.com/DanielButler1/AI-Stats.git","type":"git"},"_npmVersion":"11.7.0","description":"AI Stats Gateway SDK for TypeScript/JavaScript","directories":{},"sideEffects":false,"_nodeVersion":"22.21.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","rimraf":"^6.0.0","typescript":"^5.6.3"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.0_1765580818549_0.34949357419401195","host":"s3://npm-registry-packages-npm-production"},"deprecated":"AI Stats is now Phaseo. Please migrate to @phaseo/sdk."},"0.2.1-alpha.0":{"name":"@ai-stats/sdk","version":"0.2.1-alpha.0","license":"MIT","_id":"@ai-stats/sdk@0.2.1-alpha.0","maintainers":[{"name":"daniel-aistats","email":"danielbutler500@gmail.com"}],"homepage":"https://github.com/AI-Stats/AI-Stats#readme","bugs":{"url":"https://github.com/AI-Stats/AI-Stats/issues"},"dist":{"shasum":"91b16a00896718142e7ba6cd75b32358754243b7","tarball":"https://registry.npmjs.org/@ai-stats/sdk/-/sdk-0.2.1-alpha.0.tgz","fileCount":3,"integrity":"sha512-+nM1MaKovheJWdQqWLPs7KsvGxabW9OLuu5LC4yz7nryJmgPCd1DVCHNhLr/wHx4dEbhcH18bSYXvwqOQso13g==","signatures":[{"sig":"MEQCICNRL3aQ3q4GCoGzScpliUYgGru5I9z9E8ylvy//7NYpAiBcGkaY6r04WrsoSNcEX517RfP/cu8e64lP17c1FSuYAA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-stats%2fsdk@0.2.1-alpha.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":4010},"main":"./dist/index.cjs","type":"module","_from":"file:ai-stats-sdk-0.2.1-alpha.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"private":false,"scripts":{"gen":"pnpm -w openapi:gen:ts","test":"echo \"No tests configured\"","build":"tsc -p tsconfig.build.json","clean":"rimraf dist src/gen","pack:dry":"npm pack --dry-run"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ecc8b5b9-22d9-4c66-8f64-2b97f1573457"}},"_resolved":"/tmp/f796d0589ecb4e62c063f389ffbb6f51/ai-stats-sdk-0.2.1-alpha.0.tgz","_integrity":"sha512-+nM1MaKovheJWdQqWLPs7KsvGxabW9OLuu5LC4yz7nryJmgPCd1DVCHNhLr/wHx4dEbhcH18bSYXvwqOQso13g==","repository":{"url":"git+https://github.com/AI-Stats/AI-Stats.git","type":"git"},"_npmVersion":"11.7.0","description":"AI Stats Gateway SDK for TypeScript/JavaScript","directories":{},"sideEffects":false,"_nodeVersion":"22.21.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsx":"^4.7.0","rimraf":"^6.0.0","ts-node":"^10.9.2","typescript":"^5.6.3","@types/node":"^25.0.2"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.1-alpha.0_1765967930430_0.09413267712006257","host":"s3://npm-registry-packages-npm-production"},"deprecated":"AI Stats is now Phaseo. Please migrate to @phaseo/sdk."},"1.0.0":{"name":"@ai-stats/sdk","version":"1.0.0","license":"MIT","_id":"@ai-stats/sdk@1.0.0","maintainers":[{"name":"daniel-aistats","email":"danielbutler500@gmail.com"}],"homepage":"https://github.com/AI-Stats/AI-Stats#readme","bugs":{"url":"https://github.com/AI-Stats/AI-Stats/issues"},"dist":{"shasum":"b22b4b481cc7813d690694db5e1c4a6b7d5f45d6","tarball":"https://registry.npmjs.org/@ai-stats/sdk/-/sdk-1.0.0.tgz","fileCount":3,"integrity":"sha512-gAjNmMCZQxMIoYUnD3OXwMD8hDeNlyXghQtkd9YAznMF7LlacQwWMbjIHYb/gFl5z/jIyhQsX9SMS9f/SLJFCA==","signatures":[{"sig":"MEUCIGtCIUfIk1pATbCxZMg4E3wu25PzHJ8Q8HOZIxhzmW/WAiEA4uPyNwfNZpKDwRy0Lm2cooPt7r9kdv4p9zb3pfD0yUo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-stats%2fsdk@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":9526},"main":"./dist/index.cjs","type":"module","_from":"file:ai-stats-sdk-1.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./devtools":{"types":"./dist/devtools/index.d.ts","import":"./dist/devtools/index.js","require":"./dist/devtools/index.cjs"},"./compat/openai":{"types":"./dist/compat/openai.d.ts","import":"./dist/compat/openai.js","require":"./dist/compat/openai.cjs"},"./compat/anthropic":{"types":"./dist/compat/anthropic.d.ts","import":"./dist/compat/anthropic.js","require":"./dist/compat/anthropic.cjs"}},"private":false,"scripts":{"gen":"pnpm -w oapi:gen:ts","test":"pnpm smoke:all","build":"rimraf dist && tsc -p tsconfig.build.json","clean":"rimraf dist src/oapi-gen","pack:dry":"npm pack --dry-run","smoke:all":"pnpm smoke:responses && pnpm smoke:chat && pnpm smoke:compat-openai && pnpm smoke:compat-anthropic","smoke:chat":"dotenv -e .env.local -- tsx tests/smoke.ts --operation chat","postinstall":"node scripts/postinstall.cjs","smoke:responses":"dotenv -e .env.local -- tsx tests/smoke.ts --operation responses","smoke:compat-openai":"dotenv -e .env.local -- tsx tests/compat-openai.ts","smoke:compat-anthropic":"dotenv -e .env.local -- tsx tests/compat-anthropic.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ecc8b5b9-22d9-4c66-8f64-2b97f1573457"}},"_resolved":"/tmp/b79be0021c7ec3b0f15cd7198a3f5f2d/ai-stats-sdk-1.0.0.tgz","_integrity":"sha512-gAjNmMCZQxMIoYUnD3OXwMD8hDeNlyXghQtkd9YAznMF7LlacQwWMbjIHYb/gFl5z/jIyhQsX9SMS9f/SLJFCA==","repository":{"url":"git+https://github.com/AI-Stats/AI-Stats.git","type":"git"},"_npmVersion":"11.10.0","description":"AI Stats Gateway SDK for TypeScript/JavaScript","directories":{},"sideEffects":false,"_nodeVersion":"22.22.0","dependencies":{"@ai-stats/devtools-core":"0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","rimraf":"^6.0.0","ts-node":"^10.9.2","typescript":"^5.6.3","@types/node":"^25.0.2"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.0_1770848802036_0.7202705505878113","host":"s3://npm-registry-packages-npm-production"},"deprecated":"AI Stats is now Phaseo. Please migrate to @phaseo/sdk."},"1.0.1":{"name":"@ai-stats/sdk","version":"1.0.1","license":"MIT","_id":"@ai-stats/sdk@1.0.1","maintainers":[{"name":"daniel-aistats","email":"danielbutler500@gmail.com"}],"homepage":"https://github.com/AI-Stats/AI-Stats#readme","bugs":{"url":"https://github.com/AI-Stats/AI-Stats/issues"},"dist":{"shasum":"b6c5395891a9d50835cf6c6115dada8f388c60d5","tarball":"https://registry.npmjs.org/@ai-stats/sdk/-/sdk-1.0.1.tgz","fileCount":161,"integrity":"sha512-X/s4YbVStb/K4pbUXq1OGxlnLetrGO5Hlyuq+dBR2fbgPhLZ2bVs8kEz/9zTSweu9DwEi+1cvPYNtAak6La6Og==","signatures":[{"sig":"MEUCIQCqVjuIxBud01yaC5nDZe2buAkJgcEjyanarvZueTyMOQIgB2tVPqGGJuDDfHc5L8Q3Z3SRPkURwiZTCPgUC37WtKI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-stats%2fsdk@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":210783},"main":"./dist/index.cjs","type":"module","_from":"file:ai-stats-sdk-1.0.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./devtools":{"types":"./dist/devtools/index.d.ts","import":"./dist/devtools/index.js","require":"./dist/devtools/index.cjs"},"./compat/openai":{"types":"./dist/compat/openai.d.ts","import":"./dist/compat/openai.js","require":"./dist/compat/openai.cjs"},"./compat/anthropic":{"types":"./dist/compat/anthropic.d.ts","import":"./dist/compat/anthropic.js","require":"./dist/compat/anthropic.cjs"}},"private":false,"scripts":{"gen":"pnpm -w oapi:gen:ts","test":"pnpm smoke:all","build":"rimraf dist && tsc -p tsconfig.build.json","clean":"rimraf dist src/oapi-gen","pack:dry":"npm pack --dry-run","smoke:all":"pnpm smoke:responses && pnpm smoke:chat && pnpm smoke:compat-openai && pnpm smoke:compat-anthropic","smoke:chat":"dotenv -e .env.local -- tsx tests/smoke.ts --operation chat","postinstall":"node scripts/postinstall.cjs","smoke:responses":"dotenv -e .env.local -- tsx tests/smoke.ts --operation responses","smoke:compat-openai":"dotenv -e .env.local -- tsx tests/compat-openai.ts","smoke:compat-anthropic":"dotenv -e .env.local -- tsx tests/compat-anthropic.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ecc8b5b9-22d9-4c66-8f64-2b97f1573457"}},"_resolved":"/tmp/a5d90894ab49673ee09a88d22146ec9c/ai-stats-sdk-1.0.1.tgz","_integrity":"sha512-X/s4YbVStb/K4pbUXq1OGxlnLetrGO5Hlyuq+dBR2fbgPhLZ2bVs8kEz/9zTSweu9DwEi+1cvPYNtAak6La6Og==","repository":{"url":"git+https://github.com/AI-Stats/AI-Stats.git","type":"git"},"_npmVersion":"11.10.0","description":"AI Stats Gateway SDK for TypeScript/JavaScript","directories":{},"sideEffects":false,"_nodeVersion":"22.22.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","rimraf":"^6.0.0","ts-node":"^10.9.2","typescript":"^5.6.3","@types/node":"^25.0.2"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.1_1770905436796_0.40392457394160997","host":"s3://npm-registry-packages-npm-production"},"deprecated":"AI Stats is now Phaseo. Please migrate to @phaseo/sdk."},"1.0.2":{"name":"@ai-stats/sdk","version":"1.0.2","license":"MIT","_id":"@ai-stats/sdk@1.0.2","maintainers":[{"name":"daniel-aistats","email":"danielbutler500@gmail.com"}],"homepage":"https://github.com/AI-Stats/AI-Stats#readme","bugs":{"url":"https://github.com/AI-Stats/AI-Stats/issues"},"dist":{"shasum":"b8a246bf57693bdf44894b037627d1b117d57cfd","tarball":"https://registry.npmjs.org/@ai-stats/sdk/-/sdk-1.0.2.tgz","fileCount":165,"integrity":"sha512-9t0onau+zSJpANJpDE0heH10YSG3UuBp1w8O+1ZZt9vm9Xwaje0IcSKYp0S8TjQasjwQUmEtjyQr8741HWQNfQ==","signatures":[{"sig":"MEUCIGhpdoE46hpVDzMEM7zOySfnyVm8UOonUiMsciVs1P/tAiEA06WdHaScgAyE2MUEGgqafRWj4haFShs6pPUVOZ/EGaU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-stats%2fsdk@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":222819},"main":"./dist/index.cjs","type":"module","_from":"file:ai-stats-sdk-1.0.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./devtools":{"types":"./dist/devtools/index.d.ts","import":"./dist/devtools/index.js","require":"./dist/devtools/index.cjs"},"./compat/openai":{"types":"./dist/compat/openai.d.ts","import":"./dist/compat/openai.js","require":"./dist/compat/openai.cjs"},"./compat/anthropic":{"types":"./dist/compat/anthropic.d.ts","import":"./dist/compat/anthropic.js","require":"./dist/compat/anthropic.cjs"}},"private":false,"scripts":{"gen":"pnpm -w oapi:gen:ts","test":"pnpm smoke:all","build":"rimraf dist && tsc -p tsconfig.build.json","clean":"rimraf dist src/oapi-gen","pack:dry":"npm pack --dry-run","smoke:all":"pnpm smoke:responses && pnpm smoke:chat && pnpm smoke:compat-openai && pnpm smoke:compat-anthropic","smoke:chat":"dotenv -e .env.local -- tsx tests/smoke.ts --operation chat","postinstall":"node scripts/postinstall.cjs","smoke:responses":"dotenv -e .env.local -- tsx tests/smoke.ts --operation responses","smoke:compat-openai":"dotenv -e .env.local -- tsx tests/compat-openai.ts","smoke:compat-anthropic":"dotenv -e .env.local -- tsx tests/compat-anthropic.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ecc8b5b9-22d9-4c66-8f64-2b97f1573457"}},"_resolved":"/tmp/eee969b7f83d38c6ba18a9d71cf60aa4/ai-stats-sdk-1.0.2.tgz","_integrity":"sha512-9t0onau+zSJpANJpDE0heH10YSG3UuBp1w8O+1ZZt9vm9Xwaje0IcSKYp0S8TjQasjwQUmEtjyQr8741HWQNfQ==","repository":{"url":"git+https://github.com/AI-Stats/AI-Stats.git","type":"git"},"_npmVersion":"11.10.1","description":"AI Stats Gateway SDK for TypeScript/JavaScript","directories":{},"sideEffects":false,"_nodeVersion":"22.22.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","rimraf":"^6.0.0","ts-node":"^10.9.2","typescript":"^5.6.3","@types/node":"^25.2.3"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.2_1772022096195_0.798500983423841","host":"s3://npm-registry-packages-npm-production"},"deprecated":"AI Stats is now Phaseo. Please migrate to @phaseo/sdk."},"1.1.1":{"name":"@ai-stats/sdk","version":"1.1.1","license":"MIT","_id":"@ai-stats/sdk@1.1.1","maintainers":[{"name":"daniel-aistats","email":"danielbutler500@gmail.com"}],"homepage":"https://github.com/AI-Stats/AI-Stats#readme","bugs":{"url":"https://github.com/AI-Stats/AI-Stats/issues"},"dist":{"shasum":"78c81312ec9288068aed25956c26d2d2ddc3c504","tarball":"https://registry.npmjs.org/@ai-stats/sdk/-/sdk-1.1.1.tgz","fileCount":217,"integrity":"sha512-NTpwtxDo/2Otrxffn3QPNmefgv8nDKB1B3GTD2fwiWRslnAzSJw1h2iiQFsZ3m2yIATffV3h6IIS4K39GNpPKQ==","signatures":[{"sig":"MEQCIDcYZALHR2PGIQFS27mioDEB24v1bHabKqhEgQYMn/dwAiAuOqq6dDq9u4JJql03PLZnfi+vlBFC1rI6qriCOGMRjA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-stats%2fsdk@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":275452},"main":"./dist/index.cjs","type":"module","_from":"file:ai-stats-sdk-1.1.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./devtools":{"types":"./dist/devtools/index.d.ts","import":"./dist/devtools/index.js","require":"./dist/devtools/index.cjs"},"./compat/openai":{"types":"./dist/compat/openai.d.ts","import":"./dist/compat/openai.js","require":"./dist/compat/openai.cjs"},"./compat/anthropic":{"types":"./dist/compat/anthropic.d.ts","import":"./dist/compat/anthropic.js","require":"./dist/compat/anthropic.cjs"}},"private":false,"scripts":{"gen":"pnpm -w oapi:gen:ts","test":"pnpm smoke:all","build":"rimraf dist && tsc -p tsconfig.build.json","clean":"rimraf dist src/oapi-gen","pack:dry":"npm pack --dry-run","smoke:all":"pnpm smoke:responses && pnpm smoke:chat && pnpm smoke:compat-openai && pnpm smoke:compat-anthropic","smoke:chat":"dotenv -e .env.local -- tsx tests/smoke.ts --operation chat","postinstall":"node scripts/postinstall.cjs","smoke:responses":"dotenv -e .env.local -- tsx tests/smoke.ts --operation responses","smoke:compat-openai":"dotenv -e .env.local -- tsx tests/compat-openai.ts","smoke:compat-anthropic":"dotenv -e .env.local -- tsx tests/compat-anthropic.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ecc8b5b9-22d9-4c66-8f64-2b97f1573457"}},"_resolved":"/tmp/0c8a880d01e312f3e85c45e58d6ae90b/ai-stats-sdk-1.1.1.tgz","_integrity":"sha512-NTpwtxDo/2Otrxffn3QPNmefgv8nDKB1B3GTD2fwiWRslnAzSJw1h2iiQFsZ3m2yIATffV3h6IIS4K39GNpPKQ==","repository":{"url":"git+https://github.com/AI-Stats/AI-Stats.git","type":"git"},"_npmVersion":"11.12.0","description":"AI Stats Gateway SDK for TypeScript/JavaScript","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","rimraf":"^6.0.0","ts-node":"^10.9.2","typescript":"^5.6.3","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.1.1_1774299472265_0.14419008547638268","host":"s3://npm-registry-packages-npm-production"},"deprecated":"AI Stats is now Phaseo. Please migrate to @phaseo/sdk."},"1.1.2":{"name":"@ai-stats/sdk","version":"1.1.2","license":"MIT","_id":"@ai-stats/sdk@1.1.2","maintainers":[{"name":"daniel-aistats","email":"danielbutler500@gmail.com"}],"homepage":"https://github.com/AI-Stats/AI-Stats#readme","bugs":{"url":"https://github.com/AI-Stats/AI-Stats/issues"},"dist":{"shasum":"95e18f5a44f37b8239283a9cc703832f14bfab13","tarball":"https://registry.npmjs.org/@ai-stats/sdk/-/sdk-1.1.2.tgz","fileCount":257,"integrity":"sha512-fwM3ivvnoLioeVZammZL5uI5L4P86H1jXc0LWnW1X6YWX7MdVMqvWwMbJXngYBwxtvlqF7hjpv1SDY37bgt18A==","signatures":[{"sig":"MEYCIQCIEgqU0oqx6KkeLF7t/OKbwBygNaoark7/82yy1ExeTQIhAIkt2sQXRA5Blx0CIYkREyt4+NMNZYFj5KNAzUWBZKxb","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-stats%2fsdk@1.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":625640},"main":"./dist/index.cjs","type":"module","_from":"file:ai-stats-sdk-1.1.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./devtools":{"types":"./dist/devtools/index.d.ts","import":"./dist/devtools/index.js","require":"./dist/devtools/index.cjs"},"./compat/openai":{"types":"./dist/compat/openai.d.ts","import":"./dist/compat/openai.js","require":"./dist/compat/openai.cjs"},"./compat/anthropic":{"types":"./dist/compat/anthropic.d.ts","import":"./dist/compat/anthropic.js","require":"./dist/compat/anthropic.cjs"}},"private":false,"scripts":{"gen":"pnpm -w oapi:gen:ts","test":"pnpm smoke:all","build":"rimraf dist && tsc -p tsconfig.build.json","clean":"rimraf dist src/oapi-gen","pack:dry":"npm pack --dry-run","smoke:all":"pnpm smoke:responses && pnpm smoke:chat && pnpm smoke:compat-openai && pnpm smoke:compat-anthropic","smoke:chat":"dotenv -e .env.local -- tsx tests/smoke.ts --operation chat","postinstall":"node scripts/postinstall.cjs","smoke:responses":"dotenv -e .env.local -- tsx tests/smoke.ts --operation responses","smoke:compat-openai":"dotenv -e .env.local -- tsx tests/compat-openai.ts","smoke:compat-anthropic":"dotenv -e .env.local -- tsx tests/compat-anthropic.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4502f121-2a51-4bbe-a15d-442984ff42f5"}},"_resolved":"/tmp/62313268997a01466c8013bcd677f5c3/ai-stats-sdk-1.1.2.tgz","_integrity":"sha512-fwM3ivvnoLioeVZammZL5uI5L4P86H1jXc0LWnW1X6YWX7MdVMqvWwMbJXngYBwxtvlqF7hjpv1SDY37bgt18A==","repository":{"url":"git+https://github.com/AI-Stats/AI-Stats.git","type":"git"},"_npmVersion":"11.11.0","description":"AI Stats Gateway SDK for TypeScript/JavaScript","directories":{},"sideEffects":false,"_nodeVersion":"24.14.1","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","rimraf":"^6.0.0","ts-node":"^10.9.2","typescript":"^6.0.2","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.1.2_1776244949008_0.6611963914898837","host":"s3://npm-registry-packages-npm-production"},"deprecated":"AI Stats is now Phaseo. Please migrate to @phaseo/sdk."},"1.1.3":{"name":"@ai-stats/sdk","version":"1.1.3","license":"MIT","_id":"@ai-stats/sdk@1.1.3","maintainers":[{"name":"daniel-aistats","email":"danielbutler500@gmail.com"}],"homepage":"https://github.com/AI-Stats/AI-Stats#readme","bugs":{"url":"https://github.com/AI-Stats/AI-Stats/issues"},"dist":{"shasum":"20673a80f6fc058e388400341a71fcc13a8bd661","tarball":"https://registry.npmjs.org/@ai-stats/sdk/-/sdk-1.1.3.tgz","fileCount":257,"integrity":"sha512-4s260QI7ErA1evAtk9PowqeG4G8/2ZlvnSKBQokeVMqo+FR3G5jBOMWdHRVq+Auq37VkE8jdQD5yBwGXKGjRcw==","signatures":[{"sig":"MEYCIQCnCds1TDHCNQzPKkSBbu08dfjo6SJeLO+uzCDH2aeaNQIhAMz0aNvoV82aEsj86hJ09R2FsfWJMH4fagMmypI+0/Xb","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-stats%2fsdk@1.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":619093},"main":"./dist/index.cjs","type":"module","_from":"file:ai-stats-sdk-1.1.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./devtools":{"types":"./dist/devtools/index.d.ts","import":"./dist/devtools/index.js","require":"./dist/devtools/index.cjs"},"./compat/openai":{"types":"./dist/compat/openai.d.ts","import":"./dist/compat/openai.js","require":"./dist/compat/openai.cjs"},"./compat/anthropic":{"types":"./dist/compat/anthropic.d.ts","import":"./dist/compat/anthropic.js","require":"./dist/compat/anthropic.cjs"}},"private":false,"scripts":{"gen":"pnpm -w oapi:gen:ts","test":"pnpm smoke:all","build":"rimraf dist && tsc -p tsconfig.build.json","clean":"rimraf dist src/oapi-gen","pack:dry":"npm pack --dry-run","smoke:all":"pnpm smoke:responses && pnpm smoke:chat && pnpm smoke:compat-openai && pnpm smoke:compat-anthropic","smoke:chat":"dotenv -e .env.local -- tsx tests/smoke.ts --operation chat","postinstall":"node scripts/postinstall.cjs","smoke:responses":"dotenv -e .env.local -- tsx tests/smoke.ts --operation responses","smoke:compat-openai":"dotenv -e .env.local -- tsx tests/compat-openai.ts","smoke:compat-anthropic":"dotenv -e .env.local -- tsx tests/compat-anthropic.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4502f121-2a51-4bbe-a15d-442984ff42f5"}},"_resolved":"/tmp/5034d49a576bd0349803a902d664a7ff/ai-stats-sdk-1.1.3.tgz","_integrity":"sha512-4s260QI7ErA1evAtk9PowqeG4G8/2ZlvnSKBQokeVMqo+FR3G5jBOMWdHRVq+Auq37VkE8jdQD5yBwGXKGjRcw==","repository":{"url":"git+https://github.com/AI-Stats/AI-Stats.git","type":"git"},"_npmVersion":"11.11.0","description":"AI Stats Gateway SDK for TypeScript/JavaScript","directories":{},"sideEffects":false,"_nodeVersion":"24.14.1","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","rimraf":"^6.0.0","ts-node":"^10.9.2","typescript":"^6.0.2","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.1.3_1776355500220_0.10933418383102023","host":"s3://npm-registry-packages-npm-production"},"deprecated":"AI Stats is now Phaseo. Please migrate to @phaseo/sdk."},"1.2.0":{"name":"@ai-stats/sdk","version":"1.2.0","license":"MIT","_id":"@ai-stats/sdk@1.2.0","maintainers":[{"name":"daniel-aistats","email":"danielbutler500@gmail.com"}],"homepage":"https://github.com/AI-Stats/AI-Stats#readme","bugs":{"url":"https://github.com/AI-Stats/AI-Stats/issues"},"dist":{"shasum":"957c97120b2ed3f38c563d90f811960182cd13a4","tarball":"https://registry.npmjs.org/@ai-stats/sdk/-/sdk-1.2.0.tgz","fileCount":257,"integrity":"sha512-AYfw6eThz2fJLyDLAEP+dID2y50tWntxNd39bL83h3+piyJK5hlww1Onk4SOWrGdZ9+053GVqx2AvT+qXahoNg==","signatures":[{"sig":"MEYCIQCcExvxc5UCgssEWq7T42I9kXkzKbXxk786r2g3H18kVQIhANxAGOG/Dcos8ehfOFOMEOzgVZt5RgXUcxACz3WYSpC5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-stats%2fsdk@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":619179},"main":"./dist/index.cjs","type":"module","_from":"file:ai-stats-sdk-1.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./devtools":{"types":"./dist/devtools/index.d.ts","import":"./dist/devtools/index.js","require":"./dist/devtools/index.cjs"},"./compat/openai":{"types":"./dist/compat/openai.d.ts","import":"./dist/compat/openai.js","require":"./dist/compat/openai.cjs"},"./compat/anthropic":{"types":"./dist/compat/anthropic.d.ts","import":"./dist/compat/anthropic.js","require":"./dist/compat/anthropic.cjs"}},"private":false,"scripts":{"gen":"pnpm -w oapi:gen:ts","test":"pnpm smoke:all","build":"rimraf dist && tsc -p tsconfig.build.json","clean":"rimraf dist src/oapi-gen","pack:dry":"npm pack --dry-run","smoke:all":"pnpm smoke:responses && pnpm smoke:chat && pnpm smoke:compat-openai && pnpm smoke:compat-anthropic","smoke:chat":"dotenv -e .env.local -- tsx tests/smoke.ts --operation chat","postinstall":"node scripts/postinstall.cjs","smoke:responses":"dotenv -e .env.local -- tsx tests/smoke.ts --operation responses","smoke:compat-openai":"dotenv -e .env.local -- tsx tests/compat-openai.ts","smoke:compat-anthropic":"dotenv -e .env.local -- tsx tests/compat-anthropic.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4502f121-2a51-4bbe-a15d-442984ff42f5"}},"_resolved":"/tmp/04bbca84b3962bfd72186eb457e74d52/ai-stats-sdk-1.2.0.tgz","_integrity":"sha512-AYfw6eThz2fJLyDLAEP+dID2y50tWntxNd39bL83h3+piyJK5hlww1Onk4SOWrGdZ9+053GVqx2AvT+qXahoNg==","repository":{"url":"git+https://github.com/AI-Stats/AI-Stats.git","type":"git"},"_npmVersion":"11.11.0","description":"AI Stats Gateway SDK for TypeScript/JavaScript","directories":{},"sideEffects":false,"_nodeVersion":"24.14.1","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","rimraf":"^6.0.0","ts-node":"^10.9.2","typescript":"^6.0.2","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.2.0_1776510994479_0.37666058191045737","host":"s3://npm-registry-packages-npm-production"},"deprecated":"AI Stats is now Phaseo. Please migrate to @phaseo/sdk."},"2.0.0":{"name":"@ai-stats/sdk","version":"2.0.0","license":"MIT","_id":"@ai-stats/sdk@2.0.0","maintainers":[{"name":"daniel-aistats","email":"danielbutler500@gmail.com"}],"homepage":"https://github.com/AI-Stats/AI-Stats#readme","bugs":{"url":"https://github.com/AI-Stats/AI-Stats/issues"},"dist":{"shasum":"97fc70a9ea15da0f2745805e7c7dee874df22126","tarball":"https://registry.npmjs.org/@ai-stats/sdk/-/sdk-2.0.0.tgz","fileCount":257,"integrity":"sha512-kdEyIjhFVjW54amYmlPaZJgb5sfGJV3dmG6jHz8p2MDs9MHuNyYxlG3fSBzqpTqMkPlpixQ3aB46rkXJgchg2w==","signatures":[{"sig":"MEYCIQCLdF2UVv2IJtJiI5BsBjjKXLVFgiBdbcqZ6CTvKja25wIhAK+ujB8XfPgyD0c/W60AWK/O1/0ORY2EHsCIuS/s1S42","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-stats%2fsdk@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":631894},"main":"./dist/index.cjs","type":"module","_from":"file:ai-stats-sdk-2.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./devtools":{"types":"./dist/devtools/index.d.ts","import":"./dist/devtools/index.js","require":"./dist/devtools/index.cjs"},"./compat/openai":{"types":"./dist/compat/openai.d.ts","import":"./dist/compat/openai.js","require":"./dist/compat/openai.cjs"},"./compat/anthropic":{"types":"./dist/compat/anthropic.d.ts","import":"./dist/compat/anthropic.js","require":"./dist/compat/anthropic.cjs"}},"private":false,"scripts":{"gen":"pnpm -w oapi:gen:ts","test":"pnpm smoke:all","build":"rimraf dist && tsc -p tsconfig.build.json","clean":"rimraf dist src/oapi-gen","pack:dry":"npm pack --dry-run","smoke:all":"pnpm smoke:responses && pnpm smoke:chat && pnpm smoke:compat-openai && pnpm smoke:compat-anthropic","smoke:chat":"dotenv -e .env.local -- tsx tests/smoke.ts --operation chat","postinstall":"node scripts/postinstall.cjs","smoke:responses":"dotenv -e .env.local -- tsx tests/smoke.ts --operation responses","smoke:compat-openai":"dotenv -e .env.local -- tsx tests/compat-openai.ts","smoke:compat-anthropic":"dotenv -e .env.local -- tsx tests/compat-anthropic.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4502f121-2a51-4bbe-a15d-442984ff42f5"}},"_resolved":"/tmp/d030d188a47c99ac136099ef512b6c38/ai-stats-sdk-2.0.0.tgz","_integrity":"sha512-kdEyIjhFVjW54amYmlPaZJgb5sfGJV3dmG6jHz8p2MDs9MHuNyYxlG3fSBzqpTqMkPlpixQ3aB46rkXJgchg2w==","repository":{"url":"git+https://github.com/AI-Stats/AI-Stats.git","type":"git"},"_npmVersion":"11.12.1","description":"AI Stats Gateway SDK for TypeScript/JavaScript","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","rimraf":"^6.0.0","ts-node":"^10.9.2","typescript":"^6.0.2","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.0.0_1776847956489_0.5048319242955448","host":"s3://npm-registry-packages-npm-production"},"deprecated":"AI Stats is now Phaseo. Please migrate to @phaseo/sdk."},"2.0.1":{"name":"@ai-stats/sdk","version":"2.0.1","license":"MIT","_id":"@ai-stats/sdk@2.0.1","maintainers":[{"name":"daniel-aistats","email":"danielbutler500@gmail.com"}],"homepage":"https://github.com/AI-Stats/AI-Stats#readme","bugs":{"url":"https://github.com/AI-Stats/AI-Stats/issues"},"dist":{"shasum":"d8dda8942ccd711cfec28d710d273ca97bb68c69","tarball":"https://registry.npmjs.org/@ai-stats/sdk/-/sdk-2.0.1.tgz","fileCount":259,"integrity":"sha512-paDfCflujX+XDlFAp3bNLCn6hN/lYJTvzn2CQVlTD8iq7ONquZkaedyRQ2B9l+5rN5cP6PrRlnJauU0NKqOAcw==","signatures":[{"sig":"MEUCIER1ukz6wbKo6EQrh7TpMh0cG2V1XxNl9+Nv3kXNjB+UAiEAoX51nOmuqDT7ZqYLw4G+Jd4hkawuK6FDyqE01AgMBp0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-stats%2fsdk@2.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":406724},"main":"./dist/index.cjs","type":"module","_from":"file:ai-stats-sdk-2.0.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./devtools":{"types":"./dist/devtools/index.d.ts","import":"./dist/devtools/index.js","require":"./dist/devtools/index.cjs"},"./compat/openai":{"types":"./dist/compat/openai.d.ts","import":"./dist/compat/openai.js","require":"./dist/compat/openai.cjs"},"./compat/anthropic":{"types":"./dist/compat/anthropic.d.ts","import":"./dist/compat/anthropic.js","require":"./dist/compat/anthropic.cjs"}},"private":false,"scripts":{"gen":"pnpm -w oapi:gen:ts","test":"pnpm smoke:all","build":"rimraf dist && tsc -p tsconfig.build.json","clean":"rimraf dist src/oapi-gen","pack:dry":"npm pack --dry-run","smoke:all":"pnpm smoke:responses && pnpm smoke:chat && pnpm smoke:compat-openai && pnpm smoke:compat-anthropic","smoke:chat":"dotenv -e .env.local -- tsx tests/smoke.ts --operation chat","postinstall":"node scripts/postinstall.cjs","smoke:responses":"dotenv -e .env.local -- tsx tests/smoke.ts --operation responses","smoke:compat-openai":"dotenv -e .env.local -- tsx tests/compat-openai.ts","smoke:compat-anthropic":"dotenv -e .env.local -- tsx tests/compat-anthropic.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4502f121-2a51-4bbe-a15d-442984ff42f5"}},"_resolved":"/tmp/f6a17ceba94320a7bd14ee816ecc680c/ai-stats-sdk-2.0.1.tgz","_integrity":"sha512-paDfCflujX+XDlFAp3bNLCn6hN/lYJTvzn2CQVlTD8iq7ONquZkaedyRQ2B9l+5rN5cP6PrRlnJauU0NKqOAcw==","repository":{"url":"git+https://github.com/AI-Stats/AI-Stats.git","type":"git"},"_npmVersion":"11.11.0","description":"AI Stats Gateway SDK for TypeScript/JavaScript","directories":{},"sideEffects":false,"_nodeVersion":"24.14.1","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","rimraf":"^6.0.0","ts-node":"^10.9.2","typescript":"^6.0.2","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.0.1_1777306159590_0.6537980477093557","host":"s3://npm-registry-packages-npm-production"},"deprecated":"AI Stats is now Phaseo. Please migrate to @phaseo/sdk."},"2.0.2":{"name":"@ai-stats/sdk","version":"2.0.2","license":"MIT","_id":"@ai-stats/sdk@2.0.2","maintainers":[{"name":"daniel-aistats","email":"danielbutler500@gmail.com"}],"homepage":"https://github.com/AI-Stats/AI-Stats#readme","bugs":{"url":"https://github.com/AI-Stats/AI-Stats/issues"},"dist":{"shasum":"e10b0094efa070e048a7084fbdceeddfe00a4a14","tarball":"https://registry.npmjs.org/@ai-stats/sdk/-/sdk-2.0.2.tgz","fileCount":291,"integrity":"sha512-ueshiCGNGISGj2xFUKUjJKBmBFvG4KdEhwP/tWvPAD+wGS2MDVnXKQS7HhkF+fmQfc7nflBzEYPaW5VA/UQCyg==","signatures":[{"sig":"MEUCIFqOsjnE6xcBL/4AnCF9rn1JkuIqndU0mgelYpEddsoIAiEA14ljl/1dlAy7DicRDkwPL67asIkV1QHerQQR6EtgwAo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-stats%2fsdk@2.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":419378},"main":"./dist/index.cjs","type":"module","_from":"file:ai-stats-sdk-2.0.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./devtools":{"types":"./dist/devtools/index.d.ts","import":"./dist/devtools/index.js","require":"./dist/devtools/index.cjs"},"./compat/openai":{"types":"./dist/compat/openai.d.ts","import":"./dist/compat/openai.js","require":"./dist/compat/openai.cjs"},"./compat/anthropic":{"types":"./dist/compat/anthropic.d.ts","import":"./dist/compat/anthropic.js","require":"./dist/compat/anthropic.cjs"}},"private":false,"scripts":{"gen":"pnpm -w oapi:gen:ts","test":"pnpm smoke:all","build":"rimraf dist && tsc -p tsconfig.build.json","clean":"rimraf dist src/oapi-gen","pack:dry":"npm pack --dry-run","smoke:all":"pnpm smoke:responses && pnpm smoke:chat && pnpm smoke:compat-openai && pnpm smoke:compat-anthropic","smoke:chat":"dotenv -e .env.local -- tsx tests/smoke.ts --operation chat","postinstall":"node scripts/postinstall.cjs","smoke:responses":"dotenv -e .env.local -- tsx tests/smoke.ts --operation responses","smoke:compat-openai":"dotenv -e .env.local -- tsx tests/compat-openai.ts","smoke:compat-anthropic":"dotenv -e .env.local -- tsx tests/compat-anthropic.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4502f121-2a51-4bbe-a15d-442984ff42f5"}},"_resolved":"/tmp/8214fdf96b0ce58e95f12178b680fee4/ai-stats-sdk-2.0.2.tgz","_integrity":"sha512-ueshiCGNGISGj2xFUKUjJKBmBFvG4KdEhwP/tWvPAD+wGS2MDVnXKQS7HhkF+fmQfc7nflBzEYPaW5VA/UQCyg==","repository":{"url":"git+https://github.com/AI-Stats/AI-Stats.git","type":"git"},"_npmVersion":"11.11.0","description":"AI Stats Gateway SDK for TypeScript/JavaScript","directories":{},"sideEffects":false,"_nodeVersion":"24.14.1","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","rimraf":"^6.0.0","ts-node":"^10.9.2","typescript":"^6.0.2","@types/node":"^25.6.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.0.2_1777503453955_0.5419561510122992","host":"s3://npm-registry-packages-npm-production"},"deprecated":"AI Stats is now Phaseo. Please migrate to @phaseo/sdk."},"2.0.3":{"name":"@ai-stats/sdk","version":"2.0.3","license":"MIT","_id":"@ai-stats/sdk@2.0.3","maintainers":[{"name":"daniel-aistats","email":"danielbutler500@gmail.com"}],"homepage":"https://github.com/AI-Stats/AI-Stats#readme","bugs":{"url":"https://github.com/AI-Stats/AI-Stats/issues"},"dist":{"shasum":"c0df5ee79cde7fcb21778d5e56df3c83bd5f312c","tarball":"https://registry.npmjs.org/@ai-stats/sdk/-/sdk-2.0.3.tgz","fileCount":291,"integrity":"sha512-xsC5pnq0VsewyTv5n20E8olbgIkAJcOl6jlC/7gWE/586Zc8xRi0nNE1lHCTZF8MUvxoj3sjXjIuwlh7IOqCqw==","signatures":[{"sig":"MEYCIQCSonwrthOGIm6yMjAiDcffJRD+Y2ePudHqMAXNt4xZJwIhAOOuobA3aVJUZwijIsJOM/K/zeXfweWjvgRWKdf5C7PK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-stats%2fsdk@2.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":419899},"main":"./dist/index.cjs","type":"module","_from":"file:ai-stats-sdk-2.0.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./devtools":{"types":"./dist/devtools/index.d.ts","import":"./dist/devtools/index.js","require":"./dist/devtools/index.cjs"},"./compat/openai":{"types":"./dist/compat/openai.d.ts","import":"./dist/compat/openai.js","require":"./dist/compat/openai.cjs"},"./compat/anthropic":{"types":"./dist/compat/anthropic.d.ts","import":"./dist/compat/anthropic.js","require":"./dist/compat/anthropic.cjs"}},"private":false,"scripts":{"gen":"pnpm -w oapi:gen:ts","test":"pnpm smoke:all","build":"rimraf dist && tsc -p tsconfig.build.json","clean":"rimraf dist src/oapi-gen","pack:dry":"npm pack --dry-run","smoke:all":"pnpm smoke:responses && pnpm smoke:chat && pnpm smoke:compat-openai && pnpm smoke:compat-anthropic","smoke:chat":"dotenv -e .env.local -- tsx tests/smoke.ts --operation chat","postinstall":"node scripts/postinstall.cjs","smoke:responses":"dotenv -e .env.local -- tsx tests/smoke.ts --operation responses","smoke:compat-openai":"dotenv -e .env.local -- tsx tests/compat-openai.ts","smoke:compat-anthropic":"dotenv -e .env.local -- tsx tests/compat-anthropic.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4502f121-2a51-4bbe-a15d-442984ff42f5"}},"_resolved":"/tmp/a4665134494ac23c3598869b57a73014/ai-stats-sdk-2.0.3.tgz","_integrity":"sha512-xsC5pnq0VsewyTv5n20E8olbgIkAJcOl6jlC/7gWE/586Zc8xRi0nNE1lHCTZF8MUvxoj3sjXjIuwlh7IOqCqw==","repository":{"url":"git+https://github.com/AI-Stats/AI-Stats.git","type":"git"},"_npmVersion":"11.11.0","description":"AI Stats Gateway SDK for TypeScript/JavaScript","directories":{},"sideEffects":false,"_nodeVersion":"24.14.1","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","rimraf":"^6.0.0","ts-node":"^10.9.2","typescript":"^6.0.2","@types/node":"^25.6.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.0.3_1777644578804_0.02140641180188041","host":"s3://npm-registry-packages-npm-production"},"deprecated":"AI Stats is now Phaseo. Please migrate to @phaseo/sdk."},"2.0.4":{"name":"@ai-stats/sdk","version":"2.0.4","license":"MIT","_id":"@ai-stats/sdk@2.0.4","maintainers":[{"name":"daniel-aistats","email":"danielbutler500@gmail.com"}],"homepage":"https://github.com/AI-Stats/AI-Stats#readme","bugs":{"url":"https://github.com/AI-Stats/AI-Stats/issues"},"dist":{"shasum":"04bcfc221e4b4abb078dae37c5f4cac12798c2e8","tarball":"https://registry.npmjs.org/@ai-stats/sdk/-/sdk-2.0.4.tgz","fileCount":309,"integrity":"sha512-0eDaHu4tV9Tzh0eksbRzqFOkKoPj6ZuNulAVcKLL+a2sjcOTl1Az9o5Oh7eCwhIXrIIpsfByRxIaUdh/MSj9Zw==","signatures":[{"sig":"MEUCIQC4sNOer+Hk8GTZHCVmqENv4p9vDYmHPC4t2TDMUaLN/gIgCpQNqKrrHY/Mv88YAdSNwu/GTQG2CuAsqGOWIc1w8Xs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-stats%2fsdk@2.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":463355},"main":"./dist/index.cjs","type":"module","_from":"file:ai-stats-sdk-2.0.4.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./devtools":{"types":"./dist/devtools/index.d.ts","import":"./dist/devtools/index.js","require":"./dist/devtools/index.cjs"},"./compat/openai":{"types":"./dist/compat/openai.d.ts","import":"./dist/compat/openai.js","require":"./dist/compat/openai.cjs"},"./compat/anthropic":{"types":"./dist/compat/anthropic.d.ts","import":"./dist/compat/anthropic.js","require":"./dist/compat/anthropic.cjs"}},"private":false,"scripts":{"gen":"pnpm -w oapi:gen:ts","test":"pnpm test:unit","build":"rimraf dist && tsc -p tsconfig.build.json","clean":"rimraf dist src/oapi-gen","pack:dry":"npm pack --dry-run","smoke:all":"pnpm smoke:responses && pnpm smoke:chat && pnpm smoke:compat-openai && pnpm smoke:compat-anthropic","test:unit":"pnpm exec vitest run tests/client-async-jobs.test.ts tests/client-batches.test.ts tests/client-chat.test.ts tests/client-files.test.ts tests/client-video.test.ts tests/devtools.test.ts","smoke:chat":"dotenv -e .env.local -- tsx tests/smoke.ts --operation chat","test:smoke":"pnpm smoke:all","postinstall":"node scripts/postinstall.cjs","smoke:responses":"dotenv -e .env.local -- tsx tests/smoke.ts --operation responses","smoke:compat-openai":"dotenv -e .env.local -- tsx tests/compat-openai.ts","smoke:compat-anthropic":"dotenv -e .env.local -- tsx tests/compat-anthropic.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4502f121-2a51-4bbe-a15d-442984ff42f5"}},"_resolved":"/tmp/a72d4d73b772b5052e458e26b5395acd/ai-stats-sdk-2.0.4.tgz","_integrity":"sha512-0eDaHu4tV9Tzh0eksbRzqFOkKoPj6ZuNulAVcKLL+a2sjcOTl1Az9o5Oh7eCwhIXrIIpsfByRxIaUdh/MSj9Zw==","repository":{"url":"git+https://github.com/AI-Stats/AI-Stats.git","type":"git"},"_npmVersion":"11.11.0","description":"AI Stats Gateway SDK for TypeScript/JavaScript","directories":{},"sideEffects":false,"_nodeVersion":"24.14.1","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","rimraf":"^6.0.0","ts-node":"^10.9.2","typescript":"^6.0.2","@types/node":"^25.6.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.0.4_1778223719304_0.09671521356822899","host":"s3://npm-registry-packages-npm-production"},"deprecated":"AI Stats is now Phaseo. Please migrate to @phaseo/sdk."},"2.0.5":{"name":"@ai-stats/sdk","version":"2.0.5","license":"MIT","_id":"@ai-stats/sdk@2.0.5","maintainers":[{"name":"daniel-aistats","email":"danielbutler500@gmail.com"}],"homepage":"https://github.com/AI-Stats/AI-Stats#readme","bugs":{"url":"https://github.com/AI-Stats/AI-Stats/issues"},"dist":{"shasum":"33792b4f81c2ff229b7b019eeb34bdc1ee839173","tarball":"https://registry.npmjs.org/@ai-stats/sdk/-/sdk-2.0.5.tgz","fileCount":348,"integrity":"sha512-C2HrDb9+VUW94vnHp9hQGmyMtuJ8eC9T0h/IvbsMCjgeNrubQzE6xedIwFYiEIczYR1rFAUTmerD9BiFQJfbMQ==","signatures":[{"sig":"MEYCIQCqb/s5r58qZSaj5B376VVFKFAbso3pmUQRz7ilZ5OtdQIhAPVKct6ox1fhViBNxcehuoXo12cxhGToB88IizetzMRg","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-stats%2fsdk@2.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":627841},"main":"./dist/index.cjs","type":"module","_from":"file:ai-stats-sdk-2.0.5.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./devtools":{"types":"./dist/devtools/index.d.ts","import":"./dist/devtools/index.js","require":"./dist/devtools/index.cjs"},"./compat/openai":{"types":"./dist/compat/openai.d.ts","import":"./dist/compat/openai.js","require":"./dist/compat/openai.cjs"},"./compat/anthropic":{"types":"./dist/compat/anthropic.d.ts","import":"./dist/compat/anthropic.js","require":"./dist/compat/anthropic.cjs"}},"private":false,"scripts":{"gen":"pnpm -w oapi:gen:ts","test":"pnpm test:unit","build":"rimraf dist && tsc -p tsconfig.build.json","clean":"rimraf dist src/oapi-gen","pack:dry":"npm pack --dry-run","smoke:all":"pnpm smoke:responses && pnpm smoke:chat && pnpm smoke:compat-openai && pnpm smoke:compat-anthropic","test:unit":"pnpm exec vitest run tests/client-async-jobs.test.ts tests/client-batches.test.ts tests/client-chat.test.ts tests/client-endpoints.test.ts tests/client-files.test.ts tests/client-video.test.ts tests/devtools.test.ts tests/webhooks.test.ts","smoke:chat":"dotenv -e .env.local -- tsx tests/smoke.ts --operation chat","test:smoke":"pnpm smoke:all","postinstall":"node scripts/postinstall.cjs","smoke:responses":"dotenv -e .env.local -- tsx tests/smoke.ts --operation responses","smoke:compat-openai":"dotenv -e .env.local -- tsx tests/compat-openai.ts","smoke:compat-anthropic":"dotenv -e .env.local -- tsx tests/compat-anthropic.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4502f121-2a51-4bbe-a15d-442984ff42f5"}},"_resolved":"/tmp/013bde0a6aa202c516922c5262fe3abc/ai-stats-sdk-2.0.5.tgz","_integrity":"sha512-C2HrDb9+VUW94vnHp9hQGmyMtuJ8eC9T0h/IvbsMCjgeNrubQzE6xedIwFYiEIczYR1rFAUTmerD9BiFQJfbMQ==","repository":{"url":"git+https://github.com/AI-Stats/AI-Stats.git","type":"git"},"_npmVersion":"11.13.0","description":"AI Stats Gateway SDK for TypeScript/JavaScript","directories":{},"sideEffects":false,"_nodeVersion":"24.16.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","rimraf":"^6.0.0","ts-node":"^10.9.2","typescript":"^6.0.3","@types/node":"^25.6.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.0.5_1781264454459_0.8362162696066746","host":"s3://npm-registry-packages-npm-production"},"deprecated":"AI Stats is now Phaseo. Please migrate to @phaseo/sdk."}},"time":{"created":"2025-11-27T14:32:26.767Z","modified":"2026-07-04T10:43:50.811Z","0.1.0":"2025-11-27T14:32:27.039Z","0.1.1":"2025-11-28T14:32:54.545Z","0.1.2":"2025-12-02T16:58:51.668Z","0.1.3":"2025-12-03T22:51:01.995Z","0.1.4":"2025-12-06T09:44:09.255Z","0.2.0":"2025-12-12T23:06:58.693Z","0.2.1-alpha.0":"2025-12-17T10:38:50.567Z","1.0.0":"2026-02-11T22:26:42.180Z","1.0.1":"2026-02-12T14:10:36.949Z","1.0.2":"2026-02-25T12:21:36.364Z","1.1.1":"2026-03-23T20:57:52.457Z","1.1.2":"2026-04-15T09:22:29.139Z","1.1.3":"2026-04-16T16:05:00.469Z","1.2.0":"2026-04-18T11:16:34.646Z","2.0.0":"2026-04-22T08:52:36.645Z","2.0.1":"2026-04-27T16:09:19.803Z","2.0.2":"2026-04-29T22:57:34.130Z","2.0.3":"2026-05-01T14:09:38.945Z","2.0.4":"2026-05-08T07:01:59.479Z","2.0.5":"2026-06-12T11:40:54.594Z"},"bugs":{"url":"https://github.com/AI-Stats/AI-Stats/issues"},"license":"MIT","homepage":"https://github.com/AI-Stats/AI-Stats#readme","repository":{"url":"git+https://github.com/AI-Stats/AI-Stats.git","type":"git"},"description":"AI Stats Gateway SDK for TypeScript/JavaScript","maintainers":[{"name":"daniel-aistats","email":"danielbutler500@gmail.com"}],"readme":"# @ai-stats/sdk\n\nOfficial TypeScript and JavaScript SDK for AI Stats Gateway.\n\n## Installation\n\n```bash\nnpm install @ai-stats/sdk\n```\n\n## Quick start\n\n```ts\nimport AIStats from \"@ai-stats/sdk\";\n\nconst client = new AIStats({\n  apiKey: process.env.AI_STATS_API_KEY,\n  // baseUrl: \"https://api.phaseo.app/v1\",\n});\n\nconst response = await client.responses.create({\n  model: \"google/gemma-3-27b:free\",\n  input: \"Reply with: TypeScript SDK works\",\n});\n\nconsole.log(response.output_text);\n```\n\n## Drop-in compatibility\n\nThe SDK includes compatibility layers for OpenAI and Anthropic-style clients.\n\n```ts\nimport { OpenAI } from \"@ai-stats/sdk/compat/openai\";\nimport { Anthropic } from \"@ai-stats/sdk/compat/anthropic\";\n\nconst openai = new OpenAI({ apiKey: process.env.AI_STATS_API_KEY });\nconst anthropic = new Anthropic({ apiKey: process.env.AI_STATS_API_KEY });\n```\n\nCompatibility guide: [COMPAT_GUIDE.md](./COMPAT_GUIDE.md)\n\n## Common methods\n\n- `client.responses.create(...)`\n- `client.chat.completions.create(...)`\n- `client.models.list(...)`\n- `client.listOrganisations(...)` for paginated `/organisations` discovery\n- `client.listPricingModels(...)` for `/pricing/models` catalogue pricing discovery\n- `client.calculatePricing(...)` for `/pricing/calculate` usage estimation\n- `client.listProviders(...)`, `client.getCredits(...)`, `client.getActivity(...)`, and `client.getAnalytics(...)` for provider discovery and management-key usage surfaces\n- `client.providers.derankStatus(providerId, ...)` for provider derank health checks\n- `client.listApiKeys(...)` for management-key `/keys` discovery\n- `client.createApiKey(...)`, `client.updateApiKey(id, ...)`, and `client.deleteApiKey(id)` for management-key API-key lifecycle changes\n- `client.getApiKey(id)` for management-key `/keys/{id}` lookup\n- `client.listWorkspaces(...)`, `client.getWorkspace(id)`, `client.createWorkspace(...)`, `client.updateWorkspace(id, ...)`, and `client.deleteWorkspace(id)` for management-key workspace lifecycle management\n- `client.getCurrentApiKey()`\n- `client.getHealth()`\n- `client.models.getDeprecationInfo(modelId)`\n- `client.models.validate(modelId)`\n- `client.ocr.create(...)`, `client.rerank.create(...)`, and `client.music.create(...)` for OCR, rerank, and music generation\n- `client.dataModels.list(...)` for `/data/models`\n- `client.responses.websocketUrl(...)` for Responses websocket connection URLs\n\nModel discovery supports the public `/models` filters, including `provider`, `provider_status`, `provider_routing_status`, `model_routing_status`, `capability_status`, `provider_availability_status`, `provider_availability_reason`, `status`, `organisation`, `endpoints`, `input_types`, `output_types`, `params`, `availability`, `limit`, and `offset`.\n\nUse `provider_availability_reason` with `availability: \"all\"` when you want rollout-state entries such as `preview_only`, `provider_not_ready`, `gated`, `access_limited`, `region_limited`, `project_limited`, `paused`, or `soft_blocked`. Use `capability_status` with `availability: \"all\"` when you want non-routable endpoint mappings such as `coming_soon` or `internal_testing`.\n\n```ts\nconst models = await client.models.list({\n  provider: [\"anthropic\"],\n  provider_status: [\"beta\", \"not_ready\"],\n  provider_availability_reason: [\"preview_only\", \"provider_not_ready\"],\n  capability_status: [\"coming_soon\", \"internal_testing\"],\n  availability: \"all\",\n});\n```\n\n## Async job websocket helpers\n\nBatch and video operations can expose a websocket lifecycle stream at `/v1/async/{kind}/{id}/ws`.\nCreate responses include the job id, polling URL, optional websocket URL, and sanitized webhook delivery state.\n\n```ts\nconst batch = await client.batches.create({\n  endpoint: \"/v1/responses\",\n  input_file_id: \"file_123\",\n  completion_window: \"24h\",\n  webhook: {\n    url: \"https://example.com/ai-stats/webhooks\",\n    secret: process.env.AI_STATS_WEBHOOK_SECRET,\n    events: [\"batch.progress\", \"batch.completed\", \"batch.failed\"],\n  },\n});\n\nconst video = await client.videos.create({\n  model: \"google/veo-3\",\n  prompt: \"orbital reveal\",\n  webhook: {\n    url: \"https://example.com/ai-stats/webhooks\",\n    secret: process.env.AI_STATS_WEBHOOK_SECRET,\n    events: [\"video.progress\", \"video.completed\", \"video.failed\"],\n  },\n});\n```\n\n```ts\nconst batchSocketUrl = client.batches.websocketUrl(\"batch_123\", {\n  intervalMs: 1500,\n});\n\nconst videoSocketUrl = client.videos.websocketUrl(\"video_123\", {\n  closeOnTerminal: true,\n});\n\nconst genericSocketUrl = client.getAsyncJobWebSocketUrl(\"video\", \"video_123\");\n```\n\n## Free and paid models\n\n- Models with `:free` in the model ID can be called with zero deposited credits.\n- Paid models require available wallet balance.\n\n## Model lifecycle warnings\n\nDeprecation warnings are enabled by default.\n\n```ts\nconst client = new AIStats({\n  apiKey: process.env.AI_STATS_API_KEY,\n  enableDeprecationWarnings: true,\n  warningsAsErrors: false,\n  logger: (level, message, meta) => {\n    console.log(level, message, meta);\n  },\n});\n```\n\n## Environment variables\n\n- `AI_STATS_API_KEY` (required unless passed in code)\n- `AI_STATS_BASE_URL` (optional, defaults to `https://api.phaseo.app/v1`)\n\n## Devtools\n\n```ts\nimport { AIStats, createAIStatsDevtools } from \"@ai-stats/sdk\";\n\nconst client = new AIStats({\n  apiKey: process.env.AI_STATS_API_KEY,\n  devtools: createAIStatsDevtools({\n    directory: \".ai-stats-devtools\",\n    captureHeaders: true,\n  }),\n});\n```\n\nViewer:\n\n```bash\nnpx @ai-stats/devtools-viewer\n```\n\n## Regeneration and local checks\n\n- Regenerate generated client: `pnpm openapi:gen:ts`\n- Run local compatibility tests: `pnpm --filter @ai-stats/sdk test`\n- Build package: `pnpm --filter @ai-stats/sdk build`\n- Run live smoke tests explicitly: `pnpm --filter @ai-stats/sdk test:smoke`\n","readmeFilename":"README.md"}