grepmax 0.26.47 → 0.26.48
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.
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"name": "grepmax",
|
|
11
11
|
"source": "./plugins/grepmax",
|
|
12
12
|
"description": "Semantic code search for Claude Code. Automatically indexes your project and provides intelligent search capabilities.",
|
|
13
|
-
"version": "0.26.
|
|
13
|
+
"version": "0.26.48",
|
|
14
14
|
"author": {
|
|
15
15
|
"name": "Robert Owens",
|
|
16
16
|
"email": "robowens@me.com"
|
|
@@ -699,8 +699,12 @@ class Searcher {
|
|
|
699
699
|
}
|
|
700
700
|
const envMaxPerFile = Number.parseInt((_m = process.env.GMAX_MAX_PER_FILE) !== null && _m !== void 0 ? _m : "", 10);
|
|
701
701
|
const MAX_PER_FILE = Number.isFinite(envMaxPerFile) && envMaxPerFile > 0 ? envMaxPerFile : 3;
|
|
702
|
-
|
|
703
|
-
|
|
702
|
+
// Rank the entire bounded candidate pool before trimming the result count.
|
|
703
|
+
// A limit-dependent cut here discarded contenders before structure boosts
|
|
704
|
+
// and dedup, so requesting three results could hide the top match returned
|
|
705
|
+
// by a ten-result request. Expensive reranking stays independently bounded;
|
|
706
|
+
// display columns are still fetched only for the final results below.
|
|
707
|
+
const displayCandidates = [...stage2Candidates];
|
|
704
708
|
const rerankCandidates = stage2Candidates.slice(0, RERANK_TOP);
|
|
705
709
|
// Symbol-definition promotion (1/2): membership. For a bare-symbol query,
|
|
706
710
|
// ensure the chunk(s) that actually DEFINE the symbol reach the rerank set
|
package/package.json
CHANGED