v0.7.0
What's New
Features
-
Local CLI Analytics (
td stats analytics)- Track command usage, flags, duration, and success/failure
- Bar charts for most used commands and popular flags
- List of least used and never used commands (for surface reduction)
- Daily activity visualization (last 7 days)
- Session activity tracking
- Toggle off with
TD_ANALYTICS=falseenv var - JSON output with
--jsonflag
-
Unified
td statscommand with subcommands:td stats analytics- Command usage statisticstd stats security- Security exception audit logtd stats errors- Failed command attempts
Example Output
COMMAND USAGE ANALYTICS
Total commands: 247
Unique commands: 23
Success rate: 97.2%
Avg duration: 45ms
MOST USED COMMANDS
list ████████████████████████████░░ 312
show █████████████████░░░░░░░░░░░░░ 198
NEVER USED
link, unlink, search, tree
DAILY ACTIVITY
Mon 01/06 ▪▪▪▪▪▪▪▪▪▪▪▪▪▪ 142