github AgentWorkforce/burn cli-v0.31.0
@relayburn/cli@0.31.0

2 hours ago

[0.31.0] - 2026-04-27

Changed

  • burn summary now reads from archive.sqlite instead of streaming ledger.jsonl (#82). The default hot path calls buildArchive() (cheap incremental tail scan after the per-invocation ingestAll) and issues SQL with filters lowered to indexed WHERE clauses against turns, replacing the per-invocation full ledger walk + stamp fold. Subagent-tree (--subagent-tree) and --by-subagent-type modes consume the same archive-derived turn slice. Output (text + --json) is parity-preserved against the legacy reader for the byModel, totalCost, and fidelity blocks. Two escape hatches preserve the old behavior: a new --no-archive flag and the RELAYBURN_ARCHIVE=0 env var both revert to queryAll. If the archive path throws (corrupt sqlite, schema mismatch we couldn't recover from cleanly), the command transparently falls back to the streaming reader and surfaces the reason on stderr — the archive can never wedge burn summary.

Don't miss a new burn release

NewReleases is sending notifications on new releases.