wyrm-mcp 3.6.1 → 3.6.2
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/dist/ui-dashboard.js +9 -9
- package/package.json +1 -1
package/dist/ui-dashboard.js
CHANGED
|
@@ -359,8 +359,8 @@ async function loadOverview() {
|
|
|
359
359
|
card.replaceChild(vEl, skel);
|
|
360
360
|
}
|
|
361
361
|
});
|
|
362
|
-
// Recent sessions
|
|
363
|
-
|
|
362
|
+
// Recent sessions — remove skeleton list, then insert real data
|
|
363
|
+
pane.querySelector('.list')?.remove();
|
|
364
364
|
const sl = el('div', 'sessions-list');
|
|
365
365
|
const sessions = data.recent_sessions || [];
|
|
366
366
|
if (sessions.length === 0) {
|
|
@@ -377,7 +377,7 @@ async function loadOverview() {
|
|
|
377
377
|
});
|
|
378
378
|
}
|
|
379
379
|
pane.appendChild(sl);
|
|
380
|
-
} catch {}
|
|
380
|
+
} catch(e) { showToast(String(e), 'error'); }
|
|
381
381
|
}
|
|
382
382
|
|
|
383
383
|
// ── Memories ─────────────────────────────────────────────────────────────────
|
|
@@ -441,7 +441,7 @@ async function loadMemories(page, kind, search) {
|
|
|
441
441
|
});
|
|
442
442
|
pane.appendChild(pgn);
|
|
443
443
|
}
|
|
444
|
-
} catch {}
|
|
444
|
+
} catch(e) { showToast(String(e), 'error'); }
|
|
445
445
|
}
|
|
446
446
|
|
|
447
447
|
function initMemoriesPane() {
|
|
@@ -525,7 +525,7 @@ async function loadQuests() {
|
|
|
525
525
|
});
|
|
526
526
|
}
|
|
527
527
|
});
|
|
528
|
-
} catch {}
|
|
528
|
+
} catch(e) { showToast(String(e), 'error'); }
|
|
529
529
|
}
|
|
530
530
|
|
|
531
531
|
// ── Truths ───────────────────────────────────────────────────────────────────
|
|
@@ -587,7 +587,7 @@ async function loadTruths(page) {
|
|
|
587
587
|
});
|
|
588
588
|
pane.appendChild(pgn);
|
|
589
589
|
}
|
|
590
|
-
} catch {}
|
|
590
|
+
} catch(e) { showToast(String(e), 'error'); }
|
|
591
591
|
}
|
|
592
592
|
|
|
593
593
|
// ── Review ───────────────────────────────────────────────────────────────────
|
|
@@ -632,7 +632,7 @@ async function loadReview() {
|
|
|
632
632
|
em.appendChild(el('div', null, 'Review queue is empty'));
|
|
633
633
|
pane.appendChild(em);
|
|
634
634
|
}
|
|
635
|
-
} catch {}
|
|
635
|
+
} catch(e) { showToast(String(e), 'error'); }
|
|
636
636
|
});
|
|
637
637
|
rejectBtn.addEventListener('click', async () => {
|
|
638
638
|
try {
|
|
@@ -646,7 +646,7 @@ async function loadReview() {
|
|
|
646
646
|
em.appendChild(el('div', null, 'Review queue is empty'));
|
|
647
647
|
pane.appendChild(em);
|
|
648
648
|
}
|
|
649
|
-
} catch {}
|
|
649
|
+
} catch(e) { showToast(String(e), 'error'); }
|
|
650
650
|
});
|
|
651
651
|
actions.appendChild(approveBtn);
|
|
652
652
|
actions.appendChild(rejectBtn);
|
|
@@ -654,7 +654,7 @@ async function loadReview() {
|
|
|
654
654
|
list.appendChild(item);
|
|
655
655
|
});
|
|
656
656
|
pane.appendChild(list);
|
|
657
|
-
} catch {}
|
|
657
|
+
} catch(e) { showToast(String(e), 'error'); }
|
|
658
658
|
}
|
|
659
659
|
|
|
660
660
|
// ── Pagination helper ─────────────────────────────────────────────────────────
|