The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
style(desktop): format promotion rejection handler
Cursor Agent6230e9767d3c
diff --git a/apps/desktop/src/store/gateway.ts b/apps/desktop/src/store/gateway.tsindex 4d864a4a5db..18c3bc59ea5 100644--- a/apps/desktop/src/store/gateway.ts+++ b/apps/desktop/src/store/gateway.ts@@ -522,16 +522,14 @@ async function openSecondary(entry: Secondary, spawnPriority: SpawnPriority = 'b// Hydration may already own this dial as a background slot wait. Kick a// foreground IPC so main can promote it onto the reserved slot.void (- (- entry.connectionId && desktop.getConnectionFor- ? desktop.getConnectionFor({- connectionId: entry.connectionId,- profile: entry.profile,- priority: 'foreground'- })- : desktop.getConnection(entry.profile, { priority: 'foreground' })- ).catch(() => undefined)- )+ entry.connectionId && desktop.getConnectionFor+ ? desktop.getConnectionFor({+ connectionId: entry.connectionId,+ profile: entry.profile,+ priority: 'foreground'+ })+ : desktop.getConnection(entry.profile, { priority: 'foreground' })+ ).catch(() => undefined)}await entry.connectPromise