Repository navigation
Release v0.5.0 — Multi-Repository Indexing, Embedding Quantization & LSP Bridge
Version 0.5.0 introduces three major architectural milestones: cross-repository unified workspace indexing and search, memory-efficient embedding quantization, and a native Language Server Protocol (LSP) bridge for compiler-grade code navigation.
🏢 Multi-Repository Unified Workspace Indexing (Issue #26)
- Unified Multi-Root Indexing: Seamlessly index, track, and search across multiple repositories or multi-root workspaces in a single MCP server session.
- Repository Metadata Isolation: All chunks are tagged with their repository of origin (
repo), enabling both broad cross-repository hybrid discovery and targeted search withrepo="my-repo". - Cross-Repo Navigation:
find_ast_usagesandgo_to_definitionresolve real AST call sites and symbol declarations across multiple repositories with live snippet extraction. - Multi-Directory Watch Mode:
context-tree --watch dir1 dir2 ...monitors multiple repositories concurrently with debounced incremental updates.
🗜️ Embedding Quantization (Issue #27)
- Configurable Precision (
float32,int8,binary,ubinary): Compress vector representations with minimal accuracy loss. - Up to 32x RAM & Storage Reduction:
int8delivers 4x memory savings, whileubinarypacks 384 dimensions into 48 bytes (32x compression) for ultra-compact storage. - Flexible Configuration: Set precision via CLI
--precision int8, environment variableCONTEXT_TREE_EMBEDDING_PRECISION, or Python API parameterEmbedder(precision="int8").
🔌 Language Server Protocol (LSP) Bridge (Issue #28)
- Compiler-Grade Precision: Asynchronous JSON-RPC 2.0 client (
LSPClientandLSPManager) connecting over stdio to local language servers (pyright,typescript-language-server,gopls,rust-analyzer,clangd,csharp-ls). - Rich LSP Features: Supports
textDocument/definition,textDocument/references, andtextDocument/hoverfor exact types, compiler docs, and symbol references. - 100% Graceful Fallback: If no LSP server binary is detected in
PATH, the system transparently falls back to instant tree-sitter AST parsing without errors.
🧪 Test Suite & Quality
- Test suite expanded to 83 tests (100% pass across Ubuntu, Windows, and macOS on Python 3.12 and 3.13).
- Strict code style with
ruffformatting and linting. - Automated multi-platform CI packaging builds (sdist and wheel).