{"versions":{"1.0.0":{"name":"@hobeeliu/cc-switch","version":"1.0.0","description":"Claude Code configuration switcher - manage and switch between different Claude Code configurations","main":"index.js","bin":{"cc-switch":"bin/cc-switch"},"scripts":{"postinstall":"node scripts/install.js","build":"npm run build:go","build:go":"bash scripts/build.sh","test":"go test ./...","clean":"rm -rf bin/"},"keywords":["claude","claude-code","configuration","switcher","cli","tool"],"author":{"name":"hobee"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/hobee/cc-switch.git"},"homepage":"https://github.com/hobee/cc-switch#readme","bugs":{"url":"https://github.com/hobee/cc-switch/issues"},"os":["darwin","linux","win32"],"cpu":["x64","arm64"],"engines":{"node":">=14.0.0"},"_id":"@hobeeliu/cc-switch@1.0.0","gitHead":"eabd1b853b7c3a42dbb58faa559daad08b8102d0","_nodeVersion":"22.2.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-s8bA4BmFyx/ev936BJg4qkMYlD6BxTlfzcZR/RKMu99wSnwd/aXfTx7jhQ4+xoBwNpV9hhyTxbgpyyc36TOPrw==","shasum":"92c889c147cb0b201bf87f0725da5cdbad0c6fd5","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hobeeliu/cc-switch/-/cc-switch-1.0.0.tgz","fileCount":13,"unpackedSize":59587882,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCWrmXBahZjeJL+DTUFvORIt7bT2oEiQuHPIzmeBpYp8wIgYIItP2Qi8MNwuOlIzxw7wOHus/pTXa3W2Lnv6ggO9bo="}],"size":23302743},"_npmUser":{"name":"anonymous","email":"Hobee.Liu@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"Hobee.Liu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cc-switch_1.0.0_1757609618156_0.9610741959182039"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-11T16:53:38.685Z","publish_time":1757609618685,"_source_registry_name":"default","hasInstallScript":true,"contributors":[]},"1.0.1":{"name":"@hobeeliu/cc-switch","version":"1.0.1","description":"Claude Code configuration switcher - manage and switch between different Claude Code configurations","main":"index.js","bin":{"cc-switch":"bin/cc-switch"},"scripts":{"postinstall":"node scripts/install.js","build":"npm run build:go","build:go":"bash scripts/build.sh","test":"go test ./...","clean":"rm -rf bin/"},"keywords":["claude","claude-code","configuration","switcher","cli","tool"],"author":{"name":"Hobee Liu"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/HoBeedzc/cc-switch.git"},"homepage":"https://github.com/HoBeedzc/cc-switch#readme","bugs":{"url":"https://github.com/HoBeedzc/cc-switch/issues"},"os":["darwin","linux","win32"],"cpu":["x64","arm64"],"_id":"@hobeeliu/cc-switch@1.0.1","gitHead":"0e30a29245faa724edcabc7b297e41ca5fd3366d","_nodeVersion":"22.2.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-wRAjkUYOOD1UcX/EPPi9I1iEzoB7yZhaqGS3/aczxh0cXflkvpkhHVaRBeLcSpHJZhLcOJJbxDaoo7Io3x9MDQ==","shasum":"567f54e09c64fef5d6d37f9b83f9045abb192f32","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hobeeliu/cc-switch/-/cc-switch-1.0.1.tgz","fileCount":13,"unpackedSize":59587873,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHktYhYOyGjwGVxkWTiVbn1CGu48ajtwHKV8x4PQh0XyAiEAwj5oC+vllLXKkEbGvT4VsETduukqVudw5DRvvY3EIbE="}],"size":23302709},"_npmUser":{"name":"anonymous","email":"Hobee.Liu@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"Hobee.Liu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cc-switch_1.0.1_1757640683534_0.8086971689876841"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-12T01:31:24.048Z","publish_time":1757640684048,"_source_registry_name":"default","hasInstallScript":true,"contributors":[]},"1.0.5":{"name":"@hobeeliu/cc-switch","version":"1.0.5","description":"Claude Code configuration switcher - manage and switch between different Claude Code configurations","main":"index.js","bin":{"cc-switch":"bin/cc-switch.js"},"scripts":{"postinstall":"node scripts/install.js","build":"npm run build:go","build:go":"bash scripts/build.sh","test":"go test ./...","clean":"rm -rf bin/"},"keywords":["claude","claude-code","configuration","switcher","cli","tool"],"author":{"name":"Hobee Liu"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/HoBeedzc/cc-switch.git"},"homepage":"https://github.com/HoBeedzc/cc-switch#readme","bugs":{"url":"https://github.com/HoBeedzc/cc-switch/issues"},"os":["darwin","linux","win32"],"cpu":["x64","arm64"],"_id":"@hobeeliu/cc-switch@1.0.5","gitHead":"befd178fa045f8baf990102cc68620c95c162982","_nodeVersion":"18.20.8","_npmVersion":"10.8.2","dist":{"integrity":"sha512-MnObxAS1LUYm0WEdZHHPgYQiz9mnntqc4fAy7dxUzwvKP/XarrHI22UUxLLXkOS+SbP0Pmpd2sjyW7BVFOWWUQ==","shasum":"d0583d4132392ed56ca4d802451bdc05f15c6fd0","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hobeeliu/cc-switch/-/cc-switch-1.0.5.tgz","fileCount":24,"unpackedSize":148458458,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDGZT+ENdLnL+n6MmeMQpumdH9Xmsk4qmOFUPnAY9Q7zAIhAKD3uThZ25ynV2y4wT+BAFoYgyHyOgzw6plXP7+8FDQi"}],"size":101491213},"_npmUser":{"name":"anonymous","email":"Hobee.Liu@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"Hobee.Liu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cc-switch_1.0.5_1757672003951_0.8534927579705067"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-12T10:13:25.341Z","publish_time":1757672005341,"_source_registry_name":"default","hasInstallScript":true,"contributors":[]},"1.0.14":{"name":"@hobeeliu/cc-switch","version":"1.0.14","description":"Claude Code configuration switcher - manage and switch between different Claude Code configurations","bin":{"cc-switch":"bin/cc-switch.js"},"scripts":{"postinstall":"node scripts/postinstall.js"},"optionalDependencies":{"@hobeeliu/cc-switch-darwin-x64":"1.0.14","@hobeeliu/cc-switch-darwin-arm64":"1.0.14","@hobeeliu/cc-switch-linux-x64":"1.0.14","@hobeeliu/cc-switch-linux-arm64":"1.0.14","@hobeeliu/cc-switch-win32-x64":"1.0.14"},"repository":{"type":"git","url":"git+https://github.com/HoBeedzc/cc-switch.git"},"keywords":["claude","claude-code","configuration","switcher","cli"],"author":{"name":"Hobee Liu"},"license":"MIT","engines":{"node":">=14.0.0"},"homepage":"https://github.com/HoBeedzc/cc-switch#readme","bugs":{"url":"https://github.com/HoBeedzc/cc-switch/issues"},"_id":"@hobeeliu/cc-switch@1.0.14","gitHead":"a738cf66a17bc8296f052b9d28ec2456c83d17b5","_nodeVersion":"18.20.8","_npmVersion":"10.8.2","dist":{"integrity":"sha512-f4IiXbCfJUx83qYh8sGajfooeibE0yClkpmCbxkaiyYXQg6o9SA2txIrFs61udTDFTXKE83r1DWbuifGbWHxHw==","shasum":"efa191af0e836c7c5654c9633c6daeb2e9d866b7","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hobeeliu/cc-switch/-/cc-switch-1.0.14.tgz","fileCount":3,"unpackedSize":7828,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDzXSrd2zE5Xm/R0hDKw0wNeGfgKtdqw7L7HYRGtQ4b5wIhAIFeNuMlJEuw/2X+cgk8c6jn98ixSV6Bifhx979yG6t0"}],"size":2616},"_npmUser":{"name":"anonymous","email":"Hobee.Liu@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"Hobee.Liu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cc-switch_1.0.14_1760020240879_0.7182544959868526"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-09T14:30:41.056Z","publish_time":1760020241056,"_source_registry_name":"default","hasInstallScript":true,"contributors":[]},"1.0.15":{"name":"@hobeeliu/cc-switch","version":"1.0.15","description":"Claude Code configuration switcher - manage and switch between different Claude Code configurations","bin":{"cc-switch":"bin/cc-switch.js"},"scripts":{"postinstall":"node scripts/postinstall.js"},"optionalDependencies":{"@hobeeliu/cc-switch-darwin-x64":"1.0.15","@hobeeliu/cc-switch-darwin-arm64":"1.0.15","@hobeeliu/cc-switch-linux-x64":"1.0.15","@hobeeliu/cc-switch-linux-arm64":"1.0.15","@hobeeliu/cc-switch-win32-x64":"1.0.15"},"repository":{"type":"git","url":"git+https://github.com/HoBeedzc/cc-switch.git"},"keywords":["claude","claude-code","configuration","switcher","cli"],"author":{"name":"Hobee Liu"},"license":"MIT","engines":{"node":">=14.0.0"},"homepage":"https://github.com/HoBeedzc/cc-switch#readme","bugs":{"url":"https://github.com/HoBeedzc/cc-switch/issues"},"_id":"@hobeeliu/cc-switch@1.0.15","gitHead":"6fddd0dc57474456f695fa260be728f685d04c31","_nodeVersion":"18.20.8","_npmVersion":"10.8.2","dist":{"integrity":"sha512-ZOBbnp2UorGVasiDVWPsQevCJhm1DxSluqoT1jKyUZf164yLcxE1XU1P/UEoFway2UQtxvYB2DHzSAildWA7SQ==","shasum":"961208682586a246d8da21db78a7c39257884d03","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hobeeliu/cc-switch/-/cc-switch-1.0.15.tgz","fileCount":5,"unpackedSize":42122,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHzfqPoZMo4x5o6AO9ffRApeJ2NF2rtZR2w4nF5eDlWHAiEA5fZLAHKdWGu8S6NPghlBUr9KcIu/k+8Yh0fNmR+g0vE="}],"size":12590},"_npmUser":{"name":"anonymous","email":"Hobee.Liu@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"Hobee.Liu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cc-switch_1.0.15_1760113225600_0.5447614854839185"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-10T16:20:25.795Z","publish_time":1760113225795,"_source_registry_name":"default","hasInstallScript":true,"contributors":[]},"1.0.16":{"name":"@hobeeliu/cc-switch","version":"1.0.16","description":"Claude Code configuration switcher - manage and switch between different Claude Code configurations","bin":{"cc-switch":"bin/cc-switch.js"},"scripts":{"postinstall":"node scripts/postinstall.js"},"optionalDependencies":{"@hobeeliu/cc-switch-darwin-x64":"1.0.16","@hobeeliu/cc-switch-darwin-arm64":"1.0.16","@hobeeliu/cc-switch-linux-x64":"1.0.16","@hobeeliu/cc-switch-linux-arm64":"1.0.16","@hobeeliu/cc-switch-win32-x64":"1.0.16"},"repository":{"type":"git","url":"git+https://github.com/HoBeedzc/cc-switch.git"},"keywords":["claude","claude-code","configuration","switcher","cli"],"author":{"name":"Hobee Liu"},"license":"MIT","engines":{"node":">=14.0.0"},"homepage":"https://github.com/HoBeedzc/cc-switch#readme","bugs":{"url":"https://github.com/HoBeedzc/cc-switch/issues"},"_id":"@hobeeliu/cc-switch@1.0.16","gitHead":"98d4f348f6e9a7e9a6244c22c32ae7ede828c822","_nodeVersion":"18.20.8","_npmVersion":"10.8.2","dist":{"integrity":"sha512-a3Zzeu6yGWVjURv+/nsRDXQQ2G085xVb3mI/xIsSQNM+wxaZdekodUJhPhIYja2IOvqHukKNoLdRV8lAWTjr3w==","shasum":"39899854d3d4d8c6f7018488a6817c261bfd8310","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hobeeliu/cc-switch/-/cc-switch-1.0.16.tgz","fileCount":5,"unpackedSize":42122,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIF32CbpJOf0/Bu+Ky6yxSOI+prFfg2j+w0NB/PsfFZ7tAiEAjO6QY09WRzdhuDrhkLTSr7ckUm8V0F8OLager8YboTs="}],"size":12590},"_npmUser":{"name":"anonymous","email":"Hobee.Liu@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"Hobee.Liu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cc-switch_1.0.16_1760796673753_0.6084148274182561"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-18T14:11:13.962Z","publish_time":1760796673962,"_source_registry_name":"default","hasInstallScript":true,"contributors":[]},"1.0.17":{"name":"@hobeeliu/cc-switch","version":"1.0.17","description":"Claude Code configuration switcher - manage and switch between different Claude Code configurations","bin":{"cc-switch":"bin/cc-switch.js"},"scripts":{"postinstall":"node scripts/postinstall.js"},"optionalDependencies":{"@hobeeliu/cc-switch-darwin-x64":"1.0.17","@hobeeliu/cc-switch-darwin-arm64":"1.0.17","@hobeeliu/cc-switch-linux-x64":"1.0.17","@hobeeliu/cc-switch-linux-arm64":"1.0.17","@hobeeliu/cc-switch-win32-x64":"1.0.17"},"repository":{"type":"git","url":"git+https://github.com/HoBeedzc/cc-switch.git"},"keywords":["claude","claude-code","configuration","switcher","cli"],"author":{"name":"Hobee Liu"},"license":"MIT","engines":{"node":">=14.0.0"},"homepage":"https://github.com/HoBeedzc/cc-switch#readme","bugs":{"url":"https://github.com/HoBeedzc/cc-switch/issues"},"_id":"@hobeeliu/cc-switch@1.0.17","gitHead":"3298dc82f23d0e2c2afe1cef3c61b41a339b6391","_nodeVersion":"18.20.8","_npmVersion":"10.8.2","dist":{"integrity":"sha512-5X7m8YzFuvDwVQa7gAOCUyEXzOyuJTlAosH5zVkqAdfojuuKG8ED2Jjp/G0q+NAU48EwawihN82IQ8dF29KcEw==","shasum":"b9096fac7c098e1c6cb06ffe1209ab8eccf2374f","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hobeeliu/cc-switch/-/cc-switch-1.0.17.tgz","fileCount":5,"unpackedSize":42122,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGLcNRmW+IFUwwGmsP5Z9lCLZhN8+UrF8UKYTKKoa665AiEAq+xliyIh5NBRcGidua5ejHMt56QbWBp1hDWhwwkC8f0="}],"size":12591},"_npmUser":{"name":"anonymous","email":"Hobee.Liu@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"Hobee.Liu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cc-switch_1.0.17_1760800637852_0.06425505238688323"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-18T15:17:18.051Z","publish_time":1760800638051,"_source_registry_name":"default","hasInstallScript":true,"contributors":[]},"1.0.18":{"name":"@hobeeliu/cc-switch","version":"1.0.18","description":"Claude Code configuration switcher - manage and switch between different Claude Code configurations","bin":{"cc-switch":"bin/cc-switch.js"},"scripts":{"postinstall":"node scripts/postinstall.js"},"optionalDependencies":{"@hobeeliu/cc-switch-darwin-x64":"1.0.18","@hobeeliu/cc-switch-darwin-arm64":"1.0.18","@hobeeliu/cc-switch-linux-x64":"1.0.18","@hobeeliu/cc-switch-linux-arm64":"1.0.18","@hobeeliu/cc-switch-win32-x64":"1.0.18"},"repository":{"type":"git","url":"git+https://github.com/HoBeedzc/cc-switch.git"},"keywords":["claude","claude-code","configuration","switcher","cli"],"author":{"name":"Hobee Liu"},"license":"MIT","engines":{"node":">=14.0.0"},"homepage":"https://github.com/HoBeedzc/cc-switch#readme","bugs":{"url":"https://github.com/HoBeedzc/cc-switch/issues"},"_id":"@hobeeliu/cc-switch@1.0.18","gitHead":"17e9242f096d6ce187f4cd1b566a5d17f49db3cc","_nodeVersion":"18.20.8","_npmVersion":"10.8.2","dist":{"integrity":"sha512-ygtKKuK7P5fZtSsk7anS/x6rfn6IwGR/NjX1H6awrhVhwvnYzyStQ+giO6n/Lw2aOpiT4TbuZjOiUhsdTEbxdQ==","shasum":"ff460703bb8c0a6ed086654416124d5d23848b2b","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hobeeliu/cc-switch/-/cc-switch-1.0.18.tgz","fileCount":5,"unpackedSize":43161,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDym+pyJwWOgnVS3ekHR3aO6djbAdiF0gaeh4Y2LvxZHAiEA8Y3yizAUZ8nRJdquiUul3DHO09zVAX5K0OR3sC4LI9s="}],"size":13040},"_npmUser":{"name":"anonymous","email":"Hobee.Liu@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"Hobee.Liu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cc-switch_1.0.18_1761709418048_0.06562271760479277"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-29T03:43:38.243Z","publish_time":1761709418243,"_source_registry_name":"default","hasInstallScript":true,"contributors":[]},"1.1.0":{"name":"@hobeeliu/cc-switch","version":"1.1.0","description":"Claude Code configuration switcher - manage and switch between different Claude Code configurations","bin":{"cc-switch":"bin/cc-switch.js"},"scripts":{"postinstall":"node scripts/postinstall.js","preuninstall":"node scripts/preuninstall.js"},"optionalDependencies":{"@hobeeliu/cc-switch-darwin-x64":"1.1.0","@hobeeliu/cc-switch-darwin-arm64":"1.1.0","@hobeeliu/cc-switch-linux-x64":"1.1.0","@hobeeliu/cc-switch-linux-arm64":"1.1.0","@hobeeliu/cc-switch-win32-x64":"1.1.0"},"repository":{"type":"git","url":"git+https://github.com/HoBeedzc/cc-switch.git"},"keywords":["claude","claude-code","configuration","switcher","cli"],"author":{"name":"Hobee Liu"},"license":"MIT","engines":{"node":">=14.0.0"},"homepage":"https://github.com/HoBeedzc/cc-switch#readme","bugs":{"url":"https://github.com/HoBeedzc/cc-switch/issues"},"_id":"@hobeeliu/cc-switch@1.1.0","gitHead":"d323c75768e29936dac9d932d2ae18da5418647b","_nodeVersion":"18.20.8","_npmVersion":"10.8.2","dist":{"integrity":"sha512-ddAXN+99vG36ToojJ3G5esZjTQRmtpkRV445qGRX5f1Bdt30uYwQJwkgUlf8uIv+tRcawTXc6XT7MwaRGVj9ZA==","shasum":"60f1b21e9874129dd0f0790c596db0b3e212261c","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hobeeliu/cc-switch/-/cc-switch-1.1.0.tgz","fileCount":6,"unpackedSize":49506,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDdwQ4dKQbBpcHh5nfsjpaH/P7mjYeAjt0Ex6soy6sRVQIgGFRMhBF7TkEsCkNjRhI493Ir/9ogYxL96rsYQ4fMbbQ="}],"size":14625},"_npmUser":{"name":"anonymous","email":"Hobee.Liu@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"Hobee.Liu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cc-switch_1.1.0_1764168964834_0.9935353446720843"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-26T14:56:05.101Z","publish_time":1764168965101,"_source_registry_name":"default","hasInstallScript":true,"contributors":[]},"1.1.1":{"name":"@hobeeliu/cc-switch","version":"1.1.1","description":"Claude Code configuration switcher - manage and switch between different Claude Code configurations","bin":{"cc-switch":"bin/cc-switch.js"},"scripts":{"postinstall":"node scripts/postinstall.js","preuninstall":"node scripts/preuninstall.js"},"optionalDependencies":{"@hobeeliu/cc-switch-darwin-x64":"1.1.1","@hobeeliu/cc-switch-darwin-arm64":"1.1.1","@hobeeliu/cc-switch-linux-x64":"1.1.1","@hobeeliu/cc-switch-linux-arm64":"1.1.1","@hobeeliu/cc-switch-win32-x64":"1.1.1"},"repository":{"type":"git","url":"git+https://github.com/HoBeedzc/cc-switch.git"},"keywords":["claude","claude-code","configuration","switcher","cli"],"author":{"name":"Hobee Liu"},"license":"MIT","engines":{"node":">=14.0.0"},"homepage":"https://github.com/HoBeedzc/cc-switch#readme","bugs":{"url":"https://github.com/HoBeedzc/cc-switch/issues"},"_id":"@hobeeliu/cc-switch@1.1.1","gitHead":"ce79494352686315e3d9eeedb113091c547e6699","_nodeVersion":"18.20.8","_npmVersion":"10.8.2","dist":{"integrity":"sha512-lUGv9qH0+gneGjonKlhPpN+VTIL2DQHz6cdkQihVWznRxiQuDbZEfptjg4Y2OQNAtIQX29ZkQGJO1dS6VZTZvA==","shasum":"785065db3a5bc77ff4a4a172f0c533eafe665d70","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hobeeliu/cc-switch/-/cc-switch-1.1.1.tgz","fileCount":6,"unpackedSize":49506,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDmlF+jH8iIkgvrwOcoCaIrQSjQLh16JhMzdfjPCmfrXgIgT8yhZZb6Tg2NL/XvsqQL51L6S5ygXQSdNX4HGShd/q0="}],"size":14627},"_npmUser":{"name":"anonymous","email":"Hobee.Liu@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"Hobee.Liu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cc-switch_1.1.1_1764214004346_0.9053716407018262"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-27T03:26:44.552Z","publish_time":1764214004552,"_source_registry_name":"default","hasInstallScript":true,"contributors":[]}},"dist-tags":{"latest":"1.1.1"},"name":"@hobeeliu/cc-switch","time":{"created":"2025-09-11T16:53:57.822Z","modified":"2025-11-27T03:27:00.378Z","1.0.0":"2025-09-11T16:53:38.685Z","1.0.1":"2025-09-12T01:31:24.048Z","1.0.5":"2025-09-12T10:13:25.341Z","1.0.14":"2025-10-09T14:30:41.056Z","1.0.15":"2025-10-10T16:20:25.795Z","1.0.16":"2025-10-18T14:11:13.962Z","1.0.17":"2025-10-18T15:17:18.051Z","1.0.18":"2025-10-29T03:43:38.243Z","1.1.0":"2025-11-26T14:56:05.101Z","1.1.1":"2025-11-27T03:26:44.552Z"},"readme":"# Claude Code Configuration Switcher\n\n[English](README.md) | [中文](README.zh.md)\n\nA command-line tool for managing and switching between different Claude Code configurations.\n\n---\n\n### Installation\n\nInstall globally via npm:\n\n```bash\nnpm install -g @hobeeliu/cc-switch\n```\n\n### Usage\n\n#### List Configurations\n```bash\ncc-switch list\n```\nShows all available configurations with the current one highlighted.\n\n#### Initialize Configuration (First Time Setup)\n```bash\ncc-switch init\n```\nInitialize Claude Code configuration with interactive setup. Prompts for API token and base URL.\n\n#### Create New Configuration\n```bash\n# Create from default template\ncc-switch new <name>\n\n# Create from specific template\ncc-switch new <name> -t <template>\ncc-switch new <name> --template <template>\n\n# Interactive template creation (fills template fields interactively)\ncc-switch new <name> -i\ncc-switch new <name> --interactive\n\n# Create and switch immediately after creation\ncc-switch new <name> -u\ncc-switch new <name> --use\n```\nCreates a new configuration using template structure. The default template provides a basic structure, and interactive mode allows you to fill in template fields with guided prompts. Use `--use` to automatically switch to the newly created configuration.\n\n#### Switch Configuration\n```bash\n# Switch to specific configuration\ncc-switch use <name>\n\n# Launch Claude Code CLI after switching\ncc-switch use <name> -l\ncc-switch use <name> --launch\n```\nSwitches to the specified configuration. Use the `--launch` flag to automatically start Claude Code CLI after switching.\n\n#### Switch to Previous Configuration\n```bash\ncc-switch use --previous\n# or\ncc-switch use -p\n```\nSwitches to the previously used configuration.\n\n#### Empty Mode (Temporary Configuration Removal)\n```bash\ncc-switch use --empty\n# or\ncc-switch use -e\n```\nTemporarily removes all Claude Code configurations (empty mode). This is useful when you want to disable Claude Code temporarily without losing your saved configurations.\n\n#### Restore from Empty Mode\n```bash\ncc-switch use --restore\n```\nRestores from empty mode to the previous configuration that was active before entering empty mode.\n\n#### Refresh Current Configuration\n```bash\ncc-switch use --refresh\n# or\ncc-switch use -f\n```\nRefreshes the current configuration by re-applying it. This is useful after manually editing configuration files to ensure changes are properly applied.\n\n#### Interactive Mode\n```bash\ncc-switch use\n# or\ncc-switch use -i\n```\nEnters interactive mode where you can select configurations using arrow keys. In interactive mode, you can also select special options like \"Empty Mode\" or \"Restore Previous\".\n\n#### Delete Configuration\n```bash\n# Delete specific configuration\ncc-switch rm <name>\n\n# Interactive deletion mode\ncc-switch rm\ncc-switch rm -i\n\n# Delete current configuration and enter empty mode\ncc-switch rm -c\ncc-switch rm --current\n\n# Delete all configurations (requires manual confirmation)\ncc-switch rm -a\ncc-switch rm --all\n\n# Skip confirmation prompts\ncc-switch rm <name> -y\ncc-switch rm <name> --yes\n```\nDeletes configurations with various options. Cannot delete currently active configuration unless using `--current` flag. The `--all` flag requires typing \"DELETE ALL\" for safety.\n\n#### Copy Configuration\n```bash\ncc-switch cp <source> <destination>\n```\nCreates a copy of an existing configuration with a new name. Original configuration remains unchanged.\n\n#### Move (Rename) Configuration\n```bash\ncc-switch mv <old-name> <new-name>\n```\nRenames an existing configuration. If currently active, the marker will be updated automatically.\n\n#### Export Configurations\n```bash\n# Export specific profile\ncc-switch export <profile-name> -o backup.ccx\n\n# Export all profiles\ncc-switch export --all -o all-configs.ccx\n\n# Export current profile\ncc-switch export --current -o current.ccx\n```\nExport configurations to encrypted backup files (.ccx format). Supports optional password protection.\n\n#### Import Configurations\n```bash\n# Import from backup file\ncc-switch import backup.ccx\n\n# Import with overwrite existing profiles\ncc-switch import backup.ccx --conflict=overwrite\n\n# Import and skip conflicting profiles\ncc-switch import backup.ccx --conflict=skip\n\n# Import and rename conflicting profiles (default)\ncc-switch import backup.ccx --conflict=both\n\n# Preview import without making changes\ncc-switch import backup.ccx --dry-run\n\n# Provide decryption password via flag (or enter interactively)\ncc-switch import backup.ccx -p <password>\n```\nImport configurations from encrypted backup files. Supports conflict resolution modes, dry-run, and encrypted archives.\n\n#### Test Configuration Connectivity\n```bash\n# Test specific configuration\ncc-switch test <profile-name>\n\n# Test current configuration\ncc-switch test --current\n\n# Test all configurations\ncc-switch test --all\n\n# Quick connectivity test\ncc-switch test --quick\n\n# Retry on failure\ncc-switch test -r 5                 # Retry up to 5 times\ncc-switch test -r -1                # Retry infinitely until success\ncc-switch test -r 3 --retry-interval 5s  # Retry 3 times with 5s interval\n```\nTest Claude Code API connectivity and authentication for configurations.\n\n#### Web Interface\n```bash\n# Launch web interface with default settings\ncc-switch web\n\n# Launch on custom port\ncc-switch web --port 8080\n\n# Launch on custom host and port\ncc-switch web --host 0.0.0.0 --port 8080\n\n# Open browser automatically after starting\ncc-switch web --open\n\n# Suppress startup messages\ncc-switch web --quiet\n```\nLaunch a modern browser-based interface for managing configurations at http://localhost:13501 (or custom host:port).\n\n**Web Interface Features:**\n- **Profile Management**: Create, edit, delete, and switch between configuration profiles\n- **Template Management**: Full template CRUD operations with security validation\n- **Live Configuration Editing**: Edit configurations directly in the browser with JSON validation\n- **API Connectivity Testing**: Test Claude Code API connections for all or specific profiles\n- **Real-time Status**: View current active configuration and system status\n- **Responsive Design**: Modern, mobile-friendly interface with intuitive navigation\n- **Security Features**: Path traversal protection, input validation, and secure operations\n\n#### Template Management\n```bash\n# List available templates\ncc-switch list -t\ncc-switch list --template\n\n# Delete a template (interactive mode)\ncc-switch rm -t\ncc-switch rm --template\n\n# Delete specific template\ncc-switch rm -t <template-name>\n\n# Copy template\ncc-switch cp -t <source-template> <dest-template>\n\n# Move (rename) template\ncc-switch mv -t <old-template> <new-template>\n\n# View template content\ncc-switch view -t <template-name>\n\n# Edit template\ncc-switch edit -t <template-name>\n```\nTemplates provide pre-configured structures for creating new configurations. The default template cannot be deleted for system safety.\n\n#### Show Current Configuration\n```bash\ncc-switch current\n```\nDisplays the name of the currently active configuration.\n\n#### Update cc-switch\n```bash\n# Check for updates and prompt for confirmation\ncc-switch update\n\n# Automatically update without prompting\ncc-switch update -y\ncc-switch update --yes\n\n# Only check for updates, don't update\ncc-switch update -c\ncc-switch update --check\n```\nCheck for new versions and update cc-switch to the latest version. The tool automatically checks for updates once every 24 hours in the background and displays a notice if a new version is available.\n\n### Examples\n\n```bash\n# Initialize configuration (first time setup)\ncc-switch init\n\n# List all configurations\ncc-switch list\n\n# List all templates\ncc-switch list -t\n\n# Create a work configuration from default template\ncc-switch new work\n\n# Create configuration from specific template\ncc-switch new personal -t company-template\n\n# Create configuration with interactive template filling\ncc-switch new dev-env -i\n\n# Create and switch immediately after creation\ncc-switch new staging -u\n\n# Switch to work configuration\ncc-switch use work\n\n# Switch and launch Claude Code CLI\ncc-switch use work --launch\n\n# Switch to previous configuration\ncc-switch use --previous\n\n# Copy configuration for backup\ncc-switch cp work work-backup\n\n# Rename configuration\ncc-switch mv work-backup work-v2\n\n# Test current configuration\ncc-switch test --current\n\n# Export all configurations\ncc-switch export --all -o backup.ccx\n\n# Import configurations\ncc-switch import backup.ccx\n\n# Launch web interface\ncc-switch web\n\n# Launch web interface with automatic browser opening\ncc-switch web --open\n\n# Launch web interface on custom port with quiet mode\ncc-switch web --port 8080 --quiet\n\n# Enter empty mode (disable all configurations temporarily)\ncc-switch use --empty\n\n# Check status in empty mode\ncc-switch current\n\n# Restore from empty mode\ncc-switch use --restore\n\n# Use interactive mode for selection\ncc-switch use\n\n# Refresh current configuration after manual edits\ncc-switch use --refresh\n\n# Show current configuration\ncc-switch current\n\n# View configuration details\ncc-switch view work\n\n# Edit configuration\ncc-switch edit work\n\n# Delete unused configuration\ncc-switch rm old-config\n\n# Delete current configuration and enter empty mode\ncc-switch rm --current\n\n# Interactive deletion\ncc-switch rm -i\n\n# Template management\ncc-switch view -t default\ncc-switch cp -t default my-template\ncc-switch edit -t my-template\n\n# Check for updates\ncc-switch update -c\n\n# Update to latest version\ncc-switch update -y\n```\n\n### How It Works\n\nThe tool manages configurations in `~/.claude/profiles/` directory:\n\n```\n~/.claude/\n├── settings.json          # Current active configuration (removed in empty mode)\n└── profiles/              # cc-switch data directory\n    ├── default.json       # Default configuration\n    ├── work.json          # Work configuration\n    ├── personal.json      # Personal configuration\n    ├── templates/         # Configuration templates\n    │   ├── default.json   # Default template (cannot be deleted)\n    │   └── company.json   # Custom company template\n    ├── .current           # Current configuration marker\n    ├── .history           # Configuration switch history\n    ├── .update_check      # Update check cache\n    ├── .empty_mode        # Empty mode state file (present in empty mode)\n    └── .empty_backup_settings.json  # Backup when in empty mode\n```\n\n#### Initialization\n\nOn first run:\n- If `~/.claude/settings.json` exists, it creates a `default` profile\n- If no configuration exists, it guides you to create one first\n\n#### Security\n\n- Configuration files are stored with 600 permissions (owner read/write only)\n- Atomic operations using temporary files ensure configuration integrity\n- Automatic backup of current configuration before switching\n- Empty mode creates secure backup before removing settings.json\n- Rollback mechanisms prevent data loss during operations\n\n#### View Configuration Details\n```bash\ncc-switch view <name>\n```\nDisplays the settings for a specific configuration without switching to it.\n\n#### Edit Configuration\n```bash\ncc-switch edit <name>\n```\nOpens the configuration in your default text editor for modification.\n\n### Commands Reference\n\n| Command | Description |\n|---------|-------------|\n| `init` | Initialize Claude Code configuration with interactive setup |\n| `list` | List all available configurations |\n| `list -t, --template` | List all available templates |\n| `new <name>` | Create a new configuration from default template |\n| `new <name> -t <template>` | Create a new configuration from specific template |\n| `new <name> -i, --interactive` | Create configuration with interactive template filling |\n| `new <name> -u, --use` | Create configuration and switch to it immediately |\n| `use <name>` | Switch to a configuration |\n| `use <name> -l, --launch` | Switch to a configuration and launch Claude Code CLI |\n| `use -p, --previous` | Switch to previous configuration |\n| `use -e, --empty` | Enter empty mode (disable configurations) |\n| `use --restore` | Restore from empty mode to previous configuration |\n| `use -f, --refresh` | Refresh current configuration (re-apply) |\n| `use -i, --interactive` | Enter interactive selection mode |\n| `cp <source> <dest>` | Copy a configuration |\n| `cp -t <source> <dest>` | Copy a template |\n| `mv <old> <new>` | Move (rename) a configuration |\n| `mv -t <old> <new>` | Move (rename) a template |\n| `rm <name>` | Delete a configuration |\n| `rm -c, --current` | Delete current configuration and enter empty mode |\n| `rm -a, --all` | Delete ALL configurations (requires manual confirmation) |\n| `rm -t <template>` | Delete a template |\n| `export [profile]` | Export configurations to backup file |\n| `import <file>` | Import configurations from backup file |\n| `test [profile]` | Test configuration API connectivity |\n| `web` | Launch web interface with configuration management |\n| `current` | Show current configuration or empty mode status |\n| `view <name>` | View configuration details |\n| `view -t <template>` | View template details |\n| `edit <name>` | Edit configuration in text editor |\n| `edit -t <template>` | Edit template in text editor |\n| `update` | Check for updates and prompt for confirmation |\n| `update -y, --yes` | Automatically update without prompting |\n| `update -c, --check` | Only check for updates, don't update |\n\n### Template System\n\nThe template system allows you to create standardized configuration structures for consistent setups across different environments.\n\n#### What are Templates?\n\nTemplates are pre-configured JSON structures that serve as blueprints for creating new configurations. They can include:\n\n- **Standard Settings**: Common Claude Code settings that apply across environments\n- **Placeholder Fields**: Fields that can be filled interactively during configuration creation\n- **Environment-Specific Values**: Default values that can be customized for different use cases\n\n#### Template Features\n\n- **Default Template**: A built-in template that cannot be deleted, providing basic structure\n- **Custom Templates**: Create your own templates tailored to specific needs (company, project, etc.)\n- **Interactive Creation**: Fill template fields with guided prompts during configuration creation\n- **Template Management**: Copy, edit, view, and organize templates like configurations\n\n#### Using Templates\n\n1. **List Templates**: `cc-switch list -t` to see available templates\n2. **Create from Template**: `cc-switch new myconfig -t mytemplate` to use a specific template\n3. **Interactive Mode**: `cc-switch new myconfig -i` for guided template field input\n4. **Template Management**: Use standard operations (cp, mv, edit, view) with `-t` flag\n\n#### Template Structure\n\nTemplates use the same JSON structure as configurations but may include special placeholder values that get filled during interactive creation.\n\n### Empty Mode Feature\n\nEmpty mode is a special state where all Claude Code configurations are temporarily disabled. This is useful in scenarios where:\n\n- You want to temporarily disable Claude Code without losing your saved configurations\n- You need to test Claude Code's default behavior without any custom settings\n- You want to troubleshoot configuration issues by temporarily removing all settings\n\n#### How Empty Mode Works\n\n1. **Entering Empty Mode**: Use `cc-switch use --empty` to enter empty mode\n   - Current `settings.json` is safely backed up to `.empty_backup_settings.json`\n   - The `settings.json` file is removed, disabling Claude Code\n   - A `.empty_mode` file is created to track the state and previous configuration\n\n2. **Empty Mode Status**: All commands work normally and show empty mode indicators\n   - `cc-switch current` shows \"Empty mode (no configuration active)\"\n   - `cc-switch list` shows \"Empty mode active\" warning with helpful tips\n\n3. **Exiting Empty Mode**: Multiple ways to restore configurations\n   - `cc-switch use --restore` restores to the previous configuration\n   - `cc-switch use <name>` switches to any specific configuration\n   - Both methods automatically restore the backup and clean up empty mode state\n\n#### Safety Features\n\n- **Atomic Operations**: All operations use temporary files and atomic renames\n- **Automatic Rollback**: Failed operations automatically restore the original state\n- **Backup Validation**: Settings backup is validated before empty mode activation\n- **State Tracking**: Complete state information is preserved for reliable restoration\n\n### Requirements\n\n- Node.js 14.0.0 or higher\n- Claude Code installed and configured\n\n### Development\n\n#### Building from Source\n\n```bash\n# Clone the repository\ngit clone https://github.com/hobee/cc-switch.git\ncd cc-switch\n\n# Install dependencies\ngo mod tidy\n\n# Build for all platforms\nnpm run build\n\n# Test locally\ngo run . --help\n```\n\n#### Project Structure\n\n```\ncc-switch/\n├── main.go                 # Entry point\n├── cmd/                    # CLI commands\n│   ├── root.go\n│   ├── list.go\n│   ├── new.go\n│   ├── use.go\n│   ├── delete.go\n│   ├── current.go\n│   ├── view.go\n│   ├── edit.go\n│   ├── cp.go               # Copy command\n│   ├── mv.go               # Move command\n│   ├── export.go           # Export command\n│   ├── import.go           # Import command\n│   ├── test.go             # Test command\n│   ├── init.go             # Init command\n│   └── web.go              # Web interface command\n├── internal/config/        # Configuration management\n│   └── manager.go\n├── internal/handler/       # Business logic handlers\n│   ├── config_handler.go\n│   ├── api_tester.go       # API testing functionality\n│   └── types.go\n├── internal/ui/           # User interface layer\n│   ├── cli.go\n│   ├── interactive.go\n│   └── interfaces.go\n├── internal/web/          # Web interface\n│   ├── server.go\n│   ├── handlers.go\n│   └── assets/            # Web static resources\n│       ├── css/\n│       │   └── main.css   # Web interface styles\n│       └── js/\n│           └── main.js    # Web interface logic\n├── internal/export/       # Export functionality\n│   ├── exporter.go\n│   └── format.go\n├── internal/import/       # Import functionality\n│   └── importer.go\n├── internal/common/       # Common utilities\n│   ├── compress.go\n│   └── crypto.go\n├── scripts/               # Build and install scripts\n│   ├── build.sh\n│   └── install.js\n└── package.json           # npm configuration\n```\n\n### Contributing\n\nWe welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for detailed information on:\n\n- Development setup and workflow\n- Code style guidelines\n- Testing requirements\n- Pull request process\n- Reporting issues\n\nQuick start:\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\nFor Chinese version, see [贡献指南 (中文)](CONTRIBUTING.zh.md).\n\n### License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n### Support\n\nIf you encounter any issues or have questions:\n\n1. Check the [Issues](https://github.com/hobee/cc-switch/issues) page\n2. Create a new issue if your problem isn't already reported\n3. Include your OS, Node.js version, and error messages","users":{}}