Problem
The Telegram bot allows uploading files from Telegram and browsing the project with "/ls", but there is no convenient way to reference an existing file from the project when composing a prompt.
In OpenCode itself, I frequently use "@filename" to include project files in the conversation. This workflow is missing in the Telegram bot.
Currently, I have to manually type file paths in the prompt, which is slower and more error-prone, especially in larger projects.
Proposal
Add a way to attach existing project files to a prompt.
The exact UX is up to you, but some possible options are:
- support "@filename" autocomplete similar to OpenCode;
- add an "/attach" command;
- allow selecting a file from "/ls" and attaching it to the next prompt.
The main goal is to make it easy to reference existing project files without manually typing their paths.
Done criteria (optional)
No response
Problem
The Telegram bot allows uploading files from Telegram and browsing the project with "/ls", but there is no convenient way to reference an existing file from the project when composing a prompt.
In OpenCode itself, I frequently use "@filename" to include project files in the conversation. This workflow is missing in the Telegram bot.
Currently, I have to manually type file paths in the prompt, which is slower and more error-prone, especially in larger projects.
Proposal
Add a way to attach existing project files to a prompt.
The exact UX is up to you, but some possible options are:
The main goal is to make it easy to reference existing project files without manually typing their paths.
Done criteria (optional)
No response