hermes-agent/apps
Daisuke Suzuki 6502e441d4 perf(desktop): pause background timers when pane/window is not visible
- electron/main.ts: try/catch wrapping for hasOAuthSessionCookie/hasLivePortalSession,
  guard setInterval with !settled, named handler for cleanup on window close
- agents/index.tsx: usePaneVisible() gates 500ms nowMs ticker
- cron-jobs-section.tsx: usePaneVisible() gates 1s countdown + poll, immediate load on visible
- floating-pet.tsx: document.visibilityState guards legacy backend polling
- vitest.setup.ts: window/document mocks for jsdom test environment
- vitest.config.ts: @ alias for module resolution in tests

Fixes: #73082, #51927, #53902, #69645

Cherry-picks 5f9cc0cb6, 7efb46c05, 94c9919c2 onto performance/desktop-cpu-memory branch.
2026-07-31 15:55:25 +02:00
..
bootstrap-installer test(installer): pin own-pid adopt for desktop-prewritten update marker 2026-07-30 17:57:13 +07:00
desktop perf(desktop): pause background timers when pane/window is not visible 2026-07-31 15:55:25 +02:00
shared
…