@yemi33/minions 0.1.1828 → 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,10 @@
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
+
3
8
  ## 0.1.1828 (2026-05-09)
4
9
 
5
10
  ### Other
package/bin/minions.js CHANGED
@@ -79,11 +79,14 @@ 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
- // Atomic write so the new dashboard can't read a torn file mid-write.
83
- shared.safeWrite(
84
- path.join(minionsHome, 'engine', 'dashboard-browser.json'),
85
- { tabs: {}, updatedAt: new Date().toISOString() },
86
- );
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.
84
+ try {
85
+ shared.safeWrite(
86
+ path.join(minionsHome, 'engine', 'dashboard-browser.json'),
87
+ { tabs: {}, updatedAt: new Date().toISOString() },
88
+ );
89
+ } catch {}
87
90
  }
88
91
 
89
92
  async function _waitForBrowserReconnect(minionsHome, { afterMs, timeoutMs = 5000, pollMs = 500 } = {}) {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "runtime": "copilot",
3
3
  "models": null,
4
- "cachedAt": "2026-05-09T23:11:31.200Z"
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.1828",
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"