hermes-agent/apps/desktop/src/app/session/hooks
Brooklyn Nicholson 51ee5b2c94 fix(desktop,tui): surface self-improvement review summary + honor memory_notifications
The "💾 Self-improvement review" summary (skill/memory updated) was invisible
on two surfaces:

- Desktop Electron app had no review.summary event handler — skill/memory
  writes happened silently. Now appends a persistent system message to the
  transcript (matching the Ink TUI's persistent-line semantics, not a
  transient toast that can be missed).
- tui_gateway (backs both 'hermes --tui' and the desktop) never read
  display.memory_notifications, so it always behaved as 'on' and ignored a
  user who set 'off'/'verbose'. Added _load_memory_notifications() (mirrors
  the messaging gateway's bool->str normalization, defaults to 'on') and
  wired it to agent.memory_notifications, matching gateway/run.py and the CLI.

Delivery chain now reaches all surfaces:
background_review.py -> background_review_callback -> review.summary event ->
desktop transcript / Ink TUI line / gateway message / CLI print.
2026-06-18 13:22:12 -05:00
..
use-context-suggestions.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
use-cwd-actions.ts Refactor desktop i18n field copy into nested structures 2026-06-06 07:51:44 -07:00
use-hermes-config.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
use-message-stream.ts fix(desktop,tui): surface self-improvement review summary + honor memory_notifications 2026-06-18 13:22:12 -05:00
use-model-controls.test.tsx refactor(desktop): make composer model picker sticky session state 2026-06-16 09:50:07 -05:00
use-model-controls.ts refactor(desktop): make composer model picker sticky session state 2026-06-16 09:50:07 -05:00
use-preview-routing.test.tsx Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
use-preview-routing.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
use-prompt-actions.test.tsx fix(desktop): never surface "session busy" — retry every submit past it 2026-06-13 00:26:34 -05:00
use-prompt-actions.ts feat(desktop): allow /browser connect on a local gateway (#47245) 2026-06-16 09:03:43 -05:00
use-route-resume.test.tsx fix(desktop): recover stranded session windows when resume fails (#47655) 2026-06-17 17:33:53 -04:00
use-route-resume.ts fix(desktop): recover stranded session windows when resume fails (#47655) 2026-06-17 17:33:53 -04:00
use-session-actions.test.tsx fix(desktop): recover stranded session windows when resume fails (#47655) 2026-06-17 17:33:53 -04:00
use-session-actions.ts fix(desktop): recover stranded session windows when resume fails (#47655) 2026-06-17 17:33:53 -04:00
use-session-state-cache.test.tsx fix(desktop): stop a failed turn leaking into every other thread 2026-06-17 05:07:48 -07:00
use-session-state-cache.ts fix(desktop): stop a failed turn leaking into every other thread 2026-06-17 05:07:48 -07:00