Skip to content

v0.2.4

Choose a tag to compare

@github-actions github-actions released this 17 Jun 03:20
· 13 commits to main since this release

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 p and m state 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 → all
  • v: credits → totalTokens → inputTokens
  • a: main → all → main
  • tab: [model] → [project] → [day] → [day-model]
  • p: project filter shows droid-session-explorer
  • m: model filter shows gpt

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