Skip to content

v1.6.0 - Merkle Tree Change Detection & Auto-Reindex

Choose a tag to compare

@iamvirul iamvirul released this 02 Mar 09:59
· 14 commits to main since this release
ef4c3e4

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_index positional argument misuse in VectorStore that 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 vecgrep

No breaking changes. Existing indexes are compatible with 1.6.0.