Commit Graph
5 Commits
Author SHA1 Message Date
LongSimple 371b8505dd Fix file integrity check issues in rule downloads 2025-03-09 12:37:24 -04:00
sanjeed5 c40762e909 Remove src/rules.json path from library data loading
- Update load_library_data to remove the src/rules.json path from possible rules.json locations
- Simplify rules.json path resolution to focus on package root and current directory
- Align with previous changes in rules.json handling and copying
2025-03-04 00:26:09 +05:30
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