hermes-agent/apps/desktop/src
Brooklyn Nicholson a538b1c989 fix(desktop): bound the transcript reaching assistant-ui by render cost (#55191)
An oversized session rebuilt an unbounded runtime repository on every store
update and exhausted the renderer's V8 heap, crash-looping the window. The DOM
budget in thread/list.tsx bounds what PAINTS, but every message was still
normalized into the repository first, so a session only had to be heavy — not
visible — to kill the renderer.

selectTranscriptWindow keeps the tail that fits one render-weight page. Weight,
not message count: measured against a real 1,175-session store, a 400-message
cap disengages on 37 sessions that are heavy but short (one is 133 messages /
1.05MB) while firing on 92 long-but-light sessions that were never at risk.

The cut aligns off branch-group boundaries. useRuntimeMessageRepository records
a group's fork point the first time it sees the group, so a window starting
mid-group would re-parent the surviving branches to whatever happened to
precede them.

Co-authored-by: HexLab <8422520+HexLab98@users.noreply.github.com>
2026-08-04 11:32:01 -06:00
..
app fix(desktop): bound the transcript reaching assistant-ui by render cost (#55191) 2026-08-04 11:32:01 -06:00
assets/tiers feat(desktop): Billing page revamp — current-plan card, in-app plans view, tier art (#68722) 2026-07-22 08:07:52 +05:30
components refactor(desktop): share render weight between the two transcript budgets 2026-08-04 11:31:51 -06:00
contrib feat(desktop): plugin ctx.onDispose + self-disposing kanban bindApi 2026-07-30 07:18:08 -05:00
debug fmt(js): `npm run fix` on merge (#78271) 2026-08-04 07:10:23 +00:00
fonts
…
hooks feat(desktop): SDK — useGrabScroll export + dogfood plugin touch-ups 2026-07-30 07:18:08 -05:00
i18n feat(desktop): reload a tab from its right-click menu 2026-08-02 22:08:09 -05:00
lib refactor(desktop): share render weight between the two transcript budgets 2026-08-04 11:31:51 -06:00
plugins fmt(js): `npm run fix` on merge (#76498) 2026-08-02 01:23:45 +00:00
sdk refactor(desktop): make the composer's model picker a reusable primitive 2026-08-01 16:10:13 -05:00
store fmt(js): `npm run fix` on merge (#78271) 2026-08-04 07:10:23 +00:00
themes fix(desktop): use the native Menlo/Monaco mono stack for code 2026-07-30 05:48:20 -05:00
types fix(gateway): let Desktop omit duplicate transcripts on session resume 2026-08-03 13:45:08 +05:30
global.d.ts fix(desktop): map SSH profiles to remote profiles 2026-08-01 14:30:16 -07:00
hermes-cron-scope.test.ts fix(desktop): scope the cron jobs list to the active profile 2026-07-19 12:19:22 -07:00
hermes-parity.test.ts
…
hermes-profile-scope.test.ts style: eslint padding fix in profile-scope test (salvage follow-up) 2026-07-28 11:58:03 -07:00
hermes.test.ts [verified] fix(desktop): scope TTS requests to active profile 2026-07-28 11:58:03 -07:00
hermes.ts fix(desktop): full-jitter backoff on gateway WS reconnect loops 2026-08-03 18:10:30 +05:30
main.tsx feat(desktop): add notch wake indicator 2026-08-01 14:30:11 -07:00
pairing-scope.test.ts fix(pairing): scope the approve/revoke endpoints to a profile 2026-07-29 18:43:50 -05:00
styles.css fix(desktop): un-break the .btn-arc rule — '*/' inside a CSS comment ended it early 2026-08-03 18:16:46 +05:30
vite-env.d.ts
…
webhooks-rest.test.ts feat(desktop): add Webhooks page for subscription CRUD (#69687) 2026-07-24 14:06:10 -04:00