From fb77d72a3080d0fa096247c71a9cc1336445aa38 Mon Sep 17 00:00:00 2001 From: kaitranntt Date: Mon, 26 Jan 2026 14:12:14 -0500 Subject: [PATCH] fix(cliproxy): pin version to 6.7.25, add disable-cooling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update fallbackVersion: 6.7.8 → 6.7.25 (original) - Update fallbackVersion: 6.7.8-0 → 6.7.25-0 (plus) - Add disable-cooling: true to generated config - Bump CLIPROXY_CONFIG_VERSION to 5 for regeneration --- src/cliproxy/config-generator.ts | 6 +++++- src/cliproxy/platform-detector.ts | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/cliproxy/config-generator.ts b/src/cliproxy/config-generator.ts index 5abc9d44..a4652417 100644 --- a/src/cliproxy/config-generator.ts +++ b/src/cliproxy/config-generator.ts @@ -286,8 +286,9 @@ export function getCliproxyWritablePath(): string { * v2: Full-featured config with dashboard, quota mgmt, simplified key * v3: Logging disabled by default (user opt-in via ~/.ccs/config.yaml) * v4: Added Kiro (AWS) and GitHub Copilot providers + * v5: Added disable-cooling: true for stability */ -export const CLIPROXY_CONFIG_VERSION = 4; +export const CLIPROXY_CONFIG_VERSION = 5; /** Provider display names (static metadata) */ const PROVIDER_DISPLAY_NAMES: Record = { @@ -471,6 +472,9 @@ remote-management: # Reliability & Quota Management # ============================================================================= +# Disable quota cooldown scheduling for stability +disable-cooling: true + # Auto-retry on transient errors (403, 408, 500, 502, 503, 504) request-retry: 0 max-retry-interval: 0 diff --git a/src/cliproxy/platform-detector.ts b/src/cliproxy/platform-detector.ts index e2a4dacb..28e4ce21 100644 --- a/src/cliproxy/platform-detector.ts +++ b/src/cliproxy/platform-detector.ts @@ -19,13 +19,13 @@ export const BACKEND_CONFIG = { repo: 'router-for-me/CLIProxyAPI', binaryPrefix: 'CLIProxyAPI', executable: 'cli-proxy-api', - fallbackVersion: '6.7.8', + fallbackVersion: '6.7.25', }, plus: { repo: 'router-for-me/CLIProxyAPIPlus', binaryPrefix: 'CLIProxyAPIPlus', executable: 'cli-proxy-api-plus', - fallbackVersion: '6.7.8-0', + fallbackVersion: '6.7.25-0', }, } as const;