@yemi33/minions 0.1.827 → 0.1.829
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 +5 -1
- package/dashboard/js/modal-qa.js +1 -1
- package/dashboard/js/render-prd.js +13 -19
- package/engine.js +0 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.1.
|
|
3
|
+
## 0.1.829 (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
|
+
- revert doc-chat MAX_HEIGHT to 500px
|
|
9
10
|
- hide plan card action buttons when stale banner is showing
|
|
10
11
|
- hide conflicting action buttons when stale PRD banner is showing
|
|
11
12
|
- diff-aware plan-to-prd triggered by Resume, not auto-dispatch
|
|
12
13
|
|
|
14
|
+
### Other
|
|
15
|
+
- refactor: remove dead criteria variable, DRY plan resume functions
|
|
16
|
+
|
|
13
17
|
## 0.1.823 (2026-04-11)
|
|
14
18
|
|
|
15
19
|
### Features
|
package/dashboard/js/modal-qa.js
CHANGED
|
@@ -377,7 +377,7 @@ function _showThreadWrap() {
|
|
|
377
377
|
var _dragging = false, _startY = 0, _startH = 0, _thread = null;
|
|
378
378
|
var COLLAPSE_THRESHOLD = 40;
|
|
379
379
|
var MIN_HEIGHT = 60;
|
|
380
|
-
var MAX_HEIGHT =
|
|
380
|
+
var MAX_HEIGHT = 500;
|
|
381
381
|
|
|
382
382
|
document.addEventListener('pointerdown', function(e) {
|
|
383
383
|
var handle = e.target.closest('#qa-resize-handle');
|
|
@@ -766,16 +766,16 @@ async function prdItemRequeue(workItemId, source, prdFile) {
|
|
|
766
766
|
}
|
|
767
767
|
}
|
|
768
768
|
|
|
769
|
-
async function
|
|
770
|
-
if (!confirm(
|
|
769
|
+
async function _planApproveAction(prdFile, skipRegen, confirmMsg, successMsg) {
|
|
770
|
+
if (!confirm(confirmMsg)) return;
|
|
771
771
|
try {
|
|
772
772
|
const res = await fetch('/api/plans/approve', {
|
|
773
773
|
method: 'POST', headers: { 'Content-Type': 'application/json' },
|
|
774
|
-
body: JSON.stringify({ file: prdFile })
|
|
774
|
+
body: JSON.stringify({ file: prdFile, skipRegen: skipRegen || undefined })
|
|
775
775
|
});
|
|
776
776
|
const d = await res.json();
|
|
777
777
|
if (res.ok) {
|
|
778
|
-
showToast('cmd-toast', d.diffAwareUpdate ? 'Diff-aware PRD update queued' : 'Plan approved', true);
|
|
778
|
+
showToast('cmd-toast', successMsg || (d.diffAwareUpdate ? 'Diff-aware PRD update queued' : 'Plan approved'), true);
|
|
779
779
|
refresh();
|
|
780
780
|
} else {
|
|
781
781
|
alert('Failed: ' + (d.error || 'unknown'));
|
|
@@ -783,21 +783,15 @@ async function prdRegenerate(prdFile) {
|
|
|
783
783
|
} catch (e) { alert('Error: ' + e.message); }
|
|
784
784
|
}
|
|
785
785
|
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
showToast('cmd-toast', 'Plan resumed (PRD unchanged)', true);
|
|
796
|
-
refresh();
|
|
797
|
-
} else {
|
|
798
|
-
alert('Failed: ' + (d.error || 'unknown'));
|
|
799
|
-
}
|
|
800
|
-
} catch (e) { alert('Error: ' + e.message); }
|
|
786
|
+
function prdRegenerate(prdFile) {
|
|
787
|
+
_planApproveAction(prdFile, false,
|
|
788
|
+
'Source plan was revised.\n\nRegenerate PRD? An agent will compare the updated plan against existing implementation and update items accordingly.\n\nDone items stay done unless modified. New items are added. Removed items are cancelled.');
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
function prdResumeWithoutRegen(prdFile) {
|
|
792
|
+
_planApproveAction(prdFile, true,
|
|
793
|
+
'Resume this plan without regenerating the PRD?\n\nThe current PRD items will be used as-is. New work items will be materialized from any missing/planned items.',
|
|
794
|
+
'Plan resumed (PRD unchanged)');
|
|
801
795
|
}
|
|
802
796
|
|
|
803
797
|
function openArchive(i) {
|
package/engine.js
CHANGED
|
@@ -1478,7 +1478,6 @@ function materializePlansAsWorkItems(config) {
|
|
|
1478
1478
|
if (existingWi && DONE_STATUSES.has(existingWi.status) && shouldReopen) {
|
|
1479
1479
|
existingWi.status = WI_STATUS.PENDING;
|
|
1480
1480
|
existingWi._reopened = true;
|
|
1481
|
-
const criteria = (item.acceptance_criteria || []).map(c => `- ${c}`).join('\n');
|
|
1482
1481
|
existingWi.description = buildWiDescription(item, file);
|
|
1483
1482
|
existingWi.title = `Implement: ${item.name}`;
|
|
1484
1483
|
created++;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.829",
|
|
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"
|