@yemi33/minions 0.1.449 → 0.1.451
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 +3 -1
- package/dashboard/js/render-plans.js +9 -18
- package/engine/meeting.js +19 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.1.
|
|
3
|
+
## 0.1.451 (2026-04-07)
|
|
4
4
|
|
|
5
5
|
### Features
|
|
6
6
|
- notification dot on Notes & KB sidebar when sweep completes/fails
|
|
7
7
|
|
|
8
8
|
### Fixes
|
|
9
|
+
- plan archive/unarchive now optimistic — immediate UI feedback
|
|
10
|
+
- meeting conclude timeout synthesizes conclusion instead of null
|
|
9
11
|
- track ADO head commit for push detection — unblocks re-review cycle
|
|
10
12
|
- block all fix dispatches while awaiting re-review after a fix
|
|
11
13
|
- prevent double-dispatch — dedup by work item ID and dispatchKey
|
|
@@ -550,18 +550,18 @@ async function planDelete(file) {
|
|
|
550
550
|
|
|
551
551
|
async function planArchive(file, btn) {
|
|
552
552
|
_stopPlanPoll();
|
|
553
|
-
|
|
554
|
-
|
|
553
|
+
markDeleted('plan:' + file);
|
|
554
|
+
try { closeModal(); } catch { /* may not be open */ }
|
|
555
|
+
showToast('cmd-toast', 'Plan archived', true);
|
|
555
556
|
try {
|
|
556
557
|
const res = await fetch('/api/plans/archive', {
|
|
557
558
|
method: 'POST', headers: { 'Content-Type': 'application/json' },
|
|
558
559
|
body: JSON.stringify({ file })
|
|
559
560
|
});
|
|
560
561
|
const ct = res.headers.get('content-type') || '';
|
|
561
|
-
if (!ct.includes('json')) {
|
|
562
|
+
if (!ct.includes('json')) { refresh(); return; }
|
|
562
563
|
const d = await res.json().catch(() => ({}));
|
|
563
564
|
if (res.ok && d.ok) {
|
|
564
|
-
try { closeModal(); } catch { /* may not be open */ }
|
|
565
565
|
var msg = 'Archived';
|
|
566
566
|
if (d.archivedSource) msg += ' PRD + source plan (' + d.archivedSource + ')';
|
|
567
567
|
if (d.cancelledItems) msg += ', cancelled ' + d.cancelledItems + ' pending item(s)';
|
|
@@ -721,25 +721,16 @@ async function triggerVerify(file, btn) {
|
|
|
721
721
|
}
|
|
722
722
|
|
|
723
723
|
async function planUnarchive(file, btn) {
|
|
724
|
-
|
|
725
|
-
|
|
724
|
+
try { closeModal(); } catch {}
|
|
725
|
+
showToast('cmd-toast', 'Restored from archive', true);
|
|
726
726
|
try {
|
|
727
727
|
const res = await fetch('/api/plans/unarchive', {
|
|
728
728
|
method: 'POST', headers: { 'Content-Type': 'application/json' },
|
|
729
729
|
body: JSON.stringify({ file })
|
|
730
730
|
});
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
if (res.ok && d.ok) {
|
|
735
|
-
showToast('cmd-toast', 'Restored from archive', true);
|
|
736
|
-
refreshPlans();
|
|
737
|
-
refresh();
|
|
738
|
-
} else {
|
|
739
|
-
resetBtn();
|
|
740
|
-
alert('Unarchive failed: ' + (d.error || 'unknown'));
|
|
741
|
-
}
|
|
742
|
-
} catch (e) { resetBtn(); alert('Error: ' + e.message); }
|
|
731
|
+
if (res.ok) { refreshPlans(); refresh(); }
|
|
732
|
+
else { const d = await res.json().catch(() => ({})); alert('Unarchive failed: ' + (d.error || 'unknown')); refresh(); }
|
|
733
|
+
} catch (e) { alert('Error: ' + e.message); refresh(); }
|
|
743
734
|
}
|
|
744
735
|
|
|
745
736
|
window.MinionsPlans = { openCreatePlanModal, refreshPlans, derivePlanStatus, renderPlans, openArchivedPlansModal, planExecute, planSubmitRevise, planShowRevise, planHideRevise, planView, planApprove, planArchive, planUnarchive, planDelete, planPause, planReject, planDiscuss, planOpenInDocChat, planRegeneratePRD, openVerifyGuide, triggerVerify };
|
package/engine/meeting.js
CHANGED
|
@@ -375,10 +375,27 @@ function checkMeetingTimeouts(config) {
|
|
|
375
375
|
meeting.roundStartedAt = new Date().toISOString();
|
|
376
376
|
saveMeeting(meeting);
|
|
377
377
|
} else if (meeting.status === 'concluding') {
|
|
378
|
-
log('warn', `Meeting ${meeting.id}: conclusion round timed out after ${Math.round(elapsed / 60000)}min —
|
|
379
|
-
|
|
378
|
+
log('warn', `Meeting ${meeting.id}: conclusion round timed out after ${Math.round(elapsed / 60000)}min — auto-summarizing`);
|
|
379
|
+
// Synthesize a conclusion from available findings and debate rather than leaving it empty
|
|
380
|
+
const findingsSummary = Object.entries(meeting.findings || {}).map(([agent, f]) =>
|
|
381
|
+
`**${(config.agents || {})[agent]?.name || agent}**: ${(f.content || '').slice(0, 200)}`
|
|
382
|
+
).join('\n');
|
|
383
|
+
const debateSummary = Object.entries(meeting.debate || {}).map(([agent, d]) =>
|
|
384
|
+
`**${(config.agents || {})[agent]?.name || agent}**: ${(d.content || '').slice(0, 200)}`
|
|
385
|
+
).join('\n');
|
|
386
|
+
const autoConclusion = `*Auto-generated — conclusion round timed out.*\n\n## Key Findings\n${findingsSummary || '(none)'}\n\n## Debate Summary\n${debateSummary || '(none)'}`;
|
|
387
|
+
meeting.conclusion = { content: autoConclusion, agent: 'system', submittedAt: new Date().toISOString() };
|
|
388
|
+
meeting.transcript.push({ round: meeting.round, agent: 'system', type: 'conclusion', content: autoConclusion, at: new Date().toISOString() });
|
|
380
389
|
meeting.status = 'completed';
|
|
381
390
|
meeting.completedAt = new Date().toISOString();
|
|
391
|
+
|
|
392
|
+
// Write transcript to inbox (same as normal conclusion path)
|
|
393
|
+
const agents = config.agents || {};
|
|
394
|
+
const transcript = meeting.transcript.map(t =>
|
|
395
|
+
`### ${agents[t.agent]?.name || t.agent} (${t.type}, Round ${t.round})\n\n${t.content}`
|
|
396
|
+
).join('\n\n---\n\n');
|
|
397
|
+
shared.writeToInbox('meeting', meeting.id, `# Meeting Transcript: ${meeting.title}\n\n${transcript}`);
|
|
398
|
+
|
|
382
399
|
saveMeeting(meeting);
|
|
383
400
|
}
|
|
384
401
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.451",
|
|
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"
|