Repository navigation
Releases
Releases · jedarden/ccdash
ccdash v1.2.6
[1.2.6] - 2026-11-08
Fixed
- Test suite could deadlock on pipe-memory-pressured hosts: the stdout-capturing tests swapped
os.Stdoutfor anos.Pipeand only read it back after the code under test returned. When a host has exhausted its pipe-memory allowance (fs.pipe-user-pages-soft), the kernel hands out new pipes with 8KiB buffers, and a snapshot larger than that blocks inside its single write - sogo test ./cmd/ccdash/hung past its timeout on such a host while CI stayed green. A sharedcaptureStdouthelper now drains the pipe from a goroutine started before the code under test runs, which stays correct at any snapshot size or pipe buffer.
ccdash v1.2.5
[1.2.5] - 2026-10-11
Fixed
- Haiku 5.5 showed estimated pricing: added its exact rates for prompts up to 100K tokens ($0.10 input / $0.50 output per MTok, $0.01 cache reads / $0.125 cache writes). Existing cached usage is repriced automatically. Per-request tiering above 100K is not yet supported; such requests would cost five times these rates.
- Claude Code's
<synthetic>placeholder showed as unpriced: its zero-token usage now has an exact $0 price.
ccdash v1.2.4
[1.2.4] - 2026-10-07
Changed
- Internal: UI code split by concern.
internal/ui/dashboard.go(2,944 lines) is now the model, update and view (542 lines), with layout, each panel, keys, overlays, the status bar and helpers in their own files. Every declaration moved unchanged; no behaviour change.
ccdash v1.2.3
[1.2.3] - 2026-10-07
Added
--doctorchecks forjq: installed hooks needjqto write session state; without it they fail silently, so the doctor now reports it as a problem.- Reproducible demo screenshot:
scripts/demo-env.shbuilds a synthetic environment (generated transcripts, hook records and agent sessions on a private tmux server) andvhs docs/images/ccdash.taperecords the README screenshot from it.
Changed
make releaseis nowmake cross-build, without checksum files: releases are built and published by CI only.- Documentation: README quick start, accurate release badge and a real screenshot;
docs/architecture.mdcovers the token cache, costs and headless modes; ADR-0006/0007 marked Accepted; historical research labelled;docs/notes/release-pipeline.mddescribes CI. The test suite now runs in CI before any release is tagged.
ccdash v1.2.2
[1.2.2] - 2026-10-07
Fixed
- Token totals could count usage twice, or lose it: three cache defects. A transcript that was summarised, resumed and summarised again had its earlier lines replaced, not merged, and lost them; while it was active again its earlier lines were left out of the totals; and a second ccdash process (or a rewritten transcript) could store lines that were already in a summary, so they counted twice. Summaries now merge, record which lines they cover so those lines are never stored again, count while their file is active, and are dropped when a file is rewritten.
- Existing caches are repaired on upgrade (schema 5): events that exactly duplicate their file's summary are removed, and other overlap is rebuilt from the transcript when it still exists. On the maintainer's cache this removed 649 duplicate events (about 25M tokens) in 2 seconds; overlap for two deleted transcripts that cannot be proven is left unchanged.
ccdash v1.2.1
[1.2.1] - 2026-10-07
Fixed
- Model names truncated with space to spare: the token panel sized model names against a fixed 22-column worst case for the cost and token text, so
gpt-6-astra,gpt-6.1-solandgpt-5.6-lunawere cut to 10 characters while the models column had room. Names now get the width the actual cost and token text leaves, and the panel's preferred width uses the same measure, never below what the side-by-side layout needs.
ccdash v1.2.0
[1.2.0] - 2026-10-07
Added
ccdash --doctor: checks token sources (Claude transcripts, Codex rollout logs, OpenCode store), the token cache and which dashboard holds the collector lease,config.yaml, notifications (webhook shown as host only), Claude/Codex hooks and recent hook errors, and tmux. Prints OK/WARN/FAIL per check, exits 1 on a problem,--jsonfor a machine-readable report.--watch --json: streams one snapshot per--interval(default 2s) as a JSON line until interrupted. Unlike--once, disk/network I/O andtokens.rateare measured rather thannull.- Weekly spend projection and budget bar: in the default Monday-9am window, after the first day, the token panel shows
Proj: $X/wk(spend so far x 7 days / elapsed). Withalerts.cost_threshold_usdset it also shows aBudgetbar.--once --jsongainstokens.projected_week_cost,budget_usdandbudget_used_percent. - Per-session cost: hook-tracked Claude Code and Codex sessions show their own spend in the token window, from the transcript named after the session ID. Sessions without an identifiable transcript show no cost rather than an estimate. In JSON as
sessions.sessions[].costwithsession_id.
ccdash v1.1.40
[1.1.40] - 2026-10-07
Changed
- Sessions header: shows the session count only. It used to show
(sessions/processes)when they differed, but the process figure counts everyclaudeprocess on the host, so it could read37/36 procsand meant nothing.running_processesstays in--once --json; the README now says what it counts. - Legacy Codex prices removed:
gpt-5-codex,gpt-5.2-codexandcodex-mini-latestare not on OpenAI's current pricing page and never appeared in this workspace's usage, so their prices could not be sourced. A request on one of them now shows as unpriced (?).gpt-5.3-codexis kept, verified against the page.
ccdash v1.1.39
[1.1.39] - 2026-10-07
Fixed
--oncereported every tmux session as WORKING: a session's first sample had nothing to compare against and was counted as fresh activity, so one-shot snapshots (and the dashboard's first frame) showed idle sessions as WORKING. A first sample is now the baseline, and--oncetakes a second session sample one refresh interval (2s) later, so WORKING means the pane actually changed.--oncetakes about a second longer.