@yemi33/minions 0.1.460 → 0.1.461
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 +2 -1
- package/dashboard/js/render-plans.js +9 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -476,6 +476,12 @@ async function planView(file) {
|
|
|
476
476
|
_stopPlanPoll();
|
|
477
477
|
try {
|
|
478
478
|
const normalizedFile = normalizePlanFile(file);
|
|
479
|
+
|
|
480
|
+
// Show modal immediately with loading state
|
|
481
|
+
document.getElementById('modal-title').textContent = normalizedFile;
|
|
482
|
+
document.getElementById('modal-body').innerHTML = '<p style="color:var(--muted)">Loading...</p>';
|
|
483
|
+
document.getElementById('modal').classList.add('open');
|
|
484
|
+
|
|
479
485
|
const planRes = await fetch('/api/plans/' + encodeURIComponent(normalizedFile));
|
|
480
486
|
const lastMod = planRes.headers.get('Last-Modified');
|
|
481
487
|
const resolvedPath = planRes.headers.get('X-Resolved-Path');
|
|
@@ -487,7 +493,6 @@ async function planView(file) {
|
|
|
487
493
|
_modalFilePath = resolvedPath || ((normalizedFile.endsWith('.json') ? 'prd/' : 'plans/') + normalizedFile); showModalQa();
|
|
488
494
|
const card = findCardForFile(_modalFilePath);
|
|
489
495
|
if (card) clearNotifBadge(card);
|
|
490
|
-
document.getElementById('modal').classList.add('open');
|
|
491
496
|
|
|
492
497
|
// Live-poll while modal is open
|
|
493
498
|
_planPollFile = normalizedFile;
|
|
@@ -625,6 +630,9 @@ async function planDiscuss(file) {
|
|
|
625
630
|
|
|
626
631
|
async function planOpenInDocChat(file) {
|
|
627
632
|
try {
|
|
633
|
+
document.getElementById('modal-title').textContent = file;
|
|
634
|
+
document.getElementById('modal-body').innerHTML = '<p style="color:var(--muted)">Loading...</p>';
|
|
635
|
+
document.getElementById('modal').classList.add('open');
|
|
628
636
|
const normalizedFile = normalizePlanFile(file);
|
|
629
637
|
const planRes = await fetch('/api/plans/' + encodeURIComponent(normalizedFile));
|
|
630
638
|
const resolvedPath = planRes.headers.get('X-Resolved-Path');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.461",
|
|
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"
|