Skip to content

feat(slate): Re-design context, speed, & cache hit analytics around performance - #134

Merged
GaganSD merged 15 commits into
mainfrom
feat/slate-perf-sidebar
Nov 18, 2026
Merged

GaganSD merged 15 commits into
mainfrom
feat/slate-perf-sidebar

Conversation

@GaganSD

@GaganSD GaganSD commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Redesigns the session sidebar around context usage, response throughput, and prompt-cache activity.
  • Keeps graph and bar colors in sync with the theme, with compact and full-height layouts.

Screenshots

Warm theme Cool theme
Slate performance sidebar with a warm accent Slate performance sidebar with a cool accent

Release note

redesigned sidebar for performance tracking

Verification

  • 679 Slate tests, typecheck, and lint passed.
  • 8 installed Pi 1.5.2 smoke checks passed.

Rebuild the top of the session rail around status, a single context bar,
a speed hero card (exact end-to-end tok/s per response, live estimate
while streaming, zero-based braille graph) and a prompt-cache section
(hit %, read/write/new split, estimated savings, warm/cold countdown
when the provider publishes a cache lifetime). Facts come from one
cached pass over the active branch; the rail adapts to terminal height.
CONTEXT, SPEED and CACHE now share a heading row (label left, key
figure right), one full-width visual row using the same bar glyphs, and
labelled detail rows. Speed shows only exact per-response figures and
the turn average uses the same eligible responses as the peak. Short
terminals keep the CONTEXT heading row instead of the legacy meter.
The thin ━ line read as a section divider. CONTEXT now fills a two-row
battery body with an eighth-step charging edge and a centred terminal
nub that lights up at 100%.
@GaganSD
GaganSD force-pushed the feat/slate-perf-sidebar branch from 24df77c to 83e69e3 Compare November 18, 2026 04:33
@greptile-apps

greptile-apps Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

Rebuilds the session sidebar around context usage, response speed, and prompt-cache activity.

  • The session rail shows the pace of completed replies.
  • The session rail breaks cache activity into reads, writes, and new input.
  • The session rail pairs its context bar with live session status.

No actionable issues found. Tests were not run; the required host packages are not installed in this checkout.

Reviews (1) · Last reviewed commit: "docs(slate): reserve the changelog entry..." · Reviewed by Greptile

@GaganSD GaganSD changed the title feat(slate): speed card, cache section and battery context bar in the sidebar feat(slate): Re-design context, context & cache hit analytics around performance Nov 18, 2026
@GaganSD
GaganSD merged commit 0fa8984 into main Nov 18, 2026
8 checks passed
@GaganSD GaganSD changed the title feat(slate): Re-design context, context & cache hit analytics around performance feat(slate): Re-design context, speed, & cache hit analytics around performance Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant