From bb924730743cc05934bf0dfd188abdfdb46c03c2 Mon Sep 17 00:00:00 2001 From: "hermes-seaeye[bot]" <307254004+hermes-seaeye[bot]@users.noreply.github.com> Date: Mon, 17 Aug 2026 22:59:42 +0000 Subject: [PATCH] fmt(js): `npm run fix` on merge (#88720) Co-authored-by: github-actions[bot] --- .../src/app/session/hooks/use-session-actions/index.ts | 2 +- apps/desktop/src/store/gateway-connection-lifecycle.test.ts | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/desktop/src/app/session/hooks/use-session-actions/index.ts b/apps/desktop/src/app/session/hooks/use-session-actions/index.ts index b014cd0028..25cdbe6ee0 100644 --- a/apps/desktop/src/app/session/hooks/use-session-actions/index.ts +++ b/apps/desktop/src/app/session/hooks/use-session-actions/index.ts @@ -1352,7 +1352,7 @@ export function useSessionActions({ // draft fallback for genuinely dead ids on secondary profiles. Boolean( sessionProfile?.trim() && - normalizeProfileKey(sessionProfile) !== normalizeProfileKey($activeGatewayProfile.get()) + normalizeProfileKey(sessionProfile) !== normalizeProfileKey($activeGatewayProfile.get()) ) }) diff --git a/apps/desktop/src/store/gateway-connection-lifecycle.test.ts b/apps/desktop/src/store/gateway-connection-lifecycle.test.ts index 53872b2d19..345f52216b 100644 --- a/apps/desktop/src/store/gateway-connection-lifecycle.test.ts +++ b/apps/desktop/src/store/gateway-connection-lifecycle.test.ts @@ -152,9 +152,8 @@ describe('retireLocalProfileGateways', () => { it('retires both local profile scopes without touching the same-named remote agent', async () => { const getConnection = vi.fn(async (profile: string) => descriptorFor('legacy-local', profile)) - const getConnectionFor = vi.fn( - async ({ connectionId, profile }: { connectionId: string; profile: string }) => - descriptorFor(connectionId, profile) + const getConnectionFor = vi.fn(async ({ connectionId, profile }: { connectionId: string; profile: string }) => + descriptorFor(connectionId, profile) ) installDesktop({ getConnection, getConnectionFor })