eca icon indicating copy to clipboard operation
eca copied to clipboard

Improve repoMap context for huge projects

Open ericdallo opened this issue 1 year ago • 1 comments

To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.

Currently repoMap is a simple git ls-files of the current workspace, for huge projects this is a problem as it can represent a huge context to LLM, example:

Image

in this case repoMap had 1091 files, we should improve with some kind of heuristic to truncate that or reduce.

ericdallo avatar Aug 05 '25 22:08 ericdallo

I just found about https://github.com/bonede/tree-sitter-ng which would be a great addition to functions available in codes, certainly a improvement to repoMap, but before that we need a way to truncate the repoMap to a certain limit

ericdallo avatar Aug 13 '25 19:08 ericdallo