pcu 1.1.6 → 1.1.7

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/dist/index.js CHANGED
@@ -995,6 +995,7 @@ var de = {
995
995
  "command.selfUpdate.failed": "pcu-Aktualisierung fehlgeschlagen",
996
996
  "command.selfUpdate.latestAlready": "Sie verwenden bereits die neueste Version ({{version}})",
997
997
  "command.selfUpdate.restartHint": "Bitte starten Sie Ihr Terminal neu, um die neue Version zu verwenden.",
998
+ "command.selfUpdate.manualHint": "Sie k\xF6nnen manuell aktualisieren mit: npm install -g pcu@latest",
998
999
  // AI command
999
1000
  "command.ai.cacheCleared": "KI-Analyse-Cache geleert",
1000
1001
  "command.ai.cacheStats": "KI-Analyse-Cache-Statistiken",
@@ -1900,6 +1901,7 @@ var en = {
1900
1901
  "command.selfUpdate.failed": "Failed to update pcu",
1901
1902
  "command.selfUpdate.latestAlready": "You are already using the latest version ({{version}})",
1902
1903
  "command.selfUpdate.restartHint": "Please restart your terminal to use the new version.",
1904
+ "command.selfUpdate.manualHint": "You can manually update with: npm install -g pcu@latest",
1903
1905
  // AI command
1904
1906
  "command.ai.cacheCleared": "AI analysis cache cleared",
1905
1907
  "command.ai.cacheStats": "AI Analysis Cache Statistics",
@@ -2804,6 +2806,7 @@ var es = {
2804
2806
  "command.selfUpdate.failed": "Error al actualizar pcu",
2805
2807
  "command.selfUpdate.latestAlready": "Ya est\xE1 utilizando la \xFAltima versi\xF3n ({{version}})",
2806
2808
  "command.selfUpdate.restartHint": "Reinicie su terminal para usar la nueva versi\xF3n.",
2809
+ "command.selfUpdate.manualHint": "Puede actualizar manualmente con: npm install -g pcu@latest",
2807
2810
  // AI command
2808
2811
  "command.ai.cacheCleared": "Cach\xE9 de an\xE1lisis de IA limpiada",
2809
2812
  "command.ai.cacheStats": "Estad\xEDsticas de cach\xE9 de an\xE1lisis de IA",
@@ -3709,6 +3712,7 @@ var fr = {
3709
3712
  "command.selfUpdate.failed": "\xC9chec de la mise \xE0 jour de pcu",
3710
3713
  "command.selfUpdate.latestAlready": "Vous utilisez d\xE9j\xE0 la derni\xE8re version ({{version}})",
3711
3714
  "command.selfUpdate.restartHint": "Veuillez red\xE9marrer votre terminal pour utiliser la nouvelle version.",
3715
+ "command.selfUpdate.manualHint": "Vous pouvez mettre \xE0 jour manuellement avec : npm install -g pcu@latest",
3712
3716
  // AI command
3713
3717
  "command.ai.cacheCleared": "Cache d'analyse IA vid\xE9",
3714
3718
  "command.ai.cacheStats": "Statistiques du cache d'analyse IA",
@@ -4614,6 +4618,7 @@ var ja = {
4614
4618
  "command.selfUpdate.failed": "pcu \u306E\u66F4\u65B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F",
4615
4619
  "command.selfUpdate.latestAlready": "\u65E2\u306B\u6700\u65B0\u30D0\u30FC\u30B8\u30E7\u30F3 ({{version}}) \u3092\u4F7F\u7528\u3057\u3066\u3044\u307E\u3059",
4616
4620
  "command.selfUpdate.restartHint": "\u65B0\u3057\u3044\u30D0\u30FC\u30B8\u30E7\u30F3\u3092\u4F7F\u7528\u3059\u308B\u306B\u306F\u3001\u30BF\u30FC\u30DF\u30CA\u30EB\u3092\u518D\u8D77\u52D5\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
4621
+ "command.selfUpdate.manualHint": "\u624B\u52D5\u3067\u66F4\u65B0\u3059\u308B\u306B\u306F: npm install -g pcu@latest",
4617
4622
  // AI command
4618
4623
  "command.ai.cacheCleared": "AI \u5206\u6790\u30AD\u30E3\u30C3\u30B7\u30E5\u3092\u30AF\u30EA\u30A2\u3057\u307E\u3057\u305F",
4619
4624
  "command.ai.cacheStats": "AI \u5206\u6790\u30AD\u30E3\u30C3\u30B7\u30E5\u7D71\u8A08",
@@ -5519,6 +5524,7 @@ var ko = {
5519
5524
  "command.selfUpdate.failed": "pcu \uC5C5\uB370\uC774\uD2B8 \uC2E4\uD328",
5520
5525
  "command.selfUpdate.latestAlready": "\uC774\uBBF8 \uCD5C\uC2E0 \uBC84\uC804 ({{version}})\uC744 \uC0AC\uC6A9 \uC911\uC785\uB2C8\uB2E4",
5521
5526
  "command.selfUpdate.restartHint": "\uC0C8 \uBC84\uC804\uC744 \uC0AC\uC6A9\uD558\uB824\uBA74 \uD130\uBBF8\uB110\uC744 \uB2E4\uC2DC \uC2DC\uC791\uD558\uC138\uC694.",
5527
+ "command.selfUpdate.manualHint": "\uC218\uB3D9\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uD558\uB824\uBA74: npm install -g pcu@latest",
5522
5528
  // AI command
5523
5529
  "command.ai.cacheCleared": "AI \uBD84\uC11D \uCE90\uC2DC \uC0AD\uC81C\uB428",
5524
5530
  "command.ai.cacheStats": "AI \uBD84\uC11D \uCE90\uC2DC \uD1B5\uACC4",
@@ -6424,6 +6430,7 @@ var zh = {
6424
6430
  "command.selfUpdate.failed": "\u66F4\u65B0 pcu \u5931\u8D25",
6425
6431
  "command.selfUpdate.latestAlready": "\u60A8\u5DF2\u4F7F\u7528\u6700\u65B0\u7248\u672C ({{version}})",
6426
6432
  "command.selfUpdate.restartHint": "\u8BF7\u91CD\u65B0\u542F\u52A8\u7EC8\u7AEF\u4EE5\u4F7F\u7528\u65B0\u7248\u672C\u3002",
6433
+ "command.selfUpdate.manualHint": "\u60A8\u53EF\u4EE5\u624B\u52A8\u66F4\u65B0\uFF1Anpm install -g pcu@latest",
6427
6434
  // AI command
6428
6435
  "command.ai.cacheCleared": "AI \u5206\u6790\u7F13\u5B58\u5DF2\u6E05\u9664",
6429
6436
  "command.ai.cacheStats": "AI \u5206\u6790\u7F13\u5B58\u7EDF\u8BA1",
@@ -9219,16 +9226,14 @@ var VersionChecker = class _VersionChecker {
9219
9226
  }
9220
9227
  /**
9221
9228
  * Perform update without prompting
9229
+ * Note: Logging is handled by the CLI layer with i18n support
9222
9230
  */
9223
9231
  static async performUpdateAction() {
9224
- logger.info(chalk10.blue("\u{1F504} Updating pcu..."));
9225
9232
  try {
9226
9233
  await _VersionChecker.performUpdate();
9227
- logger.info(chalk10.green("\u2705 Successfully updated! Please restart the command."));
9228
9234
  return true;
9229
9235
  } catch (error) {
9230
- logger.error(chalk10.red("\u274C Update failed:"), error instanceof Error ? error : void 0);
9231
- logger.info(chalk10.gray("You can manually update with: npm install -g pcu@latest"));
9236
+ logger.debug("Update failed", error instanceof Error ? error : void 0);
9232
9237
  return false;
9233
9238
  }
9234
9239
  }
@@ -24651,7 +24656,7 @@ ${t("cli.help.tipLabel")} ${t("cli.help.tipContent", { locale: I18n.getLocale()
24651
24656
  cliOutput.print(chalk10.gray(t("command.selfUpdate.restartHint")));
24652
24657
  } else {
24653
24658
  cliOutput.error(chalk10.red(t("command.selfUpdate.failed")));
24654
- cliOutput.print(chalk10.gray("You can manually update with: npm install -g pcu@latest"));
24659
+ cliOutput.print(chalk10.gray(t("command.selfUpdate.manualHint")));
24655
24660
  exitProcess(1);
24656
24661
  }
24657
24662
  } catch (error) {
@@ -24659,7 +24664,7 @@ ${t("cli.help.tipLabel")} ${t("cli.help.tipContent", { locale: I18n.getLocale()
24659
24664
  if (globalOptions.verbose) {
24660
24665
  cliOutput.error(error);
24661
24666
  }
24662
- cliOutput.print(chalk10.gray("You can manually update with: npm install -g pcu@latest"));
24667
+ cliOutput.print(chalk10.gray(t("command.selfUpdate.manualHint")));
24663
24668
  exitProcess(1);
24664
24669
  }
24665
24670
  }