hermes-agent/apps/desktop/src/app
Brooklyn Nicholson de8bdf529d fix(desktop): keep pinned + recent sessions visible across compression
Long-running sessions auto-compress: the gateway ends the original session
and surfaces the live continuation under a new id (list_sessions_rich projects
the root forward to its tip). Two symptoms fell out of the id rotation:

- A pinned session "vanished" — the pin is stored as the pre-compression root
  id, but the sidebar only matched on the live id, so it was filtered out.
  Pins now resolve on the durable lineage-root id (`_lineage_root_id`, already
  surfaced by the projection): the sidebar indexes sessions by both ids, pin/
  unpin and reorder operate on the durable id, and `sessionPinId()` is shared
  with the Cmd+P toggle. Existing pins keep working with no migration.

- A freshly-continued session was missing from the list until you ungrouped +
  "load 50 more" — the list paginated by original start time, so an old-but-
  active conversation sat past the first page. The desktop now requests
  `order=recent` (GET /api/sessions gains an `order` param backed by the
  existing recency CTE), surfacing live continuations on the first page.
2026-06-02 07:12:05 -05:00
..
agents Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
artifacts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
chat fix(desktop): keep pinned + recent sessions visible across compression 2026-06-02 07:12:05 -05:00
command-center refactor(desktop): consolidate skills + tools management into one pane 2026-06-02 05:11:52 -04:00
cron Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
gateway/hooks Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
hooks Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
messaging Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
overlays Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
profiles Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
right-sidebar Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
session/hooks feat(desktop): session hygiene, archive, media streaming + connecting overlay (#37099) 2026-06-01 20:41:34 -05:00
settings refactor(desktop): consolidate skills + tools management into one pane 2026-06-02 05:11:52 -04:00
shell Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
skills refactor(desktop): consolidate skills + tools management into one pane 2026-06-02 05:11:52 -04:00
desktop-controller.tsx fix(desktop): keep pinned + recent sessions visible across compression 2026-06-02 07:12:05 -05:00
index.tsx Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
model-picker-overlay.tsx Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
page-search-shell.tsx Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
routes.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
types.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
updates-overlay.tsx Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00