Commit Graph
3 Commits
Author SHA1 Message Date
sanjeed5 587d8a5696 Enhance rules.json loading with improved path resolution and logging
- Refactor load_library_data to prioritize specified rules.json path
- Add detailed logging for rules.json discovery and loading process
- Improve error handling and path resolution for rules.json
- Provide more informative debug and warning messages during library data loading
2025-03-03 23:26:09 +05:30
sanjeed5 1edd6192ab Change .cursor directory to project-local by default
- Modify installer.py and utils.py to use current working directory for .cursor
- Update comments to reflect project-local .cursor directory behavior
- Adjust backup creation to store backups in .cursor/backups directory
- Ensure consistent project-local configuration and rule management
2025-03-01 00:01:55 +05:30
sanjeed5 69ee481328 Add comprehensive utils module for Cursor Rules CLI
- Create utils.py with extensive helper functions for file operations and security
- Implement utility functions for configuration management, file hashing, and content validation
- Add rate limiting, URL validation, and content sanitization mechanisms
- Develop robust library and project context detection utilities
- Include caching, file preview, and advanced library matching support
- Enhance security with thorough content and URL validation checks
2025-02-28 19:31:02 +05:30