mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-10 02:24:35 +08:00
- Implemented final verification tests for contentPattern to validate behavior with empty strings, dangerous patterns, and normal patterns. - Created glob pattern matching tests to verify regex conversion and matching functionality. - Developed infinite loop risk tests using Worker threads to isolate potential blocking operations. - Introduced optimized contentPattern tests to validate improvements in the findMatches function. - Added verification tests to assess the effectiveness of contentPattern optimizations. - Conducted safety tests for contentPattern to identify edge cases and potential vulnerabilities. - Implemented unrestricted loop tests to analyze infinite loop risks without match limits. - Developed tests for zero-width pattern detection logic to ensure proper handling of dangerous regex patterns.
CodexLens
CodexLens is a multi-modal code analysis platform designed to provide comprehensive code understanding and analysis capabilities.
Features
- Multi-language Support: Analyze code in Python, JavaScript, TypeScript and more using Tree-sitter parsers
- Semantic Search: Find relevant code snippets using semantic understanding with fastembed and HNSWLIB
- Code Parsing: Advanced code structure parsing with tree-sitter
- Flexible Architecture: Modular design for easy extension and customization
Installation
Basic Installation
pip install codex-lens
With Semantic Search
pip install codex-lens[semantic]
With GPU Acceleration (NVIDIA CUDA)
pip install codex-lens[semantic-gpu]
With DirectML (Windows - NVIDIA/AMD/Intel)
pip install codex-lens[semantic-directml]
With All Optional Features
pip install codex-lens[full]
Requirements
- Python >= 3.10
- See
pyproject.tomlfor detailed dependency list
Development
This project uses setuptools for building and packaging.
License
MIT License
Authors
CodexLens Contributors