@yemi33/minions 0.1.158 → 0.1.159

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,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.159 (2026-04-02)
4
+
5
+ ### Engine
6
+ - engine/queries.js
7
+
3
8
  ## 0.1.158 (2026-04-02)
4
9
 
5
10
  ### Engine
package/engine/queries.js CHANGED
@@ -490,14 +490,11 @@ function getWorkItems(config) {
490
490
  if (pr) item._prUrl = pr.url;
491
491
  }
492
492
  if (!item._pr) {
493
- const prLinks = shared.getPrLinks();
494
- const linkedPrId = Object.entries(prLinks).find(([, v]) => v === item.id)?.[0];
495
- if (linkedPrId) {
496
- item._pr = linkedPrId;
497
- const linkedPr = allPrs.find(p => p.id === linkedPrId);
498
- if (linkedPr) item._prUrl = linkedPr.url;
499
- } else {
500
- // no further fallback — pr-links.json and wi._pr are the sources of truth
493
+ // Derive from PR.prdItems (single source of truth)
494
+ const linkedPr = allPrs.find(p => (p.prdItems || []).includes(item.id));
495
+ if (linkedPr) {
496
+ item._pr = linkedPr.id;
497
+ item._prUrl = linkedPr.url;
501
498
  }
502
499
  }
503
500
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.158",
3
+ "version": "0.1.159",
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"