@yemi33/minions 0.1.165 → 0.1.166

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.166 (2026-04-02)
4
+
5
+ ### Engine
6
+ - engine.js
7
+
3
8
  ## 0.1.165 (2026-04-02)
4
9
 
5
10
  ### Engine
package/engine.js CHANGED
@@ -1521,6 +1521,7 @@ function discoverFromWorkItems(config, project) {
1521
1521
  ].filter(Boolean).join('\n');
1522
1522
  vars.checkpoint_context = cpSummary;
1523
1523
  log('info', `Injecting checkpoint context for ${item.id} (resume #${cpCount})`);
1524
+ try { fs.unlinkSync(cpPath); } catch (ue) { log('warn', `checkpoint cleanup for ${item.id}: ${ue.message}`); }
1524
1525
  }
1525
1526
  } catch (e) { log('warn', `checkpoint read for ${item.id}: ${e.message}`); }
1526
1527
 
@@ -1834,6 +1835,7 @@ function discoverCentralWorkItems(config) {
1834
1835
  ].filter(Boolean).join('\n');
1835
1836
  fanOutCheckpointContext = fanCpSummary;
1836
1837
  log('info', `Injecting checkpoint context for ${item.id} (resume #${fanCpCount})`);
1838
+ try { fs.unlinkSync(fanCpPath); } catch (ue) { log('warn', `checkpoint cleanup for ${item.id}: ${ue.message}`); }
1837
1839
  }
1838
1840
  } catch (e) { log('warn', `checkpoint read for ${item.id}: ${e.message}`); }
1839
1841
 
@@ -1917,6 +1919,7 @@ function discoverCentralWorkItems(config) {
1917
1919
  item.dispatched_to = idleAgents.map(a => a.id).join(', ');
1918
1920
  item.scope = 'fan-out';
1919
1921
  item.fanOutAgents = idleAgents.map(a => a.id);
1922
+ delete item._pendingReason;
1920
1923
  needsWrite = true;
1921
1924
  setCooldown(key);
1922
1925
  log('info', `Fan-out: ${item.id} dispatched to ${idleAgents.length} agents: ${idleAgents.map(a => a.name).join(', ')}`);
@@ -1985,6 +1988,7 @@ function discoverCentralWorkItems(config) {
1985
1988
  ].filter(Boolean).join('\n');
1986
1989
  vars.checkpoint_context = cpSummary;
1987
1990
  log('info', `Injecting checkpoint context for ${item.id} (resume #${cpCount})`);
1991
+ try { fs.unlinkSync(cpPath); } catch (ue) { log('warn', `checkpoint cleanup for ${item.id}: ${ue.message}`); }
1988
1992
  }
1989
1993
  } catch (e) { log('warn', `checkpoint read for ${item.id}: ${e.message}`); }
1990
1994
 
@@ -2067,6 +2071,7 @@ function discoverCentralWorkItems(config) {
2067
2071
  item.status = 'dispatched';
2068
2072
  item.dispatched_at = ts();
2069
2073
  item.dispatched_to = agentId;
2074
+ delete item._pendingReason;
2070
2075
  needsWrite = true;
2071
2076
  setCooldown(key);
2072
2077
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.165",
3
+ "version": "0.1.166",
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"