CLI: Add files/images to chat
Please explain the motivation behind the feature request.
Hi 👋
I'm currently investigating goose to replace aider for ai pair programming, mainly because of goose MCP support. However there doesn't seem to be an easy way to add files/images to the context window in the CLI. aider has --file & --read command line options, and fuzzy path finding in-chat to link files (in regular text chats and as /add & /read-only in-chat commands completion). It would be cool for goose to have similar features.
Describe the solution you'd like
Honestly I find the implementation quite good in aider, albeit a bit distracting when it tries to autocomplete each word into a path in-chat. Only triggering to autocompletion with a special tag like @ would be probably be better. But other than that I don't really see how it could be improved.
I really like that it is possible to link files without necessarily reading them (with: Add file to the chat? (Y)es/(N)o/(D)on't ask again [Yes]:), it is handy for explaining to the LLM how things work without polluting its context window.
Additional context Related to https://github.com/block/goose/issues/1372 / https://github.com/block/goose/issues/1373
- [x] I have verified this does not duplicate an existing feature request