Skip to content

v0.3.0

Choose a tag to compare

@Helweg Helweg released this 17 Jan 19:49
· 943 commits to main since this release

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

  • /status command: Quick way to check index health without typing full tool name
  • Dynamic command loading: Slash commands now loaded from commands/*.md files 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, fileType filter examples and hybridWeight tuning 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.0

No breaking changes. Existing indexes are compatible.