v0.2.4
dsx v0.2.4: Stats TUI top-bar readability patch
This patch fixes the Stats TUI state display so shortcut-driven changes are visible as text, not only as terminal color styling.
What changed
- The selected Stats dimension now renders with explicit brackets, for example
[model],[project],[day], and[day-model]. - Project and model filters now render as text chips when not editing, instead of staying inside a narrow input viewport.
- Long filter values are easier to read after submitting, which makes
pandmstate changes clear.
Why this matters
The v0.2.3 analytics release added several powerful Stats TUI controls (w, v, a, p, m, tab), but the selected dimension depended on color-only highlighting. That made the top bar feel static in some terminals and made tctl snapshots weaker as verification evidence.
Verified with tctl
The patch was verified with a recorded tctl run against the compiled binary, asserting all of these state transitions:
w: all → 7d → 30d → 90d → allv: credits → totalTokens → inputTokensa: main → all → maintab:[model]→[project]→[day]→[day-model]p: project filter showsdroid-session-explorerm: model filter showsgpt
Also validated locally with:
bun test
bunx tsc --noEmit
bun run build
bun run compile
./dist/dsx-linux-x64 --version
./dist/dsx-linux-x64 --no-refresh list -n 1