chore(vscode-ide-companion): bump version to 0.4.1 and add semver dependency and improve cli version checking with semver package

This commit is contained in:
yiliang114
2025-12-10 00:46:07 +08:00
parent 29032d2c6a
commit d2e2a07327
5 changed files with 35 additions and 54 deletions

View File

@@ -56,10 +56,6 @@ export class QwenConnectionHandler {
// Show warning if CLI version is below minimum requirement
if (!versionInfo.isSupported) {
console.warn(
`[QwenAgentManager] CLI version ${versionInfo.version} is below minimum required version ${MIN_CLI_VERSION_FOR_SESSION_METHODS}`,
);
// Wait to determine release version number
vscode.window.showWarningMessage(
`Qwen Code CLI version ${versionInfo.version} is below the minimum required version. Some features may not work properly. Please upgrade to version ${MIN_CLI_VERSION_FOR_SESSION_METHODS} or later.`,