agentmeterv0.3.1

Changelog

Generated from CHANGELOG.md in the project repository. Never maintained twice.

Unreleased

  • changedPages: the project site uses the current shared theme (0.12.14).

0.3.1

10 November 2026

  • changedCLI: reading the logs shows a progress bar on stderr per source once it takes longer than a second, so the menu and the reports no longer wait on an empty screen with large logs. Nothing is shown when stderr is not a terminal.
  • changedCLI: the text output marks every state with one set of symbols: ➜ for a lever or an observed rule, ℹ to look at, ✔ fine or nothing to report, ⊝ not measurable, and ⚠ / ✖ for notes and problems while reading. They replace ◆, ?, ✓, ·, ! and ✗; the JSON output is unchanged.
  • changedCLI: on a terminal the log file of an evidence line is a link that opens the file. Pipes and NO_COLOR get the plain path as before.
  • changedCLI: compressed Codex rollouts are decompressed on several threads, so reading large Codex logs takes a fraction of the time. The figures are unchanged.

0.3.0

10 November 2026

  • addedCLI: --report overview|changes|waste|start|ai answers one question with several analyses at once, so the single options need not be known; --help lists the reports first. Details: Usage.
  • addedCLI: --subagents shows the run time Claude Code logs for a finished agent run, per agent and added up per session (JSON logged_runs, logged_run_ms). It is wall time with waiting; background agents are assigned with --tool-calls, and an agent without a record stays unknown. Details: Subagents.
  • changedCLI: the menu offers these five reports instead of one row per view and rule. A row that reads tool calls or starts claude says so before it is chosen; the overview and the comparison still read usage metadata only.
  • changedPages: the overview and the home page describe the released state and the analyses added in 0.2.0, and the privacy text names what --tool-calls and --skills read.

0.2.0

