-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
Feature Enhancement Request: File Path Autocompletion for Goose Prompts
Please explain the motivation behind the feature request.
When using Goose prompts that require referencing a file, users currently have to manually type out the full file path. This can be tedious, especially for deeply nested files or long filenames. Adding autocompletion for file paths would streamline the process, reducing the chance of typos and making it quicker to reference files for Goose to read and provide context.
Describe the solution you'd like
I propose enabling tab-completion for file paths within Goose prompts, so that users can:
- Start typing a file path and press Tab to autocomplete it.
- See suggestions for matching files and directories in the current working directory.
- Seamlessly insert the fully qualified path without needing to manually type it out.
The goal is to improve efficiency when referencing files for Goose to process, without requiring users to navigate directories interactively—just provide a quick way to complete paths inline.
Describe alternatives you've considered
-
Manually copying and pasting file paths from a file explorer or terminal, which is slower and prone to errors.
-
Using a shell command (
lsorfind) to get the file path and then pasting it, which adds extra steps. -
Implementing custom shell aliases or scripts, but this requires user-specific setup rather than being a built-in feature.
-
I have verified this does not duplicate an existing feature request