hermes-agent/apps/desktop/src/app
Brooklyn Nicholson 3e21cfdebb fix(desktop): clear stale active todos on turn end AND on rehydration
A turn that ends without a final `todo` update left the composer "Tasks N/M"
panel pinned with its last item stuck pending/in_progress, and it survived
restarts because the panel is read back from stored session history.

Two coupled fixes (the first alone is undone by the second path):

- Turn end: clear a still-active todo list on `message.complete` and on a
  terminal `error` (new `clearActiveSessionTodos` — active lists only; a
  finished list keeps its short linger so the last checkmark still lands).
- Rehydration: `hydrateFromStoredSession` runs *after* a turn completes, so an
  "active" stored list is stale, not in-flight. It now restores only a
  *finished* list (via new `todosForHydration`) and drops anything still
  active — otherwise it re-pinned the panel right after the turn-end clear and
  resurrected it on every restart.

Salvages #52996 (@0disoft): the fix shape (clearActiveSessionTodos on turn
completion, preserving the finished-list linger) is carried forward and ported
onto the current use-message-stream/ folder split (gateway-event.ts), then
extended to the rehydration path per review.

Co-authored-by: 0disoft <rodisoft1@gmail.com>
2026-07-02 21:22:45 -05:00
..
agents feat(desktop): unify non-settings overlays under a shared Panel primitive 2026-06-28 20:56:52 -05:00
artifacts style(desktop): fix import ordering + padding lint in remote-artifact files 2026-07-02 12:22:47 -05:00
chat feat(desktop): collapse profile rail to a select past 13 profiles (#57306) 2026-07-02 19:15:07 +00:00
command-center chore(desktop): keep the diff surgical 2026-06-28 21:30:14 -05:00
command-palette Merge pull request #55226 from NousResearch/bb/desktop-memory-graph 2026-06-30 04:36:17 -05:00
cron style(desktop): prettier + eslint pass 2026-06-28 21:04:43 -05:00
gateway/hooks refactor(desktop+dashboard): extract shared WebSocket/JSON-RPC layer 2026-06-28 21:20:35 -05:00
hooks feat(desktop): multi-terminal panel with side tab rail 2026-06-28 19:06:55 -05:00
messaging fix(desktop): broken "Open setup guide" button for plugin platforms 2026-06-27 04:34:08 +05:30
overlays feat(desktop): cap overlay inner-page width at 75rem 2026-07-02 20:40:57 -05:00
pet-generate style(desktop,tui): fix all lint/type/formatting issues 2026-06-26 01:04:33 -05:00
pet-overlay refactor(desktop): collapse overlay zoom-anchor math 2026-06-26 00:42:19 -05:00
profiles fix(desktop): refresh profile rail after deletion (#49289) 2026-07-02 15:18:49 -05:00
right-sidebar feat(desktop): persist & restore terminal tabs + scrollback across relaunch 2026-06-28 22:12:29 -05:00
session/hooks fix(desktop): clear stale active todos on turn end AND on rehydration 2026-07-02 21:22:45 -05:00
settings fix(desktop): let settings content use full pane width 2026-07-02 19:31:57 -05:00
shell fix(desktop): load remote model options before session 2026-07-02 12:50:46 -05:00
skills style(desktop,tui): fix all lint/type/formatting issues 2026-06-26 01:04:33 -05:00
starmap fix(desktop): lift memory-graph dark-mode line + outline alpha 2026-06-30 16:44:04 -05:00
desktop-controller-utils.test.ts refactor(desktop): thin desktop-controller by extracting session-list actions 2026-06-30 01:34:12 -05:00
desktop-controller-utils.ts refactor(desktop): thin desktop-controller by extracting session-list actions 2026-06-30 01:34:12 -05:00
desktop-controller.tsx fix(desktop): clear stale active todos on turn end AND on rehydration 2026-07-02 21:22:45 -05:00
floating-hud.ts fix(desktop): make ⌘K / session-switcher HUDs ignore titlebar drag band 2026-06-30 02:06:30 -05:00
index.tsx Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
layout-constants.ts feat(desktop): cap overlay inner-page width at 75rem 2026-07-02 20:40:57 -05:00
model-picker-overlay.tsx Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
model-visibility-overlay.tsx feat(desktop): inline model picker in the status bar 2026-06-02 19:09:41 -05:00
page-search-shell.tsx feat(desktop): add i18n with Simplified Chinese (zh-Hans) support 2026-06-05 10:32:26 -07:00
routes.ts feat(desktop): Memory Graph — playable radial timeline of memories + skills 2026-06-30 00:54:21 -05:00
session-picker-overlay.tsx desktop: registry-driven slash commands + first-class /resume & /handoff (#42351) 2026-06-11 01:49:24 +00:00
session-switcher.tsx style(desktop,tui): fix all lint/type/formatting issues 2026-06-26 01:04:33 -05:00
types.ts fix(desktop): render send/prefill directive notices (/goal, /undo) (#49073) 2026-06-19 07:28:50 -07:00
updates-overlay.tsx style(desktop): bring the install & update overlays onto the design system 2026-06-30 14:46:28 -05:00