billion-context 0.1.10 → 0.1.13

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
@@ -3314,11 +3314,11 @@ async function checkForUpdate(opts, force = false) {
3314
3314
  }
3315
3315
  log("info", `[update] new version found: ${opts.currentVersion} \u2192 ${latest}, installing\u2026`);
3316
3316
  const installed = await installLatest(opts.packageName, latest);
3317
- notified.add(latest);
3318
3317
  if (installed) {
3318
+ notified.add(latest);
3319
3319
  log("info", `[update] installed ${opts.packageName} ${opts.currentVersion} \u2192 ${latest}. Restart to finish.`);
3320
3320
  } else {
3321
- log("warn", `[update] install failed; run manually: npm install -g ${opts.packageName}@${latest}`);
3321
+ log("warn", `[update] install failed; will retry next cycle. Or: npm install -g ${opts.packageName}@${latest}`);
3322
3322
  }
3323
3323
  } catch (e) {
3324
3324
  log("warn", `[update] check failed: ${String(e)}`);