mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
Pebrd's fix is right but the `useMemo` it edits didn't list `messagingSessions` as a dependency, so the index would go stale as the messaging slice refreshed. Rather than regex around logic buried in a 1500-line component, lift it into `buildSessionByAnyId` where the contract can be tested directly — the extraction LeonSGP43 proposed in sibling PR #49896. The test asserts the invariant that actually matters: a pin resolves from every slice the sidebar fetches. Reverting the function to its two-slice form fails it on the messaging and lineage-root cases. Co-authored-by: LeonSGP43 <LeonSGP43@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| bootstrap-installer | ||
| desktop | ||
| shared | ||