fluxy-bot 0.5.44 → 0.5.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.
Files changed (2) hide show
  1. package/bin/cli.js +16 -0
  2. package/package.json +7 -1
package/bin/cli.js CHANGED
@@ -720,6 +720,13 @@ async function update() {
720
720
  }
721
721
  stepper.advance();
722
722
 
723
+ // Read release notes before cleanup
724
+ let releaseNotes = '';
725
+ try {
726
+ const newPkg = JSON.parse(fs.readFileSync(path.join(extracted, 'package.json'), 'utf-8'));
727
+ releaseNotes = newPkg.releaseNotes || '';
728
+ } catch {}
729
+
723
730
  // Clean up
724
731
  fs.rmSync(tmpDir, { recursive: true, force: true });
725
732
 
@@ -736,6 +743,15 @@ async function update() {
736
743
 
737
744
  console.log(`\n ${c.blue}${c.bold}✔ Updated to v${latest.version}${c.reset}\n`);
738
745
 
746
+ if (releaseNotes) {
747
+ console.log(` ${c.bold}${c.white}What's new:${c.reset}`);
748
+ const notes = Array.isArray(releaseNotes) ? releaseNotes : [releaseNotes];
749
+ notes.forEach((note, i) => {
750
+ console.log(` ${c.dim}${i + 1}.${c.reset} ${note}`);
751
+ });
752
+ console.log('');
753
+ }
754
+
739
755
  if (daemonWasRunning) {
740
756
  if (isServiceActive()) {
741
757
  console.log(` ${c.blue}✔${c.reset} Daemon restarted with new version.\n`);
package/package.json CHANGED
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "name": "fluxy-bot",
3
- "version": "0.5.44",
3
+ "version": "0.5.45",
4
+ "releaseNotes": [
5
+ "Worker and backend now survive systemd environments",
6
+ "Daemon auto-installs on Linux during init/start",
7
+ "Update flow stops daemon before applying files",
8
+ "Status command detects daemon state"
9
+ ],
4
10
  "description": "Self-hosted, self-evolving AI agent with its own dashboard.",
5
11
  "type": "module",
6
12
  "license": "MIT",