{"_id":"@agentkit-js/model-anthropic","_rev":"3-6322117668a7963bcfdc5cb07b440dac","name":"@agentkit-js/model-anthropic","dist-tags":{"latest":"0.2.0"},"versions":{"0.2.0":{"name":"@agentkit-js/model-anthropic","version":"0.2.0","keywords":["agentkit","agent","ai","llm"],"author":{"name":"agentkit-js contributors"},"license":"Apache-2.0","_id":"@agentkit-js/model-anthropic@0.2.0","maintainers":[{"name":"tellerlin","email":"lintao_mailbox@163.com"}],"homepage":"https://github.com/telleroutlook/agentkit-js/tree/main/packages/model-anthropic#readme","bugs":{"url":"https://github.com/telleroutlook/agentkit-js/issues"},"dist":{"shasum":"cf50d3406b3c028b9d500e56dc86918e3193b3bb","tarball":"https://registry.npmjs.org/@agentkit-js/model-anthropic/-/model-anthropic-0.2.0.tgz","fileCount":7,"integrity":"sha512-uMdK15UdVGkoN8xrfxe8QB2GXKLQLfi58ZIcqBFH+Y1IrYiCIKj0PDkSd9c+/1u8mF0Xmbq4gwlbHTddSWvpPg==","signatures":[{"sig":"MEYCIQDerpRiYLAvTqftVA7G1+0WZEzTYkNANbatXPlPrji1gAIhAKuKs83Ls2Qo/Tmzpkd9NmEH3NVAVItofffsIl54YGUo","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13142},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"8c7d015ef3a0ab3f10e48b593be44fd106d6b433","scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","clean":"rm -rf dist .turbo","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"tellerlin","email":"lintao_mailbox@163.com"},"deprecated":"This package has moved to @wasmagent/model-anthropic. Please update your dependency.","repository":{"url":"git+https://github.com/telleroutlook/agentkit-js.git","type":"git","directory":"packages/model-anthropic"},"_npmVersion":"11.16.0","description":"Anthropic model adapter for agentkit-js","directories":{},"_nodeVersion":"24.16.0","dependencies":{"@agentkit-js/core":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.1.0","typescript":"^5.7.0","@anthropic-ai/sdk":"^0.55.0"},"peerDependencies":{"@anthropic-ai/sdk":">=0.55.0"},"_npmOperationalInternal":{"tmp":"tmp/model-anthropic_0.2.0_1781223370731_0.5448288243686605","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-06-12T00:16:10.613Z","modified":"2026-07-04T01:07:22.177Z","0.2.0":"2026-06-12T00:16:10.847Z"},"bugs":{"url":"https://github.com/telleroutlook/agentkit-js/issues"},"author":{"name":"agentkit-js contributors"},"license":"Apache-2.0","homepage":"https://github.com/telleroutlook/agentkit-js/tree/main/packages/model-anthropic#readme","keywords":["agentkit","agent","ai","llm"],"repository":{"url":"git+https://github.com/telleroutlook/agentkit-js.git","type":"git","directory":"packages/model-anthropic"},"description":"Anthropic model adapter for agentkit-js","maintainers":[{"email":"lintao_mailbox@163.com","name":"tellerlin"},{"email":"hyin.sybase@gmail.com","name":"haining-yin"}],"readme":"# @agentkit-js/model-anthropic\n\nAnthropic Claude adapter — auto prompt-cache breakpoints + 1-hour TTL.\n\n> Part of [agentkit-js](https://github.com/telleroutlook/agentkit-js) — a TypeScript + WASM agent runtime.\n\n## Install\n\n```bash\nnpm install @agentkit-js/model-anthropic @agentkit-js/core @anthropic-ai/sdk\n```\n\n## Usage\n\n```ts\nimport { AnthropicModel, AnthropicModels } from \"@agentkit-js/model-anthropic\";\nconst model = new AnthropicModel(AnthropicModels.SONNET_4_6, {\n  apiKey: process.env.ANTHROPIC_API_KEY,\n});\n```\n\n## License\n\n[Apache-2.0](./LICENSE) — © agentkit-js contributors\n","readmeFilename":"README.md"}