feat: enhance search, ranking, reranker and CLI tooling across ccw and codex-lens

Major improvements to smart-search, chain-search cascade, ranking pipeline,
reranker factory, CLI history store, codex-lens integration, and uv-manager.
Simplify command-generator skill by inlining phases. Add comprehensive tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
catlog22
2026-03-16 20:35:08 +08:00
parent 1cd96b90e8
commit 5a4b18d9b1
73 changed files with 14684 additions and 2442 deletions

View File

@@ -57,9 +57,9 @@ semantic-directml = [
# Cross-encoder reranking (second-stage, optional)
# Install with: pip install codexlens[reranker] (default: ONNX backend)
reranker-onnx = [
"optimum~=1.16.0",
"onnxruntime~=1.15.0",
"transformers~=4.36.0",
"optimum[onnxruntime]~=2.1.0",
"onnxruntime~=1.23.0",
"transformers~=4.53.0",
]
# Remote reranking via HTTP API
@@ -79,9 +79,9 @@ reranker-legacy = [
# Backward-compatible alias for default reranker backend
reranker = [
"optimum~=1.16.0",
"onnxruntime~=1.15.0",
"transformers~=4.36.0",
"optimum[onnxruntime]~=2.1.0",
"onnxruntime~=1.23.0",
"transformers~=4.53.0",
]
# Encoding detection for non-UTF8 files
@@ -116,3 +116,12 @@ package-dir = { "" = "src" }
[tool.setuptools.package-data]
"codexlens.lsp" = ["lsp-servers.json"]
[tool.pytest.ini_options]
markers = [
"integration: marks tests that exercise broader end-to-end or dependency-heavy flows",
]
filterwarnings = [
"ignore:'BaseCommand' is deprecated and will be removed in Click 9.0.*:DeprecationWarning",
"ignore:The '__version__' attribute is deprecated and will be removed in Click 9.1.*:DeprecationWarning",
]