@threadbase-sh/scanner 0.8.2 → 0.8.4

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/dist/cli.js CHANGED
@@ -5,7 +5,7 @@ import { Command } from "commander";
5
5
  import pino2 from "pino";
6
6
 
7
7
  // package.json
8
- var version = "0.8.2";
8
+ var version = "0.8.4";
9
9
 
10
10
  // src/logger.ts
11
11
  import pino from "pino";
@@ -932,7 +932,10 @@ function classify(filePath, existing) {
932
932
  }
933
933
  return { change: "unchanged", stat: stat3 };
934
934
  }
935
- return { change: "appended", stat: stat3 };
935
+ if (existing.content_fingerprint && existing.size_bytes === existing.last_indexed_offset && fingerprint(filePath, existing.last_indexed_offset) === existing.content_fingerprint) {
936
+ return { change: "appended", stat: stat3 };
937
+ }
938
+ return { change: "reindex", stat: stat3 };
936
939
  }
937
940
 
938
941
  // src/providers/codex-cli.ts
@@ -2656,7 +2659,7 @@ var ConversationScanner = class {
2656
2659
  this.lastTier.name,
2657
2660
  void 0,
2658
2661
  readGitBranch,
2659
- true,
2662
+ false,
2660
2663
  provider
2661
2664
  );
2662
2665
  evict2(meta2);