codex-lens: ship default LSP config and fix entrypoint

This commit is contained in:
catlog22
2026-03-05 14:27:16 +08:00
parent 1fb49c0e39
commit 6341ed43e1
5 changed files with 221 additions and 16 deletions

View File

@@ -14,6 +14,7 @@ authors = [
]
dependencies = [
"typer~=0.9.0",
"click>=8.0.0,<9",
"rich~=13.0.0",
"pydantic~=2.0.0",
"tree-sitter~=0.20.0",
@@ -31,7 +32,7 @@ dependencies = [
# Semantic search using fastembed (ONNX-based, lightweight ~200MB)
semantic = [
"numpy~=1.26.0",
"fastembed~=0.2.0",
"fastembed~=0.2.1",
"hnswlib~=0.8.0",
]
@@ -39,7 +40,7 @@ semantic = [
# Install with: pip install codexlens[semantic-gpu]
semantic-gpu = [
"numpy~=1.26.0",
"fastembed~=0.2.0",
"fastembed~=0.2.1",
"hnswlib~=0.8.0",
"onnxruntime-gpu~=1.15.0", # CUDA support
]
@@ -48,7 +49,7 @@ semantic-gpu = [
# Install with: pip install codexlens[semantic-directml]
semantic-directml = [
"numpy~=1.26.0",
"fastembed~=0.2.0",
"fastembed~=0.2.1",
"hnswlib~=0.8.0",
"onnxruntime-directml~=1.15.0", # DirectML support
]
@@ -105,10 +106,13 @@ lsp = [
]
[project.scripts]
codexlens-lsp = "codexlens.lsp:main"
codexlens-lsp = "codexlens.lsp.server:main"
[project.urls]
Homepage = "https://github.com/openai/codex-lens"
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.package-data]
"codexlens.lsp" = ["lsp-servers.json"]