@yemi33/minions 0.1.1551 → 0.1.1552

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.1552 (2026-04-27)
4
+
5
+ ### Fixes
6
+ - scan all project subdirs for PR data in PRD view
7
+
3
8
  ## 0.1.1551 (2026-04-27)
4
9
 
5
10
  ### Fixes
package/engine/queries.js CHANGED
@@ -1021,6 +1021,27 @@ function getPrdInfo(config) {
1021
1021
  const allPrs = getPullRequests(config);
1022
1022
  const prById = {};
1023
1023
  for (const pr of allPrs) prById[pr.id] = pr;
1024
+ // Also scan project subdirectories that aren't in config (e.g. removed projects
1025
+ // whose pull-requests.json still holds last-known status). getPrLinks already
1026
+ // reads all subdirs, so without this PRs from those dirs would have status/title
1027
+ // missing in the PRD view and fall back to literal 'active'/'' defaults.
1028
+ try {
1029
+ const projectsDir = path.join(MINIONS_DIR, 'projects');
1030
+ const projectsByName = new Map(projects.map(p => [p.name, p]));
1031
+ for (const d of fs.readdirSync(projectsDir, { withFileTypes: true })) {
1032
+ if (!d.isDirectory() || projectsByName.has(d.name)) continue;
1033
+ const ghostPath = path.join(projectsDir, d.name, 'pull-requests.json');
1034
+ const ghostPrs = safeJson(ghostPath);
1035
+ if (!Array.isArray(ghostPrs)) continue;
1036
+ shared.normalizePrRecords(ghostPrs, null);
1037
+ for (const pr of ghostPrs) {
1038
+ if (pr?.id && !prById[pr.id]) {
1039
+ pr._project = d.name;
1040
+ prById[pr.id] = pr;
1041
+ }
1042
+ }
1043
+ }
1044
+ } catch { /* projects dir missing */ }
1024
1045
 
1025
1046
  // Build URL for a PR when pr.url isn't set. Prefer the PR ID's own scope
1026
1047
  // (e.g. `github:owner/repo#123` → github.com URL) so a github PR never gets
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.1551",
3
+ "version": "0.1.1552",
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"