Skip to content

Feature request: Highly specific AI helper functions #55

@Joshfindit

Description

@Joshfindit

Overall goal: To reduce context window usage

Suggestions:

  1. Pull specific line numbers from a file (takes single line or start and end)
  2. 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
  3. File identification via file. Helpful to avoid loading binary files masquerading as text files
  4. Incremental/Patch-Based File Editing
    • Grants the ability to apply multiple non-contiguous changes in a single tool call
  5. Symlink management including resolving symlink targets
  6. 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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions