Skip to content

v0.5.0 — Multi-Repository Indexing, Embedding Quantization & LSP Bridge

Latest

Choose a tag to compare

@chelslava chelslava released this 03 Sep 06:01

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 with repo="my-repo".
  • Cross-Repo Navigation: find_ast_usages and go_to_definition resolve 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: int8 delivers 4x memory savings, while ubinary packs 384 dimensions into 48 bytes (32x compression) for ultra-compact storage.
  • Flexible Configuration: Set precision via CLI --precision int8, environment variable CONTEXT_TREE_EMBEDDING_PRECISION, or Python API parameter Embedder(precision="int8").

🔌 Language Server Protocol (LSP) Bridge (Issue #28)

  • Compiler-Grade Precision: Asynchronous JSON-RPC 2.0 client (LSPClient and LSPManager) 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, and textDocument/hover for 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 ruff formatting and linting.
  • Automated multi-platform CI packaging builds (sdist and wheel).