@yemi33/minions 0.1.2266 → 0.1.2267

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/dashboard.js +7 -4
  2. package/package.json +1 -1
package/dashboard.js CHANGED
@@ -2175,10 +2175,6 @@ function _compareVersions(a, b) {
2175
2175
  return 0;
2176
2176
  }
2177
2177
 
2178
- // Kick off first npm check on startup, then re-check every 4 hours
2179
- checkNpmVersion().catch(() => {});
2180
- setInterval(() => checkNpmVersion().catch(() => {}), _getVersionCheckInterval()).unref();
2181
-
2182
2178
  // Cache disk version + git commit (only changes on deploy/pull, not per-request)
2183
2179
  let _diskVersionCache = null;
2184
2180
  let _diskVersionCacheTs = 0;
@@ -14463,6 +14459,13 @@ if (require.main === module) {
14463
14459
  // boot-time set. See shared.ensureAgentCopilotHome. Fail-open.
14464
14460
  try { process.env.COPILOT_HOME = shared.ensureAgentCopilotHome(MINIONS_DIR, CONFIG?.engine); } catch {}
14465
14461
 
14462
+ // Kick off first npm check on startup, then re-check every 4 hours.
14463
+ // Guarded here so that requiring dashboard as a module (unit tests, _withDashServer)
14464
+ // does not spawn npm child processes that keep the event loop alive past test teardown
14465
+ // and cause exit-without-summary flakiness on the Windows CI runner (W-mqtrby890001cb04).
14466
+ checkNpmVersion().catch(() => {});
14467
+ setInterval(() => checkNpmVersion().catch(() => {}), _getVersionCheckInterval()).unref();
14468
+
14466
14469
  // Pre-warm the per-project git-status cache before accepting requests so
14467
14470
  // the first /api/status after restart already returns gitState='ok' with a
14468
14471
  // real branch instead of the ~8s pending gap that hides the projects-bar
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.2266",
3
+ "version": "0.1.2267",
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"