Files
Claude-Code-Workflow/codex-lens
catlog22 964292ebdb feat: Add comprehensive tests for contentPattern and glob pattern matching
- 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.
2026-02-09 11:13:01 +08:00
..

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
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.toml for detailed dependency list

Development

This project uses setuptools for building and packaging.

License

MIT License

Authors

CodexLens Contributors