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.47",
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
- const displayWindow = Math.min(stage2Candidates.length, Math.max(finalLimit * MAX_PER_FILE, finalLimit, RERANK_TOP));
703
- const displayCandidates = stage2Candidates.slice(0, displayWindow);
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grepmax",
3
- "version": "0.26.47",
3
+ "version": "0.26.48",
4
4
  "author": "Robert Owens <78518764+reowens@users.noreply.github.com>",
5
5
  "homepage": "https://github.com/reowens/grepmax",
6
6
  "bugs": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grepmax",
3
- "version": "0.26.47",
3
+ "version": "0.26.48",
4
4
  "description": "Semantic code search for Claude Code. Automatically indexes your project and provides intelligent search capabilities.",
5
5
  "author": {
6
6
  "name": "Robert Owens",