@yemi33/minions 0.1.1857 → 0.1.1858
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
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.1.
|
|
3
|
+
## 0.1.1858 (2026-05-10)
|
|
4
|
+
|
|
5
|
+
### Other
|
|
6
|
+
- ui(meetings,kb): make plan-from-meeting and KB sweep optimistically immediate
|
|
7
|
+
|
|
8
|
+
## 0.1.1856 (2026-05-10)
|
|
4
9
|
|
|
5
10
|
### Other
|
|
6
|
-
- ci: re-run PR Tests when latest result is older than 3h (#2331)
|
|
7
11
|
- ui(toast): add inline toast variant + scope KB sweep / meeting plan feedback locally
|
|
8
12
|
|
|
9
13
|
## 0.1.1855 (2026-05-10)
|
|
@@ -145,6 +145,8 @@ function kbSetTab(tab) {
|
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
async function kbSweep() {
|
|
148
|
+
// Optimistic: instant feedback before any network round-trip.
|
|
149
|
+
showToast('kb-sweep-toast', 'KB sweep queued — runs in the background, this can take many minutes for a large KB', true, 8000);
|
|
148
150
|
try {
|
|
149
151
|
const res = await fetch('/api/knowledge/sweep', {
|
|
150
152
|
method: 'POST', headers: { 'Content-Type': 'application/json' },
|
|
@@ -155,7 +157,11 @@ async function kbSweep() {
|
|
|
155
157
|
showToast('kb-sweep-toast', 'Sweep failed: ' + (data.error || 'unknown'), false);
|
|
156
158
|
return;
|
|
157
159
|
}
|
|
158
|
-
|
|
160
|
+
if (data.alreadyRunning && data.startedAt) {
|
|
161
|
+
const ageSec = Math.max(0, Math.round((Date.now() - data.startedAt) / 1000));
|
|
162
|
+
const ageStr = ageSec >= 60 ? Math.floor(ageSec / 60) + 'm ' + (ageSec % 60) + 's' : ageSec + 's';
|
|
163
|
+
showToast('kb-sweep-toast', 'A KB sweep is already running (' + ageStr + ' elapsed) — let it finish first', true, 8000);
|
|
164
|
+
}
|
|
159
165
|
} catch (e) {
|
|
160
166
|
showToast('kb-sweep-toast', 'Sweep error: ' + e.message, false);
|
|
161
167
|
}
|
|
@@ -420,17 +420,14 @@ function _findLinkedPlan(meeting) {
|
|
|
420
420
|
}
|
|
421
421
|
|
|
422
422
|
async function _createPlanFromMeeting(id, btn) {
|
|
423
|
+
// Optimistic: instant feedback before fetching the meeting + posting the WI.
|
|
424
|
+
showToast('meeting-plan-toast', 'Plan task queued — agent will draft the plan from this meeting', true);
|
|
423
425
|
try {
|
|
424
426
|
const res = await fetch('/api/meetings/' + encodeURIComponent(id));
|
|
425
427
|
const data = await res.json();
|
|
426
428
|
if (!data.meeting) { showToast('meeting-plan-toast', 'Meeting not found', false); return; }
|
|
427
429
|
const m = data.meeting;
|
|
428
430
|
|
|
429
|
-
const existing = _findLinkedPlan(m);
|
|
430
|
-
if (existing) {
|
|
431
|
-
if (!confirm('A plan already exists: "' + existing.summary + '"\n\nQueue another plan task anyway?')) return;
|
|
432
|
-
}
|
|
433
|
-
|
|
434
431
|
const transcript = (m.transcript || []).map(function(t) {
|
|
435
432
|
return '### ' + (t.agent || 'agent') + ' (' + (t.type || '') + ', Round ' + (t.round || '?') + ')\n\n' + (t.content || '');
|
|
436
433
|
}).join('\n\n---\n\n');
|
|
@@ -461,7 +458,9 @@ async function _createPlanFromMeeting(id, btn) {
|
|
|
461
458
|
showToast('meeting-plan-toast', 'Failed to queue plan task: ' + (planData.error || 'unknown'), false);
|
|
462
459
|
return;
|
|
463
460
|
}
|
|
464
|
-
|
|
461
|
+
if (planData.id) {
|
|
462
|
+
showToast('meeting-plan-toast', 'Plan task queued (' + planData.id + ')', true);
|
|
463
|
+
}
|
|
465
464
|
if (typeof wakeEngine === 'function') wakeEngine();
|
|
466
465
|
if (typeof refresh === 'function') refresh();
|
|
467
466
|
} catch (e) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1858",
|
|
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"
|