-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Idea: output only related files command #478
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestneeds discussionIssues needing discussion and a decision to be made before action can be takenIssues needing discussion and a decision to be made before action can be taken
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestneeds discussionIssues needing discussion and a decision to be made before action can be takenIssues needing discussion and a decision to be made before action can be taken
Problem:
code bases tend to grow enormously, especially frontend code.
And sometimes you don't need the whole code base to send to LLMS
200K context and even 1M context window aren't enough
Solution:
have a repomix command that tells the repomix to read current directory files and imported files also and bundle them in one codebase
I am expecting to have
server/actions/users.tsThis file also imports several functions from
apps/utils/users.ts,apps/db/queries/users.tsThe final output will have the code from actions and related files, from utils and associated files from queries
Also have the feature to set a list of files or directories to be always included, no matter what, like ai_instructions.md
I know that this behaviour can be reached by tweaking the include and ignore in the repomix config. But it takes a lot of time to do it each time