Skip to content

The agent that grows with you

fmt(js): `npm run fix` on merge (#90408)

hermes-seaeye[bot]fab8479aa005
diff --git a/apps/desktop/src/sdk/index.ts b/apps/desktop/src/sdk/index.ts
index cb2889f4628..3bf5ab00794 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 89360de0d10..56f28f6cc18 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 43335fe8170..7aa4aa3f6ae 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(