@yemi33/minions 0.1.414 → 0.1.415

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.415 (2026-04-06)
4
+
5
+ ### Features
6
+ - Fix null crashes in lifecycle.js syncPrsFromOutput and createReviewFeedbackForAuthor
7
+
3
8
  ## 0.1.414 (2026-04-06)
4
9
 
5
10
  ### Fixes
@@ -617,6 +617,7 @@ function syncPrsFromOutput(output, agentId, meta, config) {
617
617
  const inboxFiles = getInboxFiles().filter(f => f.includes(agentId) && f.includes(today));
618
618
  for (const f of inboxFiles) {
619
619
  const content = safeRead(path.join(INBOX_DIR, f));
620
+ if (!content) continue;
620
621
  const prHeaderPattern = /\*\*PR[:\*]*\*?\s*[#-]*\s*(?:(?:visualstudio\.com|dev\.azure\.com)[^\s"]*?pullrequest\/(\d+)|github\.com\/[^\s"]*?\/pull\/(\d+))/gi;
621
622
  while ((match = prHeaderPattern.exec(content)) !== null) prMatches.add(match[1] || match[2]);
622
623
  }
@@ -991,7 +992,7 @@ function createReviewFeedbackForAuthor(reviewerAgentId, pr, config) {
991
992
  const inboxFiles = getInboxFiles();
992
993
  const reviewFiles = inboxFiles.filter(f => f.includes(reviewerAgentId) && f.includes(today));
993
994
  if (reviewFiles.length === 0) return;
994
- const reviewContent = reviewFiles.map(f => safeRead(path.join(INBOX_DIR, f))).join('\n\n');
995
+ const reviewContent = reviewFiles.map(f => safeRead(path.join(INBOX_DIR, f))).filter(Boolean).join('\n\n');
995
996
  const feedbackFile = `feedback-${authorAgentId}-from-${reviewerAgentId}-${pr.id}-${today}.md`;
996
997
  const feedbackPath = shared.uniquePath(path.join(INBOX_DIR, feedbackFile));
997
998
  const content = `# Review Feedback for ${config.agents[authorAgentId]?.name || authorAgentId}\n\n` +
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.414",
3
+ "version": "0.1.415",
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"