Skip to content

Conversation

@shtse8
Copy link
Contributor

@shtse8 shtse8 commented Dec 10, 2025

Summary

Move tree-sitter based synth parsers and lancedb to optionalDependencies so they don't block installation when native modules fail to compile.

Problem

npx @sylphx/coderag-mcp fails on Windows with:

  • ECOMPROMISED lock errors
  • tree-sitter peer dependency conflicts
  • Native module compilation failures

Solution

Move native module dependencies to optionalDependencies:

  • @lancedb/lancedb (vector database with native bindings)
  • @sylphx/synth-* packages (tree-sitter based AST parsers)

When these fail to install, the package falls back to:

  • Character-based chunking instead of AST-based chunking
  • TF-IDF search only (no vector search)

Test plan

  • All tests pass locally
  • Build succeeds
  • Test npx @sylphx/coderag-mcp on Windows after release

…lity

Move tree-sitter based synth parsers and lancedb to optionalDependencies
so they don't block installation when native modules fail to compile.

This allows npx @sylphx/coderag-mcp to work on Windows and other
platforms where native module compilation fails, falling back to
character-based chunking instead of AST-based chunking.
@vercel
Copy link

vercel bot commented Dec 10, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
coderag Ready Ready Preview Comment Dec 10, 2025 11:43am
coderag-j1ok Ready Ready Preview Comment Dec 10, 2025 11:43am

@shtse8 shtse8 merged commit 2580a7a into main Dec 10, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants