Specify a line range
Select the relevant range instead of attaching the entire file: make a selection in Cursor and press Cmd+L, or use @file.ts#L120-160. Every line the model reads counts toward your input; if the bug is in a 30-line function, the other 1,170 lines are pure waste.
The change spans 100 files; narrowing the range here only causes missed work.