hermes-agent/apps/desktop/src/hooks
Brooklyn Nicholson b6e57e215b refactor(desktop): share theme-repaint observer; memory-graph depth polish
Extract the copy-pasted "re-resolve on theme repaint" MutationObserver into a
shared hooks/use-theme-epoch (useThemeEpoch + onThemeRepaint) and consume it
from the star map, image-gen placeholder, and useIsDark instead of each hand-
rolling its own root observer. Keeps the post-paint read the canvas probes need
(useTheme() would read stale CSS — child effects run before applyTheme).

Also: light-mode band depth (inner wash), travelling-glow core scramble, and
dark-only timeline bloom.
2026-06-30 02:06:29 -05:00
..
use-delayed-true.ts feat(desktop): add shared project UI primitives 2026-06-25 16:40:27 -05:00
use-image-download.ts fix(desktop): keep generated images in the tool slot, not inline 2026-06-13 02:42:15 -05:00
use-media-query.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
use-mobile.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
use-resize-observer.ts perf(desktop): isolate streaming re-renders & cut layout thrash 2026-06-12 21:07:33 -05:00
use-theme-epoch.ts refactor(desktop): share theme-repaint observer; memory-graph depth polish 2026-06-30 02:06:29 -05:00