@yemi33/minions 0.1.697 → 0.1.698

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,6 +1,6 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.697 (2026-04-09)
3
+ ## 0.1.698 (2026-04-09)
4
4
 
5
5
  ### Fixes
6
6
  - ADO build error log fetches all failing pipelines, not just first
@@ -9,6 +9,7 @@
9
9
  - syncPrsFromOutput missed PRs mentioned in assistant text blocks
10
10
 
11
11
  ### Other
12
+ - simplify: hoist textCreatedPattern regex out of block loop
12
13
  - refactor: reorder card buttons (Approve first), split modal approve/reject
13
14
 
14
15
  ## 0.1.692 (2026-04-09)
@@ -567,6 +567,7 @@ function syncPrsFromOutput(output, agentId, meta, config) {
567
567
 
568
568
  const prMatches = new Set();
569
569
  const urlPattern = /(?:visualstudio\.com|dev\.azure\.com)[^\s"]*?pullrequest\/(\d+)|github\.com\/[^\s"]*?\/pull\/(\d+)/g;
570
+ const textCreatedPattern = /(?:PR created|created PR|E2E PR)[:\s#-]*(\d{1,})/gi;
570
571
  let match;
571
572
 
572
573
  try {
@@ -586,7 +587,7 @@ function syncPrsFromOutput(output, agentId, meta, config) {
586
587
  // Also scan assistant text blocks for PR URLs and "PR created" patterns
587
588
  if (block.type === 'text' && block.text) {
588
589
  while ((match = urlPattern.exec(block.text)) !== null) prMatches.add(match[1] || match[2]);
589
- const textCreatedPattern = /(?:PR created|created PR|E2E PR)[:\s#-]*(\d{1,})/gi;
590
+ textCreatedPattern.lastIndex = 0;
590
591
  let m2;
591
592
  while ((m2 = textCreatedPattern.exec(block.text)) !== null) prMatches.add(m2[1]);
592
593
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.697",
3
+ "version": "0.1.698",
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"