mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-09 02:24:11 +08:00
fix: resolve CodexLens installation issues by correcting package name and improving local path detection
- Updated package name from `codexlens` to `codex-lens` in all relevant files to ensure consistency with `pyproject.toml`. - Enhanced `findLocalPackagePath()` to always search for local paths, even when running from `node_modules`. - Removed fallback logic for PyPI installation in several functions, providing clearer error messages for local installation failures. - Added detailed documentation on installation steps and error handling for local development packages. - Introduced a new summary document outlining the issues and fixes related to CodexLens installation.
This commit is contained in:
@@ -124,11 +124,11 @@ Generated automatically for each match:
|
||||
|
||||
### Required
|
||||
- `numpy`: Array operations and cosine similarity
|
||||
- `codexlens[semantic]`: Embedding generation
|
||||
- `codex-lens[semantic]`: Embedding generation
|
||||
|
||||
### Installation
|
||||
```bash
|
||||
pip install numpy codexlens[semantic]
|
||||
pip install numpy codex-lens[semantic]
|
||||
```
|
||||
|
||||
## Testing
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
pip install numpy codexlens[semantic]
|
||||
pip install numpy codex-lens[semantic]
|
||||
```
|
||||
|
||||
## Commands
|
||||
|
||||
@@ -13,7 +13,7 @@ Bridge CCW to CodexLens semantic search by generating and searching embeddings f
|
||||
## Requirements
|
||||
|
||||
```bash
|
||||
pip install numpy codexlens[semantic]
|
||||
pip install numpy codex-lens[semantic]
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -30,7 +30,7 @@ try:
|
||||
from codexlens.semantic.factory import clear_embedder_cache
|
||||
from codexlens.config import Config as CodexLensConfig
|
||||
except ImportError:
|
||||
print("Error: CodexLens not found. Install with: pip install codexlens[semantic]", file=sys.stderr)
|
||||
print("Error: CodexLens not found. Install with: pip install codex-lens[semantic]", file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user