Repository navigation
v2.0.0
claudit is now a local daemon plus a TUI: claudit serve hosts the live dashboard and the Agents trace view, and claudit watch tails a session in the terminal. The one-shot file outputs — HTML, markdown and JSON reports, and diffs — are gone, along with everything that existed only to support them.
Migration: run claudit serve (or bare claudit) instead of claudit > report.html or claudit diff. Re-bookmark #cost, #tokens and #cache links as #spend (#spend/<tab>/tokens for token counts); the old hashes still redirect, but bookmarks should name the view that exists. Drop --redact from any scripts — it is now an unknown-flag error.
Removed
- The
reportanddiffsubcommands. Bareclauditno longer writes a report to stdout, andclaudit report/claudit diffexit 1 withunknown command. The HTML, markdown and JSON report renderers and the diff renderer are deleted. --redactand?redact. Redaction existed to make report files safe to share; with no report files it has no purpose.claudit serve --redactis an unknown-flag error, and?redactin a URL is ignored like any unknown query key.- The
/_claudit/api/sessions,/_claudit/api/sessions/{id}/timelineand/_claudit/api/cacheroutes. No dashboard view called the first two; the third backed the Cache view. - The Tokens and Cache views. Tokens merge into the new Spend view behind a Dollars / Tokens toggle; the cache hit ratio stays on the Overview.
- The SPA's offline/static mode. The dashboard always fetches from the running daemon; there is no baked-data fallback.
Changed
- Bare
clauditrunsserve.clauditandclaudit --port=9000start the daemon;claudit helplists exactlyserve,watchandversion. #cost,#tokensand#cacheredirect to#spend.#cost/<tab>lands on#spend/<tab>,#tokens/<tab>on#spend/<tab>/tokens, and#cacheon#spend. The redirect replaces the history entry, so Back skips it.- Projects are grouped by git repo root. Every by-project surface — Spend by project, project trends, the
?project=filter and the Agents view's session labels — keys on the repo a session's cwd belongs to, so a repo's linked worktrees and subdirectories roll up into one project. Claude Code scratch directories that decode to nothing on disk, and deleted cwds with no surviving ancestor in a repo, fall intoscratchandmissingbuckets.