@team-semicolon/semo-cli 3.0.18 → 3.0.19

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.
Files changed (2) hide show
  1. package/dist/index.js +14 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -565,10 +565,21 @@ async function showVersionInfo() {
565
565
  chalk_1.default.gray(" │"));
566
566
  }
567
567
  console.log(chalk_1.default.gray(" └────────────────────────┴──────────┴──────────┴────────┘"));
568
- if (needsUpdateCount > 0) {
568
+ // CLI와 다른 패키지 업데이트 가이드 분리
569
+ const cliNeedsUpdate = versionInfos[0]?.needsUpdate;
570
+ const otherNeedsUpdateCount = versionInfos.slice(1).filter((v) => v.needsUpdate).length;
571
+ if (cliNeedsUpdate || otherNeedsUpdateCount > 0) {
569
572
  console.log();
570
- console.log(chalk_1.default.yellow.bold(` ⚠️ ${needsUpdateCount}개 패키지 업데이트 가능`));
571
- console.log(chalk_1.default.gray(" semo update 명령으로 업데이트하세요."));
573
+ if (cliNeedsUpdate) {
574
+ console.log(chalk_1.default.yellow.bold(" ⚠️ CLI 업데이트 가능"));
575
+ console.log(chalk_1.default.cyan(` npm update -g ${PACKAGE_NAME}`));
576
+ }
577
+ if (otherNeedsUpdateCount > 0) {
578
+ if (cliNeedsUpdate)
579
+ console.log();
580
+ console.log(chalk_1.default.yellow.bold(` ⚠️ ${otherNeedsUpdateCount}개 패키지 업데이트 가능`));
581
+ console.log(chalk_1.default.gray(" semo update 명령으로 업데이트하세요."));
582
+ }
572
583
  }
573
584
  else {
574
585
  console.log();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@team-semicolon/semo-cli",
3
- "version": "3.0.18",
3
+ "version": "3.0.19",
4
4
  "description": "SEMO CLI - AI Agent Orchestration Framework Installer",
5
5
  "main": "dist/index.js",
6
6
  "bin": {