Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fuzzy Finder for file paths #1373

Open
1 task done
MichaelRPaquette opened this issue Feb 25, 2025 · 0 comments
Open
1 task done

Fuzzy Finder for file paths #1373

MichaelRPaquette opened this issue Feb 25, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@MichaelRPaquette
Copy link

Feature Enhancement Request: Fuzzy Finder for File Selection in Goose Prompts

Please explain the motivation behind the feature request.
Currently, when referencing a file in Goose prompts, users must manually type out or autocomplete the full file path. This can be inefficient when working with large projects or deeply nested file structures. A fuzzy finder integration would allow users to quickly search for and select a file without needing to type the full path, significantly improving usability and efficiency.

Describe the solution you'd like
I propose integrating a fuzzy finder tool (similar to [fzf](https://github.com/junegunn/fzf)) into Goose prompts to allow users to:

  • Trigger a fuzzy search UI within the prompt when needing to reference a file.
  • Search for files dynamically based on partial input, filtering results in real time.
  • Use arrow keys or other navigation shortcuts to select a file.
  • Automatically insert the selected file’s path into the Goose prompt once confirmed.

This would enhance the user experience by making file selection faster and reducing errors when manually typing paths.

Describe alternatives you've considered

  • Relying on shell autocompletion, which requires knowing the exact path structure.
  • Using external tools like find or ls and manually copying the path, which adds unnecessary steps.
  • Writing custom scripts to integrate fuzzy searching into the workflow, but this requires per-user setup rather than being a built-in feature.

Additional context
Integrating a fuzzy finder would be particularly beneficial for users working in large codebases or projects with many files. If there are constraints around dependencies, an alternative could be leveraging an existing lightweight fuzzy matching algorithm within Goose itself.

  • I have verified this does not duplicate an existing feature request
@MichaelRPaquette MichaelRPaquette added the enhancement New feature or request label Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant