@yemi33/minions 0.1.709 → 0.1.710
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 -0
- package/dashboard/js/render-plans.js +10 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -442,7 +442,8 @@ function _renderPlanModal(normalizedFile, raw, lastMod) {
|
|
|
442
442
|
const effectiveStatus = cardPlan ? derivePlanStatus(cardPlan) : (linkedPrd ? derivePlanStatus(linkedPrd) : (planStatus || 'active'));
|
|
443
443
|
const prdFile = cardPlan?.file?.endsWith('.json') ? cardPlan.file : (linkedPrd?.file || '');
|
|
444
444
|
const isArchived = !!(cardPlan?.archived || linkedPrd?.archived);
|
|
445
|
-
const
|
|
445
|
+
const isCompleted = effectiveStatus === 'completed';
|
|
446
|
+
const isDraft = isMdPlan && !prdFile && !isCompleted;
|
|
446
447
|
const isNeedsAction = (effectiveStatus === 'awaiting-approval' || effectiveStatus === 'paused') && !isArchived;
|
|
447
448
|
|
|
448
449
|
const bs = 'font-size:10px;padding:2px 10px'; // button style
|
|
@@ -467,6 +468,14 @@ function _renderPlanModal(normalizedFile, raw, lastMod) {
|
|
|
467
468
|
if (effectiveStatus === 'dispatched' && prdFile && !isArchived) {
|
|
468
469
|
modalActions += '<button class="pr-pager-btn" style="' + bs + ';color:var(--yellow)" onclick="planPause(\'' + escHtml(prdFile) + '\',this)">Pause</button> ';
|
|
469
470
|
}
|
|
471
|
+
// Completed label
|
|
472
|
+
if (isCompleted && !isArchived) {
|
|
473
|
+
modalActions += '<span style="' + bs + ';color:var(--green);font-weight:600">Completed</span> ';
|
|
474
|
+
}
|
|
475
|
+
// In progress label
|
|
476
|
+
if (effectiveStatus === 'dispatched') {
|
|
477
|
+
modalActions += '<span style="' + bs + ';color:var(--blue)">In Progress</span> ';
|
|
478
|
+
}
|
|
470
479
|
// Verify / Verified badge
|
|
471
480
|
const modalVerifyWi = (window._lastWorkItems || []).find(w => w.itemType === 'verify' && w.sourcePlan === (prdFile || normalizedFile));
|
|
472
481
|
if (effectiveStatus === 'completed' && prdFile && !isArchived && !modalVerifyWi) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.710",
|
|
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"
|