hermes-agent/apps/desktop/src
Brooklyn Nicholson ff81365988 feat(desktop): in-app spot editor for the file preview pane
Adds a CodeMirror 6 spot editor to the right-rail file preview so users can
make quick edits in-app without leaving for an IDE. Entering edit mode is a
pure in-place swap of the read view — same fixed-height header, same gutter
geometry/typography (mirrors SourceView 1:1) so nothing shifts — toggled via
the Edit button, a bare `e` when the pane is hovered/focused, or the tab.

- Save path is transport-agnostic (writeDesktopFileText): local Electron IPC
  or a new hardened POST /api/fs/write-text on the dashboard server (path
  validation, parent-must-exist, regular-files-only, size cap, atomic
  temp-file + os.replace), behind the existing auth middleware.
- Stale-on-disk guard re-reads before writing and offers overwrite vs
  discard-and-reload instead of clobbering external/agent edits.
- VS Code-style modified dot on the tab; ⌘/Ctrl+S and ⌘/Ctrl+Enter save,
  Esc cancels; GitHub highlight style matched to the read view's Shiki theme.
- Typing stays render-free (draft in a ref; dirty flips once at the boundary).
2026-06-25 19:50:25 -05:00
..
app feat(desktop): in-app spot editor for the file preview pane 2026-06-25 19:50:25 -05:00
components feat(desktop): in-app spot editor for the file preview pane 2026-06-25 19:50:25 -05:00
fonts fix(desktop): crisp terminal text via opaque xterm canvas 2026-06-12 19:36:30 -05:00
hooks feat(desktop): add shared project UI primitives 2026-06-25 16:40:27 -05:00
i18n feat(desktop): in-app spot editor for the file preview pane 2026-06-25 19:50:25 -05:00
lib feat(desktop): in-app spot editor for the file preview pane 2026-06-25 19:50:25 -05:00
store feat(desktop): in-app spot editor for the file preview pane 2026-06-25 19:50:25 -05:00
themes feat(desktop): composer status stack, live subagent windows, editable prompts (#44630) 2026-06-12 08:30:06 -05:00
types feat(sessions): record git workspace metadata 2026-06-25 16:40:26 -05:00
global.d.ts fix(desktop): clarify branch convert actions 2026-06-25 17:19:36 -05:00
hermes-profile-scope.test.ts fix(desktop): route gateway restart / status / update to the active profile 2026-06-24 19:16:26 -05:00
hermes.test.ts fix(desktop): route profile session reads 2026-06-11 18:09:24 -05:00
hermes.ts feat(sessions): record git workspace metadata 2026-06-25 16:40:26 -05:00
main.tsx feat(desktop): floating pet, pop-out overlay + Cmd+K picker 2026-06-20 14:18:40 -05:00
styles.css feat(desktop): wire project settings and shell chrome 2026-06-25 16:40:27 -05:00
vite-env.d.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00