feat: Implement CLAUDE.md Manager View with file tree, viewer, and metadata actions

- Added main JavaScript functionality for CLAUDE.md management including file loading, rendering, and editing capabilities.
- Created a test HTML file to validate the functionality of the CLAUDE.md manager.
- Introduced CLI generation examples and documentation for rules creation via CLI.
- Enhanced error handling and notifications for file operations.
This commit is contained in:
catlog22
2025-12-14 23:08:36 +08:00
parent 0529b57694
commit d91477ad80
30 changed files with 7961 additions and 298 deletions

View File

@@ -11,7 +11,10 @@ Requires-Dist: typer>=0.9
Requires-Dist: rich>=13
Requires-Dist: pydantic>=2.0
Requires-Dist: tree-sitter>=0.20
Requires-Dist: tree-sitter-python>=0.25
Requires-Dist: tree-sitter-javascript>=0.25
Requires-Dist: tree-sitter-typescript>=0.23
Requires-Dist: pathspec>=0.11
Provides-Extra: semantic
Requires-Dist: numpy>=1.24; extra == "semantic"
Requires-Dist: sentence-transformers>=2.2; extra == "semantic"
Requires-Dist: fastembed>=0.2; extra == "semantic"

View File

@@ -14,10 +14,37 @@ src/codexlens/cli/commands.py
src/codexlens/cli/output.py
src/codexlens/parsers/__init__.py
src/codexlens/parsers/factory.py
src/codexlens/search/__init__.py
src/codexlens/search/chain_search.py
src/codexlens/semantic/__init__.py
src/codexlens/semantic/chunker.py
src/codexlens/semantic/code_extractor.py
src/codexlens/semantic/embedder.py
src/codexlens/semantic/llm_enhancer.py
src/codexlens/semantic/vector_store.py
src/codexlens/storage/__init__.py
src/codexlens/storage/dir_index.py
src/codexlens/storage/file_cache.py
src/codexlens/storage/sqlite_store.py
src/codexlens/storage/index_tree.py
src/codexlens/storage/migration_manager.py
src/codexlens/storage/path_mapper.py
src/codexlens/storage/registry.py
src/codexlens/storage/sqlite_store.py
src/codexlens/storage/migrations/__init__.py
src/codexlens/storage/migrations/migration_001_normalize_keywords.py
tests/test_cli_output.py
tests/test_code_extractor.py
tests/test_config.py
tests/test_entities.py
tests/test_errors.py
tests/test_file_cache.py
tests/test_llm_enhancer.py
tests/test_parsers.py
tests/test_performance_optimizations.py
tests/test_search_comprehensive.py
tests/test_search_full_coverage.py
tests/test_search_performance.py
tests/test_semantic.py
tests/test_semantic_search.py
tests/test_storage.py
tests/test_vector_search_full.py

View File

@@ -2,8 +2,11 @@ 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
[semantic]
numpy>=1.24
sentence-transformers>=2.2
fastembed>=0.2