Skip to content

Releases: andrewm4894/claude-log-cleaner

v2.8.0

Choose a tag to compare

@andrewm4894 andrewm4894 released this 12 Jan 16:15

What's New

SessionEnd Hook with Visible Output

  • Automatically cleans old log files when you exit Claude Code
  • Displays cleanup summary message on session end (e.g., [log-cleaner] Cleaned 3 files (1.5 MB freed))
  • Uses /dev/tty to ensure output is visible even as Claude UI closes

Configuration

  • New session_end_summary config option (default: true) to control whether the summary message is shown

Notes

  • After installing/updating, you may need to trust the plugin for hooks to execute (use /trust if prompted)

v2.5.0

Choose a tag to compare

@andrewm4894 andrewm4894 released this 10 Jan 22:58

What's New

Enhanced Secret Scan Output

  • File locations - Each detected secret now shows which files contain it
  • Paths displayed relative to ~/.claude/ for easy identification
  • Helps distinguish false positives (test files) from real secrets

Example Output

=== GitHub Tokens ===
  ghp_aB3dE5...vW3xY5
    └─ projects/-Users-.../6d104fb5-...jsonl
    └─ file-history/0a89f330.../bca636ce3b4a5ad4@v1

Full Changelog: v2.4.0...v2.5.0

v2.4.0

Choose a tag to compare

@andrewm4894 andrewm4894 released this 10 Jan 22:39

What's New

Enhanced Secret Scanning

  • TruffleHog integration: Added support for TruffleHog scanner with 700+ secret detectors for comprehensive scanning
  • Priority scanning order: TruffleHog > detect-secrets > built-in patterns

Previous Features (v2.3.0)

  • detect-secrets integration for enhanced scanning (20+ secret types)
  • GitHub Actions workflow for automated testing

Installation

claude plugins add andrewm4894/claude-log-cleaner

Or load locally:

claude --plugin-dir /path/to/claude-log-cleaner/plugins/log-cleaner