From 0abd021d256513b88145f88c7a6a2d3a03e0746e Mon Sep 17 00:00:00 2001 From: kaitranntt Date: Thu, 8 Jan 2026 10:49:37 -0500 Subject: [PATCH] fix(cliproxy): remove stable version cap, only v81-88 are faulty - Set CLIPROXY_MAX_STABLE_VERSION to 9.9.999-0 (effectively no cap) - v89+ are all stable, no longer show experimental warning - Only v81-88 remain marked as faulty with known bugs - Simplified lifecycle.ts to remove redundant experimental warning --- src/cliproxy/binary/lifecycle.ts | 15 ++------------- src/cliproxy/platform-detector.ts | 5 +++-- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/src/cliproxy/binary/lifecycle.ts b/src/cliproxy/binary/lifecycle.ts index 2aaf8f6c..d2186975 100644 --- a/src/cliproxy/binary/lifecycle.ts +++ b/src/cliproxy/binary/lifecycle.ts @@ -56,21 +56,10 @@ async function handleAutoUpdate(config: BinaryManagerConfig, verbose: boolean): console.log( warn( `CLIProxy Plus v${currentVersion} has known bugs (v${CLIPROXY_FAULTY_RANGE.min.replace(/-\d+$/, '')}-${CLIPROXY_FAULTY_RANGE.max.replace(/-\d+$/, '')}). ` + - `Upgrade to v${CLIPROXY_MAX_STABLE_VERSION.replace(/-\d+$/, '')} recommended.` - ) - ); - console.log( - info( - `Run "ccs cliproxy install ${CLIPROXY_MAX_STABLE_VERSION.replace(/-\d+$/, '')}" to upgrade` - ) - ); - } else if (isAboveMaxStable(currentVersion)) { - // Version newer than max stable (experimental) - console.log( - warn( - `CLIProxy Plus v${currentVersion} is experimental (above stable v${CLIPROXY_MAX_STABLE_VERSION.replace(/-\d+$/, '')})` + `Upgrade to latest stable recommended.` ) ); + console.log(info(`Run "ccs cliproxy install" to upgrade to latest stable`)); } if (!updateResult.hasUpdate) return; diff --git a/src/cliproxy/platform-detector.ts b/src/cliproxy/platform-detector.ts index 012ec690..68f42aed 100644 --- a/src/cliproxy/platform-detector.ts +++ b/src/cliproxy/platform-detector.ts @@ -16,10 +16,11 @@ export const CLIPROXY_FALLBACK_VERSION = '6.6.40-0'; /** * Maximum stable version cap - prevents auto-update to known unstable releases - * v86-89 resolved the context cancellation bugs from v81-85 + * Currently set high since v89+ are all stable. + * Only v81-88 have known bugs (see CLIPROXY_FAULTY_RANGE). * See: https://github.com/kaitranntt/ccs/issues/269 */ -export const CLIPROXY_MAX_STABLE_VERSION = '6.6.89-0'; +export const CLIPROXY_MAX_STABLE_VERSION = '9.9.999-0'; /** * Faulty version range - versions with known critical bugs