v0.1.10

feyninc/mandexv0.1.10Mar 23, 2026by chonknick

AI Summary

Introduces a per-project merged search index using SQLite FTS5, significantly improving search performance by consolidating queries and optimizing reranking.

Key Highlights

  • Per-project merged search index creates `manifest.json` and `index.db` in `.mandex/` directory
  • Performance improvement: Project search time reduced from 310ms to 70ms
  • Smarter reranking logic that only reranks the top-20 BM25 candidates
  • Automatic index updates when running `mx pull` or `mx remove`

New Features

  • Per-project merged search index
  • Automatic index rebuilding on package operations

Full Release Notes

## What's Changed

### Per-project merged search index

- **`.mandex/` project directory** — `mx sync` now creates a `manifest.json` + `index.db` in your project root
- **Single FTS5 query** — merged index across all project packages instead of N separate DB queries
- **Smarter reranking** — only top-20 BM25 candidates reranked (not N×20)
- **`mx pull` / `mx remove`** automatically update the project manifest and rebuild the index

### Performance

| Scenario | v0.1.9 | v0.1.10 |
|----------|--------|---------|
| Project search (reranked) | 310ms | **70ms** |
| Single package | 40ms | **40ms** |
| Global fallback (no project) | 310ms | 310ms |