From 162aa6d72aabe996b4672de78083b8d3d1e8f7b3 Mon Sep 17 00:00:00 2001 From: Jack Lau <72348727+jackulau@users.noreply.github.com> Date: Sun, 16 Aug 2026 19:38:45 -0500 Subject: [PATCH] refactor(desktop): wrap the prepareGatewayForAgent signature at the project width --- apps/desktop/src/store/gateway.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/apps/desktop/src/store/gateway.ts b/apps/desktop/src/store/gateway.ts index 570ccec645..8a354a1423 100644 --- a/apps/desktop/src/store/gateway.ts +++ b/apps/desktop/src/store/gateway.ts @@ -677,10 +677,7 @@ export async function openGatewayForAgent(connectionId: null | string, profile: // contract callers rely on: a source edit/remove can dispose this entry while // its dial is in flight, and a caller must be able to tell "switched" from // "the target stopped existing" rather than assume the former. -export async function prepareGatewayForAgent( - connectionId: null | string, - profile: string -): Promise<() => boolean> { +export async function prepareGatewayForAgent(connectionId: null | string, profile: string): Promise<() => boolean> { const scope = registryBackendScopeKey(connectionId, profile) if (scope === normKey(profile)) {