@yemi33/minions 0.1.1570 → 0.1.1571

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.1571 (2026-04-27)
4
+
5
+ ### Fixes
6
+ - break work-items.json watcher tick storm
7
+
3
8
  ## 0.1.1570 (2026-04-27)
4
9
 
5
10
  ### Fixes
package/engine/timeout.js CHANGED
@@ -398,6 +398,10 @@ function checkTimeouts(config) {
398
398
  allWiPaths.push(projectWorkItemsPath(project));
399
399
  }
400
400
  for (const wiPath of allWiPaths) {
401
+ // skipWriteIfUnchanged is critical — checkTimeouts runs every tick, and
402
+ // without this gate the file's mtime updates on every call (no real
403
+ // change), tripping the cli.js work-items.json watcher → triggering tick
404
+ // → calling checkTimeouts → ... a 5-6s loop of "File change detected".
401
405
  mutateJsonFileLocked(wiPath, (items) => {
402
406
  if (!items || !Array.isArray(items)) return items;
403
407
  let changed = false;
@@ -438,7 +442,7 @@ function checkTimeouts(config) {
438
442
  }
439
443
  }
440
444
  return items;
441
- }, { defaultValue: [] });
445
+ }, { defaultValue: [], skipWriteIfUnchanged: true });
442
446
  }
443
447
  }
444
448
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.1570",
3
+ "version": "0.1.1571",
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"