Skip to content

feat(tools): add bounded file-read windows#263

Open
cniska wants to merge 1 commit into
mainfrom
file-read-windows
Open

feat(tools): add bounded file-read windows#263
cniska wants to merge 1 commit into
mainfrom
file-read-windows

Conversation

@cniska
Copy link
Copy Markdown
Owner

@cniska cniska commented May 7, 2026

Motivation

Full-file reads make common search-read-edit flows burn unnecessary tokens and preserve too much context across turns.

Summary

  • add bounded file-read windows around matched lines
  • keep full-file reads available when broad context is needed
  • cache bounded read windows separately while invalidating by path
  • cover bounded reads, cache behavior, and tool guidance in tests

Fixes #262

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(tools): add bounded file-read windows

1 participant