refactor: revert lazy file loading and restore eager content reading
This reverts the architectural changes introduced in PR #2. While technically valid, the lazy file reading pattern added unnecessary mental overhead and complexity without a tangible benefit for our current pipeline. Since index.ts processes all scanned files anyway for chunking, eagerly reading the file content during the initial [scanDirectory] phase provides a simpler, more cohesive data contract (ScannedFile) with no real-world performance penalty.
S
SyahrulBhudiF committed
79ac2ff10d661741f8a582bfc15013fe1a2bb12b
Parent: 38d41c0