Usage over time: Pinky token graph by Brain + modal info strip (v1.19.0) #43
Loading…
Reference in a new issue
No description provided.
Delete branch "oss-oo/observatory-neon-q-nkyq20260925"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Round Q — the usage graph the owner sketched off ZCode's own per-model usage chart, plus the modal title-right info strip.
The graph
<details>section at the end of the page, open by default (showcase piece).GET /api/usage?hours=168— per-session turn series (started_at, computed_total_tokens, in/out/reasoning split) enriched with lineage facts (root/parent ids + titles, family color), bucketed active counts, pending dispatches. Caps: 200 turns/session in window, 60 series (quietest terminal drop first — running never drops), buckets 5/15/30 min by window; hours clamped 1..720.The modal info strip (addendum 3)
Right of the response-modal title, one non-wrapping row: 🧠 BRAIN badge (family-color accent) / 🐺 PINKY, clickable → parent title (jumps the modal to the parent's panel), context % (the steer line's math echoed, full numbers in tooltip), turns · total tokens (
12 T · 1.2M tok), age — collapsing gracefully below 1000/560 px to badge + parent, with everything surviving in tooltips.Evidence
tests/test_usage_payload.py— completed-only points, distinct-session bucket math incl. end-exclusive/zero-length edge cases, lineage enrichment, caps preferring running, window-filtered pending) — 18 total green.docs/usage-graph.pngglamour shot; response-modal docs cover the info strip.