Structs§
- Command
Record - Individual command record from tracking history.
- DayStats
- Daily statistics for token savings and execution metrics.
- Gain
Summary - Aggregated statistics across all recorded commands.
- Month
Stats - Monthly statistics for token savings and execution metrics.
- Parse
Failure Record - Individual parse failure record.
- Parse
Failure Summary - Aggregated parse failure summary.
- Timed
Execution - Helper struct for timing command execution Helper for timing command execution and tracking results.
- Tracker
- Main tracking interface for recording and querying command history.
- Week
Stats - Weekly statistics for token savings and execution metrics.
Functions§
- args_
display - Format OsString args for tracking display.
- estimate_
tokens - Estimate token count from text using ~4 chars = 1 token heuristic.
- record_
parse_ failure_ silent - Record a parse failure without ever crashing. Silently ignores all errors — used in the fallback path.