@yemi33/minions 0.1.506 → 0.1.507

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,11 +1,12 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.506 (2026-04-07)
3
+ ## 0.1.507 (2026-04-07)
4
4
 
5
5
  ### Features
6
6
  - abort and retrigger buttons for active pipeline runs
7
7
 
8
8
  ### Fixes
9
+ - PRD view shows all projects, not just the first one
9
10
  - bug report shows feedback inside modal, not hidden toast
10
11
 
11
12
  ## 0.1.504 (2026-04-07)
@@ -132,8 +132,12 @@ function renderPrdProgress(prog) {
132
132
  const grouped = {};
133
133
  for (const i of (prog.items || [])) {
134
134
  const key = i.source || '_ungrouped';
135
- if (!grouped[key]) grouped[key] = { summary: i.planSummary || i.source || 'Items', project: i.planProject || '', file: i.source || '', items: [], archived: !!i._archived, planStatus: i.planStatus || 'active', sourcePlan: i.sourcePlan || '', planStale: i.planStale || false, lastSyncedFromPlan: i.lastSyncedFromPlan || null, prdUpdatedAt: i.prdUpdatedAt || null, completedAt: i.prdCompletedAt || '' };
135
+ if (!grouped[key]) grouped[key] = { summary: i.planSummary || i.source || 'Items', project: i.planProject || '', _projects: [], file: i.source || '', items: [], archived: !!i._archived, planStatus: i.planStatus || 'active', sourcePlan: i.sourcePlan || '', planStale: i.planStale || false, lastSyncedFromPlan: i.lastSyncedFromPlan || null, prdUpdatedAt: i.prdUpdatedAt || null, completedAt: i.prdCompletedAt || '' };
136
136
  grouped[key].items.push(i);
137
+ // Collect all unique projects across items in this group
138
+ for (const p of (i.projects || [])) { if (p && !grouped[key]._projects.includes(p)) grouped[key]._projects.push(p); }
139
+ if (i.project && !grouped[key]._projects.includes(i.project)) grouped[key]._projects.push(i.project);
140
+ if (i.planProject && !grouped[key]._projects.includes(i.planProject)) grouped[key]._projects.push(i.planProject);
137
141
  }
138
142
 
139
143
  const renderItem = (i) => {
@@ -247,7 +251,7 @@ function renderPrdProgress(prog) {
247
251
  : '';
248
252
 
249
253
  return '<div style="font-size:11px;font-weight:600;color:var(--blue);margin-bottom:4px;padding:6px 8px;background:var(--surface2);border-radius:4px;display:flex;align-items:center;gap:8px;flex-wrap:wrap">' +
250
- (g.project ? '<span class="prd-project-badge">' + escHtml(g.project) + '</span>' : '') +
254
+ (g._projects.length > 0 ? g._projects.map(function(p) { return '<span class="prd-project-badge">' + escHtml(p) + '</span>'; }).join(' ') : '') +
251
255
  '<span style="color:var(--text)">' + escHtml(summary || g.file) + '</span>' +
252
256
  pausedLabel +
253
257
  staleLabel +
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.506",
3
+ "version": "0.1.507",
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"