@yemi33/minions 0.1.324 → 0.1.325

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,8 +1,9 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.324 (2026-04-03)
3
+ ## 0.1.325 (2026-04-03)
4
4
 
5
5
  ### Fixes
6
+ - guard retry-counter write path against unreadable work items file
6
7
  - 7 bugs from engine audit — runtime crashes, race conditions, stale state
7
8
  - scan skips NugetCache, OneDrive, .vs, packages + validates .git/HEAD
8
9
 
@@ -134,7 +134,8 @@ function completeDispatch(id, result = DISPATCH_RESULT.SUCCESS, reason = '', res
134
134
  ? path.join(MINIONS_DIR, 'work-items.json')
135
135
  : item.meta.project?.name ? projectWorkItemsPath({ name: item.meta.project.name, localPath: item.meta.project.localPath }) : null;
136
136
  if (wiPath) {
137
- const items = safeJson(wiPath) || [];
137
+ const items = safeJson(wiPath);
138
+ if (!items || !Array.isArray(items)) throw new Error('work items unreadable');
138
139
  const wi = items.find(i => i.id === item.meta.item.id);
139
140
  if (wi && wi.status !== WI_STATUS.PAUSED) {
140
141
  wi._retryCount = retries + 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.324",
3
+ "version": "0.1.325",
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"