@clubnet/seedclub 0.2.44 → 0.2.45

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 CHANGED
@@ -409,6 +409,9 @@ if (cmd === "update") {
409
409
  printPrivateRegistryHint();
410
410
  process.exit(1);
411
411
  }
412
+ console.log("");
413
+ console.log("seedclub was updated.");
414
+ console.log("Run `seedclub` to start the updated version.");
412
415
  process.exit(0);
413
416
  }
414
417
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clubnet/seedclub",
3
- "version": "0.2.44",
3
+ "version": "0.2.45",
4
4
  "description": "A branded command-line agent wrapper around pi, with integrated Seed Club commands, tools, and app actions",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -1376,7 +1376,9 @@ export class SeedclubInteractiveModeApp {
1376
1376
  await runSeedclubUpdateCommand();
1377
1377
  await storeUpdatePrefs({ skipVersion: null });
1378
1378
  this.setAvailableUpdate(null, null);
1379
- this.showExtensionNotify("seedclub was updated. Restart the app to load the new version.", "info");
1379
+ await this.stop({
1380
+ message: "seedclub was updated.\nRun `seedclub` to start the updated version.",
1381
+ });
1380
1382
  } catch (error) {
1381
1383
  this.showExtensionNotify(
1382
1384
  `Update failed: ${error instanceof Error ? error.message : "Update failed."}`,
@@ -2613,7 +2615,7 @@ export class SeedclubInteractiveModeApp {
2613
2615
  }
2614
2616
  }
2615
2617
 
2616
- async stop() {
2618
+ async stop(options = {}) {
2617
2619
  if (this.isShuttingDown) {
2618
2620
  return;
2619
2621
  }
@@ -2633,6 +2635,10 @@ export class SeedclubInteractiveModeApp {
2633
2635
  this.footerDataProvider.dispose();
2634
2636
  this.session.dispose();
2635
2637
  this.ui.stop();
2638
+ if (typeof options.message === "string" && options.message.trim()) {
2639
+ console.log("");
2640
+ console.log(options.message.trim());
2641
+ }
2636
2642
  process.exit(0);
2637
2643
  }
2638
2644
  }