@ia-ccun/code-agent-cli 0.0.32 → 0.0.34
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/scripts/postinstall.js +1 -0
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 {
|
package/package.json
CHANGED
package/scripts/postinstall.js
CHANGED
|
@@ -168,6 +168,7 @@ const packageConfigDir = join(__dirname, '..', 'config', 'agent');
|
|
|
168
168
|
|
|
169
169
|
const FORCE_OVERWRITE_LIST = [
|
|
170
170
|
'extensions/working-msg.ts',
|
|
171
|
+
'extensions/custom-footer.ts',
|
|
171
172
|
// Add more files or folders here to force overwrite on every install
|
|
172
173
|
// Examples:
|
|
173
174
|
// 'skills/some-skill',
|