ai-gains 1.3.2 → 1.3.4
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/package.json +1 -1
- package/src/dashboard.html +4 -4
- package/src/server.js +1 -1
package/package.json
CHANGED
package/src/dashboard.html
CHANGED
|
@@ -703,7 +703,7 @@
|
|
|
703
703
|
const branchPill = s.branch ? `<span class="pill branch">⎇ ${esc(s.branch)}</span>` : '';
|
|
704
704
|
|
|
705
705
|
return `
|
|
706
|
-
<div class="session-card" onclick="showSession('${esc(s.uuid)}')">
|
|
706
|
+
<div class="session-card" onclick="showSession('${esc(s.uuid || s.session_id)}')">
|
|
707
707
|
<div class="session-icon">⚡</div>
|
|
708
708
|
<div class="session-body">
|
|
709
709
|
<div class="session-top">
|
|
@@ -725,7 +725,7 @@
|
|
|
725
725
|
// ── Session detail ──────────────────────────────────────────────────────────
|
|
726
726
|
|
|
727
727
|
function showSession(uuid) {
|
|
728
|
-
const s = sessions.find(x => x.uuid === uuid);
|
|
728
|
+
const s = sessions.find(x => (x.uuid || x.session_id) === uuid);
|
|
729
729
|
if (!s) return;
|
|
730
730
|
const sp = speedup(s);
|
|
731
731
|
const ht = humanTime(s);
|
|
@@ -750,7 +750,7 @@
|
|
|
750
750
|
const authorStat = s.author ? `
|
|
751
751
|
<div class="detail-stat">
|
|
752
752
|
<div class="detail-stat-label">Author</div>
|
|
753
|
-
<div class="detail-stat-value" style="font-size:13px;font-weight:500;color:var(--muted)">${esc(s.author)}</div>
|
|
753
|
+
<div class="detail-stat-value" style="font-size:13px;font-weight:500;color:var(--muted);word-break:break-all;overflow-wrap:anywhere">${esc(s.author)}</div>
|
|
754
754
|
</div>` : '';
|
|
755
755
|
const branchStat = s.branch ? `
|
|
756
756
|
<div class="detail-stat">
|
|
@@ -761,7 +761,7 @@
|
|
|
761
761
|
|
|
762
762
|
document.getElementById('detail-content').innerHTML = `
|
|
763
763
|
<div class="detail-title">${esc(fmtDate(s.start_time))}</div>
|
|
764
|
-
<div class="detail-uuid">${esc(s.uuid)}</div>
|
|
764
|
+
<div class="detail-uuid">${esc(s.uuid || s.session_id)}</div>
|
|
765
765
|
|
|
766
766
|
<div class="detail-stats">
|
|
767
767
|
<div class="detail-stat">
|