Skip to content

Releases

ccdash v1.2.6

Choose a tag to compare

@jedarden jedarden released this 08 Nov 19:03

[1.2.6] - 2026-11-08

Fixed

  • Test suite could deadlock on pipe-memory-pressured hosts: the stdout-capturing tests swapped os.Stdout for an os.Pipe and 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 - so go test ./cmd/ccdash/ hung past its timeout on such a host while CI stayed green. A shared captureStdout helper 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

Choose a tag to compare

@jedarden jedarden released this 11 Oct 13:49

[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

Choose a tag to compare

@jedarden jedarden released this 07 Oct 22:30

[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

Choose a tag to compare

@jedarden jedarden released this 07 Oct 22:27

[1.2.3] - 2026-10-07

Added

  • --doctor checks for jq: installed hooks need jq to write session state; without it they fail silently, so the doctor now reports it as a problem.
  • Reproducible demo screenshot: scripts/demo-env.sh builds a synthetic environment (generated transcripts, hook records and agent sessions on a private tmux server) and vhs docs/images/ccdash.tape records the README screenshot from it.

Changed

  • make release is now make 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.md covers the token cache, costs and headless modes; ADR-0006/0007 marked Accepted; historical research labelled; docs/notes/release-pipeline.md describes CI. The test suite now runs in CI before any release is tagged.

ccdash v1.2.2

Choose a tag to compare

@jedarden jedarden released this 07 Oct 22:17

[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

Choose a tag to compare

@jedarden jedarden released this 07 Oct 16:42

[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-sol and gpt-5.6-luna were 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

Choose a tag to compare

@jedarden jedarden released this 07 Oct 15:50

[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, --json for 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 and tokens.rate are measured rather than null.
  • 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). With alerts.cost_threshold_usd set it also shows a Budget bar. --once --json gains tokens.projected_week_cost, budget_usd and budget_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[].cost with session_id.

ccdash v1.1.40

Choose a tag to compare

@jedarden jedarden released this 07 Oct 15:37

[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 every claude process on the host, so it could read 37/36 procs and meant nothing. running_processes stays in --once --json; the README now says what it counts.
  • Legacy Codex prices removed: gpt-5-codex, gpt-5.2-codex and codex-mini-latest are 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-codex is kept, verified against the page.

ccdash v1.1.39

Choose a tag to compare

@jedarden jedarden released this 07 Oct 15:30

[1.1.39] - 2026-10-07

Fixed

  • --once reported 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 --once takes a second session sample one refresh interval (2s) later, so WORKING means the pane actually changed. --once takes about a second longer.

ccdash v1.1.36

Choose a tag to compare

@jedarden jedarden released this 07 Oct 12:46