Skip to content

v0.7.0

Choose a tag to compare

@marcus marcus released this 08 Jan 04:04
· 839 commits to main since this release

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=false env var
    • JSON output with --json flag
  • Unified td stats command with subcommands:

    • td stats analytics - Command usage statistics
    • td stats security - Security exception audit log
    • td 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