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