@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 +5 -0
- package/engine/timeout.js +5 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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.
|
|
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"
|