raggrep 0.5.2 → 0.6.1

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.
@@ -3,4 +3,4 @@
3
3
  *
4
4
  * Provides embedding generation using Transformers.js.
5
5
  */
6
- export { TransformersEmbeddingProvider, EMBEDDING_MODELS, getCacheDir, isModelCached, configureEmbeddings, getEmbeddingConfig, getEmbedding, getEmbeddings, } from "./transformersEmbedding";
6
+ export { TransformersEmbeddingProvider, EMBEDDING_MODELS, EMBEDDING_DIMENSIONS, getCacheDir, isModelCached, configureEmbeddings, getEmbeddingConfig, getEmbedding, getEmbeddings, } from "./transformersEmbedding";
@@ -7,6 +7,8 @@
7
7
  import type { EmbeddingProvider, EmbeddingConfig, EmbeddingModelName } from "../../domain/ports";
8
8
  /** Available embedding models and their Hugging Face IDs */
9
9
  export declare const EMBEDDING_MODELS: Record<EmbeddingModelName, string>;
10
+ /** Embedding dimensions per model */
11
+ export declare const EMBEDDING_DIMENSIONS: Record<EmbeddingModelName, number>;
10
12
  /**
11
13
  * Embedding provider using Transformers.js (local inference).
12
14
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "raggrep",
3
- "version": "0.5.2",
3
+ "version": "0.6.1",
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",