raggrep 0.8.4 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/cli/main.js +6642 -680
  2. package/dist/cli/main.js.map +32 -23
  3. package/dist/domain/entities/fileIndex.d.ts +5 -0
  4. package/dist/domain/entities/introspection.d.ts +2 -0
  5. package/dist/domain/entities/literal.d.ts +4 -0
  6. package/dist/domain/ports/index.d.ts +1 -0
  7. package/dist/domain/ports/parser.d.ts +121 -0
  8. package/dist/domain/services/bm25.d.ts +23 -0
  9. package/dist/domain/services/configValidator.d.ts +44 -0
  10. package/dist/domain/services/configValidator.test.d.ts +1 -0
  11. package/dist/domain/services/index.d.ts +4 -2
  12. package/dist/domain/services/introspection.d.ts +22 -2
  13. package/dist/domain/services/literalExtractor.d.ts +16 -0
  14. package/dist/domain/services/literalExtractor.test.d.ts +6 -0
  15. package/dist/domain/services/literalScorer.d.ts +35 -0
  16. package/dist/index.js +6569 -608
  17. package/dist/index.js.map +31 -22
  18. package/dist/infrastructure/index.d.ts +1 -0
  19. package/dist/infrastructure/introspection/IntrospectionIndex.d.ts +5 -1
  20. package/dist/infrastructure/parsing/grammarManager.d.ts +83 -0
  21. package/dist/infrastructure/parsing/index.d.ts +15 -0
  22. package/dist/infrastructure/parsing/parserFactory.d.ts +56 -0
  23. package/dist/infrastructure/parsing/parsing.test.d.ts +10 -0
  24. package/dist/infrastructure/parsing/treeSitterParser.d.ts +103 -0
  25. package/dist/infrastructure/parsing/typescriptParser.d.ts +43 -0
  26. package/dist/infrastructure/storage/literalIndex.d.ts +33 -1
  27. package/dist/infrastructure/storage/symbolicIndex.d.ts +25 -5
  28. package/dist/modules/data/json/index.d.ts +2 -1
  29. package/dist/modules/language/go/index.d.ts +58 -0
  30. package/dist/modules/language/go/index.test.d.ts +1 -0
  31. package/dist/modules/language/python/index.d.ts +59 -0
  32. package/dist/modules/language/rust/index.d.ts +58 -0
  33. package/dist/modules/language/rust/index.test.d.ts +1 -0
  34. package/dist/modules/language/typescript/index.d.ts +2 -1
  35. package/dist/tests/vocabulary.test.d.ts +10 -0
  36. package/package.json +3 -2
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Vocabulary Matching Tests
3
+ *
4
+ * Tests for vocabulary extraction and matching capabilities.
5
+ * These tests verify that:
6
+ * - Vocabulary is correctly extracted from symbol names
7
+ * - Partial vocabulary matches work in search
8
+ * - Scoring tiers are applied correctly
9
+ */
10
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "raggrep",
3
- "version": "0.8.4",
3
+ "version": "0.10.0",
4
4
  "description": "Local filesystem-based RAG system for codebases - semantic search using local embeddings",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -58,7 +58,8 @@
58
58
  "@xenova/transformers": "^2.17.0",
59
59
  "chokidar": "^5.0.0",
60
60
  "glob": "^10.0.0",
61
- "typescript": "^5.0.0"
61
+ "typescript": "^5.0.0",
62
+ "web-tree-sitter": "^0.26.3"
62
63
  },
63
64
  "devDependencies": {
64
65
  "@types/bun": "latest",