Skip to content

v0.3.0 - SQLite Logging Integration

Choose a tag to compare

@bdmorin bdmorin released this 29 Jul 21:51
· 28 commits to main since this release

[0.3.0] - 2024-07-29

Added

  • SQLite Database Logging: Real-time hook data logging to SQLite databases
    • Process-safe with WAL mode for concurrent access
    • Automatic retry logic with exponential backoff
    • Hybrid schema design with indexed JSON fields
    • Migration system for future schema updates
  • Query Commands: New eyelet query command suite for log analysis
    • search: Filter logs by hook type, tool, session, time range, etc.
    • summary: View activity statistics and breakdowns
    • errors: List recent errors with details
    • session: Show timeline for specific session
    • grep: Full-text search across all log data
  • Doctor Command: New eyelet doctor for configuration health checks
    • Validates Claude Code integration
    • Checks configuration files
    • Tests logging setup
    • Verifies database health
    • Auto-fix capability with --fix flag
  • Flexible Logging Formats: Support for multiple logging formats
    • JSON file logging (existing)
    • SQLite database logging (new)
    • Comma-separated format specification (e.g., --format json,sqlite)
  • Git Metadata Collection: Automatic Git information in logs
    • Branch, commit, repository info
    • Dirty state detection
    • User information

Changed

  • Refactored logging system to support multiple backends
  • Updated configurator with new logging subcommand
  • Improved error handling and retry logic
  • Consolidated linting/formatting to use only ruff

Fixed

  • Hook format compatibility with new Claude Code object structure
  • GitHub Actions workflows for all platforms
  • Linting and formatting issues across codebase

Full changelog: https://github.com/bdmorin/eyelet/blob/main/CHANGELOG.md