@ia-ccun/code-agent-cli 0.0.32 → 0.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +1 -5
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -169,11 +169,7 @@ async function checkForUpdates() {
|
|
|
169
169
|
(latestParts[0] === localParts[0] && latestParts[1] > localParts[1]) ||
|
|
170
170
|
(latestParts[0] === localParts[0] && latestParts[1] === localParts[1] && latestParts[2] > localParts[2]);
|
|
171
171
|
|
|
172
|
-
|
|
173
|
-
console.log('\n\x1b[38;2;243;139;168m⚠️ 发现新版本 v%s → v%s\x1b[0m', localVersion, latestVersion);
|
|
174
|
-
console.log('\n \x1b[38;2;166;227;161m运行以下命令更新:\x1b[0m');
|
|
175
|
-
console.log(' \x1b[36mnpm install -g @ia-ccun/code-agent-cli\x1b[0m\n');
|
|
176
|
-
}
|
|
172
|
+
|
|
177
173
|
|
|
178
174
|
// 写入版本缓存
|
|
179
175
|
try {
|