@yemi33/minions 0.1.830 → 0.1.831
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 +2 -1
- package/engine/shared.js +2 -2
- package/engine.js +5 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.1.
|
|
3
|
+
## 0.1.831 (2026-04-11)
|
|
4
4
|
|
|
5
5
|
### Features
|
|
6
6
|
- stale PRD shows Regenerate PRD + Resume as-is buttons
|
|
7
7
|
|
|
8
8
|
### Fixes
|
|
9
|
+
- only 'updated' re-opens done work items, remove 'planned' status
|
|
9
10
|
- revert doc-chat MAX_HEIGHT to 500px
|
|
10
11
|
- hide plan card action buttons when stale banner is showing
|
|
11
12
|
- hide conflicting action buttons when stale PRD banner is showing
|
package/engine/shared.js
CHANGED
|
@@ -587,8 +587,8 @@ const PLAN_STATUS = {
|
|
|
587
587
|
PAUSED: 'paused', REJECTED: 'rejected', COMPLETED: 'completed',
|
|
588
588
|
REVISION_REQUESTED: 'revision-requested',
|
|
589
589
|
};
|
|
590
|
-
const PRD_ITEM_STATUS = { MISSING: 'missing',
|
|
591
|
-
const PRD_MATERIALIZABLE = new Set([PRD_ITEM_STATUS.MISSING, PRD_ITEM_STATUS.
|
|
590
|
+
const PRD_ITEM_STATUS = { MISSING: 'missing', UPDATED: 'updated', DONE: 'done' };
|
|
591
|
+
const PRD_MATERIALIZABLE = new Set([PRD_ITEM_STATUS.MISSING, PRD_ITEM_STATUS.UPDATED]);
|
|
592
592
|
const PR_STATUS = { ACTIVE: 'active', MERGED: 'merged', ABANDONED: 'abandoned', CLOSED: 'closed', LINKED: 'linked' };
|
|
593
593
|
// PRs eligible for polling (status/build/comment checks) — excludes terminal statuses
|
|
594
594
|
const PR_POLLABLE_STATUSES = new Set([PR_STATUS.ACTIVE, PR_STATUS.LINKED]);
|
package/engine.js
CHANGED
|
@@ -25,7 +25,7 @@ const fs = require('fs');
|
|
|
25
25
|
const path = require('path');
|
|
26
26
|
const shared = require('./engine/shared');
|
|
27
27
|
const { exec, execAsync, execSilent, runFile, ts, ENGINE_DEFAULTS: DEFAULTS,
|
|
28
|
-
WI_STATUS, DONE_STATUSES, WORK_TYPE, PLAN_STATUS, PRD_MATERIALIZABLE, PR_STATUS, DISPATCH_RESULT, AGENT_STATUS } = shared;
|
|
28
|
+
WI_STATUS, DONE_STATUSES, WORK_TYPE, PLAN_STATUS, PRD_ITEM_STATUS, PRD_MATERIALIZABLE, PR_STATUS, DISPATCH_RESULT, AGENT_STATUS } = shared;
|
|
29
29
|
const queries = require('./engine/queries');
|
|
30
30
|
|
|
31
31
|
// ─── Paths ──────────────────────────────────────────────────────────────────
|
|
@@ -1360,8 +1360,8 @@ function materializePlansAsWorkItems(config) {
|
|
|
1360
1360
|
if (targetProject) {
|
|
1361
1361
|
const queued = shared.queuePlanToPrd({
|
|
1362
1362
|
planFile: plan.source_plan, prdFile: file,
|
|
1363
|
-
title: `
|
|
1364
|
-
description: `Plan file: plans/${plan.source_plan}\nSource plan was
|
|
1363
|
+
title: `Generate PRD from plan: ${plan.source_plan}`,
|
|
1364
|
+
description: `Plan file: plans/${plan.source_plan}\nSource plan was updated while PRD was awaiting approval — generating fresh PRD.${completedContext}`,
|
|
1365
1365
|
project: targetProject.name, createdBy: 'engine:plan-revision',
|
|
1366
1366
|
});
|
|
1367
1367
|
if (queued) log('info', `Queued plan-to-prd regeneration for revised plan ${plan.source_plan} (${completedItems.length} completed items to carry over)`);
|
|
@@ -1458,9 +1458,9 @@ function materializePlansAsWorkItems(config) {
|
|
|
1458
1458
|
|
|
1459
1459
|
mutateWorkItems(wiPath, existingItems => {
|
|
1460
1460
|
for (const item of projItems) {
|
|
1461
|
-
// Re-open:
|
|
1461
|
+
// Re-open: only 'updated' re-opens a done work item (missing = new item, not re-open)
|
|
1462
1462
|
const existingWi = existingItems.find(w => w.id === item.id);
|
|
1463
|
-
const shouldReopen =
|
|
1463
|
+
const shouldReopen = item.status === PRD_ITEM_STATUS.UPDATED;
|
|
1464
1464
|
if (existingWi && DONE_STATUSES.has(existingWi.status) && shouldReopen) {
|
|
1465
1465
|
existingWi.status = WI_STATUS.PENDING;
|
|
1466
1466
|
existingWi._reopened = true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.831",
|
|
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"
|