Skip to content

A team of long-lived bots for DeepSeek Harness, with main bots, bot-to-bot messages and group chats.

Read the hovered heatmap day from the live totals

FeiZhuLulu4ece8a02ddc4
diff --git a/ds-bot/client.js b/ds-bot/client.js
index 4c35db52..7c2d96a7 100644
--- a/ds-bot/client.js
+++ b/ds-bot/client.js
@@ -9042,7 +9042,7 @@ function Heat({ view, keep, paint, index }) {
"data-on": hover?.ms === ms ? "" : void 0,
"data-future": ms > today ? "" : void 0,
"data-today": ms === today ? "" : void 0,
- onMouseEnter: ms > today ? void 0 : () => setHover({ ms, week, day, value })
+ onMouseEnter: ms > today ? void 0 : () => setHover({ ms, week, day })
}, level > 0 ? (0, import_react22.createElement)("i", { style: { background: soften(paint, levels[level - 1]) } }) : null));
}
}
@@ -9065,7 +9065,7 @@ function Heat({ view, keep, paint, index }) {
"div",
{ className: "bt-us-tip bt-us-heat-tip", style: tipSide },
(0, import_react22.createElement)("div", { className: "bt-us-tip-title" }, dates({ month: "long", day: "numeric", weekday: "short" }).format(hover.ms)),
- (0, import_react22.createElement)("div", { className: "bt-us-tip-total" }, t("{count} tokens", { count: full(hover.value) }))
+ (0, import_react22.createElement)("div", { className: "bt-us-tip-total" }, t("{count} tokens", { count: full(daily.get(dayKey(hover.ms)) ?? 0) }))
) : null
),
(0, import_react22.createElement)(
diff --git a/ds-bot/src/client/usage-page.js b/ds-bot/src/client/usage-page.js
index e8e17801..317fb393 100644
--- a/ds-bot/src/client/usage-page.js
+++ b/ds-bot/src/client/usage-page.js
@@ -351,7 +351,7 @@ function Heat({ view, keep, paint, index }) {
key: ms, className: 'bt-us-cell', style: { '--w': week },
'data-on': hover?.ms === ms ? '' : undefined,
'data-future': ms > today ? '' : undefined, 'data-today': ms === today ? '' : undefined,
- onMouseEnter: ms > today ? undefined : () => setHover({ ms, week, day, value }),
+ onMouseEnter: ms > today ? undefined : () => setHover({ ms, week, day }),
}, level > 0 ? h('i', { style: { background: soften(paint, levels[level - 1]) } }) : null))
}
}
@@ -372,7 +372,7 @@ function Heat({ view, keep, paint, index }) {
h('div', { className: 'bt-us-heat-grid', role: 'img', 'aria-label': summary }, cells),
hover ? h('div', { className: 'bt-us-tip bt-us-heat-tip', style: tipSide },
h('div', { className: 'bt-us-tip-title' }, dates({ month: 'long', day: 'numeric', weekday: 'short' }).format(hover.ms)),
- h('div', { className: 'bt-us-tip-total' }, t('{count} tokens', { count: full(hover.value) }))) : null),
+ h('div', { className: 'bt-us-tip-total' }, t('{count} tokens', { count: full(daily.get(dayKey(hover.ms)) ?? 0) }))) : null),
h('div', { className: 'bt-us-heat-scale', 'aria-hidden': true }, t('Light'),
levels.map(level => h('span', { key: level, className: 'bt-us-cell' }, h('i', { style: { background: soften(paint, level) } }))),
t('Heavy')))