@yemi33/minions 0.1.376 → 0.1.377

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.377 (2026-04-06)
4
+
5
+ ### Features
6
+ - Fix 3 crash bugs: fanAgentId, null dereferences, cleanDispatchEntries (#228)
7
+
3
8
  ## 0.1.376 (2026-04-06)
4
9
 
5
10
  ### Features
package/engine.js CHANGED
@@ -911,8 +911,10 @@ function autoCleanPrdWorkItems(prdFile, config) {
911
911
  const deletedSet = new Set(deletedIds);
912
912
  mutateDispatch((dispatch) => {
913
913
  const pred = d => deletedSet.has(d.meta?.item?.id) && d.meta?.item?.sourcePlan === prdFile;
914
- dispatch.pending = dispatch.pending.filter(d => !pred(d));
915
- dispatch.active = dispatch.active.filter(d => !pred(d));
914
+ for (const queue of ['pending', 'active', 'completed']) {
915
+ if (!Array.isArray(dispatch[queue])) continue;
916
+ dispatch[queue] = dispatch[queue].filter(d => !pred(d));
917
+ }
916
918
  return dispatch;
917
919
  });
918
920
  log('info', `Plan sync: cleared ${deletedIds.length} pending/failed work items for ${prdFile}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.376",
3
+ "version": "0.1.377",
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"