raggrep 0.1.4 → 0.1.6
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.
- package/README.md +23 -9
- package/dist/cli/main.js +2550 -1631
- package/dist/cli/main.js.map +19 -13
- package/dist/domain/entities/chunk.d.ts +1 -1
- package/dist/domain/entities/fileIndex.d.ts +1 -1
- package/dist/domain/ports/embedding.d.ts +1 -1
- package/dist/index.js +2588 -1733
- package/dist/index.js.map +18 -12
- package/dist/infrastructure/config/configLoader.d.ts +22 -3
- package/dist/infrastructure/config/index.d.ts +1 -1
- package/dist/introspection/conventions/configFiles.d.ts +10 -0
- package/dist/introspection/conventions/conventions.test.d.ts +4 -0
- package/dist/introspection/conventions/entryPoints.d.ts +10 -0
- package/dist/introspection/conventions/frameworks/convex.d.ts +11 -0
- package/dist/introspection/conventions/frameworks/index.d.ts +22 -0
- package/dist/introspection/conventions/frameworks/nextjs.d.ts +10 -0
- package/dist/introspection/conventions/index.d.ts +39 -0
- package/dist/introspection/conventions/types.d.ts +62 -0
- package/dist/tests/integration.test.d.ts +9 -0
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
/**
|
|
8
8
|
* Types of code chunks that can be extracted from source files.
|
|
9
9
|
*/
|
|
10
|
-
export type ChunkType =
|
|
10
|
+
export type ChunkType = "function" | "class" | "interface" | "type" | "enum" | "variable" | "block" | "file";
|
|
11
11
|
/**
|
|
12
12
|
* A chunk of code or text that has been parsed and can be indexed.
|
|
13
13
|
*
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Represents the indexed data for a single source file.
|
|
5
5
|
* This is a Tier 2 index structure containing full chunk data and embeddings.
|
|
6
6
|
*/
|
|
7
|
-
import type { Chunk } from
|
|
7
|
+
import type { Chunk } from "./chunk";
|
|
8
8
|
/**
|
|
9
9
|
* Indexed data for a single file (Tier 2 index).
|
|
10
10
|
*
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* Available embedding model names
|
|
10
10
|
*/
|
|
11
|
-
export type EmbeddingModelName =
|
|
11
|
+
export type EmbeddingModelName = "all-MiniLM-L6-v2" | "all-MiniLM-L12-v2" | "bge-small-en-v1.5" | "paraphrase-MiniLM-L3-v2";
|
|
12
12
|
/**
|
|
13
13
|
* Configuration for embedding provider
|
|
14
14
|
*/
|