@yemi33/minions 0.1.2327 → 0.1.2328

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/engine/cli.js +1 -1
  2. package/package.json +1 -1
package/engine/cli.js CHANGED
@@ -1488,7 +1488,7 @@ const commands = {
1488
1488
  }
1489
1489
 
1490
1490
  console.log('');
1491
- const metrics = shared.safeJson(path.join(ENGINE_DIR, 'metrics.json')) || {};
1491
+ const metrics = shared.safeJsonObj(path.join(ENGINE_DIR, 'metrics.json'));
1492
1492
  const lifetimeCompleted = Object.entries(metrics).filter(([k]) => !k.startsWith('_')).reduce((sum, [, m]) => sum + (m.tasksCompleted || 0) + (m.tasksErrored || 0), 0);
1493
1493
  console.log(`Dispatch: ${dispatch.pending.length} pending | ${(dispatch.active || []).length} active | ${lifetimeCompleted} completed`);
1494
1494
  const pidSummary = summarizeActiveDispatchPids(dispatch.active || []);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.2327",
3
+ "version": "0.1.2328",
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"