{"_id":"@amux.ai/adapter-qwen","_rev":"4-757ff0b71c8aa9ac20c06b69895caf8e","name":"@amux.ai/adapter-qwen","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.1":{"name":"@amux.ai/adapter-qwen","version":"0.1.1","keywords":["amux","llm","qwen","tongyi","adapter"],"author":{"name":"isboyjc"},"license":"MIT","_id":"@amux.ai/adapter-qwen@0.1.1","maintainers":[{"name":"isboyjc","email":"214930661@qq.com"}],"homepage":"https://github.com/isboyjc/amux#readme","bugs":{"url":"https://github.com/isboyjc/amux/issues"},"dist":{"shasum":"999c8cc9afee187cf711d789b8a61d1124d0cc05","tarball":"https://registry.npmjs.org/@amux.ai/adapter-qwen/-/adapter-qwen-0.1.1.tgz","fileCount":7,"integrity":"sha512-RtxH0eeg25SHhwDWSBVWMOGcnTcj1giBU6HaEgkFIIMw4JNYu+sswXs5pyGwm6MWKDfHUoaDg9dfmskralxSmg==","signatures":[{"sig":"MEQCIEvmYZFvSEYlDzWh3nqPR01D1APCkk51JvvBkPICuuWfAiBOkhnkqwBQ4xGcKgNbZtjyj6oOp3Gf8UZQFA26Oy/33Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":119585},"main":"./dist/index.cjs","type":"module","_from":"file:amux.ai-adapter-qwen-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"}},"scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts","test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"isboyjc","email":"214930661@qq.com"},"_resolved":"/private/var/folders/40/ydvkbdz503l88ck6kxydy50w0000gn/T/292ab7cd722935c0cb7b8538e82cd3fc/amux.ai-adapter-qwen-0.1.1.tgz","_integrity":"sha512-RtxH0eeg25SHhwDWSBVWMOGcnTcj1giBU6HaEgkFIIMw4JNYu+sswXs5pyGwm6MWKDfHUoaDg9dfmskralxSmg==","repository":{"url":"git+https://github.com/isboyjc/amux.git","type":"git","directory":"packages/adapter-qwen"},"_npmVersion":"10.9.2","description":"Qwen adapter for Amux","directories":{},"_nodeVersion":"22.15.1","dependencies":{"@amux.ai/llm-bridge":"0.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.2.1","typescript":"^5.3.3","@types/node":"^20.11.5"},"_npmOperationalInternal":{"tmp":"tmp/adapter-qwen_0.1.1_1769284658545_0.5323267111598575","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@amux.ai/adapter-qwen","version":"0.1.2","keywords":["amux","llm","qwen","tongyi","adapter"],"author":{"name":"isboyjc"},"license":"MIT","_id":"@amux.ai/adapter-qwen@0.1.2","maintainers":[{"name":"isboyjc","email":"214930661@qq.com"}],"homepage":"https://github.com/isboyjc/amux#readme","bugs":{"url":"https://github.com/isboyjc/amux/issues"},"dist":{"shasum":"405e9fd537568aa1db8b3bcb9c4d84970cf71444","tarball":"https://registry.npmjs.org/@amux.ai/adapter-qwen/-/adapter-qwen-0.1.2.tgz","fileCount":8,"integrity":"sha512-aJ2ASEG8zD/Mez3BSICM+uddLYXjTKXTTpWRY8uzAo0MOsAauLuZfO+/rUGOhk6YfwVpxZxhDfMYdfnV3C3DPw==","signatures":[{"sig":"MEYCIQCk7ySU3UIVnRkWYCGHRhxT3CsHtM3dugzN5TIlytMIGQIhAKNT9l31aVMyCB8yL3gW0kMphzPI9gD0/RNHR+QKLKSa","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":121774},"main":"./dist/index.cjs","type":"module","_from":"file:amux.ai-adapter-qwen-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"}},"scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts","test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"isboyjc","email":"214930661@qq.com"},"_resolved":"/private/var/folders/40/ydvkbdz503l88ck6kxydy50w0000gn/T/1c0d1bf6dc787c7c10eea07987bd645b/amux.ai-adapter-qwen-0.1.2.tgz","_integrity":"sha512-aJ2ASEG8zD/Mez3BSICM+uddLYXjTKXTTpWRY8uzAo0MOsAauLuZfO+/rUGOhk6YfwVpxZxhDfMYdfnV3C3DPw==","repository":{"url":"git+https://github.com/isboyjc/amux.git","type":"git","directory":"packages/adapter-qwen"},"_npmVersion":"10.9.2","description":"Qwen adapter for Amux","directories":{},"_nodeVersion":"22.15.1","dependencies":{"@amux.ai/llm-bridge":"0.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.2.1","typescript":"^5.3.3","@types/node":"^20.11.5"},"_npmOperationalInternal":{"tmp":"tmp/adapter-qwen_0.1.2_1769294672780_0.23407196761677485","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@amux.ai/adapter-qwen","version":"0.1.3","keywords":["amux","llm","qwen","tongyi","adapter"],"author":{"name":"isboyjc"},"license":"MIT","_id":"@amux.ai/adapter-qwen@0.1.3","maintainers":[{"name":"isboyjc","email":"214930661@qq.com"}],"homepage":"https://github.com/isboyjc/amux#readme","bugs":{"url":"https://github.com/isboyjc/amux/issues"},"dist":{"shasum":"ac7d74d04daaa0c7a82a489a327f6b171bfe7180","tarball":"https://registry.npmjs.org/@amux.ai/adapter-qwen/-/adapter-qwen-0.1.3.tgz","fileCount":8,"integrity":"sha512-6Yw8KxdPBd8sAIXq9+vlhnuKGug8mHj5jFNCFYPOPOIC3ZB8kbsjsjrRO+WK05zikADdEorXBvnxRtldaCqpvQ==","signatures":[{"sig":"MEQCICYbqCoi5orzeUIxEk/mQn5ClvxwYh1ufsmPmlOtklxfAiBxdXOIELMpuuEFGvDnJp7sEWEMQSOxY4U8Qk9NrOJtzw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":121774},"main":"./dist/index.cjs","type":"module","_from":"file:amux.ai-adapter-qwen-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"}},"scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts","test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"isboyjc","email":"214930661@qq.com"},"_resolved":"/private/var/folders/40/ydvkbdz503l88ck6kxydy50w0000gn/T/eaf1d842160ff4c81246e1d3c60498c9/amux.ai-adapter-qwen-0.1.3.tgz","_integrity":"sha512-6Yw8KxdPBd8sAIXq9+vlhnuKGug8mHj5jFNCFYPOPOIC3ZB8kbsjsjrRO+WK05zikADdEorXBvnxRtldaCqpvQ==","repository":{"url":"git+https://github.com/isboyjc/amux.git","type":"git","directory":"packages/adapter-qwen"},"_npmVersion":"10.9.2","description":"Qwen adapter for Amux","directories":{},"_nodeVersion":"22.15.1","dependencies":{"@amux.ai/llm-bridge":"0.3.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.2.1","typescript":"^5.3.3","@types/node":"^20.11.5"},"_npmOperationalInternal":{"tmp":"tmp/adapter-qwen_0.1.3_1769632642727_0.9183000362715763","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@amux.ai/adapter-qwen","version":"0.1.4","description":"Qwen adapter for Amux","keywords":["amux","llm","qwen","tongyi","adapter"],"repository":{"type":"git","url":"git+https://github.com/isboyjc/amux.git","directory":"packages/adapter-qwen"},"homepage":"https://github.com/isboyjc/amux#readme","bugs":{"url":"https://github.com/isboyjc/amux/issues"},"license":"MIT","author":{"name":"isboyjc"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","dependencies":{"@amux.ai/llm-bridge":"0.3.2"},"devDependencies":{"@types/node":"^20.11.5","tsup":"^8.0.1","typescript":"^5.3.3","vitest":"^1.2.1"},"publishConfig":{"access":"public"},"scripts":{"build":"tsup","dev":"tsup --watch","test":"vitest run","test:watch":"vitest","typecheck":"tsc --noEmit","lint":"eslint src --ext .ts","clean":"rm -rf dist"},"_id":"@amux.ai/adapter-qwen@0.1.4","_integrity":"sha512-pZO+h/5WfulE2mLSilMHf92UsIoEXjAVXAg5MGqkLFgr2AFOBb82pDBonnpH0D5Uu1o3L2swlUFTacW5Iyimbg==","_resolved":"/private/var/folders/40/ydvkbdz503l88ck6kxydy50w0000gn/T/04481393c1f002a115aaae0017d6ab46/amux.ai-adapter-qwen-0.1.4.tgz","_from":"file:amux.ai-adapter-qwen-0.1.4.tgz","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-pZO+h/5WfulE2mLSilMHf92UsIoEXjAVXAg5MGqkLFgr2AFOBb82pDBonnpH0D5Uu1o3L2swlUFTacW5Iyimbg==","shasum":"25603c83d91250c527c2115506d049d3954380a3","tarball":"https://registry.npmjs.org/@amux.ai/adapter-qwen/-/adapter-qwen-0.1.4.tgz","fileCount":8,"unpackedSize":121774,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHYPMJpYUBS1CAEADGLYaXZWlm/TlDW6HQ/Ls0aU+GbgAiEAp2XgwhsWZOh4IYNHuM5JOUx44A3vkx27vhKAQTwCcMo="}]},"_npmUser":{"name":"isboyjc","email":"214930661@qq.com"},"directories":{},"maintainers":[{"name":"isboyjc","email":"214930661@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/adapter-qwen_0.1.4_1770213327762_0.6028843249886064"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-24T19:57:38.487Z","modified":"2026-02-04T13:55:28.076Z","0.1.1":"2026-01-24T19:57:38.702Z","0.1.2":"2026-01-24T22:44:32.934Z","0.1.3":"2026-01-28T20:37:22.874Z","0.1.4":"2026-02-04T13:55:27.945Z"},"bugs":{"url":"https://github.com/isboyjc/amux/issues"},"author":{"name":"isboyjc"},"license":"MIT","homepage":"https://github.com/isboyjc/amux#readme","keywords":["amux","llm","qwen","tongyi","adapter"],"repository":{"type":"git","url":"git+https://github.com/isboyjc/amux.git","directory":"packages/adapter-qwen"},"description":"Qwen adapter for Amux","maintainers":[{"name":"isboyjc","email":"214930661@qq.com"}],"readme":"# @amux.ai/adapter-qwen\n\n> Qwen (Tongyi Qianwen) adapter for Amux\n\n[![npm version](https://img.shields.io/npm/v/@amux.ai/adapter-qwen.svg)](https://www.npmjs.com/package/@amux.ai/adapter-qwen)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n## Overview\n\nOfficial Qwen (Tongyi Qianwen) adapter for Amux. Qwen API is OpenAI-compatible, so this adapter extends the OpenAI adapter with Qwen-specific configurations.\n\n## Installation\n\n```bash\npnpm add @amux.ai/llm-bridge @amux.ai/adapter-qwen\n# or\nnpm install @amux.ai/llm-bridge @amux.ai/adapter-qwen\n```\n\n## Usage\n\n### As Inbound Adapter\n\n```typescript\nimport { createBridge } from '@amux.ai/llm-bridge'\nimport { qwenAdapter } from '@amux.ai/adapter-qwen'\nimport { openaiAdapter } from '@amux.ai/adapter-openai'\n\nconst bridge = createBridge({\n  inbound: qwenAdapter,\n  outbound: openaiAdapter,\n  config: {\n    apiKey: process.env.OPENAI_API_KEY\n  }\n})\n```\n\n### As Outbound Adapter\n\n```typescript\nimport { createBridge } from '@amux.ai/llm-bridge'\nimport { openaiAdapter } from '@amux.ai/adapter-openai'\nimport { qwenAdapter } from '@amux.ai/adapter-qwen'\n\nconst bridge = createBridge({\n  inbound: openaiAdapter,\n  outbound: qwenAdapter,\n  config: {\n    apiKey: process.env.QWEN_API_KEY\n  }\n})\n\nconst response = await bridge.chat({\n  model: 'gpt-4',\n  messages: [{ role: 'user', content: 'Hello!' }]\n})\n```\n\n## Supported Features\n\n- ✅ Chat completions\n- ✅ Streaming\n- ✅ Function/Tool calling\n- ✅ Vision (image inputs)\n- ✅ System prompts\n\n## Supported Models\n\n- `qwen-turbo`\n- `qwen-plus`\n- `qwen-max`\n- `qwen-vl-plus`\n- `qwen-vl-max`\n\n## API Compatibility\n\nQwen API is OpenAI-compatible. For detailed API documentation, see [Qwen API Documentation](https://help.aliyun.com/zh/dashscope/).\n\n## License\n\nMIT © [isboyjc](https://github.com/isboyjc)\n\n## Links\n\n- [Documentation](https://github.com/isboyjc/amux#readme)\n- [GitHub Repository](https://github.com/isboyjc/amux)\n- [Issue Tracker](https://github.com/isboyjc/amux/issues)\n","readmeFilename":"README.md"}