grepmind-core 0.1.0-alpha
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/LICENSE +190 -0
- package/dist/config/types.d.ts +174 -0
- package/dist/config/types.d.ts.map +1 -0
- package/dist/config/types.js +137 -0
- package/dist/config/types.js.map +1 -0
- package/dist/git.d.ts +98 -0
- package/dist/git.d.ts.map +1 -0
- package/dist/git.js +298 -0
- package/dist/git.js.map +1 -0
- package/dist/git.test.d.ts +7 -0
- package/dist/git.test.d.ts.map +1 -0
- package/dist/git.test.js +242 -0
- package/dist/git.test.js.map +1 -0
- package/dist/index.d.ts +44 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +67 -0
- package/dist/index.js.map +1 -0
- package/dist/indexer/branch.d.ts +121 -0
- package/dist/indexer/branch.d.ts.map +1 -0
- package/dist/indexer/branch.js +451 -0
- package/dist/indexer/branch.js.map +1 -0
- package/dist/indexer/chunker.d.ts +9 -0
- package/dist/indexer/chunker.d.ts.map +1 -0
- package/dist/indexer/chunker.js +70 -0
- package/dist/indexer/chunker.js.map +1 -0
- package/dist/indexer/chunker.test.d.ts +2 -0
- package/dist/indexer/chunker.test.d.ts.map +1 -0
- package/dist/indexer/chunker.test.js +180 -0
- package/dist/indexer/chunker.test.js.map +1 -0
- package/dist/indexer/code/branch.d.ts +155 -0
- package/dist/indexer/code/branch.d.ts.map +1 -0
- package/dist/indexer/code/branch.js +550 -0
- package/dist/indexer/code/branch.js.map +1 -0
- package/dist/indexer/code/branch.test.d.ts +7 -0
- package/dist/indexer/code/branch.test.d.ts.map +1 -0
- package/dist/indexer/code/branch.test.js +241 -0
- package/dist/indexer/code/branch.test.js.map +1 -0
- package/dist/indexer/code/chunker.d.ts +61 -0
- package/dist/indexer/code/chunker.d.ts.map +1 -0
- package/dist/indexer/code/chunker.js +311 -0
- package/dist/indexer/code/chunker.js.map +1 -0
- package/dist/indexer/code/chunker.test.d.ts +2 -0
- package/dist/indexer/code/chunker.test.d.ts.map +1 -0
- package/dist/indexer/code/chunker.test.js +552 -0
- package/dist/indexer/code/chunker.test.js.map +1 -0
- package/dist/indexer/code/fts.test.d.ts +2 -0
- package/dist/indexer/code/fts.test.d.ts.map +1 -0
- package/dist/indexer/code/fts.test.js +14 -0
- package/dist/indexer/code/fts.test.js.map +1 -0
- package/dist/indexer/code/graph/embedded.d.ts +11 -0
- package/dist/indexer/code/graph/embedded.d.ts.map +1 -0
- package/dist/indexer/code/graph/embedded.js +152 -0
- package/dist/indexer/code/graph/embedded.js.map +1 -0
- package/dist/indexer/code/graph/embedded.test.d.ts +2 -0
- package/dist/indexer/code/graph/embedded.test.d.ts.map +1 -0
- package/dist/indexer/code/graph/embedded.test.js +105 -0
- package/dist/indexer/code/graph/embedded.test.js.map +1 -0
- package/dist/indexer/code/graph/facts.d.ts +11 -0
- package/dist/indexer/code/graph/facts.d.ts.map +1 -0
- package/dist/indexer/code/graph/facts.js +456 -0
- package/dist/indexer/code/graph/facts.js.map +1 -0
- package/dist/indexer/code/graph/facts.test.d.ts +2 -0
- package/dist/indexer/code/graph/facts.test.d.ts.map +1 -0
- package/dist/indexer/code/graph/facts.test.js +181 -0
- package/dist/indexer/code/graph/facts.test.js.map +1 -0
- package/dist/indexer/code/graph/id.d.ts +14 -0
- package/dist/indexer/code/graph/id.d.ts.map +1 -0
- package/dist/indexer/code/graph/id.js +40 -0
- package/dist/indexer/code/graph/id.js.map +1 -0
- package/dist/indexer/code/graph/id.test.d.ts +2 -0
- package/dist/indexer/code/graph/id.test.d.ts.map +1 -0
- package/dist/indexer/code/graph/id.test.js +86 -0
- package/dist/indexer/code/graph/id.test.js.map +1 -0
- package/dist/indexer/code/graph/index.d.ts +133 -0
- package/dist/indexer/code/graph/index.d.ts.map +1 -0
- package/dist/indexer/code/graph/index.js +1876 -0
- package/dist/indexer/code/graph/index.js.map +1 -0
- package/dist/indexer/code/graph/index.test.d.ts +2 -0
- package/dist/indexer/code/graph/index.test.d.ts.map +1 -0
- package/dist/indexer/code/graph/index.test.js +210 -0
- package/dist/indexer/code/graph/index.test.js.map +1 -0
- package/dist/indexer/code/graph/queries.d.ts +22 -0
- package/dist/indexer/code/graph/queries.d.ts.map +1 -0
- package/dist/indexer/code/graph/queries.js +79 -0
- package/dist/indexer/code/graph/queries.js.map +1 -0
- package/dist/indexer/code/graph/queries.test.d.ts +2 -0
- package/dist/indexer/code/graph/queries.test.d.ts.map +1 -0
- package/dist/indexer/code/graph/queries.test.js +108 -0
- package/dist/indexer/code/graph/queries.test.js.map +1 -0
- package/dist/indexer/code/graph/resolver.d.ts +136 -0
- package/dist/indexer/code/graph/resolver.d.ts.map +1 -0
- package/dist/indexer/code/graph/resolver.js +839 -0
- package/dist/indexer/code/graph/resolver.js.map +1 -0
- package/dist/indexer/code/graph/resolver.test.d.ts +2 -0
- package/dist/indexer/code/graph/resolver.test.d.ts.map +1 -0
- package/dist/indexer/code/graph/resolver.test.js +482 -0
- package/dist/indexer/code/graph/resolver.test.js.map +1 -0
- package/dist/indexer/code/graph/semantic.d.ts +33 -0
- package/dist/indexer/code/graph/semantic.d.ts.map +1 -0
- package/dist/indexer/code/graph/semantic.js +279 -0
- package/dist/indexer/code/graph/semantic.js.map +1 -0
- package/dist/indexer/code/graph/semantic.test.d.ts +2 -0
- package/dist/indexer/code/graph/semantic.test.d.ts.map +1 -0
- package/dist/indexer/code/graph/semantic.test.js +127 -0
- package/dist/indexer/code/graph/semantic.test.js.map +1 -0
- package/dist/indexer/code/index.d.ts +404 -0
- package/dist/indexer/code/index.d.ts.map +1 -0
- package/dist/indexer/code/index.js +2070 -0
- package/dist/indexer/code/index.js.map +1 -0
- package/dist/indexer/code/languages/bash.d.ts +14 -0
- package/dist/indexer/code/languages/bash.d.ts.map +1 -0
- package/dist/indexer/code/languages/bash.js +125 -0
- package/dist/indexer/code/languages/bash.js.map +1 -0
- package/dist/indexer/code/languages/css.d.ts +16 -0
- package/dist/indexer/code/languages/css.d.ts.map +1 -0
- package/dist/indexer/code/languages/css.js +204 -0
- package/dist/indexer/code/languages/css.js.map +1 -0
- package/dist/indexer/code/languages/generic.d.ts +61 -0
- package/dist/indexer/code/languages/generic.d.ts.map +1 -0
- package/dist/indexer/code/languages/generic.js +150 -0
- package/dist/indexer/code/languages/generic.js.map +1 -0
- package/dist/indexer/code/languages/graphql.d.ts +13 -0
- package/dist/indexer/code/languages/graphql.d.ts.map +1 -0
- package/dist/indexer/code/languages/graphql.js +180 -0
- package/dist/indexer/code/languages/graphql.js.map +1 -0
- package/dist/indexer/code/languages/html.d.ts +16 -0
- package/dist/indexer/code/languages/html.d.ts.map +1 -0
- package/dist/indexer/code/languages/html.js +138 -0
- package/dist/indexer/code/languages/html.js.map +1 -0
- package/dist/indexer/code/languages/index.d.ts +9 -0
- package/dist/indexer/code/languages/index.d.ts.map +1 -0
- package/dist/indexer/code/languages/index.js +12 -0
- package/dist/indexer/code/languages/index.js.map +1 -0
- package/dist/indexer/code/languages/json.d.ts +12 -0
- package/dist/indexer/code/languages/json.d.ts.map +1 -0
- package/dist/indexer/code/languages/json.js +66 -0
- package/dist/indexer/code/languages/json.js.map +1 -0
- package/dist/indexer/code/languages/registry.d.ts +78 -0
- package/dist/indexer/code/languages/registry.d.ts.map +1 -0
- package/dist/indexer/code/languages/registry.js +72 -0
- package/dist/indexer/code/languages/registry.js.map +1 -0
- package/dist/indexer/code/languages/typescript.d.ts +39 -0
- package/dist/indexer/code/languages/typescript.d.ts.map +1 -0
- package/dist/indexer/code/languages/typescript.js +300 -0
- package/dist/indexer/code/languages/typescript.js.map +1 -0
- package/dist/indexer/code/languages/yaml.d.ts +13 -0
- package/dist/indexer/code/languages/yaml.d.ts.map +1 -0
- package/dist/indexer/code/languages/yaml.js +90 -0
- package/dist/indexer/code/languages/yaml.js.map +1 -0
- package/dist/indexer/code/parser.d.ts +26 -0
- package/dist/indexer/code/parser.d.ts.map +1 -0
- package/dist/indexer/code/parser.js +332 -0
- package/dist/indexer/code/parser.js.map +1 -0
- package/dist/indexer/code/retry.d.ts +58 -0
- package/dist/indexer/code/retry.d.ts.map +1 -0
- package/dist/indexer/code/retry.js +192 -0
- package/dist/indexer/code/retry.js.map +1 -0
- package/dist/indexer/code/tree/builder.d.ts +30 -0
- package/dist/indexer/code/tree/builder.d.ts.map +1 -0
- package/dist/indexer/code/tree/builder.js +132 -0
- package/dist/indexer/code/tree/builder.js.map +1 -0
- package/dist/indexer/code/tree/builder.test.d.ts +2 -0
- package/dist/indexer/code/tree/builder.test.d.ts.map +1 -0
- package/dist/indexer/code/tree/builder.test.js +31 -0
- package/dist/indexer/code/tree/builder.test.js.map +1 -0
- package/dist/indexer/code/tree/cache.d.ts +22 -0
- package/dist/indexer/code/tree/cache.d.ts.map +1 -0
- package/dist/indexer/code/tree/cache.js +85 -0
- package/dist/indexer/code/tree/cache.js.map +1 -0
- package/dist/indexer/code/tree/context.d.ts +32 -0
- package/dist/indexer/code/tree/context.d.ts.map +1 -0
- package/dist/indexer/code/tree/context.js +78 -0
- package/dist/indexer/code/tree/context.js.map +1 -0
- package/dist/indexer/code/tree/embedding.d.ts +9 -0
- package/dist/indexer/code/tree/embedding.d.ts.map +1 -0
- package/dist/indexer/code/tree/embedding.js +53 -0
- package/dist/indexer/code/tree/embedding.js.map +1 -0
- package/dist/indexer/code/tree/embedding.test.d.ts +2 -0
- package/dist/indexer/code/tree/embedding.test.d.ts.map +1 -0
- package/dist/indexer/code/tree/embedding.test.js +57 -0
- package/dist/indexer/code/tree/embedding.test.js.map +1 -0
- package/dist/indexer/code/tree/id.d.ts +3 -0
- package/dist/indexer/code/tree/id.d.ts.map +1 -0
- package/dist/indexer/code/tree/id.js +8 -0
- package/dist/indexer/code/tree/id.js.map +1 -0
- package/dist/indexer/code/tree/index.d.ts +113 -0
- package/dist/indexer/code/tree/index.d.ts.map +1 -0
- package/dist/indexer/code/tree/index.js +1146 -0
- package/dist/indexer/code/tree/index.js.map +1 -0
- package/dist/indexer/code/tree/rename.d.ts +13 -0
- package/dist/indexer/code/tree/rename.d.ts.map +1 -0
- package/dist/indexer/code/tree/rename.js +46 -0
- package/dist/indexer/code/tree/rename.js.map +1 -0
- package/dist/indexer/code/tree/repomap.d.ts +29 -0
- package/dist/indexer/code/tree/repomap.d.ts.map +1 -0
- package/dist/indexer/code/tree/repomap.js +95 -0
- package/dist/indexer/code/tree/repomap.js.map +1 -0
- package/dist/indexer/code/tree/repomap.test.d.ts +2 -0
- package/dist/indexer/code/tree/repomap.test.d.ts.map +1 -0
- package/dist/indexer/code/tree/repomap.test.js +93 -0
- package/dist/indexer/code/tree/repomap.test.js.map +1 -0
- package/dist/indexer/code/tree/stats.d.ts +26 -0
- package/dist/indexer/code/tree/stats.d.ts.map +1 -0
- package/dist/indexer/code/tree/stats.js +49 -0
- package/dist/indexer/code/tree/stats.js.map +1 -0
- package/dist/indexer/code/tree/types.d.ts +186 -0
- package/dist/indexer/code/tree/types.d.ts.map +1 -0
- package/dist/indexer/code/tree/types.js +10 -0
- package/dist/indexer/code/tree/types.js.map +1 -0
- package/dist/indexer/code/wal.d.ts +144 -0
- package/dist/indexer/code/wal.d.ts.map +1 -0
- package/dist/indexer/code/wal.js +283 -0
- package/dist/indexer/code/wal.js.map +1 -0
- package/dist/indexer/embeddings.d.ts +113 -0
- package/dist/indexer/embeddings.d.ts.map +1 -0
- package/dist/indexer/embeddings.js +477 -0
- package/dist/indexer/embeddings.js.map +1 -0
- package/dist/indexer/git-sync.d.ts +117 -0
- package/dist/indexer/git-sync.d.ts.map +1 -0
- package/dist/indexer/git-sync.js +398 -0
- package/dist/indexer/git-sync.js.map +1 -0
- package/dist/indexer/index.d.ts +175 -0
- package/dist/indexer/index.d.ts.map +1 -0
- package/dist/indexer/index.js +1096 -0
- package/dist/indexer/index.js.map +1 -0
- package/dist/indexer/mocks/mock-reranker.d.ts +12 -0
- package/dist/indexer/mocks/mock-reranker.d.ts.map +1 -0
- package/dist/indexer/mocks/mock-reranker.js +26 -0
- package/dist/indexer/mocks/mock-reranker.js.map +1 -0
- package/dist/indexer/parser.d.ts +8 -0
- package/dist/indexer/parser.d.ts.map +1 -0
- package/dist/indexer/parser.js +44 -0
- package/dist/indexer/parser.js.map +1 -0
- package/dist/indexer/parser.test.d.ts +2 -0
- package/dist/indexer/parser.test.d.ts.map +1 -0
- package/dist/indexer/parser.test.js +197 -0
- package/dist/indexer/parser.test.js.map +1 -0
- package/dist/indexer/reranking.d.ts +71 -0
- package/dist/indexer/reranking.d.ts.map +1 -0
- package/dist/indexer/reranking.integration.test.d.ts +2 -0
- package/dist/indexer/reranking.integration.test.d.ts.map +1 -0
- package/dist/indexer/reranking.integration.test.js +104 -0
- package/dist/indexer/reranking.integration.test.js.map +1 -0
- package/dist/indexer/reranking.js +256 -0
- package/dist/indexer/reranking.js.map +1 -0
- package/dist/indexer/reranking.test.d.ts +2 -0
- package/dist/indexer/reranking.test.d.ts.map +1 -0
- package/dist/indexer/reranking.test.js +130 -0
- package/dist/indexer/reranking.test.js.map +1 -0
- package/dist/indexer/wal/file-storage.d.ts +60 -0
- package/dist/indexer/wal/file-storage.d.ts.map +1 -0
- package/dist/indexer/wal/file-storage.js +277 -0
- package/dist/indexer/wal/file-storage.js.map +1 -0
- package/dist/indexer/wal/file-storage.test.d.ts +8 -0
- package/dist/indexer/wal/file-storage.test.d.ts.map +1 -0
- package/dist/indexer/wal/file-storage.test.js +444 -0
- package/dist/indexer/wal/file-storage.test.js.map +1 -0
- package/dist/indexer/wal/index.d.ts +41 -0
- package/dist/indexer/wal/index.d.ts.map +1 -0
- package/dist/indexer/wal/index.js +61 -0
- package/dist/indexer/wal/index.js.map +1 -0
- package/dist/indexer/wal/integration.test.d.ts +11 -0
- package/dist/indexer/wal/integration.test.d.ts.map +1 -0
- package/dist/indexer/wal/integration.test.js +378 -0
- package/dist/indexer/wal/integration.test.js.map +1 -0
- package/dist/indexer/wal/lancedb-storage.d.ts +72 -0
- package/dist/indexer/wal/lancedb-storage.d.ts.map +1 -0
- package/dist/indexer/wal/lancedb-storage.js +462 -0
- package/dist/indexer/wal/lancedb-storage.js.map +1 -0
- package/dist/indexer/wal/lancedb-storage.test.d.ts +8 -0
- package/dist/indexer/wal/lancedb-storage.test.d.ts.map +1 -0
- package/dist/indexer/wal/lancedb-storage.test.js +415 -0
- package/dist/indexer/wal/lancedb-storage.test.js.map +1 -0
- package/dist/indexer/wal/sync-wal.d.ts +144 -0
- package/dist/indexer/wal/sync-wal.d.ts.map +1 -0
- package/dist/indexer/wal/sync-wal.js +863 -0
- package/dist/indexer/wal/sync-wal.js.map +1 -0
- package/dist/indexer/wal/sync-wal.test.d.ts +8 -0
- package/dist/indexer/wal/sync-wal.test.d.ts.map +1 -0
- package/dist/indexer/wal/sync-wal.test.js +752 -0
- package/dist/indexer/wal/sync-wal.test.js.map +1 -0
- package/dist/indexer/wal/types.d.ts +167 -0
- package/dist/indexer/wal/types.d.ts.map +1 -0
- package/dist/indexer/wal/types.js +12 -0
- package/dist/indexer/wal/types.js.map +1 -0
- package/dist/indexer/watcher.d.ts +36 -0
- package/dist/indexer/watcher.d.ts.map +1 -0
- package/dist/indexer/watcher.js +110 -0
- package/dist/indexer/watcher.js.map +1 -0
- package/dist/search/explore.d.ts +62 -0
- package/dist/search/explore.d.ts.map +1 -0
- package/dist/search/explore.js +111 -0
- package/dist/search/explore.js.map +1 -0
- package/dist/search/fts.d.ts +23 -0
- package/dist/search/fts.d.ts.map +1 -0
- package/dist/search/fts.js +64 -0
- package/dist/search/fts.js.map +1 -0
- package/dist/search/fts.test.d.ts +2 -0
- package/dist/search/fts.test.d.ts.map +1 -0
- package/dist/search/fts.test.js +27 -0
- package/dist/search/fts.test.js.map +1 -0
- package/dist/search/grep.d.ts +75 -0
- package/dist/search/grep.d.ts.map +1 -0
- package/dist/search/grep.js +96 -0
- package/dist/search/grep.js.map +1 -0
- package/dist/search/grep.test.d.ts +2 -0
- package/dist/search/grep.test.d.ts.map +1 -0
- package/dist/search/grep.test.js +178 -0
- package/dist/search/grep.test.js.map +1 -0
- package/dist/search/hybrid-grep.d.ts +43 -0
- package/dist/search/hybrid-grep.d.ts.map +1 -0
- package/dist/search/hybrid-grep.js +130 -0
- package/dist/search/hybrid-grep.js.map +1 -0
- package/dist/search/hybrid-grep.test.d.ts +2 -0
- package/dist/search/hybrid-grep.test.d.ts.map +1 -0
- package/dist/search/hybrid-grep.test.js +133 -0
- package/dist/search/hybrid-grep.test.js.map +1 -0
- package/dist/search/rg-executor.d.ts +63 -0
- package/dist/search/rg-executor.d.ts.map +1 -0
- package/dist/search/rg-executor.js +146 -0
- package/dist/search/rg-executor.js.map +1 -0
- package/dist/search/rg-executor.test.d.ts +2 -0
- package/dist/search/rg-executor.test.d.ts.map +1 -0
- package/dist/search/rg-executor.test.js +104 -0
- package/dist/search/rg-executor.test.js.map +1 -0
- package/dist/search/rg-parser/extractor.d.ts +14 -0
- package/dist/search/rg-parser/extractor.d.ts.map +1 -0
- package/dist/search/rg-parser/extractor.js +82 -0
- package/dist/search/rg-parser/extractor.js.map +1 -0
- package/dist/search/rg-parser/extractor.test.d.ts +2 -0
- package/dist/search/rg-parser/extractor.test.d.ts.map +1 -0
- package/dist/search/rg-parser/extractor.test.js +35 -0
- package/dist/search/rg-parser/extractor.test.js.map +1 -0
- package/dist/search/rg-parser/fts-builder.d.ts +7 -0
- package/dist/search/rg-parser/fts-builder.d.ts.map +1 -0
- package/dist/search/rg-parser/fts-builder.js +18 -0
- package/dist/search/rg-parser/fts-builder.js.map +1 -0
- package/dist/search/rg-parser/fts-builder.test.d.ts +2 -0
- package/dist/search/rg-parser/fts-builder.test.d.ts.map +1 -0
- package/dist/search/rg-parser/fts-builder.test.js +26 -0
- package/dist/search/rg-parser/fts-builder.test.js.map +1 -0
- package/dist/search/rg-parser/index.d.ts +36 -0
- package/dist/search/rg-parser/index.d.ts.map +1 -0
- package/dist/search/rg-parser/index.js +83 -0
- package/dist/search/rg-parser/index.js.map +1 -0
- package/dist/search/rg-parser/index.test.d.ts +2 -0
- package/dist/search/rg-parser/index.test.d.ts.map +1 -0
- package/dist/search/rg-parser/index.test.js +34 -0
- package/dist/search/rg-parser/index.test.js.map +1 -0
- package/dist/search/rg-parser/strategy.d.ts +14 -0
- package/dist/search/rg-parser/strategy.d.ts.map +1 -0
- package/dist/search/rg-parser/strategy.js +31 -0
- package/dist/search/rg-parser/strategy.js.map +1 -0
- package/dist/search/rg-parser/strategy.test.d.ts +2 -0
- package/dist/search/rg-parser/strategy.test.d.ts.map +1 -0
- package/dist/search/rg-parser/strategy.test.js +29 -0
- package/dist/search/rg-parser/strategy.test.js.map +1 -0
- package/dist/types.d.ts +345 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +7 -0
- package/dist/types.js.map +1 -0
- package/dist/utils/vault.d.ts +84 -0
- package/dist/utils/vault.d.ts.map +1 -0
- package/dist/utils/vault.js +138 -0
- package/dist/utils/vault.js.map +1 -0
- package/dist/utils/vault.test.d.ts +2 -0
- package/dist/utils/vault.test.d.ts.map +1 -0
- package/dist/utils/vault.test.js +153 -0
- package/dist/utils/vault.test.js.map +1 -0
- package/package.json +69 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to the Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
Copyright 2024 Zaytra
|
|
179
|
+
|
|
180
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
181
|
+
you may not use this file except in compliance with the License.
|
|
182
|
+
You may obtain a copy of the License at
|
|
183
|
+
|
|
184
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
185
|
+
|
|
186
|
+
Unless required by applicable law or agreed to in writing, software
|
|
187
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
188
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
189
|
+
See the License for the specific language governing permissions and
|
|
190
|
+
limitations under the License.
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Configuration interfaces for grepmind-core
|
|
3
|
+
* These are passed to the Indexer at construction time (no global config).
|
|
4
|
+
*/
|
|
5
|
+
export interface EmbeddingConfig {
|
|
6
|
+
provider: 'wasm' | 'voyage' | 'ollama' | 'localai';
|
|
7
|
+
model: string;
|
|
8
|
+
dimensions?: number;
|
|
9
|
+
cacheDir?: string;
|
|
10
|
+
voyageApiKey?: string;
|
|
11
|
+
voyageModel: string;
|
|
12
|
+
voyageBatchSize: number;
|
|
13
|
+
voyageConcurrency: number;
|
|
14
|
+
ollamaBaseUrl: string;
|
|
15
|
+
ollamaModel: string;
|
|
16
|
+
localaiBaseUrl: string;
|
|
17
|
+
localaiModel: string;
|
|
18
|
+
localaiApiKey?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface RerankingConfig {
|
|
21
|
+
enabled: boolean;
|
|
22
|
+
provider: 'none' | 'wasm' | 'voyage' | 'localai';
|
|
23
|
+
topK: number;
|
|
24
|
+
prerankThreshold: number;
|
|
25
|
+
maxDocumentLength: number;
|
|
26
|
+
batchSize: number;
|
|
27
|
+
wasmModel: string;
|
|
28
|
+
voyageModel: string;
|
|
29
|
+
localaiBaseUrl: string;
|
|
30
|
+
localaiRerankModel: string;
|
|
31
|
+
}
|
|
32
|
+
export interface ChunkingConfig {
|
|
33
|
+
splitOn: string;
|
|
34
|
+
minChunkSize: number;
|
|
35
|
+
maxChunkSize: number;
|
|
36
|
+
includeIntro: boolean;
|
|
37
|
+
}
|
|
38
|
+
export interface LanceDbConfig {
|
|
39
|
+
dbPath: string;
|
|
40
|
+
storageOptions?: Record<string, string>;
|
|
41
|
+
chunksTable: string;
|
|
42
|
+
fileIndexTable: string;
|
|
43
|
+
optimizeThreshold: number;
|
|
44
|
+
indexThreshold: number;
|
|
45
|
+
}
|
|
46
|
+
export interface SearchConfig {
|
|
47
|
+
defaultLimit: number;
|
|
48
|
+
defaultThreshold: number;
|
|
49
|
+
}
|
|
50
|
+
export interface WatcherConfig {
|
|
51
|
+
debounceMs: number;
|
|
52
|
+
awaitWriteFinish: {
|
|
53
|
+
stabilityThreshold: number;
|
|
54
|
+
pollInterval: number;
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
export interface GitSyncConfig {
|
|
58
|
+
enabled: boolean;
|
|
59
|
+
autoSyncOnStartup: boolean;
|
|
60
|
+
syncIntervalMs?: number;
|
|
61
|
+
syncBeforeSearch: boolean;
|
|
62
|
+
maxStalenessMs: number;
|
|
63
|
+
}
|
|
64
|
+
export interface NotesFtsConfig {
|
|
65
|
+
enabled: boolean;
|
|
66
|
+
stem: boolean;
|
|
67
|
+
language: string;
|
|
68
|
+
withPosition: boolean;
|
|
69
|
+
removeStopWords: boolean;
|
|
70
|
+
baseTokenizer: 'raw' | 'simple' | 'whitespace' | 'ngram';
|
|
71
|
+
lowercase?: boolean;
|
|
72
|
+
asciiFolding?: boolean;
|
|
73
|
+
maxTokenLength?: number;
|
|
74
|
+
}
|
|
75
|
+
export interface CodeFtsConfig {
|
|
76
|
+
enabled: boolean;
|
|
77
|
+
stem: boolean;
|
|
78
|
+
withPosition: boolean;
|
|
79
|
+
removeStopWords: boolean;
|
|
80
|
+
baseTokenizer: 'raw' | 'simple' | 'whitespace' | 'ngram';
|
|
81
|
+
ngramMinLength?: number;
|
|
82
|
+
ngramMaxLength?: number;
|
|
83
|
+
prefixOnly?: boolean;
|
|
84
|
+
normalizeIdentifiers: boolean;
|
|
85
|
+
}
|
|
86
|
+
export interface CodeChunkingConfig {
|
|
87
|
+
minLines: number;
|
|
88
|
+
maxLines: number;
|
|
89
|
+
includeFileChunks: boolean;
|
|
90
|
+
extractComments: boolean;
|
|
91
|
+
}
|
|
92
|
+
export interface CodeWalConfig {
|
|
93
|
+
enabled: boolean;
|
|
94
|
+
autoCompact: boolean;
|
|
95
|
+
}
|
|
96
|
+
export interface CodeRetryConfig {
|
|
97
|
+
maxRetries: number;
|
|
98
|
+
baseDelayMs: number;
|
|
99
|
+
maxDelayMs: number;
|
|
100
|
+
}
|
|
101
|
+
export interface CodeGitSyncConfig {
|
|
102
|
+
enabled: boolean;
|
|
103
|
+
autoSyncOnStartup: boolean;
|
|
104
|
+
syncIntervalMs?: number;
|
|
105
|
+
}
|
|
106
|
+
export type CodeGraphQuality = 'fast' | 'balanced' | 'accurate';
|
|
107
|
+
export interface CodeGraphSemanticConfig {
|
|
108
|
+
enabled: boolean;
|
|
109
|
+
maxClosureDepth: number;
|
|
110
|
+
maxClosureFiles: number;
|
|
111
|
+
}
|
|
112
|
+
export interface CodeGraphEmbeddedConfig {
|
|
113
|
+
graphql: boolean;
|
|
114
|
+
css: boolean;
|
|
115
|
+
}
|
|
116
|
+
export interface CodeGraphResolutionConfig {
|
|
117
|
+
tsConfigPath?: string;
|
|
118
|
+
respectTSPaths: boolean;
|
|
119
|
+
}
|
|
120
|
+
export interface CodeGraphConfig {
|
|
121
|
+
enabled: boolean;
|
|
122
|
+
quality: CodeGraphQuality;
|
|
123
|
+
semantic: CodeGraphSemanticConfig;
|
|
124
|
+
embedded: CodeGraphEmbeddedConfig;
|
|
125
|
+
resolution: CodeGraphResolutionConfig;
|
|
126
|
+
}
|
|
127
|
+
export interface TreeConfig {
|
|
128
|
+
enabled: boolean;
|
|
129
|
+
embedFiles: boolean;
|
|
130
|
+
repoMapMaxDepth: number;
|
|
131
|
+
repoMapMaxSymbols: number;
|
|
132
|
+
retrievalBudgetTokens: number;
|
|
133
|
+
staleAfterMs: number;
|
|
134
|
+
}
|
|
135
|
+
export interface CodeConfig {
|
|
136
|
+
enabled: boolean;
|
|
137
|
+
rootPath?: string;
|
|
138
|
+
include?: string[];
|
|
139
|
+
exclude?: string[];
|
|
140
|
+
includeDeclarations: boolean;
|
|
141
|
+
chunking: CodeChunkingConfig;
|
|
142
|
+
graph: CodeGraphConfig;
|
|
143
|
+
tree?: TreeConfig;
|
|
144
|
+
maxFileSize: number;
|
|
145
|
+
wal: CodeWalConfig;
|
|
146
|
+
retry: CodeRetryConfig;
|
|
147
|
+
gitSync: CodeGitSyncConfig;
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Complete configuration for the Indexer.
|
|
151
|
+
* All fields required at construction time.
|
|
152
|
+
*/
|
|
153
|
+
export interface IndexerConfig {
|
|
154
|
+
vaultPaths: string[];
|
|
155
|
+
lancedb: LanceDbConfig;
|
|
156
|
+
embedding: EmbeddingConfig;
|
|
157
|
+
reranking: RerankingConfig;
|
|
158
|
+
chunking: ChunkingConfig;
|
|
159
|
+
search: SearchConfig;
|
|
160
|
+
watcher: WatcherConfig;
|
|
161
|
+
gitSync: GitSyncConfig;
|
|
162
|
+
notesFts: NotesFtsConfig;
|
|
163
|
+
codeFts: CodeFtsConfig;
|
|
164
|
+
code: CodeConfig;
|
|
165
|
+
}
|
|
166
|
+
export declare const DEFAULT_RERANKING_CONFIG: RerankingConfig;
|
|
167
|
+
/**
|
|
168
|
+
* Default values for configuration.
|
|
169
|
+
* Can be used to merge with partial user config.
|
|
170
|
+
*/
|
|
171
|
+
export declare const DEFAULT_CONFIG: Omit<IndexerConfig, 'vaultPaths' | 'embedding'> & {
|
|
172
|
+
embedding: Omit<EmbeddingConfig, 'voyageApiKey' | 'localaiApiKey'>;
|
|
173
|
+
};
|
|
174
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/config/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAE1B,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IAEpB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAC;IACjD,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,MAAM,CAAC;IACzB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,kBAAkB,EAAE,MAAM,CAAC;C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AAwB,EAAE,eAWtC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,IAAI,CAAC,aAAa,EAAE,YAAY,GAAG,WAAW,CAAC,GAAG;IAC7E,SAAS,EAAE,IAAI,CAAC,eAAe,EAAE,cAAc,GAAG,eAAe,CAAC,CAAC;CAoHpE,CAAC"}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Configuration interfaces for grepmind-core
|
|
3
|
+
* These are passed to the Indexer at construction time (no global config).
|
|
4
|
+
*/
|
|
5
|
+
export const DEFAULT_RERANKING_CONFIG = {
|
|
6
|
+
enabled: false,
|
|
7
|
+
provider: 'none',
|
|
8
|
+
topK: 50,
|
|
9
|
+
prerankThreshold: 0.3,
|
|
10
|
+
maxDocumentLength: 2000,
|
|
11
|
+
batchSize: 100,
|
|
12
|
+
wasmModel: 'Xenova/ms-marco-MiniLM-L-6-v2',
|
|
13
|
+
voyageModel: 'rerank-2.5-lite',
|
|
14
|
+
localaiBaseUrl: 'http://localhost:8080',
|
|
15
|
+
localaiRerankModel: 'jina-reranker-v1-base-en',
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Default values for configuration.
|
|
19
|
+
* Can be used to merge with partial user config.
|
|
20
|
+
*/
|
|
21
|
+
export const DEFAULT_CONFIG = {
|
|
22
|
+
lancedb: {
|
|
23
|
+
dbPath: '', // Must be provided via INDEX_PATH env var
|
|
24
|
+
storageOptions: undefined,
|
|
25
|
+
chunksTable: 'chunks',
|
|
26
|
+
fileIndexTable: 'file_index',
|
|
27
|
+
optimizeThreshold: 100,
|
|
28
|
+
indexThreshold: 1000,
|
|
29
|
+
},
|
|
30
|
+
embedding: {
|
|
31
|
+
provider: 'wasm',
|
|
32
|
+
model: 'nomic-ai/nomic-embed-text-v1.5',
|
|
33
|
+
// dimensions auto-detected from MODEL_DIMENSIONS map
|
|
34
|
+
voyageModel: 'voyage-code-3',
|
|
35
|
+
voyageBatchSize: 128,
|
|
36
|
+
voyageConcurrency: 10,
|
|
37
|
+
ollamaBaseUrl: 'http://localhost:11434',
|
|
38
|
+
ollamaModel: 'nomic-embed-text',
|
|
39
|
+
localaiBaseUrl: 'http://localhost:8080',
|
|
40
|
+
localaiModel: 'nomic-embed-text',
|
|
41
|
+
},
|
|
42
|
+
reranking: DEFAULT_RERANKING_CONFIG,
|
|
43
|
+
chunking: {
|
|
44
|
+
splitOn: '## ',
|
|
45
|
+
minChunkSize: 50,
|
|
46
|
+
maxChunkSize: 500,
|
|
47
|
+
includeIntro: true,
|
|
48
|
+
},
|
|
49
|
+
search: {
|
|
50
|
+
defaultLimit: 5,
|
|
51
|
+
defaultThreshold: 0.5,
|
|
52
|
+
},
|
|
53
|
+
watcher: {
|
|
54
|
+
debounceMs: 500,
|
|
55
|
+
awaitWriteFinish: {
|
|
56
|
+
stabilityThreshold: 200,
|
|
57
|
+
pollInterval: 100,
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
gitSync: {
|
|
61
|
+
enabled: true,
|
|
62
|
+
autoSyncOnStartup: true,
|
|
63
|
+
syncBeforeSearch: false,
|
|
64
|
+
maxStalenessMs: 5 * 60 * 1000,
|
|
65
|
+
},
|
|
66
|
+
notesFts: {
|
|
67
|
+
enabled: true,
|
|
68
|
+
stem: true,
|
|
69
|
+
language: 'English',
|
|
70
|
+
withPosition: true,
|
|
71
|
+
removeStopWords: true,
|
|
72
|
+
baseTokenizer: 'simple',
|
|
73
|
+
lowercase: true,
|
|
74
|
+
asciiFolding: true,
|
|
75
|
+
maxTokenLength: 40,
|
|
76
|
+
},
|
|
77
|
+
codeFts: {
|
|
78
|
+
enabled: true,
|
|
79
|
+
stem: false,
|
|
80
|
+
withPosition: false,
|
|
81
|
+
removeStopWords: false,
|
|
82
|
+
baseTokenizer: 'ngram',
|
|
83
|
+
ngramMinLength: 2,
|
|
84
|
+
ngramMaxLength: 5,
|
|
85
|
+
prefixOnly: false,
|
|
86
|
+
normalizeIdentifiers: true,
|
|
87
|
+
},
|
|
88
|
+
code: {
|
|
89
|
+
enabled: false,
|
|
90
|
+
includeDeclarations: false,
|
|
91
|
+
chunking: {
|
|
92
|
+
minLines: 3,
|
|
93
|
+
maxLines: 100,
|
|
94
|
+
includeFileChunks: false,
|
|
95
|
+
extractComments: true,
|
|
96
|
+
},
|
|
97
|
+
graph: {
|
|
98
|
+
enabled: false,
|
|
99
|
+
quality: 'balanced',
|
|
100
|
+
semantic: {
|
|
101
|
+
enabled: true,
|
|
102
|
+
maxClosureDepth: 3,
|
|
103
|
+
maxClosureFiles: 50,
|
|
104
|
+
},
|
|
105
|
+
embedded: {
|
|
106
|
+
graphql: true,
|
|
107
|
+
css: true,
|
|
108
|
+
},
|
|
109
|
+
resolution: {
|
|
110
|
+
respectTSPaths: true,
|
|
111
|
+
},
|
|
112
|
+
},
|
|
113
|
+
tree: {
|
|
114
|
+
enabled: false,
|
|
115
|
+
embedFiles: true,
|
|
116
|
+
repoMapMaxDepth: 10,
|
|
117
|
+
repoMapMaxSymbols: 10,
|
|
118
|
+
retrievalBudgetTokens: 3000,
|
|
119
|
+
staleAfterMs: 120000,
|
|
120
|
+
},
|
|
121
|
+
maxFileSize: 1024 * 1024,
|
|
122
|
+
wal: {
|
|
123
|
+
enabled: true,
|
|
124
|
+
autoCompact: true,
|
|
125
|
+
},
|
|
126
|
+
retry: {
|
|
127
|
+
maxRetries: 3,
|
|
128
|
+
baseDelayMs: 1000,
|
|
129
|
+
maxDelayMs: 30000,
|
|
130
|
+
},
|
|
131
|
+
gitSync: {
|
|
132
|
+
enabled: true,
|
|
133
|
+
autoSyncOnStartup: true,
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
};
|
|
137
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/config/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA2LH,MAAM,CAAC,MAAM,wBAAwB,GAAoB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,WAAW,EAAE,IAAI;SAClB;QACD,KAAK,EAAE;YACL,UAAU,EAAE,CAAC;YACb,WAAW,EAAE,IAAI;YACjB,UAAU,EAAE,KAAK;SAClB;QACD,OAAO,EAAE;YACP,OAAO,EAAE,IAAI;YACb,iBAAiB,EAAE,IAAI;SACxB;KACF;CACF,CAAC"}
|
package/dist/git.d.ts
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
export interface GitInfo {
|
|
2
|
+
branch: string;
|
|
3
|
+
isMainBranch: boolean;
|
|
4
|
+
mainBranch: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Get current git branch name.
|
|
8
|
+
* Returns null if not in a git repository.
|
|
9
|
+
*
|
|
10
|
+
* @param cwd - Working directory (required)
|
|
11
|
+
*/
|
|
12
|
+
export declare function getCurrentBranch(cwd: string): string | null;
|
|
13
|
+
/**
|
|
14
|
+
* Get the main branch name (main or master).
|
|
15
|
+
*
|
|
16
|
+
* @param cwd - Working directory (required)
|
|
17
|
+
*/
|
|
18
|
+
export declare function getMainBranch(cwd: string): string;
|
|
19
|
+
/**
|
|
20
|
+
* Get full git info for current repository.
|
|
21
|
+
*
|
|
22
|
+
* @param cwd - Working directory (required)
|
|
23
|
+
*/
|
|
24
|
+
export declare function getGitInfo(cwd: string): GitInfo | null;
|
|
25
|
+
/**
|
|
26
|
+
* Get files changed between current branch and main.
|
|
27
|
+
* Returns { modified: string[], deleted: string[] }
|
|
28
|
+
*
|
|
29
|
+
* @param cwd - Working directory (required)
|
|
30
|
+
* @param patterns - File patterns to filter (e.g., ['*.md'] or ['*.ts', '*.tsx'])
|
|
31
|
+
*/
|
|
32
|
+
export declare function getChangedFilesFromMain(cwd: string, patterns?: string[]): {
|
|
33
|
+
modified: string[];
|
|
34
|
+
deleted: string[];
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Check if we're in a git repository.
|
|
38
|
+
*
|
|
39
|
+
* @param cwd - Working directory (required)
|
|
40
|
+
*/
|
|
41
|
+
export declare function isGitRepository(cwd: string): boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Sanitize branch name for use in file paths.
|
|
44
|
+
*/
|
|
45
|
+
export declare function sanitizeBranchName(branch: string): string;
|
|
46
|
+
/**
|
|
47
|
+
* Get current HEAD commit SHA.
|
|
48
|
+
*
|
|
49
|
+
* @param cwd - Working directory (required)
|
|
50
|
+
*/
|
|
51
|
+
export declare function getHeadCommit(cwd: string): string | null;
|
|
52
|
+
/**
|
|
53
|
+
* Check if a commit exists in the repository.
|
|
54
|
+
*
|
|
55
|
+
* @param sha - Commit SHA
|
|
56
|
+
* @param cwd - Working directory (required)
|
|
57
|
+
*/
|
|
58
|
+
export declare function commitExists(sha: string, cwd: string): boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Check if commit A is an ancestor of commit B.
|
|
61
|
+
*
|
|
62
|
+
* @param ancestorSha - Ancestor commit SHA
|
|
63
|
+
* @param descendantSha - Descendant commit SHA
|
|
64
|
+
* @param cwd - Working directory (required)
|
|
65
|
+
*/
|
|
66
|
+
export declare function isAncestor(ancestorSha: string, descendantSha: string, cwd: string): boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Get the merge base (common ancestor) of two commits.
|
|
69
|
+
*
|
|
70
|
+
* @param sha1 - First commit SHA
|
|
71
|
+
* @param sha2 - Second commit SHA
|
|
72
|
+
* @param cwd - Working directory (required)
|
|
73
|
+
*/
|
|
74
|
+
export declare function getMergeBase(sha1: string, sha2: string, cwd: string): string | null;
|
|
75
|
+
/**
|
|
76
|
+
* Get commit timestamp (Unix epoch).
|
|
77
|
+
*
|
|
78
|
+
* @param sha - Commit SHA
|
|
79
|
+
* @param cwd - Working directory (required)
|
|
80
|
+
*/
|
|
81
|
+
export declare function getCommitTimestamp(sha: string, cwd: string): number | null;
|
|
82
|
+
export type DiffStatus = 'A' | 'M' | 'D' | 'R';
|
|
83
|
+
export interface DiffEntry {
|
|
84
|
+
status: DiffStatus;
|
|
85
|
+
path: string;
|
|
86
|
+
oldPath?: string;
|
|
87
|
+
similarity?: number;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Get diff between two commits with file status.
|
|
91
|
+
*
|
|
92
|
+
* @param baseCommit - Base commit SHA
|
|
93
|
+
* @param headCommit - Head commit SHA
|
|
94
|
+
* @param patterns - File patterns to filter
|
|
95
|
+
* @param cwd - Working directory (required)
|
|
96
|
+
*/
|
|
97
|
+
export declare function getDiffStatus(baseCommit: string, headCommit: string, patterns: string[] | undefined, cwd: string): DiffEntry[];
|
|
98
|
+
//# sourceMappingURL=git.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"git.d.ts","sourceRoot":"","sources":["../src/git.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,OAAO;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,OAAO,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAW3D;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAoBjD;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI,CAUtD;AAoBD;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CACrC,GAAG,EAAE,MAAM,EACX,QAAQ,GAAE,MAAM,EAAa,GAC5B;IAAE,QAAQ,EAAE,MAAM,EAAE,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE,CAsC3C;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAWpD;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAEzD;AAMD;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,GAA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