v1.6.0 - Merkle Tree Change Detection & Auto-Reindex
What's New
Merkle Tree Change Detection
Incremental re-indexing now uses a Merkle tree to detect file changes. Only files that actually changed since the last index are re-embedded, reducing unnecessary work on large codebases.
Auto-Reindex on Startup
When watch=True, VecGrep detects any files that changed while the watcher was offline and re-indexes them automatically on the next startup — no manual index_codebase call needed.
stop_watching MCP Tool
New tool to stop the background file watcher for a project without restarting the server.
Watch State Persistence
Watched project paths are now persisted to disk so the watcher can be restored after a server restart.
Bug Fixes
- Fixed
create_indexpositional argument misuse inVectorStorethat could cause index builds to fail silently - Fixed a race condition in the Merkle tree watcher that could cause duplicate re-index events on rapid file saves
Upgrade
pip install --upgrade vecgrepNo breaking changes. Existing indexes are compatible with 1.6.0.