Work
Files and screenshots
Drop files and screenshots to your agent from any of your devices. hup sends the file to the machine the pane runs on, and puts its path at the prompt.
Accurate for hup Mac 0.1.483iPad and iPhone 1.1.3
On your Mac
- Drop a file or a screenshot on a pane.
- Or paste with ⌘V, with a file copied in Finder or an image on the clipboard. A screenshot you just took to the clipboard pastes the same way.
On your iPad and iPhone
- Tap the paperclip on the key bar and choose Photo… or File… from its menu.
- With a keyboard, Attach Photo… is ⇧⌘A and Attach File… is ⌥⌘A.
- Drop a file on a pane from another app, or paste an image.
What happens
When the pane runs on a host, hup sends the file there first, over the pane’s own connection. The pane’s header shows how far along it is, with Stop beside it. Then the file’s path is pasted at the prompt, and the agent reads it like any file on its own disk. Finish your sentence and press Return.
Large files work too. A video, a log or a database dump just takes longer.
Where they go
Files are kept on the host in ~/.cache/hup/dropped, and removed after seven days. They go from your device to your own machine and nowhere else.
An agent boxed in by Nono can read only its project, so it may not be able to open a file in that folder.