Files both ways: open what your agents make, send them documents
Esta página aún no está disponible en tu idioma.
Coding agents do not only write code. Ask Claude Code or Codex for a benchmark and you get results.xlsx; ask for a summary and you get report.pdf or an HTML page with charts; ask for a demo and you get demo.mp4. And sometimes the input is a file too: a contract, a spec in Word, a spreadsheet someone sent you.
Hmob’s file browser has always shown a pane’s text files and images. Hmob 1.2 for iPhone and iPad, with the hmob gateway 1.3 on the host, makes it work both ways. You can open whatever the agent made, and you can hand the agent a document from your phone.
Open what your agents make
Section titled “Open what your agents make”Open a pane, then its files. The browser starts at the pane’s project: its working folder, or the top of its git repository. Tap a file and Hmob picks the right view:
- Markdown is rendered, with a switch to the source.
- Code is highlighted.
- Images are shown inline.
- HTML, such as a report or a coverage page, opens as a page. Its stylesheets and images come from the same folder on the host. Scripts are off by default; turn on Run page scripts for a page that needs them.
- PDF, Word, Excel, PowerPoint, Keynote, Pages, Numbers, and audio and video (MP4, MOV, MP3, M4A, WAV, FLAC and others) open in Quick Look, the viewer iOS uses for attachments.
From Quick Look, the share button sends the file wherever iOS can: Save to Files, AirDrop, Mail, or another app. Hmob keeps no copy: the downloaded file is deleted when the preview closes.
Large files
Section titled “Large files”Over a direct connection (Tailscale or WireGuard), the file streams from the gateway, and a download that is interrupted resumes where it stopped. Through a relay, the file comes in pieces, and Hmob asks before it downloads anything over 20 MB. Either way you see the progress and can cancel.
The largest file Hmob will download is set in Settings → File download limit: 200 MB by default, up to 2 GB. With a gateway older than 1.3, files up to 8 MB still open, and a larger one tells you to update hmob on the host.
What the browser does not show
Section titled “What the browser does not show”The browser never leaves the pane’s project, and a symbolic link that points outside it is refused. Inside it, credential folders (.ssh, .aws, .gnupg, .kube, .docker and others) and files that look like secrets (.env, *.pem, private keys, .netrc, credentials.json) are listed but cannot be opened. An .env.example opens.
Send a document to an agent
Section titled “Send a document to an agent”In a pane, open the compose panel and tap the attachment button:
- Photo Library or Take Photo for an image. Hmob scales it to 2048 pixels on the long side and re-encodes it, which removes its metadata, location included.
- Choose File for a document: PDF, Word, Excel or PowerPoint (the older
.doc,.xlsand.ppttoo), or a plain-text file. This needs gateway 1.3.
The gateway checks what the file is from its content, not from its name, and refuses anything else. A document can be up to 20 MB; set HMOB_UPLOAD_MAX_MB (1 to 64) on the host to change it.
The file is saved on the host in hmob’s cache folder, ~/.cache/herdr-mobile/uploads/ on Linux or ~/Library/Caches/herdr-mobile/uploads/ on macOS, readable only by your user. Its path goes into your prompt where the cursor was, so you finish the sentence around it:
Read /home/you/.cache/herdr-mobile/uploads/3f9c….pdf and list every deadline in it.Send it, and the agent opens the file like any other file on the host. Uploads older than 24 hours are deleted the next time you send one, and the oldest go first once the folder passes 200 MB, so the cache does not grow.
Get it
Section titled “Get it”- On the host, run the install command again to get gateway 1.3, then restart the service with your
hmob install-service …command (see Upgrade and uninstall). - On the phone, update Hmob from the App Store to 1.2.
The Android beta 1.2.0 has the file browser with text and images. Opening other files in an Android app and sending attachments are not in it yet.
Everything here goes only between your phone and your own gateway. Through a relay you deploy yourself, files travel end-to-end encrypted, as everything else does. The release notes list the rest of gateway 1.3.