Repository navigation
Releases
Releases · Flexible-Universe/Token-Usage-Dashboard
v1.2.0
Added
- Version display: The footer shows the running version. A release shows its version number, a clone shows the short commit hash. /api/data returns it in the app field.
- Start menu entry on Windows: The installer adds a Token-Usage-Dashboard entry for the current user. --no-shortcut skips it.
Changed
- Worktrees under their repository: The Projects tab groups Git worktrees under their repository. This only applies when the repository itself appears in the data. Totals are unchanged.
- Expandable repository rows: An expanded repository row shows the main checkout, the ten most expensive worktrees and one row for the rest.
Fixed
- Last day of a month: If Claude Code had already deleted older session files, the last day of a month went missing. The export is now merged into the archive day by day. Important: the fix only takes effect after running install.py --force.
- Start of the date range: "All months" and custom ranges now begin at the first exported day instead of a fixed May 1, 2026.
v1.1.0
Added
- The installer checks the minimum versions of Python, Node.js,
ccusage,
rtkand macOS, prints a version table and aborts with exit code 2 before
it writes anything if a needed component is missing or too old. - Support for Linux and Windows besides macOS: the export chain, the
installer and the scheduled jobs run on all three systems. install.py, a cross-platform installer from the standard library. It
sets up the jobs with launchd (macOS), systemd user timers with
Persistent=trueor, as a fallback, cron (Linux), and the Windows Task
Scheduler (StartWhenAvailable,pyw -3orpythonw.exe). New options
--with-jobs,--no-jobs,--remove-jobs,--schedulerand--app-dir.install.cmd, the starter for Windows.- Release ZIPs per system. Installed
from an unpacked release,install.pycopies the application to a
per-user directory, sets up the jobs by default, keeps an existing
config.tomland writesstart-dashboard.shorstart-dashboard.cmd.
A ZIP for another system is refused. - Options
--data-dir,--lookback-days,--ccusage-binand--rtk-bin
for the export scripts, becausecmd.exe, PowerShell and the Task
Scheduler cannot put a variable in front of a command; the variable
CCUSAGE_SEARCH_DIRS. runtimein/api/datawith the interpreter of the server and whether it
runs on Windows.- A first export run at the end of the installation, so the dashboard has
data before the first night (--no-first-exportskips it).
Changed
- The export chain is Python:
export/ccusage-export.py(modesdaily,
weekly,monthly) andexport/rtk-export.pywith the shared module
export/exportlib.py. Regression rules, logs, status files and
environment variables are unchanged. install.shis now a thin starter that finds Python 3.11+ and calls
install.py.--with-launchagentsremains as an alias of--with-jobs.- The jobs carry the absolute paths of the interpreter,
ccusageandrtk
the installer found, so a job decides exactly as the installer did.rtk
no longer has to be reachable through launchd's defaultPATH. - The default data directory follows the platform: macOS
~/Library/Application Support/Claude-Code-Usage, Linux
${XDG_DATA_HOME:-~/.local/share}/claude-code-usage, Windows
%LOCALAPPDATA%\Claude-Code-Usage.config.tomlstores the path as an
escaped TOML string. RTK_SEARCH_DIRSandCCUSAGE_SEARCH_DIRSare separated by the platform's
path separator (colon, semicolon on Windows); the fixed search
directories depend on the platform.- The call that closes a weekly export gap names the interpreter and the
options instead of environment variables, and is written for PowerShell
on Windows. - Copies of the old shell scripts in
<data>/binare reported as obsolete,
not deleted.
Removed
export/ccusage-export.sh,export/rtk-export.shand the launchd
templates underexport/launchd/.