@yemi33/minions 0.1.356 → 0.1.357
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 +8 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -83,7 +83,8 @@ function derivePlanStatus(prdFile, mdFile, prdJsonStatus, workItems) {
|
|
|
83
83
|
|
|
84
84
|
// Derive from work item progress
|
|
85
85
|
if (allDone && !hasActiveWork) return 'completed';
|
|
86
|
-
if (hasActiveWork
|
|
86
|
+
if (hasActiveWork) return 'dispatched';
|
|
87
|
+
if (hasPendingPrd) return 'converting';
|
|
87
88
|
if (hasFailed && !hasActiveWork) return 'has-failures';
|
|
88
89
|
|
|
89
90
|
if (prdJsonStatus === 'awaiting-approval' && implementWi.length === 0) return 'awaiting-approval';
|
|
@@ -192,9 +193,10 @@ function renderPlans(plans) {
|
|
|
192
193
|
const effectiveStatus = isArchived ? 'completed' : derivePlanStatus(prdFile, p.file, prdJsonStatus, allWi);
|
|
193
194
|
|
|
194
195
|
const statusLabelsMap = {
|
|
195
|
-
'completed': 'Completed', 'dispatched': 'In Progress', '
|
|
196
|
-
'awaiting-approval': 'Awaiting Approval', 'approved': 'Approved',
|
|
197
|
-
'
|
|
196
|
+
'completed': 'Completed', 'dispatched': 'In Progress', 'converting': 'Converting to PRD',
|
|
197
|
+
'paused': 'Paused', 'awaiting-approval': 'Awaiting Approval', 'approved': 'Approved',
|
|
198
|
+
'rejected': 'Rejected', 'revision-requested': 'Revision Requested',
|
|
199
|
+
'has-failures': 'Has Failures', 'active': 'Active'
|
|
198
200
|
};
|
|
199
201
|
const label = statusLabelsMap[effectiveStatus] || effectiveStatus;
|
|
200
202
|
const needsAction = (effectiveStatus === 'awaiting-approval' || effectiveStatus === 'paused') && !isArchived;
|
|
@@ -246,8 +248,8 @@ function renderPlans(plans) {
|
|
|
246
248
|
'onclick="event.stopPropagation();planDelete(\'' + escHtml(p.file) + '\')">Delete</button>' : '';
|
|
247
249
|
|
|
248
250
|
const versionBadge = p.version ? ' <span style="font-size:9px;font-weight:700;padding:1px 5px;border-radius:3px;background:rgba(56,139,253,0.15);color:var(--blue);vertical-align:middle">v' + p.version + '</span>' : '';
|
|
249
|
-
const statusColors = { 'completed': 'var(--green)', 'dispatched': 'var(--blue)', 'paused': 'var(--muted)', 'awaiting-approval': 'var(--yellow)', 'approved': 'var(--green)', 'rejected': 'var(--red)', 'has-failures': 'var(--red)', 'revision-requested': 'var(--purple,#a855f7)', 'active': 'var(--muted)' };
|
|
250
|
-
const cardClass = effectiveStatus === 'dispatched' ? 'working' : effectiveStatus === 'awaiting-approval' || effectiveStatus === 'paused' ? 'awaiting' : effectiveStatus;
|
|
251
|
+
const statusColors = { 'completed': 'var(--green)', 'dispatched': 'var(--blue)', 'converting': 'var(--yellow)', 'paused': 'var(--muted)', 'awaiting-approval': 'var(--yellow)', 'approved': 'var(--green)', 'rejected': 'var(--red)', 'has-failures': 'var(--red)', 'revision-requested': 'var(--purple,#a855f7)', 'active': 'var(--muted)' };
|
|
252
|
+
const cardClass = effectiveStatus === 'dispatched' || effectiveStatus === 'converting' ? 'working' : effectiveStatus === 'awaiting-approval' || effectiveStatus === 'paused' ? 'awaiting' : effectiveStatus;
|
|
251
253
|
return '<div class="plan-card ' + cardClass + '" data-file="plans/' + escHtml(p.file) + '" style="cursor:pointer' + (isArchived ? ';opacity:0.7' : '') + '" onclick="planView(\'' + escHtml(p.file) + '\')">' +
|
|
252
254
|
'<div class="plan-card-header">' +
|
|
253
255
|
'<div><div class="plan-card-title">' + escHtml(p.summary || p.file) + versionBadge + '</div>' +
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.357",
|
|
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"
|