hermes-agent/apps/desktop/src/store
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
..
activity.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
boot.ts feat(desktop): persist i18n language in config 2026-06-05 10:32:26 -07:00
clarify.test.ts fix(desktop): surface background-session clarify prompts instead of hanging 2026-06-03 21:07:33 -05:00
clarify.ts fix(desktop): surface background-session clarify prompts instead of hanging 2026-06-03 21:07:33 -05:00
command-palette.ts feat(desktop): global Cmd+K palette + UI consistency overhaul 2026-06-03 23:45:45 -05:00
composer-input-history.test.ts feat(desktop): arrow up/down to navigate previous user messages 2026-06-05 20:32:29 -05:00
composer-input-history.ts feat(desktop): integrate arrow history with the message queue 2026-06-05 20:33:53 -05:00
composer-queue.test.ts fix(desktop): reliable composer message queue (#40221) 2026-06-05 20:21:41 -05:00
composer-queue.ts fix(desktop): reliable composer message queue (#40221) 2026-06-05 20:21:41 -05:00
composer.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
cron.ts fix(desktop): cron overlay mutations sync the sidebar instantly 2026-06-06 16:47:46 -05:00
gateway.ts feat(desktop): concurrent multi-profile gateway sockets 2026-06-04 20:44:19 -05:00
haptics.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
keybinds.ts feat(desktop): rebindable keyboard shortcuts panel 2026-06-06 11:41:57 -05:00
layout.ts Persist desktop sidebar drag order 2026-06-07 23:44:04 -07:00
model-visibility.test.ts fix(desktop): show newly configured model providers (#41545) 2026-06-08 01:39:37 -07:00
model-visibility.ts fix(desktop): show newly configured model providers (#41545) 2026-06-08 01:39:37 -07:00
notifications.ts feat(desktop): persist i18n language in config 2026-06-05 10:32:26 -07:00
onboarding.test.ts Clear stale desktop onboarding errors (#38844) 2026-06-04 22:59:55 -05:00
onboarding.ts feat(desktop): unified overlay design system, BrandMark & onboarding redesign (#40708) 2026-06-06 16:32:47 -05:00
panes.test.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
panes.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
preview.test.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
preview.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
profile.ts feat(desktop): rebindable keyboard shortcuts panel 2026-06-06 11:41:57 -05:00
prompts.test.ts feat(desktop): concurrent multi-profile gateway sockets 2026-06-04 20:44:19 -05:00
prompts.ts feat(desktop): concurrent multi-profile gateway sockets 2026-06-04 20:44:19 -05:00
session.test.ts fix(desktop): keep a just-finished session visible after switching away (#42285) 2026-06-08 12:32:27 -05:00
session.ts fix(desktop): keep a just-finished session visible after switching away (#42285) 2026-06-08 12:32:27 -05:00
subagents.test.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
subagents.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
thread-scroll.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
tool-diffs.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
tool-view.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
updates.test.ts fix(desktop): close the backend update overlay on success; error on no-return 2026-06-08 08:58:26 -07:00
updates.ts feat(desktop+gateway): remote-gateway file attachments via file.attach 2026-06-09 00:03:49 -07:00
voice-playback.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00