Overall goal: To reduce context window usage
Suggestions:
- Pull specific line numbers from a file (takes single line or start and end)
- Pull the whole "section" from a file. This is an ambitious request as it involves analyzing code structure but it can be built up slowly.
- Markdown: Pull the everything nested under a header
- JS/TS/Go/Rust: Pull a function definition
- File identification via
file. Helpful to avoid loading binary files masquerading as text files
- Incremental/Patch-Based File Editing
- Grants the ability to apply multiple non-contiguous changes in a single tool call
- Symlink management including resolving symlink targets
- Modify
tree to have a ".treeignore" concept. It's common that the agent trees a folder containing .git, node_modules, or other deep dev folders. It would be nice for the agent to get "path": "/home/josh/project/.git", "type": "ignored by .treeignore. call just this path to tree it anyway"
Overall goal: To reduce context window usage
Suggestions:
file. Helpful to avoid loading binary files masquerading as text filestreeto have a ".treeignore" concept. It's common that the agenttrees a folder containing.git,node_modules, or other deep dev folders. It would be nice for the agent to get"path": "/home/josh/project/.git", "type": "ignored by .treeignore. call just this path to tree it anyway"