Repository navigation
Releases: vubon/kachedb-mcp
Releases · vubon/kachedb-mcp
Release list
v0.4.0: Codebase AST Intelligence, Upward Anchor Discovery, and Tree-Sitter Parser Suite
Added
- Codebase AST Intelligence Tools (Sprint 3):
- Added
kache_explore_symbol(symbol, workspace_id, file_path): Instantaneous (< 50 ns) symbol inspection from SwissTable. Returns signatures, docstrings, line numbers, and file paths in a surgical < 300 token payload with zero file reads. - Added
kache_index_workspace(path, workspace_id, force): Incremental AST indexer that parses codebases into exact SwissTable keys (sym:<ws>:<symbol>,sym:<ws>:<file>:<symbol>) and vector records (vec:<ws>:<file>:<symbol>:<line>). - Added
kache_workspace_status(workspace_id, auto_index): Inspects indexing status, total indexed symbols, commit watermark, and cache freshness.
- Added
- Multi-Language Tree-Sitter AST Parsing:
- Built-in AST symbol extraction across 5 major languages: Python (
.py), Rust (.rs), Go (.go), TypeScript (.ts,.tsx), and JavaScript (.js,.jsx). - Extracts classes, structs, traits, interfaces, methods, functions, docstrings, and type signatures with zero external compiler dependencies.
- Built-in AST symbol extraction across 5 major languages: Python (
- Upward Anchor Discovery (
find_root_from_path):- Added zero-config project root detection from any touched file path, climbing parent directories to locate
.gitor build manifests (Cargo.toml,pyproject.toml,package.json,go.mod). - Completely eliminates slow, guessing directory walks under
$HOME.
- Added zero-config project root detection from any touched file path, climbing parent directories to locate
- Incremental Git Watermarks (
kache:meta:<ws>:commit):- Sub-millisecond sync verification using commit SHA watermarks in SwissTable. Up-to-date projects skip AST parsing entirely with zero redundant work.
- Multi-Project & Monorepo Support (
KACHEDB_WORKSPACE_ROOTS):- Configurable root paths via
KACHEDB_WORKSPACE_ROOTSsupporting multi-repo collections and monorepos, including category directory nesting. - Added background startup auto-discovery daemon (
_background_startup_index) that scans and indexes configured project roots without blocking MCP client handshake.
- Configurable root paths via
- On-Demand Auto-Indexing from File Anchors:
kache_explore_symbolautomatically resolves workspace roots and lazily indexes codebases on the fly when passed afile_path.
v0.3.0
Added
- Hierarchical Document Chunking & Parent Document Linkage:
- Added
kache_get_parent_document(parent_key)tool for sub-microsecond retrieval of unabridged parent documents. - Added
auto_chunk=Trueandparent_keyparameters tokache_save_contextto automatically chunk large documents (>1,500 chars) with header breadcrumbs linked to their parent KV document.
- Added
- Sub-Microsecond Exact Prompt Aliasing:
- Added
prompt_aliasparameter tokache_save_contextfor registering instant SwissTable lookup shortcuts (exact:<alias>orexact:<ws>:<alias>), resolving repeated prompts in < 50ns with 0ms LLM time.
- Added
- 64-bit Bitmask Tag Pre-Filtering:
- Added
tagsparameter tokache_semantic_searchandkache_save_contextmapped viakachedb.tagsfor zero-allocation integer bitwise AND pre-filtering in vector scans.
- Added
- Adaptive Fallback & Automatic Resolution:
- Added
exact_firstandresolve_parentflags tokache_semantic_searchwith automatic prompt alias checking,#prompt_anchorsemantic indexing, and tag/threshold relaxation fallback.
- Added
- Real-Time Telemetry Tracking:
- Added
exact_hitsmetric and avoided embedding inference time tracking tokache_telemetry.
- Added
v0.2.1
Fixed
- Timing Isolation in Semantic Search: Moved vector search stopwatch to start after embedding model inference (
embedder.encode()), ensuring reported latency captures true KacheDB SIMD kernel execution time (< 200 µs) rather than embedding runtime. - Per-Operation Avoided Latency Baselines: Replaced flat 400 ms baseline with calibrated per-operation baselines (
semantic_search: 6,200 ms,kv_get: 150 ms), configurable viaKACHEDB_BASELINE_SEMANTIC_MSandKACHEDB_BASELINE_KV_MS. - Avoided Source Sizing: Added
avoided_source_charsparameter torecord_hit()to calculate savings based on avoided source file sizes rather than cached summary responses. - Configurable Token Cost: Replaced hardcoded
.00/MUSD rate with configurableKACHEDB_TOKEN_COST_PER_MILLIONsetting (defaulting to.00/Mfor Claude 3.7 Sonnet).
v0.2.0
Added
- Multi-Workspace Memory Isolation:
- Added
workspace_idparameter tokache_save_context,kache_semantic_search, andkache_deleteto provide segregated vector index namespaces ({index_name}:{workspace_id}) across different workspaces and projects.
- Added
- Native Telemetry Dogfooding:
- Dogfood native KacheDB atomic keys (
kachedb:telemetry:*) for cumulative tracker metrics, tracking hits, misses, tokens saved, and avoided latency without external SQLite or disk-based JSON persistence.
- Dogfood native KacheDB atomic keys (
- KacheDB Server & SDK v0.1.1 Parity:
- Updated dependency to
kachedb>=0.1.1to leverage latest vector indexing and buffer zero-copy stability. - Added
pythonpath = ["src"]to pytest configuration for reliable local development and test execution.
- Updated dependency to