mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-19 18:58:47 +08:00
Rename the v2 search engine package to `codexlens-search` (import as `codexlens_search`) so it can be installed independently and consumed by the original codex-lens as a dependency. This avoids package path conflicts since both previously used `src/codexlens/`. Changes: - Rename src/codexlens/ -> src/codexlens_search/ - Update pyproject.toml: name=codexlens-search, version=0.2.0 - Update all imports across source, tests, and scripts - Add public API exports in __init__.py (Config, SearchPipeline, IndexingPipeline, SearchResult, IndexStats) 37/37 tests pass. No functional changes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
37 lines
660 B
TOML
37 lines
660 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "codexlens-search"
|
|
version = "0.2.0"
|
|
description = "Lightweight semantic code search engine — 2-stage vector + FTS + RRF fusion"
|
|
requires-python = ">=3.10"
|
|
dependencies = []
|
|
|
|
[project.optional-dependencies]
|
|
semantic = [
|
|
"hnswlib>=0.8.0",
|
|
"numpy>=1.26",
|
|
"fastembed>=0.4.0,<2.0",
|
|
]
|
|
gpu = [
|
|
"onnxruntime-gpu>=1.16",
|
|
]
|
|
faiss-cpu = [
|
|
"faiss-cpu>=1.7.4",
|
|
]
|
|
faiss-gpu = [
|
|
"faiss-gpu>=1.7.4",
|
|
]
|
|
reranker-api = [
|
|
"httpx>=0.25",
|
|
]
|
|
dev = [
|
|
"pytest>=7.0",
|
|
"pytest-cov",
|
|
]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/codexlens_search"]
|