v0.3.0 - SQLite Logging Integration
[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 querycommand suite for log analysissearch: Filter logs by hook type, tool, session, time range, etc.summary: View activity statistics and breakdownserrors: List recent errors with detailssession: Show timeline for specific sessiongrep: Full-text search across all log data
- Doctor Command: New
eyelet doctorfor configuration health checks- Validates Claude Code integration
- Checks configuration files
- Tests logging setup
- Verifies database health
- Auto-fix capability with
--fixflag
- 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
loggingsubcommand - 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