Commit Graph
17 Commits
Author SHA1 Message Date
sanjeed5 a6b16d9ea9 Add library direct input option to CLI
- Introduce new `--libraries` CLI argument for direct library specification
- Modify main function to support direct library input
- Add fallback to existing library scanning mechanism if no direct libraries provided
- Enhance library matching workflow with direct library input support
2025-03-03 23:07:44 +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 e4e38ffca6 Refactor rule display and installation logging
- Simplify rule installation logging by removing detailed rule name output
- Modify display_matched_rules to return full rule objects instead of just rule names
- Improve function return type and documentation for more precise rule selection
- Remove verbose logging of individual rule names during installation
2025-02-28 23:59:31 +05:30
sanjeed5 34046a1da0 Add publishing configuration and package metadata for PyPI distribution
- Add .pypirc for PyPI and TestPyPI token configuration
- Create MANIFEST.in to include necessary files for package distribution
- Add PUBLISHING.md with detailed instructions for package publishing
- Update pyproject.toml for build system configuration
- Update README.md with PyPI installation instructions
- Bump version to 0.4.0 in __init__.py
- Include rules.json in package source for distribution
2025-02-28 19:43:17 +05:30
sanjeed5 2ed7dd1030 Update setup.py for cursor-rules package
- Rename package from "cursor-rules-cli" to "cursor-rules"
- Add logic to copy rules.json to src directory during setup
- Update package name and package data configuration
- Improve package metadata and file handling
2025-02-28 19:42:43 +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
sanjeed5 0319c4a9ee Implement comprehensive rule installer module for MDC rules
- Create installer.py with robust rule installation and backup mechanisms
- Add support for installing, listing, and managing MDC rule files
- Implement flexible installation with force and backup options
- Include error handling, logging, and detailed rule metadata extraction
- Develop safe file copying and backup creation for existing rules
- Add utility functions for listing and managing installed rules
2025-02-28 19:30:52 +05:30
sanjeed5 6ce2d9f3e2 Implement comprehensive rule downloader module for MDC rules
- Create downloader.py with robust file downloading and validation
- Add support for parallel downloads with rate limiting and retry mechanism
- Implement advanced URL and content validation for MDC rule files
- Include error handling, logging, and flexible configuration options
- Develop thread-safe download process with configurable concurrency
- Add content preview and hash verification for downloaded rules
2025-02-28 19:30:43 +05:30
sanjeed5 b7e9e9e943 Implement comprehensive library matching module for MDC rules
- Create matcher.py with advanced library matching and relevance scoring
- Implement RuleMatcher class for intelligent library rule detection
- Add support for context-aware matching, tag similarity, and project context
- Include flexible rule matching with configurable scoring and caching
- Develop robust library categorization and metadata generation
- Support custom rules loading and efficient library mapping
2025-02-28 19:30:32 +05:30
sanjeed5 428edbc753 Implement comprehensive project scanner module
- Create detailed scanner.py with advanced library and framework detection
- Add support for scanning package files, imports, Docker files, and GitHub Actions
- Implement multi-threaded scanning with configurable depth and caching
- Include extensive library detection for multiple programming languages and ecosystems
- Add robust import and framework pattern matching
- Implement flexible scanning with support for various package managers and project structures
2025-02-28 19:30:20 +05:30
sanjeed5 4c2997abee Implement main CLI entry point for cursor-rules-cli
- Create comprehensive main.py with full CLI functionality
- Add robust argument parsing with extensive configuration options
- Implement core scanning, matching, and rule installation workflow
- Include advanced logging with colored output
- Support custom repositories, configuration saving, and flexible rule selection
- Add detailed help and usage instructions for CLI commands
2025-02-28 19:30:06 +05:30
sanjeed5 8321f90916 Add setup.py for cursor-rules-cli package
- Create setup script for packaging and distribution
- Define package metadata, dependencies, and entry points
- Configure package version and long description
- Set up console script entry point for CLI tool
- Specify Python version requirements and package classifiers
2025-02-28 19:29:53 +05:30
sanjeed5 5c484342b7 Initialize Cursor Rules CLI project structure
- Add README with comprehensive usage instructions and CLI options
- Create user guide documentation detailing tool features and usage
- Add initial `__init__.py` with version information
- Remove previous planning document, transitioning from planning to implementation phase
2025-02-28 19:29:35 +05:30
sanjeed5 b581d40350 add licences 2025-02-28 19:26:20 +05:30
sanjeed5 be7f16ec3d fix nextjs 2025-02-28 19:14:53 +05:30
sanjeed5 4e4ef0a9a0 add plan 2025-02-28 14:31:30 +05:30
sanjeed5 fb2b48893d rules.json 2025-02-28 14:26:10 +05:30