# NousResearch/hermes-agent · Desktop: restore last session/view on profile switch

## Open now

- 1 issue, 2 PRs open on GitHub.
- #77952: feat(desktop): restore the last selected session when switching profiles
- PR #77957: feat(desktop): restore session when switching profiles
- PR #150088: feat(desktop): restore each profile's last view on a live profile switch

All three members are desktop feature changes about restoring a profile's previous state, such as its last session or view, when switching profiles. Titles differ slightly in wording and scope (view vs. session), and they may overlap, but no details beyond the titles are available.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 0 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Open related issues

- #77952: feat(desktop): restore the last selected session when switching profiles

## Prior & competing PRs

- **#77957: feat(desktop): restore session when switching profiles**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#150088`
  - files: `apps/desktop/src/app/contrib/wiring.tsx`, `apps/desktop/src/store/profile.test.ts`, `apps/desktop/src/store/profile.ts`
- **#150088: feat(desktop): restore each profile's last view on a live profile switch**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `a9ff9799e2`, `#76627`
  - files: `apps/desktop/src/app/chat/composer/focus.ts`, `apps/desktop/src/app/chat/composer/hooks/use-composer-submit.test.tsx`, `apps/desktop/src/app/chat/composer/hooks/use-composer-submit.ts`, `apps/desktop/src/app/chat/sidebar/profile-switcher.tsx`, `apps/desktop/src/app/contrib/hooks/profile-navigation-submit.test.tsx`, `apps/desktop/src/app/contrib/hooks/remembered-navigation.test.ts`, `apps/desktop/src/app/contrib/hooks/remembered-navigation.ts`, `apps/desktop/src/app/contrib/hooks/use-desktop-integrations.test.tsx`, `apps/desktop/src/app/contrib/hooks/use-desktop-integrations.ts`, `apps/desktop/src/app/contrib/hooks/use-profile-navigation-restore.test.tsx`, `apps/desktop/src/app/contrib/hooks/use-profile-navigation-restore.ts`, `apps/desktop/src/app/contrib/wiring-background-queue-drain.test.tsx`, `apps/desktop/src/app/contrib/wiring.tsx`, `apps/desktop/src/app/session/hooks/use-prompt-actions/index.ts`, `apps/desktop/src/app/session/hooks/use-session-list-actions.test.tsx`, `apps/desktop/src/app/session/hooks/use-session-list-actions.ts`, `apps/desktop/src/store/composer.ts`, `apps/desktop/src/store/connections.test.ts`, `apps/desktop/src/store/gateway-switch.test.ts`, `apps/desktop/src/store/gateway-switch.ts` (+7 more)

## Fix status

- No merged fix on record.
- Subsystem: `apps/desktop`
- Kind: `feature` (from the open issues' GitHub type labels).
