{"_id":"@adithya-13/cc-switch","_rev":"7-a5dbd8a4d95906dbfb4b339a8ca86bc7","name":"@adithya-13/cc-switch","dist-tags":{"latest":"1.0.6"},"versions":{"1.0.0":{"name":"@adithya-13/cc-switch","version":"1.0.0","keywords":["claude","claude-code","anthropic","zai","openrouter","kimi","provider","switch"],"author":{"name":"adithya-13"},"license":"MIT","_id":"@adithya-13/cc-switch@1.0.0","maintainers":[{"name":"adithya-13","email":"aditputrafirmansyah@gmail.com"}],"homepage":"https://github.com/adithya-13/cc-switch#readme","bugs":{"url":"https://github.com/adithya-13/cc-switch/issues"},"bin":{"cclaude":"bin/cclaude.js","cc-switch":"bin/cc-switch.js"},"dist":{"shasum":"d59cb2eaffe989f7cafb1ef34cb04701a27ec7a9","tarball":"https://registry.npmjs.org/@adithya-13/cc-switch/-/cc-switch-1.0.0.tgz","fileCount":13,"integrity":"sha512-pV7WqxJ58l91xTstE3VqsfwSackZ8VpXyZdZcafBXAOxCni7uXDt4TbbX9tyu6QvcfkXJ7RqXo6ZF1fPm9pv7w==","signatures":[{"sig":"MEQCIC7kUw2U8StExftskaLvE2P4NiVcGdwwrxKkfhDJ8ZQGAiBh1b0uYerMUffLaCKLdStCxHUlyojsNFT9k5lk/OQClA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20413},"type":"module","engines":{"node":">=18"},"gitHead":"8484d71c181caf5dd8b77c172860bbf87d09a9c0","_npmUser":{"name":"adithya-13","email":"aditputrafirmansyah@gmail.com"},"repository":{"url":"git+https://github.com/adithya-13/cc-switch.git","type":"git"},"_npmVersion":"10.8.2","description":"Switch Claude Code between providers (Claude Pro, z.ai, Kimi, OpenRouter, DeepSeek, and more)","directories":{},"_nodeVersion":"20.19.5","dependencies":{"chalk":"^5.3.0","inquirer":"^9.2.0","commander":"^12.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cc-switch_1.0.0_1772481330063_0.33524882154367","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@adithya-13/cc-switch","version":"1.0.1","keywords":["claude","claude-code","anthropic","zai","openrouter","kimi","provider","switch"],"author":{"name":"adithya-13"},"license":"MIT","_id":"@adithya-13/cc-switch@1.0.1","maintainers":[{"name":"adithya-13","email":"aditputrafirmansyah@gmail.com"}],"homepage":"https://github.com/adithya-13/cc-switch#readme","bugs":{"url":"https://github.com/adithya-13/cc-switch/issues"},"bin":{"cclaude":"bin/cclaude.js","cc-switch":"bin/cc-switch.js"},"dist":{"shasum":"cddde73de2b0701f64c2e7852da242b3e1378007","tarball":"https://registry.npmjs.org/@adithya-13/cc-switch/-/cc-switch-1.0.1.tgz","fileCount":13,"integrity":"sha512-Oo8VQ8z6+vXeVFKIe5uePpA/HtL8w/A7Q4RmTj8wBXT2MaCn0IKIqLOOcEzoL3VD1zgkKYJzjaMkgQuYrxfrrw==","signatures":[{"sig":"MEUCIQD1usrdmBeI0xXJwc5pLnbE39rTm/6a0iISe92D7bBYdAIgH+FNL3aHyTe6HOhUzGjHTBDo3S+RmneCNxcJlJxeW6E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22117},"type":"module","engines":{"node":">=18"},"gitHead":"10afb4ddaca4d7ec896aae88ef4c38536cca38e9","_npmUser":{"name":"adithya-13","email":"aditputrafirmansyah@gmail.com"},"repository":{"url":"git+https://github.com/adithya-13/cc-switch.git","type":"git"},"_npmVersion":"10.8.2","description":"Switch Claude Code between providers (Claude Pro, z.ai, Kimi, OpenRouter, DeepSeek, and more)","directories":{},"_nodeVersion":"20.19.5","dependencies":{"chalk":"^5.3.0","inquirer":"^9.2.0","commander":"^12.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cc-switch_1.0.1_1772482258875_0.7453088679530082","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@adithya-13/cc-switch","version":"1.0.2","keywords":["claude","claude-code","anthropic","zai","openrouter","kimi","provider","switch"],"author":{"name":"adithya-13"},"license":"MIT","_id":"@adithya-13/cc-switch@1.0.2","maintainers":[{"name":"adithya-13","email":"aditputrafirmansyah@gmail.com"}],"homepage":"https://github.com/adithya-13/cc-switch#readme","bugs":{"url":"https://github.com/adithya-13/cc-switch/issues"},"bin":{"cclaude":"bin/cclaude.js","cc-switch":"bin/cc-switch.js"},"dist":{"shasum":"fcb50fec76505ba11e352e298a66951938378090","tarball":"https://registry.npmjs.org/@adithya-13/cc-switch/-/cc-switch-1.0.2.tgz","fileCount":13,"integrity":"sha512-0eWFFFLOEMK6wl8GlnH/6SaBmvqQEJy4R4yYiVVNIxvKdjddSwCQ1MG2D2GL4QKaL4x5Uu0U6TiCb0Q0w38IWg==","signatures":[{"sig":"MEQCIDdwSFc9RDXLh7uw4EOAQqNG3lQGDTm7lDCZlmJvVMzDAiAChmqBFmPdp0WzLFdXHlidcdyXYFKebHZojorX+h/WVA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22182},"type":"module","engines":{"node":">=18"},"gitHead":"6a1d197c4ca640289e9aceca922844993a9ea938","_npmUser":{"name":"adithya-13","email":"aditputrafirmansyah@gmail.com"},"repository":{"url":"git+https://github.com/adithya-13/cc-switch.git","type":"git"},"_npmVersion":"10.8.2","description":"Switch Claude Code between providers (Claude Pro, z.ai, Kimi, OpenRouter, DeepSeek, and more)","directories":{},"_nodeVersion":"20.19.5","dependencies":{"chalk":"^5.3.0","inquirer":"^9.2.0","commander":"^12.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cc-switch_1.0.2_1772482856371_0.21149623542026585","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@adithya-13/cc-switch","version":"1.0.3","keywords":["claude","claude-code","anthropic","zai","openrouter","kimi","provider","switch"],"author":{"name":"adithya-13"},"license":"MIT","_id":"@adithya-13/cc-switch@1.0.3","maintainers":[{"name":"adithya-13","email":"aditputrafirmansyah@gmail.com"}],"homepage":"https://github.com/adithya-13/cc-switch#readme","bugs":{"url":"https://github.com/adithya-13/cc-switch/issues"},"bin":{"cclaude":"bin/cclaude.js","cc-switch":"bin/cc-switch.js"},"dist":{"shasum":"b80e931e7d88129c38e34d82fd1a5e6e847630ca","tarball":"https://registry.npmjs.org/@adithya-13/cc-switch/-/cc-switch-1.0.3.tgz","fileCount":13,"integrity":"sha512-pFtP7nCLqo6joXZVve8q7fAdU5tRF2wYDP8WKd7NEQD1+9HwKTcnd8teWF8VV2ixonTGrvEaCMQZHJCE4q6qNA==","signatures":[{"sig":"MEQCIHnQ3PMkfmiAsas0UAsa47qzU7XzsdUZiMvylbgjh4OvAiA2+CqRui8vPsQ25kPeqdZihUsBKcURRqL7raOJYrMdlQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22213},"type":"module","engines":{"node":">=18"},"gitHead":"a5e471f94d1ef8c4370fc623e2228bfbb69f2697","_npmUser":{"name":"adithya-13","email":"aditputrafirmansyah@gmail.com"},"repository":{"url":"git+https://github.com/adithya-13/cc-switch.git","type":"git"},"_npmVersion":"10.8.2","description":"Switch Claude Code between providers (Claude Pro, z.ai, Kimi, OpenRouter, DeepSeek, and more)","directories":{},"_nodeVersion":"20.19.5","dependencies":{"chalk":"^5.3.0","inquirer":"^9.2.0","commander":"^12.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cc-switch_1.0.3_1772483897582_0.6572086156787447","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@adithya-13/cc-switch","version":"1.0.4","keywords":["claude","claude-code","anthropic","zai","openrouter","kimi","provider","switch"],"author":{"name":"adithya-13"},"license":"MIT","_id":"@adithya-13/cc-switch@1.0.4","maintainers":[{"name":"adithya-13","email":"aditputrafirmansyah@gmail.com"}],"homepage":"https://github.com/adithya-13/cc-switch#readme","bugs":{"url":"https://github.com/adithya-13/cc-switch/issues"},"bin":{"cclaude":"bin/cclaude.js","cc-switch":"bin/cc-switch.js"},"dist":{"shasum":"a0da845601f361282cf897a45a26180ddd8d952e","tarball":"https://registry.npmjs.org/@adithya-13/cc-switch/-/cc-switch-1.0.4.tgz","fileCount":13,"integrity":"sha512-XJ0kOQ4TGUpMHgvO3km4l+3Uc3GQ+XUVrUW0CvfPY8pU949FBeoi/y2mbY022YpXYKYgMA86gupotny7pboEKQ==","signatures":[{"sig":"MEQCIFIcRnR8DjioPHB9Pvd8CgeMw5K9SQi3+yklybTNEMS3AiAdP1NQyCUv2dkwl9Q1ujCybNi0IQXSRhP0BPTXVaqmhw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22501},"type":"module","engines":{"node":">=18"},"gitHead":"14b39e2c182466aa110e80f09323f1a0aea7d74b","_npmUser":{"name":"adithya-13","email":"aditputrafirmansyah@gmail.com"},"repository":{"url":"git+https://github.com/adithya-13/cc-switch.git","type":"git"},"_npmVersion":"10.8.2","description":"Switch Claude Code between providers (Claude Pro, z.ai, Kimi, OpenRouter, DeepSeek, and more)","directories":{},"_nodeVersion":"20.19.5","dependencies":{"chalk":"^5.3.0","inquirer":"^9.2.0","commander":"^12.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cc-switch_1.0.4_1772484329577_0.5419539331509349","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@adithya-13/cc-switch","version":"1.0.5","keywords":["claude","claude-code","anthropic","zai","openrouter","kimi","provider","switch"],"author":{"name":"adithya-13"},"license":"MIT","_id":"@adithya-13/cc-switch@1.0.5","maintainers":[{"name":"adithya-13","email":"aditputrafirmansyah@gmail.com"}],"homepage":"https://github.com/adithya-13/cc-switch#readme","bugs":{"url":"https://github.com/adithya-13/cc-switch/issues"},"bin":{"cclaude":"bin/cclaude.js","cc-switch":"bin/cc-switch.js"},"dist":{"shasum":"e70d0a3184263218e209c066823c4e5046b720ce","tarball":"https://registry.npmjs.org/@adithya-13/cc-switch/-/cc-switch-1.0.5.tgz","fileCount":13,"integrity":"sha512-ujkjv+4PuqngiKzFosYJ6MC9JRKnC01LJi3ZJbKQanjO8w5o67JfAZbzXtxjU65c+R/NL8c2/rKEiDmoIyQBUg==","signatures":[{"sig":"MEUCIQD0CQxEaB6Auvfqv4LlT2Xaq+sHafWVORtzLG5rZL8jwgIgc+CAptmKYmsEaqZVs+FDPJbHF/DTVybLws7e056tHK8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22799},"type":"module","engines":{"node":">=18"},"gitHead":"1624e3e0d10e99a39a9c32f70a2d16a4723a2c8d","_npmUser":{"name":"adithya-13","email":"aditputrafirmansyah@gmail.com"},"repository":{"url":"git+https://github.com/adithya-13/cc-switch.git","type":"git"},"_npmVersion":"10.8.2","description":"Switch Claude Code between providers (Claude Pro, z.ai, Kimi, OpenRouter, DeepSeek, and more)","directories":{},"_nodeVersion":"20.19.5","dependencies":{"chalk":"^5.3.0","inquirer":"^9.2.0","commander":"^12.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cc-switch_1.0.5_1772484588336_0.1051237383617234","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@adithya-13/cc-switch","version":"1.0.6","description":"Switch Claude Code between providers (Claude Pro, z.ai, Kimi, OpenRouter, DeepSeek, and more)","keywords":["claude","claude-code","anthropic","zai","openrouter","kimi","provider","switch"],"author":{"name":"adithya-13"},"license":"MIT","homepage":"https://github.com/adithya-13/cc-switch#readme","repository":{"type":"git","url":"git+https://github.com/adithya-13/cc-switch.git"},"type":"module","bin":{"cc-switch":"bin/cc-switch.js"},"engines":{"node":">=18"},"dependencies":{"chalk":"^5.3.0","commander":"^12.0.0","inquirer":"^9.2.0"},"_id":"@adithya-13/cc-switch@1.0.6","gitHead":"30598085c5b482f34fce62cddf85312e89736b1a","bugs":{"url":"https://github.com/adithya-13/cc-switch/issues"},"_nodeVersion":"20.19.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-+KkoA4t5PTgQp7LP/+zaYBxi37Ga9g7Aoxt8yPdGvUttM+wdaLfgL5h4nxuov7f9M8315pxwJZtJ+AS9VLdiRg==","shasum":"389316482d8b43ca9cedb8dfc4f48897b368f382","tarball":"https://registry.npmjs.org/@adithya-13/cc-switch/-/cc-switch-1.0.6.tgz","fileCount":12,"unpackedSize":18821,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDa/xFDUpwy1VZKhli9j4Q82QfCp0KPdO5V+ptw208qpAIhALY8oYPXYvYszfwCceA2R9Dy8T9G4m8dS47raL9aZsB4"}]},"_npmUser":{"name":"adithya-13","email":"aditputrafirmansyah@gmail.com"},"directories":{},"maintainers":[{"name":"adithya-13","email":"aditputrafirmansyah@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cc-switch_1.0.6_1772485266738_0.4150428824655259"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-02T19:55:29.970Z","modified":"2026-03-02T21:01:07.078Z","1.0.0":"2026-03-02T19:55:30.238Z","1.0.1":"2026-03-02T20:10:59.086Z","1.0.2":"2026-03-02T20:20:56.559Z","1.0.3":"2026-03-02T20:38:17.737Z","1.0.4":"2026-03-02T20:45:29.724Z","1.0.5":"2026-03-02T20:49:48.481Z","1.0.6":"2026-03-02T21:01:06.946Z"},"bugs":{"url":"https://github.com/adithya-13/cc-switch/issues"},"author":{"name":"adithya-13"},"license":"MIT","homepage":"https://github.com/adithya-13/cc-switch#readme","keywords":["claude","claude-code","anthropic","zai","openrouter","kimi","provider","switch"],"repository":{"type":"git","url":"git+https://github.com/adithya-13/cc-switch.git"},"description":"Switch Claude Code between providers (Claude Pro, z.ai, Kimi, OpenRouter, DeepSeek, and more)","maintainers":[{"name":"adithya-13","email":"aditputrafirmansyah@gmail.com"}],"readme":"# cc-switch\n\n> Switch Claude Code between providers instantly. No manual config editing.\n\n```bash\ncc-switch use zai        # → z.ai (GLM-4.7)\ncc-switch use pro        # → Claude Pro/Max\ncc-switch use kimi       # → Kimi K2\ncc-switch use openrouter # → OpenRouter (320+ models)\n```\n\n## Install\n\n```bash\nnpm install -g @adithya-13/cc-switch\n```\n\nOr via curl:\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/adithya-13/cc-switch/main/install.sh | bash\n```\n\n## Why\n\nClaude Code's usage limits hit mid-session. Switching providers manually means editing `~/.claude/settings.json`, managing API keys, and restarting. `cc-switch` makes it one command.\n\n## Supported Providers\n\n| Provider | Command | Models |\n|---|---|---|\n| Claude Pro/Max | `cc-switch use pro` | Claude Sonnet/Opus (OAuth) |\n| z.ai | `cc-switch use zai` | GLM-4.7, GLM-5 |\n| Kimi (Moonshot) | `cc-switch use kimi` | Kimi K2.5 |\n| OpenRouter | `cc-switch use openrouter` | 320+ models |\n| DeepSeek | `cc-switch use deepseek` | DeepSeek V3, R1 |\n| Qwen (Alibaba) | `cc-switch use qwen` | Qwen3.5 |\n| Ollama (local) | `cc-switch use ollama` | Any local model |\n| Custom | `cc-switch add myprofile` | Anything |\n\n## Commands\n\n```bash\ncc-switch use <provider>   # switch to provider\ncc-switch list             # list all providers + key status\ncc-switch status           # show current active provider\ncc-switch add <name>       # add a custom provider\ncc-switch doctor           # check setup and saved keys\n```\n\n## Key Storage\n\nAPI keys are saved in `~/.cc-switch/keys.json` (chmod 600). Never hardcoded or exposed.\n\n## Add Custom Provider\n\n```bash\ncc-switch add myprovider\n# interactive wizard → asks for base URL, API key, model names\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}