{"_id":"@agentxin-ai/plugin-openrouter","name":"@agentxin-ai/plugin-openrouter","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@agentxin-ai/plugin-openrouter","version":"0.0.1","license":"AGPL-3.0","repository":{"type":"git","url":"git+https://github.com/agentxin-ai/agentxin-plugins.git"},"bugs":{"url":"https://github.com/agentxin-ai/agentxin-plugins/issues"},"type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"@agentxin-plugins-starter/source":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"test":"jest"},"dependencies":{"tslib":"^2.3.0"},"peerDependencies":{"@metad/contracts":"^3.6.2","@nestjs/common":"^11.1.6","@nestjs/config":"^4.0.2","@agentxin-ai/plugin-sdk":"^3.6.5","lodash-es":"4.17.21","chalk":"4.1.2","rxjs":"^7.8.1","zod":"3.25.67"},"_id":"@agentxin-ai/plugin-openrouter@0.0.1","description":"`@agentxin-ai/plugin-openrouter` connects [OpenRouter](https://openrouter.ai/) endpoints to the [AgentXinAI](https://github.com/agentxin-ai/agentxin) platform. OpenRouter provides a unified interface to access various LLMs (Large Language Models) from dif","homepage":"https://github.com/agentxin-ai/agentxin-plugins#readme","_nodeVersion":"22.22.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-B6tr7YRq2e8ycgNJIAt5ZiO7PraTXBFYuYb3j4/MIts8ENPPfxALrcaME6ig1wcnRQI7yYH6oqiJzgD/fRC71w==","shasum":"d64ad57bf669e46ae18c994436ed699c99f646fa","tarball":"https://registry.npmjs.org/@agentxin-ai/plugin-openrouter/-/plugin-openrouter-0.0.1.tgz","fileCount":20,"unpackedSize":33693,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCZBsfwU8VeGfCYxgsMqDysaDILgrOtn//JolgOYwXrHwIgNhjPNlajR8vrjWvAb0Lki+Ljv2yzHQGwK3IHHtasuTQ="}]},"_npmUser":{"name":"agentxin-ai","email":"1304040880@qq.com"},"directories":{},"maintainers":[{"name":"agentxin-ai","email":"1304040880@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-openrouter_0.0.1_1775124917827_0.01459205917046913"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-02T10:15:17.710Z","0.0.1":"2026-04-02T10:15:17.981Z","modified":"2026-04-02T10:15:18.235Z"},"maintainers":[{"name":"agentxin-ai","email":"1304040880@qq.com"}],"description":"`@agentxin-ai/plugin-openrouter` connects [OpenRouter](https://openrouter.ai/) endpoints to the [AgentXinAI](https://github.com/agentxin-ai/agentxin) platform. OpenRouter provides a unified interface to access various LLMs (Large Language Models) from dif","homepage":"https://github.com/agentxin-ai/agentxin-plugins#readme","repository":{"type":"git","url":"git+https://github.com/agentxin-ai/agentxin-plugins.git"},"bugs":{"url":"https://github.com/agentxin-ai/agentxin-plugins/issues"},"license":"AGPL-3.0","readme":"# AgentXin Plugin: OpenRouter\n\n## Overview\n\n`@agentxin-ai/plugin-openrouter` connects [OpenRouter](https://openrouter.ai/) endpoints to the [AgentXinAI](https://github.com/agentxin-ai/agentxin) platform. OpenRouter provides a unified interface to access various LLMs (Large Language Models) from different providers.\n\n## Core Features\n\n- Ships `OpenRouterModule`, which registers the NestJS provider strategy, lifecycle hooks, and configuration schema required by the plugin runtime.\n- Implements `OpenRouterLargeLanguageModel`, which extends `LargeLanguageModel` to support OpenRouter's OpenAI-compatible API.\n- Supports configuring API key and other parameters via the AgentXinAI console.\n\n## Installation\n\n```bash\nnpm install @agentxin-ai/plugin-openrouter\n```\n\n## Configuration\n\nTo use this plugin, you need to configure the following credentials in the AgentXinAI console:\n\n- **API Key**: Your OpenRouter API key.\n\n## Model Capabilities\n\n- **Large Language Models**: Supports a wide range of models available on OpenRouter (e.g., `google/gemma-2-9b-it`, `meta-llama/llama-3.1-8b-instruct`, etc.).\n\n## Development & Debugging\n\nFrom the repo root, run Nx commands for this package:\n\n```bash\ncd agentxinai\nnpx nx build @agentxin-ai/plugin-openrouter\nnpx nx test @agentxin-ai/plugin-openrouter\n```\n","readmeFilename":"README.md","_rev":"1-cc1a456e0ebc9fef29d7e74b39abc585"}