mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-05 01:50:27 +08:00
- Implemented GraphExpander to enhance search results with related symbols using precomputed neighbors. - Added CrossEncoderReranker for second-stage search ranking, allowing for improved result scoring. - Created migrations to establish necessary database tables for relationships and graph neighbors. - Developed tests for graph expansion functionality, ensuring related results are populated correctly. - Enhanced performance benchmarks for cross-encoder reranking latency and graph expansion overhead. - Updated schema cleanup tests to reflect changes in versioning and deprecated fields. - Added new test cases for Treesitter parser to validate relationship extraction with alias resolution.
73 lines
1.6 KiB
TOML
73 lines
1.6 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "codex-lens"
|
|
version = "0.1.0"
|
|
description = "CodexLens multi-modal code analysis platform"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = { text = "MIT" }
|
|
authors = [
|
|
{ name = "CodexLens contributors" }
|
|
]
|
|
dependencies = [
|
|
"typer>=0.9",
|
|
"rich>=13",
|
|
"pydantic>=2.0",
|
|
"tree-sitter>=0.20",
|
|
"tree-sitter-python>=0.25",
|
|
"tree-sitter-javascript>=0.25",
|
|
"tree-sitter-typescript>=0.23",
|
|
"pathspec>=0.11",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
# Semantic search using fastembed (ONNX-based, lightweight ~200MB)
|
|
semantic = [
|
|
"numpy>=1.24",
|
|
"fastembed>=0.2",
|
|
"hnswlib>=0.8.0",
|
|
]
|
|
|
|
# GPU acceleration for semantic search (NVIDIA CUDA)
|
|
# Install with: pip install codexlens[semantic-gpu]
|
|
semantic-gpu = [
|
|
"numpy>=1.24",
|
|
"fastembed>=0.2",
|
|
"hnswlib>=0.8.0",
|
|
"onnxruntime-gpu>=1.15.0", # CUDA support
|
|
]
|
|
|
|
# GPU acceleration for Windows (DirectML - supports NVIDIA/AMD/Intel)
|
|
# Install with: pip install codexlens[semantic-directml]
|
|
semantic-directml = [
|
|
"numpy>=1.24",
|
|
"fastembed>=0.2",
|
|
"hnswlib>=0.8.0",
|
|
"onnxruntime-directml>=1.15.0", # DirectML support
|
|
]
|
|
|
|
# Cross-encoder reranking (second-stage, optional)
|
|
# Install with: pip install codexlens[reranker]
|
|
reranker = [
|
|
"sentence-transformers>=2.2",
|
|
]
|
|
|
|
# Encoding detection for non-UTF8 files
|
|
encoding = [
|
|
"chardet>=5.0",
|
|
]
|
|
|
|
# Full features including tiktoken for accurate token counting
|
|
full = [
|
|
"tiktoken>=0.5.0",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/openai/codex-lens"
|
|
|
|
[tool.setuptools]
|
|
package-dir = { "" = "src" }
|