@comfanion/usethis_search 4.5.0 → 4.5.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.
- package/package.json +1 -1
- package/vectorizer/index.ts +1 -2
package/package.json
CHANGED
package/vectorizer/index.ts
CHANGED
|
@@ -21,6 +21,7 @@ import { UsageTracker } from "./usage-tracker.ts";
|
|
|
21
21
|
import { ChunkStore } from "./chunk-store.ts";
|
|
22
22
|
import { decomposeQuery, rrfMerge, DEFAULT_DECOMPOSER_CONFIG } from "./query-decomposer.ts";
|
|
23
23
|
import type { DecomposerConfig } from "./query-decomposer.ts";
|
|
24
|
+
import { glob } from "glob";
|
|
24
25
|
|
|
25
26
|
// Suppress transformers.js logs unless DEBUG is set
|
|
26
27
|
const DEBUG = process.env.DEBUG?.includes("vectorizer") || process.env.DEBUG === "*";
|
|
@@ -1587,7 +1588,6 @@ class CodebaseIndexer {
|
|
|
1587
1588
|
}
|
|
1588
1589
|
|
|
1589
1590
|
async checkHealth(extraIgnore = []) {
|
|
1590
|
-
const { glob } = await import("glob");
|
|
1591
1591
|
const preset = INDEX_PRESETS[this.indexName] || DEFAULT_PRESETS.code;
|
|
1592
1592
|
|
|
1593
1593
|
const ignore = [
|
|
@@ -1679,7 +1679,6 @@ class CodebaseIndexer {
|
|
|
1679
1679
|
}
|
|
1680
1680
|
|
|
1681
1681
|
async indexAll(onProgress = null, extraIgnore = []) {
|
|
1682
|
-
const { glob } = await import("glob");
|
|
1683
1682
|
const preset = INDEX_PRESETS[this.indexName] || DEFAULT_PRESETS.code;
|
|
1684
1683
|
|
|
1685
1684
|
const ignore = [
|