@yemi33/minions 0.1.654 → 0.1.655

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.655 (2026-04-09)
4
+
5
+ ### Fixes
6
+ - skip PR reconciliation for projects with no PRs or work items
7
+
3
8
  ## 0.1.654 (2026-04-09)
4
9
 
5
10
  ### Fixes
@@ -455,7 +455,7 @@ function openWorkItemDetail(id) {
455
455
  if (arts.prd) artPills += '<span onclick="planView(\'' + escHtml(arts.prd) + '\')" style="' + pillStyle + '">📄 PRD</span> ';
456
456
  if (arts.sourcePlan) artPills += '<span onclick="planView(\'' + escHtml(arts.sourcePlan) + '\')" style="' + pillStyle + '">📋 Source Plan</span> ';
457
457
  if (arts.notes && arts.notes.length > 0) arts.notes.forEach(function(n) {
458
- var noteLabel = typeof n === 'object' ? (n.id || n.file || 'note').slice(0, 30) : String(n).replace(/\.md$/, '').slice(0, 30);
458
+ var noteLabel = (n && typeof n === 'object') ? (n.id || n.file || 'note').slice(0, 30) : String(n || 'note').replace(/\.md$/, '').slice(0, 30);
459
459
  artPills += '<span onclick="closeModal();switchPage(\'inbox\')" style="' + pillStyle + '">📝 ' + escHtml(noteLabel) + '</span> ';
460
460
  });
461
461
  if (arts.skills && arts.skills.length > 0) arts.skills.forEach(function(s) { artPills += '<span onclick="openSkill(\'' + escHtml(s) + '\',\'minions\',\'\')" style="' + pillStyle + '">⚙ ' + escHtml(s) + '</span> '; });
@@ -490,7 +490,7 @@ function viewAgentOutput(logPath) {
490
490
  document.getElementById('modal-body').style.whiteSpace = 'pre-wrap';
491
491
  document.getElementById('modal').classList.add('open');
492
492
  fetch('/api/agent-output?file=' + encodeURIComponent(logPath))
493
- .then(function(r) { return r.text(); })
493
+ .then(function(r) { if (!r.ok) throw new Error('HTTP ' + r.status); return r.text(); })
494
494
  .then(function(content) {
495
495
  document.getElementById('modal-body').textContent = content;
496
496
  })
package/engine/github.js CHANGED
@@ -511,6 +511,16 @@ async function reconcilePrs(config) {
511
511
  // Skip projects in backoff (inaccessible repo)
512
512
  if (isSlugInBackoff(slug)) continue;
513
513
 
514
+ // Skip projects with no tracked PRs and no work items — nothing to reconcile
515
+ const existingPrs = getPrs(project);
516
+ if (existingPrs.length === 0) {
517
+ try {
518
+ const wiPath = projectWorkItemsPath(project);
519
+ const wis = safeJson(wiPath) || [];
520
+ if (wis.length === 0) continue;
521
+ } catch { continue; }
522
+ }
523
+
514
524
  // Fetch open PRs
515
525
  const prsData = await ghApi('/pulls?state=open&per_page=100', slug);
516
526
  if (!prsData || !Array.isArray(prsData)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.654",
3
+ "version": "0.1.655",
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"