Skip to content

0.9.1

Latest

Choose a tag to compare

@github-actions github-actions released this 19 Nov 14:34
· 14 commits to main since this release

Most of this release is the Stats page, rebuilt from scratch. One filter bar drives every number on it, and every table drills down to the sessions behind it. New on the page: your subscription's usage windows with a projection to the reset, and an export of what you see.

What's new

  • A new Stats page. A sticky filter bar sets range, backend, project and model for every block, and the page remembers the filter. Below it: key figures with the change against the previous period (sessions, messages, tokens split into input, output and cache, cost, cache hit rate, active days), one chart with a measure switch and a split by backend, model or project, and tables for projects, models, backends and sessions. A row sets its filter, and a click on a session row opens that session the way the sidebar does. (#877)
  • Projects in the Stats sidebar. While Stats is open, the left sidebar lists the projects in the current filter, each with a small trend line and its token total. A click filters the page to that project. (#877)
  • Rhythm and limits. The year heatmap and the weekday-by-hour grid are one collapsible block. Weeks start on Monday, and a day in the heatmap can be picked with the mouse or the keyboard to set the range to that day. Rate limits moved out of the page body into a strip of chips beside the filter bar, with the full detail one click away. (#877)
  • Usage windows with a projection. For Claude and Codex, a block shows each rolling limit window: the provider's percent, when it resets, the current pace, and when the limit would be reached at that pace. The projection starts linear and switches to the last hour's trend once there are enough readings. For weekly windows a second line shows this machine's tokens and cost in the window. (#883)
  • Cost including started sessions. The Sessions table has two more columns: tokens and cost including every session a session started, such as a review on another backend. The figures appear only in that table and never in a total, so nothing is counted twice. (#809)
  • Export. The current table goes to CSV, or everything to JSON (switchboard.stats/1). Project names are display names only, so no local path ends up in the file. (#877)
  • VS Code tasks in the launch menu. The Custom commands flyout lists a project's .vscode/tasks.json tasks, read-only. Shell and process tasks run like an in-app launcher. Tasks the app cannot run show as disabled, with the reason. (#616)

Fixes

  • The old Stats page mixed its windows. The per-backend cards summed all history and ignored the selected range, and the daily session count included subagents while the total did not. Every figure on the new page comes from the same queries under the same filter. (#877)
  • A parent session counted in two projects when one of its subagents had stored a different project path. A subagent now belongs to its parent's project. (#877)
  • Usage limits vanished with Claude switched off and claude-native on, although both run on the same account. The reading now stays while the backend or a driver of it is enabled, and Settings offers the same rows the status bar shows. (#885)

Behaviour changes

  • The model cards and the separate "Tokens by model", "Tokens by backend", "Cost" and "Last 30 days" blocks are gone. The Models table and the main chart replace them.
  • Rate limits no longer sit in the Stats body. They are the chips at the right of the filter bar. They are never filtered.

Under the hood

Cache accounting and settled cost are now declared per backend. Usage readings carry a machine-readable reset time and window length. A flaky maintenance test that failed under suite load is isolated to its own session (#884). There is also a timing probe for the roll-up query.