- Fix critical HOME variable bug that crashed on Windows
* Replace hardcoded HOME env var with Config::get_data_dir()
* Now uses cross-platform directories crate
* Resolves to %APPDATA% on Windows, ~/.config on Linux/macOS
- Fix Unix-style path separators in display output
* Use std::path::MAIN_SEPARATOR for OS-appropriate paths
* Windows now shows backslashes, Unix shows forward slashes
- Implement batching for large file lists (100+ files)
* Split file processing into batches of 50 files
* Prevents network timeouts and API payload size issues
* Added progress feedback for batch processing
* Increased timeout from 30s to 120s per batch
- Bump version to 1.0.3
All tests passing, clippy clean, fully cross-platform compatible
Extract code into focused modules for better maintainability:
New modules:
- gemini_types.rs (32 lines) - Response type definitions
- gemini_helpers.rs (51 lines) - Prompt builder and conversion helpers
- prompt.rs (130 lines) - User input and validation logic
Refactored files:
- gemini.rs: 278 -> 259 lines (-19 lines)
* Extract response parsing into helper methods
* Extract request building into separate methods
* Extract retry logic into dedicated functions
* Use PromptBuilder for cleaner prompt construction
- config.rs: 275 -> 127 lines (-148 lines)
* Extract all prompting logic to prompt.rs module
* Simplify with Default trait for Config
* Cleaner API methods
Benefits:
- Better separation of concerns
- Easier to test and maintain
- Clearer module boundaries
- Reduced nesting and complexity
- All 31 tests still passing
- Add CLI argument parsing with clap (dry-run, max-concurrent options)
- Replace .env configuration with interactive prompts and TOML config
- Add BaseDirs-based configuration storage in ~/.config/noentropy/
- Improve Gemini API client with configurable model and timeout
- Add concurrent processing with semaphore for rate limiting
- Improve error handling with retry logic and exponential backoff
- Add comprehensive README with installation and usage instructions
- Add config.example.toml template for users
- Update main.rs with better UX and colored output
- Add lib.rs exports for config module
- Refactor error response parsing for cleaner code
- Update API endpoint to use configurable model parameter
- Add proper error type handling in gemini_errors.rs
- Add 31 tests across files, config, and cache modules
- Test file operations (FileBatch, is_text_file, read_file_sample)
- Test configuration (serialization, API key validation, path expansion)
- Test caching (response retrieval, file change detection, eviction)
- Add tempfile dev dependency for test fixtures
- All tests passing with 100% success rate
- Fix home directory detection using BaseDirs from directories crate
- Add cross-platform file moving with copy+delete fallback
- Replace Unix-specific HOME env var usage
- Handle cross-filesystem moves on Windows automatically
- Add async optimization using futures for concurrent file processing
- Implement intelligent caching system with SHA256 file change detection
- Add comprehensive custom error handling for Gemini API responses
- Fix critical error handling issues throughout the codebase
- Replace fragile JSON parsing with proper struct-based deserialization
- Add automatic retry logic for rate limits and network issues
- Improve user experience with detailed error messages and progress feedback
- Add cache persistence and automatic cleanup of old entries
- Optimize performance for batch processing scenarios