10 November 2026

  • addedCLI: --instructions <dir> lists the instruction files that apply to a directory by each agent's own loading rules, with source, size, estimated tokens and load state, and reports broken-import, duplicate-instructions, base-size and load-limit. JSON key instructions (#12).
  • addedCLI: --tool-calls also reads tool calls and results and reports repeat-read, repeat-failure and large-output with sample, counter-examples and next step. Only ids, tool names, file paths, command fingerprints and result sizes are kept; Codex measures large-output only. JSON key tool_calls (#13).
  • addedCLI: --transitions prints a timeline per log file of session starts, resumes and forks, compactions and pauses with the context around each; with --tool-calls also the areas read again after a compaction. A pause or a new chat is a marker, never a verdict. JSON key transitions (#14).
  • addedCLI: --subagents splits each session's usage into its own requests and those of the agents it delegated to, assigning an agent only where the log names its parent, and lists overlapping runs. JSON key subagents (#15).
  • addedCLI: --changed-on <date> (optional --change-label) puts the period before a change date you give next to the equally long period since it. The date is never guessed and a difference is not presented as an effect of the change. JSON key before_after (#16).
  • addedCLI: --capture <name> --since <period> saves the comparison figures of one source and period in a local JSON file (numbers only); --captures lists them, --compare-captures <earlier> <later> compares two and --delete-capture <name> removes one (#16).
  • addedCLI: --ai-report prints a compact diagnosis report as one line of JSON for an AI to evaluate: scope and limitations first, then the first findings (--ai-report-max <n>), each separating measurement, uncertainty and guess. No prompt, command, output or configuration text is taken over. JSON key ai_report (#17).
  • addedCLI: --compare <Nd> puts the last N days next to the N days before them, with both values, absolute and relative change and the denominators; too-short windows and model shifts are named as limitations. It shows changes, not causes. JSON key compare (#18).
  • addedCLI: --skills shows which installed Claude Code skills were called in the period and which were not observed, with the estimated size of each entry in the session-start skill list. No skill content or arguments are kept; Codex is "not measurable". JSON key skills (#19).
  • addedCLI: --compaction-causes groups the compactions by project, model and session and words patterns as hints, never as the cause; --compaction-settings also reads today's autoCompactWindow and autoCompactEnabled and compares them with the observed sizes. JSON key compaction_causes (#20).
  • addedCLI: the data quality names days without requests inside a source's period, as neither pause nor lost logs, and --retention reads cleanupPeriodDays and says when the oldest request is close to it. JSON fields data_quality.gaps, compare.*.gaps and retention (#21).
  • changedPages: the project site uses the current shared theme (0.12.6).

0.1.1

31 October 2026

  • fixedCLI: text output stays within the terminal width, at most 88 columns: evidence lines and long paths break after / and before · with an indent, and the sessions and projects tables shrink their bars instead of spilling over (#2).

0.1.0

30 October 2026

  • addedCLI: agentmeter reads Claude Code session logs (~/.claude/projects, CLAUDE_CONFIG_DIR) and prints a summary with days and compactions; --sessions, --projects, --findings, --since <Nd|date>, --project <name> and --json select and filter. Read-only, no network.
  • addedAdapter: merges streaming duplicates and drops sub-agent replays, reads cache writes by lifetime (5 min / 1 h) from the nested cache_creation object, and counts unreadable lines, unknown entry types and unknown usage fields instead of failing.
  • addedFindings: baseline-load, cache-rebuild, compact-thrash, big-context and long-session report an observation with rule version, measure, denominator, sample, evidence (file and event id), certainty, counterexamples and a next step. None is an error; thresholds are uncalibrated.
  • addedData quality: the report states the observed period, files without usage, unreadable entries and rules that could not be measured, and separates "no analysis possible" from "no findings".
  • addedCodex adapter: reads Codex CLI rollouts ($CODEX_HOME or ~/.codex) from the running token_count totals, ignoring repeated events and replayed parent history. Compressed .jsonl.zst files are streamed within limits; damaged ones are counted, never fatal. Rules that need cache writes or compaction sizes report "not measurable" instead of guessing.
  • addedCLI: --tool claude|codex|all selects the source; by default every source that has logs is reported on its own, with its own data quality. --json now returns a sources array.
  • addedFindings: every rule appears once per source as observed, checked with nothing to report (with its measure and sample) or not measurable (with the reason), in text and JSON. big-context uses 50 % of the logged context window where a window is recorded (Codex) and 500k otherwise.
  • addedCLI: agentmeter without arguments on a terminal opens a menu (summary, sessions, projects, one row per rule with its status, data quality per source) with the source and the period selectable; in a pipe or with any flag it prints the text as before.
  • addedCLI: --check data-quality exits 1 when a source has unreadable lines or compressed files over a limit or no usage in the period, 0 otherwise and 2 for a bad call. Notices and info never fail it.
  • addedJSON: the output carries schema_version (1) and is documented field by field in JSON output.
  • addedCLI: --probe asks Claude Code via /context (local, no model request) what a session start holds and splits the median start into configuration and the rest; also in the menu. Details: Asking Claude Code.
  • addedFindings: every diagnosis opens with a conclusion (lever, look at it, fine) and splits its measure into parts; conclusion and parts are in the JSON. Details: Conclusions.
  • addedFindings: cache-rebuild lists sub-agent files apart from the main conversation and, where writes are split by lifetime, compares a 1 h cache lifetime with 5 min at list-price ratios; baseline-load names the front end that wrote the session starts (entrypoint, Codex originator).
  • addedCLI: the text output starts with a block of what was read and how well, and shows bars for days, models, sessions, projects and every breakdown.
  • addedRelease: binaries for macOS and Linux on the GitHub release with .sha256, SHA256SUMS and a signed build provenance attestation; the crates are on crates.io (cargo install agentmeter). Details: Install.
  • fixedBuild: the declared minimum Rust version is 1.88, the version the code and ruzstd need; 1.85 did not build.
  • fixedCLI: --since with a day count too large to compute is refused as a bad call instead of overflowing.
  • fixedCLI: --project that matches no project in any source exits 1 with a message instead of printing an empty summary.
  • fixedCLI: requests without a model name appear as (unknown) in the model table instead of a blank row.
  • fixedFindings: the baseline-load next step names /context as a Claude Code command instead of suggesting it for every source.