{"_id":"@agentxin-ai/plugin-zhipuai","name":"@agentxin-ai/plugin-zhipuai","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.3":{"name":"@agentxin-ai/plugin-zhipuai","version":"0.0.3","repository":{"type":"git","url":"git+https://github.com/agentxin-ai/agentxin-plugins.git"},"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"}},"dependencies":{"tslib":"^2.3.0"},"peerDependencies":{"zod":"3.25.67","@agentxin-ai/plugin-sdk":"^3.7.2","@langchain/core":"0.3.72","@metad/contracts":"^3.7.0","@nestjs/common":"^11.1.6","lodash-es":"4.17.21","@langchain/openai":"0.6.9","@nestjs/config":"^4.0.2","chalk":"4.1.2"},"scripts":{"test":"jest"},"_id":"@agentxin-ai/plugin-zhipuai@0.0.3","description":"Zhipu AI model provider plugin for the AgentXinAI platform.","bugs":{"url":"https://github.com/agentxin-ai/agentxin-plugins/issues"},"homepage":"https://github.com/agentxin-ai/agentxin-plugins#readme","_nodeVersion":"22.22.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-wUa09slYl+lziJqRZqRpAkuKGlXPdA47RI36GygR1/nIo5CDlp1tPDwNU0D8QQewf0aP/UUm/v1LM+xn85Ppew==","shasum":"af8bf31ba59a96c69d1506c46957a43c050da43d","tarball":"https://registry.npmjs.org/@agentxin-ai/plugin-zhipuai/-/plugin-zhipuai-0.0.3.tgz","fileCount":29,"unpackedSize":62684,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEiWs3x/xK4/VQt9qJAfLv1ZMQ89tOru9yThz9QXPuhbAiEAurny1hyc6oYXToxyr6gokwKeBfSdMUUU+NAcPopqbKs="}]},"_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-zhipuai_0.0.3_1775124658083_0.08118965040673487"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-02T10:10:57.947Z","0.0.3":"2026-04-02T10:10:58.241Z","modified":"2026-04-02T10:10:58.459Z"},"maintainers":[{"name":"agentxin-ai","email":"1304040880@qq.com"}],"description":"Zhipu AI model provider plugin for the AgentXinAI platform.","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"},"readme":"# AgentXinAI Plugin: ZhipuAI Models\n\nZhipu AI model provider plugin for the AgentXinAI platform.\n\n## Features\n\n- Support for Zhipu conversational and completion models\n- OpenAI-compatible API surface for easy integration\n- Streaming responses for low-latency UI updates\n- Tool-calling and instruction-following support\n\n## Installation\n\nThis plugin is included in the AgentXinAI plugins monorepo and will be loaded automatically by the platform when installed.\n\n## Configuration\n\nProvide credentials and optional endpoints via your environment or platform configuration.\n\nRequired Credentials\n\n- `api_key`: Your Zhipu AI API key\n- `base_url` (optional): Custom API endpoint, defaults to the official Zhipu API host\n\n## Usage\n\nThe plugin exposes an OpenAI-compatible interface so existing callers can switch providers with minimal changes. It supports streaming responses and tool-calling where the model suggests structured tool invocations.\n\n## Basic example (pseudo):\n\n1. Initialize the client with `api_key` and optional `base_url`.\n2. Send chat messages to the `zhipuai-chat` model.\n3. Receive streaming partial responses or final completions.\n\n## License\n\nAGPL-3.0\n\nFor more details, see the AgentXinAI platform docs and the example usages in the `models/zhipuai` folder.\n","readmeFilename":"README.md","_rev":"1-a7b8a4478e0dfe6c3e55db175cb9d839"}