hermes-agent/apps/desktop/src
teknium1 dbbd1d4d05 feat(desktop+gateway): remote-gateway file attachments via file.attach
@file: attachments now work when the desktop is connected to a remote
gateway. Previously a referenced file resolved to a client-disk path the
gateway couldn't see, so context_references rejected it with "path is
outside the allowed workspace" and the agent never saw the file.

Adds a file.attach RPC (sibling to the existing image.attach_bytes /
pdf.attach byte-upload pipeline): the desktop uploads the file bytes, the
gateway stages them into <workspace>/.hermes/desktop-attachments/ and
returns a workspace-relative @file: ref that resolves cleanly. Local mode
passes the path directly; a gateway-visible file outside the workspace is
copied in; an in-workspace file is referenced as-is with no copy.

Consolidates the file-sync design from #38615 (LeonSGP43) and the
host-file-staging idea from #33455 (Carry00), rebased onto the
image/PDF remote-media helpers already on main.

Co-authored-by: LeonSGP43 <cine.dreamer.one@gmail.com>
2026-06-09 00:03:49 -07:00
..
app feat(desktop+gateway): remote-gateway file attachments via file.attach 2026-06-09 00:03:49 -07:00
components fix(desktop): render debug-report paste URLs as real clickable links 2026-06-08 21:35:21 -04:00
hooks Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
i18n feat(desktop): assignable themes per profile (#42286) 2026-06-08 17:42:17 +00:00
lib fix(desktop): render debug-report paste URLs as real clickable links 2026-06-08 21:35:21 -04:00
store feat(desktop+gateway): remote-gateway file attachments via file.attach 2026-06-09 00:03:49 -07:00
themes feat(desktop): assignable themes per profile (#42286) 2026-06-08 17:42:17 +00:00
types feat(desktop): remote update overlay sourced from backend 2026-06-08 08:58:26 -07:00
global.d.ts fix(desktop): recover chat after sleep/wake by revalidating a stale remote backend 2026-06-07 17:29:12 -07:00
hermes.test.ts fix(desktop): scope session list to active profile + longer timeout 2026-06-07 02:15:23 -07:00
hermes.ts feat(desktop): remote update overlay sourced from backend 2026-06-08 08:58:26 -07:00
main.tsx feat(desktop): add i18n with Simplified Chinese (zh-Hans) support 2026-06-05 10:32:26 -07:00
styles.css feat(desktop): hover-reveal collapsed sidebars as fixed overlays (#41670) 2026-06-07 22:41:21 -05:00
vite-env.d.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00