You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Desktop drag-and-drop images fail with remote gateway (local path sent instead of uploading) #39447
When running Hermes Desktop connected to a remote gateway (e.g., Docker container on a Linux server accessed via Tailscale), dragging an image file from the local filesystem into the Desktop chat composer sends the local filesystem path to the gateway. The gateway then fails because the file does not exist on the remote machine.
This is the same root cause as #38078 (paste images), but triggered via the drag-and-drop flow instead of clipboard paste.
Environment
Hermes Desktop: 0.15.1 (Windows)
Gateway: Remote (Docker container, Linux server)
Connection: Tailscale VPN
OS: Windows 11 (client) → Ubuntu 26.04 (server)
Steps to Reproduce
Connect Hermes Desktop to a remote gateway
Drag an image file from Windows Explorer into the Desktop chat composer
Send the message
Gateway logs show: file not found: C:\Users\user\Downloads\screenshot.png
Expected Behavior
In remote-gateway mode, Desktop should upload the image bytes to the gateway (or use the /upload endpoint from #532), not send a local filesystem path that is only readable on the client machine.
Actual Behavior
Desktop sends a local path like C:\Users\user\Downloads\screenshot.png which is unreadable on the remote Linux gateway.
Impact
This breaks a core UX path for users running Desktop against a remote Hermes gateway: drag a screenshot into chat, then send it for vision or multimodal workflows.
Windows Desktop client
Remote Linux tower/dashboard backend at http://:9119
Tower Hermes Agent 0.16.0
Repro:
Drag/drop or upload local Windows image: D:\Documents and Media\Desktop\6thGrade.jpg
Desktop shows preview.
Send "analyze this".
Actual: The tower receives: @file:D:\Documents and Media\Desktop\6thGrade.jpg: file not found
Desktop log confirms remote backend: [hermes] [boot] Connecting to remote Hermes backend at http://:9119 [hermes] [boot] Remote Hermes backend is ready
This makes Telegram/Discord image uploads work better than Desktop remote mode because those upload/cache media on the tower.
Thanks for the clear remote-gateway reproduction. This is now implemented on main; the linked #40316 discussion correctly identified the same client-local-path failure class.
Automated hermes-sweeper review verified:
apps/desktop/src/app/chat/composer/hooks/use-composer-drop.ts:86-103 routes native OS/Explorer drops to the attachment pipeline rather than emitting an inline local @file: path.
apps/desktop/src/app/session/hooks/use-prompt-actions/index.ts:78-104 reads client-local image bytes and calls image.attach_bytes for a remote connection; path-based image.attach remains local-only.
tui_gateway/server.py:9576-9634 persists those bytes on the gateway and queues the gateway-local image for the prompt.
The behavior was introduced by 4906dcfc256b70e8753881bf25fdb80e9312f73c and is contained in v2026.6.19.
Activity
TeamJBHobbies commentedon Jun 7, 2026
I’m hitting this too on Hermes Desktop 0.16.0.
Setup:
Windows Desktop client
Remote Linux tower/dashboard backend at http://:9119
Tower Hermes Agent 0.16.0
Repro:
Drag/drop or upload local Windows image: D:\Documents and Media\Desktop\6thGrade.jpg
Desktop shows preview.
Send "analyze this".
Actual: The tower receives: @file:D:\Documents and Media\Desktop\6thGrade.jpg: file not found
Desktop log confirms remote backend: [hermes] [boot] Connecting to remote Hermes backend at http://:9119 [hermes] [boot] Remote Hermes backend is ready
This makes Telegram/Discord image uploads work better than Desktop remote mode because those upload/cache media on the tower.
teknium1 commentedon Jul 14, 2026
Thanks for the clear remote-gateway reproduction. This is now implemented on
main; the linked #40316 discussion correctly identified the same client-local-path failure class.Automated hermes-sweeper review verified:
apps/desktop/src/app/chat/composer/hooks/use-composer-drop.ts:86-103routes native OS/Explorer drops to the attachment pipeline rather than emitting an inline local@file:path.apps/desktop/src/app/session/hooks/use-prompt-actions/index.ts:78-104reads client-local image bytes and callsimage.attach_bytesfor a remote connection; path-basedimage.attachremains local-only.tui_gateway/server.py:9576-9634persists those bytes on the gateway and queues the gateway-local image for the prompt.4906dcfc256b70e8753881bf25fdb80e9312f73cand is contained inv2026.6.19.