@yemi33/minions 0.1.359 → 0.1.360

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,12 +1,13 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.359 (2026-04-06)
3
+ ## 0.1.360 (2026-04-06)
4
4
 
5
5
  ### Features
6
6
  - pipeline plan stage uses LLM to generate structured plan from meeting
7
7
  - show 'Converting to PRD' status instead of 'In Progress' during plan conversion
8
8
 
9
9
  ### Fixes
10
+ - check pull-requests.json for existing PRs before no-PR retry
10
11
  - smart no-PR handling — distinguish MCP stall from intentional no-PR
11
12
 
12
13
  ## 0.1.356 (2026-04-06)
@@ -1279,7 +1279,18 @@ function runPostCompletionHooks(dispatchItem, agentId, code, stdout, config) {
1279
1279
  // Detect implement tasks that completed without creating a PR
1280
1280
  if (isSuccess && (type === WORK_TYPE.IMPLEMENT || type === WORK_TYPE.IMPLEMENT_LARGE || type === WORK_TYPE.FIX) && prsCreatedCount === 0 && meta?.item?.id && !meta?.item?.skipPr && meta?.project?.localPath) {
1281
1281
  // Check if a PR already exists linked to this work item (from a previous attempt)
1282
- const existingPrFound = Object.values(getPrLinks()).includes(meta.item.id);
1282
+ let existingPrFound = Object.values(getPrLinks()).includes(meta.item.id);
1283
+ // Also check pull-requests.json for PRs with matching prdItems or branch
1284
+ if (!existingPrFound) {
1285
+ const allProjects = shared.getProjects(config);
1286
+ for (const p of allProjects) {
1287
+ const prs = safeJson(shared.projectPrPath(p)) || [];
1288
+ if (prs.some(pr => (pr.prdItems || []).includes(meta.item.id) || (pr.branch && pr.branch.includes(meta.item.id)))) {
1289
+ existingPrFound = true;
1290
+ break;
1291
+ }
1292
+ }
1293
+ }
1283
1294
  if (!existingPrFound) {
1284
1295
  let wiPath;
1285
1296
  if (meta.source === 'central-work-item' || meta.source === 'central-work-item-fanout') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.359",
3
+ "version": "0.1.360",
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"