{"_id":"@aihubmix/claude-code","_rev":"14-8f3831ca98600328b4aa81ea2b2f50ce","name":"@aihubmix/claude-code","dist-tags":{"latest":"1.0.2"},"versions":{"0.0.1":{"name":"@aihubmix/claude-code","version":"0.0.1","keywords":["claude","code","router","llm","anthropic"],"author":{"name":"aihubmix"},"license":"MIT","_id":"@aihubmix/claude-code@0.0.1","maintainers":[{"name":"chenxue","email":"450907240@qq.com"}],"homepage":"https://aihubmix.com","bugs":{"url":"https://github.com/inferera/aihubmix/issues"},"bin":{"acc":"dist/cli.js"},"dist":{"shasum":"13f373acd53a215594aa23c86271e9b86812903b","tarball":"https://registry.npmjs.org/@aihubmix/claude-code/-/claude-code-0.0.1.tgz","fileCount":35,"integrity":"sha512-Oe6vJwVIQIcd2dU3yuO5ILpIuzASbedCUyW789vsE270iiKION0mW+XEVWLiQpyKHXq5ZFGytNFbYLnBEi+T6Q==","signatures":[{"sig":"MEQCIFd3zr+GIB232PVe7vR5T+hNGUa436HppS0XTMWII5wWAiBVKXjfWoj+aiXFZrIYJUwHEg2NAACj0tZOPOnz3L6cUg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8636240},"engines":{"node":">=18"},"gitHead":"141924e765e315391c6330905268ff7f6b2f4535","scripts":{"build":"node scripts/build.js","release":"npm run build && npm publish"},"_npmUser":{"name":"chenxue","email":"450907240@qq.com"},"repository":{"url":"git+https://github.com/inferera/aihubmix.git","type":"git"},"_npmVersion":"10.8.2","description":"Use Claude Code without an Anthropics account and route it to another LLM provider","directories":{},"_nodeVersion":"20.19.2","dependencies":{"uuid":"^11.1.0","json5":"^2.2.3","dotenv":"^16.4.7","openurl":"^1.1.1","tiktoken":"^1.0.21","@fastify/static":"^8.2.0","@musistudio/llms":"^1.0.16"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.4.0","esbuild":"^0.25.1","fastify":"^5.4.0","typescript":"^5.8.2","@types/node":"^24.1.0"},"_npmOperationalInternal":{"tmp":"tmp/claude-code_0.0.1_1754059236413_0.4526442474259915","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@aihubmix/claude-code","version":"0.0.2","keywords":["claude","code","router","llm","anthropic"],"author":{"name":"aihubmix"},"license":"MIT","_id":"@aihubmix/claude-code@0.0.2","maintainers":[{"name":"chenxue","email":"450907240@qq.com"}],"homepage":"https://aihubmix.com","bugs":{"url":"https://github.com/inferera/aihubmix/issues"},"bin":{"acc":"dist/cli.js"},"dist":{"shasum":"1f633419e009fc10ad2623e2ad1f080d65d704cb","tarball":"https://registry.npmjs.org/@aihubmix/claude-code/-/claude-code-0.0.2.tgz","fileCount":37,"integrity":"sha512-FUhxZKgXXot4Z6tHGoy9zxaFrN2WG5AbMSQhvu2sj8un/VsZR/ZLTOUPLp2YjNDj45/M0N53007actcclTZQSQ==","signatures":[{"sig":"MEUCIQDrgT479HNYYojB80ja94rLDvaVikog+2l35evI8w1q+gIgdS11WfgknyT53TfEYgiSlOMJQU0NrlwVjDqMNKaHkuk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5948506},"engines":{"node":">=18"},"gitHead":"dab5ee82eb7c9d3d0beb6201a9c9761adcc7e379","scripts":{"build":"node scripts/build.js","release":"npm run build && npm publish"},"_npmUser":{"name":"chenxue","email":"450907240@qq.com"},"repository":{"url":"git+https://github.com/inferera/aihubmix.git","type":"git"},"_npmVersion":"10.8.2","description":"Use Claude Code without an Anthropics account and route it to another LLM provider","directories":{},"_nodeVersion":"20.19.2","dependencies":{"uuid":"^11.1.0","json5":"^2.2.3","dotenv":"^16.4.7","openurl":"^1.1.1","tiktoken":"^1.0.21","@fastify/static":"^8.2.0","@musistudio/llms":"^1.0.16"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.4.0","esbuild":"^0.25.1","fastify":"^5.4.0","typescript":"^5.8.2","@types/node":"^24.1.0"},"_npmOperationalInternal":{"tmp":"tmp/claude-code_0.0.2_1754060706591_0.9654593422584423","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@aihubmix/claude-code","version":"0.0.3","keywords":["claude","code","router","llm","anthropic"],"author":{"name":"aihubmix"},"license":"MIT","_id":"@aihubmix/claude-code@0.0.3","maintainers":[{"name":"chenxue","email":"450907240@qq.com"}],"homepage":"https://aihubmix.com","bugs":{"url":"https://github.com/inferera/aihubmix/issues"},"bin":{"acc":"dist/cli.js"},"dist":{"shasum":"e30754d6b4cb8b97300b2ed0ddd32be0270a4028","tarball":"https://registry.npmjs.org/@aihubmix/claude-code/-/claude-code-0.0.3.tgz","fileCount":37,"integrity":"sha512-jQYZGdhALna6aq5rbmJr8IglL6GSzSGZBT7+I50l3FsvRFkJDxRK/KL9r6XEyZbDkHGvTnE2P0+6sSIUdToeEg==","signatures":[{"sig":"MEQCIHzutPgYgTLABprv1e6/R1S/iF/1/7d9mVlB0IFzessoAiA9so4tbSPPGDlgjOW1FILYlOqKxJxSsH/hySszRIwRRw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5948513},"engines":{"node":">=18"},"gitHead":"b4f3b79c4619f0a9f0daaaa0b097c52487ce0f8d","scripts":{"build":"node scripts/build.js","release":"npm run build && npm publish"},"_npmUser":{"name":"chenxue","email":"450907240@qq.com"},"repository":{"url":"git+https://github.com/inferera/aihubmix.git","type":"git"},"_npmVersion":"10.8.2","description":"Use Claude Code without an Anthropics account and route it to another LLM provider","directories":{},"_nodeVersion":"20.19.2","dependencies":{"uuid":"^11.1.0","json5":"^2.2.3","dotenv":"^16.4.7","openurl":"^1.1.1","tiktoken":"^1.0.21","@fastify/static":"^8.2.0","@musistudio/llms":"^1.0.16"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.4.0","esbuild":"^0.25.1","fastify":"^5.4.0","typescript":"^5.8.2","@types/node":"^24.1.0"},"_npmOperationalInternal":{"tmp":"tmp/claude-code_0.0.3_1754062961083_0.07466160967558855","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@aihubmix/claude-code","version":"0.0.4","keywords":["claude","code","router","llm","anthropic"],"author":{"name":"aihubmix"},"license":"MIT","_id":"@aihubmix/claude-code@0.0.4","maintainers":[{"name":"chenxue","email":"450907240@qq.com"}],"homepage":"https://aihubmix.com","bugs":{"url":"https://github.com/inferera/aihubmix/issues"},"bin":{"acc":"dist/cli.js"},"dist":{"shasum":"0f85c12201ca7df675ceb5a4b22d63fcf6718b7c","tarball":"https://registry.npmjs.org/@aihubmix/claude-code/-/claude-code-0.0.4.tgz","fileCount":37,"integrity":"sha512-M8nCIFEL0dwvrDf0LZ+IHWc8Gx3ZV5IoEHr6LPfXe0opXWF5o5OwwP7GqagP5+zkgrdbWxBq3G6EPp+fI+KzBg==","signatures":[{"sig":"MEUCIFgoBclPnR6IkoL61Tpl5riZ6DoTm/+juPkQjrgDIm5RAiEAnEG0i6E/kKT3G1Nin4v8tz9lG0jyuvBi1Iks4fUzkfM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5948791},"engines":{"node":">=18"},"gitHead":"b4f3b79c4619f0a9f0daaaa0b097c52487ce0f8d","scripts":{"build":"node scripts/build.js","release":"npm run build && npm publish"},"_npmUser":{"name":"chenxue","email":"450907240@qq.com"},"repository":{"url":"git+https://github.com/inferera/aihubmix.git","type":"git"},"_npmVersion":"10.8.2","description":"Use Claude Code without an Anthropics account and route it to another LLM provider","directories":{},"_nodeVersion":"20.19.2","dependencies":{"uuid":"^11.1.0","json5":"^2.2.3","dotenv":"^16.4.7","openurl":"^1.1.1","tiktoken":"^1.0.21","@fastify/static":"^8.2.0","@musistudio/llms":"^1.0.16"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.4.0","esbuild":"^0.25.1","fastify":"^5.4.0","typescript":"^5.8.2","@types/node":"^24.1.0"},"_npmOperationalInternal":{"tmp":"tmp/claude-code_0.0.4_1754063288613_0.9960619403523454","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@aihubmix/claude-code","version":"0.0.5","keywords":["claude","code","router","llm","anthropic"],"author":{"name":"aihubmix"},"license":"MIT","_id":"@aihubmix/claude-code@0.0.5","maintainers":[{"name":"chenxue","email":"450907240@qq.com"}],"homepage":"https://aihubmix.com","bugs":{"url":"https://github.com/inferera/aihubmix/issues"},"bin":{"acc":"dist/cli.js"},"dist":{"shasum":"be0dfebaadfa48a55642eb9f38a61dea67e3f224","tarball":"https://registry.npmjs.org/@aihubmix/claude-code/-/claude-code-0.0.5.tgz","fileCount":37,"integrity":"sha512-gzTjF/Nb799kx+SG/Gb7UtWIrqVaJJYsm1bDS6ZUkakXiuUe8MDKT9W5K+Q6D9MUqoHQJ2+5HMyUiZdqXgpQag==","signatures":[{"sig":"MEYCIQDGlBBcISUy7kLVVDu4vElW5e6dayudZPweLdiN9exTdgIhAINiqApwwqnMJHpi1iD56rSm0qNI0266yE4p+Dj/V9CI","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8645432},"engines":{"node":">=18"},"gitHead":"774f2b7a8f400610e5e93ea2649cf20ec40105cd","scripts":{"build":"node scripts/build.js","release":"npm run build && npm publish"},"_npmUser":{"name":"chenxue","email":"450907240@qq.com"},"repository":{"url":"git+https://github.com/inferera/aihubmix.git","type":"git"},"_npmVersion":"10.8.2","description":"Use Claude Code without an Anthropics account and route it to another LLM provider","directories":{},"_nodeVersion":"20.19.2","dependencies":{"uuid":"^11.1.0","json5":"^2.2.3","dotenv":"^16.4.7","openurl":"^1.1.1","tiktoken":"^1.0.21","@fastify/static":"^8.2.0","@musistudio/llms":"^1.0.16"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.4.0","esbuild":"^0.25.1","fastify":"^5.4.0","typescript":"^5.8.2","@types/node":"^24.1.0"},"_npmOperationalInternal":{"tmp":"tmp/claude-code_0.0.5_1754063624438_0.7063342787514826","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@aihubmix/claude-code","version":"0.0.6","keywords":["claude","code","router","llm","anthropic"],"author":{"name":"aihubmix"},"license":"MIT","_id":"@aihubmix/claude-code@0.0.6","maintainers":[{"name":"chenxue","email":"450907240@qq.com"}],"homepage":"https://aihubmix.com","bugs":{"url":"https://github.com/inferera/aihubmix/issues"},"bin":{"acc":"dist/cli.js"},"dist":{"shasum":"3744d17ab014cddaf8a9e1d06bb0cc10925f3ace","tarball":"https://registry.npmjs.org/@aihubmix/claude-code/-/claude-code-0.0.6.tgz","fileCount":37,"integrity":"sha512-CjpO4KrjpIfMSGut/HdEHvWSO9XEM6Z8EDVamuc/LbzaOohDIjpfSZFegPqo4R+mEEG+kIJjpOhol+GvsMrICg==","signatures":[{"sig":"MEUCIQDYpat9wTly7IRq5DWOELsB5JeuFxdd+EPbIdcFtzOZ+wIgAavZxGzS5eNiwOF1GFI+ojYIKlLnVc1r0ZgsPNDzHPE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8673070},"engines":{"node":">=18"},"gitHead":"53c88a121575a4eabc34829686f0354b51d96d9f","scripts":{"build":"node scripts/build.js","release":"npm run build && npm publish"},"_npmUser":{"name":"chenxue","email":"450907240@qq.com"},"repository":{"url":"git+https://github.com/inferera/aihubmix.git","type":"git"},"_npmVersion":"10.9.2","description":"Use Claude Code without an Anthropics account and route it to another LLM provider","directories":{},"_nodeVersion":"22.17.1","dependencies":{"uuid":"^11.1.0","json5":"^2.2.3","dotenv":"^16.4.7","openurl":"^1.1.1","tiktoken":"^1.0.21","@fastify/static":"^8.2.0","@musistudio/llms":"^1.0.16"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.4.0","esbuild":"^0.25.1","fastify":"^5.4.0","typescript":"^5.8.2","@types/node":"^24.1.0"},"_npmOperationalInternal":{"tmp":"tmp/claude-code_0.0.6_1754286282105_0.5376079765165622","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@aihubmix/claude-code","version":"0.0.7","keywords":["claude","code","router","llm","anthropic"],"author":{"name":"aihubmix"},"license":"MIT","_id":"@aihubmix/claude-code@0.0.7","maintainers":[{"name":"chenxue","email":"450907240@qq.com"}],"homepage":"https://aihubmix.com","bugs":{"url":"https://github.com/inferera/aihubmix/issues"},"bin":{"acc":"dist/cli.js"},"dist":{"shasum":"630743cadf013e928644b79261ba0b2a0f12bd1b","tarball":"https://registry.npmjs.org/@aihubmix/claude-code/-/claude-code-0.0.7.tgz","fileCount":37,"integrity":"sha512-dtybitbNtrntT+RGvtQKe4VMbFzy3Miyy0EwDn0C665bpctNZB5L5UZviIyDPz9lyVPmN4HafPTjXUxkeZxQLA==","signatures":[{"sig":"MEUCIBPHaQ9JUcJeUXNhizWpaZ17rbvnnIVw/Kf0TaJKK3QgAiEAtxWivp95YNuom3QDs4eKoyVRg1lf0tlRgLT90Zqv3FM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8673518},"engines":{"node":">=18"},"gitHead":"735ec94412355976f2696a4bc8bb2a20c50eb1c0","scripts":{"build":"node scripts/build.js","release":"npm run build && npm publish"},"_npmUser":{"name":"chenxue","email":"450907240@qq.com"},"repository":{"url":"git+https://github.com/inferera/aihubmix.git","type":"git"},"_npmVersion":"10.8.2","description":"Use Claude Code without an Anthropics account and route it to another LLM provider","directories":{},"_nodeVersion":"20.19.2","dependencies":{"uuid":"^11.1.0","json5":"^2.2.3","dotenv":"^16.4.7","openurl":"^1.1.1","tiktoken":"^1.0.21","@fastify/static":"^8.2.0","@musistudio/llms":"^1.0.16"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.4.0","esbuild":"^0.25.1","fastify":"^5.4.0","typescript":"^5.8.2","@types/node":"^24.1.0"},"_npmOperationalInternal":{"tmp":"tmp/claude-code_0.0.7_1754641107805_0.33290603325763723","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"name":"@aihubmix/claude-code","version":"0.0.8","keywords":["claude","code","router","llm","anthropic"],"author":{"name":"aihubmix"},"license":"MIT","_id":"@aihubmix/claude-code@0.0.8","maintainers":[{"name":"chenxue","email":"450907240@qq.com"}],"homepage":"https://aihubmix.com","bugs":{"url":"https://github.com/inferera/aihubmix/issues"},"bin":{"acc":"dist/cli.js"},"dist":{"shasum":"fb2ee7014e5cd833761b51fbed7c831719b35f6f","tarball":"https://registry.npmjs.org/@aihubmix/claude-code/-/claude-code-0.0.8.tgz","fileCount":37,"integrity":"sha512-Mk7gq9Zle4n4BVtGmf0a0c9Havj7agspcZbJIwjKqwcrdXiGplfqoOP16+lLdOWX8FXGY07mK8yP1dEkWikQGQ==","signatures":[{"sig":"MEYCIQDC2T64+mToYMB1lLqRycAhVJENjQRQ20RU/R0KVvGvEgIhAJiGAEF3SDL2+VmRbxM0PfaxxlzOQYpdBZuSIDgvKiD2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8676323},"engines":{"node":">=18"},"gitHead":"d201acf0ebea4f73f48eba188fa19ff786f8befe","scripts":{"build":"node scripts/build.js","release":"npm run build && npm publish"},"_npmUser":{"name":"chenxue","email":"450907240@qq.com"},"repository":{"url":"git+https://github.com/inferera/aihubmix.git","type":"git"},"_npmVersion":"10.8.2","description":"Use Claude Code without an Anthropics account and route it to another LLM provider","directories":{},"_nodeVersion":"20.19.2","dependencies":{"uuid":"^11.1.0","json5":"^2.2.3","dotenv":"^16.4.7","fastify":"^5.4.0","openurl":"^1.1.1","tiktoken":"^1.0.21","@fastify/static":"^8.2.0","@musistudio/llms":"^1.0.16"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.4.0","esbuild":"^0.25.1","typescript":"^5.8.2","@types/node":"^24.1.0"},"_npmOperationalInternal":{"tmp":"tmp/claude-code_0.0.8_1754903096643_0.5235650066252675","host":"s3://npm-registry-packages-npm-production"}},"0.0.9":{"name":"@aihubmix/claude-code","version":"0.0.9","keywords":["claude","code","router","llm","anthropic"],"author":{"name":"aihubmix"},"license":"MIT","_id":"@aihubmix/claude-code@0.0.9","maintainers":[{"name":"chenxue","email":"450907240@qq.com"}],"homepage":"https://aihubmix.com","bugs":{"url":"https://github.com/inferera/aihubmix/issues"},"bin":{"acc":"dist/cli.js"},"dist":{"shasum":"15a5f324f6e5e836cb9804cd0655eea78abedd74","tarball":"https://registry.npmjs.org/@aihubmix/claude-code/-/claude-code-0.0.9.tgz","fileCount":37,"integrity":"sha512-2k/R1ISZQwrZp6gPIdR0GWcb75Tbd6Of4zGRmduFFk41Fqfv5b6xPdQJxti/OkV3+UcCXzsH7XePXS2p6Y5m9A==","signatures":[{"sig":"MEUCIGKIO+X9/nFEahMMJI3bX9DUKX6IcuoUj6HSMUHjckRUAiEAju9CHSxOdHO15ib1E5MxA38HHBb0gM0fThXEB9MkuzI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8676992},"engines":{"node":">=18"},"gitHead":"9e7e16f89e5e5b5e5d424c15386411a2824b35e5","scripts":{"build":"node scripts/build.js","release":"npm run build && npm publish"},"_npmUser":{"name":"chenxue","email":"450907240@qq.com"},"repository":{"url":"git+https://github.com/inferera/aihubmix.git","type":"git"},"_npmVersion":"8.19.4","description":"Use Claude Code without an Anthropics account and route it to another LLM provider","directories":{},"_nodeVersion":"16.20.0","dependencies":{"uuid":"^11.1.0","json5":"^2.2.3","dotenv":"^16.4.7","fastify":"^5.4.0","openurl":"^1.1.1","tiktoken":"^1.0.21","@fastify/static":"^8.2.0","@musistudio/llms":"^1.0.16"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.4.0","esbuild":"^0.25.1","typescript":"^5.8.2","@types/node":"^24.1.0"},"_npmOperationalInternal":{"tmp":"tmp/claude-code_0.0.9_1758439058216_0.31199954055183454","host":"s3://npm-registry-packages-npm-production"}},"0.0.11":{"name":"@aihubmix/claude-code","version":"0.0.11","keywords":["claude","code","router","llm","anthropic"],"author":{"name":"aihubmix"},"license":"MIT","_id":"@aihubmix/claude-code@0.0.11","maintainers":[{"name":"chenxue","email":"450907240@qq.com"}],"homepage":"https://aihubmix.com","bugs":{"url":"https://github.com/inferera/aihubmix/issues"},"bin":{"acc":"dist/cli.js"},"dist":{"shasum":"1174abacdf19f3e69a9d85390b625c1b6b1f3c12","tarball":"https://registry.npmjs.org/@aihubmix/claude-code/-/claude-code-0.0.11.tgz","fileCount":37,"integrity":"sha512-BpJH0EKIdgjc+76H5jcmlXibT4kS3sg4okWppKsURQeO6crLWIW2AJ6nxkY6SBQn6Fa8cqUcZGU8BzpKGrEqtA==","signatures":[{"sig":"MEQCIDH6y5SmDEnNxGz9lIPJp9LPDvVWwVJ9B/AEcFbCmJg8AiAVOufPv9fPOoxmqV5AL83Z62LgR25A3L6Gk+NwhB07JA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9114451},"engines":{"node":">=18"},"gitHead":"9e7e16f89e5e5b5e5d424c15386411a2824b35e5","scripts":{"build":"node scripts/build.js","release":"npm run build && npm publish"},"_npmUser":{"name":"chenxue","email":"450907240@qq.com"},"repository":{"url":"git+https://github.com/inferera/aihubmix.git","type":"git"},"_npmVersion":"10.8.2","description":"Use Claude Code without an Anthropics account and route it to another LLM provider","directories":{},"_nodeVersion":"20.19.2","dependencies":{"uuid":"^11.1.0","json5":"^2.2.3","dotenv":"^16.4.7","fastify":"^5.4.0","openurl":"^1.1.1","tiktoken":"^1.0.21","@fastify/static":"^8.2.0","@musistudio/llms":"file:../llms"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.4.0","esbuild":"^0.25.1","typescript":"^5.8.2","@types/node":"^24.1.0"},"_npmOperationalInternal":{"tmp":"tmp/claude-code_0.0.11_1758446476130_0.4272950828797428","host":"s3://npm-registry-packages-npm-production"}},"0.0.12":{"name":"@aihubmix/claude-code","version":"0.0.12","keywords":["claude","code","router","llm","anthropic"],"author":{"name":"aihubmix"},"license":"MIT","_id":"@aihubmix/claude-code@0.0.12","maintainers":[{"name":"chenxue","email":"450907240@qq.com"}],"homepage":"https://aihubmix.com","bugs":{"url":"https://github.com/inferera/aihubmix/issues"},"bin":{"acc":"dist/cli.js"},"dist":{"shasum":"c4c24167acbab358a0a5391c1720a465ed7974f3","tarball":"https://registry.npmjs.org/@aihubmix/claude-code/-/claude-code-0.0.12.tgz","fileCount":72,"integrity":"sha512-xf3p76r1AoZf+u8BOPdAAfKv0xVtBHTK8mY1mYwCkEz+GYq1k/4L5oZuPwq8028a4epwMcJ/hV8PiCN3SortZg==","signatures":[{"sig":"MEUCIQCISpwlZ6Vk/14YPRgW7oP5qG8hV7oA61/+b6UWnT8gbQIgeAag18dICTq39Zn2Byngm8Lrxm8DbCKyQ6IkGLmb3wY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9387704},"engines":{"node":">=18"},"gitHead":"9e7e16f89e5e5b5e5d424c15386411a2824b35e5","scripts":{"build":"node scripts/build.js","release":"npm run build && npm publish"},"_npmUser":{"name":"chenxue","email":"450907240@qq.com"},"repository":{"url":"git+https://github.com/inferera/aihubmix.git","type":"git"},"_npmVersion":"10.8.2","description":"Use Claude Code without an Anthropics account and route it to another LLM provider","directories":{},"_nodeVersion":"20.19.2","dependencies":{"uuid":"^11.1.0","json5":"^2.2.3","dotenv":"^16.4.7","fastify":"^5.4.0","openurl":"^1.1.1","tiktoken":"^1.0.21","@fastify/static":"^8.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.4.0","esbuild":"^0.25.1","typescript":"^5.8.2","@types/node":"^24.1.0"},"_npmOperationalInternal":{"tmp":"tmp/claude-code_0.0.12_1758450658640_0.7110521639704768","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@aihubmix/claude-code","version":"1.0.0","keywords":["claude","code","router","llm","anthropic"],"author":{"name":"aihubmix"},"license":"MIT","_id":"@aihubmix/claude-code@1.0.0","maintainers":[{"name":"chenxue","email":"450907240@qq.com"}],"homepage":"https://aihubmix.com","bugs":{"url":"https://github.com/inferera/aihubmix/issues"},"bin":{"acc":"dist/cli.js"},"dist":{"shasum":"3a3f803f52eb57ecf6cab4aee4aff0488a97b426","tarball":"https://registry.npmjs.org/@aihubmix/claude-code/-/claude-code-1.0.0.tgz","fileCount":57,"integrity":"sha512-HIcriWMnAADFfJ0zqCU68MaFp3FGzrFX+1QC40LMdSLBDphyZd9QRG8xYTowuy4pS2KupkDRnxdXlD06PNfChw==","signatures":[{"sig":"MEQCIG7++gF/2dJn0b7fI2r4TZ7mpWizohWNB72lh9+YuzI1AiBsd7GEU92aJdb1KMuyZ978C6ASshDiXNqrK2DECV3WzQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":284998},"_from":"file:aihubmix-claude-code-1.0.0.tgz","engines":{"node":">=18"},"scripts":{"build":"node scripts/build.js","release":"npm run build && npm publish"},"_npmUser":{"name":"chenxue","email":"450907240@qq.com"},"_resolved":"/private/var/folders/cb/fhpf9vn568nfgb006_2p2_yr0000gn/T/94d99e3060b33515b18f948e7cfb868c/aihubmix-claude-code-1.0.0.tgz","_integrity":"sha512-HIcriWMnAADFfJ0zqCU68MaFp3FGzrFX+1QC40LMdSLBDphyZd9QRG8xYTowuy4pS2KupkDRnxdXlD06PNfChw==","repository":{"url":"git+https://github.com/inferera/aihubmix.git","type":"git"},"_npmVersion":"10.8.2","description":"Use Claude Code without an Anthropics account and route it to another LLM provider","directories":{},"_nodeVersion":"20.17.0","dependencies":{"uuid":"^11.1.0","json5":"^2.2.3","dotenv":"^16.4.7","fastify":"^5.4.0","openurl":"^1.1.1","tiktoken":"^1.0.21","@fastify/static":"^8.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.4.0","esbuild":"^0.25.1","typescript":"^5.8.2","@types/node":"^24.1.0"},"_npmOperationalInternal":{"tmp":"tmp/claude-code_1.0.0_1769938858248_0.916671435935589","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@aihubmix/claude-code","version":"1.0.1","keywords":["claude","code","router","llm","anthropic"],"author":{"name":"aihubmix"},"license":"MIT","_id":"@aihubmix/claude-code@1.0.1","maintainers":[{"name":"chenxue","email":"450907240@qq.com"}],"homepage":"https://aihubmix.com","bugs":{"url":"https://github.com/inferera/aihubmix/issues"},"bin":{"acc":"dist/cli.js"},"dist":{"shasum":"61848af986a5a27e8987aa648fe9cad764e8cf12","tarball":"https://registry.npmjs.org/@aihubmix/claude-code/-/claude-code-1.0.1.tgz","fileCount":58,"integrity":"sha512-Jh/cy+PTyPR0l5L6T7tXFrwxHA9czJAPwccHnbdgx7M/7qX0w6oDYaZPeQV2rkHijo2sh8EIvZN5hl7kmKKhsA==","signatures":[{"sig":"MEUCIEAOiXdZ1an+ry8+ZPzPTWwPgsxNtLWIq8b3Ofa8p6IcAiEA2+1wg875mLCbLw+pg9kVAeiPuT5DaB7/WaxuwZdCb8o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8267048},"engines":{"node":">=18"},"gitHead":"a565def376b824e44e8eb75ce7ce8141051453a8","scripts":{"build":"node scripts/build.js","release":"npm run build && npm publish --access public"},"_npmUser":{"name":"chenxue","email":"450907240@qq.com"},"repository":{"url":"git+https://github.com/inferera/aihubmix.git","type":"git"},"_npmVersion":"10.9.8","description":"Use Claude Code without an Anthropics account and route it to another LLM provider","directories":{},"_nodeVersion":"22.22.3","dependencies":{"uuid":"^11.1.0","json5":"^2.2.3","dotenv":"^16.4.7","undici":"^6.21.0","fastify":"^5.4.0","openurl":"^1.1.1","tiktoken":"^1.0.21","jsonrepair":"^3.12.0","@fastify/cors":"^11.0.1","@fastify/static":"^8.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.4.0","esbuild":"^0.25.1","typescript":"^5.8.2","@types/node":"^24.1.0"},"_npmOperationalInternal":{"tmp":"tmp/claude-code_1.0.1_1781516850473_0.023218504152604735","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@aihubmix/claude-code","version":"1.0.2","description":"Use Claude Code without an Anthropics account and route it to another LLM provider","bin":{"acc":"dist/cli.js"},"keywords":["claude","code","router","llm","anthropic"],"author":{"name":"aihubmix"},"license":"MIT","dependencies":{"@fastify/cors":"^11.0.1","@fastify/static":"^8.2.0","dotenv":"^16.4.7","fastify":"^5.4.0","json5":"^2.2.3","jsonrepair":"^3.12.0","openurl":"^1.1.1","tiktoken":"^1.0.21","undici":"^6.21.0","uuid":"^11.1.0"},"devDependencies":{"@types/node":"^24.1.0","esbuild":"^0.25.1","shx":"^0.4.0","typescript":"^5.8.2"},"engines":{"node":">=18"},"publishConfig":{"access":"public"},"homepage":"https://aihubmix.com","repository":{"type":"git","url":"git+https://github.com/inferera/aihubmix.git"},"bugs":{"url":"https://github.com/inferera/aihubmix/issues"},"scripts":{"build":"node scripts/build.js","release":"npm run build && npm publish"},"_id":"@aihubmix/claude-code@1.0.2","_integrity":"sha512-R/bToxApv+Ml+RZDRvIfUaR51sJQBCh/0wU3PXuC4RQSc+DeC8gyFPiAJ0+FrWkEsUO6aDLML9Uk6hAVOFKoWA==","_resolved":"/private/var/folders/7k/hgbqzhxj70z_lnvks8xqbrhc0000gn/T/b11dcf07945a45f61ee90bb7bf4f7e7e/aihubmix-claude-code-1.0.2.tgz","_from":"file:aihubmix-claude-code-1.0.2.tgz","_nodeVersion":"22.22.3","_npmVersion":"10.9.8","dist":{"integrity":"sha512-R/bToxApv+Ml+RZDRvIfUaR51sJQBCh/0wU3PXuC4RQSc+DeC8gyFPiAJ0+FrWkEsUO6aDLML9Uk6hAVOFKoWA==","shasum":"ac90a5e4d9c5c4dd9973c8a572410937ae2832ae","tarball":"https://registry.npmjs.org/@aihubmix/claude-code/-/claude-code-1.0.2.tgz","fileCount":59,"unpackedSize":8279761,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFCtJCOPL8AgwpowlQTUwv5y2+s+Ua8abIPsCMiLbfZDAiEA0IqgD8Rv1q16Bsnf8RRsbCkwOl9X6ftZkRDGs80VrMo="}]},"_npmUser":{"name":"chenxue","email":"450907240@qq.com"},"directories":{},"maintainers":[{"name":"chenxue","email":"450907240@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/claude-code_1.0.2_1782889759401_0.60755747581803"},"_hasShrinkwrap":false}},"time":{"created":"2025-08-01T14:40:36.317Z","modified":"2026-07-01T07:09:19.817Z","0.0.1":"2025-08-01T14:40:36.703Z","0.0.2":"2025-08-01T15:05:06.860Z","0.0.3":"2025-08-01T15:42:41.345Z","0.0.4":"2025-08-01T15:48:08.865Z","0.0.5":"2025-08-01T15:53:44.721Z","0.0.6":"2025-08-04T05:44:42.347Z","0.0.7":"2025-08-08T08:18:28.082Z","0.0.8":"2025-08-11T09:04:56.893Z","0.0.9":"2025-09-21T07:17:38.492Z","0.0.11":"2025-09-21T09:21:16.401Z","0.0.12":"2025-09-21T10:30:58.901Z","1.0.0":"2026-02-01T09:40:58.415Z","1.0.1":"2026-06-15T09:47:30.672Z","1.0.2":"2026-07-01T07:09:19.680Z"},"bugs":{"url":"https://github.com/inferera/aihubmix/issues"},"author":{"name":"aihubmix"},"license":"MIT","homepage":"https://aihubmix.com","keywords":["claude","code","router","llm","anthropic"],"repository":{"type":"git","url":"git+https://github.com/inferera/aihubmix.git"},"description":"Use Claude Code without an Anthropics account and route it to another LLM provider","maintainers":[{"name":"chenxue","email":"450907240@qq.com"}],"readme":"# Claude Code Router\n\n<div align=\"center\">\n  <div style=\"margin-bottom: 20px;\">\n    <a href=\"./README.zh.md\" style=\"margin: 0 10px; padding: 8px 16px; background-color: #007acc; color: white; text-decoration: none; border-radius: 4px;\">中文</a>\n    <a href=\"./README.md\" style=\"margin: 0 10px; padding: 8px 16px; background-color: #f0f0f0; color: #333; text-decoration: none; border-radius: 4px;\">English</a>\n    <a href=\"./README.ja.md\" style=\"margin: 0 10px; padding: 8px 16px; background-color: #f0f0f0; color: #333; text-decoration: none; border-radius: 4px;\">日本語</a>\n  </div>\n</div>\n\n一个简化的 Claude Code 路由服务，支持多种 AI 模型。\n\n## 功能特性\n\n- 🚀 简化的配置管理\n- 🔄 自动路由到不同的 AI 模型\n- ⚡ 快速启动和停止\n- 🔧 易于配置\n\n## 安装\n\n**环境要求：**\n- Node.js >= 20\n\n首先，请确保您已安装 Claude Code：\n```bash\nnpm install -g @anthropic-ai/claude-code\n\n```\n然后，安装 @aihubmix/claude-code：\n```bash\nnpm install -g @aihubmix/claude-code\n```\n\n## 配置\n\n现在支持两种配置方式，详细说明请查看 [CONFIGURATION.md](./CONFIGURATION.md)。\n\n### 1. 环境变量配置（推荐）\n\n```bash\nexport AIHUBMIX_API_KEY=\"your-api-key-here\"\nexport AIHUBMIX_BASE_URL=\"https://aihubmix.com\"  # 可选，上游 API 访问域名\nexport HOST=\"127.0.0.1\"  # 可选\nexport PORT=\"3456\"        # 可选\nexport LOG=\"true\"         # 可选\nexport API_TIMEOUT_MS=\"30000\"  # 可选\n```\n\n> `AIHUBMIX_BASE_URL` 用于更换上游访问域名（不要带 `/v1/...` 路径）。\n> 默认值：`https://aihubmix.com`，可按需替换成其他域名。\n\n### 2. 配置文件\n\n配置文件位于 `~/.aihubmix-claude-code/config.json`：\n\n```json\n{\n  \"API_KEY\": \"your-api-key-here\",\n  \"BASE_URL\": \"https://aihubmix.com\",\n  \"HOST\": \"127.0.0.1\",\n  \"PORT\": 3456,\n  \"LOG\": true,\n  \"API_TIMEOUT_MS\": 30000,\n  \"Router\": {\n    \"default\": \"claude-sonnet-4-20250514\",\n    \"background\": \"claude-3-5-haiku-20241022\",\n    \"think\": \"claude-sonnet-4-20250514\",\n    \"longContext\": \"gpt-4.1\",\n    \"longContextThreshold\": 60000,\n    \"webSearch\": \"gemini-2.0-flash-search\"\n  }\n}\n```\n\n**注意**: 环境变量的优先级高于配置文件。\n\n\n\n## 使用方法\n\n### 启动服务\n\n```bash\nacc start\n```\n\n### 停止服务\n\n```bash\nacc stop\n```\n\n### 重启服务\n\n```bash\nacc restart\n```\n\n### 查看状态\n\n```bash\nacc status\n```\n\n### 执行代码命令\n\n```bash\nacc code \"Write a Hello World function\"\n```\n\n### 查看版本\n\n```bash\nacc version\n```\n\n### 查看帮助\n\n```bash\nacc help\n```\n\n## 路由规则\n\n### 默认模型配置\n\n```json\n{\n  \"default\": \"claude-sonnet-4-20250514\",\n  \"background\": \"claude-3-5-haiku-20241022\", \n  \"think\": \"claude-sonnet-4-20250514\",\n  \"longContext\": \"gpt-4.1\",\n  \"longContextThreshold\": 60000,\n  \"webSearch\": \"gemini-2.0-flash-search\"\n}\n```\n\n### 路由逻辑\n\n- **默认**: 使用 `claude-sonnet-4-20250514` 模型\n- **背景任务**: 当模型为 `claude-3-5-haiku` 时，使用 `claude-sonnet-4-20250514` 模型\n- **思考任务**: 当请求包含 `thinking` 参数时，使用 `claude-sonnet-4-20250514` 模型\n- **长上下文**: 当 token 数超过 60000 时，使用 `gpt-4.1` 模型\n- **网络搜索**: 当请求包含 `web_search` 工具时，使用 `gemini-2.0-flash-search` 模型\n\n### 自定义路由配置\n\n你可以在配置文件中自定义 `Router` 部分来覆盖默认的模型配置：\n\n```json\n{\n  \"Router\": {\n    \"default\": \"your-custom-model\",\n    \"background\": \"your-background-model\", \n    \"think\": \"your-thinking-model\",\n    \"longContext\": \"your-long-context-model\",\n    \"longContextThreshold\": 50000,\n    \"webSearch\": \"your-web-search-model\"\n  }\n}\n```\n\n#### Router 配置项说明\n\n- **default**: 默认使用的模型\n- **background**: 背景任务使用的模型\n- **think**: 思考任务使用的模型  \n- **longContext**: 长上下文任务使用的模型\n- **longContextThreshold**: 触发长上下文模型的 token 阈值（默认 60000）\n- **webSearch**: 网络搜索任务使用的模型\n\n### GPT-5 Reasoning 级别支持\n\nGPT-5 模型现在支持不同的 reasoning effort 级别，您可以通过以下方式选择：\n\n- `gpt-5` - 使用默认的 medium 级别\n- `gpt-5(high)` - 高级别推理，最大化质量但速度较慢\n- `gpt-5(medium)` - 中级别推理，平衡质量和速度\n- `gpt-5(low)` - 低级别推理，更快的响应速度\n- `gpt-5(minimal)` - 最小推理，超低延迟场景\n\n#### 使用示例\n\n1. **在 Claude Code 中选择模型时**：\n   - 选择 `gpt-5(high)` 来进行深度思考任务\n   - 选择 `gpt-5(minimal)` 来进行快速简单任务\n\n2. **在配置文件中设置**：\n```json\n{\n  \"Router\": {\n    \"think\": \"gpt-5(high)\",  // 思考任务使用高级别推理\n    \"default\": \"gpt-5\"       // 默认使用中级别\n  }\n}\n```\n\n","readmeFilename":"README.zh.md"}