From 86e6447cf609a304100d6edf1cb68597cfbcdcb0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 20 Aug 2026 01:04:19 +0000 Subject: [PATCH] fmt(js): `npm run fix` on merge --- apps/desktop/src/sdk/index.ts | 2 ++ apps/desktop/src/sdk/profile-routing.test.ts | 1 + apps/desktop/src/store/session-request-router.test.ts | 1 + 3 files changed, 4 insertions(+) diff --git a/apps/desktop/src/sdk/index.ts b/apps/desktop/src/sdk/index.ts index cb2889f4628b..3bf5ab00794f 100644 --- a/apps/desktop/src/sdk/index.ts +++ b/apps/desktop/src/sdk/index.ts @@ -571,11 +571,13 @@ export const host = { const profile = (options.profile ?? '').trim() const targetProfile = normalizeProfileKey(profile || $activeGatewayProfile.get()) const expectHistory = options.expectHistory ?? false + const plan = planPluginOpenSession({ activeProfile: $activeGatewayProfile.get(), keepAllProfilesScope: options.keepAllProfilesScope, profile }) + // Wake-path phase timings. Logged ONLY on a hydration timeout (bridged // into desktop.log via the renderer-console tap), so a support bundle // pinpoints WHERE the budget went — profile activation vs hydration — diff --git a/apps/desktop/src/sdk/profile-routing.test.ts b/apps/desktop/src/sdk/profile-routing.test.ts index 89360de0d106..56f28f6cc180 100644 --- a/apps/desktop/src/sdk/profile-routing.test.ts +++ b/apps/desktop/src/sdk/profile-routing.test.ts @@ -102,6 +102,7 @@ vi.mock('@/store/gateway', async () => { const { host } = await import('./index') const { openSession: openSessionCore } = await import('@/app/open-session') const { deleteProfile } = await import('@/hermes') + const { openGatewayForProfile, requestGatewayForAgent, requestGatewayForProfile, retireLocalProfileGateways } = await import('@/store/gateway') diff --git a/apps/desktop/src/store/session-request-router.test.ts b/apps/desktop/src/store/session-request-router.test.ts index 43335fe81705..7aa4aa3f6aef 100644 --- a/apps/desktop/src/store/session-request-router.test.ts +++ b/apps/desktop/src/store/session-request-router.test.ts @@ -178,6 +178,7 @@ describe('requestForSessionProfile', () => { method, params })) + const controller = new AbortController() await requestForSessionProfile(