From 28e8221433c17fd0a84e8321d1728bec417494e7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 23 Aug 2026 17:26:53 +0000 Subject: [PATCH] fmt(js): `npm run fix` on merge --- apps/desktop/src/app/contrib/wiring.tsx | 1 + apps/desktop/src/sdk/index.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/apps/desktop/src/app/contrib/wiring.tsx b/apps/desktop/src/app/contrib/wiring.tsx index c146b87ffb9b..a8ac55290141 100644 --- a/apps/desktop/src/app/contrib/wiring.tsx +++ b/apps/desktop/src/app/contrib/wiring.tsx @@ -310,6 +310,7 @@ export function ContribWiring({ children }: { children: ReactNode }) { const requestGateway = useCallback( (method: string, params?: Record, timeoutMs?: number, signal?: AbortSignal) => { const routingSessionId = $focusedStoredSessionId.get() ?? selectedStoredSessionIdRef.current + const owner = (routingSessionId ? sessionTileOwnerRoute(routingSessionId) : undefined) ?? rememberedSessionProfile($sessions.get(), routingSessionId, $activeGatewayProfile.get()) diff --git a/apps/desktop/src/sdk/index.ts b/apps/desktop/src/sdk/index.ts index 7c8ec204e230..befb2bf46a8a 100644 --- a/apps/desktop/src/sdk/index.ts +++ b/apps/desktop/src/sdk/index.ts @@ -735,11 +735,13 @@ export const host = { // local open dials exactly as before (openGatewayForProfile), never the // registry-secondary path. const localConnectionId = activeGatewayConnectionId() + const ownerRoute = explicitRoute ?? (options.workspaceMode === 'bots' && profile && localConnectionId ? { connectionId: localConnectionId, mode: 'local' as const, profile: targetProfile } : null) + const expectHistory = options.expectHistory ?? false if (options.workspaceMode === 'bots') {