v0.3.0
What's New
Performance Improvements
- Batch database operations: ~10-18x faster chunk/embedding inserts
- Parallel embedding: Ollama and Google providers now use
Promise.all()for ~10-20x faster embedding generation - Enhanced
clearIndex(): Force reindex now properly clears file hash cache and branch catalog
New Features
/statuscommand: Quick way to check index health without typing full tool name- Dynamic command loading: Slash commands now loaded from
commands/*.mdfiles with YAML frontmatter - Progress feedback API: Backend support for indexing progress (scanning → parsing → embedding → storing)
- Auto garbage collection: Configurable automatic cleanup of orphaned embeddings/chunks
Documentation
- Performance section in README: Benchmark results for parsing, vector search, and database operations
- Provider selection guide: Decision tree and comparison table to help choose the right embedding provider
- Enhanced skill documentation: Added
chunkType,directory,fileTypefilter examples andhybridWeighttuning guidance
Testing
- 11 new tests for command loader (frontmatter parsing, directory loading, edge cases)
- Unit tests for git utilities and file watchers
Fixes
- Handle potential invalid UTF-8 in index path during save/load operations
Upgrading
npm install opencode-codebase-index@0.3.0No breaking changes. Existing indexes are compatible.