pub fn record(
command: &str,
normal_output: &str,
compact_output: &str,
duration_ms: u64,
)Expand description
Record a single command’s token usage.
normal_output is the full (uncompressed) output, compact_output is the
token-optimised variant. Savings are computed from the difference.
Errors are silently swallowed – tracking must never fail the main command.