mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-16 04:18:05 +00:00
fix(cliproxy): address PR review feedback
- Remove claude from PLUS_ONLY_PROVIDERS (Claude works with normal CLIProxy too) - Fix color inconsistency: use #D97757 to match SVG brand color - Add iflow to checkAuthCodePorts (pre-existing issue, fixed opportunistically)
This commit is contained in:
@@ -164,7 +164,7 @@ export async function checkAllOAuthPorts(): Promise<OAuthPortDiagnostic[]> {
|
||||
* Check OAuth ports for providers that use Authorization Code flow only
|
||||
*/
|
||||
export async function checkAuthCodePorts(): Promise<OAuthPortDiagnostic[]> {
|
||||
const providers: CLIProxyProvider[] = ['gemini', 'codex', 'agy', 'kiro', 'claude'];
|
||||
const providers: CLIProxyProvider[] = ['gemini', 'codex', 'agy', 'iflow', 'kiro', 'claude'];
|
||||
const results: OAuthPortDiagnostic[] = [];
|
||||
|
||||
for (const provider of providers) {
|
||||
|
||||
@@ -24,7 +24,7 @@ export const PROVIDER_COLORS: Record<string, string> = {
|
||||
qwen: '#6236FF',
|
||||
kiro: '#4d908e', // Dark Cyan (AWS-inspired)
|
||||
ghcp: '#43aa8b', // Seaweed (GitHub-inspired)
|
||||
claude: '#D97706', // Anthropic orange
|
||||
claude: '#D97757', // Anthropic brand color (matches SVG)
|
||||
};
|
||||
|
||||
// Provider display names
|
||||
|
||||
@@ -29,7 +29,7 @@ import { api } from '@/lib/api-client';
|
||||
const DEBUG_MODE_KEY = 'ccs_debug_mode';
|
||||
|
||||
/** Providers only available on CLIProxyAPIPlus */
|
||||
const PLUS_ONLY_PROVIDERS = ['kiro', 'ghcp', 'claude'];
|
||||
const PLUS_ONLY_PROVIDERS = ['kiro', 'ghcp'];
|
||||
|
||||
export default function ProxySection() {
|
||||
const {
|
||||
|
||||
Reference in New Issue
Block a user