{"_id":"@ben1849/claude-switch","_rev":"9-2a6b4165d99ba8c3f8969f4ecab5a3b4","name":"@ben1849/claude-switch","dist-tags":{"latest":"0.7.0"},"versions":{"0.2.0":{"name":"@ben1849/claude-switch","version":"0.2.0","keywords":["claude","claude-code","cli","provider","switch"],"license":"MIT","_id":"@ben1849/claude-switch@0.2.0","maintainers":[{"name":"cheng-pang","email":"pangcheng33@gmail.com"}],"homepage":"https://github.com/pangcheng1849/claude-switch#readme","bugs":{"url":"https://github.com/pangcheng1849/claude-switch/issues"},"bin":{"claude-switch":"dist/index.js"},"dist":{"shasum":"fb80c55eb2d0fe1ea489efead208e9bc37117d70","tarball":"https://registry.npmjs.org/@ben1849/claude-switch/-/claude-switch-0.2.0.tgz","fileCount":17,"integrity":"sha512-KS6hzeDl8SYsbroqdEWPL1r8EB9SFiuA5w9TOdaqnfUeviwwhg+sv/6KxOvLky/ulMuvH5Iln4iPZndoiv6XCg==","signatures":[{"sig":"MEUCIQDgbU+rafWVAEO53qxZQ/tHgUcpuI+s5o72XV4UVRxnHgIgZUyiT1EZlZ3cFHgLm32QvxTECpdHjcWnIA5reKIlLVQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45329},"type":"module","engines":{"node":">=18"},"gitHead":"7f863aa3af6728cf7e83677d09b840bbbe90fba9","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","start":"node dist/index.js","test:watch":"vitest"},"_npmUser":{"name":"cheng-pang","email":"pangcheng33@gmail.com"},"repository":{"url":"git+https://github.com/pangcheng1849/claude-switch.git","type":"git"},"_npmVersion":"11.9.0","description":"Interactive CLI tool to switch Claude Code Model API providers","directories":{},"_nodeVersion":"24.14.0","dependencies":{"@inquirer/prompts":"^8.3.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.2","typescript":"^6.0.2","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/claude-switch_0.2.0_1775216550590_0.031388221114097004","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@ben1849/claude-switch","version":"0.2.1","keywords":["claude","claude-code","cli","provider","switch"],"license":"MIT","_id":"@ben1849/claude-switch@0.2.1","maintainers":[{"name":"cheng-pang","email":"pangcheng33@gmail.com"}],"homepage":"https://github.com/pangcheng1849/claude-switch#readme","bugs":{"url":"https://github.com/pangcheng1849/claude-switch/issues"},"bin":{"claude-switch":"dist/index.js"},"dist":{"shasum":"05101a0498ca3cc7299599f8d93dba06eb3231cb","tarball":"https://registry.npmjs.org/@ben1849/claude-switch/-/claude-switch-0.2.1.tgz","fileCount":17,"integrity":"sha512-MACclF0J+9JempM9B/wK1UY3/uXJKzcBEH4jIA13yUWMJpPKUZL65l0hFSjCEnfDQxrOfVOYzkxx9ndBo8wD/w==","signatures":[{"sig":"MEYCIQCEOT2eY9Cb4Ji3Wdd+Ngq26W9XGOXelScRrpQxvAQ0uQIhAOny91U4+h/AQz0sVcDjd3naVCwhBP0QnN4jGCbpQTXc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45160},"type":"module","engines":{"node":">=18"},"gitHead":"4e5d900475b5af441af3c7da6e299ce7ff1d3a46","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","start":"node dist/index.js","test:watch":"vitest"},"_npmUser":{"name":"cheng-pang","email":"pangcheng33@gmail.com"},"repository":{"url":"git+https://github.com/pangcheng1849/claude-switch.git","type":"git"},"_npmVersion":"11.9.0","description":"Interactive CLI tool to switch Claude Code Model API providers","directories":{},"_nodeVersion":"24.14.0","dependencies":{"@inquirer/prompts":"^8.3.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.2","typescript":"^6.0.2","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/claude-switch_0.2.1_1775216865301_0.16978207368821052","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@ben1849/claude-switch","version":"0.3.0","keywords":["claude","claude-code","cli","provider","switch"],"license":"MIT","_id":"@ben1849/claude-switch@0.3.0","maintainers":[{"name":"cheng-pang","email":"pangcheng33@gmail.com"}],"homepage":"https://github.com/Ben2pc/claude-switch#readme","bugs":{"url":"https://github.com/Ben2pc/claude-switch/issues"},"bin":{"claude-switch":"dist/index.js"},"dist":{"shasum":"b8119a15fbe48fa06de838f13894259aca0eb2f4","tarball":"https://registry.npmjs.org/@ben1849/claude-switch/-/claude-switch-0.3.0.tgz","fileCount":19,"integrity":"sha512-ekoSCbk/1d9p5Jll+a25+czcL1q+C1hL7EFwMgsDNOGcOGBd8jasY1ueMN03btZ6KwfYFTwpkY2eVTm02gWS4Q==","signatures":[{"sig":"MEUCIQDPT9NBbZOAGgr3kW6jRQvQnNvqreThZ643d1uAcRfPVAIgZe+3PXcOcv8gZwjr83GN817FrxThPQUDRo/UlFV7L3o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":52916},"type":"module","engines":{"node":">=18"},"gitHead":"fa1cc8773fa0cf14ff2232468855333a2554b32e","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","start":"node dist/index.js","test:watch":"vitest"},"_npmUser":{"name":"cheng-pang","email":"pangcheng33@gmail.com"},"repository":{"url":"git+https://github.com/Ben2pc/claude-switch.git","type":"git"},"_npmVersion":"11.9.0","description":"Interactive CLI tool to switch Claude Code Model API providers","directories":{},"_nodeVersion":"24.14.0","dependencies":{"@inquirer/prompts":"^8.3.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.2","typescript":"^6.0.2","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/claude-switch_0.3.0_1775727920253_0.12463194050360693","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@ben1849/claude-switch","version":"0.4.0","keywords":["claude","claude-code","cli","provider","switch"],"license":"MIT","_id":"@ben1849/claude-switch@0.4.0","maintainers":[{"name":"cheng-pang","email":"pangcheng33@gmail.com"}],"homepage":"https://github.com/Ben2pc/claude-switch#readme","bugs":{"url":"https://github.com/Ben2pc/claude-switch/issues"},"bin":{"claude-switch":"dist/index.js"},"dist":{"shasum":"79b5e66ff41904bb1e6db1ae06cbcef32265c84e","tarball":"https://registry.npmjs.org/@ben1849/claude-switch/-/claude-switch-0.4.0.tgz","fileCount":21,"integrity":"sha512-txBfhjfozISshuDTcPUSquPyQMfb7Yc45C9AXlUzypkVmzvDvy4fsUAoqLkK/FdDHLywKz2DIol7NiNY4yxgig==","signatures":[{"sig":"MEYCIQDTCM1BsMy1p3Coi2dCoNZAAj4qXFK+Gg1YRPXNLeHqAQIhAIUzS4wBru1vBuCgoK79Tj/l+qVmCdZmF/BlIJw+h7b9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":86969},"type":"module","engines":{"node":">=18"},"gitHead":"f2b82892bdad49adb212fa631d41f47e5b0eee10","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","start":"node dist/index.js","test:watch":"vitest"},"_npmUser":{"name":"cheng-pang","email":"pangcheng33@gmail.com"},"repository":{"url":"git+https://github.com/Ben2pc/claude-switch.git","type":"git"},"_npmVersion":"11.9.0","description":"Interactive CLI tool to switch Claude Code Model API providers","directories":{},"_nodeVersion":"24.14.0","dependencies":{"@inquirer/prompts":"^8.3.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.2","typescript":"^6.0.2","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/claude-switch_0.4.0_1775826208714_0.4320158523990698","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@ben1849/claude-switch","version":"0.5.0","keywords":["claude","claude-code","cli","provider","switch"],"license":"MIT","_id":"@ben1849/claude-switch@0.5.0","maintainers":[{"name":"cheng-pang","email":"pangcheng33@gmail.com"}],"homepage":"https://github.com/Ben2pc/claude-switch#readme","bugs":{"url":"https://github.com/Ben2pc/claude-switch/issues"},"bin":{"claude-switch":"dist/index.js"},"dist":{"shasum":"60c0ac64d0d93548e5a488a15a8f73eb8cbc8fbd","tarball":"https://registry.npmjs.org/@ben1849/claude-switch/-/claude-switch-0.5.0.tgz","fileCount":21,"integrity":"sha512-7Dhb3ZdEJizl7xQUKBqg6zS2Pi+ItNanGTtI8Ewzw3q+YRgdquzuMAps2gpj5lp2PPG+z3FLSj3rNpMmsdldmw==","signatures":[{"sig":"MEUCIGAF3zdLShRhX2A6GTqGulKlh69Z0VHRWY3pyqPVsHckAiEA9PeTWrL5nYE6ou1JJEb92ccNM5rpCdIZf3rhPcx8mKE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ben1849%2fclaude-switch@0.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":87179},"type":"module","engines":{"node":">=18"},"gitHead":"c6727ca0a1451dec78c23ab433425168316d6a1a","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","start":"node dist/index.js","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:83dc6008-b02e-487d-b388-0153e9f2c74c"}},"repository":{"url":"git+https://github.com/Ben2pc/claude-switch.git","type":"git"},"_npmVersion":"11.11.0","description":"Interactive CLI tool to switch Claude Code Model API providers","directories":{},"_nodeVersion":"24.14.1","dependencies":{"@inquirer/prompts":"^8.3.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.2","typescript":"^6.0.2","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/claude-switch_0.5.0_1776831141180_0.6990998211835147","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"@ben1849/claude-switch","version":"0.5.1","keywords":["claude","claude-code","cli","provider","switch"],"license":"MIT","_id":"@ben1849/claude-switch@0.5.1","maintainers":[{"name":"cheng-pang","email":"pangcheng33@gmail.com"}],"homepage":"https://github.com/Ben2pc/claude-switch#readme","bugs":{"url":"https://github.com/Ben2pc/claude-switch/issues"},"bin":{"claude-switch":"dist/index.js"},"dist":{"shasum":"8e6c6ca0211d82e20c74ce4cc6c7c12c6e0f4ca8","tarball":"https://registry.npmjs.org/@ben1849/claude-switch/-/claude-switch-0.5.1.tgz","fileCount":21,"integrity":"sha512-TxRn6MSzFe7dIoIAUPagoDJSQWl508qrJ9v1BrBl9rjIIFBkEYbzNGfkCypBhHpXIFH5IXoikp3kIErS9thj4w==","signatures":[{"sig":"MEQCIGkH3Vi6kN3Cc0dQvYHnjp0M1y8thxjhm+Hoo8OPCGDhAiA6Rb5qxcUNm9GCSiOA6KiwPtBJSVZk0bl2Rx80BqyJ6w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ben1849%2fclaude-switch@0.5.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":87199},"type":"module","engines":{"node":">=18"},"gitHead":"8dafc600e3000369445d3e3ff032981c4e02c173","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","start":"node dist/index.js","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:83dc6008-b02e-487d-b388-0153e9f2c74c"}},"repository":{"url":"git+https://github.com/Ben2pc/claude-switch.git","type":"git"},"_npmVersion":"11.11.0","description":"Interactive CLI tool to switch Claude Code Model API providers","directories":{},"_nodeVersion":"24.14.1","dependencies":{"@inquirer/prompts":"^8.3.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.2","typescript":"^6.0.2","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/claude-switch_0.5.1_1776831461981_0.5684107068228279","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@ben1849/claude-switch","version":"0.6.0","keywords":["claude","claude-code","cli","provider","switch"],"license":"MIT","_id":"@ben1849/claude-switch@0.6.0","maintainers":[{"name":"cheng-pang","email":"pangcheng33@gmail.com"}],"homepage":"https://github.com/Ben2pc/claude-switch#readme","bugs":{"url":"https://github.com/Ben2pc/claude-switch/issues"},"bin":{"claude-switch":"dist/index.js"},"dist":{"shasum":"0d58b9248de318ee89b4977576928cea882fa980","tarball":"https://registry.npmjs.org/@ben1849/claude-switch/-/claude-switch-0.6.0.tgz","fileCount":21,"integrity":"sha512-QQ3dhepUGAx0bICo/Iv40BoMDRKEe02iywWpCoWQzTSk/E4ta8LN/ZPfU/+Zb5Q90ipu1hogotQ386eUh3EJtw==","signatures":[{"sig":"MEQCIF7suYx6R2cCTMIzKWwcwU/u9jVGJXn4fmgUtDbF35PmAiAJaZ8+Msb2ryNaORRP07c7QK6k4C3L6FiO2oLXCu2Sug==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ben1849%2fclaude-switch@0.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":87863},"type":"module","engines":{"node":">=18"},"gitHead":"012b2b5748271ca024718101cc728a1626431b27","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","start":"node dist/index.js","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:83dc6008-b02e-487d-b388-0153e9f2c74c"}},"repository":{"url":"git+https://github.com/Ben2pc/claude-switch.git","type":"git"},"_npmVersion":"11.11.0","description":"Interactive CLI tool to switch Claude Code Model API providers","directories":{},"_nodeVersion":"24.14.1","dependencies":{"@inquirer/prompts":"^8.3.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.2","typescript":"^6.0.2","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/claude-switch_0.6.0_1776836021079_0.08803483241241628","host":"s3://npm-registry-packages-npm-production"}},"0.6.1":{"name":"@ben1849/claude-switch","version":"0.6.1","keywords":["claude","claude-code","cli","provider","switch"],"license":"MIT","_id":"@ben1849/claude-switch@0.6.1","maintainers":[{"name":"cheng-pang","email":"pangcheng33@gmail.com"}],"homepage":"https://github.com/Ben2pc/claude-switch#readme","bugs":{"url":"https://github.com/Ben2pc/claude-switch/issues"},"bin":{"claude-switch":"dist/index.js"},"dist":{"shasum":"9750f40bb0364f6662dd331f7273854c23297404","tarball":"https://registry.npmjs.org/@ben1849/claude-switch/-/claude-switch-0.6.1.tgz","fileCount":21,"integrity":"sha512-TgUSwX6JXjLaFcSIMGwtG4wcqx9dagLreuPwQM7/l416FYgyX2qLG/QhW9FR6pEVakh064PJ7Uy4Nf9nDTkhxw==","signatures":[{"sig":"MEUCIQC1ReuM8Us2kbTybqI7uwxgGzPQYMrf3cYJO13Q1/xL1QIgH+teXMiC+6Zg99UqKimJxdVqRYguy3IQ4ij2yKra0wE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ben1849%2fclaude-switch@0.6.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":87878},"type":"module","engines":{"node":">=18"},"gitHead":"ef5e498466260611ab836b6d7fb785480875d8d4","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","start":"node dist/index.js","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:83dc6008-b02e-487d-b388-0153e9f2c74c"}},"repository":{"url":"git+https://github.com/Ben2pc/claude-switch.git","type":"git"},"_npmVersion":"11.11.0","description":"Interactive CLI tool to switch Claude Code Model API providers","directories":{},"_nodeVersion":"24.14.1","dependencies":{"@inquirer/prompts":"^8.3.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.2","typescript":"^6.0.2","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/claude-switch_0.6.1_1776839425149_0.29931768385729685","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@ben1849/claude-switch","version":"0.7.0","description":"Interactive CLI tool to switch Claude Code Model API providers","type":"module","bin":{"claude-switch":"dist/index.js"},"scripts":{"build":"tsc","dev":"tsc --watch","start":"node dist/index.js","test":"vitest run","test:watch":"vitest"},"keywords":["claude","claude-code","cli","provider","switch"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Ben2pc/claude-switch.git"},"publishConfig":{"access":"public"},"engines":{"node":">=18"},"dependencies":{"@inquirer/prompts":"^8.3.2"},"devDependencies":{"@types/node":"^25.5.0","typescript":"^6.0.2","vitest":"^4.1.2"},"gitHead":"ce25c8c064bc6c9618cc8945035a54285c8d6c7b","_id":"@ben1849/claude-switch@0.7.0","bugs":{"url":"https://github.com/Ben2pc/claude-switch/issues"},"homepage":"https://github.com/Ben2pc/claude-switch#readme","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-A4naF82bI0Q6WowQbr/0lH1JPf8N79uyFKaq0APjqOlYBZbZJAWhFuWZAroeQZw6aU6JXOc5ylToPIewekwZiA==","shasum":"cbbc11a370c99b73e1ceaf745fb662219f16e149","tarball":"https://registry.npmjs.org/@ben1849/claude-switch/-/claude-switch-0.7.0.tgz","fileCount":21,"unpackedSize":89708,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ben1849%2fclaude-switch@0.7.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDqtPR56T8eZmeXx/3wmg8j2BibNEOHmoW4w1nl0PoftAIgBGGBIRm9UVcvhbaYem1R+ogeRZO6tXAUQXHqn3bd5Ws="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:83dc6008-b02e-487d-b388-0153e9f2c74c"}},"directories":{},"maintainers":[{"name":"cheng-pang","email":"pangcheng33@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/claude-switch_0.7.0_1777889364081_0.9232881248651639"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-03T11:42:30.513Z","modified":"2026-05-04T10:09:24.501Z","0.2.0":"2026-04-03T11:42:30.736Z","0.2.1":"2026-04-03T11:47:45.559Z","0.3.0":"2026-04-09T09:45:20.402Z","0.4.0":"2026-04-10T13:03:28.848Z","0.5.0":"2026-04-22T04:12:21.319Z","0.5.1":"2026-04-22T04:17:42.108Z","0.6.0":"2026-04-22T05:33:41.211Z","0.6.1":"2026-04-22T06:30:25.357Z","0.7.0":"2026-05-04T10:09:24.231Z"},"bugs":{"url":"https://github.com/Ben2pc/claude-switch/issues"},"license":"MIT","homepage":"https://github.com/Ben2pc/claude-switch#readme","keywords":["claude","claude-code","cli","provider","switch"],"repository":{"type":"git","url":"git+https://github.com/Ben2pc/claude-switch.git"},"description":"Interactive CLI tool to switch Claude Code Model API providers","maintainers":[{"name":"cheng-pang","email":"pangcheng33@gmail.com"}],"readme":"# claude-switch\n\nInteractive TUI tool to switch [Claude Code](https://docs.anthropic.com/en/docs/claude-code) between API providers.\n\n```\n? Select Provider (ESC to quit)\n❯ Claude (Native)  ● active\n  Volcano Ark      ○ not configured\n  Zhipu (CN)       ✔ configured\n  MiniMax (CN)     ○ not configured\n  Kimi (CN)        ○ not configured\n  DeepSeek (CN)     ○ not configured\n```\n\n## Features\n\n- Switch Claude Code between multiple API providers with one command\n- Per-provider API key management (configure / reconfigure / remove)\n- MCP Server management — enable/disable MCP servers across providers\n- Model descriptions for Ark models (from official documentation)\n- Native env backup & restore when switching away from Claude\n- Shell env override detection (`ANTHROPIC_AUTH_TOKEN`, `ANTHROPIC_API_KEY`, `ANTHROPIC_BASE_URL`)\n- ESC key navigation at every menu level\n- File-based logging with API key redaction\n\n## Supported Providers\n\n| Provider | Models |\n|---|---|\n| **Claude (Native)** | Default Anthropic API |\n| **Volcano Ark** | doubao-seed-2.0-code, doubao-seed-2.0-pro, doubao-seed-2.0-lite, doubao-seed-code, minimax-m2.7, glm-5.1, deepseek-v3.2, kimi-k2.6, ark-code-latest |\n| **Zhipu (CN)** | GLM-5.1, GLM-5-Turbo, GLM-5 |\n| **MiniMax (CN)** | MiniMax-M2.7 |\n| **Kimi (CN)** | kimi-for-coding |\n| **DeepSeek (CN)** | deepseek-v4-pro[1m], deepseek-v4-flash |\n\n## Usage\n\n### Interactive (TUI)\n\n```bash\nclaude-switch\n```\n\n### Quick Switch (CLI)\n\n```bash\nclaude-switch <provider> [model]\n```\n\nExamples:\n\n```bash\nclaude-switch ark                        # Ark, default model\nclaude-switch ark kimi-k2.6              # Ark + specific model\nclaude-switch deepseek                   # DeepSeek, default V4 Pro\nclaude-switch deepseek deepseek-v4-flash # DeepSeek + Flash\nclaude-switch claude                     # Back to Claude Native\nclaude-switch list                       # List all providers\n```\n\n## Install\n\n```bash\nnpm install -g @ben1849/claude-switch\n```\n\n## How It Works\n\nclaude-switch writes provider-specific environment variables to `~/.claude/settings.json` (the `env` field). After switching, restart Claude Code to apply changes.\n\n**Config** is stored at `~/.claude-switch/config.json` (API keys, native env backup).\n\n**Logs** are written to `~/.claude-switch/logs/YYYY-MM-DD.log` with daily rotation and sensitive data redacted.\n\n## Built-in Tool Compatibility\n\nClaude Code has server-side tools (Web Search, Web Fetch, etc.) that rely on Anthropic's infrastructure. When using a third-party provider, these tools may be unavailable or behave differently.\n\n> **Important:** After switching providers, always start a **new Claude Code session**. Reusing the previous session may cause API errors due to tool or parameter incompatibility between providers.\n\n## MCP Server Management\n\nUse the `⚙ Manage MCP Servers` entry in the main menu to enable/disable MCP servers. MCPs are independent of providers — you can use Zhipu's MCP servers while running on Ark's model, as long as you have the corresponding API key configured.\n\n| MCP Server | Provider | Type | Description |\n|---|---|---|---|\n| zai-mcp-server | Zhipu | stdio/npx | Image analysis, video understanding, OCR |\n| web-search-prime | Zhipu | http | Web search |\n| web-reader | Zhipu | http | Web page reading |\n| zread | Zhipu | http | GitHub repo exploration |\n| MiniMax | MiniMax | stdio/uvx | Web search + image understanding |\n\n> Zhipu MCPs: Provider already includes these capabilities via API. MCPs serve as fallback.\n> MiniMax MCP: Requires [uvx](https://github.com/astral-sh/uv) installed.\n\n## Development\n\n```bash\nnpm install\nnpm run build\nnpm start\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}