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