refactor: rename CLIProxyAPI to CLIProxy Plus across UI and CLI

- Update cliproxy-command.ts status output and install messages
- Update help-command.ts with Plus branding and new kiro/copilot providers
- Update doctor.ts header to show CLIPROXY PLUS
- Update cliproxy-check.ts binary check output
- Update proxy-status-widget.tsx label to CLIProxy Plus
- Point release URLs to CLIProxyAPIPlus repository
This commit is contained in:
kaitranntt
2025-12-21 22:57:03 -05:00
parent 743d34a881
commit 670993d364
5 changed files with 25 additions and 25 deletions
+8 -8
View File
@@ -423,7 +423,7 @@ async function showStatus(verbose: boolean): Promise<void> {
const status = getBinaryStatus();
console.log('');
console.log(color('CLIProxyAPI Status', 'primary'));
console.log(color('CLIProxy Plus Status', 'primary'));
console.log('');
if (status.installed) {
@@ -471,13 +471,13 @@ async function showStatus(verbose: boolean): Promise<void> {
}
async function handleInstallVersion(version: string, verbose: boolean): Promise<void> {
console.log(info(`Installing CLIProxyAPI v${version}...`));
console.log(info(`Installing CLIProxy Plus v${version}...`));
console.log('');
const result = await installVersion(version, verbose);
if (!result.success) {
console.error('');
console.error(fail(`Failed to install CLIProxyAPI v${version}`));
console.error(fail(`Failed to install CLIProxy Plus v${version}`));
console.error(` ${result.error}`);
console.error('');
console.error('Possible causes:');
@@ -486,12 +486,12 @@ async function handleInstallVersion(version: string, verbose: boolean): Promise<
console.error(' 3. GitHub API rate limiting');
console.error('');
console.error('Check available versions at:');
console.error(' https://github.com/router-for-me/CLIProxyAPI/releases');
console.error(' https://github.com/router-for-me/CLIProxyAPIPlus/releases');
process.exit(1);
}
console.log('');
console.log(ok(`CLIProxyAPI v${version} installed (pinned)`));
console.log(ok(`CLIProxy Plus v${version} installed (pinned)`));
console.log('');
console.log(dim('This version will be used until you run:'));
console.log(
@@ -501,7 +501,7 @@ async function handleInstallVersion(version: string, verbose: boolean): Promise<
}
async function handleInstallLatest(verbose: boolean): Promise<void> {
console.log(info('Fetching latest CLIProxyAPI version...'));
console.log(info('Fetching latest CLIProxy Plus version...'));
const result = await installLatest(verbose);
if (!result.success) {
@@ -515,7 +515,7 @@ async function handleInstallLatest(verbose: boolean): Promise<void> {
}
console.log('');
console.log(ok(`CLIProxyAPI updated to v${result.version}`));
console.log(ok(`CLIProxy Plus updated to v${result.version}`));
console.log(dim('Auto-update is now enabled.'));
console.log('');
}
@@ -569,7 +569,7 @@ async function showHelp(): Promise<void> {
console.log(subheader('Notes:'));
console.log(` Default fallback version: ${color(CLIPROXY_FALLBACK_VERSION, 'info')}`);
console.log(
` Releases: ${color('https://github.com/router-for-me/CLIProxyAPI/releases', 'path')}`
` Releases: ${color('https://github.com/router-for-me/CLIProxyAPIPlus/releases', 'path')}`
);
console.log('');
}
+8 -6
View File
@@ -150,9 +150,9 @@ Claude Code Profile & Model Switcher`.trim();
// MAJOR SECTION 3: CLI Proxy (OAuth Providers)
// ═══════════════════════════════════════════════════════════════════════════
printMajorSection(
'CLI Proxy (OAuth Providers)',
'CLI Proxy Plus (OAuth Providers)',
[
'Zero-config OAuth authentication via CLIProxyAPI',
'Zero-config OAuth authentication via CLIProxy Plus',
'First run: Browser opens for authentication, then model selection',
'Settings: ~/.ccs/{provider}.settings.json (created after auth)',
],
@@ -161,6 +161,8 @@ Claude Code Profile & Model Switcher`.trim();
['ccs codex', 'OpenAI Codex (gpt-5.1-codex-max)'],
['ccs agy', 'Antigravity (Claude/Gemini models)'],
['ccs qwen', 'Qwen Code (qwen3-coder)'],
['ccs kiro', 'Kiro (AWS CodeWhisperer Claude models)'],
['ccs copilot', 'GitHub Copilot (GPT/Claude/Gemini)'],
['', ''], // Spacer
['ccs <provider> --auth', 'Authenticate only'],
['ccs <provider> --auth --add', 'Add another account'],
@@ -234,10 +236,10 @@ Claude Code Profile & Model Switcher`.trim();
]);
// CLI Proxy management
printSubSection('CLI Proxy Management', [
['ccs cliproxy', 'Show CLIProxyAPI status and version'],
['ccs cliproxy --help', 'Full CLIProxy management help'],
['ccs cliproxy --install <ver>', 'Install specific version (e.g., 6.5.53)'],
printSubSection('CLI Proxy Plus Management', [
['ccs cliproxy', 'Show CLIProxy Plus status and version'],
['ccs cliproxy --help', 'Full CLIProxy Plus management help'],
['ccs cliproxy --install <ver>', 'Install specific version (e.g., 6.6.6)'],
['ccs cliproxy --latest', 'Update to latest version'],
]);
+6 -8
View File
@@ -1,5 +1,5 @@
/**
* CLIProxy Health Checks - Binary, config, auth, and port status
* CLIProxy Plus Health Checks - Binary, config, auth, and port status
*/
import * as fs from 'fs';
@@ -21,28 +21,26 @@ import { HealthCheck, IHealthChecker, createSpinner } from './types';
const ora = createSpinner();
/**
* Check CLIProxy binary installation
* Check CLIProxy Plus binary installation
*/
export class CLIProxyBinaryChecker implements IHealthChecker {
name = 'CLIProxy Binary';
name = 'CLIProxy Plus Binary';
run(results: HealthCheck): void {
const spinner = ora('Checking CLIProxy binary').start();
const spinner = ora('Checking CLIProxy Plus binary').start();
if (isCLIProxyInstalled()) {
const binaryPath = getCLIProxyPath();
const installedVersion = getInstalledCliproxyVersion();
spinner.succeed();
console.log(` ${ok('CLIProxy Binary'.padEnd(22))} v${installedVersion}`);
console.log(` ${ok('CLIProxy Plus'.padEnd(22))} v${installedVersion}`);
results.addCheck('CLIProxy Binary', 'success', undefined, undefined, {
status: 'OK',
info: `v${installedVersion} (${binaryPath})`,
});
} else {
spinner.info();
console.log(
` ${info('CLIProxy Binary'.padEnd(22))} Not installed (downloads on first use)`
);
console.log(` ${info('CLIProxy Plus'.padEnd(22))} Not installed (downloads on first use)`);
results.addCheck(
'CLIProxy Binary',
'success',
+2 -2
View File
@@ -66,8 +66,8 @@ class Doctor {
runSymlinkChecks(this.results);
console.log('');
// Group 6: CLIProxy (OAuth profiles)
console.log(header('CLIPROXY (OAUTH PROFILES)'));
// Group 6: CLIProxy Plus (OAuth profiles)
console.log(header('CLIPROXY PLUS (OAUTH PROFILES)'));
await runCLIProxyChecks(this.results);
console.log('');
@@ -147,7 +147,7 @@ export function ProxyStatusWidget() {
isRunning ? 'bg-green-500 animate-pulse' : 'bg-muted-foreground/30'
)}
/>
<span className="text-sm font-medium">CLIProxy Service</span>
<span className="text-sm font-medium">CLIProxy Plus</span>
{hasUpdate && (
<Badge
variant="secondary"