@yemi33/minions 0.1.1827 → 0.1.1829

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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.1829 (2026-05-09)
4
+
5
+ ### Fixes
6
+ - swallow safeWrite throws in best-effort beacon clear
7
+
8
+ ## 0.1.1828 (2026-05-09)
9
+
10
+ ### Other
11
+ - refactor(cli): atomic clear, soft-fail browser-open, fix stale test message
12
+
3
13
  ## 0.1.1827 (2026-05-09)
4
14
 
5
15
  ### Other
package/bin/minions.js CHANGED
@@ -79,9 +79,13 @@ const isPortListening = (port) => getListeningPids(port).length > 0;
79
79
  // the auto-open. We wipe the file during restart so the post-restart probe
80
80
  // only counts beacons that arrive AFTER the new dashboard is up.
81
81
  function _clearDashboardBrowserState(minionsHome) {
82
+ // Best-effort: a transient EPERM/ENOENT here just means the next probe sees
83
+ // a stale beacon for one cycle, not a restart failure.
82
84
  try {
83
- const fp = path.join(minionsHome, 'engine', 'dashboard-browser.json');
84
- fs.writeFileSync(fp, JSON.stringify({ tabs: {}, updatedAt: new Date().toISOString() }));
85
+ shared.safeWrite(
86
+ path.join(minionsHome, 'engine', 'dashboard-browser.json'),
87
+ { tabs: {}, updatedAt: new Date().toISOString() },
88
+ );
85
89
  } catch {}
86
90
  }
87
91
 
@@ -760,8 +764,9 @@ if (!cmd || cmd === 'help' || cmd === '--help' || cmd === '-h') {
760
764
  }
761
765
  console.log('');
762
766
  })().catch(err => {
763
- console.error(`\n ERROR: Restart verification failed: ${err.message}\n`);
764
- process.exit(1);
767
+ // Health check failures already process.exit(1) above; reaching here means
768
+ // the browser-open path threw, which is non-fatal — restart already verified.
769
+ console.log(` Could not open dashboard: ${err.message}`);
765
770
  });
766
771
  } else if (cmd === 'nuke') {
767
772
  ensureInstalled();
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "runtime": "copilot",
3
3
  "models": null,
4
- "cachedAt": "2026-05-09T23:03:46.416Z"
4
+ "cachedAt": "2026-05-09T23:39:05.707Z"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.1827",
3
+ "version": "0.1.1829",
4
4
  "description": "Multi-agent AI dev team that runs from ~/.minions/ — five autonomous agents share a single engine, dashboard, and knowledge base",
5
5
  "bin": {
6
6
  "minions": "bin/minions.js"