@yemi33/minions 0.1.371 → 0.1.372
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 +2 -1
- package/engine/lifecycle.js +6 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.1.
|
|
3
|
+
## 0.1.372 (2026-04-06)
|
|
4
4
|
|
|
5
5
|
### Features
|
|
6
6
|
- Fix review re-dispatch infinite loop (#226)
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
- Fix 2 failing source-pattern test assertions (#224)
|
|
9
9
|
|
|
10
10
|
### Fixes
|
|
11
|
+
- restore dispatched_to on work items when marking done after retry
|
|
11
12
|
- copy button preserves markdown formatting
|
|
12
13
|
|
|
13
14
|
## 0.1.368 (2026-04-06)
|
package/engine/lifecycle.js
CHANGED
|
@@ -546,6 +546,8 @@ function updateWorkItemStatus(meta, status, reason) {
|
|
|
546
546
|
delete target.failReason;
|
|
547
547
|
delete target.failedAt;
|
|
548
548
|
target.completedAt = ts();
|
|
549
|
+
// Restore agent info from dispatch metadata (cleared on retry reset)
|
|
550
|
+
if (meta._agentId && !target.dispatched_to) target.dispatched_to = meta._agentId;
|
|
549
551
|
} else if (status === WI_STATUS.FAILED) {
|
|
550
552
|
if (reason) target.failReason = reason;
|
|
551
553
|
target.failedAt = ts();
|
|
@@ -1163,7 +1165,10 @@ function runPostCompletionHooks(dispatchItem, agentId, code, stdout, config) {
|
|
|
1163
1165
|
// If decomposition produced nothing, fall through to mark parent as done
|
|
1164
1166
|
}
|
|
1165
1167
|
|
|
1166
|
-
if (isSuccess && meta?.item?.id && !skipDoneStatus)
|
|
1168
|
+
if (isSuccess && meta?.item?.id && !skipDoneStatus) {
|
|
1169
|
+
meta._agentId = agentId;
|
|
1170
|
+
updateWorkItemStatus(meta, WI_STATUS.DONE, '');
|
|
1171
|
+
}
|
|
1167
1172
|
if (!isSuccess && meta?.item?.id) {
|
|
1168
1173
|
// Auto-retry: read fresh _retryCount from file (not stale dispatch-time snapshot)
|
|
1169
1174
|
let retries = (meta.item._retryCount || 0);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.372",
|
|
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"
|