{"_id":"@amux.ai/adapter-moonshot","_rev":"4-0ca1920e72bf6ab402741847df62f36e","name":"@amux.ai/adapter-moonshot","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.1":{"name":"@amux.ai/adapter-moonshot","version":"0.1.1","keywords":["amux","llm","moonshot","kimi","adapter"],"author":{"name":"isboyjc"},"license":"MIT","_id":"@amux.ai/adapter-moonshot@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":"7a7235945b8f07374c37f7ac8eaaedd32725f9a2","tarball":"https://registry.npmjs.org/@amux.ai/adapter-moonshot/-/adapter-moonshot-0.1.1.tgz","fileCount":7,"integrity":"sha512-PNXVFxQ9sEMGKx5wZfgNQH4ZyDiumZRHlXkC/ubyFSrKwcZ1FLkr+LFynPr3XylwlRpGfQ9sM6dd6o4dajRgMg==","signatures":[{"sig":"MEYCIQD9SmrvrNkr60I+RDdk3MT0IHLd5HRS6I8CgcaGzr5jXQIhANYynCXPvjD7j+LPYQ5ZwD091eGHno4CJScA12j90WeT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":99926},"main":"./dist/index.cjs","type":"module","_from":"file:amux.ai-adapter-moonshot-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/13641fd58542d451a662fd6d06b484c0/amux.ai-adapter-moonshot-0.1.1.tgz","_integrity":"sha512-PNXVFxQ9sEMGKx5wZfgNQH4ZyDiumZRHlXkC/ubyFSrKwcZ1FLkr+LFynPr3XylwlRpGfQ9sM6dd6o4dajRgMg==","repository":{"url":"git+https://github.com/isboyjc/amux.git","type":"git","directory":"packages/adapter-moonshot"},"_npmVersion":"10.9.2","description":"Moonshot AI 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-moonshot_0.1.1_1769284658705_0.5080804088460058","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@amux.ai/adapter-moonshot","version":"0.1.2","keywords":["amux","llm","moonshot","kimi","adapter"],"author":{"name":"isboyjc"},"license":"MIT","_id":"@amux.ai/adapter-moonshot@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":"a7dae562572d1f2cac8a223dd84d227cc8549ed2","tarball":"https://registry.npmjs.org/@amux.ai/adapter-moonshot/-/adapter-moonshot-0.1.2.tgz","fileCount":8,"integrity":"sha512-ogNdZtvHhXd7FZrdT6py2S4eENF/zcV8V5YUGcFA6JR2aMYRON5vL0dIORx7w/iAA2tQETSw9054/BTPGLUAhw==","signatures":[{"sig":"MEUCIQCJWtKNMM+9cYfmsZGiO8UtApdCg+mwDX814ps4W4COiQIge5qQrJEwKp5QxzSPQrAtqi/b4ePOdcE8qvTu06Wg2Sg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":102125},"main":"./dist/index.cjs","type":"module","_from":"file:amux.ai-adapter-moonshot-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/41dd7ef899526ba721f7dc41305b18dd/amux.ai-adapter-moonshot-0.1.2.tgz","_integrity":"sha512-ogNdZtvHhXd7FZrdT6py2S4eENF/zcV8V5YUGcFA6JR2aMYRON5vL0dIORx7w/iAA2tQETSw9054/BTPGLUAhw==","repository":{"url":"git+https://github.com/isboyjc/amux.git","type":"git","directory":"packages/adapter-moonshot"},"_npmVersion":"10.9.2","description":"Moonshot AI 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-moonshot_0.1.2_1769294672829_0.5391250832004588","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@amux.ai/adapter-moonshot","version":"0.1.3","keywords":["amux","llm","moonshot","kimi","adapter"],"author":{"name":"isboyjc"},"license":"MIT","_id":"@amux.ai/adapter-moonshot@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":"68166483746e3a98d026f42f4926b0d559a8011f","tarball":"https://registry.npmjs.org/@amux.ai/adapter-moonshot/-/adapter-moonshot-0.1.3.tgz","fileCount":8,"integrity":"sha512-iyRgfX4opNaoaBoFLUe9AtV4xahl/1iYDFjnA5zHY/hHkYuc9srP88bhD5u5sSrAS0JLM4TOpsCzz64NprRppw==","signatures":[{"sig":"MEUCIQD0wWDbXlBrIdR7IaXucF6MEHgcH1sjJq1ZHhgXGcwQngIgORJL4PgV64eVrHzsuNOBkUDr24qWaUutTBjy7AHDf0Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":102125},"main":"./dist/index.cjs","type":"module","_from":"file:amux.ai-adapter-moonshot-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/c2f93e44353bb9a87c7d9d559765deb9/amux.ai-adapter-moonshot-0.1.3.tgz","_integrity":"sha512-iyRgfX4opNaoaBoFLUe9AtV4xahl/1iYDFjnA5zHY/hHkYuc9srP88bhD5u5sSrAS0JLM4TOpsCzz64NprRppw==","repository":{"url":"git+https://github.com/isboyjc/amux.git","type":"git","directory":"packages/adapter-moonshot"},"_npmVersion":"10.9.2","description":"Moonshot AI 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-moonshot_0.1.3_1769632643101_0.025149067232872024","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@amux.ai/adapter-moonshot","version":"0.1.4","description":"Moonshot AI adapter for Amux","keywords":["amux","llm","moonshot","kimi","adapter"],"repository":{"type":"git","url":"git+https://github.com/isboyjc/amux.git","directory":"packages/adapter-moonshot"},"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-moonshot@0.1.4","_integrity":"sha512-5ot8Q7hzsaFGcHsAmCbTNOvM9CUQ2/Q9u4DHyv4aBEJJaN0GWleYFJSTqcc7CUryP3l0Y9nNTnAu/0hpuwgH2A==","_resolved":"/private/var/folders/40/ydvkbdz503l88ck6kxydy50w0000gn/T/3cced748b81dea8d7aa2f2c3fbde2980/amux.ai-adapter-moonshot-0.1.4.tgz","_from":"file:amux.ai-adapter-moonshot-0.1.4.tgz","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-5ot8Q7hzsaFGcHsAmCbTNOvM9CUQ2/Q9u4DHyv4aBEJJaN0GWleYFJSTqcc7CUryP3l0Y9nNTnAu/0hpuwgH2A==","shasum":"1758a12ae1a9b99a29eebeb538c5d112d23fc1f7","tarball":"https://registry.npmjs.org/@amux.ai/adapter-moonshot/-/adapter-moonshot-0.1.4.tgz","fileCount":8,"unpackedSize":102125,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEwXolqmsjoJyu6HpeZB9O5QY4SalrPfSe5ggtnmtVkUAiEAvAmSvaFWysl4X0XXNlK5DHIFdvU1I7HE0faXAYB6CWc="}]},"_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-moonshot_0.1.4_1770213327742_0.8101612088405501"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-24T19:57:38.596Z","modified":"2026-02-04T13:55:28.011Z","0.1.1":"2026-01-24T19:57:38.871Z","0.1.2":"2026-01-24T22:44:32.971Z","0.1.3":"2026-01-28T20:37:23.250Z","0.1.4":"2026-02-04T13:55:27.887Z"},"bugs":{"url":"https://github.com/isboyjc/amux/issues"},"author":{"name":"isboyjc"},"license":"MIT","homepage":"https://github.com/isboyjc/amux#readme","keywords":["amux","llm","moonshot","kimi","adapter"],"repository":{"type":"git","url":"git+https://github.com/isboyjc/amux.git","directory":"packages/adapter-moonshot"},"description":"Moonshot AI adapter for Amux","maintainers":[{"name":"isboyjc","email":"214930661@qq.com"}],"readme":"# @amux.ai/adapter-moonshot\n\n> Moonshot AI (Kimi) adapter for Amux\n\n[![npm version](https://img.shields.io/npm/v/@amux.ai/adapter-moonshot.svg)](https://www.npmjs.com/package/@amux.ai/adapter-moonshot)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n## Overview\n\nOfficial Moonshot AI (Kimi) adapter for Amux. Moonshot API is OpenAI-compatible, so this adapter extends the OpenAI adapter with Moonshot-specific configurations.\n\n## Installation\n\n```bash\npnpm add @amux.ai/llm-bridge @amux.ai/adapter-moonshot\n# or\nnpm install @amux.ai/llm-bridge @amux.ai/adapter-moonshot\n```\n\n## Usage\n\n### As Inbound Adapter\n\n```typescript\nimport { createBridge } from '@amux.ai/llm-bridge'\nimport { moonshotAdapter } from '@amux.ai/adapter-moonshot'\nimport { openaiAdapter } from '@amux.ai/adapter-openai'\n\nconst bridge = createBridge({\n  inbound: moonshotAdapter,\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 { moonshotAdapter } from '@amux.ai/adapter-moonshot'\n\nconst bridge = createBridge({\n  inbound: openaiAdapter,\n  outbound: moonshotAdapter,\n  config: {\n    apiKey: process.env.MOONSHOT_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- ✅ System prompts\n\n## Supported Models\n\n- `moonshot-v1-8k`\n- `moonshot-v1-32k`\n- `moonshot-v1-128k`\n\n## API Compatibility\n\nMoonshot API is OpenAI-compatible. For detailed API documentation, see [Moonshot AI Documentation](https://platform.moonshot.cn/docs).\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"}