@yemi33/minions 0.1.512 → 0.1.513
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.js +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/engine.js
CHANGED
|
@@ -876,6 +876,10 @@ function reconcileItemsWithPrs(items, allPrs, { onlyIds } = {}) {
|
|
|
876
876
|
const linkedPrId = Object.keys(prLinks).find(prId => prLinks[prId] === wi.id);
|
|
877
877
|
if (linkedPrId) exactPr = allPrs.find(pr => pr.id === linkedPrId) || { id: linkedPrId };
|
|
878
878
|
}
|
|
879
|
+
// Branch-based matching: PR branch contains the work item ID (e.g. work/P-k7m2v9a1)
|
|
880
|
+
if (!exactPr) {
|
|
881
|
+
exactPr = allPrs.find(pr => pr.branch && pr.branch.includes(wi.id));
|
|
882
|
+
}
|
|
879
883
|
if (exactPr) {
|
|
880
884
|
wi.status = WI_STATUS.DONE;
|
|
881
885
|
wi._pr = exactPr.id;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.513",
|
|
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"
|